Beginning Android Development
Upcoming SlideShare
Loading in...5
×
 

Like this? Share it with your network

Share

Beginning Android Development

on

  • 3,403 views

From http://www.codepalousa.com/

From http://www.codepalousa.com/

Statistics

Views

Total Views
3,403
Views on SlideShare
2,911
Embed Views
492

Actions

Likes
0
Downloads
576
Comments
0

10 Embeds 492

http://magnot.blogspot.com 354
http://jujo00obo2o234ungd3t8qjfcjrs3o6k-a-sites-opensocial.googleusercontent.com 112
https://jujo00obo2o234ungd3t8qjfcjrs3o6k-a-sites-opensocial.googleusercontent.com 14
http://magnot.blogspot.in 3
http://magnot.blogspot.ch 2
http://magnot.blogspot.co.at 2
http://magnot.blogspot.co.il 2
http://www.linkedin.com 1
http://magnot.blogspot.de 1
http://magnot.blogspot.co.uk 1
More...

Accessibility

Categories

Upload Details

Uploaded via as Adobe PDF

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

Beginning Android Development Presentation Transcript

  • 1. Beginning Development Presenter: Christopher M. Judd Session Number: 508Saturday, March 5, 2011
  • 2. Code PaLOUsa 2011 SponsorsSaturday, March 5, 2011
  • 3. Code PaLOUsa 2011 SponsorsSaturday, March 5, 2011
  • 4. Christopher M. Judd President/Consultant of leader Columbus Developer User Group (CIDUG)Saturday, March 5, 2011
  • 5. Remarkable Ohio Free Developed for eTech Ohio and Ohio Historical CenterSaturday, March 5, 2011
  • 6. University System Of Ohio Free Developed for eTech Ohio and University System Of OhioSaturday, March 5, 2011
  • 7. Android DevicesSaturday, March 5, 2011
  • 8. Saturday, March 5, 2011
  • 9. Input Multi-touch Virtual Keyboard SpeechSaturday, March 5, 2011
  • 10. Location AwareSaturday, March 5, 2011
  • 11. Accelerometer/GyroscopeSaturday, March 5, 2011
  • 12. Camera/VideoSaturday, March 5, 2011
  • 13. Android Development vs vsSaturday, March 5, 2011
  • 14. Saturday, March 5, 2011
  • 15. FREE!!!Saturday, March 5, 2011
  • 16. Saturday, March 5, 2011
  • 17. Designer Blocks EditorSaturday, March 5, 2011
  • 18. Designer Emulator Blocks Editor Project ManagerSaturday, March 5, 2011
  • 19. Limitations Can not deploy to Limited by Component Palette and Blocks Hard to work as team One ScreenSaturday, March 5, 2011
  • 20. Android SDKSaturday, March 5, 2011
  • 21. FREE!!!Saturday, March 5, 2011
  • 22. OPEN SOURCE!!!Saturday, March 5, 2011
  • 23. Saturday, March 5, 2011
  • 24. Eclipse IDESaturday, March 5, 2011
  • 25. Eclipse IDE Android Development Tool (ADT) Eclipse Plug-inSaturday, March 5, 2011
  • 26. Eclipse Android SDK IDE Emulator Platforms Samples Android Development Tool (ADT) Eclipse Plug-inSaturday, March 5, 2011
  • 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. 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. 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. EmulatorSaturday, March 5, 2011
  • 31. VSSaturday, March 5, 2011
  • 32. Android Development Tools Java Editor Debugger Perspective Wizards ProfilerSaturday, March 5, 2011
  • 33. Android ArchitectureSaturday, March 5, 2011
  • 34. MyWebBrowser ExampleSaturday, March 5, 2011
  • 35. Saturday, March 5, 2011
  • 36. 1. Create project 2. Layout screen 3. Write code 4. Run applicationSaturday, March 5, 2011
  • 37. Create ProjectSaturday, March 5, 2011
  • 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. Layouts Linear Relative Table Grid Tab ListSaturday, March 5, 2011
  • 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. Run Application e t tim fi rs In Eclipse - Run > Run multi pl e devic esSaturday, March 5, 2011
  • 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. Saturday, March 5, 2011
  • 44. Deployment Options Android Package *.apkSaturday, March 5, 2011
  • 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. Analytics Android Market Place Analytic Companies Downloads Active Installs Errors Comments Uses New Users Device Types Locations EventsSaturday, March 5, 2011
  • 47. Resources http://developer.android.comSaturday, March 5, 2011
  • 48. Christopher M. Judd President/Consultant/Author email: cjudd@juddsolutions.com web: www.juddsolutions.com blog: juddsolutions.blogspot.com twitter: javajuddSaturday, March 5, 2011