src/com/beem/project/beem/BeemService.java
changeset 871 0ceee1f2b829
parent 870 d23d8ad3b9ba
child 874 b2c242da8a1e
equal deleted inserted replaced
870:d23d8ad3b9ba 871:0ceee1f2b829
   217 
   217 
   218 	initConnectionConfig();
   218 	initConnectionConfig();
   219 	configure(ProviderManager.getInstance());
   219 	configure(ProviderManager.getInstance());
   220 
   220 
   221 	mNotificationManager = (NotificationManager) getSystemService(NOTIFICATION_SERVICE);
   221 	mNotificationManager = (NotificationManager) getSystemService(NOTIFICATION_SERVICE);
   222 	mConnection = new XmppConnectionAdapter(mConnectionConfiguration, mLogin, mPassword, this);
   222 	mConnection = new XmppConnectionAdapter(mConnectionConfiguration, tmpJid, mLogin, mPassword, this);
   223 
   223 
   224 	Roster.setDefaultSubscriptionMode(SubscriptionMode.manual);
   224 	Roster.setDefaultSubscriptionMode(SubscriptionMode.manual);
   225 	mBind = new XmppFacade(mConnection);
   225 	mBind = new XmppFacade(mConnection);
   226 	Log.d(TAG, "ONCREATE");
   226 	Log.d(TAG, "ONCREATE");
   227     }
   227     }