Android is not just mobile

2,085 views

Published on

About the likelihood of Android spreading across embedded devices. Given at OverTheAir 2010. #ota10

Published in: Technology
1 Comment
0 Likes
Statistics
Notes
  • Be the first to like this

No Downloads
Views
Total views
2,085
On SlideShare
0
From Embeds
0
Number of Embeds
39
Actions
Shares
0
Downloads
27
Comments
1
Likes
0
Embeds 0
No embeds

No notes for slide

Android is not just mobile

  1. @kevinmcdonagh Android isn't just about phones
  2. W3C standards '95 - HTML4 '96 - XML '2012? - HTML5
  3. New input element's in HTML5: tel, week, search, time, url, datetime-local email, number, datetime range, date, color month,
  4. WebSocket API WebSocket protocol Server-Sent Events Web Storage (localStorage and sessionStorage) Web SQL Database Geolocation Workers Offline hasFeature("XHTML", "5.0")
  5. Source: Isuppli Press release 201 Source: "Future of Embedded Systems Technology". BCC Report G-229R.
  6. ● Set Top boxes ● GPS Units ● Kiosks ● Self-Checkout ● Phones ● Personal Computers ● Medical Equipment
  7. 3,000,000 iPads in 80 Days
  8. 1992 - *7
  9. Dalvik Optimisations ●Byte Code ●One DEX file with shared constant pools ●Dex files are read only & shared within processes ●Alignment and Ordering to suit local system ●Register based
  10. ●Intents ●Intent Receivers
  11. • Broadcast Receivers • Intent Filters listen to Broadcast Intents
  12. Intent Types Activity Action Broadcast Intents
  13. Intent intent = new Intent (......................); startActivity(intent); Intent i = new Intent(); i.setAction("my.package.action"); i.putExtra("number", new Integer( 99 ) ); i.putExtra("text", new String( “foo”) ); startSubActivity(i, ACTIVITY_INVOKE);
  14. Intent intent = new Intent (Intent.ACTION_DIAL, Uri.parse(“tel:93675359”)); startActivity(intent); Intent intent = new Intent (Intent.ACTION_VIEW, Uri.parse(“http://www.droidcon.co.uk”)); startActivity(intent);
  15. <activity android:name=”.HelloWorld” android:label=”@string/app_name”> <intent-flter> <action android:name=”android.intent.action.VIEW”/> <category android:name=”android.intent.category.DEFAULT”/> <category android:name=”android.intent.category.BROWSABLE”/> <data android:scheme=”scheme”/> </intent-flter> </activity> Intent intent = new Intent (Intent.ACTION_VIEW, Uri.parse(“scheme://”)); startActivity(intent);
  16. <activity android:name=”.HelloWorld” android:label=”@string/app_name”> <intent-flter> <action android:name=”android.intent.action.VIEW”/> <category android:name=”android.intent.category.DEFAULT”/> <category android:name=”android.intent.category.BROWSABLE”/> <data android:scheme=”http” android:host=”droidcon.co.uk”/> </intent-flter> </activity> Intent intent = new Intent (Intent.ACTION_VIEW, Uri.parse(“http://www.droidcon.co.uk”)); startActivity(intent);
  17. <receiver android:name=”CameraPressedReceiver”> <intent-flter> <action android:name=”android.intent.action.CAMERA_BUTTON”/> </intent-flter> </receiver> public class CameraPressed extends Broadcast Receiver { @Override public void onReceive(Context context, Intent intent) {
  18. CRUD with HTTP verbs (post/get/put/delete) Simplicity in data sources through a unified interface query() insert() update() delete() getType() onCreate()
  19. Dim Screens Suspend long tasks Warn about I/O Don't poll + <add yours>
  20. Receive message Check scheme Check contents Intercept SMS Pass Extras
  21. Generate suggested todos Suspend resources Change Answering machine Auto responders to email Suspend Services Auto download shows/podcasts
  22. 28th/29th October Largest ever Android Conference! In London! www.droidcon.co.uk
  23. @novoda www.novoda.com @kevinmcdonagh Tel: 07981932411

×