Features/Start activity from another activity: Difference between revisions

Manuq (talk | contribs)
Manuq (talk | contribs)
No edit summary
Line 145: Line 145:
The main similarities and differences are:
The main similarities and differences are:


* Currently we can only have one action: "Start" that launches an activiy.  Our activities are not made of components.  If that were the case, we could be able to do neat things like "take a photo" from any activity, that would call the correspondent component of Record or other available activity to take a photo from the camera. This is a major change that implies a change in activities, so is out of the scope of this feature.
* Currently we can only have one action: "Start" that launches an activiy.  Our activities are not made of components like Android apps.  If that were the case, we could be able to do neat things like "take a photo" from any activity, that would call the correspondent component of Record or other available activity to take a photo from the camera. This is a major change that implies a change in activities, so is out of the scope of this feature.
 
* 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.


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