Change Android sample app light resource URIs to match linux sample apps.
authorJoseph Morrow <joseph.l.morrow@intel.com>
Fri, 17 Jul 2015 23:37:37 +0000 (16:37 -0700)
committerErich Keane <erich.keane@intel.com>
Sat, 18 Jul 2015 00:30:22 +0000 (00:30 +0000)
This will fix an issue between Linux SimpleClient app and Android
SimpleServer app where the server application was not responding
to client application.

Change-Id: I8a34539415df3adfd5a1d3c7912dedd2be2afce2
Signed-off-by: Joseph Morrow <joseph.l.morrow@intel.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/1726
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Erich Keane <erich.keane@intel.com>
android/examples/simpleclient/src/main/java/org/iotivity/base/examples/simpleclient/StringConstants.java
android/examples/simpleserver/src/main/java/org/iotivity/base/examples/simpleserver/StringConstants.java

index af163e1..54336f8 100644 (file)
@@ -6,8 +6,8 @@ package org.iotivity.base.examples.simpleclient;
  * the newly-supported type there.\r
  */\r
 public interface StringConstants {\r
-    public static final String RESOURCE_URI0 = "/light0";\r
-    public static final String RESOURCE_URI1 = "/light1";\r
+    public static final String RESOURCE_URI0 = "/a/light";\r
+    public static final String RESOURCE_URI1 = "/a/light2";\r
     public static final String OIC_CLIENT_JSON_DB_FILE =  "oic_svr_db_client.json";\r
     public static final String CREATED_URI = "createduri";\r
     public static final String STATE = "state";\r
index f4836fa..46b5c2d 100644 (file)
@@ -8,8 +8,8 @@ import org.iotivity.base.OcPlatform;
  * the newly-supported type there.\r
  */\r
 public interface StringConstants {\r
-    public static final String RESOURCE_URI0 = "/light0";\r
-    public static final String RESOURCE_URI1 = "/light1";\r
+    public static final String RESOURCE_URI0 = "/a/light";\r
+    public static final String RESOURCE_URI1 = "/a/light2";\r
     public static final String RESOURCE_TYPENAME = "core.light";\r
     public static final String OIC_SERVER_JSON_DB_FILE =  "oic_svr_db_server.json";\r
     public static final String RESOURCE_INTERFACE = OcPlatform.DEFAULT_INTERFACE; //resource interface\r