原创 android/log

http://stackoverflow.com/questions/12159316/logging-values-of-variables-in-android-native-ndk #include <android/log.h>

原创 Android NDK Write File

http://stackoverflow.com/questions/4731314/android-ndk-write-file You can always access the directory in which your

原创 Linux應用程序調用指定路徑下的SO庫

Linux應用程序調用指定路徑下的SO庫: SO庫所在的指定路徑爲:/home/myUser/Demo/bin 在運行應用程序前: export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/home/myUser/

原创 WiX Wrapper Exe installer

WiX Wrapper Exe installer 使用WiX來封裝Exe成爲MSI文件 https://github.com/pennmanor/wix-wrapper/blob/master/owncloud.wxs <?xml v

原创 RegisterWindowMessage函數

發消息方: ... UINT Msg; ... Msg=::RegisterWindowMessage("put-guid-here"); ...

原创 Linux 通用Makefile模板

Linux 通用Makefile模板 經常寫些測試程序,很有必要有個通用的Makefile節省開發時間 【可執行程序通用makefile】 ------------------可執行程序通用makefile開始------------

原创 VS2008在調試時黃色箭頭與實際代碼行錯位的解決辦法

VS2008在調試時黃色箭頭與實際代碼行錯位的解決辦法 在VS2008調試C++代碼時,部分源碼文件出現了異常現象: 在代碼編輯器中,調試器的運行標記----黃色箭頭指向了當前運行的代碼行,但與真正運行的代碼行出現了錯位(不對齊),導致

原创 java與C/C++字節順序區別

java與C/C++字節順序區別   LITTLE-ENDIAN(小字節序、低字節序) BIG-ENDIAN(大字節序、高字節序) BIG-ENDI

原创 CDHtmlDialog的基本使用(C++調用JS函數的實現)

http://www.tsingfun.com/html/2015/dev_0826/CDHtmlDialog_cpp_call_js_interactive.html 《CDHtmlDialog的基本使用(JS調用C++函數的實現)》

原创 android,NDK, write logs to a file

android,NDK, write logs to a file I have this lines in my code (.c) : #define LOGI(x...) __android_log_print(AND

原创 Linux通用Makefile

#------------------可執行程序通用makefile 開始----------------------------------- C

原创 嵌入式 Linux下編譯並使用curl靜態庫

http://www.cnblogs.com/lidabo/p/5384018.html嵌入式 Linux下編譯並使用curl靜態庫  #x86  ./configure --disable-shared --enable-static

原创 C++ OpenSSL Parse X509 Certificate PEM

C++ OpenSSL Parse X509 Certificate PEM Here is a sample of OpenSSL C code parsing a certificate from a hardcoded strin

原创 javax.json JSON字符串操作

import javax.json.Json; import javax.json.JsonArray; import javax.json.JsonArrayBuilder; import javax.json.JsonBuilderF

原创 ERR_print_errors_fp(stdout)

ERR_print_errors_fp(stdout); 點贊 收藏 分享 文章舉報 bjgxjob 發