===== Instructions For GPS Installation =====
The first step is to Install JAVA
$ sudo apt-get install java-common java-package
After that, you should download SDK from google here: [[http:// dl.google.com/android/android-sdk_r22.0.1.-linux.tgz|android]]
Unzip in /home/user ,change “user” for your username
Search the directory "tools" into the directory
Execute "android"
Check and install in the SDK Manager:
*Android 4.2.2
*Android 2.2
*Android 2.3.3
*Intel x16 Emulator Accelerator
If you have Debian AMD64 (64-bits):
$ sudo dpkg --add-architecture i386
$ sudo apt-get update
$ sudo apt-get install libc6:i386
$ sudo apt-get install libstdc++6:i386 libgcc1:i386
$ zlib1g:i386 libncurses5:i386
$ sudo apt-get install libsdl1.2debian:i386
In the cellular, go to configuration and check usb debugging y ubicaciones de prueba y connect the cellular to the computer from usb cable
Next:
cd ..
cd platform-tools
./adb devices
If there is no problem, should appear the device connected.
There is an app in Google Play, “ShareGPS”. Install and go to "settings" in the app, later check "Use USB"
In the console with Debian, go to directory “platform-tools”
./adb tcp:50000 tcp:50000
sudo nc -vvv localhost 50000
**Should appear something like this:
$GPGSV,4,1,16,01,,,,03,45,070,,04,,,,05,,,*4E
$GPGSV,4,2,16,06,27,054,,07,35,320,,08,13,293,,10,18,291,*7A
$GPGSV,4,3,16,11,11,151,,13,73,350,,16,20,036,,19,46,108,*7F
$GPGSV,4,4,16,20,13,185,,23,69,132,,28,12,233,,30,,,*44
[[teaching:ie0117:proyectos:2013:ii:proyecto_gps_-_drivecr|Return to previous page]]