Question

I want to write a simple app to communicate between devices. I mean send very small files (small images, text or audio files) from one device to another but not using bluetooth or nfc but by internet. How can I do this and would this be hard to do for a beginner?

Was it helpful?

Solution

Depending on your experience level it can get pretty hard. I would suggest you use
GCM Google Cloud Messaging for Android
It's a push notification system that can deliver messages to anyone of the devices running your app. Your app on the device can process the message being received. The message size is 4096 bytes only so for sending larger files you can use:
Google Cloud Endpoints This is a RPC api endpoint and it can store your files in between waiting for recipient to download the file

Here's a grate tutorial on Google Cloud Endpoints

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top