(HttpConnection) Connector.open(url + ";deviceside=false;ConnectionTimeout=30000", Connector.READ, true);
看bb的api时,没见提到这个参数,在官方论坛发现有人用到这个参数,自己测试一下,这个参数是有效的;单位是毫秒,每个参数间使用;号隔开;
这个方法,默认超时时间是120秒;
ConnectionTimeout=30000
-------------
[0.0] debug>Consumer.java->getRequestToken error: java.io.InterruptedIOException: Local connection timed o[0.0] ut after ~ 30000 for visit http://api.iximo.com/request_token.php?oauth_consumer_key=7cc1a6d46dee261[0.0] 67629dcd5aea5f7a804d6f33d2&oauth_version=1.0&oauth_sign[0.0] ature_method=HMAC-SHA1&oauth_signature=swuk3oEhDrOKTN3yxcvSgECBozI%3D&oauth_timestamp=1313042690&oau[0.0] th_nonce=7588731215297332484;
[0.0] tip>doned!;