1 Reply Latest reply on Aug 18, 2016 1:51 PM by Bill Hecox

    Access removable SD Card on TC8000

    Tony Belisch

      Hi.

       

      I'm trying to write files on a removable SD Card on a TC8000 w/ KitKat.  The folder is getting created, but the files are still stored on the Internal-External partition.  I have tried many different access methods and this one is closest, but still does not work.  Here is my current code:

       

      File sdCardDirectory = getExternalFilesDir("/storage/sdcard1");

      File f = new File(sdCardDirectory, "test7.txt");

       

      This creates a /storage/sdcard1 directory on the external card, but test7.txt is created on the internal sd card.

       

      Can someone point me in the right direction?

       

      Thanks.