nicolas2k / google-glass-api

Automatically exported from code.google.com/p/google-glass-api
1 stars 0 forks source link

Expose Action.SHARE Intent in GDK #339

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What is the expected output? What do you see instead?

The Share action is available in the Mirror API, it should be available in the 
GDK.

What version of the product are you using? On what operating system?

XE12

Please provide any additional information below.

Share is available as a default menuItems[].action in the Mirror API 
(https://developers.google.com/glass/v1/reference/timeline/insert#menuItems.acti
on). LogCat shows the following activity when you currently Share a timeline 
item or photo on Glass: 

{act=android.intent.action.EDIT 
dat=content://com.google.glass.timeline/timeline/guid 
cmp=com.google.glass.home/com.google.glass.share.ShareActivity (has extras)}

I'd expect to be able to provide a photo URI (file://) and programmatically 
share the item to my contacts or social networks (Google+, Facebook, Twitter) 
on Glass. You would also be able to programmatically override the default text 
(Just shared a photo #throughglass). Having the ability to iterate through & 
select recipients would be a bonus.

Original issue reported on code.google.com by jldavid....@gmail.com on 5 Jan 2014 at 10:01

GoogleCodeExporter commented 8 years ago

Original comment by allev...@google.com on 6 Jan 2014 at 4:16