Android - Pune GTUG
Upcoming SlideShare
Loading in...5
×
 

Android - Pune GTUG

on

  • 1,228 views

 

Statistics

Views

Total Views
1,228
Views on SlideShare
1,012
Embed Views
216

Actions

Likes
0
Downloads
16
Comments
0

1 Embed 216

http://rohitghatol.com 216

Accessibility

Categories

Upload Details

Uploaded via as Microsoft PowerPoint

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

Android - Pune GTUG Android - Pune GTUG Presentation Transcript

  • Programming on Android By Rohit Ghatol From Pune Google Technology User Group http://pune-gtug.blogspot.com http://blog.punegtug.org
  • What is Pune-GTUG? GTUG stands for Google Technology User Group http://blog.punegtug.org
  • Programming on Android http://blog.punegtug.org
  • Topics
      • What is Android?
      • Android Architecture
      • Building blocks
      • Programming Basics
      • Sample Application
      • Questions and Answers
    http://blog.punegtug.org
  • 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
  • What is Android?
    • Features
      • Application framework  enabling reuse and replacement of components
      • Dalvik virtual machine  optimized for mobile devices
      • Integrated browser  based on the open source WenKit engine
      • Optimized graphics  powered by a custom 2D graphics library; 3D graphics based on the OpenGL ES 1.0 specification (hardware acceleration optional)
      • SQLite  for structured data storage
      • Media support  for common audio, video, and still image formats (MPEG4, H.264, MP3, AAC, AMR, JPG, PNG, GIF)
      • GSM Telephony  (hardware dependent)
      • Bluetooth, EDGE, 3G, and WiFi  (hardware dependent)
      • Camera, GPS, compass, and accelerometer  (hardware dependent)
      • Rich development environment  including a device emulator, tools for debugging, memory and performance profiling, and a plugin for the Eclipse IDE
    http://blog.punegtug.org
  • Topics
      • What is Android?
      • Android Architecture
      • Building blocks
      • Programming Basics
      • Sample Application
      • Questions and Answers
    http://blog.punegtug.org
  • Android Architecture http://blog.punegtug.org
  • Topics
      • What is Android?
      • Android Architecture
      • Building blocks
      • Programming Basics
      • Sample Application
      • Questions and Answers
    http://blog.punegtug.org
  • Building Blocks http://blog.punegtug.org Activity Media Player Screen Service Background Service Content Provider Broadcast Receivers MP3 Downloaded Music Directory
  • Building Blocks – The Glue Intent http://blog.punegtug.org What do I want to do?
    • Intent helps in
      • Launching Activities and Services
      • Application taking action on an event
      • Reusing building blocks (not code)
    • What if I want to send my mp3 file to my friend?
      • Do I write the email logic in my app?
      • How do I reuse existing email app?
      • Explicit Intents
      • Implicit Intents
  • Topics
      • What is Android?
      • Android Architecture
      • Building blocks
      • Programming Basics
      • Sample Application
      • Questions and Answers
    http://blog.punegtug.org
  • Programming Basics
      • Android SDK provides following
        • An Emulator
        • Command line tools to control emulator
        • Eclipse Plugin (downloaded separately)
        • Direct Testing of application on Mobile Devices
    http://blog.punegtug.org
  • 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 directory
  • 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
  • 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
  • Programming basics http://blog.punegtug.org
  • Programming basics http://blog.punegtug.org
  • Topics
      • What is Android?
      • Android Architecture
      • Building blocks
      • Programming Basics
      • Sample Applications
      • Questions and Answers
    http://blog.punegtug.org
  • 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