Reading sdcard when debugging & connected to Kindle Fire?

arthurya

New Member
Licensed User
Longtime User
I picked up a Kindle Fire, and am using B4A to build an app for it. When I am connected to the device and debugging, the ExternalReadable is False, but when I unplug and run the app on the device without the cable, it is True.

It makes debugging my app a little harder. Is there a setting that I need to update so that the connected device behaves like the disconnected device, especially related to the file storage?

Thanks
Arthur
 

arthurya

New Member
Licensed User
Longtime User
Actually, after I connect the USB cable to the Kindle Fire, I press the "Disconnect" button on the tablet. The PC stops reading the USB drive but still is connected.

My educated guess is that on initial connection the PC opens and locks the Kindle's storage system, so that the app fails to get the appropriate handles. When it is disconnected (but still connected), all seems to work fine.

A
 
Upvote 0
Top