[codenameone-discussions] Re: SimpleDateFormat wrong on Android

2020-04-17 Thread Shai Almog
Are you using the com.codename1 version of the class or the java version of the class? Make sure to always use the Codename One version for cross platform consistency. -- You received this message because you are subscribed to the Google Groups "CodenameOne Discussions" group. To unsubscribe

[codenameone-discussions] Re: Google Managed Signing Key

2020-04-16 Thread Shai Almog
I don't think it should matter as the signing is done on the binary APK after the fact. It's more of a matter of deployment logistics. We thought about using them for one of our apps but haven't yet. I'm curious too if people have impressions of that. -- You received this message because you

[codenameone-discussions] Re: Codenameone and Unity3D

2020-04-15 Thread Shai Almog
If you can package the output as an AAR/static lib you can invoke that from a native interface in Codename One. -- 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: IOS builds failing

2020-04-15 Thread Shai Almog
Hi, this seems to be an issue with one of the build servers. Hopefully this is working now. -- 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: no designer

2020-04-11 Thread Shai Almog
This was resolved by the time you posted this: https://github.com/codenameone/CodenameOne/issues/3077 You could update your libraries and it would work. -- You received this message because you are subscribed to the Google Groups "CodenameOne Discussions" group. To unsubscribe from this group

Re: [codenameone-discussions] Re: Apple reject app if contains Google Map

2020-04-11 Thread Shai Almog
What do you do when clicking the Fab? Do you navigate to the place? If so that could be the problem. I suggest explicitly asking the Apple reviewer for the reason with a proper description. Explicitly ask him if it's a problem that you're using Google Maps embedded or if he can circle the

[codenameone-discussions] Re: Apple reject app if contains Google Map

2020-04-10 Thread Shai Almog
The problem isn't google maps. You can use that just fine. The problem is the navigation code you have in your app which launches only Google Maps or Waze. It should support Apple Maps too. How did you implement navigation? -- You received this message because you are subscribed to the Google

Re: [codenameone-discussions] Re: graphics performance

2020-04-09 Thread Shai Almog
This is how the native OS is implemented. Both Android and iOS use a software renderer when painting off-screen. As such we don't have access to hardware acceleration when drawing there. The GPU just isn't available for that purpose. This was especially painful for us on Android where until

[codenameone-discussions] Re: Link to open the facebook app

2020-04-09 Thread Shai Almog
Hi, I answered here https://stackoverflow.com/questions/61129419/is-possible-in-codenameone-app-a-link-to-open-the-facebook-app/61133898 -- You received this message because you are subscribed to the Google Groups "CodenameOne Discussions" group. To unsubscribe from this group and stop

Re: [codenameone-discussions] Re: graphics performance

2020-04-09 Thread Shai Almog
These devices aren't very fast. ARM is still much slower than Intel. The reason the devices feel fast is the GPU. This is true for iOS and Android. If you're drawing to an image you're effectively disabling any form of native drawing optimization. Actually, the default functionality we have

[codenameone-discussions] Re: add ( ios.forceIncludePush ) hint to codename one

2020-04-09 Thread Shai Almog
Hi, we have some plans to add a free quota push option but it constantly gets postponed with our ongoing tasks. -- 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: graphics performance

2020-04-07 Thread Shai Almog
As far as I recall you use double/triple buffering to render. These are policies that are painfully slow on mobile devices. Mobile devices need to render directly and are heavily optimized to that as the rendering hardware acceleration doesn't work for in-memory raster. -- You received this

[codenameone-discussions] Re: Developer needed - small contract to meet iOS June 2020 requirements (SDK 13, storyboard)

2020-04-06 Thread Shai Almog
These are all automatic for you unless you explicitly do something to block this. We use storyboards in launch unless you explicitly use the generate screenshots build hint. We migrated to xcode 11.3 which implies iOS SDK 13+. So this is on by default unless you explicitly defined xcode 10.1.

[codenameone-discussions] Re: build web app for ios requires an Apple OS and vcode

2020-04-05 Thread Shai Almog
You can install locally, you don't need test flight to install a test app. To ship the app you need a mac but you can use something like mac in cloud which is pretty easy. We have an RFE to do that one last piece of upload which is missing from our stack. Frankly there isn't enough demand for

[codenameone-discussions] Re: build web app for ios requires an Apple OS and vcode

2020-04-04 Thread Shai Almog
Our apps are native not web apps. You don't need a mac to build or install an iOS app either. You just need an iOS/Mac device for the two factor authentication portion. You also need an iOS developer account from Apple so you can generate a certificate/provisioning. You also need an Apple

[codenameone-discussions] Re: CN! apk not refreshing container

2020-04-03 Thread Shai Almog
I answered this on stackoverflow yesterday: https://stackoverflow.com/questions/61004272/has-the-latest-codenameone-build-version-lost-functionality-to-scroll-through-mu -- You received this message because you are subscribed to the Google Groups "CodenameOne Discussions" group. To unsubscribe

[codenameone-discussions] Re: Android Build Fail: Note: the configuration keeps the entry point

2020-03-28 Thread Shai Almog
Hi, it's hard to tell without the full log that also includes the build hints etc. If there's a privacy issue involved you can use the chat button on the website. -- You received this message because you are subscribed to the Google Groups "CodenameOne Discussions" group. To unsubscribe from

[codenameone-discussions] Re: Rendered RadioButton not showing a circle (0) as expected

2020-03-26 Thread Shai Almog
The deprecation notice reads: this class is still crucial for some features in Codename One. The deprecation is here to indicate our desire to reduce usage/reliance on this class. Some features such as radio button/checkbox images are only available there. -- You received this message because

[codenameone-discussions] Re: Rendered RadioButton not showing a circle (0) as expected

2020-03-25 Thread Shai Almog
Sorry about that. On iOS there's no radio button (in the OS) so we use check marks to signify radio buttons. If you have images of the radio button you can use the theme constants: radioSelectedDisImage, radioSelectedImage, radioUnselectedDisImage, radioUnselectedImage,

[codenameone-discussions] Re: Change main form

2020-03-24 Thread Shai Almog
You can override public Form showForm(String resourceName, Command sourceCommand) To do nothing if it shows the login page in that scenario. It's a bit of a hack but I'm afraid we don't have anything better for the old GUI builder anymore. -- You received this message because you are

[codenameone-discussions] Re: Rendered RadioButton not showing a circle (0) as expected

2020-03-24 Thread Shai Almog
That's from your theme file. Check the constants tab of the designer to see that. https://www.codenameone.com/manual/advanced-theming.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: Scaling images fo tablet

2020-03-23 Thread Shai Almog
We don't load the image in all resolutions... We discard unnecessary data otherwise RAM would be packed with multi images. Initializing the look and feel to create the theme implicitly loads the resources. -- You received this message because you are subscribed to the Google Groups

[codenameone-discussions] Re: API Rest Full - Problem

2020-03-22 Thread Shai Almog
Hi, param is problematic with post + JSON as it assumes the parameter is a JSON string embedded into the body (as is common in current REST calls). You have several options here: - Use get - Use JSON post body syntax (which will work better with objects) - Remove the json content syntax for now

[codenameone-discussions] Re: is there an codename1 equivilent to java PrintFormat("%02d",value)

2020-03-21 Thread Shai Almog
No. We don't have that. I usually do: private String twoDigits(int i) { return i < 10 ? "0" + i : "" + i; } -- 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: java.util.Calendar not setting correct date using set(field,value)

2020-03-20 Thread Shai Almog
You set the hour to 1700 instead of 17. -- 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. To view

[codenameone-discussions] Re: Can not scan Barcode128 from App

2020-03-20 Thread Shai Almog
Hi, does this help? https://stackoverflow.com/questions/46055457/scanning-linear-barcodes-with-qrscanner -- 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: Change main form

2020-03-19 Thread Shai Almog
In the post show of that form navigate to the actual form you want to show based on the state of the application. -- 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: Change main form

2020-03-18 Thread Shai Almog
Hi, I would suggest avoiding the old GUI builder. In it you can select the form you want as the main form and in the area of the properties if I remember correctly there should be a button to set it as main, You can also edit codenameone_settings.properties which includes the name of the main

[codenameone-discussions] Re: Scrolling on Y breaks if you use createContainer

2020-03-18 Thread Shai Almog
Form is scrollable by default. Do you have two scrollables? Which layout do you use for the form/child? -- 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: addMaterialCommandToRightBar does not respond in Simulator as of Today (Sat Mar 14th 2020)

2020-03-14 Thread Shai Almog
This sounds like the problematic update we had in Friday morning which we fixed later on. Try updating the libraries through Codename One Settings. -- You received this message because you are subscribed to the Google Groups "CodenameOne Discussions" group. To unsubscribe from this group and

[codenameone-discussions] Re: #3047

2020-03-14 Thread Shai Almog
It was rolled out last night. -- 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. To view this

[codenameone-discussions] Re: emergency: broken builds

2020-03-14 Thread Shai Almog
This was reverted and later on re-applied/fixed. -- 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: Self-signed certificate support

2020-03-12 Thread Shai Almog
Both Android and iOS support HTTP if you explicitly enable a flag to include this. See https://www.codenameone.com/blog/ios-http-urls.html https://stackoverflow.com/questions/57121953/usescleartexttraffic-not-permitted/57130188 -- You received this message because you are subscribed to the

[codenameone-discussions] Re: Self-signed certificate support

2020-03-11 Thread Shai Almog
Hi, no it isn't possible at this time. You can use regular HTTP in such a case and manually encrypt your communications. -- 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: Account upgrade

2020-03-10 Thread Shai Almog
Hi, just sign up for the free account and select to upgrade via the subscription tab or via the pricing page in the website. -- 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: IOS sdk

2020-03-05 Thread Shai Almog
Yes, it's a good thing you're writing. We're removing the xcode 9.2 support. The main problem is that we need to upgrade Mac OS to the latest version to install the current version of xcode. Unfortunately Apple (as is its custom) no longer supports xcode 9.2 in newer versions of the OS so we

[codenameone-discussions] Re: UPDATE with ORDER BY stopped working

2020-03-02 Thread Shai Almog
Hi, we don't implement the DB. The SQL is sent directly to the native implementation and we didn't change the native implementation in the simulator. Google might have updated sqlite with an OS update but we didn't. -- You received this message because you are subscribed to the Google Groups

[codenameone-discussions] Re: Invoke codename code from ios.afterFinishLaunching hint

2020-02-25 Thread Shai Almog
Hi, you need to read the error log and see what failed. Apples error logs are a bit hard to read though not as bad as googles. -- 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: [bug] CodeScanner doesn't work in ios

2020-02-14 Thread Shai Almog
Only the cn1lib will work, that code doesn't exist anymore in Codename One core. There might be a regression with 13.1 please file an issue and we'll look into it. -- You received this message because you are subscribed to the Google Groups "CodenameOne Discussions" group. To unsubscribe from

[codenameone-discussions] Re: Offline Process & Display Popup msg

2020-02-14 Thread Shai Almog
Hi, see this: https://www.codenameone.com/blog/tip-cross-platform-update-available-strategy.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: Display.getInstance().execute on android causes OS to suspend my app

2020-02-13 Thread Shai Almog
No. It's core to their architecture. It's about battery life and control. Notice your app still has CPU access if it needs it. This isn't about that. -- You received this message because you are subscribed to the Google Groups "CodenameOne Discussions" group. To unsubscribe from this group

[codenameone-discussions] Re: Selected Tabs and other components not Coloring correctly on Adroid 9 (Samsung Galaxy Tab S5E)

2020-02-11 Thread Shai Almog
Accessibility is designed for people with disability and has MANY factors (e.g. it can read the UI for a blind person). In this case it makes some things more readable. We don't support accessibility at this time although we have an RFE on the matter. -- You received this message because you

[codenameone-discussions] Re: Display.getInstance().execute on android causes OS to suspend my app

2020-02-11 Thread Shai Almog
iOS would do that for some processes. Android is more consistent in that sense. You should code defensively regardless. FYI Android does that when you just rotate the device... We hide a lot of these nuances from the developers but there are some things that aren't abstractable. -- You

[codenameone-discussions] Re: Selected Tabs and other components not Coloring correctly on Adroid 9 (Samsung Galaxy Tab S5E)

2020-02-10 Thread Shai Almog
It looks like you're relying a bit on the behavior of style inheritance. This generally works OK but has some nuanced limits in some cases e.g. with cyclic dependencies that can be subtle. Try disabling the inheritance and explicitly defining a color for one of the styles. Is it possible that

[codenameone-discussions] Re: Selected Tabs and other components not Coloring correctly on Adroid 9 (Samsung Galaxy Tab S5E)

2020-02-09 Thread Shai Almog
How are the styles defined? Does this look the same in the Android simulator skin? If so did you try live editing the UIID and using the component inspector tool to see why coloring isn't consistent? -- You received this message because you are subscribed to the Google Groups "CodenameOne

[codenameone-discussions] Re: Display.getInstance().execute on android causes OS to suspend my app

2020-02-09 Thread Shai Almog
No. When you exit the app the process is always suspended that's how mobile programming works. Notice the PDF reader logic works perfectly you just receive a suspend/resume for the current activity. -- You received this message because you are subscribed to the Google Groups "CodenameOne

[codenameone-discussions] Re: Schedule Notification

2020-02-09 Thread Shai Almog
No but since you can get that time in milliseconds for a specific date you can set something that's effectively the same. -- 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 relating to using InfiniteProgress while executing socket IO from a modal Dialog

2020-02-07 Thread Shai Almog
You don't need a thread to show the dialog. Sorry I didn't understand the problem description at all. -- 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: [bug] launch gui builder in intellij

2020-02-07 Thread Shai Almog
The problem relates to the JVMs on the Mac/Windows rather than intellij. Make sure that a JDK 8 from Oracle (or ZuluFX) is the first in the path on your system. Otherwise make sure JDK 11 is first on your path. -- You received this message because you are subscribed to the Google Groups

[codenameone-discussions] Re: Scaling images fo tablet

2020-02-07 Thread Shai Almog
Normally in an app you want to better use the tablet screen not to take up more room. I'm assuming this is for a game where the situation is a bit different sometimes. See the cn1pocker demo. It includes this:

[codenameone-discussions] Re: is it possible to configure multiple email addresses that can receive OTA builds

2020-02-06 Thread Shai Almog
No. An account is individual in Codename One. You would need to manually forward it to testers etc. -- 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: Problem creating xml

2020-02-04 Thread Shai Almog
Hi, see this: https://stackoverflow.com/a/60065977/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: How to set max table row width when Table is scrollable X

2020-02-03 Thread Shai Almog
That's odd. Do you override createCell or the constraint method? Any other changes in the class? I'm assuming these cells are editable. -- 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: setShowMyLocation() in goole map not enable gps always

2020-02-02 Thread Shai Almog
Thanks! FYI you can modify the code of the Google maps cn1lib directly by forking the project performing the edit and then submitting.a pull request via github. That way you'll have proper credit in the version history of the code. -- You received this message because you are subscribed to

[codenameone-discussions] Re: Hamburger Menu disappears

2020-01-31 Thread Shai Almog
This seems related to this thread: https://groups.google.com/d/msg/codenameone-discussions/jCjTmyxd_Ik/2g_T_KnxCgAJ -- 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,

[codenameone-discussions] Re: Switch to next image in ImageViewer every 3 sec

2020-01-28 Thread Shai Almog
You need to implement the event handling code in your model for this to work. Listeners should be registered and then fired when model data changes. -- You received this message because you are subscribed to the Google Groups "CodenameOne Discussions" group. To unsubscribe from this group and

[codenameone-discussions] Re: IOS and Android builds that are not published Via Apple or Google.

2020-01-27 Thread Shai Almog
You would need an enterprise certificate to do that properly and would need the device to belong to that enterprise. Notice that the app can't be shipped via the normal appstore. There are quite a few challenges there. -- You received this message because you are subscribed to the Google

[codenameone-discussions] Re: Switch to next image in ImageViewer every 3 sec

2020-01-27 Thread Shai Almog
imodel.setSelectedIndex(...) -- 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. To view this

[codenameone-discussions] Re: IOS and Android builds that are not published Via Apple or Google.

2020-01-26 Thread Shai Almog
Yes, the user would need to download then select the file to install. He would need to enable the "Install from outside sources" flag in the device to do that. -- You received this message because you are subscribed to the Google Groups "CodenameOne Discussions" group. To unsubscribe from

[codenameone-discussions] Re: IOS and Android builds that are not published Via Apple or Google.

2020-01-25 Thread Shai Almog
None of our apps are public until you publish them. Google APKs can be kept and installed privately. Apple apps can be installed via private beta or via an enterprise certificate. We support all those distribution channels. -- You received this message because you are subscribed to the Google

[codenameone-discussions] Re: ios certificate wizard failing

2020-01-21 Thread Shai Almog
Sometimes the unofficial rest API breaks. Not much we can do here... -- 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: Picker minute intervals

2020-01-21 Thread Shai Almog
Did you submit an RFE for that functionality? A lot has changed in that class but without feature requests things get lost. -- 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: ios certificate wizard failing

2020-01-20 Thread Shai Almog
Try logging in here: https://developer.apple.com/account/ios/profile/ And deleting redundant profiles that might exist with the same name. -- 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: android build times

2020-01-19 Thread Shai Almog
We had a space issue in one of the servers and had to flush the gradle caches. That probably meant a temporary slow down as gradle had to re-fetch some files. Even after your dependencies were fetched this applied to other users which resulted in a queue. The other servers didn't have as much

[codenameone-discussions] Re: How to dispose a Form when spawned by dialog

2020-01-17 Thread Shai Almog
See https://www.codenameone.com/blog/picking-dialog-type.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: Textfield hint disappear on focus on Android

2020-01-17 Thread Shai Almog
Use the theme constant: nativeHintBool=true -- 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. To

Re: [codenameone-discussions] Re: App restarting when minimized to background

2020-01-15 Thread Shai Almog
Only on Android -- 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. To view this discussion on the

[codenameone-discussions] Re: How to dispose a Form when spawned by dialog

2020-01-14 Thread Shai Almog
You'll need to show a new dialog instance on this new form. Forms aren't disposable. Generally I'd advise re-thinking the UX here. Dialogs are meant to be small interactions for OK/Cancel sort of stuff. If you have more functionality there you should probably put it in a Form. -- You received

[codenameone-discussions] Re: Textarea in a borderlayout scrolls too far

2020-01-12 Thread Shai Almog
You can override calcScrollSize which is pretty low level. I wouldn't do that. Unfortunately there's nothing standard that implements this. Maybe you can use a WebBrowser component for this case? -- You received this message because you are subscribed to the Google Groups "CodenameOne

[codenameone-discussions] Re: Hardware back button acts slightly weird

2020-01-12 Thread Shai Almog
Are you using setBackCommand or something 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.

[codenameone-discussions] Re: Display.getInstance().execute(file) on PC in Simulator does not work

2020-01-10 Thread Shai Almog
I'm assuming there's nothing printed out to the console? Did you update the OS/JVM? We use the Java "Desktop" API to invoke these URLs. These APIs are pretty flaky e.g. they don't work on Linux but unfortunately there's nothing else we can use. -- You received this message because you are

[codenameone-discussions] Re: What is the recommended .gitignore file for codename one project?

2020-01-02 Thread Shai Almog
We use something similar to this: *.jar nbproject/private/ /build/ nbbuild/ dist/ lib/CodenameOne_SRC.zip /lib/impl/ /native/internal_tmp/ .cn1_css_checksums .DS_Store *.bak *.xml~ Versions.properties .cn1/ -- You received this message because you are subscribed to the Google Groups

[codenameone-discussions] Re: On Clean and Build where a form is a guibuilder form delets a single line after code changes

2020-01-01 Thread Shai Almog
I saw another report for this. We're looking into it. -- 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: Integration with Tab payment method

2020-01-01 Thread Shai Almog
The best approach here is to download the sources without the changes and try to integrate the lib into there. Then look at the changes you had to do to the build and try to replicate them exactly in the build cloud. -- You received this message because you are subscribed to the Google Groups

Re: [codenameone-discussions] Re: new android project failed asked for password

2020-01-01 Thread Shai Almog
Is it possible the JVM running can't reach the X server to show the dialog and fails because of 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

[codenameone-discussions] Re: ANDROID

2019-12-31 Thread Shai Almog
Hi, this isn't supported in Codename One since no OS supports this officially. Android dropped support for this recently but you might find a workaround if you don't need Google play. In that case you'll need to write Android native code using native interfaces:

[codenameone-discussions] Re: Integration with Tab payment method

2019-12-31 Thread Shai Almog
This seems to be a problem with their SDK. Is it meant to work with API level 28? Maybe it needs a newer version of the build tools? -- You received this message because you are subscribed to the Google Groups "CodenameOne Discussions" group. To unsubscribe from this group and stop receiving

Re: [codenameone-discussions] Re: new android project failed asked for password

2019-12-31 Thread Shai Almog
Are you running under an environment such as headless linux where there's no access to the GUI and the dialog can't show? -- 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: new android project failed asked for password

2019-12-30 Thread Shai Almog
When it says that you should see a dialog somewhere on the screen to enter your username/password. Is it possible that dialog is hidden somewhere or blocked by software on your machine? -- You received this message because you are subscribed to the Google Groups "CodenameOne Discussions"

Re: [codenameone-discussions] we can't swipe tabs anymore

2019-12-30 Thread Shai Almog
Hi, we will try to push out an update on Thursday evening. That's as soon as reasonably possible for this fix. As a workaround you might be able to copy the code of Tabs to a different name in your local repository and use that just for this release. -- You received this message because you

[codenameone-discussions] Re: Integration with Tab payment method

2019-12-30 Thread Shai Almog
Hi, We use gradle 4.6 so I think it should without a change but I'm not sure. The Java 8 support in Android native isn't something that's currently toggleable. We have an experimental flag android.java8=true but I'm not sure if it will work correctly. -- You received this message because you

[codenameone-discussions] Re: How to add x at far right of textField that when pressed will delete all text

2019-12-28 Thread Shai Almog
Sorry I looked at the screenshot and didn't properly read the title. That's a validation X. If you're using TextComponet in the onTop mode you can use action() with a material font icon to clear the text and actionClick() to invoke setText(""). You can implement it otherwise by using

[codenameone-discussions] Re: How to add x at far right of textField that when pressed will delete all text

2019-12-27 Thread Shai Almog
You can use validation which does that automatically based on constraints: https://www.codenameone.com/javadoc/ It can also adapt based on input styles/OS see: https://www.codenameone.com/blog/pixel-perfect-text-input-part-2.html -- You received this message because you are subscribed to the

Re: [codenameone-discussions] Re: tickerSpeedInt

2019-12-27 Thread Shai Almog
You need to set it in the spinner widget. There's a method in the DefaultLookAndFeel class to set it globally. -- 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: Use CSS & theme.res together in same project!

2019-12-24 Thread Shai Almog
I won't post about it as it's a pretty minor thing. RoundRectShadow will just have a shadowColor(int) method after the next Friday update. -- 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: tickerSpeedInt

2019-12-24 Thread Shai Almog
The value for tickerSpeedInt should be 0 not blank. Not sure how you got that number format error. -- 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: Use CSS & theme.res together in same project!

2019-12-23 Thread Shai Almog
There is no feature to control the shadow color in RoundRectBorder. I've added a shadow color property to the RoundRectBorder class which should be there for the weekly update. But doing this in the UI is more challenging so if you want that you'd need to customize it from code. -- You

[codenameone-discussions] Re: Use CSS & theme.res together in same project!

2019-12-22 Thread Shai Almog
On a border? A round or round rect border? -- 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. To

[codenameone-discussions] Re: Videos not working on iOS

2019-12-21 Thread Shai Almog
Can you file an issue on that? We'll have a look. Also be sure to specify an exact version of Android as this can impact things -- 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: Use CSS & theme.res together in same project!

2019-12-21 Thread Shai Almog
This very much depends on the type of shadow you created. How did you create the shadow? -- 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: Use CSS & theme.res together in same project!

2019-12-20 Thread Shai Almog
CSS generates a new theme.css file every time you build the project. You can have another res file but it can't be named theme.res. You can add its styles via theme layering as explained here: https://www.codenameone.com/manual/advanced-theming.html -- You received this message because you

[codenameone-discussions] Re: Videos not working on iOS

2019-12-20 Thread Shai Almog
This should be fixed in the build servers now. -- 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: Videos not working on iOS

2019-12-19 Thread Shai Almog
We're trying to reproduce/resolve this issue. -- 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 get carret position from TextArea

2019-12-17 Thread Shai Almog
Editing is a difficult process because we transition from lightweight to heavyweight so text might not be in the exact same position. In the lightweight you might click on a word which will be a different word in the native. As I said, native editing already does things like long press and

[codenameone-discussions] Re: How to get carret position from TextArea

2019-12-16 Thread Shai Almog
Is this text area editable? If it's editable then that's a problem. A text area is a very special component that transitions between native and lightweight editing. As such you would be relying on native behavior and long press is already associated with functionality in native text editing.

[codenameone-discussions] Re: Rotating a Dialog (Portrait to Landscape) shown with max screen problem (dlg.show(0, 0, 0, 0);)

2019-12-14 Thread Shai Almog
We automatically adjust the size of the dialogs on rotation to fit the new proportions otherwise they might look distorted. You can disable it for this dialog by overriding this Dialog method as a blank method: @Override protected void autoAdjust(int w, int h) { } Alternatively you can

[codenameone-discussions] Re: form.java never used by main java program. All examples given just use main java program for code. (hover over form.java class name and it says class never used)

2019-12-10 Thread Shai Almog
Notice that the first constructor calls this(com.codename1.ui.util.Resources.getGlobalResources()); That means it invokes the second constructor. This is called constructor chaining, it's effectively invoking the other constructor with the global resources. -- You received this message

[codenameone-discussions] Re: form.java never used by main java program. All examples given just use main java program for code. (hover over form.java class name and it says class never used)

2019-12-09 Thread Shai Almog
You can pass an instance of the Resource class if you wish. If you don't we'll implicitly use the default one (see the default empty constructor). Resources class includes the content of the .res file which includes the images, themes etc. -- You received this message because you are

[codenameone-discussions] Re: What will happen to push notification service in ios app after expiration of Pro Account Subscription. ????

2019-12-09 Thread Shai Almog
It will keep working, push will stop working but everything else will keep working as usual. -- 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: form.java never used by main java program. All examples given just use main java program for code. (hover over form.java class name and it says class never used)

2019-12-08 Thread Shai Almog
You need to use the form somewhere in the app e.g. in the start() method of the main class. -- 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

<    3   4   5   6   7   8   9   10   11   12   >