Changes

Jump to navigation Jump to search
328 bytes added ,  02:42, 18 August 2013
Line 231: Line 231:  
Sugar Network ''Contexts'' can be launched as-is. The launching process is implicit and includes selecting most recent (and appropriate for software contexts) ''Implementation'', downloading bundles from the Sugar Network, execution. All downloaded implementations will be cached [with further garbage collecting] to speedup next launching.
 
Sugar Network ''Contexts'' can be launched as-is. The launching process is implicit and includes selecting most recent (and appropriate for software contexts) ''Implementation'', downloading bundles from the Sugar Network, execution. All downloaded implementations will be cached [with further garbage collecting] to speedup next launching.
   −
Sugar activities (with {{Code|activity}} value in the ''Context.type'' property) will be directly executed after making sure that all [[Sugar_Network/Recipe_Specification#Dependencies|software dependencies]] are installed in the system. Non-software contexts will be opened in the proper application according to its ''Context.mime_types''.
+
Sugar activities (with {{Code|activity}} value in the ''Context.type'' property) will be directly executed after making sure that all [[Sugar_Network/Recipe_Specification#Dependencies|software dependencies]] are installed in the system. Non-software contexts will be opened in the proper application according to its ''Implementation.mime_type''.
   −
  '''GET''' /context/''GUID''?cmd='''launch'''[&args=''ARG''][&activity_id=''ACTIVITY_ID''][&object_id=''OBJECT_ID''][&uri=''URI'']
+
  '''GET''' /context/''GUID''?cmd='''launch'''[&args=''ARG''][&activity_id=''ACTIVITY_ID''][&object_id=''OBJECT_ID''][&uri=''URI''][&context=''CONTEXT'']
   −
Arguments make sense only for Sugar activities:
+
Arguments that make sense only for Sugar activities:
    
* {{Code|ARG}}, command line argument to pass to launched activities, repeat {{Code|ARG}} for each argument;
 
* {{Code|ARG}}, command line argument to pass to launched activities, repeat {{Code|ARG}} for each argument;
Line 241: Line 241:  
* {{Code|OBJECT_ID}}, Journal object id to resume;
 
* {{Code|OBJECT_ID}}, Journal object id to resume;
 
* {{Code|URI}}, URL to resume if activity supports this functionality.
 
* {{Code|URI}}, URL to resume if activity supports this functionality.
 +
 +
Arguments that make sense only for non-software contexts:
 +
 +
* {{Code|CONTEXT}}, specify application ''Context'' to open the launching implementation by; if omitted, the system will try to find most appropriate option, among all existing software contexts, using ''Context.mime_types'' property.
 
<!--
 
<!--
 
=== Access to the Journal ===
 
=== Access to the Journal ===

Navigation menu