Added support for KitKat Wear and Lollipop. New support library.
authorMarco Incalcaterra <marco.incalcaterra@thinksoft.it>
Sat, 22 Nov 2014 21:22:11 +0000 (22:22 +0100)
committerMarco Incalcaterra <marco.incalcaterra@thinksoft.it>
Sat, 22 Nov 2014 21:22:11 +0000 (22:22 +0100)
ChangeLog
android/src/agent/AndroidManifest.xml
android/src/agent/libs/android-support-v4.jar
android/src/agent/project.properties
android/src/agent/src/org/netxms/agent/android/helpers/DeviceInfoHelper.java
android/src/console/AndroidManifest.xml
android/src/console/libs/android-support-v4.jar
android/src/console/project.properties

index d92de33..ca433a4 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -15,6 +15,8 @@
 - Management console:
     - New dashboard element "DCI summary table"
     - Cluster objects shown on status maps
+- Android console:
+    - Support for KitKat Wear and Lollipop
 - Fixed issues: #381, #565, #634, #667, #673, #674, #675, #678, #684, #688
 
 
index b80cb0c..c91bc01 100644 (file)
@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="utf-8"?>
 <manifest xmlns:android="http://schemas.android.com/apk/res/android"
       package="org.netxms.agent.android" android:versionName="1.2.17" android:versionCode="4">
-       <uses-sdk android:targetSdkVersion="20" android:minSdkVersion="8"></uses-sdk>
+       <uses-sdk android:targetSdkVersion="22" android:minSdkVersion="8"></uses-sdk>
     <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
     <uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
     <uses-permission android:name="android.permission.INTERNET" />
index c31cede..ac4181f 100644 (file)
Binary files a/android/src/agent/libs/android-support-v4.jar and b/android/src/agent/libs/android-support-v4.jar differ
index a5578ba..bbe203c 100644 (file)
@@ -8,4 +8,4 @@
 # project structure.
 
 # Project target.
-target=android-19
+target=android-21
index deaf899..40df88c 100644 (file)
@@ -161,6 +161,10 @@ public class DeviceInfoHelper
                                return "ANDROID (JELLY_BEAN_MR2)";
                        case Build.VERSION_CODES.KITKAT:
                                return "ANDROID (KITKAT)";
+                       case Build.VERSION_CODES.KITKAT_WATCH:
+                               return "ANDROID (KITKAT_WATCH)";
+                       case Build.VERSION_CODES.LOLLIPOP:
+                               return "ANDROID (LOLLIPOP)";
                }
                return "ANDROID (UNKNOWN)";
        }
index 234711d..a4d0996 100644 (file)
@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="utf-8"?>
 <manifest xmlns:android="http://schemas.android.com/apk/res/android"
       package="org.netxms.ui.android" android:versionName="1.2.17" android:versionCode="10">
-       <uses-sdk android:targetSdkVersion="20" android:minSdkVersion="8"></uses-sdk>
+       <uses-sdk android:targetSdkVersion="21" android:minSdkVersion="8"></uses-sdk>
     <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
     <uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
     <uses-permission android:name="android.permission.INTERNET" />
index c31cede..ac4181f 100644 (file)
Binary files a/android/src/console/libs/android-support-v4.jar and b/android/src/console/libs/android-support-v4.jar differ
index a5578ba..bbe203c 100644 (file)
@@ -8,4 +8,4 @@
 # project structure.
 
 # Project target.
-target=android-19
+target=android-21