fm/fmapp2/src/com/caf/fmradio/FMRadioService.java
public boolean seek(boolean up)
   {
      boolean bCommandSent=false;
      if (mReceiver != null)
      {
         if (up == true)
         {
            Log.d(LOGTAG, "seek:  Up");
            mReceiver.searchStations(FmReceiver.FM_RX_SRCH_MODE_SEEK,
                                             FmReceiver.FM_RX_DWELL_PERIOD_1S,
                                             FmReceiver.FM_RX_SEARCHDIR_UP);
         }
         else
         {
            Log.d(LOGTAG, "seek:  Down");
            mReceiver.searchStations(FmReceiver.FM_RX_SRCH_MODE_SEEK,
                                             FmReceiver.FM_RX_DWELL_PERIOD_1S,
                                             FmReceiver.FM_RX_SEARCHDIR_DOWN);
         }
         bCommandSent = true;
      }
      return bCommandSent;
   }
/* Seeks (Search for strong station) to the station in the direction specified
    * relative to the tuned station.
    * boolean up: true - Search in the forward direction.
    *             false - Search in the backward direction.
    * @return true if Seek command was invoked successfully, false if not muted.
    *  Note: 1. Callback FmRxEvSearchComplete will be called when the Search
    *        is complete
    *        2. Callback FmRxEvRadioTuneStatus will also be called when tuned to a station
    *        at the end of the Search or if the seach was cancelled.
    */
Seeks (Search for strong station) to the station in the direction specified
relative to the tuned station.
boolean up: true - Search in the forward direction.
false - Search in the backward direction.
@return true if Seek command was invoked successfully, false if not muted.
Note: 1. Callback FmRxEvSearchComplete will be called when the Search
is complete
2. Callback FmRxEvRadioTuneStatus will also be called when tuned to a station
at the end of the Search or if the seach was cancelled.
Seeks ( Search for strong station ) to the station in the direction specified relative to the tuned station . boolean up : true - Search in the forward direction . false - Search in the backward direction . @return true if Seek command was invoked successfully false if not muted . Note : 1 . Callback FmRxEvSearchComplete will be called when the Search is complete 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 seek(boolean up)
   {
      boolean bCommandSent=false;
      if (mReceiver != null)
      {
         if (up == true)
         {
            Log.d(LOGTAG, "seek:  Up");
            mReceiver.searchStations(FmReceiver.FM_RX_SRCH_MODE_SEEK,
                                             FmReceiver.FM_RX_DWELL_PERIOD_1S,
                                             FmReceiver.FM_RX_SEARCHDIR_UP);
         }
         else
         {
            Log.d(LOGTAG, "seek:  Down");
            mReceiver.searchStations(FmReceiver.FM_RX_SRCH_MODE_SEEK,
                                             FmReceiver.FM_RX_DWELL_PERIOD_1S,
                                             FmReceiver.FM_RX_SEARCHDIR_DOWN);
         }
         bCommandSent = true;
      }
      return bCommandSent;
   }
public boolean seek ( boolean up ) { boolean bCommandSent = false ; if ( mReceiver != null ) { if ( up == true ) { Log . d ( LOGTAG , "seek:  Up" ) ; mReceiver . searchStations ( FmReceiver . FM_RX_SRCH_MODE_SEEK , FmReceiver . FM_RX_DWELL_PERIOD_1S , FmReceiver . FM_RX_SEARCHDIR_UP ) ; } else { Log . d ( LOGTAG , "seek:  Down" ) ; mReceiver . searchStations ( FmReceiver . FM_RX_SRCH_MODE_SEEK , FmReceiver . FM_RX_DWELL_PERIOD_1S , FmReceiver . FM_RX_SEARCHDIR_DOWN ) ; } bCommandSent = true ; } return bCommandSent ; }
Seeks (Search for strong station) to the station in the direction specified
 relative to the tuned station.
Seeks ( Search for strong station ) to the station in the direction specified relative to the tuned station .