Socket/http issue in an own application

Hello!

First of all - great forum! I learned a lot

I am developing an app for the storm which at first should only looking for a content of a web page. Everything else comes when it works. I know there is a sample of httpFetch in the JDE, I tried, but I can't get it to work.

I played a bit with the other d socketDemo examples I found, but I think that this is not a problem with the code.

This is the problematic part of my code:

String url = "http://" + myIP + "; deviceside = true;

connection = (StreamConnection) Connector.open (url);<---breaks at="" this="">

HttpConnection httpConn = (HttpConnection) connection;

I tried different things in Options-> advanced-> TCP/IP Options, it is not serious. In addition, 3rd Party Applications as the BOLT browser work. It's very confusing to me!

Any ideas?

Not tried OF Vodafone, but I guess it's similar to Vodafone UK and the results you see do not match what I see here in the United Kingdom.

I assume you've tried the apn = blackberry .net Simulator TCP parameters.  I would not have expected it works.

The real APN setting for Vodafone that I found are

APN: web.vodafone.de
user: vodafone
Password: vodafone

I don't think you have actually tried, so I don't think you have actually tested direct TCP.  The settings that you tried seem to be WAP 1.0 settings.

WAP 2 UID seems valid, so this criterion should have worked.

However I suspect that there is a problem with the URL you are trying to use.  Remember that the URL that you use during the test on a device, must be accessible to the Internet.  Is this the case?

Finally with regard to the BIS-B, it will be used by default, and you must become a member of the alliance to use.

Tags: BlackBerry Developers

Similar Questions

  • iTunes can't recognize their own applications and can't seem to sync my iPad by itself is

    iTunes can't recognize their own applications and can't seem to sync my iPad by itself either. It seems that, once Steve Jobs is dead the iTunes team said to themselves, ' Finally! We can screw this up like we always wanted to do without guidance or the reason behind us! "Does anyone have any input that would help me get back on the track, or I'd still appreciate an alternative to it. He did nothing but go straight downhill at high speed since Steve died.

    < re-titled by host >

    Rhaptor wrote:

    iTunes can't seem to recognize its own applications,

    What "applications"? iTunes is a unique application.

    and can't seem to sync my iPad by itself either.

    The iPad sync to iTunes. The iPad does not synchronize with itself...

    Looks like a time that Steve Jobs is dead

    You had intrigued me until this silly statement...

    Someone at - it an entry that might help it back on track

    What kind of input do you need?
    What's wrong?

    He did nothing but go straight downhill at high speed since Steve died.

    Maybe you should move to another platform with a responsible life.

  • How to detect the upgrade of our own application

    Hi, expert,

    We use the CodeModuleListener to detect any deletion of the application and the addition. If our request is deleted, we get the removal of module for our own application, then we'd work dé - a correct initialization. However when our application is upgraded, we would get the deletion of the module for our own application as well, so we would trigger of - initialization, falsely, that is really not desirable.

    Right now, we allow the upgrade through our own UI instead of the browser as our own UI upgrade would be made necessary by a specific menu and we know that an update will happen.

    However the upgrade via browser, we do not remove current module comes from our application upgrade or remove our application by users. Just wonder if there is anyway to detect our own upgrade of the application.

    Furthermore, permanent storage objects are not deleted during upgrade of the application and will be removed during the removal of the application, which is the expected behavior. It's just, there are some extra that we have informed our server during the removal of the application.

    Hi fold.
    It seems that now I am being misunderstood...
    I wanted to say that you must create a new application that will install your original application and the download link would point to the new application.
    In this way, users will download the new app (the Installer) and he will decide that this is a new installation or an upgrade for your initial application.

  • How to apply the StringPattern only to my own application?

    Hi Experts,

    I tried the ZipCodeLook sample, but when it is installed, the model applied to applications (for example, the messaging app).

    I need to apply templates to ActiveRichTextFields of my own application, but not to affect other applications.

    Is there a way to do this?

    Thank you.

    Finally, I found a work around, which can only show the menu in ActiveRichTextField to my app, but not others. How ever, the game would still highlighted in another application, but when you click, it would not show your menu item.

    The job is very simple:

    1. create a closed custom called MyActiveRichTextField, which simply extends ActiveRichTextField.

    2. in your own application, where you want to display your menu item, use the MyActiveRichTextField.

    3 al ' ActiveFieldCookie.getFocusVerbs (CookieProvider provider, context of the object, the vector elements), check the following:

    if(provider instanceof MyActiveRichTextField) {
        items.addElement( new TestMenuItem() );
        return (MenuItem)items.elementAt(0);
    } else {
        return null;
    }
    

    Tested on the Simulator in jde4.5 and 8320 with os4.2 device, it works.

  • Accelerated release of Firefox calendar is at the origin of the compatibility issues with our intranet applications - where can I find the terms of this annex, including the end of support dates?

    We are a University use an updated internal development of e-Learning applications which makes use of a framework rich client (ZK - www.zkoss.org). For reasons of compatibility with this application, as well as other general factors, we have standardized on FF 3.6 browser for all our desktop computers. Normally, we will review our browser selection once a year and make the changes/updates to compatibility level for 3 rd-party libraries we use and our own code, in order to address new developments in the browser market.

    However the FF of the new policy of difficult liberation our lives check. FF 6 came out just months after 5 FF. We perform an upgrade, we have to do a systematic series of tests, settings, changes etc. regression tests. The cost is not possible for us to do this every 3 months! So please can anyone point us to a clear release plan for FF that shows, for each version:

    a. Release date
    b. End-of-support date
    c. Release notes
    d. Compatibility in terms of HTML and Javascript/ECMAScript versions.
    

    https://wiki.Mozilla.org/RapidRelease/calendar

    https://wiki.Mozilla.org/releases

    New versions are will be released every 6 weeks, so until Mozilla announced they will do than support for a LTS version for business 'customers', you guys left to swing in the breeze as well as to be able to plan for the future with Firefox. I think that as long as the said decision is taken, support for Firefox 3.6 versions will continue. A 3.6.22 release is under development right now, probably for immediate release next week.

    As far as the end of support dates, as each new version is the version support ends for the previous version, with the exception of 3.6.x. currently Firefox 3.6.x and 6.0.x are the only versions that receive security updates. Firefox 4.0 and 5.0 is not 'supported' any longer.

  • Office proxy firewall monitor secure connections (https) and send their own certificate instead of the certificate of the Web site

    Firefox works fine on my home network or while I connect to the internet directly via data card. However, @ my office use us proxy and for almost all sites (even google search) Firefox stops saying "this connection is untrusted".

    Attached are the screenshot for the same thing to help him to help me.

    I search a lot and was closest to you that I came to this url https://support.mozilla.org/en-US/questions/978722

    Is there a way to Firefox to add office proxy certificate in the certificate chain (don't know if that will help?)

    How to solve this? Kindly advice.

    I think most of the proxies work similarly: they generate a false certificate to the site and have your browser so that they can decrypt and inspect the traffic between you and the site. It is a hassle to have to make exceptions for individual certificates of false - it is more effective to recognize the certificate that the proxy uses to sign false certificates as valid a certificate authority.

    The trick is to identify this certificate. It might be easier to go to IE or Chrome, since both use the Windows certificate store (Firefox uses its own). By inspecting the certificate for a secure site and the certificate used to sign, you may be able to identify and to export this certificate (DER format or .cer).

    In Firefox, you who would incorporate in the section of the authorities in the Certificates dialog box:

    "3-bar" menu button (or tools) > Options > advanced > mini-onglet Certificates > "View certificates" button > mini-onglet References > "Import..." button »

    Of course, it is probably safer to check with your COMPUTER that you've found and exported the correct certificate before you import it into Firefox.

  • opening on their own applications...

    I recently had a problem on my iphone 6 where apps would open on their own. I tried to restore the latest firmware from itunes 9.2.1 IOS but the phone still behaved abnormally. I tried different things to combat the problem, hard reset, etc. and does not much help until I have cut background App refresh completely.

    This seemed to be the culprit in my case, I just need to refine that either the app is causing the problem or if it's a problem with the global update.

    Just thought Id throw out there in case anyone else is having the same problem.

    MY iphone6 + would be type only, letters, open apps, other windows in applications... I'll try to stop the background refresh.

  • HTTP and HTTPS issues

    Hello

    I want to connect to servers using HTTPS.  I set the connection as below,

    HttpConnection connection = (HttpConnection) Connector.open("http:/www.securehost.co", Connector.READ_WRITE, true);
    

    Here, I opened HttpConnection with https url. In this case, it is always secure or non secure connection?  I always open the connection using HttpsConnection to secure?

    Second thing connected to BES and all connections are made through MDS. As far as I know, all traffic is encrypted between device & BES. And my application accesses only the internal network. In this case, I'm exposing my data anywhere, while transition? It is important that it be httpconnection and httpsconnection?

    I need clear this doubt. Thank you.

    Quite correct, it's a typo on my part HttpsConnection extends HttpConnection

    But your brief statement is technically incorrect. You do not make the connection using the HttpConnection. You create the connection object by using the connector class that returns HttpConnection or HttpsConnections according to the Protocol of the URL provided.

    Since HttpsConnection extends HttpConnection treatment then the connection object, as it is just a HttpConnection is fine, unless you call specifically a method is only part of the HttpsConnection interface, such as getSecurityInfo(). In this case then just cast a HttpsConnection as long as the URL is an https address.

  • HTTP issues with different service providers

    My apologies if this has been posted and answered before. I'm new to the Blackberry development.

    I'm developing an application initially for the 8300 Series. Timing of the launch, my application tries to open an http connection to check the updates of the application.

    I have no problem, the application running on the Simulator, and if I add '; deviceside = true"to the url, the app works on an ATT device. However, when I run the application on a device, Verizon or T-Mobile, I get a network error, whether or not '; deviceside = true' is included.

    I tried messing around with the TCP APN settings on the device from T-mobile with no luck. The Verizon device does not appear to have that option at all. Browsers seem to work so there is a valid data connection.

    Anyone know what the problem is or what I could do wrong?

    Thanks in advance.

    The problem was with the data plan, a feature or another was not enabled.

  • HTTP-REST 2.0 - accept application/json

    It seems that the "request.setHeader("Accept","application/json")" does not work with HTTP-REST plugin 2.0.

    I configured a host BASED HTTP pointing to NSX and works so as to gain an advantage by using the URL "{/ api/4.0/edges/{edgeId}. In the 'operation of appeal' workflow, I add the following line:

    request.setHeader ("Accept", "application/json")

    It works perfectly find on a vRealize Orchestrator 6.0.3 with HTTP-REST plugin version 1.0.9 and returns a JSON response. But with vRealize Orchestrator 7.0.0 by using HTTP-REST plugin 2.0.0 version returns an XML response.

    How can I get the JSON response with the 2.0.0 version?

    Thank you very much!

    D.

    I found the answer myself.

    Incredibly, with this release, this command does not work:

    request.setHeader ("Accept", "application/json")


    Instead, I need to use only in small print:

    request.setHeader ("accept", "application/json")

    OMG!

  • Can we get the DB session ID when we log into our own application

    Hello

    I use my local DB with HR/hr and created a table for details of the user.
    Each time running my application (login page is the default page), user enters the USER name and PASSWORD. After you have posted I am allowing it on the next page Jspx have delimited taskflow (having jsff).

    In all the jsff fragments, I have a close button session and whenever the user selects it, I need to make the sign out.actually I was navigate to empty from now page. I'm not saving login details in DB after the connection. Thus, whenever the user clicks the back button, the page navigates to the previously provided login page username and PASSWORD.

    So I would like to kill the session when the user logoff button clicked. Please help if we can do it.

    Is there a provision like get the session DB ID and kill him when ever he logs off or disconnect.

    Kind regards

    Krishna KM.

    In this case, you get disconnected and you killed at the session. You can do this by using a bean method that you call from your button. Inside you get the session, disable it and go to any other page, g .e, see again you ot your login page. A sample for this: http://dba-adf.blogspot.de/2010/02/adf-security-in-oracle-adf-and-session.html

    Timo

  • Issues CSS porting an application from SDK3.5 to SDK4.0

    I'm wearing a Flex of SDK3.5 to SDK4.0 application in Flash Builder 4.

    I have worked through various deprecated features.  (This is a large application).  And everything has boiled down to a bunch of caveats that I can't get rid of.  They are all related to the CSS style.

    Errors are all of the type:

    "Cannot resolve the type of namespace qualified ' *' in the CSS selector ' *'"

    and

    "" CSS type selector ' *' has not been processed, because the type was not used in the application. ".

    (I also have a couple of "The Style"dropShadowVisible"is supported only by type"mx.controls.List"with themes (s)"spark"" warnngs... and I do not know what is the cause that yet).

    I tried something to address these warnings, but it had no effect...

    < mx:Application

    " xmlns:fx = 'http://ns.adobe.com/mxml/2009"" "

    " = xmlns:mx 'library://ns.adobe.com/flex/mx"" "

    <!-Global styles->

    " < fx:Style source ="path/theme.css "" " / >

    etc...

    and I put in the CSS files:-

    @namespace mx "library://ns.adobe.com/flex/halo"

    MX | Panel {etc... etc... etc...

    ... but after a cleaning, the warnings are still there.

    Does anyone know how to clear these warnings?

    (Note: previously, I put in a new directive from the compiler based on style, so my compiler arguments look like this now:-)

    (en_US - local - theme "/ Applications/Adobe Flash Builder 4 Plug-in/sdks/4.0.0/frameworks/themes/Halo/halo.swc")

    Try:

    @namespace mx "library://ns.adobe.com/flex/mx";

  • Form of authentication issues - from attributes to applications on JBoss

    Question: How do I pass the user name, password and all other attributes that I draw from my login form in an application for SINGLE sign-on when the authenticated user?

    My environment is a server Apache 2.2 protected with the WebGate using a reverse proxy to JBoss application server.

    Once authenticated, how I pass the name to username/password / other attributes for applications on my JBoss server?

    Thank you.
    Bryan

    Bryan,

    You will find [this response | http://forums.oracle.com/forums/message.jspa?messageID=3446719#3446719] useful Kiran. A few comments-

    (1) HTTP_OBLIX_UID is a name of special header used by the OAM identity system. I advise you to not use that to rule out the possibility of confusion.

    (2) I knew the type of action to be case-sensitive. Instead of HEADERVAR, you might want to try HeaderVar. In addition, if you use a Cookie, you should see the value of the DN even in subsequent requests in HTTP traces

    (3) If you want to stick with headers, you can put a simple jsp page on your JBoss server and have as the protected resource. You should be able to print the received headers in the jsp page.

    -Vinod

  • HTTPS issue

    I have a pair of PS6210s in a group of SAN running version 7.1.2 firmware. I was able to access the web GUI via HTTPS. I have the group set to update to firmware version 8.0.4 and now I am only able to access the web GUI on HTTP, HTTPS gives me a connection refused. This is expected behavior? Thank you!

    Hello

    Yes, this is the expected behavior, the HTTPS protocol was removed in the 8.x firmware.  This shows up in the release notes.

    Kind regards

    Don

  • Issues related to running applications after installation using a package created with CC Packager

    I am a technician in the field with a school district in Idaho. We just moved to Windows 10 this year, deploy us through SCCM. For the first time this year one of my schools chose to share the cost of a site license for the creative cloud. The license of the company is owned by a company called the OETC. The problems come after installing the suite on a local computer using a building package that I created with CC package. Programs install fine and I can run them without any problems, I have administrator rights. For reasons of network security and security that we do not generally allow access to C: drive by students, (more restrictive) and staff, (less restrictive but still limited), it seems that the software more, we need to package will not work under these restrictions. for example:

    • First pro is used by a teacher and students enrolled in a course of video journalism. The teacher has a network of only to peer support that it maintains separate districts. I gave him a copy of the version to install, and it gets an error when it runs, indicating that a .dll file is missing the exact message is:
        • This program cannot start because API-MS-Win-CRT-Runtime-L1-1-0.dll is missing on your computer.  Try reinstalling the program to fix this problem. Sound computer is
          using Windows 7 and the browser is IE 9. He tried to upgrade to IE 10 and 11, and he wouldn't.

    • I have a staff of security so that would like to use first pro to stream video of cameras throughout the school in support of disciplinary matters. When they run the program starts to open, then everything stops. I actually did him a member of the local administrator group, which made no difference, I also had him create an Adobe ID, so all the identifications with the Adobe servers should work.

    Another scenario with a group of students and their teacher in a digital photography class is when you use the room light, they are allowed to save catalogs on the C: drive. the only space that they ae allowed to write to is their own office.

    These problems are fixable? Can I access the .dll missing? Can save us a space of one drive for students or at least a network drive?

    Hello

    We already have a feature request to our engineers for that, I've added your voice!

Maybe you are looking for

  • Carpet * a DVD-Rom [Toshiba Satellite 1950 S902] drive

    Hi allMy DVD Drive Does not read the DVD + R and therefore does not write on them. I wonder if there is no frameware or something, or maybe my drive supports DVD + R. It supports DVD-R only. Thank you...

  • Omni 100-5050 HP all-in-one: hp hardware

    I need a motherboard for my hp computer. model No. BT590AA My computer is unbootable to my cpu LED lights are flashing. My power light is on and I can hear the breath of fan cooling, but my screen is not lit. MNB

  • Windows Service Pack 3 send me e-mail problems

    I have Windows XP Home edition Dell Computer. It was a lot. I decided to update and install windows xp service pack 3 installed perfectly and everything was great except for one thing. Part of my e-mail from comcast after the installation does not wo

  • With WD 1 TB NAS

    I have the last fimware Ver.3.4R79 My NAS200 is very unstable with WD1TB. Once a day, it crashes, I couldn't stop it by the power button. After disconnecting the 220V cable. After the start of the data on the hard disk is not read sometimes. Disconne

  • 7 and 13 runtime error

    Hi, I use a software for planning of a network called WASP IV. It worked well on my CPU without any problem until my CPU got rebuilt. When installing, I get error messages when you use the software. 7 and 13 errors, and it also ends session by himsel