0

I want to pass some data(e.g. string values) of foreground app to background agent in window phone application. How can i do it?

Ritesh Gupta
  • 171
  • 1
  • 2
  • 19

2 Answers2

2

Have a look at "Communication Between Foreground Application and Background Agent" in this link (halfway down the page):

msdn.microsoft.com/en-us/library/hh202944(v=vs.92).aspx

PmanAce
  • 4,000
  • 2
  • 24
  • 29
  • Link is broken, here it is over again: http://msdn.microsoft.com/en-us/library/windowsphone/develop/hh202944(v=vs.105).aspx. More information on the topic is also available here: http://msdn.microsoft.com/en-us/library/windowsphone/develop/hh394039(v=vs.105).aspx – canderso Apr 12 '13 at 09:29
1

You can use IsolatedStorage and ApplicationSettings

Igor Kulman
  • 16,211
  • 10
  • 57
  • 118