Post Image

Strong Android Certificates

When Android launched RSA1024 with SHA1 was considered strong enough for the foreseeable future, this hasn't changed completely but the recommendation today is to use stronger cyphers for signing & encrypting as those can be compromised.

Read More
Post Image

TIP: Use Tethering to Simulate Slow Network Connections

I recently had to debug some code on Android Studio and was reminded how awful that IDE really is. IntelliJ is a pretty good IDE but Android Studio is remarkably slow even for trivial projects... One of the things that make it slow (besides RAM usage) is the approach of downloading everything it needs dynamically.

Read More
Post Image

Questions of the Week 40

Today we have the first weekly release since the 3.6 release and as such it is choke full of changes which is natural given that we skipped a release and had a lot of code pending to "post release". So please be vigilant especially if you use peer components and let us know about potential regressions ASAP.

Read More
Post Image

Z-Order Peers in iOS & JavaScript

Just last week I mentioned the effort we were taking to bring the z-ordered peer components into other platforms and I'm pretty happy to report that tomorrows update should include support for iOS & the JavaScript ports for z-ordering.

Read More
Post Image

Can Execute Hint

Display.canExecute(url) provides us with a generic tool to test the availability of a feature before executing a command. This is very useful for inter-app communications and allows us to achieve various things such as launching Google Map instead of Apple Maps on iOS.

Read More
Post Image

Jailbreak/Rooting Detection

iOS & Android are walled gardens which is both a blessing and a curse. Looking at the bright side the walled garden aspect of locked down devices means the devices are more secure by nature. E.g. on a PC that was compromised I can detect the banking details of a user logging into a bank. But on a phone it would be much harder due to the deep process isolation.

Read More
Post Image

TIP: Customize Tabs Behavior

The Tabs component isn't our first attempt at the the multi-tab UI and as such we made a lot of changes to the logic to facilitate a level of flexibility that can answer most use cases e.g. Tabs that can be closed with an X on the top right section or span multiple rows.

Read More
Post Image

Questions of the Week 39

We are ending the enterprise annual promotion today so if you didn't sign up for this special deal this is literally your last chance. This is important as the JavaScript build promotion will expire soon so I suggest taking advantage of this!
We had a lot of updates and new features this week but we decided in advance to skip the update right after the release and so we'll push them out only next week.

Read More
Post Image

HTML Maps, Z-Order Peer & Properties Update

One of the problems with native maps is that they work very differently between the device and the simulator. This is because we use MapComponent on the simulator and as a fallback on the devices where Google Maps isn't available. We just committed a new mode for maps that allows you to use the Google HTML maps as the fallback instead of the MapComponent.

Read More
Post Image

Automatic Build Hints Configuration

We try to make Codename One "seamless", this expresses itself in many small details such as the automatic detection of permissions on Android etc. The build servers go a long way in setting up the environment as intuitive. But it's not enough, build hints are often confusing and obscure. It's just hard to abstract the mess that is native mobile OS's and the odd policies from Apple/Google...

Read More