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

Beginning Android Development

on

  • 3,353 views

From http://www.codepalousa.com/

From http://www.codepalousa.com/

Statistics

Views

Total Views
3,353
Views on SlideShare
2,862
Embed Views
491

Actions

Likes
0
Downloads
576
Comments
0

10 Embeds 491

http://magnot.blogspot.com 354
http://jujo00obo2o234ungd3t8qjfcjrs3o6k-a-sites-opensocial.googleusercontent.com 111
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 Beginning Android Development Presentation Transcript

  • Beginning Development Presenter: Christopher M. Judd Session Number: 508Saturday, March 5, 2011
  • Code PaLOUsa 2011 SponsorsSaturday, March 5, 2011
  • Code PaLOUsa 2011 SponsorsSaturday, March 5, 2011
  • Christopher M. Judd President/Consultant of leader Columbus Developer User Group (CIDUG)Saturday, March 5, 2011
  • Remarkable Ohio Free Developed for eTech Ohio and Ohio Historical CenterSaturday, March 5, 2011
  • University System Of Ohio Free Developed for eTech Ohio and University System Of OhioSaturday, March 5, 2011
  • 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 ManagerSaturday, March 5, 2011
  • Limitations Can not deploy to Limited by Component Palette and Blocks Hard to work as team One ScreenSaturday, March 5, 2011
  • 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, March 5, 2011
  • Eclipse Android SDK IDE Emulator Platforms Samples Android Development Tool (ADT) Eclipse Plug-inSaturday, March 5, 2011
  • 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
  • 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
  • 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
  • EmulatorSaturday, March 5, 2011
  • VSSaturday, March 5, 2011
  • Android Development Tools Java Editor Debugger Perspective Wizards ProfilerSaturday, March 5, 2011
  • Android ArchitectureSaturday, March 5, 2011
  • MyWebBrowser ExampleSaturday, March 5, 2011
  • Saturday, March 5, 2011
  • 1. Create project 2. Layout screen 3. Write code 4. Run applicationSaturday, March 5, 2011
  • Create ProjectSaturday, March 5, 2011
  • 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
  • Layouts Linear Relative Table Grid Tab ListSaturday, March 5, 2011
  • 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
  • Run Application e t tim fi rs In Eclipse - Run > Run multi pl e devic esSaturday, March 5, 2011
  • 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
  • Saturday, March 5, 2011
  • Deployment Options Android Package *.apkSaturday, March 5, 2011
  • 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
  • Analytics Android Market Place Analytic Companies Downloads Active Installs Errors Comments Uses New Users Device Types Locations EventsSaturday, March 5, 2011
  • Resources http://developer.android.comSaturday, March 5, 2011
  • Christopher M. Judd President/Consultant/Author email: cjudd@juddsolutions.com web: www.juddsolutions.com blog: juddsolutions.blogspot.com twitter: javajuddSaturday, March 5, 2011