Details

    • Type: Improvement Improvement
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: EE 1.3.1.GA_P01
    • Component/s: Containers
    • Labels:
      None
    • Environment:
      ICEmobile

      Description

      Geolocation requirements vary by application:
        1. a single approximate value when the page is loaded
        2. a current more accurate value when the user interacts
        3. a history of locations
        4. periodic update of current location at the server

      1. and 2. are currently supported with the mobi:geolocation component. 3. can be implemented as a background task with a batch upload of the geolocation history. 4. deviates from the web model since the periodic update may be expected to occur even if the web browser is not active on the device.

      However, some users may regard 4. as a privacy violation and be willing to provide location updates only when the web application is visible. This could be implemented with a periodic submit and the current mobi:geolocation component.

      To provide continuous background updates would be a container feature and require investigation on each mobile platform.
      1. geo.jsp
        0.1 kB
        Ted Goddard
      2. geospy.jsp
        5 kB
        Ted Goddard

        Activity

        Ted Goddard created issue -
        Hide
        Ted Goddard added a comment -

        Consider for ICEmobile 1.3.

        Show
        Ted Goddard added a comment - Consider for ICEmobile 1.3.
        Hide
        Steve Maryka added a comment -

        An initial prototype of a location service that can be accessed over cloud push mechanism has been developed. We must investigate if iOS and BB devices can provide a similar service.

        Show
        Steve Maryka added a comment - An initial prototype of a location service that can be accessed over cloud push mechanism has been developed. We must investigate if iOS and BB devices can provide a similar service.
        Steve Maryka made changes -
        Field Original Value New Value
        Assignee Steve Maryka [ steve.maryka ] Ted Goddard [ ted.goddard ]
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #34107 Wed Mar 27 15:07:27 MDT 2013 ted.goddard prototype offline geolocation (MOBI-657)
        Files Changed
        Commit graph MODIFY /icemobile/trunk/icemobile/client/ios/icemobile/ICEmobile-SX/ViewController.m
        Commit graph MODIFY /icemobile/trunk/icemobile/client/ios/icemobile/Shared/NativeInterface.m
        Commit graph MODIFY /icemobile/trunk/icemobile/client/ios/icemobile/Shared/NativeInterface.h
        Commit graph MODIFY /icemobile/trunk/icemobile/client/ios/icemobile/ICEmobile-SX/ICEmobile-SX-Info.plist
        Ted Goddard made changes -
        Attachment geo.jsp [ 15717 ]
        Attachment geospy.jsp [ 15718 ]
        Hide
        Ted Goddard added a comment -

        mobi-alert has been updated to accept location updates from ICEmobile-SX.

        Show
        Ted Goddard added a comment - mobi-alert has been updated to accept location updates from ICEmobile-SX.
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #34127 Thu Mar 28 13:31:17 MDT 2013 ted.goddard strategy choice between continuous and significant location updates (MOBI-657)
        Files Changed
        Commit graph MODIFY /icemobile/trunk/icemobile/client/ios/icemobile/Shared/NativeInterface.m
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #35648 Wed May 29 16:49:01 MDT 2013 ted.goddard button for launching geo tracking (MOBI-657)
        Files Changed
        Commit graph MODIFY /icemobile/trunk/icemobile/client/ios/icemobile/ICEmobile-SX/ViewController.m
        Commit graph ADD /icemobile/trunk/icemobile/client/ios/icemobile/ICEmobile-SX/geospy@2x.png
        Commit graph MODIFY /icemobile/trunk/icemobile/client/ios/icemobile/Shared/NativeInterface.m
        Commit graph MODIFY /icemobile/trunk/icemobile/client/ios/icemobile/ICEmobile-SX.xcodeproj/project.pbxproj
        Commit graph MODIFY /icemobile/trunk/icemobile/client/ios/icemobile/Shared/IceUtil.m
        Commit graph MODIFY /icemobile/trunk/icemobile/client/ios/icemobile/ICEmobile-SX/ViewController.h
        Commit graph ADD /icemobile/trunk/icemobile/client/ios/icemobile/ICEmobile-SX/geospy.png
        Commit graph MODIFY /icemobile/trunk/icemobile/client/ios/icemobile/ICEmobile-SX/en.lproj/ViewController_iPhone.xib
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #35919 Wed Jun 05 11:24:24 MDT 2013 ted.goddard geo and sms icons (MOBI-657)
        Files Changed
        Commit graph ADD /icemobile/trunk/icemobile/client/ios/icemobile/ICEmobile-SX/sms.png
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #35920 Wed Jun 05 11:24:48 MDT 2013 ted.goddard geo and sms icons (MOBI-657)
        Files Changed
        Commit graph ADD /icemobile/trunk/icemobile/client/ios/icemobile/ICEmobile-SX/sms@2x.png
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #35941 Wed Jun 05 14:43:15 MDT 2013 ted.goddard geospy and sms in multi-button layout (MOBI-657)
        Files Changed
        Commit graph MODIFY /icemobile/trunk/icemobile/client/ios/icemobile/ICEmobile-SX/ViewController.m
        Commit graph MODIFY /icemobile/trunk/icemobile/client/ios/icemobile/Shared/NativeInterface.m
        Commit graph MODIFY /icemobile/trunk/icemobile/client/ios/icemobile/ICEmobile-SX.xcodeproj/project.pbxproj
        Commit graph MODIFY /icemobile/trunk/icemobile/client/ios/icemobile/Shared/NativeInterface.h
        Commit graph MODIFY /icemobile/trunk/icemobile/client/ios/icemobile/ICEmobile-SX/en.lproj/ViewController_iPad.xib
        Commit graph MODIFY /icemobile/trunk/icemobile/client/ios/icemobile/ICEmobile-SX/ViewController.h
        Commit graph MODIFY /icemobile/trunk/icemobile/client/ios/icemobile/ICEmobile-SX/ICEmobile-SX-Info.plist
        Commit graph MODIFY /icemobile/trunk/icemobile/client/ios/icemobile/ICEmobile-SX/en.lproj/ViewController_iPhone.xib
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #36294 Wed Jun 19 10:58:27 MDT 2013 ted.goddard updated text and button icons (MOBI-657)
        Files Changed
        Commit graph MODIFY /icemobile/trunk/icemobile/client/ios/icemobile/ICEmobile-SX/en.lproj/ViewController_iPad.xib
        Commit graph MODIFY /icemobile/trunk/icemobile/client/ios/icemobile/ICEmobile-SX/en.lproj/ViewController_iPhone.xib
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #37342 Thu Aug 08 15:36:31 MDT 2013 ted.goddard ensure user prompt for allowing geolocation is displayed before returning to browser (MOBI-657)
        Files Changed
        Commit graph MODIFY /icemobile/trunk/icemobile/client/ios/icemobile/Shared/NativeInterface.m
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #37343 Thu Aug 08 15:39:33 MDT 2013 ted.goddard HTML5 test page for geospy continuous geolocation (MOBI-657)
        Files Changed
        Commit graph MODIFY /icemobile/trunk/icemobile/samples/jsp/icemobilespring/src/main/java/org/icemobile/samples/spring/controllers/GeolocationController.java
        Commit graph ADD /icemobile/trunk/icemobile/samples/jsp/icemobilespring/src/main/webapp/resources/geospy.html
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #37349 Thu Aug 08 16:48:47 MDT 2013 ted.goddard push feature for background geolocation (MOBI-657)
        Files Changed
        Commit graph MODIFY /icemobile/trunk/icemobile/samples/jsp/icemobilespring/src/main/java/org/icemobile/samples/spring/controllers/GeolocationController.java
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #37856 Wed Sep 11 16:21:38 MDT 2013 ted.goddard accurate button depressed state for geospy (MOBI-657)
        Files Changed
        Commit graph MODIFY /icemobile/trunk/icemobile/client/ios/icemobile/ICEmobile-SX/ViewController.m
        Commit graph MODIFY /icemobile/trunk/icemobile/client/ios/icemobile/ICEmobile-SX/AppDelegate.m
        Commit graph MODIFY /icemobile/trunk/icemobile/client/ios/icemobile/Shared/NativeInterface.m
        Commit graph MODIFY /icemobile/trunk/icemobile/client/ios/icemobile/Shared/NativeInterface.h
        Commit graph MODIFY /icemobile/trunk/icemobile/client/ios/icemobile/ICEmobile-SX/ViewController.h
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #38033 Mon Sep 16 12:49:45 MDT 2013 steve.maryka mobi-657: added support for geospy in android bridgeit.
        Files Changed
        Commit graph ADD /icemobile/trunk/icemobile/client/android/integration/location/src/org/icemobile/client/android/location
        Commit graph ADD /icemobile/trunk/icemobile/client/android/integration/location/res/values/strings.xml
        Commit graph ADD /icemobile/trunk/icemobile/client/android/integration/location/res
        Commit graph ADD /icemobile/trunk/icemobile/client/android/integration/location/src/org/icemobile/client/android
        Commit graph ADD /icemobile/trunk/icemobile/client/android/integration/location/res/layout
        Commit graph MODIFY /icemobile/trunk/icemobile/client/android/sxcore/src/org/icemobile/client/android/sxcore/SxCore.java
        Commit graph ADD /icemobile/trunk/icemobile/client/android/integration/location/build.xml
        Commit graph ADD /icemobile/trunk/icemobile/client/android/integration/location/proguard-project.txt
        Commit graph ADD /icemobile/trunk/icemobile/client/android/integration/location/AndroidManifest.xml
        Commit graph ADD /icemobile/trunk/icemobile/client/android/integration/location/res/values
        Commit graph ADD /icemobile/trunk/icemobile/client/android/integration/location/res/layout/main.xml
        Commit graph ADD /icemobile/trunk/icemobile/client/android/integration/location
        Commit graph ADD /icemobile/trunk/icemobile/client/android/integration/location/src/org/icemobile/client
        Commit graph ADD /icemobile/trunk/icemobile/client/android/bridgeit/res/drawable-mdpi/background.png
        Commit graph ADD /icemobile/trunk/icemobile/client/android/bridgeit/res/drawable-ldpi/background.png
        Commit graph ADD /icemobile/trunk/icemobile/client/android/integration/location/src/org
        Commit graph ADD /icemobile/trunk/icemobile/client/android/integration/location/ant.properties
        Commit graph ADD /icemobile/trunk/icemobile/client/android/integration/location/libs
        Commit graph ADD /icemobile/trunk/icemobile/client/android/integration/location/src/org/icemobile
        Commit graph ADD /icemobile/trunk/icemobile/client/android/integration/location/local.properties
        Commit graph ADD /icemobile/trunk/icemobile/client/android/integration/location/src
        Commit graph ADD /icemobile/trunk/icemobile/client/android/integration/location/src/org/icemobile/client/android/location/LocationService.java
        Commit graph ADD /icemobile/trunk/icemobile/client/android/integration/location/project.properties
        Hide
        Steve Maryka added a comment -

        Initial support for geospy has been added to android support, and checked in at svn 38033.

        It supports parameter strategy=significant|continuous|stop.

        For android these translate to:

        significant = low accuracy, continuous, delta t = 1min, delta d = 100m
        continuous = high accuracy, continuous, delta t = 15sec, delta d = 25m

        These settings are somewhat arbitrary and should be configurable from the application level.

        Show
        Steve Maryka added a comment - Initial support for geospy has been added to android support, and checked in at svn 38033. It supports parameter strategy=significant|continuous|stop. For android these translate to: significant = low accuracy, continuous, delta t = 1min, delta d = 100m continuous = high accuracy, continuous, delta t = 15sec, delta d = 25m These settings are somewhat arbitrary and should be configurable from the application level.
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #38270 Tue Sep 24 12:03:56 MDT 2013 ted.goddard duration and properties for geospy (MOBI-657)
        Files Changed
        Commit graph MODIFY /icemobile/trunk/icemobile/client/ios/icemobile/Shared/NativeInterface.m
        Commit graph MODIFY /icemobile/trunk/icemobile/client/ios/icemobile/Shared/NativeInterface.h
        Hide
        Ted Goddard added a comment -

        geoSpy on iOS now supports properties and duration:

        <a id="track" type="button" class="whiteButton bridgeItBtn" onclick="bridgeit.geoSpy('tracker','handleSpy', {postURL: window.serviceHub + '/geospy', parameters: {strategy:'significant',duration:1,_jguid:jguid}});">Start Tracking</a>

        Property names starting with _ will be added to the geoJSON POST with the _ removed. duration is specified in floating point hours.

        Show
        Ted Goddard added a comment - geoSpy on iOS now supports properties and duration: <a id="track" type="button" class="whiteButton bridgeItBtn" onclick="bridgeit.geoSpy('tracker','handleSpy', {postURL: window.serviceHub + '/geospy', parameters: {strategy:'significant',duration:1,_jguid:jguid}});">Start Tracking</a> Property names starting with _ will be added to the geoJSON POST with the _ removed. duration is specified in floating point hours.
        Ted Goddard made changes -
        Assignee Ted Goddard [ ted.goddard ] Steve Maryka [ steve.maryka ]
        Hide
        Ted Goddard added a comment -

        geoJSON properties is a useful feature since the location service will not make use of sessions (but the properties can include a user ID).
        The current demo assigns a GUID (named jguid) in the browser and maintains it in local storage for persistence. The only requirement of the native implementation is to detect _property and set properties

        {property: value}

        in the JSON POST.

        Show
        Ted Goddard added a comment - geoJSON properties is a useful feature since the location service will not make use of sessions (but the properties can include a user ID). The current demo assigns a GUID (named jguid) in the browser and maintains it in local storage for persistence. The only requirement of the native implementation is to detect _property and set properties {property: value} in the JSON POST.
        Hide
        Steve Maryka added a comment -

        Android implementation of jguid and duration parameters complete. svn 38293.

        Show
        Steve Maryka added a comment - Android implementation of jguid and duration parameters complete. svn 38293.
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #38293 Thu Sep 26 12:39:05 MDT 2013 steve.maryka Mobi-657: jguid and duration parameters now support for geospy.
        Files Changed
        Commit graph MODIFY /icemobile/trunk/icemobile/client/android/sxcore/src/org/icemobile/client/android/sxcore/SxCore.java
        Commit graph MODIFY /icemobile/trunk/icemobile/client/android/integration/location/src/org/icemobile/client/android/location/LocationService.java
        Hide
        Steve Maryka added a comment -

        With the continuous nature of geospy, it will typically outlive the dispatch cycle of BridgeIt. This adds complications if multiple applications are attempting to use the feature at the same time, and with different configuration. BridgeIt need to be able to service multiple independent web apps. The initial plan is to support independent geospy services keyed on upload URL.

        Show
        Steve Maryka added a comment - With the continuous nature of geospy, it will typically outlive the dispatch cycle of BridgeIt. This adds complications if multiple applications are attempting to use the feature at the same time, and with different configuration. BridgeIt need to be able to service multiple independent web apps. The initial plan is to support independent geospy services keyed on upload URL.
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #38336 Wed Oct 02 10:42:25 MDT 2013 ted.goddard do not return to browser unless geolocation authorization granted or denied (MOBI-657)
        Files Changed
        Commit graph MODIFY /icemobile/trunk/icemobile/client/ios/icemobile/Shared/NativeInterface.m
        Hide
        Steve Maryka added a comment - - edited

        svn 38542: Android geospy support now uses independent location listeners based on upload URL. This means a single BridgeIt instance can support multiple web applications in parallel.

        Show
        Steve Maryka added a comment - - edited svn 38542: Android geospy support now uses independent location listeners based on upload URL. This means a single BridgeIt instance can support multiple web applications in parallel.
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #38542 Mon Oct 07 17:04:19 MDT 2013 steve.maryka Mobi-657: Geospy support in Android now supports multiple independant location monitors keyed on upload server.
        Files Changed
        Commit graph MODIFY /icemobile/trunk/icemobile/client/android/integration/util/src/org/icemobile/client/android/util/UtilInterface.java
        Commit graph MODIFY /icemobile/trunk/icemobile/client/android/integration/location/src/org/icemobile/client/android/location/LocationService.java
        Hide
        Ted Goddard added a comment - - edited

        This feature is now required by the mobi:geotrack component in ICEfaces so must be added to the Android implementation:

        • Property names starting with _ will be added to the geoJSON POST with the _ removed.
        Show
        Ted Goddard added a comment - - edited This feature is now required by the mobi:geotrack component in ICEfaces so must be added to the Android implementation: Property names starting with _ will be added to the geoJSON POST with the _ removed.
        Ted Goddard made changes -
        Fix Version/s BridgeIt 1.0.5 [ 11574 ]
        Hide
        Patrick Corless added a comment -

        Marking as resolved.

        Show
        Patrick Corless added a comment - Marking as resolved.
        Patrick Corless made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Patrick Corless made changes -
        Fix Version/s EE 1.3.1.GA_P01 [ 11670 ]
        Fix Version/s BridgeIt 1.0.5 [ 11574 ]

          People

          • Assignee:
            Steve Maryka
            Reporter:
            Ted Goddard
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: