Read the local file from assets or raw folder into a string variable
and then use web view to load it in a default web kit browser as shown
below:

String summary = "<html><body>You scored <b>192</b> points.</body></
html>";
 webview.loadData(summary, "text/html", "utf-8");


On Sep 13, 3:47 pm, Monzurul Islam Shamim <monzur...@gmail.com> wrote:
> use 10.0.2.2 to access you local system.
>
> On Tue, Sep 13, 2011 at 4:43 PM, venugopal reddy
> <venugopal.re...@tspl.com>wrote:
>
>
>
>
>
>
>
> > Hi guys please help me below problem
>
> > How can I can open local files in the default Android browser?
> > I mean Just I Want to open one HTML file it is stored in my local
> > system.
>
> > --
> > 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+unsubscr...@googlegroups.com
> > For more options, visit this group at
> >http://groups.google.com/group/android-developers?hl=en

-- 
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+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to