[codenameone-discussions] Re: Codenameone SDK for Pubnub : End Of Life March 1st, 2017

2017-01-27 Thread Jérémy MARQUER
Ok, thanks for advice ! Actually, I think I will use websocket. My problem is : I already have a JAX-WS webservice on my server -> Can I use websocket (server side) in parallel of my webservice or do I have to deploy another web application ? (FYI, the codenameone sdk will continue to work

[codenameone-discussions] Re: Codenameone SDK for Pubnub : End Of Life March 1st, 2017

2017-01-26 Thread Jérémy MARQUER
Hi, I've contacted us as customer as you suggested above but they answered me that theirs SDK team has no plans on supporting codenameone for 4.X versions... :( On Friday, November 18, 2016 at 5:59:20 AM UTC+1, Shai Almog wrote: > > Hi, > this is the first time I heard of this and they haven't

[codenameone-discussions] Re: Repaint dialog inconsistent

2017-01-18 Thread Jérémy MARQUER
You can reproduce the problem with this (project with business theme) : > > > Dialog hi = new Dialog("Welcome"); > Label lblDraggable = new Label("DRAGGABLE"); > lblDraggable.setDraggable(true); > > Container cntSrc = new Container(); > cntSrc.setDropTarget(true); > cntSrc.setUIID("ComboBox"); >

[codenameone-discussions] Re: Repaint dialog inconsistent

2017-01-18 Thread Jérémy MARQUER
Hi, I can't take screenshot since it occurs during less a second ! I will take a video... For informations : problem is dialog content pane become transparent when the drop occurs. On Friday, December 23, 2016 at 6:38:57 AM UTC+1, Shai Almog wrote: > > Hi, > I would not do that sort of thing

[codenameone-discussions] Re: New iOS Crash

2017-01-09 Thread Jérémy MARQUER
Thanks. I've managed my implementation so all database access are executed into one thread. ThreadQueue implementation of Steve (https://gist.github.com/shannah/2becc8cf4e23b89ef78f) has helped me. FYI, I've override all methods of Database class ... On Saturday, January 7, 2017 at 7:16:09

[codenameone-discussions] Re: New iOS Crash

2017-01-06 Thread Jérémy MARQUER
I'm pretty sure to close all my cursor in finally close using Util.cleanup(...) method. About the connection of database, It remain open during all life cycle. I think my problem is related to thread. As you mentioned above, SQLite API is not thread safe. I will investigate to wrap this API to

[codenameone-discussions] Re: New iOS Crash

2017-01-05 Thread Jérémy MARQUER
Hi ! I'm facing a similar issue... How can we avoid GC when a connection or cursor is opened ? How can we improve database access to be threaded-safe ? It's very difficult to avoid crash. Le mardi 25 août 2015 18:21:26 UTC+2, Shai Almog a écrit : > > It had me a bit stumped so I consulted

[codenameone-discussions] Re: Repaint dialog inconsistent

2016-12-22 Thread Jérémy MARQUER
Hi, I'm dragging in a container which is inside the dialog Drag & drop work well inside my dialog. Problem is the repaint that occur at the time of the drop. On Thursday, December 22, 2016 at 8:54:15 AM UTC+1, Shai Almog wrote: > > Hi, > are you dragging outside of the dialog or within? >

[codenameone-discussions] Repaint dialog inconsistent

2016-12-21 Thread Jérémy MARQUER
Hi there, I'm facing to a repaint issue. I've Dialog with some components. I've one container which contain draggable components and an other one in which I can drop these ones. When I'm dropping a component (label) in the drop target container, dialog background style change to transparent

Re: [codenameone-discussions] Need help about invokeAndBlock / scheduleBackgroundTask

2016-11-16 Thread Jérémy MARQUER
at haven't yet completed > when the Dialog.show() method it called, those calls will also "hang" until > the dialog has been closed. > > This is likely why your runnable is executed later. > > Steve > > On Tue, Nov 15, 2016 at 6:04 AM, Jérémy MARQUER <jrmy...

Re: [codenameone-discussions] SCREEN/APP FREEZING

2016-11-04 Thread Jérémy MARQUER
Hi, I think my problem was to create all my form in advance, not in the EDT plus to do expensive task on this... On Wednesday, October 26, 2016 at 3:44:14 AM UTC+2, Shai Almog wrote: > > Do you have more than one call to invokeAndBlock in a row? > The method has an overhead and a nesting limit

Re: [codenameone-discussions] SCREEN/APP FREEZING

2016-10-24 Thread Jérémy MARQUER
Hi, What do you mean by sleeping off the EDT ? On Saturday, October 22, 2016 at 4:48:11 AM UTC+2, Shai Almog wrote: > > If you have intensive work you need to sleep off the EDT between work > batches. Even multi-core CPU's are pretty damn weak on mobile. > -- You received this message because

[codenameone-discussions] Re: IOS warnings, Multiple Unsequenced Modificaitons to SP

2016-10-11 Thread Jérémy MARQUER
Hi, I also have thousand of warnings in xcode ! I had also an unexplained hard crash... It's cause by adding a ArcProgress component in my form.(https://github.com/chen-fishbein/CN1CircleProgress/blob/master/CN1CircleProgress/src/com/codename1/progress/ArcProgress.java). The crash happened

[codenameone-discussions] Re: Can't get new animation manager working

2016-09-30 Thread Jérémy MARQUER
If I don't call registerAnimated() -> animate() is not invoked so it doesn't work !! About the fact is it expensive, it's not a problem in my situation because it concern my loading form which is shown only when launching the app. On Friday, September 30, 2016 at 5:48:31 AM UTC+2, Shai Almog

[codenameone-discussions] Re: Can't get new animation manager working

2016-09-29 Thread Jérémy MARQUER
to animate a background of a Form. I resolve that by registered by calling registerAnimated(this); on the form itself and overriding animate() so it return true. All of that remain unclear for me Le jeudi 8 septembre 2016 16:27:27 UTC+2, Jérémy MARQUER a écrit : > > Hello, > >

[codenameone-discussions] Re: IOS "connection refused" for HTTP requests

2016-09-16 Thread Jérémy MARQUER
FYI, If you're on iOS 10, you can use the new key : NSAllowsLocalNetworking (see https://developer.apple.com/library/content/documentation/General/Reference/InfoPlistKeyReference/Articles/CocoaKeys.html). On Tuesday, August 30, 2016 at 7:47:40 PM UTC+2, Dave Dyer wrote: > > > The IOS

[codenameone-discussions] Re: Can't get new animation manager working

2016-09-09 Thread Jérémy MARQUER
tyleAnimation("TextFieldVerrouillage", 500); } } tf.getAnimationManager().addAnimationAndBlock(ComponentAnimation.sequentialAnimation(ca)); On Friday, September 9, 2016 at 9:39:33 AM UTC+2, Jérémy MARQUER wrote: > > In fact, I've tried without the animate call but it doesn't wo

[codenameone-discussions] Re: Can't get new animation manager working

2016-09-09 Thread Jérémy MARQUER
In fact, I've tried without the animate call but it doesn't work too. At the begining, I was invoked the animate call on the form because it invoke repaintAnimations() method ... I've never had an animation working with ComponentAnimation whether sequeential, compound, createStyle,

[codenameone-discussions] Re: Deal with null value in sqlite database

2016-09-01 Thread Jérémy MARQUER
You're right ! In fact, I think the problem is in cn1-data-lib-access. As object array is construct, it can't receive NULL value since all object are converted to String. For example, for insertion : /** * Gets generic insert args for insert statement for the given map of row data. * * @param

[codenameone-discussions] Re: Deal with null value in sqlite database

2016-08-31 Thread Jérémy MARQUER
2016 at 10:32:33 AM UTC+2, Jérémy MARQUER wrote: > > Hi, > > I'm facing to a problem with load/read data in database. In case of > integer or long column type, we can't find/update/save object with null > values since these methods return primitive types : > /** >

[codenameone-discussions] Re: [iOS] How to check if we are in debug build

2016-08-18 Thread Jérémy MARQUER
Dave : thanks, maybe I could do that. But when you will need to release a major version, you will switch from 1.XX to 3.XX directly ?! Shai : Sure, but in your plugin, you know that when we click on "Send debug build" or "Send release build" button. So, maybe you can modify a value in the

[codenameone-discussions] [iOS] How to check if we are in debug build

2016-08-17 Thread Jérémy MARQUER
Hi, Is it possible to check if it's a debug build or release one, right in the code ? I find nothing similar to : Display.getInstance().isSimulator(); I would like to know that for iOS platform because there is two build possibilities via menu, but I also need this for Android. Thanks. --

[codenameone-discussions] Re: How to get/set Preferences with multi account

2016-08-12 Thread Jérémy MARQUER
It's not so clean !! I don't understand why we couldn't manage multi account preferences but one more time you purpose me a bypass as the solution :( On Friday, August 12, 2016 at 7:38:42 AM UTC+2, Shai Almog wrote: > > Hi, > the API is designed to be really simple and a singleton. I

[codenameone-discussions] Re: CodenameOne themes suck, is there a decent out-of-the-box theme that we can all use and not have to mess with theming

2016-08-11 Thread Jérémy MARQUER
Totally agree with you I worked with codenameone since July 2014 to dev a medical app and I found it very difficult to make a nice UI (plus technicals constraints !!). On Thursday, August 11, 2016 at 4:46:43 PM UTC+2, UncleBoni wrote: > Is there an out-of-the-box and decent UI theme that I

[codenameone-discussions] How to get/set Preferences with multi account

2016-08-11 Thread Jérémy MARQUER
Hi, When I read Preferences API implementation, I notify that we can't manage preferences as we would like to. For example, I have an application multi account based... So I would like to have one Preferences file by user. Why it is not possible to customise file name of Preferences ? If you

[codenameone-discussions] Re: Build version

2016-08-11 Thread Jérémy MARQUER
I would like to add automatic support... but build.xml won't be replaced by a more recent from your server when there will be an update ? On Thursday, August 11, 2016 at 7:00:06 AM UTC+2, Shai Almog wrote: > > Hi, > we don't have support for that. You can probably use a change to the >

[codenameone-discussions] Build version

2016-08-10 Thread Jérémy MARQUER
Hi, I have seen that we could submit build version with hint "ios.bundleVersion" but I would like to know if it would be possible to auto increment this build number each time we send a new build. Thanks. -- You received this message because you are subscribed to the Google Groups

Re: [codenameone-discussions] JSONObject/JSONArray API in Codename One

2016-07-28 Thread Jérémy MARQUER
Ok thanks for explanations ! I wasn't thinking there is a factor of 12 between computer and mobile devices oO On Tuesday, July 26, 2016 at 5:19:24 PM UTC+2, shannah wrote: > > > On Tue, Jul 26, 2016 at 7:40 AM, Jérémy MARQUER <jrmy...@gmail.com > > wrote: > >> H

[codenameone-discussions] Re: Deal with null value in sqlite database

2016-05-26 Thread Jérémy MARQUER
Ok I've misunderstood ! Problem is I've no control on this code since it's included in shannah's plugin (cn1-lib-access). Whatever, I will bypass my problem differently. -- You received this message because you are subscribed to the Google Groups "CodenameOne Discussions" group. To

[codenameone-discussions] Re: Class.forName and class.getConstructor

2016-05-25 Thread Jérémy MARQUER
1) I believe Class.forName(String name) is deprecated because classes names are rename on differents way according to the platform. 2) It require Java reflection which is not supported by CN1. 3) I think you could use "Class.newInstance()" method (not sure about that) On Wednesday, May 25,

Re: [codenameone-discussions] Why foreign key support is not enable (SQLite) ?

2016-05-25 Thread Jérémy MARQUER
> > > > On Tue, May 24, 2016 at 6:33 AM, Jérémy MARQUER <jrmy...@gmail.com > > wrote: > >> I can't get working foreign key with sqlite. I mean "PRAGMA FOREIGN_KEY;" >> always return "0" even if I execute "PRAGMA FOREIGN_KEY = ON". >