Without WIFI connection failed
Hello
I can successfully connect to the server, obtain data when there is WIFI. But when wifi is not available, it fails. Using
ConnectionFactory factory = new ConnectionFactory();
factory.setPreferredTransportTypes (new int [] {}
TransportInfo.TRANSPORT_TCP_WIFI,
TransportInfo.TRANSPORT_TCP_CELLULAR,
TransportInfo.TRANSPORT_WAP,
TransportInfo.TRANSPORT_WAP2,
TransportInfo.TRANSPORT_MDS,
TransportInfo.TRANSPORT_BIS_B
});
ConnectionDescriptor conDescriptor = factory.getConnection ('url');
Test5 int = conDescriptor.getTransportDescriptor () .getTransportType ();
int [] test = TransportInfo.getAvailableTransportTypes ();
Boolean Test1 = TransportInfo.hasSufficientCoverage (6).
Boolean test2 = TransportInfo.hasSufficientCoverage (1);
Boolean test3 = TransportInfo.isTransportTypeAvailable (1);
String t = (TransportInfo.getTransportTypeName (1));
When I debug Test1 = false but test2 and test3 times returns true. The conDescriptor is always null
Help, please
Janaka
Hi Marc,
Did you put AFN to mobile TCP connection?
ConnectionFactory #setTransportTypeOptions (int transPortType, TcpCellularOptions)
If not already set on your device, needed to establish the connection for most carriers.
Kind regards
Tags: BlackBerry Developers
Similar Questions
-
LaserJet Pro P1100w: Then my LaserJet Pro P1100 AirPrint phone without wifi connection?
My LaserJet Pro P1100 AirPrint phone without wifi connection does
Hello
iPhones and AirPrint works only via a wifi connection (no bluetooth or other options will work) without a wireless connection any (direct or normal wifi), you will be unable to print wireless.
-
Application does not work without wifi connection
Hello I have a problem with the http connection
my code is
public class HttpConnectionFactory { /** * Specifies that only wifi should be used */ public static final int TRANSPORT_WIFI = 1; /** * Specifies that only BES (also known as MDS or corporate servers) */ public static final int TRANSPORT_BES = 2; /** * Specifies that only BIS should be used (Basically RIM hosted BES) */ public static final int TRANSPORT_BIS = 4; /** * Specifies that TCP should be used (carrier transport) */ public static final int TRANSPORT_DIRECT_TCP = 8; /** * Specifies that WAP2 should be used (carrier transport) */ public static final int TRANSPORT_WAP2 = 16; /** * Equivalent to: TRANSPORT_WIFI | TRANSPORT_BES | TRANSPORT_BIS | * TRANSPORT_DIRECT_TCP | TRANSPORT_WAP2 */ public static final int TRANSPORTS_ANY = TRANSPORT_WIFI | TRANSPORT_BES | TRANSPORT_BIS | TRANSPORT_DIRECT_TCP | TRANSPORT_WAP2; /** * Equivalent to: TRANSPORT_WIFI | TRANSPORT_BES | TRANSPORT_BIS */ public static final int TRANSPORTS_AVOID_CARRIER = TRANSPORT_WIFI | TRANSPORT_BES | TRANSPORT_BIS; /** * Equivalent to: TRANSPORT_DIRECT_TCP | TRANSPORT_WAP2 */ public static final int TRANSPORTS_CARRIER_ONLY = TRANSPORT_DIRECT_TCP | TRANSPORT_WAP2; /** * The default order in which selected transports will be attempted * */ public static final int DEFAULT_TRANSPORT_ORDER[] = { // TRANSPORT_DIRECT_TCP // ,TRANSPORT_WAP2 TRANSPORT_WIFI, // TRANSPORT_BES, TRANSPORT_BIS, // TRANSPORT_WAP2, TRANSPORT_DIRECT_TCP }; private static final int TRANSPORT_COUNT = DEFAULT_TRANSPORT_ORDER.length; private static ServiceRecord srMDS[], srBIS[], srWAP2[], srWiFi[]; private static boolean serviceRecordsLoaded = false; private int curIndex = 0; private int curSubIndex = 0; // private String url; private final String extraParameters; private final int transports[]; private int lastTransport = 0; /** * Equivalent to *
HttpConnectionFactory( url, null, HttpConnectionFactory.DEFAULT_TRANSPORT_ORDER )
* * @see #HttpConnectionFactory(String, String, int[]) * @param url * See {@link #HttpConnectionFactory(String, String, int[])} */ public HttpConnectionFactory() { this(null, 0); } /** * Equivalent to *HttpConnectionFactory( url, null, allowedTransports )
* * @see #HttpConnectionFactory(String, String, int) * @param url * See {@link #HttpConnectionFactory(String, String, int)} * @param allowedTransports * See {@link #HttpConnectionFactory(String, String, int)} */ public HttpConnectionFactory(int allowedTransports) { this(null, allowedTransports); } public HttpConnectionFactory(int transportPriority[]) { this(null, transportPriority); } public HttpConnectionFactory(String extraParameters, int allowedTransports) { this(extraParameters, transportMaskToArray(allowedTransports)); } public HttpConnectionFactory(String extraParameters, int transportPriority[]) { if (!serviceRecordsLoaded) { loadServiceBooks(false); } // // if (url == null) { // throw new IllegalArgumentException("Null URL passed in"); // } // if (!url.toLowerCase().startsWith("http")) { // throw new IllegalArgumentException("URL not http or https"); // } // // this.url = url; this.extraParameters = extraParameters; transports = transportPriority; } public Connection getNextConnection(String url) throws NoMoreTransportsException { Connection con = null; int countsWap = 0; int countsBis = 0; int countsBes = 0; int curTransport = 0; while (con == null && curIndex < transports.length) { System.out.println("con=" + con + " curid=" + curIndex); curTransport = transports[curIndex]; switch (curTransport) { case TRANSPORT_WIFI: curIndex++; curSubIndex = 0; try { con = getWifiConnection(url); } catch (Exception e) { } break; case TRANSPORT_BES: curIndex++; curSubIndex = 0; try { if (countsBes > 3) { throw new NoMoreTransportsException(); } con = getBesConnection(url); countsBes++; } catch (Exception e) { } break; case TRANSPORT_BIS: while (con == null) { try { if (countsBis > 3) { throw new NoMoreTransportsException(); } con = getBisConnection(url, curSubIndex); countsBis++; } catch (NoMoreTransportsException e) { curIndex++; curSubIndex = 0; break; } catch (Exception e) { } } break; case TRANSPORT_DIRECT_TCP: curIndex++; try { con = getTcpConnection(url); } catch (Exception e) { } break; case TRANSPORT_WAP2: while (con == null) { // try { // if (countsWap > 3) { // throw new NoMoreTransportsException(); // } // // con = getWap2Connection(url, curSubIndex); // countsWap++; // } catch (NoMoreTransportsException e) { // curIndex++; // curSubIndex = 0; // break; // } catch (Exception e) { // } } break; } } if (con == null) { throw new NoMoreTransportsException(); } lastTransport = curTransport; return con; } public Connection getCurrentConnection(String url) throws NoMoreTransportsException { Connection con = null; switch (lastTransport) { case TRANSPORT_WIFI: try { con = getWifiConnection(url); } catch (Exception e) { } break; case TRANSPORT_BES: try { con = getBesConnection(url); } catch (Exception e) { } break; case TRANSPORT_BIS: while (con == null) { try { con = getBisConnection(url, curSubIndex); } catch (NoMoreTransportsException e) { break; } catch (Exception e) { } } break; case TRANSPORT_DIRECT_TCP: try { con = getTcpConnection(url); } catch (Exception e) { } break; case TRANSPORT_WAP2: while (con == null) { try { con = getWap2Connection(url, curSubIndex); System.out.println("" + con); } catch (NoMoreTransportsException e) { break; } catch (Exception e) { } } break; } return con; } /** * Returns the transport used in the connection last returned via * {@link #getNextConnection()} * * @return the transport used in the connection last returned via * {@link #getNextConnection()} or 0 if none */ public int getLastTransport() { return lastTransport; } /** * Generates a connection using the BIS transport if available * * @param index * The index of the service book to use * @return An {@link HttpConnection} if this transport is available, * otherwise null * @throws NoMoreTransportsException * @throws IOException * throws exceptions generated by {@link getConnection( String * transportExtras1, String transportExtras2 )} */ private Connection getBisConnection(String url, int index) throws NoMoreTransportsException, IOException { System.out.println("BIS Try"); if (index >= srBIS.length) { throw new NoMoreTransportsException("Out of BIS transports"); } ServiceRecord sr = srBIS[index]; return getConnection(url, ";deviceside=false;connectionUID=", sr .getUid()); } /** * Generates a connection using the BES transport if available * * @return An {@link HttpConnection} if this transport is available, * otherwise null * @throws IOException * throws exceptions generated by {@link getConnection( String * transportExtras1, String transportExtras2 )} */ private Connection getBesConnection(String url) throws IOException { System.out.println("BES try"); if (CoverageInfo.isCoverageSufficient(CoverageInfo.COVERAGE_MDS)) { return getConnection(url, ";deviceside=false", null); } return null; } /** * Generates a connection using the WIFI transport if available * * @return An {@link HttpConnection} if this transport is available, * otherwise null * @throws IOException * throws exceptions generated by {@link getConnection( String * transportExtras1, String transportExtras2 )} */ private Connection getWifiConnection(String url) throws IOException { System.out.println("wifi try"); // if (RadioInfo.areWAFsSupported(RadioInfo.WAF_WLAN) // && (RadioInfo.getActiveWAFs() & RadioInfo.WAF_WLAN) != 0 // && CoverageInfo.isCoverageSufficient(1 /* // * CoverageInfo.COVERAGE_DIRECT // */, // RadioInfo.WAF_WLAN, false)) { // // return getConnection(";deviceside=true;interface=wifi", null); // // return getConnection(";deviceside=true;interface=wifi", null); // // } // !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! if (WLANInfo.getWLANState() == WLANInfo.WLAN_STATE_CONNECTED && srWiFi.length > 0) { return getConnection(url, ";interface=wifi", null); } return null; } /** * Generates a connection using the WAP2 transport if available * * @param index * The index of the service book to use * @return An {@link HttpConnection} if this transport is available, * otherwise null * @throws NoMoreTransportsException * if index is outside the range of available service books * @throws IOException * throws exceptions generated by {@link getConnection( String * transportExtras1, String transportExtras2 )} */ private Connection getWap2Connection(String url, int index) throws NoMoreTransportsException, IOException { System.out.println("WAP2 try"); if (index >= srWAP2.length) { throw new NoMoreTransportsException("Out of WAP2 transports"); } if (CoverageInfo .isCoverageSufficient(1 /* CoverageInfo.COVERAGE_DIRECT */)) { ServiceRecord sr = srWAP2[index]; return getConnection(url, ";ConnectionUID=", sr.getUid()); } return null; } /** * Generates a connection using the TCP transport if available * * @return An {@link HttpConnection} if this transport is available, * otherwise null * @throws IOException * throws exceptions generated by {@link getConnection( String * transportExtras1, String transportExtras2 )} */ private Connection getTcpConnection(String url) throws IOException { System.out.println("direct try"); if (CoverageInfo .isCoverageSufficient(1 /* CoverageInfo.COVERAGE_DIRECT */)) { String extraParameter = null; if (!DeviceInfo.isSimulator()) { url = url + ";deviceside=true"; } return getConnection(url, null, null); // ";deviceside=true", null); } return null; } /** * Utility method for actually getting a connection using whatever transport * arguments the transport may need * * @param transportExtras1 * If not null will be concatenated onto the end of the * {@link url} * @param transportExtras2 * If not null will be concatenated onto the end of {@link url} * after transportExtras1 * @return An {@link HttpConnection} built using the url and transport * settings provided * @throws IOException * any exceptions thrown by {@link Connector.open( String name * )} */ private Connection getConnection(String url, String transportExtras1, String transportExtras2) throws IOException { StringBuffer fullUrl = new StringBuffer(); fullUrl.append(url); if (transportExtras1 != null) { fullUrl.append(transportExtras1); } if (transportExtras2 != null) { fullUrl.append(transportExtras2); } if (extraParameters != null) { fullUrl.append(extraParameters); } // fullUrl.append(";ConnectionTimeout=5000"); System.out.println(fullUrl.toString()); return Connector.open(fullUrl.toString(), Connector.READ_WRITE, true); } /** * Public method used to reload service books for whatever reason (though I * can't think of any) */ public static void reloadServiceBooks() { loadServiceBooks(true); } /** * Loads all pertinent service books into local variables for later use. * Called upon first instantiation of the class and upload {@link * reloadServiceBooks()} * * @param reload * Whether to force a reload even if they've already been loaded. */ private static synchronized void loadServiceBooks(boolean reload) { if (serviceRecordsLoaded && !reload) { return; } ServiceBook sb = ServiceBook.getSB(); ServiceRecord[] records = sb.getRecords(); Vector mdsVec = new Vector(); Vector bisVec = new Vector(); Vector wap2Vec = new Vector(); Vector wifiVec = new Vector(); if (!serviceRecordsLoaded) { for (int i = 0; i < records.length; i++) { ServiceRecord myRecord = records[i]; String cid, uid; // sometimes service record is disabled but works if (myRecord.isValid() /* && !myRecord.isDisabled() */) { cid = myRecord.getCid().toLowerCase(); uid = myRecord.getUid().toLowerCase(); // BIS if (cid.indexOf("ippp") != -1 && uid.indexOf("gpmds") != -1) { bisVec.addElement(myRecord); } // WAP1.0: Not implemented. // BES if (cid.indexOf("ippp") != -1 && uid.indexOf("gpmds") == -1) { mdsVec.addElement(myRecord); } // WiFi if (cid.indexOf("wptcp") != -1 && uid.indexOf("wifi") != -1) { wifiVec.addElement(myRecord); } // Wap2 if (cid.indexOf("wptcp") != -1 && uid.indexOf("wap2") != -1) { wap2Vec.addElement(myRecord); } } } srMDS = new ServiceRecord[mdsVec.size()]; mdsVec.copyInto(srMDS); mdsVec.removeAllElements(); mdsVec = null; srBIS = new ServiceRecord[bisVec.size()]; bisVec.copyInto(srBIS); bisVec.removeAllElements(); bisVec = null; srWAP2 = new ServiceRecord[wap2Vec.size()]; wap2Vec.copyInto(srWAP2); wap2Vec.removeAllElements(); wap2Vec = null; srWiFi = new ServiceRecord[wifiVec.size()]; wifiVec.copyInto(srWiFi); wifiVec.removeAllElements(); wifiVec = null; serviceRecordsLoaded = true; } } /** * Utility methd for converting a mask of transports into an array of * transports in default order * * @param mask * ORed collection of masks, example: *TRANSPORT_WIFI | TRANSPORT_BES
* @return an array of the transports specified in mask in default order, * example: { TRANSPORT_WIFI, TRANSPORT_BES } */ private static int[] transportMaskToArray(int mask) { if (mask == 0) { mask = TRANSPORTS_ANY; } int numTransports = 0; for (int i = 0; i < TRANSPORT_COUNT; i++) { if ((DEFAULT_TRANSPORT_ORDER[i] & mask) != 0) { numTransports++; } } int transports[] = new int[numTransports]; int index = 0; for (int i = 0; i < TRANSPORT_COUNT; i++) { if ((DEFAULT_TRANSPORT_ORDER[i] & mask) != 0) { transports[index++] = DEFAULT_TRANSPORT_ORDER[i]; } } return transports; } }HIII, I use this class to call http to the server, but each time that gives the error No more TransportsException
application only works on wifi
I try both GET and POST nothing workeddevice: = 8520 os 5.0
BIS service provider:-vodaphone plan 15/day
in that gtalk and facebook works finealso I test this app in Arabic countries it also does not work
------------------------------after i am test using ---------------------------------------------
networkDignostic link:- http://supportforums.blackberry.com/t5/Java-Development/What-Is-Network-API-alternative-for-legacy-O...use networkDignostic to test the available transport connection
Here is the result
The Radio Signal level:-81 dBm
WIFI Signal level: No coverage
Network name: Vodafone in
Network type: GPRS
Network services: data + EDGE + voice
PIN: 27F03947
Battery: 81%
= End of network Info =.
Transport: by default (HTTP GET)
Result: failure
Answer:-1
Length:-1
URL: http://www.google.ca:80 /
Journal:Login to http://www.google.ca:80 /
Opening connection...
Error: net.rim.device.internal.io.CriticalIOException: failed criticism tunnel
= END OF LOG =.Transport: by default (Socket GET)
Result: failure
Answer:-1
Length:-1
URL: socket: / /www.google.ca:80
Journal:Connecting to a socket: / /www.google.ca:80
Opening connection...
Error: java.io.IOException: invalid url parameter.
= END OF LOG =.Transport: by default (HTTP POST)
Result: failure
Answer:-1
Length:-1
URL: http://www.google.ca:80 /
Journal:Login to http://www.google.ca:80 /
Opening connection...
Error: net.rim.device.internal.io.CriticalIOException: failed criticism tunnel
= END OF LOG =.Transport: By default (POST plug)
Result: failure
Answer:-1
Length:-1
URL: socket: / /www.google.ca:80
Journal:Connecting to a socket: / /www.google.ca:80
Opening connection...
Error: java.io.IOException: invalid url parameter.
= END OF LOG =.Transport: TCP cellular (HTTP GET)
Result: failure
Answer:-1
Length:-1
URL: http://www.google.ca:80 /; deviceside = true
Journal:Login to http://www.google.ca:80 /; deviceside = true
Opening connection...
Error: net.rim.device.internal.io.CriticalIOException: failed criticism tunnel
= END OF LOG =.Transport: TCP cell (Socket GET)
Result: failure
Answer:-1
Length:-1
URL: socket: / /www.google.ca:80; deviceside = true
Journal:Connecting to a socket: / /www.google.ca:80; deviceside = true
Opening connection...
Error: net.rim.device.internal.io.CriticalIOException: failed criticism tunnel
= END OF LOG =.Transport: TCP cellular (HTTP POST)
Result: failure
Answer:-1
Length:-1
URL: http://www.google.ca:80 /; deviceside = true
Journal:Login to http://www.google.ca:80 /; deviceside = true
Opening connection...
Error: net.rim.device.internal.io.CriticalIOException: failed criticism tunnel
= END OF LOG =.Transport: TCP cell (POST plug)
Result: failure
Answer:-1
Length:-1
URL: socket: / /www.google.ca:80; deviceside = true
Journal:Connecting to a socket: / /www.google.ca:80; deviceside = true
Opening connection...
Error: net.rim.device.internal.io.CriticalIOException: failed criticism tunnel
= END OF LOG =.Transport: MDS (HTTP GET)
Result: failure
Answer:-1
Length:-1
URL: Not available url
Journal:Ignored test: no MDS do not service records found.
Ignored test: coverage of SDM is not availableTransport: MDS (Socket GET)
Result: failure
Answer:-1
Length:-1
URL: Not available url
Journal:Ignored test: no MDS do not service records found.
Ignored test: coverage of SDM is not availableTransport: MDS (HTTP POST)
Result: failure
Answer:-1
Length:-1
URL: Not available url
Journal:Ignored test: no MDS do not service records found.
Ignored test: coverage of SDM is not availableTransport: MDS (POST plug)
Result: failure
Answer:-1
Length:-1
URL: Not available url
Journal:Ignored test: no MDS do not service records found.
Ignored test: coverage of SDM is not availableTransport: BIS - B (HTTP GET)
Result: pass
Answer: 200
Length:-1
URL: http://www.google.ca:80 /; deviceside = false; ConnectionType = m * s - pub *
Journal:Login to http://www.google.ca:80 /; * only given to the RIM ISV partners.
Opening connection...
Open connection
Definition of the properties of application...
Host: www.google.ca
User-Agent: Mozilla/4.0
Connection: close
Get the response code...
Response code: 200
Got the content length:-1 bytes
Downloading content...
Download time: 3,034 seconds
Downloaded: 37943 bytes
Closes the connection...
Connection closed
= END OF LOG =.Transport: BIS - B (Socket GET)
Result: pass
Answer: 200
Length: 38696
URL: socket: / /www.google.ca:80; deviceside = false; ConnectionType = m * s - could * c
Journal:Connecting to a socket: / /www.google.ca:80; * only given to the RIM ISV partners.
Opening connection...
Open connection
Send GET request:
"GET / HTTP/1.1".
Host: www.google.ca
User-Agent: Mozilla/4.0
Connection: close"
Downloading content...
Download time: 2,397 seconds
Downloaded: 38696 bytes
Closing connection
Connection closed
= END OF LOG =.Transport: BIS - B (HTTP POST)
Result: failure
Answer: 405
Length: 959
URL: http://www.google.ca:80 /; deviceside = false; ConnectionType = m * s - p * ic
Journal:Login to http://www.google.ca:80 /; * only given to the RIM ISV partners.
Opening connection...
Open connection
Request method POST value
Definition of the properties of application...
Host: www.google.ca
Content-Length: 1500
Content-Type: application/octet-stream
User-Agent: Mozilla/4.0
Connection: close
Display of 1 500 bytes...
Posted 1 500 bytes
Get the response code...
Response code: 405
Got the content length: 959 bytes
Downloading content...
Download time: 1,044 seconds
Downloaded: 959 bytes
Closing connection
Connection closed
= END OF LOG =.Transport: BIS - B (POST plug)
Result: failure
Answer: 405
Length: 1204
URL: socket: / /www.google.ca:80; deviceside = false; ConnectionType = m * Pei * li *
Journal:Connecting to a socket: / /www.google.ca:80; * only given to the RIM ISV partners.
Opening connection...
Open connection
Definition of the properties of application...
Envoy POST request:
"POST / HTTP/1.1".
Host: www.google.ca
Content-Length: 1500
Content-Type: application/octet-stream
User-Agent: Mozilla/4.0
Connection: close"
Display of 1 500 bytes...
Posted 1 500 bytes
Downloading content...
Download time: 2,041 seconds
Downloaded: 1204 bytes
Closing connection
Connection closed
= END OF LOG =.Transport: WAP (HTTP GET)
Result: failure
Answer:-1
Length:-1
URL: Not available url
Journal:Ignored test: no WAP do not service records found.
Ignored test: coverage WAP is not available
Ignored test: Please provide IP and APN WAPTransport: WAP (Socket GET)
Result: failure
Answer:-1
Length:-1
URL: Not available url
Journal:Ignored test: no WAP do not service records found.
Ignored test: coverage WAP is not available
Ignored test: Please provide IP and APN WAPTransport: WAP (HTTP POST)
Result: failure
Answer:-1
Length:-1
URL: Not available url
Journal:Ignored test: no WAP do not service records found.
Ignored test: coverage WAP is not available
Ignored test: Please provide IP and APN WAPTransport: WAP (POST plug)
Result: failure
Answer:-1
Length:-1
URL: Not available url
Journal:Ignored test: no WAP do not service records found.
Ignored test: coverage WAP is not available
Ignored test: Please provide IP and APN WAPTransport: WAP2 (HTTP GET)
Result: failure
Answer:-1
Length:-1
URL: http://www.google.ca:80 /; deviceside = true; ConnectionUID = WAP2 trans
Journal:Connection http://www.google.ca:80 /; deviceside = true; ConnectionUID = WAP2 trans
Opening connection...
Error: net.rim.device.internal.io.CriticalIOException: failed criticism tunnel
= END OF LOG =.Transport: WAP2 (socket GET)
Result: failure
Answer:-1
Length:-1
URL: socket: / /www.google.ca:80; deviceside = true; ConnectionUID = WAP2 trans
Journal:Connecting to a socket: / /www.google.ca:80; deviceside = true; ConnectionUID = WAP2 trans
Opening connection...
Error: net.rim.device.internal.io.CriticalIOException: failed criticism tunnel
= END OF LOG =.Transport: WAP2 (HTTP POST)
Result: failure
Answer:-1
Length:-1
URL: http://www.google.ca:80 /; deviceside = true; ConnectionUID = WAP2 trans
Journal:Connection http://www.google.ca:80 /; deviceside = true; ConnectionUID = WAP2 trans
Opening connection...
Error: net.rim.device.internal.io.CriticalIOException: failed criticism tunnel
= END OF LOG =.Transport: WAP2 (POST plug)
Result: failure
Answer:-1
Length:-1
URL: socket: / /www.google.ca:80; deviceside = true; ConnectionUID = WAP2 trans
Journal:Connecting to a socket: / /www.google.ca:80; deviceside = true; ConnectionUID = WAP2 trans
Opening connection...
Error: net.rim.device.internal.io.CriticalIOException: failed criticism tunnel
= END OF LOG =.Transport: WiFi (HTTP GET)
Result: failure
Answer:-1
Length:-1
URL: Not available url
Journal:Ignored test: WiFi coverage is not available
Transport: WiFi (Socket GET)
Result: failure
Answer:-1
Length:-1
URL: Not available url
Journal:Ignored test: WiFi coverage is not available
Transport: WiFi (HTTP POST)
Result: failure
Answer:-1
Length:-1
URL: Not available url
Journal:Ignored test: WiFi coverage is not available
Transport: WiFi (POST plug)
Result: failure
Answer:-1
Length:-1
URL: Not available url
Journal:Ignored test: WiFi coverage is not available
Thank you peter and jovinz
I think I have problem in httpconnectionfactory with several url parameter, as peter says
so now I have usr post url as the code below
public static void CheckConnection() { HttpConnection hc=null; try { //Wifi Connection if ( (WLANInfo.getWLANState() == WLANInfo.WLAN_STATE_CONNECTED) && RadioInfo.areWAFsSupported(RadioInfo.WAF_WLAN)) { ConstantData.postURL=";interface=wifi"; return; } //for BES or MDS Connection if(CoverageInfo.isCoverageSufficient(CoverageInfo.COVERAGE_MDS)) { boolean connectionFlag=false; String post_url; //for BES Connections post_url=""; try { hc = (HttpConnection) Connector.open("http://www.rim.com"+post_url,Connector.READ_WRITE); if(hc.getResponseCode()==HttpConnection.HTTP_OK) { connectionFlag=true; ConstantData.postURL=post_url; return; } if(hc!=null) hc.close(); } catch (Exception e) { System.out.println(e.toString()); connectionFlag=false; } //for MDS Connection if(!connectionFlag) { try { post_url = ";deviceside=false"; hc = (HttpConnection) Connector.open("http://www.rim.com"+post_url); if(hc.getResponseCode()==HttpConnection.HTTP_OK) { ConstantData.postURL=post_url; return; } if(hc!=null) hc.close(); } catch (Exception e) { System.out.println(e.toString()); } } } //for BIS Connection if(CoverageInfo.isCoverageSufficient(CoverageInfo.COVERAGE_BIS_B)) { //BIS Connection String post_url = ";deviceside=false;ConnectionType=m**-pu***c"; try { hc = (HttpConnection) Connector.open("http://www.rim.com"+post_url);//Connector.READ_WRITE if(hc.getResponseCode()==HttpConnection.HTTP_OK) { ConstantData.postURL=post_url; return; } if(hc!=null) hc.close(); } catch (Exception e) { System.out.println(e.toString()); } } //for WAP Connection if(CoverageInfo.isCoverageSufficient(CoverageInfo.COVERAGE_DIRECT)) { //for WAP Connection String post_url = null; ServiceBook sb = ServiceBook.getSB(); ServiceRecord[] records = sb.findRecordsByCid("WPTCP"); String uid = null; boolean connectionFlag=false; for(int i=0; i < records.length; i++) { if (records[i].isValid() && !records[i].isDisabled()) { if (records[i].getUid() != null && records[i].getUid().length() != 0) { if ((records[i].getUid().toLowerCase().indexOf("wifi") == -1) && (records[i].getUid().toLowerCase().indexOf("mms") == -1)) { uid = records[i].getUid(); break; } } } } if (uid != null) { post_url= ";deviceside=true;ConnectionUID=" + uid; } try { hc = (HttpConnection) Connector.open("http://www.rim.com"+post_url); if(hc.getResponseCode()==HttpConnection.HTTP_OK) { connectionFlag=true; ConstantData.postURL=post_url; return; } if(hc!=null) hc.close(); } catch (Exception e) { System.out.println(e.toString()); connectionFlag=false; } if(!connectionFlag) { post_url=";deviceside=true;apn=blackberry.net"; try { hc = (HttpConnection) Connector.open("http://www.rim.com"+post_url); if(hc.getResponseCode()==HttpConnection.HTTP_OK) { ConstantData.postURL=post_url; return; } if(hc!=null) hc.close(); } catch (Exception e) { System.out.println(e.toString()); } }} } catch (Exception e) { e.printStackTrace(); } finally { try { if(hc!=null) hc.close(); } catch (IOException e) { System.out.println(e.toString()); e.printStackTrace(); } } }
so now its works on WAP2, BIS and the WIFi works fine
the first issue of priority celluler TCP post code is also more WAP2 then
Thus, each transport time select TCP when BIS, WIFI not presend and need for apn
in any case, once again, thank you Peter and demo tools network dignostic is awasome...
-
How can I set up an ad-hoc connection without wifi connection
I tried many things but I m failed.i just want to create a hotspot. When I click on configure connection ad it show windows can't detect all wireless network interfaces. Please give me an idea. If it would never be possible to create ad-hoc without wireless line can you give me how to share my internet connection to broadband with the other device. but I don't have any what router, I have installed connectify but it failed coz its expensive, I used the virtual router that also, it did not work.
Hi Sahid,
Ad hoc networks can only be wireless, so you must have an adapter installed in your computer wireless network to put up or join an ad hoc network.
Check out the link for details on computer-to-computer (ad hoc) network:
http://Windows.Microsoft.com/en-us/Windows/set-computer-to-computer-adhoc-network#1TC=Windows-7
I would be grateful if you can help us with the following information related to the query:
- What kind of services to wide band internet connection are you trying to share with other devices? (Mobile broadband, Ethernet or wireless)
- What are the devices that you want to share the connection? (Mobile devices, laptops, desktops)
On Windows 7, you can share the internet connection between multiple computers using technology (ICS) ICS Internet.
For reference, you can check the link for how to configure ICS:
http://Windows.Microsoft.com/en-us/Windows/using-Internet-connection-sharing#1TC=Windows-7
Please get back to us with more information related to the internet connection for solve the problem better.
-
HP Deskjet 3055 has the Macbook Air without wifi connection
To make the HP Deskjet 3055 has for my son for the University. They use an Ethernet connection over wifi and so it would probably be to connect your Mac to the printer using the USB cable instead. What sounds right and I have reason to think that cable he would need is included in the box of the printer?
Hello
That is right. The printer does support wireless or USB and not wired Ethernet. The cable comes in the box.
-
X100e after reinstall without wifi connection
Hi Volks,
I have a new x100e on my desk. After having trouble with the lenovo default installtion, I thought I have to reinstall the operating system. After that everything works without problems, only the WLAN would not come to the top. I installed the necessary drivers using systemupdate. Installtion itself works without errors or messages. I also installed the tool button f lenovo and Access Manager... However, whenever I try to enable the WLAN by pressing FN + F5, I can't. I push the button Activate WLAN von but nothing happens and the State will not from off to on, it is always always off. Also, I can't find any point of access around me. I spent over 8 hours and then to get this working without success, any information is appreciated.
Info:
Lenovo X100E
2 GB OF RAM
Type: 2876
OS: Windows 7-32 bit - German (Virgin installation)
Greetz,
Matthias
Hello again,
It is fixed, was a stupid thing, I am absolutely sure that I never get into the BIOS - but the wireless interface is disabled in the BIOS...
After activate in the BIOS the wireless works fine...
Greetz,
Matthias
-
Can I just share my photos via ATV iPhone without internet connection?
Hi, I am looking to use my iPhone 5 s to display a slide show on my monitor via ATV, but its at a remote site without Wifi connection. All images are stored remotely on the iPhone. Will be my iPhone still pair for Airplay, just use my Hotspot connection? Thank you
The simplest thing to do would be to use a lightning of Apple to the HDMI connector and switch the ATV.
If you follow the path of the ATV, you need a Wifi network to allow function Airplay. You can use a hotspot to support this.
I suggest that you try the hotspot at home by connecting ATV and see what happens.
I personally bought the adapter and try that as well. If you don't finish like the solution of the adapter, the Apple Store has a 14 days with no questions return policy.
-
I have a wireless network with my Time Capsule, but also I have an old computer without wifi capability. Is it possible to share the connection to this computer that connects an airport express (model A1264) to extend it and the computer thought that the ethernet port on the Airport express?
Thank you.
Yes
-
Establishment of a network without internet connection wifi
I'll set up a wifi network in a place WITHOUT an internet connection.
I have an Airport Express to the location and my MacBookAir.
I have a Samsung smart TV in the place and I would like to use it to watch the content on my laptop (iTunes and elements in the movies folder), but can't find a way to do it. I tried an AppleTV 3rd generation, but which will not work because it requires an internet connection to complete upward. I'm not having luck with Airplay or mirror screen either. I tried a Thunderbolt/HDMI converter and I can get the picture on the TV, but the sound comes through my laptop. It is annoying because the TV is connected to a decent sound system.
The TV has two HDMI ports, one for the cable/satellite and one for a DVD player (MHL / DVI). It also has an ethernet port and a USB port.
I would like to * fine * want to stream from my laptop to my TV, but if I can't do that, I'll do it, installs for all cable set up will get the video and audio into the TV. Y at - it a box of streaming that doesn't require Internet?
Welcome suggestions, especially if they are in basic English, I'm really bad at the net jargon.
Thanks in advance!
You can be very sure that other people have tried.
Solution of workaround for apple tv without an internet connection?
Just using a tethered phone or even dial-up internet so that DRM can work would help.
A lot of blogs on this topic and a lot of useful info in some of the answers.
Y at - it a box of streaming that doesn't require Internet?
Loads of them... look for the Plex.
The problem is (most legitimate at least) media sources tend to put a priority on the establishment of copyright law.
I tried a Thunderbolt/HDMI converter and I can get the picture on the TV, but the sound comes through my laptop. It is annoying because the TV is connected to a decent sound system.
Switch sound on hdmi.
Again, you are not the first to have the problem... loads of experience if you googled around to find out how to get his work... or if the laptop is a model then it might be impossible.
Apple makes things difficult when you don't have internet... it is just to have a tethered phone and really just do the little bit of work involved in the installer... or the same 56 Kbps dial-up modem.
-
I work for an agency after the output of devices in our production environment, the IPad can be connected to wifi or an instance connected to iTunes. I want to update these devices, but as you can see in my first sentence the traditional way is not allowed from a security point of view. Any help would be greatly appreciated.
Care - Apple IPad Air (1st generation)
-in the course of running IOS 6.1.6
-put to update to the current version
Windows based ITunes (ready to use the version that is never recommended)
There is a conflict here:
-or an instance connected to iTunes
-Windows based ITunes (ready to use the version that is never recommended)
The second sentence implies that you intend to update via iTunes which is in conflict with the first part.
What is the problem? You want to update the devices. You can update without wifi. There are two ways without wifi: cable ethernet or usb to a computer.
{It is not a coincidence. You can connect via ethernet cable.
connect the ipad to ethernet }
You must be careful with updates. You can't go back after the update. The importance is the iPad to your operation? You can just buy a new ipad and Exchange once you think you have this work.
R
-
How to do an http Basic by wifi connection just without data plan?
Ok. Here's the situation: I have developed an application that makes a connection http Basic (connector.open (url)). It woks fine on Simulator course since it uses the mds Simulator. I'm targeting os 5 and above. Now I started to test on the actual device (curve 9300). The real problem is how can I go out with just a default connection. I mean a generic that doesn't care what type of transport, the phone has and uses only the default. As you know has 9300 WiFi. So hopefully I should be able to connect using my wifi at home. On the phone, I can establish connection wifi fine. The phone's browser do not allow through well. He complains: (error! wifi detected...) We are not able to authenticate you as you are not currently a Rogers... Please turn off your wifi connection, and launch your browser to try again). Well, if it means that I'm not on Rogers, it is not correct, as my base phone package is with Rogers, the SIM set in the phone. I tried his suggestion and of course, it does not work!
What encourages me that it should work in principle, but I have two phone applications (Opera mini and google map) who are able to go online and make the connection.
I tried to use a combination of parameters attached to the url, as follows:
1. just by default without any parameter
2 - deviceside = true
3 - deviceside = true; = wifi interface
I also experimented with different options on options tcp apn:
1 disabling APN setting
2-activation parameter APN with internet.com, with comments from user and password
setting of AFN 3 activation internet.com with wapuser1 and wap for the user name and password.
To "manage connections", I have the following question similarly checked:
-Network mobile Rogers...
Dlink_RezaNetwork - Wi - Fi...
-BlueTooth feature is disabled
I wonder out exactly the Mobile network connection? I guess that's my basic phone plan puts online. I will be happy if that's the case for my app by there rather than the wifi connection if that is indeed what Opera mini and google map. But sorry to disappoint you, because even if I disable the first connection (i.e. Mobile network Rogers...) I am still able to use these two apps without problem! It makes me happy because it difinitely says I should be able to go online using only my wifi without data plan!
On connection icons at the top of the phone to the right, I see the following
Rogers - dlink.RezaNetwork 3 G (icon of the resistance)
WiFi
As you can see, my phone is connected to the wifi in my house.
Anyway, after all this detail, anyone know if there is a solution to this problem? I mean google map and Opera Mini are able to go online without problem.
In full respect, please don't refer me to read this or that doc I did those before you come and ask questions. But even if there is a doc that you think really go to address above concerns more precisely I'll gladly read
I use eclipse for development and just well on Simulator.
This is the result I get when I run the app through the eclipse on the device:
(1) for the case when only a Wifi connection is enabled on the device connector.open (url) is called with no additional parameters, I get the error: net.rim.device.internal.io.criticalioexception: required radio isn't avtive.
(2) for the case with wifi interface parameter defined as follows:
String connStr = _theUrl + "; interface = wifi. "
s = (connStr) Connector.open (StreamConnection);
HttpConnection httpConn s = (HttpConnection);
InputStream input = s.openInputStream ();There is no error reported, even though I capture all the exceptions of open(). But the stream returned is always empty!
Thanks again.
Just an update:
The problem took over the redirect. It was a subject, I admit, I was quite familiar with. So, once read on responses from http status, the solution was easy. Also is it possible to simply use the wifi connection for http connections in the code. The build in the browser is another story and it depends on how the connection preferences are managed internally by the os and carrier I suppose, but lance in the code browser works very well, with just wifi traffic.
-
Location without WiFi services
Say I want Siri to tell me the time (or some other geo-referenced information). According to reports of Siri, that he can't tell the location of my computer without WiFi. But my computer connects to the Internet via ethernet. How can I solve this problem and 'teach' Siri my location?
MJH
Location Services only works via Wi - Fi.
-
"Secure connection failed" that occur on the growth of number of sites, v40.0.2
I'm on a Mac network and many of us become "secure connection failed: the page you are you are trying to view are not visible because the authenticity of the received data could not be verified." This number of sites displaying this error increases. It was just Wikipedia.org at the beginning, but now I can't access Mozilla.org! I have tried virtually all solutions that have worked for others, without success, including:
-Uninstall of Firefox and install the 40.0.2 version
-setting 'security.tls.version.fallback - limit' 0 or 1
-setting in "security.tls.version.max" to 0 or 1
-disable the 'security.ssl3.dhe_rsa_aes_128_sha' and 'security.ssl3.dhe_rsa_aes_256_sha '.
-Uninstall and creating a profile
-Check without plugins or add-ons are causing the problem
-Refreshing Firefox
And probably others I don't remember. I wish I could put more details browser, but can't because I can't get on Mozilla with Firefox. Please help and thank you very much!
Which site gives you inappropriate alert rescue - the main www (https://www.mozilla.org/) or this support site? Or is this only a problem when you use a partial domain that redirects, such as https://mozilla.org/?
Both this site and the www site use TLS 1.2, so Firefox does not need to return to TLS 1.0 in both cases. In addition, Firefox should have no problems connecting to Wikipedia.
It seems that you do not have a direct connection, there is a proxy server or something else between you and the site or malware.
If it's common throughout your network, it might be a common agent or something wrong with the router/firewall.
-
Update of Adobe Reader, Shockwave Flash and Java used to be so easy... until a year ago. Now, I hate when I run the Plugin Firefox check, only to see the UPDATE. I seem to be able to download ("initialization") the app, but when I go to INSTALL (I hope I have the right words), it indicates that the CONNECTION FAILED. Try again. THE CONNECTION HAS FAILED. CLICK FINISH TO RESTART THE INSTALLATION PROCESS. It became a cycle without end I contacted my internet provider (and going through their process of reboot) I'm connected to the Internet. I disabled my anti-virus prgm and my firewall; nothing seems to help. Last time I could actually INSTALL one of the programs/applications above, I did it with the help of ' solving problems when you use Firefox "... and who let me download,... but I can't find a selection like this now... it's why I write for Firefox/Mozilla.
I have been using Firefox for about 5-6 years now, and I love it! Except for these issues. I'm not a dummie, but not a geek either... I just need help.- See Flash Plugin - maintain and troubleshoot
- Use the adobe page
http://www.Adobe.com/software/Flash/about/
At the same time check the version installed, and which is the latest available versions.
You have a version 17 for what is very recent and are perhaps the most recent and up to date. The latest version is currently 17.0 v. 0.188
There may be some small problem with the auditor to update Firefox rather than with your updates.
- The Firefox Plugin checker is available in the page manager addons or use this link
Mozilla.org/pluginCheck/
-
Question very similar to this, https://support.mozilla.org/en-US/questions/1056423. Am able to go to http://www.independentagent.com , then when you click on the link "sign" (which redirects to https://sso.iiaba.net/login.aspx?sid=xxx) this error indicates:
The secure connection failed
The connection to the server was reset while the page is loading.
The page you are trying to view cannot be shown because the authenticity of the received data could not be verified. Please contact the website owners to inform them of this problem.
I went through the area of the sso.iiaba.net https://www.ssllabs.com/ssltest/analyze.html?d=sso.iiaba.net and it advises a few warnings, but gives the site an overall rating of B.
- Fixed. As noted, we were supporting former ciphers. We dressed and had recourse to the list of encryption and now we get an A on the analysis of ssllabs.com . Firefox does now, no problem. I wish the original error message was more descriptive.
The site may attempt to return to TLS 1.0 in a way that is no longer allowed in current versions or maybe use a deprecated suite of encryption.
You can open the topic: config page through the address bar and use the search bar to locate this pref:
- Security.TLS.insecure_fallback_hosts
You can double-click the line to edit the prefs and add the domain (sso.iiaba.net) to this preference.
If there are already websites (domains) in this list, then add a comma and the new domain (without space).
You should see fields separated by a comma in the value column.- https://developer.Mozilla.org/en-us/Firefox/releases/36/Site_Compatibility#security
- https://developer.Mozilla.org/en-us/Firefox/releases/37/Site_Compatibility#security
This site uses the encryption algorithm RC4 for the encryption, which is obsolete and little course. Login.aspx
This site uses a SHA - 1 certificate; It is recommended to use the certificate with the signature algorithms that use stronger than SHA - 1 hash functions. [Learn more]
Maybe you are looking for
-
This software works with the pencil of apple
I have a pencil to Apple, this software works with it and it can be used with MS Word?
-
Updates to Windows XP KB2572053, KB2539631 and KB2518864 will download but will not install
Windows KB2572053, KB2539631 and KB2518864 will download but will not be installed. This blocks all Windows XP updates
-
My e280 won't turn on and is not recognized by my computer
A while ago, I add me new music to my 8GB e280 version 2. I didn't know that the space was needed for a database, so I continued to add and Add. I thought that if I could not add more, a pop-up message box and tell me that I had no more space. I was
-
HP Mini 110-1197TU: HP Mini 110-1197TU error fatal system stopped
Recently, I turned on my computer HP Mini 110-1197TU netbook will be presented with a password prompt. After failing the password 3 times, I got a message on a fatal error system stopped and code CNU9393DPK. How to reset this password or recover my n
-
problem with the activity indicator
Hi, I can show activity indicator. But the problem is that I do not know how to deal with another task. I have a screen that show activity indicator and then the application displays this screen is run an initial process to build the database in the