Time of Update: 2015-01-12
標籤:android android5.0 version Android迄今曆代版本名稱Alpha (1.0)Beta (1.1)Cupcake (1.5)Donut (1.6)Eclair (2.0–2.1)Froyo (2.2–2.2.3)Gingerbread (2.3–2.3.7)Honeycomb (3.0–3.2.6)Ice Cream Sandwich (4.0–4.0
Time of Update: 2015-01-12
標籤:android Layout_weight的理解SDK中的解釋:Indicates how much of the extra space in the LinearLayout will be allocated to the view associated with these LayoutParams. Specify 0 if the view should not be stretched. Otherwise the extra pixels will
Time of Update: 2015-01-10
標籤:1 什麼是AppleCare+服務從蘋果官網購買的硬體產品如ipad、iphone和MacBook等,官網承諾的保修期限是一年。AppleCare+是水果公司推出的一種保修服務,最大的特點就是將保修期限從一年延長至兩年,而且在合約規定時間內享受兩次碎屏、意外進水等意外事故的保障。這裡是AppleCare+的官網介紹:https://www.apple.com/cn/support/products/ipad.html2
Time of Update: 2015-01-11
標籤:好記性不如爛筆頭。今天要做的學習是關於bionic目錄下的代碼。首先需要看的是_errno.c這份代碼。volatile int* __errno( void ){ return &((volatile int*)__get_tls())[TLS_SLOT_ERRNO];}從上面可以看出,返回的是一個指向int類型的指標。
Time of Update: 2015-01-10
標籤:在project.properties裡加上 proguard.config=proguard.cfgproguard.cfg 配置如下:-optimizationpasses 5-dontusemixedcaseclassnames-dontskipnonpubliclibraryclasses-dontpreverify-verbose-optimizations
Time of Update: 2015-01-09
標籤:Android開發需要適配手機和平板,有些需求實現時就要求判斷裝置是手機還是平板。網上很多說通過裝置尺寸、DPI、版本號碼、是否具備電話功能等進行判斷,不過都不算太精確。這裡分享一個簡潔給力的方法(官方用法):/** * 判斷當前裝置是手機還是平板,代碼來自 Google I/O App for Android * @param context * @return 平板返回 True,手機返回 False */public static boolean isPad(Context
Time of Update: 2015-01-07
標籤:原文:【百度地圖API】如何激發手機的高解析度摘要:不少使用者使用百度地圖API開發在行動瀏覽器上的應用時發現,明明自己的手機是高解析度的,但是顯示出來的地圖卻比較模糊,甚至“看不清楚”。接下來,我們要學習如何激發手機瀏覽器的高解析度功能。--------------------------------------------------------------------------------以安卓手機為例,我們使用PhoneGap來寫一段API代碼。代碼A:&
Time of Update: 2015-01-08
標籤:Java related setup, class path, wherejava, different version and pathsJNI: Java: MainActivity call C function C funciton keep a VM reference and method references. JNI function in C will find env from
Time of Update: 2015-01-08
標籤:原文連結 http://blog.csdn.net/nodeathphoenix/article/details/7684230Android
Time of Update: 2015-01-08
標籤:出現如下情況ADB server didn‘t ACK* failed to start daemon *解決辦法:方法一:(1)查看工作管理員,關閉所有adb.exe,或者運行->cmd,在命令視窗輸入adb kill-server(2)重啟eclipse即可方法二,
Time of Update: 2015-01-09
標籤:disklrucache 本機快取MainActivity如下:package cc.vv;import java.io.File;import java.io.InputStream;import java.io.OutputStream;import libcore.io.DiskLruCache;import libcore.io.Utils;import android.os.Bundle;import android.os.Handler;import
Time of Update: 2015-01-07
標籤:/* * Obtain the window manager and default display, which we will use to * find out the size of the device‘s display (in pixels) */ WindowManager windowManager = (WindowManager)
Time of Update: 2015-01-08
標籤:it_xiao小巫 android開發 Android UI-
Time of Update: 2015-01-07
標籤:?Source:https://blog.netspi.com/ios-tutorial-dumping-the-application-heap-from-memory/An essential part of pentesting iOS applications is analyzing the runtime of the application. In this blog, I will be covering how to dump the heap from an iOS
Time of Update: 2015-01-08
標籤:Memory Options是模擬器的運行記憶體大小,類比電腦記憶體大小,就是在設定->應用程式中,正在運列標籤頁下面顯示的那個大小Internal storage是模擬器內建儲存空間大小,用於存放安裝程式和程式資料的,就是在設定->應用程式中,其它標籤頁下面顯示的那個大小SD card就不用解釋了吧?就是SD卡儲存空間大小其它的一項一項來:AVD
Time of Update: 2015-01-07
標籤:android///一般的,view測量的方法:@Override public void onCreate(Bundle savedInstanceState)
Time of Update: 2015-01-07
標籤:Android 感應器登出的方法為:public void unregisterListener (SensorListener listener)用這個方法登出監聽器. 今天發現這個方法不好使用了, 調用以後,感應器根本就取消不了. 經過搜尋也沒有發現有其他的取消方法. 用Debug仔細調試看日誌,發現, 每次進入感應器的介面Activity 時, 都出現了兩個感應器, 這導致了Activity
Time of Update: 2015-01-07
標籤:android 今日頭條 頂部導覽列 導覽功能表 隨著時間的推移現在的軟體要求顯示的內容越來越多,所以要在小的螢幕上能夠更好的顯示更多的內容,首先我們會想到底部功能表列,但是有時候像今日頭條新聞用戶端要顯示的內容太多,而且又想在主介面全部顯示出來,所以有加了頂部導覽列。今日頭條頂部導覽列地區的主要部分是一個導覽功能表。導覽功能表是一組標籤的集合,在新聞用戶
Time of Update: 2015-01-06
標籤:今天在想看看以前做過的項目代碼,發現運行了幾次沒部署到手機上,於是在eclipse看了一眼,發現報錯了,不是代碼報錯,Installation error: INSTALL_FAILED_VERSION_DOWNGRADE Please check logcat output for more details. Launch
Time of Update: 2015-01-06
標籤:如果用的資料庫是access資料庫 可以把資料庫檔案放到bin\debug下面,引用相對位置就可以了如果程式中有上傳檔案,而程式需要使用到該檔案,那麼我們最好也是引用相對檔案,我們只需要在資料表中的對應欄位存放檔案名稱,然後我們去載入bin\debug下面的對應的上傳檔案夾下的檔案。所以如果我們像這樣相對位置,那麼我們上傳後的位置也應該放到bin\debug\檔案夾下面。C# 想要程式檔案移動 而資料保持相對位置