Discussion Forums  >  WebViews and HTML for Mobile

Replies: 4    Views: 224

wva
Code is Art
Profile
Posts: 10
Reg: Feb 11, 2013
drunen
500
03/20/14 05:04 AM (8 years ago)

gps passtrough in webview html page

hey guys. i have a wordpress site with a contact page containing a googlemap with gps lookup for mobile users. when i use the phone browser for the contact page it looksup my current position. but inside the app browser (webview) it doesnt do a thing.... any kind of code i can use to passthru my gps for example use the page <a href="http://desuggestie.nl/projecten/dsr_v1008/?page_id=25" target="_blank" rel="nofollow">http://desuggestie.nl/projecten/dsr_v1008/?page_id=25</a> on your mobile android device. in normal browser it wil ask for your location. i need that in my app 2. i already set the gps on, in the core options form the app. this problem occurs with android.
 
wva
Code is Art
Profile
Posts: 10
Reg: Feb 11, 2013
drunen
500
like
03/20/14 05:22 AM (8 years ago)
lol i use to have this problem before. when i was working for another company i had an account here as themc. ill lookup those posts.
 
wva
Code is Art
Profile
Posts: 10
Reg: Feb 11, 2013
drunen
500
like
03/20/14 06:24 AM (8 years ago)
ok i found that inside the bt code webview.getSettings().setGeolocationEnabled(true); should be added an scripted. so in the future peeps can use there geoloc like the normal browser does
 
wva
Code is Art
Profile
Posts: 10
Reg: Feb 11, 2013
drunen
500
like
03/20/14 06:46 AM (8 years ago)
am i the only 1 with this problem? else ill post a solution when i find one so the crew can update there scripts... if somebody found a solution already please post... so i wont have to find out the wheel again
 
Niraj Shah
buzztouch Evangelist
Profile
Posts: 2942
Reg: Jul 11, 2012
Cerritos
37,920
Fourm StarFourm Star
like
03/25/14 02:35 AM (8 years ago)
Did you solve it? What is the complete solution? Thank you
 

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.