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\");
Maybe this works:
Intent intent = new Intent(Intent.ACTION_VIEW); intent.setDataAndType(Uri.fromFile(file), "text/html"); startActivity(intent);