open intents and dependencies

13
www.openintents.org [email protected] droidcon.belgium, 2 April 2010 Intents and Dependency Management Friedger Müffke @fmdroid #openintents

Upload: friedger-mueffke

Post on 18-Dec-2014

1.369 views

Category:

Technology


0 download

DESCRIPTION

Overview of intents and the dependency manager project with a list of related open issues of Android.

TRANSCRIPT

Page 1: Open Intents And Dependencies

www.openintents.org [email protected] droidcon.belgium, 2 April 2010

Intents and Dependency Management

Friedger Müffke

@fmdroid#openintents

Page 2: Open Intents And Dependencies

Android Platform

Page 3: Open Intents And Dependencies

Holiday App

Page 4: Open Intents And Dependencies

No monoliths ..

but interconnectedcomponents

All apps are equal!

Page 5: Open Intents And Dependencies

Holiday App (2)

Page 6: Open Intents And Dependencies

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:

Page 7: Open Intents And Dependencies

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!

Page 8: Open Intents And Dependencies

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

Page 9: Open Intents And Dependencies

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.

Page 10: Open Intents And Dependencies

Dependency Manager (3)

Democode contribution by

Jens Finkhäuser

Page 11: Open Intents And Dependencies

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

Page 12: Open Intents And Dependencies

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

Page 13: Open Intents And Dependencies

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