Lazarus
Home
Help
TinyPortal
Search
Login
Register
Lazarus
»
Forum
»
Programming
»
Operating Systems
»
Android
»
[LAMW] jTelephonyManager is not working properly
Free Pascal
Website
Downloads
Wiki
Bugtracker
Mailing List
Lazarus
Website
Downloads (Laz+FPC)
Packages (OPM)
FAQ
Wiki
Bugtracker
CCR Bugs
IRC channel
GIT
Mailing List
Other languages
Foundation
Website
Useful Wiki Links
Project Roadmap
Getting the Source
Screenshots
How to use the forum
About donations (wiki)
Bookstore
Computer Math and Games in Pascal
(preview)
Lazarus Handbook
Search
Advanced search
Recent
MOVED: Frame reception pr...
by
trev
[
Today
at 01:23:12 am]
MOVED: Regex conversion e...
by
trev
[
Today
at 01:20:23 am]
MOVED: Raylib4.0 don't wo...
by
trev
[
Today
at 01:19:51 am]
installation warning
by
trev
[
Today
at 12:12:22 am]
Raylib4.0 don't work eith...
by
dsiders
[May 22, 2022, 11:51:22 pm]
Frame reception problem i...
by
avra
[May 22, 2022, 11:32:45 pm]
HTML to text
by
wp
[May 22, 2022, 11:00:03 pm]
Lazarus Release 2.2.2
by
folkeu08
[May 22, 2022, 09:31:08 pm]
Vector graphics floodfill...
by
BobDog
[May 22, 2022, 08:51:45 pm]
Regex conversion escapes
by
AlexTP
[May 22, 2022, 08:19:24 pm]
« previous
next »
Print
Pages: [
1
]
Author
Topic: [LAMW] jTelephonyManager is not working properly (Read 3130 times)
Agmcz
New Member
Posts: 39
[LAMW] jTelephonyManager is not working properly
«
on:
November 19, 2021, 12:30:30 am »
Hi all
Component jTelephonyManager is not working properly
always the same result "GSM"
Code: Pascal
[Select]
[+]
[-]
jTelephonyManager1
.
GetIMEI
jTelephonyManager1
.
GetLine1Number
Logged
Agmcz
New Member
Posts: 39
Re: [LAMW] jTelephonyManager is not working properly
«
Reply #1 on:
November 19, 2021, 04:21:43 pm »
more...
jTelephonyManager1.GetNetworkType: always the same result "0"
Can you solve this problem!
Logged
Agmcz
New Member
Posts: 39
Re: [LAMW] jTelephonyManager is not working properly
«
Reply #2 on:
November 19, 2021, 04:37:50 pm »
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
Logged
jmpessoa
Hero Member
Posts: 2111
Re: [LAMW] jTelephonyManager is not working properly
«
Reply #3 on:
November 19, 2021, 07:42:07 pm »
Hi, Agmcz!
I will try some solution!
Thank you!
Logged
Lamw: Lazarus Android Module Wizard
https://github.com/jmpessoa/lazandroidmodulewizard
Insid3Code
New member
Posts: 5
Re: [LAMW] jTelephonyManager is not working properly
«
Reply #4 on:
November 22, 2021, 12:08:32 pm »
Quote
- Test on Android 11: jTelephonyManager1.GetIMEI Not working
Quote
I will try some solution!
It's about Privacy changes in Android release...
https://developer.android.com/about/versions/10/privacy/changes#data-ids
Logged
Print
Pages: [
1
]
« previous
next »
Lazarus
»
Forum
»
Programming
»
Operating Systems
»
Android
»
[LAMW] jTelephonyManager is not working properly
TinyPortal
© 2005-2018