mardi 13 mai 2014

réseau - périphériques Android se connecter via internet - Stack Overflow


I am trying to develop an android app in which at two or three stages the concerned android devices must connect and transfer information to each other; information such as gps location and data from a user-filled form. The number of android devices to be connected can be anywhere between 2 to 8. The devices could be near or far, so connection must be made via internet i.e. using Wifi or mobile network. Basically, its like a family version of the Google app, Latitude, but with a few extra stuff.


Anyway, how can I connect these devices into a private secure network so as to achieve smooth real-time data transfer? As you can guess, I am fairly new to programming. And since my question is kinda vague, I am not really expecting a code(although, that'd be a killer solution :) ), but any finger in the right direction would be a boon. Help, please? :)


Further details: First data transfer : The users,through my app, sends info to a server, server handles the info, organizes it and sends back the info to different users. Second transfer : Depending upon a certain info of a certain user, like gps info, that user's app sends this info to server and server alerts all the other related android devices and their users.


Similar to how the app "Bump" by Bump Technologies Inc. works, i.e. two devices connect and share info privately and in real time via internet, but in my case up to 8 devices are to be connected.


What's the most effective way to do this? Can this be done without the use of a server? Can the devices be connected directly to a network and do the above data transfers? Hope I clarified my question a little bit.



I am trying to develop an android app in which at two or three stages the concerned android devices must connect and transfer information to each other; information such as gps location and data from a user-filled form. The number of android devices to be connected can be anywhere between 2 to 8. The devices could be near or far, so connection must be made via internet i.e. using Wifi or mobile network. Basically, its like a family version of the Google app, Latitude, but with a few extra stuff.


Anyway, how can I connect these devices into a private secure network so as to achieve smooth real-time data transfer? As you can guess, I am fairly new to programming. And since my question is kinda vague, I am not really expecting a code(although, that'd be a killer solution :) ), but any finger in the right direction would be a boon. Help, please? :)


Further details: First data transfer : The users,through my app, sends info to a server, server handles the info, organizes it and sends back the info to different users. Second transfer : Depending upon a certain info of a certain user, like gps info, that user's app sends this info to server and server alerts all the other related android devices and their users.


Similar to how the app "Bump" by Bump Technologies Inc. works, i.e. two devices connect and share info privately and in real time via internet, but in my case up to 8 devices are to be connected.


What's the most effective way to do this? Can this be done without the use of a server? Can the devices be connected directly to a network and do the above data transfers? Hope I clarified my question a little bit.


0 commentaires:

Enregistrer un commentaire