Saturday, November 21, 2009

Application Fundamentals

Android applications are written in the Java programming language.
Android application archieve format is .apx
Each process has its own Java virtual machine (VM), so application code runs in isolation from the code of all other application
Android Application Components are Activites,Service,Broadcast receivers and Content providers

Activities
An application that has a visible UI is implemented with an activity. When a user selects an application from the home screen or application launcher, an activity is started.

Services
A service should be used for any application that needs to persist for a long time, such as a network monitor or update-checking application.

Content providers
You can think of content providers as a database server. A content provider's job is to manage access to persisted data, such as a SQLite database. If your application is very simple, you might not necessarily create a content provider. If you're building a larger application, or one that makes data available to multiple activities or applications, a content provider is the means of accessing your data.

Broadcast receivers
An Android application may be launched to process a element of data or respond to an event, such as the receipt of a text message.

AndroidManifest.xml - Configuration
An Android application, along with a file called AndroidManifest.xml, is deployed to a device.
AndroidManifest.xml contains the necessary configuration information to properly install it to the device. It includes the required class names and types of events the application is able to process, and the required permissions the application needs to run.

Project Folder Structure ;
1. src - It contain the java code
2. Resource - It contain the all resource with different floder
    drawable - Icon
    raw - Sounds
    menu - Menu
    values - Project Properties
    layout - User interface Screens
3. gen - It contains the R.java file. You could not edit R.java manually. This have been generated automatically by understanding resource files etc.
4. AndroidManifest -It contains the Project properties
5. Android lib.


The next topic discusses the "Hello Android" Program and layout.

7 comments:

  1. Constitutional Law Assignment Help the student should be fully aware of all the legal clauses and nuances. So it becomes a little difficult for many students to keep up with their assignments as many of them are not so aware of the entire legal clause.

    ReplyDelete
  2. Nice to see your write up that provide me the best information about the LogisticGuru, the professional Car Transport Mumbai . Thanks for sharing the post. Apart from the good car transportation service, they offer the service like Warehouse, Insurance and Road Survey on their customers' demands that ensure entire stress-free car transportation service. Visit their website; it is well designed where you can get lots of information.

    ReplyDelete
  3. It’s a nice time spent around your blog today; nice and really nice and interesting post. I was looking for this kind of information and enjoyed reading this one. Keep posting. Thanks so much for sharing. visit chrisland post utme past questions pdf free download

    ReplyDelete
  4. It’s a great and wonderful educative source for everyone to learn. This auspicious work and I'm appreciating you for this. Thanks for always giving us. Also visit abuad approved school fees schedule for part-time students

    ReplyDelete
  5. Very nice post. I just came across your blog and really wanted to I would like to say that I really enjoyed reading your blog post. Thank you so much for sharing.- islamic studies gce past question pdf

    ReplyDelete
  6. It’s a nice time spent around your blog today; nice and really nice and interesting post. I was looking for this kind of information and enjoyed reading this one. Thanks so much for sharing. gombe state college of health technology admission form this year visit - Best Related Educational Updates Portal in the World; Examination and Academic Guide, High Paying Jobs & Scholarship Website

    ReplyDelete