We might have thought, how come when we click a button some action is performed in Android phone. Here in this post, we are going to discuss how to handle button events in Android.
Before proceed with the post, I would like to thank everyone who gave constant feedback for the past three posts. I expect everyone to let me know if you come across any difficulty while creating the application.
Please subscribe to this blog to keep getting updates when new post is added.
We are gonna develop a simple application which has one button that covers whole layout of the app. When you click/tap on the button, ‘Meow’ sound will be played, to be more appropriate we will keep ‘Cat’ image as background of the button. 🙂
I hope you have enjoyed ‘My First Program‘ post. Before we proceed with the post, I request you to share this blog to your friends and colleagues who are interested to play around with Android. Our official Facebook has been launched. Like our FB page and keep getting the updates.
Okay, its time to understand the internals of Android OS and folder structure of Android application.
When we write a desktop application, we are the masters of using the controls which range from simple textbox to dialog box. Desktop app usually has main window – Window and child window controls – Textbox, Label etc., We use database to store and retrieve information by using JDBC, ODBC technologies to establish communication between application and DB.
It’s pretty exciting to write about developing first program in Android. In our first program, we are going to have an image and label on the Window.
Its a simple traditional ‘Hello World’ program.
Let us begin with it by opening new android project in eclipse.
Before we proceed with the setup, we should understand what makes Android so special?.
Here is the answer:
Android is a free and open operating system from Google that runs on all kinds of devices from phones, to tablets and even televisions. That’s a ton of different devices you can target with just one platform!. Google provides all of the stuff you need to get started building Android apps for free. Want to learn more about Android, just follow this link
Let’s talk about Android development environment. Android development environment is made up of several parts that work together for you to build Android apps. Let’s take a closer look at each one.