fm/fmapp2/src/com/caf/fmradio/PresetStation.java
public static String parsePTY(int pty)
   {
      String ptyStr="";
      int rdsStd = FmSharedPreferences.getFMConfiguration().getRdsStd();
      if(rdsStd ==  FmReceiver.FM_RDS_STD_RBDS)
      {
         ptyStr = getRBDSPtyString(pty);
      }
      else if(rdsStd ==  FmReceiver.FM_RDS_STD_RDS)
      {
         ptyStr = getRDSPtyString(pty);
      }
      return (ptyStr);
   }
/**
    *  Get the Text String for the Program type Code
    */
Get the Text String for the Program type Code
Get the Text String for the Program type Code
public static String parsePTY(int pty)
   {
      String ptyStr="";
      int rdsStd = FmSharedPreferences.getFMConfiguration().getRdsStd();
      if(rdsStd ==  FmReceiver.FM_RDS_STD_RBDS)
      {
         ptyStr = getRBDSPtyString(pty);
      }
      else if(rdsStd ==  FmReceiver.FM_RDS_STD_RDS)
      {
         ptyStr = getRDSPtyString(pty);
      }
      return (ptyStr);
   }
public static String parsePTY ( int pty ) { String ptyStr = "" ; int rdsStd = FmSharedPreferences . getFMConfiguration ( ) . getRdsStd ( ) ; if ( rdsStd == FmReceiver . FM_RDS_STD_RBDS ) { ptyStr = getRBDSPtyString ( pty ) ; } else if ( rdsStd == FmReceiver . FM_RDS_STD_RDS ) { ptyStr = getRDSPtyString ( pty ) ; } return ( ptyStr ) ; }
Get the Text String for the Program type Code
Get the Text String for the Program type Code