[android-developers] query about the usage of HttpsURLConnection

2010-03-09 Thread Hugo Wang
Hi all, I am using HttpsURLConnection to post data to a web server. Here is the function I wrote to get the result. (see the code below) Very strangely, when the function be first called in my program it would very likely return -1; and then I re-call the function after the first call, it

Re: [android-developers] query about the usage of HttpsURLConnection

2010-03-09 Thread Hugo Wang
. If you find the reason, would you tell me? Thanks, Vu-Nguyen *From:* android-developers@googlegroups.com [mailto: android-develop...@googlegroups.com] *On Behalf Of *Hugo Wang *Sent:* Wednesday, March 10, 2010 10:26 AM *To:* android-developers@googlegroups.com *Subject:* [android

[android-developers] help: HttpConnectionParams.setSoTimeout OR setConnectionTimeout NO effect??!!

2009-12-16 Thread Hugo Wang
Hi I am new to Android network application develop, I am trying to set the timeout with my HTTP request by using DefaultHttpClient. Sometimes I found that the TimeOut parameter has no effect, and the program will be blocking at the execute() method. Here is the outline of my code: --

[android-developers] help: how to compile iproute2 in android platform?

2009-10-22 Thread Hugo Wang
Hi I want to use the tool 'ip' to do some advanced network configuration (such as tunnel configurations and other operations) in Android/linux shell. The command 'ip' is packaged in iproute2 ( http://www.linuxfoundation.org/en/Net:Iproute2). I am new to this area. Could anyone give me some

[android-developers] Re: Porting RDP (Remote Desktop Protocol) to Android -- questions

2009-06-24 Thread Hugo Wang
Is there any java rdp client ? I suppose you can develop based on this? 2009/6/23 kirkbeaty kirkbe...@gmail.com Attempting to port RDP to Android ... saw someone had started this, Desktoid/Connectoid, but that effort seems to have stopped .. and I need this function immediately. I have