views:

161

answers:

1

Hi there,

I know there is no RandomAccessFile class in Blackberry's set of APIs.I have a Java third party library that uses RandomAccessFile class. How do I convert it to Blackberry specific class, and more over, Is there any alternate solution for implementing RandomAccessFile ?

Please help. Thanks.

+1  A: 

Hi! Seems like this library is J2ME CDC Foundation Profile lib and is not supported by BlackBerry JVM.
If you have source of this library you can try port it to j2me. Take a look at functionality where RandomAccessFile is used. Maybe you can just trow it away and use simple FileConnection with InputStream.

Max Gontar