Time of Update: 2015-08-17
標籤:android Regex 判斷 工具類package com.yaowen.mytest;import java.io.IOException;import java.util.regex.Matcher;import java.util.regex.Pattern;public class Check { // 判斷電話 public static boolean isTelephone(String phonenumber) {&
Time of Update: 2015-08-17
標籤:1:first: open two command wins to start appium: appium -p 4725 -bp 4726 -U EP7333W0UR appium -p 4723 -bp 4724 -U 3a2acab thus,appium server for the devices has started 2:go to the directory of the project : cd
Time of Update: 2015-08-17
標籤:android error 錯誤提示:error: Error retrieving parent for item: No resource found that matches the given name
Time of Update: 2015-08-15
標籤:1.隨身碟如下,插入後都是直接在win裡面顯示的2.選擇串連u盤3.u盤就可以在虛擬機器裡面顯示了4.彈出則選擇中斷連線擴充:如果無效:請參考這種方法(給虛擬機器分配一個臨時硬碟,然後設定這個臨時硬碟的路徑為隨身碟或者移動硬碟,具體參考這篇文章:http://www.cnblogs.com/dunitian/p/4707828.html)VMware 中如何開啟隨身碟彈出隨身碟或者移動硬碟的(兩種方法)
Time of Update: 2015-08-17
標籤:android studio 換行 輔助線 前面的版本的設定變動比較大,我只說1.3.1的,其他版本的自己微調,settings >>editor>>code style 右邊的Right margin(columns)的值是輔助線的寬度,如果你的介面中沒有輔助線,那麼你還得把settings>>editor >&
Time of Update: 2015-08-17
標籤: 原文連結: http://blog.sina.com.cn/s/blog_658c8cea0101mdhp.html 步驟如下:1.
Time of Update: 2015-08-16
標籤:ios ui 一iOS概述UI設計的條件設定iOS系統架構層次二程式的執行順序一、iOS概述iOS(最初,蘋果公司並沒有給隨iPhone發行的iOS一個獨立的稱謂,直到2008年3月6日才給它取名為iPhone OS,並於2010年6月改名為現在的名字iOS)是由蘋果公司為行動裝置所開發的作業系統,支援的裝置包括iPhone、iPod touch、iPad及Apple TV等。與Android及Windows
Time of Update: 2015-08-17
標籤:首先在工程中匯入MapKit.framework庫檔案1 #import <UIKit/UIKit.h>2 3 @interface AppDelegate : UIResponder <UIApplicationDelegate>4 5 @property (strong, nonatomic) UIWindow *window;6 7 @end 1 #import "AppDelegate.h" 2 #import "RootViewController.h"
Time of Update: 2015-08-14
標籤:android5-x jni 閃退 日誌資訊如下: 08-14 15:48:41.127: A/art(5526): art/runtime/check_jni.cc:70] JNI DETECTED ERROR IN APPLICATION: illegal class name ‘xxx.xxx.xxx’ 08-14 15:48:41.127: A/art(5526):
Time of Update: 2015-08-16
標籤:IOS沙箱目錄解析出於安全考慮,iOS系統的沙箱機制規定每個應用都只能訪問當前沙箱目錄下面的檔案(也有例外,比如系統通訊錄能在使用者授權的情況下被第三方應用訪問),這個規則把iOS系統的封閉性展現的淋漓盡致。一、沙箱中幾個主要的目錄每個沙箱下面都有相似的目錄結構,如所示(出自蘋果官方文檔):每個應用的沙箱目錄都是相似的,主要包含圖中所示的4個目錄:1、MyApp.app①存放內容該目錄包含了應用程式本身的資料,包括資源檔和可執行檔等。程式啟動以後,會根據需要從該目錄中動態載入代碼或資源到記
Time of Update: 2015-08-13
標籤:在AndroidManifest.xml中使用了如下的配置:<uses-permission android:name="android.permission.INSTALL_PACKAGES" /><uses-permission android:name="android.permission.DELETE_PACKAGES" />就會報錯:Permission is only granted to system
Time of Update: 2015-08-13
標籤:android 源碼 android 5.0 lollipop 隱式service 一.概述
Time of Update: 2015-08-12
標籤:UIScreenEdgePanGestureRecognizer名字很長,而且關於其文檔也是少的的可憐,蘋果官方給的唯一的一個屬性是edges,文檔中的解釋是這樣的:A UIScreenEdgePanGestureRecognizer looks for panning (dragging) gestures that start near an edge of the screen. The system uses screen edge gestures in some cases
Time of Update: 2015-08-14
標籤:ios uilabel 居上對齊 置中對齊 居下對齊 在iOS中預設的UILabel中的文字在豎直方向上只能置中對齊,博主參考國外網站,從UILabel繼承了一個新類,實現了居上對齊,置中對齊,居下對齊。具體如下:[cpp] view plaincopy// // myUILabel.h
Time of Update: 2015-08-13
標籤:測試1分鐘900多個包關鍵思路就是讀檔案,Python快速打包指令碼: 1 #!/usr/bin/env python 2 3 import zipfile 4 5 prefix = ‘channel_‘ 6 channel = ‘jyb‘ 7 8 try: 9 zipped = zipfile.ZipFile(‘a.apk‘, ‘a‘, zipfile.ZIP_DEFLATED)10 empty_channel_file =
Time of Update: 2015-08-12
標籤:android 選項菜單 操作功能表 菜單 選項菜單建立選項菜單Activity類的onCreateOptionMenu事件方法用來建立選項菜單,該方法定義如下:@Overridepublic boolean onCreateOptionsMenu(Menu menu) {return
Time of Update: 2015-08-12
標籤:androidAndroid CardView使用和匯入出錯問題第一部分:匯入Android CardView出錯的問題。Android
Time of Update: 2015-08-12
標籤:系列引入NHibernate3剖析系列分別從Configuration篇、Mapping篇、Session篇、Core篇、Tool篇、Practice篇、Extension篇等方面全面揭示NHibernate3版本內容、特性及其應用,完全基於NHibernte3版本。NHibernate專題:http://kb.cnblogs.com/zt/nhibernate/NHibernate官方網站:http://nhforge.org/NHibernate參考文檔:http://nhforge.
Time of Update: 2015-08-12
標籤:Fragment在Android3.0開始提供,並且在相容包中也提供了Fragment特性的支援。Fragment的推出讓我們編寫和系統管理使用者介面更快捷更方便了。 但當我們執行個體化自訂Fragment時,為什麼官方推薦Fragment.setArguments(Bundle
Time of Update: 2015-08-11
標籤:ActionMac OSXWin/Linux注釋代碼(//)Cmd + /Ctrl + /注釋代碼(/**/)Cmd + Option + /Ctrl + Alt + /格式化代碼Cmd + Option + LCtrl + Alt + L清除無效包引用Option + Control + OAlt + Ctrl + O尋找Cmd + FCtrl + F尋找+替換Cmd + RCtrl + R上下行動程式碼Option + Shift + Up/DownAlt + Shift +