NullPointerException error while displaying database contents.

by Kent Yip » Fri, 22 May 2009 02:24:06 GMT


Sponsored Links
 Hi rohit,

put

dbw.FillData();

TextView col1 = (TextView)findViewById(R.id.col1);
TextView col2 = (TextView)findViewById(R.id.col2);

after the setContentView(R.layout.displaylog);

does it works?

On Tue, Apr 7, 2009 at 2:55 AM, rohit.kundal...@gmail.com <




--~--~---------~--~----~------------~-------~--~----~



Other Threads

1. Mixing of voice

I want to record and play audio simultaneously.And the saved audio
should be mixer of recorded and played audio.
Can anyone suggest me how can i achieve this.

-- 

2. RatingBar

I want to make a small RatingBar to put in a list view. In the javadoc
it says something about a ratingBarStyleSmall attribute but i have no
idea how to use it.

Can someone help?

Thanks,

Josh

--~--~---------~--~----~------------~-------~--~----~

3. Segmentation fault when loading a certain class from an OSGi framework under Android 2.2 & 2.3

4. C Sharp Basics

5. Boot Camp: Mobile Application Development

6. android.view.WindowManager$BadTokenException

7. emulator too slow