Skip to content

ulizama/Ti.Geo.Background

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ti.Geo.Background

The goal of Ti.Geo.Background is to make performing background geo location easy. By combining both time (ping) and distance filters Ti.Geo.Background ensures a consistent stream of coordinates accounting for a majority of usage scenarios.

Before you start

iOS Before starting with iOS you need to make sure that the UIBackgroundMode for location has been added to your tiapp.xml. Below shows the snippet that needs to be added into your configuration node.

    <key>UIBackgroundModes</key>
    <array>
        <string>location</string>
    </array> 

Android Before starting with Android you need to make sure that the following service is added to your tiapp.xml. Below shows a snippet demonstrating the service record that is needed.

	<android xmlns:android="http://schemas.android.com/apk/res/android">
        <manifest android:installLocation="auto">
            <supports-screens android:anyDensity="false"
                android:largeScreens="true" android:normalScreens="true" android:smallScreens="false"/>
        </manifest>		
	    <services>
	        <service url="bGeo/Ti.Geo.Timer.js" type="interval"/>
	    </services>
	</android>

How To Example

The aim of Ti.Geo.Background is to simply collect coordinates in the background. Because of this, testing on your device is highly recommended. For an example demonstrating how to use Ti.Geo.Background and all of it's configurations please review the included app.js file.

Licensing & Support

This project is licensed under the OSI approved Apache Public License (version 2). For details please see the license associated with each project.

Developed by Ben Bahrenburg available on twitter @benCoding

Learn More

Twitter

Please consider following the @benCoding Twitter for updates and more about Titanium.

Blog

For module updates, Titanium tutorials and more please check out my blog at benCoding.Com.

About

Titanium Background Geo Location

Resources

License

Unknown, Unknown licenses found

Licenses found

Unknown
LICENSE
Unknown
LICENSE.txt

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%