J2ME模拟器KEmulator配置
2.参数配置
Main选项卡下:Project:MyProject,Main Class=:emulator.Emulator
Arguments选项卡:
-device SonyEricssonK800
-midlet cn.com.fetion.Fetion
-cp bin
-jad FetionLite.jad
3.classpath选项卡:
Source加入res文件夹
Libraries添加KEmulator.jar
Tags: J2ME
Tags: J2ME
Tags: J2ME
cd "C:\Documents and Settings\Administrator\j2mewtk\2.5.2\appdb"
del /f /s /q DefaultColorPhone
rmdir /s /q DefaultColorPhone
Tags: J2ME
黑莓手机底层对于HTTP 响应码(status Code)302 重定向问题未作处理,故需要在应用程序中自己处理:在http 头中含有服务器重定向的地址:newUrl = con.getHeaderField("location").trim();
参考http://www.cnblogs.com/zhengyun_ustc/archive/2006/07/24/nokiahttpconnection302.html
Android 等其他客户端底层好像做了处理.
Tags: J2ME, Android, Blackberry
Tags: J2ME
Tags: J2ME
Tags: J2ME
Recent comments