Thursday, March 27, 2014

Andrews rookie learn to write small programs, how to communicate in the gprs between the two Andrews program through the socket it?


Certain course requirements to own a network application ...
AndrewsOur team wants to do a very simple little software ... just need to communicate, a few basic commands transmitted between two Android phones like ...
Before learning C + + socket when the terms of the knowledge learned, but do not know not through wifi, which in different LANs how to achieve similar functionality ...
Special to seek advice ... Great God enlighten ... = v = ...
<-! Main posts under Banner (D4) -><-! Posts under the main text (D5) ->
Reply:
There should be no such direct communication with it the entire server
Reply:
cited a floor zuoan2008 reply:
should be no such direct communication with it the entire server


Later socket can not only achieve communication between the one-time LAN under ...
Ai Aiai, will not take the server, too dishes I ...
Reply:
LS situation very understanding, after all, is a novice, it is indeed a topic for your challenge, but not impatient, can not easily give up, there must be studious and indomitable spirit, so you have to engage in development.
Analysis, LS can put into a few topics to learn to solve:
1 Learning Android App of some conventional development;.
2 master the basic knowledge of network communication, if you want to network-based communications socket, you can understand this knowledge, in fact, it is not difficult: the server program is nothing more than an open port, allowing mobile client to connect ( server IP, port to clear), after a successful connection to follow certain protocols, which send the encapsulated packet parsing out to do at the receiving end can be dealt with accordingly.
3 If you are familiar with Linux systems, it should not be difficult to build servers: server network to ensure the smooth flow; deployed on the server side of the application, and finally give some access to it.

Reply:
Recommended by SMS to achieve. A mobile phone App to send out a message, the message content contains your instructions and special header, can be identified. SMS mobile phone monitoring app B, and if you receive an SMS, then analyzes the content, identifies the phone app A is the issue, then. . . . . You know.

Reply:
reference to the third floor yxinf reply:
very understanding LS situation, after all, is a novice, it is indeed a topic for your challenge, but can not be impatient, too not easily give up, to have studious and indomitable spirit, so you have to engage in development.
Analysis, LS can put into a few topics to learn to solve:
1 Learning Android App of some conventional development;.
2 master the basic knowledge of network communication, if you want to network-based communications socket, you can understand this knowledge, in fact, it is not difficult: the server program is nothing more than an open port, allowing mobile client to connect ( server IP, port to clear), after a successful connection to follow certain protocols, which send the encapsulated packet parsing out to do at the receiving end can be dealt with accordingly.
3 If you are familiar with Linux systems, it should not be difficult to build servers: server network to ensure the smooth flow; deployed on the server side of the application, and finally give some access to it.


Not familiar with linux ... Finally LAN communication can only be achieved under the orz ...
Ah ... but still very grateful to learn after their own multi-point try again!!!
Reply:
references, 4th Floor mountqi reply:
recommend using SMS to achieve. A mobile phone App to send out a message, the message content contains your instructions and special header, can be identified. SMS mobile phone monitoring app B, and if you receive an SMS, then analyzes the content, identifies the phone app A is the issue, then. . . . . You know.


Only a matter of time before the LAN to communicate in a ... orz

No comments:

Post a Comment