fm/fmapp2/src/com/caf/fmradio/FMTransmitterService.java
public boolean cancelSearch()
   {
      boolean bStatus=false;
      if (mReceiver != null)
      {
         bStatus = mReceiver.cancelSearch();
         Log.d(LOGTAG, "mReceiver.cancelSearch: bStatus: " + bStatus);
         try
         {
            if (mCallbacks != null)
            {
               mCallbacks.onSearchListComplete(false);
            }
         } catch (RemoteException e)
         {
            e.printStackTrace();
         }

      }
      return bStatus;
   }
/* Cancel any ongoing Search (Seek/Scan/SearchStationList).
    *
    * @return true if Search command was invoked successfully, false if not muted.
    *  Note: 1. Callback FmRxEvSearchComplete will be called when the Search
    *        is complete/cancelled.
    *        2. Callback FmRxEvRadioTuneStatus will also be called when tuned to a station
    *        at the end of the Search or if the seach was cancelled.
    */
Cancel any ongoing Search (Seek/Scan/SearchStationList).
@return true if Search command was invoked successfully, false if not muted.
Note: 1. Callback FmRxEvSearchComplete will be called when the Search
is complete/cancelled.
2. Callback FmRxEvRadioTuneStatus will also be called when tuned to a station
at the end of the Search or if the seach was cancelled.
Cancel any ongoing Search ( Seek / Scan / SearchStationList ) . @return true if Search command was invoked successfully false if not muted . Note : 1 . Callback FmRxEvSearchComplete will be called when the Search is complete / cancelled . 2 . Callback FmRxEvRadioTuneStatus will also be called when tuned to a station at the end of the Search or if the seach was cancelled .
public boolean cancelSearch()
   {
      boolean bStatus=false;
      if (mReceiver != null)
      {
         bStatus = mReceiver.cancelSearch();
         Log.d(LOGTAG, "mReceiver.cancelSearch: bStatus: " + bStatus);
         try
         {
            if (mCallbacks != null)
            {
               mCallbacks.onSearchListComplete(false);
            }
         } catch (RemoteException e)
         {
            e.printStackTrace();
         }
      }
      return bStatus;
   }
public boolean cancelSearch ( ) { boolean bStatus = false ; if ( mReceiver != null ) { bStatus = mReceiver . cancelSearch ( ) ; Log . d ( LOGTAG , "mReceiver.cancelSearch: bStatus: " + bStatus ) ; try { if ( mCallbacks != null ) { mCallbacks . onSearchListComplete ( false ) ; } } catch ( RemoteException e ) { e . printStackTrace ( ) ; } } return bStatus ; }
Cancel any ongoing Search (Seek/Scan/SearchStationList).
Cancel any ongoing Search ( Seek / Scan / SearchStationList ) .