Win a copy of Java Mock Exams (software) this week in the Programmer Certification (OCPJP) forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Help with writting variables onto a Android application screen

 
Carson Ros
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have a full functioning Tetris remake I am making in Jre7 through Eclipse (not a clone, but a game with a similar engine) and I have run into a issue with displaying a score on the screen. In main.xml (where the main game is played) it is basically blank because I drew the gameplay part of the game in the main class so the xml is blank and I can not get score to be displayed in there (it wasn't working at the start which is why I did everything in the main class). My question is how would I write a variable onto the screen from the main class? Thank you in advance.
 
What are you doing? You are supposed to be reading this tiny ad!
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!