[android-developers] EditText.getText() not working

2010-01-08 Thread zosq
I am simple sudoku app. My main.xml has 81 EditText and 2 buttons as shown below. ?xml version=1.0 encoding=utf-8? RelativeLayout xmlns:android=http://schemas.android.com/apk/res/android; android:layout_width=fill_parent android:layout_height=wrap_content

Re: [android-developers] EditText.getText() not working

2010-01-08 Thread TreKing
Now when I try to do a simple getText() method on textArray[][], it gives me a runtime error but setText() method works fine on textArray[] [] What's the error? Are you checking for null? Also, are you seriously defining 81 objects in your layout and then finding each one by ID? Why don't