Introducing XDA:DevCon – A Conference For Developers By Developers
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
Tip us?
 
saaad56
Old
#1  
Junior Member - OP
Thanks Meter 0
Posts: 10
Join Date: Mar 2010
Question [Q] local htm files

hello guys
if any one can tell me how to open local html files with internet explorer or opera mini in offline mode.
 
GoodDayToDie
Old
#2  
Recognized Developer
Thanks Meter 1372
Posts: 3,578
Join Date: Jan 2011
Location: Seattle
IE doesnt' seem to allow the file:// URI scheme, and (at least on stock ROMs) runs with so little permissions it's unable to see almost any files anyhow. Since you have Opera, you're presumably on a full-unlock custom ROM. You could try specifying the apth the file for Opera (or IE; I've never tried on a custom ROM). Either use file:///path/to/the/file.htm or \path\to\the\file.htm.
Win8/Windows RT Projects:
EnableFlash script
List of desktop apps for hacked RT devices

WP7 projects:
XapHandler, Root Webserver, OEM Marketplace XAPs, Bookmarklets collection (Find On Page), Interop-unlock hacks.
 
saaad56
Old
#3  
Junior Member - OP
Thanks Meter 0
Posts: 10
Join Date: Mar 2010
thank for the reply.but i tried to make that address i.e.169.132......to open an index html file located at root directory but nothing happen.if u give me some detail on this method it would be great.i read some questions at microsoft support but some code written in ms.studio and subsequent compilation could help.my rom is deepshining 7.3 and my phone is hd7
thanks in advance.
 
GoodDayToDie
Old
#4  
Recognized Developer
Thanks Meter 1372
Posts: 3,578
Join Date: Jan 2011
Location: Seattle
Waaaaait, you did what? Nothing in what you wrote looks like what I said you should try. You don't need to run any code, for example. You also shouldn't be entering an IP address, unless you're actually running a webserver on your phone.

If the file is called "index.htm" and is located in the phone's root directory ("\"), then you should have tried either "\index.htm" or "file://index.htm" or "file:///index.htm". These are standard ways to create a local-path URI

You could also try running a webserver, of course. The "Root Webserver" app linked in my signature will run just fine on your ROM. You'll need to make sure that it keeps running in the background (the "NoDehydrate" hack can help here, see my MultiTaskToggle app for an easy way to enable it), then run it, hit the Start button (not Back, as that would exit the webserver), load IE, and then go to 127.0.0.1. You'll need to move or copy the file to the webserver's "Content" folder, then go to 127.0.0.1/Content/index.htm.
Win8/Windows RT Projects:
EnableFlash script
List of desktop apps for hacked RT devices

WP7 projects:
XapHandler, Root Webserver, OEM Marketplace XAPs, Bookmarklets collection (Find On Page), Interop-unlock hacks.
 
saaad56
Old
#5  
Junior Member - OP
Thanks Meter 0
Posts: 10
Join Date: Mar 2010
thanks for the quick reply .i did not make any code but the question at ms.was about ability of applications to open local help files.
i will try the method u mentioned and reply asap.
 
saaad56
Old
#6  
Junior Member - OP
Thanks Meter 0
Posts: 10
Join Date: Mar 2010
i tried all posible paths but always "internal comun.error" in opera .i should give it a try using web server and tell u the result.thanks
 
Post Reply+
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Go to top of page...

XDA PORTAL POSTS

XDA University: Crafting Recovery-Flashable Packages

Those of us who use Linux on a day to day basis don’t think twice about sinking … more

Side-Swiping Multitasking with Kakudo

Recovering iPad users may still remember the multitasking function where you can swipe left or right to … more

Learn to Edit Graphics for your Development Work

The importance of good and appropriate graphics for your development work is undeniable. Be … more