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-16
標籤:android 動態拖放 button 應用情境:小遊戲android要實現動態任意拖放圖片,使用imageview實現比較困難,在這裡介紹一種使用button的方法:1. 介面元素有任意個,使用者操作選中一個在螢幕上拖動,拖動完成後圖片元素停留在actionup的位置;2. 首先在介面設定任意個button元素,並設定background:<RelativeLayout
Time of Update: 2015-01-15
標籤://這個方法需要self調用,相當於加工一張圖片- (UIImage *)blurryImage:(UIImage *)image withBlurLevel:(CGFloat)blur{ //模糊度, if ((blur < 0.1f) || (blur > 2.0f)) { blur = 0.5f; }
Time of Update: 2015-01-16
標籤:android 對圖片編碼解碼demopackage com.example.appdemos;import java.io.ByteArrayOutputStream;import android.app.Activity;import android.graphics.Bitmap;import android.graphics.Bitmap.CompressFormat;import android.graphics.BitmapFactory;import
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
標籤:android studio android開發 library 寫在前面:Android Studio已經發布有一段時間了,目前版本為1.0.2之前在Beta的時候,就開始嘗試做項目了,比Eclipse功能強大很多近一段時間以來,一直在忙於項目,很少寫東西了,o(╯□╰)o不是一個好習慣呀看到網上很多人在找Android
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-14
標籤:ios uiimage存為本地檔案與uiimag UIImage *[email protected]"XXX";//png格式NSData *imagedata=UIImagePNGRepresentation(image);//JEPG格式//NSData *imagedata=UIImageJEPGRepresentation(image)
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-15
標籤:#import "ViewController.h"@import MediaPlayer;@interface ViewController (){ MPMoviePlayerController *_mov;}@property (weak, nonatomic) IBOutlet UIImageView *xianshi;@end@implementation ViewController-
Time of Update: 2015-01-15
標籤:/** * imageWithBackgroundImage:: * * @param backgroundImage 背景圖片名 * @param logoImage 浮水印圖片名 * * @return 加上浮水印後的圖片 */+ (instancetype)imageWithBackgroundImage:(NSString *)backgroundImage withLogoImage:(NSString *)logoImage{ UIImage
Time of Update: 2015-01-14
標籤:android android開發 https://github.com/nostra13/Android-Universal-Image-Loader整合上述源碼資源是好不容易下載到的,關於代碼,沒什麼好說的。說點這期間遇到的問題。漫畫
Time of Update: 2015-01-14
標籤:// 裁剪圖片public void cropPhoto(Uri uri) {if (uri ==null) {return;}Intent intent = new Intent("com.android.camera.action.CROP");//動作-裁剪intent.setDataAndType(uri, "image/*");//類型intent.putExtra(MediaStore.EXTRA_OUTPUT,
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
標籤:1. 建立應用首先進入iTunes Connect然後按下 Manage Your Applications接下來按下Add New Applicationbutton建立應用2. 在應用中建立IAP建立應用之後,在Manage Your Applications中點應用的圖示,進入應用就會看到畫面點擊Manage In App Purchases就能夠進入IAP的管理畫面在這邊要注意左邊的Bundle
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;