fm/fmapp2/src/com/caf/fmradio/FMRadioService.java
public boolean seekPI(int piCode)
   {
      boolean bCommandSent=false;
      if (mReceiver != null)
      {
         Log.d(LOGTAG, "seekPI:  piCode: " + piCode);
         bCommandSent = mReceiver.searchStations(FmReceiver.FM_RX_SRCHRDS_MODE_SEEK_PI,
                                                            FmReceiver.FM_RX_DWELL_PERIOD_1S,
                                                            FmReceiver.FM_RX_SEARCHDIR_UP,
                                                            0,
                                                            piCode
                                                            );
      }
      return bCommandSent;
   }
/* Search for the FM Station that matches the RDS PI (Program Identifier) code.
    * It always scans in the forward direction relative to the current tuned station.
    * int piCode: PI Code of the station to search.
    *
    * @return true if Search 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.
    */
Search for the FM Station that matches the RDS PI (Program Identifier) code.
It always scans in the forward direction relative to the current tuned station.
int piCode: PI Code of the station to search.

@return true if Search 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.
Search for the FM Station that matches the RDS PI ( Program Identifier ) code . It always scans in the forward direction relative to the current tuned station . int piCode : PI Code of the station to search . @return true if Search 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 seekPI(int piCode)
   {
      boolean bCommandSent=false;
      if (mReceiver != null)
      {
         Log.d(LOGTAG, "seekPI:  piCode: " + piCode);
         bCommandSent = mReceiver.searchStations(FmReceiver.FM_RX_SRCHRDS_MODE_SEEK_PI,
                                                            FmReceiver.FM_RX_DWELL_PERIOD_1S,
                                                            FmReceiver.FM_RX_SEARCHDIR_UP,
                                                            0,
                                                            piCode
                                                            );
      }
      return bCommandSent;
   }
public boolean seekPI ( int piCode ) { boolean bCommandSent = false ; if ( mReceiver != null ) { Log . d ( LOGTAG , "seekPI:  piCode: " + piCode ) ; bCommandSent = mReceiver . searchStations ( FmReceiver . FM_RX_SRCHRDS_MODE_SEEK_PI , FmReceiver . FM_RX_DWELL_PERIOD_1S , FmReceiver . FM_RX_SEARCHDIR_UP , 0 , piCode ) ; } return bCommandSent ; }
Search for the FM Station that matches the RDS PI (Program Identifier) code.
Search for the FM Station that matches the RDS PI ( Program Identifier ) code .