-
Recent Posts
Categories
Category Archives: wp7
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
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
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
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
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
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
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
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
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
launching internet explorer from hyperlinkbutton
My Silverlight application has a HyperlinkButton. If I set the NavigateUri to an external Uri such as “http://www.bing.com” .. I will get a RootFrame_NavigationFailed with a NavigationFailedEventArgs that says “Navigation is only supported to relative URIs that are fragments or … Continue reading