Time of Update: 2014-07-12
標籤:android
Time of Update: 2014-07-12
標籤:android定位 locationmanager googlemap android提供了LocationManager來取得位置,用LocationListener來監聽位置的變化先做一些初始化工作:/** latitude and longitude of current location*/public static String mLat =
Time of Update: 2014-07-11
標籤:android des style blog http color 1. onAttach ------called once the fragment is associated with its activity 2. onCreate-------called to do
Time of Update: 2014-07-11
標籤:style blog color 使用 os io 最近公司開發項目前端使用一個js架構,後端使用ef,js前台讀取的json採用實體的dto來進行產生。在網上看到了EmitMapper相對其他映射架構處理速度可以更快,就拿來用了。下面是代碼中常用的幾個塊。1.普通的映射。
Time of Update: 2014-07-10
標籤:android style blog http java 使用 小白:之前分享了ViewStub標籤的使用,Android還有其他最佳化布局的方式嗎?小黑:<merge
Time of Update: 2014-07-10
標籤:edittext 中文檢測 EditText可以通過layer-list來繪製背景:<?xml version="1.0" encoding="utf-8"?><layer-list xmlns:android="http://schemas.android.com/apk/res/android"><item> <
Time of Update: 2014-07-11
標籤:android style blog http color 使用 首先,推薦文章,http://blog.csdn.net/hqdoremi/article/details/9980481,http://www.docin.com/p-571954086.html我理解measure的作用
Time of Update: 2014-07-10
標籤:nsdate 時間間隔 時間段 判斷時間是否在某個時間段內 應用中設定一般會存在這樣的設定,如夜間勿擾模式,從8:00-23:00,此時如何判斷目前時間是否在該時間段內。痛點主要在於如何用NSDate產生一個8:00的時間和23:00的時間,然後用當前的時間跟這倆時間作對比就好了。下面提供兩條思路:法1.用NSDate產生目前時間,然後轉為字串,從字串中取
Time of Update: 2014-07-11
標籤:android style blog java color 使用 這個錯誤是和調用相機網路攝影機相關的。產生這個錯誤的原因主要在於代碼控制解析度的顯示和真機測試解析度不一樣。 一:解決辦法WindowManager wm = (WindowManager)
Time of Update: 2014-07-09
標籤:http 使用 檔案 資料 os cti 在 iOS 程式中當想要在文字框中輸入資料,輕觸文字框會開啟鍵盤。對於 iPad 程式,其鍵盤有一個按鈕可以用來關閉鍵盤,但是 iPhone 程式中的鍵盤卻沒有這樣的按鈕,不過我們可以採取一些方法關閉它。例如,我們可以實現按下 Rerun
Time of Update: 2014-07-11
標籤:android 布局 layout
Time of Update: 2014-07-09
標籤:des style 使用 strong 檔案 os openssl
Time of Update: 2014-07-09
標籤:android blog http java 使用 strong 這是我在編譯android源碼時整理記錄的編譯步驟和錯誤解決方案,期間參考了一些網上的部落格和教程。第一步:安裝ubuntu12.04,分配一盤空間50G,2G記憶體。如果分配1G記憶體編譯時間將報錯。(我是在虛擬機器中安裝
Time of Update: 2014-07-09
標籤:http 檔案 width os 問題 cti 必須條件:99美元的帳號,沒有這個就不用再往下看了。 首先,登入到http://developer.apple.com/devcenter/ios/index.action,如果已經購買了iPhone Develop
Time of Update: 2014-07-09
標籤:style color 使用 width os art 增加 CoreImage.framework CoreGraphic.framework 等庫在使用時引入:#import<Accelerate/Accelerate.h> ,支援iOS 5.0
Time of Update: 2014-07-10
標籤:style blog http java color strong 報錯提示為:org.hibernate.hql.ast.QuerySyntaxException: customers is not mapped [from customers as c]服務層代碼 為:public
Time of Update: 2014-07-10
標籤:android style blog http color 使用 首先說最根本的解決方案:手機訪問時,會附帶發送user-agent資訊,這個資訊裡面會有手機號碼資訊,那麼如果能取得手機號碼,則可以肯定是通過手機wap訪問的。但是目前中國移動已經屏蔽了user-agent資訊,所以擷取不到
Time of Update: 2014-07-10
標籤:android http 2014 問題 div window 最近很多朋友在問,為毛在WINDOWS下對了,跑ANDROID的虛擬機器或者真機就黑屏了, 有的是只有FPS資訊,有的是連FPS資訊都沒有。如果是程式能夠正常啟動,不會閃退,但顯示不對。 那十有八九都是指令碼有問題。
Time of Update: 2014-07-10
標籤:blog http color 2014 問題 rgb 剛開始接觸移動端的開發,發現input元素在iPhone中獲得焦點時會出現一個半透明的背景,要去掉這個半透明背景需要設定以下樣式-webkit-tap-highlight-color:rgba(0,0,0,0);tap-highlig
Time of Update: 2014-07-10
標籤:strong os cti io div ar 由於是測試版的系統,在各方面都不穩定,又想升回去。另外當前 iOS8 升級測試版,需要 iPhone 手機加入 UUIC 開發人員帳號,如果沒有的話,會出現不能啟用。所以綜合總總原因,可能有的小夥伴想從 iOS8測試版 刷回 iOS7 系統。