458456

所属分类:android开发
开发工具:Java
文件大小:6118KB
下载次数:20
上传日期:2013-11-09 17:43:59
上 传 者yuulin
说明:  android在wifi下手机与电脑的socket通信,应用程序编程源码,很好的参考资料。
(Socket communication under WiFi Android mobile phone and computer, application programming source code, a good reference.)

文件列表:
android在wifi下手机与电脑的socket通信.doc (149504, 2012-07-05)
workspace (0, 2013-11-09)
workspace\ControlPC (0, 2011-12-26)
workspace\ControlPC\.classpath (364, 2011-12-26)
workspace\ControlPC\.project (845, 2011-12-26)
workspace\ControlPC\AndroidManifest.xml (1075, 2011-12-28)
workspace\ControlPC\assets (0, 2011-12-26)
workspace\ControlPC\bin (0, 2011-12-30)
workspace\ControlPC\bin\classes (0, 2012-01-17)
workspace\ControlPC\bin\classes.dex (23020, 2011-12-30)
workspace\ControlPC\bin\classes\gjz (0, 2012-01-17)
workspace\ControlPC\bin\classes\gjz\ControlPC (0, 2012-01-17)
workspace\ControlPC\bin\classes\gjz\ControlPC\ControlPCActivity$1.class (2313, 2012-01-17)
workspace\ControlPC\bin\classes\gjz\ControlPC\ControlPCActivity$2.class (2042, 2012-01-17)
workspace\ControlPC\bin\classes\gjz\ControlPC\ControlPCActivity$3.class (2044, 2012-01-17)
workspace\ControlPC\bin\classes\gjz\ControlPC\ControlPCActivity$4.class (3681, 2012-01-17)
workspace\ControlPC\bin\classes\gjz\ControlPC\ControlPCActivity$5.class (1298, 2012-01-17)
workspace\ControlPC\bin\classes\gjz\ControlPC\ControlPCActivity$6.class (2285, 2012-01-17)
workspace\ControlPC\bin\classes\gjz\ControlPC\ControlPCActivity$7.class (3223, 2012-01-17)
workspace\ControlPC\bin\classes\gjz\ControlPC\ControlPCActivity$8.class (1554, 2012-01-17)
workspace\ControlPC\bin\classes\gjz\ControlPC\ControlPCActivity.class (9730, 2012-01-17)
workspace\ControlPC\bin\classes\gjz\ControlPC\mouseActivity$1.class (1365, 2012-01-17)
workspace\ControlPC\bin\classes\gjz\ControlPC\mouseActivity$2.class (1155, 2012-01-17)
workspace\ControlPC\bin\classes\gjz\ControlPC\mouseActivity$3.class (843, 2012-01-17)
workspace\ControlPC\bin\classes\gjz\ControlPC\mouseActivity.class (7784, 2012-01-17)
workspace\ControlPC\bin\classes\gjz\ControlPC\R$attr.class (325, 2012-01-17)
workspace\ControlPC\bin\classes\gjz\ControlPC\R$drawable.class (423, 2012-01-17)
workspace\ControlPC\bin\classes\gjz\ControlPC\R$id.class (1186, 2012-01-17)
workspace\ControlPC\bin\classes\gjz\ControlPC\R$layout.class (415, 2012-01-17)
workspace\ControlPC\bin\classes\gjz\ControlPC\R$string.class (412, 2012-01-17)
workspace\ControlPC\bin\classes\gjz\ControlPC\R.class (496, 2012-01-17)
workspace\ControlPC\bin\ControlPC.apk (158709, 2011-12-30)
workspace\ControlPC\bin\res (0, 2011-12-30)
workspace\ControlPC\bin\resources.ap_ (146794, 2011-12-30)
workspace\ControlPC\bin\res\drawable-hdpi (0, 2011-12-30)
workspace\ControlPC\bin\res\drawable-hdpi\bg_chat.png (132683, 2011-12-30)
workspace\ControlPC\bin\res\drawable-hdpi\ic_launcher.png (3966, 2011-12-30)
workspace\ControlPC\bin\res\drawable-ldpi (0, 2011-12-30)
workspace\ControlPC\bin\res\drawable-ldpi\ic_launcher.png (1537, 2011-12-30)
workspace\ControlPC\bin\res\drawable-mdpi (0, 2011-12-30)
... ...

======================================================================== SAMPLE APPLICATION : Keyexe ======================================================================== Disclaimer ---------- THIS SOFTWARE AND THE ACCOMPANYING FILES ARE DISTRIBUTED "AS IS" AND WITHOUT ANY WARRANTIES WHETHER EXPRESSED OR IMPLIED. NO REPONSIBILITIES FOR POSSIBLE DAMAGES OR EVEN FUNCTIONALITY CAN BE TAKEN. THE USER MUST ASSUME THE ENTIRE RISK OF USING THIS SOFTWARE. Terms of use ------------ THIS SOFTWARE IS FREE FOR PERSONAL USE OR FREEWARE APPLICATIONS. IF YOU USE THIS SOFTWARE IN COMMERCIAL OR SHAREWARE APPLICATIONS YOU ARE GENTLY ASKED TO SEND ONE LICENCED COPY OF YOUR APPLICATION(S) TO THE AUTHOR. IF YOU WANT TO PAY SOME MONEY INSTEAD, CONTACT ME BY EMAIL. YOU ARE REQUESTED TO CONTACT ME BEFORE USING THIS SOFTWARE IN YOUR SHAREWARE/COMMERCIAL APPLICATION. Contact info: Site: http:bizkerala.hypermart.net Email: anoopt@gmx.net ------------------------------------------------------------------------------------------------------------------------------- Usage : ------------------------------------------------------------------------------------------------------------------------------- The DLL contains 3 exported functions: 1) void installhook(HWND h); 2) void removehook(); 3) LRESULT CALLBACK hookproc(int ncode,WPARAM wparam,LPARAM lparam); Keydll3.dll: ----------- You should use installhook() to install the Keyboard hook. Pass a pointer of the main Application window as the parameter. Always use removehook() to remove the hook before your app exits. Change the Classname and window title in the call FindWindow(). The classname will be the classname of your application main window and the title set to the title of your application main window. Then compile and link the Files to obtain the .LIB and .DLL files. Application: ------------- When building your application, include the file 'Keydll3.h' in your project and also, do not forget to '#include' wherever necessary. Specify 'Keydll3.lib' in the additional modules section in the Project settings. And, do not forget to add the path to keydll3.lib to the library paths in visual studio. Otherwise, you will get a linker error. Put the .EXE and .DLL in the same folder and run the exe. See the sample project 'Keyexe' source for more details. The log of keystrokes is stored in a file 'Keylog.txt' in your temp folder.

近期下载者

相关文件


收藏者