[android-developers] Re: ProgressDialog with a second thread - Screen Orientation and "back button". How to restore progress dialog?

2009-10-04 Thread Kacper86
; and in manifest file, i have to the statement > android:configChanges="orientation" > > but i dont know  what would be the implementation with in on > confuguration changed. > can you plz guide me how to fix this problem. > > Regards, > Gulfam Hassan > > On

[android-developers] Re: ProgressDialog with a second thread - Screen Orientation and "back button". How to restore progress dialog?

2009-09-30 Thread Kacper86
han services. > > If the long running operation is just to show something on a screen, > then i would just use a thread. The thread, along with the process, > could be restarted and the operation should work fine again (just > would take a little longer). > > On Sep 30, 5:49 a

[android-developers] Re: ProgressDialog with a second thread - Screen Orientation and "back button". How to restore progress dialog?

2009-09-30 Thread Kacper86
g(dialogID)). The activity > then makes sure that the progress dialog is shown again after > orientation change. > > On Sep 29, 3:11 am, Kacper86 wrote: > > > hi! > > > first of all, i have to admit that i was wrong. when you set > > Dialog#setCancelable(false), hi

[android-developers] Re: ProgressDialog with a second thread - Screen Orientation and "back button". How to restore progress dialog?

2009-09-29 Thread Kacper86
hread. > > } > } > > private boolean doStuff(Object stuffYouCareAbout) { > // some useful stuff might go here. > return true;} > >  private Callback getCallback() throws MyWeakRefException { > Callback callback = weakCallback.get(); > if ( callback == null ) { >

[android-developers] Re: ProgressDialog with a second thread - Screen Orientation and "back button". How to restore progress dialog?

2009-09-26 Thread Kacper86
our activity. and in manifest file, you have to the statement > android:configChanges="keyboardHidden|orientation" for that activity. > > so when your screen orientation is changed, it wont call the onCreate > () method again. > > On Sep 26, 1:21 pm, Kacper86 wrote: > > > Hi!

[android-developers] ProgressDialog with a second thread - Screen Orientation and "back button". How to restore progress dialog?

2009-09-26 Thread Kacper86
Hi! I've created ProgressDialog with a second thread according to the DevGuide: http://developer.android.com/guide/topics/ui/dialogs.html#ProgressDialog It works great till user: 1) changes screen orientation or 2) hits the back button twice (first to hide the dialog, second to hide the app)

[android-developers] Re: Broadcasting reboot intent

2009-09-08 Thread Kacper86
Hi! I have a question for Dianne Hackborn: Is there any hope that reboot permission would be granted for commercial apps (if customer accepts them)? On Aug 7, 11:12 pm, Dianne Hackborn wrote: > Not only is it not in the API docs, but because as you say you need to be > signed with the platform