What's wrong with concatenation in blackberry application?

Not sure why it would blow up (but I'm not a blackberry/java developer). Have you simply tried.

Not sure why it would blow up (but I'm not a blackberry/java developer). Have you simply tried: String MyName = "John Doe"; String "; RichTextField rtf = new RichTextField(concat(MyName)); add(rtfItemDescription); Or simply, String MyName = "John Doe"; RichTextField rtf = new RichTextField("". Concat(MyName)); add(rtfItemDescription).

Try this String MyName = "John Doe"; RichTextField rtf = new RichTextField("" + MyName); add(rtf).

I don't think problem is with string concatenation. Can provide more information like what exception you are getting.

It looks as that when I do any string concatenation in my blackberry project (using eclipse), the packaging process cannot find the definition of the class StringBuilder. The project is defaulted to jdk 1.4. StringBuilder wasn't introduced until version 1.5 so attempting to run the code will produce a "no class definition found" error message.So this is my guess as to why I am seeing my errors. – sexitrainer Jan 20 '10 at 15:30.

Looks as that when I do any string concatenation in my blackberry project (using eclipse), the packaging process cannot find the definition of the class StringBuilder. The project is defaulted to jdk 1.4. StringBuilder wasn't introduced until version 1.5 so attempting to run the code will produce a "no class definition found" error message.So this is my guess as to why I am seeing my errors. €“ sexitrainer Jan 20 at 15:30 This is because StringBuilder is not a part of J2ME.

You won't be able to use it while programming for mobile devices.

For string concatenations in Blackberry try to use StringBuffer class. StringBuffer is faster than String, because it mutable.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions