[android-developers] Re: WebView loadData limitations

2008-10-16 Thread Rubicks
Log.v("test", "File not found"); } when I debug, I see that in the insert method, " SQLiteDatabase mDb = mDbH.getWritableDatabase();" is failing. (mDbH is null) What could be the problem? If someone has used it, please let me know. Thanks On Oct 16,

[android-developers] Re: WebView loadData limitations

2008-10-15 Thread Rubicks
here? On Oct 16, 1:08 am, Rubicks <[EMAIL PROTECTED]> wrote: > ok.  I have a webview which is used just by my application. Now, how > do I give permission? Is it done in Androidmanifest file? If that is > the case, I have already done that > > > On Oct 16, 12:50 am, Mike R

[android-developers] Re: WebView loadData limitations

2008-10-15 Thread Rubicks
page from the SD   > card. You can write an app with a WebView, and give yourself that   > permission, but the Browser is built explicitly w/o that right for   > security reasons. > > On Oct 15, 2008, at 3:41 PM, Rubicks wrote: > > I am trying to get a html file stored in my sdca

[android-developers] Re: WebView loadData limitations

2008-10-15 Thread Rubicks
I am trying to get a html file stored in my sdcard image on to webview . I am doing something like this myWebView.loadUrl("/sdcard/index.html"); Then I get an error on the webview as "The webpage at file:///sdcard/index.html could not be loaded as: The requested file was not found." But I am su

[android-developers] Re: JavaScript and WebView

2008-10-15 Thread Rubicks
.org > > On Oct 15, 3:04 pm, Rubicks <[EMAIL PROTECTED]> wrote: > > > Here is what I am trying to do. > > I have a Javascript (JS) given to me, which I can not change. > > > > > > > >   var nFindAPITries = 0; > >   var API = null; > >

[android-developers] Re: Question regarding WebView

2008-10-15 Thread Rubicks
I will try that . I wrote my own a very simple server, using sockets. On Oct 15, 4:07 pm, Mark Murphy <[EMAIL PROTECTED]> wrote: > Rubicks wrote: > > Yes, I have a local server running with in the emulator, it is just a > > simple socket, which can handle HTTP requests loc

[android-developers] Re: Question regarding WebView

2008-10-15 Thread Rubicks
Yes, I have a local server running with in the emulator, it is just a simple socket, which can handle HTTP requests locally. On Oct 15, 3:23 pm, Mark Murphy <[EMAIL PROTECTED]> wrote: > Rubicks wrote: > > Mark, very sorry for my impolite post. I should improve on that. &g

[android-developers] Re: JavaScript and WebView

2008-10-15 Thread Rubicks
I plan to have LMSInitialize and LMSFinish functions. Is there a possible solution for this within android? Thanks. On Oct 15, 1:58 pm, Mark Murphy <[EMAIL PROTECTED]> wrote: > Rubicks wrote: > > My activity has a webview . I will be leading some html pages on that > > webvi

[android-developers] Re: Question regarding WebView

2008-10-15 Thread Rubicks
Mark, very sorry for my impolite post. I should improve on that. > 1. Does your project request the INTERNET permission in the > AndroidManifest.xml file? Yes > 2. You have a code comment saying "myMMFString has a simple html string > with a link", yet myMMFString doesn't appear to be assigned

[android-developers] JavaScript and WebView

2008-10-14 Thread Rubicks
My activity has a webview . I will be leading some html pages on that webview which includes some JavaScript functions. I have a need to send some data from webview to my java application based on some user actions using javaScript functions. Is it possible or how can I do it? Thanks for the help

[android-developers] Question regarding WebView

2008-10-14 Thread Rubicks
I had the problem with webview, i.e when I click on a link , it used to take me to a new browser window. I wanted the link to be open on the same window. So I used this code posted somewhere on this forum. But now I have new problem. With this code, I am getting a "SocketException : Broken Pipe".