Author Archives: jaimer

on a brief blogging break

To our FAQ readers,  first of all Thanks for visiting and subscribing.. We are preparing for MIX11, where a lot of great Windows Phone stuff is happening. Join us there face-to-face or follow it online, it will be fun and … Continue reading

Share
Posted in Uncategorized | Leave a comment

what should I save to have a great Page navigation experience

I am already saving my data when I navigate across pages, but I hear I should save some of the view state (not just view model) to make it seamless to the user when a user comes back after tombstoning. … Continue reading

Share
Posted in tombstoning, wp7 | Leave a comment

detecting tombstone for pages

Yesterday, I  showed how to detect if the application was truly tombstoned (terminated) or deactivated without termination.  I also mentioned, “sometimes, this is not all you need”;  what context is missing (when the flag is not enough)? The answer relies … Continue reading

Share
Posted in tombstoning, wp7 | Leave a comment

detecting a tombstones

You mentioned not to use StartupMode to detect a tombstone, how should it be done? If you just want to detect if a tombstone happened,  simply set a flag in your App’s handler to Deactivated event.  If the value of … Continue reading

Share
Posted in tombstoning, wp7 | Leave a comment

PhoneApplicationService.StartupMode

I am trying to use PhoneApplicationService.Current.StartupMode to detect if my application is tombstoned, but it seems to not detect deactivations that don’t tombstone. What gives? You are right; currently StartupMode does not convey whether a deactivation lead to a true … Continue reading

Share
Posted in tombstoning, wp7 | 2 Comments

PhoneApplicationPage.State limitations

I am serializing data in my PhoneApplicationPage.State dictionary and I see ‘weird’ errors when I insert a lot of data. Is this a known issue? Yes. Page.State has weird ‘limitations’. I have not seen these documented to exact limits, and … Continue reading

Share
Posted in tombstoning, wp7 | Leave a comment

pushpin virtualization

I am using the map control with lots, lots of data. I noticed the maps are a bit slow to draw. How can I virtualize the pushpins (and focus around a viewpoint)? There is not out-of-the-box support for pushpin virtualization … Continue reading

Share
Posted in maps, wp7 | Leave a comment

prevent zoom on a map

I am using the bing maps control in my app. I want to prevent the user from zooming in or out. I hid the zoom bar, but cant’ disable gestures.  How can I prevent zoom? You can try hooking the … Continue reading

Share
Posted in maps, wp7 | Leave a comment

my app requires owner identity and I can’t tell why

I submitted the app to marketplace, and the required capabilities assigned to it by the system are that it requires “owner identity”.  I am not doing anything to access user data or identity. is this a problem with certification process? … Continue reading

Share
Posted in ads, controls, wp7 | 2 Comments

ad control outside the US

My understanding is that the ad control of pubcenter does not show ads outside of the US.Is there any way for me to detect this? You can listen to the ErrorOccurred event that gets fired:For XNA:http://msdn.microsoft.com/en-us/library/gg491967(v=MSADS.10).aspx For Silverlight:http://msdn.microsoft.com/en-us/library/ff973760(v=MSADS.10).aspx

Share
Posted in ads, wp7 | Tagged | Leave a comment