windows-phone-8 Questions
13
Solved
I was so happy today that I have been finally able to install Windows Phone 8 SDK and try it a bit. I installed fresh new installation of Windows 8 Pro into my virtual machine (I am running if from...
Rambow asked 30/10, 2012 at 22:59
6
Solved
I am posting a string to a web server this way:
private async Task makeRequest(string url, string postData)
{
HttpClient client = null;
HttpResponseMessage response = null;
try
{
client = ne...
Xenogenesis asked 7/9, 2013 at 13:38
15
Solved
Summary: I would like to call an asynchronous method in a constructor. Is this possible?
Details: I have a method called getwritings() that parses JSON data. Everything works fine if I just call g...
Confluence asked 13/4, 2014 at 20:49
4
Async/Await support for Specflow Steps =>
I would like to use SpecFlow with the Async Await Features of C#, windows phone 8,
SpecFlow with MSTest can execute Code using async / await but doesn't wa...
Interbedded asked 16/2, 2014 at 8:31
4
Solved
Let's say, I've got something like this (in MainPage.xaml):
<Page.Resources>
<Style TargetType="TextBlock" x:Key="TextBlockStyle">
<Setter Property="FontFamily" Value="Segoe UI Li...
Santamaria asked 30/8, 2014 at 17:10
6
Solved
Currently, I am working on API wrapper. If I send a bad Consumer Key, the server will return Status as 403 Forbidden in the header. It will also pass custom headers. How do I actually retrieve thes...
Underclothing asked 1/5, 2013 at 15:7
3
I am trying to set the path of a cookie but I am always recieving the error:
CookieException: The 'Path'='/applogin' part of the cookie is invalid.
the code looks like this:
Cookie newCookie = n...
Fruiter asked 22/1, 2013 at 10:34
4
Solved
I'm working on a WP8 app that uses a ScheduledTaskAgent to update a Live Tile. It's a pretty simple app, really. Problem is that while I've directly copied the code from the WP7 project to the WP8 ...
Stimulative asked 29/12, 2012 at 1:14
2
Solved
The web socket is written in javascript by my colleague. I managed to connect. First of all I have to log in on the application using a test account. I have to send the email and password through a...
Marilyn asked 27/6, 2014 at 10:56
4
Here is my code...
public async Task SetLargeImageAsync(byte[] imageBytes,
bool storeBytesInObject = false)
{
var tcs = new TaskCompletionSource<string>();
SmartDispatcher.BeginInvok...
Derte asked 25/6, 2013 at 6:5
4
Solved
I created Windows Phone 8.1 project and I am trying to run async method GetResponse<T>(string url) on button click and waiting for the method to finish, but method is never finishing. Here is...
Relation asked 19/2, 2015 at 8:33
2
Solved
I hope this isn't a duplicate but I can't find any documentation or examples on how to actually use ScrollToVerticalOffset(). I'm using it in a Windows Phone 8 app, but I think it will still apply ...
Nannana asked 27/2, 2013 at 14:47
5
I am working on a multi threaded WindowsPhone8 app that has critical sections within async methods.
Does anyone know of a way to properly use semaphores / mutexes in C# where you are using nested...
Alchemize asked 6/11, 2013 at 22:36
3
I am uploading an image with HttpClient.PostAsync() on my Windows Phone 8 app. The user has the option to cancel this upload via a UI button.
To cancel the POST request, I set a CancellationToken....
Beiderbecke asked 17/7, 2015 at 8:20
4
Solved
I'm beginning to program in Windows Phone 8 using C#/XAML. Currently I'm developing a quiz type WP8 app which has a question (textblock) and 4 options (in the form of buttons). What I'd like to do ...
Ostrich asked 4/12, 2012 at 11:0
16
Solved
I am developing Windows Phone 8 app. I want to upload SQLite database via PHP web service using HTTP POST request with MIME type multipart/form-data & a string data called "userid=SOME_ID".
I...
Brattishing asked 13/11, 2013 at 12:50
3
Solved
I have written the code below to send headers, post parameters. The problem is that I am using SendAsync since my request can be GET or POST. How can I add POST Body to this peice of code so that i...
Tit asked 6/8, 2014 at 10:50
6
Solved
I'm using a checkbox control like this:
<CheckBox VerticalAlignment="Bottom" IsChecked="{Binding Selected}"
Grid.Column="0"
FontSize="{StaticResource PhoneFontSizeLarge}"
Content="{Bindin...
Knowland asked 20/11, 2012 at 20:11
15
I'm trying to learn Windows Phone dev by making a basic app that provides information about Pokemon. To do this, I've created a portable class library (PokeLib.dll) so it's compatible with universa...
Culbreth asked 29/11, 2014 at 18:20
3
Solved
my application, currently, goes to the MainPage.xaml at startup (I don't know where it has configured though).
I want to be able to start with another page in some conditions. I think I can add th...
Heartfelt asked 3/10, 2013 at 21:36
6
Solved
I did fresh W10 and VS 2015 install and now when i try running newly created hello world type of app on emulator it doesn't load, all it says is:
after 5-10 minutes it exits and Visual studio ret...
Anacoluthia asked 5/8, 2015 at 0:2
5
Solved
I have the following code:
...
AuthenticationHeaderValue authHeaders = new AuthenticationHeaderValue("OAuth2", Contract.AccessToken);
string result = await PostRequest.AuthenticatedGetData(fullUrl...
Marileemarilin asked 26/9, 2013 at 21:58
4
Solved
For example, I have an UIElement:
<TextBlock Name="sometextblock" Text="sample text"/>
In the code I have a string variable with that name:
string elementName = "sometextblock";
How to ...
Fraga asked 27/2, 2014 at 4:31
6
On a Windows phone, in IE users can go back and forward by swiping on the screen if the swipe is coming from the edge. This OS level functionality is hampering my webpage's UX.
Is there any js or ...
Brute asked 4/6, 2015 at 6:52
4
I recently bought a Windows 8 laptop just for the sake of developing Windows Phone Apps. Mine is not a Pro version hence Hyper-V does not run. (I realized that Hyper-V needs WinPro after I bought t...
Albata asked 15/6, 2013 at 14:14
1 Next >
© 2022 - 2024 — McMap. All rights reserved.