Back to project page injectextra.
The source code is released under:
Apache License
If you think the Android project injectextra 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.example.injectextra; // w w w . j a v a 2s .c om import android.app.Activity; import android.content.Intent; import android.os.Bundle; public class MainActivity extends Activity { @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); Intent intent = new Intent(this, SecondActivity.class); intent.putExtra(SecondActivity.APP_NAME, "injected !"); startActivity(intent); } }