adapt to api addons

This commit is contained in:
Simon Morlat 2010-10-26 11:13:29 +02:00
parent 62ad089279
commit f1bc0e1050
8 changed files with 59 additions and 2 deletions

Binary file not shown.

Binary file not shown.

View file

@ -33,6 +33,5 @@ public class BootReceiver extends BroadcastReceiver {
lLinphoneServiceIntent.setClass(context, LinphoneService.class);
context.startService(lLinphoneServiceIntent);;
}
}
}

View file

@ -20,9 +20,11 @@ package org.linphone;
import org.linphone.core.LinphoneAddress;
import org.linphone.core.LinphoneCall;
import org.linphone.core.LinphoneChatRoom;
import org.linphone.core.LinphoneCore;
import org.linphone.core.LinphoneCoreException;
import org.linphone.core.LinphoneCoreListener;
import org.linphone.core.LinphoneFriend;
import org.linphone.core.LinphoneProxyConfig;
import org.linphone.core.LinphoneCall.State;
@ -583,4 +585,18 @@ public class DialerActivity extends Activity implements LinphoneCoreListener {
aButton.setOnTouchListener(lListener);
}
public void newSubscriptionRequest(LinphoneCore lc, LinphoneFriend lf,
String url) {
// TODO Auto-generated method stub
}
public void notifyPresenceReceived(LinphoneCore lc, LinphoneFriend lf) {
// TODO Auto-generated method stub
}
public void textReceived(LinphoneCore lc, LinphoneChatRoom cr,
LinphoneAddress from, String message) {
// TODO Auto-generated method stub
}
}

View file

@ -26,12 +26,15 @@ import java.io.InputStream;
import java.util.Timer;
import java.util.TimerTask;
import org.linphone.core.LinphoneAddress;
import org.linphone.core.LinphoneAuthInfo;
import org.linphone.core.LinphoneCall;
import org.linphone.core.LinphoneChatRoom;
import org.linphone.core.LinphoneCore;
import org.linphone.core.LinphoneCoreException;
import org.linphone.core.LinphoneCoreFactory;
import org.linphone.core.LinphoneCoreListener;
import org.linphone.core.LinphoneFriend;
import org.linphone.core.LinphoneProxyConfig;
import org.linphone.core.PayloadType;
import org.linphone.core.LinphoneCall.State;
@ -406,6 +409,20 @@ public class LinphoneService extends Service implements LinphoneCoreListener {
theLinphone=null;
mNotificationManager.cancel(NOTIFICATION_ID);
}
public void newSubscriptionRequest(LinphoneCore lc, LinphoneFriend lf,
String url) {
// TODO Auto-generated method stub
}
public void notifyPresenceReceived(LinphoneCore lc, LinphoneFriend lf) {
// TODO Auto-generated method stub
}
public void textReceived(LinphoneCore lc, LinphoneChatRoom cr,
LinphoneAddress from, String message) {
// TODO Auto-generated method stub
}
}

View file

@ -68,4 +68,16 @@ public class LinphoneCoreFactoryImpl extends LinphoneCoreFactory {
//not implemented on Android
}
@Override
LinphoneFriend createLinphoneFriend(String friendUri) {
// TODO Auto-generated method stub
return null;
}
@Override
LinphoneFriend createLinphoneFriend() {
// TODO Auto-generated method stub
return null;
}
}

View file

@ -270,5 +270,18 @@ class LinphoneCoreImpl implements LinphoneCore {
public void stopDtmf() {
stopDtmf(nativePtr);
}
public void addFriend(LinphoneFriend lf) throws LinphoneCoreException {
// TODO Auto-generated method stub
}
public LinphoneChatRoom createChatRoom(String to) {
// TODO Auto-generated method stub
return null;
}
public void setPresenceInfo(int minuteAway, String alternativeContact,
OnlineStatus status) {
// TODO Auto-generated method stub
}
}

@ -1 +1 @@
Subproject commit dea7a7661cbf7e95e476a7ddd9bf5449e3093c40
Subproject commit 740dbb9041bea18490fcd9c7abb9dac670413a34