Android Open Source - android-demo-message Sip Stack






From Project

Back to project page android-demo-message.

License

The source code is released under:

/* ==================================================================== * * Copyright (c) 2013 Daniel Pocock All rights reserved. * * Redistribution and use in source and binary forms, with or wi...

If you think the Android project android-demo-message listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.

Java Source Code

package org.resiprocate.android.basicmessage;
/*from   w w w .  ja  v a 2 s.com*/
public class SipStack {
  
  // SIP stack lifecycle:
  
  public native void init(String sipUser, String realm, String user, String password);
  
  public native long handleEvents();
  
  public native void setMessageHandler(MessageHandler messageHandler);
  
  public native void done();
  
  // SIP stack communication:
  
  public native void sendMessage(String recipient, String body);

}




Java Source Code List

org.resiprocate.android.basicmessage.MainActivity.java
org.resiprocate.android.basicmessage.MessageHandler.java
org.resiprocate.android.basicmessage.Settings.java
org.resiprocate.android.basicmessage.SipService.java
org.resiprocate.android.basicmessage.SipStack.java
org.resiprocate.android.basicmessage.TextMessage.java