Am trying to create an app same like smartthings stand alone Mobile app for both iOS and Android.
I understand Web Services SmartApps is the way to create Mobile apps. but I could not find complete documents to create an App. I have done everything, but have certain queries. Please clarify.
1.How to get the preference list and how to map our devices to the preference.
Have you found any information about this. I’m trying create a stand alone third party application for door locks and video surveillance. Does smart things have open API?..other than smart apps. I’m making an app for the masses not my own preferences.
tgauchat
(ActionTiles.com co-founder Terry @ActionTiles; GitHub: @cosmicpuppy)
4
SmartThings doesn’t not have a client API, but a lot can be done via SmartApp exposing web REST-API Endpoints.
But i don’t know how to call above Curl API from Android application.
Can you please help me to call smarthings curl api’s from Android so that it would be very helpful for me or is there any other way or procedure to write our own app.
Thanks for your help .
tgauchat
(ActionTiles.com co-founder Terry @ActionTiles; GitHub: @cosmicpuppy)
6
“curl” isn’t a SmartThings API … it is basically a command-line browser for Unix/Linux (and in library form, for PHP, etc.). It is just a wrapper for sending/receiving data via HTTP.
What programming language are you writing your Android App in? You’ll find equivalent curl, or http or REST-API function calls available in most programming languages!
I am using JAVA programming for writing my Android App, Can you please help me to find equivalent approach and method to call/control Smarthings devices.
tgauchat
(ActionTiles.com co-founder Terry @ActionTiles; GitHub: @cosmicpuppy)
8
I’m afraid that’s beyond the scope of a Community Forum question, in my opinion… Making web calls from Java is something that you can learn in any online or college Java class.