If your device is an Android 5 device then the previous code might have worked as it predates the Android 6 update. Still I haven't tried this myself so I'm not sure what could happen there. I suggest connecting a cable and looking through logcat logs. You can also debug on Android Studio if that would help see: https://www.codenameone.com/how-do-i---use-the-include-sources-feature-to-debug-the-native-code-on-iosandroid-etc.html
-- 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/codenameone-discussions/54df9f6d-e0e4-4a19-bb54-ebdb3776175d%40googlegroups.com.
