Questions tagged [windows-phone]

17447 questions
1

votes
2

answer
1.3k

Views

How to use speech to text in WP7 mango Application using inbuilt Mango voice feature programmatically

can we call inbuilt Windows phone mango voice feature programmatically as in we use Launcher and Choosers. Is there a way I can use this feature for my Translator application where my application recognises the voices spoken in different languages and convert them to text in that particular language...
user1027177
1

votes
0

answer
128

Views

Cordova build failed for Windows

I want to test my app on Windows / Windows Mobile. For this I first installed Visual Studio Community 2017 and then I downloaded Windows 10 SDK & Mobile Development with JavaScript. After that I added Windows platform, and 2 lines of code in config.xml that looks like below Now when I run ionic cor...
Azam Alvi
1

votes
1

answer
465

Views

HttpClient hangs for large request

I have an issue in an app developed for Windows Phone 8.1, where its working just fine, but in Windows Mobile 10 it gets stuck on GetAsync. It doesn't throw an exception or anything, just gets stuck there waiting endlessly. The content-length of the response is 22014030 bytes. using (HttpClient clie...
Stayfrosty555
1

votes
0

answer
160

Views

Angular 4, Phonegap icons Windows Phone 10

I have project in Angular 4 + Phonegap. When I build the project online with /build.phonegap.com, the website shows the following error: Error: ENOENT: no such file or directory, scandir 'C:\project\res\icons\windows' at Error (native) at Object.fs.readdirSync (fs.js:808:18) at C:\project\cordova\li...
Mastero_Python
1

votes
1

answer
96

Views

UWP: Control won't fit to the available view area of my Grid cell

I am working on a Phone Dialer UWP application for Windows Mobile devices. In searching for dialer examples, I came across the PhoneCall sample that is bundled with Windows Universal Samples at https://github.com/Microsoft/Windows-universal-samples. The PhoneCall sample contains an example implement...
AutomationZombie
1

votes
0

answer
82

Views

URI Scheme for Microsoft Equalizer app on Windows Phone 8.1

This is a question for an old platform, but I happen to need to write an app for Windows Phone 8.1. This app needs to launch the Microsoft Equalizer (audio) app that could be installed on some Nokia Lumia devices and enabled audio equalizer in the phone's Settings section. I know I need the app's UR...
TheAgent
1

votes
0

answer
60

Views

UWP Windows Phone detect type of USB connection

I'm writing an app for a Windows 10 Mobile Enterprise phone, using the UWP framework and C#. When I plug the phone into a computer, the phone prompts for whether I want to allow a data connection, or just power. I know there's an event to detect whether the phone is being charged or not, but I need...
tj94
1

votes
1

answer
27

Views

Get Host File on my windows phone

I’m developing an UWP app for Windows 10 phone. The client request is to be able to get the HttpClient BaseAddress (Services address) from a local file located on the Host File like on desktop apps (C:\Windows\System32\drivers\etc\hosts). This is because they need to use the app on different local...
Fredo Drucker
1

votes
0

answer
70

Views

PublicClientApplication cctor doesn't work on windows phone 8.1 (System.NullReferenceException)

I am trying to add a simple way to connect to a microsoft account in my app using Microsoft Graph (in a c# project). I followed the sample for UWP (https://developer.microsoft.com/en-us/graph/quick-start) and everything works fine on UWP and Windows 8.1, however I am stuck on Windows Phone 8.1 at in...
Georgiana
1

votes
0

answer
29

Views

Passing Class Object to WCF Service c# wp8

I'm trying to pass the class object via Post Async Method public async void SAveDetails(clsPickList obj) { using (HttpClient client = new HttpClient()) { HttpContent content = new StringContent(JsonConvert.SerializeObject(obj)); content.Headers.ContentType = new MediaTypeHeaderValue('application/jso...
Udk
1

votes
1

answer
31

Views

Lumia 640 LTE edge explorer - javascript $ is not defined

We've developed a responsive website for mobile phones. But we've encountered a problem with the mobile phone Lumia 640 LTE. The Edge explorer on this device doesn't load properly the JavaScript and returns the error '$ is not defined'. It brokes always on 'script type='text/javascript'' section an...
1

votes
0

answer
53

Views

Visual Studio : Windows 10 Emulator not starting

I am developing a UWP application on my Windows 10 machine and whenever I try to run the emulator, it pops up the below error. I have a Core i5 6th Gen CPU and 8GB RAM as my standard setup. It is not even allowing 512 MB RAM's emulator as well.
Apoorv
1

votes
2

answer
2.6k

Views

Windows Phone 7 Tab Pages (page cycle)

I know.. I know, it's only a few hours old. But how the hell do you get the little page tabbing/cycle (forgot what the official name is) on the top of the page under the app title. MIX Keynotes made it look like it was a control (or at least what I saw, was @ work). Anyone who made MIX or knows how...
cw.
1

votes
1

answer
829

Views

Sample Windows Phone 7 pivot implementations

Any suggestions on good sample pivot implementations for Windows Phone 7?
Randy Holloway
1

votes
2

answer
733

Views

Remove Registry Keys for Windows Phone 7 Emulator

I am trying to get the updated Windows Phone 7 tools installed, but can't get rid of the old ones. The uninstaller wouldn't run, so I had to try more extreme means. I got everything removed except for 'Microsoft Windows Phone Emulator x64'. Does anyone know what vm_web.exe (the tool installer) is...
Jake Pearson
1

votes
1

answer
147

Views

How do I send user to a URI on MouseLeftButtonUp?

This question is for Windows Phone 7. I'd like to send the user to a specific external URI when the entire ListBox item is clicked (not HyperLinkButton). I already have a MouseLeftButtonUp event handler for the item. At this point, I can't find a way to navigate the user to the URI.
1

votes
2

answer
3.2k

Views

How To Set The ScrollBar in Windows Phone 7?

I Want To Set The ScrollBar To Windows Phone 7.Hare There Is No Built in Control Of Scrollbar.How To Get It And Use in Windows Phone 7.
Sravanti
1

votes
1

answer
582

Views

Problems with some textures in XNA

I have made a model using Sketchup, and have tested rendering it using Blender and it looks great. However loading it in XNA has two problems. 1. One of the textures becomes see-thru not entierly transparent but items below on the inside of the model is visible (this is not the case in blender). 2....
Jimmy Engtröm
1

votes
1

answer
620

Views

Push Notification - Dedicated server required?

I'm thinking of developing an app that uses Microsoft Push Notification. However, I'm not quite sure what I need on my server. I've currently got a shared hosting account. Can I use this as my server to use Push Notification, or does the server have to be dedicated? Thanks
XSL
1

votes
1

answer
434

Views

Windows Phone 7 API + SSL

I'm trying to connect to an API, which is hosted on an SSL connection. This is the crossdomain: That's all there is. Now I try to connect, but I always get a security exception (no more info given). Now the problem is that in Silverlight you have to have the Silverlight app hosted on ssl if you wan...
Snake
1

votes
1

answer
398

Views

Windows Phone app crashes when navigating back from a task

Some pages in my app allow users to click a hyperlink to launch the external browser via a WebBrowserHelper. I'm carefully saving the app state in OnNavigatedFrom and restoring it in OnNavigatedTo, but when the user navigates back from the web browser into my app, the app hangs, then crashes. I've c...
Ben Gracewood
1

votes
2

answer
1.4k

Views

Silverlight listbox itemsource change not updating list

Working with a listbox in windows phone 7 I am trying to make an async web service call then update the listbox on success. The method that calls the webservice looks like this: public void GetReadingList(Action success, Action failure) I am calling the method with this code: api.GetReadingList( (it...
Luke Lowrey
1

votes
1

answer
3.2k

Views

ListBox.ItemTemplate with a custom control template inside DataTemplate

I'm developing a Windows Phone application. I have defined a ListBox.ItemTemplate's DataTemplate as follows: I want to convert all the content inside the ListBoxItem as a Control because I want to add a Click event to it. How can I do this? Thank you.
VansFannel
1

votes
1

answer
546

Views

Windows Phone 7: Title bug on back button, and de-selecting listbox entries

In Windows Phone 7 (Silverlight), when I use the back button to return to the previous page, the page title does not update and remains the same as the page that was just left. The actual text is bound to a string in a viewmodel, nothing special there. Here is the line of xaml. I also have a simple...
Will
1

votes
1

answer
182

Views

Windows Phone 7 CTP Refresh to Beta Build Conversion

EDIT: I modified the question title after understanding the actual problem. I tried to run the sample RSS reader from Codeplex. I tried it on CTP version of the Windows Phone Developer Tools and it worked ok on that. But now after trying it on beta version of the tools, it gave me following error....
Pale Blue Dot
1

votes
3

answer
759

Views

How can I create a ListBox that only shows the selected item when not focused

I want to reproduce a ListBox used in the Windows Phone 7 calendar. When the list does not have focus, only the selected item is shown. When the list gets focused, it smootly grows (vertically) to show all items. My limited Silverlight and Blend talent is failing me. I thought I could achieve all th...
Martin Plante
1

votes
2

answer
715

Views

Silverlight: Difficulty with ListBox and {Binding} syntax

I'm building a test Windows Phone 7 Silverlight app. (I've been following this tutorial.) I'm having a problem binding the list items to item properties. Get tweets for an entered username: private void button1_Click(object sender, RoutedEventArgs e) { WebClient twitter = new WebClient(); twitter.Do...
Nick Heiner
1

votes
1

answer
588

Views

Silverlight/Windows Phone - EventToCommand DataContext Weirdness

I'm currently using MVVMLight for my WP7 app and have found that the datacontext for an EventToCommand is always the page datacontext. I'm also using the phone.codeplex.com panorama control and had set the datacontext for each PanoramaItem to a different ViewModel but this datacontext is ignored an...
chief7
1

votes
1

answer
438

Views

WP7: Save a contact with predefined details

I am doing a Windows Phone 7 project, and is retrieving personal details for a person based on his phone number via a webservice. I'd like to allow the user to save this data as a contact; Ideally I would like to show the Edit Contact dialog with all the fields pre-filled based on the data I retriev...
driis
1

votes
2

answer
2.9k

Views

HttpWebRequest initializing - response never received

I am currently working on an implementation of an application for Windows Phone 7 that should retrieve the SHOUTcast stream (inspired by this question). The stream location is represented by an IP address and a port. Here is an example of a SHOUTcast stream URL: http://78.159.104.183:80 I am trying...
Den Delimarsky
1

votes
3

answer
6.6k

Views

How should I handle click events on pushpins in my Bing Maps control for WP7

I'm about to add templated controls inside each of my Pushpins on my Map, in order to interact with the user clicking (er, touching) a pushpin. Is this the proper way to work with pushpins? I don't want to handle MouseDown and MouseUp and reinvent everything (and nobody should). I just need confirm...
Martin Plante
1

votes
3

answer
200

Views

MVVM Light and windows phone RTW any gotchas

Are there any gotchas using mvvm-light and the RTW windows phone 7 tools? There was a hotfix back in July but is there a new one in the pipeline?
PeterI
1

votes
1

answer
1k

Views

Replacement for “TypeDescriptor” class (since it's not implemented on Windows Phone 7)?

I have a really simple function that I wrote about a million years back that tries to convert a string to another type. Works great for values types, numbers, enums, datetimes etc so I use it all the time when parsing xml file values, web request results - whatever. However my code won't work on t...
will
1

votes
1

answer
685

Views

XML Serialization - Efficient?

Hey everybody. I'm creating a catalog app where users add/download information on cars. This could result in hundreds, possibly thousands, of cars and their data (make, model, year, image etc...). Seeing as WP7 no database, I'm using XML. My question is, would it be efficient to store every object i...
Brap
1

votes
1

answer
428

Views

What are the requirements to install Windows Phone Developer Tool?

I can't find it. By requirements, I mean like: Windows 7 Visual Studio 2010...
alansiqueira27
1

votes
1

answer
315

Views

Performance issues with the TransitioningContentControl in Windows Phone 7

When using the TransitioningContentControl and a Panorama, I cannot seem to get any good performance when I am navigating from one page to another. I have been implementing a basic Flip animation, where the current content gets flipped out and the new one is flipped in, but the apps FPS drops to le...
Mark
1

votes
1

answer
1.7k

Views

Are there any mature samples of WP7 code available either on codeplex or somewhere?

I am looking for some advanced samples of windows phone 7 that use expression blend for UI design and VS 2010 for app development that talks to services etc. and probably uses some frameworks.
Srikar Doddi
1

votes
2

answer
1.4k

Views

WP7 Using TransitioningContentControl for different forward and back animations

I'm using the TransitioningContentControl to create animations for navigating between pages. I used this blog post as my guide: http://wildermuth.com/2010/07/16/Bring_Back_Page_Transitions_to_the_Windows_Phone_List_Application_Template I also found this post that does something very similar: http://...
CACuzcatlan
1

votes
1

answer
217

Views

Windows phone7 emulator requires constant refresh

I have the tools installed for windows phone 7 development. But, when I run the any of the sample apps I have to manually refresh my emulator's app window to see any changes. Any ideas what I'm doing wrong? Or maybe a setting is wrong? Thanks
cbrulak
1

votes
1

answer
206

Views

Visual Studio 2010 with phone tools - Any advanced/configurable settings?

In Visual Studio 2008, there was the device manager for setting up additional templates and options for the emulator. None of these options are available with Visual Studio 2010 which I understand as the features were removed. When the Phone Tools are installed, the device target box comes back but...
Wil

View additional questions