Hi.
I need to use one of the baas services such as StackMob / Kinvey etc. to store a very small amount of data per user, and they all supply standard android and iOS libraries. How do I use them in my Marmalade C++ app?
I'm guessing a lot of Marmalade developers use such services but I can't find anything about it in the forums.












Check out the EDK section under the documentation. I've not used but I believe that's how they approach it. There's a sample on getting a 3rd party library working.
Yes, I thought so but since I'm not a java developer (which is one of the reasons I'm looking into Marmalade), I don't know what to do with this whole "bin, gen, libs, src, res etc." folders under the sdk tree I was given.
I tried looking at the EDK messagebox example but it is built much much simpler than the sdk.
Hi Mita,
Great thing about StackMob, Parse & Kinvey is they all provide REST APIs so you can use Marmalades' CIwHTTP to work with them, no EDK stuff required.
Here's one of the StackMob examples to POST some data:
The most challenging part was becoming familiar with CIwHTTP and json_parser (as the responses you'll get back are in JSON format).
-David
Thanks, David!
This seems like a great option, also eliminating the need to use different SDKs for different OSs.
Right now the code you supplied is very foreign to me, but as you said, I need to learn CIwHTTP and json_parser.
Thanks,
Mita
Update:
Using Davids example above, the IwHTTP example and the cJSON port instead of the pre-supplied json_parser I've been able to access and parse a Parse database in almost no time.
Mita