vinay H wrote: > hi, > I need to open index.html file present in sdcard using the web > browser. Since my development board does not have keypad so i plan to > put many website links into index.html in sdcard and open in web > browser. > How to do this?
Write a content provider to serve up the pages. > Modfying private String homeUrl = "file:///sdcard/index.html"; in > BrowserSettings.java gives error web page could not be loaded. The > requested file file was not found" > > I checked in the net and found this is not allowed due to security > reasons..!!!!. Correct. > This is really not convincing to me, as one use case > could be loading web pages stored offilne in usb or sdmmc. Your use case does not eliminate the security concerns. > Is there any way by modfying Browser/AndroidManifest.xml ?? You cannot modify the AndroidManifest.xml file for the Browser, except perhaps through firmware. Moreover, I do not believe there is a setting to change this behavior, anyway. Third-party Web browsers (e.g., Steel) may or may not have this security restriction. -- Mark Murphy (a Commons Guy) http://commonsware.com _The Busy Coder's Guide to Android Development_ Version 2.0 Published! --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

