Line 1: |
Line 1: |
| <noinclude> | | <noinclude> |
− | [[Category:Feature]] | + | [[Category:FeatureLanded|Start activity from another activity]] |
| </noinclude> | | </noinclude> |
| | | |
Line 19: |
Line 19: |
| | | |
| == Current status == | | == Current status == |
− | * Targeted release: 0.100 | + | * Targeted release: 0.106 |
− | * Last updated: Feb 31, 2014 | + | * Last updated: May, 2015 |
− | * Percentage of completion: 99% | + | * Percentage of completion: 100% |
| | | |
| == Detailed Description == | | == Detailed Description == |
Line 100: |
Line 100: |
| | | |
| == How To Test == | | == How To Test == |
− | | + | * Ensure Image Viewer activity is installed, |
− | Links to GitHub branches here.
| + | * Ensure Browse-157.1 is installed, if not use [http://activities.sugarlabs.org/en-US/sugar/downloads/file/29107/browse-157.1.xo browse-157.1.xo], |
| + | * Start Browse and navigate to the [http://wiki.sugarlabs.org/ Wiki], |
| + | * Move the cursor over an image, such as [[Media:Sugarlabs_mainpage_01.png]], right-click and select ''Save Image As'', wait for the download to complete, |
| + | * Verify that the alert offers ''Open with Image Viewer'', |
| + | * Click on ''Open with Image Viewer'', |
| + | * Verify that the Image Viewer activity is started and the image is shown. |
| | | |
| == User Experience == | | == User Experience == |
Line 145: |
Line 150: |
| 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. |
| + | |
| + | * 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 == |