Hi, please help me out.

== This is ok ==
String tmp1 = "123"
int seed = Integer.parseInt(tmp1);

== This is not ok ==
ArrayList<String> tmp2 = new ArrayList<String>();

String tmp3 = tmp2.get(1);
//Added some value to the ArrayList, Toast value of tmp3 and sees the
correct value

int seed = Integer.parseInt(tmp3);
// I get runtime error here, what is wrong?

Happy new year.

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to