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

        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.
        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.

          People

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

            Dates

            • Created:
              Updated:
              Resolved: