5,013 questions
3
votes
0
answers
67
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
39
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
46
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
52
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
69
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
66
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
79
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 ...
1
vote
1
answer
34
views
Is there a way to make a SpanLabel easier to grab with a mouse on the Desktop to drag it to a new location?
As I continue testing my app I find I am having trouble "grabbing" the SpanLabels to move them to a new container on my grid. I cannot grab the SpanLabel unless the cursor is exactly in the ...
1
vote
1
answer
53
views
How can I use code to set my initial Form size when my app opens?
Shai and the Codename One team are working on providing better access to Desktop settings for javase builds, but has anyone had success setting the JFrame size in a javase build for Windows using code ...
-4
votes
1
answer
114
views
Some Videos Does not Fit in MediaPlayer
Some videos like this which was recorded on Android 15 device doesn't fit in MediaPlayer.
In simulator it need to be scrolled up & down to see the full video as in the following screenshot;
In ...
1
vote
0
answers
77
views
Media & MediaPlayer not Playing Audio & Video in Android 15
Media & MediaPlayer are playing audios & videos in simulator & Android 10 but they don't in Android 15.
I tried using CN1 version 7.0.211 and the following test case:
package com.example....
Best practices
0
votes
12
replies
6k
views
Has anyone developed a method to set the size of the first form in a codename one/javase app being built for Windows Desktop?
I have started testing my code on both macOS and Windows Desktops before I build for the iPad. The macOS build opens at almost iPad Mini size and everything in the app is useable. When the build opens ...
1
vote
1
answer
64
views
Picker, ContactsModel & UIBuilder Warnings in Android Studio Local Builds
In Codename One version 7.0.210, Android Studio is detecting the following warnings when building debug & release apps.
/{project path}/myapp/android/target/myapp-android-1.0-SNAPSHOT-android-...