public Transaction(Context context,Settings settings){
  this.settings=settings;
  this.context=context;
  SMS_SENT=context.getPackageName() + SMS_SENT;
  SMS_DELIVERED=context.getPackageName() + SMS_DELIVERED;
  if (NOTIFY_SMS_FAILURE.equals(".NOTIFY_SMS_FAILURE")) {
    NOTIFY_SMS_FAILURE=context.getPackageName() + NOTIFY_SMS_FAILURE;
  }
}

public Transaction ( Context context , Settings settings ) { this . settings = settings ; this . context = context ; SMS_SENT = context . getPackageName ( ) + SMS_SENT ; SMS_DELIVERED = context . getPackageName ( ) + SMS_DELIVERED ; if ( NOTIFY_SMS_FAILURE . equals ( ".NOTIFY_SMS_FAILURE" ) ) { NOTIFY_SMS_FAILURE = context . getPackageName ( ) + NOTIFY_SMS_FAILURE ; } }
sets context and settings
