I can't figure out how to do this. Looking around online got me this:

                try {
                           FileOutputStream fos = 
myActivity.openFileOutput("test.png",
Activity.MODE_PRIVATE);
                           bitmap.compress(CompressFormat.PNG, 100, fos);
                           fos.flush();
                           fos.close();
                   } catch (Exception e) {
                           e.printStackTrace();
                }

I get no errors, but I also get nothing written to my SD card. Any
ideas?

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