
On Tue, 3 Feb 2015 22:57:30 +1300, Peter Reutemann wrote:
Just playing around with Android tethering / wifi hotspot on my phone. One question that I have is, how do I fix the IP address that my phone assigns to a client when acting as an access point? Is there an App that I can use to tie a client's Mac ID to certain IP address, like you can usually do with "regular" wireless access points?
Looking at wi-fi hotspots, I saw a few apps on the Play Store, but at a quick glance none of them mentioned giving this level of control. Looks like there is no actual public API in Android for controlling hotspot functions. Some hackers have figured out how to access some things via Java introspection <http://stackoverflow.com/questions/6394599/android-turn-on-off-wifi-hotspot-programmatically>, <http://stackoverflow.com/questions/7048922/android-2-3-wifi-hotspot-api>, <https://github.com/nickrussler/Android-Wifi-Hotspot-Manager-Class>, but of course this kind of thing is prone to breakage with Android version updates.