Hi all, I am facing a weird problem now, I have a piece of code which copies the files from assets folder to sdcard/downloads and is working well for me, but when other user is running this code in his system, he is getting " Parent directory does not exist" exception with file.createNewFile(). We both are using the same android SDK. Can anyone suggest what makes it work differently in different systems?
Thanks, Android user. On Sep 17, 12:43 am, tauntz <[email protected]> wrote: > Applications targeted for 1.0, 1.1 and 1.5 will be able to write to > the external storage without any permissions. They will continue to > work just like they have till today. > > http://developer.android.com/sdk/android-1.6.html#api-changes > "WRITE_EXTERNAL_STORAGE: Allows an application to write to external > storage. Applications using API Level 3 and lower will be implicitly > granted this permission (and this will be visible to the user); > Applications using API Level 4 or higher must explicitly request this > permission. " > > Tauno > > On Thu, Sep 17, 2009 at 10:25 AM, Shrenik Vikam > > > > <[email protected]> wrote: > > > WRITE_EXTERNAL_STORAGE is there in 1.6 > > what abt 1.5 ??? > > > On Sep 10, 12:30 am, androiduser mobile <[email protected]> > > wrote: > >> I got it working with a permission change in the manifest file. I > >> added "WRITE_EXTERNAL_STORAGE" and it worked like a gem :)). > > >> On Sep 9, 12:13 pm, Chris Stratton <[email protected]> wrote: > > >> > On Jul 17, 6:24 pm, doubleminus <[email protected]> wrote: > > >> > > Is it a permissions issue? Trying to "touch" thesdcardvia adb shell > >> > > gives me a "permission denied" message... > > >> > FYI there's no "touch" command in the shell or /system/bin and the > >> > shell apparently considers "permission denied" to be a good substitute > >> > for "[command] not found" > > >> > but you can "cat > /sdcard/testfile" and then ^D- Hide quoted text - > > - Show quoted text - --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

