I have run many times. It's a long and complicated code with no error on
eclipse editor. But the result is null pointer exception. I have tried but
not found the exact error. I just doubt if these method is right with
Android library.
Thanks.
On Wed, Apr 2, 2008 at 3:14 AM, tim jones <[EMAIL PROTECTED]> wrote:
>
> Why can't you run it yourself to see if it has problems, then ask us
> why it is not working properly?
>
>
>
> On Tue, Apr 1, 2008 at 2:50 PM, LE THANH TUNG <[EMAIL PROTECTED]>
> wrote:
> > Does my following short code have problem ?
> >
> > TextView[] AnswerTextView = new TextView[10];
> >
> > protected void onCreate(Bundle icicle) {
> >
> > ....
> > AnswerTextView[0].findViewById(R.id.cau_1_answer_grammar);
> > ....
> > AnswerTextView[9].findViewById(R.id.cau_10_answer_grammar);
> > setAnswerListTextView()
> >
> > }
> > protected void setAnswerListTextView() {
> >
> > // Display answer in "Your answer:" column
> >
> > for(int i=0;i<=9;i++){
> > AnswerTextView[i].setText(AnswerList[i]); //is it possible ?
> >
> > }
> > }
> >
> > Please correct if any, thanks !
> >
> > --
> > Many thanks and regards
> > LÊ THANH TÙNG
> > Da Nang, Vietnam
> > >
> >
>
> >
>
--
Many thanks and regards
LÊ THANH TÙNG
Da Nang, Vietnam
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
Announcing the new M5 SDK!
http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~----------~----~----~----~------~----~------~--~---