ANID 2 In Windows 8.1 universal apps

Hi, We want to have unique id just like ANID 2 in windows phone 8.1. So. what options do we have for unique ids ?

I think you want ASHWID:
https://msdn.microsoft.com/en-us/library/windows/apps/jj553431.aspx?f=255&MSPPError=-2147217396
Matt Small - Microsoft Escalation Engineer - Forum Moderator
If my reply answers your question, please mark this post as answered.
NOTE: If I ask for code, please provide something that I can drop directly into a project and run (including XAML), or an actual application project. I'm trying to help a lot of people, so I don't have time to figure out weird snippets with undefined
objects and unknown namespaces.

Similar Messages

  • Virtualization in Windows Phone based universal app.

    As a dev I'm wondering, with the WP10 sdk, can we build a CPU emulation app like virtualbox/QEMU for Windows phone and emulate let's say Win98/XP/Old Linux distro, inside the app?
    David98xp

    Try providing some height for ScrollViewer ( scrollviewer would only work if its height is within the visible container & smaller then the content, so in your case, stack panel's height inside scrollViewer should be greater then it)
    http://developer.nokia.com/community/wiki/Using_Crypto%2B%2B_library_with_Windows_Phone_8

  • Universal App: no Application Insights for Windows Phone 8.1 project

    I just created an universal app and installed the Application Insights Tools for Visual Studio extension. It was easy to add AI for the Windows 8.1 project. Unfortunately there is no "Add Application Insights Telemetry to project..." command for
    the Windows Phone 8.1 project. Am I missing something? What might be wrong?
    Thanks
    Hans-Peter

    Officially yes, but you should be able to get it to work:
    • Add Microsoft.ApplicationInsights.WindowsPhone package to the “Phone” project.
    • Add Microsoft.ApplicationInsights.WindowsStore package to the “Store” project.
    • Add <InstrumentationKey/> element to the ApplicationInsights.config files in both Phone and Store projects with the actual instrumentation key of your app. You need to decide whether you want to use single key for both windows and phone apps or separate
    keys.
    • Create a new instance of the TelemetryContext class in the App class in the Shared project and store it in a public static variable for use by the rest of the code in the universal project.
    Jakub Oleksy | Developer | Visual Studio Online

  • How to disable webview cache for Windows Phone 8.1 Runtime universal app?

    Is it possible to disable cache for the Webview control for a Windows Phone 8.1 runtime universal app? My App seems to be remembering the information it received the first time. My app logs me into a service and when I go back to rerun app in the emulator
    (without completing shutting down the emulator) it logs me in automatically rather than giving me the prompt. This behavior is in the NavigationCompleted handler if that helps explain a bit more on where I am hitting this issue.
    If I were to shut off the emulator completely and then restart it then I am prompted for the login name and password again. I have gotten over this cache issue, when I was using the HttpClient in other part of my app, by sending the no-cache in the header
    as:
    client.DefaultRequestHeaders.Add("Cache-Control", "no-cache");
    Can I do something similar for the webview control?
    thanks
    mujno

    Hi mujno,
    As I know currently there is no programmatically way to clean cache for WebView, see Matt's blog:How to clear the WebView cache
    However if you are developing an enterprise app, you should be able to invoke some scripts to clean for you, see this for more information:Brokered
    Windows Runtime Components for side-loaded Windows Store apps
    --James
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Problem with SQLite in Universal App (Windows Phone part)

    Hello,
    I am using Universal Apps project because I want to move myself from Silverlight.
    In Silverlight type of Windows Phone project, it is very easy to work with SQLite either on 8.0 or 8.1.
    But I can't find a way to work with SQLite in Universal project. There is no IsolatedStorage to check if database exist, and if it does not exist, Application will put it in the IsolatedStorage.
    I always get message "No such table: kategorije" where "kategorije" is the name of one table in my database.
    I guess that Application can't find the database.
    Is there any tutorial (I have tried to find it) on how to use SQLite in Universal Apps with custom written querys?
    Development Technician, Microsoft Certified Professional

    Here's a link you can refer to : Using SQLite as local database with Universal Apps
    http://developer.nokia.com/community/wiki/Using_Crypto%2B%2B_library_with_Windows_Phone_8

  • Cannot load shared 'project' in Windows Universal app after upgrading to Azure SDK 2.6

    I've just installed the
    April 2015 release of the Azure SDK. It is version 2.6 and previously I was on 2.5. Now one of my projects will not load. It is the shared project in a Windows Universal application.
    When I right-click the project and choose 'reload' I get the pop-up error 
    > The method or operation is not implemented
    The output window gives more detail:
    > Things.Shared.shproj : error  : The composition produced a single
    > composition error. The root cause is provided below. Review the
    > CompositionException.Errors property for more detailed information.

    > 1) No exports were found that match the constraint: 
    > ContractName
    Microsoft.VisualStudio.ProjectSystem.References.IBuildDependencyProjectReferencesService
    > RequiredTypeIdentity
    Microsoft.VisualStudio.ProjectSystem.References.IBuildDependencyProjectReferencesService

    > Resulting in: Cannot set import
    > 'Microsoft.VisualStudio.Azure.Deployment.ProjectReferenceMaintenanceService.ProjectReferencesService
    > (ContractName="Microsoft.VisualStudio.ProjectSystem.References.IBuildDependencyProjectReferencesService")'
    > on part
    > 'Microsoft.VisualStudio.Azure.Deployment.ProjectReferenceMaintenanceService'.
    > Element:
    > Microsoft.VisualStudio.Azure.Deployment.ProjectReferenceMaintenanceService.ProjectReferencesService
    > (ContractName="Microsoft.VisualStudio.ProjectSystem.References.IBuildDependencyProjectReferencesService")
    > -->  Microsoft.VisualStudio.Azure.Deployment.ProjectReferenceMaintenanceService

    > Resulting in: Cannot get export
    > 'Microsoft.VisualStudio.Azure.Deployment.ProjectReferenceMaintenanceService.WireUp
    > (ContractName="Microsoft.VisualStudio.ProjectSystem.ConfiguredProject.AutoLoad")'
    > from part
    > 'Microsoft.VisualStudio.Azure.Deployment.ProjectReferenceMaintenanceService'.
    > Element:
    > Microsoft.VisualStudio.Azure.Deployment.ProjectReferenceMaintenanceService.WireUp
    > (ContractName="Microsoft.VisualStudio.ProjectSystem.ConfiguredProject.AutoLoad")
    > -->  Microsoft.VisualStudio.Azure.Deployment.ProjectReferenceMaintenanceService
    The other parts to the Windows Universal app (the Windows 8.1 project and the Windows Phone 8.1 project) have two Azure NuGet packages installed: Windows Azure Mobile Services 1.3.2 and Windows Azure Storage 4.3.0. (N.B. Those two projects load without issue.)
    This is not a show stopper for me since uninstalling the Azure SDK 2.6 removes the load failure. To uninstall I go via the Control Panel to 'uninstall or change a program' and then uninstall Microsoft Azure Tools for Microsoft Visual Studio 2013 - v2.6
    I would like to know how to fix this without uninstalling the Azure SDK 4.6.

    Hi
    Have the same problem and waiting for an answer also.
    Code is like a box of chocolates!...

  • How to use the code written in App.Xaml.cs in Windows Phone 8 in Windows Phone 8.1 Universal Apps

    i have a App.xaml.cs file in Windows Phone 8.0 , amd i want to use the code in that file to make work with App.xaml.cs file in Windows Phone 8.1 Universal Apps
    My Windows Phone 8 App.xaml.cs file is like as below
    namespace OnlineVideos
    public partial class App : Application
    #region Initialization
    public static dynamic group = default(dynamic);
    public static dynamic grouptelugu = default(dynamic);
    public static ShowList webinfo = default(ShowList);
    public static WebInformation webinfotable = new WebInformation();
    AppInitialize objCustomSetting;
    IsolatedStorageSettings settings = IsolatedStorageSettings.ApplicationSettings;
    DispatcherTimer timer;
    IsolatedStorageFile isoStore = IsolatedStorageFile.GetUserStoreForApplication();
    public static bool AdStatus = false;
    public App()
    UnhandledException += Application_UnhandledException;
    if (System.Diagnostics.Debugger.IsAttached)
    Application.Current.Host.Settings.EnableFrameRateCounter = true;
    //RootFrame.UriMapper = Resources["UriMapper"] as UriMapper;
    AppSettings.NavigationID = false;
    objCustomSetting = new AppInitialize();
    timer = new DispatcherTimer();
    Constants.DownloadTimer = timer;
    InitializeComponent();
    InitializePhoneApplication();
    #endregion
    #region "Private Methods"
    void StartDownloadingShows()
    timer.Interval = TimeSpan.FromSeconds(10);
    timer.Tick += new EventHandler(timer_Tick);
    timer.Start();
    void timer_Tick(object sender, EventArgs e)
    try
    BackgroundWorker worker = new BackgroundWorker();
    worker.DoWork += new DoWorkEventHandler(StartBackgroundDownload);
    worker.RunWorkerCompleted += new RunWorkerCompletedEventHandler(worker_RunWorkerCompleted);
    worker.RunWorkerAsync();
    catch (Exception)
    void worker_RunWorkerCompleted(object sender, RunWorkerCompletedEventArgs e)
    if (AppSettings.StopTimer == "True")
    timer.Stop();
    AppSettings.StopTimer = "False";
    async void StartBackgroundDownload(object sender, DoWorkEventArgs e)
    switch (AppSettings.BackgroundAgentStatus)
    case SyncAgentStatus.DownloadFavourites:
    if (AppSettings.DownloadFavCompleted == false && AppSettings.SkyDriveLogin == true)
    Deployment.Current.Dispatcher.BeginInvoke(() =>
    timer.Stop();
    ReStoreFavourites reStoreFav = new ReStoreFavourites();
    await reStoreFav.RestorefavFolder(ResourceHelper.ProjectName);
    Deployment.Current.Dispatcher.BeginInvoke(() =>
    AppSettings.BackgroundAgentStatus = SyncAgentStatus.UploadFavourites;
    timer.Start();
    else
    AppSettings.BackgroundAgentStatus = SyncAgentStatus.UploadFavourites;
    break;
    case SyncAgentStatus.UploadFavourites:
    bool result = Task.Run(async () => await Storage.FavouriteFileExists("Favourites.xml")).Result;
    if (AppSettings.SkyDriveLogin == true && result)
    Deployment.Current.Dispatcher.BeginInvoke(() =>
    timer.Stop();
    UploadFavourites upLoad = new UploadFavourites();
    await upLoad.CreateFolderForFav(ResourceHelper.ProjectName);
    Deployment.Current.Dispatcher.BeginInvoke(() =>
    AppSettings.BackgroundAgentStatus = SyncAgentStatus.DownloadParentalControlPreferences;
    timer.Start();
    else
    AppSettings.BackgroundAgentStatus = SyncAgentStatus.DownloadParentalControlPreferences;
    break;
    case SyncAgentStatus.RestoreStory:
    if (AppSettings.DownloadStoryCompleted == false && AppSettings.SkyDriveLogin == true && (ResourceHelper.ProjectName == "Story Time" || ResourceHelper.ProjectName == "Vedic Library"))
    Deployment.Current.Dispatcher.BeginInvoke(() =>
    timer.Stop();
    RestoreStory restore = new RestoreStory();
    //if (ResourceHelper.ProjectName == "Story Time")
    await restore.RestoreFolder("StoryRecordings");
    //else
    // await restore.RestoreFolder("VedicRecordings");
    Deployment.Current.Dispatcher.BeginInvoke(() =>
    AppSettings.BackgroundAgentStatus = SyncAgentStatus.UploadStory;
    timer.Start();
    else
    AppSettings.BackgroundAgentStatus = SyncAgentStatus.UploadStory;
    break;
    case SyncAgentStatus.UploadStory:
    if (AppSettings.SkyDriveLogin == true && (ResourceHelper.ProjectName == "Story Time" || ResourceHelper.ProjectName == "Vedic Library"))
    Deployment.Current.Dispatcher.BeginInvoke(() =>
    timer.Stop();
    UploadStory st = new UploadStory();
    //if (ResourceHelper.ProjectName == "Story Time")
    await st.CreateFolder("StoryRecordings");
    //else
    // await st.CreateFolder("VedicRecordings");
    Deployment.Current.Dispatcher.BeginInvoke(() =>
    AppSettings.BackgroundAgentStatus = SyncAgentStatus.DownloadFavourites;
    timer.Start();
    else
    AppSettings.BackgroundAgentStatus = SyncAgentStatus.DownloadFavourites;
    break;
    default:
    ShowDownloader.StartBackgroundDownload(timer);
    break;
    #endregion
    #region "Application Events"
    private void pop_Opened_1(object sender, EventArgs e)
    DispatcherTimer timer1 = new DispatcherTimer();
    timer1.Interval = TimeSpan.FromSeconds(5);
    timer1.Tick += timer1_Tick;
    timer1.Start();
    void timer1_Tick(object sender, EventArgs e)
    (sender as DispatcherTimer).Stop();
    Border frameBorder = (Border)VisualTreeHelper.GetChild(Application.Current.RootVisual, 0);
    Popup Adc = frameBorder.FindName("pop") as Popup;
    Adc.IsOpen = false;
    private void Application_Launching(object sender, LaunchingEventArgs e)
    SQLite.SQLiteAsyncConnection conn = new SQLite.SQLiteAsyncConnection(Constants.DataBaseConnectionstringForSqlite);
    Constants.connection = conn;
    AppSettings.AppStatus = ApplicationStatus.Launching;
    AppSettings.StopTimer = "False";
    objCustomSetting.CheckElementSection();
    SyncButton.Login();
    if (AppSettings.IsNewVersion == true)
    AppSettings.RatingUserName = AppResources.RatingUserName;
    AppSettings.RatingPassword = AppResources.RatingPassword;
    AppSettings.ShowsRatingBlogUrl = AppResources.ShowsRatingBlogUrl;
    if (ResourceHelper.AppName == Apps.Online_Education.ToString() || ResourceHelper.AppName == Apps.DrivingTest.ToString())
    AppSettings.QuizRatingBlogUrl = AppResources.QuizRatingBlogUrl;
    AppSettings.LinksRatingBlogUrl = AppResources.LinksRatingBlogUrl;
    AppSettings.ShowsRatingBlogName = AppResources.ShowsRatingBlogName;
    AppSettings.LinksRatingBlogName = AppResources.LinksRatingBlogName;
    if (ResourceHelper.AppName == Apps.Online_Education.ToString() || ResourceHelper.AppName == Apps.DrivingTest.ToString())
    AppSettings.QuizLinksRatingBlogName = AppResources.QuizLinksRatingBlogName;
    Constants.UIThread = true;
    group=OnlineShow.GetTopRatedShows().Items;
    grouptelugu = OnlineShow.GetRecentlyAddedShows().Items;
    Constants.UIThread = false;
    StartDownloadingShows();
    private void Application_Activated(object sender, ActivatedEventArgs e)
    AppSettings.AppStatus = ApplicationStatus.Active;
    if (ResourceHelper.AppName == Apps.Kids_TV_Pro.ToString())
    AppSettings.ShowAdControl = false;
    private void Application_Deactivated(object sender, DeactivatedEventArgs e)
    AppSettings.AppStatus = ApplicationStatus.Deactive;
    AppState.RingtoneStatus = "TombStoned";
    private void Application_Closing(object sender, ClosingEventArgs e)
    AppSettings.AppStatus = ApplicationStatus.Closing;
    private void Application_UnhandledException(object sender, ApplicationUnhandledExceptionEventArgs e)
    FlurryWP8SDK.Api.LogError("Error at Application_UnhandledException in App.xaml.cs", e.ExceptionObject.InnerException);
    if (System.Diagnostics.Debugger.IsAttached)
    System.Diagnostics.Debugger.Break();
    else
    Exceptions.SaveOrSendExceptions("Exception in Application_UnhandledException Method In App.xaml.cs file.", e.ExceptionObject);
    e.Handled = true;
    return;
    #endregion
    #region Phone application initialization
    public PhoneApplicationFrame RootFrame { get; private set; }
    // Avoid double-initialization
    private bool phoneApplicationInitialized = false;
    // Do not add any additional code to this method
    private void InitializePhoneApplication()
    if (phoneApplicationInitialized)
    return;
    // Create the frame but don't set it as RootVisual yet; this allows the splash
    // screen to remain active until the application is ready to render.
    RootFrame = new PhoneApplicationFrame();
    if (App.Current.Resources["AdVisible"] as string == "True")
    RootFrame.Style = App.Current.Resources["RootFrameStyle"] as Style;
    RootFrame.ApplyTemplate();
    RootFrame.Navigated += CompleteInitializePhoneApplication;
    // Handle navigation failures
    RootFrame.NavigationFailed += RootFrame_NavigationFailed;
    // Ensure we don't initialize again
    phoneApplicationInitialized = true;
    //NonLinearNavigationService.Instance.Initialize(RootFrame);
    private void RootFrame_NavigationFailed(object sender, NavigationFailedEventArgs e)
    if (System.Diagnostics.Debugger.IsAttached)
    System.Diagnostics.Debugger.Break();
    else
    Exceptions.SaveOrSendExceptions("Exception in RootFrame_NavigationFailed Method In App.xaml.cs file.", e.Exception);
    e.Handled = true;
    return;
    // Do not add any additional code to this method
    private void CompleteInitializePhoneApplication(object sender, NavigationEventArgs e)
    // Set the root visual to allow the application to render
    if (RootVisual != RootFrame)
    RootVisual = RootFrame;
    // Remove this handler since it is no longer needed
    RootFrame.Navigated -= CompleteInitializePhoneApplication;
    #endregion
    Mohan Rajesh Komatlapalli

    Basically you are asking as how to port silverlight to Xaml (RT). Go one by one converting each API from silverlight to XAML, like IsolatedStorage isn't there in RT, so look for its alternative etc.
    See here the namespace/class mappings : Windows Phone Silverlight to Windows Runtime namespace and class mappings
    http://developer.nokia.com/community/wiki/Using_Crypto%2B%2B_library_with_Windows_Phone_8

  • Is there any event in windows universal app (wp8.1&win8.1) that fires when screen locked and unlocked with in the app?

    Hi All,
    Is there any event in windows universal app (wp8.1&win8.1) that fires when screen locked and unlocked with in the app
    Right now, I am using this below mentioned event
    Window.Current.VisibilityChanged +=
    CurrentWindow_VisibilityChanged;, but it fires even when app relaunches.
    Please anybody help me to solve this issue.

    Thanks for your early reply. but, those are system triggers used in background task. I want an event that fires when screen gets locked. like this...(a networkstatuschangedevent)
    NetworkStatusChangedEventHandler
    networkStatusCallback =
    newNetworkStatusChangedEventHandler(OnNetworkStatusChange);

  • Universal app on Windows Phone 10 black screen

    Hello,
    I received strange feedback that my application has some problems on Windows Phone 10. I can't test this because I don't have any Win10 devices. Can anyone check this app:
    https://www.windowsphone.com/en-us/store/app/instabullet/28cffcfa-4568-45e5-820d-fb761b408bdd?signin=true
    I have no idea where is the problem. After application starts it loads WebView with login page and on Win10 it is only black screen - at least one user has this problem with Lumia 635. Anyone had similiar problems? It is said that Universal app should work
    on Win10 if they work on Win 8.1.

    It's a simple page with WebView, frameworks used are Unity, MVVM light.
    XAML:
    <Page
    x:Class="PushBulletClient.Views.WebAuthView"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:local="using:PushBulletClient"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    xmlns:utils="using:PushBulletClient.Utils"
    mc:Ignorable="d"
    Background="{ThemeResource ApplicationPageBackgroundThemeBrush}"
    DataContext="{Binding WebAuthViewModel, Source={StaticResource Locator}}"
    xmlns:i="clr-namespace:System.Windows.Interactivity;assembly=System.Windows.Interactivity"
    xmlns:controls="using:PushBulletClient.Controls"
    xmlns:interactivity="using:Microsoft.Xaml.Interactivity"
    xmlns:core="using:Microsoft.Xaml.Interactions.Core">
    <Grid x:Name="LayoutRoot" Background="{StaticResource BackgroundColor}">
    <Grid.ChildrenTransitions>
    <TransitionCollection>
    <EntranceThemeTransition/>
    </TransitionCollection>
    </Grid.ChildrenTransitions>
    <Grid.RowDefinitions>
    <RowDefinition Height="Auto"/>
    <RowDefinition Height="*"/>
    </Grid.RowDefinitions>
    <!-- Title Panel -->
    <controls:HeaderControl Header="Login" IconSource="{StaticResource LogoImage}"/>
    <!--TODO: Content should be placed within the following grid-->
    <Grid Grid.Row="1" x:Name="ContentRoot" Margin="19,9.5,19,0">
    <Grid.RowDefinitions>
    <RowDefinition Height="*"/>
    </Grid.RowDefinitions>
    <Grid x:Name="GridLoading" Visibility="{Binding State,
    Converter={StaticResource StateIsEqualConverter},ConverterParameter=Loading}"
    Grid.Row="0" >
    <StackPanel HorizontalAlignment="Stretch" VerticalAlignment="Center">
    <ProgressBar HorizontalAlignment="Stretch" Background="{StaticResource BackgroundColor}" IsIndeterminate="True" />
    <TextBlock HorizontalAlignment="Center" Text="Loading..." />
    </StackPanel>
    </Grid>
    <Grid x:Name="GridDeclined" Visibility="{Binding State,
    Converter={StaticResource StateIsEqualConverter},ConverterParameter=Declined}"
    Grid.Row="0" >
    <StackPanel Orientation="Vertical">
    <TextBlock Margin="0,0,0,20" Style="{StaticResource SubheaderTextBlockStyle}" Text="Declined"/>
    <TextBlock TextWrapping="Wrap" Text="You must allow access to use Instabullet."/>
    <Button Margin="0,10,0,0" Content="Back" Click="ButtonBack_OnClick"/>
    </StackPanel>
    </Grid>
    <WebView Grid.Row="0"
    HorizontalAlignment="Stretch"
    VerticalAlignment="Stretch"
    x:Name="Navigator"
    NavigationStarting="Navigator_OnNavigationStarting"
    Visibility="{Binding IsBrowserVisible, Converter={StaticResource BoolToVisibilityConverter}}"
    >
    <interactivity:Interaction.Behaviors>
    <core:EventTriggerBehavior EventName="NavigationStarting">
    <core:InvokeCommandAction Command="{Binding NavigationStartingCommand}"
    InputConverter="{StaticResource StartingArgsToWebNavigationResultConverter}" />
    </core:EventTriggerBehavior>
    <core:EventTriggerBehavior EventName="NavigationCompleted">
    <core:InvokeCommandAction Command="{Binding NavigationCompletedCommand}"
    InputConverter="{StaticResource CompletedArgsToWebNavigationResultConverter}" />
    </core:EventTriggerBehavior>
    </interactivity:Interaction.Behaviors>
    </WebView>
    </Grid>
    </Grid>
    </Page>
    CS
    using System;
    using Windows.Foundation;
    using Windows.Phone.UI.Input;
    using Windows.UI.Xaml;
    using Windows.UI.Xaml.Controls;
    using Windows.UI.Xaml.Navigation;
    using GalaSoft.MvvmLight;
    using PushBulletClient.Common;
    // The Basic Page item template is documented at http://go.microsoft.com/fwlink/?LinkID=390556
    using PushBulletClient.Contracts.ViewModels;
    using PushBulletClient.Contracts.Views;
    using PushBulletClient.Models;
    using PushBulletClient.Utils;
    using PushBulletClient.ViewModels;
    namespace PushBulletClient.Views
    /// <summary>
    /// An empty page that can be used on its own or navigated to within a Frame.
    /// </summary>
    public sealed partial class WebAuthView : Page, IView
    private NavigationHelper navigationHelper;
    private ObservableDictionary defaultViewModel = new ObservableDictionary();
    public WebAuthView()
    this.InitializeComponent();
    this.navigationHelper = new NavigationHelper(this);
    this.navigationHelper.LoadState += NavigationHelper_LoadState;
    this.navigationHelper.SaveState += NavigationHelper_SaveState;
    this.Unloaded += WebAuthView_Unloaded;
    HardwareButtons.BackPressed += HardwareButtons_BackPressed;
    Navigator.Navigate(new Uri(Consts.AppUri));
    void WebAuthView_Unloaded(object sender, RoutedEventArgs e)
    HardwareButtons.BackPressed -= HardwareButtons_BackPressed;
    /// <summary>
    /// Gets the <see cref="NavigationHelper"/> associated with this <see cref="Page"/>.
    /// </summary>
    public NavigationHelper NavigationHelper
    get { return this.navigationHelper; }
    /// <summary>
    /// Gets the view model for this <see cref="Page"/>.
    /// This can be changed to a strongly typed view model.
    /// </summary>
    public ObservableDictionary DefaultViewModel
    get { return this.defaultViewModel; }
    /// <summary>
    /// Populates the page with content passed during navigation. Any saved state is also
    /// provided when recreating a page from a prior session.
    /// </summary>
    /// <param name="sender">
    /// The source of the event; typically <see cref="NavigationHelper"/>
    /// </param>
    /// <param name="e">Event data that provides both the navigation parameter passed to
    /// <see cref="Frame.Navigate(Type, Object)"/> when this page was initially requested and
    /// a dictionary of state preserved by this page during an earlier
    /// session. The state will be null the first time a page is visited.</param>
    private void NavigationHelper_LoadState(object sender, LoadStateEventArgs e)
    /// <summary>
    /// Preserves state associated with this page in case the application is suspended or the
    /// page is discarded from the navigation cache. Values must conform to the serialization
    /// requirements of <see cref="SuspensionManager.SessionState"/>.
    /// </summary>
    /// <param name="sender">The source of the event; typically <see cref="NavigationHelper"/></param>
    /// <param name="e">Event data that provides an empty dictionary to be populated with
    /// serializable state.</param>
    private void NavigationHelper_SaveState(object sender, SaveStateEventArgs e)
    #region NavigationHelper registration
    /// <summary>
    /// The methods provided in this section are simply used to allow
    /// NavigationHelper to respond to the page's navigation methods.
    /// <para>
    /// Page specific logic should be placed in event handlers for the
    /// <see cref="NavigationHelper.LoadState"/>
    /// and <see cref="NavigationHelper.SaveState"/>.
    /// The navigation parameter is available in the LoadState method
    /// in addition to page state preserved during an earlier session.
    /// </para>
    /// </summary>
    /// <param name="e">Provides data for navigation methods and event
    /// handlers that cannot cancel the navigation request.</param>
    protected override void OnNavigatedTo(NavigationEventArgs e)
    Navigator.Refresh();
    this.navigationHelper.OnNavigatedTo(e);
    protected override void OnNavigatedFrom(NavigationEventArgs e)
    this.navigationHelper.OnNavigatedFrom(e);
    #endregion
    public ViewModelBase ViewModel
    get { return this.DataContext as ViewModelBase; }
    private void HardwareButtons_BackPressed(object sender, BackPressedEventArgs e)
    if (Navigator.CanGoBack)
    Navigator.GoBack();
    e.Handled = true;
    private void Navigator_OnNavigationStarting(WebView sender, WebViewNavigationStartingEventArgs args)
    if (args.Uri.AbsolutePath.Contains("blank"))
    Navigator.Navigate(new Uri(Consts.AppUri));
    private void ButtonBack_OnClick(object sender, RoutedEventArgs e)
    Navigator.Navigate(new Uri(Consts.AppUri));
    There is also logic in ViewModel which doesn't contain any specific logic. 

  • Why am I getting the message "Your app isn't identified as a universal app in the Store." when I have already associated my Windows Phone app to my Windows Store app?

    I associated two Windows Phone apps to their respective Windows Store apps yet one of them is giving me this message on the pricing tab...
    "Your app isn’t identified as a universal app in the Store. Publish a Windows app with the same name, and you’ll enable the universal app icon, with all the associated benefits. If you’ve already published a related Windows app, this icon may not 
    be appearing because of restrictions you’ve set on your app.
    Learn more about  these restrictions."
    I have checked under "Learn more" and I am meeting all the requirements for the icon to show.  Please help as I really think having this icon on the Phone store will help downloads and I want my users to know there is a Windows partner app.
    RBL3

    I downloaded the new OS X Yosemite.
    Not sure what you mean by new, since Yosemite was released about 9 months ago.
    When i  try to open it i get this message, The version of iPhoto installed on this Mac is not compatible with OS X Yosemite.
    iPhoto version 9.6.1 is the latest version of iPhoto that is compatible with Yosemite. If you're just now updating to Yosemite from an older version of OS X, then you may have missed your window of opportunity to upgrade iPhoto to the latest version.
    So i go to the Mac App Store i get this message, "The item you've requested is not currently available in the U.S. store."
    With the release of the 3rd Yosemite update,10.10.3, which includes Photos, iPhoto is no longer available for purchase.
    I would recommend that you use Photos.

  • XmlResolver is not working in Windows Phone 8.1 Universal Apps

    XmlResolver is Working in WP8.0, But when coming to in WP8.1 Universal Apps it is not working.
    XmlReaderSettings settings2 = new XmlReaderSettings
    XmlResolver = new XmlXapResolver()
    Devi Prasad.P

    The XmlXapResolver is not supported in Windows Phone 8.1
    Universal Apps . Try use the XDocument class in Windows Phone 8.1 Universal Apps. 
    I sale myself ONLY half CNY!

  • How to add assembly reference in Window Universal App project?

    Hello All,
    Thanks for reading my question. I'm migrating a Windows Phone project into the new universal environment, but I'm missing a place to add the assembly reference for the code. One instance that is, I'm using System.Net.Sockets, but it says "Sockets does
    not exists in the namespace 'System.Net' (Are you missing an assembly reference?)". So do the case of Background.
    In the old version, I can add the reference from right click on the "References" from the Solution Explorer, but it is not working in the Universal one.
    Appreciated all your comment and support.
    Vincent

    Hi,
    Visual Studio Unit Testingforum is to resolve visual studio unit tests issues. Your issue is about you can’t
    an assembly reference in universal app after you migrated a windows phone project to an universal environment, it is not in our scope, I suggest you to consult on Windows and Windows Phone apps forum:
    http://social.msdn.microsoft.com/Forums/en-US/home?category=windowsapps for better support.
    Thanks,
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Firefox for Windows universal app

    Please create a Firefox version for Windows RT/Windows Phone/Windows10/Xbox etc as a universal app. I read about API restrictions on Windows phone 8/8.1 for Firefox from a different thread. I am hoping that with Windows10 this restriction is removed so a universal app for all the platforms can be created. Firefox has been sorely missing from the Windows RT/8/8.1 tablets and Windows phones 8/8.1.
    With a Windows 10 universal app Firefox would potentially be able to reach a far greater audience than Windows phone or Windows RT/8/8.1 alone. Firefox is one of the browsers used by millions on the Windows platform daily (32bit and 64-bit as of recently). Please extend it to the other Windows platforms as well.
    Thanks

    Hi jtletters:
    Very interesting idea, thanks for that. I will pass it on to the desktop team (I work on Firefox for Android mostly). I am sure they are at least thinking about it!
    Cheers!
    ...Roland

  • Windows 10 Universal App Support for WD My Cloud and WD Photos

    Since Windows 10 came out with full Windows Universal app support, it would be good to see all WD apps on Windows platform. With Universal App, WD can developp one single app that will work on regular Windows PC with Windows 10, Windows Mobile 10, Windows Tablets running Windows 10, Xbox, HoloLens, IoT... Far more potential than with any other OS.

    > Hi I have an WD My cloud and now I'm planning to buy a Nvidia Shield Player to play my movies collection and watch my photos on TV. If all you want to do is watch movies and look at photos, then the Shield seems to be overkill; it appears to be an Android gaming machine that also does media (that's why they stress how powerful the processor is; it's for high-performance gaming). http://www.techradar.com/reviews/gaming/games-consoles/nvidia-shield-android-tv-1287106/review > And I want to ask if someone is using it together and if its working ok. Not used the Shield, and only just looked at the website, which seems light on information and heavy on dark, moody pictures... > Most of my movies are in 1080p .mkv and I have DLNA server running on it. You have a DLNA server running on what? Oh, you mean running on the MyCloud? > Is Shield going to find my movies? I don't know... > Does WD My CLoud working with Kodi? Becouse on Shield forum they recomend [Kodi] I have music and video on my MyCloud. I have the WD-supplied supplied Twonky DLNA media server running on the MyCloud. Kodi can access my media via DLNA, or by connecting to the MyCloud SMB file server. So my experience is yes: Kodi will work with the MyCloud. Note that the reply you got from 'Tinwarble' on the Shield forum regarding installing Plex server on the MyCloud is not true for the basic MyCloud (the subject of this forum). Plex is available for the higher performance MyCloud Mirror and EX devices. You would also need a Plex client app to run on the Shield. The comment about MKV files is correct; it's a container format, not a CODEC format. https://forums.geforce.com/default/topic/864507/shield-android-tv/nvida-shield-and-mkv-from-wd-my-cloud/

  • Known Issue: Setup warnings for Windows 10 SDK, Emulators for Windows Mobile, and Tools for Windows 10 Universal Apps (Windows 10 Insider Preview SDK and tools, April 2015 release)

    When you install Visual Studio 2015 when not connected to the internet, for example from an ISO, you may receive warnings after setup completes for Tools for Windows 10 Universal Apps, Windows 10 SDK, and Emulators for Windows Mobile. These warnings include:
    This product did not download successfully: The server did not return the file size.
    This product did not download successfully: Signature verification failed on downloaded file.
    This product did not download successfully: HTTP Status 502: The server….

    To fix this issue, your computer must be connected to the internet to download these components.
    Make sure your computer is connected to the internet.
    Open Control Panel, and select Programs and Features. 
    Select Microsoft Visual Studio 2015 RC, click Change, and then click
    Modify.
    Select the feature “Universal Windows App Development Tools”, and click
    Update.

Maybe you are looking for