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-14
標籤:android 圓角矩形對話方塊 方式一:自訂對話方塊public class ProgersssDialog extends Dialog { private ImageView img; private TextView txt; public ProgersssDialog(Context context) { super(context,
Time of Update: 2015-01-14
標籤:1.下面這樣的數組,怎麼轉成模型 2.分析3.新增模型:城市分組,城市,區,每個模型都有name,抽一個父類4.每個模型分別具備的屬性BaseModel : NSObject 屬性 NSString *nameCitySection : BaseModel 屬性 NSArray *citiesCity : BaseModel 屬性 NSArray *districts;
Time of Update: 2015-01-14
標籤:建立一個空白的工程MyApplication,工程目錄如下: 1).idea .idea是一些xml設定檔,包括著作權。這個版塊知識有限,後續理解後將補充上。2) app app之於MyApplication相當於project之於eclipse的workspace,在android
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
標籤: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
標籤:iphone6 iphone66plus 狀態列 其實就是需要為iPhone6和iPhone6Plus加上相應尺寸的啟動圖片。圖片的解析度如下:LaunchImage圖片(必加):iPhone6: [email protected]
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
Time of Update: 2015-01-14
標籤:android翻頁效果 custom view 翻頁效果 翻頁 尊重原創轉載請註明:From AigeStudio(http://blog.csdn.net/aigestudio)Power by Aige
Time of Update: 2015-01-14
標籤:一、簡介 android app 自動構建伺服器用於自動下載app代碼、自動打包、發布,要建立這樣的伺服器,關鍵要解決以下幾個問題:1. android app 自動化打包android 的打包一般是人工通過eclipse或者studio的ui介面打包的,如果要讓系統自動打包,必須在控制台環境下;只要按照 google 的文檔,把 eclipse 或者 studio 工程轉化為 ant 或者 gradle 工程,就可以在控制台環境下打包了;這裡,我們選擇
Time of Update: 2015-01-14
標籤: 轉載請標明出處:http://blog.csdn.net/lmj623565791/article/details/40481055,本文出自:【張鴻洋的部落格】本文大多數內容翻譯自:http://www.doubleencore.com/2013/06/context/ 我重新組織了下內容以及結構,建議大家儘可能看下原文。 1、Context概念其實一直想寫一篇關於Context的文章,但是又怕技術不如而誤人子弟,於是參
Time of Update: 2015-01-14
標籤:蘋果地圖 ios 手機開發 歡迎轉載,轉載請註明出處本文地址:http://blog.csdn.net/zhenggaoxing/article/details/42710853綜述:這裡的蘋果地圖調用是指從咱們的軟體跳轉到蘋果地圖,我們要做的就是把資料設定弄好,在使用蘋果地圖就可以了蘋果地圖上展示一個點添加相關的framework我們要再蘋果地圖上展示一個點,需要什麼呢?1需要位置,2需
Time of Update: 2015-01-14
標籤:對於普通的cell來說我們一般可以直接根據cell的類型給予一個固定的高度,這種情況下我們控制項的布局和展示內容所需要的空間大小對我們來說是預知的,因此可以直接這樣實現;而對於某些更進階的需求情境來說(比如cell裡展示的是聊天資訊之類),我們想要把cell中的資訊全部展示,就不能夠在heightForRowAtIndexPath的代理方法中返回固定值了。那麼,我們的額外工作步驟分為以下幾步:step1:擷取到相應資料內容step2:根據資料內容,將cell布局step3:根