greywolf82
greywolf82

Reputation: 22173

Import a file from Google Drive

I need to import a file selected by the user from Google Drive. I tried to use ACTION_GET_CONTENT but it seems it doesn't work with Google Drive, so I think I can use Google API to list the files with my own Activity, but I didn't find any easy example to do that. Is there an easy way to replace ACTION_GET_CONTENT?

Upvotes: 2

Views: 440

Answers (1)

seanpj
seanpj

Reputation: 6755

In the NEW Google Drive Android API (GDAA), there is a method newOpenFileActivityBuilder(), shown in action here. It may work for you. But implementation may not be quick, since some GDAA learning may be involved first.

Upvotes: 2

Related Questions