silverlight,windows-phone-8,settings,account , How can i add an account to Windows Phone?


How can i add an account to Windows Phone?

Question:

Tag: silverlight,windows-phone-8,settings,account

I'm new in developing applications for Windows Phone 8. Can I add custom account from my application (to Settings => email+accounts)? Thank you.enter image description here


Answer:

Not possible to add an account programatically with the current SDK.


Related:


Error APPX1706: creating winrt dll with xaml


xaml,windows-phone-8,windows-runtime,windows-store-apps
I built a WinRT(Windows phone 8.1) dll with Page.xaml and App.xaml files. Next, I add reference to this winmd in wp8.1 application project. And I get following error: error APPX1706: The .winmd file 'project.winmd' contains type '?A0x32772d97.project_XamlTypeInfo.XamlMetaDataProvider' outside its root namespace 'project'. Make sure that all public types appear under...

windows phone 8 c# httpclient dosent send request for second time


c#,php,windows-phone-8,httpclient
i am trying for a simple app in windows phone 8.1. i have a button and on first time click it send a request to insert data into the database via url in php. on second click it delete the data from the same table in database via another url...

Why does Silverlight View not throw a null exception?


c#,silverlight
Given a Silverlight View with the following binding: <TextBox Width="200" Text="{Binding Customer.FirstName, Mode=TwoWay}"/> and the code behind has the following: CustomerClass Customer {get; set;} This will not throw a NullReferenceException however the following String FirstName { get { return Customer.FirstName; } } does when I attempt to bind to FirstName...

Error - “Pivot” does not exist in the namespace - Windows phone 8.1


c#,windows-phone-8,windows-phone-8.1
I am very new to Windows phone development. recently i am working on a project. i have got some code which uses pivot. but it is showing error as: The name "Pivot" does not exist in the namespace "http://schemas.microsoft.com/winfx/2006/xaml/presentation" How can this be resolved ?...

Ellipsis inside button content Windows Phone


xaml,c#-4.0,windows-phone-8,windows-phone-8.1
is it possible to get ellipsis inside button when content length increase the width of button. I tried editing template but did get much success?

Multiple screen support Windows Phone 8


c#,button,windows-phone-8,background-image
I used to develop for Android and iOS, and for multiple screen support we use to use mdpi, hdpi, xhdpi. Now I want to develop for Windows Phone, I want to set a background to a button and I don't know how to define image size to support all screen...

Deploy enterprise (in-house) application on windows phone without developer unlocking the phone?


windows-phone-8,deployment,windows-phone-8.1,enterprise
As the title says, I would like to deploy my application on multiple phones, without developer unlocking them. The said application is private, thus it can't be distributed through the store. I've heard of Company app distribution, however it's not clear for me whether it requires a developer unlocked phone...

Error while implementing reverse geocoding with C#


c#,windows-phone-8,bing-maps
I am trying to implement the reverse geocoding with visual studio using C#. But i could not handle the exception "Argument out of range exception". CODE: ReverseGeocodeQuery reverseGeocode = new ReverseGeocodeQuery(); reverseGeocode.GeoCoordinate = new GeoCoordinate(47.608, -122.337); reverseGeocode.QueryCompleted += reverseGeocode_QueryCompleted; reverseGeocode.QueryAsync(); private void reverseGeocode_QueryCompleted(object sender, QueryCompletedEventArgs<IList<MapLocation>> e) { MapAddress geoAddress =...

90/180/270 deg rotation of BitmapImage in windows phone 8


c#,windows-phone-8
I have followed the msdn link for this But the problem is at TrasformedBitmap. The error says that The type or namespace name 'TransformedBitmap' could not be found I am not getting why this error pops up because I have included the namespace i.e System.Windows.Media.Imaging and PresentationCore assembly is also...

Is there a way to implement a wcf service connected to a database without paying for azure?


database,wcf,azure,windows-phone-8
It seems like everything that I read is saying that for Windows Phone 8 Development, in order to create a database that connects to my WCF Service, I need to pay for it (Azure). Is that the truth? I want to create a database that my mobile app can access...

windows phone: deserialise and store both json key and value to modal


c#,windows-phone-8,windows-7,windows-phone-8.1,json-deserialization
Hello guyzzzz i want to store both key and value in modal class...below is my json.. { "Example": [ { "Invoice": { "TFDGFF": " 200", "BF": " 200", "MD": "10", "EFM": " 12", "ATT": "4" }, "TF": "200" }, { "Invoice": { "DF": " 49", "DR": " 49", "KJ": "4",...

How Does the Silverlight Client Talk to the Server in a 3 Tier Lightswitch Application?


c#,silverlight,visual-studio-lightswitch,3-tier,lightswitch-2012
I've picked up a legacy 3 tier Lightswitch application, and need to deploy it to a new server in my work. The client is a Silverlight application deployed to a file server where my clients can access it, and the Server is hosted on an IIS server. I've managed to...

Could not load type 'Telerik.Windows.Documents.Packaging.DeflaterOutputStream'


c#,wcf,silverlight,telerik
I've to export some report into pdf. I'm using telerki library PdfFormatProvider. PdfFormatProvider p = new PdfFormatProvider(); p.Export(document, stream); But I'm getting exception on p.Export. Any kind of help will be appreciated. ...

windows phone 8.1: Hide stackpanel if textblock is empty


c#,xaml,windows-phone-8,windows-phone-8.1,visualstatemanager
my xaml code is given below my whole xaml <Page x:Class="App13.MainPage" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:local="using:App13" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" mc:Ignorable="d" xmlns:converter="using:App13" Background="{ThemeResource ApplicationPageBackgroundThemeBrush}"> <Page.Resources>...

windows phone 8.1 universal app : clear cookies


c#,windows-phone-8,cookies,windows-phone-8.1,webbrowser-control
I am developing windows phone 8.1 universal app and i wish to clear cookies from browsers. I have used windows.phone.controls namespace and used following code await new WebBrowser().ClearCookiesAsync(); but it says that it throws several error. Please help windows programmers . I think the above code works well for silverlight...

Webbrowser not loading page content on Windows Phone 8


javascript,c#,html,css,windows-phone-8
I'm building somewhat of a caching mechanism for some webpages, so that if the webpage is already stored in IsolatedStorage, then it's not necessary to fetch it online. However, when I'm loading the page, the content (CSS, js, images) aren´t being loaded, although the files are already in the appropriate...

SQLITE inner join windows phone 8


c#,.net,sqlite,join,windows-phone-8
I have two tables... ITEM and STOREITEM ITEM columns --ITMID_PK,ITMNAME, description ,iCON STOREITEM columns --ITMID_FK,PRICE to retrieve data of ITEM table to list and store in listbox. I follow this List<ITEM> retrievedlist = sqlconn.query<ITEM>("select * from ITEM").ToList<ITEM>(); foreach (var t in retrievedlist ) { listbox.Items.Add(t); } this works perfectly for...

Silverlight Nested Custom Controls results in StackOverflowException


c#,xaml,silverlight,controls,stack-overflow
iam writing a reusable Controllibrary for my Silverlight Projects. At the moment i get an StackOverflowException each Time i startup my test Application wich is using the Controllibrary. I was able to reproduce the Exception in a small sample Projekt. I have two simple Custom Controls: //Control1.cs public class Control1:Control...

Windows Phone 8.1 : how to Launch an Installed app From My app


c#,windows-phone-7,windows-phone-8,windows-phone-8.1
I have tried the following links How do I launch other app from my own app in Windows Phone 8.1? Call an external app on windows phone 8.1 runtime(not silverlight) xaml c# application but nothing is working for me as i simply wants to launch one app for e.g. angry...

Deployment failed because no Windows Phone was detected when using Windows Phone Emulator


windows-phone-8,windows-phone,windows-phone-8-emulator
I'm facing a weird problem. When I'm trying to debug my app on Windows Phone Emulator I'm getting this error: Deployment failed because no Windows Phone was detected. Make sure a phone is connected and powered on. However Emulator is launched, the app is deployed correctly and I'm able to...

Application configuration files for Windows Universal app


windows-phone-8,windows-store-apps,windows-universal
I have developed a windows universal app 8.1 for tablets and phones. Is there any equivalent of App.config file what we used to have in desktop applications in win 8.1 tablets and phones ? Searching over the net revealed nothing. Thanks and Regards, Saurav...

Why has my Windows Phone Dev Centre Dashboard stopped reporting downloads?


windows-phone-8,windows-phone
All of my applications report in as published and up, however, I've gone from 60+ daily downloads to absolutely zero across all applications for several days straight. This seems very odd and more like an error in MS reporting on dev.windowsphone.com. Does anyone know why this may have happened? Is...

Windows phone store update app package on same app version?


c#,silverlight,windows-phone-7,windows-phone-8
I have uploaded an app with version 1.0.0.1. Now I want to just update the package of this submission and not version in Windows Phone store can i do that?

WrapPanel grabs focus from its children


c#,xaml,silverlight
I have some (homemade) controls in a wrappanel in a scrollviewer and I want my controls to get focus when I click on them or Tab through them. But the wrappanel grabs the focus and hands it to Children[0]. <ScrollViewer IsTabStop="False" > <toolkit:WrapPanel> <!-- children, filled in from code. IsTabStop="True"...

Binding.StringFormat doesn't adhere to CultureInfo.CurrentCulture [duplicate]


c#,windows-phone-8
This question already has an answer here: Why a binding's StringFormat didn't use a current culture? 1 answer I'm experiencing a weird format with currency issue when using data-binding on windows phone. I have checked the CultureInfo.CurrentCulture.NumberFormat.CurrencySymbol and this is £ When I do string.Format("{0:C}", 30.30) it displays correctly...

Windows Phone UI defaults to 19 margin on the left


windows-phone-8,windows-phone-8.1,guidelines
I've noticed that all guidelines, guides and blogs explain that the standard margin on the left (leading) for Windows Phone is 12. Yet, when I go File > New Project in VS2013 for any type of Windows Phone app, I'm met with a margin of 19, which looks really good....

String to Double Conversion (Comma to dot issue)


c#,xml,wpf,silverlight,type-conversion
Struggling with the basics - I'm trying to code a simple currency converter. The XML provided by external source uses comma as a decimal separator for exchange rate (kurs_sredni): <pozycja> <nazwa_waluty>bat (Tajlandia)</nazwa_waluty> <przelicznik>1</przelicznik> <kod_waluty>THB</kod_waluty> <kurs_sredni>0,1099</kurs_sredni> </pozycja> I already managed to load the data from XML into a nifty list of...

Style vs inline property setting in silverlight with a custom control


c#,wpf,xaml,silverlight
I have a custom silverlight control that is pretty much a glorified text box. I have some properties in it I need to be able to set from the XAML in silverlight, so for each property I have created something like this: public bool UseCustomTooltips { get { return _useCustomTooltips;...

Windows Phone local toast notification Text wrapping and image is not showing


c#,windows-phone-8,windows-phone,windows-phone-8.1,toast
In my application, sending toast notification from the application itself. ToastTemplateType toastTemplateXml = ToastTemplateType.ToastText03; XmlDocument toastXml = ToastNotificationManager.GetTemplateContent(toastTemplateXml); XmlNodeList toastTextAttributes = toastXml.GetElementsByTagName("text"); toastTextAttributes[0].InnerText = "Welcome to My app! Let us know how you heared about us."; string text = DateTime.Now.ToString("MM-dd-yyyy hh:mm:ss", CultureInfo.InvariantCulture); toastTextAttributes[1].InnerText = text; ToastNotification...

How to bind a textblock visibility to another textblock text property


c#,xaml,windows-phone-8,windows-phone-8.1,winrt-xaml
<Grid Height="{Binding ElementName=oldPrice, Path=Height}"> <TextBlock VerticalAlignment="Bottom" FontSize="{StaticResource TextStyleSmallFontSize}" RequestedTheme="Light" FontWeight="Bold" Foreground="#B0B0B0" Style="{StaticResource TitleTextBlockStyle}" TextWrapping="NoWrap"> <Run x:Name="oldPrice" Text="{Binding oldPrice}" /> </TextBlock> <Line Stretch="Fill" Stroke="#B0B0B0" StrokeThickness="1" X1="1" Width="{Binding ElementName=oldPrice, Path=Width}" Height="{Binding ElementName=oldPrice,...

Backbutton press navigates to two page backward in Windows Phone App


c#,xaml,windows-phone-8
In my windows phone app sometimes it takes me two page backward although I pressed hardware back button just once. To handle the back button I used following code snippet: private void HardwareButtons_BackPressed(object sender, BackPressedEventArgs e) { e.Handled = true; if (Frame.CanGoBack) Frame.GoBack(); } And in OnNavigatedTo() method I added...

Data Binding SQLIte to Listbox(containing three controls) Windows phone 8


c#,.net,sqlite,xaml,windows-phone-8
Iam new to implementing SQLITE DB & windows phone 8 app development... Implemeted following startegy to retreive data to listbox which contains three other controls.. here is my XAML code.. <ListBox Height="Auto" Name="TaskListBox" Margin="5,61,-1,298"> <ListBox.ItemTemplate> <DataTemplate> <Grid Background="Red" Height="480" Width="200"> <TextBlock Text="{Binding status }" Name="team1Name" Width="120" ></TextBlock> <TextBlock Text="{Binding CreationDate...

Html5 input type number formatting


android,iphone,html5,windows-phone-8,input
I have this page where i use the input type number. so that it will show the numeric keyboard on wp, android and ios device . But my problem is that if the user use a culture info on the device for. lets say Denmark. the numeric keyboard shown use...

Error x064 while registering a windows phone 8 for applications testing


windows-phone-8
I just finished a phonegap app ready to be deployed in a nokia lumia 520, I purchased a dev account, but everytime that I try to register the phone with the registration tool I get this: Status: Error communicating with the Windows Phone Dev Center. Please set the correct date...

Windows Phone 8.1 : Add remote Image to BottomAppBar or AppBarButton


c#,xaml,windows-phone-8,windows-phone-8.1,windows-phone-7.1
I want to add remote Image into app bar button. My image is this url http://2.bp.blogspot.com/-yEbb9_qp-jg/U8-KGeZAy3I/AAAAAAAAB0U/m91Bv1jPAQI/s1600/india+win+at+lords.jpg and I want to bind it to appbarbutton from the backend. my backend code is propic.UriSource = new Uri("http://2.bp.blogspot.com/-yEbb9_qp-jg/U8-KGeZAy3I/AAAAAAAAB0U/m91Bv1jPAQI/s1600/india+win+at+lords.jpg"); But my backend code is not working...someone please tell me how to do it And...

Cordova Push Notification using Parse not working when app is Open when App is closed or in background it is working in Window Phone


windows-phone-8,parse.com,push-notification,cordova-plugins
I have created in windows phone in Cordova. All things are working fine. But now I have integrated Push Notification using Parse. I have configured correctly. But now I am only getting push when my app is in background or closed. But I am not getting Push notification when my...

How to change listpicker dropdown ItemTemplate background?


xaml,windows-phone-8,listpicker
I have a Windows Phone 8 listpicker that I'm trying to change the background color of, however, it only seems to change the item background and not the dropdown box background as you can see in the screen capture. The dropdown box seems to be binded to the WP8 theme....

change SystemTray Color in whole application - windows phone


windows-phone-8,windows-phone,system-tray
I want to change the SystemTray Background and Foreground color in whole application but I don't define a base page and now I can't change the color for each page. is there a way for changing the background and foreground color of SystemTray in whole application through App.xaml.cs

how do i get rows and columns dynamically in windows phone app?


windows-phone-8,layout,windows-phone-8.1
In my application i need to design the seat layout arrangement in the form of rows and columns dynamically. Please any one suggest me how to get rows and columns and which view i need to use. this my xaml code <Grid x:Name="grid" Background="White"> <Button HorizontalAlignment="Stretch" Foreground="Black" Margin="23,56,268,527">Text</Button> </Grid> this...

Silverlight: Get first TextBox in DataTemplate


vb.net,silverlight,datatemplate,children
So far I have looked at several questions and answers for how to get a TextBox within a DataTemplate, but none of it is working for me. I have xaml like so (minimal example). The data template is in my section for static resources, and the ItemsControl is in the...

Circular progress bar in windows phone 8


c#,xaml,windows-phone-8,progress-bar
In referencing https://github.com/asimmittal/SillyUIControls/tree/master/CircularProgressBarWP8 for a fun new implementation of a progress indicator, I would like to adapt the circular progreessbar control to Windows Phone 8. But when i downloaded the project and rebuild-ed , it gave compile time error. error is as follow The property 'BgBrush' does not exist on...

How to display button over a Ad Mediator in windows phone 8?


c#,xaml,button,windows-phone-8,canvas
I use in the application Ad Mediator. I need to add a button(see example) I tried to use the Canvas and Canvas.Zindex. But then does not display advertising. Please tell me how to do it....

Can we customize the default style of hub or panorama app


windows-phone-8,panorama-control
I am trying to customize the hub or panorama style in WP8. Can I make Screen 1 by customizing the default hub or panorama style? I am having trouble in changing the default Screen 2 style. Is it possible, and how?...

Animate ScaleTransform of a Button using VisualStateManager


xaml,animation,windows-phone-8,visualstatemanager
I created a control template for a button which contains a grid and a content control. What I want to do is the following: when the button is pressed, the scale of the button should animate to 0.5 and when the button leaves the pressed state, the button's scale should...

Insert a blank row into a Datagrid with dynamic columns


c#,silverlight,datagrid
I create the columns of my Silverlight DataGrid dynamically in the code behind using a List as follows: private void BuildQuotationDGColumns(List<ProductCategory> ProdCatList) { // add a template column with drop down list of products DataGridTemplateColumn ProductColumn = new DataGridTemplateColumn(); ProductColumn.Header="Choose Product"; ProductColumn.CellTemplate=(DataTemplate) Resources["ProductDDLTemplate"]; QuotationDG.Columns.Add(ProductColumn); // for each entity in ProdCatList...

How can I create a simple text file on a windows phone (8.1) that can be accessed trough USB cable?


c#,file,windows-phone-8,windows-phone,windows-phone-8.1
So as title states, I would like to create a simple text file, that I could write to from my C# application, and copy it to my PC trough an USB cable. Just to be clear, I would like to write a file to this place, because I can access...

Receiving shared content using windows phone 8.0


c#,windows-phone-8,windows-phone-8.1,windows-phone-8-emulator
I am working on windows phone application 8.0 not 8.1 I want to receive shared file into my application For E.g : I found some code that will allow register file type to be shared with application but no luck .. I just want to know is that possible to...

How do I access MainPage class non-static members from the App class?


c#,wpf,xaml,silverlight,windows-phone-8.1
I have added an application bar to my blank Windows Phone 8.1 Silverlight app as per MSDN documentation https://msdn.microsoft.com/en-us/library/windows/apps/hh394038(v=vs.105).aspx. I have added event handlers encapsulated within the App class to each of the buttons in the application bar. I need a way of accessing the current instance of MainPage class...

Develop WP8 using VS Community 2013


windows-phone-8,vs-community-edition
Is there any way to develop wp8 app using Visual Studio Community 2013 edition? I've installed wp8 sdk, but still I can't see wp8 template.