Time of Update: 2015-08-19
標籤:今天更新sdk,遇到了更新下載失敗問題: Fetching https://dl-ssl.google.com/android/repository/addons_list-2.xmlFetched Add-ons List successfullyFetching URL: https://dl-ssl.google.com/android/repository/repository-8.xmlDone loading packages.Fetching https://dl-
Time of Update: 2015-08-19
標籤:轉自:http://blog.163.com/ray_jun/blog/static/1670536422011101225132544/出處:http://superman474.blog.163.com/blog/static/120661462011101115811199/ 關於iOS 5的本地檔案儲存Marco(Instapaper
Time of Update: 2015-08-19
標籤:android recyclerview去年google的IO上就展示了一個新的ListView,它就是RecyclerView。以下是官方的說明,我英語能力有限,不過我大概這麼理解:RecyclerView會比ListView更具有拓展性,使用更有效率,而且更靈活了,具體怎麼樣,時隔一年,我們也發現了它越來越強大,所以有必要去認識一下這個小夥伴了。The RecyclerView widget is a more advanced and flexible
Time of Update: 2015-08-19
標籤:ios代理傳值 ios block傳值 ios 通知傳值 ios單例傳值 ios nsuserdefault傳值
Time of Update: 2015-08-19
標籤:查漏補缺的宣言 ios 工作 從2014.6.30
Time of Update: 2015-08-19
標籤:官方網站:http://www.xfyun.cn/註冊還要綁定,坑啊,識別率感覺沒得語音好,但是語音審核一直不過,研究下這個1.下載sdk,主要就下面幾個檔案,我主要用的是語音辨識2.匯入相關的庫3.在官網上註冊一個應用,得到key,這裡用的我註冊的keyAppDelegate中匯入標頭檔#import <iflyMSC/iflyMSC.h>- (BOOL)application:(UIApplication *)application
Time of Update: 2015-08-19
標籤:添加 URL schemes 步驟:1.開啟info.plist檔案。2.點擊 “+ ”號添加,或者在列表上點擊滑鼠右鍵,選擇 Add Row。3.選擇 URL types。4.點擊三角號展開,找到 URL identifier,在其右邊添加 com.你的公司名.項目名稱。5.在 ”item 0 “點擊“ + ”號添加,選擇 URL schemes。6.在 URL
Time of Update: 2015-08-19
標籤:<!--APP下載端--> <style>.download-con{position:fixed;left:0;bottom:0;}.download-con
Time of Update: 2015-08-19
標籤:1. Applet 類Applet 類在使用時沒有main()方法,不能獨立運行,必須嵌入到網頁中,在網頁上顯示各種資訊和效果。所以Applet 類用於網頁互動的應用較為普遍。我們一般把Java Applet 程式稱為Java AppletApplet 類在java.applet 包中,在使用時必須載入該包Applet 類的定義形式: public class Applet extends Panel2. Apple 類中的方法生命週期方法:public void init()
Time of Update: 2015-08-19
標籤:*********#import "ViewController.h"#import "Province.h"@interface ViewController ()<UIPickerViewDataSource,UIPickerViewDelegate>@property (nonatomic,strong)NSArray *provinces;@property (nonatomic,assign)NSInteger
Time of Update: 2015-08-19
標籤:***控制層#import "ViewController.h"#import "CZKeyboardToolbar.h"@interface ViewController ()<CZKeyboardToolbarDelegate>@property (strong, nonatomic) UIDatePicker *datepicker;@property (weak, nonatomic) IBOutlet UITextField
Time of Update: 2015-08-19
標籤: 如題的問題,又是個讓我抓狂了大半天的問題,還是做個記錄,有與類似問題的同學可參考,但不一定對。具體問題還需具體分析。我遇到的需求是這樣的:有一個輸入框,輸入框內輸入文字,文字字數限制在20字。 我採用了UITextField作為我的輸入框控制項,並且在委託方法: - (BOOL)textField:(UITextField *)textField shouldChangeCharactersInRange:(NSRa
Time of Update: 2015-08-19
標籤:一、設定meta標籤<meta name="viewport" content="width=device-width,height=device-height,initial-scale=1.0,maximum-scale=1.0,minimum-scale=1.0,user-scalable=no;" />見文知意<meta name="apple-mobile-web-app-capable" content="yes"/>允許全螢幕模式瀏覽<meta
Time of Update: 2015-08-19
標籤:breakpoint set -s ""breakpoint set -M <method> ( --method <method> ) -S <selector> ( --selector <selector> ) -b
Time of Update: 2015-08-19
標籤:算是在平時學習中對遺留的問題或者搜尋出來的問題的答案吧。 1. 聲明property文法為: @property(參數)類型 名字; 這裡的參數主要分為以下幾類: 讀寫屬性(readwrite/readonly) setter語意(assign/retain/copy) 原子性atomicity(nonatomic)其它的含義不是很清楚,先copy別人的用著吧,還包括其它的什麼strong,weak什麼的,什麼引用計數+1啥的。 iOS學習零散知識點記錄
Time of Update: 2015-08-19
標籤:筆記:1. 在fragment裡面使用findViewById方法:listView = (ListView)view.findViewById(R.id.flexible_ListView); 2.
Time of Update: 2015-08-19
標籤:一.啟動Activity需要兩個Binder線程(Binder_1;Binder_2)的支援。啟動Service同樣需要。 他倆的主線程都是ActivityThread。 Looper.loop()是在ActivityThread的main(string[] args)中被調用的public static void main(String[] args) { SamplingProfilerIntegration.start();
Time of Update: 2015-08-19
標籤:力學動畫以dynamicAnimate為首的力學動畫是蘋果在iOS7加入的API,裡麵包含了很多力學行為,這套API是基於Box2d實現的。其中包含了重力、碰撞、推、甩、和自訂行為。涉及到的類如下涉及類描述UIDynamicAnimator相當於一個manager,用於管理所有添加的力學行為UIDynamicBehavior所有力學行為的父類,是一個抽象類別UIGravityBehavior重力UICollisionBehavior碰撞,彈力UIAttachmentBehavior吸附力U
Time of Update: 2015-08-19
標籤:今天在一台新機上,配置了一下Android環境。系統為win7旗艦版64位,下載了java8的安裝包“jdk-8u40-windows-x64.exe”,安裝在D盤:安裝完成,在案頭右鍵開啟命令列視窗,輸入“java
Time of Update: 2015-08-19
標籤:cookie android 之前的更新方式一搜cookies的使用,很容易搜到很多文章,基本的幾步大致相同,如:基本上都要求大家先調用cookieManager.removeAllCookie()或者調用 cookieManager.removeSessionCookie(),這樣確實每一次的setCookie都能寫入新的cookie,簡單粗暴有效。遇到的問題大家看setCookies的方法: /** *