how to give instruction before application launch WP7.? - windows-phone-7

I want to show some instruction once in a while,
when application installed and start to run the application that time I have 3 screeen shots image one by one user tap on image it will forward to next image so how I can do this into windows phone 7.?
Note : this is only first time when app install and have look.
Thank you..!

May be you could create a UserControl which displayed when your MainPage has jus loaded.

Make another xaml page and redirect user to it in case it is a first launch of the application.
In a loaded event of the newly created page put this code:
NavigationService.RemoveBackEntry();
That should be it.

Related

How do I make and code a splash screen for an app in NativeScript (Angular)?

I'm trying to put an Splash Screen on the app that Im developing on NativeScript with angular, the problem is that I don't know how to create it and then implement it on the app.
What I want is just a screen that shows when I hopen the app and then just goes into a login screen (already have the login screen).
Checkout nativescript-splashscreen if you like to customise splash screen with cool animations & components.
Edit: If you are looking for a loading indicator to let user know you are processing something or waiting for a network call, you could use nativescript-loading-indicator Or even host your own dialog if you need something more customized.
You can use loader kind of mechanism if you want to just put some content for sometime you can add content on loader screen and it will be shows for defined time
you can use ngx-ui-loader npm package for this
else you can create new component and make it as dailog window that will open on login page loading and than it will be closed by click or timeout. you can use different NPM library for this.
This both approach might solve your splash screen problem.

WP7: Is it possible to intercept the backstack before the journal thumbnail is created/stored

You all know the Windows Phone backstack right. If you go through some apps, tap the Home key after starting each app. Now tap and hold the Backkey to see the Backstack. You can now see some small images of your apps, and can pick which one to go to right.
Question:
Is it possible to intercept before the backstack image is created? I have tried to blur my page in various events (include OnNavigatingFrom) to no avail.
My guess is some other event (probably something we don't have access to) is triggered and a bitmap is created, because when you use the Backstack to navigate you can just see a slight transition from the saved image to a real page IMO.
Does anyone know if its possible to intercept or manipulate these images on the backstack?
Example screenshot from WP emulator of the Backstack thumbnails
Following my comment, I've just tried this:
Set a breakpoint anywhere in the code
Start the app with the debugger attached, then let it reach the breakpoint
While the execution is stopped by the debugger, long press on the back button
The task switching UI is displayed even though the managed code execution is stopped
From there, I think we can safely conclude that the task switching and the thumbnail are handled entirely by native code. Therefore, there's nothing you can do.
I recently wrote a blogpost in which I discuss the ways I tried to hide data from the application snapshot. (You can read it here: http://corstianboerman.com/trying-to-hide-crucial-data-from-an-application-snapshot/)
The outcome: You just can't hide it.

Windows Phone Application - Start page depends on FileExist in isolated storage

I'm developing application that start page depends on file existing in isolated storage.
If file doesn't exist my application shows some form to setup configuration, but if it exist I wish this page will not be diesplayed.
For now I just load configutarion page but if file exist i use NavigationService to navigate to proper page on pageloaded event. The problem is that after I play with my app and hit back button it goes to configuration setup and because file exist it navigates me stright to my app again. I despite the fact that setup screen blinks on the application launching.
So my question is - how to setup startup page depends on some condition ?
The advice that I've heard is to use a UserControl on your startup page - then toggle the visibility depending on the condition you have. That way you don't end up with an unwanted page in the backstack and you get to fully control the UX.
The example I heard it with was a login page - not something you want on the backstack usually - but something you can easily check a bool to hide/show the user control.
The place I heard it was this video from Mix 11: Expert Lessons: Top Tips for Building a Successful Windows Phone Application. You can download the code to the demo (it is the first demo in that video) from the bottom of his blog entry here (which gives some more detail): Demos from my Mix 2011 session - Part 1: Navigation Tips
There is no way to launch different page on some conditions.
There are methods to manipulate Page Stack in NavigationService class, so you can remove setup page from history and app not will be navigated to it when user tap back button.
For fighting with page blinking you can put an image (the same image as splashscreen) above your page, and hide it when right content loaded

Mango Secondary Live Tile issue

I have a panorama application and I have successfully created secondary live tile with URI pointing to the desired xaml.cs. Now the xaml part which is separate from mainpage.xaml is of no use to me so what happens is when user goes to the secondary live tile, code from desired.xaml.cs is seen by the user. But when he presses the back button, he goes to an empty page and then goes to homepage and I am aware it is not possible to jump directly to home screen. So how do I solve this issue? If you are wondering how this works - try network dashboard for Windows phone. Quite similar.
Can't reproduce. When you are navigated from a Live Tile, and presses back, you'll exit the application, since there are no other pages in the navigation stack.
The Network Dashboard works the same way.
If you somehow managed to have other pages in your navigation-stack , consider removing them using NavigationService.RemoveBackEntry

How to change screen's in windows phone 7?

Problem with the UriMapper. The flaw is when i am navigating to my EULA page which navigates to first page which navigates to Main Page.xaml but, this navigates back to EULA.xaml, here i mapped the MainPage.xaml and toggled between EULA.xaml and MainPage.xaml. So, the problem is after EULA->firstpage->EULA but i want it like EULA->firstpage->MaiNPage. How to achive this?
Regards,
Panache
You have a navigation loop.
Instead of mapping MainPage with UriMapper, map a virtual page eg. MainOrFirstPage.
Are you talking about a Navigation Loop ? I have this problem with a login screen : Remove a page from Navigation Stack
If you want a way to only show your EULA page once, have a look at these questions which all cover this issue:
Creating a Logon Screen
How do I clear navigation history in Silverlight/Windows Phone 7?
How to change the startup page of a WP7 Application
Windows Phone 7 Sign in screen redirect
On application launch show 2 different pages based on a condition?

Resources