Skip to content

Instantly share code, notes, and snippets.

@SyncHack
Created March 3, 2012 10:38
Show Gist options
  • Save SyncHack/1965470 to your computer and use it in GitHub Desktop.
Save SyncHack/1965470 to your computer and use it in GitHub Desktop.
String getPseudoStoragePath(){
String storage_path;
if(Build.MODEL.equals("Xoom")){
// XOOM専用w
storage_path = System.getenv("SECONDARY_STORAGE");
}else{
storage_path = System.getenv("EXTERNAL_STORAGE");
}
return storage_path;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment