• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Apps Read file in appWidget

Hello world! :)

I googled for a long time, but I've found no desision... The problem is:

I have appWidget with the configuration activity where i create an xml file to save user's data. In appWidget I try to open that xml file with openFileInput(), but i got IOException. May be I do something wrong or there're some restrictions on using files in appWidgets?

Thanks in advance!
 

BEST TECH IN 2023

We've been tracking upcoming products and ranking the best tech since 2007. Thanks for trusting our opinion: we get rewarded through affiliate links that earn us a commission and we invite you to learn more about us.

Smartphones