How to read 1 line of a text file in server with Android and save its content in a varable? -


i want when app opened check file in server example : mysite/last.txt

and in file put last app version : 3.3

i want every time user opens app, first check file , check if app version lower version put in text file in server, show dialog or toast message user new version if app example : "a new version available"

how can this?

sorry english, english not native language!

you download files content using normal http connection: how use simple http client in android?

but why should want this? play store keeps track of versions , show message if theres update app!


Comments

Popular posts from this blog

c# - Send Image in Json : 400 Bad request -

jquery - Fancybox - apply a function to several elements -

An easy way to program an Android keyboard layout app -