- 博客(6)
- 收藏
- 关注
转载 How to use Android Activity's finish(), onDestory() and System.exit(0) methods
Activity.finish()Calling this method will let the system know that the programmer wants the current Activity to be finished. And hence, it calls up onDestroy() after that.The system will re...
2016-02-09 22:30:00 104
转载 Workaround for Markdown blogging platform that to use LaTeX
Here is a solution to solve the lack of LaTeX support: by using Codecogs API.For instance, if you need to type a formulay=ax2aa+bx+cThen you can generate a image to replace the LaTeX form...
2016-02-05 11:42:00 92
转载 Android Bluetooth Stream Non-blocking Communication Tutorial
This is a tutorial for Android to do non-blocking bluetooth socket communication. I am using 32feet Bluetooth library, but it should be the same if you were using other network socket communica...
2016-01-10 12:32:00 99
转载 Python Socket File Transfer
I have a RPi which I intented to use it to crawl data. The development environment in RPi is very bad, so I did my programing in PC. This lead to an issue that I need to transfer the distributi...
2015-05-03 00:52:00 116
转载 How to avoid C# console applications from closing automatically.
One way is to interop it with msvcrt.dll You can pinvoke this C function into your C# application. This process is very easy. There are a few steps:1) Insert System.Runtime.InteropServi...
2015-03-01 15:22:00 86
转载 如何在cocos2dx lua的回调函数里面用self
回调里的self是另一个不同的东西了,通常是触发回调的对象,或_G或nil ,视情况而定 我的 print(self) 输出 userdatafunction MyClass:sayFromCallback() print('Hello~ in MyClass:sayFromCallback')endfunction MyClass:testCallbac...
2015-02-28 23:49:00 426
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人