Read file in appWidget

Discussion in 'Application Development' started by intsurfer, Nov 10, 2010.

  1. intsurfer

    intsurfer Member
    16

    Oct 30, 2010
    9
    1
    16
    Oracle Developer
    Nizhniy Novgorod, Russia
    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!
     

    Advertisement
  2. mohitjaitly

    mohitjaitly Active Member
    15

    Oct 18, 2010
    34
    0
    15
    India
  3. intsurfer

    intsurfer Member
    16

    Oct 30, 2010
    9
    1
    16
    Oracle Developer
    Nizhniy Novgorod, Russia
    Thanks a lot, but I'd decided my problem by using SharedPreferences... Now I look for how to refresh my appwidget after configuration without deleting appwidget.
     

Share This Page

Loading...