Click here to Skip to main content
15,886,199 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello everybody,
I want to see how an HTML page with CSS and a picture I m making will look in an android device .I downloaded mozilla,plug ins, applications ,moved all the files to download folder in android but the page just appears empty (showing an empty page icon). In two pcs the page loads normally either locally either from cloud directly.

Thank you

PS I tried many HTML viewers ,editors,apps etc still doesn't work and the page is a simple static page (no javascript or ASP.NET yet)with one HTML,a CSS and a picture in same folder
Posted
Comments
Karthik Devaraj 19-Nov-15 0:01am    
Did u check the below code in your chrome browser???
file:///sdcard/

1) Type as it is
2) open your folder path
3) click the html file
George Tourtsinakis 19-Nov-15 9:31am    
Yup it was something with the root directory and change it manually with the correct path and folders and it worked.Thank you for that

I downloaded html viewer and the default html viewer and they worked.It was an error with the root directory but I fixed it manually and had made the correct path. as Karthik Devaraj said.
 
Share this answer
 
v2
try using WebView on Android, call setData method of WebView to display
 
Share this answer
 
Comments
George Tourtsinakis 19-Nov-15 5:15am    
I ll try that and let you know thank you.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900