This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
I am new to J2ME and am trying to do a simple app for a blackberry. I am trying to read a user's input using a BasicEditField and then convert this to a float do some math and convert the float answer to a string and write back out again.
If I try to convert to a string first, I get the following error: java:169: toString() in java.lang.Object cannot be applied to (net.rim.device.api.ui.component.BasicEditField) String sx = toString(size);
Any suggestions on how to read input, do the math and write output?