Reputation: 63
I am trying to build my ios application for android. Is there any chance to use windows azure mobile services framework in native objective-c code? Or should I use java and call my azure mobile services table items from it ? Thank you in advance.
Upvotes: 0
Views: 97
Reputation: 5989
If you want to serve multiple platforms a better approach would be to create a service layer which works against your Mobile Service (f.e. build with ASP.NET Web API). This service layer would be called from your clients. The big advantage is that you don't have to write code multiple times and changes can be done at a central point. If you concentrate on RESTful services nearly every platform can call it.
Currently that seems to be a lot of overhead with an already finished iOS implementation, but imagine the situation when you want to support other platforms, such as Windows 8 or Windows Phone 8. At this point you have the same problems again.
Upvotes: 0
Reputation: 545
If there's an Android version of azure, you could use BridgeKit to bridge the android library to objective c APIs.
http://docs.apportable.com/using-java
Upvotes: 1
Reputation: 5496
There are native Azure Mobile Services SDKs for all major mobile platforms (iOS / Objective-C, Android / Java, Windows Phone, etc). There are excellent tutorials available on the Azure website:
If you are looking for cross-platform development you could leverage Xamarin (C#), Sencha or PhoneGap which all have samples at the above site as well.
Upvotes: 0