diff options
author | Herbert von Broeuschmeul <Herbert.Broeuschmeul@gmail.com> | 2011-05-15 01:14:00 +0200 |
---|---|---|
committer | Herbert von Broeuschmeul <Herbert.Broeuschmeul@gmail.com> | 2011-05-15 01:31:21 +0200 |
commit | 03c99568c6909c2dc6fcb42f0ba9062947247797 (patch) | |
tree | e4cbe00e8b1e6ca0324e08d9fd1bf772a3c48a81 | |
parent | 71fcfd96678b1dcca303ee5d782522e193e50684 (diff) | |
download | BlueGPS-03c99568c6909c2dc6fcb42f0ba9062947247797.zip BlueGPS-03c99568c6909c2dc6fcb42f0ba9062947247797.tar.gz BlueGPS-03c99568c6909c2dc6fcb42f0ba9062947247797.tar.bz2 |
add credits for backport-android-bluetooth
For the moment only the english version is provided.
-rw-r--r-- | NOTICE.txt | 26 | ||||
-rw-r--r-- | res/layout/about.xml | 11 | ||||
-rw-r--r-- | res/values/strings.xml | 6 | ||||
-rw-r--r-- | res/xml/pref.xml | 2 | ||||
-rw-r--r-- | src/org/broeuschmeul/android/gps/bluetooth/provider/BluetoothGpsActivity.java | 5 |
5 files changed, 49 insertions, 1 deletions
diff --git a/NOTICE.txt b/NOTICE.txt new file mode 100644 index 0000000..f3997d3 --- /dev/null +++ b/NOTICE.txt @@ -0,0 +1,26 @@ +BluetoothGPS4Droid (BlueGPS4Droid) +Copyright (C) 2010, 2011 Herbert von Broeuschmeul +Copyright (C) 2010, 2011 BluetoothGPS4Droid Project + +BluetoothGPS4Droid is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +BluetoothGPS4Droid is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with BluetoothGPS4Droid. If not, see <http://www.gnu.org/licenses/>. + +--------------------------------------------------------------------------- + +Bluetooth support is provided by the backport-android-bluetooth package, +which is the backport of the android.bluetooth API, introduced in Android 2.0 +to older Android platforms. The backport-android-bluetooth package is +open source software released under the Apache License, Version 2.0. +The original software is available from + http://code.google.com/p/backport-android-bluetooth/ + diff --git a/res/layout/about.xml b/res/layout/about.xml index 1cf4855..614d7ed 100644 --- a/res/layout/about.xml +++ b/res/layout/about.xml @@ -71,5 +71,16 @@ style="@style/about_text" android:text="@string/about_sources" /> + <TextView + android:id="@+id/about_bluetooth_license" + style="@style/about_text" + android:text="@string/about_bluetooth_license" + android:autoLink="none" + /> + <TextView + android:id="@+id/about_bluetooth_sources" + style="@style/about_text" + android:text="@string/about_bluetooth_sources" + /> </LinearLayout> </ScrollView>
\ No newline at end of file diff --git a/res/values/strings.xml b/res/values/strings.xml index 88b2bfa..f03190b 100644 --- a/res/values/strings.xml +++ b/res/values/strings.xml @@ -123,4 +123,10 @@ <string name="about_sources">The source code is available from Git repository on the project website:
http://sourceforge.net/p/bluegps4droid
</string>
+ <string name="about_bluetooth_license">Bluetooth support is provided by the backport-android-bluetooth package,
+ which is open source software released under the <a href="http://www.apache.org/licenses/LICENSE-2.0"><b>Apache License, Version 2.0</b></a>.
+ </string>
+ <string name="about_bluetooth_sources">The <i>backport-android-bluetooth package</i> is available from:
+ http://code.google.com/p/backport-android-bluetooth
+ </string>
</resources>
diff --git a/res/xml/pref.xml b/res/xml/pref.xml index 8a65c41..5227cf8 100644 --- a/res/xml/pref.xml +++ b/res/xml/pref.xml @@ -16,7 +16,7 @@ GNU General Public License for more details.
You should have received a copy of the GNU General Public License
- along with BluetoothGPS4Droid. If not, see : http://www.gnu.org/licenses/.
+ along with BluetoothGPS4Droid. If not, see <http://www.gnu.org/licenses/>..
-->
<PreferenceScreen
xmlns:android="http://schemas.android.com/apk/res/android"
diff --git a/src/org/broeuschmeul/android/gps/bluetooth/provider/BluetoothGpsActivity.java b/src/org/broeuschmeul/android/gps/bluetooth/provider/BluetoothGpsActivity.java index 1112ceb..fb8af27 100644 --- a/src/org/broeuschmeul/android/gps/bluetooth/provider/BluetoothGpsActivity.java +++ b/src/org/broeuschmeul/android/gps/bluetooth/provider/BluetoothGpsActivity.java @@ -157,6 +157,11 @@ public class BluetoothGpsActivity extends PreferenceActivity implements OnPrefer textView.setTextColor(defaultColor);
textView = (TextView) messageView.findViewById(R.id.about_sources);
textView.setTextColor(defaultColor);
+ textView = (TextView) messageView.findViewById(R.id.about_bluetooth_license);
+ textView.setMovementMethod(LinkMovementMethod.getInstance());
+ textView.setTextColor(defaultColor);
+ textView = (TextView) messageView.findViewById(R.id.about_bluetooth_sources);
+ textView.setTextColor(defaultColor);
AlertDialog.Builder builder = new AlertDialog.Builder(this);
builder.setTitle(R.string.about_title);
|