Day 1.
->Program Introduction
->Installation guide
->Creating New Application
->Project Structure
->Basic Application development using Button, Edittext, textView and Toast
2. @vivekbhusal
Vivek Bhusal
Mobile Application Developer,
YoungInnovations
2 years in mobile application development
http://vivekbhusal.com
Toastmasters
Timer
StoresMunk
iPaidaBribe
Marriage
Center
Collection
3. Rakeeb Rajbhandari
Jr. Mobile Application Developer,
YoungInnovations
6 months in mobile application development
Taxi Fare
Self Help
6. Mobile Nepal Community
Common Platform to share, learn and grow
Events Hello Sarkar
M2Work Hackathon
Pivot Nepal
NASA Space Apps
http://mobilenepal.net
7. This is an extensive course that covers the Android Basics and more.
8. This is an extensive course that covers the Android Basics and more.
Aimed to get you STARTED on the right foot.
9. This is an extensive course that covers the Android Basics and more.
Aimed to get you STARTED on the right foot.
Know your Android better.
10. This is an extensive course that covers the Android Basics and more.
Aimed to get you STARTED on the right foot.
Know your Android better.
Develop an Android Application?
28. SETTING UP THE PROJECT
Checklist
Minimum SDK support must be setup
Features like the ActionBar is not available in
earlier API versions.
Target APK
The API being targetted
Always compile with the latest API
Keep clicking on Next untill we end the setup process
29. 1
Create the UI for our
application.
xml
2
Make the UI functional
java
Getting
started
32. <Button
android:id = “@+id/button”
android:layout_width = “fill_parent”
android:layout_height = “wrap_content”
android:text = “Press Me”/>
While working with
Views/UI elements
always give them an id
width and height are compulsory to declare.
id's are to be declared if they are to be manipulated.
37. Auto-generated: DO NOT EDIT
Contains ID of the project resources
Use findViewById and Resources object to
get access to the resources:
R class found under
gen
E.g.
Button =
(Button)findViewById(R.id.button);
E.g.
getResources().getString(R.string.
hello);