Android Open Source - android-intent Sub Activity






From Project

Back to project page android-intent.

License

The source code is released under:

MIT License

If you think the Android project android-intent 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.intentsample;
/*from  w w w .j  a v a2  s  .c  o  m*/
import com.example.intentsample.R;

import android.os.Bundle;
import android.app.Activity;
import android.view.Menu;

public class SubActivity extends Activity {

  @Override
  protected void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);
    setContentView(R.layout.activity_sub);
  }

  @Override
  public boolean onCreateOptionsMenu(Menu menu) {
    // Inflate the menu; this adds items to the action bar if it is present.
    getMenuInflater().inflate(R.menu.sub, menu);
    return true;
  }

}




Java Source Code List

com.example.intentsample.ImageUtils.java
com.example.intentsample.MainActivity.java
com.example.intentsample.SubActivity.java