Unlock instant, AI-driven research and patent intelligence for your innovation.

A method of turning the device screen display to the direction of gravity by shaking

A screen display and gravity direction technology, applied in the input/output process of data processing, instruments, electrical digital data processing, etc., can solve the problems of blocking the user's sight, occupying interface space, and functions that cannot be discovered by the user in time

Active Publication Date: 2015-09-09
ZHUHAI KINGSOFT OFFICE SOFTWARE +1
View PDF6 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] Now, the usual practice of application software is to provide buttons or menus to rotate the screen on the program interface, but this requires space on the interface, and it is possible that this function cannot be discovered by users in time because there are already many function buttons or menus.
[0004] Or, when the device is rotated, a button pops up at a conspicuous position on the screen to prompt the user to press it to turn the screen. This not only blocks the user's sight, but it may not be necessary for the user to turn the screen in all cases. Always popping up such a button will cause problems. intrusive to the user

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0014] In this specific embodiment, we take a smart phone using the Android system as an example for illustration, and the implementation of the present invention on smart phones using other operating systems is similar.

[0015] First, the present invention uses the acceleration sensor provided by the Android system to realize the determination of the user's "shake" action, and this determination can activate the change of the display direction of the mobile phone screen. Specifically, obtain the current device sensor-related service SensorManager by calling Activity.getSystemService(Context.SENSOR_SERVICE) of the Android system; then obtain the acceleration sensor on the device through getDefaultSensor(Sensor.TYPE_ACCELEROMETER) from the SensorManager, if it returns null, If the current device does not support the acceleration sensor, the shake function cannot be realized. Otherwise, register the monitoring of the acceleration sensor through SensorManager.registerListener, th...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention provides a method for turning the screen display of equipment to a gravity direction through shaking. The method comprises the steps of: acquiring a service related to a current equipment sensor by calling an operation system when a specific application program is accessed; judging whether the equipment comprises an acceleration sensor and a gravity sensor; acquiring data output by the acceleration sensor, and judging whether a user carries out an effective screen shaking action according to the acquired acceleration time and acceleration value; acquiring data output by the gravity sensor, comparing a gravity direction reported by the gravity sensor and a current screen display direction, and rotating the screen display to the gravity direction when the gravity direction and the current screen display direction are inconsistent; and when the program is quit or restarted, setting the screen display direction according to system setup or default configuration of the program per se. No matter what settings are made to a system direction by the user, the user can realize temporary gravity-oriented screen turning operation by shaking the equipment and can fix the screen so as to ensure that the requirement of the user is met.

Description

technical field [0001] The invention relates to a method for changing the screen display direction of a hand-held device, in particular to a method for realizing the rotation of the screen display of the device to the direction of gravity by shaking the device in a program. Background technique [0002] At present, mobile phones (or other mobile computing devices such as tablets) often have gravity sensing devices, so that these devices can sense the vertical rotation angle of the screen, and can automatically rotate the content displayed on the screen synchronously. This automatic rotation screen content setting is generally the factory setting of these devices. At the same time, device manufacturers have also noticed that sometimes users want the orientation of the screen to be fixed and not rotate in the direction detected by the gravity sensor. The reason is that most of the viewing habits of some users are fixed to a certain orientation to achieve some kind of convenie...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Patents(China)
IPC IPC(8): G06F3/0484G06F3/0346
Inventor 王晖黄兰花赵威
Owner ZHUHAI KINGSOFT OFFICE SOFTWARE