Red-Folder / Cordova-Plugin-BackgroundService

BackroundService plugin for use with Cordova (PhoneGap)
144 stars 85 forks source link

Jquery Mobile Prevents Time Button from being enabled. #34

Closed babysitterFinder closed 10 years ago

babysitterFinder commented 10 years ago

I have successfully setup the plugin. I would like to include jquery mobile to design my pages. However, once i put jquery mobile in the timer toggle button remains disabled. I am able to activate service, listed, and reboot, but my timer button is disabled.

Has anyone come across this issue?

Red-Folder commented 10 years ago

No, I'm afraid not.

I'd guess there is a clash in the button name or Javascript function - but I'm afraid that is only a guess,

The page I provide is really only intended as a demonstration. I wouldn't expect anyone to use it in production code. I would expect people to build their own page/ javascript logic to run the plugin.

If you find out what the problem is, it would be interesting to know.

teusink commented 10 years ago

@babysitterFinder Check out my repo: https://github.com/teusinkorg/jpHolo

It is a full example of a jQuery Mobile app, including this wonderfull background service plugin. The core remains the same, but I changed the JavaScript code to jQuery Mobile, concerning the interface to manage your service.

These files matter: Layout: https://github.com/teusinkorg/jpHolo/blob/master/assets/www/index_smartphone.html Code: https://github.com/teusinkorg/jpHolo/blob/master/assets/www/js/jpholo.core.services.js

Red-Folder commented 10 years ago

No activity on this question for over a month. I will close.

If still an issue, please reopen