DevoxxFR 2024 Reproducible Builds with Apache Maven
Android Programming made easy
1. Android Programming made easy I have always wished that my computer would be as easy to use as my telephone. My wish has come true. I no longer know how to use my telephone - BjarneStronstrup
2.
3. About me – Lars Vogel (Twitter: @vogella) Independently active in the OpenSource Community, e.g. Eclipse and Android Working for SAP AG as Product Manager Maintains http://www.vogella.de Java, Eclipse and Android related Tutorials with ~15 000 visitors per Received the Eclipse Top Contributor Award 2010
4. The next 58 minutes Android overview Android Tool chain Demos Android Programming Constructs Q&A
5. What is Android? – operating system based on Linux – middleware – key applications – set of APIs Open Source Developed officially by the Open Handset Alliance lead by Google
8. Dalvik – town in iceland Android Programming You use the Java programming language but Android does not run Java Bytecode Tool dx converts Java Bytecode into Dalvik Executable Code (.dex)
9. Android Programming You use the Java programming language but Android does not run Java Bytecode
42. Android Connectivity I can talk and hear Internet (java.net, Apache HttpClient,...) Bluetooth Email SMS I have feelings Camera API Motion Detection Location API (GIS) Heat Sensor Accelerator
43. Storage File System (device or SD card) Preferences Database (SQLightDatabase)
46. Performance Sins Avoid creating objects Static rules Avoid to use internal setters and getter (within the same class) Static final for constants Learn on giants (use the libraries) Details: http://developer.android.com/guide/practices/design/performance.html
47. Be fast! Avoid ApplicationNotResponding Error Threads not allowed to modify the UI directly Use handler or AsyncTask to update the UI after Thread is done
58. Thank you For further questions: Lars.Vogel@gmail.com http://www.vogella.de http://www.twitter.com/vogella
59. License & Acknowledgements This work is licensed under the Creative Commons Attribution-Noncommercial-No Derivative Works 3.0 Germany License See http://creativecommons.org/licenses/by-nc-nd/3.0/de/deed.en_US