View Single Post
Old October 20th, 2012, 04:14 PM   #15 (permalink)
JohnLaird
Member
 
JohnLaird's Avatar
 
Join Date: Nov 2011
Location: Houston, TX
Posts: 169
 
Device(s): Motorola Razr
Carrier: Not Provided

Thanks: 1
Thanked 75 Times in 47 Posts
Default

Sort of patching the gaping holes in my android app. Fixing bugs and overhauling the code that is depreciated per honeycomb. A particularly annoying bug completely crashed the program and gave me this useless message that it could not find a resource. Programming is such a humbling exercise...to be constantly reminded that you are a stupid human by some metal and plastic box.

Where hpchange.getHP() returns an integer:
Code:
holder.txtHPValue.setText(hpchange.getHP());
Switch to:
Code:
holder.txtHPValue.setText(String.valueOf(hpchange.getHP()));
...and the program does not come down like an anvil anymore.
JohnLaird is offline  
Reply With Quote
The Following User Says Thank You to JohnLaird For This Useful Post:
argedion (October 20th, 2012)