Features/Start activity from another activity: Difference between revisions

Manuq (talk | contribs)
No edit summary
Manuq (talk | contribs)
No edit summary
Line 148: Line 148:


* Android Intents use a URI for data, usually a content provider like "content://..".  The current way to reference an object in Sugar is by its ID.  Currently, we can't pass arbitrary data to an activity.
* Android Intents use a URI for data, usually a content provider like "content://..".  The current way to reference an object in Sugar is by its ID.  Currently, we can't pass arbitrary data to an activity.
* In Android, the component to be called can be implied from the data.  We do the same.  Our components are the Sugar bundles.
* In Android, extra data can be passed.  We can't do that in current activities.
* In Android, the mime type can be explicit or implied from the data.  We do the same.


== Release Notes ==
== Release Notes ==