Skip to content

Commit

Permalink
added portal 3/4 to connection list.
Browse files Browse the repository at this point in the history
  • Loading branch information
mandric committed Feb 21, 2013
1 parent b258714 commit e90e21e
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions smssync/src/org/addhen/smssync/MainApplication.java
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,18 @@ public static void bindToSmsPortals(Context applicationContext) {
serviceConnectionList[1] = getServiceConnection(messengerConnectionList[1]);
applicationContext.bindService(senderIntent_1, serviceConnectionList[1],
Context.BIND_AUTO_CREATE);

Intent senderIntent_2 = new Intent("com.smssync.portal.three.action.SEND_SMS");
messengerConnectionList[2] = new MessengerConnection();
serviceConnectionList[2] = getServiceConnection(messengerConnectionList[2]);
applicationContext.bindService(senderIntent_2, serviceConnectionList[2],
Context.BIND_AUTO_CREATE);

Intent senderIntent_3 = new Intent("com.smssync.portal.four.action.SEND_SMS");
messengerConnectionList[3] = new MessengerConnection();
serviceConnectionList[3] = getServiceConnection(messengerConnectionList[3]);
applicationContext.bindService(senderIntent_3, serviceConnectionList[3],
Context.BIND_AUTO_CREATE);
}

public static void unbindFromSmsPortals(Context applicationContext) {
Expand Down

0 comments on commit e90e21e

Please sign in to comment.