[codenameone-discussions] Oracle Java
Just wondering about Oracle's recent announcements about commercial support for Java - should I care, does it affect CN1 apps ? -- 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 this group at https://groups.google.com/group/codenameone-discussions. To view this discussion on the web visit https://groups.google.com/d/msgid/codenameone-discussions/d516c527-99a6-408b-ad85-5992d14cd619%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[codenameone-discussions] Re: couchbase lite java API for ios and android
Hi, this is native so it will perform exactly as native code does. Yes the database would have a different implementation for iOS & for Android. Native interfaces don't allow passing arbitrary objects since the native iOS VM (and a few of the other VM's) would be hard to use with objects. You can pass a JSON string into the native interface. Since the iOS native API won't be able to use a Java level JSON object anyway that makes sense. You will get a NSString (which is the native iOS String type) in the iOS side and you can work with that. -- 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 this group at https://groups.google.com/group/codenameone-discussions. To view this discussion on the web visit https://groups.google.com/d/msgid/codenameone-discussions/6ad8f3d9-f746-47bd-aaf9-08179705d146%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[codenameone-discussions] Re: Date/Time Picker Displaying Jumbled
Don't use Date & Time Picker anywhere other than iOS. Use a separate Date picker and Time picker as Android doesn't support both in a single widget. Since this isn't supported natively it falls back to the problematic code that runs in the simulator. The way to detect this in code is: if(Display.getInstance().isNativePickerTypeSupported(Display. PICKER_TYPE_DATE_AND_TIME)) { ... } else { ... } -- 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 this group at https://groups.google.com/group/codenameone-discussions. To view this discussion on the web visit https://groups.google.com/d/msgid/codenameone-discussions/c7d7f7a9-e059-4a0c-941c-3bb9a5453639%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[codenameone-discussions] Re: couchbase lite java API for ios and android
Hi, Thanks for the quick response. We will try this option of using couchbase lite in our app. Do you fore see any performance issue with this approach? In this approach there will be different code for ios and android interfaces calling native? Is my understanding is right? Is it possible to pass json object as parameter to native? Thanks and Regards Aravinda T On Saturday, April 21, 2018 at 10:02:33 AM UTC+5:30, Shai Almog wrote: > > Hi, > we don't have builtin support for that. Someone would need to port the > database to work with Codename One which isn't hard but is a bit of work. > > The only reasonable way to do this is with native interfaces > https://www.codenameone.com/how-do-i---access-native-device-functionality-invoke-native-interfaces.html > > The Android version of the Database contains some Java code but a lot of > non-Java code so it's not something that can be realistically ported to iOS > etc. > > If we have enough demand from enterprise customers we can probably wrap > couchbase in a cn1lib. > -- 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 this group at https://groups.google.com/group/codenameone-discussions. To view this discussion on the web visit https://groups.google.com/d/msgid/codenameone-discussions/18ae3f02-7539-4766-8f1f-4ec2247730e6%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[codenameone-discussions] Re: Date/Time Picker Displaying Jumbled
Actually, I'm having this problem on the device as well as I mentioned in my post. I'm not able to screenshot it because it addition to appearing as it does above, it disappears after about two seconds. I've created a video though. It looks like a loo but I'm just robotic :). https://www.dropbox.com/s/54gviij65wjnetd/DateTimePickerBugDemo.mp4?dl=0 I'm currently attempting a workaround by using a separate picker for date and time, then combining into a single Date. It actually looks nice on the form that way. Just a bit more code. On Friday, April 20, 2018 at 9:36:29 PM UTC-7, Shai Almog wrote: > > That's a regression in the simulator in recent updates. Notice that > rendering on the device will look completely different. > > We are working on replacing the picker component entirely with something > that would hopefully solve the constant problems we are running into with > that component. > -- 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 this group at https://groups.google.com/group/codenameone-discussions. To view this discussion on the web visit https://groups.google.com/d/msgid/codenameone-discussions/031d57ba-4af4-449d-bfea-746745a3c1f1%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[codenameone-discussions] Re: Display Issue in Simulator With TextComponent
Thanks and done! On Friday, April 20, 2018 at 9:45:18 PM UTC-7, Shai Almog wrote: > > I see the problem. Your code looks fine although I would add a > c.setScrollableY(true) to the code but that doesn't seem to make a > difference. > > Can you file an issue? We'll try to track it down. > > http://github.com/codenameone/CodenameOne/issues/new > -- 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 this group at https://groups.google.com/group/codenameone-discussions. To view this discussion on the web visit https://groups.google.com/d/msgid/codenameone-discussions/5bb5e60c-6403-4ed5-83e0-77fb4883%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.