tags:

views:

155

answers:

1

Hi,

I have project, already developed using canvas and lib used is LCDUI. It's for nokia keyboard supported devices. Now I want to incorporate same application for touch devices. I have used touch methods like pointerpressed, etc.

For normal functionality that worked pretty well. But it creates problem in commands.

My application is in fullscreen mode. Commands I have created using user defined menu list. Probles is that I can not directly identify that which command has been clicked. Setting coordinates for every command is not thr feasible solution for me.

I come across the new lib LWUIT, but i found out that it supports only forms(Can't we use on canvas?). and integrating LCDUI and LWUIT is also not possible(please give suggestion that can we use both in same application?).

Is it possible to create form under canvas itself? Any other lib support available?

thank you.

A: 

If you want to use LWUIT, then it has a Painter mechanism for custom background painting. I assume you can have a Form with its background painted as you like using Painter.

Some help can be found here: Using Styles, Themes and Painters with LWUIT

Smithy