Btw..for others on dark, there are two great tutorials about sthat
kind of application. One is from Mark http://commonsware.com/Android/excerpt.pdf
and one I found toady at http://www.softwarepassion.com/?p=189 .
Second one do mostly what I tried with my poor java in my code.
On Oct 4, 5:34 pm,
Well, this is it gets interesting. This part of code is almost
completely from list14.java from sdk, and it is working. I am
disconnecting connection to server to simulate network error, which
should appear in textview (to let my user know that last update try
was at time, but unsuccessful). I am
I am getting error at
stext.setText(sdf.format(cal.getTime()).toString()+ chyba);
where it ends on null pointer exception. I tried to add:
setContentView(R.layout.main);
which required to add a listview named android:list. Now...it works
same way as before, it ends on same null pointer
Thanks, now it is working :)
On Oct 4, 2:27 pm, Mark Murphy mmur...@commonsware.com wrote:
I am getting error at
stext.setText(sdf.format(cal.getTime()).toString()+ chyba);
where it ends on null pointer exception. I tried to add:
setContentView(R.layout.main);
which required to
It's quite a bit of code, but one thing's missing that you have to do:
In your onCreate, you're not calling setContentView(...). You have to
do this to show at least something :-)
On Oct 3, 4:39 pm, vorcigernix vorciger...@gmail.com wrote:
Hello,
I didn't found clear answer for why my code
5 matches
Mail list logo