java - Android:Resources$NotFoundException -


i'm having issues code. appreciated. below exception.

public void onpass(view v) {      string sn1=et1.gettext().tostring();     string sn2=et2.gettext().tostring();      int i1=integer.parseint(sn1.trim());     int i2=integer.parseint(sn2.trim());     intent i=new intent(this,act2.class);     i.putextra("k1",i1 );     i.putextra("k2", i2);      startactivity(i);  } 

the logcat output:

05-14 15:28:45.099: e/androidruntime(368): caused by:  android.content.res.resources$notfoundexception: string resource id #0x7b 

android.content.res.resources$notfoundexception: string resource id #0x7b 

you exception, when tring set int value textview, or edittext or button, toast etc views.

when set int value views, consider them string resources, try search string resource specified id, , throw resources$notfoundexception


Comments

Popular posts from this blog

php - mySql Join with 4 tables -

css - Text drops down with smaller window -

c# - DetailsView in ASP.Net - How to add another column on the side/add a control in each row? -