Software Archive
Read-only legacy content
17061 Discussions

can not open https links

ramin_b_
Beginner
3,211 Views

i use this code in index.html

<p><a href="https://www.facebook.com/">bmi</a></p>

this link show on emulate but dont show when i build my app

please help me add https link

 

0 Kudos
24 Replies
ramin_b_
Beginner
2,492 Views

no anybody here answer to me ?

i use intel xdk and make link in index.html but when build my app https link dont work

0 Kudos
Ramith_H_
Beginner
2,492 Views

You need to have "network acesss privilege "

 so when you are building the app you have to select "full network access permission" so that the android system let's your app to use the network

0 Kudos
ramin_b_
Beginner
2,492 Views

i have this permissions for networks access

<uses-permission name="android.permission.INTERNET" />
<uses-permission name="android.permission.ACCESS_NETWORK_STATE" />

please if you can help to me

my app work when use http but i need https link

 

 

 

0 Kudos
ramin_b_
Beginner
2,492 Views

my site is https://www.bmi.ir this https is Untrusted but i want connect that

0 Kudos
ramin_b_
Beginner
2,492 Views

please help me !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

0 Kudos
ramin_b_
Beginner
2,492 Views

i want trusting all ssl certificate

0 Kudos
ramin_b_
Beginner
2,492 Views

 i want ignore all ssl certificates

please send me that's code

0 Kudos
ramin_b_
Beginner
2,492 Views

how can use from this code

import java.io.IOException;
import java.net.Socket;
import java.net.UnknownHostException;
import java.security.KeyManagementException;
import java.security.KeyStore;
import java.security.KeyStoreException;
import java.security.NoSuchAlgorithmException;
import java.security.UnrecoverableKeyException;
import java.security.cert.CertificateException;
import java.security.cert.X509Certificate;

import javax.net.ssl.SSLContext;
import javax.net.ssl.TrustManager;
import javax.net.ssl.X509TrustManager;

import org.apache.http.conn.ssl.SSLSocketFactory;
public class MySSLSocketFactory extends SSLSocketFactory {
    SSLContext sslContext = SSLContext.getInstance("TLS");

    public MySSLSocketFactory(KeyStore truststore) throws NoSuchAlgorithmException, KeyManagementException, KeyStoreException, UnrecoverableKeyException {
        super(truststore);

        TrustManager tm = new X509TrustManager() {
            public void checkClientTrusted(X509Certificate[] chain, String authType) throws CertificateException {
            }

            public void checkServerTrusted(X509Certificate[] chain, String authType) throws CertificateException {
            }

            public X509Certificate[] getAcceptedIssuers() {
                return null;
            }
        };

        sslContext.init(null, new TrustManager[] { tm }, null);
    }

    @Override
    public Socket createSocket(Socket socket, String host, int port, boolean autoClose) throws IOException, UnknownHostException {
        return sslContext.getSocketFactory().createSocket(socket, host, port, autoClose);
    }

    @Override
    public Socket createSocket() throws IOException {
        return sslContext.getSocketFactory().createSocket();
    }
}
0 Kudos
ramin_b_
Beginner
2,492 Views

i am new android developer please help me

 

0 Kudos
ramin_b_
Beginner
2,492 Views
If you are here answer to I
0 Kudos
Elroy_A_Intel
Employee
2,492 Views

In order to gain access to third party party websites and web services, you are required to enable the access list under the Project Panel > Build Settings.

I recommend that you include a * (asterisk) in the Access List field on the Project panel for your application. The asterisk allows for communication to any web server or site via your application or AJAX call. You can find the Domain List field with in the Cordova Hybrid Mobile App settings > Build Settings > (desired platform such as Android, iOS etc...)

For more information visit https://software.intel.com/en-us/xdk/articles/cordova-cli-412-domain-whitelisting-with-intel-xdk-for-ajax-and-launching-external-apps.

0 Kudos
ramin_b_
Beginner
2,492 Views

thank you very much

i come back for more question please do not leave me alone

0 Kudos
ramin_b_
Beginner
2,492 Views

my https ssl is not valid but i want connect to that domain so this way do not help to i

i want ignore ssl certificate

please show correct way to me

0 Kudos
ramin_b_
Beginner
2,492 Views

F1 -  F1  - F1

F1 -  F1  - F1

F1 -  F1  - F1

please help to me

0 Kudos
ramin_b_
Beginner
2,492 Views

 

    de.martinreinhardt.cordova.plugins.certificates
how can use from this plugin
0 Kudos
ramin_b_
Beginner
2,492 Views

 intel forum work only 8 hour's ?!!!!!!!!!!!!!

 

0 Kudos
ramin_b_
Beginner
2,492 Views

please meke this link open in one android app

<p><a href="https://www.bmi.ir/">bmi</a></p>

 

0 Kudos
ramin_b_
Beginner
2,492 Views

i am online now .

please help

0 Kudos
ramin_b_
Beginner
2,492 Views

<!DOCTYPE html>
<html dir="rtl">
    <!--
  * Please see the included README.md file for license terms and conditions.
  -->

    <head>
        <meta charset="UTF-8">
        <title>Blank App Designer Packaged Web App Project Template</title>
        <meta http-equiv="Content-type" content="text/html; charset=utf-8">

        <meta name="viewport" content="width=device-width, minimum-scale=1, initial-scale=1, user-scalable=no">

      
    </head>

    <body>
  <meta HTTP-EQUIV="REFRESH" content="0; url=https://www.bmi.ir">
    </body>

</html>

0 Kudos
ramin_b_
Beginner
2,257 Views

are you developer ? so why can not solve my problem ?

0 Kudos
Reply