Back to project page msghandle.
The source code is released under:
GNU General Public License
If you think the Android project msghandle listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package com.anlong.msghandle.interfac; //w w w. ja v a 2 s.co m import android.annotation.SuppressLint; import android.app.Activity; import android.os.Bundle; import com.anlong.msghandle.event.MessageEvent; import com.anlong.msghandle.event.MessageEventListener; @SuppressLint("NewApi") public class BaseActivity extends Activity implements MessageEventListener{ @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); // ???????????? // MessageEventSource.getSingleton().addLinstener(HandleStaticValue.BCODE1000, this); } @Override public void handleMessageEvent(MessageEvent event) { // TODO Auto-generated method stub //IMLog.anlong(" 1000 message event :" + event.getMessage() + " , bCode:" + event.getbCode()); } }