Yes, it;s broken on the Galaxy Nexus.  Files simply don't show up even if I 
hit refresh.  Very annoying.



On Thursday, March 15, 2012 3:27:31 PM UTC+8, Mark Carter wrote:
>
> One thing (and it's really annoying) I have noticed on the Galaxy Nexus is 
> that when viewing its files from Windows 7, I am not seeing the latest 
> file/directory structure. I guess this is something related to MTP. I 
> usually end up using AirDroid instead.
>
> Anyway, to the point, so it could be that it seems the directory does not 
> exist, but actually it does.
>
> On Thursday, 15 March 2012 13:28:21 UTC+8, Dusk Jockeys Android Apps wrote:
>>
>> As Kostya said, are you sure that your app/dir directory doesnt 
>> already exist? Because if so you would expect a value of false to be 
>> returned. 
>> Can you first check to see if the directory x exists before running 
>> mkdirs(x)? 
>>
>> On Mar 15, 5:06 am, GJTorikian <[email protected]> wrote: 
>> > I wrote a reply to this, but I guess it was censored. I 
>> > was complaining about manufacturer fragmentation, again. 
>> > 
>> > If I have a directory like this: mnt/sdcard/app/dir 
>> > 
>> > mkdirs("app/dir") fails; mkdirs("app") followed by mkdirs("app/dir") 
>> works. 
>> > This is extremely unusual. 
>> > 
>> > 
>> > 
>> > On Saturday, March 10, 2012 10:53:37 PM UTC+1, Kostya Vasilyev wrote: 
>> > 
>> > >  I just tried this on my Galaxy Nexus with official 4.0.2, and it 
>> > > definitely works, with and without the training slash. 
>> > 
>> > > mkdirs returns false if the directory already exists - are you sure 
>> yours 
>> > > don't? 
>> > 
>> > > Also, does your app have the permission to write to external storage? 
>> > > IIRC, some really older platform versions used to enable this 
>> permission if 
>> > > it wasn't declared. 
>> > 
>> > > -- K 
>> > 
>> > > On 03/10/2012 11:38 PM, GJTorikian wrote: 
>> > 
>> > > It seems that that's entirely the problem. When I try to perform a 
>> > > mkdirs() operation, I get a return of false. 
>> > 
>> > >  So, for the structure of: /mnt/sdcard/myapp/ 
>> > 
>> > >  new File("/mnt/sdcard/myapp/").mkdirs() fails--but again, only for 
>> this 
>> > > device, it seems.- 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

Reply via email to