googleworkspace / android-samples

Android samples for Google Workspace APIs
Apache License 2.0
635 stars 410 forks source link

Link to file #50

Closed samoilovich closed 8 years ago

samoilovich commented 8 years ago

Hello. I'm Natali. I am implementing interaction with google drive for user. My main goal is to get file link which I can send to other api (my api) to analyse file text. I use this documents https://developers.google.com/drive/android/intro And this demos. of cause https://github.com/googledrive/android-demos

At first I read file content and send text to my api as body of request. Use this example https://github.com/googledrive/android-demos/blob/master/app/src/main/java/com/google/android/gms/drive/sample/demo/RetrieveContentsActivity.java But I have problems with russian text and files with extensions not .txt (.docx as an example).

So can you help in this question? What way is right? Can I get public link to file? How should I download file content in correct way?

Thanks.