Hi, this isn't supported in Codename One since no OS supports this officially. Android dropped support for this recently but you might find a workaround if you don't need Google play. In that case you'll need to write Android native code using native interfaces: https://www.codenameone.com/how-do-i---access-native-device-functionality-invoke-native-interfaces.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/25d28fa0-6801-440b-8e61-5d6f0c5d449c%40googlegroups.com.
