WP7 navigation

6 views
Skip to first unread message

Adrian Hara

unread,
Feb 14, 2011, 4:13:19 PM2/14/11
to nro...@googlegroups.com

Hey Rishi,

 

Just wanted to ask what’s the current status of nRoute-wp7 integration? And maybe a few very short bullet points on how/what to use for navigation/tombstoning, what doesn’t work (if anything) and what to look out for. Also you mentioned a sample for wp7 as far as I remember, but can’t see one on codeplex/nroute5. Am I looking in the wrong place?

 

Many thanks,

Adi

 

Freundliche Grüsse / Best regards

Adrian Hara
Cloud Developer
LinkedIn 


coresystems ag
Villa im Park | Dorfstrasse 69
5210 Windisch | Switzerland


Phone +41 56 500 22 22
Fax +41 56 444 20 50
Infoline +41 848 088 088
www.coresystems.ch
www.coresuite.com
follow us on
twitter

Visit us at CeBIT:
SAP Partner Booth: Hall 5, Booth A18
Cloud Computing: Hall 4, Booth A58
OS X Business Park: Hall 2, Booth A20
Microsoft Booth: Hall 4, Booth P47

The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and / or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any computer.

Rishi Oberoi

unread,
Feb 15, 2011, 6:12:14 AM2/15/11
to nro...@googlegroups.com
Well, the code to use WP7 navigation has been there for sometime, but I've just been pondering on it. Nonetheless, the main gist is this:

1. For the frame use ApplicationFrameContainer type (as opposed to PhoneApplicationFrame), it's a NavigationContainer
2. For mapping you need to map the file path as opposed to the type, so use something like:

[MapNavigationFile("Pages/Main/""/MainPage.xaml")]

Note this only applies to the types you navigate at the top-frame level (i.e. in the ApplicationFrameContainer).
3. If you want to tombstone/untombstone the state then note ApplicationFrameContainer implements ISupportNavigationViewState

I'll post a detailed post on how to use, and about some potential issues later. Secondly, sorry there is no sample in the repository for #wp7 as of now.

Rishi

Adrian Hara

unread,
Feb 15, 2011, 6:15:53 AM2/15/11
to nro...@googlegroups.com

Cool, I used 1 & 2 already, was wondering if something changed there. And 3 is of course a welcome addition, as I used some custom hacks to make it happen J

 

Thnx for the info and looking forward to the later post,

Adi

 

Freundliche Grüsse / Best regards

Adrian Hara
Cloud Developer
LinkedIn 


coresystems ag
Villa im Park | Dorfstrasse 69
5210 Windisch | Switzerland


Phone +41 56 500 22 22
Fax +41 56 444 20 50
Infoline +41 848 088 088
www.coresystems.ch
www.coresuite.com
follow us on
twitter

Visit us at CeBIT:
SAP Partner Booth: Hall 5, Booth A18
Cloud Computing: Hall 4, Booth A58
OS X Business Park: Hall 2, Booth A20
Microsoft Booth: Hall 4, Booth P47

The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and / or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any computer.

Rishi Oberoi

unread,
Feb 15, 2011, 6:24:34 AM2/15/11
to nro...@googlegroups.com
Well, if you've used 1 and 2 - the thing to note is under it all I'm just using wp7's native navigation, as there was no way I could escape it without loosing functionality or worse getting the app rejected. And so by wrapping wp7's navigation, I support nRoute's specific infrastructure by interjecting before and post navigation. 

Rishi
Reply all
Reply to author
Forward
0 new messages