Hi All, I am trying to develop a feature for my Android phone. Basically, I'd like to export some files whenever a sdcard is inserted into the phone.
So, I had a broadcast receiver registered to the system. I override the onReceive (Context, Intent) function such that I can create a file in the SDCard. What I can not figure out is how to create a file with the 'Context' variable passed in from the 'onReceive'. I know I can create a private file with this 'Context' variable but I just don't know how to use this 'Context' to create an external file. I have added the permission for my service in the manifest file already, that is the reason why I have to use my service's Context to create the file. Any one knows how to create an external file stream using the 'Context'? Thanks and have a good one. -Johnny -- 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