Discussion Forums  >  Uncategorized

Replies: 3    Views: 1159

Zoid66
Lost but trying
Profile
Posts: 176
Reg: Oct 26, 2010
USA
1,760
09/18/11 06:20 PM (14 years ago)

webview vs webchromeclient

David... WOW lot's of code changes vs 1.4. I know this is release 1 of 3. But now maybe we can discuss items that old 1.4 was lacking in the 'webview'. Unlike Apple's webview not all the nice Chorme features are in there. Looking at the code looks like you are using webview client vs webChromeClient. Just wondering if the new 1.5 webview is going to handle 'GPS location from websites' / Javascript / . and all the other items like dialing phone numbers from webpages.. In the old 1.4 I was parsing out all the url's. Also in the new code does the file bt_screens_webview take place of the customURL? Thanks buddy, Very excited to help get 1.5 Android stable!!!
 
David @ buzztouch
buzztouch Evangelist
Profile
Posts: 6866
Reg: Jan 01, 2010
Monterey, CA
78,840
like
09/18/11 10:37 PM (14 years ago)
WebChrome Client: Great discussion topic. Phase 2 will be rolling out all the misc. screen types - using the chrome client vs. the webview (generic) makes tons of sense. We should get this worked out before phase 2. Yes, custom URL screens load in screen_webView.java Maye you wanna spear-head the chrome client thing and work out, fix, tweak the screen_webView to the way you think it should go. Thinking you're probabaly more experieced at web-centric issues than us from your previous work with v1.4? I'll for sure reach-out before posting anything for phase 2 to see if you have some improvements. Thanks!!
 
Zoid66
Lost but trying
Profile
Posts: 176
Reg: Oct 26, 2010
USA
1,760
like
09/20/11 07:41 PM (14 years ago)
Okay here is what features I think most people will look for in a webview: Some is there in 1.4.. Putting this list here to keep track. I just wish we didn't have to go all through this for a nice solid webview. No special order. We'll see how it goes. 1 - Webpages to Prompt to allow Access to phones GPS location 2 - Handle tel: numbers when click launch phone 3 - Handle emails when click have launch phones intent 4 - options to add in Android market link 5 - Handle javascript prompts 6 - Playing of 'video' either in webview or in default app. Such as HTML5 / Flash / Youtube 7 - Option to long click images and have options to save them 8 - Address within a webpage can even launch 'google maps' or navigator ect. Add some more items..
 
David @ buzztouch
buzztouch Evangelist
Profile
Posts: 6866
Reg: Jan 01, 2010
Monterey, CA
78,840
like
09/22/11 12:37 AM (14 years ago)
Good stuff! I'll see what I can come up with to get these supported. I totally agree, it makes sense that these NORMAL things would 'just work' !
 

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.