Programming on Android By Rohit Ghatol From  Pune Google Technology User Group http://pune-gtug.blogspot.com   http://blog...
What is Pune-GTUG? GTUG stands for Google Technology User Group http://blog.punegtug.org
Programming on Android http://blog.punegtug.org
Topics <ul><ul><li>What is Android? </li></ul></ul><ul><ul><li>Android Architecture </li></ul></ul><ul><ul><li>Building bl...
What is Android? Android is a software stack for mobile devices that includes an operating system, middleware and key appl...
What is Android? <ul><li>Features </li></ul><ul><ul><li>Application framework  enabling reuse and replacement of component...
Topics <ul><ul><li>What is Android? </li></ul></ul><ul><ul><li>Android Architecture </li></ul></ul><ul><ul><li>Building bl...
Android Architecture http://blog.punegtug.org
Topics <ul><ul><li>What is Android? </li></ul></ul><ul><ul><li>Android Architecture </li></ul></ul><ul><ul><li>Building bl...
Building Blocks http://blog.punegtug.org Activity Media Player Screen Service Background Service Content Provider Broadcas...
Building Blocks – The Glue Intent http://blog.punegtug.org What do I want to do? <ul><li>Intent helps in  </li></ul><ul><u...
Topics <ul><ul><li>What is Android? </li></ul></ul><ul><ul><li>Android Architecture </li></ul></ul><ul><ul><li>Building bl...
Programming Basics <ul><ul><li>Android SDK provides following </li></ul></ul><ul><ul><ul><li>An Emulator </li></ul></ul></...
Programming basics http://blog.punegtug.org
Programming basics http://blog.punegtug.org
Programming basics http://blog.punegtug.org Main Screen (Activity) Main Config File Layout File Generated from res  direct...
Programming basics HelloWorld.java package com.punegtug.helloworld; import android.app.Activity; import android.os.Bundle;...
Programming basics main.xml <?xml version= &quot;1.0&quot; encoding=&quot;utf-8&quot;?> <LinearLayout xmlns:android= &quot...
Programming basics http://blog.punegtug.org
Programming basics http://blog.punegtug.org
Topics <ul><ul><li>What is Android? </li></ul></ul><ul><ul><li>Android Architecture </li></ul></ul><ul><ul><li>Building bl...
Digg http://blog.punegtug.org
Digg in Action http://blog.punegtug.org
Digg in Action http://blog.punegtug.org
Del.icio.us http://blog.punegtug.org
Del.icio.us in action http://blog.punegtug.org
Del.icio.us in action http://blog.punegtug.org
Del.icio.us in action http://blog.punegtug.org
Del.icio.us in action http://blog.punegtug.org
GodSpeed Application In Action
GodSpeed Application In Action
GodSpeed Application In Action
GodSpeed Application In Action
GodSpeed Application In Action
GodSpeed Application In Action
GodSpeed Application In Action
GodSpeed Application In Action
GodSpeed Application In Action
GodSpeed Application In Action
GodSpeed Application In Action
GodSpeed Application In Action
GodSpeed Application In Action
GodSpeed Application In Action
GodSpeed Application In Action
GodSpeed Application In Action
GodSpeed Application In Action
GodSpeed Application In Action
GodSpeed Application In Action
GodSpeed Application In Action
GodSpeed Application In Action
GodSpeed Application In Action
Questions? ? http://blog.punegtug.org
Upcoming SlideShare
Loading in...5
×

Android - Pune GTUG

983

Published on

Published in: Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
983
On Slideshare
0
From Embeds
0
Number of Embeds
1
Actions
Shares
0
Downloads
17
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Android - Pune GTUG

  1. 1. Programming on Android By Rohit Ghatol From Pune Google Technology User Group http://pune-gtug.blogspot.com http://blog.punegtug.org
  2. 2. What is Pune-GTUG? GTUG stands for Google Technology User Group http://blog.punegtug.org
  3. 3. Programming on Android http://blog.punegtug.org
  4. 4. Topics <ul><ul><li>What is Android? </li></ul></ul><ul><ul><li>Android Architecture </li></ul></ul><ul><ul><li>Building blocks </li></ul></ul><ul><ul><li>Programming Basics </li></ul></ul><ul><ul><li>Sample Application </li></ul></ul><ul><ul><li>Questions and Answers </li></ul></ul>http://blog.punegtug.org
  5. 5. What is Android? Android is a software stack for mobile devices that includes an operating system, middleware and key applications. The Android SDK provides the tools and APIs necessary to begin developing applications on the Android platform using the Java programming language. http://blog.punegtug.org
  6. 6. What is Android? <ul><li>Features </li></ul><ul><ul><li>Application framework  enabling reuse and replacement of components </li></ul></ul><ul><ul><li>Dalvik virtual machine  optimized for mobile devices </li></ul></ul><ul><ul><li>Integrated browser  based on the open source WenKit engine </li></ul></ul><ul><ul><li>Optimized graphics  powered by a custom 2D graphics library; 3D graphics based on the OpenGL ES 1.0 specification (hardware acceleration optional) </li></ul></ul><ul><ul><li>SQLite  for structured data storage </li></ul></ul><ul><ul><li>Media support  for common audio, video, and still image formats (MPEG4, H.264, MP3, AAC, AMR, JPG, PNG, GIF) </li></ul></ul><ul><ul><li>GSM Telephony  (hardware dependent) </li></ul></ul><ul><ul><li>Bluetooth, EDGE, 3G, and WiFi  (hardware dependent) </li></ul></ul><ul><ul><li>Camera, GPS, compass, and accelerometer  (hardware dependent) </li></ul></ul><ul><ul><li>Rich development environment  including a device emulator, tools for debugging, memory and performance profiling, and a plugin for the Eclipse IDE </li></ul></ul>http://blog.punegtug.org
  7. 7. Topics <ul><ul><li>What is Android? </li></ul></ul><ul><ul><li>Android Architecture </li></ul></ul><ul><ul><li>Building blocks </li></ul></ul><ul><ul><li>Programming Basics </li></ul></ul><ul><ul><li>Sample Application </li></ul></ul><ul><ul><li>Questions and Answers </li></ul></ul>http://blog.punegtug.org
  8. 8. Android Architecture http://blog.punegtug.org
  9. 9. Topics <ul><ul><li>What is Android? </li></ul></ul><ul><ul><li>Android Architecture </li></ul></ul><ul><ul><li>Building blocks </li></ul></ul><ul><ul><li>Programming Basics </li></ul></ul><ul><ul><li>Sample Application </li></ul></ul><ul><ul><li>Questions and Answers </li></ul></ul>http://blog.punegtug.org
  10. 10. Building Blocks http://blog.punegtug.org Activity Media Player Screen Service Background Service Content Provider Broadcast Receivers MP3 Downloaded Music Directory
  11. 11. Building Blocks – The Glue Intent http://blog.punegtug.org What do I want to do? <ul><li>Intent helps in </li></ul><ul><ul><li>Launching Activities and Services </li></ul></ul><ul><ul><li>Application taking action on an event </li></ul></ul><ul><ul><li>Reusing building blocks (not code) </li></ul></ul><ul><li>What if I want to send my mp3 file to my friend? </li></ul><ul><ul><li>Do I write the email logic in my app? </li></ul></ul><ul><ul><li>How do I reuse existing email app? </li></ul></ul><ul><ul><li>Explicit Intents </li></ul></ul><ul><ul><li>Implicit Intents </li></ul></ul>
  12. 12. Topics <ul><ul><li>What is Android? </li></ul></ul><ul><ul><li>Android Architecture </li></ul></ul><ul><ul><li>Building blocks </li></ul></ul><ul><ul><li>Programming Basics </li></ul></ul><ul><ul><li>Sample Application </li></ul></ul><ul><ul><li>Questions and Answers </li></ul></ul>http://blog.punegtug.org
  13. 13. Programming Basics <ul><ul><li>Android SDK provides following </li></ul></ul><ul><ul><ul><li>An Emulator </li></ul></ul></ul><ul><ul><ul><li>Command line tools to control emulator </li></ul></ul></ul><ul><ul><ul><li>Eclipse Plugin (downloaded separately) </li></ul></ul></ul><ul><ul><ul><li>Direct Testing of application on Mobile Devices </li></ul></ul></ul>http://blog.punegtug.org
  14. 14. Programming basics http://blog.punegtug.org
  15. 15. Programming basics http://blog.punegtug.org
  16. 16. Programming basics http://blog.punegtug.org Main Screen (Activity) Main Config File Layout File Generated from res directory
  17. 17. Programming basics HelloWorld.java package com.punegtug.helloworld; import android.app.Activity; import android.os.Bundle; public class HelloWorld extends Activity { /** Called when the activity is first created. */ @Override public void onCreate (Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.main); } } http://blog.punegtug.org
  18. 18. Programming basics main.xml <?xml version= &quot;1.0&quot; encoding=&quot;utf-8&quot;?> <LinearLayout xmlns:android= &quot;http://schemas.android.com/apk/res/android&quot; android:orientation= &quot;vertical&quot; android:layout_width= &quot;fill_parent&quot; android:layout_height= &quot;fill_parent&quot; > <TextView android:layout_width= &quot;fill_parent&quot; android:layout_height= &quot;wrap_content&quot; android:text= &quot;@string/hello&quot; /> </LinearLayout> http://blog.punegtug.org
  19. 19. Programming basics http://blog.punegtug.org
  20. 20. Programming basics http://blog.punegtug.org
  21. 21. Topics <ul><ul><li>What is Android? </li></ul></ul><ul><ul><li>Android Architecture </li></ul></ul><ul><ul><li>Building blocks </li></ul></ul><ul><ul><li>Programming Basics </li></ul></ul><ul><ul><li>Sample Applications </li></ul></ul><ul><ul><li>Questions and Answers </li></ul></ul>http://blog.punegtug.org
  22. 22. Digg http://blog.punegtug.org
  23. 23. Digg in Action http://blog.punegtug.org
  24. 24. Digg in Action http://blog.punegtug.org
  25. 25. Del.icio.us http://blog.punegtug.org
  26. 26. Del.icio.us in action http://blog.punegtug.org
  27. 27. Del.icio.us in action http://blog.punegtug.org
  28. 28. Del.icio.us in action http://blog.punegtug.org
  29. 29. Del.icio.us in action http://blog.punegtug.org
  30. 30. GodSpeed Application In Action
  31. 31. GodSpeed Application In Action
  32. 32. GodSpeed Application In Action
  33. 33. GodSpeed Application In Action
  34. 34. GodSpeed Application In Action
  35. 35. GodSpeed Application In Action
  36. 36. GodSpeed Application In Action
  37. 37. GodSpeed Application In Action
  38. 38. GodSpeed Application In Action
  39. 39. GodSpeed Application In Action
  40. 40. GodSpeed Application In Action
  41. 41. GodSpeed Application In Action
  42. 42. GodSpeed Application In Action
  43. 43. GodSpeed Application In Action
  44. 44. GodSpeed Application In Action
  45. 45. GodSpeed Application In Action
  46. 46. GodSpeed Application In Action
  47. 47. GodSpeed Application In Action
  48. 48. GodSpeed Application In Action
  49. 49. GodSpeed Application In Action
  50. 50. GodSpeed Application In Action
  51. 51. GodSpeed Application In Action
  52. 52. Questions? ? http://blog.punegtug.org
  1. A particular slide catching your eye?

    Clipping is a handy way to collect important slides you want to go back to later.

×