Windows Phone 8: How to remove the delay of a Pivot control? - windows-phone-8

I want to use the Pivot control in my Windows Phone 8 app. It all works great except for one little detail... it seems to have delay when I swipe between pivot items.
To explain what I am talking about. Please compare the following:
In Visual Studio, create a new project based on the "Windows Phone Pivot App" template. Run this on a device or in the emulator. Swipe left or right a couple of times.
Now open up the settings app or the native mail app on Windows Phone 8. Those apps use a Pivot as well. Now swipe left or right a couple of times again. Notice how fast new content is displayed every time you swipe!
So basically: I want to remove the "delay" I experience when using the stock Pivot control and instead have the same speed as the settings and mail app.
Can anyone help me out please?

Related

Is there a Common Sharing UI in Windows Phone 8?

I know how to use the various tasks/launchers in Windows Phone to share a link or status on twitter, etc. However, is there anything built into the Windows Phone 8.x API to create a sharing screen like the one shown in the image below?
I've seen this same screen in both native Windows Phone apps (e.g. when tap-n-hold to share an app in the app list) as well as 3rd party apps (e.g. IMDB). Seeing this, I'd like to think this is available to be used by custom apps
Can anyone tell me if this exists as a shared component/API? If not, does anyone have some sample code for creating the page dynamically?
Ok, it turns out there is an API (via the Share Contract) in Windows Phone for this. It is called DataTransferManager.ShowShareUI and you can find out more information about it here.
Unfortunately, there is not others shared component/API (I also try to find it).
But by using Launchers you help provide a consistent user experience throughout the Windows Phone platform, so users already know "how to share".

Overlay an app on top of another

Any way I can write a windows store app (for phone or other) which will allow me to draw on top of other apps? In other words, I'd like my app to run in the background and not handle any user gestures but be able to draw on a semi-transparent overlay / canvas above any other running apps. I can do this in windows 7 but WinRT is new to me.
thanks
I do not believe it is possible due to the sandboxed nature of Windows Store Apps to do something like this (much akin to iOS). Windows 8 has much tighter security in its applications, so much so that you can't even take a screenshot in a metro app, because if a user has split the screen to hold two apps, you could potentially capture information from the other application.
Please correct me if I'm wrong, but I've encountered this problem before and have found no viable solution.

taking automatic photos windows phone

I want my windows phone application to take automatic photos without the users intervention.
The cameraCaptureTask.Show() method opens the camera application and this is not what I want to do. I want to be able to take photos without asking the user to click on anything.
how can I do that?
Use PhotoCaptureDevice documented here: Capturing photos for Windows Phone.
However, when do you want to take photos? What is the logic behind it? Be aware that your application must be running to take photos programmatically.

creating manual view to In App purchase

I am using In App feature in my windows phone app and uploaded beta version to store. everything is working fine but it shows me two buttons, Install and Cancel, I need to change the text install to Purchase.
since we are not going to install anything we are purchasing an item so i need make fallowing changes like given Image
I don't know how to make these change, If any one have idea then suggest me what to do.
Thanks.
no answer at all.
Is this not possible?
For beta app, all IAP's are free - that's why in your first screen it is listed as "Free".
This purchase windows is common purchase experience defined by WP platform. You can't make changes/customizations to this. You can read more here, see point D.

How to disable screen saver in WinRT

This is how you do it on Windows Phone 7 http://blog.jerrynixon.com/2011/11/mango-sample-lock-and-run.html is it possible in Windows 8?
This sample is showing you how to implement the functionality so your app will still "run" when the device is locked. It only seems to work with a kind of "background tasks" which makes it not exactly the same as it is for Windows Phone.
http://code.msdn.microsoft.com/windowsapps/Lock-screen-apps-sample-9843dc3a
Please note that an app that can run when the device is locked should have at least one of the following background tasks:
Control Channel
Timer
Push Notification
Here is some more info on the lockscreen: http://msdn.microsoft.com/library/windows/apps/Hh779720
UPDATE:
As far as I have found there is no exact behaviour like in Windows phone to run your app under the lockscreen. There are a few recent posts on the MSDN blogs which explain the background model http://blogs.msdn.com/b/windowsappdev/archive/2012/05/16/being-productive-when-your-app-is-offscreen.aspx?wa=wsignin1.0
Sorry to see that at this moment there is no way to make it work under the lockscreen