The error java.lang.nullpointerexception occurred when I was getting the value from EditText. The code was like as follows:
EditText et = (EditText) findViewById(R.id.et); String str = et.getText().toString(); I have no idea what is wrong with it, can anyone help me ? Many thanks~ --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

