void function ( String arg0 ) { if ( arg0 != null && ! arg0 . equals ( "srini_string" ) ) { if ( lastLocation != null ) lastLocation . setLocationTag ( arg0 ) ; else setLastLocation ( new NTLocation ( arg0 ) ) ; log . debug ( "srini_string" + lastLocation . toString ( ) ) ; } }
this method is used whenever we want to manually set the location using a tag e.g. `` home '' . this comes in handy whenever no gps signal is available . concode_field_sep int GPS_STATE_WAITING concode_elem_sep Preferences preferences concode_elem_sep Logger log concode_elem_sep int GPS_STATE_DISABLED concode_elem_sep int RETRY_GPS_AFTER_MINUTES concode_elem_sep int GPS_STATE_SUSPENDED concode_elem_sep int gpsState concode_elem_sep int MARK_AS_OLD_AFTER_USES concode_elem_sep boolean running concode_elem_sep int GPS_STATE_GOT_FIX concode_elem_sep int lastLocationTimesUsed concode_elem_sep ILocationUI ui concode_elem_sep int SUSPEND_GPS_AFTER_MINUTES concode_elem_sep long gpsSuspendedSince concode_elem_sep int MAX_LOCATION_REUSE concode_elem_sep NTLocation lastLocation concode_field_sep void setGPSState concode_elem_sep boolean isGPSEnabled concode_elem_sep void disableGPS concode_elem_sep void stopGPS concode_elem_sep void start concode_elem_sep void setUI concode_elem_sep int getGPSState concode_elem_sep void setLastLocation concode_elem_sep void stop concode_elem_sep boolean startGPS concode_elem_sep boolean isRunning concode_elem_sep void suspendGPS concode_elem_sep NTLocation getLastLocation concode_elem_sep void toggleGPS concode_elem_sep void enableGPS concode_elem_sep String getGPSStateString