Open Source & Free  

Questions of the Week XXI

Questions of the Week XXI

Header Image

August is finally over and we can get back to our more usual brisk pace of progress!
The xcode migration which was one of the biggest pains to go thru is also mostly behind us and we can now
turn our gaze to improving Codename One and its general usage experience.

This week was mostly uneventful in terms of stack overflow, the biggest news is the migration on Android to API
level 23 which might include some issues.

Codename one concurrent animations?

There are many things we can do with animations thanks to the new animation manager!

When call up from Background my Codename App Shows bug

Mobile app lifecycle has always been a difficult subject. I think we simplified this but it’s still non-trivial especially
with suspend/resume.

Online database Connection

Connecting to a database thru the mobile network is a problematic idea

How to validate form in codeonename

People often confuse the new/old GUI builder and try to create a form on the old one in a non-GUI builder project

Generating certificate for iOS using codename one certificate wizard

Yes you need to pay Apple to build native apps for a device you purchased. This is true even when working natively
although later versions of xcode allow you to circumvent that slightly.

“Unrecognized Selector Sent to Instance” error in iOS native code

Two really confusing things for developers new to Objective-C that had me stumped too:

  • Argument names are a part of the method signature. If you change the name of the argument you break the code!

  • The compiler doesn’t check that a method (message) exists. This is common in scripting languages but odd for
    a compiled language

Error=13, Permission denied when adding event in CodenameOne

The old designer is bound to the IDE in a problematic way so if more than one IDE instance exists or if the IDE
installation isn’t standard things can get “weird”. This only exists in NetBeans as we found more elegant
ways of addressing this binding in other IDE’s.

What are the exact steps to deploy application on Windows Phone

Those are listed in the developer guide for UWP, Windows Phone port is phasing out

How to customize the look of a Tab for Android in codename one?

The need to override the border UIID element is often confusing.

How to remove commands added to overflow menu

This was missing from the API, we added a new API to remove overflow commands explicitly

Need to set java8 in codenameone project with IDE Myeclipse 2015

Java 8 support is painful under Eclipse where the ini needs to be edited

UWP app name can’t chinese. name change to?

There was an issue with setting UWP application names to some locales this should be fixed in todays builds

Google Play Warning: SSL Error Handler Vulnerability

I’m not sure why this error message was received. If other users got it we’d like to know as we didn’t get it for our
submissions. The code mentioned in the message doesn’t exist in our workspace so maybe it’s related to a cn1lib?

Specify absolute position of GUI element in CN1

I’m still not sure I understand the question correctly, I try to communicate more clearly but sometimes wires don’t
cross properly and the original intention of the question gets lost

How to get mobile info in codenameone?

This isn’t so much a Codename One question, it’s a mobile question. The answer is easy on iOS: you can’t.

Constraints (West, center…) not visible in new GUI Builder

The UX of the new GUI builder still needs some work. The biggest thing we need to fix is having the tree always
open so developers can see the selected component.

Leave a Reply