Time of Update: 2014-08-29
iOS_23_undress Girl,ios_23_undressgirl最終:關鍵代碼如下://// BeyondViewController.h// 24_showGirl//// Created by beyond on 14-8-26.// Copyright (c) 2014年 com.beyond. All rights reserved.//#import <UIKit/UIKit.h>@interface BeyondViewController :
Time of Update: 2014-08-29
iOS 改變字母的大小寫,iOS字母大小寫使用 lowercaseString,uppercaseString- (void)test{ NSString *testString = @"Hello World"; // lower case NSString *lowerCaseString1 = [testString lowercaseString]; NSString *lowerCaseString2 =
Time of Update: 2014-08-29
UI設計常用網站,ui設計前期:http://www.zcool.com.cn/中期:http://www.ui.cn/後期:https://dribbble.com/網站UI設計呵呵··是很棒哦,用的是全站FLASH做的。這種FLASH建全站的已經很少了。因為不支援搜尋引擎。。想一起進步學習WEB UI 群45731991 網站介面設計 ui設計 web20設計設計一個網站從來都不是一件容易的事。如果你去詢問一位在該行業有豐富經驗的網頁設計師,他會告訴你以前根本沒有太多關於Web設計/
Time of Update: 2014-08-29
動態建立ImageView,建立imageview1.布局檔案<LinearLayout android:id="@+id/viewGroup" android:layout_width="wrap_content" android:layout_height="wrap_content" android:gravity="center_horizontal"
Time of Update: 2014-08-29
【Android-tips】 Unable to execute dex: Multiple dex files define 解決方案,android-tipsdex 唔,之前已經想過今後不動android,沒想到還是因為比賽的原因重操舊業。android有很多問題是由於eclipse的不完善造成的,比如今天遇到的這個問題 Unable to execute dex: Multiple dex files define[2011-10-23 16:23:29
Time of Update: 2014-08-29
Android開之在非UI線程中更新UI,androidui當在非UI線程中更新UI(程式介面)時會出現如所示的異常:那如何才能在非UI線程中更細UI呢?方法有很多種,在這裡主要介紹兩種:第一種:在需要更新UI的程式碼後加Looper.prepare();與Looper.loop();兩句話即可。如:new Thread(){@Overridepublic void run() {// TODO Auto-generated method
Time of Update: 2014-08-29
(Android+IOS)正在做一個新聞App,做的差不多了,聽聽大家的建議
Time of Update: 2014-08-29
iOS 類檔案重新命名操作步驟,ios重新命名操作步驟為class修改名字:1. 在標頭檔中雙擊選中類名:@interface之後即為類名 (不選中,則重新命名選項將是disable的狀態);2. 工具列中選擇 Edit-Refactor - Rename;3.
Time of Update: 2014-08-29
Android 擷取手機SIM卡電訊廠商,androidsim直接上代碼:/** * 擷取SIM卡電訊廠商 * * @param context * @return */public static String getOperators(Context context) {TelephonyManager tm = (TelephonyManager) context.getSystemService(Context.TELEPHONY_SERVICE);String operator =
Time of Update: 2014-08-29
Android系統開發(4)——AutotoolsAutotools工具的構成1、autoscanautoscan是用來掃描原始碼目錄產生configure.san檔案的,configure.san包含了系統配置的基本選項,裡面都是一些宏定義,我們需要將它的名字改為configure.in2、aclocalaclocal是一個perl指令碼程式。aclocal根據configure.in檔案內容自動產生aclocal.m4檔案,產生的aclocal.m4檔案是宏展開檔案。3、autoconfau
Time of Update: 2014-08-29
Android鎖屏狀態下彈出activity在接收訊息廣播的onReceive裡,跳轉到你要顯示的介面。如:Intent intent = new Intent(arg0,MainActivity.class);intent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
Time of Update: 2014-08-29
android 在建立簡訊時,加入名稱為","(英文逗號)的連絡人時,應用崩潰請修改檔案/alps/frameworks/ex/chips/src/com/android/ex/chips/RecipientAlternatesAdapter.javaprivate static Cursor queryAddressData(Context context, ArrayList addressesList, int addressType)把這裡:
Time of Update: 2014-08-29
Android
Time of Update: 2014-08-26
Android隨筆之——PackageManager詳解一、PackageManager的功能: 1、安裝,卸載應用 2、查詢permission相關資訊 3、查詢Application相關資訊(application,activity,receiver,service,provider及相應屬性等) 4、查詢已安裝應用 5、增加,刪除permission 6、清除使用者資料、緩衝,程式碼片段等 &nb
Time of Update: 2014-08-25
【Qt UI】仿QQ表情選擇控制項,qtui
Time of Update: 2014-08-25
在Activity中判斷Service是否已經運行,activityservice正在研究Android,寫了一個Demo,需要在一個Activity中啟動service,感覺應該在啟動前判斷一下是否服務已經跑起來了,百度到如下代碼,留待備份。<pre name="code"
Time of Update: 2014-08-25
Android實現搖一搖功能,android實現 做過一個小項目,其中實現了搖一搖功能和刮一刮功能還有播放背景音樂等搖一搖功能主要用到加速度感應器:Sensor.TYPE_ACCELEROMETER搖一搖功能主要是監聽手機加速度變化,當超過設定的某一值時,即觸發事件。/** * FileName: MainActivity.java * @desc 該類是用於顯示搖一搖介面 * @author HTP * @Date 20140311 * @version 1.00
Time of Update: 2014-08-25
Android實現刮刮樂效果,android實現刮刮樂前幾個月剛接觸Android的時候做了一個小項目,其中也用到了類似刮刮樂的效果,現在把代碼貼出來首先要做一個類似橡皮擦的東西吧,然後才能把紙上的筆跡擦除/** * FileName: SplashActivity.java * * @desc 橡皮擦功能,類似刮刮樂效果 * @author HTP * @Date 20140311 * @version 1.00 */public class
Time of Update: 2014-08-25
判斷iOS6/iOS7, 3.5inch/4.0inch,ios6ios7Retina (3.5/4 inch Screen) or Non-Retina 判斷if ([[UIScreen mainScreen] respondsToSelector:@selector(scale)]) { if ([[UIScreen mainScreen] scale] == 2.0) { if([UIScreen mainScreen].bounds.size.height == 568
Time of Update: 2014-08-25
Android用戶端與服務端互動之登陸樣本,android樣本今天瞭解了一下android用戶端與服務端是怎樣互動的,發現其實跟web有點類似吧,然後網上找了大神的登陸樣本,是基於IntentService的1.後台使用簡單的servlet,支援GET或POST。這個servlet最終返回給前台一個字串flag,值是true或false,表示登入是否成功。