Skip to content

Source for BackgroundService Plugin (see my Cordova-Plugin-BackgroundService repository)

Notifications You must be signed in to change notification settings

hcarsten/Cordova-Plugin-BackgroundService-Source

 
 

Repository files navigation

Source code for the Background Service Plugin for Cordova

This is the source code for my BackgroundService for use with Cordova.

Normally it will be easier for you to use the compiled versions, found at https://github.com/Red-Folder/Cordova-Plugin-BackgroundService

Using the code

I use the code within an Android Library. Copy the src & aidl folders into the root folder of your project.

Note that if you attempt to use this code directly within an application, you will be need to refer to additional files provided in https://github.com/Red-Folder/Cordova-Plugin-BackgroundService

Cordova Versions

Cordova versions provide different plugin architecture. To provide for this I have seperate wapper for each version. This is represented by the various BackgroundServicePlugin.vx.x.x.java files.

You will only want to include one of these in your project (delete the other versions) and then rename it to BackgroundServicePlugin.java.

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.

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.

About

Source for BackgroundService Plugin (see my Cordova-Plugin-BackgroundService repository)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published