Skip to main content

All Questions

Tagged with
1 vote
0 answers
67 views

How to get my public ipv4 address in my android application?

I am developing an android application and need to get my device's public IPV4 address to trigger an API, how can this be done. Some approaches I have tried I am sharing below fun getIPAddress(): ...
Ripped_Asssasin's user avatar
1 vote
1 answer
2k views

How can I retrieve the MAC address on Android 11 and newer versions?

I am trying to retrieve the list of devices connected to my router (Internet service provider) along with their MAC addresses. I was able to obtain the MAC address using the NetworkInterface class for ...
HaSel's user avatar
  • 11
0 votes
1 answer
675 views

How to solve netstat permission denied problem?

How can get ip address of a facebook messenger user by using android emulator? I got message from an unknown user tring to blackmail in a sense (may not be financial) but i dont want him, but he had ...
Suraj Chettri's user avatar
0 votes
1 answer
506 views

How i can get the ip address for connected device with hotspot programmatically

I have an Android POS device and it is connected to my Android phone through a mobile hotspot, I need to get the IP Address for the POS programmatically without letting the user enter it, I can get ...
walid azgear's user avatar
0 votes
1 answer
141 views

Getting PowerApps to send the IP address to a SQL database

So I have a clocking in app we have developed on Powerapps that is ran on android tablets across multiple sites in the UK, what we want is to get the App to send the public IP address to our SQL ...
Bozzy's user avatar
  • 1
0 votes
0 answers
78 views

Getting external IP address in Android app

I need to find my external IP address form within my Android app. InetAddress.getHostAddress() returns the local network IP address. I was thinking of something similar to whoamI but can't figure a ...
theblitz's user avatar
  • 6,811
3 votes
1 answer
4k views

Get IP address from Android and IOS Device using .NET MAUI

I am trying to get IP address from android device using .NET MAUI. (Current android framework net6.0-android) With the below code, I can get the IP with the first launch of the application. And it ...
Owen Lee's user avatar
  • 395
0 votes
1 answer
846 views

How to find the connected WIFI MacAddress in Android 9 Programmatically?

Android documentation reference MAC addresses are globally unique, not user-resettable, and survive factory resets. For these reasons, to protect user privacy, on Android versions 6 and higher, ...
Shoaib Kakal's user avatar
  • 1,256
0 votes
1 answer
320 views

How to Access Wifi MacAddress on latest Android devices Programmatically?

I was looking for the attributes which make a wifi Access point unique from others so macAddress is one. Now i'm trying to find the macAddress of connected wifi. I'm following this article which works ...
Shoaib Kakal's user avatar
  • 1,256
0 votes
0 answers
2k views

How to get IP Address on Android with Flutter?

I am trying to get the IP Address to show but I am getting null. Also this works when I simulate it, but not when I am trying it on an android device. What could be the issue here? Any help would be ...
Panos_42's user avatar
0 votes
1 answer
152 views

Time out during the connection to local server from physical device

I downloaded Apache 2.2 from here I know that this is old version but anyway I need it. Then I launched Android emulator and tried to access to server and it worked. I used 10.0.2.2 IP address with ...
WideWood's user avatar
  • 559
0 votes
0 answers
682 views

How can I find out the ip-addresses of my smartphone? ipv4 and ipv6. Flutter. Dart

It's easy to find out my ip address in Kotlin language: var dgs=DatagramSocket() dgs.connect(InetAddress.getByName("2023::1"),8888) var stringForTextView="localAddress.hostName: ${dgs....
Vsevolod's user avatar
  • 357
0 votes
1 answer
283 views

Android native app resolves hostname to a different IP from browser

I'm having a really strange problem. I am supporting a private mobile app for a client that connects to their website to perform a variety of operation. For reasons beyond my control, the IP address ...
Aleks G's user avatar
  • 57.1k
0 votes
0 answers
2k views

Localhost API Call from my xamarin forms app works on emulator but not on my Android device

I'm using HttpClient in my Xamarin Forms project to call my Asp.net core REST Api with Base address: https://10.0.2.2:portNumber and everything works fine on the Emulator. However when I test on my ...
Hoka Turki's user avatar
0 votes
0 answers
92 views

p2p via socket connection

There are 2 android phones, They want to communicate directly with P2P via socket connection. Both phones know each other's IP address' Both phones are behind different symmetric NATs You have root ...
Hemant Shroff's user avatar

15 30 50 per page
1
2 3 4 5
10