06-03-2010 01:24 AM
I want to share an image/data between two apps running concurrently. These both are different instances of same app through multiple entry points.
Solved! Go to Solution.
06-03-2010 01:34 AM
in another way if i had to just share an image file 70x70 then which of the following method will be best?
06-03-2010 09:48 AM
It depends on how you get the image. Is it a static image that is packaged or a dynamic image that you create/download? How are you updating the image and does it need to be synchronized updates?
06-04-2010 04:20 AM
Its a dynamic image being downloaded and used. No image updation is needed once the other app is launched. But need to update the image at next other app launched.
Its like App1 will download an image and App2 will used that image during its operation. At next App2 launch it will use the latest image downloaded by App1.
06-04-2010 04:23 AM
i would say a shared picture service in the runtime store would be a good solution.
06-04-2010 04:33 AM
I don`t know how will operate the App1 (run at startup or not) but after a restart if the user don`t run the App1 before he/she uses the App2 then the App2 will remain without pictures.
06-04-2010 05:00 AM
@sannyo dont worry App2 will be launched/visible to user only when App1 is launched before.
@simon I have already implemented the runtimestore solution and I too think it as the best solution of these three considering that frequency of this scenario will be quite low......besides this globalevent will require a listener listening for event which will be an overhead as only once that too at start of the App2 the image is needed and persistent store commit/retrieval is i think is more expensive then for runtime store.
I have gone for runtime store solution.