Memo/Java

携帯

プロジェクト

Doja環境変数

ezplusアプリ(*.kjx) -> jad,jar変換

ezplusアプリのkjxファイルはjad+jarなので、展開すれば、逆コンパイラでソースを見ることもできます。

jarサイズ縮小&難読化

文字列を分解し、配列で返す

iアプリではStringTokenizerが使えないのでその替わり。

	/**
	* 文字列を分解し、配列で返す
	*
	* @note
	* - iアプリではStringTokenizerが使えないので替わり
	*/
	public String[] strSplit(String str, String delim){
		str = str + delim;
		String[] mes = new String[0];
		String[] temp = new String[0];
		int t = 0;
		String buf = null;
		while(true){
			t = str.indexOf(delim);
			if(t==-1) break;
			if(t==0){
				buf = "";
			}else{
				buf = str.substring(0,t);
			}
			str = str.substring(t+1);
			System.arraycopy(mes,0,temp,0,mes.length);
			mes = new String[mes.length + 1];
			System.arraycopy(temp,0,mes,0,temp.length);
			mes[ temp.length ] = buf;
			temp = new String[ mes.length ];
		}
		return mes;
	}

リンク


添付ファイル: filekjx2jar.pl 1383件 [詳細] filejopt_20060228.zip 2151件 [詳細] filejopt_20050816.zip 1980件 [詳細]

トップ   編集 凍結 差分 バックアップ 添付 複製 名前変更 リロード   新規 一覧 検索 最終更新   ヘルプ   最終更新のRSS
Last-modified: 2018-09-15 (土) 07:31:37