Discussion Forums  >  Uncategorized

Replies: 2    Views: 503

Zoid66
Lost but trying
Profile
Posts: 176
Reg: Oct 26, 2010
USA
1,760
11/15/10 01:01 PM (15 years ago)

Webview Error

This is in regards to webview, I am using a Droid X (not sure if this is going on with all android phones). Issue # 1 (more critical at this point) Issue happens with both custom url or custom html. On the android, when the built in browser comes across an email or a phone number and it is pressed, a dialog box comes up for each. However, if i navigate to that url inside my Application's webview, this no longer is the case. Both of the above results in a page error: Issue # 2 I'm displaying a webpage in a WebView and on the webpage, there is a button. When you click the button, a confirmation dialog is supposed to popup, but it doesn't show in my WebView. It does popup if I go to the same webpage in the android browser.
 
David @ buzztouch
buzztouch Evangelist
Profile
Posts: 6866
Reg: Jan 01, 2010
Monterey, CA
78,840
like
11/15/10 02:05 PM (15 years ago)
Hi. It sounds to me, after seeing your research (thanks for this!) and researching on my end, the Android built in browser handles Javascript differently than the embedded browser used in the buzztouch code. This means the browser used in the buzztouch code will need to be modified to allow the same functionality as the built in browser. I'm not totally sure how to enable this yet. I've been buried in iPhone work and just haven't had time to address it. I know you've been working on it to. So, we'll need to figure out a way to modify the CustomURL class files to allow for more native like javascript support. Figuring this out will fix nearly ALL the questions you've been posting. I'll get to it eventually but you may have it figured out before me!
 
Zoid66
Lost but trying
Profile
Posts: 176
Reg: Oct 26, 2010
USA
1,760
like
11/16/10 08:45 AM (15 years ago)
I did not get to far with this putting code in and getting it to work: I did find a lot of code from the crome android browswer that handles some of this stuff.. I am learning a lot on the Android system but still have not figured out where to put all the parts.. I will have to leave it to the expert you to get this working :) I sure hope you can find time. Thanks in advance.
 

Login + Screen Name Required to Post

pointerLogin to participate so you can start earning points. Once you're logged in (and have a screen name entered in your profile), you can subscribe to topics, follow users, and start learning how to make apps like the pros.