Does it work in the Browser application if you load the files off of the Internet?
Does it work in WebView if you load the files off of the Internet? On Thu, Jul 8, 2010 at 4:36 PM, Bijan <[email protected]> wrote: > It seems there is a size limit when opening up pages using Android's > WebView object. I am opening an HTML file in the 'Assets' folder. I > have used the method myWebView.loadUrl("file://android_assets/ > index.html"). > > It works fine for a test html page but the real HTML I need page calls > a JavaScript file that is over 1MB (dont ask why so big). I get an > error stating that the .js page cannot be loaded. > > I have heard that I could use the openContentURI() method, but the > main page i am opening up is not the problem. The problem lies with a > subsequent included JavaScript file. > > Any idea how I can get this to work ? > > BTW - JavaScript is enabled within the webview. > > -- > 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 > -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy Android App Developer Books: http://commonsware.com/books -- 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

