thanx i dont have an idea to put in the stop and start method. Can you give me a clue. the problem is not that the brightset is not fired but only takes places when my main acitivity is close by hittiing the home button
Op zondag 17 november 2019 02:49:32 UTC+1 schreef Shai Almog: > > Hi, > onDestroy()/onResume() will never be invoked in your code. They are > methods of activity which you don't derive (and shouldn't derive). > > You can detect suspend/resume via stop()/start() methods of the main class > and re-activate the brightness code in start(). > -- 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/8fc42224-854e-4ac0-a34c-f481a782589a%40googlegroups.com.
