Skip to content

Commit 594bd04

Browse files
committed
First Time
1 parent 712d346 commit 594bd04

33 files changed

+2239
-0
lines changed

NTRIPLib/.classpath

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<classpath>
3+
<classpathentry kind="con" path="com.android.ide.eclipse.adt.ANDROID_FRAMEWORK"/>
4+
<classpathentry excluding="com/lefebure/ntripclient/BluetoothDevicePreference.java|com/lefebure/ntripclient/EditPreferences.java|com/ntrip/EditPreferences.java|com/ntrip/BluetoothDevicePreference.java" kind="src" path="src"/>
5+
<classpathentry kind="src" path="gen"/>
6+
<classpathentry exported="true" kind="con" path="com.android.ide.eclipse.adt.LIBRARIES"/>
7+
<classpathentry kind="output" path="bin/classes"/>
8+
</classpath>

NTRIPLib/.project

+33
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<projectDescription>
3+
<name>NTRIPLib</name>
4+
<comment></comment>
5+
<projects>
6+
</projects>
7+
<buildSpec>
8+
<buildCommand>
9+
<name>com.android.ide.eclipse.adt.ResourceManagerBuilder</name>
10+
<arguments>
11+
</arguments>
12+
</buildCommand>
13+
<buildCommand>
14+
<name>com.android.ide.eclipse.adt.PreCompilerBuilder</name>
15+
<arguments>
16+
</arguments>
17+
</buildCommand>
18+
<buildCommand>
19+
<name>org.eclipse.jdt.core.javabuilder</name>
20+
<arguments>
21+
</arguments>
22+
</buildCommand>
23+
<buildCommand>
24+
<name>com.android.ide.eclipse.adt.ApkBuilder</name>
25+
<arguments>
26+
</arguments>
27+
</buildCommand>
28+
</buildSpec>
29+
<natures>
30+
<nature>com.android.ide.eclipse.adt.AndroidNature</nature>
31+
<nature>org.eclipse.jdt.core.javanature</nature>
32+
</natures>
33+
</projectDescription>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
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
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
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

NTRIPLib/AndroidManifest.xml

+15
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
3+
package="com.lefebure.ntripclient"
4+
android:versionCode="20120718"
5+
android:versionName="2012.07.18"
6+
android:installLocation="auto">
7+
8+
<uses-permission android:name="android.permission.INTERNET" />
9+
<uses-permission android:name="android.permission.BLUETOOTH" />
10+
<uses-permission android:name="android.permission.BLUETOOTH_ADMIN" />
11+
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
12+
13+
<uses-sdk android:minSdkVersion="8" android:targetSdkVersion="8" />
14+
15+
</manifest>

NTRIPLib/bin/AndroidManifest.xml

+15
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
3+
package="com.lefebure.ntripclient"
4+
android:versionCode="20120718"
5+
android:versionName="2012.07.18"
6+
android:installLocation="auto">
7+
8+
<uses-permission android:name="android.permission.INTERNET" />
9+
<uses-permission android:name="android.permission.BLUETOOTH" />
10+
<uses-permission android:name="android.permission.BLUETOOTH_ADMIN" />
11+
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
12+
13+
<uses-sdk android:minSdkVersion="8" android:targetSdkVersion="8" />
14+
15+
</manifest>
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
576 Bytes
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
1.43 KB
Binary file not shown.
Binary file not shown.
4.82 KB
Binary file not shown.

NTRIPLib/bin/jarlist.cache

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# cache for current jar dependecy. DO NOT EDIT.
2+
# format is <lastModified> <length> <SHA-1> <path>
3+
# Encoding is UTF-8

NTRIPLib/bin/ntriplib.jar

29.8 KB
Binary file not shown.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
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+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
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+
}

NTRIPLib/lint.xml

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<lint>
3+
</lint>

NTRIPLib/project.properties

+15
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
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

NTRIPLib/res/values/arrays.xml

+71
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,71 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<resources>
3+
<string-array name="info_names">
4+
<item>Correction Age</item>
5+
<item>Elevation (Feet)</item>
6+
<item>Elevation (Meters)</item>
7+
<item>Speed (MPH)</item>
8+
<item>Speed (Km/h)</item>
9+
<item>Heading</item>
10+
<item>H-DOP</item>
11+
<item>V-DOP</item>
12+
<item>P-DOP</item>
13+
<item>Nothing</item>
14+
</string-array>
15+
<string-array name="info_codes">
16+
<item>1</item>
17+
<item>2</item>
18+
<item>3</item>
19+
<item>4</item>
20+
<item>5</item>
21+
<item>6</item>
22+
<item>7</item>
23+
<item>8</item>
24+
<item>9</item>
25+
<item>0</item>
26+
</string-array>
27+
<string-array name="protocol_names">
28+
<item>None</item>
29+
<item>NTRIP v1.0</item>
30+
<item>Raw TCP/IP</item>
31+
</string-array>
32+
<string-array name="protocol_codes">
33+
<item>none</item>
34+
<item>ntripv1</item>
35+
<item>rawtcpip</item>
36+
</string-array>
37+
<string-array name="autoconfig_names">
38+
<item>No Auto-Config</item>
39+
<item>NovAtel OEMV</item>
40+
<item>NovAtel OEMV RTCMv3</item>
41+
<item>NovAtel OEMV RTCM</item>
42+
<item>NovAtel OEMV CMR+</item>
43+
<item>NovAtel OEMV w/Cellular</item>
44+
</string-array>
45+
<string-array name="autoconfig_codes">
46+
<item>none</item>
47+
<item>novateloemv</item>
48+
<item>novateloemvrtcmv3</item>
49+
<item>novateloemvrtcm</item>
50+
<item>novateloemvcmr</item>
51+
<item>novateloemvcellular</item>
52+
</string-array>
53+
<string-array name="ntriplocation_names">
54+
<item>Automatic</item>
55+
<item>Manual</item>
56+
</string-array>
57+
<string-array name="ntriplocation_codes">
58+
<item>auto</item>
59+
<item>manual</item>
60+
</string-array>
61+
<string-array name="savedata_names">
62+
<item>None</item>
63+
<item>NMEA GGA, RMC</item>
64+
<item>Everything</item>
65+
</string-array>
66+
<string-array name="savedata_codes">
67+
<item>none</item>
68+
<item>nmeaggarmc</item>
69+
<item>allbinary</item>
70+
</string-array>
71+
</resources>

NTRIPLib/res/values/strings.xml

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<resources>
3+
<string name="service_started">NTRIP Service Running</string>
4+
<string name="service_label">NTRIP Service</string>
5+
</resources>

NTRIPLib/res/xml/preferences.xml

+119
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,119 @@
1+
<PreferenceScreen
2+
xmlns:android="http://schemas.android.com/apk/res/android">
3+
<PreferenceScreen
4+
android:key="displaysettings"
5+
android:title="Display Settings">
6+
<ListPreference
7+
android:key="info1"
8+
android:title="Info Box 1"
9+
android:entries="@array/info_names"
10+
android:entryValues="@array/info_codes"
11+
android:dialogTitle="Data in Info Box 1"
12+
android:defaultValue="1"
13+
/>
14+
<ListPreference
15+
android:key="info2"
16+
android:title="Info Box 2"
17+
android:entries="@array/info_names"
18+
android:entryValues="@array/info_codes"
19+
android:dialogTitle="Data in Info Box 2"
20+
android:defaultValue="4"
21+
/>
22+
<CheckBoxPreference
23+
android:key="keepscreenon"
24+
android:title="Keep Screen On"
25+
/>
26+
</PreferenceScreen>
27+
<PreferenceScreen
28+
android:key="receiversettings"
29+
android:title="Receiver Settings">
30+
31+
<com.lefebure.ntripclient.BluetoothDevicePreference
32+
android:key="bluetooth_mac"
33+
android:title="Bluetooth Device"
34+
android:dialogTitle="Choose Bluetooth Device"
35+
/>
36+
<CheckBoxPreference
37+
android:key="autoswitchbluetooth"
38+
android:title="Switch Bluetooth"
39+
android:summary="Automatically switch bluetooth on/off"
40+
/>
41+
<ListPreference
42+
android:key="savedatatype"
43+
android:title="Save Data Stream to File"
44+
android:entries="@array/savedata_names"
45+
android:entryValues="@array/savedata_codes"
46+
android:defaultValue="none"
47+
/>
48+
<ListPreference
49+
android:key="receiverautoconfig"
50+
android:title="Auto-Configure Receiver"
51+
android:entries="@array/autoconfig_names"
52+
android:entryValues="@array/autoconfig_codes"
53+
android:defaultValue="none"
54+
/>
55+
<CheckBoxPreference
56+
android:key="htcconnectworkaround"
57+
android:title="HTC workaround"
58+
android:summary="HTC devices need to use a different Bluetooth connection method."
59+
/>
60+
</PreferenceScreen>
61+
<PreferenceScreen
62+
android:key="ntripsettings"
63+
android:title="NTRIP Settings">
64+
<ListPreference
65+
android:key="networkprotocol"
66+
android:title="Network Protocol"
67+
android:entries="@array/protocol_names"
68+
android:entryValues="@array/protocol_codes"
69+
android:defaultValue="none"
70+
/>
71+
<EditTextPreference android:key="ntripcasterip"
72+
android:title="Caster IP"
73+
android:dialogTitle="NTRIP Caster IP (x.x.x.x)"
74+
android:defaultValue="165.206.203.10"
75+
/>
76+
<EditTextPreference android:key="ntripcasterport"
77+
android:title="Caster Port"
78+
android:dialogTitle="Caster Port (1-65535)"
79+
android:defaultValue="10000"
80+
/>
81+
<EditTextPreference android:key="ntripusername"
82+
android:title="Username"
83+
android:dialogTitle="Your Username"
84+
/>
85+
<EditTextPreference android:key="ntrippassword"
86+
android:title="Password"
87+
android:dialogTitle="Your Password"
88+
/>
89+
<ListPreference
90+
android:key="ntripstream"
91+
android:title="Data Stream"
92+
android:persistent="true"
93+
/>
94+
<EditTextPreference android:key="ntripsourcetable"
95+
android:title="SourceTable"
96+
android:dialogTitle="Direct From The Server"
97+
/>
98+
<ListPreference
99+
android:key="ntriplocation"
100+
android:title="Reported Location"
101+
android:entries="@array/ntriplocation_names"
102+
android:entryValues="@array/ntriplocation_codes"
103+
android:defaultValue="auto"
104+
/>
105+
<EditTextPreference android:key="ntriplatitude"
106+
android:title="Reported Latitude"
107+
android:dialogTitle="-90 to 90"
108+
/>
109+
<EditTextPreference android:key="ntriplongitude"
110+
android:title="Reported Longitude"
111+
android:dialogTitle="-180 to 180"
112+
/>
113+
<CheckBoxPreference
114+
android:key="ntriptestmode"
115+
android:title="Network Testing Mode"
116+
android:summary="Do not connect to receiver."
117+
/>
118+
</PreferenceScreen>
119+
</PreferenceScreen>

0 commit comments

Comments
 (0)