I have html/css/js files in my asset directory. In the MAIN activity class
I am redirecting the display of the html files in my asset directory to the
browser application using Intents.

The browser application is not loading the html page, however if I change
the code to use external URL it works fine.

Not Working:

startActivity (new Intent(Intent.ACTION_VIEW,
Uri.parse("file:///android_asset/popup.htm")));

Working:

startActivity (new Intent(Intent.ACTION_VIEW, Uri.parse("
http://www.saisk.com";)));


I am assuming the Intent are not mapped to the 'scheme' in the url (file
versu http). Anyone have other suggestions.


Thank You.

Kumar    _/|\_
www.saisk.com
[email protected]
"making a profound difference with knowledge and creativity..."

--~--~---------~--~----~------------~-------~--~----~
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