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.

Tags: BlackBerry Developers

Similar Questions

  • How to increase the strength of a WiFi connectivity

    original title: problems with WiFi connectivity...

    OK, here's my problem. I currently rent an apartment on the ground floor in the same House as my owner. They have wifi. They also gave me the code to enable my PC pick up their wifi as a benefit included in the rent. However, sometimes, the signal strength is severely lacking and my connection is less favourable. Anyway I can increase the strength of my wifi even if the connection is through my landlord upstairs from me?

    Probably not.  You can try to move your computer to a different location.

  • BlackBerry smartphones can not connect to internet by wifi when stop the data plan

    Hello
    I use a Blackberry M1, provider of Singapore internet service.

    To manage the use of the data, I turn off the data plan across mobile networks, but then I also cannot wireless internet. Why is this?

    Furthermore, how to manage the use of the data? I want to use the service plan when I need to minimize the use of the data, because I only have 1 GB for free a month.

    Thank you.

    If a good Wi - Fi signal and a network connection is available, your phone uses by default the Wi - Fi connection automatically IF this connection remains strong.  If your phone is having trouble maintaining in this regard, it will return to your network connection and exhaust your monthly data allowance.

    What about applications that can monitor your usage, someone else will have to intervene with a response.  Your carrier should have something available to monitor the use of your data.  Calling it couldn't hurt.

    I hope that clears things up for you.

  • An other 'Wifi without data plan"blackBerry smartphones Question - Rogers Canada

    Hey guys, I'm new to this forum and blackberries in general... Please bear with me.

    I am a student. Currently, I have a voice plan base on a LG Xenon with Rogers in the Canada. It includes minutes and unlimited texting. Enough for me.

    I am looking to buy a Blackberry Curve 3 G/9300 off someone. I just want to throw my SIM in there so I can use my normal plan with the phone. My understanding is that I can phone Rogers and tell them to block all data, if I get no charge on my Bill. Fine. However, I also understand that the 9300 is a wi - fi phone.

    Let's say that I get the 9300, contact Rogers and tell them to block all data on my plan.
    Can I still use my browser in a Wi - Fi hotspot? How should I do? (I know that I read somewhere that you need to configure to be about to access and not talkspot... If someone could help me with this that would be great).

    Also, I read that, so that I am still able to use a wi - fi connection, I need to have data 'on' in the phone. If the data is 'on' in the phone, but I've blocked data with Rogers, can I still use a wi - fi connection? This would prevent the costs of data on my Bill?

    In addition, I understand that I will not be able to receive multimedia messages without a data plan. Once again, if I'm in a wi - fi hotspot... Can I receive these messages from photos?

    I'm sure it's a question very well known and well hated to you all and I'm really sorry to ask, but I just need some clarification. I don't want to be stuck with a big Bill with I ever intend on paying data charges. If someone could help me with this, I would really appreciate it.

    Thank you very much!

    Stefanie

    stefspeaks wrote:

    Hey guys, I'm new to this forum and blackberries in general... Please bear with me.

    I am a student. Currently, I have a voice plan base on a LG Xenon with Rogers in the Canada. It includes minutes and unlimited texting. Enough for me.

    I am looking to buy a Blackberry Curve 3 G/9300 off someone. I just want to throw my SIM in there so I can use my normal plan with the phone. My understanding is that I can phone Rogers and tell them to block all data, if I get no charge on my Bill. Fine. However, I also understand that the 9300 is a wi - fi phone.

    Let's say that I get the 9300, contact Rogers and tell them to block all data on my plan.
    Can I still use my browser in a Wi - Fi hotspot? How should I do? (I know that I read somewhere that you have to configure it to be on the verge of access and not talkspot... If someone could help me with this that would be great.) Simply choose hot browser OEPM.

    KB16463 - how to change the default browser on a BlackBerry smartphone

     

    Also, I read that, so that I am still able to use a wi - fi connection, I need to have data 'on' in the phone. If the data is 'on' in the phone, but I've blocked data with Rogers, can I still use a wi - fi connection? This would prevent the costs of data on my Bill? Rogers could see your phone and charge you for a plan anyway. AT & T to do this, if you add in a smart phone with out telling them.

    In addition, I understand that I will not be able to receive multimedia messages without a data plan. Once again, if I'm in a wi - fi hotspot... Can I receive these messages from photos? No only simple navigation cannot be made and Pandora can be used in mode Wi - Fi.

    I'm sure it's a question very well known and well hated to you all and I'm really sorry to ask, but I just need some clarification. I don't want to be stuck with a big Bill with I ever intend on paying data charges. If someone could help me with this, I would really appreciate it.

    Thank you very much!

    Stefanie

  • YouTube is not load videos on WiFi, OR my mobile data plan

    Galaxy Note 3. Firefox is updated. Real Player is not installed.

    YouTube won't play videos. Alls I get when I click on the play button, is a black screen.

    I tried to update flash, but Adobe says that Flash is not available for my Android device. ?

    When searching for 'flash' or 'flash player' via Mozilla Add-ons, there is no result.

    How to fix? Thank you

    Videos YouTube should open the YouTube app, if you talk about youtube.com

  • keep loswing wifi connection withoutwarning without apparent reason

    I keep losing my connection wifi with warning. things I've tried: changing the channel on my router, change epower e options on my economy wireless options. Please help do not know what else to do

    Hello Ksin091,

    Thank you for the question!

    I'm sorry to know that have problems you with a Wi fi connection. As I understand it, you lose the WiFi of the signals on the computer.

    I need to ask you some questions to help you best.

    1. What is the brand and model of the router?

    2. the problem persists via a wired connection?

    3. which browser is installed on the computer?

    Perform the steps in the link and check.

    Windows wireless and wired network connection problems 

    Answer to us if you are having problems with the connections wireless or any other issue of Windows, and I'd be happy to help you again and try to correct the problem as soon as possible.

    Good day!

    Hope this information helps.

  • How to get the everypageitems up, down, let's just without selecting values

    Hi all

    Is it possible to find all values for top, left, right, bottom without selecting this particular pageitems PageItems in a script.  Already, I had by Visual basic. But without selecting the particular pageItem, I couldn't get the value. If I select the particular pageitem via loop I can easly get it. Kindly advice me the possibilities and the solution.

    Thanks for looking into this...

    Hello

    Not exactly what you are looking for. But you could bring together the left, top, right and bottom values of each element of the page and store them in the array like this (using javascript):

    myPathPos = new Array();

    myDoc = app.activeDocument;

    for (i = 0; i

    myPath = myDoc.pageItems [i];

    myPathPos [i] = [myPath.left, myPath.top, myPath.left + myPath.width, myPath.top - myPath.height];

    }

    Then extract them with myPathPos [0] [1], for example, which will give you the value of the first pageItem in your document.
    See you soon
  • A720 Wifi connection

    Hello

    How do I activate the A720 Lenovo WiFi connection with 5 GHz.?

    Kind regards

    Hi yousef_z,

    What wireless card you have in your system?

    Is that what this Broadcom BCM4313:

    https://www.Broadcom.com/products/wireless-connectivity/wireless-LAN/BCM4313

    Or the Realtek RTL8188CUS:

    http://www.Realtek.com/products/productsView.aspx?langid=1&PFID=48&level=5&Conn=4&ProdID=274

    Both of these cards are 802.11b/g/n, which means that they only operate in the 2.4 GHz band.

    If you want or need to use the 5 GHz band, you can buy a USB wireless adapter for it. They do not cost much more. Just search for "usb 5 ghz wireless adapter" on your favorite computer store, and you'll see there are a lot of options.

    See you soon

    DragonRider

  • Work bbm blackBerry Smartphones doe wifi without a data plan service active

    DOE bbm work over wifi without a data plan service activated

    Without data plan, no BBM service will work (other then Voice SMS n).

  • How can I config multiple basic HTTP authentication in a casting of BPEL

    I read Edwin's blog on SOA suite with HTTP Basic authentication. http://Biemond.blogspot.com/2010/08/HTTP-Basic-authentication-with-SOA.html. I tested as it said and it worked. However, I wonder, if there are several services that need different basic HTTP authentication, how can I do that? I checked the security token, it is not something as a reference or a name that I can put the match in the configuration of the OM credentials. Thank you.

    read the comment just below the post that explains how to proceed by reference. the only thing you need to do is add a reference by the different credentials.

  • How can I reset the old my wife's phone so I can use it and she can not remember any password or ID

    How can I reset the old my wife's phone so I can use it and she can not remember any password or ID

    Here are instructions, but she will need to recover his password: what to do before you sell or give away your iPhone, iPad or iPod touch - Apple Support

    Help find the ID and the password: https://iforgot.apple.com/appleid#! & section = appleid

  • How can I set up a wifi connection?

    Programs Application Applications Apps game games Legacy Crash crashes Hang Application Compatibility hangs

    How can I set up a wifi connection

    Hello jamesjones882

    Please see the link below for setup of wireless networks. Thank you.

  • How can I get the Basic for Windows Media Player codec pack?

    original title: green screen recently started in windows media player for Vista 64-bit.

    It works very well for some videos (like those recorded uncompressed, or some codecs) but a single codec that I save it as coming out of Sony Vegas (Windows Media video V11) goes green screen with playback of the sound. How can I get the basic for 64-bit Windows Media Player codec pack? It worked perfectly for several years now on this machine. Suddenly, it does not work. Last time that I used it very well if a few months ago.

    Hi, MisterMark67,

    What changes have been made recently to the computer?

    Have you tried a system restore to a time before this problem?

    Here are answers to some common questions about codecs.

    http://Windows.Microsoft.com/en-us/Windows-Vista/codecs-frequently-asked-questions

    Windows Vista Codecs Pack base 10.04 (32-bit & 64-bit codecs)

    http://www.x64bitdownload.com/downloads/t-64-bit-Windows-Vista-codecs-pack-basic-download-wmzypreu.html

  • How programmatically check Sim is present or not & wifi(data plan) exists or not

    Hello

    In my application, I need to test the following things.

    1 State radio and outside.  2 Sim is present or not 3. WiFi(Data plan) is available or not.

    to check the status of the radio I check the sub condition.

    If (RadioInfo.getState () == RadioInfo.STATE_ON |) RadioInfo.getSignalLevel ()! = RadioInfo.LEVEL_NO_COVERAGE)

    with that how can I check 2.3 also...

    simple snipeet pls...

    Check it for sim card:

    http://supportforums.BlackBerry.com/T5/Java-development/check-for-SIM/m-p/92511/highlight/true#M1029...

    Check it for WIfi: (the last post of sply.)

    http://supportforums.BlackBerry.com/T5/Java-development/checking-if-WiFi-is-available/m-p/619986/HIG...

    I hope they help!

  • How to check if device supports for wifi or not?

    Hello

    I want the code for the wifi and mobile network... If wifi is available then want to go throgh wifi (= wifi interface). How do I know peripheral support for wifi?

    Take a look at this article.

    How to determine if a BlackBerry smartphone takes in charge the features Wi - Fi which is-

    http://www.BlackBerry.com/knowledgecenterpublic/livelink.exe/fetch/2000/348583/800332/832062/How_To _...

    Concerning

    Bika

Maybe you are looking for

  • HP5740e all-in-one: Deputy HP5740e Print will not add wireless printer

    I recently had a problem where printing of pdf documents is out as unreadable solid ink lines. I have it narrowed down to only occurs with specific policies and only a reader of pdf special and only on my hp printer. I suspect that this was due to so

  • Satellite A50: DVD player does not read DVD only CD

    On my Satellite A50 DVD drive can only read CDs now but not DVD. So I'm not able to use the recovery disc.My BIOS is up to date, I think.

  • viOpen suspended on Linux (returns close 0x3fff0082)

    Hello I run an application on Linux that uses NI Visa to talk to a device compatible 488.2 using a TCP/IP socket. Control and status of the unit is generally very good, but we met a strange behavior for 2 causes of error. Case 1: We unplug the Ethern

  • Exit code of CreateProcess for WinRar different in SP2/SP3 and 7

    Hi all I am new to windows programming and wrote a small utility with mingw, which will unrar a package. The code is as below Description: When the sub program is run, the results are as follows XPSP2 32-bit and Windows 7 "Détarer" operation: success

  • BlackBerry Smartphone 8330 keyboard lock

    Hello I have a Curve 8330.  During the holidays, I received a phone call, when I tried to answer the BB would have not answered any of the keys.  It seems to be completely locked, none of the function keys, the phone or trackball keys no matter what.