I am a new one for windows phone development.
I am working one windows phone project.In this project default or when app launching load the MainPage.xaml. But I want load my own page at the time of launching app with check some condition.
Example i create one variable i in App.xaml, that i value is equal to 1 then go to odd.xaml otherwise it's go to even.xaml.
I am trying some code. It doesn't work.
And i some link. But I can't understand the logic.
Please give the brief explanation with example.
Thanks in advance.
Related
So i've created an application in visual studio for windows phone using a web view and I'm just wondering if its possible to send a message to the user that pops up as an alert when they are outside of the app? Every week I want the user to receive a notification from the application. After some searching around I wasn't able to find much information on this that is specific to web views so I'm not sure if this is possible using javascript?
Thanks for the help
What you want to do is create scheduled toast notification. You need to use WinJS or C# to do the job. You can call functions outside of the webview from javascript using ScriptNotified event
Is there a way to get the following data from the windows phone store without having to parse whole HTML page (I got the app ID)?
- Name
- Description
- Access the search (and return only App IDs so I can get what I need for the search reults)
I already found this question regarding zune, but that seems to be discontinued, if I'm rigjt. Is there soemthing similar for Windows Phone 8?
you can show the details of the by using MarketplaceDetailTask from Microsoft.Phone.Tasks
here the links , which explains how to show the details page of a app from store.
1)How to use the Marketplace detail task for Windows Phone 8
2)http://www.geekchamp.com/tips/how-to-use-the-marketplace-tasks-in-windows-phone-8
Hope this helps.
Thank you.
I need help on how to build an app for windows 8 phone which is exactly similar to Kid's Corner application which is available with NOKIA LUMIA 520.
I registered with the App Studio of Microsoft and tried to create a simple application like album but as a nubee I am not aware of all fundamentals and so need a simple guide.
Here is what I want my application should do:
Once you launch it, you can not go back until you lock phone and unlock it using password. same way as Kid's Corner.
I want that the app user should be able to see videos and photos only which the app is allowed to access.
User should be able to Zoom photos and play pause videos and using touch-slide can view the next one.
User should not be able to delete any files.
Thanks for pointing me to the exact resource where I can find some things which are easy to understand and simple to do :) .
Thanks a lot!
EDIT:
Is it possible to get the source code of Kid's Zone/Corner application?
1. Once you launch it, you can not go back until you lock phone and unlock it using password. same way as Kid's Corner.
This is impossible to lock user into your app. User always can exit or suspend your app using hardware buttons, you just can handle back button tab, but user also can touch to startmenu button or can hold to backbutton.
And you cant get kid zone's source code, its part of Windows Phone OS.
When I try to log out(both using my own button and the one provided in the SDK) I am "able" to log out. The reason I use the quotation marks is that when I will try to log in again, it is automatically logging me in as the previous logged in user. Thus, I am not able to change user. I'm assuming that this is some cache issues in the web browser or something like that. Anyone know if this will be fixed when the sdk is out of its alpha? Any help appreciated!
The problem is that the FB authentication cookies are still in the WebBrowser data.
Here is the code that clears the WebBrowser cookies (no matter which instance of WebBrowser it's called on):
await new WebBrowser().ClearCookiesAsync();
I made a little app for WP8 that would fetch notifications from Azure mobile service table (and it did). Then I added push to it. The app is identical to the sample app given on the Azure website. I even tried the sample one and the same thing happened: log shows toasts have been sent but my device doesn't receive any at all.
Also, I have done the same with WinJS app and it works flawlessly.
Last night, I tried it again and got toast on device just once out of nearly 20 requests.
I am clueless - if its the code that you are looking for it's right here http://www.windowsazure.com/en-us/develop/mobile/tutorials/get-started-with-push-wp8/
Any help would be appreciated, thanks!
Were you running the application in the foreground on the phone at the time? Toasts don't show on WP8 if the app is in the foreground.