android development open file txt and return content
Search all over the internet and could not find a working code.
How can i get content of a txt document and return it.

Suppose i have a txt file in ( src/my.proovi.namespace/data.txt )
And i created a method called refresh_all_data(); where i want the data to be collected and returned.
In the main activity method i just need to get the content as ( String content = refresh_all_data(); ) And thats it. 

Should be easy but just cant find a working answer.
Thank you very much.
android development open file txt and return content
===

Search all over the internet and could not find a working code.
How can i get content of a txt document and return it.

Suppose i have a txt file in ( src/my.proovi.namespace/data.txt )
And i created a method called refresh_all_data(); where i want the data to be collected and returned.
In the main activity method i just need to get the content as ( String content = refresh_all_data(); ) And thats it. 

Should be easy but just cant find a working answer.
Thank you very much.