
J2ME
iteye_11088
这个作者很懒,什么都没留下…
展开
-
在j2me中载入propreties资源
[code="java"] public Properties load(String res) throws IOException { Properties prop = new Properties(); DataInputStream is = null; try { is =...2008-01-14 18:51:51 · 113 阅读 · 0 评论 -
j2me中发送短信
三星[code="java"]SM sm = new SM();sm.setDestAddress("10086");sm.setData("hello, world");SMS.send(sm);[/code]通用[code="java"]String address = "sms://+10086"MessageConnection conn =...2008-03-27 12:01:14 · 110 阅读 · 0 评论 -
google GeoLocation API调用请求
geolocation 定位可以基于ip, wifi和手机基站,示例是一个基于手机基站定位的例子 请求POST /loc/json HTTP/1.1 Host: www.google.com Accept: */*Content-Type: application/jsonCache-Control: no-cachePragma: no-cacheUA-C...2009-04-29 15:32:26 · 490 阅读 · 1 评论