1. What Is Android?
Android is a stack of software for mobile devices which has Operating System, middleware and some key applications. The application executes within its own process and its own instance of Dalvik Virtual Machine. Many Virtual Machines run efficiently by a DVM device. DVM executes Java languages byte code which later transforms into .dex format files.
2. Explain About The Exceptions Of Android?
The following are the exceptions that are supported by Android
* InflateException : When an error conditions are occurred, this exception is thrown
* Surface.OutOfResourceException: When a surface is not created or resized, this exception is thrown
* SurfaceHolder.BadSurfaceTypeException: This exception is thrown from the lockCanvas() method, when invoked on a Surface whose is SURFACE_TYPE_PUSH_BUFFERS
* WindowManager.BadTokenException: This exception is thrown at the time of trying to add view an invalid WindowManager.LayoutParamstoken.
3. Why To Use Android?
Android is useful because:
*It is simple and powerful SDK
*Licensing, Distribution or Development fee is not required
*Easy to Import third party Java library
*Supporting platforms are ? Linux, Mac Os, Windows
4. Describe Android Application Architecture?
Android Application Architecture has the following components:
* Services – like Network Operation
* Intent – To perform inter-communication between activities or services
* Resource Externalization – such as strings and graphics
* Notification signaling users – light, sound, icon, notification, dialog etc.
* Content Providers – They share data between applications
5. What Are The Features Of Android?
*Components can be reused and replaced by the application framework.
*Optimized DVM for mobile devices
*SQLite enables to store the data in a structured manner.
*Supports GSM telephone and Bluetooth, WiFi, 3G and EDGE technologies
*The development is a combination of a device emulator, debugging tools, memory profiling and plug-in for Eclipse IDE.
6. Are The Android Releases Available In A Rom?
No, Android is not yet available in a ROM format. Currently Android is installed by using a clean SD Card, and booted from there. It is booted by running a special application called ‘Haret.exe’ residing on your SD Card which will terminate the Windows kernel and boot into Linux/Android. It can’t easily be run from ROM because a) it’s too experimental to risk putting in ROM and then killing a device and b) WinMo does some hardware initialization that isn’t documented, but is needed before Android can run.
7. Can You Play Android 2.1 Games On Android 2.2?
no.as i have a 2.2 android phone, its very hard to find games for it. The 2.2 android will not be able to support that type of game.
8. What Is Android Runtime?
Android includes a set of core libraries that provides most of the functionality available in the corelibraries of the Java programming language. Every Android application runs in its own process, with its own instance of the Dalvik virtual machine. Dalvik has been written so that a device can run multiple VMs efficiently. The Dalvik VM executes files in the Dalvik Executable (.dex) format which is optimized for minimal memory footprint. The VM is register-based, and runs classes compiled by a Java language compiler that have been transformed into the .dex format by the included ?dx? tool.
9. Creating An Android Application Using The Eclipse Plugin?
Using the Android Eclipse plugin is the fastest and easiest way to start creating a new Androidapplication. The plugin automatically generates the correct project structure for your application, and keeps the resources compiled for you automatically.
It is still a good idea to know what is going on though. Take a look at Overview of an AndroidApplication to understand the basics of how an Android application works.
It is also recommended that you take a look at the ApiDemos application and the other sample applications in the samples/ folder in the SDK.
Finally, a great way to started with Android development in Eclipse is to follow both the Hello Android and Notepad code tutorials. In particular, the start of the Hello Android tutorial is an excellent introduction to creating a new Android application in Eclipse.
10. Can I Write Code For Android Using C/c++?
Android applications are written using the Java programming language.Android includes a set of core libraries that provides most of the functionality available in the core libraries of the Java programming language.Every Android application runs in its own process, with its own instance of the Dalvik virtual machine. Dalvik has been written so that a device can run multiple VMs efficiently. The Dalvik VM executes files in the Dalvik Executable (.dex) format which is optimized for minimal memory footprint. The VM is register-based, and runs classes compiled by a Java language compiler that have been transformed into the .dex format by the included ?dx? tool.Android only supports applications written using the Java programming language at this time.