Yeah, the file exists and I can read it in my code. However, I want to verify it on my filesystem. The path is /data/data/example.app/ files/4de67f137f7fa92bab63569f565c888 which obviously doesn't exist on Windows. So, I'm assuming that the path is relative to the emulator data root.
I believe I found where the emulator data is stored. There's a file userdata.img, however, I tried opening it with winimage, thinking it was an img file, it was not. Does anyone know how to access the contents of userdata.img? On Jun 22, 5:37 pm, Marco Nelissen <[email protected]> wrote: > On Mon, Jun 22, 2009 at 2:32 PM, junker37 <[email protected]> wrote: > > > I'm wondering where files that are created while running in a > > simulator are stored. > > I'm running the 1.5 simulator on Windows Vista. > > Nitpick: you're running the emulator, not the simulator. > > The real reason I want to find the files is because I am downloading > > > an png file and trying to create a bitmap via: Bitmap bitmap = > > BitmapFactory.decodeFile(iconFile.getAbsolutePath()); > > However, the bitmap is always null. > > I am able to create a bitmap successfully if I have the file as a > > resource. > > Can you access the file otherwise? I.e. can you open and read the file that > exists at iconFile.getAbsolutePath() ? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---

