Google map not appear in my device (Android)


#1

Hi all
Google map does not appear in my device (Samsung SIII mini) when I installed the application.
Anyone has any idea how to fix it?
Thanks in advance.

Edit:
I found the error. It seems that the hyperlink to google api need the http in front. So the correct way is:
http://maps.googleapis.com/maps/api/js?sensor=false"
instead of
//maps.googleapis.com/maps/api/js?sensor=false"


#2

if you are using “//”-syntax in the mobile context --> the device will prefix it with “file:”, because your sources are stored on the local device and not on a webserver :), where you have “http:” or “https:”.

So keep in mind “//xxxx” is there to be safe if you want to autoprefix http or https.