Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- try {
- BufferedReader input = new BufferedReader(new FileReader("/sys/block/mmcblk1/device/cid"));
- String sd_cid = input.readLine();
- Log.i(TAG, "cid:");
- Log.i(TAG, sd_cid);
- } catch (Exception e) {
- Log.e(TAG, "Can not read SD-card cid");
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement