⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 rmscustom.java

📁 文件浏览的小程序
💻 JAVA
字号:
package cn.zqk.utils;

import javax.microedition.rms.*;

public class RmsCustom {

	RecordStore rs;
	public int setting=0;
	
	public int minitemlen =1;	//mini  total item count
	public int customitemlen =4;		//custom total item count
	
	// test is ok
	public static String[] pathmin	={"1;picture;file://localhost/C:/Nokia/Images/Pictures/;y"
	  };
	
//	//for test E disk is OK
//	public static String[] pathmin	={"1;zqk;file://localhost/E:/Zqk/;y"
//		  				  };
	
//	// fail
//	public static String[] pathmin	={"1;logs;file://localhost/C:/System/Install/Logs/;y"
//	  };
	
//	//fail 郁闷......
//	public static String[] pathmin	={"1;logs;file://localhost/C:/System/Temp/ImageEditor/;y"
//		  };	
	
	
	
	public static String[] pathcustom	={"2;Option 2;file://localhost/c/Option2/;如果您选择此项,Option 2 的内容将不再保留,请做好备份,再运行清理命令.;n",
			  "3;Option 3;file://localhost/c/Option3/;如果您选择此项,Option 3 的内容将不再保留,请做好备份,再运行清理命令.;n",
			  "4;Option 4;file://localhost/c/Option3/;如果您选择此项,Option 4 的内容将不再保留,请做好备份,再运行清理命令.;n",
			  "5;Option 5;file://localhost/c/Option3/;如果您选择此项,Option 5 的内容将不再保留,请做好备份,再运行清理命令.;n"
};
	
	//constructor function
	public RmsCustom(){	}	
	
	
	//init the custom items	
	
	public void close() {
		try {
			rs.closeRecordStore();
		} catch (RecordStoreException rse) {}
	}
	

	
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -