Похожие чаты

I still cant retrieve IMEI in android 10 can any

give me solution ?

18 ответов

9 просмотров

Why do you even need it?

Ali-Ghasemi Автор вопроса
Roman Chumachenko
Why do you even need it?

im work on startup about sell mobile phone like a shop and they want to android app retrieve IMEI and then send to server to authenticate it .

Ali Ghasemi
im work on startup about sell mobile phone like a ...

Have you tried this? https://stackoverflow.com/questions/1972381/how-to-get-the-devices-imei-esn-programmatically-in-android

Ali-Ghasemi Автор вопроса
Ali-Ghasemi Автор вопроса
Roman Chumachenko
Which one?

telephonyManager.getDeviceID()

Ali Ghasemi
telephonyManager.getDeviceID()

For this call you must define uses-permission in manifest and also request it at runtime as it is dangerous permission. Have you done this?

I am from Iran and when I wanna get the imei of the phone , I dial *#06# I don't know if you can use the same code in your country or not... You can test it. And please reply if you tested it 🙏

4C
I think the country doesn't matter

Yeah it'll be better to test

Ali-Ghasemi Автор вопроса
-
I am from Iran and when I wanna get the imei of th...

I know ! But i want to retrieve imei by my application . Solution is not important just application show imei to user

Ali Ghasemi
I know ! But i want to retrieve imei by my applica...

So for this , you need to search for a way to get the result of ussd code. This might be helpful.

Ali-Ghasemi Автор вопроса
-
So for this , you need to search for a way to get ...

That is a good way but i checked this way and the TelephonyManager return failure code instead of USSD content .

Ali Ghasemi
That is a good way but i checked this way and the ...

Unfortunately, i dont know more about it...🙏

Ali-Ghasemi Автор вопроса

Похожие вопросы

Обсуждают сегодня

Hey guys, did you see the new announcement about $Fun? 🔥
Filip Murphy
55
А чем вам питонисты не угодили?😂
.
79
Язык Си можно выучить за день? По книжке ANSI C на 230 страниц
Vincent Vegan
29
Привет, запускаю werf в dind в k8s, получаю ошибку на этапе build/beforeSetup: /.werf/stapel/embedded/bin/bash: /.werf/scripts/5898bdfe5214357d3706b879cc8d3d78460fb379607cbd...
florius0
7
пацаны, как-нибудь можно панель задач заблюрить, что она была похожа на kde или винду 7, 11?
В
16
Всем привет, написал код ниже, но он выдает сегфолт, в чем причина? #include <stdio.h> #include <stdlib.h> #include <string.h> struct product { char *name; float price; };...
buzz базз
75
Dim Dim, [02.07.2024 11:07] DB 0x62 Dim Dim, [02.07.2024 11:07] DB 0x66 Dim Dim, [02.07.2024 11:07] кто пояснит что это?
Dim Dim
14
So total 101m burned Today?
Simu
18
Ошибка: segmentation fault (core dumped) Код: pastebin.com/BEsNNSSV Сообщение от компилятора: отсутствует ОС: Arch Linux Ядро: x86_64 Linux 6.9.7-arch1-1 Процессор: Intel Cele...
sec
4
Hi, I can't understand promises in JavaScript and what we should use them for (maybe the teacher didn't teach well XD). Do you have a solution for this? And are promises used...
A
29
Карта сайта