Time of Update: 2015-01-14
標籤:phonegap建立的項目預設的啟動介面是phonegap的表徵圖,想去掉這個表徵圖,有兩個方法,第一就是將resourece下面的splash檔案下面的圖片改成自己想要的啟動頁面,名字要相同,替換掉它預設的幾張啟動圖片。第二是修改build setting裡general裡面的app icons and launch images,裡面的的launch images source修改成檔案的名字,也既是在images.xcassets裡面建立的launch
Time of Update: 2015-01-14
標籤:一、概念。 ListView是以垂直列表的形式顯示所有清單項目。二、使用 假設資料庫中有50個資料資訊(persons,包括name、number、money),通過ListView顯示出來。 1、向資料庫中50個person資訊。具體添加方式可參考資料庫章節介紹,採用資料庫例子中的dao2的add方法結合for迴圈增加。添加資料代碼如下:1 public void testAdd() throws Exception {2 PersonDao2 dao = new
Time of Update: 2015-01-14
標籤:button的建立方法有: //對象方法初始化 UIButton *btn = [[UIButton alloc]initWithFrame:CGRectMake(100, 50, 100, 75)]; //類方法初始化 UIButton *btn1 = [UIButton buttonWithType:UIButtonTypeRoundedRect]; //設定frame btn1.frame = CGRectMake(100, 100, 100,
Time of Update: 2015-01-14
標籤: UIToolbar *myToolBar = [[UIToolbar alloc] initWithFrame:CGRectMake(0.0f, 0.0f, 320.0f, 80.0f)]; NSMutableArray *myToolBarItems = [NSMutableArray array]; [myToolBarItems addObject:[[UIBarButtonItem alloc]initWithTitle:@"myTile"style:
Time of Update: 2015-01-14
標籤:接前文ProgressBar:Android開發的寶庫越來越多,我開發中有需要的組件,主要參考Trinea的大作Android開源項目分類匯總(包含了後面的絕大多數)、CSDN上直接拿來用!最火的Android開源項目還有CSDN上的直接拿來用!十大Material
Time of Update: 2015-01-14
標籤:最近在做HTML 5遊戲時,發布到手機上訪問網頁總是莫名其妙出現問題,苦於沒有remote debug功能一直沒有尋找到問題。這邊部落格詳細介紹了iOS, Android, Windows Phone的調試方法:http://developer.telerik.com/featured/a-concise-guide-to-remote-debugging-on-ios-android-and-windows-phone/1.
Time of Update: 2015-01-14
標籤:if ([CLLocationManager locationServicesEnabled] && ([CLLocationManager authorizationStatus] == kCLAuth
Time of Update: 2015-01-14
標籤:今天又一次鬱悶了,看Orchard真實學到不少東西哇!Web.Config裡面appSettings節點原來可以直接引用一個檔案,以前還老想著微軟真二,配置節點多了腫麼辦?本質上來說,每一個可執行檔的設定檔包含如下所示的一個入口:<?xml version="1.0" encoding="utf-8" ?><configuration> <appSettings file="settings.config"&g
Time of Update: 2015-01-14
標籤:按照書本上的Struts2的例子,運行會出現錯誤:HTTP Status 404 - There is no Action mapped for namespace [/] and action name [sayHelloAction!sayStruts2] ... 貌似在struts.xml中配置action的method不會出錯,而直接在jsp中寫“Action!Method.action”就會報錯。搜尋許久沒有發現解決辦法,後來發現第二種寫法叫做&
Time of Update: 2015-01-14
標籤:在這之前首先手機要開啟ROOT許可權,可以藉助安卓刷機精靈等一鍵ROOT軟體其次像魅族、小米等手機拿到ROOT以後不能執行su命令,所以無法給手機中的檔案授權,需要下載一個SuperSU許可權管理器有了他們我們就可以開始下面的步驟了:1.window->show view->other2. 輸入 file 尋找 3. 出來了吧4. 可惜啊,data檔案夾死活打不開啊,
Time of Update: 2015-01-14
標籤:iphone6 iphone66plus 狀態列 其實就是需要為iPhone6和iPhone6Plus加上相應尺寸的啟動圖片。圖片的解析度如下:LaunchImage圖片(必加):iPhone6: [email protected]
Time of Update: 2015-01-14
標籤:Java代碼 let orientation: UIInterfaceOrientation = UIApplication.sharedApplication().statusBarOrientation println("Currently landscape: " + ((orientation ==&
Time of Update: 2015-01-14
標籤:目錄 簡介 下載並運行 Jenkins配置 安裝git外掛程式 E-mail設定 &n
Time of Update: 2015-01-14
標籤:1.建立一個xml檔案,放在res/xml目錄下1 <?xml version="1.0" encoding="utf-8"?>2 <citys>3 <city count="1400" name="深圳">廣東</city>4 <city count="1500" name="廣州">廣東</city>5 <city count="1000" name="武漢">湖北<
Time of Update: 2015-01-14
標籤:今天使用Cursor c = db.rawQuery("select * from bus_line where ? like ‘%%‘;",new String [] {"linename"});查詢資料庫,想當然的以為from後面的表名也是可以用預留位置替代的,於是Cursor c = db.rawQuery("select * from ? where ? like ‘%%‘;",new String []
Time of Update: 2015-01-14
標籤:android 瀏覽器 應用程式 Google chrome Android
Time of Update: 2015-01-14
標籤:介面設計 拉手團購 程式設計語言 大項目 圖片 IOS8基礎組件UIButton/UIImage使用,Tag使用,Frame使用,transform使用IOS8各類連線及錯誤解決辦法適合對象:swift人群,oc轉swift人群,大學老師及學生,愛好ios開發人士。 學習條件:有一定swift基礎,oc基礎,或其
Time of Update: 2015-01-14
標籤:android autocompletetextview multiautocompletetextview //activity_main.xml<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http:
Time of Update: 2015-01-14
標籤:android togglebutton //activity_main.xml<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools"  
Time of Update: 2015-01-14
標籤:android checkbox //activity_main.xml<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" and