URLs in SMS
Playing with onX again, and created a rule to reply to SMSs from my children when they send 'where are you?'. The keyword here is "where", and I want to reply with the phone location.
No problems to get the GPS co-ords using the onX js api, and format a reply SMS. However, the raw co-ords are a bit unfriendly... so I also send a google maps url, with the "q" parameter for the co-ords.
eg :
http://maps.google.fr?q=45.1234,5.434
This worked nicely on iPhone (the receptiant just clicks on the link et voila), but on Android, it doesn't see the whole thing as a URL (only up to the ?). The solution? add a / after the server ie:
http://maps.google.fr/?q=45.1234,5.434
Both work on google maps, but only the second integrates nicely with android....
Aucun commentaire:
Enregistrer un commentaire