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. https://dl-ssl.google.com/android/eclipse/ not reachable

https://dl-ssl.google.com/android/eclipse/site.xml

Search the lists before asking ;)




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

2. SharedPreferences bug when writing strings with ampersands in them

Done.

Here's a link to issue in case anyone is interested.

http://code.google.com/p/android/issues/detail?id=2167&q=SharedPreferences&colspec=ID%20Type%20Version%20Security%20Status%20Owner%20Summary

I think for now in our app we'll just preprocess these strings to
encode and decode the ampersands ourselves (avoiding the use of & of
course) when we put them in and out of the settings.

Cheers
Chris.





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

3. Reconnecting to a service

4. String to "HTML String"

5. Change CharSet

6. Permission Denied Error

7. Webview and language support