public static MessengeQueue GetInstance(Activity act = null) { if (instance == null) { instance = new MessengeQueue(act); } return(instance); }
public SMSBroadcastReceiver(Context context) { Log.Info(TAG, "test contructor broadcast service"); _messengeQueue = Model.MessengeQueue.GetInstance(); _config = Config.Instance(); _context = context; //_activity = act; ttsLib = TextToSpeechLib.Instance(); _stt = STTLib.Instance(); }