ICEmobile
  1. ICEmobile
  2. MOBI-737

GPS does not get cancelled in icemobilespring geolocation example

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.2 Final
    • Fix Version/s: 1.3 Final
    • Component/s: Applications
    • Labels:
      None
    • Environment:
      icemobilespring geolocation

      Description

      If high precision is turned on for geolocation, it does not get cancelled when navigating away from the page, so the GPS remains on. Unlike JSF, where we can detect the navigation and cancel the position watch, the Spring MVC provides no such facility so it needs to be handled at the application level.

        Activity

        Steve Maryka created issue -
        Steve Maryka made changes -
        Field Original Value New Value
        Fix Version/s 1.3 Final [ 10873 ]
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #35026 Wed May 15 12:21:31 MDT 2013 philip.breau MOBI-737 - add clearWatch to links on geolocation page
        Files Changed
        Commit graph MODIFY /icemobile/trunk/icemobile/samples/icemobilespring/src/main/webapp/WEB-INF/views/inc/geolocation-content.jsp
        Commit graph MODIFY /icemobile/trunk/icemobile/samples/icemobilespring/src/main/webapp/WEB-INF/views/template.jsp
        Commit graph MODIFY /icemobile/trunk/icemobile/samples/icemobilespring/src/main/webapp/resources/icemobilespring.js
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #35083 Wed May 15 13:47:08 MDT 2013 philip.breau MOBI-737 - add clearWatch to links on geolocation page
        Files Changed
        Commit graph MODIFY /icemobile/trunk/icemobile/samples/icemobilespring/src/main/webapp/resources/icemobilespring.js
        Hide
        Greg Dick added a comment -

        There is no facility for the framework detecting when we leave the page in Spring. I've implemented an application level timer to stop GPS after 2 minutes.

        Show
        Greg Dick added a comment - There is no facility for the framework detecting when we leave the page in Spring. I've implemented an application level timer to stop GPS after 2 minutes.
        Greg Dick made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]

          People

          • Assignee:
            Philip Breau
            Reporter:
            Steve Maryka
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: