I don't know much about EC, but if the provided HTTPS support doesn't
work with it, you could always build your own class to implement a
simplified version of the protocol over your SSL/EC transport. If you're
interested in following that path, you can find the HTTP specifications
at http://www.w3.org/Protocols/rfc2616/rfc2616.html ; but the simplest
HTTP request header would look something like this:
GET /whatever.php HTTP/1.0
Host: myserver.com
While the simplest POST HTTP request might look like:
POST /responseform.php HTTP/1.0
Host: myserver.com
Content-Length: 25
Content-Type: application/x-www-form-urlencoded
whatever=ahhaah&data=test
Of course, then you also have to interpret the responses from the server
correctly too, but in general, it's simpler than you might expect to a
very basic implementation of HTTP. Note that I specify HTTP/1.0 above
rather than the usual 1.1; this basically tells the servers to be a
little more lenient with regards to the requests that are made to it as
the HTTP 1.0 clients rarely fully implemented all the suggested [and
sometimes required] features of the specifications. If you follow this
path, I recommend reading the specs all the way through at least once.
Raymond
On 2/6/2012 4:12 AM, Kosmo Kosmorum wrote:
Thanks for your replay.
We try to run this app on a Android 2.2, because it is the minimum
target we need to handle, so we don't know if this solution works with
other type of clients. We know that the certificates and server
configuration are good because we can test the communication with a
IE7 or with a Firefox client on a PC.
In my previous message I said that there was a link where we can read
that there is a way to have EC working on a 2.2 device, but not
applied to a HTTPS connection , only related to cyphering
functionality.
Do you think this is not supported directly by https?
Thanks in advance
--
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