Yes. JavaScript is enabled. Yes, the app works fine in the browser. On Jul 8, 1:51 pm, "Tommy" <[email protected]> wrote: > Have you enabled javascript for the webview? > > > > -----Original Message----- > From: [email protected] > > [mailto:[email protected]] On Behalf Of Mark Murphy > Sent: Thursday, July 08, 2010 4:42 PM > To: [email protected] > Subject: Re: [android-developers] How to overcome Android WebView file size > limit when loading a file > > 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/commonsguyhttp://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 > athttp://groups.google.com/group/android-developers?hl=en- Hide quoted text - > > - Show quoted text -
-- 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

