Re: [android-developers] Writing file to app folder
Did you make sure that you're mounting the proper thing on Windows? I don't if you mount in Windows, per se, but your device should have a "connect as a media device" option...
Kris
On Tue, Aug 6, 2013 at 1:59 PM, dashman <erjdriver@gmail.com> wrote:
I'm writing a data file to my app folder
/Android/data/<package>/files
and the file is visible from my android phone file explorer app.
But when I use the desktop Windows file explorer - it's not visible.
This is how i'm writing the file out:
File storageFolder = mContext.getExternalFilesDir(null);
java.io.BufferedWriter out = new java.io.BufferedWriter( new java.io.FileWriter( storageFolder.getAbsolutePath() + "/temp.txt") );
As written above - the file is written out - verified.
--
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+unsubscribe@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 unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
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+unsubscribe@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 unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home