[codenameone-discussions] Re: Windows Store Build never completes

2016-08-29 Thread Bryan Buchanan
Removing source fixed it. On Monday, August 29, 2016 at 3:19:04 PM UTC+10, Shai Almog wrote: > > We added some code to fail more gracefully for this case. > It looks like the result sizes are just too large and I'm guessing it > might be because of the source files in the release build. Try unch

[codenameone-discussions] ios build failires (weird): no identity found

2016-08-29 Thread Gareth Murfin
Ive been making iOS builds fine today, then I added (since I dont have https set up yet I thought this would help - is that a work around right now ?) ios.plistInject = NSAppTransportSecurity NSAllowsArbitraryLoads and somehow now its failing to build with /usr

[codenameone-discussions] Best way to write a simple CN1 App

2016-08-29 Thread jeremy . teichman . 74
Hello, I started using Codename One since 2 weeks. At the moment I am working on a ToDo App, but I always think that I could realise it better. So I have some question to you : 1. What would be the best way to create a List is it better to use Accordian Component or the InfiniteContainer

Re: [codenameone-discussions] Re: Error on fromNSString function in Codename one

2016-08-29 Thread Steve Hannah
Your native function doesn't do what you think it does. You are returning sFilePath from your function, but its value is being changed inside of your dispatch_async call - which happens after you've already returned from your function. Since your function uses async callbacks internally to set th

[codenameone-discussions] Re: programatically go back

2016-08-29 Thread howudodat1
As far as I understand it the "StateMachine" no longer exists, or at least not in the form to which you refer. At the minimum it does not exist in my project. I have noticed this weird behaviour: if I store a handle to the parent form and then call parent.showBack() - Just call parent.showBa

[codenameone-discussions] date span / addition

2016-08-29 Thread howudodat1
how can I add N days or N years to a date? Normally I would do: Calendar c = Calendar.getInstance(); c.setTime(new Date()); // Now use today date. c.add(Calendar.DATE, 5); // Adding 5 days Peter -- You received this message because you are subscribed to the Google Groups "CodenameOne Discuss

[codenameone-discussions] Re: Build error: export failed on iOS

2016-08-29 Thread mispro . ahsay
Any udpate? Thanks, On Monday, August 29, 2016 at 1:58:04 PM UTC+8, mispro...@gmail.com wrote: > > Dear Sir, > > When I build iOS, there is build error return below: > > ** EXPORT FAILED ** > > Executing: /Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild > -exportArchive -archivePath

[codenameone-discussions] Re: Build error: export failed on iOS

2016-08-29 Thread mispro . ahsay
Any update? (typo in previous post) On Tuesday, August 30, 2016 at 9:23:06 AM UTC+8, mispro...@gmail.com wrote: > > Any udpate? > > Thanks, > > On Monday, August 29, 2016 at 1:58:04 PM UTC+8, mispro...@gmail.com wrote: >> >> Dear Sir, >> >> When I build iOS, there is build error return below: >> >

Re: [codenameone-discussions] Re: Error on fromNSString function in Codename one

2016-08-29 Thread mispro . ahsay
Hi Steve, Thanks for your advice, let we try! On Monday, August 29, 2016 at 10:33:22 PM UTC+8, Steve Hannah wrote: > > Your native function doesn't do what you think it does. You are returning > sFilePath from your function, but its value is being changed inside of your > dispatch_async call -

[codenameone-discussions] Windows Store submission error

2016-08-29 Thread Bryan Buchanan
See attached message about precompiled.NET packages. What does it mean ? -- 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 codenameone-discussions+unsub

Re: [codenameone-discussions] Windows Store submission error

2016-08-29 Thread Steve Hannah
You need to upload an appxupload file. You will get that with the windows store upload option. I just got an app accepted to the windows store today and, in doing so, ran across a couple of bugs in the build server that will be fixed in the next update (Friday). For now you also need to include

Re: [codenameone-discussions] Windows Store submission error

2016-08-29 Thread Bryan Buchanan
OK, thanks, I'll wait until the weekend. -- 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 codenameone-discussions+unsubscr...@googlegroups.com. Visit t

[codenameone-discussions] local notification when the app is closed

2016-08-29 Thread Bbeck Shrestha
I used local notification to show bday msg. But the notification is only displayed when the app is minimized or in bg. If the app is closed, why doesnt the local notification work? I am not sure if the user keeps the app in bg on the day of his bday. If he doesnt, the notification is not shown &

[codenameone-discussions] Re: Android app with Native code was working and now doesn't

2016-08-29 Thread Shai Almog
I'm assuming you are stuck in the while loop. The question is why and that's probably related to the native code. I'm guessing you need to add logging to the native code and follow that. -- You received this message because you are subscribed to the Google Groups "CodenameOne Discussions" grou

[codenameone-discussions] Re: ios build failires (weird): no identity found

2016-08-29 Thread Shai Almog
This is related to the xcode server migration. We made some fixes, please see if this is still happening. https://www.codenameone.com/blog/xcode-migration-take-2.html -- You received this message because you are subscribed to the Google Groups "CodenameOne Discussions" group. To unsubscribe fr

[codenameone-discussions] Re: Build error: export failed on iOS

2016-08-29 Thread mispro . ahsay
Dear sir, ** ARCHIVE SUCCEEDED ** Executing: /Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild -exportArchive -archivePath MainUI.xcarchive -exportPath /var/folders/zh/kb_4hqhn4kg1h0r5dp_6htcmgn/T/build195882500309406593xxx/result -exportOptionsPlist /var/folders/zh/kb_4hqhn4k

[codenameone-discussions] Re: Android app with Native code was working and now doesn't

2016-08-29 Thread Bryan Buchanan
The weird thing is, when the code was built last week it worked fine (I still have that old apk), but when I rebuilt the other day, same code, it doesn't. On Tuesday, August 30, 2016 at 2:12:16 PM UTC+10, Shai Almog wrote: > > I'm assuming you are stuck in the while loop. > The question is why a

[codenameone-discussions] Re: Build error: export failed on iOS

2016-08-29 Thread Shai Almog
Hi, This is related to the xcode server migration: https://www.codenameone.com/blog/xcode-migration-take-2.html Is this still happening in current builds? Is this working with the iphone_old builds? What can you tel us about your project? Native code, cn1libs anything special? -- You received

[codenameone-discussions] Re: file system enabled in webview

2016-08-29 Thread Shai Almog
Hi, I don't quite understand that output and the lines of code from the screenshot just don't exist in our codebase which you can see in our github repository. There is a way to call that method but its from the BrowserComponent which you don't use. I'm guessing this is a flaw in the analyzer t

[codenameone-discussions] Re: Best way to write a simple CN1 App

2016-08-29 Thread Shai Almog
Hi, 1. Those are nothing alike. Accordion allows you to fold entries but you need to know all of them in advance. InfiniteContainer is designed to build a UI where the data isn't known and usually fetched from somewhere. 2. I like the theme builder approach better and have a personal aversion t

[codenameone-discussions] Re: programatically go back

2016-08-29 Thread Shai Almog
When a Dialog is disposed it goes to the form that showed it. ToastBar is bound to a specific form so it won't work as expected either. The solution is to showBack() and use an addShowListener before that. Within the show listener show your toastbar or dialog. This will do the back transition f

[codenameone-discussions] Re: date span / addition

2016-08-29 Thread Shai Almog
What's not working with this? Notice that DATE is really DAY_OF_MONTH. -- 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 codenameone-discussions+unsubsc

[codenameone-discussions] Re: local notification when the app is closed

2016-08-29 Thread Shai Almog
Local notifications in iOS only work in the background assuming that when the app is in the foreground you can show it yourself. We try to be consistent between platforms for portability. -- You received this message because you are subscribed to the Google Groups "CodenameOne Discussions" gro

[codenameone-discussions] Re: Android app with Native code was working and now doesn't

2016-08-29 Thread Shai Almog
I'm not aware of any major impacting changes to the Android build toolchain in the past few weeks. -- 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 co