简体   繁体   English

在Android应用中从互联网检索一个简单的字符串

[英]Retrieve a simple string from internet in android app

I have a simple question: I have a private comunity android app that is not in the market, so my question is when i do an upgrade to the app i want to have a button that makes the users of the app verify if theirs app is outdated.. 我有一个简单的问题:我有一个不在市场上的私人社区android应用,所以我的问题是,当我升级到该应用时,我想要一个按钮让该应用的用户验证他们的应用是否为过时了..

So i want a simple way to retrieve a simple string from a file that i update to the web with the version of the app, next my app will compare the version that is in the file and the version that is currently installed on phone. 因此,我想要一种简单的方法来从文件中检索一个简单的字符串,然后使用应用程序的版本更新到网络,接下来我的应用程序将比较该文件中的版本和手机上当前安装的版本。

Can you point me some directions? 你能给我指出一些方向吗?

Store a xml in Dropbox and parse it? 将XML存储在Dropbox中并进行解析? :S is there anything more pratic to do this? :S还有其他更实用的方法吗?

Google:“ Android php json”不带双引号...

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM