[codenameone-discussions] "expected statement" bug in IOS builds

2017-04-26 Thread Dave Dyer
Re: an old thread https://groups.google.com/forum/#!searchin/codenameone-discussions/statement$20expected%7Csort:relevance/codenameone-discussions/jBNoy1bSKM4/ZrW5in1dCwAJ This is still an extant problem that crops up randomly; today I got to the bottom of it. The problem is that the asm

[codenameone-discussions] Re: IOS builds failing: error unexpected statement

2017-04-26 Thread Dave Dyer
An interesting bit about this "statement expected" error. I've been generating my own builds, and out of a few dozen builds that I got as far as feeding to xcode, TWO so far have failed due to this. Since I was watching for it, I re-ran the identical build and the error did not repeat.The

[codenameone-discussions] Re: IOS builds puzzle

2017-04-26 Thread Dave Dyer
I'm tantalizingly close to making my own builds, which will make it possible to start more interesting work on parpavm. I can make builds which xcode successfully compiles and links, but which crash on running. I'm pretty sure that's because I'm missing the secret sauce embedded in the

Re: [codenameone-discussions] Re: IOS builds puzzle

2017-04-26 Thread Dave Dyer
On Wednesday, April 26, 2017 at 8:44:26 AM UTC-7, Steve Hannah wrote: > > Oh. The ASM library. As far as I know we use the same version that is > posted in cn1-binaries: > https://github.com/codenameone/cn1-binaries/tree/master/vm > > That's the one I'm using, but it apparently isn't the one

[codenameone-discussions] i have a list view with swipeble container i want to know how to handle action if im swiping container then a button will appear and if im clicking a new form will be shown

2017-04-26 Thread b.wassim Rmd
i have a list view with swipeble container i want to know how to handle action if im swiping container then a button will appear and if im clicking a new form will be shown how can i handle this this is my code * ArrayList am = gs.getAllm();* *for (Membre i : am) {* *

Re: [codenameone-discussions] Re: IOS builds puzzle

2017-04-26 Thread Steve Hannah
Oh. The ASM library. As far as I know we use the same version that is posted in cn1-binaries: https://github.com/codenameone/cn1-binaries/tree/master/vm Steve On Wed, Apr 26, 2017 at 8:35 AM, Dave Dyer wrote: > > On Wednesday, April 26, 2017 at 7:36:18 AM UTC-7,

Re: [codenameone-discussions] Re: IOS builds puzzle

2017-04-26 Thread Dave Dyer
On Wednesday, April 26, 2017 at 7:36:18 AM UTC-7, Steve Hannah wrote: > > What assembler are you referring to? > That would be the java bytecode assembler that ByteCodeTranslator uses to map over the classes. Seems to be part of android studio -- You received this message because you are

[codenameone-discussions] About Parse and Codename one integration

2017-04-26 Thread mrshera95
Hello! I read this doc about integration Parse with Codename one ^ https://github.com/sidiabale/parse4cn1 And my ask: May I send Push notifications to Android and IOS from Parse without Pro accaunt CodeName one or I must have a pro accaunt to send Push? Thanks! If you are experiencing an

Re: [codenameone-discussions] Re: IOS builds puzzle

2017-04-26 Thread Steve Hannah
What assembler are you referring to? On Tue, Apr 25, 2017 at 7:54 PM, Dave Dyer wrote: > > This discrepancy seems to be related to the version of the assembler that > is used > in the build. What version is being used by the build server? > > JAVA_OBJECT

Re: [codenameone-discussions] IOS builds puzzle

2017-04-26 Thread Steve Hannah
The build server sets a number of flags in the source code to adjust #defines and defaults. It also injects code in various places for certain features (e.g. push). For your own local builds, you should change #define NO_USE_ES2 1 to #define USE_ES2 1 Steve On Tue, Apr 25, 2017 at 3:47 PM,

Re: [codenameone-discussions] Re: why my function is always returning null object

2017-04-26 Thread b.wassim Rmd
i find out that the action performed method is executing after the return statement thats why it return null always 2017-04-26 13:41 GMT+01:00 b.wassim Rmd : > its the same thing > > 2017-04-26 13:27 GMT+01:00 steve nganga : > >> Try the following >>

Re: [codenameone-discussions] Re: why my function is always returning null object

2017-04-26 Thread b.wassim Rmd
its the same thing 2017-04-26 13:27 GMT+01:00 steve nganga : > Try the following > > NetworkManager.getInstance().addToQueue*AndWait*(con); and uncomment the > line > > > Connection also provides the addArgument method so instead of appending > the id to the url use the > >

Re: [codenameone-discussions] Re: why my function is always returning null object

2017-04-26 Thread steve nganga
Try the following NetworkManager.getInstance().addToQueue*AndWait*(con); and uncomment the line Connection also provides the addArgument method so instead of appending the id to the url use the ConnectionRequest con = new ConnectionRequest();

[codenameone-discussions] Re: why my function is always returning null object

2017-04-26 Thread b.wassim Rmd
this is what i get when im testing Le mercredi 26 avril 2017 02:27:25 UTC+1, b.wassim Rmd a écrit : > > If you are experiencing an issue please mention the full platform your > issue applies to: > IDE: NetBeans > Simulator > -- You received this message because you are subscribed to the

Re: [codenameone-discussions] why the blog have no new post?

2017-04-26 Thread steve nganga
https://www.codenameone.com/blog/questions-of-the-week-49.html On Wed, Apr 26, 2017 at 1:41 PM, wrote: > Hi shai! everything its ok? im asking why since some weeks we cant find > new post. > > regards! > > > If you are experiencing an issue please mention the full

[codenameone-discussions] why the blog have no new post?

2017-04-26 Thread romancanoniero
Hi shai! everything its ok? im asking why since some weeks we cant find new post. regards! If you are experiencing an issue please mention the full platform your issue applies to: IDE: NetBeans/Eclipse/IDEA Desktop OS Simulator Device -- You received this message because you are subscribed

Re: [codenameone-discussions] why my function is always returning null object

2017-04-26 Thread steve nganga
Share the stacktrace... just from looking at your code you have already instantiated Membre on the first line and hence does not make sense to return null; On Wed, Apr 26, 2017 at 4:27 AM, b.wassim Rmd wrote: > If you are experiencing an issue please mention the full