Retrieving the phone number on Android
Solved
Mobile and Embedded
-
Re: [SOLVED] Fetching the sim card's phone number on Android
Hello there
There isn't much documentation on how to retrieve the phone number from the SIM card under Android. Most of it is a couple of years old and involves changing the distributed code. What is currently the best way to do this with Qt 5.8 ?
Thank you all -
@_.-rFLo_.- said in Retrieving the phone number on Android:
What is currently the best way to do this with Qt 5.8 ?
Use JNI and the Java code from here.
If you want to keep the JNI code minimal you can also create a custom Activity and provide a smethod there (which then gets called with a minimalistic JNI code). -
thx a lot for your help