5,016 questions
2
votes
1
answer
75
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) ...
2
votes
2
answers
100
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 ...
1
vote
1
answer
42
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)...
0
votes
1
answer
60
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
62
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 ...
-1
votes
1
answer
55
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 ...
3
votes
0
answers
114
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 ...
1
vote
0
answers
47
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-...
1
vote
1
answer
50
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". ...
2
votes
1
answer
55
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 ~> ...
3
votes
1
answer
76
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 ...
2
votes
1
answer
83
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 ...
1
vote
1
answer
87
views
Bluetooth Extension Codename One not working as expected
I have installed the Bluetooth extension from Codename One Settings and follow the demo example, to get list of devices but cannot execute the "start scan" process
hi.add(new Button(new ...
1
vote
1
answer
68
views
How can I avoid dropping a button on the wrong plane?
I am using a GridLayout on the GlassPane for my small ScaleImageButtons. I have a smaller GridLayout on the Content Pane. The GlassPane containers are set to DropTarget(false), and I use the following ...
2
votes
1
answer
49
views
L10N Localization res file being deleted in CN1 maven project
I have a L10N Localization res file and wonder where do people put it in their CN1 maven project. Docs are slim to non existant. When I put it in the common\target\classes folder of a netbean CN1 ...