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
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
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
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
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
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
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
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
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
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
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
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
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.
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
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
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
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
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
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,
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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:
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
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
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
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
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,
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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.
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
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
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
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
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
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:
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
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
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"
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
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
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
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
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
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
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
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
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
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
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
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
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.
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.
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
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.
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
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
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
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
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
701 - 800 of 2677 matches
Mail list logo