How do you clear the RecordStore of your midlet in Netbeans?

眉间皱痕 提交于 2019-12-11 02:49:20

问题


I find that when I try to add some new records, the already exist in the recordstore of the midlet, but I don't know where do I find the option to clear the midlet's recordstore in its emulator.

Any help appreciated,

Ted


回答1:


Follow the below steps for clear the RMS in your netbeans project,

  • Select the Tools and go to Java Platforms.
  • Select Sun Java(TM) Wireless Toolkit 2.5.2 for CLDC under J2ME.
  • Select the Tools & Extensions tab and click the Open Utilities.
  • One Utilities Popup will appear on the screen and launch the Clean Database. Then press OK button.

This is way to clear the RMS using Netbeans IDE. Also you can delete manually on following workspace,

C:\Documents and Settings\Username\j2mewtk\2.5.2\appdb\DefaultColorPhone 

Delete Database files on above path.



来源:https://stackoverflow.com/questions/6977331/how-do-you-clear-the-recordstore-of-your-midlet-in-netbeans

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!