How to convert java.lang.String to int in Android?
I wrote this code but it does not work:
public static String code;
...
db.insertQuote(Integer.parseInt(code));
I use this code and when I read NFC Tags I want that this function will be run, but it gives me an error and because I use a real mobile for test, I cannot understand what is happening.
Most easiest answer is :