I\'m trying to send intent to browser to open local file. I wish to use default browser to open this file.
if(file.exists()){ Log.d(TAG, \"file.exists\");
You need to add browsable category in the intent.
Intent intent = new Intent(Intent.ACTION_VIEW, Uri.fromFile(file)); intent.addCategory(Intent.CATEGORY_BROWSABLE); startActivity(intent);