Time of Update: 2015-11-22
標籤:call、apply:作用:1、改變函數中的this,把第一個形參的值作為當前函數的this2、讓當前的函數執行例如:fn.call(obj)
Time of Update: 2015-11-19
標籤:Downloadmanager使用 DownloadManager是android提供的一個下載管理員 缺點:不支援斷點續傳使用方法:建立執行個體:DownloadManager manager = (DownloadManager) context.getSystemService(Context.DOWNLOAD_SERVICE);建立下載任務:DownloadManager.Request request = new
Time of Update: 2015-11-21
標籤:這個坑在文章記一次在Windows上搭建React Native Android環境踩過的坑中我已經提到過,當時找不到解決方案,只能開一個命令提示字元終端獨立執行打包。就像這樣子react-native bundle --platform android --dev false --entry-file index.android.js --bundle-output
Time of Update: 2015-11-20
標籤:android gridview android
Time of Update: 2015-11-19
標籤:首先,需要匯入兩個架構然後,註冊通知檢測耳機的插入與拔出操作1 [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(outputDeviceChanged:)name:AVAudioSessionRouteChangeNotification object:[AVAudioSession sharedInstance]];2 [[NSNotificationCenter
Time of Update: 2015-11-21
標籤:寫了一段測試代碼運行時一直報錯:The method sendKeys(CharSequence[]) in the type WebElement is not applicable for the arguments (String)測試代碼:driver.findElement(By.name("wd")).sendKeys("selnium");原因:舊版本的Java不理解非隨機變數參數解決方案:在工程上點擊右鍵選擇Build
Time of Update: 2015-11-20
標籤:Xcode SVN提交實際開發中,提交代碼時,左側往往出現一些字母和符號,對於一些人來說比較困惑,不解其意,為了方面大家開發,抽空整理了一下 字母示意"M" = Locally modified //本地修改"U" = Updated in repository //倉庫中被更新"A" = Locally added //本地新增 "D" = Locally deleted
Time of Update: 2015-11-21
標籤: 今天是雙休日,可憐沒人陪,只好一個人玩電腦了,之前別人一直給我推薦genymotion模擬器,說各種方便,秒殺Android內建模擬器,所以就趁這個周末搞了一下,總體感覺還挺不錯的,確實比Android只帶的模擬器快多了。好了,下面開始介紹一下如何配置安裝genymotion,你還別小瞧它,我從上午9點多開始弄,直到剛剛才把各種BUG解決成功啟動,廢話不多說,下面開始我們的介紹: 首先工欲善其事,必先利其器,我們首先需要下載genymotion模擬器,個人推薦官網下載:https:/
Time of Update: 2015-11-21
標籤:遇到的錯誤The resource could not be loaded because the App Transport Security policy requires the use of a secure connection.少年莫慌,這是升級的ios9的https問題,解決起來很簡單,關閉他,咱還是用http解決1:在Info.plist中添加NSAppTransportSecurity類型Dictionary。
Time of Update: 2015-11-19
標籤: 提示: 後面附有檔案,不喜歡看吐槽的,直接到文章結尾下載 摘要:Data Access Application Block 是一個 .NET 組件,包含最佳化的資料存取碼,可以協助使用者調用預存程序以及向 SQL Server 資料庫發出 SQL 文本命令。它返回 SqlDataReader、DataSet 和 XmlReader 對象。您可以在自己的 .NET 應用程式中將其作為構造塊來使用,以減少需要建立、測試和維護的自訂代碼的數量。您可以下載完整的 C# 和
Time of Update: 2015-11-21
標籤:轉自:http://blog.csdn.net/libaineu2004/article/details/41548313<?xml version="1.0" encoding="utf-8" ?> <resources> <color name="transparent">#00000000</color><!--透明色 --> <color
Time of Update: 2015-11-20
標籤:如何安裝和卸載應用程式到RaspberryPi2? 如何配置應用程式在RaspberryPi2開機後自動啟動?How to install your app into RaspberryPi2?How to configure your app automatically start up after device booting?
Time of Update: 2015-11-19
標籤:新開發的網頁需要在手機或是類比機上運行測試,可以藉助 Chrome提供的手機網頁預覽程式進行簡單調試。查看 製作的網頁是否能夠適合各種手機型號使用。下面所以下如何使用Chrome調試多類型手機網頁。首先 下載Chrome 瀏覽器。在你要調試的網頁或是本地頁面中。按F12 開啟調試器。(即開發人員模式)//============================================== 手機網頁調試利器: Chrome
Time of Update: 2015-11-19
標籤:從相簿擷取圖片進行編輯 1、搭建介面,添加按鈕進行關聯2、從點擊按鈕跳轉到相簿的介面3、選擇將要跳轉下一頁面4、已經完成選擇圖片 @property (nonatomic, strong)UIScrollView *sv;@property (nonatomic, strong)NSMutableArray *seletedIVs;@end @implementation ViewController-
Time of Update: 2015-11-19
標籤:http://arstechnica.com/information-technology/2015/11/visual-studio-now-supports-debugging-linux-apps-code-editor-now-open-source/------------------------Developers can now debug apps running on Linux servers or IoT devices from the comfort of
Time of Update: 2015-11-19
標籤:接手了一個項目,裡面用到的播放庫比較老並且播放效果不是很穩定,下載了最新的MobileVLCKit編譯了一把,跟大家分享一下編譯過程:我的環境是xcode7.1 ,sdk是9.1編譯過程:參考 https://wiki.videolan.org/VLCKit 中的Building the framework for iOS項在終端中執行 git Clone
Time of Update: 2015-11-20
標籤:一、概述iPhone中處理觸控螢幕的操作,在3.2之前是主要使用的是由UIResponder而來的如下4種方式: - (void)touchesBegan:(NSSet *)touches withEvent:(UIEvent *)event - (void)touchesCancelled:(NSSet *)touches withEvent:(UIEvent *)event - (void)touchesEnded:(NSSet *)touches
Time of Update: 2015-11-20
標籤:經常用到的命令有:1.從伺服器端下載代碼到本地在終端中輸入svn checkout svn://localhost/mycode --username=gwh --password=123
Time of Update: 2015-11-20
標籤:Clean了一下Project,然後就報了如下錯誤!ENTRY com.release.nattable.well_analysis 2 0 2015-11-20 17:04:44.609!MESSAGE Could not resolve module: com.release.nattable.well_analysis [72] Unresolved requirement: Import-Package:
Time of Update: 2015-11-22
標籤:iOS7的最新版本引入了大量的視覺變化。從開發人員的角度來看,導覽列和狀態列是2個最顯而易見的變化。狀態列現在是透明/半透明的,也就是說view 可以透過狀態列,導覽列的背景映像可以向上延伸的狀態列的後面。預設的導覽列在iOS中7在我們進去的定製,讓我們先來看看由Xcode 5和iOS 7產生的預設導覽列。只需用單-視圖-控制器模板的Xcode項目。嵌入視圖控制器在導航控制器。如果您不想從頭開始,你可以下載這個樣本的Xcode項目。Xcode5下面有iOS