原创 MFC 使用CRichEdit2
在MFC中使用RichEdit2,須先調用::AfxInitRichEdit();初始化RichEdit2控件。 可以在xxxApp::InitInstance()應用初始化時加載調用::AfxInitRichEdit()函數!!!
原创 android 釣魚程序
轉自:http://blog.csdn.net/su1216/article/details/8080680 導讀:文本介紹一種釣魚應用,講述如何騙取用戶的用戶名和密碼,無須root 這個話題是繼續android安全問題(二)
原创 android4.0上, baidu map 不能自動刷新問題
baidu map版本問題,不能支持android4.0。 解決辦法: 修改apk的sdk版本 <uses-sdk android:minSdkVersion="8" android:targetSdkVersion="10" />
原创 SurfaceView設置透明效果
在SurfaceView create時: setZOrderOnTop(true); getHolder().setFormat(PixelFormat.TRANSLUCENT); 在畫圖時用canvas.drawColor(Colo
原创 int 轉 string 輸出 (不用庫函數)
#include "stdafx.h" #include <iostream> #include <stdio.h> using namespace std; void testFormat(int number); int intTo
原创 android 簡單塗鴉
部分代碼借鑑網上。 看圖先: 主界面Activity : package com.mj.candraw; import android.app.Activity; import android.os.Bundle; import an
原创 自定義的彈出菜單
先上圖: 自定義的PopMenu類: package com.app.view; import java.util.ArrayList; import java.util.List; import android.content.Co
原创 Android應用程序永久獲取root權限方法
原文:http://hold-on.iteye.com/blog/1901152 Android應用程序永久獲取root權限方法 博客分類: Android java Androidroot權限應用程序永久獲取root權限
原创 ubuntu64 chrome 安裝flash插件
需要手動安裝flash插件 1、在adobe官網下載壓縮包: http://www.adobe.com/downloads, 找到64位的下載 2.解壓 : tar zxvf install_flash_player_1
原创 android 程序鎖
轉自:http://blog.csdn.net/su1216/article/details/8078308 導讀:本文介紹如何實現對應用加鎖的功能,無須root權限 某些人有時候會有這樣一種需求,小A下載了個軟件,只是軟件中的
原创 不使用佈局文件,代碼中自定義界面
package com.mj.testwindow; import android.app.Activity; import android.graphics.PixelFormat; import android.os.Bundle;
原创 vs2010: Cannot find or open the PDB file 問題解決
debug -> Options and Settings - > Symbols 勾選" Microsoft Symbols Servers"。 第一次編譯較慢,待編譯完成後,去掉勾選即可。 點贊 收藏 分享
原创 eclipse 安裝adt失敗問題
在eclipse上安裝adt時,一直報錯: Cannot complete the install because one or more required items could not be found.Software being
原创 android string.xml中格式資源字符串
string.xml中格式化字符串,並設置顏色等html標籤: 注意前後加: "<![CDATA[" 和 "]]>" <string name="
原创 android對應版本號
Platform Version API Level VERSION_CODE Notes Android 4.2 17 JELLY_BEAN_MR1 Platform Highlights Androi