Connecting android phone to a local web server
Of course it would work without the convoluted process you described. What makes you think Android phones aren't capable of a simple DNS lookup?

If your product sets a hostname in its initial DHCP request, most consumer routers will serve it out to other clients over DNS, including Android phones. The process you described should only be used as a fallback mechanism when the user's router isn't configured that way.