aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHerbert von Broeuschmeul <Herbert.Broeuschmeul@gmail.com>2011-01-19 01:34:46 +0100
committerHerbert von Broeuschmeul <Herbert.Broeuschmeul@gmail.com>2011-01-19 01:34:46 +0100
commite7db97a472aea5f958df3058703b46a37df19a53 (patch)
treec8de0e0581d9a08569747c54a742e4f5db089ebe
parente06ca130dee89b1383e3d0c1470d149776c37022 (diff)
downloadBlueGPS-e7db97a472aea5f958df3058703b46a37df19a53.zip
BlueGPS-e7db97a472aea5f958df3058703b46a37df19a53.tar.gz
BlueGPS-e7db97a472aea5f958df3058703b46a37df19a53.tar.bz2
Change app and notification icons
Used icons inspired from XlAfbk's proposition: http://forum.xda-developers.com/showpost.php?p=10277778&postcount=29
-rw-r--r--AndroidManifest.xml2
-rw-r--r--res/drawable-hdpi/gplv3_icon.pngbin0 -> 2986 bytes
-rw-r--r--res/drawable-hdpi/ic_launcher_bluegps.pngbin0 -> 4511 bytes
-rw-r--r--res/drawable-hdpi/ic_stat_notify.pngbin0 -> 1780 bytes
-rw-r--r--res/drawable-ldpi/gplv3_icon.pngbin0 -> 2986 bytes
-rw-r--r--res/drawable-ldpi/ic_launcher_bluegps.pngbin0 -> 2022 bytes
-rw-r--r--res/drawable-ldpi/ic_stat_notify.pngbin0 -> 805 bytes
-rw-r--r--res/drawable-mdpi/gplv3_icon.pngbin0 -> 2986 bytes
-rw-r--r--res/drawable-mdpi/ic_launcher_bluegps.pngbin0 -> 2849 bytes
-rw-r--r--res/drawable-mdpi/ic_stat_notify.pngbin0 -> 1095 bytes
-rw-r--r--res/drawable/ic_launcher_bluegps.pngbin0 -> 2849 bytes
-rw-r--r--res/drawable/ic_stat_notify.pngbin0 -> 1095 bytes
-rw-r--r--res/drawable/icon.pngbin2574 -> 0 bytes
-rw-r--r--src/org/broeuschmeul/android/gps/bluetooth/provider/BlueetoothGpsManager.java4
-rw-r--r--src/org/broeuschmeul/android/gps/bluetooth/provider/BluetoothGpsProviderService.java2
-rw-r--r--version.txt3
16 files changed, 5 insertions, 6 deletions
diff --git a/AndroidManifest.xml b/AndroidManifest.xml
index d9b0603..ac51b16 100644
--- a/AndroidManifest.xml
+++ b/AndroidManifest.xml
@@ -22,7 +22,7 @@
package="org.broeuschmeul.android.gps.bluetooth.provider"
android:versionCode="120"
android:versionName="@string/versionName">
- <application android:icon="@drawable/icon" android:label="@string/app_name" android:allowClearUserData="true">
+ <application android:icon="@drawable/ic_launcher_bluegps" android:label="@string/app_name" android:allowClearUserData="true">
<activity android:name=".BluetoothGpsActivity"
android:label="@string/app_name"
android:launchMode="singleTask" >
diff --git a/res/drawable-hdpi/gplv3_icon.png b/res/drawable-hdpi/gplv3_icon.png
new file mode 100644
index 0000000..b06e043
--- /dev/null
+++ b/res/drawable-hdpi/gplv3_icon.png
Binary files differ
diff --git a/res/drawable-hdpi/ic_launcher_bluegps.png b/res/drawable-hdpi/ic_launcher_bluegps.png
new file mode 100644
index 0000000..2c3c54a
--- /dev/null
+++ b/res/drawable-hdpi/ic_launcher_bluegps.png
Binary files differ
diff --git a/res/drawable-hdpi/ic_stat_notify.png b/res/drawable-hdpi/ic_stat_notify.png
new file mode 100644
index 0000000..dc5f209
--- /dev/null
+++ b/res/drawable-hdpi/ic_stat_notify.png
Binary files differ
diff --git a/res/drawable-ldpi/gplv3_icon.png b/res/drawable-ldpi/gplv3_icon.png
new file mode 100644
index 0000000..b06e043
--- /dev/null
+++ b/res/drawable-ldpi/gplv3_icon.png
Binary files differ
diff --git a/res/drawable-ldpi/ic_launcher_bluegps.png b/res/drawable-ldpi/ic_launcher_bluegps.png
new file mode 100644
index 0000000..f3576ff
--- /dev/null
+++ b/res/drawable-ldpi/ic_launcher_bluegps.png
Binary files differ
diff --git a/res/drawable-ldpi/ic_stat_notify.png b/res/drawable-ldpi/ic_stat_notify.png
new file mode 100644
index 0000000..59c05da
--- /dev/null
+++ b/res/drawable-ldpi/ic_stat_notify.png
Binary files differ
diff --git a/res/drawable-mdpi/gplv3_icon.png b/res/drawable-mdpi/gplv3_icon.png
new file mode 100644
index 0000000..b06e043
--- /dev/null
+++ b/res/drawable-mdpi/gplv3_icon.png
Binary files differ
diff --git a/res/drawable-mdpi/ic_launcher_bluegps.png b/res/drawable-mdpi/ic_launcher_bluegps.png
new file mode 100644
index 0000000..1bd9013
--- /dev/null
+++ b/res/drawable-mdpi/ic_launcher_bluegps.png
Binary files differ
diff --git a/res/drawable-mdpi/ic_stat_notify.png b/res/drawable-mdpi/ic_stat_notify.png
new file mode 100644
index 0000000..31ef160
--- /dev/null
+++ b/res/drawable-mdpi/ic_stat_notify.png
Binary files differ
diff --git a/res/drawable/ic_launcher_bluegps.png b/res/drawable/ic_launcher_bluegps.png
new file mode 100644
index 0000000..1bd9013
--- /dev/null
+++ b/res/drawable/ic_launcher_bluegps.png
Binary files differ
diff --git a/res/drawable/ic_stat_notify.png b/res/drawable/ic_stat_notify.png
new file mode 100644
index 0000000..31ef160
--- /dev/null
+++ b/res/drawable/ic_stat_notify.png
Binary files differ
diff --git a/res/drawable/icon.png b/res/drawable/icon.png
deleted file mode 100644
index a07c69f..0000000
--- a/res/drawable/icon.png
+++ /dev/null
Binary files differ
diff --git a/src/org/broeuschmeul/android/gps/bluetooth/provider/BlueetoothGpsManager.java b/src/org/broeuschmeul/android/gps/bluetooth/provider/BlueetoothGpsManager.java
index 39a0bf4..1917f77 100644
--- a/src/org/broeuschmeul/android/gps/bluetooth/provider/BlueetoothGpsManager.java
+++ b/src/org/broeuschmeul/android/gps/bluetooth/provider/BlueetoothGpsManager.java
@@ -185,14 +185,14 @@ public class BlueetoothGpsManager {
parser.setLocationManager(locationManager);
connectionProblemNotification = new Notification();
- connectionProblemNotification.icon = R.drawable.icon;
+ connectionProblemNotification.icon = R.drawable.ic_stat_notify;
Intent stopIntent = new Intent(BluetoothGpsProviderService.ACTION_STOP_GPS_PROVIDER);
// PendingIntent stopPendingIntent = PendingIntent.getService(appContext, 0, stopIntent, PendingIntent.FLAG_CANCEL_CURRENT);
PendingIntent stopPendingIntent = PendingIntent.getService(appContext, 0, stopIntent, PendingIntent.FLAG_CANCEL_CURRENT);
connectionProblemNotification.contentIntent = stopPendingIntent;
serviceStoppedNotification = new Notification();
- serviceStoppedNotification.icon=R.drawable.icon;
+ serviceStoppedNotification.icon=R.drawable.ic_stat_notify;
Intent restartIntent = new Intent(BluetoothGpsProviderService.ACTION_START_GPS_PROVIDER);
PendingIntent restartPendingIntent = PendingIntent.getService(appContext, 0, restartIntent, PendingIntent.FLAG_CANCEL_CURRENT);
serviceStoppedNotification.setLatestEventInfo(appContext,
diff --git a/src/org/broeuschmeul/android/gps/bluetooth/provider/BluetoothGpsProviderService.java b/src/org/broeuschmeul/android/gps/bluetooth/provider/BluetoothGpsProviderService.java
index a2f1c8d..c896008 100644
--- a/src/org/broeuschmeul/android/gps/bluetooth/provider/BluetoothGpsProviderService.java
+++ b/src/org/broeuschmeul/android/gps/bluetooth/provider/BluetoothGpsProviderService.java
@@ -125,7 +125,7 @@ public class BluetoothGpsProviderService extends Service implements NmeaListener
}
if (enabled) {
gpsManager.enableMockLocationProvider(mockProvider);
- Notification notification = new Notification(R.drawable.icon, this.getString(R.string.foreground_gps_provider_started_notification), System.currentTimeMillis());
+ Notification notification = new Notification(R.drawable.ic_stat_notify, this.getString(R.string.foreground_gps_provider_started_notification), System.currentTimeMillis());
Intent myIntent = new Intent(this, BluetoothGpsActivity.class);
PendingIntent myPendingIntent = PendingIntent.getActivity(this, 0, myIntent, PendingIntent.FLAG_CANCEL_CURRENT);
notification.setLatestEventInfo(getApplicationContext(), this.getString(R.string.foreground_service_started_notification_title), this.getString(R.string.foreground_gps_provider_started_notification), myPendingIntent);
diff --git a/version.txt b/version.txt
index 4b2d495..fd0c7ba 100644
--- a/version.txt
+++ b/version.txt
@@ -3,8 +3,7 @@ BlueGps4Droid 1.2.0 (2010-12-10)
* Add verifications: if bluetooth or mock locations are not enabled, the service is not started.
* Add alert messages to explain why the service cannot be started if bluetooth or mock locations are not enabled
* If device doesn't have an internal GPS, the bluetooth GPS provider is enabled automatically
- * Add an about window that gives the version of application, licensing information and where the sources may be downloaded.
-
+ * Add an about window that gives the version of application, licensing information and where the sources may be downloaded.
BlueGps4Droid 1.2 alpha (2010-10-25)
* SiRF configuration management (NMEA sentences - SBAS - Static Navigation)