Time of Update: 2015-02-11
標籤:通過判斷瀏覽器的userAgent,用正則來判斷是否是ios和Android用戶端。代碼如下:<script type="text/javascript">var u = navigator.userAgent, app = navigator.appVersion;var isAndroid = u.indexOf(‘Android‘) > -1 || u.indexOf(‘Linux‘) > -1; //android終端或者uc瀏覽器var isiOS = !
Time of Update: 2015-02-11
標籤:ios開發1.不能滾動self.scrollEnabled = NO;2.正常字型[UIFont systemFontOfSize:30.0f]3.加粗字型[UIFont boldSystemFontOfSize:30.0f]4.文字框位移self.textContainerInset = UIEdgeInsetsMake(TEXTVIEW_TOP_INSET, TEXTVIEW_LEFT_INSET, TEXTVIEW_BOTTOM_INSET,TEXTVIEW_RIGHT_INSET)
Time of Update: 2015-02-10
標籤:http://support.smartbear.com/viewarticle/63764/Applications developed using the iOS Developer Program (not the iOS Developer Enterprise Program) can be tested only on devices specified in the provisioning profile for the application. Application
Time of Update: 2015-02-10
標籤:原文:http://www.pocketmagic.net/2012/04/injecting-events-programatically-on-android/#.VEoIoIuUcaV 往下分析monkey事件注入源碼之前先瞭解下在android系統下事件注入的方式,翻譯一篇國外文章如下。Method 1: Using internal APIs方法1:使用內部APIsThis approach has its risks, like it is always with
Time of Update: 2015-02-09
標籤:電子倉庫管理系統,簡稱WMS系統,英文名Warehouse Management
Time of Update: 2015-02-09
標籤:3.0以前,android支援兩種動畫模式,tween animation,frame animation,在android3.0中又引入了一個新的動畫系統:property animation,這三種動畫模式在SDK中被稱為property animation,view animation,drawable animation。 可通過NineOldAndroids項目在3.0之前的系統中使用Property Animation1. View Animation(Tween
Time of Update: 2015-02-09
標籤: Android系統的架構 android的系統架構和其作業系統一樣,採用了分層的架構。從架構圖看,android分為四個層,從高層到低層分別是應用程式層、應用程式架構層、系統運行庫層和linux核心層。1.應用程式 Android會同一系列核心應用程式套件組合一起發布,該應用程式套件組合包括email用戶端,SMS短訊息程式,日曆,地圖,瀏覽器,連絡人管理程式等。所有的應用程式都是使用JAVA語言編寫的。
Time of Update: 2015-02-07
標籤: 移動APP伺服器端學習-2 http://jinganglang777.blog.163.com/blog/static/79085497201302154952792/ 移動App服務端架構設計 http://www.cnblogs.com/YamatAmain/archive/2013/06/09/3129452.html 從架構角度看移動App之爭 http://cn.kii.com/web/?p=589
Time of Update: 2015-02-07
標籤:nagios 網路 監控 check_trafficnagios對網路的監控,當達到某個設定的值,那麼就警示藉助於網上提供的資源,做下面的操作https://github.com/cloved/check_traffic/releases 下載最新版本的shell指令碼下載check_traffic.sh
Time of Update: 2015-02-10
標籤:TypesMethodsAndFields - smali - Some general information about how types, methods and fields are represented in dalvik bytecode - An assembler/disassembler for Android‘s dex format - Google Project HostingTypesMethodsAndFields Some general
Time of Update: 2015-02-09
標籤:1.自訂轉場動畫要寫的代碼很多,如果整個項目的轉場動畫都必須一致,則必須考慮把modal代碼封裝起來 secondVC *second = [[secondVC alloc] init]; second.modalPresentationStyle = UIModalPresentationCustom; second.transitioningDelegate = 自訂一個代理;
Time of Update: 2015-02-06
標籤:擷取驗證碼 倒計時 鑒於經常在註冊擷取驗證碼時候需要一個倒計時按鈕覺得很麻煩,抽點時間寫了一個TimeButton鍵鼠下特性,TimeButton使用的時候跟普通Button一樣沒有衝突,TimeButton在倒計時的時候返回了如果沒有超過剩下的時間再次進入會繼續跑時哦,TimeButton裡面完成了按鈕的點擊顯示和倒計時邏輯,TimeButton在activity銷毀後也會銷毀不會像線程一樣還在後台跑,TimeButto
Time of Update: 2015-02-06
標籤:android曆史版本對於android大家都很熟悉了,尤其是做android開發的你我他,但是曆史上總共發布了多少android版本?它們的時間節點是什嗎?它們的標誌是什麼呢?甜品命名法從什麼時候開始的呢?它們對應的API level又是什嗎?又有哪些版本後續發布了改進版本呢?又有哪些android系統版本發布的同時改進了API呢?這裡給你所有答案!參考:http://zh.wikipedia.org/zh-cn/Android%E6%AD%B7%E5%8F%B2%E7%89%88%E6
Time of Update: 2015-02-08
標籤:續上篇對於想用cocos2dx來開發Android遊戲的人來說,最痛苦的莫過於配置Android環境和之後的奇奇怪怪的編譯失敗問題。這是經曆了多次成功與失敗之後,血與淚的經驗包,大家請收好。如果你有更便捷的方法,請一定要指教我,感謝!android環境搭建由於中國長城的原因,你需要藉助一些外界的協助,比如VPN,又或者是這個網站:AndroidDevTools,裡麵包含android開發需要的絕大部分東西。對於android環境如何搭建,由於時間比較緊,我就不圖文並茂了,本篇我來簡單描述就
Time of Update: 2015-02-05
標籤:1.
Time of Update: 2015-02-05
標籤:除了高超的武藝,每位黑忍者還需要裝備最好的武器。在軟體開發的世界裡,好的工具能讓我們的生活變得更輕鬆,在更短的時間裡寫出更棒的代碼。時光回到2008年,那時安卓還很年輕。只有幾個相關的部落格和Google官方的幾個應用開發教程,沒有函數庫也沒有代碼產生器,甚至連成熟的設計模式也沒有(除了OOP和一些Java實踐)。今非昔比,我們已經有了一個成熟的OS、很棒的開發工具、穩定的Eclipse外掛程式和其他IDE,數不清的開發書籍和相關的技術部落格。這裡,我想分享自己在開發安卓應用時用到的工具和
Time of Update: 2015-02-05
標籤:1018. Binary Apple TreeTime limit: 1.0 secondMemory limit: 64 MBLet‘s imagine how apple tree looks in binary computer world. You‘re right, it looks just like a binary tree, i.e. any biparous branch splits up to exactly two new branches. We will
Time of Update: 2015-02-05
標籤:StringMEDIA_BAD_REMOVAL在沒有掛載前儲存媒體已經被移除。StringMEDIA_CHECKING正在檢查儲存媒體。StringMEDIA_MOUNTED儲存媒體已經掛載,並且掛載點可讀/寫。StringMEDIA_MOUNTED_READ_ONLY儲存媒體已經掛載,掛載點唯讀。StringMEDIA_NOFS儲存媒體是空白或是不支援的檔案系統。StringMEDIA_REMOVED儲存媒體被移除。StringMEDIA_SHARED儲存媒體正在通過USB共用。Stri
Time of Update: 2015-02-05
標籤:ios swift apple 1.1Converting valueSwift 不會自動類型轉換,要想類型轉換必須用Int(),Double,String() etc.var quantity = 42var unitPrice = 34.55println("The amount is \(Double(quantity)*unitPrice)") ________
Time of Update: 2015-02-05
標籤:c++ 遊戲 輔助 外掛 逆向 學習目標: 移動物品函數封裝 作業: 提取倉庫列表基址的特徵碼,添回倉庫列表基址更新代碼。 BOOL