BackroundService plugin for use with Cordova (PhoneGap)
JavaScript HTML Java
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.

README.md

IMPORTANT NOTE

This repository is no longer active.

The plugin has been converted to support the Plugman format plugins - for this I have created a new repository. This is in line with Cordova project direction. I will no longer support this repository. Any issues should be logged against the new respoistories.

In future all updates to the plugin will be tweeted via @FolderRed

Background Service Plugin for Phonegap

A plugin (and framework code) that allows the development and operation of an Android Background Service.

The example MyService Background Service will write a Hello message to the LogCat every minute. The MyService is designed as sample code.

Cordova Versions

Folders used for different Cordova versions:

  • /2.2.0 - For use with Cordova 2.2.0
  • /2.3.0 - For use with Cordova 2.3.0
  • /2.4.0 - For use with Cordova 2.4.0
  • /2.5.0 - For use with Cordova 2.5.0
  • /2.6.0 - For use with Cordova 2.6.0
  • /2.7.0 - For use with Cordova 2.7.0
  • /2.8.0 - For use with Cordova 2.8.0
  • /2.8.1 - For use with Cordova 2.8.1
  • /2.9.0 - For use with Cordova 2.9.0
  • /3.0.0 - For use with Cordova 3.0.0
  • /3.1.0 - For use with Cordova 3.1.0

Depreciated Versions

Over time I will no longer maintain older versions. These will be listed here. The code will still be available in the source, but may not compile or build without work.

  • /1.8.1 - For use with Cordova 1.8.1 - Depreciated 21st August 2013
  • /2.0.0 - For use with Cordova 2.0.0 - Depreciated 21st August 2013

Change Log

Further Information

Further information on the plugin can be found at:

The below is a tutorial to create your own Twitter service:

Please let me know your thoughts and comments.

Source Code

This repository uses jar files for the main logic. Due to the complexity of the code, I've found this is the easiest method to distribute it.

Should you be interested in the underlying source, it is available in this repository -> https://github.com/Red-Folder/Cordova-Plugin-BackgroundService-Source

Spread the love

If you find the Background Service Plugin useful then spread the love.

All the work I do on the Plugin is done in my spare time - time I would otherwise be spending taking my wife out for a nice meal or helping my lad find vinyl records (he's currently very much into The Smiths, Fleetwood Mac and Kate Bush).

The Plugin is free and will always remain free. I will continue to develop, maintain and distribute the Plugin under the MIT License.

https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=E64TCFQ3NLHZ8

Licence

The MIT License

Copyright (c) 2013 Red Folder Consultancy Ltd

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.