fm/fmapp2/src/com/caf/fmradio/FMTransmitterService.java
public boolean isInternalAntennaAvailable()
   {
      boolean bAvailable  = false;
      /* Update this when the API is available */

      if(null != mTransmitter ) {
          bAvailable = mTransmitter.getInternalAntenna();
          Log.d(LOGTAG, "internalAntennaAvailable: " + bAvailable);
      } else if( null != mReceiver ) {
          bAvailable = mReceiver.getInternalAntenna();
          Log.d(LOGTAG, "internalAntennaAvailable: " + bAvailable);
      }
      return bAvailable;
   }
/** Determines if an internal Antenna is available.
    *
    * @return true if internal antenna is available, false if
    *         internal antenna is not available.
    */
Determines if an internal Antenna is available.
@return true if internal antenna is available, false if
internal antenna is not available.
Determines if an internal Antenna is available . @return true if internal antenna is available false if internal antenna is not available .
public boolean isInternalAntennaAvailable()
   {
      boolean bAvailable  = false;
      /* Update this when the API is available */
      if(null != mTransmitter ) {
          bAvailable = mTransmitter.getInternalAntenna();
          Log.d(LOGTAG, "internalAntennaAvailable: " + bAvailable);
      } else if( null != mReceiver ) {
          bAvailable = mReceiver.getInternalAntenna();
          Log.d(LOGTAG, "internalAntennaAvailable: " + bAvailable);
      }
      return bAvailable;
   }
public boolean isInternalAntennaAvailable ( ) { boolean bAvailable = false ; /* Update this when the API is available */ if ( null != mTransmitter ) { bAvailable = mTransmitter . getInternalAntenna ( ) ; Log . d ( LOGTAG , "internalAntennaAvailable: " + bAvailable ) ; } else if ( null != mReceiver ) { bAvailable = mReceiver . getInternalAntenna ( ) ; Log . d ( LOGTAG , "internalAntennaAvailable: " + bAvailable ) ; } return bAvailable ; }
Determines if an internal Antenna is available.
Determines if an internal Antenna is available .