Activity Starter and Google Drive

401 views
Skip to first unread message
Assigned to taifu...@gmail.com by me

Tuomo Rusila

unread,
Jan 30, 2014, 1:25:22 AM1/30/14
to mitappinv...@googlegroups.com

HI!

 

I have a bit problem. My app's functionality demands, that pictures taken or drawn are stored to Google drive. I have problems to set the proper settings for Activity starter so that this would be possible.

 

I am able to store a text file to Google drive using following settings, but I have not yet been able to store any other kind of files for example .png file.

 

Action: android.intent.action.SEND

ActivityClass: com.google.android.apps.docs.shareitem.UploadSharedItemActivity

ActivityPackage: com.google.android.apps.docs

DataType: text/plain

DataUri:

ExtraKey: android.intent.extra.TEXT

ExtraValue: text to store in a file

ResultName:

 

As activity result I need the stored file's URL in order to save it as a link in fusion table I have created for my app. This I have also managed to get, but only with text files.

 

So Question is: How should I modify the Activity Starter settings in order to store images and videos?

 

Thanks for the help!

 

Tuomo







Taifun

unread,
Jan 30, 2014, 2:22:43 PM1/30/14
to mitappinv...@googlegroups.com
that looks lile a nice and simple solution for texts!
I don't think, that you can do it also with images...
but I can offer my Google Drive interface, which can do it http://puravidaapps.com/drive.php
Taifun
Reply all
Reply to author
Forward
0 new messages