Open Android Apps                                                    Friedger Müffke                                      ...
Android       What is it all about?@fmdroid – Open Android Apps   Droidcon Belgium, 21 January 2011
Android@fmdroid – Open Android Apps   Droidcon Belgium, 21 January 2011
Android@fmdroid – Open Android Apps   Droidcon Belgium, 21 January 2011
Android                               100+ smartphones  © android-hilfe.de@fmdroid – Open Android Apps   Droidcon Belgium,...
Android@fmdroid – Open Android Apps   Droidcon Belgium, 21 January 2011
Android@fmdroid – Open Android Apps   Droidcon Belgium, 21 January 2011
Android@fmdroid – Open Android Apps   Droidcon Belgium, 21 January 2011
Android@fmdroid – Open Android Apps   Droidcon Belgium, 21 January 2011
Intents●   Add „book a table“ to calendar            50 lines of code●   Add „journey schedule“ to shopping list app      ...
Intents   e.g. in Activity   Intent i = new   Intent(„com.opentable.action.RESERVE“);   i.setData(„reserve://opentable.com...
Manifest<?xml version="1.0" encoding="utf-8"?><manifest . . . ><application . . . >   <activity       android:name="org.op...
Open Apps (1)●   Declare intent filters in your Manifest●   Publish your intent filters on               open-android-apps...
Open Apps (2)   In the future         – Mark as inappropriate         – Integration in dependency manager         – Link t...
Participate!●   Visit the Android Open Source Project (AOP)●   OpenIntents repository at Google code●   Android is open as...
More info   Web site:             www.openintents.org   Developer group:   http://groups.google.com/group/openintents   Co...
Upcoming SlideShare
Loading in...5
×

Open android apps - Friedger Müffke, Open Intents - droidcon.be 2011

1,370

Published on

Published in: Technology
0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total Views
1,370
On Slideshare
0
From Embeds
0
Number of Embeds
1
Actions
Shares
0
Downloads
14
Comments
0
Likes
1
Embeds 0
No embeds

No notes for slide

Open android apps - Friedger Müffke, Open Intents - droidcon.be 2011

  1. 1. Open Android Apps Friedger Müffke @fmdroid #openintentswww.openintents.org support@openintents.org Droidcon Belgium 2011, 21 January 2011
  2. 2. Android What is it all about?@fmdroid – Open Android Apps Droidcon Belgium, 21 January 2011
  3. 3. Android@fmdroid – Open Android Apps Droidcon Belgium, 21 January 2011
  4. 4. Android@fmdroid – Open Android Apps Droidcon Belgium, 21 January 2011
  5. 5. Android 100+ smartphones © android-hilfe.de@fmdroid – Open Android Apps Droidcon Belgium, 21 January 2011
  6. 6. Android@fmdroid – Open Android Apps Droidcon Belgium, 21 January 2011
  7. 7. Android@fmdroid – Open Android Apps Droidcon Belgium, 21 January 2011
  8. 8. Android@fmdroid – Open Android Apps Droidcon Belgium, 21 January 2011
  9. 9. Android@fmdroid – Open Android Apps Droidcon Belgium, 21 January 2011
  10. 10. Intents● Add „book a table“ to calendar 50 lines of code● Add „journey schedule“ to shopping list app 5 lines of code● Add „AR browser“ to post office app 1 library + 25 lines of code@fmdroid – Open Android Apps Droidcon Belgium, 21 January 2011
  11. 11. Intents e.g. in Activity Intent i = new Intent(„com.opentable.action.RESERVE“); i.setData(„reserve://opentable.com/45112 ?partySize=3“); this.startActivity(i); this.startActivityForResult(i, RESCODE); this.startService(i); this.bindService(i, con, 0); this.sendBroadcast(i);@fmdroid – Open Android Apps Droidcon Belgium, 21 January 2011
  12. 12. Manifest<?xml version="1.0" encoding="utf-8"?><manifest . . . ><application . . . > <activity android:name="org.openintents.shopping.ShoppingActivity" android:icon="@drawable/small_pic.png" android:label="@string/shopping" . . . > <intent-filter> <action android:name="android.intent.action.VIEW" /> <action android:name="android.intent.action.INSERT" /> <category android:name="android.intent.category.DEFAULT" /> <data android:mimeType = "vnd.android.cursor.dir/vnd.openintents.shopping.item" /> </intent-filter> </activity> <service . . ./> . . . <uses-permisson . . . /> <uses-library . . . /></application></manifest>@fmdroid – Open Android Apps Droidcon Belgium, 21 January 2011
  13. 13. Open Apps (1)● Declare intent filters in your Manifest● Publish your intent filters on open-android-apps.appspot.com● Explore intents and which apps do offer the corresponding functionality@fmdroid – Open Android Apps Droidcon Belgium, 21 January 2011
  14. 14. Open Apps (2) In the future – Mark as inappropriate – Integration in dependency manager – Link to Intents Registry – Eclipse Integration@fmdroid – Open Android Apps Droidcon Belgium, 21 January 2011
  15. 15. Participate!● Visit the Android Open Source Project (AOP)● OpenIntents repository at Google code● Android is open as are these issues – Issue 4716: Support package dependency through uses-intent in Manifest – Issue 3217: Support PackageManager.GET_INTENT_FILTERS● Google Group appfeed@fmdroid – Open Android Apps Droidcon Belgium, 21 January 2011
  16. 16. More info Web site: www.openintents.org Developer group: http://groups.google.com/group/openintents Code repository: http://openintents.googlecode.com@fmdroid – Open Android Apps Droidcon Belgium, 21 January 2011
  1. A particular slide catching your eye?

    Clipping is a handy way to collect important slides you want to go back to later.

×