Tag Info

Hot answers tagged

61

In Firefox or Chrome on Android it's possible to view source by prefixing the URL in the address bar with "view-source:", i.e. "view-source:http://google.com".


22

Look for an app called View Web Source in the market and install it. Then when browsing, open your menu and tap "share", in the list that pops up choose View Web Source.


13

You should be able to point the browser at the file you want with a URL of the format file:///path/to/file.html. For example, I just did this on my EVO with a file I saved to the root of my SD card as post.html by launching the browser and entering the URL file:///sdcard/post.html. Alternatively, my file manager lets me open an HTML file with "HTML Viewer". ...


5

Another tool that is useful for viewing source AND modifying them live, in Firebug/Web Inspector-like manner, is the weinre remote debugger.


4

If your file is at /mnt/sdcard/test/file.html you can access it through the browser from using: content://com.android.htmlfileprovider/sdcard/test/file.html Note: Your file location should not contain any spaces i.e. /mnt/sdcard/test location/file.html doesn't work, even if the URL replaces it with %20. Additionally, bookmarking the URL helps!


4

If it's not available in the app settings, the functionality most likely simply isn't there. There are other clients you can use if it's important to you. If you want some tips for alternative apps, I suggest you look at The Best Alternative Android Apps to Manage All Your Email, or Google for a similar article.


4

The app mentioned in this answer hasn't been updated since 2009. You might want to try VT View Source.


3

IN chrome, there is remote debugging facility. If you install Chrone on your phone. If you connect your phone through usb to PC,you can view the Javascript modified source on your PC in a Chrome browser. See the end of http://eclipsesource.com/blogs/2012/08/14/debugging-javascript-on-android-and-ios/


3

The storage limitation Extracted from the official documentation provided by the W3C: Web Storage: Editor's Draft 10 July 2012 - disk space: User agents should limit the total amount of space allowed for storage areas. ... A mostly arbitrary limit of five megabytes per origin is recommended. Implementation feedback is welcome and will be used ...


2

Just type file://localhost/ It works in Opera Mobile.


2

Use the touchqode app to see a nice code editor including syntax highlighting, a special keyboard and code recommendation.


2

Sure. First find a text editor that you like, then launch the editor and open the HTML file. Many editors will also show up as an option in the launch menu for HTML files if you open them from a file browser, so you may be able to just find your HTML file in your file browser and select your text editor when you open it. Edit: Per your comments, if you're ...


2

A few people allude to the issue of having spaces in the file name. I will clarify. Android is based on Linux, and therefore uses a posix file system. This means that file names with spaces cause issues. Don't use spaces if you are creating a file or directory; leave them out or use periods (.), dashes (-), or underscores (_). To load an existing file with ...


2

What you're referring to as HTML5 is not that. DOM storage is not a feature of html. So lets address the questions now. Does android natively have good support for fully-functional HTML5 offline apps? There're several versions of android out there and thus each of the stock browsers implement a varying set of the different specifications. One way to ...


1

Once you transfer files to your Nexus 7 use one of these apps to get to the files: Solid Explorer or ES File Explorer explained here: http://forums.androidcentral.com/google-nexus-7-tablet-2012/201344-how-view-files.html NEXT STEP: To View on the html file on your Nexus 7 use the HTML Viewer app. Would love a quicker solution, but this works!


1

As suggested by t0mm13b in his comment on your question, a shortcut on the desktop is the easiest way. This requires you to first open the page with your browser, and create a bookmark for it (you will see later why this step is required). As you stated not to be able to add the shortcut in the usual way, here comes an alternative approach: Some tablets ...


1

I don't know much about Eclipse. But for your goal, it all depends on how the external stylesheets are defined. If they are using full-qualified URLs (e.g. http://www.example.com/example.css), there's no way you get them working offline. If they are using a relative path (easiest: just their file name, residing in the same directory as the HTML file), you ...


1

If you are using a Opera browser type this in your address bar, make sure you erase the http and other stuff, then type: server:source in the address of the page which you opened.


1

If this is for debugging (from your comment it looks like it is) something even better is installing a user agent switcher extension for Firefox or Chrome on your desktop. Change the user agent to Android and you get the mobile version of the site, but with all the source and debugging tools you're used to.


1

you can capture the source to your shell or to a text file if you're using an emulator, which is very handy for development. To do this you'll need to install Android Developer Tools, which comes with adb. Fire up your emulator then from your OS's shell run the command: adb logcat browser:V *:S This will output anything from the browser app on your ...


1

Enhanced Email claims to support outgoing HTML emails.


1

The HTMLViewer mentioned does not like spaces in the file name. Rename the file with underscore or throw them out.


1

On my device (Samsung Galaxy S3 with Jelly Bean 4.1) I could change this by setting the "Size to retrieve emails" to the minimum (2kb here) on the account settings in the email app.


1

I ended up using K-9 Mail. I am relatively certain, that making text encoding the default behaviour for the stock Android Email app is not possible. For this reason and others I am using now K-9 Mail. It has down sides but it solves this problem.


1

I just created a calendar event with a fully qualified URL as the description and it became a live link when I viewed the event. What format are you using for the URL? (For what it's worth, I have an original Droid with Android 2.2.1.)


1

Download the Android App from here - Google Play Store - OpenHTML


1

On my Droid 4 (ICS) from VERIZON I get the browser's address box and type: /mnt/sdcard-ext/my_page/index.html Then set it as a bookmark. I use Chrome, not sure if I can set it as a home page like on my PC. This is on my SD card in a folder with lotsa pix. To hide the pix from cluttering up your gallery, give the directory a period in front of it like ...



Only top voted, non community-wiki answers of a minimum length are eligible