Skip to main content

Nokia 5800 (S60 5th) Touch problem.

8 replies [Last post]
anc623
Offline
Joined: 2008-08-07
Points: 0

We are starting up a project for Nokia 5800. I have tried LWUITDemo in the S60 5th emulator. I have found the following issues:
1. the scroll bar is too thin to use finger to focus
2. the scroll bar is not draggable in the touch mode, only up and down key can move it.
3. Long list can not move up or down in dragging way by finger.

any advise? thanks!

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
anc623
Offline
Joined: 2008-08-07
Points: 0

> We scroll through the center of the screen similarly
> to most modern
> touch devices.
> If you want to make the scrollbar thicker you can
> either play with
> its padding (using the resource editor or code), or
> make a custom
> scrollbar such as this:
> http://lwuit.blogspot.com/2008/08/pimp-my-lwuit-part-6
> -glasspane.html

It's a very good solution. Will happy to use it.

> You need to drag in the opposite direction.

True. every with scroll of gravity. Really cool!

Thanks Shai! Really good work for touch support! Looking forward to seeing many more project to use LWUIT!

saturon

I looked at the glasspane demo, and would like to test it on a few
nokias and siemen phones i have here. Is there any chance you would
release the missing classes in this demo ?

RadialGradientPainter
LinearGradientPainter
DropShadowRoundedBorderLinearGradient

Rgds Ben

-----Original Message-----
From: Shai.Almog@Sun.COM [mailto:Shai.Almog@Sun.COM]
Sent: Dienstag, 21. Oktober 2008 20:47
To: users@lwuit.dev.java.net
Subject: Re: Nokia 5800 (S60 5th) Touch problem.

We are starting up a project for Nokia 5800. I have tried LWUITDemo in
the S60 5th emulator. I have found the following issues:
1. the scroll bar is too thin to use finger to focus

We scroll through the center of the screen similarly to most modern
touch devices.
If you want to make the scrollbar thicker you can either play with its
padding (using the resource editor or code), or make a custom scrollbar
such as this:
http://lwuit.blogspot.com/2008/08/pimp-my-lwuit-part-6-glasspane.html

2. the scroll bar is not draggable in the touch mode, only up and down
key can move it.

You need to drag in the opposite direction.

3. Long list can not move up or down in dragging way by finger.

You need to drag in the opposite direction.

any advise? thanks!
[Message sent by forum member 'anc623' (anc623)]

http://forums.java.net/jive/thread.jspa?messageID=311104

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

Shai Almog

This is related to the blog and unrelated to LWUIT.
Its all there and locatable with the blogs search feature:
http://lwuit.blogspot.com/2008/07/pimp-my-lwuit-part-1-gradient-
galore.html

>
> -----Original Message-----
> From: Shai.Almog@Sun.COM [mailto:Shai.Almog@Sun.COM]
> Sent: Dienstag, 21. Oktober 2008 20:47
> To: users@lwuit.dev.java.net
> Subject: Re: Nokia 5800 (S60 5th) Touch problem.
>
>
> We are starting up a project for Nokia 5800. I have tried LWUITDemo
> in the S60 5th emulator. I have found the following issues:
> 1. the scroll bar is too thin to use finger to focus
>
> We scroll through the center of the screen similarly to most modern
> touch devices.
> If you want to make the scrollbar thicker you can either play with
> its padding (using the resource editor or code), or make a custom
> scrollbar such as this:
> http://lwuit.blogspot.com/2008/08/pimp-my-lwuit-part-6-glasspane.html
>
> 2. the scroll bar is not draggable in the touch mode, only up and
> down key can move it.
>
> You need to drag in the opposite direction.
>
> 3. Long list can not move up or down in dragging way by finger.
>
> You need to drag in the opposite direction.
>
>
> any advise? thanks!
> [Message sent by forum member 'anc623' (anc623)]
>
> http://forums.java.net/jive/thread.jspa?messageID=311104
>
> ---------------------------------------------------------------------
> 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/

Shai Almog
http://lwuit.blogspot.com/

[att1.html]

Shai Almog

> We are starting up a project for Nokia 5800. I have tried LWUITDemo
> in the S60 5th emulator. I have found the following issues:
> 1. the scroll bar is too thin to use finger to focus

We scroll through the center of the screen similarly to most modern
touch devices.
If you want to make the scrollbar thicker you can either play with
its padding (using the resource editor or code), or make a custom
scrollbar such as this:
http://lwuit.blogspot.com/2008/08/pimp-my-lwuit-part-6-glasspane.html

> 2. the scroll bar is not draggable in the touch mode, only up and
> down key can move it.

You need to drag in the opposite direction.

> 3. Long list can not move up or down in dragging way by finger.

You need to drag in the opposite direction.

>
> any advise? thanks!
> [Message sent by forum member 'anc623' (anc623)]
>
> http://forums.java.net/jive/thread.jspa?messageID=311104
>
> ---------------------------------------------------------------------
> 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]

Stephan Bardubitzki

> If you want to make the scrollbar thicker you can either play with its
> padding (using the resource editor or code)

How can I set Scroll.padding for a specific component?

Regards,
Stephan

Shai Almog wrote:
>
>
>> We are starting up a project for Nokia 5800. I have tried LWUITDemo
>> in the S60 5th emulator. I have found the following issues:
>> 1. the scroll bar is too thin to use finger to focus
>
> We scroll through the center of the screen similarly to most modern
> touch devices.
> If you want to make the scrollbar thicker you can either play with its
> padding (using the resource editor or code), or make a custom
> scrollbar such as this:
> http://lwuit.blogspot.com/2008/08/pimp-my-lwuit-part-6-glasspane.html
>
>> 2. the scroll bar is not draggable in the touch mode, only up and
>> down key can move it.
>
> You need to drag in the opposite direction.
>
>> 3. Long list can not move up or down in dragging way by finger.
>
> You need to drag in the opposite direction.
>
>>
>> any advise? thanks!
>> [Message sent by forum member 'anc623' (anc623)]
>>
>> http://forums.java.net/jive/thread.jspa?messageID=311104
>>
>> ---------------------------------------------------------------------
>> 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/
>
> --------------------------------
>
>
> Spam/Virus scanning by CanIt Pro
>
> For more information see http://www.kgbinternet.com/SpamFilter.htm
>
> To control your spam filter, log in at http://filter.kgbinternet.com
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@lwuit.dev.java.net
For additional commands, e-mail: users-help@lwuit.dev.java.net

Shai Almog

>> If you want to make the scrollbar thicker you can either play with
>> its padding (using the resource editor or code)
>
> How can I set Scroll.padding for a specific component?

The current look and feel treats this globally and never stores the
Style so it can't be manipulated. The only way to do something like
that is to draw the scroll yourself which you can do like this:
http://lwuit.blogspot.com/2008/08/pimp-my-lwuit-part-6-glasspane.html
Or from within the component itself.

> Regards,
> Stephan
>
>
> Shai Almog wrote:
>>
>>
>>> We are starting up a project for Nokia 5800. I have tried
>>> LWUITDemo in the S60 5th emulator. I have found the following
>>> issues:
>>> 1. the scroll bar is too thin to use finger to focus
>>
>> We scroll through the center of the screen similarly to most
>> modern touch devices. If you want to make the scrollbar thicker
>> you can either play with its padding (using the resource editor or
>> code), or make a custom scrollbar such as this:
>> http://lwuit.blogspot.com/2008/08/pimp-my-lwuit-part-6-glasspane.html
>>> 2. the scroll bar is not draggable in the touch mode, only up and
>>> down key can move it.
>>
>> You need to drag in the opposite direction.
>>> 3. Long list can not move up or down in dragging way by finger.
>>
>> You need to drag in the opposite direction.
>>>
>>> any advise? thanks!
>>> [Message sent by forum member 'anc623' (anc623)]
>>>
>>> http://forums.java.net/jive/thread.jspa?messageID=311104
>>>
>>> --------------------------------------------------------------------
>>> -
>>> 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/
>>
>> --------------------------------
>>
>>
>> Spam/Virus scanning by CanIt Pro
>>
>> For more information see http://www.kgbinternet.com/SpamFilter.htm
>>
>> To control your spam filter, log in at http://filter.kgbinternet.com
>>
>
>
> ---------------------------------------------------------------------
> 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]

Stephan Bardubitzki

> The current look and feel treats this globally and never stores the
> Style so it can't be manipulated
In general this should be okay, but it appears that the scroll hight in
scrollableX mode differs from the scroll width in scrollableY mode. So
in my use case the scroll hight takes too much off the component hight,
which isn't very large by its own.(see attached screenshot).

Shai Almog wrote:
>>> If you want to make the scrollbar thicker you can either play with
>>> its padding (using the resource editor or code)
>>
>> How can I set Scroll.padding for a specific component?
>
> The current look and feel treats this globally and never stores the
> Style so it can't be manipulated. The only way to do something like
> that is to draw the scroll yourself which you can do like
> this: http://lwuit.blogspot.com/2008/08/pimp-my-lwuit-part-6-glasspane.html
> Or from within the component itself.
>
>> Regards,
>> Stephan
>>
>>
>> Shai Almog wrote:
>>>
>>>
>>>> We are starting up a project for Nokia 5800. I have tried LWUITDemo
>>>> in the S60 5th emulator. I have found the following issues:
>>>> 1. the scroll bar is too thin to use finger to focus
>>>
>>> We scroll through the center of the screen similarly to most modern
>>> touch devices. If you want to make the scrollbar thicker you can
>>> either play with its padding (using the resource editor or code), or
>>> make a custom scrollbar such as this:
>>> http://lwuit.blogspot.com/2008/08/pimp-my-lwuit-part-6-glasspane.html
>>>> 2. the scroll bar is not draggable in the touch mode, only up and
>>>> down key can move it.
>>>
>>> You need to drag in the opposite direction.
>>>> 3. Long list can not move up or down in dragging way by finger.
>>>
>>> You need to drag in the opposite direction.
>>>>
>>>> any advise? thanks!
>>>> [Message sent by forum member 'anc623' (anc623)]
>>>>
>>>> http://forums.java.net/jive/thread.jspa?messageID=311104
>>>>
>>>> ---------------------------------------------------------------------
>>>> 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/
>>>
>>> --------------------------------
>>>
>>>
>>> Spam/Virus scanning by CanIt Pro
>>>
>>> For more information see http://www.kgbinternet.com/SpamFilter.htm
>>>
>>> To control your spam filter, log in at http://filter.kgbinternet.com
>>>
>>
>>
>> ---------------------------------------------------------------------
>> 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/
>
> --------------------------------
>
>
> Spam/Virus scanning by CanIt Pro
>
> For more information see http://www.kgbinternet.com/SpamFilter.htm
>
> To control your spam filter, log in at http://filter.kgbinternet.com
>

[Screenshot.png]
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@lwuit.dev.java.net
For additional commands, e-mail: users-help@lwuit.dev.java.net

Shai Almog

>> The current look and feel treats this globally and never stores
>> the Style so it can't be manipulated
> In general this should be okay, but it appears that the scroll
> hight in scrollableX mode differs from the scroll width in
> scrollableY mode. So in my use case the scroll hight takes too much
> off the component hight, which isn't very large by its own.(see
> attached screenshot).

Check that the padding top/bottom and margin for the top/bottom are
low as well. If not this might be an issue, we don't have much side
scrollbars in our applications.

>

Shai Almog
http://lwuit.blogspot.com/

[att1.html]