Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Method for realizing rotation of JAVA application programming interface (API) with rotation of screen

An application program interface and screen rotation technology, applied in the direction of user interface execution, program control design, program control device, etc., can solve the problem of no screen rotation event interface definition, unable to realize application program interface rotation, etc., to achieve complete user experience improvement Effect

Inactive Publication Date: 2011-06-29
HUIZHOU TCL MOBILE COMM CO LTD
View PDF3 Cites 25 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] The purpose of the present invention is to provide a method for the JAVA application program interface to follow the rotation when the screen rotates, aiming to solve the problem that the JAVA application program in the existing mobile device cannot be realized because there is no interface definition for the screen rotation event in the JAVA specification The problem that its application interface rotates with the screen rotation

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

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method for realizing rotation of JAVA application programming interface (API) with rotation of screen
  • Method for realizing rotation of JAVA application programming interface (API) with rotation of screen
  • Method for realizing rotation of JAVA application programming interface (API) with rotation of screen

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0021] In order to make the object, technical solution and advantages of the present invention more clear and definite, the present invention will be further described in detail below with reference to the accompanying drawings and examples.

[0022] Such as figure 1 Shown, JAVA technology is a cross-platform software technology. The JAVA application program (MIDlet) conforming to the J2ME specification can run on different hardware devices after simple adjustment and adaptation (even without adjustment at all), regardless of the processor and operating system details of the hardware device platform.

[0023] The cross-platform feature of JAVA itself depends on its abstract application running environment, that is, the JAVA virtual machine. The core part of the function that implements the JAVA virtual machine is usually called the JAVA kernel (Core), or simply called the JVM.

[0024] When different JAVA applications run on the same hardware device, they need to manage thei...

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 discloses a method for realizing rotation of a JAVA application programming interface (API) with the rotation of a screen. The method comprises the steps as follows: a processor detects that the state of mobile equipment is changed to trigger the screen to rotate; a bottom-layer application program sends a screen rotation event to a platform application layer; the platform application layer controls a local application program to rotate with the rotation of a display interface, and then sends the screen rotation event to a JAVA kernel through a JAVA adaptation layer; the JAVA kernel modifies screen size parameters; the JAVA core calls the screen size of the mobile equipment of the JAVA application program to modify an interface; and the JAVA application program reads new screen size parameters in altering functions of the screen size of the mobile equipment, and refreshes interface display in accordance with the new screen size parameters. By means of the method, the JAVA API can rotate with the rotation of the screen of the mobile equipment by using the minimum development working capacity, so that the mobile equipment with the rotatable screen realizes more complete promotion of user experience.

Description

technical field [0001] The invention relates to the application field of mobile devices, in particular to a method for following the rotation of a JAVA application program interface when the screen rotates. Background technique [0002] In order to provide a richer user experience and adapt to different usage habits, more and more mobile devices support screen rotation, such as triggered by sliding cover or G-sensor or other methods, so that users can switch to horizontal screen at any time according to their preferences display or vertical display. [0003] When the screen rotation is triggered, the local application program developed in the operating platform language in the mobile device can directly receive the trigger event, so as to realize the follow-up rotation of its application program interface, but the JAVA application program in the mobile device, due to the JAVA specification There is no interface definition for screen rotation events. Most JAVA applications a...

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/048G06F9/44
CPCG06F2200/1637G06F1/1694G06F2200/1614G06F1/1601G06F9/4443G06F9/451
Inventor 杨彬
Owner HUIZHOU TCL MOBILE COMM CO LTD
Features
  • Generate Ideas
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More