Reputation: 15639
I want to change the title of blackberry application view again and again when certain condition gets true, how can I do it?
Right now I am doing as
BitmapField loading=new BitmapField(Bitmap.getBitmapResource("loading.png"));
this.setTitle(loading);
but now I want something else on title, how can i do it?
Upvotes: 0
Views: 205
Reputation: 22775
In MainScreen.setTitle you can use any Field - LabelField or BitmapField or even CheckboxField :) actually, anything.
But remember to handle UI thread when updating UI from other threads.
Upvotes: 1