Time of Update: 2015-01-16
標籤:商品配送系統手機WebApp開發(Asp.Net MVC5、HTML5、jQuery Mobile、Backbone)適合人群:中級課時數量:18課時用到技術:Asp.Net MVC5、HTML5、jQuery Mobile、Backbone涉及項目:手機WebApp、訊息推送、富文本編輯、後台接單諮詢QQ:18402155921.課程研發環境作業系統:Windows Server 2008 R2 SP1開發工具:Visual Studio 2013、WebStorm
Time of Update: 2015-01-15
標籤: 一個iPad項目中需要用到選擇省和市的功能,最初設計的是用彈出文字浮層,後來老闆覺得不夠美觀,就讓UE設計成了如下的樣子。該組件可以支援拖動、縮放以及全國省和市級行政區的點選。由於是公司的代碼,因此開源需要經過公司的審核,目前代碼還有一些效能問題,待後續效能完善及通過審核後會上傳到github,敬請期待。 該地圖組件實現起來不難,資料網上也有現成的(http://download.csdn.net/download/awen1983/716
Time of Update: 2015-01-15
標籤:Xml代碼 在布局中添加一個ImageViw和一個EditText。 Xml代碼 <ImageView android:id="@+id/loading_imageView_info" android:layout_width="wr
Time of Update: 2015-01-15
標籤:1.需要用到第三方庫 PinYin4Objc2.使用方法2.1 設定輸出格式HanyuPinyinOutputFormat *fmt = [[HanyuPinyinOutputFormat alloc]init];fmt.caseType = CaseTypeUppercase; // 表示按大寫字母輸出fmt.toneType = ToneTypeWithoutTone; // 表示不帶聲調 fmt.vCharType =
Time of Update: 2015-01-15
標籤: <?xml version="1.0" encoding="utf-8"?> <searchable xmlns:android="http://schemas.android.com/apk/res/android" android:label="string resource" android:hint="string resource"
Time of Update: 2015-01-16
標籤:防止按鈕連續點擊 其實實現很簡單 共通方法 public class Utils { private static long lastClickTime; public static boolean isFastDoubleClick() { long time = System.currentTimeMillis(); if ( time - lastClickTime < 500) {
Time of Update: 2015-01-14
標籤:android 圖片輪播動畫 /res/drawable/flag.xml<?xml version="1.0" encoding="utf-8"?><animation-list xmlns:android="http://schemas.android.com/apk/res/android"
Time of Update: 2015-01-14
標籤:android android開發 從API 8開始,新增了一個類:android.media.ThumbnailUtils這個類提供了3個靜態方法一個用來擷取視頻第一幀得到的Bitmap,2個對圖片進行縮減處理。public static Bitmap createVideoThumbnail (String filePath, int
Time of Update: 2015-01-14
標籤:mystra android imageview 圖片轉換 判斷圖片 確認ImageView的圖片是否載入成功本文地址:http://blog.csdn.net/caroline_wendy判斷ImageView圖片是否存在,未載入成功,就顯示預設圖片。 if
Time of Update: 2015-01-14
標籤:permission blank border target style 650) this.width=650;" title="QQ20150112140728" style="border-left- 0px; border-right-width: 0px; border-bottom-width: 0px;
Time of Update: 2015-01-14
標籤:乾貨從API 8開始,新增了一個類:android.media.ThumbnailUtils這個類提供了3個靜態方法一個用來擷取視頻第一幀得到的Bitmap,2個對圖片進行縮減處理。public static Bitmap createVideoThumbnail (String filePath, int kind)第一個參數是視頻檔案的路徑,第二個參數是指定圖片的大小,有兩種選擇Thumbnails.MINI_KIND與Thumbnails.MICRO_KIND。第一種文檔上說大小是5
Time of Update: 2015-01-14
標籤:1. ImageButton 繼承自 ImageView。兩者具備甚小,因為 ImageView 同樣可以點擊相應,同樣有點擊的陰影製作效果。實際上他們的區別在於預設 style。比如同樣放一個背景和一個圖片,會發現 ImageButton 的圖片會置中,但大小不伸縮。但在 ImageView 裡的圖片會置中而且按控制項空間大小自動調整。造成這個區別的是 ImageView 的一個參數:android:scaleType="fitCenter",這個會自動調整。不會自動調整的
Time of Update: 2015-01-13
標籤:(1)比較文藝的做法:寫一段代碼,把圖片匯入到模擬器的相簿中,但是這種方法,匯入的圖片經常出現丟三落四的現象,不知為何。- (void)viewDidLoad { [super viewDidLoad]; for (int index=1; index<11; index++) { NSString *imgName=[NSString stringWithFormat:@"%d.jpg",index]; UIImage *
Time of Update: 2015-01-12
標籤:在做camera和SurfaceView做網路攝影機程式時,需要擷取camera支援的相片大小,在低版本sdk中沒有getSupportedPictureSizes函數,怎麼辦呢,請參閱下面的關鍵代碼:1、定義Size類 public class Size { /*** * Sets the dimensions for pictures. * * @param w the photo width (pixels) * @param h
Time of Update: 2015-01-13
標籤:ios我們可以使用第三架構AFNetworking,用它的post方法進行與伺服器進行通訊。若伺服器返回的userId為10則成功,返回的為11則表示使用者名稱或者密碼錯誤。<span
Time of Update: 2015-01-11
標籤:cocos2dx android Regex regex 密碼校正 /************************************************************************//* 密碼校正
Time of Update: 2015-01-13
標籤:手機視頻開發技術 android視頻開發 音視頻解決方案 surfaceview問題 android視頻開發包 近日,發現有較多朋友反饋在使用Chat SDK音視頻解決方案,特別是在將標準android
Time of Update: 2015-01-13
標籤:多媒體 android play layout 儲存 錄製音訊步驟:1、建立錄音對象2、指定錄音裝置(初始化狀態)3、設定錄製音訊碼率4、設定錄製音訊編碼格式5、設定錄製音頻存放的位置6、準備錄音(準備狀態)7、開始錄音8、停止錄音9、釋放資源錄製聲音的許可權 <uses-permission
Time of Update: 2015-01-11
標籤:前段時間寫的Android平台開源項目:Fast ImageLoader,現在分享給大家源碼地址:https://github.com/cumtkangyi/Android-Fast-ImageLoaderAndroid Fast ImageLoaderA cool image cache for Android platform.DEMO地址 Sample Code ImageView imageView = new
Time of Update: 2015-01-12
標籤:基於Android平台的手機記賬應用開發全程實錄(Activity間資料傳遞、SQLiteDatabase、AsyncTask)課程分類:Android適合人群:中級課時數量:26課時用到技術:AsyncTask、drawable、SQLite、selector、layout涉及項目:基於Android平台的手機記賬應用諮詢QQ:18402155921.課程研發環境開發工具:Eclipse