Сначала прочитайте файл с SD-карты, а затем проанализируйте этот файл
Шаг-1 Извлеките данные из файла с SD-карты.см. учебное пособие
Шаг 2 Анализ данных.См. Как разобрать строку JSON
Пример кода
try {
File dir = Environment.getExternalStorageDirectory();
File yourFile = new File(dir, "path/to/the/file/inside/the/sdcard.ext");
FileInputStream stream = new FileInputStream(yourFile);
String jString = null;
try {
FileChannel fc = stream.getChannel();
MappedByteBuffer bb = fc.map(FileChannel.MapMode.READ_ONLY, 0, fc.size());
/* Instead of using default, pass in a decoder. */
jString = Charset.defaultCharset().decode(bb).toString();
}
finally {
stream.close();
}
JSONObject jObject = new JSONObject(jString);
} catch (Exception e) {e.printStackTrace();}