原來試著用getFromLocation(double latitude, double longitude, int maxResults)//Returns an array of Addresses that are known to describe the area immediately surrounding the given latitude and longitude. 但發現老是返回空值:http://blog.csdn.net/dadoneo/archive/2011/
”The Geocoder class requires a backend service that is not included in the core android framework. The Geocoder query methods will return an empty list if there no backend service in the platform.“這裡說到了要有個backend服務,但並有說此服務要怎麼得到,罈子上有人覺得要用google map
通過設定EditText的setTransformationMethod()方法來實現隱藏密碼或這顯示密碼,樣本如下: private Button mBtnPassword;private EditText mEtPassword;private boolean mbDisplayFlg = false; /** Called when the activity is first created. */ @Override public void
最近新修改完善了一個指令碼,貼出來和大家分享一下。功能:按照程式(包名)過濾某一程式的日誌,便於更加準確定位問題。原理:根據報名找到進程ID,然後根據得到的進程ID過濾代碼:#!/usr/bin/env python#coding:utf-8#author:andrewallanwallace@gmail.com#This script is aimed to grep logs by application(User should input a packageName and then
對於Android的初學者來說,能否成功的搭建Android的開發環境很重要,因為它是Android應用軟體開發的基礎。然而構置Android的開發環境的四大軟體由於種種原因,使得我們不易從官網上下載,給我們的學習帶來不便。下面,小編將這四大軟體的整理如下,希望對大家的Android的學習起到協助。1、JAVA JDKJava SE Development Kit 6u31 for Windows, Multi-language或選擇最新版本Java SE 7u3:http://www.