« All Events
9 AM – Android Game Development with Java
October 23, 2021 @ 9:00 am - 10:00 am
Today We Do
- We continued with GameView.java.
- We learned about Java interface.
- We learned about Java Thread.
Homework
- If you have not done last week homework, please do so.
- Inside GameView.java, replace the following line
background1 = BitmapFactory.decodeResource(getResources(), R.id.background);
with
background1 = BitmapFactory.decodeResource(getResources(), R.drawable.background);
- Rerun the the project and click the Play button and there should not be any more error.
- Go here, read and play around with Java Interface. You can also change the code and try running it online: https://www.w3schools.com/java/java_interface.asp
- Go here, read and play around with Java Thread. You can also change the code and try running it online: https://www.w3schools.com/java/java_threads.asp