You can use .net clases for https
import java.net.*
import javax.net.ssl.HttpsURLConnection;
{
HttpsURLConnection urlConnection;
urlConnection = (HttpsURLConnection) new URL(actionUrl).openConnection();
BufferedReader in = new BufferedReader(new
InputStreamReader(urlConnection.getInputStream()));
String str;
StringBuffer responseBuffer= new StringBuffer();
while ((str = in.readLine()) != null) {
responseBuffer.append(str);
}
}
- Anurag Singh
On Mon, Jan 11, 2010 at 10:40 PM, Knossos <[email protected]> wrote:
> Hi,
>
> I want to use HTTPS in my application. The Java URL class does not
> seem to do the job.
>
> Does anyone have any pointers?
>
> Thanks!
> Knossos.
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]<android-developers%[email protected]>
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
>
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en