Also note, There is a difference when this bug happens.
So when doing this normally you see the alert dialog fully fade away.
When the bug happens it looks like it starts to fade for a brief instant
then comes back fully.
Not sure what I am actually seeing here.

Ugg, about to say the heck with it, if you button mash this is what you
should expect. (I actually hate saying that because i test software at work,
and hate stupid little things like this. To me they make the software look
half baked.)

On Sun, Sep 26, 2010 at 12:58 AM, Lucas Boucher <[email protected]>wrote:

> For reference I am working on a SIM and I can actually see the dam button
> grey out, just keep getting multiple alertdialogs if I button mash. If I go
> at a normal pace everything works perfect.
>
>
> On Sun, Sep 26, 2010 at 12:38 AM, Lucas Boucher <[email protected]>wrote:
>
>> Ya, been trying to disable that button, but not having much luck
>>
>> Currently got this far, but I can still button mash and get multiple alert
>> dialogs showing up.
>>
>> So frustrating.
>>
>>
>>
>> gps_init_alt_bld =
>> *new* AlertDialog.Builder(*this*);
>>
>> gps_init_alt_bld.setMessage(
>> "GPS Not Initialized Yet.")
>>
>> .setCancelable(
>> *false*)
>>
>> .setPositiveButton(
>> "Check GPS Status Again.", *new* DialogInterface.OnClickListener() {
>>
>> *public* *void* onClick(DialogInterface dialog, *int* id) {
>>
>> // Action for 'Yes' Button
>>
>> //dialog = (AlertDialog) dialog;
>>
>> //dialog = (AlertDialog) dialog;
>>
>> ((AlertDialog) dialog).getButton(AlertDialog.BUTTON_POSITIVE).setEnabled(
>> *false*);
>>
>> *if* (latitude == 0 || longitude == 0)
>>
>> {
>>
>> gps_initialized=
>> *false*
>> ;
>>
>> dialog.dismiss();
>>
>> onStart();
>>
>> }
>>
>> *else*
>>
>> {
>>
>> gps_initialized=
>> *true*;
>>
>> dialog.dismiss();
>>
>> onStart();
>>
>> }
>>
>> }
>>
>> });
>>
>>
>>   On Sat, Sep 25, 2010 at 10:44 AM, Streets Of Boston <
>> [email protected]> wrote:
>>
>>> And in to avoid button-mashing in general, you could disable the
>>> button when clicked.
>>>
>>> On Sep 25, 2:05 am, Doug <[email protected]> wrote:
>>> > Why would you ever call onStart() manually (assuming that it's the
>>> > onStart of your activity)?
>>> >
>>> > You might want to look into using showDialog() provided by Activity if
>>> > you want to manage dialogs that may appear repeatedly.  And don't call
>>> > any of the activity lifecycle methods directly.
>>> >
>>> > Doug
>>>
>>> --
>>> You received this message because you are subscribed to the Google
>>> Groups "Android Developers" group.
>>> To post to this group, send email to [email protected]
>>> To unsubscribe from this group, send email to
>>> [email protected]<android-developers%[email protected]>
>>> For more options, visit this group at
>>> http://groups.google.com/group/android-developers?hl=en
>>>
>>
>>
>>
>> --
>> Lucas Boucher
>> www.pachristmas.com
>>
>
>
>
> --
> Lucas Boucher
> www.pachristmas.com
>



-- 
Lucas Boucher
www.pachristmas.com

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to