[android-developers] Re: Open one html file from sdcard
Just open a browser app and type the file url:
file:///path/to/your/file.html
The path is probably going to be /sdcard/whatever -- however you would
express it in the shell.
Or, from the Android shell:
am start -a android.intent.action.VIEW -t text/html -n
com.android.browser/.BrowserActivity -d file:///path/to/your/file.html
Or, from your desktop shell:
adb shell am start -a android.intent.action.VIEW -t text/html -n
com.android.browser/.BrowserActivity -d file:///mnt/sdcard/file.html
These last two are making assumptions about the builtin browser app.
On Oct 4, 11:06 pm, "cool.manish" <mannishga...@gmail.com> wrote:
> I have push one html page on my sdcard in emulator. how can I see it
> and can run it as we do in the desktop?
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home