Custom Search

Thursday, January 29, 2009

Evaluation of android platform

The android platform is a mixture of Linux kernel and a Java application interface. Evaluation

The Linux kernel is very well tested over the years. In android, this has been slightly modified to suit the embedded / mobile environment. Linux as a OS is the most stable. So having the same as a mobile OS is also good.

For the developers the Java platform is most suitable for developing applications, since you don't have to worry about pointer and OO language increases the usability and maintainability of the system. Java forms one of the largest developer communities. So this combination is ideally suited for a mobile platform. Since java runs very slowly on a mobile, the virtual machine is modified. The Dalvik virtual machine is register based instead of the usual stack based VM's. This supposedly runs much faster.

Overall the platform looks very well organised and suits the mobile environment. Now after making this a open source we need to see the role of google in promoting and maintaining this platform.

Performance of android market

The android application market is quite similar to apple store, the main difference being that the applications are not controlled by google.

Anybody can register as a developer with a nominal fee of $25 and post their applications into this android market from where the users can download their applications. Presently only free applications are allowed to be posted and hence the market is given the name beta. Quite a good number of application are available now for free.

The rating system is same like that of you tube. How good this system will be only time will tell. Nonetheless its very easy for developers to post their applications onto this market. This should attract a lot of developers to post their applications in this market. As the number of applications increase how google manages it remains to be seen. It should have a mechanism to discourage apps that have bad rating.

Tuesday, January 27, 2009

building blocks of android application

To understand the basics of an android application and how it works, first we need to understand these terms.

Activities: This is the atomic functionality. An activity is usually a single screen in the application. When associated a UI it will be similar to a page/form of other platforms. There exists a stack of activities that is maintained by the activity manager. Every activity in android is associated with a class. It runs/exectues in the process that creates it.

Intents : Android uses a class called 'Intent' to move from screen to another. It has the information describing the action, data etc.

Intent Filters: specifies what the activity is capable of handling.

Service: Service is the one that performs a particular task for another applciation. Application which makes use of this service runs on different processes. Since they run on different context/process it makes use of Binder IPC for the communciation.

Content Provider: This is normally used for accessing lower level functionality like file access, network access etc. The content provider provides the platform related functionality to the running application.

Task: This contains a collection of related Activites. These set of activities perform a particular task. This is comparable to an application on other platforms.

Process: This is a simple linux process.