Sunday, May 4, 2014

BlueMix + Android Development + IBM Mobile Data - First Steps

Trying to better understand some architecture patterns, I've tried to create my first sample application with IBM BlueMix to host the server side + Android Development to develop the client side + IBM Mobile Data to use as a foundation for the app.

Notice: I'm using the sample code found here as a start

While doing this I've found a couple of issues so here is a quick list of tips & tricks:

Issues with Application Id

At this point in time, properties.json is having precedence over the more specific code:
IBMBaaS.initializeSDK(context, "95569b05-5f16-421a-a9e4-xxxxxxx");

So bear this in mind and check that your properties.json has the appropriate information.
More info here

Issues with "strange" URLs being called

The IBMBaas API will call https://mobile.ng.bluemix.net/data/helo as part of its normal operation. I think you may be interested in this info as it is not yet document.

Issues regarding "cannot find symbol variable IBMBaaS" or some other

Not sure who is at fault here but I've had several issues with the ADT not being able to resolve symbols associated with the IBM libraries. Copying the libraries again nor restarting the ADT didn't work neither. I've found that calling Gradle to clean up the project solved the issues most of the times, so you may try that first before recreating the project.

More to come...

No comments: