• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Tim Cooke
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • Junilu Lacar
  • Rob Spoor
  • Jeanne Boyarsky
Saloon Keepers:
  • Stephan van Hulst
  • Carey Brown
  • Tim Holloway
  • Piet Souris
Bartenders:

Help with writting variables onto a Android application screen

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Politics n. Poly "many" + ticks "blood sucking insects". Tiny ad:
The Low Tech Laboratory Movie Kickstarter is LIVE NOW!
https://www.kickstarter.com/projects/paulwheaton/low-tech
reply
    Bookmark Topic Watch Topic
  • New Topic