ANDROID TRAINING LESSON 1
I. Agenda- References
- Tools
- Android SDK
- Creating a Project
- Project Components
- XML
- R Class
- Layouts
- Strings
- Manifest File
- This lesson is a brief overview of some major concepts
- Developer’s Guide
- API Reference
III. Tools
- Phone
- Eclipse ( http://www.eclipse.org/downloads/ )
- Android SDK ( http://developer.android.com/sdk/index.html )
IV. Android SDK
- Once installed open the SDK Manager
- Install the desired packages
- Create an Android Virtual Device (AVD)
SDK Manager |
VI. AVD
VII. Creating a Project
VIII. Project Components
- src – your source code
- gen – auto-generated code (usually just R.java)
- Included libraries
- Resources
- Layouts
- Values (like strings)
- Manifest file
- Used to define some of the resources
- Strings
- Manifest file
- Shouldn’t usually have to edit it directly, Eclipse can do that for you Preferred way of creating UIs
- Can easily take a UI from one platform to another
X. R Class
- Auto-generated: you shouldn’t edit it
- Contains IDs of the project resources
- Use findViewById and Resources object to get access to the resources
- Ex. getResources().getString(R.string.hello));
Fill before analysis reach. He nearly themselves wish institution. Although energy above hear phone never.religious
ReplyDelete