[codenameone-discussions] Button not being displayed For PieCharts

2021-05-19 Thread Mongi Allouche
Please help me solve here: https://stackoverflow.com/questions/67613290/button-not-showing-codenameone -- 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

[codenameone-discussions] How to center a container?

2021-05-19 Thread Compte Gmail
Having this problem. You'll find the display below, please how to center it? CODE: Container f1 = new Container(BoxLayout.y()); Button concert=new Button("Concerts"); Button play=new Button("Theatres"); Button movie=new Button("Movies"); Button cinema=new

Re: [codenameone-discussions] Push key is null

2021-05-19 Thread Shai Almog
You need to call register for push every time the app loads. Not just the first time. So even if it fails the first time the app loads it should work the second time. On Thursday, May 20, 2021 at 12:52:26 AM UTC+3 javier...@gmail.com wrote: > (only a user like you) > > Have you tried delaying

[codenameone-discussions] Re: Android debug with android studio 4

2021-05-19 Thread Shai Almog
I still use 3.x locally but I'm pretty sure 4.0 will work well. I've heard bad things on 4.2 so far, people say it's even slower. On Thursday, May 20, 2021 at 12:18:32 AM UTC+3 a2nd...@gmail.com wrote: > What version of Android Studio would you recommend ? > > On Monday, May 17, 2021 at

[codenameone-discussions] Re: Display Youtube Video On Component

2021-05-19 Thread Shai Almog
We can display videos on Components using the MediaManager. Youtube specifically prohibits showing videos without embed. On Wednesday, May 19, 2021 at 4:04:42 PM UTC+3 azizaz...@gmail.com wrote: > Is there a way to display a youtube video in a component VideoViewer or > something like that?

[codenameone-discussions] Re: "Failed to execute goal" - build-ios goal fails in maven very often

2021-05-19 Thread Shai Almog
Yes. I think there's a timeout for some operations. I need to check. On Wednesday, May 19, 2021 at 9:13:44 AM UTC+3 P5music wrote: > Yes, as I said it just fails sometimes, it seems that it is caused by some > kind of slowness or timeout, but the error is the one I mentioned in most > recent

Re: [codenameone-discussions] Push key is null

2021-05-19 Thread Javier Anton
(only a user like you) Have you tried delaying getting the token a bit? CN1's native code does this thing where it tries to get the token once and then if not available it waits a few secs and tries again Something along these lines: (hope I don't confuse you more than help you)

[codenameone-discussions] Re: Android debug with android studio 4

2021-05-19 Thread Dennis Rogers
What version of Android Studio would you recommend ? On Monday, May 17, 2021 at 10:12:27 PM UTC-4 Shai Almog wrote: > I doubt we support the beta version of Android Studio at the moment. I > don't think that's normal though. > > On Monday, May 17, 2021 at 8:09:50 PM UTC+3 a2nd...@gmail.com

[codenameone-discussions] Push key is null

2021-05-19 Thread Hannah R
Hello, I have the following issue: In Android 7.0, when getting Push.getPushKey() (not in registeredForPush() method) the first time, it's null. I have *callSerially(() -> registerPush());* in my start() method and besides that, I added * if (!Preferences.get("setIt", false)) {

[codenameone-discussions] Display Youtube Video On Component

2021-05-19 Thread Compte Gmail
Is there a way to display a youtube video in a component VideoViewer or something like that? Looking for a response asap thanks. -- You received this message because you are subscribed to the Google Groups "CodenameOne Discussions" group. To unsubscribe from this group and stop receiving

[codenameone-discussions] Re: "Failed to execute goal" - build-ios goal fails in maven very often

2021-05-19 Thread 'P5music' via CodenameOne Discussions
Yes, as I said it just fails sometimes, it seems that it is caused by some kind of slowness or timeout, but the error is the one I mentioned in most recent cases. Regards Il giorno mercoledì 19 maggio 2021 alle 02:34:04 UTC Shai Almog ha scritto: > Is cocoapods installed? > > On Tuesday, May