Forum > Android

[LAMW] jTelephonyManager is not working properly

(1/1)

Agmcz:
Hi all

Component jTelephonyManager is not working properly
always the same result "GSM"


--- Code: Pascal  [+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i < x.length; i++) { x[i].style.maxHeight='none'; x[i].style.height = Math.min(x[i].clientHeight+15,306)+'px'; x[i].style.resize = "vertical";}};} ---jTelephonyManager1.GetIMEIjTelephonyManager1.GetLine1Number 

Agmcz:
more...

jTelephonyManager1.GetNetworkType: always the same result "0"

Can you solve this problem!

Agmcz:
After testing on Android 5.1 and Android 11
I note that it is compatible with Android 5.1
- Test on  Android 5.1: jTelephonyManager1.GetIMEI Working
- Test on  Android 11: jTelephonyManager1.GetIMEI Not working
Why is it not working on Android 11

jmpessoa:

Hi, Agmcz!

I will try some solution!


Thank you!

Insid3Code:

--- Quote ---- Test on  Android 11: jTelephonyManager1.GetIMEI Not working
--- End quote ---

--- Quote ---I will try some solution!
--- End quote ---

It's about Privacy changes in Android release...

https://developer.android.com/about/versions/10/privacy/changes#data-ids

Navigation

[0] Message Index

Go to full version