1. Download our Official Android App: Forums for Android!

open .htm file in Chrome

Discussion in 'Android Lounge' started by dougham, Dec 31, 2013.

  1. dougham

    dougham Newbie
    Thread Starter
    Rank:
    None
    Points:
    16
    Posts:
    12
    Joined:
    Aug 29, 2011

    Aug 29, 2011
    12
    2
    16
    i have all my favourite links in a .htm file I have created myself and use in Windows. I can't seem to use it on my Asus Transformer. When I tap the .htm file it opens up the "Complete Action Using" with DB text editor and html viewer. If I long press and open in new tab, Kinsoft Office opens it up, not Chrome.
    Kingsoft Office does not have any defaults so why does it open?
    How can I get Crome to display the page?
     

    Advertisement

  2. Unforgiven

    Unforgiven ...eschew obfuscation...
    Moderator
    Rank:
     #2
    Points:
    4,488
    Posts:
    38,325
    Joined:
    Jun 23, 2010

    Jun 23, 2010
    38,325
    47,588
    4,488
    Male
    Douglas, MA
    I'm not sure myself, but I think you will have a better shot at an answer in the Android Lounge. I moved the thread over for you.:)

    Good luck.
     
  3. lunatic59

    lunatic59 Moderati ergo sum
    Moderator
    Rank:
     #3
    Points:
    4,238
    Posts:
    39,216
    Joined:
    Jun 12, 2010

    Jun 12, 2010
    39,216
    39,915
    4,238
    Male
    IT
    Pennsylvania
    First thing you do is to get ES File explorer if you don't already. Then browse to your .htm file and long press to select. Then select the options menu (three square dots lower right) and choose "open as". Now put a check in the "use as default" box first to make chrome your default app for .htm files. Then scroll to chrome and select. You file should open in chrome now.

    With ES File Explorer, you can also put a shortcut to your file on your home screen, if you want.
     
    Unforgiven likes this.
  4. Thom

    Thom  
    VIP Member
    Rank:
    None
    Points:
    1,618
    Posts:
    12,114
    Joined:
    Feb 16, 2011

    Feb 16, 2011
    12,114
    5,021
    1,618
    Male
    Software Developer
    Keene, NH USA
    For some reason Chrome does not have a local htm/html viewing capability presented in the list. Boat, Opera, Dolphin, and Firefox do.

    HTML viewer is one of the options you listed. Use it.

    ... Thom
     
  5. palmtree5

    palmtree5 Sunny Vacation Supporter!
    Moderator
    Rank:
     #35
    Points:
    633
    Posts:
    4,580
    Joined:
    May 2, 2012

    May 2, 2012
    4,580
    3,498
    633
    Male
    Student
    USA
    Try this:

    Code (Text):
    1. file:///path/to/file.htm
    Use that for a URL and your page should open
     
    Unforgiven likes this.
  6. Thom

    Thom  
    VIP Member
    Rank:
    None
    Points:
    1,618
    Posts:
    12,114
    Joined:
    Feb 16, 2011

    Feb 16, 2011
    12,114
    5,021
    1,618
    Male
    Software Developer
    Keene, NH USA
    palmtree5 likes this.
  7. palmtree5

    palmtree5 Sunny Vacation Supporter!
    Moderator
    Rank:
     #35
    Points:
    633
    Posts:
    4,580
    Joined:
    May 2, 2012

    May 2, 2012
    4,580
    3,498
    633
    Male
    Student
    USA
    Worked fine on my Nexus 7...
     
  8. Thom

    Thom  
    VIP Member
    Rank:
    None
    Points:
    1,618
    Posts:
    12,114
    Joined:
    Feb 16, 2011

    Feb 16, 2011
    12,114
    5,021
    1,618
    Male
    Software Developer
    Keene, NH USA
    palmtree5 likes this.
  9. dougham

    dougham Newbie
    Thread Starter
    Rank:
    None
    Points:
    16
    Posts:
    12
    Joined:
    Aug 29, 2011

    Aug 29, 2011
    12
    2
    16
    Thanks for your answer, lunatic59. Using ES Explorer to attach to Chrome works well. However,when I create a shortcut and tap the shortcut, I'm back to the "Cpltete Action Using" screen, with no Chrome option.
     
  10. dougham

    dougham Newbie
    Thread Starter
    Rank:
    None
    Points:
    16
    Posts:
    12
    Joined:
    Aug 29, 2011

    Aug 29, 2011
    12
    2
    16
    That's OK typing the path in Chrome, or ny browser, but I want a link set up. Can ES Explorer access the home screen? How do I find it in ES Explorer, then I can try attching the shortcut to Chrome.
     

Share This Page

Loading...