Android Studio: get the ipv4 address proggramatically

后端 未结 0 1182
暗喜
暗喜 2020-12-07 03:19

So I am making an app and I want to know the ipv4 address. I tried using methods that I have seen here, such as:

WifiManager wm = (WifiManager) getApplication         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题