Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我是java和php的初学者。我的申请由两部分组成:
php
java
每当服务器端的管理员需要时,即使 android 上的应用程序没有运行,他也可以向 android 发送请求以获取其位置坐标。 我设法创建了将检测移动位置并将其保存在 android 上的变量中的 java 文件。 我的问题是,如何启用 php(服务器端)发送请求,该请求将启动在 android 上查找位置坐标的操作?
提前感谢您的帮助!
您可以使用Google Cloud Messaging for Android将推送通知功能添加到您的应用程序。