Back to project page BtDemo.
The source code is released under:
Apache License
If you think the Android project BtDemo 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 cn.edu.hust.cm.bt.demo.server; //from w w w . ja va 2 s.co m import android.app.Activity; import android.content.Context; import android.content.Intent; import android.os.Bundle; public class ServerMainActivity extends Activity { @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); forward(); } private void forward() { ServerBinderActivity.startMe(this); finish(); } public static void startMe(Context context) { Intent intent = new Intent(context, ServerMainActivity.class); context.startActivity(intent); } }