Post Reply

[Q] Android app and controller project

14th July 2014, 08:53 AM   |  #1  
OP Junior Member
Thanks Meter: 0
 
2 posts
Join Date:Joined: Jul 2014
Hi everyone,
I'm noob android developer and I am writing to ask for advice on a project i'working on.
In detail I have an Android device and an extern controller. I have to create an app that communicates (transmit and receive) via bluetooth connection with the controller (the communication protocol is already defined). What is the best way to handle the data received from the external card? I mean, I was going to create a class Comunication that admin messages with controller, send and recive. I would like to save the received packet in a different class (or even the same, I do not know what is the best way) that is always accessible by all the activities of the app. Moreover, these activities must be able to send requests through the class Comunication to the controller. Do you have any idea on how I can do? The problem is that I do not know how to create the structure of an app like that. Any idea?

thanks

14th July 2014, 04:41 PM   |  #2  
OP Junior Member
Thanks Meter: 0
 
2 posts
Join Date:Joined: Jul 2014
anyone have any ideas?
Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Top Threads in Questions and Answers by ThreadRank