Share Single Google Map Among Multiple Device
Solution 1:
You need to sync the two apps, using for instance a database in a webserver where all the apps sends and read the updates in their statuts. For that you have to make calls to a php server, sending and receiving the info probably in json.
Also, you can try to use sync adapters
Synchronizing data between an Android device and web servers can make your application significantly more useful and compelling for your users. For example, transferring data to a web server makes a useful backup, and transferring data from a server makes it available to the user even when the device is offline. In some cases, users may find it easier to enter and edit their data in a web interface and then have that data available on their device, or they may want to collect data over time and then upload it to a central storage area.
Although you can design your own system for doing data transfers in your app, you should consider using Android's sync adapter framework. This framework helps manage and automate data transfers, and coordinates synchronization operations across different apps. When you use this framework, you can take advantage of several features that aren't available to data transfer schemes you design yourself:
in the given link you can find more information, and also an example app
Post a Comment for "Share Single Google Map Among Multiple Device"