[codenameone-discussions] Re: Skin editor?

2021-03-12 Thread Dave Dyer
The description I saw suggests it is only supported for desktop and javascript, which I can't build. On Thursday, March 11, 2021 at 8:25:54 PM UTC-8 Shai Almog wrote: > Sorry I think there was but I don't recall. We ended up just using the > bash script in the skins project which is much

[codenameone-discussions] Re: About iOS Emulators (not Simulators)

2021-03-12 Thread Dave Dyer
I think you overestimate the utility of the free tier; and your partition of capabilities into the basic and premium tiers is barely tolerable. I'd love to make more use of codename1 and less use of your build servers if you made that possible: but you have boxed desktop, javascript, and

[codenameone-discussions] Re: Fix SSL handshake failed in BrowserComponent

2021-03-12 Thread Amine
Hy, Did you resolve the error, i have the same On Monday, July 13, 2020 at 10:36:38 AM UTC+2, Fuad Nassar wrote: > > My BrowserComponent displaying HTML content to add online payment in my > app. > when i uses Test merchant ID there are no problems, but when using real > merchant ID, i got

[codenameone-discussions] Re: Fix SSL handshake failed in BrowserComponent

2021-03-12 Thread Amine
I have the same problem On Tuesday, July 14, 2020 at 5:22:15 AM UTC+2, Shai Almog wrote: > > Did you try this on a device e.g. Android. > We're in the process of launching the CEF browser support over the next > couple of weeks. I'll also send out an email about this as it's pretty >

[codenameone-discussions] Re: Net Communications on iphone device

2021-03-12 Thread Dennis Rogers
I switched to using Util.readToString() and still no joy on the iphone device. The code still works ok on the simulator and on also on a real Android device. On Wednesday, March 10, 2021 at 10:28:42 PM UTC-5 Shai Almog wrote: > Try using String ans = Util.readToString(); which might be better.

[codenameone-discussions] Re: About iOS Emulators (not Simulators)

2021-03-12 Thread Dave Dyer
It's true you "can" build, but there's no decent interface to do so, and there's no script to go from producing the sources to a finished apk. Your build servers are very convenient, but you don't make that functionality available standalone. On Friday, March 12, 2021 at 8:44:48 PM UTC-8 Shai

Re: [codenameone-discussions] Re: BrowserComponent: mouse events handled differently in Android device than simulator

2021-03-12 Thread 'P5music' via CodenameOne Discussions
I found a workaround: there are special events on touch devices that are not involved in the issue. I have to use those events instead of mousedown, mouseup, which still are useful in the IDE simulator in fact. String touchStartEventString; String touchEndEventString; if (Utils.isSimulator())

[codenameone-discussions] Re: Skin editor?

2021-03-12 Thread Shai Almog
I think the old JS build is still here: https://www.codenameone.com/demos/SkinDesigner/ Didn't test if it still works though. On Friday, March 12, 2021 at 8:08:47 PM UTC+2 daved...@gmail.com wrote: > The description I saw suggests it is only supported for desktop and > javascript, which I

[codenameone-discussions] Detecting simulator

2021-03-12 Thread 'P5music' via CodenameOne Discussions
I need a function to detect whether the app is running on the simulator of the IDE (computer) instead of a mobile device. The platform name is from the skin. For example I get "ios", or "and". This is not useful: public static boolean isSimulator() { String

[codenameone-discussions] Re: Net Communications on iphone device

2021-03-12 Thread Shai Almog
Interesting, can you expose the server URL so we can run this test case and see? On Friday, March 12, 2021 at 10:57:24 PM UTC+2 a2nd...@gmail.com wrote: > I switched to using Util.readToString() and still no joy on the iphone > device. > The code still works ok on the simulator and on also on

[codenameone-discussions] Re: Fix SSL handshake failed in BrowserComponent

2021-03-12 Thread Shai Almog
That often means your server has a bad certificate or communication problem. On Saturday, March 13, 2021 at 12:02:20 AM UTC+2 miss...@gmail.com wrote: > Hy, > Did you resolve the error, i have the same > > On Monday, July 13, 2020 at 10:36:38 AM UTC+2, Fuad Nassar wrote: >> >> My

[codenameone-discussions] Re: Skin editor?

2021-03-12 Thread Dave Dyer
it runs, but the files it produces don't seem to be compatible; parameters are all wonky. On Friday, March 12, 2021 at 8:41:11 PM UTC-8 Shai Almog wrote: > I think the old JS build is still here: > https://www.codenameone.com/demos/SkinDesigner/ > Didn't test if it still works though. > > On

[codenameone-discussions] Re: About iOS Emulators (not Simulators)

2021-03-12 Thread Shai Almog
You can use the source code to build and always could. Apps like our Uber clone etc. fit well under the 1mb base limit before the increase we did a couple of years ago. Also the new Maven build will make building offline easier in the free tier. It will also include a partial desktop target

[codenameone-discussions] Re: Detecting simulator

2021-03-12 Thread Dave Dyer
Display.getInstance().isSimulator(); On Friday, March 12, 2021 at 2:52:03 PM UTC-8 P5music wrote: > I need a function to detect whether the app is running on the simulator of > the IDE (computer) instead of a mobile device. > > The platform name is from the skin. > For example I get "ios", or

Re: [codenameone-discussions] Re: Android Notches/Safe Areas

2021-03-12 Thread Javier Anton
Great thanks On Fri, 12 Mar 2021, 04:36 Shai Almog, wrote: > Android reserves the space on top implicitly unlike iOS so you shouldn't > need anything. The safe area API should work for the noches there too. > Including information about round corners of the device etc. We probably > need more