5,019 questions
Score of 1
1 answer
72 views
Default theme colors (Title/Button) changed after upgrading to latest Maven version
I upgraded an older Codename One project to the latest CN1 Maven version (7.0.255). The build succeeds and runs perfectly, but I noticed that the default color schemes for several components have ...
Score of 1
1 answer
48 views
Disabled container elements
I’m using Netbeans and the web browser to display a Leaflet map and I place it in the central area. In the south area, I have a container (cnSur) with counters and buttons that work in the simulator, ...
Advice
1
vote
1
replies
44
views
Not seeing the full codename one api documentation on the website
When I visit the codename one documentation on the website, all I'm seeing is Java package documentation, and none of the com.codename1.* packages. I've tried using other browsers and my phone, yet it ...
Score of 3
1 answer
95 views
GuiBuilder compiling creates JAXB error every two tries
IntelliJ IDEA 2025.2.3, Java jdk & language level 11, file created with jDeploy, cn1 version 7.0.236 <-same problem when updated to newest version.
I can successfully create (create-gui-from) ...
Score of 1
2 answers
112 views
URLImage.createMaskAdapter() / Image.createMask() fails on iOS with moderately sized masks
I am seeing what looks like a recent regression in Codename One on iOS.
The problem happens when creating a mask adapter using URLImage.createMaskAdapter(). The same code works correctly in the ...
Score of 1
1 answer
47 views
How do I control width percentage when the width percentage does not follow assigned constraints?
I have initiated my body container:
TableLayout tlivQH = new TableLayout(1, 4);
Container body = new Container(tliv);
The 4 containers are initiated as:
Container c5 = new Container(tlii5)...
Score of 0
1 answer
63 views
How do I cleanly return from a method that views labels moving through a position cursor?
I am using the following code to move through a cursor. I am running this method from a Practice Session form that has 3 exercise viewing instances. The first button activates the first viewing ...
Best practices
1
vote
5
replies
65
views
Can I use a BaseForm class in my app and use that class to create forms in other classes in the app with the side menu developed on the BaseForm?
2 years ago I asked about a global side menu and Shai wrote that a side menu is always developed in the local class, and he mentioned the use of a BaseForm that extends Form that includes the base ...
Score of -1
1 answer
60 views
Does anyone recognise this Build Error when compiling for Windows Desktop? [closed]
I recently moved back to a Basic subscription from a Pro subscription due to financial limitations. When I built my first build tonight I received the following error code:
Found hyp.beamId
Tried to ...
Score of 3
0 answers
119 views
Issues with saving the credential in the phone memory with Preferences
I recently migrated a legacy mobile app to a Maven-based project structure. After the migration, I’m seeing a strange issue related to device-side credential storage.
Problem
We have a “Remember ...
Score of 1
0 answers
54 views
IOS Build Failing
I'm able to build the android but ios keep failing. here is the log: https://cloud.codenameone.com/build/downloadResult?i=639285ee-3bee-46d1-af50-5b8b1993f2e9&b=f49677aa-6a1e-4ef6-91bc-...
Score of 1
1 answer
57 views
issues related migration from Ant to Maven project
after migrating the project from CN1 legacy to Maven. Images and icons not being identified in the new code structure. Images are placed in the following folder "\common\src\main\resources". ...
Score of 2
1 answer
57 views
Old GoogleMaps CocoaPod (2.7.0) keeps getting re-added despite upgrading to 8.4.0 [closed]
Old Google Maps pod (2.7.0) keeps coming back on iOS
I’m trying to upgrade Google Maps to 8.4.0.
I set:
var.ios.pods.GoogleMaps.version=8.4.0
codename1.arg.ios.pods=GoogleMaps 8.4.0,Cordova ~> ...
Score of 3
1 answer
80 views
codenameone theme.res being overwritten by AndroidTheme.res that is being generated by CN1 code process
I’m working on an older Codename One application and trying to release an update. I’m facing two persistent build/runtime issues on Android and iOS.
theme.res works in the Simulator but not on an ...
Score of 2
1 answer
106 views
Error: Session invalidated unexpectedly on NFC call Codename iOS
I am trying to implement NFC on iOS. (I have already done that on Android successfully). On button action to start a session, I get an error:
"Session invalidated unexpectedly".
I found ...