I want to get IP of wifi hotspot (from another computer) that android device connect via wifi, not IP local of android. I run application in real device
Not all WiFi access points even have IP addresses! It is not a requirement. It runs on a different layer.
That being said, you can use reverse-ARP on the wireless MAC of the AP to get its IP address, if it has one. Also note that this IP is sometimes different than the wired interface.
For home all-in-one wireless routers, you can also check whatever DHCP assigns as a gateway address, but again, this doesn't have a direct correlation to the access point.