├── LICENSE.txt
├── NTRIPCustom
├── .classpath
├── .project
├── .settings
│ ├── org.eclipse.jdt.core.prefs
│ └── org.eclipse.ltk.core.refactoring.prefs
├── AndroidManifest.xml
├── bin
│ ├── AndroidManifest.xml
│ ├── NTRIPCustom.apk
│ ├── classes.dex
│ ├── classes
│ │ └── com
│ │ │ ├── lefebure
│ │ │ └── ntripclient
│ │ │ │ ├── R$array.class
│ │ │ │ ├── R$attr.class
│ │ │ │ ├── R$id.class
│ │ │ │ ├── R$layout.class
│ │ │ │ ├── R$string.class
│ │ │ │ ├── R$xml.class
│ │ │ │ └── R.class
│ │ │ └── ntriptest
│ │ │ ├── BuildConfig.class
│ │ │ ├── MainActivity$1.class
│ │ │ ├── MainActivity$2.class
│ │ │ ├── MainActivity$3.class
│ │ │ ├── MainActivity$4.class
│ │ │ ├── MainActivity.class
│ │ │ ├── R$array.class
│ │ │ ├── R$attr.class
│ │ │ ├── R$id.class
│ │ │ ├── R$layout.class
│ │ │ ├── R$string.class
│ │ │ ├── R$xml.class
│ │ │ └── R.class
│ ├── jarlist.cache
│ └── resources.ap_
├── gen
│ └── com
│ │ ├── lefebure
│ │ └── ntripclient
│ │ │ └── R.java
│ │ └── ntriptest
│ │ ├── BuildConfig.java
│ │ └── R.java
├── lint.xml
├── project.properties
├── res
│ ├── layout-land
│ │ └── main.xml
│ ├── layout
│ │ └── main.xml
│ ├── values
│ │ ├── arrays.xml
│ │ └── strings.xml
│ └── xml
│ │ └── preferences.xml
└── src
│ └── com
│ └── ntriptest
│ └── MainActivity.java
├── NTRIPLib
├── .classpath
├── .project
├── .settings
│ ├── org.eclipse.jdt.core.prefs
│ └── org.eclipse.ltk.core.refactoring.prefs
├── AndroidManifest.xml
├── bin
│ ├── AndroidManifest.xml
│ ├── classes
│ │ └── com
│ │ │ ├── lefebure
│ │ │ └── ntripclient
│ │ │ │ ├── BuildConfig.class
│ │ │ │ ├── R$array.class
│ │ │ │ ├── R$attr.class
│ │ │ │ ├── R$string.class
│ │ │ │ ├── R$xml.class
│ │ │ │ └── R.class
│ │ │ └── ntrip
│ │ │ ├── NTRIPService$1.class
│ │ │ ├── NTRIPService$2.class
│ │ │ ├── NTRIPService$BTConnectThread.class
│ │ │ ├── NTRIPService$BTConnectedThread.class
│ │ │ ├── NTRIPService$IncomingHandler.class
│ │ │ ├── NTRIPService$NetworkClient.class
│ │ │ ├── NTRIPService.class
│ │ │ ├── NTrip$1.class
│ │ │ ├── NTrip$IncomingHandler.class
│ │ │ └── NTrip.class
│ ├── jarlist.cache
│ └── ntriplib.jar
├── gen
│ └── com
│ │ └── lefebure
│ │ └── ntripclient
│ │ ├── BuildConfig.java
│ │ └── R.java
├── lint.xml
├── project.properties
├── res
│ ├── values
│ │ ├── arrays.xml
│ │ └── strings.xml
│ └── xml
│ │ └── preferences.xml
└── src
│ └── com
│ └── ntrip
│ ├── NTRIPService.java
│ └── NTrip.java
└── README.md
/LICENSE.txt:
--------------------------------------------------------------------------------
1 | The MIT License (MIT)
2 | Copyright © 2013 Instituto Pedro Nunes, http://www.ipn.pt
3 |
4 | Permission is hereby granted, free of charge, to any person obtaining a copy
5 | of this software and associated documentation files (the “Software”), to deal
6 | in the Software without restriction, including without limitation the rights
7 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
8 | copies of the Software, and to permit persons to whom the Software is
9 | furnished to do so, subject to the following conditions:
10 |
11 | The above copyright notice and this permission notice shall be included in
12 | all copies or substantial portions of the Software.
13 |
14 | THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
16 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
17 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
18 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
19 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
20 | THE SOFTWARE.
21 |
--------------------------------------------------------------------------------
/NTRIPCustom/.classpath:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/NTRIPCustom/.project:
--------------------------------------------------------------------------------
1 |
2 |
3 | NTRIPCustom
4 |
5 |
6 |
7 |
8 |
9 | com.android.ide.eclipse.adt.ResourceManagerBuilder
10 |
11 |
12 |
13 |
14 | com.android.ide.eclipse.adt.PreCompilerBuilder
15 |
16 |
17 |
18 |
19 | org.eclipse.jdt.core.javabuilder
20 |
21 |
22 |
23 |
24 | com.android.ide.eclipse.adt.ApkBuilder
25 |
26 |
27 |
28 |
29 |
30 | com.android.ide.eclipse.adt.AndroidNature
31 | org.eclipse.jdt.core.javanature
32 |
33 |
34 |
--------------------------------------------------------------------------------
/NTRIPCustom/.settings/org.eclipse.jdt.core.prefs:
--------------------------------------------------------------------------------
1 | eclipse.preferences.version=1
2 | org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
3 | org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6
4 | org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve
5 | org.eclipse.jdt.core.compiler.compliance=1.6
6 | org.eclipse.jdt.core.compiler.debug.lineNumber=generate
7 | org.eclipse.jdt.core.compiler.debug.localVariable=generate
8 | org.eclipse.jdt.core.compiler.debug.sourceFile=generate
9 | org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
10 | org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
11 | org.eclipse.jdt.core.compiler.source=1.6
12 |
--------------------------------------------------------------------------------
/NTRIPCustom/.settings/org.eclipse.ltk.core.refactoring.prefs:
--------------------------------------------------------------------------------
1 | #Sun Sep 19 23:08:40 CDT 2010
2 | eclipse.preferences.version=1
3 | org.eclipse.ltk.core.refactoring.enable.project.refactoring.history=false
4 |
--------------------------------------------------------------------------------
/NTRIPCustom/AndroidManifest.xml:
--------------------------------------------------------------------------------
1 |
2 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
--------------------------------------------------------------------------------
/NTRIPCustom/bin/AndroidManifest.xml:
--------------------------------------------------------------------------------
1 |
2 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
--------------------------------------------------------------------------------
/NTRIPCustom/bin/NTRIPCustom.apk:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/OneStopTransport/api-ntrip-java-client/1e118aba2a636b7deddfdbf22a2cf3c3a54eaa77/NTRIPCustom/bin/NTRIPCustom.apk
--------------------------------------------------------------------------------
/NTRIPCustom/bin/classes.dex:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/OneStopTransport/api-ntrip-java-client/1e118aba2a636b7deddfdbf22a2cf3c3a54eaa77/NTRIPCustom/bin/classes.dex
--------------------------------------------------------------------------------
/NTRIPCustom/bin/classes/com/lefebure/ntripclient/R$array.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/OneStopTransport/api-ntrip-java-client/1e118aba2a636b7deddfdbf22a2cf3c3a54eaa77/NTRIPCustom/bin/classes/com/lefebure/ntripclient/R$array.class
--------------------------------------------------------------------------------
/NTRIPCustom/bin/classes/com/lefebure/ntripclient/R$attr.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/OneStopTransport/api-ntrip-java-client/1e118aba2a636b7deddfdbf22a2cf3c3a54eaa77/NTRIPCustom/bin/classes/com/lefebure/ntripclient/R$attr.class
--------------------------------------------------------------------------------
/NTRIPCustom/bin/classes/com/lefebure/ntripclient/R$id.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/OneStopTransport/api-ntrip-java-client/1e118aba2a636b7deddfdbf22a2cf3c3a54eaa77/NTRIPCustom/bin/classes/com/lefebure/ntripclient/R$id.class
--------------------------------------------------------------------------------
/NTRIPCustom/bin/classes/com/lefebure/ntripclient/R$layout.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/OneStopTransport/api-ntrip-java-client/1e118aba2a636b7deddfdbf22a2cf3c3a54eaa77/NTRIPCustom/bin/classes/com/lefebure/ntripclient/R$layout.class
--------------------------------------------------------------------------------
/NTRIPCustom/bin/classes/com/lefebure/ntripclient/R$string.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/OneStopTransport/api-ntrip-java-client/1e118aba2a636b7deddfdbf22a2cf3c3a54eaa77/NTRIPCustom/bin/classes/com/lefebure/ntripclient/R$string.class
--------------------------------------------------------------------------------
/NTRIPCustom/bin/classes/com/lefebure/ntripclient/R$xml.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/OneStopTransport/api-ntrip-java-client/1e118aba2a636b7deddfdbf22a2cf3c3a54eaa77/NTRIPCustom/bin/classes/com/lefebure/ntripclient/R$xml.class
--------------------------------------------------------------------------------
/NTRIPCustom/bin/classes/com/lefebure/ntripclient/R.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/OneStopTransport/api-ntrip-java-client/1e118aba2a636b7deddfdbf22a2cf3c3a54eaa77/NTRIPCustom/bin/classes/com/lefebure/ntripclient/R.class
--------------------------------------------------------------------------------
/NTRIPCustom/bin/classes/com/ntriptest/BuildConfig.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/OneStopTransport/api-ntrip-java-client/1e118aba2a636b7deddfdbf22a2cf3c3a54eaa77/NTRIPCustom/bin/classes/com/ntriptest/BuildConfig.class
--------------------------------------------------------------------------------
/NTRIPCustom/bin/classes/com/ntriptest/MainActivity$1.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/OneStopTransport/api-ntrip-java-client/1e118aba2a636b7deddfdbf22a2cf3c3a54eaa77/NTRIPCustom/bin/classes/com/ntriptest/MainActivity$1.class
--------------------------------------------------------------------------------
/NTRIPCustom/bin/classes/com/ntriptest/MainActivity$2.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/OneStopTransport/api-ntrip-java-client/1e118aba2a636b7deddfdbf22a2cf3c3a54eaa77/NTRIPCustom/bin/classes/com/ntriptest/MainActivity$2.class
--------------------------------------------------------------------------------
/NTRIPCustom/bin/classes/com/ntriptest/MainActivity$3.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/OneStopTransport/api-ntrip-java-client/1e118aba2a636b7deddfdbf22a2cf3c3a54eaa77/NTRIPCustom/bin/classes/com/ntriptest/MainActivity$3.class
--------------------------------------------------------------------------------
/NTRIPCustom/bin/classes/com/ntriptest/MainActivity$4.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/OneStopTransport/api-ntrip-java-client/1e118aba2a636b7deddfdbf22a2cf3c3a54eaa77/NTRIPCustom/bin/classes/com/ntriptest/MainActivity$4.class
--------------------------------------------------------------------------------
/NTRIPCustom/bin/classes/com/ntriptest/MainActivity.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/OneStopTransport/api-ntrip-java-client/1e118aba2a636b7deddfdbf22a2cf3c3a54eaa77/NTRIPCustom/bin/classes/com/ntriptest/MainActivity.class
--------------------------------------------------------------------------------
/NTRIPCustom/bin/classes/com/ntriptest/R$array.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/OneStopTransport/api-ntrip-java-client/1e118aba2a636b7deddfdbf22a2cf3c3a54eaa77/NTRIPCustom/bin/classes/com/ntriptest/R$array.class
--------------------------------------------------------------------------------
/NTRIPCustom/bin/classes/com/ntriptest/R$attr.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/OneStopTransport/api-ntrip-java-client/1e118aba2a636b7deddfdbf22a2cf3c3a54eaa77/NTRIPCustom/bin/classes/com/ntriptest/R$attr.class
--------------------------------------------------------------------------------
/NTRIPCustom/bin/classes/com/ntriptest/R$id.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/OneStopTransport/api-ntrip-java-client/1e118aba2a636b7deddfdbf22a2cf3c3a54eaa77/NTRIPCustom/bin/classes/com/ntriptest/R$id.class
--------------------------------------------------------------------------------
/NTRIPCustom/bin/classes/com/ntriptest/R$layout.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/OneStopTransport/api-ntrip-java-client/1e118aba2a636b7deddfdbf22a2cf3c3a54eaa77/NTRIPCustom/bin/classes/com/ntriptest/R$layout.class
--------------------------------------------------------------------------------
/NTRIPCustom/bin/classes/com/ntriptest/R$string.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/OneStopTransport/api-ntrip-java-client/1e118aba2a636b7deddfdbf22a2cf3c3a54eaa77/NTRIPCustom/bin/classes/com/ntriptest/R$string.class
--------------------------------------------------------------------------------
/NTRIPCustom/bin/classes/com/ntriptest/R$xml.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/OneStopTransport/api-ntrip-java-client/1e118aba2a636b7deddfdbf22a2cf3c3a54eaa77/NTRIPCustom/bin/classes/com/ntriptest/R$xml.class
--------------------------------------------------------------------------------
/NTRIPCustom/bin/classes/com/ntriptest/R.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/OneStopTransport/api-ntrip-java-client/1e118aba2a636b7deddfdbf22a2cf3c3a54eaa77/NTRIPCustom/bin/classes/com/ntriptest/R.class
--------------------------------------------------------------------------------
/NTRIPCustom/bin/jarlist.cache:
--------------------------------------------------------------------------------
1 | # cache for current jar dependecy. DO NOT EDIT.
2 | # format is
3 | # Encoding is UTF-8
4 |
--------------------------------------------------------------------------------
/NTRIPCustom/bin/resources.ap_:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/OneStopTransport/api-ntrip-java-client/1e118aba2a636b7deddfdbf22a2cf3c3a54eaa77/NTRIPCustom/bin/resources.ap_
--------------------------------------------------------------------------------
/NTRIPCustom/gen/com/lefebure/ntripclient/R.java:
--------------------------------------------------------------------------------
1 | /* AUTO-GENERATED FILE. DO NOT MODIFY.
2 | *
3 | * This class was automatically generated by the
4 | * aapt tool from the resource data it found. It
5 | * should not be modified by hand.
6 | */
7 |
8 | package com.lefebure.ntripclient;
9 |
10 | public final class R {
11 | public static final class array {
12 | public static final int autoconfig_codes=0x7f040005;
13 | public static final int autoconfig_names=0x7f040004;
14 | public static final int info_codes=0x7f040001;
15 | public static final int info_names=0x7f040000;
16 | public static final int ntriplocation_codes=0x7f040007;
17 | public static final int ntriplocation_names=0x7f040006;
18 | public static final int protocol_codes=0x7f040003;
19 | public static final int protocol_names=0x7f040002;
20 | public static final int savedata_codes=0x7f040009;
21 | public static final int savedata_names=0x7f040008;
22 | }
23 | public static final class attr {
24 | }
25 | public static final class id {
26 | public static final int btnService=0x7f060000;
27 | public static final int svLog=0x7f060001;
28 | public static final int textLog=0x7f060002;
29 | }
30 | public static final class layout {
31 | public static final int main=0x7f020000;
32 | }
33 | public static final class string {
34 | public static final int app_name=0x7f050002;
35 | public static final int app_name_settings=0x7f050003;
36 | public static final int service_label=0x7f050001;
37 | public static final int service_started=0x7f050000;
38 | }
39 | public static final class xml {
40 | public static final int preferences=0x7f030000;
41 | }
42 | }
43 |
--------------------------------------------------------------------------------
/NTRIPCustom/gen/com/ntriptest/BuildConfig.java:
--------------------------------------------------------------------------------
1 | /** Automatically generated file. DO NOT MODIFY */
2 | package com.ntriptest;
3 |
4 | public final class BuildConfig {
5 | public final static boolean DEBUG = true;
6 | }
--------------------------------------------------------------------------------
/NTRIPCustom/gen/com/ntriptest/R.java:
--------------------------------------------------------------------------------
1 | /* AUTO-GENERATED FILE. DO NOT MODIFY.
2 | *
3 | * This class was automatically generated by the
4 | * aapt tool from the resource data it found. It
5 | * should not be modified by hand.
6 | */
7 |
8 | package com.ntriptest;
9 |
10 | public final class R {
11 | public static final class array {
12 | public static final int autoconfig_codes=0x7f040005;
13 | public static final int autoconfig_names=0x7f040004;
14 | public static final int info_codes=0x7f040001;
15 | public static final int info_names=0x7f040000;
16 | public static final int ntriplocation_codes=0x7f040007;
17 | public static final int ntriplocation_names=0x7f040006;
18 | public static final int protocol_codes=0x7f040003;
19 | public static final int protocol_names=0x7f040002;
20 | public static final int savedata_codes=0x7f040009;
21 | public static final int savedata_names=0x7f040008;
22 | }
23 | public static final class attr {
24 | }
25 | public static final class id {
26 | public static final int btnService=0x7f060000;
27 | public static final int svLog=0x7f060001;
28 | public static final int textLog=0x7f060002;
29 | }
30 | public static final class layout {
31 | public static final int main=0x7f020000;
32 | }
33 | public static final class string {
34 | public static final int app_name=0x7f050002;
35 | public static final int app_name_settings=0x7f050003;
36 | public static final int service_label=0x7f050001;
37 | public static final int service_started=0x7f050000;
38 | }
39 | public static final class xml {
40 | public static final int preferences=0x7f030000;
41 | }
42 | }
43 |
--------------------------------------------------------------------------------
/NTRIPCustom/lint.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
--------------------------------------------------------------------------------
/NTRIPCustom/project.properties:
--------------------------------------------------------------------------------
1 | # This file is automatically generated by Android Tools.
2 | # Do not modify this file -- YOUR CHANGES WILL BE ERASED!
3 | #
4 | # This file must be checked in Version Control Systems.
5 | #
6 | # To customize properties used by the Ant build system edit
7 | # "ant.properties", and override values to adapt the script to your
8 | # project structure.
9 | #
10 | # To enable ProGuard to shrink and obfuscate your code, uncomment this (available properties: sdk.dir, user.home):
11 | #proguard.config=${sdk.dir}\tools\proguard\proguard-android.txt:proguard-project.txt
12 |
13 | # Project target.
14 | target=android-10
15 | android.library.reference.1=../NTRIPLib
16 |
--------------------------------------------------------------------------------
/NTRIPCustom/res/layout-land/main.xml:
--------------------------------------------------------------------------------
1 |
2 |
6 |
7 |
14 |
15 |
20 |
21 |
29 |
30 |
31 |
--------------------------------------------------------------------------------
/NTRIPCustom/res/layout/main.xml:
--------------------------------------------------------------------------------
1 |
2 |
7 |
8 |
14 |
15 |
20 |
21 |
29 |
30 |
31 |
32 |
--------------------------------------------------------------------------------
/NTRIPCustom/res/values/arrays.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | - Correction Age
5 | - Elevation (Feet)
6 | - Elevation (Meters)
7 | - Speed (MPH)
8 | - Speed (Km/h)
9 | - Heading
10 | - H-DOP
11 | - V-DOP
12 | - P-DOP
13 | - Nothing
14 |
15 |
16 | - 1
17 | - 2
18 | - 3
19 | - 4
20 | - 5
21 | - 6
22 | - 7
23 | - 8
24 | - 9
25 | - 0
26 |
27 |
28 | - None
29 | - NTRIP v1.0
30 | - Raw TCP/IP
31 |
32 |
33 | - none
34 | - ntripv1
35 | - rawtcpip
36 |
37 |
38 | - No Auto-Config
39 | - NovAtel OEMV
40 | - NovAtel OEMV RTCMv3
41 | - NovAtel OEMV RTCM
42 | - NovAtel OEMV CMR+
43 | - NovAtel OEMV w/Cellular
44 |
45 |
46 | - none
47 | - novateloemv
48 | - novateloemvrtcmv3
49 | - novateloemvrtcm
50 | - novateloemvcmr
51 | - novateloemvcellular
52 |
53 |
54 | - Automatic
55 | - Manual
56 |
57 |
58 | - auto
59 | - manual
60 |
61 |
62 | - None
63 | - NMEA GGA, RMC
64 | - Everything
65 |
66 |
67 | - none
68 | - nmeaggarmc
69 | - allbinary
70 |
71 |
72 |
--------------------------------------------------------------------------------
/NTRIPCustom/res/values/strings.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | NTRIP Test
4 | NTRIP Settings
5 |
6 | NTRIP Service Running
7 | NTRIP Service
8 |
9 |
--------------------------------------------------------------------------------
/NTRIPCustom/res/xml/preferences.xml:
--------------------------------------------------------------------------------
1 |
3 |
6 |
14 |
22 |
26 |
27 |
30 |
31 |
36 |
41 |
48 |
55 |
60 |
61 |
64 |
71 |
76 |
81 |
85 |
89 |
94 |
98 |
105 |
109 |
113 |
118 |
119 |
--------------------------------------------------------------------------------
/NTRIPCustom/src/com/ntriptest/MainActivity.java:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/OneStopTransport/api-ntrip-java-client/1e118aba2a636b7deddfdbf22a2cf3c3a54eaa77/NTRIPCustom/src/com/ntriptest/MainActivity.java
--------------------------------------------------------------------------------
/NTRIPLib/.classpath:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/NTRIPLib/.project:
--------------------------------------------------------------------------------
1 |
2 |
3 | NTRIPLib
4 |
5 |
6 |
7 |
8 |
9 | com.android.ide.eclipse.adt.ResourceManagerBuilder
10 |
11 |
12 |
13 |
14 | com.android.ide.eclipse.adt.PreCompilerBuilder
15 |
16 |
17 |
18 |
19 | org.eclipse.jdt.core.javabuilder
20 |
21 |
22 |
23 |
24 | com.android.ide.eclipse.adt.ApkBuilder
25 |
26 |
27 |
28 |
29 |
30 | com.android.ide.eclipse.adt.AndroidNature
31 | org.eclipse.jdt.core.javanature
32 |
33 |
34 |
--------------------------------------------------------------------------------
/NTRIPLib/.settings/org.eclipse.jdt.core.prefs:
--------------------------------------------------------------------------------
1 | eclipse.preferences.version=1
2 | org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
3 | org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6
4 | org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve
5 | org.eclipse.jdt.core.compiler.compliance=1.6
6 | org.eclipse.jdt.core.compiler.debug.lineNumber=generate
7 | org.eclipse.jdt.core.compiler.debug.localVariable=generate
8 | org.eclipse.jdt.core.compiler.debug.sourceFile=generate
9 | org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
10 | org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
11 | org.eclipse.jdt.core.compiler.source=1.6
12 |
--------------------------------------------------------------------------------
/NTRIPLib/.settings/org.eclipse.ltk.core.refactoring.prefs:
--------------------------------------------------------------------------------
1 | #Sun Sep 19 23:08:40 CDT 2010
2 | eclipse.preferences.version=1
3 | org.eclipse.ltk.core.refactoring.enable.project.refactoring.history=false
4 |
--------------------------------------------------------------------------------
/NTRIPLib/AndroidManifest.xml:
--------------------------------------------------------------------------------
1 |
2 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
--------------------------------------------------------------------------------
/NTRIPLib/bin/AndroidManifest.xml:
--------------------------------------------------------------------------------
1 |
2 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
--------------------------------------------------------------------------------
/NTRIPLib/bin/classes/com/lefebure/ntripclient/BuildConfig.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/OneStopTransport/api-ntrip-java-client/1e118aba2a636b7deddfdbf22a2cf3c3a54eaa77/NTRIPLib/bin/classes/com/lefebure/ntripclient/BuildConfig.class
--------------------------------------------------------------------------------
/NTRIPLib/bin/classes/com/lefebure/ntripclient/R$array.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/OneStopTransport/api-ntrip-java-client/1e118aba2a636b7deddfdbf22a2cf3c3a54eaa77/NTRIPLib/bin/classes/com/lefebure/ntripclient/R$array.class
--------------------------------------------------------------------------------
/NTRIPLib/bin/classes/com/lefebure/ntripclient/R$attr.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/OneStopTransport/api-ntrip-java-client/1e118aba2a636b7deddfdbf22a2cf3c3a54eaa77/NTRIPLib/bin/classes/com/lefebure/ntripclient/R$attr.class
--------------------------------------------------------------------------------
/NTRIPLib/bin/classes/com/lefebure/ntripclient/R$string.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/OneStopTransport/api-ntrip-java-client/1e118aba2a636b7deddfdbf22a2cf3c3a54eaa77/NTRIPLib/bin/classes/com/lefebure/ntripclient/R$string.class
--------------------------------------------------------------------------------
/NTRIPLib/bin/classes/com/lefebure/ntripclient/R$xml.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/OneStopTransport/api-ntrip-java-client/1e118aba2a636b7deddfdbf22a2cf3c3a54eaa77/NTRIPLib/bin/classes/com/lefebure/ntripclient/R$xml.class
--------------------------------------------------------------------------------
/NTRIPLib/bin/classes/com/lefebure/ntripclient/R.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/OneStopTransport/api-ntrip-java-client/1e118aba2a636b7deddfdbf22a2cf3c3a54eaa77/NTRIPLib/bin/classes/com/lefebure/ntripclient/R.class
--------------------------------------------------------------------------------
/NTRIPLib/bin/classes/com/ntrip/NTRIPService$1.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/OneStopTransport/api-ntrip-java-client/1e118aba2a636b7deddfdbf22a2cf3c3a54eaa77/NTRIPLib/bin/classes/com/ntrip/NTRIPService$1.class
--------------------------------------------------------------------------------
/NTRIPLib/bin/classes/com/ntrip/NTRIPService$2.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/OneStopTransport/api-ntrip-java-client/1e118aba2a636b7deddfdbf22a2cf3c3a54eaa77/NTRIPLib/bin/classes/com/ntrip/NTRIPService$2.class
--------------------------------------------------------------------------------
/NTRIPLib/bin/classes/com/ntrip/NTRIPService$BTConnectThread.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/OneStopTransport/api-ntrip-java-client/1e118aba2a636b7deddfdbf22a2cf3c3a54eaa77/NTRIPLib/bin/classes/com/ntrip/NTRIPService$BTConnectThread.class
--------------------------------------------------------------------------------
/NTRIPLib/bin/classes/com/ntrip/NTRIPService$BTConnectedThread.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/OneStopTransport/api-ntrip-java-client/1e118aba2a636b7deddfdbf22a2cf3c3a54eaa77/NTRIPLib/bin/classes/com/ntrip/NTRIPService$BTConnectedThread.class
--------------------------------------------------------------------------------
/NTRIPLib/bin/classes/com/ntrip/NTRIPService$IncomingHandler.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/OneStopTransport/api-ntrip-java-client/1e118aba2a636b7deddfdbf22a2cf3c3a54eaa77/NTRIPLib/bin/classes/com/ntrip/NTRIPService$IncomingHandler.class
--------------------------------------------------------------------------------
/NTRIPLib/bin/classes/com/ntrip/NTRIPService$NetworkClient.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/OneStopTransport/api-ntrip-java-client/1e118aba2a636b7deddfdbf22a2cf3c3a54eaa77/NTRIPLib/bin/classes/com/ntrip/NTRIPService$NetworkClient.class
--------------------------------------------------------------------------------
/NTRIPLib/bin/classes/com/ntrip/NTRIPService.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/OneStopTransport/api-ntrip-java-client/1e118aba2a636b7deddfdbf22a2cf3c3a54eaa77/NTRIPLib/bin/classes/com/ntrip/NTRIPService.class
--------------------------------------------------------------------------------
/NTRIPLib/bin/classes/com/ntrip/NTrip$1.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/OneStopTransport/api-ntrip-java-client/1e118aba2a636b7deddfdbf22a2cf3c3a54eaa77/NTRIPLib/bin/classes/com/ntrip/NTrip$1.class
--------------------------------------------------------------------------------
/NTRIPLib/bin/classes/com/ntrip/NTrip$IncomingHandler.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/OneStopTransport/api-ntrip-java-client/1e118aba2a636b7deddfdbf22a2cf3c3a54eaa77/NTRIPLib/bin/classes/com/ntrip/NTrip$IncomingHandler.class
--------------------------------------------------------------------------------
/NTRIPLib/bin/classes/com/ntrip/NTrip.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/OneStopTransport/api-ntrip-java-client/1e118aba2a636b7deddfdbf22a2cf3c3a54eaa77/NTRIPLib/bin/classes/com/ntrip/NTrip.class
--------------------------------------------------------------------------------
/NTRIPLib/bin/jarlist.cache:
--------------------------------------------------------------------------------
1 | # cache for current jar dependecy. DO NOT EDIT.
2 | # format is
3 | # Encoding is UTF-8
4 |
--------------------------------------------------------------------------------
/NTRIPLib/bin/ntriplib.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/OneStopTransport/api-ntrip-java-client/1e118aba2a636b7deddfdbf22a2cf3c3a54eaa77/NTRIPLib/bin/ntriplib.jar
--------------------------------------------------------------------------------
/NTRIPLib/gen/com/lefebure/ntripclient/BuildConfig.java:
--------------------------------------------------------------------------------
1 | /** Automatically generated file. DO NOT MODIFY */
2 | package com.lefebure.ntripclient;
3 |
4 | public final class BuildConfig {
5 | public final static boolean DEBUG = true;
6 | }
--------------------------------------------------------------------------------
/NTRIPLib/gen/com/lefebure/ntripclient/R.java:
--------------------------------------------------------------------------------
1 | /* AUTO-GENERATED FILE. DO NOT MODIFY.
2 | *
3 | * This class was automatically generated by the
4 | * aapt tool from the resource data it found. It
5 | * should not be modified by hand.
6 | */
7 |
8 | package com.lefebure.ntripclient;
9 |
10 | public final class R {
11 | public static final class array {
12 | public static int autoconfig_codes=0x7f030005;
13 | public static int autoconfig_names=0x7f030004;
14 | public static int info_codes=0x7f030001;
15 | public static int info_names=0x7f030000;
16 | public static int ntriplocation_codes=0x7f030007;
17 | public static int ntriplocation_names=0x7f030006;
18 | public static int protocol_codes=0x7f030003;
19 | public static int protocol_names=0x7f030002;
20 | public static int savedata_codes=0x7f030009;
21 | public static int savedata_names=0x7f030008;
22 | }
23 | public static final class attr {
24 | }
25 | public static final class string {
26 | public static int service_label=0x7f040001;
27 | public static int service_started=0x7f040000;
28 | }
29 | public static final class xml {
30 | public static int preferences=0x7f020000;
31 | }
32 | }
33 |
--------------------------------------------------------------------------------
/NTRIPLib/lint.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
--------------------------------------------------------------------------------
/NTRIPLib/project.properties:
--------------------------------------------------------------------------------
1 | # This file is automatically generated by Android Tools.
2 | # Do not modify this file -- YOUR CHANGES WILL BE ERASED!
3 | #
4 | # This file must be checked in Version Control Systems.
5 | #
6 | # To customize properties used by the Ant build system edit
7 | # "ant.properties", and override values to adapt the script to your
8 | # project structure.
9 | #
10 | # To enable ProGuard to shrink and obfuscate your code, uncomment this (available properties: sdk.dir, user.home):
11 | #proguard.config=${sdk.dir}\tools\proguard\proguard-android.txt:proguard-project.txt
12 |
13 | # Project target.
14 | target=android-10
15 | android.library=true
16 |
--------------------------------------------------------------------------------
/NTRIPLib/res/values/arrays.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | - Correction Age
5 | - Elevation (Feet)
6 | - Elevation (Meters)
7 | - Speed (MPH)
8 | - Speed (Km/h)
9 | - Heading
10 | - H-DOP
11 | - V-DOP
12 | - P-DOP
13 | - Nothing
14 |
15 |
16 | - 1
17 | - 2
18 | - 3
19 | - 4
20 | - 5
21 | - 6
22 | - 7
23 | - 8
24 | - 9
25 | - 0
26 |
27 |
28 | - None
29 | - NTRIP v1.0
30 | - Raw TCP/IP
31 |
32 |
33 | - none
34 | - ntripv1
35 | - rawtcpip
36 |
37 |
38 | - No Auto-Config
39 | - NovAtel OEMV
40 | - NovAtel OEMV RTCMv3
41 | - NovAtel OEMV RTCM
42 | - NovAtel OEMV CMR+
43 | - NovAtel OEMV w/Cellular
44 |
45 |
46 | - none
47 | - novateloemv
48 | - novateloemvrtcmv3
49 | - novateloemvrtcm
50 | - novateloemvcmr
51 | - novateloemvcellular
52 |
53 |
54 | - Automatic
55 | - Manual
56 |
57 |
58 | - auto
59 | - manual
60 |
61 |
62 | - None
63 | - NMEA GGA, RMC
64 | - Everything
65 |
66 |
67 | - none
68 | - nmeaggarmc
69 | - allbinary
70 |
71 |
72 |
--------------------------------------------------------------------------------
/NTRIPLib/res/values/strings.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | NTRIP Service Running
4 | NTRIP Service
5 |
6 |
--------------------------------------------------------------------------------
/NTRIPLib/res/xml/preferences.xml:
--------------------------------------------------------------------------------
1 |
3 |
6 |
14 |
22 |
26 |
27 |
30 |
31 |
36 |
41 |
48 |
55 |
60 |
61 |
64 |
71 |
76 |
81 |
85 |
89 |
94 |
98 |
105 |
109 |
113 |
118 |
119 |
--------------------------------------------------------------------------------
/NTRIPLib/src/com/ntrip/NTRIPService.java:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/OneStopTransport/api-ntrip-java-client/1e118aba2a636b7deddfdbf22a2cf3c3a54eaa77/NTRIPLib/src/com/ntrip/NTRIPService.java
--------------------------------------------------------------------------------
/NTRIPLib/src/com/ntrip/NTrip.java:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/OneStopTransport/api-ntrip-java-client/1e118aba2a636b7deddfdbf22a2cf3c3a54eaa77/NTRIPLib/src/com/ntrip/NTrip.java
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | api-ntrip-java-client
2 | =====================
3 |
4 | Este projecto consiste numa aplicação Android que contém um serviço para acesso a servidores que utilizam o protocolo NTRIP. Este trabalho teve como base código *open source* que pode ser encontrado em lefebure.com.
5 |
6 | Existem três entidades diferentes:
7 |
8 | - Um serviço NTRIP que permite a gestão de uma interface Bluetooth e de uma ligação TCP/IP, com o servidor de NTRIP. Os conteúdos RTCM provenientes da estação de referencia são enviados para uma porta série do GPS diferencial que por sua vez está ligado a uma interface Bluetooth. O código encontra-se na biblioteca NTRIPLib (`NTRIPService.java`) ;
9 | - Uma classe que permite a interface com o serviço acima descrito de um a forma bastante fácil, encontra-se na biblioteca NTRIPLib (`NTrip.java`);
10 | - Uma terceira entidade é uma aplicação exemplo que permite o programador avaliar a forma de utilizar o a serviço NTRIP, encontra-se em `NTRIPCustom`;
11 |
12 | ## Processo de linkagem da biblioteca ##
13 |
14 | As instruções apresentadas aplicam-se ao Eclipse 3.7 com ADT plugin versão 18.0.0 ou superior.
15 |
16 | No Eclipse, importar o projecto da biblioteca:
17 |
18 | > 1. Menu File Import;
19 | > 2. Existing projects into workspace;
20 | > 3. Selecionar o projecto com a biblioteca (NTRIPLib);
21 |
22 | Verificar se o projecto é biblioteca:
23 |
24 | > 1. Selecionar o projecto no Package Explorer;
25 | > 2. Menu Project Properties
26 | > 3. Seleccionar Android
27 | > 4. Verificar que o "Is Library" está seleccionado
28 |
29 | Criar um novo projecto de android (`Menu New > Android project`) com uma actividade.
30 | Utilizar a biblioteca previamente importada:
31 |
32 | > 1. Selecionar o projecto no Package Explorer;
33 | > 2. Menu Project Properties
34 | > 3. Selecionar Android
35 | > 4. Add
36 | > 5. Seleccionar a biblioteca e carregar `ok`
37 | > 6. Carregar `ok`
38 |
39 | ##Instruções de utilização da biblioteca##
40 |
41 | Na actividade, criar uma instância da classe de biblioteca:
42 |
43 | NTrip ntrip = new NTrip(activity) {
44 | @Override
45 | public void UpdateStatus(String fixtype, String info1, String info2) {}
46 |
47 | @Override
48 | public void UpdateLogAppend(String msg) {}
49 |
50 | @Override
51 | public void UpdatePosition(double time, double lat, double lon)
52 | {android.util.Log.d("Debug","Posição actualizada "+time+" "+lat+"º "+lon+"º");}
53 |
54 | @Override
55 | public void onServiceConnected() { }
56 | };
57 |
58 | Definir as opções NTrip:
59 |
60 | ntrip.MACAddress = bluetoothMAC;
61 | ntrip.MOUNTPOINT = mountpoint;
62 | ntrip.SERVERIP = serverIP;
63 | ntrip.SERVERPORT = serverPORT;
64 | ntrip.SendGGAToServer = true;
65 | ntrip.NetworkProtocol = "ntripv1";
66 | ntrip.USERNAME = server_username;
67 | ntrip.PASSWORD = server_pass;
68 |
69 | Arrancar o sistema NTrip:
70 |
71 | `ntrip.Connect();`
72 |
73 | Fechar o sistema NTrip:
74 |
75 | `ntrip.Disconnect();`
76 |
77 |
78 | ##Instruções de utilização do exemplo##
79 |
80 | As instruções apresentadas aplicam-se ao Eclipse 3.7 com ADT plugin versão 18.0.0 ou superior.
81 |
82 | No Eclipse, importar o projecto da biblioteca:
83 | > 1. Menu File Import;
84 | > 2. Existing projects into workspace;
85 | > 3. Seleccionar o projecto com a biblioteca (NTRIPLib);
86 |
87 | No Eclipse, importar o projecto de exemplo:
88 |
89 | > 1. Menu File Import;
90 | > 2. Existing projects into workspace;
91 | > 3. Seleccionar o projecto com o exemplo (NTRIPCustom);
92 |
--------------------------------------------------------------------------------