[codenameone-discussions] Re: Black text on statusbar?

2019-10-01 Thread Shai Almog
These colors come from the Android native theme not from our colors. We don't provide a way to customize them beyond light/dark. -- 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: Keep app running

2019-10-02 Thread Shai Almog
Background execution is hard core for mobile. Native platforms make it hard on purpose because you're essentially running all the time and "wasting battery" so they don't really want you to do that. When the app is in the foreground you can get location constantly using the LocationManager (tha

[codenameone-discussions] Re: Keep app running

2019-10-03 Thread Shai Almog
Hi, the fact that you have enough power doesn't matter. OS's kill processes that take too much CPU without permission because they want to conserve power. That's the OS policy. When you do stuff in the background you can't do anything you want. If you're running in the foreground you can disabl

[codenameone-discussions] Re: How to build for iOS without creating a storyboard

2019-10-03 Thread Shai Almog
Sorry about this, we had a regression in today's update which should be fixed 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-discus

[codenameone-discussions] Re: Keep app running

2019-10-04 Thread Shai Almog
That's unlikely. If you invoke setText() it should implicitly repaint the button, it's possible there was an exception somewhere or some other problem but it's probably unrelated to the screensaver. It might be related to you overriding paint or blocking the EDT somewhere else in the code. --

[codenameone-discussions] Re: Can't stack custom component in grid layout

2019-10-04 Thread Shai Almog
Grid layout asks components for their preferred size and takes the preferred size of the largest components then uses that to construct a grid. TableLayout might be more appropriate for your needs. -- You received this message because you are subscribed to the Google Groups "CodenameOne Discus

[codenameone-discussions] Re: Love the new Sheet container, and I have a suggestion..

2019-10-08 Thread Shai Almog
Hi, thanks! I think I see the problem here, I fixed it in this commit: https://github.com/codenameone/CodenameOne/commit/3fc47e5fc2e65ea5de6eee6f2a2cb1fdaf0cea18 -- You received this message because you are subscribed to the Google Groups "CodenameOne Discussions" group. To unsubscribe from thi

[codenameone-discussions] Emergency maintenece 30-60 minutes

2019-10-09 Thread Shai Almog
Our hosting provider is conducting some emergency maintenance soon which might cause service disruption of up to 60 minutes. This is being resolved and our services will be up and running soon enough! -- You received this message because you are subscribed to the Google Groups "CodenameOne Dis

[codenameone-discussions] Re: Emergency maintenece 30-60 minutes

2019-10-10 Thread Shai Almog
This was resolved 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. To view this discussion o

[codenameone-discussions] Re: Keep app running

2019-10-12 Thread Shai Almog
Everything you write to Log.p/e is logged. There is also native logging. You can use Log.sendLogAync() in the pro accounts you can also use this: https://www.codenameone.com/blog/native-logging-certificate-wizard.html for all account levels. You can also connect your Android device with a cable

[codenameone-discussions] Re: Keep app running

2019-10-14 Thread Shai Almog
Do you mean try/catch? That should work just log the exception e.g.: catch(Throwable t) { Log.e(t); } instead of catch(Throwable t) {} -- You received this message because you are subscribed to the Google Groups "CodenameOne Discussions" group. To unsubscribe from this group and stop r

[codenameone-discussions] Re: Preferences application does not start anymore from Intellij 2019.2.3 context menu?

2019-10-17 Thread Shai Almog
This probably relates to this: https://github.com/codenameone/CodenameOne/issues/2747 We'll try to push out the fix soon. -- 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 i

[codenameone-discussions] Re: error 400 signup on amazon / cognito

2019-10-22 Thread Shai Almog
Look in the Network Monitor and see the response. It usually includes the full error even for error code responses. -- 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, se

[codenameone-discussions] Re: How to override a specific method in android activity?

2019-10-22 Thread Shai Almog
We'll add the build hint android.activityClassBody for the next update this Friday. It will let you define something like: android.activityClassBody=public boolean dispatchTouchEvent(android.view.MotionEvent ev) { myCodeThatINeed(); return super.dispatchTouchEvent(ev); } android.activityClass

[codenameone-discussions] Re: problem when try to enable gps in android

2019-10-24 Thread Shai Almog
Play services isn't a dep you should add that way. It's a special case. You can customize the play services version using the build hint: android.playServicesVersion notice that you should be careful as not all versions are supported. To include location you need to add the build hint: android.

[codenameone-discussions] Re: problem when try to enable gps in android

2019-10-25 Thread Shai Almog
Great! You can submit this as a cn1lib which will make it easier for people to edit/work with. FYI you're deriving from CodenameOneActiivity and trying to override onResume et. al. That won't work. What you should use is AndroidNativeUtil.addLifecycleListener(new LifecycleListener() { publ

Re: [codenameone-discussions] Bundling Native iOS .framework SDK is not working as expected

2019-10-25 Thread Shai Almog
We can help with those things privately only on enterprise accounts. Otherwise it's community support so we give the same support but it's for everyone so if someone runs into a similar problem he can benefit from reading the discussion around it. If you have a specific build error you can post

[codenameone-discussions] Re: Screen brightness

2019-10-26 Thread Shai Almog
Hi, we don't have an API for that. You can probably use native interfaces to do that but it's not something apps normally do as it's normally controlled by device sensors. Are you just trying to disable the screensaver? -- You received this message because you are subscribed to the Google Group

[codenameone-discussions] Re: Adding SpanButton to Swipeable container Issue

2019-10-26 Thread Shai Almog
Can you file an issue on that? Why are you using a span button instead of Button here? Essentially lead components are a bit trickier in some edge cases such as this as their event propagation is a bit more nuanced. -- You received this message because you are subscribed to the Google Groups "

[codenameone-discussions] Re: .ipa downloadable files (What is the intended use for this file ?)

2019-10-26 Thread Shai Almog
That's illegal according to Apple. If you intend this strictly for testing purposes you can have up to 100 people you explicitly list within your account (annually). With that amount of people your time will be better spent just sending out an upgrade link email. -- You received this message b

[codenameone-discussions] Re: Adding SpanButton to Swipeable container Issue

2019-10-27 Thread Shai Almog
Yes but under a swipeable container for words as short as "edit"? There's no decent alternative that will work which is why I asked for an issue to track this. -- You received this message because you are subscribed to the Google Groups "CodenameOne Discussions" group. To unsubscribe from this

[codenameone-discussions] Re: Screen brightness

2019-10-27 Thread Shai Almog
It looks like you're working with really old Android samples. You need to make sure your native code works on a modern device, it's very possible this is no longer accessible to the app. Modern Android devices require runtime permissions too see: https://www.codenameone.com/blog/marshmallow-perm

Re: [codenameone-discussions] Bundling Native iOS .framework SDK is not working as expected

2019-10-28 Thread Shai Almog
This looks related to re-signing the framework, Steve any ideas? -- 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...@g

[codenameone-discussions] Re: Access to android resource id in Codename one

2019-10-28 Thread Shai Almog
Using these is problematic from Codename One. There are build hints to inject these things but they generally don't work too well. In this case it looks like the library is expecting an Android text field/password field. Those are problematic as we only have a native field during the editing pr

[codenameone-discussions] Re: Access to android resource id in Codename one

2019-10-30 Thread Shai Almog
I didn't explain this properly... I'm not above "hacking a solution". This isn't that case. Codename One doesn't create an Android resource file and doesn't use one normally. So these fields/files just don't exist for a Codename One application. In order to get this you would have to build th

[codenameone-discussions] Re: Screen brightness

2019-10-30 Thread Shai Almog
If your device is an Android 5 device then the previous code might have worked as it predates the Android 6 update. Still I haven't tried this myself so I'm not sure what could happen there. I suggest connecting a cable and looking through logcat logs. You can also debug on Android Studio if th

[codenameone-discussions] Re: Screen brightness

2019-11-02 Thread Shai Almog
I'm afraid we can't debug your code for you. We rarely even do that for enterprise accounts. I suggest adding logging and trying to pinpoint the issue. -- You received this message because you are subscribed to the Google Groups "CodenameOne Discussions" group. To unsubscribe from this group an

[codenameone-discussions] Re: Screen brightness

2019-11-03 Thread Shai Almog
I'm guessing this has something to do with code like this: (Exception e) {} If you catch and swallow exceptions things will fail. You can import the native utils but only in the native code. It doesn't exist in the Codename One space classes only for native compilation. -- You received this m

Re: [codenameone-discussions] How to set native PeerComponent Look and feel from CN1 code.

2019-11-05 Thread Shai Almog
Unfortunately that isn't practical as we create/discard these fields dynamically as needed. -- 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 codenameo

[codenameone-discussions] Re: Screen brightness

2019-11-06 Thread Shai Almog
No. Native interfaces don't extend activity and it shouldn't work. It's a different lifecycle. Native interfaces are objects we create. An activity is something the OS needs to create. These are very different things. We create the native CodenameOneActivity and provide you various tools to work

[codenameone-discussions] Re: Addmarker with anchor

2019-11-08 Thread Shai Almog
Hi, just use a null anchor UI and show a custom UI in the click event e.g. using InteractionDialog or by adding a component to the map https://www.codenameone.com/blog/map-component-positioning-revisited.html -- You received this message because you are subscribed to the Google Groups "Codenam

[codenameone-discussions] Re: Addmarker with anchor

2019-11-10 Thread Shai Almog
Hi, I don't follow that. Did you specify the anchor? Can you provide code/screenshots to illustrate? -- 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: Addmarker with anchor

2019-11-11 Thread Shai Almog
Try adding the anchor with a null image, maybe this is an issue with the image. You can also use the MarkerOptions version of the addMarker API which lets you set an anchor point. -- You received this message because you are subscribed to the Google Groups "CodenameOne Discussions" group. To u

[codenameone-discussions] Re: Addmarker with anchor

2019-11-12 Thread Shai Almog
Where did you get the marker options object from and what's the stack of the NullPointerException you got? -- 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 emai

[codenameone-discussions] Re: Addmarker with anchor

2019-11-13 Thread Shai Almog
Is this behaving the same way in the simulator and the device? -- 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...@goo

[codenameone-discussions] Re: Addmarker with anchor

2019-11-14 Thread Shai Almog
OK, assuming you're up to date with the latest cn1lib I suggest you file an issue. There might be a regression with anchor positioning. You can file an issue here: https://github.com/codenameone/CodenameOne/issues/ -- You received this message because you are subscribed to the Google Groups "C

[codenameone-discussions] Re: codename one push notification meet error “javax.net.ssl.SSLHandshakeException: Received fatal alert: handshake_failure”

2019-11-14 Thread Shai Almog
See my reply here: https://stackoverflow.com/questions/58869443/codename-one-push-notification-meet-error-javax-net-ssl-sslhandshakeexception/58869666#58869666 -- You received this message because you are subscribed to the Google Groups "CodenameOne Discussions" group. To unsubscribe from this

[codenameone-discussions] Re: problem with scan QR from Image

2019-11-15 Thread Shai Almog
Hi, is this related to 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 an email to codenameone-discussions+unsubscr...@googlegroups.com. To view thi

[codenameone-discussions] Re: MenuBar Error

2019-11-15 Thread Shai Almog
Hi, what's the stack of the error? I wouldn't call a class "MenuBar" as we have a public Codename One class with that exact name and imports might be problematic here... I also wouldn't use commands for that. Most of the menus with the buttons in the bottom are really just tabs so for 90% of the

[codenameone-discussions] Re: problem with scan QR from Image

2019-11-16 Thread Shai Almog
We support 3 separate QR libraries. Is this a question about embedding the zxing library into 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 an ema

[codenameone-discussions] Re: Native method

2019-11-16 Thread Shai Almog
Hi, onDestroy()/onResume() will never be invoked in your code. They are methods of activity which you don't derive (and shouldn't derive). You can detect suspend/resume via stop()/start() methods of the main class and re-activate the brightness code in start(). -- You received this message bec

[codenameone-discussions] Re: Native method

2019-11-17 Thread Shai Almog
If you just invoke the brightness native interface in the beginning of the start() method in your main class doesn't that work correctly? If not I'm not really sure, it's low level native Android behavior I haven't personally touched. -- You received this message because you are subscribed to t

[codenameone-discussions] Re: Sidemenu affected by canvas movement

2019-11-18 Thread Shai Almog
How are you drawing on the canvas? Are you taking the parent X/Y into account? Do you have a sample of how your paint method looks? -- You received this message because you are subscribed to the Google Groups "CodenameOne Discussions" group. To unsubscribe from this group and stop receiving emai

[codenameone-discussions] Re: Native method

2019-11-18 Thread Shai Almog
Hi, a black screen is usually an indication of an exception. The native thread makes sense, try to wrap your native code in the android native event dispatch thread as explained here: https://www.codenameone.com/blog/tip-use-native-edt.html -- You received this message because you are subscrib

[codenameone-discussions] Re: Open File list from vpn

2019-11-19 Thread Shai Almog
Hi, if the phone is connected via VPN already you might be able to use the file chooser cn1lib to pick a file from that directory. -- You received this message because you are subscribed to the Google Groups "CodenameOne Discussions" group. To unsubscribe from this group and stop receiving emai

[codenameone-discussions] Re: Location Simulation

2019-11-20 Thread Shai Almog
Hi, the map was disabled a while back because of google imposed limits to usage of its API keys. In the past you could create a free maps API key but this is no longer the case. You need billing in the project and could be charged. Because of the nature of the project the key needs to be exposed

[codenameone-discussions] Re: Open File list from vpn

2019-11-20 Thread Shai Almog
The simulator uses the Windows sharing API implicitly because you're running on the OS and file requests to that OS are translated automatically. However, Android/iOS might not offer such a capability so it's unlikely that such a URL will work. -- You received this message because you are sub

[codenameone-discussions] Re: Putting button at the bottom of container

2019-11-20 Thread Shai Almog
Put the button in the center if you want it to occupy all available space in the container. -- 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 codenameo

[codenameone-discussions] Re: 'Access to UITextField's _placeholderLabel ivar is prohibited. This is an application bug'*"

2019-11-20 Thread Shai Almog
There seems to be an issue with the hack we did to resolve a regression with iOS 13 based on this stackoverflow answer: https://stackoverflow.com/a/56776561/756809 Following answers seem to offer better solutions which we should adopt. Please file an issue and provide a link to this discussion/

[codenameone-discussions] Re: Location Simulation

2019-11-21 Thread Shai Almog
Migrating the code to OSM is possible even without a server but no one did it and we're flooded with other 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: Putting button at the bottom of container

2019-11-21 Thread Shai Almog
Use the component inspector to see which elements take up the space. Placing something in the south gives it the preferred size so that might not match your expectations of filling up the parent. -- You received this message because you are subscribed to the Google Groups "CodenameOne Discuss

[codenameone-discussions] Re: Location Simulation

2019-11-22 Thread Shai Almog
Hi, not at this time. You'll need to edit it on launch. -- 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...@googlegro

Re: [codenameone-discussions] android builds failing 11/22/2019

2019-11-22 Thread Shai Almog
Please check again now. We just uploaded a fix for the 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...@goog

Re: [codenameone-discussions] android builds failing 11/22/2019

2019-11-23 Thread Shai Almog
Thanks, we pushed out another fix hopefully it resolves this issue for everyone. -- 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-discussi

[codenameone-discussions] Re: Is tab animation broken?

2019-11-25 Thread Shai Almog
Hi, this works for me: Form hi = new Form("Tabs", new BorderLayout()); Tabs t = new Tabs(); Label t1 = new Label("Blue"); t1.getAllStyles().setBgColor(0xff); t1.getAllStyles().setBgTransparency(255); Label t2 = new Label("Green"); t2.getAllStyles().setBgColor(0xff00); t2.getAllStyles().setBgTransp

[codenameone-discussions] Re: Is tab animation broken?

2019-11-26 Thread Shai Almog
I'm not sure why it causes it but there's a bug in the code and when you fix it the animation works. You forgot f.setScrollable(false). Since a form is scrollable by default you should disable that for tabs. With BorderLayout this is implicitly turned off so we don't need to explicitly write tha

[codenameone-discussions] Re: Is tab animation broken?

2019-11-27 Thread Shai Almog
OK, please file an issue and make sure to reference that you believe this is a regression. It might be an errant revalidate that's breaking the animation here. -- You received this message because you are subscribed to the Google Groups "CodenameOne Discussions" group. To unsubscribe from this

[codenameone-discussions] Re: Add tileoverlay to native google maps

2019-11-27 Thread Shai Almog
We don't expose that API because it would be a bit of a pain to manager. You can just add a components into the map and group them accordingly in a map. Then remove/add a group based on its overlay layer. -- You received this message because you are subscribed to the Google Groups "CodenameOne

[codenameone-discussions] Re: Bug in SimpleDateFormat

2019-11-29 Thread Shai Almog
It seems the class doesn't support quoting. You can file an issue about that and we'll look 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: how can i set timeout when i using GoogleSignInClient。

2019-12-03 Thread Shai Almog
Did you follow the signin tutorial here: https://www.codenameone.com/manual/misc-features.html None of this code is necessary. -- You received this message because you are subscribed to the Google Groups "CodenameOne Discussions" group. To unsubscribe from this group and stop receiving emails f

[codenameone-discussions] Re: having trouble with form.java and form.gui

2019-12-05 Thread Shai Almog
What's the content of the GUI java file that you see? -- 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

[codenameone-discussions] Re: having trouble with form.java and form.gui

2019-12-06 Thread Shai Almog
I just tried this on the latest intellij and it worked for me. Are you sure the code just isn't implicitly collapsed/hidden which is the default behavior for our GUI code? Can you paste the Java source generated here and look in the intellij log to see if there's anything of interest? -- You r

[codenameone-discussions] Re: Hi how can i fix build error?

2019-12-07 Thread Shai Almog
Did you change your classpath? -- 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 disc

[codenameone-discussions] Re: How sort array

2019-12-07 Thread Shai Almog
You asked how to sort an array but you're sorting an ArrayList which is a list. You do that with Collections.sort(). -- 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, se

[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 codename

[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 codename

[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 subscribed

[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 becau

[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 disab

[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. If

[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 sinc

[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. T

[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. T

[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 are

[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-

[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-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 vi

[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 receive

[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 co

[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 receiv

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: 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 G

[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 somethin

[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 ar

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 ar

[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" group

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 i

[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 em

[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: https://www.codenameone.com/how-

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 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

[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+unsubscr...@googlegroups

[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 "CodenameOn

[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 subs

[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: 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 Discussi

[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

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 w

[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 v

[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+unsubscr...@goog

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