Skip to content

Commit

Permalink
Updated versions
Browse files Browse the repository at this point in the history
  • Loading branch information
dsmith committed Jun 30, 2010
1 parent bfd3ace commit e8bf0eb
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 5 deletions.
11 changes: 10 additions & 1 deletion README.markdown
@@ -1,4 +1,4 @@
SGClient v0.1.0
SGClient v0.1.1
================================================================================

ABSTRACT:
Expand Down Expand Up @@ -28,6 +28,15 @@ Running the unit tests can only be done from Eclipse at the moment.

CHANGES FROM PREVIOUS VERSIONS:
--------------------------------------------------------------------------------
Version 0.1.1
* Created a LocationService class that will register itself with location providers. This allows
the SimpleGeo LocationService to provide a wrapper around location updates
* Callback notifications that announce when the device moves in and out of different regions
based on the SimpleGeo's PushPin service
* When a location notification is received, IRecords can now be updated automatically by
pre-registering the objects with the LocationService.

Version 0.1.0
* Initial commit

### Copyright (C) 2010 SimpleGeo Inc. All rights reserved.
2 changes: 1 addition & 1 deletion build.xml
Expand Up @@ -29,7 +29,7 @@
<property name="simplegeo.java.client" value="${basedir}/simplegeo-java-client" />
<property name="dist.dir" value="${basedir}/dist" />
<property name="java.doc.dir" value="${dist.dir}/javadoc" />
<property name="version" value="0.1.0" />
<property name="version" value="0.1.1" />
<property name="final.name" value="simplegeo-android-client-${version}" />

<path id="android.simplegeo.classpath">
Expand Down
11 changes: 8 additions & 3 deletions src/com/simplegeo/android/service/LocationService.java
Expand Up @@ -61,8 +61,14 @@
import com.simplegeo.client.model.Region;

/**
* @author dsmith
*
* A local location Service that registers itself with location providers
* in order to receive location updates. This allows the service to do automatic
* updates for pre-registered records whenever the device's location is updated.
*
* Another strong feature of the LocationService is its ability to notify
* {@link com.simplegeo.android.service.ILocationHandler}s when a new location
* is contained with a different region set. A region set is defined by SimpleGeo's
* PushPin service @see {@link com.simplegeo.client.SimpleGeoClient#contains(double, double)}.
*/
public class LocationService extends Service implements LocationListener {

Expand All @@ -82,7 +88,6 @@ public class LocationService extends Service implements LocationListener {
public static final float DEFAULT_DISTANCE = 10.0f;
private float minDistance;


/**
* When a location notification is received, records can either be updated on the spot
* or cached for a later time. Set this value to true if you wish to enable cacheing.
Expand Down

0 comments on commit e8bf0eb

Please sign in to comment.