Xamarin has developed a powerful platform on top of Mono which allows developers to build Native iOS and Android apps using C#. This is great for .Net/C# developers who want to build iOS/Android apps but are not experienced in Objective-C or JAVA. Another advantage of using Mono is that you can share almost all of your client-side business logic if you are building an app for both Android and iOS.
You can now build cross-platform iOS and Android games and apps on top of the Mono platform using AppWarp cloud gaming network. Unlike many 3rd party iOS/Android libraries which require developers to write a proxy/projection layer on-top of them when including in a MonoProject – AppWarp Mono library works as is. This is because we have specially built a Mono compatible flavor of our SDK eliminating this pain point for developers.
We have developed a simple demo chat application illustrating how you can integrate AppWarp’s mono compatible library in to your project and get access to the powerful AppWarp real-time multiplayer cloud network. Both the Android and iOS versions of the applications follow the same pattern. There are two screens in the application – a Join Screen and a Chat Screen. The Join Screen takes the user name as input and joins a room in the AppWarp cloud. The Chat screen allows the user to send and view chat messages in real-time.
Join Controller/Activity code snippets.
Chat Controller/Activity code snippets
public void onChatReceived (ChatEvent eventObj)
String sender = eventObj.getSender();
String message = eventObj.getMessage();
Complete source code for both Android and iPhone chat applications can be found on our GIT repo here. You can see how we have shared almost all of the C# code in the iOS controller and Android Activity class is the same.
Interested in learning more about AppWarp?
Do try these out and share your feedback with us on email@example.com