0

I had written a custom HTML/javascript application and wanted to run it in a android browser on my Redmi Note4.

Firstly I activated javascript in all the browsers (MIUI default browser,chrome,firefox).Then,I tried opening the file directly from the file manager,but it only loaded html but not javascript.

Afterthat ,I pasted the file path

content://com.mi.android.globalFileexplorer.myprovider/external_files/...

in the browser but even in this case only html was recognised but not javascript.However as seen from this forum thread here,this solution has worked on other phones. Is there any way to detect javascript in MIUI10 OS?

1 Answer 1

0

Apparently,the Redminote4 file manager doesn't recognise the link between separate html/css/javascript files(even though it get's perfectly recognised in a desktop environment).

The only option left is to embed all your html/css/javascript code into one large html file(not a good practise!) and open this file directly from the file manager.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .