On Tue, Mar 13, 2012 at 3:25 PM, harshita agrawal <
[email protected]> wrote:

> we pass url to open in new browser like that ..
> Intent in = new Intent (Intent.ACTION_VIEW ,Uri.parse(url));
>                                                    startActivity(in);
>
> Now i have html content(not have url) and want to open in new browser.
> how can i do that.
> plz tell me if u have any solution for it


Browser cannot load file:/// URLs in general.

A URL of file:///android_asset/popup.htm will work OK for an
embedded WebView, though.

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to