开发者

Midlet throws javax.microedition.rms.RecordStoreException: error opening record store file in Samsung emulator

开发者 https://www.devze.com 2023-01-14 00:09 出处:网络
I\'m using the Samsung SDK 1.2.开发者_JAVA百科0 Beta in Netbeans 6.8.I\'m trying to test my midlet for accessing the record store management system.

I'm using the Samsung SDK 1.2.开发者_JAVA百科0 Beta in Netbeans 6.8. I'm trying to test my midlet for accessing the record store management system.

This statement

 RecordStore rs = RecordStore.openRecordStore("Store", true);

runs fine when I'm using the Nokia SDK but it throws a RecordStoreException when I used it on Samsung.


I already discovered what's wrong. I installed Samsung SDK to a different folder with spaces instead of installing it to the default folder which is "C:\Samsung_SDK_120_Beta" or to another folder without using spaces.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号