ICEmobile
  1. ICEmobile
  2. MOBI-827

ICEmobile-SX protocol and API enhancements

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.3 Final
    • Fix Version/s: BridgeIt 1.0
    • Component/s: Containers
    • Labels:
      None
    • Environment:
      ICEmobile, ICEmobile-SX

      Description

      ICEmobile-SX is effectively a "helper application" and interacts with the browser via a custom URL scheme. Improvements to this scheme and an API will enhance the functionality of ICEmobile-SX/BridgeIt.

        Activity

        Hide
        Ted Goddard added a comment -

        The CloudPushId is now maintained in local storage so that it is preserved on a page reload. This should be considered for an ICEpush feature rather than being implemented in bridgeit.js.

        Show
        Ted Goddard added a comment - The CloudPushId is now maintained in local storage so that it is preserved on a page reload. This should be considered for an ICEpush feature rather than being implemented in bridgeit.js.
        Hide
        Steve Maryka added a comment -

        To support error code returns the URI syntax will be extended to include the following addition reserve words.

        !s=done|fail|wait
        !sd=status detail message

        It will be necessary for the JavaScript layer to process these additional parameters.

        Show
        Steve Maryka added a comment - To support error code returns the URI syntax will be extended to include the following addition reserve words. !s=done|fail|wait !sd=status detail message It will be necessary for the JavaScript layer to process these additional parameters.
        Hide
        Steve Maryka added a comment -

        Android now supports the return status !s= and !sd= parameters. svn 35848.

        Show
        Steve Maryka added a comment - Android now supports the return status !s= and !sd= parameters. svn 35848.
        Hide
        Ted Goddard added a comment - - edited

        Summary of current protocol parameters in the URL:

        Request from the browser to BridgeIt:

        c: command name with parameters
        u: URL to POST command data
        r: URL to return to in the browser
        p: parameters for POST to server
        o: options affecting overall request processing
        s: splash screen parameters
        h: echo value

        Response from BridgeIt to the browser:

        <id> : result of command associated with id
        !r: server response text
        !p: preview/thumbnail of captured content (data-url)
        !h: echo value of h request parameter
        !c: cloud push ID
        !s: status code
        !sd: status detail

        If request options contains enc=base64, the entire response URL should be encoded as #icemobilesx_<data> where <data> is in Base64 format with "." in place of "/" and "~" in place of "=".

        Show
        Ted Goddard added a comment - - edited Summary of current protocol parameters in the URL: Request from the browser to BridgeIt: c: command name with parameters u: URL to POST command data r: URL to return to in the browser p: parameters for POST to server o: options affecting overall request processing s: splash screen parameters h: echo value Response from BridgeIt to the browser: <id> : result of command associated with id !r: server response text !p: preview/thumbnail of captured content (data-url) !h: echo value of h request parameter !c: cloud push ID !s: status code !sd: status detail If request options contains enc=base64, the entire response URL should be encoded as #icemobilesx_<data> where <data> is in Base64 format with "." in place of "/" and "~" in place of "=".
        Hide
        Ted Goddard added a comment -

        Enhancements are complete.

        Show
        Ted Goddard added a comment - Enhancements are complete.

          People

          • Assignee:
            Ted Goddard
            Reporter:
            Ted Goddard
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: