mapsandroid

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
mapsandroid [2016/10/25 22:49]
endler [Compilation]
mapsandroid [2017/07/21 03:08] (current)
Line 17: Line 17:
  
 To run and execute the application it is recomended to use Android Studio for the mobile app and Eclipse for the server. To run and execute the application it is recomended to use Android Studio for the mobile app and Eclipse for the server.
 +
 +To run the application you also need an OpenSplice server. You can use Primstech OpenSplice, an open-source SDDL implementation which can be downloaded from http://www.prismtech.com/dds-community.
 ===== Usage ===== ===== Usage =====
  
 +First, start the ContextNet server. It requires an installed OpenSplice server and some environment variables. Check installation and running instructions at http://www.lac-rio.com/dokuwiki/doku.php?id=installingdds. By default choose as gateway 127.0.0.1 and port 5500.
 +
 +  * Starting ContextNet: 
 +
 +''java -jar <path to ContextNet>/contextnet-2.5.jar <gateway address> <port> OpenSplice''
 +
 +In order for the app to work properly, you need also to start the application server that is going to receive the messages from the mobile nodes. Below is the server in Eclipse:
 +
 +{{:elcipe_server_maps.png|}}
 +
 +Now that everuthing is set up correctly in the server side, you just need to open the app and start using. The first step is to enter the IP adress that you passed to the ContextNet server.
 +
 +{{:maps_ip_screen.png|}}
 +
 +After you enter the IP adress you will be redirected to the maps screen, where you will be able to see all the devices that are connected to the server and track them in real time. To join the other devices you are required to tap on the "smiley icon" to start transmitting your position.
 +
 +{{:device_screen_1.png|}} {{:device_screen_2.png|}}
 +
 +If you click in the "Smartphone" tab, you will be able to see a list of all devices connected and if click in one of them it is going to send them a notification that you want to "talk" to them.
 +
 +{{:device_screen_3.png|}}
 +
 +You can disconnect whenever you want, you just need to tap on the "sad face" and you will no longer transmit your position and users will not be able to see you in the map anymore.
  
 ===== Disclaimer ===== ===== Disclaimer =====
  • mapsandroid.1477442990.txt.gz
  • Last modified: 2017/07/21 02:51
  • (external edit)