Article What is GPS Gateway?

Last modified: February 09, 2014

What is GPS Gateway & how to use it?


You can simulate Android App running on `Android Mobile Device` by Vutog GPS Simulator through GPS Gateway App. GPS Gateway App is provided by us (Vutog) which communicates to Vutog GPS Simulator and receives the simulated locations over Bluetooth. It mocks the received locations on the Android Mobile Phone and your own developed Android App or any Navigational App starts reading the mocked location. This is extremely useful when you want to test or develop your Android App indoor or want to show a fake route or location to your friend on Facebook or Google Map.

Mocking a location means setting a real time location on your mobile which is not the mobile location at that point of time. That is, if you are in some place of USA, you can tell the phone that you are at some place of India & your phone will show India`s location as your real location.

Communication flow between Vutog GPS Simulator & Android Bluetooth device is shown below

The GPS Gateway App on Android Mobile will look as -

Below is summary of GPS Gateway Android App features -

- Connection to GPS Gateway Server under Vutog GPS Gateway as Bluetooth client
- Mocking location capability based on received NMEA Sentences & RAW locations from Vutog GPS Simulator
- Support of NMEA Sentences parsing
- Support of RAW data in specific format - `lat=xx.xxxxxxxxxxxx, lon=xx.xxxxxxxxxxxx, alt=xx.xxxxxxxxxxxx` parsing
- Display of received sentences on screen

Please download GPS Gateway App from Google Store -



Steps to establish this connection is below -

Step1: Make sure Bluetooth is ON at Android Mobile Device & PC both.
Step2: Pair PC with Android Device as you usually do for a general purpose. Pairing can be initiated from either side PC or Android Mobile Device. You may need to provide the passkey for this pairing.
Step3: Configure the `GPS Gateway Server` from same connection dialog. Under connection dialog, select `Android Device` and `GPS Gateway`. You can choose the required Output Data format from this connection. Selection of `Latitude, Longitude and Alitude` will output the location in the special format of `lat=xx.xxxxxxxx, lon=xx.xxxxxxxx, alt=xx.xxxxxxxx` or selection of `NMEA Sentences` will give output in the format of NMEA sentences.

A screenshot for this configuration is below -


Step4: Press `Start Server` to start the Server now or `Add` to add this server connection to workspace to start later.
Step5: To mock the received locations from Vutog GPS Simulator, you need to enable this setting in your mobile. Mocking a location means setting a real time location on your mobile which is not the mobile location at that point of time. That is, if you are in some place of USA, you can tell the phone that you are at some place of India & your phone will show India`s location as your real location.
Step6: To enable mock location on you android mobile phone, go to Settings->Applications->Development. Check the `Allow mock locations` option.
Step7: Once Mock location is set on Mobile and GPS Gateway Server is started at Vutog GPS Simulator, launch the `GPS Gateway App` on your Mobile Device.
Step8: Press `Connect a Device` button (displayed at bottom left corner) from the GPS Gateway App. If paired, it will immediately connect as Bluetooth client to GPS Gateway Sever running on Vutog GPS Simulator and show the connected status.
Step9: Once connected, it would start getting locations based on selected format immediately as shown in screen below -

NMEA


Latitude, Longitude and Altitude


Please note, you need to start the GPS Simulation from Vutog GPS Simulator under this connection.

Step10: The GPS Gateway parses these locations and set to Mobile. Your own App or other App running on this mobile starts showing these locations as real time locations.

GPS Gateway Installation & System Requirements
Operating System: Minimum Android Os 2.0
Installation: Download GPS Gateway App from Google Store and install it.