Solved

google maps in android?

Posted on 2013-01-08
5
354 Views
Last Modified: 2013-01-27
I am trying to have a google map open in a web page that is called in
an android app. The URL will open correctly in a windows browser, but
the call in android produces an error -"page not found".
How can I fix this?
0
Comment
Question by:pillmill
5 Comments
 
LVL 9

Expert Comment

by:tsaico
ID: 38757764
You sure it isn't a windows phone?  lol...
http://mashable.com/2013/01/05/google-maps-windows-phone/

My droid loses it internet connection for some reason from time to time (for the internet app only oddly enough, as all other internet required like email, maps apP etc) and the only way I can get it to work is to turn on airplane mode on, then back off again.
0
 
LVL 12

Expert Comment

by:PCableGuy
ID: 38761365
Hi pillmill,

Is this an App that you are developing, or an App that you installed on your phone?
0
 

Author Comment

by:pillmill
ID: 38761843
Thanks. It's an app I am developing. The URL is a google map.
It will open correctly on a PC, but on Android the URL causes
a "not found" error. The internet connection is good.
0
 
LVL 12

Expert Comment

by:PCableGuy
ID: 38765800
Can you post some code or the URL?

It might not be your code and this is just a guess, but the "not found" error might be occurring because Google Map is detecting a mobile browser and therefore redirects the mobile browser to a resource/URL that does not exist.

The settings in Android Chrome may vary, but on my Android Phone I merely unchecked Mobile View in the Phone Settings and that prevents the redirection.
0
 
LVL 13

Accepted Solution

by:
Molnar István earned 500 total points
ID: 38782253
1. have you added ?
        <uses-permission android:name="android.permission.INTERNET" /> ?
2. have you tested the internet on  your emulator ? if there is no internet on android emulator, you could do the following:
       Window>Preferences>Android>Launch
       Default emulator options: -dns-server 8.8.8.8,8.8.4.4

hope it helps

ps: look at these tutorials:
https://developers.google.com/maps/documentation/android/start
http://www.chupamobile.com/tutorial/details/53/Integrating+Google+Maps+in+Android+App/
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
SIM enable  androde  TAB 3 74
Calendar and Email kept in Andriod 6 43
moto 4g plus memory usage 30 46
migrating my whatsapp from iPhone to an Android phone 8 80
Once again I push the limits of my phone.  An introduction to the Android Google Now Launcher.
A short article about problems I had with the new location API and permissions in Marshmallow
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.
This video demonstrates how to sync Microsoft Exchange Public Folders with smartphones using CodeTwo Exchange Sync and Exchange ActiveSync. To learn more about CodeTwo Exchange Sync and download the free trial, go to: http://www.codetwo.com/excha…

808 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question