Select to view content in your preferred language

Unable to read shape file in Android

3393
0
08-29-2015 09:23 AM
SunilYerra
Deactivated User

I am trying to use ShapefileFeatureTable() to read shape file in android. No matter what path I give, it says, "File Not Found" exception.

      

try {

  ShapefileFeatureTable shpFileFeatTable = new ShapefileFeatureTable("/storage/sdcard/map.shp");

  } catch (FileNotFoundException e) {

  // TODO Auto-generated catch block

  e.printStackTrace();

  } catch(Exception e){

  e.printStackTrace();

  }

Can anyone help me?

Note: I am working on Android Emulator.

Thanks,

Rahul.

0 Kudos
0 Replies