Skip to main content

How to get an image browse feature in LWUIT in J2ME

1 reply [Last post]
ejaincom
Offline
Joined: 2011-07-27
Points: 0

Hi,

i need a functionality that allows me to browse and select an image from images which are part of mobile phone gallery. so that this image can be used as an icon for differnt command buttons in the application.

Is this feature possible,

Pl. help.

thanks

abhi

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
vprise
Offline
Joined: 2003-11-07
Points: 0

System.getProperty("fileconn.dir.photos"); might return the directory for the pictures and you can build your UI based on that. There is no way in J2ME to launch the builtin photo gallery that I am aware of.

Our chat demo (in the lwuit-incubator svn) includes an image picker file tree component.