Upload
friedger-mueffke
View
1.367
Download
0
Embed Size (px)
DESCRIPTION
Overview of intents and the dependency manager project with a list of related open issues of Android.
Citation preview
www.openintents.org [email protected] droidcon.belgium, 2 April 2010
Intents and Dependency Management
Friedger Müffke
@fmdroid#openintents
Android Platform
Holiday App
No monoliths ..
but interconnectedcomponents
All apps are equal!
Holiday App (2)
Create new intents
VIEW SHOW
DISPLAY
EXHIBIT
EXPOSE
REVEAL
The Tower of Babel by Pieter Brueghel the Elder (1563)
Every developer can create their own new intents:
Intent registrywww.openintents.org
Browse and findintents, actions, applications, URIs, extras
Promote your ownintents and applications
As of April 2010: >50 registered intents
Reuse components! Don't reinvent the wheel!
Dependency Manager (1)● Intents create dependencies
between components● Standard implementation:
– run-time dependency checklate binding
– nearly constantly connected– Programs handles missing components
e.g. direct user to app store or explain missing feature
Dependency Manager (2)
● Components (that rely on dependent components)– Light-weight, late binding still possible– Helper library– Declaration in Manifest.xml
<meta-data android:name = "org.openintents.dm.dependency-client" android:resource = "@xml/mandatory"/>
● Dependency Manager (resolution helper with UI)– Interface to various sources, e.g. app stores,
personal listings, etc.
Dependency Manager (3)
Democode contribution by
Jens Finkhäuser
Dependency Manager (4)
Participate!
Android is open as are these issues– Issue 4716: Support package dependency
through uses-intent in Manifest– Issue 3217: Support
PackageManager.GET_INTENT_FILTERS– Issue 4159: Market should allow developers to list
extension points for their apps
OpenIntents.org
● Discussion group since 2007● All about open applications and interoperability● Open source● List of Android libraries● Intents registry
● Backed by OpenIntents UG (haftungsbeschränkt)– Closed source apps– Organizer of droidcon
More infoWeb site: www.openintents.orgDeveloper group: http://groups.google.com/group/openintentsCode repository: http://openintents.googlecode.com
droidcon 2010, 26/27 May, BerlinAll information at www.droidcon.deFree barcamp and ConferenceParticipate as speaker, sponsor or attendee