My question is how could i create a program which could do the below things?

on given information, lets say and address. Then turn that information into a QR code which can be read by an app and launch a GPS map and search the address.

So, if I gave it the information: "Westminster, London SW1A 0AA" it would convert it into a QR code which upon being scanned would open a GPS map and search the address, so minimal interaction has to be done on the phone users part.

有帮助吗?

解决方案

You obviously would just map the url to your qr code. The link below says its unofficial in the US. The geocoder api is metered meaning you only get so many free hits on it a day. Making a QRcode that's api in itself.

http://maps.google.com/maps?saddr=20.344,34.34&daddr=20.5666,45.345

Launching Google Maps Directions via an intent on Android

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top