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.
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.