Test the Client/Server application on device inside WiFi

Hello

I need to test my application within the company wifi network.

My application survey exception I need to properly configure the APN.

If I understand correctly it will route all traffic through external servers? In this case it will not help me.

I saw on the form that you need to be a partner with RIM, so your applications will have easier access to netowrk. Anyone know how to make a claim for this? Thare are a lot of information on the website of RIM, but I havenot found place where to put my info.

Thank you

Alexander

test your application inside the WIFI device should work without any problem

Direct TCP will not work if you have not set the APN

How do you connect? If you try to connect with deviceside = true and no APN settings it will fail

with OS5, it's easy to configure your connections, allowed etc. TransportTypes.

could be something like this:

ConnectionFactory cf = new ConnectionFactory();
        cf.setPreferredTransportTypes(new int[]{
            TransportInfo.TRANSPORT_TCP_WIFI,
            TransportInfo.TRANSPORT_BIS_B,
            TransportInfo.TRANSPORT_TCP_CELLULAR,
            TransportInfo.TRANSPORT_WAP2});
        isBOptions biso = new BisBOptions(seekretConnectionType);
        cf.setTransportTypeOptions(TransportInfo.TRANSPORT_BIS_B, biso);
...
ConnectionDescriptor connectionDescriptor = cf.getConnection(getMyURL());
        if (connectionDescriptor == null) {
             reason = "no Connection could be made - please try later again";
             logger.warn( reason);
        } else {
            logger.debug("current TransportType: "+TransportInfo.getTransportTypeName(
                                    connectionDescriptor.getTransportDescriptor().getTransportType()));
            conn = (HttpConnection) connectionDescriptor.getConnection();

You can set the TransportType Options like BISB, WAP2...

in your case affecting TCP_WIFI should work

Tags: BlackBerry Developers

Similar Questions

  • client-server application

    I intend to transfer my application written in C/C++ for playbook... Basically, the application has a client and a server process communicating via sockets... Client process has a user interface with a few UI controls components, server process will run in the background... I would like to know if the client-server application can be written on the AIR platform?... If this support is available I think using AIR/native extension for C/C++ code porting

    Also, I'm new to this platform, I would like to know if there is a support to launch the 3rd party app to another 3rd party app?... Say to use above customer case must be able to launch the server process...

    concerning

    Arun

    Not too sure how you'll be able to do on the PB, because you can't start another application. Maybe in the future they will allow applications 'start-up' to be registered.

  • LabVIEW DSC Client\Server application. How to install the executable on the client.

    Hi all

    I'm currently programming an Client\Server application.  The server application must host shared variables, and the client application must read.  The client application reads the shared variable in the indicator of their connection with the properties of the indicator.  I started programming and the client application and the server are in the same project.  In the client application I am lie the indicator to the library in my project that has the "My Computer" as the address.  My question is how do I tell the executable installed on any computer, that I wanted to use the variables shared on the server?  I have LabVIEW 2009 DSC.

    Thank you

    If by "data binding", you hear the Variables defined on your computer, then Yes, unless you want not linked to new variables on each executable, in this case here is an example that can help.

  • Client-server applications with problems

    We use appvolumes 2.10

    We are certain to have issues with client-server applications such as launch winscp and subversion.they very well, but they can not connect to servers. The appstacks work fine on own vanilla but does not work on the main image with all the policies and basic applications. When install us it manually on the main image the applications work as expected. Indications on where we can make changes on the primary image for the appstacks works? Thank you

    Lakshman thanks for you the directions. I tried to change the .cfg file last week, but had no luck. It's a known with Appsense AM incompatibility. We have uninstalled Appsense & h and it seems to have solved the problem.

  • Newbie question on a client-server application architecture

    I did some stuff in Java for awhile now, but I have never drawn in the network part of this one. I followed the tutorial to Oracle and I searched some other resources on the web. I don't have a very specific question, but I would be grateful if someone could help me understand all this. My goal in this learning project is to make a server application that will accept an unspecified number of independent of a client application connections. I think that I get the basics of establishing a ServerSocket on the server, put in place the socket on the client, and then open the entry and outflow on both and start a data transfer.

    Now, I think I'm stuck in a misunderstanding on this transfer. All of the examples I see seem to treat data transfers when the order who speaks on each side is already known, so you send something good after connection and that you set the other side of eligibility receive something after the connection, and everything works fine. If the order is not known, but I can't seem to understand the flow of the application logic.

    Let's say that the server gets 3 connections of 3 customers and save these Socket objects in an ArrayList. Then client B asks something, and the server responds accordingly. Later, the server needs to say something to client B, then it sends information through its support and client B responds accordingly. How should I go about setting up something like that? I think I should put listeners but I can't find examples like these, or do I define the infinite loops for each socket, try to read the data?

    Any help to guide me in the right direction would be much appreciated.

    Think of a very basic chat client-server application. When a client connects, it receives all messages written by other customers. It can also send messages that will go to all other customers. It is very similar to your uncertainty about who will speak in the first place, the server or the client. If users wait a bit after the connection, it is likely, that the server will talk first (because another user sent a message). If the customer/user is fast, he'll talk first ("Hello World" or something like that). There are examples of these applications of simple chat on the web, just google for them. And Yes, this is usually achieved with infinite loops. Every customer will have a such loop, try to read data from the server and the server will have as many endless loops simultaneously assets (think multi-threading) given that the connected clients.

  • Event ID 10016 - the application-specific permission settings do not local Activation permission for the COM with the CLSID server application

    Lately, I'm getting this system error a lot now that I've upgraded to Windows 8 Pro is an event DistributedCom 10016 ID. Here is the text of the error:

    The application-specific permission settings do not local Activation permission for the COM with the CLSID server application

    {D63B10C5-BB46-4990-A94F-E40B9D520160}

    and APPID

    {9CA88EE3-ACB7-47C8-AFC4-AB702511C276}

    the user NT AUTHORITY\SYSTEM SID (S-1-5-18) from the address LocalHost (using LRPC) running in the container of the application unavailable SID (not available). This security permission can be modified using the Component Services administrative tool.

    Anyone has an idea why I get this error?
    Walt

    Same thing here. Grayed. Windows 8.1 seems to fill the observer of events with many more errors than previous versions.

    Edit: OK, discovered why it is grayed out. There are 2 reg key, you must set permissions before going to the Configuration of DCOM in component services. The CLSID key and the APPID key.

    From another forum, although it applies to a different application, same principle:

    1. open Regedit.
    2. go in HKEY_Classes_Root\CLSID\ * CLSID *.
    Note: * CLSID * stand for the ID that appears in your event viewer error. In your case, it is {C2F03A33-21F5-47FA-B4BB-156362A2F239}.
    3. right-click on it and select authorization.
    4. click on Advance and change owner to administrator. Also click on the box that will appear below the threshold of owner.
    5. apply a full control.
    6. close the tab, then go to HKEY_LocalMachine\Software\Classes\AppID\ * APPID *.
    Note: * AppID * is the ID that appears in your event viewer. In your case, it is {316CDED5-E4AE-4B15-9113-7055D84DCC97}.
    7 right-click on it and select authorization.
    8. click on Advance and change the owner to administrators.
    9. click on the box that will appear below the line owner.
    10. click on apply and grant full control to the administrators.
    11. close all tabs and navigate to the administration tool.
    12. open component services.
    13. click on the computer, click my computer, and then click DCOM.
    14 find the corresponding service that appears on the display of the error.
    15. right-click on it, and then click Properties.
    16. click the Security tab, and then click Add a user. Add the SYSTEM and then apply.
    17. check enable local.

    Then use the relevant keys here and the DCOM Config utility should give you access greyed onareas:

    CLSID:

    {D63B10C5-BB46-4990-A94F-E40B9D520160}

    and APPID

    {9CA88EE3-ACB7-47C8-AFC4-AB702511C276}

  • How to open the pdf file residing on the server to the client computer applications?

    Hi all
    The scenario is that I've developed a form using forms10g (9.0.4). I wrote the following lines in the module of the form, there is a button.in the code for this button.
    AppID: = DDE. App_Begin ("C:\Program Files\Adobe\Acrobat 5.0\Acrobat\Acrobat.exe C:\2dayDBA.pdf', DDE.") App_Mode_Maximized);
    ConvID: = DDE. Insider ("Acrobat", '2dayDBA.pdf');
    Now when I run the form and click the button, it opens the pdf "2dayDBA.pdf" file and it works fine.
    My problem is that when I deploy the same form on Oracle application server and copy the pdf files in the same location with acrobat reader installed at the same place and run the formula browser client and press
    the button, it does not open the pdf file and gives me the error "Exception no Oracle".

    someone has the solution for this. (don't forget I want to just open the pdf file of the client)
    its really urgent

    Kind regards
    abbasyazdani

    Stop and then restart the OC4J container, and then try again.

    François

  • Sync phone to PC Client/Server applications use what security group to access the files on PC Win 7

    Programs of client server that connects to the computer from a phone and store data on the PC as the synchronization programs have what user ID and are able to write to the disk by security group file permissions. Users authenticated Internet Explorer, system, administrators, customer ID current user appears on the phone and must be enabled (admin) and the password entered to connect.  If the customer is logged as administrator? How can there be two users with the same user id?  One by the PC and the other on the phone.  If the phone connects the PC as a user in this group what id permissions?

    Question 2: If I agree a technician to fix it to my PC and fix it, what is it connected as? and what group permissions is using?  How to protect against the connection later?

    Thank you

    This issue is beyond the scope of this site and must be placed on Technet or MSDN
  • Error: The application-specific permission settings grant Local Activation permission for the COM server application in the Windows XP computer.

    Original title: DCOM {E9F9ED00-7705-101B-9802-0000C07B665C}.

    I have this message DCOM in the registry: "the application-specific permission settings do not grant Local Activation permission for the COM with CLSID {E9F9ED00-7705-101B-9802-0000C07B665C} server application the user... xxxx...". (I deliberately placed the "xxxx" instead of my current PC for security reasons). This security permission can be modified using the Component Services administrative tool." I tried to look through the forum here, and I found elements that were close and others are not. so if anyone knows where I can go make the adjustments, it could save our society approximately $10K, because my new bosses are ready to install all new hardware and software, but if we could find a much simpler approach to this problem, this would make the new kid on the block like a champ look.
    We have a Window XP, the flat touch screen PC, running a few packages of software reviews that keep a record of our SCADA system trend.

    At random times around the clock, the PC will just restart and return to the logon screen. There is no other necessary users, so we have only the journal administrator form. As soon as we open the administrator it is specially configured to run a specific program of our choice, but if the PC keeps restarting whenever it feels like it, there is no history chart tend to save. It is essential, that we need.

    Hello

    Your Windows XP question is more complex than what is generally answered in the Microsoft Answers forums. It is better suited for the IT Pro TechNet public. Please post your question in the forum TechNet for assistance:

    http://social.technet.Microsoft.com/forums/en/itproxpsp/threads

    Hope the helps of information.

  • Problem on the weblogic server application deployment

    Nice day

    I had one job the next on Oracle WebCenter forum, Thread but it seems the problem with weblogic. weblogic Server deployment:

    *Re: cannot record contained in the Complutense University of MADRID through servlet depolyed on weblogic server

    All of the Suggestions.

    Concerning

    Dear,
    The problem is resolved. It's a delicate question.

    The type of method in my jsp page was 'post'

    *

    *

    This is what is written in Netbeans and deployed to the Glassfish server.

    When a war file created and deployed on weblogic server and the parameters obtained with the value null of the application; the request had the value zero. This is because weblogic seems to read the type of method that is case-sensitive. When I change post everything works fine.

    Kind regards.

  • Test the Apex of applications - methodology, approach etc.

    Hello

    Apologies if this is perhaps a bit off-topic, even if I think it is relevant to us all to a greater or lesser degree. I have not really seen someone to discuss it at the apex (adimttedly the small number of) SIGs I attended - perhaps it might make a good conference?

    As a point of discussion, what (if any) test methods do you tend to apply to your apex applications?

    * As the apex is a rapid development framework, anyone use it Agile this so-called approaches such as "Test-Driven Development", with its emphasis on automated test scripts, or you use more formal structured methods?

    * Have you regularly write scripts for unit tests to test?

    * How do you approach the functional tests - that someone use applications like Mercury test center?

    * On that note, does anyone use suites of automated tests or practical continuous integration? If so, what do you use (for example, WinRunner)

    * When negotiating with your customers, do you tend to accept the formal conditions to sign for the deployment, including the initial test criteria, or it tends to evolve as you progress through prototypes.

    I must add that, in general, as part of a small team of BI, my methodology has evolved from improvised, "Cowboy development" into something more HOWEVER structured and methodical as a team, we are still at a relatively early stage of maturation, in particular with regard to the tests - the distinction between 'debug' and 'test' is still very loose unfortunately.

    Thank you this is a very broad topic, but I'd be interested to hear some of your thoughts.

    CAB use you JMeter to load test (and I guess even run a test of the system using them, specifying the incoming data and the expected result).
    If you Google on APEX and JMeter you get a bunch of hits. Especially the blog of Chris Muir could be interesting for you!

  • Change the DNS server automatically when switching to WiFi network?

    I am usually connected to one of the two wifi networks, one I have control on and I'm not. When I am connected to that I have no control over, I usually spend my DNS settings of the network server (which often breaks down) to a third party one, but I end up having to do this every time. Is there a way so that it would automatically change my DNS server whenever I connect to this network? I am running Windows Developer Preview

    Hello

    ·         What operating system do you use?

    ·         Your computer is on a domain network?

    Try these steps and see if it helps.

    Step 1: Run the network troubleshooter utility.

    http://Windows.Microsoft.com/en-us/Windows7/using-the-network-troubleshooter-in-Windows-7

     

     

    Step 2: Try to reset TCP/IP and check.

    http://Windows.Microsoft.com/en-us/Windows7/change-TCP-IP-settings

     

     

    Step 3: Uninstall and reinstall network/modem driver from Device Manager.

    (a) click Start, type Manager of devices in the search box and press ENTER.

    (b) Device Manager window opens, expand the network card.

    (c) right click and uninstall, reboot the system.

     

     

    Step 4:

    Follow the steps in troubleshooting from the link and check if that helps.

     

    Windows wireless and wired network connection problems

    http://Windows.Microsoft.com/en-us/Windows/help/wired-and-wireless-network-connection-problems-in-Windows

     

     

    Step 5:

    Temporarily disable the security software.

    Note: Antivirus software can help protect your computer against viruses and other security threats. In most cases, you should not disable your antivirus software. If you do not disable temporarily to install other software, you must reactivate as soon as you are finished. If you are connected to the Internet or a network during the time that your antivirus software is disabled, your computer is vulnerable to attacks.

    http://Windows.Microsoft.com/en-us/Windows7/disable-antivirus-software

    Reference: http://windows.microsoft.com/en-US/windows7/DNS-Domain-Name-System-frequently-asked-questions

  • Management of the client via GPO USB devices on Server 2003

    I copied the code available in http://support.microsoft.com/default.aspx?scid=kb;en-us;555324 and facilities an .adm file. added the template to the GPO administrative model. Me has "Restrict the player" under "Custom policy setting" under administrative templates. However, could not find anything on the right pane of the GPO while selecting "restrict drives". Pls tell me what needs to be done to make me the options to disable the USB devices on all customers of my company

    Hi Lenka,

    The question you posted would be better suited in the TechNet Forums.

    I would recommend posting your query in the link below.

    Windows Server forums:

    http://social.technet.Microsoft.com/forums/en-us/category/WindowsServer

  • Client Server application performance impact due to the strong issue of retransmission of TCP packets

    People,

    I'm having problem of performance of serious application with my vSphere environment where I deployed a couple of database SQL Server stand-alone VMs (4 x VM) to be used by some applications virtual computers servers (4 x stand alone VMs) running Oracle Forms (Java) servers. Users connect from their own workstation to various geographic locations in Asia, the data center is in Australia.

    User (150 users of workstations Win7) - RDP-TCP/3389-> Terminal Server VM pool (one of the 45 x VM available) -Oracle Forms app TCP/80-> Application Server HTTP -SQL Server TCP/1433-> SQL Server VM.

    Somehow, report of the team of the network there are some consistent event TCP retransmit the packet between the Application Server to the database, as well as between Terminal servers.

    the accident occurred in any type of scenario same ESXi host or even different ESXi

    Material:

    HP BL 465c G7/G8 blades on c7000 enclosure

    HP Virtual Connect modules

    Software:

    vSphere U1 5.1 for all blades HP running ESXi and VCenter server.

    All terminal Servers Server (RDSH) and the OS: Windows Server 2008 R2 SP1 STD.

    Database: SQL Server 2005 and 2008 R2

    What could cause the TCP retransmission on the virtual environment?

    wreedMH, what kind of problem you encounter on your server environment blade HP?

    What I did:

    1 perform the update firmware on blade HP, ANC and also updated the drivers of ESXi for last October 2015 using HP SPP.

    2. upgrade to the last update of VMware ESXi 5.1 3 b build number 2323236.

    3. switch to level the latest VMware tools v10.0.5 after having done both above.

    4. follow VMware KB: big packet loss at the OS level invited on the VMXNET3 vNIC in ESXi small buffers Rx = 8192 and Rx ring #1 size = 4096


    Hope that helps.

  • recording programmed with BPA on the client sample application

    I'm trying to register my device (example of customer installed app) and I'm trying to register and unregister...

    Unfortunately, when I submit my credentials and try to register with BPA, I got:

    java.lang.Exception: registration rejected by BPA

    I have had this on the application log:

    Rc = 200 HTTP response

    Recording programmed with BPA

    Push the status API callback: failure

    Command 'register' failed with the error: java.lang.Exception: recording with BPA has been rejected by the server

    It happens more often...

    What do I have to wait until the BPA accepts my registration? How long is it?

    I don't get what want to be...

    in my BB Debug Portal my device shown as being ACTIVE but in PPG UNSUBSCIRBE

    I use this BPA URL: http://pushapi.eval.blackberry.com

    should we build a Manager to solved this problem if want to build push own app, which is an easy to use?

    Well, the problem is already solved...

    I try to record using HttpConnection BPA and it still works and I got the answer correctly...

    In the sample application customer it use the API to push record and especially it did not work (do not register correctly)...

    may I suggest to those who are faced with the problem of sam me... you can try the simplified BIS press http://supportforums.blackberry.com/t5/BlackBerry-Push-Development/Simplified-BIS-Push-client-sample...

    It works very well on me!

Maybe you are looking for