To develop a mobile application for Android Smartphones, a software stack known as “Android Platform” will be required that includes an operating system, middleware and key applications. Development of an Android application shall include use of the Android SDK. The applications shall be coded/written with the use of JAVA programming language and tested on Dalvik, a custom virtual machine designed for embedded use which runs on top of a Linux kernel.
Development part of the project will be required to Download the SDK to develop an Android application. Further review and analysis of documentation regarding Developing Applications shall be carried. The nuts and bolts of Android applications and Developer Toolbox shall be accessed and analysed so as to acquire in-depth information on specific topics along with the Sample Code.
Tools required for creating an Android application
The tools that are required for developing a Web based application on a cloud computing application for android includes the “SDK”, ADT (used for eclipse integration) and an emulator.
Android SDK and ADT for eclipse
An android SDK is a package that includes only the basic SDK tools. It does not include any third party Libraries or any Android platform. It just contains the basic tools not even all the tools that will be required to develop the required application but still the tools that it contains are required.
To start developing an application for android, with the help of SDK manager one is required to install the basic android platform tools and a version of Android Platform.
The platform-tools consists those tools that are updated with the new features of the Android so as to support the current version of the android. This is why these tools are separated from the basic SDK tools. These tools includes adb, dexDump and others.
One can use the SDK online as well as offline but it would be better to use it online so that if anyhow one missed any application he can immediately get it.
To start SDK manager:
Click on the executable program in the SDK folder named “SDK manager.exe”
Then you have to directly trigger an update using the command line and by executing: tools/Android.bat update sdk
Use of Dalvik Virtual Machine
Dalvik is a simple interpreter for JAVA applications that is completely optimized for Android OS and especially designed to run on low-end memory devices. The other main feature of this program is that it is capable to run by the side of other application compilation that helps in enhancing the runtime capability of applications. We cannot consider this machine as a JAVA machine because it doesn’t understand any JAVA code; instead it uses its own byte code known as “dex”. It helps conserving the battery life and also enhances the performance of the OS.
Use ADT for eclipse
To create a project with eclipse click on New in the toolbar and in the pop-up window open Android folder, select Android Application Project, and click Next. Then you have to enter all those details that you want your application to compile with for example the minimum android requirements, specification etc. Leave other settings as defaults. Leaving all the settings as defaults will allow you to immediately run your application using an Android powered device or using Eclipse.
If you want to use an emulator to run your application, you need to create an Android Virtual device (AVD) so that you can use your applications on different models of Android devices. Then you are required to build a simple user interface using the XML vocabulary provided by Android. This will help you to define your applications’ user interface. This will include:
Create a Linear Layout
Add a Text Field
Add String Resources
Add a Button
Make the Input Box Fill in the Screen Width
Then you have to add other activities to your applications that are required for smooth functioning of your applications. Then the task connecting it to any of the Cloud servers that will help you to exchange your files between your android device and cloud servers needs to be accomplished.