Android Open Source - GearsDrawable Hello Android Activity

From Project

Back to project page GearsDrawable.


The source code is released under:

GNU General Public License

If you think the Android project GearsDrawable 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

// ww w .  j  av a  2s.c  o m
import android.os.Bundle;
import android.view.Menu;

public class HelloAndroidActivity extends Activity {

   * Called when the activity is first created.
   * @param savedInstanceState If the activity is being re-initialized after
   *                           previously being shut down then this Bundle contains the data it most
   *                           recently supplied in onSaveInstanceState(Bundle). <b>Note: Otherwise it is null.</b>
  public void onCreate(Bundle savedInstanceState) {

    findViewById( GearsDrawable(this));

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


Java Source Code List