uitimer fixes it!.. 

        new UITimer(new Runnable() { //use this to fix the bug where it 
goes to a white screen when initialised.
                public void run()
                {   
                    if (USE_BLUETOOTH)
                    {
                        _("##### kicking off the bluetooth party! a #####");
                        //we want to show a dialog spinning while this 
happens,
                        //its already doing that from the form we made in 
the ui builder
                        startBluetooth(HobIncludeBluetoothConnect);
                    }
                }
        }).schedule(1000, false, f);

On Thursday, December 5, 2019 at 7:27:31 PM UTC+8, Gareth Murfin wrote:
>
> The Bluetooth library leaves app on white screen when it turns on 
> bluetooth, there seems to be no way to get around this, I need to quit app 
> and reload to get past it. Has anyone managed to get around this?
>

-- 
You received this message because you are subscribed to the Google Groups 
"CodenameOne Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/0e3e9bca-a925-4f5a-beb3-f2c9640065d7%40googlegroups.com.

Reply via email to