1 / 11

“This Android’s life”

“This Android’s life”. var title =. + Guid .NewGuid (). ToString ();. Ross Scott @RossDScott ross.d.scott@gmail.com. Four routes to Android. HTML5 / CSS3 / jQuery All of the above + PhoneGap Java / Eclipse MonoDroid. Android architecture. This session isn’t. Step by step tutorial:

chars
Download Presentation

“This Android’s life”

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. “This Android’s life” var title = + Guid.NewGuid().ToString(); Ross Scott @RossDScott ross.d.scott@gmail.com Ross Scott

  2. Four routes to Android • HTML5 / CSS3 / jQuery • All of the above + PhoneGap • Java / Eclipse • MonoDroid Android architecture Ross Scott

  3. This session isn’t • Step by step tutorial: • MonoDroid • HTML5 • jQuery • PhoneGAP • Java Ross Scott

  4. This session will Ross Scott

  5. HTML5 Features Demo >_ • Semantics • Local Storage • Offline Web Applications • Geolocation • Video camera • Web Sockets • Video / audio • Canvas • Web Workers • CSS3 Ross Scott

  6. Android Architecture • Requirements for environment: • Java JDK (in addition to the JRE) • Eclipse IDE for Java Developers • Android SDK • ADT Plugin for Eclipse Ross Scott

  7. Android Architecture Demo >_ Tour around eclipse • Activities • Layout • Actions • Intent • Providers Activities Layout Actions Intent Providers <TextView android:layout_width="fill_parent" android:layout_height="wrap_content" android:text="@string/hello" /> public class GetJsonSample extends ListActivity Content://com.ddd.pocketddd.dbProvider/dddevents/3 public class BookProvider extends ContentProvider startActivity(new Intent(Intent.ACTION_INSERT, getIntent().getData())); <action android:name="android.intent.action.MAIN" /> Ross Scott

  8. Android Activity Lifecycle Demo >_ onStop onDestroy onCreate onStart Stop Start onResume onPause Ross Scott

  9. PhoneGAP Features accelerometer.getCurrentAcceleration accelerometer.watchAcceleration Demo >_ contacts.create contacts.find camera.getPicture compass.getCurrentHeading compass.watchHeading openDatabase File FileEntry FileError FileReader FileSystem notification.alert notification.confirm notification.beep notification.vibrate Ross Scott

  10. Summary Ross Scott

  11. http://www.oracle.com/technetwork/java/javase/downloads/index.htmlhttp://www.oracle.com/technetwork/java/javase/downloads/index.html • http://www.eclipse.org/downloads/ • http://developer.android.com/sdk/index.html • http://diveintohtml5.org/ • http://www.phonegap.com/ • http://mono-android.net/Tutorials Ross Scott

More Related