Description: Android环境下通过SOCKET传递Parcel包并解出数据的例子程序
在Android环境下,甲程序(C++程序)将数据封装在 Parcel 中,并把 Parcel 发送到SOCKET;乙程序(C++程序)通过SOCKET接收到Parcel包,并解出封装在其中数据。
附带所需的Android.mk文件,并说明如何编译运行。列出了程序的运行结果,最后对程序存在的一些问题做了分析,提出了解决的思路。-Android environment SOCKET pass through Parcel data packets and examples of solution procedures for the Android environment in which a program (C++ program) data package in the Parcel and Parcel sent to the SOCKET B procedures (C++ program) through the receiver SOCKET Parcel to the package, and a solution in which the data package. Incidental Android.mk required documents, and how to run the compiler. Procedures are listed in the results, the last of a number of problems in the procedure to do an analysis of the ideas put forward. Platform: |
Size: 125952 |
Author:code998 |
Hits:
Description: 通过Android手机去关闭电脑,适用windows系统。之前发了一个电脑端用java写的,在网上自学后用C语言写了这个电脑服务器端。注意,这个app对应这个客户端,之前发的不能通用。
在学习的过程中发现,关于C语言与java通过socket通信这方面比较少入门级的简单易懂的例子,在C的cpp里面写了一下一些学到的东西,不足之处望指导。java实现socket比较简单,就不写了。 -Android phone to turn off the computer, for windows system. Issued before a computer end written in java, written in C language the computer server-side after the online self-learning. Note that this app corresponds to the client, before the hair can not be universal. Found in the process of learning C language and Java is relatively small entry-level socket communication simple and understandable example, written in C cpp inside look at some of the learned, the inadequacies looking guidance. socket of java is relatively simple, do not write. Platform: |
Size: 929792 |
Author:ck |
Hits:
Description: 内涵基于socket网络通讯的聊天客户端代码,以及c#的服务端代码-this is a chat program which includes the client code in java and server code in c#,and they communicate by socket Platform: |
Size: 158720 |
Author:calabi |
Hits:
Description: C++编写的服务器端跟android上编写的手机客户端进行socket通信,传动多种数据。用VC6.0直接打开C++ Server,用eclipse直接打开android socketTest。注意修改一下安卓代码中的IP地址。-This demo provid a way to solve the problem of the communication of Android and C++ with socket Platform: |
Size: 4307968 |
Author:yixiuge |
Hits:
Description: android实时视频传输demo(含服务端)
使用安卓相机捕获视频,基于socket建立于server的实时视频传输。Server使用C#代码实现,支持多客户端预览。-android real-time video transmission demo (including server) using the Android camera to capture video, socket built on server-based real-time video transmission. Server using C# code, supports multi-client preview. Platform: |
Size: 1656832 |
Author:sol |
Hits:
Description: c#与android的Socket通信,服务器是c#,android是客户端-C# and Socket Android communication, the server is Android, c# is the client Platform: |
Size: 1855488 |
Author:孤星泪 |
Hits:
Description: 本系统结合Internet,GPRS以及嵌入式相关技术,实现了通过网络对家中情况进行实时监控; 项目有linux服务器、Android客户端,web客户端组成;服务器利用C语言的多线程操作,实现了视频采集,温度湿度监测,灯光控制;短信报警;通过socket实现与Android客户端远程通讯和实时传输视频和温湿度数据;安卓客户端通过多线程与服务器进行数据交换。Web客户端可以在PC上通过浏览器登录服务器查看监控视频和温湿度数据;对于温度超过预设值,服务器通过GPRS发送提示短息给客户手机,客户通过安装在手机上的安卓客户端可以接受实时监控画面,并通过客户端上的控制对家里温度的调节(通过M0上的风扇来模拟开空调),控制开关灯(通过M0上的LED点亮来实现)。- his system combined with Internet, GPRS and embedded technology, has realized the real-time monitoring of home through the network Projects have a Linux server, the Android client, web client Server using multithreaded operations of C language, has realized the video acquisition, temperature humidity monitoring, lighting control SMS alarm Through the socket and the Android client remote communications and real-time video transmission and temperature and humidity data The android client with multithreading server for data exchange.The Web client can log in the server on the PC via a browser view the surveillance video and temperature and humidity data For temperature than the preset value, the server through GPRS send prompt mobile phone short messages to customers, clients by installing the android mobile phones the client can accept real-time monitoring, and control on the client to adjust the temperature in the home (by means of the fan to simulate air conditioning M0), control turn Platform: |
Size: 6051840 |
Author:du |
Hits: