Look for fridge client and fridgeserver application... It's there in android examples.. On Aug 19, 2016 7:26 PM, "EZAYEN Salim via iotivity-dev" < iotivity-dev at lists.iotivity.org> wrote:
> Hi IoTivity, > I developpe an android app for IoTivity, as now i can discover all type of > devices (light, fan etc), but i can't discover theirs resources, for > example (light ON/OFF, fan Speed ... ), i create a java class named > resource that contains an attribute "state", and i can make the GET, PUT > for all my devices if they have a resources named state. > My question is : if i have a multiple resources for each device, so it is > not logical to create a java classe for each one, so can someone tell me > what i must do to detect all the resources automaticly > *? Cordialement,* > > > > > *Salim Zayen* > *?l?ve ing?nieur * > *t?l?phone :+216 23 85 66 25* > *esprit*? > > _______________________________________________ > iotivity-dev mailing list > iotivity-dev at lists.iotivity.org > https://lists.iotivity.org/mailman/listinfo/iotivity-dev > > -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.iotivity.org/pipermail/iotivity-dev/attachments/20160819/7785d00f/attachment.html>
