J2ME with JSR-75 PIM in Windows Mobile 6

 好东西,可惜今天没有时间翻译了,找个时间再翻:

J2ME with JSR-75 PIM in Windows Mobile 6

I am currently working on a university course project on Java 2 Micro Edition, which requires me to make an application that should work in a real phone. I chose to create a PIM (Contacts) backup tool, which I would run on my HTC Touch Cruise, a PDA Phone based on Windows Mobile 6 (or 6.1, but I haven’t upgraded my firmware). The tool would read all of the contacts data from the phone, and then post it to a web application (developed with Ruby on Rails).

I originally write my application in the wireless toolkit simulator, which works just fine. I then try transferring it to the phone and it doesn’t work anymore. The first problem was with the HTTP connection, which was a bit tricky, but it worked with some bit of tweaking around and asking Google. The other problem came because unfortunately the JSR-75 PIM/File connection API is not available on the phone.

Getting it work was quite complicated. The HTC Touch Cruise in its original firmware (SouthEast Asia version) runs Windows Mobile 6, with a preinstalled J2ME Midlet Manager called JBlend. A brief look at the chart here revealed that JBlend does not support the PIM API. Other midlet managers including the IBM WeMe J9 also doesn’t (it only supports the File Connection API, which is just half of the JSR-75). The other one named TAO Intent does, but it was a bit old and wasn’t quite recommended. So, I tried my luck with the Esmertec JBed midlet manager.

The installation was quite easy, as it is basically just another Windows Mobile application, coming in a neat .CAB installer. A query to Google found the installer put together by someone under the CloudyFa nickname, and the installation process was quite simple. At a glance, JBed looks faster and formats the interface forms better than the JBlend. The PIM API was also working, however it can only read one kind of data, which is the Contact List from the Phone Memory (contacts in the SIM were not read).

So, if you’re using Windows Mobile 6 on an HTC PDA phone and having trouble with the default midlet manager, you can try installing this alternate midlet manager, the Esmertec JBed. Other applications requiring disk acccess or PIM access will work better under this one, including the MGMaps (which can’t read stored maps under JBlend) as well as the Opera Mini (which can’t save or load pages without the JSR-75 FileConnection API).

-Andrian Kurniady

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值