[android-developers] Re: where is my data?
thanks for the fast reply. only thing is: getFilesDir() returns /data/data/de.stephanwiesner and, like i wrote, that dir does not exist (or is not accessible) Furthermore I read in Sams Teach Yourself Android that the data should be in /data/data/package name And, I am sure that it was there last week. I have copied my database file several times to my PC for further processing and can't do that anymore, as I don't find it :-() My phone was never rooted. Stephan On 21 Dez., 10:09, Mark Murphy mmur...@commonsware.com wrote: You cannot access /data from DDMS on most, if not all, non-rooted Android devices. Your application data will be stored wherever getFilesDir() says it will be stored. On Tue, Dec 21, 2010 at 2:50 AM, Stephan Wiesner testexpe...@googlemail.com wrote: Hi, after updateing my Samsung Galaxy i9000 to the latest patch (still running Android 2.1) I can not find the data of my apps anymore. They used to be in /data/data/package name Now there is no such directory anymore. /data is empty. I tried to find it using DDMS in Eclipse and ASTRO app on the phone, but can't find it. Any tipps? Thanks, Stephan -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- Mark Murphy (a Commons Guy)http://commonsware.com|http://github.com/commonsguyhttp://commonsware.com/blog|http://twitter.com/commonsguy _The Busy Coder's Guide to *Advanced* Android Development_ Version 1.9 Available! -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Re: where is my data?
On Tue, Dec 21, 2010 at 4:34 AM, Stephan Wiesner testexpe...@googlemail.com wrote: thanks for the fast reply. only thing is: getFilesDir() returns /data/data/de.stephanwiesner and, like i wrote, that dir does not exist (or is not accessible) It is not accessible from DDMS, nor from ASTRO. It is not supposed to be. And, I am sure that it was there last week. I have copied my database file several times to my PC for further processing and can't do that anymore, as I don't find it :-() My phone was never rooted. Then there was a flaw in the original firmware that has since been corrected. What you are experiencing is the normal state of affairs for Android development -- you can access your app's local files on an emulator, or possibly on rooted phones (not sure about that), but not on regular hardware. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy _The Busy Coder's Guide to *Advanced* Android Development_ Version 1.9 Available! -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Re: where is my data?
Still, you can access that directory through your app. Try writing and reading a file there and it should work fine. On Tue, Dec 21, 2010 at 10:37 AM, Mark Murphy mmur...@commonsware.comwrote: On Tue, Dec 21, 2010 at 4:34 AM, Stephan Wiesner testexpe...@googlemail.com wrote: thanks for the fast reply. only thing is: getFilesDir() returns /data/data/de.stephanwiesner and, like i wrote, that dir does not exist (or is not accessible) It is not accessible from DDMS, nor from ASTRO. It is not supposed to be. And, I am sure that it was there last week. I have copied my database file several times to my PC for further processing and can't do that anymore, as I don't find it :-() My phone was never rooted. Then there was a flaw in the original firmware that has since been corrected. What you are experiencing is the normal state of affairs for Android development -- you can access your app's local files on an emulator, or possibly on rooted phones (not sure about that), but not on regular hardware. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy _The Busy Coder's Guide to *Advanced* Android Development_ Version 1.9 Available! -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.comandroid-developers%2bunsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- YuviDroid Check out Launch-X http://android.yuvalsharon.net/launchx.php (a widget to quickly access your favorite apps and contacts!) http://android.yuvalsharon.net -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Re: where is my data?
Yes, I can read my data. Frankly I just wanted to copy my database via eclipse ddms to my PC for analysis. Guess I will have to mail it or something .-) Thanks, Stephan 2010/12/21 YuviDroid yuvidr...@gmail.com: Still, you can access that directory through your app. Try writing and reading a file there and it should work fine. On Tue, Dec 21, 2010 at 10:37 AM, Mark Murphy mmur...@commonsware.com wrote: On Tue, Dec 21, 2010 at 4:34 AM, Stephan Wiesner testexpe...@googlemail.com wrote: thanks for the fast reply. only thing is: getFilesDir() returns /data/data/de.stephanwiesner and, like i wrote, that dir does not exist (or is not accessible) It is not accessible from DDMS, nor from ASTRO. It is not supposed to be. And, I am sure that it was there last week. I have copied my database file several times to my PC for further processing and can't do that anymore, as I don't find it :-() My phone was never rooted. Then there was a flaw in the original firmware that has since been corrected. What you are experiencing is the normal state of affairs for Android development -- you can access your app's local files on an emulator, or possibly on rooted phones (not sure about that), but not on regular hardware. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy _The Busy Coder's Guide to *Advanced* Android Development_ Version 1.9 Available! -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- YuviDroid Check out Launch-X (a widget to quickly access your favorite apps and contacts!) http://android.yuvalsharon.net -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Re: where is my data?
If you can read it from app, why dont you just copy it to sdcard by writing some lines of codes in your app? Then you can get it to your pc from sdcard. Regards Sarwar Erfan -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Re: where is my data?
ähm, actually, i do not have an (external) SD Card. The phone has 8 GB on its own, so no need for a card. Its actually very interesting to see how many apps don't work without a card .-) Writing to the internal card would be great, though. Did not think of that and I will try that right away. I just wrote a PHP script I can send my data to and that forwards it to, ähm, it works, but might be a little overkill... Stephan 2010/12/21 Sarwar Erfan erfanonl...@gmail.com: If you can read it from app, why dont you just copy it to sdcard by writing some lines of codes in your app? Then you can get it to your pc from sdcard. Regards Sarwar Erfan -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Re: where is my data?
the internal 8GB flash memory is accessible when you connect the device to PC. If you have got what you need, then its already resolved :) Regards Sarwar Erfan -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en