My First Android Application
Transcript of My First Android Application
My first Android App
By Benjamin MonjoieCreated for the Java Lab SF
http://www.javalabsf.net
Road map
1.Why Android ?2.Environment3.My first project4.My first screen5.Interact with the button6.Make a new window7.Make a simple list8.Conclusion
Why Android ?
• Google• Java• Easy development• Good documentation• iPhone killer• ...
Environment
Eclipse + SDK
SDK runs on Windows, Mac OS, Linux
Easy installation, more information on :
http://developer.android.com/sdk/index.html
My first project
My first project
My first screen
Interact with the button
First solution : in the layout
main.xml MyfirstApp.java
Interact with the button
Second solution : in the code
MyfirstApp.java
Make a new window
NewWindow.java
AndroidManifest.xml
Make a new window
MyfirstApp.java
Make a simple list
NewWindow.java
Make a simple list
newwindow.xml liste.xml
Conclusion