在后台运行的Andr​​oid应用程序的PhoneGap [英] Run Android phonegap application in background

查看:161
本文介绍了在后台运行的Andr​​oid应用程序的PhoneGap的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在开发PhoneGap的Andr​​oid应用程序,科尔多瓦..
我曾在应用程序的按钮,同时点击,我需要在后台运行的应用和

I am developing an android application in Phonegap, cordova.. I had a button in the application, while clicking in that I need to run the application in the background and

需要15分钟的时间间隔来调用Web服务。

need to call a web service at the interval of 15 mins.

是否有可能在手机的差距,科尔多瓦凸出...

Is it possible in phone gap, cordova proj...

我是新来this..Please帮助

I am new to this..Please help

推荐答案

您将不得不为了在后台运行的进程来创建自定义插件。你可以找到一个插件实现<一个href=\"http://stackoverflow.com/questions/9412501/how-to-create-plugin-in-phonegap-to-run-the-application-in-background\">here.

You will have to create a custom plugin in order to run processes in the background. You can find a plugin implementation here.

这篇关于在后台运行的Andr​​oid应用程序的PhoneGap的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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