File location application programming interface
First Claim
1. One or more computer-storage media with computer-executable instructions embodied thereon for performing a method of flexibly accessing a file structure for operations between an application virtual machine and a mobile device, the method comprising:
- receiving a request from the application virtual machine at the mobile device via an application program interface for a first set and a second set of file connection properties on the mobile device that are useable by the virtual machine to identify a storage location for storing a file, wherein the first set includes internal location properties on the mobile device that are configured to return values for one or more requested locations of internal storage on the mobile device and wherein the second set includes location properties on the mobile device that are configured to return values for one or more requested locations of external storage in communication with the mobile device, wherein the application program interface enables the application virtual machine to access the one or more internal and external storage locations;
identifying by the mobile device the storage location that is selected from at least two storage locations included in the first and second sets of file connection properties to instruct the application virtual machine where to store the file based on a current operation being executed by the application virtual machine and a file type associated with the file; and
indicating to the application virtual machine via the application program interface that the identified storage location is an internal storage location or an external storage location with a notification for a user of the mobile device.
6 Assignments
0 Petitions
Accused Products
Abstract
Media, methods and systems are provided for interfacing a mobile device to an application virtual machine via an application programming interface (API). A first set of file connection properties for one or more internal storage locations and a second set of file connection properties for one or more external storage locations are defined at a mobile device. The first and second sets of file connection properties define the file storage locations for a plurality of media types. Requests are received from the application virtual machine for the first and second sets of file connection properties. The application virtual machine identifies a current default storage area that can be selected from the one or more internal storage locations and the one or more external storage locations, and indicates whether the current default storage location is an internal storage location or an external storage location.
32 Citations
20 Claims
-
1. One or more computer-storage media with computer-executable instructions embodied thereon for performing a method of flexibly accessing a file structure for operations between an application virtual machine and a mobile device, the method comprising:
-
receiving a request from the application virtual machine at the mobile device via an application program interface for a first set and a second set of file connection properties on the mobile device that are useable by the virtual machine to identify a storage location for storing a file, wherein the first set includes internal location properties on the mobile device that are configured to return values for one or more requested locations of internal storage on the mobile device and wherein the second set includes location properties on the mobile device that are configured to return values for one or more requested locations of external storage in communication with the mobile device, wherein the application program interface enables the application virtual machine to access the one or more internal and external storage locations; identifying by the mobile device the storage location that is selected from at least two storage locations included in the first and second sets of file connection properties to instruct the application virtual machine where to store the file based on a current operation being executed by the application virtual machine and a file type associated with the file; and indicating to the application virtual machine via the application program interface that the identified storage location is an internal storage location or an external storage location with a notification for a user of the mobile device. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9)
-
-
10. A computer-implemented method for providing system properties for filepath identification from a mobile device to an application virtual machine via an application programming interface (API), the method comprising:
-
defining at the mobile device a first set of file connection properties for one or more internal storage locations, wherein the first set of file connection properties define the file storage locations for a plurality of media types; defining at the mobile device a second set of file connection properties for one or more external storage locations, wherein the second set of file connection properties define the file storage locations for a plurality of media types; and receiving a request from the application virtual machine via an application program interface for the first and second sets of file connection properties, the file connection properties being useable by the virtual machine to determine a storage location for a file, the application virtual machine identifying a current default storage location that can be selected from the one or more internal and external storage locations based on recent operations performed by application virtual machine and the media types of the file, and the application virtual machine indicating that the current default storage location is an internal storage location or an external storage location. - View Dependent Claims (11, 12, 13, 14, 15)
-
-
16. A system for interfacing application virtual machines in a consistent manner with a mobile device, the system comprising:
-
a mobile device including one or more data structures containing file connection properties for a plurality of internal storage locations and a plurality of external storage locations, the file connection properties being sub-divided based on one or more media types, and including an application-level synonymous directory that is updated with mobile-device-specific file connection properties for redirecting filepath identification to a predefined internal storage location regardless of the mobile-device-specific file connection properties; an application programming interface (API) that communicates file connection requests between the mobile device and one or more application virtual machines that use the file connection properties, the file connection properties informing the one or more application virtual machines of a location at which to store a file; and at least one application virtual machine that includes one or more components utilized to communicate requests and responses regarding the file connection properties to the mobile device via the API and to store a file based on the file connection properties. - View Dependent Claims (17, 18, 19, 20)
-
Specification