Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Java Development

Reply
Developer
Posts: 430
Registered: ‎06-22-2010
My Device: na
My Carrier: blackberry developer

Re: 403 error code while making HTTP Connection

Yes it connects to wifi

Developer
Posts: 430
Registered: ‎06-22-2010
My Device: na
My Carrier: blackberry developer

Re: 403 error code while making HTTP Connection

To help you in identifying the rpoblem better,whne i do this

 

if( (CoverageInfo.isCoverageSufficient(CoverageInfo.COVERAGE_MDS) )){
System.out.println("MDS---");
}
if( (CoverageInfo.isCoverageSufficient(CoverageInfo.COVERAGE_BIS_B) )){
System.out.println("BIS_B---");
}
if( (CoverageInfo.isCoverageSufficient(CoverageInfo.COVERAGE_DIRECT) )){
System.out.println("TCP---");
}

 it prints both BisB and TCP inspite of my APN settings being disabled

Developer
Posts: 430
Registered: ‎06-22-2010
My Device: na
My Carrier: blackberry developer

Re: 403 error code while making HTTP Connection

i have even tried with connecting to google,when apn is set i get 200 response code,but when its not set i can 403 error code.I have verified with two different sims,but same issue persists