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

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 between long-press and short-press operations, insufficient touch operation support, and inability to respond differently, so as to achieve a good touch operation experience.

Active Publication Date: 2014-09-03
TENCENT TECH (SHENZHEN) CO LTD
View PDF3 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] It is precisely because the existing J2ME platform has insufficient support for touch operations that the existing J2ME platform cannot sense the acceleration of the user's drag operation on the touch screen, and cannot determine whether the user is performing a normal drag operation or an accelerated drag operation. operation, it is impossible to achieve a touch effect similar to the accelerated sliding in the Android platform and the iPhone system
In addition, the J2ME platform cannot distinguish between long press and short press operations at present, and cannot respond differently to long press and short press

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 and device for realizing accelerated sliding effect on java 2 micro edition (J2ME) platform
  • Method and device for realizing accelerated sliding effect on java 2 micro edition (J2ME) platform
  • Method and device for realizing accelerated sliding effect on java 2 micro edition (J2ME) platform

Examples

Experimental program
Comparison scheme
Effect test

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

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 an accelerated sliding effect on a java 2 micro edition (J2ME) platform, which comprises the following steps that: drawing operation of a user is sampled according to a preset sampling time interval to obtain position information and time information of a sampling point; if the drawing operation of the user is judged to be accelerated sliding according to the position information, a sliding speed when the user releases a touch screen is calculated according to the position information and the time information; a preset accelerated drawing event is responded every for a preset responding time interval after the user releases the touch screen, an operated interface is slowed down once at every time of the accelerated drawing event, so the sliding of the operated interface is gradually stopped at a calculated sliding speed. The invention also discloses a device for realizing the accelerated sliding on the J2ME platform. Due to the adoption of the method and the device, the accelerated sliding effect which cannot be realized by the present J2ME platform can be realized.

Description

technical field [0001] The invention relates to the technical field of J2ME, in particular to a method and a device for realizing the accelerated sliding effect on the J2ME platform. Background technique [0002] Because of its simplicity and convenience, touch screen operation has become the main research direction of mobile phone operation in the future. At present, touch screen mobile phones using Android platform and iPhone mobile phones have realized the effect of accelerated sliding. [0003] The so-called accelerated sliding means that the user does not release the touch screen after pressing it, but slides on the touch screen for a certain distance with a certain acceleration and then releases it. At this time, the touch screen responds to this operation, so that the interface follows the user's sliding operation. Accelerate the sliding, and simulate the inertia phenomenon after the user releases the touch screen, so that the interface continues to slide for a certai...

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/041
Inventor 林声炜罗根黄良明
Owner TENCENT TECH (SHENZHEN) CO LTD