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
install problem in Pas2J...
by
arirod
[
Today
at 07:29:33 pm]
about sqldb postgresql LO...
by
gucao
[
Today
at 06:59:24 pm]
Command line compilation ...
by
marcov
[
Today
at 06:21:54 pm]
LAMW - "This app has a bu...
by
Agmcz
[
Today
at 06:15:40 pm]
Build lazarus and fpc in ...
by
MarkMLl
[
Today
at 04:32:59 pm]
weird sqlite error "datab...
by
Zvoni
[
Today
at 04:24:33 pm]
lazarus "Online Package M...
by
wp
[
Today
at 03:19:32 pm]
Dark mode class...
by
Wallaby
[
Today
at 02:29:05 pm]
Custom Control causes QTr...
by
zeljko
[
Today
at 02:26:17 pm]
increment filename if exi...
by
Josh
[
Today
at 02:17:36 pm]
« previous
next »
Print
Pages: [
1
]
Author
Topic: [LAMW] jTelephonyManager is not working properly (Read 3128 times)
Agmcz
New Member
Posts: 35
[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: 35
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: 35
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: 2109
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