Android Open Source - injectextra Main Activity

From Project

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.

Java Source Code

package com.example.injectextra;
//  w  w w .  j a v a 2s .c om
import android.content.Intent;
import android.os.Bundle;

public class MainActivity extends Activity {

  protected void onCreate(Bundle savedInstanceState) {
    Intent intent = new Intent(this, SecondActivity.class);
    intent.putExtra(SecondActivity.APP_NAME, "injected !");

Java Source Code List