Best method for communicating between devices running same app - android

I want to develop an app which will send information (images mainly, but also information on how the app should display these images) between multiple devices devices...very much like apps such as drawSome etc. users should be able to select contacts who also have the app installes and start games etc.
What is the best method for going about this. I have read about GCM but also read that it has quite a lot of limitations.
if anyone could point me towards a tutorial as I cant find exactle what I'm after!
Thanks

Related

any google assistant command that can use inbuilt option in another android app e.g. 'send live location via whatsapp to <contact>'

sending live location via whatsapp to a particular contact(or default contact) especially while driving would be a great way to ensure safety during night time or in bad weather.
The possibilities for such applications are endless but it could simplify our lives for the better in more ways than we can imagine.
Let me know what you think and ideas for implementing the same are also welcome.
I've tried to creat 'flows' through android automation apps but my knowledge is limited at this point and i'm looking for guidance

Android Social Game implementation - Data storage and sharing

So, I'm reading this android game programming book, which is great, and I was wondering about how to implement the database of a social game.
Let me take a dummy example that fits the example purpose: there is a group of people playing a game, where everyday there is a question (generated by the app), and the first user to answer it wins.
So, basic questions: when someone answer the question, how the others players will know?
I imagine that when the winner answer the question, this would be stored in a database (the cloud?) and when the others users log into the game, the app would connect to the clound, synchronize all users update and display a message saying that there is a winner already for that question.
Is that in anyway correct? I have a fair/medium experience in developing in Android, but never worked much with storage/internet connection.
There is any specific API to deal with this task?
P.S. I'm aware of SharedPreferences, but I'm quite sure that's not I'm looking for. My main question is how to share data over the internet/users using and Android app.
Thanks
Android provide Game Services for this.
I this APIs https://developers.google.com/games/services/android/realtimeMultiplayer are what you are looking for
Otherwise you may think to develop your own server logic for instance via Google App Engine

Is it possible to get info and overlay another app from my app?

Hi I am new to this topic so maybe this is noob question but I couldn't find anything relevant on the web so I am asking here.
I want to make application that adds some more interesting rich information into another app not related to my app.
That is, imagine that my app would overlay some sports betting app from one betting company with odds from companies around the world and compare them with original data in app which i can get(?)
Is this even possible?
Yes. First of all you could use StandOut library to overlay any app you want. And second thing you could use is info about running apps on device.
You cannot access information of running app directly. But still you have some hack to access other app resources via creating context of other app installed on your device. Maybe this information will help.

OneNote for Android - Offline API?

I'm looking at developing a to-do list Android widget that draws from a OneNote to-do list.
While most Android phones are permanently connected to the internet via 3G or LTE, many tablets are still WiFi only and will not have internet connectivity when on the go. I could, in this situation, store the data that I receive from the API locally and queue any changes made for the next time the tablet is available online, but there's a problem with this solution. What if the user edits the same to-do list via the OneNote app?
What I'm wondering is if there's any way that my widget can talk to the OneNote app when the device is offline.
It seems that OneNote's data files are stored in a location that needs a rooted device to access externally, so interacting with them seems to be not an option. How can I achieve my goal?
I'm new to Android development, but I think Android's Intents system might be a solution. Does OneNote expose any Intents?
Thanks,
YM
(Apologies if the tone in this post seems strange, I originally posted it on answers.microsoft.com but was told that it belongs here instead.)
We don't have Android client APIs at this time, and talking to the local files isn't a good idea, as the app isn't expecting them to change outside of its control. We would like to get round to client APIs, across all platforms, but its unlikely to happen in the next six months at least. This would be a good request to post on our uservoice site to see if there's broader interest. Please do include the scope of the methods you'd need.

Social App message Tracking?

Social App data access using SDK or without SDK/API :
I have found many android Apps, those are tracking message and all detail from the social app like Whats App, BBm, Viber chat etc.
I search over googled as well as the developer site of all social apps. No one is provide any SDK or any API from you can track other user message . {like : stealing}
Than I found on the Rooted device , you can do this, I searched but didn't get anything. If many apps tracking the other user detail i.e. this thing will happen.
So, If those social App does not provide anything to do this than HOW IT CAN BE POSSIBLE ?
Can Someone correct me IF I wrote something worng ?
or
If this thing is possible, than please give some suggestion or way, How it can be possible?
Thanks
If this is possible, it is most likely only possible if you're coding with C and using the NDK, since it gives low level access, and kind of bypasses the basic Java coding restrictions. Like turning on settings without any user interaction. I hope this helps in any way.
You need to look at them individually. E.g there is a good research on whatsapp. .
You just need to get the access to their database, if they are using sqlite, you can directly get their database and run queries on them. Sqlite Browser or other GUI sqlite tools will be helpful in checking their db schema.

Categories

Resources