Database, Permission Denied?

madmadhouse

Member
Licensed User
Longtime User
Wondering if anyone can help me that may have had the same problem.

I wrote my program on an xp laptop, it works perfect, even works on the phones when i made the apk...

However, I copied all the relevent files onto my Windows 7 laptop, and it wont read from the database file, it keeps coming up saying permission denied, I have redone the database, renamed it all on the Windows 7 laptop, but it still says the same

B4X:
java.io.FileNotFoundException: /mnt/sdcard/Android/data/b4a.example/files/gk2.db (Permission denied)

there is no such folder
 

madmadhouse

Member
Licensed User
Longtime User
Sorry False alarm, I had not set an SD card size on the emulator! :sign0161:

So if anyone else has this problem.. just double check you have done this
 
Upvote 0
Top