lundi 23 mars 2015

[Q] Connection-Type Problem

Hi.



I started programming android app´s a couple of month ago using Android Studio. That´s why I do not know all the correct programming notation´s and just want to describe what I planning to do. Hopefully someone can give me a hint of how I should proceed.



I want to create an application witch connects a large number of “child”- devices (about 30) with one “parent” - device. In other word´s only the parent device is connected to all the others and there should be no connection between the “child” - devices.



The connection should be able to transfer simple clicks e.g. on the child-device-12 buttonA was clicked should be displayed on the parent-device screen. Furthermore the parent-device should be able to receive and store small text messages from all child-devices.



The problem I have is that i´m not sure which kind of connection I should use.



I know there is the…

… the Bluetooth connection which I can´t use because it is not possible to connect more than two devices.

… the P2P connection which is also not possible because of the same reason.

… the NFC connection which I also can´t use because of it´s short range.

… the wifi connection witch might be possible because all the approximately 31 devices will be in the same area at the moment of using the application.

… and the server/client connection witch also might be possible.



Right now I imagine something like a chat or gaming room which is hosted by the parent-device for a specified number of child-connection. In order to enter the room the parent device generates a key every time a new room is created. That key is given to all the child-device user´s so that they can enter the room.

Okay, I hope someone can help me find the best connectivity solution.



Greetings, Alex!





from xda-developers http://ift.tt/1FvfnqJ

via IFTTT

Aucun commentaire:

Enregistrer un commentaire

LightBlog