Your SlideShare is downloading. ×
0
Android - Pune GTUG
Android - Pune GTUG
Android - Pune GTUG
Android - Pune GTUG
Android - Pune GTUG
Android - Pune GTUG
Android - Pune GTUG
Android - Pune GTUG
Android - Pune GTUG
Android - Pune GTUG
Android - Pune GTUG
Android - Pune GTUG
Android - Pune GTUG
Android - Pune GTUG
Android - Pune GTUG
Android - Pune GTUG
Android - Pune GTUG
Android - Pune GTUG
Android - Pune GTUG
Android - Pune GTUG
Android - Pune GTUG
Android - Pune GTUG
Android - Pune GTUG
Android - Pune GTUG
Android - Pune GTUG
Android - Pune GTUG
Android - Pune GTUG
Android - Pune GTUG
Android - Pune GTUG
Android - Pune GTUG
Android - Pune GTUG
Android - Pune GTUG
Android - Pune GTUG
Android - Pune GTUG
Android - Pune GTUG
Android - Pune GTUG
Android - Pune GTUG
Android - Pune GTUG
Android - Pune GTUG
Android - Pune GTUG
Android - Pune GTUG
Android - Pune GTUG
Android - Pune GTUG
Android - Pune GTUG
Android - Pune GTUG
Android - Pune GTUG
Android - Pune GTUG
Android - Pune GTUG
Android - Pune GTUG
Android - Pune GTUG
Android - Pune GTUG
Android - Pune GTUG
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×
Saving this for later? Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime – even offline.
Text the download link to your phone
Standard text messaging rates apply

Android - Pune GTUG

971

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
971
On Slideshare
0
From Embeds
0
Number of Embeds
1
Actions
Shares
0
Downloads
17
Comments
0
Likes
0
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide

Transcript

  1. Programming on Android By Rohit Ghatol From Pune Google Technology User Group http://pune-gtug.blogspot.com http://blog.punegtug.org
  2. What is Pune-GTUG? GTUG stands for Google Technology User Group http://blog.punegtug.org
  3. Programming on Android http://blog.punegtug.org
  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. 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. 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. 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. Android Architecture http://blog.punegtug.org
  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. Building Blocks http://blog.punegtug.org Activity Media Player Screen Service Background Service Content Provider Broadcast Receivers MP3 Downloaded Music Directory
  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. 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. 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. Programming basics http://blog.punegtug.org
  15. Programming basics http://blog.punegtug.org
  16. Programming basics http://blog.punegtug.org Main Screen (Activity) Main Config File Layout File Generated from res directory
  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. 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. Programming basics http://blog.punegtug.org
  20. Programming basics http://blog.punegtug.org
  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. Digg http://blog.punegtug.org
  23. Digg in Action http://blog.punegtug.org
  24. Digg in Action http://blog.punegtug.org
  25. Del.icio.us http://blog.punegtug.org
  26. Del.icio.us in action http://blog.punegtug.org
  27. Del.icio.us in action http://blog.punegtug.org
  28. Del.icio.us in action http://blog.punegtug.org
  29. Del.icio.us in action http://blog.punegtug.org
  30. GodSpeed Application In Action
  31. GodSpeed Application In Action
  32. GodSpeed Application In Action
  33. GodSpeed Application In Action
  34. GodSpeed Application In Action
  35. GodSpeed Application In Action
  36. GodSpeed Application In Action
  37. GodSpeed Application In Action
  38. GodSpeed Application In Action
  39. GodSpeed Application In Action
  40. GodSpeed Application In Action
  41. GodSpeed Application In Action
  42. GodSpeed Application In Action
  43. GodSpeed Application In Action
  44. GodSpeed Application In Action
  45. GodSpeed Application In Action
  46. GodSpeed Application In Action
  47. GodSpeed Application In Action
  48. GodSpeed Application In Action
  49. GodSpeed Application In Action
  50. GodSpeed Application In Action
  51. GodSpeed Application In Action
  52. Questions? ? http://blog.punegtug.org

×