Anyone ever tried sending a simple json command from an app?
Posted: Tuesday 26 January 2016 21:46
So has anyone ever tried creating a simple app that sends a json command to control domoticz on a buttonpress? I've been looking all over the internet for something that just does the same as 'curl' does in shell/bash, but it doesn't seem to exist.
I'm pretty new to Android developing, so I don't need anything fancy by a long stretch, I simply need a proof of concept. Something that just has a button which I can click, which sends out a json command, like setting the brightness of a lamp.
If anyone can help me, or point me in the right direction, that would be truly awesome. I've asked the same question on some other forums, but the general response is "You're stupid, just look it up", but I haven't got a clue what to look for.
I'm pretty new to Android developing, so I don't need anything fancy by a long stretch, I simply need a proof of concept. Something that just has a button which I can click, which sends out a json command, like setting the brightness of a lamp.
If anyone can help me, or point me in the right direction, that would be truly awesome. I've asked the same question on some other forums, but the general response is "You're stupid, just look it up", but I haven't got a clue what to look for.