[android-beginners] Re: AlertBuilder and Handler Problem

2009-08-06 Thread Lorenz
Thanks it works!!! On 5 Ago, 18:45, Balwinder Kaur (T-Mobile) balwinder.k...@t- mobile.com wrote: If you user the Looper and another handler to your class F, it would work. Code marked with //NEW class F extends Thread{     Context context;     TextView statusField;     Handler

[android-beginners] Re: AlertBuilder and Handler Problem

2009-08-05 Thread Balwinder Kaur (T-Mobile)
If you user the Looper and another handler to your class F, it would work. Code marked with //NEW class F extends Thread{ Context context; TextView statusField; Handler handler; String voto=; F (Context context,TextView statusField,Handler handler){

[android-beginners] Re: AlertBuilder and Handler Problem

2009-08-04 Thread Balwinder Kaur (T-Mobile)
If you change your code in a few places, it should work. (It worked for me :)) I have demarked the code changes with // START and //=== END public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.main);

[android-beginners] Re: AlertBuilder and Handler Problem

2009-08-04 Thread Lorenz
Thanks Kaur,it works.. but if I want to do some action in the thread after the user has choose ???Namely there is a way to do something like this..:(I've used NEW ) public void run() { final CharSequence[] items = {Ottimo, Buono, Sufficiente,Insufficiente};