Device location application programming interface
First Claim
1. A computer-implemented method for interfacing a mobile device and an application virtual machine in order to provide location information of the mobile device from a secondary source, the method comprising:
- providing location information supplied by a first source to the application virtual machine;
determining if the location information provided to the application virtual machine contains valid values for a location of the mobile device;
providing the location information to subsequent application virtual machines as needed when the location information contains valid values for the location of the mobile device; and
providing the location information from a secondary source when the location information received from the primary source is invalid, wherein a first set of values associated with the location information from the primary source and a second set of values associated with the location information from the secondary source are retrieved in a single request;
wherein the second set of values is retrieved without spawning a new processing thread.
6 Assignments
0 Petitions
Accused Products
Abstract
Media, methods and interfaces are provided for interfacing a mobile device and an application virtual machine to provide location information of the mobile device from a secondary source. When location information supplied by a first source to the application virtual machine contains invalid values for device location, a secondary source is utilized to provide the location information. No new processing thread is spawned for collection of back-up source configurations. Thus, interfaces initiate the first and second location determination methods in a single request. The power consumed by the mobile device to retrieve the device location information from a secondary source is reduced by the absence of additional configuration collection threads. Interfaces include a primary location component, a verification component, a backup location component, and a location update component.
12 Citations
18 Claims
-
1. A computer-implemented method for interfacing a mobile device and an application virtual machine in order to provide location information of the mobile device from a secondary source, the method comprising:
-
providing location information supplied by a first source to the application virtual machine; determining if the location information provided to the application virtual machine contains valid values for a location of the mobile device; providing the location information to subsequent application virtual machines as needed when the location information contains valid values for the location of the mobile device; and providing the location information from a secondary source when the location information received from the primary source is invalid, wherein a first set of values associated with the location information from the primary source and a second set of values associated with the location information from the secondary source are retrieved in a single request; wherein the second set of values is retrieved without spawning a new processing thread. - View Dependent Claims (2, 3, 4, 5, 6)
-
-
7. A hardware mobile device interface between location-detecting hardware sources of a mobile device and an application virtual machine, the mobile device interface comprising:
-
a primary location-determination module to provide location information for the mobile device from a primary source to an application virtual machine; a verification module to determine whether the location information from the primary source contains valid values for a location of the mobile device; and a secondary location-determination module to provide the location information from a secondary source when the location information from the primary source does not contain valid values for the location of the mobile device, wherein a first set of values associated with the location information from the primary source and a second set of values associated with the location information from the secondary source are retrieved in a single request;
wherein the second set of values is retrieved without spawning a new processing thread. - View Dependent Claims (8, 9, 10)
-
-
11. One or more computer-storage media having computer-executable instructions stored thereon, that when executed by a computing device, perform a method of interfacing a mobile device and an application virtual machine, the method comprising:
-
providing location information for the mobile device received from a primary source to the application virtual machine; determining whether the location information from the primary source contains valid values for a location of the mobile device; and providing the location information from a secondary source when the location information received from the primary source is invalid, wherein a first set of values associated with the location information from the primary source and a second set of values associated with the location information from the secondary source are retrieved in a single request; wherein the second set of values is retrieved without spawning a new processing thread. - View Dependent Claims (12, 13, 14, 15, 16, 17, 18)
-
Specification