原创 Android build error

from:http://music.573114.com/Blog/Html/942E/244932.html 最近在編譯更新過的4.0項目,之前都編譯的好好的,今天卻出現了下面的error: target SharedLib: libw

原创 Integrated kernel building

from: http://wiki.cyanogenmod.com/wiki/Integrated_kernel_building Contents [hide] 1 Inlining the kernel (and modules)

原创 error C2664: “void std::_Pmf_wrap

使用vs2013編寫cocos2dx的代碼:           _touchListener = EventListenerTouchOneByOne::create();_touchListener->setSwallowTouche

原创 網上得到的一個3D渲染引擎

#include <stdio.h> #include <stdlib.h> #include <math.h> #include <assert.h> #include <windows.h> #include <tchar.h>

原创 錯誤 1 error C2040: “menu”:“auto”與“cocos2d::Menu *”的間接尋址級別不同

今天在開發cocos2dx時,仿照MenuTest中的代碼創建Menu時遇到這個問題。 出問題的代碼如下: auto menu = Menu::create(item1, nullptr); 查網上的說法感覺不對,而且cpptest中也是

原创 android PowerManagerService分析

http://www.360doc.com/content/13/1212/08/11627991_336500840.shtml

原创 android對號碼中pause or wait的處理

具體代碼在GsmConnection中的pocessNextPostChar方法中。

原创 Firefox不顯示地址欄解決方案

使用控制面板卸載firefox然後,適用工具軟件清理下使用痕跡,再安裝。 點贊 收藏 分享 文章舉報

原创 Cygwin環境變量設置

可以在cygwin目錄下的Cygwin.bat中添加set 語句實現, 也可以在windows中設置環境變量 @echo offset HOMEPATH=e:\cygwin\work\path %PATH%; e:\cygwin\bin

原创 三) 搭建cocos2d-x-android環境 Windows XP3 + Eclipse + NDKR7(或ndkr7b)+COCOS2DX(沒有用到cygwin和minigw)

http://blog.csdn.net/maojudong/article/details/7261986 點贊 收藏 分享 文章舉報 qqbaby2005 發佈了28 篇原

原创 android安裝vim

參考:http://gdr.geekhood.net/gdrwpl/vim-android.php 點贊 收藏 分享

原创 android DTMFTwelveKeyDialer使用中的一個問題

最近發現在android 4.2中,此類在InCallScreen中實例化爲成員變量mDialer, 在InCallScreen中的onResume中有如下調用: mDialer.startDialerSession(); 在InCall

原创 handler爲activity的成員變量導致的內存泄露

先看一組簡單的代碼 1 2 3 4 5 6 7 8 9 public class SampleActivity extends Activity { private final Handler mHandler = ne

原创 MMS消息格式及封裝

轉自: http://www.iteye.com/topic/618885 在以上業務模型的介紹中,通訊流程中的主體是用於承載業務數據的PDUs(P

原创 linux壓縮解壓縮命令

zip -r myfile.zip ./* 將當前目錄下面所有的東西打包到myfile.zip unzip -o -d /home/sunny my