In Android, R.java is used to resources defined in XML files. It also contains access to resources such as drawable, layout, string, arrays, and basically anything you can declare in resources.
Hello World Programme
The first step creates a simple Android Application using Eclipse IDE. Follow of some steps.
File -> New ->Project
Select the New Android Application Project.
Name your application as HelloWorld .
Next
Finish
What is Activity
The Activity class forms the basis for all your user interface (UI) screens. You learn to create Activities and gain an understanding of their lifecycles and how they affect the application lifetime and priority.
Finally, you are introduced to some of the Activity subclasses that simplifies resource management for some common UI patterns, such as map and list based Activities.
0 comments:
Post a Comment