简体   繁体   中英

How can I read .txt file from GoogleDrive in Android?

I want to use .txt file located on my GoogleDrive as a repository for some values. I need to read that file and put the values from inside into an ArrayList (or some kind of list).

I have tried using AsyncTask and URL classes but all get from reading this URL was some html code.

So, does anybody know how to get values from .txt file on GoogleDrive? Thank you!

Disregard what I said earlier, I misread the question.

This this might be what you want to look into.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM