Motorola A1200/ROKR E6 with touchscreen support please ?
4 posters
Page 1 of 1
Motorola A1200/ROKR E6 with touchscreen support please ?
Please add to support
Motorola A1200/ROKR E6 with touchscreen ?
240x320 (java full size)
keycode
up: -1
left: -3
right: -4
down: -2
fire: -5
volume up: -30
volume down: -31
touchscreen procedure with emulating pressing key for example
protected void _pointerPressedIIV(int x, int y)
{
int screenW = getWidth();
int screenH = getHeight();
if(y < screenH / 4)
{
if(x < screenW / 3)
KEYPRESSED(49);
else
if(x < (screenW / 3) * 2)
KEYPRESSED(50);
else
KEYPRESSED(51);
} else
if(y < (screenH / 4) * 2)
{
if(x < screenW / 3)
KEYPRESSED(52);
else
if(x < (screenW / 3) * 2)
KEYPRESSED(53);
else
KEYPRESSED(54);
} else
if(y < (screenH / 4) * 3)
{
if(x < screenW / 3)
KEYPRESSED(55);
else
if(x < (screenW / 3) * 2)
KEYPRESSED(56);
else
KEYPRESSED(57);
} else
if(x < screenW / 3)
KEYPRESSED(m_CodeToaI[0]);
else
if(x < (screenW / 3) * 2)
KEYPRESSED(48);
else
KEYPRESSED(m_CodeToaI[1]);
}
Motorola A1200/ROKR E6 with touchscreen ?
240x320 (java full size)
keycode
up: -1
left: -3
right: -4
down: -2
fire: -5
volume up: -30
volume down: -31
touchscreen procedure with emulating pressing key for example
protected void _pointerPressedIIV(int x, int y)
{
int screenW = getWidth();
int screenH = getHeight();
if(y < screenH / 4)
{
if(x < screenW / 3)
KEYPRESSED(49);
else
if(x < (screenW / 3) * 2)
KEYPRESSED(50);
else
KEYPRESSED(51);
} else
if(y < (screenH / 4) * 2)
{
if(x < screenW / 3)
KEYPRESSED(52);
else
if(x < (screenW / 3) * 2)
KEYPRESSED(53);
else
KEYPRESSED(54);
} else
if(y < (screenH / 4) * 3)
{
if(x < screenW / 3)
KEYPRESSED(55);
else
if(x < (screenW / 3) * 2)
KEYPRESSED(56);
else
KEYPRESSED(57);
} else
if(x < screenW / 3)
KEYPRESSED(m_CodeToaI[0]);
else
if(x < (screenW / 3) * 2)
KEYPRESSED(48);
else
KEYPRESSED(m_CodeToaI[1]);
}
Lubomyr- Number of posts : 1
Country : Ukraine, Lviv
Registration date : 2007-03-24
Re: Motorola A1200/ROKR E6 with touchscreen support please ?
give me more info, do u need a new keycodes to be sets?
fanxl666- Number of posts : 1
Country : China
Registration date : 2007-04-07
Re: Motorola A1200/ROKR E6 with touchscreen support please ?
I'm not sure that it is need. Just need to make touch-screen support because a1200/e6 don't have a hardware digits buttons. Key Codes it is available buttons for JVM (also JVM can't to open virtual keyboard - it possible in standart text fields)ThaPhoeniX wrote:give me more info, do u need a new keycodes to be sets?
La Noche Oscura- Number of posts : 2
Country : Russia
Registration date : 2008-09-14
Similar topics
» Motorola Rokr E2?
» I cant Install ver 4.2 in Motorola Rokr U9....
» Motorola L7
» Motorola KRZR K3...
» Problem with Motorola Razr V3i
» I cant Install ver 4.2 in Motorola Rokr U9....
» Motorola L7
» Motorola KRZR K3...
» Problem with Motorola Razr V3i
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum