제가 GPS 위성수가 필요해서 찾다 보니까..

 

http://www.androidpub.com/100151

 

public abstract void onStatusChanged (String provider, int status, Bundle extras)
Since: API Level 1

Called when the provider status changes. This method is called when a provider is unable to fetch a location or if the provider has recently become available after a period of unavailability.

Parameters
provider the name of the location provider associated with this update.
status OUT_OF_SERVICE if the provider is out of service, and this is not expected to change in the near future; TEMPORARILY_UNAVAILABLE if the provider is temporarily unavailable but is expected to be available shortly; and AVAILABLE if the provider is currently available.
extras an optional Bundle which will contain provider specific status variables.

A number of common key/value pairs for the extras Bundle are listed below. Providers that use any of the keys on this list must provide the corresponding value as described below.

  • satellites - the number of satellites used to derive the fix
...
extras an optional Bundle which will contain provider specific status variables.
A number of common key/value pairs for the extras Bundle are listed below. Providers that use any of the keys on this list must provide the corresponding value as described below.
•satellites - the number of satellites used to derive the fix
 
Bundle 형으로 들어오는 extras 에서 위성수를 받을수 있다고 하는데.
Bundle 요놈을 어떻게 써야하는지.. 찾아봐도 모르겠습니다. ㅠ
Bundle 타입을 어떻게 써야하는지 아시면좀 부탁드립니다.