Do I need runtime permissions to open a local html file created by the app in android -


i trying open created html app

intent intent = new intent(intent.action_view);             intent.setdataandtype(uri.fromfile(htmlfile), "text/html");             intent.setflags(intent.flag_activity_new_task);             startactivity(intent); 

and emulator api 23 says error denied. shall request again permissions?

it cannot open file because need go settings/ apps , set browser permissions open storage..


Comments