T
T
timof1232020-02-04 17:35:22
Java
timof123, 2020-02-04 17:35:22

how to get mac address of android device in java?

Please help me solve my problem. I am writing an android application where I need it to get the wifi mac address of the device. I can't find it on google. Can you suggest a code?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
A
Alexander, 2020-02-04
@Seasle

stackoverflow

A
Alexander Yudakov, 2020-02-04
@AlexanderYudakov

Modern way:
https://stackoverflow.com/a/35830358/2558342

S
Sergey Shvyrev, 2020-02-05
@CellycoMobiles

Encountered a security limitation in Android 9/10 when getting a Mac address. I don't remember about 8.
I was in this situation six months ago. I don't remember how I decided.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question