Method for rotating screen display direction of equipment through shaking equipment

A screen display and device technology, applied in the field of device screen display direction rotation, can solve problems such as inability to convert the screen direction, inability to fix the direction, and no fixed screen.

Active Publication Date: 2013-04-10
ZHUHAI KINGSOFT OFFICE SOFTWARE +1
View PDF6 Cites 26 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0008] The present invention has to solve two problems: 1. The user has fixed the screen in the system settings, and cannot conveniently and quickly change...

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

[0016] 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.

[0017] 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, through SensorManager.registerListener, register the monitoring of the acceleration sensor, ...

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 rotating a screen display direction of equipment through shaking the equipment. 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; 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 a current screen display direction and returning an acceleration great-change counter to zero after the current screen display direction is rotated; 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 mater what settings are made to a system direction by the user, the user can realize temporary screen rotating operation by shaking the equipment and can fix the screen so as to ensure that the screen is not converted frequently under the action of gravity.

Description

technical field [0001] The invention relates to a method for changing the screen display direction of a handheld device, in particular to a method for realizing the rotation of the screen display direction of the device by shaking the device in a program. Background technique [0002] At present, there are three screen display orientations of handheld devices (taking mobile phones as an example here), namely, fixed horizontal screen, fixed vertical screen, and automatic rotation of the screen according to the direction of gravity. The user can choose one of the methods through the menu setting of the mobile phone system, and this choice is for the mobile phone system. If the installed application does not customize the screen orientation, when the program is opened, the screen orientation will be set according to the system settings. [0003] At present, the main problem is: if the user fixes the mobile phone screen in the system settings, the screen cannot be rotated accor...

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
IPC IPC(8): G06F3/0487
Inventor 黄兰花王晖赵威
Owner ZHUHAI KINGSOFT OFFICE SOFTWARE
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products