A method for rotating the display direction of the screen by shaking the device
A screen display and device technology, applied in the field of device screen display direction rotation, can solve the problems of no fixed screen, inability to fix the direction, inability to change the screen direction, etc.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Examples
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, ...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More - R&D
- Intellectual Property
- Life Sciences
- Materials
- Tech Scout
- Unparalleled Data Quality
- Higher Quality Content
- 60% Fewer Hallucinations
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2025 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com