I use Gdx.net.sendHttpRequest() to get value string
private Net.HttpRequest httpRequest;
private void load_data() {
String httpMethod = Net.HttpMethods.GET;
String requestContent = null;
httpRequest = new Net.HttpRequest(httpMethod);
httpRequest.setUrl("https://discuss.multi-os-engine.org/t/cant-download-file-from-https/508/10");
httpRequest.setContent(requestContent);
Gdx.net.sendHttpRequest(httpRequest, new Net.HttpResponseListener() {
@Override
public void handleHttpResponse(Net.HttpResponse httpResponse) {
// TODO Auto-generated method stub
String rs = httpResponse.getResultAsString();
text.setText(rs);
}
@Override
public void failed(Throwable t) {
// TODO Auto-generated method stub
}
@Override
public void cancelled() {
// TODO Auto-generated method stub
}
});
// Gdx.net.cancelHttpRequest(httpRequest);
}
In android, every show ok. but in ios nothing show. I config ios-moe like
How do i do for that? Please help me.