I haven't tried this but did you try getting the value as a String? If null will be returned you can know it's null and then you don't need to get the integer value.
I'm not sure if it will work across devices though... -- You received this message because you are subscribed to the Google Groups "CodenameOne Discussions" group. To unsubscribe from this group and stop receiving emails from it, send an email to codenameone-discussions+unsubscr...@googlegroups.com. Visit this group at https://groups.google.com/group/codenameone-discussions. To view this discussion on the web visit https://groups.google.com/d/msgid/codenameone-discussions/c0212fd4-0964-4367-a681-d1d359e322b8%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.