“This Androids Life” - Vbug

needlessoybeanMobile - Wireless

Dec 10, 2013 (3 years and 10 months ago)

76 views


var

title =

+
Guid
.NewGuid
().
ToString
();

Ross Scott

03/11/2011

1

Ross Scott

@RossDScott

ross.d.scott@gmail.com


HTML5 / CSS3 /
jQuery


All of the above +
PhoneGap


Java / Eclipse


MonoDroid

Ross Scott

15/02/2011

2

Android architecture


15/02/2011

Ross Scott

3


Step by step tutorial:


MonoDroid


HTML5


jQuery


PhoneGAP


Java



15/02/2011

Ross Scott

4



Semantics


Local Storage


Offline Web Applications


Geolocation


Video camera


Web Sockets


Video / audio


Canvas


Web Workers


CSS3

Ross Scott

15/02/2011

5








Demo




>_


15/02/2011

Ross Scott

6

Requirements for environment:


Java JDK (in addition to the JRE)


Eclipse IDE for Java Developers


Android SDK


ADT
Plugin

for Eclipse





15/02/2011

Ross Scott

7

Tour around eclipse


Activities


Layout


Actions


Intent


Providers

public class
GetJsonSample



extends
ListActivity

<
TextView



android:layout_width
=
"
fill_parent
"


android:layout_height
=
"
wrap_content
"


android:text
=
"@string/hello"


/>

<action
android:name
="
android.intent.action.MAIN
" />

startActivity
(
new Intent(
Intent.
ACTION_INSERT
,


getIntent
().
getData
()));

Content://com.ddd.pocketddd.dbProvider/dddevents/3


public class
BookProvider

extends
ContentProvider

Activities

Layout

Actions

Intent

Providers







Demo




>_




15/02/2011

Ross Scott

8







Demo




>_


Ross Scott

15/02/2011

9


accelerometer.getCurrentAcceleration

accelerometer.watchAcceleration

compass.getCurrentHeading

compass.watchHeading

camera.getPicture

contacts.create

contacts.find

File

FileEntry

FileError

FileReader

FileSystem

notification.alert

notification.confirm

notification.beep

notification.vibrate

openDatabase







Demo




>_




15/02/2011

Ross Scott

10


http://www.oracle.com/technetwork/java/jav
ase/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

15/02/2011

11