java - How to check if an URL exists? -
how can check if url exists and, if yes, something? i'm making app updates private server (http). want following:
1) check if url exists.
2) if response positive, display dialog let download update.
3) if response negative, display dialog tells current version installed latest.
i wrote little code download update server doesn't check if url exists. in fact, tries "download" update when new apk isn't on server (so downloads nothing). can me this? in advance.
hello it's easy: exception if url not exist
Comments
Post a Comment