[android-developers] my application can't work on 2.2 simulator

2010-10-14 Thread cindy
My application which can work on 2.1, but when I use 2.2 simulator, I
got error on create file:
 java.io.IOException Permission denied.

Does anyone has same problem. How to fix it?

Thanks!

Cindy

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


Re: [android-developers] my application can't work on 2.2 simulator

2010-10-14 Thread Kumar Bibek
You have to give your app a permission WRITE_EXTERNAL_STORAGE

Also, you cannot create a file in the root directory of the SD CARD.

On Fri, Oct 15, 2010 at 10:08 AM, cindy ypu01...@yahoo.com wrote:

 My application which can work on 2.1, but when I use 2.2 simulator, I
 got error on create file:
  java.io.IOException Permission denied.

 Does anyone has same problem. How to fix it?

 Thanks!

 Cindy

 --
 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.comandroid-developers%2bunsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en




-- 
Kumar Bibek
http://techdroid.kbeanie.com
http://www.kbeanie.com

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