This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
... | |
myHandler = new Handler() { | |
public void handleMessage(Message msg){ | |
super.handleMessage(msg); | |
if(playSequence){ | |
button1.setBackgroundDrawable(getResources().getDrawable(android.R.drawable.btn_default)); | |
button2.setBackgroundDrawable(getResources().getDrawable(android.R.drawable.btn_default)); | |
button3.setBackgroundDrawable(getResources().getDrawable(android.R.drawable.btn_default)); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class MainActivity extends Activity { | |
private Handler myHandler; | |
boolean gameOn; | |
long startTime; | |
@Override | |
protected void onCreate(Bundle savedInstanceState) { | |
super.onCreate(savedInstanceState); | |
setContentView(R.layout.activity_main); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
myHandler = new Handler() { | |
public void handleMessage(Message msg){ | |
super.handleMessage(msg); | |
if(playSequence){ | |
button1.setBackgroundDrawable(getResources().getDrawable(android.R.drawable.btn_default)); | |
button2.setBackgroundDrawable(getResources().getDrawable(android.R.drawable.btn_default)); | |
button3.setBackgroundDrawable(getResources().getDrawable(android.R.drawable.btn_default)); | |
button4.setBackgroundDrawable(getResources().getDrawable(android.R.drawable.btn_default)); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<activity android:name=".MainActivity" android:screenOrientation = "portrait" android:theme="@android:style/Theme.NoTitleBar.Fullscreen"> | |
<intent-filter> | |
<action android:name="android.intent.action.MAIN" /> | |
<category android:name="android.intent.category.LAUNCHER" /> | |
</intent-filter> | |
</activity> | |
<activity android:name=".GameActivity" android:screenOrientation="portrait" android:theme="@android:style/Theme.NoTitleBar.Fullscreen"></activity> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class MainActivity extends Activity implements View.OnClickListener{ | |
private SoundPool soundPool; | |
int sample1 = -1; | |
int sample2 = -1; | |
int sample3 = -1; | |
@Override | |
protected void onCreate(Bundle savedInstanceState) { | |
super.onCreate(savedInstanceState); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<img id="Image-Maps-Com-image-maps-2015-09-15-122259" src="http://i927.photobucket.com/albums/ad111/seal308/Good%20Reads/good%20reads%20profile_zpsglcftnrh.png" | |
border="0" width="350" height="237" orgWidth="350" orgHeight="237" usemap="#image-maps-2015-09-15-122259" alt="" /> | |
<map name="image-maps-2015-09-15-122259" id="ImageMapsCom-image-maps-2015-09-15-122259"> | |
<area alt="" title="" href="https://www.goodreads.com/review/list/46821628" shape="rect" coords="201,153,314,175" style="outline:none;" target="_self" /> | |
<area shape="rect" coords="348,235,350,237" alt="Image Map" style="outline:none;" title="Image Map" href="http://www.image-maps.com/index.php?aff=mapped_users_0" /> | |
</map> |