How to do communication between apps. ( Android )

So I’m making Android game and I want to do duels between users. For example user A sends invitation for duel to user B, when user B will enter game he should see notification that he has not accepted duel from user A, then he can accept invitation and play game, after play user B app will send to user A app score which user B achived, then user A should see notification that user B accepted and played game, so he can play game and if he has more points he won if not won user B. I just need way to send some data between apps, f.e score and invitations, users do not see each other in game etc. just need to send some data. Any ideas how can I do that ?

NOTE: My game is integrated with Facebook, so tell me if is there any way to do communication between apps using Facebook, if not I can do any other way, just post your ideas.
Thanks !

Hi Ellyot,
I’m part of the customer success team at We are a Backend-as-a-Service provider, equipping developers with all the tools needed to build, tune and manage the server-side components of their projects. We currently have over 72 million players on average each month, and large enterprises, game studios and publishing companies such as Starbucks, Bandai Namco, Square Enix, Ubisoft and many more are utilizing our versatile and powerful platform.

We frequently see developers on the Unity forums looking to take the plunge into backend development.
Here is a rundown of our platforms features:

· Cloud Code Editor: (Add Logic, build your own API)
· Cloud Data: (Define MetaData/Runtime Data Structures)
· Binary Asset Manager: (Manage DLC, No more waiting for platform holders to approve your content)
· Push Notifications: (Setup all notifications from one centralized backend, localize global campaigns )


· Real time and Turn based multiplayer: (Reduced latency, highly scalable)
· Chat: (Cross-platform chat, p2p and group)
· Leaderboards: (Rank any aspect of player performance, highly scalable)
· Social Network Integration: (Pull Data from Facebook, Twitter, Google+ and others)


· Currencies: (Up to 6 currencies. Manage rewards to increase retention)
· Virtual Goods: (Create and manage in-game store without need for client updates)
· Rewards and Achievements: (Easily manage both, a great way to drive engagement)
· Optimisation & Management:
· Analytics: (Completely customizable, build reports for almost any conceivable event)
· Segmentation: (Group players with Segments for analysis. Optimise monetisation by age, location, anything you want)
· Experiments: (Make drastic changes to game mechanics and only expose who you wish to those changes.)
· Player Management: (View player history and summaries of activity. Edit player records, reward top players or remove unwanted players)
· Dynamic Form Builder: (Custom forms for Community Managers and Game Operators to get the most out of GameSparks)

You can register for a free evaluation account here:
Should you have any questions, one of our dedicated support team is always on hand and can arrange a skype call to delve a little further into each feature we have to offer and how this can impact your project.
Hope to hear from you soon,

There are several ways you can go about this. You can always communicate via Bluetooth, or even IRC. I think it’d be easier honestly to use something like Photon, which is designed for Unity. That way you’ll save time and not have to do much from scratch.

Best of luck! :slight_smile: