access to my phone's settings via codeName one

20 views
Skip to first unread message

silver...@gmail.com

unread,
May 12, 2018, 11:01:28 AM5/12/18
to CodenameOne Discussions
Hi
I would like to know if it's possible to access my phone settings using CodeNameOne. For example, if I want to get my EMEI( International Mobile Equiment Identity) or the serial number of my phone, is there a way to get it using codeNameOne?
If yes how ? if not, what alternative can I use?
thanks


If you are experiencing an issue please mention the full platform your issue applies to:
IDE: NetBeans/Eclipse/IDEA
Desktop OS
Simulator
Device

Shai Almog

unread,
May 13, 2018, 12:12:38 AM5/13/18
to CodenameOne Discussions
Hi,
we have Display.getMsisdn() & Display.getUdid() but those only work on Android and produce scary looking permission prompts.
Since this is Android specific it would make sense to code it with a native interface anyway.
Reply all
Reply to author
Forward
0 new messages