Re: Java ME File Browser?

[email protected] Mon, 26 May 2008 05:12:55 PDT
Newsgroups gmane.comp.java.sun.kvm
Message-ID <[email protected]>
James,

There is no file dialog in MIDP because access to the file system is not a standard feature of MIDP in particular (or many entry-level and mid-range phones in general). For the same reason there is no standard way to access the built-in file dialog, if present.

Using the JSR 75 package, as you mention, you have access to the file system - the question is, how to present a file dialog graphically. You could of course use MIDP lcdui.List and/or lcdui.CustomItem. But for a richer experience you might look at basing your app on LWUIT:

 https://lwuit.dev.java.net/

It contains support for building rich screens - but unfortunately no ready-to-use file dialog. However, the project owners are very open to suggestions ... maybe they want to pick up the idea of a file dialog.

-- Terrence
[Message sent by forum member 'terrencebarr' (terrencebarr)]

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

===========================================================================
To unsubscribe, send email to [email protected] and include in the body
of the message "signoff KVM-INTEREST".  For general help, send email to
[email protected] and include in the body of the message "help".