Android Open Source - SipgateInfo Query Result Receiver

From Project

Back to project page SipgateInfo.


The source code is released under:

GNU General Public License

If you think the Android project SipgateInfo 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 net.skweez.sipgate.service;
/*w ww.j av a2  s  .  com*/
import android.os.Bundle;
import android.os.Handler;
import android.os.ResultReceiver;

public class QueryResultReceiver extends ResultReceiver {
  private Receiver mReceiver;

  public QueryResultReceiver(Handler handler) {

  public void setReceiver(Receiver receiver) {
    mReceiver = receiver;

  public interface Receiver {
    public void onReceiveResult(int resultCode, Bundle resultData);

  protected void onReceiveResult(int resultCode, Bundle resultData) {
    if (mReceiver != null) {
      mReceiver.onReceiveResult(resultCode, resultData);

Java Source Code List