如何在 Android 应用程序上进行实时更新 [英] How to do live updates on an android app

查看:56
本文介绍了如何在 Android 应用程序上进行实时更新的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是编程和开发应用程序的新手,所以请放轻松.基本上我希望能够经常更新一些文本而不必更新整个应用程序.我不知道该怎么做.任何反馈都会很好

I am new at programming and developing apps so go easy on me please. Basically I want to be able to update some text every so often without having to update the entire app. I'm not sure how to go about this. Any feed back would be nice

我应该提到我在做什么.我为我的游泳池制作了一个应用程序,我想添加一个功能,让人们可以在他们决定来之前看到游泳池里有多少人.因此,我需要在应用的某个部分不断更改文本.

I should have mentioned what I'm doing. I making an app for my pool, and a feature I want to add will allow people to see how many people are in the pool before they deiced to come. So I would need to constantly change my text in a certain part of my app.

推荐答案

您需要实现一个服务器(PHP 中的几个代码就足够了)在哪里存储要在应用程序中显示的文本行.

You need to implement a server (a couple of codes in php would suffice) where to store the lines of text you want to display in your application.

>

应用程序(在这个场景中是客户端)然后必须调用服务器并要求它显示一行.

The application (which is the client in this scenario) must then call the server and ask it the line to display.

你应该谷歌搜索android客户端服务器".别担心,这是一个很简单的问题.

You should google for "android client server". Don't worry it's a quite easy issue.

这篇关于如何在 Android 应用程序上进行实时更新的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆