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

assembly - 8086 TASM: Illegal Indexing Mode -

Java, LWJGL, OpenGL 1.1, decoding BufferedImage to Bytebuffer and binding to OpenGL across classes -

java - SmsManager sending message more than one -