有没有办法! [英] there r any way to this!!
本文介绍了有没有办法!的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
如何从网页按钮控制我的Android应用程序在应用程序中执行某些操作?
how can i control my android app from button in the web page to do something in app ?
推荐答案
请使用合理且智能的主题行。在这里张贴的每个人都想知道htere是否可以做某事。
您的Android应用程序可以轮询Web服务以从网站获取数据,然后做出反应那个。当然,对于数据计划有限的人来说,这会花费很多钱,但这是唯一的方法。您的网站无法将数据推送到您的应用。除非应用程序实际打开一个端口并告诉网站它正在运行并正在监听该端口,我猜,但这对我来说似乎不太可扩展。
Please use a sensible and intelligent subject line. Everyone posting here wants to know if htere''s a way to do something.
Your android app can poll a web service to get data from a website, and then react to that. Of course, that would cost a lot of money for people with limited data plans, but that''s the only way. Your web site cannot push data to your app. Unless the app actually opens a port and tells the website it is running and listening on that port, I guess, but that doesn''t seem very scalable to me.
这篇关于有没有办法!的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文