Welcome to the Java Programming Forums


The professional, friendly Java community. 21,500 members and growing!


The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


>> REGISTER NOW TO START POSTING


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 2 of 2

Thread: How to interact with an application and extract information from that?

  1. #1
    Junior Member
    Join Date
    Nov 2013
    Posts
    1
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Question How to interact with an application and extract information from that?

    I'm doing a project,where i have to extract information from a desktop application.The desktop application is one which will display all the statistics(like power generated,power consumed etc) of the solar power plant.I'm supposed to interact with this desktop application through some technique and I've to send all these data(power generated,power consumed etc) to my android phone using Internet services .I have to know how to interact with that application to get all data of solar power plant...please help.


  2. #2
    Forum VIP
    Join Date
    Jun 2011
    Posts
    317
    My Mood
    Bored
    Thanks
    47
    Thanked 89 Times in 74 Posts
    Blog Entries
    4

    Default Re: How to interact with an application and extract information from that?

    Look into JSON. You could output the data in the desktop app as a JSON file and upload it to a webserver, then retrieve the file from the app with a HTTP request. If there is a lot of data or it changes rapidly you will need a more sophisticated server/client relationship where the app requests specific data from the desktop and the desktop sits around listening for requests.

  3. The Following User Says Thank You to ChristopherLowe For This Useful Post:

    Karthik_P (November 8th, 2013)

Similar Threads

  1. Writing Java code that can interact with a webpage
    By uunrlg_143 in forum What's Wrong With My Code?
    Replies: 0
    Last Post: November 5th, 2013, 04:54 AM
  2. [SOLVED] How do I make a picture-part interact with a user?
    By SOG in forum What's Wrong With My Code?
    Replies: 9
    Last Post: September 12th, 2013, 08:34 PM
  3. How to get information from console during application is running
    By gael.anex in forum Java Theory & Questions
    Replies: 1
    Last Post: August 13th, 2012, 01:48 AM
  4. Components that interact with eachother
    By Flamespewer in forum AWT / Java Swing
    Replies: 2
    Last Post: February 25th, 2010, 09:27 PM