Skip to main content

String[] roots = fss.getRoots(); - crashes sony

2 replies [Last post]
68060
Offline
Joined: 2011-08-29
Points: 0

on device and emu this seems to kill sonys - any ideas?

String[] roots = fss.getRoots();

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

Did you activate file permissions for the MIDlet?

Do you have a stack trace or error message?

The code is relatively simple and maps directly to FileSystemRegistry.listRoots() which works well on all devices.

68060
Offline
Joined: 2011-08-29
Points: 0

Yes I fixed it, I think i had left the inputstream open or something, thanks..