DoNotHardCodeSDCard Category: pmd Rule Key: pmd:DoNotHardCodeSDCard Use Environment.getExternalStorageDirectory() instead of "/sdcard".