As I told before, I attended the free webinar by CreativeTech on Developing Android Applications with Java yesterday.
My friend Jaskirat, asked me write about the session since he missed some parts of it as he slept during the session. 🙂 Okay it was not because the session was boring, but due to the fact that 11 AM PST is midnight of us guys in India. I happily obliged and here are my notes from the session.
The training started off with a brief introduction about the format of the session, about CreativeTech trainings, partnership with O’Reilly, brief profile of the author etc. They also explained how to use the GoTo Webinar console, ask questions etc.
Then there was a brief introduction about the android platform, its stack and how various components fit it. He also explained the various verbs like activity, intent etc. You can read about them in the Application fundamentals section of the android documentation.
Choosing the SDK version
Next there was a brief explanation about the SDK and the difference between android SDK and Google API’s and also about the various versions of SDK. This led to a brief Q&A session where people asked which version to SDK to target. The instructor then recommended targeting for SDK version 1.5. He said that version 1.5 strikes a balance between market reach and available features.
You can checkout the different versions of SDK and their market share in the android developer page.
Installing necessary software
After the Q&A, the instructor showed how to install the necessary software to follow the code samples.
You need to install the following
- Android SDK
- ADT Eclipse Plugin
You can follow the instructions in the android documentation page to install the above softwares.
After installing the necessary software, you should also create an Android Virtual Device (AVD), which will allow you to run the application in the Android Emulator.
The goal of the session was to introduce the android platform and to write a demo flashlight app.
The app will have two views (red and green, see screenshot), which can be toggled by clicking a button. The following are the screenshots of the application.
Implementing the demo application
This was the meat of the presentation (but was pretty short due to time constraints), where he explained how to start writing code, to implement the demo application.
You can follow the steps in the “Hello World” tutorial of the android documentation to setup the project.
I have uploaded source code for yesterday’s session in github and you can download it from there.
The first session was really very good and I will be attending the remaining 5 sessions too and if possible will write blog posts with the notes that I take. Meanwhile if you are interested in developing android applications, then you should really watch this tutorial.
Update: I have added additional information about the android project structure in a subsequent post.
Update 2: I have also completed the homework for this session and have posted my source code and explanation.
Update 3: You can also view my notes for the next session.
You can also subscribe to my blog’s RSS feed or follow me in Twitter to receive updates about my notes for the next sessions.
- Recovering Android KeyStore password
- Using WebSockets with Android to control Arduino robots
- 10 more open source Android apps which every developer must look into
- Building Robots using Android and Arduino in Google Devfestx
- Transferring data from Android using Audio
- Building Robots using Arduino and Android at DroidCon
Nice post here, I should say that I was awake until the point the presenter (mike?) opened eclipse and started a new project! I remember the part where he demoed the flash light app before jumping to code and then I have no idea when fell asleep. Was woken up at 3ish by roommate to remove earphones and shut down the laptop… 😀 hehe
Thanks for going out of your way to help me. Will download the android SDK and setup eclipse plugin etc. by weekend.
You are welcome 🙂 BTW have you completed the homework for this week?
Hey Sudar, Great post – thanks for sharing! The class starts at 6am for us here in Sydney, Australia so your notes are very handy. Cheers, Tim
Nice to know that you liked my notes. Actually for us in India, the class starts at 12:30 in the night and ends at around 2:30 am. 🙂 But it was too good to miss 🙂
i couldn’t attend the webinar because i had to drive my mother in law to the airport. glad i can catch up with your notes. many thanks!
Nice to know that you liked my notes. Stay tuned for notes on the upcoming sessions.
very useful, will you be posting about week 2?
Yeah I took notes for week 2 and will be posting it later today after I return from work.
Brilliant thanks – look forward to it
how can read and write notes in my android application. if source code is avialable plz send me on my mail.
nice one man sudar
please hellp me to write source code for notes manager,search manager,bookmark manager,hyperlink manager in android its very urgent…
thanks admin for sharing up such an excellent tutorial about developing of android applications. it is really great and helpful. keep up it.