I'm a newbie about windows phone, this is my first project, a app calculate calories when running in wp8.1 RT, but I have a problem, basically I have 3 pages, mainpage is page 1, how must I do whenever I click a button in page 1 (start running), a stopwatch in page 3 starts counting and start receiving data gps of Map in page 2 (distance,speed) automatically, ie I'm still in page 1, the other pages run in background if i don't navigate to them ? ( I implemented stopwatch and map in project), forgive me because I'm not good at English.
In a Windows Phone App (does not matter if is silverlight or RT) you just can run a page at time.
Instead use several pages, you can use Background task or Geofencing.
I hope it helps you.
Related
I am building a Universal App using Prism framework. In my Windows Phone app, I have a scenario that I navigate from Page 1 to Page 2, and from Page 2 to Page 3. On click of the Back button on Page 3, I want to go back to Page 1.
I figured that only way I can do is by removing the previous entry from the back stack. But, unfortunately, the NavigationService provided by Prism doesn't have such a method. There is ClearHistroy, but that is not what I want.
Is there a way?
Appreciate your help.
Naweed
For the moment the current implementation of PRISM has stopped ( there is a team working on a newer version - so let's hope they extend this for Win10 ).
So you need to do this the 'old' way, get hold of the Frame in the app and remove an entry from the BackStack. You could use a PRISM event to notify the page and in the code behind of that page run
if(this.Frame.CanGoBack)
{
this.Frame.BackStack.RemoveAt(0);
}
I have developed wp8 app and looking for a control to slide. I am showing single verse in the page and I want the user to slide (forward and backward) to show next verse, verses may reach 286. I have seen this feature in many application in windows phone store, but I don't what wp8 control they are using.
appreciate your feedback!
Panorama is that you have one image in the background you move a little everytime you go to one side, it is what is used in the image app.
But since you need 286, you should not use the panorama control. Then you should rely on the pivot but beware of microsoft not wanting the users to be confused and caught inside 286 pages, so you need to give the user and overview and use a button that can return a person to the start page.
I would like to use same design in my app as has default rating/review page in Windows Phone 8 - (Page which appears when user wants to review an app). Where can I get the screen shot of this page? Or is there aviable original template for this page?
You can take the screenshot on your phone and copy it to your computer. There is no template for that page that is publicly available, why would you need it?
If you want to enable rating your app from the phone itself, use MarketplaceReviewTask.
If you want to reuse the star rating control, you can get it from the Windows Phone Toolkit: see RatingControl.
I have a windows 8 app, in which i show the list of students as tiles. When a tile is tapped on, the app bar opens which give the option to edit. My question is; when the tile is tapped, is it fine to go to the Edit window rather than opening the app bar. Does windows 8 app guidelines allow this.
I have gone through the windows 8 guidelines but it has left me confused if its the right way or not.
Thanks in advance.
I think the best way to do this must be that on click of the tile you should open the edit window. And the appbar must have only add button, so that in case the user wants to add a student he can do so through the app bar. I feel this is the correct user experience.
I have this requirement where i have to show a menu when users slide their finger down the screen. Just like viewing notifications in android and iOS.
If not the same thing may be any alternatives that i can use.
I'm new to windows phone development.
Please help.
While it can be done on your own, it's a pain to do well, and Telerik has already done this - check out their Data Bound ListBox control - http://www.telerik.com/products/windows-phone/overview/all-controls/databoundlistbox.aspx