Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / December 2005

Tip: Looking for answers? Try searching our database.

J2ME - Problem using FileSystem

Thread view: 
Abhijat Vatsyayan - 04 Dec 2005 01:02 GMT
Hi,
I am trying to write a simple midlet for Sony Ericsson S710 phone (CLDC
1.1, MIDP 1.0, MIDP 2.0) where I try using FileSystemRegistry for
listing file system roots. The midlet runs ok on the simulator but gives
a NoClassDefFoundError for FileSystemRegistry.

I tried following -
Try to package all the jsr75 class files along with the midlet jar. The
phone does not like this (a message - can not create class in system
package is displayed). I tried signing the jar using the Ktoolbar that
came with the SDK from sony ericsson.

I eventually need to read and write files from the memory stick. If
JSR75 is not supported, how do I do achieve this (file system access)?

Thanks,
Abhijat
Jan Peter Stotz - 04 Dec 2005 09:53 GMT
Abhijat Vatsyayan schrieb:

> I am trying to write a simple midlet for Sony Ericsson S710 phone (CLDC
> 1.1, MIDP 1.0, MIDP 2.0) where I try using FileSystemRegistry for
> listing file system roots. The midlet runs ok on the simulator but gives
> a NoClassDefFoundError for FileSystemRegistry.

Looks like your mobile doesn't support the corresponding extension.

> I tried following -
> Try to package all the jsr75 class files along with the midlet jar.

You can not extend the capabilities of your mobile phone. A JSR-extension
has to be built in, othewise you can never use it. If you want to access
the FileSystem you have to buy another mobile phone that supports the
extension.

Jan
JScoobyCed - 06 Dec 2005 01:35 GMT
> Hi,
> I am trying to write a simple midlet for Sony Ericsson S710 phone (CLDC
[quoted text clipped - 13 lines]
> Thanks,
> Abhijat

This model doesn't support the FileSystemRegistry ... no JSR-75 is on
that phone. Eventually, you could have a look at SuperWaba, in case it
is supported by your phone. This SuperWaba is a port of the Sun J2ME. It
provides more than the default J2ME, but is not supported by all
mobiles. I heard that the recent version works on Symbian.

Signature

JSC



Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.