No, I had not enabled javascript. So, I tried that and it now works.
Thanks, so much.
Gary
On Saturday, August 3, 2013 2:52:19 PM UTC-7, Nobu Games wrote:
>
> Just a guess, maybe Google Maps is trying to (incorrectly) redirect to the
> mobile version of the page and cannot find the correct link. Did you also
> enable JavaScript in your WebView?
>
> On Saturday, August 3, 2013 4:40:52 PM UTC-5, Gary Blakely wrote:
>>
>> Consider the following code...
>>
>> LocateBrowser = (WebView)findViewById(R.id.locatebrowser);
>> LocateBrowser.setWebViewClient(new WebViewClient());
>> LocateBrowser.loadUrl("
>> http://maps.google.com/maps?z=17&t=h&q=loc:31.8526,-110.9959");
>>
>> The Google maps page shows in the WebView with a "Loading . . ." activity
>> logo for about a second. The Google's 404 page then shows saying it can't
>> find /Search. I don't know where it gets "/Search".
>>
>> I don't know why it is doing this. If I substitute other URLs such as
>>
>> http://www.deanblakely.com/AndroidNews.aspx
>> or
>> http://www.amazon.com
>>
>> It works fine.
>>
>> Also, if I put the above google maps URL into a browser on my PC it works
>> fine.
>> Also, if I don't implement the WebViewClient (second line) it shows
>> perfectly but in a separate browser window.(I don't want that).
>>
>> What am I doing wrong or what am I forgetting to do?
>> Thanks,
>> Gary
>>
>
--
--
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
---
You received this message because you are subscribed to the Google Groups
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.