Android Open Source - RobitDroid Robit Droid






From Project

Back to project page RobitDroid.

License

The source code is released under:

Copyright (c) 2011 Kenny Meyer Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Softwa...

If you think the Android project RobitDroid 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.robitdroid;
/*from w w w.j  ava  2s  . co  m*/
import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.util.Log;
import android.view.View;
import android.widget.ImageView;

public class RobitDroid extends Activity {
    private ImageView imageview;

    /**
     * Called when the activity is first created.
     */
    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.main);

        imageview = (ImageView) findViewById(R.id.ImageViewRobit);
        imageview.getLayoutParams().height = 400;
    }

    public void selfStart(View view) {
        Log.v("RobitDroid", "In selfStart method");
        // Start new game
        Intent i = new Intent(view.getContext(), GameScreen.class);
        startActivity(i);
    }

    public void showInstructions(View view) {
        showDialog(0);
    }

    @Override
    public void onBackPressed() {
        finish();
    }
}




Java Source Code List

com.robitdroid.AboutScreen.java
com.robitdroid.FinalScreen.java
com.robitdroid.GameScreen.java
com.robitdroid.RobitDroid.java
com.robitdroid.robit.GeneratorTest.java
com.robitdroid.robit.Generator.java