I want my Android app to check for update so I hosted a simple HTML page with this code:
<html>
<body>2.3</body> // Latest version
</html>
So I would get the version in the Body and compare it to the current version that is in the phone.
How do I get that number from a web page?
Android has left the net, io and nio.
Try the Java.net.URLConnection: http://docs.oracle.com/javase/tutorial/networking/urls/readingWriting.html