Gemalto is now part of the Thales Group, find out more.

You are here

HttpConnection | Thales IoT Developer Community

mortenbo1948

June 7, 2015 - 11:07am, 1540 views

Dear Gemalto.

I am trying to create a very simple HttpConnection.

http = (HttpConnection) Connector.open(url);

String url = "http://87.60.128.8/ping/Ping"

But the  http.getResponseCode()

throw the exception, as You probadly know "Profile could not be activated"

The String strCommand = "AT^SJNET=\"gprs\",\"internet\",\"\",\"\",\"\",\r"; does not do it

There must be something more...

Can You help?

Br Morten, DK