|
Replies:
5
-
Last Post:
Aug 14, 2008 4:16 AM
by: joergjahnke
|
|
|
|
|
|
|
Touchscreen, how to get started
Posted:
Jul 30, 2008 7:31 AM
|
|
|
|
|
Hi
This may seem like a real stupid question but I would like to know how to make a LWUIT application touchscreen ready WITHOUT having access to a touchscreen capable device. I would imagine that this can be tested using the emulator and mouse pointer, but I am not sure how to get started.
OR does one have to have access to a Touchscreen capable device to test this?
Thanx in advance
ICA [att1.html]
|
|
|
|
|
|
|
Re: Touchscreen, how to get started
Posted:
Jul 30, 2008 7:50 AM
in response to: Ivanhoe Abrahams
|
|
|
|
|
Hi, you can modify every device within the WTK/Sprint Toolkit to accept touch events by flipping a switch within the device properties file. If I am not mistaken the latest version of the Sprint Toolkit includes a Skin for Instinct.
Thanks.
> Hi > > This may seem like a real stupid question but I would like to know > how to make a LWUIT application touchscreen ready WITHOUT having > access to a touchscreen capable device. > I would imagine that this can be tested using the emulator and > mouse pointer, but I am not sure how to get started. > > OR does one have to have access to a Touchscreen capable device to > test this? > > Thanx in advance > > ICA
Shai Almog http://lwuit.blogspot.com/
[att1.html]
|
|
|
|
|
|
|
|
Re: Touchscreen, how to get started
Posted:
Jul 30, 2008 7:56 AM
in response to: Shai Almog
|
|
|
Microemulator also handles mouse as touch screen events. http://www.microemu.org/
On Wed, Jul 30, 2008 at 4:50 PM, Shai Almog <Shai.Almog@sun.com> wrote: > Hi, > you can modify every device within the WTK/Sprint Toolkit to accept touch > events by flipping a switch within the device properties file. If I am not > mistaken the latest version of the Sprint Toolkit includes a Skin for > Instinct. > Thanks. > > Hi > > This may seem like a real stupid question but I would like to know how to > make a LWUIT application touchscreen ready WITHOUT having access to a > touchscreen capable device. > I would imagine that this can be tested using the emulator and mouse > pointer, but I am not sure how to get started. > > OR does one have to have access to a Touchscreen capable device to test > this? > > Thanx in advance > > ICA > > Shai Almog > http://lwuit.blogspot.com/ >
-- http://www.somatik.be Microsoft gives you windows, Linux gives you the whole house.
--------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@lwuit.dev.java.net For additional commands, e-mail: users-help@lwuit.dev.java.net
|
|
|
|
|
|
|
|
Re: Touchscreen, how to get started
Posted:
Aug 14, 2008 12:20 AM
in response to: Ivanhoe Abrahams
|
|
|
Hi,
I hope it's OK to use this old thread for my question as it's related to the topic: How can my LWUIT application detect whether the device it's running on has a touchscreen or not? Using normal LCDUI classes, the Canvas class offers methods like hasPointerEvents, but I can't find a similar method in the LWUIT framework. Does such a method exist or is it at least planned to be added?
Thanks
|
|
|
|
|
|
|
|
Re: Touchscreen, how to get started
Posted:
Aug 14, 2008 12:20 AM
in response to: joergjahnke
|
|
|
|
|
Hi, isTouchScreenDevice will be present in Display with the next drop.
> Hi, > > I hope it's OK to use this old thread for my question as it's > related to the topic: How can my LWUIT application detect whether > the device it's running on has a touchscreen or not? Using normal > LCDUI classes, the Canvas class offers methods like > hasPointerEvents, but I can't find a similar method in the LWUIT > framework. Does such a method exist or is it at least planned to be > added? > > Thanks > [Message sent by forum member 'joergjahnke' (joergjahnke)] > > http://forums.java.net/jive/thread.jspa?messageID=293266 > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscribe@lwuit.dev.java.net > For additional commands, e-mail: users-help@lwuit.dev.java.net >
Shai Almog http://lwuit.blogspot.com/
[att1.html]
|
|
|
|
|
|
|
|
Re: Touchscreen, how to get started
Posted:
Aug 14, 2008 4:16 AM
in response to: Shai Almog
|
|
|
Thanks for the information.
|
|
|
|
|