|
|
Parcourir par tags
Tous les tags » Windows Phone 7 » .NET (RSS)
Page 1 sur 5 (47 messages au total)
-
There’s a memory leak that has been bothering me for a while in my Imageboard Browser app. The scenario is simple: a slideshow feature, where a new picture is loaded from an url every few seconds. After a while, the app crashes with an OutOfMemory exception. I’ve never been able to find the source of the leak, so I settled for a dirty ...
-
A strange issue with the Panorama control, that has been brought to my attention by @lancewmccarthy, and which has also been encountered by some people on StackOverflow.
The original scenario was a bit too complex for a blog post, but we can reproduce it in a much simpler way.
Create a new page, and add a panorama control called ‘Panorama’. ...
-
Today we’ll dig a little into Windows Phone’s base class library, thanks to a question I found on stack overflow.
The problem occurs with this simple code, used to load a music file from the isolated storage, and play it with a MediaElement: 1: using (var isf = IsolatedStorageFile.GetUserStoreForApplication())
2: { ...
-
Unexpected NONE in parse rule ElementBody ::= ATTRIBUTE* ( PropertyElement | Content )* . ENDTAG..
Best. Error message. Ever. Thanks Silverlight.
So, what’s going on?
For the sake of all the devs who’ll come to this page using Google, let’s describe one of the causes of the error message. 1: ...
-
Another issue I found on StackOverflow, which is way more tricky that it seems.
Let’s say we have a Silverlight WP7 application, and we want to add a drag&drop scenario. The user first taps an element, drags his finger to another, and raises his finger on another element. Easy enough! Just handle the MouseLeftButtonDown on each element, ...
-
It’s an interesting issue I found on StackOverflow. Interesting because I often forget to test my applications using the Windows Phone’s white theme, so this kind of problem usually goes unnoticed until a user reports it.
Create a simple WP7 application with a black background and an ApplicationBar. Add a button to toggle the bar’s ...
-
Let’s consider this simple code: 1: var beginDate = new DateTime(2011, 12, 01);
2: var endDate = new DateTime(2011, 12, 02);
3:
4: var reminder = new Reminder(''Test'');
5: reminder.BeginTime = beginDate;
6: reminder.ExpirationTime = endDate;
7:
...
-
This article is also available in english.
Dans les dernières applications Windows Phone publiées sur lesquelles j'ai travaillé, comme Foursquare, Flickr ou TuneIn (et d'autres sont à venir), toutes ont des Live Tiles, à la fois en mode Pull et générées localement. Mais il y a quelques petites choses à savoir pour les utiliser efficacement, ...
-
Windows Phone 7 ne proposait jusque-là pas d’API permettant de contrôler l’allumage du flash, aussi toutes les applications de prétendues lampe torche se contentaient d’afficher une image blanche sur l’écran. Mango offre un plus grand contrôle sur la camera, mais toujours pas de moyen direct de piloter le flash. Cependant, une solution de ...
-
Hier, une boite à outil fort pratique pour Windows Phone a été publiée : Windows Phone Power Tools. Cet utilitaire fourni un vaste éventail de fonctionnalités : - Affichage d’informations au sujet de votre téléphone, telles que la quantité mémoire disponible - Installation d’applications, ce que le SDK permettait déjà de faire, mais ...
1
|
|
|