AI + Windows Phone Universal

I have a basic application that i setup for testing out AI.  I added the AI libraries to the Windows Phone project of a Universal Application thru NuGet.  I have set it up, and data shows up.  However, it takes approximately an hour for the
data to show up.  
Is this the normal case, or should it be real time. 
I am running Visual Studio 2013 on Windows 10 Tech Preview.  I have run the application in both Debug and Release, on simulator and real device. 
The data shows up, it just takes an hour for it to hit the dashboard.
Thanks for any input/advice

LSI was resolved. You can read about it here:
http://blogs.msdn.com/b/applicationinsights-status/archive/2015/03/18/data-latency-in-application-insights-3-18-investigating.aspx
There are two ways to check status of Application Insights.
The blog (This has more granular information):
http://blogs.msdn.com/b/applicationinsights-status/
Or Checking Azure Status Dashboard under the Developer services -> Application Insights section.
http://azure.microsoft.com/en-us/status/
Anastasia

Similar Messages

  • 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

  • Windows Phone 8.1 Universal: VS 2013 deploys app to device but does not delete data file in roamingfolder and roaming is not activated.

    I am using VS 2013 to develop a Windows Phone 8.1 Universal app.  When I deploy to the device (my phone), the old data file that I had stored in the roamingfolder previously continues to be used.  I have uninstalled the app after being deployed,
    I put code in the app to delete the files individually from the roamingfolder and used ClearAsync(). That worked until I deployed the app again and then the old files came back.  I have not associated these apps with the store yet so roaming should
    not be working. The desktop app does not have this problem, when I uninstall it the files are deleted.
    In the phone app properties debug tab, I have the Uninstall and the reinstall my package checked for all configurations.  I have looked everywhere I can think of for these old files: laptop c:, phone tempfolder, localfolder, etc. thinking VS is reinstalling
    them from somewhere when deploying the app but I cannot find them.  If I change the phone app to use the localfolder, the old files are not used.
    Is this just the way it is if I use the roamingfolder or is there a way to delete these old files?
    Any help would be greatly appreciated.  Thanks.

    Hi MV12,
    >>When I deploy to the device (my phone), the old data file that I had stored in the roamingfolder previously continues to be used
    Yes, it is designed to work like that, please refer to this document for details:
    #Accessing app data with the Windows Runtime (Windows Runtime apps)
    https://msdn.microsoft.com/en-us/library/windows/apps/xaml/hh464917.aspx#roaming_app_data
    Roaming data for an app is available in the cloud as long as it is accessed by the user from some device within the required time interval.
    If the user does not run an app for longer than this time interval, its roaming data is removed from the cloud.
    If a user uninstalls an app, its roaming data isn't automatically removed from the cloud, it's preserved. If the user reinstalls the app within the time interval, the roaming data is synchronized from the cloud. The current policy specifies
    that this time interval is 30 days. Location is available via the roamingFolder property.
    >>Is this just the way it is if I use the roamingfolder or is there a way to delete these old files?
    No, you will have to wait.
    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.

  • 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

  • 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!

  • Converting a "windows phone silverlight pivot" app to a universal app, possible?

    Ok so when trying to suss out the emulator(thats been resolved) i stumbled onto the universal app page of msdn....now as a fledgling coder im not too verse at reading the msdn pages (they are on the whole not designed for beginners) but i had a tinker
    around
    i managed to get a similier interface on the phone portion of the app to my pivot app (indeed the universal one is pivot too) but none of the code i added to the shared section could access the textboxes / text blocks of the phones interface ie where on my
    program i will say "raceDisplay.Text = charRace;" which would put the string of charRace into the raceDisplay text block it cant see raceDisplay which is really confusing...
    so is there a good guide to converting a windows 8.1 silverlight pivot app to a universal app?
    I had planed to get the phone app done first and then make a whole new app for desktops, universal would (in theory) save me having to duplicate all my work and allow me to update both at the same time (unless i misunderstand the shared code stuff)

    Hi D.Eastwick,
    >>but none of the code i added to the shared section could access the textboxes / text blocks of the phones interface ie where on my program i will say "raceDisplay.Text = charRace;" which would put the string of charRace into the raceDisplay
    text block it cant see raceDisplay which is really confusing...
    For this issue, it will be better if you can try to post a simple reproduce project in here.
    >>so is there a good guide to converting a windows 8.1 silverlight pivot app to a universal app?
    The pivot control is available in the Windows Phone 8.1 Silverlight and Windows universal app. But some API/Controls which are available in the Windows Phone 8.1 Silverlight may not be available in the Windows universal app, besides, some API may have
    a different namespace betwwen the Windows Phone 8.1 Silverlight and Windows universal app, so you should pay attention to it. For more information, please try to refer to the following articles:
    #Migrating your Windows Phone 8 app to a Windows Runtime XAML app:
    https://msdn.microsoft.com/en-us/library/windows/apps/dn642486(v=vs.105).aspx .
    #Windows Phone API:
    https://msdn.microsoft.com/en-us/library/windows/apps/ff626516(v=vs.105).aspx
    Best Regards,
    Amy Peng
    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.

  • 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

  • Bar Code Scanning for Windows Phone 8.1

    Hi,
    I need to find proper way how to scan bar codes in Windows Phone 8.1 or in universal app. I found out that there is native class BarcodeScanner available only for client apps and not for WP. I also find 3rd party library zxing.net, which is not working very
    well on WP 8.1. I have done really deep research, but I have not found any single working solution for WP 8.1, so I would like to ask for your help in finding of library with which I will be able to scan barcodes on WP 8.1.
    Thank you.

    If you don't need a universal App you could build a Silverlight 8.1 App and use the old Camera APIs which work nicely with ZXing.Net. I have done so myself.
    As for Windows 8 and Universal Apps - you would have to implement a CustomSink for the Video Stream, extract Frames from there and pipe those though a recognition library. So far there seems to be no ready made solution that offers this.
    So right now using the old APIs would be my suggestion.

  • SQLite3-WinRT / SQLite3Component for Windows Phone 8.1 (HTML5 & JavaScript)

    Dear all
    I am a newbie in the developpement for Windows 8.1 and Windows Phone 8.1.
    After a few weeks reading books and watching videos to learn developping Windows Store Apps 8.1 with HTML5 and JavaScript, I have started my very first serious application as a Universal Windows Store App using visual studio 2013 community edition. I would
    like to use SQLite for persisiting the data of my application.
    I installed the necessary extensions to VS2013 both for windows 8.1 and windows phone 8.1 (SDK + SQLite extension)
    I cloned the SQLite3-WinRT projet from GitHub, and, as VS2013 asked it, run the targetting process to upgrade to Windows 8.1.
    I successfully installed and tested SQLite3-WinRT using Javascript for the WIndows 8.1 part of my project.
    But when i tried to add the SQLite3Component project as a reference to my Windows Phone 8.1 project, VS2013 complained that SQLite3Component project is an invalid reference for a windows phone project... I can understand this as the SQLite3Component project
    seems to be a windows 8 only project.
    I have been looking for a solution for two days now without success and decided therefore to post my question here: is there a SQLite3Component project targetted for WINdows Phone 8(.1)? If not, what are my alternatives for persisting potentially large amount
    of data with advanced search queries locally on a windows phone?
    Thank you for any help the comunity could give me.
    Regards
    François

    While not specifically talking about JavaScript/HTML5 this article series outlines how to use SQLite in Universal App projects:
    http://blog.tpcware.com/2014/04/universal-app-with-sqlite-part-1/
    I have already used it from C# and given that we're talking about WinRT components it should be accessible from WinJS as well. Hope it helps.

  • ApplicationIdleDetectionMode for windows phone 8.1?

    In windows phone 7 and 8 all i needed to do was PhoneApplicationService.Current.ApplicationIdleDetectionMode = IdleDetectionMode.Disabled; to allow running under lock screen. What is the equivalent in windows phone 8.1 windows runtime?

    The Idle detection model we're used to only "Applies to: Windows Phone 8 and Windows Phone Silverlight 8.1 | Windows Phone OS 7.1", according to http://msdn.microsoft.com/en-us/library/windowsphone/develop/ff941090(v=vs.105).aspx
    =/
    As a shitty workaround, I'm using a DisplayRequest right now:
    http://msdn.microsoft.com/en-us/library/windowsphone/develop/windows.system.display.displayrequest.aspx
    Idle detection and preventions is a core feature in the WP app lifecycle, I'd be surprised if it didn't show up for Universal/Windows Runtime Apps before the release...
    ~michael
    Life is unsure - always eat the dessert first!

  • Windows Phone Hub with more than 2 sections causes ArgumentException when collapsing any section

    Hi there,
    I'm working on a Universal app which is using a Hub control to display different sections.
    On startup, I want to hide some of the sections. Using a button, I want to toggle between the visible sections using a binding property on the Visibility property (Handled in the ViewModel). In my ViewModel I have 2 boolean properties that are bound to the
    corresponding sections and are converted to Visibility using a BooleanToVisibilityConverter
    <Hub>
    <HubSection>
    <DataTemplate>
    <Button Content="Test" Command="{Binding SwitchVisibilityCommand}"/>
    </DataTemplate>
    </HubSection>
    <HubSection x:Name="First" Header="Test1A" Visibility="{Binding ElementName=pageRoot,
    Path=DataContext.FirstVisibleProperty, Converter={StaticResource ResourceKey=BooleanToVisibilityConverter} }"/>
    <HubSection x:Name="Second" Header="Test1B" Visibility="{Binding ElementName=pageRoot,
    Path=DataContext.SecondVisibleProperty, Converter={StaticResource ResourceKey=BooleanToVisibilityConverter} }"/>
    <HubSection x:Name="Third" Header="Test2A" Visibility="{Binding ElementName=pageRoot,
    Path=DataContext.ThirdVisibleProperty, Converter={StaticResource ResourceKey=BooleanToVisibilityConverter} }"/>
    <HubSection x:Name="Fourth" Header="Test2B" Visibility="{Binding ElementName=pageRoot,
    Path=DataContext.FourthVisibleProperty, Converter={StaticResource ResourceKey=BooleanToVisibilityConverter} }"/>
    </Hub>
    public class MainPageViewModel : ViewModel, IMainPageViewModel
    private bool firstVisibleProperty;
    private bool secondVisibleProperty;
    public MainPageViewModel()
    FirstVisibleProperty = true;
    SecondVisibleProperty = false;
    SwitchVisibilityCommand = new DelegateCommand(ExecuteCommand);
    private void ExecuteCommand()
    FirstVisibleProperty = !FirstVisibleProperty;
    SecondVisibleProperty = !SecondVisibleProperty;
    public bool FirstVisibleProperty
    get { return firstVisibleProperty; }
    set
    firstVisibleProperty = value;
    OnPropertyChanged(() => FirstVisibleProperty);
    public bool SecondVisibleProperty
    get { return secondVisibleProperty; }
    set
    secondVisibleProperty = value;
    OnPropertyChanged(() => SecondVisibleProperty);
    public DelegateCommand SwitchVisibilityCommand { get; set; }
    This setup is working fine on Windows, but in Windows Phone I get an unhandled exception (ArgumentException with the message ´Value does not fall within the expected range.´). 
    When I reduce the amount of hubsections to two, one that is visible and one that is collapsed, everything is working fine again. When I use multiple sections that all use the the same visibility property no exception is thrown
    When I set both properties to true in the viewmodel, also no exception is thrown.
    I've also tried the following (Without succes):
    - change my boolean properties to Visibility properties
    - use different boolean properties for each of the sections
    I do not understand why this exception is thrown and the exception itself is to vague to give any useful information
    How can I resolve this error??

    I've uploaded my code to OneDrive. Use the following link to download the source:
    https://onedrive.live.com/?cid=9c0070abc26b0b55&id=9C0070ABC26B0B55%2173811

Maybe you are looking for