Use String.valueOf():
int sdRate=5;
//text_Rate is a TextView
text_Rate.setText(String.valueOf(sdRate)); //no more errors
More Related Contents:
- foo(int) is not applicable for the arguments (String)
- Replace a character specific number of times in String Java
- Java; Initializing A Count of Input, After Period Is Entered
- Difference between String replace() and replaceAll()
- Splitting a string at every n-th character
- How can I check if a single character appears in a string?
- Why is the String class declared final in Java?
- In Java, how do I check if a string contains a substring (ignoring case)? [duplicate]
- Java change áéőűú to aeouu [duplicate]
- Extracting pairs of words using String.split()
- Extract Integer Part in String
- String replace a Backslash
- Why does this code using random strings print “hello world”?
- Remove all empty lines
- Does concatenating strings in Java always lead to new strings being created in memory?
- When to use intern() on String literals
- How do I convert a String to a BigInteger?
- How to properly trim whitespaces from a string in Java?
- Garbage collection on intern’d strings, String Pool, and perm-space
- Difference between String#equals and String#contentEquals methods
- Java: Get last element after split
- In Java, how to append a string more efficiently? [duplicate]
- Why new keyword not needed for String
- Quotation marks inside a string [duplicate]
- Create a SortedMap in Java with a custom Comparator
- Java – How to visually center a specific string (not just a font) in a rectangle
- Parse Date from String in this format : dd/MM/yyyy [to dd/MM/yyyy]
- How can I print a string adding newlines in Java?
- How many Java objects are generated by this – new String(“abcd”)
- Java replace all square brackets in a string