[codenameone-discussions] Re: ToolBar in Dialog

2019-05-15 Thread Shai Almog
Yes. Toolbar relies on too many things. We also have a strong recommendation that dialogs should be small/simple things. You shouldn't use them for anything elaborate. -- You received this message because you are subscribed to the Google Groups "CodenameOne Discussions" group. To

[codenameone-discussions] Re: How to load iOS debug version on an iPhone

2019-05-13 Thread Shai Almog
There are two options. Add his device UIID to the testing devices provisioning profile and update your profiles. You can then send him the install link and he can install it just like you. Or you can use testflight which accepts release builds submitted to apple. It goes through some apple

[codenameone-discussions] Re: I can not buy the book "Create an Uber Clone in 7 days"

2019-05-13 Thread Shai Almog
Hi, Since the problem manifests on your end it makes more sense that you should contact them. Their support isn't exactly effective and it won't work well from my side as I have no idea what the problem is in this case. The book isn't blocked for a specific region and specifically marked as

[codenameone-discussions] Re: best practice to re-order Tabs

2019-05-13 Thread Shai Almog
You need to create a custom tab component that has a visual indicator of the region. Then override isDragAndDropOperation(x, y) to return true if a click is within that region. -- You received this message because you are subscribed to the Google Groups "CodenameOne Discussions" group. To

[codenameone-discussions] Re: I can not buy the book "Create an Uber Clone in 7 days"

2019-05-12 Thread Shai Almog
Hi, everything is included in the book/source bundle. The book is listed as available worldwide and full copyright license is granted so I'm not sure why this is blocked for Panama. That's probably an Amazon issue. If might be available in physical book stores, they have a system for book

[codenameone-discussions] Re: best practice to re-order Tabs

2019-05-12 Thread Shai Almog
No. Drag region is the area within a component that can be "draggable" that means that if you grab a tab in outside that region it will not drag only if you drag from that area. You usually mark that area with a fuzzy texture marking to indicate that it's something people can touch/drag. --

[codenameone-discussions] Re: Android: How to specify gradle version

2019-05-11 Thread Shai Almog
We use gradle 4.6 when building. You can't just pick any gradle version because a different version might not be installed. -- You received this message because you are subscribed to the Google Groups "CodenameOne Discussions" group. To unsubscribe from this group and stop receiving emails

[codenameone-discussions] Re: Native time picker OK button issue

2019-05-11 Thread Shai Almog
The picker doesn't accept null values, you need to use setTime not setDate to define the value as minutes. -- 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

[codenameone-discussions] Re: Vertical align with Created TTF Font

2019-05-11 Thread Shai Almog
Thanks, but the issue tracker is here: http://github.com/codenameone/CodenameOne/issues/new In the group or stack overflow it just gets lost. -- You received this message because you are subscribed to the Google Groups "CodenameOne Discussions" group. To unsubscribe from this group and stop

[codenameone-discussions] Re: best practice to re-order Tabs

2019-05-11 Thread Shai Almog
We just call that scrolling ;-) There are several solutions for this, one of them is to define a drag region within the component which means only a specific region is swipeable. The other is to have an edit mode, e.g. you can set the draggable to true only when that edit mode is enabled. --

[codenameone-discussions] Re: Vertical align with Created TTF Font

2019-05-10 Thread Shai Almog
Hi, fonts are pretty hard to get to 100% as the kerning is pretty different natively. If you have a test case which includes the actual TTF file please file an issue and we'll try to reproduce it. -- You received this message because you are subscribed to the Google Groups "CodenameOne

[codenameone-discussions] Re: iOS build error: _com_codename1_impl_ios_IOSNative_sqlCursorNullValueAtColumn___long_int_R_boolean

2019-05-10 Thread Shai Almog
Hi, this was a temporary regression due to this user submitted pull request: https://github.com/codenameone/CodenameOne/pull/2755 we fixed it within a couple of hours. Sorry for the inconvenience. -- You received this message because you are subscribed to the Google Groups "CodenameOne

[codenameone-discussions] Re: Bluetooth Printing Solution

2019-05-10 Thread Shai Almog
Use Display.getInstance().execute(fileURL). This will open it in the browser where you can send the file to the printer. -- 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

[codenameone-discussions] Re: best practice to re-order Tabs

2019-05-10 Thread Shai Almog
Why do you have swipe activated for vertical tabs? Doesn't it make more sense to disable swiping? -- 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] Re: best practice to re-order Tabs

2019-05-09 Thread Shai Almog
Drag is from the left most or right most position so this shouldn't impact the normal usage of tab dragging. Do you see an impact of that? -- You received this message because you are subscribed to the Google Groups "CodenameOne Discussions" group. To unsubscribe from this group and stop

[codenameone-discussions] Re: SideMenu below toolbar

2019-05-08 Thread Shai Almog
Hi, this is a legacy mode since modern UX uses the on top mode. Just set the on-top mode to false in Toolbar if you want to try it but I wouldn't recommend it. -- You received this message because you are subscribed to the Google Groups "CodenameOne Discussions" group. To unsubscribe from this

[codenameone-discussions] Re: Builds and Apple dev account 2-factor authentication

2019-05-08 Thread Shai Almog
I'm assuming this relates to this: https://github.com/codenameone/CodenameOne/issues/2779 Notice that Steve grepped the logs for the server and only found one failure related to this. So I'm assuming this is working fine for everyone else. -- You received this message because you are

[codenameone-discussions] Re: Supporting Graph databases in codenameone

2019-05-07 Thread Shai Almog
We don't have any API for that. You can wrap a native database in a cn1lib to add support for 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] Re: best practice to re-order Tabs

2019-05-06 Thread Shai Almog
I thought this would make an interesting blog post so I wrote a full working sample. My initial mock had a mistake in listener registration: Form hi = new Form("Tabs", new BorderLayout()); Tabs t = new Tabs(); t.addTab("T1", new Label("Tab 1")); t.addTab("T2", new Label("Tab 2"));

[codenameone-discussions] Re: Reg.UUID class availablity

2019-05-06 Thread Shai Almog
Hi, this is the generic explanation: https://www.codenameone.com/blog/why-we-dont-support-the-full-java-api.html The gist of it is that no one asked for it. Most users need it in the server not in the client. You could probably port it from Android or Apache if you choose to do so. -- You

[codenameone-discussions] Re: How to do bottom navigation in the code

2019-05-05 Thread Shai Almog
What label? I think you're looking for setTabPlacement. -- 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] Re: best practice to re-order Tabs

2019-05-04 Thread Shai Almog
Didn't have time to try/run this but something like this might work. You'd need to remove and re-add the tab in the right location within the drop listener so the swipe/animation will work. It relied a bit on the internal structure of the tabs component hierarchy but not too much: Form hi =

Re: [codenameone-discussions] Replicate php "password_hash" function

2019-05-04 Thread Shai Almog
Do you mean in the Java server side? In which server platform? The way this normally works is that the user logs in using the username/password. Then you get back an authorization token which is a static randomly generated key to access the services in the server. That saves you the need from

[codenameone-discussions] Re: How to do bottom navigation in the code

2019-05-04 Thread Shai Almog
Do you mean the tabs in the bottom of the screen? You can just place tabs in the center and set them to always show in the bottom. -- You received this message because you are subscribed to the Google Groups "CodenameOne Discussions" group. To unsubscribe from this group and stop receiving

[codenameone-discussions] Re: In Bluetooth Class Service & Charateristic Parameter of write method in CN1bluetooth.cn1lib

2019-05-04 Thread Shai Almog
Is the device a bluetooth or BluetoothLE device? Notice that the library only supports BluetoothLE. What was returned from the device connection? Are you sure of the values you passed to the write operation? -- You received this message because you are subscribed to the Google Groups

[codenameone-discussions] Re: how to send e-mail via Message Api Codenameone ? cause i've tried it but it didn't work yet there is no erreur in The Console, it's writting sending e-mail to "MyMail.com

2019-05-04 Thread Shai Almog
Is this on the UWP build or in the simulator? -- 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.

[codenameone-discussions] Re: how to send e-mail via Message Api Codenameone ? cause i've tried it but it didn't work yet there is no erreur in The Console, it's writting sending e-mail to "MyMail.com

2019-05-03 Thread Shai Almog
That's the simulator. It prints that for your debugging convenience. On the device it will launch the native email sending application. -- You received this message because you are subscribed to the Google Groups "CodenameOne Discussions" group. To unsubscribe from this group and stop

[codenameone-discussions] Re: Reg.UUID class

2019-05-03 Thread Shai Almog
Sure. You will open an HTML file that's local to the device using a file:// URL. You need to create that file using the file system storage API which will also provide the URL you can execute. -- You received this message because you are subscribed to the Google Groups "CodenameOne

[codenameone-discussions] Re: best practice (Dialog is Open and App is suspended)

2019-05-02 Thread Shai Almog
This error occurs when you try to add a component that's already added to another component. I'm guessing the dialog shows a component which you didn't remove from the now disposed dialog. If such a component exists you can remove it using component.remove(). You can reproduce this on the

[codenameone-discussions] Re: Reg.UUID class

2019-05-02 Thread Shai Almog
I would suggest printing by generating an HTML file and firing up the browser using Display.execute. The browser would probably have access to the printer and can carry out the printing process for you. This will work on all platforms and should be simple to implement. Notice you can also

[codenameone-discussions] Re: Side Menu latest iOS

2019-04-30 Thread Shai Almog
Does your theme derive from the native theme or not? iOS apps need to render the portion under the status bar (or notch in newer devices) this hasn't changed since the introduction of iOS 7. The native theme has a StatusBar padding to push down the content of the app and side menu bar. --

[codenameone-discussions] Re: chromebooks

2019-04-28 Thread Shai Almog
We support such events in desktop and our JavaScript port (which supports Chromebooks). -- 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] Re: isEditable() method of Picker

2019-04-27 Thread Shai Almog
Hi, it's setEnabled(). I provided a longer answer here: https://stackoverflow.com/questions/55884255/how-do-i-fix-simple-logic-error-in-codename-one -- You received this message because you are subscribed to the Google Groups "CodenameOne Discussions" group. To unsubscribe from this group and

[codenameone-discussions] Re: chromebooks

2019-04-26 Thread Shai Almog
I think we can easily fix this: https://developer.android.com/topic/arc/screen-size-comp We just need to add to our android:configChanges the fields smallestScreenSize|screenLayout. We already handle resizing and automatically adapt the layout so it shouldn't be a problem at all. -- You

Re: [codenameone-discussions] About SSL certificate

2019-04-26 Thread Shai Almog
I didn't use SSLForFree and I'm not sure about it but I have used letsencrypt and it worked well with our apps/simulator as long as the JDK was 1.8.101 or newer. I'm guessing the simulator is executed by a different JDK than the one you have installed. I suggest uninstalling older JDKs to make

Re: [codenameone-discussions] About SSL certificate

2019-04-25 Thread Shai Almog
Which certificate authority signed your certificate? It's not a self signed certificate by any chance right? If it is this obviously won't work anywhere... -- You received this message because you are subscribed to the Google Groups "CodenameOne Discussions" group. To unsubscribe from this

[codenameone-discussions] Re: AppStore rejection

2019-04-22 Thread Shai Almog
Hi, that's very odd. I've never seen this type of rejection before. Can you provide details about the cn1libs or native libraries that you use within the app? -- You received this message because you are subscribed to the Google Groups "CodenameOne Discussions" group. To unsubscribe from this

[codenameone-discussions] Re: ShareButton add list image

2019-04-22 Thread Shai Almog
We don't support that in the current share API. You can use native interfaces to expose something like that https://www.codenameone.com/how-do-i---access-native-device-functionality-invoke-native-interfaces.html -- You received this message because you are subscribed to the Google Groups

[codenameone-discussions] Re: ShareButton add list image

2019-04-20 Thread Shai Almog
That's only applicable to the simulator. On the device you will see the native sharing functionality. -- 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

[codenameone-discussions] Re: build server is down (4/20/2019)

2019-04-20 Thread Shai Almog
We had a deployment issue with one of our microservice images where the service was misconfigured and didn't restart on crash. This caused a chain reaction of cascading failures. We restarted the applicable machines and configured the images correctly this time. Unfortunately this happens at a

[codenameone-discussions] Re: AutoCompleteTextField and potentially long filtering?

2019-04-17 Thread Shai Almog
Everything is called on the EDT except when explicitly stated otherwise. This is especially true for the UI. Asynchronous doesn't mean it isn't invoked on the EDT it means that it is called later but it would still be on the EDT. You can block using "legal" means such as addToQueueAndWait or

[codenameone-discussions] Re: play notification sound

2019-04-14 Thread Shai Almog
In which OS+version? Which API do you use to play the sound and how? -- 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] Re: AutoCompleteTextField NullPointerException

2019-04-12 Thread Shai Almog
You shouldn't be able to interact with a renderer. Do you mean you don't see the focus behind? It's probably because the component is opaque. -- You received this message because you are subscribed to the Google Groups "CodenameOne Discussions" group. To unsubscribe from this group and stop

[codenameone-discussions] Re: Generate XML file with XMLWriter

2019-04-11 Thread Shai Almog
Try this: try(OutputStream os = FileSystemStorage.getInstance().openOutputStream(path+""+"test.xml"); OutputStreamWriter writer = new OutputStreamWriter(os)) { xw.writeXML(writer, root); writer.close(); }

[codenameone-discussions] Re: how to render TextArea or textField to vary font and color within the body of text

2019-04-11 Thread Shai Almog
There is an issue in that code discussed in the comments below. There is a newer improved version of the code in the Facebook Clone if you have the online courses. I'll try to dig through my code to find it and post an updated blog with that. -- You received this message because you are

[codenameone-discussions] Re: AutoCompleteTextField NullPointerException

2019-04-11 Thread Shai Almog
I suggest using a single Label or TextArea instance within the renderer. When you reuse the instance the renderer manipulates the component and that triggers artifacts. To make the component look like AutoComplete just use setUIID(). -- You received this message because you are subscribed to

[codenameone-discussions] Re: AutoCompleteTextField NullPointerException

2019-04-10 Thread Shai Almog
Did you remove the auto-complete component (or one of its parents) from the form dynamically? -- 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] Re: Trying to use third party lib (PubNub) to handle messaging

2019-04-10 Thread Shai Almog
Here: https://github.com/shannah/cn1-websockets/ -- 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] Re: Generate XML file with XMLWriter

2019-04-10 Thread Shai Almog
Both methods lead to the same block: https://github.com/codenameone/CodenameOne/blob/master/CodenameOne/src/com/codename1/xml/XMLWriter.java#L180-L242 I'm guessing the problem you are experiencing is in reading the XML. -- You received this message because you are subscribed to the Google

[codenameone-discussions] Re: Generate XML file with XMLWriter

2019-04-09 Thread Shai Almog
I just tried this: Form hi = new Form("XML", BoxLayout.y()); Button write = new Button("Write"); hi.add(write); write.addActionListener(new ActionListener() { @Override public void actionPerformed(ActionEvent evt) { Element root = new Element("root"); XMLWriter xw = new

[codenameone-discussions] Re: how to render TextArea or textField to vary font and color within the body of text

2019-04-09 Thread Shai Almog
You have two options. Either native HTML or do it yourself. The native HTML can only be rendered in a very specific component area. That's a platform specific limitation that we can't workaround. -- You received this message because you are subscribed to the Google Groups "CodenameOne

[codenameone-discussions] Re: Trying to use third party lib (PubNub) to handle messaging

2019-04-09 Thread Shai Almog
Hi, I think pubnub cut support for older libraries they implemented. I haven't paid much attention since websockets proved to be a good substitute and removed the need for solutions like that. -- You received this message because you are subscribed to the Google Groups "CodenameOne

[codenameone-discussions] Re: how to render TextArea or textField to vary font and color within the body of text

2019-04-08 Thread Shai Almog
You can use HTML but not in the body of arbitrary components which is super expensive. There is this option: https://www.codenameone.com/blog/tip-lightweight-rich-text-view.html -- You received this message because you are subscribed to the Google Groups "CodenameOne Discussions" group. To

[codenameone-discussions] Re: ComboBox with SpanButton VS MultiButton as rendered multiline text

2019-04-08 Thread Shai Almog
Use a text area. Set it to editable false and use setUIID("Label"). SpanLabel is lead component and won't work well with a renderer. FYI https://www.codenameone.com/blog/tip-dont-use-combobox.html -- You received this message because you are subscribed to the Google Groups "CodenameOne

[codenameone-discussions] Re: How to deploy App on IOS using windows eclipse

2019-04-08 Thread Shai Almog
Hi, no. You need to use a Mac for the final upload part. We currently don't have a deployment tool on Windows. You can use a service such as macincloud and the Application Loader tool. https://stackoverflow.com/questions/54811444/send-a-codename-one-ios-appstore-build-to-app-store -- You

[codenameone-discussions] Re: iOS Fails to build with QR Scanning plugin

2019-04-07 Thread Shai Almog
It looks like you included the library without using it from reachable code: https://www.codenameone.com/blog/tip-uninstall-cn1lib.html -- You received this message because you are subscribed to the Google Groups "CodenameOne Discussions" group. To unsubscribe from this group and stop

[codenameone-discussions] Re: Product Plans To add API to view system crash logs

2019-04-07 Thread Shai Almog
Do you mean this? https://www.codenameone.com/blog/native-logging-certificate-wizard.html -- 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] Re: Trying to use third party lib (PubNub) to handle messaging

2019-04-07 Thread Shai Almog
This used to work fine. Make sure you included all the dependencies as pubnub included other dependencies. Also make sure you installed the library correctly. -- You received this message because you are subscribed to the Google Groups "CodenameOne Discussions" group. To unsubscribe from this

Re: [codenameone-discussions] Re: getting Internal Application Error: Null Pointer Exception: Attempt to invoke virtual method on com.codenameone1.r.x

2019-04-05 Thread Shai Almog
We have sendLog in the pro accounts but you can view them in PC easily if it's on Android. See https://www.google.com/search?client=firefox-b-d=logcat+android+pc -- You received this message because you are subscribed to the Google Groups "CodenameOne Discussions" group. To unsubscribe from

[codenameone-discussions] Re: Using themes, setting Selected Foreground on TAB fails to change foreground color as defined in theme

2019-04-04 Thread Shai Almog
Tabs only use the pressed/unselected states as they are normally toggle buttons. I'm not aware of an issue there but it could be, I'll need a test case in the issue tracker to see if there's an issue. -- You received this message because you are subscribed to the Google Groups "CodenameOne

[codenameone-discussions] Re: How i Can Initialize Firebase in cn1?

2019-04-04 Thread Shai Almog
Hi, firebase is added implicitly when using push notification build hints. -- 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] Re: getting Internal Application Error: Null Pointer Exception: Attempt to invoke virtual method on com.codenameone1.r.x

2019-04-04 Thread Shai Almog
You need to look at the stack trace which you can see in the device log. -- 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] Re: About the Chinese characters in the URL request

2019-04-04 Thread Shai Almog
Did you use the methods I mentioned? You don't need to UTF encode. -- 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] Re: SQLite and BLOB type

2019-04-04 Thread Shai Almog
Flash is slow especially in write. RAM/CPU cache are faster and they deplete with larger files. Feel free to benchmark this on a device. If it's easy feel free to implement a PR. -- You received this message because you are subscribed to the Google Groups "CodenameOne Discussions" group. To

[codenameone-discussions] Re: Using themes, setting Selected Foreground on TAB fails to change foreground color as defined in theme

2019-04-03 Thread Shai Almog
That won't work since the Tab UIID is re-set every time we switch a tab to switch Tab/TabPressed. You can use tabs.setTabUIID(null) to disable this behavior. -- You received this message because you are subscribed to the Google Groups "CodenameOne Discussions" group. To unsubscribe from this

[codenameone-discussions] Re: About the Chinese characters in the URL request

2019-04-03 Thread Shai Almog
Almost, this should be url encoded with % notation: String utf8nickName = Util.encodeUrl(nickName); This should also be done for the email as the @ character should be %40: Util.encodeUrl(email). -- You received this message because you are subscribed to the Google Groups "CodenameOne

[codenameone-discussions] Re: SQLite and BLOB type

2019-04-03 Thread Shai Almog
Several things here aren't true. First this assumes you are always reading all the data, if that was the case then why have an SQL database in the first place. It also assumes only one table and other tables aren't impacted. The second mistake is that randomly seeking through a large file is

[codenameone-discussions] Re: SQLite and BLOB type

2019-04-02 Thread Shai Almog
No. We don't support byte buffers. Even if we did I'm talking about just using a binary file which will always be faster than any sqlite implementation. This will also allow reducing the database size which will make all queries *much* faster. You are talking about JSON/XML which isn't what I'm

[codenameone-discussions] Re: SQLite and BLOB type

2019-04-02 Thread Shai Almog
It's a bit problematic to implement that API on iOS and most developers used workarounds since blobs aren't as necessary on devices. Unlike servers where the DB is distributed/clustered. On a device a blob provides no benefit and can impact performance. You are better off storing a file URI.

[codenameone-discussions] Re: use swagger codegen with codename

2019-04-02 Thread Shai Almog
Hi, I'm afraid I haven't used this. I suggest asking the developer in the project for a usage sample in the issue tracker. -- 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

[codenameone-discussions] Re: TABS and multiline text

2019-04-02 Thread Shai Almog
See this: https://www.codenameone.com/blog/tip-customize-tabs-behavior.html -- 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] Re: NFC lib?

2019-04-02 Thread Shai Almog
We don't have that. You would need to port one yourself. -- 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] Re: status of sqlite DB and threads?

2019-03-31 Thread Shai Almog
The database connection (Database class constructor) happens on a separate thread here. But if you use a custom implementation you can control that too. -- You received this message because you are subscribed to the Google Groups "CodenameOne Discussions" group. To unsubscribe from this group

[codenameone-discussions] Re: Downloading image to label automatically

2019-03-29 Thread Shai Almog
There is no event for download. Try creating a hello world with a label/URL image and see if that works. Then try to reproduce the problem you're experiencing. -- You received this message because you are subscribed to the Google Groups "CodenameOne Discussions" group. To unsubscribe from

[codenameone-discussions] Re: Date parsing different on iOS?

2019-03-29 Thread Shai Almog
Are you using the SimpleDateFormat from java.text or com.codename1.l10n? Use the latter. -- 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

Re: [codenameone-discussions] MediaPlayer on ios

2019-03-29 Thread Shai Almog
Just set the UIID value to a white background on the media UIID. You can find that via component inspector. -- 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

[codenameone-discussions] Re: Status bar on ios flashes white during transition

2019-03-29 Thread Shai Almog
I'll need a test case as this doesn't happen in our tests. So I'll need you to isolate that in a clean sample. -- 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

[codenameone-discussions] Re: status of sqlite DB and threads?

2019-03-29 Thread Shai Almog
Because the constructor happens on a separate thread. -- 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] Re: status of sqlite DB and threads?

2019-03-28 Thread Shai Almog
We made some improvements to that but still strongly recommend writing to the database from a single thread. EasyThread is a relatively simple solution for that and it can be implemented in the level of the data access class. E.g. instead of calling SQL directly just call a wrapper class that

[codenameone-discussions] Re: support of the full java.util.concurrent API?

2019-03-28 Thread Shai Almog
Hi, it's a bit hard to implement that full API. A more pragmatic approach is narrowing this down to an RFE about specific classes/methods. We might include some features of that ideally in the Codename One packages to keep things simple as changing the VM takes much longer than implementing a

[codenameone-discussions] Re: Status bar on ios flashes white during transition

2019-03-28 Thread Shai Almog
How did you customize the colors of the title area/form? I'm guessing you are seeing one of those there during the transition. -- You received this message because you are subscribed to the Google Groups "CodenameOne Discussions" group. To unsubscribe from this group and stop receiving emails

[codenameone-discussions] Re: Downloading image to label automatically

2019-03-28 Thread Shai Almog
That should work but you used the URL and image name as the same value. Did you make changes to the animation behavior used to refresh the placeholder? -- You received this message because you are subscribed to the Google Groups "CodenameOne Discussions" group. To unsubscribe from this group

[codenameone-discussions] Re: Cache a form?

2019-03-28 Thread Shai Almog
Are you using the old GUI builder? It's a bit problematic to cache forms in the old GUI builder. -- 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] Re: Best Practice Visually Exposing LongPointerPressed functionality

2019-03-26 Thread Shai Almog
Not really. That's one of the reasons we try to avoid it and swipe to expose functionality. Sometimes developers use a toast or similar notification when the form is first shown but that's painstaking. People still don't notice that. -- You received this message because you are subscribed to

[codenameone-discussions] Re: Finding centre point of an arc?

2019-03-26 Thread Shai Almog
You are aware we have a charts API that includes pie chart support right? -- 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

Re: [codenameone-discussions] Does compilation remove "empty" methods?

2019-03-21 Thread Shai Almog
If it's public static final then javac could remove that call. But since it's copied you would need a clean build to get it working. public static final values are copied into the class so changing them and recompiling isn't enough. -- You received this message because you are subscribed to

[codenameone-discussions] Re: iOS Wizard and two-factor authentication

2019-03-19 Thread Shai Almog
As far as I know we only support the two-factor authentication. -- 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] Re: JavaFX used by Windows and Mac OS Desktop builds outdated.

2019-03-19 Thread Shai Almog
No. This will take a while. The bottom line is that we need to rewrite the entire approach for packaging the application. That will take some time. -- You received this message because you are subscribed to the Google Groups "CodenameOne Discussions" group. To unsubscribe from this group and

[codenameone-discussions] Re: Facebook native SDK conflicts with Parse4CN1 on Android

2019-03-19 Thread Shai Almog
Hi, I answered it here: https://stackoverflow.com/a/55253104/756809 -- 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] Re: JavaFX used by Windows and Mac OS Desktop builds outdated.

2019-03-14 Thread Shai Almog
Ugh. This is much harder than I feared. I've been banging my head against it and see no choice other than completely rewriting the desktop build process. That could take some time. -- You received this message because you are subscribed to the Google Groups "CodenameOne Discussions" group. To

[codenameone-discussions] Re: Does Braintree available for Israel or Arab countries?

2019-03-14 Thread Shai Almog
You should probably ask them. As far as I understand this restriction indicates the location of your merchant account not the location of you or your company. So you could open a bank account that's a US or Europe based account and use that with Braintree. This should work and should be legal

[codenameone-discussions] Re: JavaFX used by Windows and Mac OS Desktop builds outdated.

2019-03-13 Thread Shai Almog
On Mac this won't compile yet. As I mentioned this is a problem. On Windows just define the build hint, it should use the ZuluFX SDK instead of the default SDK. -- You received this message because you are subscribed to the Google Groups "CodenameOne Discussions" group. To unsubscribe from

[codenameone-discussions] Re: JavaFX used by Windows and Mac OS Desktop builds outdated.

2019-03-12 Thread Shai Almog
We're working on it but as suspected it's harder than just switching the JDK implementation. We added new build hints: win.desktop-vm=zuluFx8 mac.desktop-vm=zuluFx8 The Windows version seems to work. I haven't testing it other than checking that it compiled. The mac version doesn't seem to

[codenameone-discussions] Re: Status bar on ios flashes white during transition

2019-03-08 Thread Shai Almog
Can you get a screenshot of the problem? -- 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

[codenameone-discussions] Re: com.codename1.ui.table.TableLayout (best practive to /Add delete a row dynamically)

2019-03-06 Thread Shai Almog
Those are callbacks that the layout class receives from the parent container. Don't call them, they won't do what you expect but can harm your layout. You can remove a component by invoking component.remove() or container.remove(cmp); -- You received this message because you are subscribed to

[codenameone-discussions] Re: Tensile scrolling and how to get rid of it

2019-03-06 Thread Shai Almog
Hi, I would suggest that you don't touch tensile scrolling. 99% of developers leave it as the default which means you would be venturing to an area we just don't test. I'm guessing you saw that with a native widget like the web browser which handles its own scrolling. Placing it in the

[codenameone-discussions] Re: Which text editor properly displays the storage files created by the CodenameOne Simulator in linux?

2019-03-06 Thread Shai Almog
I just use cat in the console. -- 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

[codenameone-discussions] Re: Which text editor properly displays the storage files created by the CodenameOne Simulator in linux?

2019-03-05 Thread Shai Almog
See https://stackoverflow.com/questions/55001708/which-text-editor-can-be-able-to-properly-display-the-storage-files-created-by-t/55015293 -- You received this message because you are subscribed to the Google Groups "CodenameOne Discussions" group. To unsubscribe from this group and stop

[codenameone-discussions] Re: Delete unused images (old editor)

2019-03-05 Thread Shai Almog
No. We try not to scan anymore. It's impractical to scan the sources for image names. -- 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] Re: Cache a form?

2019-03-05 Thread Shai Almog
start() literally caches the last Form. You don't need to throw away the Form objects. -- 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

  1   2   3   4   5   6   7   8   9   10   >