Wednesday, May 16, 2012

1. What is Android?

1.1. Android Operation System

Android is an operating system based on Linux with a Java programming interface.
The Android Software Development Kit (Android SDK) provides all necessary tools to develop Android applications. This includes a compiler, debugger and a device emulator, as well as its own virtual machine to run Android programs.
Android is currently primarily developed by Google.
Android allows background processing, provides a rich user interface library, supports 2-D and 3-D graphics using the OpenGL libraries, access to the file system and provides an embedded SQLite database.
Android applications consist of different components and can re-use components of other applications. This leads to the concept of a task in Android; an application can re-use other Android components to archive a task.
For example you can write an application which use the Android Gallery application to pick a photo.

1.2. Google Play (Android Market)

Google offers the Google Play service in which programmers can offer their Android application to Android users. Google phones include the Google Play application which allows to install applications.
Google Play also offers an update service, e.g. if a programmer uploads a new version of his application to Google Play, this service will notify existing users that an update is available and allow to install it.
Google Play used to be called Android Market.

1.3. Security and permissions

During deployment on an Android device, the Android system will create a unique user and group ID for every Android application. Each application file is private to this generated user, e.g. other applications cannot access these files.
In addition each Android application will be started in its own process.
Therefore by means of the underlying Linux operating system, every Android application is isolated from other running applications.
If data should be shared, the application must do this explicitly, e.g. via a Service or a ContentProvider.
Android also contains a permission system. Android predefines permissions for certain tasks but every application can define additional permissions.
An Android application declare its required permissions in its AndroidManifest.xml configuration file.For example an application may declare that it requires Internet
Permissions have different levels. Some permissions are automatically granted by the Android system, some are automatically rejected.
In most cases the requested permissions will be presented to the user before installation of the application. The user needs to decided if these permissions should be given to the application.
If the user denies a permission required by the application, this application cannot be installed. The check of the permission is only performed during installation, permissions cannot be denied or granted after the installation.
While not all users pay attention to the required permissions during installation some some users do and they write bad reviews on Google Play.

1 comment:

  1. Rock on! You are my guru as your blogs have guided me at my most difficult times. I am not a `job-searcher’ anymore, as I can make money sitting at home. Writers like you are the main reason I am a successfully established freelance graphic designer. By `successful’ I mean `making lots of money’. It is never too late to turn your life around…for the better. Websites like video marketing online , amazing corporate brochure design, www.odesk.com, and www.e-lancing.com have made my day. If you know anymore such sites then just let me know.

    ReplyDelete