Android: Cannot invoke toString() on the primitive type int

Posted by user117701 on Stack Overflow See other posts from Stack Overflow or by user117701
Published on 2010-06-12T14:27:03Z Indexed on 2010/06/12 14:32 UTC
Read the original article Hit count: 160

Filed under:

If i try nltxt = nllen.toString(); with nllen being int nllen = nl.getLength(); i get the error Cannot invoke toString() on the primitive type int. I want to convert the int to string so i can display the number of entries with Log... Why doesnt it work?

© Stack Overflow or respective owner

Related posts about android