Home » Author Archives: Shai Almog

Author Archives: Shai Almog

Shai is the co-founder of Codename One, he has been programming professionally for over 20 years and developing in Java since 96. Shai worked for countless industry leaders including Sun Microsystems where he was a part of the original WTK (Wireless Toolkit) team & the co-creator of LWUIT. He worked with most major device operators/manufactures including Nokia, Samsung, Sony Ericson, Sprint, Vodafone, Verizon, NTT DoCoMo etc. Shai is a blogger and writer who often speaks at conventions. He is a Java One rockstar and top rated speaker for JavaZone, corporate conventions from Oracle, IBM and many others.

Building A Chat App With Codename One Part 2

software-development-2-logo

In the second part of this tutorial we will cover the login process for Google and getting a unique id. We’ll try to write generic code that we can later reuse for the Facebook login process. But first lets cover what “signing in” actually means…​ When you handle your own user list and a user signs in thru registration, you ...

Read More »

Building A Chat App With Codename One Part I

software-development-2-logo

In this tutorial we will cover the basics of building a good looking chat application with Codename One that will work on all mobile OS’s. We will cover everything from design to social network login and the actual chat behavior. This tutorial is for a hand coded application mostly because GUI builder tutorials require video and are thus less searchable. ...

Read More »

Codename One Charts

android-logo

This post was written by Steve Hannah, one of the newest additions to the Codename One team and a long time community contributor. The upcoming update to Codename One will include a new package (com.codename1.charts) for rendering charts in your applications. This includes models and renderers for many common classes of charts including many flavours of bar charts, line charts, ...

Read More »

Don’t Block The UI

android-logo

I’ve talked with many end users about their badly written apps grievances and I’ve come to the conclusion that it isn’t a matter of native vs. cross platform or even HTML. Its a frustration issue, driven by unintuitive apps (hidden gestures etc.) and slow performance. The slow performance bit is the most misunderstood, there is a “feeling” of sluggishness that ...

Read More »

CallSerially The EDT & InvokeAndBlock (Part 2)

android-logo

The last time we talked about the EDT we covered some of the basic ideas, such as call serially etc. We left out two major concepts that are somewhat more advanced. Invoke And Block When we write typical code in Java we like that code to be in sequence as such:     doOperationA(); doOperationB(); doOperationC(); This works well normally ...

Read More »

CallSerially The EDT & InvokeAndBlock (Part 1)

android-logo

We last explained some of the concepts behind the EDT in 2008 so its high time we wrote about it again, there is a section about it in the developer guide as well as in the courses on Udemy but since this is the most important thing to understand in Codename One it bares repeating. One of the nice things ...

Read More »

CallSerially The EDT & InvokeAndBlock (Part 1)

software-development-2-logo

We last explained some of the concepts behind the EDT in 2008 so its high time we wrote about it again, there is a section about it in the developer guide as well as in the courses on Udemy but since this is the most important thing to understand in Codename One it bares repeating. One of the nice things ...

Read More »

Beating The ARC

software-development-2-logo

For the uninitiated, ARC is Apple’s term for Automatic Reference Counting. Objective-C uses a reference counting scenario to collect objects which is pretty painful to work with. Personally I preferred C/C++’s manual delete/free to the Objective-C semantics. But a couple of years ago Apple introduced ARC in which the compiler implicitly inserts the retain/release reference counting logic. While its a ...

Read More »

WORA Is Better Than Native

software-development-2-logo

When “Write Once Run Anywhere” is done right it can produce applications that are “better” than native apps by targeting the highest common denominator. Some would claim that native is the best approach, but that looks at existing WORA tools/communities, which mostly target cost saving. In fact, even native Android/iOS tools produce rather bad results without deep platform familiarity. Native ...

Read More »
Want to take your Java Skills to the next level?
Grab our programming books for FREE!
  • Save time by leveraging our field-tested solutions to common problems.
  • The books cover a wide range of topics, from JPA and JUnit, to JMeter and Android.
  • Each book comes as a standalone guide (with source code provided), so that you use it as reference.
Last Step ...

Where should we send the free eBooks?

Good Work!
To download the books, please verify your email address by following the instructions found on the email we just sent you.