標籤:UIButton *checkbox;BOOL checkBoxSelected;checkbox = [[UIButton alloc] initWithFrame:CGRectMake(x,y,20,20)// 20x20 is the size of the checckbox that you want// create 2 images sizes 20x20 , one empty square and// another of the same square with
標籤:1.JAVA_HOME環境變數失效的解決辦法原文網址:http://www.cnblogs.com/yjmyzz/p/3521554.html晚上把oracle內建的weblogic給卸載了,然後開啟eclipse,發現報錯了:Error: could not open `C:\Java\jre7\lib\amd64\jvm.cfg‘JAVA_HOME的環境變數值根本不是這個目錄,到CMD命令視窗下,用echo %JAVA_HOME%,也顯示正常,但是java
標籤:#include<opencv2\opencv.hpp>void colorReduce(cv::Mat &image, int div=64){ int nr= image.rows; // number of rows int nc= image.cols * image.channels(); // total number of elements per line if (image.isContinuous()) { // then no
標籤:.net開源 web service c# 本節主要講解伺服器端ASP.NET Web Service資料庫配置和操作,用戶端資料庫操作。HYAppFrame項目地址:https://sourceforge.net/u/chinahysoft/profile/1. 伺服器端資料庫操作HYAppFrame伺服器端通過ASP.NET Web
標籤:一個Android應用程式的生命週期用以解釋再清楚不過了.建立一個demo,代碼如下:public class MainActivity extends Activity {private static final String TAG = "Android_life";@Overrideprotected void onCreate(Bundle savedInstanceState)
標籤:tabhost的alertdialog對話方塊異常今天弄項目時發現一個有趣的錯誤BUG,特來記載一下,初步定義為視圖載入的問題,錯誤資訊先沾上來:java.lang.RuntimeException: Unable to start activity ComponentInfojava.lang.RuntimeException: Unable to start activity ComponentInfojava.lang.RuntimeException: Unable to