摘要: 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 o 阅读全文
posted @ 2016-02-09 22:30 孤单昊子 阅读(153) 评论(0) 推荐(0) 编辑
摘要: Here is a solution to solve the lack of LaTeX support: by using Codecogs API. For instance, if you need to type a formula y=ax2aa+bx+c Then you can ge 阅读全文
posted @ 2016-02-05 11:42 孤单昊子 阅读(137) 评论(0) 推荐(0) 编辑
摘要: 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 yo 阅读全文
posted @ 2016-01-10 12:32 孤单昊子 阅读(345) 评论(0) 推荐(0) 编辑
摘要: 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 i 阅读全文
posted @ 2015-05-03 00:52 孤单昊子 阅读(305) 评论(0) 推荐(0) 编辑
摘要: 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 阅读全文
posted @ 2015-03-01 15:22 孤单昊子 阅读(161) 评论(0) 推荐(0) 编辑
摘要: 回调里的self是另一个不同的东西了,通常是触发回调的对象,或_G或nil ,视情况而定 我的 print(self) 输出 userdata function MyClass:sayFromCallback() print('Hello~ in MyClass:sayFromCallback') 阅读全文
posted @ 2015-02-28 23:49 孤单昊子 阅读(576) 评论(0) 推荐(0) 编辑