Hi !

Since i've added the permissin entry in manifest the problem was solved.
Thanks,
Evgeny
On Sat, Oct 10, 2009 at 9:27 AM, preetam_pict <preetam.pa...@gmail.com>wrote:

>
> hi EvgenyV  /  all
>
> even i am facing the same problem ....
>
> in my case also file.mkdirs( ) is always returning false ! its
> happening since i upgraded to sdk version 1.6 :(
>
> does anyone has any solution for this ?
>
> thanks in advance !
> ~pp
>
>
> On Sep 22, 4:21 pm, EvgenyV <evgen...@gmail.com> wrote:
> > Hi all,
> >
> > I've updated toSDK1.6and created the new AVD andemulatorsdcard
> > image file sucesssfully.
> >
> > I'm using following code to store binary file insdcard:
> > ---------
> >       File file = new File("sdcard/mypackage.folder1");
> >      if(!file.exists() && file.mkdir())
> >    {
> >        file = new File('myfile.bin');
> >        if(!file.exists())
> >         file.createNewFile();
> >    }
> >
> >       FileOutputStream stream = new FileOutputStream('myfile.bin');
> >       objectOut = new ObjectOutputStream(new BufferedOutputStream
> > (stream));
> >       objectOut.writeObject(data);
> > -------------------
> > Exactly the same code is working properly withSDK1.5.
> >
> > For some reason file.mkdir( ) always returns false.
> >
> > Does anybody got suchproblem?
> >
> > Thanks in advance,
> > Evgeny
> >
>

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to