Device, method, and graphical user interface for starting application
AssigneeHuawei Technologies Co., Ltd.
InventorsXiaohan Chen, Yu Wang, Chen Dong, Fan Yang
Life of this patent
Estimating the term…
Abstract
A preset application or an application determined by an electronic device based on a preset rule is automatically started when it is detected that an electronic device is attached onto a vehicle magnetic suction bracket. Therefore, the electronic device can automatically respond to an operation of attaching the electronic device onto the vehicle magnetic suction bracket by a user.
Claims20
An electronic device, comprising:
- one or more processors;
- an accelerometer coupled to the one or more processors;
- a magnetometer coupled to the one or more processors;
- a memory coupled to the one or more processors, wherein the memory stores a plurality of application programs and a computer-executable instruction, wherein the one or more processors are configured to execute the computer-executable instruction to configure the electronic device to:
- obtain a first group of data detected by the accelerometer and a second group of data detected by the magnetometer;
- determine that the electronic device is attached onto a vehicle magnetic suction bracket based on a part or all of the first group of data detected by the accelerometer and based on a part or all of the second group of data detected by the magnetometer;
- and
- start at least one of the plurality of application programs that is a preset application or an application determined by the electronic device based on a preset rule.
A method, applied to an electronic device having an accelerometer and a magnetometer, wherein the method comprises:
- obtaining a first group of data detected by the accelerometer and a second group of data detected by the magnetometer;
- determining that the electronic device is attached onto a vehicle magnetic suction bracket based on a part or all of the first group of data and a part or all of the second group of data meeting a preset condition;
- and
- starting at least one application, wherein the at least one application is a preset application or an application determined by the electronic device based on a preset rule.
A non-transitory computer-readable storage medium for storing one or more programs, wherein the one or more programs comprise an instruction, and when the instruction is executed by an electronic device having an accelerometer and a magnetometer, the electronic device is configured to perform a method comprising:
- obtaining a first group of data detected by the accelerometer and a second group of data detected by the magnetometer;
- determining that the electronic device is attached onto a vehicle magnetic suction bracket based on a part or all of the first group of data and a part or all of the second group of data meeting a preset condition;
- and
- starting at least one application, wherein the at least one application is a preset application or an application determined by the electronic device based on a preset rule.
Dependencies are inferred from the claim text.