Commit ec2b5f24 authored by coderhyme's avatar coderhyme Committed by JungHo Kim

[IOT-1032][IOT-1033][IOT-1034] Fixed for an issue with android sample application.

It seems discovered resource is not what it should be in sample client.
It happens because method finding resource is changed.

Change-Id: Ib820319658038f7969fbd503b374c9d1933adb09
Signed-off-by: default avatarcoderhyme <>
Reviewed-on: default avatarMarkus Jung <>
Reviewed-by: default avatarUze Choi <>
Tested-by: default avatarjenkins-iotivity <>
Reviewed-by: default avatarMadan Lanka <>
parent a986bf9f
......@@ -63,6 +63,7 @@ public class ResourceClientActivity extends Activity
private static final int MSG_ID_ATTRIBUTE_RECEIVED = 1;
private static final int MSG_ID_PRINT_LOG = 2;
private static final String RESOURCE_TYPE = "oic.r.temperature.sensor";
private static final String ATTR_KEY_TEMPERATURE = "Temperature";
private TextView mLogView;
......@@ -287,7 +288,7 @@ public class ResourceClientActivity extends Activity
if (mDiscoveryTask == null) {
try {
mDiscoveryTask = RcsDiscoveryManager.getInstance()
.discoverResourceByType(RcsAddress.multicast(), RESOURCE_TYPE,
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment