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
What is the best free pot...
by
Alienizering
[
Today
at 05:26:11 am]
Remote debugging on Raspb...
by
DimTim
[
Today
at 05:04:27 am]
Translation does not work...
by
Alienizering
[
Today
at 04:38:22 am]
about sqldb postgresql LO...
by
gucao
[
Today
at 02:56:58 am]
lazarus "i18n" PO Output ...
by
dbannon
[
Today
at 01:59:50 am]
MOVED: lazarus "i18n" PO ...
by
trev
[
Today
at 01:21:49 am]
MOVED: Translation does n...
by
trev
[
Today
at 01:18:57 am]
LAMW - "This app has a bu...
by
Agmcz
[
Today
at 01:09:25 am]
DPI/PPI on Windows
by
Alienizering
[
Today
at 12:59:34 am]
MOVED: Strange behavior T...
by
trev
[
Today
at 12:50:40 am]
« previous
next »
Print
Pages: [
1
]
Author
Topic: [LAMW] jTelephonyManager is not working properly (Read 3129 times)
Agmcz
New Member
Posts: 37
[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: 37
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: 37
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