Method and device for realizing accelerated sliding effect on java 2 micro edition (J2ME) platform
A platform and sliding speed technology, applied in the J2ME field, can solve the problems of inability to distinguish long-press and short-press operations, different responses, and inability to realize accelerated sliding, etc., to achieve a good touch operation experience.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0048] In order to make the object, technical solution and advantages of the present invention clearer, the present invention will be further described in detail below with reference to the accompanying drawings and examples.
[0049] The present invention mainly uses the defined callback event on the J2ME platform to sample the user's dragging operation on the touch screen as a sampling point by responding to a dragging event at a certain time interval as a sampling point, and obtains the sampling point Location information and time information. According to the relationship between the location information and time information of these sampling points, it is judged whether the user's operation is an accelerated slide. Drag speed, and decelerate the drag speed every certain time interval, and simulate the inertial sliding of accelerated sliding with multiple ordinary drag operations that gradually decelerate, so as to realize the touch effect of accelerated sliding.
[0050] ...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 