Why not have your app start the second app and periodically check for resultant data from the second app by means of a file written by the second app. This could be done with a timer at any interval that would not slow down the system. As long as there is no file then there is no result from the peer app. When the file is written by the peer app and detected by the first app then the resultant data can be read from the second app. Very simple and foolproof. You can even test the logic yourself without the second app by creating a dummy file. Any amount of data can be transferred via the file in whatever format that you and your friend set up in advance, There are numerous examples of file manipulation up here for you to study and use in your app. Of course this is not as elegant as the other solutions submitted by my peers but it will do the job for you.
Regards,
Ray
Last edited: Nov 27, 2012
------------------------------------------------------
HTC Droid Incredible, T-Mobile Samsung Galaxy S 4G, Samsung Galaxy Tab 7" running Gingerbread , Samsung Galaxy S Blaze running Ice Cream Sandwich 4.0.4, Dell Inspiron running Windows 7 Home Premium.
[SIGPIC][/SIGPIC]