原创 [翻譯]如何安裝ACRA-一個Android應用Crash跟蹤系統

[翻譯]如何安裝ACRA-一個Android應用Crash跟蹤系統 —在你自己的服務器上 How to setup ACRA, an Android Application Crash Tracking system, on yo

原创 HttpURLConnection,HttpClient,Volley

HttpURLConnection 繼承關係: java.lang.Object -java.net.URLConnection -java.net.HttpURLConnection Htt

原创 Android 通過短鏈接,獲取長連接

package com.example.httptest; import android.app.Activity; import android.os.Bundle; import android.os.Handler; import

原创 Android網絡圖片加載優化

網絡圖片加載優化 比如使用淘寶瀏覽產品的時候(大部分應用也是如此),就會發現每次下拉產品目錄進行更新的時候,都會出現對應的Item的時候,纔開始從網絡下載並加載圖片。 taobao加載 可以看到寶貝圖片下拉刷新的時候,圖片加

原创 Android系統權限及簽名

Android權限及簽名 引子 現象:系統中的一個定製Service,服務是對外開放的,使用系統簽名 LOCAL_CERTIFICATE := platform 應用層調用這個系統服務,獲取底層的一些信息。如果在IDE裏進行開發,

原创 使用Android-Universal-Image-Loader加載網絡圖片

使用Android-Universal-Image-Loader加載網絡圖片 Android-Universal-Image-Loader是一個開源的Android圖片加載輔助組件,其主要目的是圖片加載,緩存,顯示。提供了一系列配

原创 Leetcode:Merge Two Sorted Lists

Merge two sorted linked lists and return it as a new list. The new list should be made by splicing together the nod

原创 Android應用跨進程通信

AIDL and Messenger 自定義Binder類 圖1 代碼 服務端 public class MyBinder extends Binder { public int getCount() {

原创 Leetcode: Plus One

Given a non-negative number represented as an array of digits, plus one to the number. The digits are stored such t

原创 Leetcode:Implement strStr()

Implement strStr(). Returns the index of the first occurrence of needle in haystack, or -1 if needle is not part of

原创 Leetcode:Remove Element

Given an array and a value, remove all instances of that value in place and return the new length. The order of ele

原创 Android權限大全

權限名稱 含義 使用場景 ACCESS_CHECKIN_PROPERTIES 讀寫checkin數據庫"properties"表的權限 不是給第三方應用使用的 ACCESS_COARSE_LOCAT

原创 Leetcode:Reverse Integer

Reverse digits of an integer. Example1: x = 123, return 321 Example2: x = -123, return -321 click to show spoilers

原创 Mac 使用Source Insight (藉助Wine For Mac)

下載Wine for Mac 下載地址: http://sourceforge.net/projects/darwine/ 如果在百度直接搜的話,是另一個網址,這個纔是正確的版本,如果下載有問題,可以下載我再百度雲的分享。 所

原创 Leetcode:Count and Say

The count-and-say sequence is the sequence of integers beginning as follows: 1, 11, 21, 1211, 111221, … 1 is read