Android is a software stack for mobile devices that includes an operating system, middleware and key applications. The Android SDK provides the tools and APIs necessary to begin developing applications on the Android platform using the Java programming language.
- Emiley J
As usual, when starting to learn a new programming language, you first have to get your computer ready with the tools and IDEs required to start developing. For Android programming it is very simple, just get the ADT bundle for windows and you are all set. I am assuming you are using windows as your development platform. ADT bundle for windows is an integrated development environment with the Android SDK and Eclipse.
Android Emulator is based on QEMU emulator designed for virtual ARMv5 CPU with MMU. It has a 16bit LCD, a keyboard, Sound IO, flash memory partition (file image) and a GSM modem with simulated SIM. It runs full stack (kernel to Apps). It does dynamic binary translation from ARMv5 to x86.
This sample android program shows you how to call an activity from another activity in Android. In this program the concept of Intent is demonstrated. Using Intent the control can be passed between different activity back and fourth. Bundles can be used to pass data from one activity to another activity. In this sample program, two activities are used. Activity1.java and Activity2.java are shown below. Some data is passed between activities to explain the concept.
This sample android program shows you how write and read a file from SD Card in Android. In this program four buttons are shown and a Edit box. When you type some text into the edit box and click, Save to SD Card button, the text is saved to a text file and saved to the SD Card. When you click clear button, the edit box contents are cleared. When you click, Read Sd card button the file is read from the SD card and the contents are copied to the edit box.
This sample android program shows you how to do simple animation in Android. In this program the xml file ani.xml is used to rotate the images in sequence. The images must be copied to the /res/drawable folder together with the ani.xml file.
Most Viewed Articles on Android
- Data Science
- Cloud Computing
- Java Beans
- Mac OS X
- Office 365
- Tech Reviews
Subscribe to Tutorials
7. Please provide some more examples ...It will be ve
View Tutorial By: it interview questions at 2012-09-29 05:07:55