2013-10-19, 12:37 AM
A few questions...
Do all of the new web api calls work as follows...
What is the difference between client= and sid=? I'm guessing client is a device type and sid is session id. Correct? If so does client have to be a device type with a unique identifier in order to distinguish it from other devices of the same type or is that handled by the sid to make sure the session is unique.
Is it possible to transfer a clone (or impersonate) a web api call? For example, if I build Google Cast ability into nDroid and make a web service request from my tablet, could I then pass it on to my Chromecast with the same session id which then makes a repeat request and gets the same response?
On a lesser note - the future of using JSON? Parsing large amounts of XML with Android devices (mostly older ones) is a PITA due to memory available - JSON is generally more efficient.
Cheers,
Brian
Do all of the new web api calls work as follows...
Code:
http://<server>:<port>/services?<whatever>
What is the difference between client= and sid=? I'm guessing client is a device type and sid is session id. Correct? If so does client have to be a device type with a unique identifier in order to distinguish it from other devices of the same type or is that handled by the sid to make sure the session is unique.
Is it possible to transfer a clone (or impersonate) a web api call? For example, if I build Google Cast ability into nDroid and make a web service request from my tablet, could I then pass it on to my Chromecast with the same session id which then makes a repeat request and gets the same response?
On a lesser note - the future of using JSON? Parsing large amounts of XML with Android devices (mostly older ones) is a PITA due to memory available - JSON is generally more efficient.
Cheers,
Brian