Download - My First Android Application
![Page 1: My First Android Application](https://reader036.vdocument.in/reader036/viewer/2022062707/558574ded8b42a4c2c8b4dbd/html5/thumbnails/1.jpg)
My first Android App
By Benjamin MonjoieCreated for the Java Lab SF
http://www.javalabsf.net
![Page 2: My First Android Application](https://reader036.vdocument.in/reader036/viewer/2022062707/558574ded8b42a4c2c8b4dbd/html5/thumbnails/2.jpg)
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
![Page 3: My First Android Application](https://reader036.vdocument.in/reader036/viewer/2022062707/558574ded8b42a4c2c8b4dbd/html5/thumbnails/3.jpg)
Why Android ?
• Google• Java• Easy development• Good documentation• iPhone killer• ...
![Page 4: My First Android Application](https://reader036.vdocument.in/reader036/viewer/2022062707/558574ded8b42a4c2c8b4dbd/html5/thumbnails/4.jpg)
Environment
Eclipse + SDK
SDK runs on Windows, Mac OS, Linux
Easy installation, more information on :
http://developer.android.com/sdk/index.html
![Page 5: My First Android Application](https://reader036.vdocument.in/reader036/viewer/2022062707/558574ded8b42a4c2c8b4dbd/html5/thumbnails/5.jpg)
My first project
![Page 6: My First Android Application](https://reader036.vdocument.in/reader036/viewer/2022062707/558574ded8b42a4c2c8b4dbd/html5/thumbnails/6.jpg)
My first project
![Page 7: My First Android Application](https://reader036.vdocument.in/reader036/viewer/2022062707/558574ded8b42a4c2c8b4dbd/html5/thumbnails/7.jpg)
My first screen
![Page 8: My First Android Application](https://reader036.vdocument.in/reader036/viewer/2022062707/558574ded8b42a4c2c8b4dbd/html5/thumbnails/8.jpg)
Interact with the button
First solution : in the layout
main.xml MyfirstApp.java
![Page 9: My First Android Application](https://reader036.vdocument.in/reader036/viewer/2022062707/558574ded8b42a4c2c8b4dbd/html5/thumbnails/9.jpg)
Interact with the button
Second solution : in the code
MyfirstApp.java
![Page 10: My First Android Application](https://reader036.vdocument.in/reader036/viewer/2022062707/558574ded8b42a4c2c8b4dbd/html5/thumbnails/10.jpg)
Make a new window
NewWindow.java
AndroidManifest.xml
![Page 11: My First Android Application](https://reader036.vdocument.in/reader036/viewer/2022062707/558574ded8b42a4c2c8b4dbd/html5/thumbnails/11.jpg)
Make a new window
MyfirstApp.java
![Page 12: My First Android Application](https://reader036.vdocument.in/reader036/viewer/2022062707/558574ded8b42a4c2c8b4dbd/html5/thumbnails/12.jpg)
Make a simple list
NewWindow.java
![Page 13: My First Android Application](https://reader036.vdocument.in/reader036/viewer/2022062707/558574ded8b42a4c2c8b4dbd/html5/thumbnails/13.jpg)
Make a simple list
newwindow.xml liste.xml
![Page 14: My First Android Application](https://reader036.vdocument.in/reader036/viewer/2022062707/558574ded8b42a4c2c8b4dbd/html5/thumbnails/14.jpg)
Conclusion