Beginning                              Development     Presenter: Christopher M. Judd     Session Number: 508Saturday, Mar...
Code PaLOUsa 2011 SponsorsSaturday, March 5, 2011
Code PaLOUsa 2011 SponsorsSaturday, March 5, 2011
Christopher M. Judd      President/Consultant of                                              leader      Columbus        ...
Remarkable Ohio                                           Free                     Developed for eTech Ohio and Ohio Histo...
University System Of Ohio                                        Free                Developed for eTech Ohio and Universi...
Android DevicesSaturday, March 5, 2011
Saturday, March 5, 2011
Input                 Multi-touch                               Virtual Keyboard   SpeechSaturday, March 5, 2011
Location AwareSaturday, March 5, 2011
Accelerometer/GyroscopeSaturday, March 5, 2011
Camera/VideoSaturday, March 5, 2011
Android Development                          vs   vsSaturday, March 5, 2011
Saturday, March 5, 2011
FREE!!!Saturday, March 5, 2011
Saturday, March 5, 2011
Designer                          Blocks EditorSaturday, March 5, 2011
Designer                                             Emulator                          Blocks Editor   Project ManagerSatu...
Limitations                    Can not deploy to                    Limited by Component Palette                    and Bl...
Android SDKSaturday, March 5, 2011
FREE!!!Saturday, March 5, 2011
OPEN SOURCE!!!Saturday, March 5, 2011
Saturday, March 5, 2011
Eclipse                           IDESaturday, March 5, 2011
Eclipse                           IDE     Android Development Tool               (ADT)          Eclipse Plug-inSaturday, M...
Eclipse   Android SDK                           IDE                                     Emulator                          ...
Getting Started        1.Install Java Developer Kit (JDK)        2.Install Eclipse        3.Install SDK        4.Install A...
Name       Version   Level                                        Cupcake        1.5       3                              ...
Configure Android Virtual Devices (AVD)                   <sdk>/tools/android In Eclipse - Windows > Android SDK and AVD Ma...
EmulatorSaturday, March 5, 2011
VSSaturday, March 5, 2011
Android Development Tools                                                      Java Editor                                ...
Android ArchitectureSaturday, March 5, 2011
MyWebBrowser ExampleSaturday, March 5, 2011
Saturday, March 5, 2011
1.   Create project                          2.   Layout screen                          3.   Write code                  ...
Create ProjectSaturday, March 5, 2011
Layout Screen res/layout/main.xml <?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.andro...
Layouts              Linear      Relative   Table                 Grid        Tab     ListSaturday, March 5, 2011
Application Codesrc/com/juddsolutions/mybrowser/Main.javapublic class Main extends Activity {  private WebView webView;  p...
Run Application                                            e                                     t   tim                  ...
Permissions AndroidManifest.xml <?xml version="1.0" encoding="utf-8"?> <manifest xmlns:android="http://schemas.android.com...
Saturday, March 5, 2011
Deployment Options     Android Package                          *.apkSaturday, March 5, 2011
Register http://market.android.com/publish                              App Details                          $25/year     ...
Analytics       Android Market Place                        Analytic Companies                          Downloads         ...
Resources                                http://developer.android.comSaturday, March 5, 2011
Christopher M. Judd                          President/Consultant/Author                          email: cjudd@juddsolutio...
Upcoming SlideShare
Loading in...5
×

Beginning Android Development

3,203

Published on

From http://www.codepalousa.com/

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

  • Be the first to like this

No Downloads
Views
Total Views
3,203
On Slideshare
0
From Embeds
0
Number of Embeds
5
Actions
Shares
0
Downloads
577
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Beginning Android Development

  1. 1. Beginning Development Presenter: Christopher M. Judd Session Number: 508Saturday, March 5, 2011
  2. 2. Code PaLOUsa 2011 SponsorsSaturday, March 5, 2011
  3. 3. Code PaLOUsa 2011 SponsorsSaturday, March 5, 2011
  4. 4. Christopher M. Judd President/Consultant of leader Columbus Developer User Group (CIDUG)Saturday, March 5, 2011
  5. 5. Remarkable Ohio Free Developed for eTech Ohio and Ohio Historical CenterSaturday, March 5, 2011
  6. 6. University System Of Ohio Free Developed for eTech Ohio and University System Of OhioSaturday, March 5, 2011
  7. 7. Android DevicesSaturday, March 5, 2011
  8. 8. Saturday, March 5, 2011
  9. 9. Input Multi-touch Virtual Keyboard SpeechSaturday, March 5, 2011
  10. 10. Location AwareSaturday, March 5, 2011
  11. 11. Accelerometer/GyroscopeSaturday, March 5, 2011
  12. 12. Camera/VideoSaturday, March 5, 2011
  13. 13. Android Development vs vsSaturday, March 5, 2011
  14. 14. Saturday, March 5, 2011
  15. 15. FREE!!!Saturday, March 5, 2011
  16. 16. Saturday, March 5, 2011
  17. 17. Designer Blocks EditorSaturday, March 5, 2011
  18. 18. Designer Emulator Blocks Editor Project ManagerSaturday, March 5, 2011
  19. 19. Limitations Can not deploy to Limited by Component Palette and Blocks Hard to work as team One ScreenSaturday, March 5, 2011
  20. 20. Android SDKSaturday, March 5, 2011
  21. 21. FREE!!!Saturday, March 5, 2011
  22. 22. OPEN SOURCE!!!Saturday, March 5, 2011
  23. 23. Saturday, March 5, 2011
  24. 24. Eclipse IDESaturday, March 5, 2011
  25. 25. Eclipse IDE Android Development Tool (ADT) Eclipse Plug-inSaturday, March 5, 2011
  26. 26. Eclipse Android SDK IDE Emulator Platforms Samples Android Development Tool (ADT) Eclipse Plug-inSaturday, March 5, 2011
  27. 27. Getting Started 1.Install Java Developer Kit (JDK) 2.Install Eclipse 3.Install SDK 4.Install ADT Eclipse Plug-in 5.Install Android Platform(s) 6.Configure Android Virtual Device http://developer.android.com/sdk/installing.htmlSaturday, March 5, 2011
  28. 28. Name Version Level Cupcake 1.5 3 Donut 1.6 4 Eclair 2.1 7 Froyo 2.2 8 Gingerbread 2.3 9 Android PlatformsSaturday, March 5, 2011
  29. 29. Configure Android Virtual Devices (AVD) <sdk>/tools/android In Eclipse - Windows > Android SDK and AVD ManagerCommon Device Configshttp://mobile.tutsplus.com/tutorials/android/common-android-virtual-device-configurations/Saturday, March 5, 2011
  30. 30. EmulatorSaturday, March 5, 2011
  31. 31. VSSaturday, March 5, 2011
  32. 32. Android Development Tools Java Editor Debugger Perspective Wizards ProfilerSaturday, March 5, 2011
  33. 33. Android ArchitectureSaturday, March 5, 2011
  34. 34. MyWebBrowser ExampleSaturday, March 5, 2011
  35. 35. Saturday, March 5, 2011
  36. 36. 1. Create project 2. Layout screen 3. Write code 4. Run applicationSaturday, March 5, 2011
  37. 37. Create ProjectSaturday, March 5, 2011
  38. 38. Layout Screen res/layout/main.xml <?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="fill_parent" > <LinearLayout android:orientation="horizontal" android:layout_width="fill_parent" android:layout_height="50px" > <EditText android:id="@+id/url" android:layout_height="wrap_content" android:layout_width="wrap_content" /> <Button android:id="@+id/go" android:text="@string/go_button_text" android:layout_width="wrap_content" android:layout_height="wrap_content"/> </LinearLayout> <WebView android:id="@+id/webview" res/values/strings.xml android:layout_width="fill_parent" <?xml version="1.0" encoding="utf-8"?> android:layout_height="fill_parent" <resources> /> <string name="app_name">MyBrowser</string> <string name="go_button_text">Go</string> </LinearLayout> </resources>Saturday, March 5, 2011
  39. 39. Layouts Linear Relative Table Grid Tab ListSaturday, March 5, 2011
  40. 40. Application Codesrc/com/juddsolutions/mybrowser/Main.javapublic class Main extends Activity { private WebView webView; private EditText url; public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); <LinearLayout setContentView(R.layout.main); android:orientation="horizontal" android:layout_width="fill_parent" url = (EditText)findViewById(R.id.url); android:layout_height="50px" Button go = (Button)findViewById(R.id.go); > webView = (WebView)findViewById(R.id.webview); <EditText go.setOnClickListener(new OnClickListener() { android:id="@+id/url" android:layout_height="wrap_content" android:layout_width="wrap_content" /> public void onClick(View v) { <Button webView.getSettings().setJavaScriptEnabled(true); android:id="@+id/go" webView.loadUrl(url.getText().toString()); android:text="@string/go_button_text" } android:layout_width="wrap_content" }); android:layout_height="wrap_content"/> }} </LinearLayout> <WebView android:id="@+id/webview" android:layout_width="fill_parent" android:layout_height="fill_parent" />Saturday, March 5, 2011
  41. 41. Run Application e t tim fi rs In Eclipse - Run > Run multi pl e devic esSaturday, March 5, 2011
  42. 42. Permissions AndroidManifest.xml <?xml version="1.0" encoding="utf-8"?> <manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.juddsolution.mybrowser" android:versionCode="1" android:versionName="1.0"> <application android:icon="@drawable/icon" android:label="@string/app_name"> <activity android:name=".Main" android:label="@string/app_name"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.LAUNCHER" /> </intent-filter> </activity> </application> <uses-sdk android:minSdkVersion="7" /> <uses-permission android:name="android.permission.INTERNET"></uses-permission> </manifest>Saturday, March 5, 2011
  43. 43. Saturday, March 5, 2011
  44. 44. Deployment Options Android Package *.apkSaturday, March 5, 2011
  45. 45. Register http://market.android.com/publish App Details $25/year apk File Screen shots High Res Icon Title 1.Develop/Test Application Description 2.Export/Sign Jar Application Type 3.Upload Application Category Price Website Email Phonehttp://developer.android.com/guide/publishing/publishing.html etc...Saturday, March 5, 2011
  46. 46. Analytics Android Market Place Analytic Companies Downloads Active Installs Errors Comments Uses New Users Device Types Locations EventsSaturday, March 5, 2011
  47. 47. Resources http://developer.android.comSaturday, March 5, 2011
  48. 48. Christopher M. Judd President/Consultant/Author email: cjudd@juddsolutions.com web: www.juddsolutions.com blog: juddsolutions.blogspot.com twitter: javajuddSaturday, March 5, 2011
  1. A particular slide catching your eye?

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

×