Browse Prior Art Database

A method that automatically enhance web page upload form to import and open-in files within mobile native iOS applications

IP.com Disclosure Number: IPCOM000235013D
Publication Date: 2014-Feb-24
Document File: 2 page(s) / 571K

Publishing Venue

The IP.com Prior Art Database

Abstract

The method described in this paper provides a way to extend a web application hosted by an iOS native application to support documents open-in from an external application. This method relies on a technique that requires implementation only on the iOS hosting app without having to change the server side.

This text was extracted from a PDF file.
This is the abbreviated version, containing approximately 52% of the total text.

Page 01 of 2

A method that automatically enhance web page upload form to import and open - -in

in

files within mobile native iOS applications

In the existing iOS* platform there is no way to upload a local file (other than items from the device Gallery) via an "open-in" mechanism from an iOS* device into an existing Web Application that is hosted inside a native iOS* application.The method described in this paper extends a Web application hosted by an iOS* native application to support documents open-in (from an external application), creates the bridge between the hosting iOS* app and Web application by transferring the document data as a result of the open-in operation on the iOS* side and enables it for further usage by the target Web application. The method relies on a technique for adapting a Web-application to run on a Mobile device without changing server-side code comprising JavaScript** code injection of Mobile specific elements.

The methods includes the following steps:


1. Register the application in iOS* to open all types of files that needs to be supported.


2. When the application starts-up the JavaScript** infrastructure that will allow the upload files from outside the Web application is injected. The JavaScript** injected code can include optional UI elements that will ease the upload process, such as status bar, icons, cancel button, etc. as well as utility functions to handle the file transfer.


3. After the user chooses a file from an external application and selects to "open in" in the hosting app, a notification is received and the following steps are executed:

    3.1 Keep a handle to the local file on the device. The selected file from application "X" is located in that application's Sandbox.

    3.2 Create a JavaScript** data structure that contains meta-data about the selected fi...