ICEmobile
  1. ICEmobile
  2. MOBI-129

C2DM notification should result in reloading page.

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.0 Beta
    • Fix Version/s: 1.0 Final
    • Component/s: None
    • Labels:
      None
    • Environment:
      ICEmobile/Android

      Description

      User response to a C2DM notification resumes the container activity, but does not cause a page reload to occur. This needs to happen to pick up any updates. Forcing a page reload on any onResume() is overkill, as not all resumes are associated with a page update. When resuming, either it is the result of a C2DM notification, or possibly an outstanding C2DM notification exists. These are the conditions under which a page should be reloaded.

        Activity

        Steve Maryka created issue -
        Hide
        Steve Maryka added a comment -

        When container onResume() is called, it now checks if there is an outstanding c2dm notification, and if one exists a page reload is performed, and the notification is cancelled.

        Show
        Steve Maryka added a comment - When container onResume() is called, it now checks if there is an outstanding c2dm notification, and if one exists a page reload is performed, and the notification is cancelled.
        Steve Maryka made changes -
        Field Original Value New Value
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #26825 Mon Dec 12 09:11:42 MST 2011 steve.maryka Mobi-129 Modified page reloading on C2DM notification, so that you do not loose artifacts returning from camera, camcorder or qr code scanning.
        Files Changed
        Commit graph MODIFY /icemobile/trunk/icemobile/client/android/container/src/org/icemobile/client/android/ICEmobileContainer.java
        Hide
        Steve Maryka added a comment -

        Minor modifications to the reload strategy were required. If using the camera, camcorder or qr code scanning, and get a C2DM then don't want to reload the page in onResume() because artifacts from camera will be lost.

        Show
        Steve Maryka added a comment - Minor modifications to the reload strategy were required. If using the camera, camcorder or qr code scanning, and get a C2DM then don't want to reload the page in onResume() because artifacts from camera will be lost.
        Steve Maryka made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

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

            Dates

            • Created:
              Updated:
              Resolved: