For a while now I have been agonizing over the internal/external memory/sdcard issues for which many opinions have been expressed. My application generates text databases of numbers and was wishfully designed to copy those databases back and forth between device and computer which was a critical part of the app. However, it didn’t work the way I had hoped. Occasionally I could copy an external db to the device and find it again but generally not and from the device to the computer even less frequently. After reading some posts that explained ‘external’ really didn’t mean an sdcard to which I thought I had been writing data, in desperation I replaced all references of DirInternal in my code to DirRootExternal so there would be only 1 repository for data. Something worked, for now I can copy the databases back and forth as planned. I tested it on devices with and without sdcards and it seemed to be ok. In essence, all files are opened in and written to DirRootExternal. I will do more testing but does anyone see any problems down the road with this approach or have other suggestions?
Incidentally, I downloaded “Wifi File Transfer” from google play and it makes exploring and copying files between device and computer a snap over a wifi connection. No more usb cable.
Jim S.
Incidentally, I downloaded “Wifi File Transfer” from google play and it makes exploring and copying files between device and computer a snap over a wifi connection. No more usb cable.
Jim S.