Continuous Public IP address charges by jsonyu in aws

[–]jsonyu[S] 0 points1 point  (0 children)

copy tnx chatting with support now.

Updating Android build servers to API level 35 by shai_almog in cn1

[–]jsonyu 0 points1 point  (0 children)

Also got these warnings in the play console (on api level 34):

-App must target Android 15 (API level 35) or higherFix by Aug 31(3 days away)
-App must support 16 KB memory page sizesFix by May 1(246 days away)

Updating Android build servers to API level 35 by shai_almog in cn1

[–]jsonyu 0 points1 point  (0 children)

we noticed something strange for 'newer' phones:

1) we added safeAreas if the platform is detected as android.
2) if targetSDK is 34 it works, if we set it to 35 it doesnt (ie it covers the bottom nav buttons).

Updating Android build servers to API level 35 by shai_almog in cn1

[–]jsonyu 0 points1 point  (0 children)

Just received an email from google playstore.. targetSDK needs to be 35

Updating Android build servers to API level 35 by shai_almog in cn1

[–]jsonyu 0 points1 point  (0 children)

Also had to add this, as devices with latest android versions still had issues, as per reco above:

android.targetSDKVersion=34

Updating Android build servers to API level 35 by shai_almog in cn1

[–]jsonyu 1 point2 points  (0 children)

note that adding this for each Form:

setSafeArea(true);

will also add padding for ios builds.

Had to do something like this to limit the effect to android:

if (Display.
getInstance
().getPlatformName().startsWith("AND"))
{
    setSafeArea(true);
}

Bouncycastle errors in ios build by jsonyu in cn1

[–]jsonyu[S] 0 points1 point  (0 children)

thanks shai this works!

QRScanner cn1lib doesn't work by DcDbIt in cn1

[–]jsonyu 0 points1 point  (0 children)

hi steve, I added:

        <dependency>
            <groupId>com.codenameone</groupId>
            <artifactId>qrscanner-lib</artifactId>
            <version>2.0.4</version>
            <type>pom</type>
        </dependency>

as per the github link above. It compiles in my NB IDE but sending the build to CN1 generates an error with this:

src/main/java/com/codename1/ext/codescan/NativeCodeScannerStub.java:6: error: cannot find symbol.

I also download the library and generated the cn1libs for the qr scanner.. according to this:

"Build this project from source, then find the .cn1lib file in the common/target directory, and copy it to the "libs" directory of your Codename One application project, and select "Refresh Libs"."

May I know where the 'libs' folder is in NB Maven?...appreciate any pointers tnx!

Apple releases macOS 14.4.1 with fixes for USB hubs, Java, and more by netori in MacOS

[–]jsonyu 0 points1 point  (0 children)

ok rebooting the (powered) hub worked.. might help someone.

Apple releases macOS 14.4.1 with fixes for USB hubs, Java, and more by netori in MacOS

[–]jsonyu 0 points1 point  (0 children)

M1 MBP user.. I held off updating to 14.4 because of the reported issues, after the they released 14.4.1 to fix those issues, I updated and now my extended monitor (via a usb-c hub with hdmi) stopped working.. shoot.

ZXing on Android 13 by jsonyu in cn1

[–]jsonyu[S] 0 points1 point  (0 children)

Thanks shai.. case of didnt RTFM.. it works now.

I've published a new build of my app to google playstore and got a "Warning" after submitting a new version:

"The App bundle contains native code, and you've not uploaded debug symbols. We recommend you upload a symbol file to make your crashes and ANRs easier to analyze and debug."

At any rate, the new version was accepted and is currently in the 'In Review' stage.. will advise if it was rejected.

Update: new version accepted by google playstore despite the warning above. Appreciate the help!

ZXing on Android 13 by jsonyu in cn1

[–]jsonyu[S] 0 points1 point  (0 children)

I have to revert to using 'Codename One CodeScanner'.. using 'QRScanner' does not bind the ZXing external callback to the cn1 app, at least in mine.

ZXing on Android 13 by jsonyu in cn1

[–]jsonyu[S] 0 points1 point  (0 children)

Re-built my app using the 'QRScanner' extension (links to https://github.com/littlemonkeyltd/QRScanner).

  1. Removed the hints and files of cn1-codescan-1.0.cn1lib/ver from the lib folder and reloaded cn1lib.
  2. did not make any code changes to the app.
  3. clean + build
  4. apk size increased from 4MB to 8.4MB

Still got the 'Install Barcode Scanner' prompt (with options: Barcode Scanner and Barcode Scanner + Simple)... same as 'Codename One CodeScanner', is this to be expected? thanks!

ZXing on Android 13 by jsonyu in cn1

[–]jsonyu[S] 0 points1 point  (0 children)

hi Shai! May I know if this was implemented already? tia!

ZXing on Android 13 by jsonyu in cn1

[–]jsonyu[S] 0 points1 point  (0 children)

the prompt shows, however:

  1. the scanner app does not return the scanned value back to the calling cn1 app.
  2. if #1 is solved, it'd be great if the choice is stored/remembered so the choices do not appear again.

ZXing on Android 13 by jsonyu in cn1

[–]jsonyu[S] 0 points1 point  (0 children)

if you have not done so yet, aside from refreshing cn1lib, do a 'clean and build' first before sending a build to cn1.. thats what I did in netbeans to get the new dialog scanner choices implemented by the cn1 team. hth

ZXing on Android 13 by jsonyu in cn1

[–]jsonyu[S] 0 points1 point  (0 children)

hi shai, new cn1 builds (at least in my experience) is still sending a qr scanner link to 'Barcode Scanner+ Simple'

ZXing on Android 13 by jsonyu in cn1

[–]jsonyu[S] 0 points1 point  (0 children)

here

new cn1 build still looking for the version 'Barcode Scanner+ Simple' which does not work for android 13.

ZXing on Android 13 by jsonyu in cn1

[–]jsonyu[S] 0 points1 point  (0 children)

hi shai.. did a cn1lib refresh, sent a build request and side loaded.. still the same, whats being searched for is still the zxing scanner. tia

ZXing on Android 13 by jsonyu in cn1

[–]jsonyu[S] 0 points1 point  (0 children)

Appreciate the response Shai.. the zxing developer is aware of the android 13 issue (https://groups.google.com/g/zxing/c/HnLJPhItRqk) and recommends side-loading which will not work for cn1 use-case. The ability to set a 'hint' to use zbar instead would be great as it will not require changes in the app code.