Windows Phone DataTemplate

Hi,
I am new in Windows Phone development, I have a listbox with a datatemplate, in the datatemplate there is a textblock named mytextblock, I can not access the textblock by using the name in MainPage.xaml.cs. But I want to change the forebackground color of
the textblock. Please help me. Sorry for my bad english.
<ListBox Name="MyListBox">
<ListBox.ItemTemplate>
<DataTemplate>
<TextBlock Name="MyTextBlock" Text="{Binding Text}"/>
</DataTemplate>
</ListBox.ItemTemplate>
</ListBox>

Hi frrey gdfkaj,
>>I can not access the textblock by using the name in MainPage.xaml.cs.
Yes, we can not access the textblock control which are in the DataTemplate by using its name in code behide. But we can use the
VisualTreeHelper to help us find the textblock control.
For the detailed information, please try to refer to my reply in this thread:
https://social.msdn.microsoft.com/Forums/en-US/4b7f99f2-a468-4a7e-8f54-2d8c54af6e7d/how-to-access-the-texblocks-in-a-listbox?forum=wpdevelop
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.

Similar Messages

  • Windows Phone - Cannot bind custom user controll with listview item source property

    It is Windows Phone 8.1 (runtime)
    I have some problem of binding custom user controll with list of data. I'll make it simple as I can.
    My problem is that somehow if I use DataBind {Binding Something} inside my custom controll it will not work.
    I need to transfer binded data (string) to custom controll.
    It is strange that if I do not use DataBind, it will work normally. Eg MyCustomControllParameter = "some string" (in my example 'BindingTextValue' property)
    Does anyone Know how to bind custom user controll with inside ListView with DataTemplate.
    Assume this:
    XAML Test-Main page
    <Grid  Background="Black">        <ListView x:Name="TestList" Background="#FFEAEAEA">                    <ListView.ItemTemplate>                <DataTemplate>                    <Grid Background="#FF727272">                        <local:TextBoxS BindingTextValue="{Binding Tag, FallbackValue='aSource'}" local:TextBoxS>                    </Grid>                </DataTemplate>            </ListView.ItemTemplate>        </ListView>    </Grid>
    XAML Test-Main page c#
    public sealed partial class MainPage : Page    {        List<TTag> tags = new List<TTag>();        public MainPage()        {            this.InitializeComponent();            this.NavigationCacheMode = NavigationCacheMode.Required;        }        public class TTag        {            public string Tag { get; set; }        }        private void InitializeAppData()        {            TTag tag = new TTag() { Tag = "hello world" };            tags.Add(tag);            tags.Add(tag);            tags.Add(tag);            TestList.ItemsSource = tags;        }             protected override void OnNavigatedTo(NavigationEventArgs e)        {            InitializeAppData();        }           }
    User Control XAML:
      <UserControl    x:Class="CustomControllTest.TextBoxS"    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"    xmlns:local="using:CustomControllTest"    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"    mc:Ignorable="d"    d:DesignHeight="300"    d:DesignWidth="400">      <Grid x:Name="LayoutRoot" Background="#FF4F4F4F"   >        <RichTextBlock x:Name="MyTestBlock">        </RichTextBlock>    </Grid></UserControl>
    User Control c#
    public TextBoxS()       {            this.InitializeComponent();            LayoutRoot.DataContext = this;        }        public static readonly DependencyProperty BindingTextValueProperty = DependencyProperty.Register(                                         "BindingTextValue",                                         typeof(string),                                         typeof(TextBoxS),                                         new PropertyMetadata(default(string)));        public string BindingTextValue        {            get            {                return GetValue(BindingTextValueProperty) as string;            }            set            {                SetValue(BindingTextValueProperty, value);                //This method adds some custom logic into RichTextBlock, pointed correctly                SetupBox(value);            }        }
    Thanks for helping ;)

    If you use a built-in control rather than your custom control, does binding work? You should verify that first.
    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.

  • 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

  • How to update a ListBox binding when a toast message arrives in windows phone

    I have a MVVM windows phone application and it has a Home page where after entering login data it goes to "Posts" page.
    Posts page has PostsModel with the following data :
    class MyClass
    public string NewPostText { get; set; }
    public string NewPostSender { get; set; }
    public string NewPostAttachment { get; set; }
    "Posts" page has the following View Model and GetPosts will read data from isolatedstorage for now i have hardcoded with some static data though.This data needs to be stored back to isolated storage while exiting the app.
    private PostsViewModel _PostsViewModel ;
    public Conversation()
    InitializeComponent();
    _PostsViewModel = new PostsViewModel ();
    this.DataContext = _PostsViewModel ;
    public ObservableCollection<PostsModel> MyPostsDataSource
    get
    if (_MyPostsDataSource== null)
    _MyPostsDataSource= GetMyPosts();
    return _MyPostsDataSource;
    set
    this._MyPostsDataSource = value;
    RaisePropertyChanged("MyPostsDataSource");
    "Posts.cs" has only the following code:
    protected override void OnNavigatedTo(NavigationEventArgs e)
    base.OnNavigatedTo(e);
    "Posts" page has the following xaml:
    <ListBox x:Name="listMyPosts" ItemsSource="{Binding Path=MyPostsDataSource}" Grid.Row="0" >
    <ListBox.ItemTemplate >
    <DataTemplate >
    <StackPanel Orientation="Horizontal">
    <TextBlock Text="{Binding NewPostText ,Mode=TwoWay}"/>
    <TextBlock Text="{Binding NewPostSender}"/>
    </StackPanel>
    <Image x:Name="SenderImage" Margin="8" Source="/MyApp;component/Assets/Icons/NewPostAttachment.png"/>
    </DataTemplate>
    </ListBox.ItemTemplate>
    </ListBox>
    First time when app loads the static data i have shows all the data in the list box without any issues but when a toast message comes all the data is gone and also the new message is also not displayed.
    The question i have is when i get a new toast message(to Posts.xaml page) i just want to refresh the current Posts page with the latest message details . And i dont know how to do this and whether i need to handle this in the page NavigatedTo method(if
    so how do i refresh the or atleast reload the Posts.xaml page with its PREVIOUS data plus the new data as well) as the toast notification has the navigation uri of "/Posts.xaml" page.
    I would really appreciate any help on this ?

    For comparison , Its like a Chat application. When a new message comes and the message is from the user for which the conversation page is already open then we just append the message to it.
    In ShellNotificationReceived we are just calling the "Posts.xaml" page.
     Relative Uri here is " /View/Posts.xaml" plus some paraemters like sender email id , sender message and the image..
    Application.Current.RootVisual
    asPhoneApplicationFrame).Navigate(newUri(relativeUri,
    UriKind.RelativeOrAbsolute))
    Krrishna

  • ListView jiggles horizontally when large item about to scroll in or out in Windows Phone 8.1 Preview

    If you have a ListView (in a Windows Phone 8.1 Store app, running on the developer preview 8.10.123979.895) in which you do not explicitly constrain the size of your list view's item template (e.g., because you'd like it to resize automatically when
    the screen is rotated, or to adapt well to larger screen sizes), a problem arises if some of the items in your list want to be wider than the screen. They are correctly cropped, but as you scroll down through the list, the whole list jiggles left and right
    as the long item is about to scroll into view, or shortly after it has scrolled out of view.
    The built-in Calendar app suffers from this problem, by the way, so even if it's possible to avoid this in my own app, the Calendar app needs fixing... If you create a large number of appointments on a single day, where most of the appointments have short
    names, but one has a long name, and you then tap the day to expand its list of appointments for that day, you'll see this jiggling from left to right as you scroll through the appointments.
    Here's some code that reproduces the problem:
    XAML:
    <Page
    x:Class="Wp81ScrollBug.MainPage"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    mc:Ignorable="d"
    Background="{ThemeResource ApplicationPageBackgroundThemeBrush}">
    <Grid>
    <ListView
    x:Name="myList">
    </ListView>
    </Grid>
    </Page>
    Codehind for that:
    using System.Linq;
    using Windows.UI.Xaml.Controls;
    using Windows.UI.Xaml.Navigation;
    namespace Wp81ScrollBug
    public sealed partial class MainPage : Page
    private string[] _source =
    Enumerable.Range(1, 80).Select(i => "Short " + i)
    .Concat(new[] { "This item is much longer than the rest and causes problems as virtualization adds and removes it" })
    .Concat(Enumerable.Range(81, 80).Select(i => "Short " + i)).ToArray();
    public MainPage()
    InitializeComponent();
    NavigationCacheMode = NavigationCacheMode.Required;
    myList.ItemsSource = _source;
    protected override void OnNavigatedTo(NavigationEventArgs e)
    You can get rid of the problem by adding this inside the ListView:
    <ListView.ItemTemplate>
    <DataTemplate>
    <ContentControl Width="480" Content="{Binding}" />
    </DataTemplate>
    </ListView.ItemTemplate>
    but this is unsatisfactory, because it no longer handles orientation changes or different screen sizes - when you rotate the screen, the long item doesn't get to use the whole width.

    The Jiggle is due to virtualization and an attempt to fit the contents.  The only solution I can think of is to set the width based on the orientation.
    Jeff Sanders (MSFT)
    @jsandersrocks - Windows Store Developer Solutions
    @WSDevSol
    Getting Started With Windows Azure Mobile Services development?
    Click here
    Getting Started With Windows Phone or Store app development?
    Click here
    My Team Blog: Windows Store & Phone Developer Solutions
    My Blog: Http Client Protocol Issues (and other fun stuff I support)

  • I heve problem with my WCF and Windows phone 8

    This's IserviceBotanero.cs
    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Runtime.Serialization;
    using System.ServiceModel;
    using System.Text;
    namespace WcfServiceBotanero
    // NOTA: puede usar el comando "Rename" del menú "Refactorizar" para cambiar el nombre de interfaz "IServiceBotanero" en el código y en el archivo de configuración a la vez.
    [ServiceContract]
    public class Producto
    int idProducoto;
    [DataMember]
    public int IdProducoto
    get { return idProducoto; }
    set { idProducoto = value; }
    string nombreProductos;
    [DataMember]
    public string NombreProductos
    get { return nombreProductos; }
    set { nombreProductos = value; }
    int cantidad;
    [DataMember]
    public int Cantidad
    get { return cantidad; }
    set { cantidad = value; }
    string precioCompra;
    [DataMember]
    public string PrecioCompra
    get { return precioCompra; }
    set { precioCompra = value; }
    string precioVenta;
    [DataMember]
    public string PrecioVenta
    get { return precioVenta; }
    set { precioVenta = value; }
    string descripcion;
    [DataMember]
    public string Descripcion
    get { return descripcion; }
    set { descripcion = value; }
    [ServiceContract]
    public interface IServiceBotanero
    [OperationContract]
    List<Producto> listado();
    void DoWork();
    this is ServicesBotnero.svc
    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Runtime.Serialization;
    using System.ServiceModel;
    using System.Text;
    namespace WcfServiceBotanero
    // NOTA: puede usar el comando "Rename" del menú "Refactorizar" para cambiar el nombre de clase "ServiceBotanero" en el código, en svc y en el archivo de configuración a la vez.
    // NOTA: para iniciar el Cliente de prueba WCF para probar este servicio, seleccione ServiceBotanero.svc o ServiceBotanero.svc.cs en el Explorador de soluciones e inicie la depuración.
    public class ServiceBotanero : IServiceBotanero
    DataClasseBotaneroDataContext botanero = new DataClasseBotaneroDataContext();
    public List<Producto> listado()
    var qry = from p in botanero.producto
    select new Producto
    IdProducoto = p.idProducoto,
    NombreProductos = p.nombreProducto,
    PrecioCompra = p.precioCompra,
    PrecioVenta = p.precioVenta,
    Descripcion = p.Descripcion
    return qry.ToList();
    public void DoWork()
    page view 
    <phone:PhoneApplicationPage
    x:Class="PhoneApp1.PageProductolocal"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:phone="clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone"
    xmlns:shell="clr-namespace:Microsoft.Phone.Shell;assembly=Microsoft.Phone"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    FontFamily="{StaticResource PhoneFontFamilyNormal}"
    FontSize="{StaticResource PhoneFontSizeNormal}"
    Foreground="{StaticResource PhoneForegroundBrush}"
    SupportedOrientations="Portrait" Orientation="Portrait"
    mc:Ignorable="d"
    shell:SystemTray.IsVisible="True">
    <!--LayoutRoot es la cuadrícula raíz donde se coloca todo el contenido de la página-->
    <Grid x:Name="LayoutRoot" Background="Transparent">
    <Grid.RowDefinitions>
    <RowDefinition Height="Auto"/>
    <RowDefinition Height="*"/>
    </Grid.RowDefinitions>
    <!--TitlePanel contiene el nombre de la aplicación y el título de la página-->
    <StackPanel Grid.Row="0" Margin="12,17,0,28">
    <TextBlock Style="{StaticResource PhoneTextNormalStyle}">
    <Run Text="Productos"/>
    <LineBreak/>
    <Run/>
    </TextBlock>
    </StackPanel>
    <!--ContentPanel. Colocar aquí el contenido adicional-->
    <Grid x:Name="ContentPanel" Grid.Row="1" Margin="12,0,12,0">
    <ListBox x:Name="ldlProducto" >
    <ListBox.ItemTemplate>
    <DataTemplate>
    <StackPanel HorizontalAlignment="Center">
    <TextBlock Padding="10" Text="{Binding IdProducto }" ></TextBlock>
    <TextBlock Text="{Binding NombreProduco }" ></TextBlock>
    <TextBlock Text="{Binding PrecioCompra }" ></TextBlock>
    <TextBlock Text="{Binding PrecioVenta }" ></TextBlock>
    <TextBlock Text="{Binding Cantidad }" ></TextBlock>
    <TextBlock Text="{Binding Descripcion }" ></TextBlock>
    </StackPanel>
    </DataTemplate>
    </ListBox.ItemTemplate>
    </ListBox>
    </Grid>
    </Grid>
    </phone:PhoneApplicationPage>
    PageProductolocal.xaml.cs
    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Windows.Documents; //
    using System.Windows.Input; //
    using System.Windows.Media; //
    using System.Windows.Media.Animation; //
    using System.Windows.Shapes; //
    using System.Net;
    using System.Windows;
    using System.Windows.Controls;
    using System.Windows.Navigation;
    using Microsoft.Phone.Controls;
    using Microsoft.Phone.Shell;
    using PhoneApp1.ServiceReferenceBotanero;
    namespace PhoneApp1
    public partial class PageProductolocal : PhoneApplicationPage
    public PageProductolocal()
    InitializeComponent();
    //instancia o Referencia al wcf
    ServiceBotaneroClient proxy = new ServiceBotaneroClient();
    proxy.listadoCompleted += new EventHandler<listadoCompletedEventArgs>(listado);
    proxy.listadoAsync();
    private void listado(object sender, listadoCompletedEventArgs e)
    if (e.Error == null)
    ldlProducto.ItemsSource = e.Result;
    and SW Runing
    So and this is the error shown
    El código de usuario no controló System.ServiceModel.CommunicationException
    HResult=-2146233087
    Message=The remote server returned an error: NotFound.
    Source=System.ServiceModel
    StackTrace:
    at System.ServiceModel.AsyncResult.End[TAsyncResult](IAsyncResult result)
    at System.ServiceModel.Channels.ServiceChannel.EndCall(String action, Object[] outs, IAsyncResult result)
    at System.ServiceModel.ClientBase`1.ChannelBase`1.EndInvoke(String methodName, Object[] args, IAsyncResult result)
    at PhoneApp1.ServiceReferenceBotanero.ServiceBotaneroClient.ServiceBotaneroClientChannel.Endlistado(IAsyncResult result)
    at PhoneApp1.ServiceReferenceBotanero.ServiceBotaneroClient.PhoneApp1.ServiceReferenceBotanero.IServiceBotanero.Endlistado(IAsyncResult result)
    at PhoneApp1.ServiceReferenceBotanero.ServiceBotaneroClient.OnEndlistado(IAsyncResult result)
    at System.ServiceModel.ClientBase`1.OnAsyncCallCompleted(IAsyncResult result)
    InnerException: System.Net.WebException
    HResult=-2146233079
    Message=The remote server returned an error: NotFound.
    Source=System.Windows
    StackTrace:
    at System.Net.Browser.AsyncHelper.BeginOnUI(SendOrPostCallback beginMethod, Object state)
    at System.Net.Browser.ClientHttpWebRequest.EndGetResponse(IAsyncResult asyncResult)
    at System.ServiceModel.Channels.HttpChannelFactory.HttpRequestChannel.HttpChannelAsyncRequest.CompleteGetResponse(IAsyncResult result)
    InnerException: System.Net.WebException
    HResult=-2146233079
    Message=The remote server returned an error: NotFound.
    Source=System.Windows
    StackTrace:
    at System.Net.Browser.ClientHttpWebRequest.InternalEndGetResponse(IAsyncResult asyncResult)
    at System.Net.Browser.ClientHttpWebRequest.<>c__DisplayClasse.<EndGetResponse>b__d(Object sendState)
    at System.Net.Browser.AsyncHelper.<>c__DisplayClass1.<BeginOnUI>b__0(Object sendState)
    InnerException:
    That is not what I need or what the error if 
    Help Me!

    Hi,
    You could try to use HttpClient to consume wcf in windows phone 8.
    Here is an exsample you could refer:
    http://stackoverflow.com/questions/21536825/windows-phone-8-call-wcf-web-service
    Besides, you could refer to :
    http://www.codeproject.com/Questions/691619/Consuming-WCF-Service-from-Windows-Phone
    Since this issue is more related to Windows Phone, If my reply no help, please move to Windows Phone forum for a better support, It is appropriate and more experts will assist you.
    Best Regards,
    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.

  • Olá. Bom dia! Me chamo Lucas, gostaria de saber se há um projeto de fazer o firefox para Windows Phone?

    Adoro o Firefox e o trabalho desenvolvido por vocês. Gostaria muito de ter esse browser de altíssima qualidade no meu Windows Phone.
    Parabéns pelo trabalho desenvolvido, e por interagir com os usuários. Estarei sempre colaborando para ajudar a melhorar sempre o Firefox.

    Infelizmente o projeto está parado por tempo indeterminado!
    Você pode acompanhar a historia aqui:
    *http://blog.pavlov.net/2010/03/22/stopping-development-for-windows-mobile/
    Alguns usuarios do WIndows Phone criaram algumas versões, mas não é nada oficial da Mozilla

  • Hp Aio Remote Beta for Windows Phone 8.1

    Having installed this app on a Lumia 520 to integrate with a 5520,  I find that documents in my phone's 'documents' folder are not apparent to the app, hence they cannot be printed. This applies equally to 'documents' folder both on the phone and sd card. Appears lots of users are having this issue, is there a fix please?

    I have an issue with Windows phone though, that's why I'm using Android. Have you checked this webpage yet? http://h10025.www1.hp.com/ewfrf/wc/document?cc=us&dlc=en&docname=c04387822&lc=en&jumpid=reg_r1002_us...
    Check on the FAQs on the App..

  • AIO Remote app cant find HP 7150 aio printer on my wifi network, on Windows Phone 8

     HI,
    Yesterday I install You App AIO Remote on Windows Phone 8. I have connected to wifi HP 7150 aio printer, but phone cant find this printer... I have Lumia 1520 and Lumia 920 smartphones both is connect to this same wifi network like printer, but You app on both Lumias cant find printer, again but no problem is to connect to printer WEB interface from this both Lumias, so wifi network is correct configured.
    I have two tablet more in this same wifi network, both with windows 8.1 x64 systems, on this, You Windows 8 modern App AIO Remote find this same printer without problem...
    So what is wrong ? printer config ? eprint is on, ipp is on, bonjur is on, ip is static.
    Please help Me becease I wait for this app and now i cant use them
     Thanx
    Peter

    Hi Peter,
    Welcome to the HP Support Forums.  I understand that you are trying to use the new HP AiO Remote app for Windows phones to print to your Photosmart 7150 printer.
    The Photosmart 7150 printer only supports USB connectivity, I have include the Photosmart 7150 Printer Specifications for reference.  To be able to use the HP AiO Remote app the printer needs to be connected to a wireless network. 
    If you accidentally typed the incorrect printer model, please let me know which make/model/product number of HP printer that you have. How Do I Find My Model Number or Product Number?
    Regards,
    Happytohelp01
    Please click on the Thumbs Up on the right to say “Thanks” for helping!
    Please click “Accept as Solution ” on the post that solves your issue to help others find the solution.
    I work on behalf of HP

  • HP officejet 6500 drivers for windows phone

    IHello,
    I have officejet 6500 with ethernet card. I use with wireless. I have Nokia 1020, Win8.1 mobil phone. I want print text on my phone. I installed HP Aio Remote Beta program. Aio found my printer but it said that this printer isn't supported. How can I print my text using my mobil phone on the officejet 6500? Is there any driver for mobil phone or any different program? or is that an upgrade for Aio (it must include my printer's driver ofcourse)
    Thanks...

    Hi,
    I afraid the printer is not compatible with Windows Phone.
    Only the models listed within the "What printers support printing features for the HP AiO Remote app for Windows 8 Phones?" below can be used for printing from Windows 8 Phone devices:
    http://h10025.www1.hp.com/ewfrf/wc/document?cc=us&​lc=en&docname=c04387822#N573
    Regards,
    Shlomi
    Say thanks by clicking the Kudos thumb up in the post.
    If my post resolve your problem please mark it as an Accepted Solution

  • Error while loading image from Windows Phone gallery into my Unity application

    Hi,
    I have developped a Windows Phone plugin for my Unity application which enable me to open the Windows Phone gallery in order to select an image and get its physic path.
    I've used this path to load the image in the application with a WWW object but I get this error
    "Error. Operation has failed with error 0x80070005: access is denied."
    The path is correct because I display it and I've ticked the ID_CAP_MEDIALIB_PHOTO in the WMAppManifest.xml (Capabilities tab).
    Here is my Unity C# test code to load the image with the path.
    IEnumerator loadImage()
    this.guiText.text = filePath;
    WWW www = new WWW(filePath);
    yield return www;
    if(www.error == null)
    GameObject texture = GameObject.Find("UNITY");
    if(texture != null)
    texture.guiTexture.texture = www.texture;
    Any help would be appreciated ! Thanks in advance !

    The error is correct. Your app doesn't have direct access to that path. It can directly load files only from its app data and install directories.
    To load from the libraries I it needs to use the StorageFile to get brokered access.
    The easiest way may be to copy from the library to local data then use WWW to load that. Otherwise you'll probably need to wrap the StorageFile can for use in unity. Unity has such a wrapper in the Unity Engine.WSA namespace that you can try

  • Windows Phone and Windows 8 Mail App not sending email from Reply/Forward

    I have recently upgraded from Windows 8 to 8.1. After a successful upgrade I configured the Windows 8 Mail app to also sync with Exchange (2010 in house server). On my Windows Phone (Nokia Lumia 800) I have the same account configured.
    This resulted in the problem that the Mail App and the phone do not want to send any emails that have been created by reply or forward.
    The phone gives the following error:
    "We weren't able to send this message, so we've put it in your Drafts folder. Before you try sending it again, you can check to see if the address is correct and that no attachments are too large."
    The Mail App give the following error:
    "There's a problem with sending messages from [email protected] at the moment. Check with your provider for more info."
    If I create a new email there is no problem.
    I have searched all over the internet for a solution to this problem, but could not find somebody with exactly the same problem.

    I have exactly the same problem, but unfortunately no solution either... I'll be watching this thread, or post a solution if I find one...

  • Windows phone 8.1 SDK want to install on WINDOWS 8.1 PRO 32bits...how can i ?

    windows phone 8.1 SDK want to install on WINDOWS 8.1 PRO 32bits...how can i ?
    is there any patch or any other version for windows 8.1 32 bits..to run win phone SDK..?

    Hi,
    According to the reference about Windows SDK, you should install it on a 64 bit system:
    http://msdn.microsoft.com/en-us/library/windowsphone/develop/ff626524(v=vs.105).aspx
    Regards
    Wade Liu
    TechNet Community Support

  • XAP Applications are not getting published in Windows Phone 8.1 Emulator

    I've SCCM + Intune integrated environment (trail version of Intune). Enrolled Windows phone 8.1 (emulator) device into the infrastructure. 
    I'm able to login to company portal and can see the devices associated with my user name in the company portal however I'm not able to publish any of the apps. It says your query didn't return any results :(
    I tried all the following types of apps (Windows apps in the windows store, Windows Phone app package and Windows phone app package in the windows phone store) but nothing getting published :( any clue ?
    Anoop C Nair (My Blog www.AnoopCNair.com)
    - Twitter @anoopmannur -
    FaceBook Forum For SCCM

    Yes, at last issue got resolved :)
    http://anoopcnair.com/2014/11/11/xap-applications-published-windows-phone-8-1-intune-integrated-sccm-2012-r2/
    Anoop C Nair (My Blog www.AnoopCNair.com)
    - Twitter @anoopmannur -
    FaceBook Forum For SCCM

  • Saving to Windows Phone Documents Folder

    Greetings,
    I tried to look through the forum but could not find anything on saving to the Windows Phone Documents folder. From what I researched online on the Windows Phone 8 it was not possible to do this as Microsoft had blocked the ability to do this due to security
    reasons. But on the 8.1 release they allowed this area to be accessed by third party apps. Is this correct?
    If so how do I go abouts saving to the documents folder. Basically my app is really simple I just input a couple of words into different text boxes and that should save to a text file. How do I go abouts doing this.
    I tried doing this
    StorageFolder local = KnownFolders.DocumentsLibrary;
    However, when I run it the program stops at this spot:
    #if DEBUG && !DISABLE_XAML_GENERATED_BREAK_ON_UNHANDLED_EXCEPTION
                UnhandledException += (sender, e) =>
                    if
    (global::System.Diagnostics.Debugger.IsAttached) global::System.Diagnostics.Debugger.Break();
    #endif
    What am I doing wrong. Thank you in advanced!!

    I apologize for that I looked at it quickly on my phone. Ok so I managed to get it to save to a file. The problem is now is I want to be able to append to that same file. Is that possible?
    Here is what I have so far:
    using SDKTemplate;
    using System;
    using System.Collections.Generic;
    using Windows.ApplicationModel.Activation;
    using Windows.Storage;
    using Windows.Storage.Pickers;
    using Windows.Storage.Provider;
    using Windows.UI.Xaml;
    using Windows.UI.Xaml.Controls;
    using Windows.UI.Xaml.Navigation;
    namespace FilePicker
        /// <summary>
        /// Implement IFileSavePickerContinuable interface, in order that Continuation Manager can automatically
        /// trigger the method to process returned file.
        /// </summary>
        public sealed partial class Scenario4 : Page, IFileSavePickerContinuable
            MainPage rootPage = MainPage.Current;
            public Scenario4()
                this.InitializeComponent();
                SaveFileButton.Click += new RoutedEventHandler(SaveFileButton_Click);
            private void SaveFileButton_Click(object sender, RoutedEventArgs e)
                // Clear previous returned file name, if it exists, between iterations of this scenario
                OutputTextBlock.Text = "";
                FileSavePicker savePicker = new FileSavePicker();
                savePicker.SuggestedStartLocation = PickerLocationId.DocumentsLibrary;
                // Dropdown of file types the user can save the file as
                savePicker.FileTypeChoices.Add("Plain Text", new List<string>() { ".csv" });
                // Default file name if the user does not type one in or select a file to replace
                savePicker.SuggestedFileName = "New Document";
                savePicker.PickSaveFileAndContinue();
            /// <summary>
            /// Handle the returned file from file picker
            /// This method is triggered by ContinuationManager based on ActivationKind
            /// </summary>
            /// <param name="args">File save picker continuation activation argment. It cantains the file user selected with file save picker </param>
            public async void ContinueFileSavePicker(FileSavePickerContinuationEventArgs args)
                string complete = "";
                string office = "";
                string revenue = "";
                string nps = "";
                string answer;
                answer = NotesTxt.Text;
                StorageFile file = args.File;
                if (file != null)
                    // Prevent updates to the remote version of the file until we finish making changes and call CompleteUpdatesAsync.
                    CachedFileManager.DeferUpdates(file);
                    // write to file
                    await FileIO.WriteTextAsync(file, answer);
                    // Let Windows know that we're finished changing the file so the other app can update the remote version of the file.
                    // Completing updates may require Windows to ask for user input.
                    FileUpdateStatus status = await CachedFileManager.CompleteUpdatesAsync(file);
                    if (status == FileUpdateStatus.Complete)
                        OutputTextBlock.Text = "File " + file.Name + " was saved.";
                    else
                        OutputTextBlock.Text = "File " + file.Name + " couldn't be saved.";
                else
                    OutputTextBlock.Text = "Operation cancelled.";
            private void SaveFileButton_Click_1(object sender, RoutedEventArgs e)

Maybe you are looking for

  • I can no longer print from Ipad.

    Suddenly I can not print from my Ipad2 to hp photosmart 5510. Worked fine until yesterday. Nothing chnaged. Both hooked up to wireless network with all udates current. I tried everything but need help to get this working again.

  • LaCie hd having trouble ejecting

    Hello one and all, I've been experiencing a rather strange problem when using my LaCie external hard drive in iMovie 6 HD.  After importing footage into iM6 I then go to save the project and get the following message : "The project could not be saved

  • Project Build Query

    Hello, While building, if Build Automatically selected under the Project menu, the project is supposed to build while we perform a save operation. The build process is indicated at the Flex Builder status bar right hand bottom corner. In my case this

  • How to read/write data in Notepad?

    Hi to all, Im creating a simple application to write data in notepad using wireless toolkit 2.5. For that i have created a notepad file(raj.txt) manually and saved in the location "D:\WTK25\appdb\DefaultColorPhone\filesystem\root1\raja.txt". When i r

  • Location of photos

    I've had two hard drives for several yrs., keeping older photos on Drive D and current photos in Drive C.  I do genealogy, cemetery surveys, plus many family photos.  I've just bought a new computer 750 HD.  I'd like to get them in the Organizer, doe