Back to project page Tree-Map-India.
The source code is released under:
MIT License
If you think the Android project Tree-Map-India listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package com.advait.saravade.treemapindia; // ww w. j a v a2 s.com import java.util.Arrays; import org.json.JSONArray; import org.json.JSONException; import org.json.JSONObject; import android.app.Activity; import android.content.Context; import android.content.SharedPreferences; import android.location.Location; import android.location.LocationListener; import android.os.Bundle; import android.os.Handler; import android.util.Log; public class CustomLocationListener extends Activity implements LocationListener { private Context m_context; private int m_interval = 3000; // 3 seconds by default, can be changed later private Handler m_handler; private Runnable m_statusChecker; public CustomLocationListener(Context context) { m_context = context; } @Override public void onLocationChanged(Location loc) { // TODO Auto-generated method stub } @Override public void onProviderDisabled(String provider) { // TODO Auto-generated method stub } @Override public void onProviderEnabled(String provider) { // TODO Auto-generated method stub } @Override public void onStatusChanged(String provider, int status, Bundle extras) { // TODO Auto-generated method stub } }