Wireless communication with Java Desktop Application

Hello

I develop a Blackberry application that needs to communicate (sync) with an exisiting Java desktop application via a WiFi network. I leaned on the use of JSON to manage communication between the two messaging applications, but I don't know how to make the initial connection (i.e. taken?). I hope someone can point me in the right direction?

Thank you.

Simon is right, that part will need to say to each other to find (i.e. its IP address).

Given that you have that, then you must have a treatment on your PC that can handle receiving queries from the BB and/or pushing requests for BB.  Usually BB will use with a Web server http communication.  In this case, I'm guessing you want to run a full Web server, in which case a socket connection seems the best option - so the BB would talk directly to your client application.  He is, provided with the tool, you have a SocketDemo which will be probably the largest part of the coding that you need.  Then take a look at this.

Tags: BlackBerry Developers

Similar Questions

  • I have CC with multiple desktop applications; My wife has CC for Photoshop only. We all have both need to use Acrobat DC...

    I have CC with multiple desktop applications; My wife has CC for Photoshop only. We all have both need to use Acrobat DC, which is already enabled on my computer. She comes to install Acrobat DC on his computer via the creative Cloud, but he identifies himself as a trial. How his installation of Acrobat are activated under my account (as the second of two authorized activations)?

    How his installation of Acrobat are activated under my account (as the second of two authorized activations)?

    Two activations by Adobe ID are allowed provided that they are used by the same person and only is in use at any time.

    It can be used simultaneously by two different people.

    DC Acrobat is installed as a trial on your wife's computer, because it is signed with his Adobe ID and there is no active subscription for Acrobat DC under its identifier.

    Your wife will need to subscribe separately the Acrobat DC plan only App or plan all the Apps.

  • Java desktop application is dying? I'm so sad...

    Hey guys, this is a general question. I was talking to a guy who was going to teach me Java and I told her that I was interested mainly in office and in Swing applications. He went to respond that he does not need to learn that unless they take a course about it. He said that the Java desktop applications are dead and that people now only use Java on the web. He said that programming of desktop applications is not money... and it's not worth. It was very sad to hear for me... Can anyone account for what is true? What is Minecraft? It of on the desk and made a lot of money... I'm so sad, I was really looking forward to learn Swing, but I'm not going to if in a few years, it will be virtually useless. Thanks for all replies. Kind regards.



    PS What are the thoughts on swing himself, he will be visiting anytime soon? JavaFX will replace it? Thank you guys.

    Well, anyway, there will come a point where nobody uses Java Desktop more?

    Not if you keep using it. I wouldn't panic. I would like to write a desktop Java application any day rather than in C++. The real question is who write desktop applications?

  • Deliver the JRE with own desktop application - without installation

    Hello

    the Java license allows to distribute Java with a software application, if Java is required to run this application. I don't want my users to worry about operating systems, java versions, and facilities. So my idea was to place the JRE in a subfolder of my application and use a native Launcher to start the jar containing the main program, using JRE in the subfolder.

    It seems to work - and I'm sure that previous versions of the IDE eclipse does exactly this way. Unfortunately, I am unable to find any download that contains the ENVIRONMENT without an installer. And first of all install and then copy the extracted files seems to be a dirty workaround. Also, it is not really clear if it could conform to the java license.

    So my question would be if there are any specific approach for this.

    Your approach should work (one platform at a time) and is legal. For more details, go to your JRE directory and read the readme.txt file.
    Edit: Looks like something has changed since the 1.7.
    Edit again: found for Java 7, seems to be the same:
    http://www.Oracle.com/technetwork/Java/JavaSE/JRE-7-Readme-430162.html

    Published by: baftos on April 16, 2012 11:47

  • Problem with IOS desktop application.

    Hi, I just downloaded the remote desktop of my iPod 5th generation touch IOS app and have some difficulty of implementation with my windows 7 laptop and desktop. I went through all the instructions, but when I try to connect I get the message "Error host not found" I went and got the name of the computer properties window PC and the only thing I can think that I am doing wrong is somehow I'm not in the username correctly.

    OK as I was to find my IP by running Microsoft Baseline security analyze. In the results at the top, it gives you your IP address, use it as the name of your computer.

  • I had trouble with my desktop application. There is a new version 2.0.0.74 availible and it only downloadfs to 5% and I get an error code: 42. I need your help please

    I have experienced difficulty to install an updated version 2.0.0.74 on my desktop creative cloud app when saying install now it downloads to only 5 percent, and then it gives me an error code: 42. I did the part of redemption code and all my software expired. I use Windows desktop. I contacted directly at your offices and talked to the sales representatives, and they do not know how to help.

    Hello

    Please delete your temporary folder and delete the files. After that download the app office creative cloud from the link below:

    Using creative cloud | Creative cloud to desktop

    Kind regards

    Sheena

  • 360 spectrum: Spectrum of HP 360: display text size becomes very low for Java Desktop tools

    Hello

    HP spectrum 360 presents a problem of display with all of the tools are Java desktop application. The size of the font of the tool becomes so low that its barely visible.

    Common application I have sen question with:

    (1) SOAP UI

    (2) virtual Desktop or Remote Desktop

    (3) JDeveloper 12 g

    (4) any custom code Java applet.

    And many others...

    This question makes this series cell phone very bad for the development of Java applications.

    Hi there @manoj12001,

    Welcome to the Forums of HP Support! It's a good place to find the help you need, other users, HP experts and other support staff. I understand that you have a problem with the java application being too small. I'll be happy to help you.

    I couldn't find any document from HP on this, but found a Microsoft document How to fix the display of the desktop application problems.

    Please try and let me know if works.

    If you need help, let me know and I will gladly make all that I can to help you.

    Please let me know if that solves the problem by marking this post as "accept as a Solution.
    To simply say thank you, click the Thumbs up below!

    Thank you.

  • I can't synchronize with my desktop app from files in the CC

    I can't synchronize with my desktop application of in the CC of assets/files / I push the button 'Start Sync' and get the wheel of waiting, but never get to my files.  Upward under the gear icon (settings). It says file synch is off (and intoxicated), and I'll turn preferences/file sync on and close the box and it still under the gear icon (settings). It says synchronize file is disabled (and greyed out).

    Just found another post very useful to Ben Mordue with the solution:

    Stop the creative cloud desktop application

    * In the terminal, type:

    RM ~/Library/Application\ Support/Adobe/CoreSync/options.tix

    When you relaunch the CC desktop application and press the button to start the synchronization, it should work.

  • getConnection in a Java Desktop App (ADF)

    He's trying to do this in a JAVA DESKTOP APPLICATION:

    InitialContext initialContext.
    initialContext = new world;
    DataSource ds;
    DS = (DataSource)initialContext.lookup("java:comp/env/jdbc/SalesDS"); throw the errrorr!
    CNN = ds.getConnection ();

    How can I do this in a Java Desktop application?

    My version of jdev is 11.1.2.3.0

    Hello.

    The error you are getting is normal. As a general rule, the context is provided by a JEE, such as Oracle WebLogic Server or Oracle GlassFish Server container. Your client application does not such a container.

    It is possible to implement custom behavior JNDI in Java. The blog entry below provides an example. I don't a not validate the content, however.

    http://www.javacodegeeks.com/2012/04/JNDI-and-JPA-without-J2EE-container.html

    JEE containers usually encryption connection identification information; Make sure that your custom implementation done the same if you decide to go this route.

    Best regards

    Frédéric.

  • How to use the funds application Flex with java

    Hello

    I've seen a lot of tutorials on using web application with java flex but you will not see even a tutorial for the application Office Flex with java. If anyone have pls send the link.

    is it possible to create java application and desktop application without using application server?

    Thank you.

    Hello

    Please see the link below.

    http://forums.Adobe.com/thread/601342?decorator=print&displayFullThread=true

    It could anser your query.

    Anser another is "Merapi project" - This allows you to connect to the local application of Java of the AIR application.

  • My hp c4500 Wireless will not print. Troubleshooting says my printer is not communicating with the router.

    MY hp c4500 wireless printer will not print. Troubleshooting says my printer is not communicating with the wireless router. I've checked everything. Unable to find the answer.

    Hello

    As OEM HP is responsible for the good operation of the printer and their drivers. Check with
    HP support, their documentation online and drivers and ask in their forums.

    Good luck, you need to update or reinstall the latest driver.

    Support HP & drivers
    http://welcome.HP.com/country/us/en/support.html

    Contact HP
    http://welcome.HP.com/country/us/en/contact_us.html

    HP forums
    http://h30434.www3.HP.com/PSG/

    =============================================

    The main issue is probably the drivers, but these can help:

    Add or remove a printer
    http://Windows.Microsoft.com/en-us/Windows-Vista/add-or-remove-a-printer

    Solve printer problems
    http://Windows.Microsoft.com/en-us/Windows-Vista/troubleshoot-printer-problems

    Open the printer Troubleshooter
    http://Windows.Microsoft.com/en-us/Windows7/open-the-printer-Troubleshooter

    Find the manufacturer's Web site
    http://Windows.Microsoft.com/en-us/Windows-Vista/find-a-printer-manufacturers-website

    Find and install printer drivers in Windows 7
    http://Windows.Microsoft.com/en-us/Windows7/find-and-install-printer-drivers

    I hope this helps.

    Rob Brown - Microsoft MVP<- profile="" -="" windows="" expert="" -="" consumer="" :="" bicycle=""><- mark="" twain="" said="" it="">

  • OfficeJet Pro 8600 Plus: PC stopped communicating with wireless Officejet Pro 8600 more

    My HP printer has been connected to my PC via my home wireless network and work without problem, for 18 months.  A few weeks ago the printer stop appearing in the printer dialog box when I went to print a document.  The printer continues to operate wireless for all my mobile devices without problem.

    I went through all the HP process and tools for troubleshooting, downloaded and installed all updates, nothing helps.  I uninstalled my PC off and now it will not reinstall.  The installation process see the printer on the network, but when I try to install it it said "cannot be installed on the network" and it goes no further. I lost hours and hours trying to get to the bottom of it, nothing helps.

    What is the problem?

    Hi @Layli,

    Welcome to the HP Forums!

    I noticed that your PC has stopped communicating with your HP Officejet Pro 8600 wireless connection more. I'm sorry to hear that, but happy to help!

    Out of curiosity, what happens if you install the printer using the USB method wireless configuration? Check out this guide, your wireless printerand select Configuration USB wireless.

    Also, if this does not work, able to install the printer are you using a USB connection? In this way, we can see if the problem could be the connection itself or not.

    You see error messages on the control panel of the printer at all?

    Thanks for posting and hope to hear from you soon!

  • Sharing a wireless connection on a laptop with a desktop computer

    Someone just mention something about the possibility to share wireless being removed in Windows Vista and 7, or at least the 'home' versions Is this true?

    I wouldn't be able to use a laptop running Vista Home Premium to connect to a Wi - Fi hotspot and then to share that connection with your desktop via a crossover cable by using ICS? I know it's possible with XP Pro very easily.

    Hello

    In Vista, you can use ICS.

    http://Windows.Microsoft.com/en-us/Windows-Vista/using-ICS-Internet-connection-sharing

    Win 7 support ICS too and this new arrangement as well.

    http://virtualrouter.codeplex.com/

    Jack - Microsoft MVP, Windows networking. WWW.EZLAN.NET

  • You can directly download the CC applications and authenticate with my adobe cloud identification information without using the desktop application? whenever I have try with the desktop app it says impossible to arrive on the same adobe servers when I'm c

    Hello

    You can directly download the CC applications and authenticate with my adobe cloud identification information without using the desktop application? whenever I have try with the desktop app it says impossible to arrive on the same adobe servers when I'm connected to the Internet and I don't have any active anti-virus software?

    Thank you

    No application of cc, no clouds. It's the simple truth here. Programs cannot operate without him, since he controls the installation and licensing. the rest, we do not know, since you have not provided any useful technical information. Start by reading this (yet?):

    Solutions to connection errors, activation and connection with creative Cloud applications and Creative Suite

    What also good technical details are necessary.

    Mylenium

  • Hey I have a problem with the library, when I try to enable the creative cloud desktop application it keeps saying "cannot restore the file: C/users/USER name as the location of the file is not available."

    Library Eroor.jpg

    This is a double post of a following:

    Hey I have a problem with the library, when I try to enable the creative cloud desktop application it keeps saying "cannot restore the file: C/users/USER name as the location of the file is not available."

Maybe you are looking for

  • Recovering a system of vista OEM on a Satellite A300

    I already bought a Satellite A300 with vista Premium SP1. Then I installed ubuntu on my computer.Unfortunately now my Vista does not work. He wasn't just any CD/DVD recovery with pc. I've been searching to recover my system but I found nothing didn t

  • Why not show the photos from my iPhone to the top in iPhoto?

    I recently started using iCloud for storing photos.  Pictures taken from my iPhone 6 appear in iCloud without problem, but they are never on iPhoto (MacBook Pro).  I sync my iPhone to get photos imported into iPhoto.  The settings on my phone and com

  • Challenge! An email from LabVIEW GUI for anyone aged

    My elderly neighbour was recently in place with a small laptop (running win7 starter) and a hotmail account to keep in touch with loved ones. She is in her late 80s, and has never used a computer before. She can drive a tractor and shoot moles but wa

  • Stop shuts the laptop Windows 8 - FAN, power button light &amp; Toucpad Light we

    I have HP Pavillion DV6 6140Tx Install Windows 8 Enterprise Edition and update drivers using the drivers for Windows 7 64 x on HP site The problem is that when I stop my laptop, isn't it shutsdown, it turns off the screen, but not the movement of pro

  • HP dc7900 SFF. ATI Radeon HD 7750

    Hello I plan to buy a 7750 the radeon hd gpu. I want to just make sure it will work with supply POWER 240 w, it's in my hp dc7900 sff and my pc specs are:HP dc7900 sffQ45 chipsetIntel Core 2 Quad Q6600 ~ 2.4 GHz4 GB of ddr2 ram power SUPPLY 240 block