Hi guys,
I’ve been struggling with a subtle issue caused by the lack of capabilities in the WP7 WCF framework.
I thought this issue is very interesting and could happen to anybody so I’m sharing it with you in case you face it one day.
Let’s imagine you deploy a web service having a method: public List<People> GetPeopleList();
once you add a service reference to your project using the Visual Studio “Add Web Reference” feature, the generated client code is likely to be:
public IObservableCollection<People> GetPeopleList();
which is quite not what you’ve set in your contract, and bear in mind that IObservableCollection won’t work in WP7, when you will call the GetPeopleList method, you’ll get in return NULL (or in some cases an empty collection). Apparently, this can be solved by using slsvcutil.exe to generate the WS client sources manually but I found a better way, just follow the steps below (Tested on Visual Studio 2010 Ultimate ONLY): Read more…
Hi everybody,
How are you doing this beautiful night ? (or morning depending on your timezone…)
I’ve just attended to a Mindshare organized by my company (Avanade), the topic was all around the new MS Dynamics CRM release, which is by the way still a beta version. I’ve gotta admit, I had a little crush on this platform because well, it’s the first time I get an overview of it and I’ll be really pleased to work on it in the future.
Read more…
Hi all,
This is a quick post to let you know about an all day MS event taking place at Redmond on the 2nd december, 2010. The event’s very interesting and especially for Windows phone 7 developers since it highlights the future of Silverlight and WP7.
You can either register to attend to the event or to watch online, more information on the following link: Silverlight Firestarter
Enjoy!
Hi guys,
I’m back with a new post that I think will please many of you Windows phone 7 developers. Indeed, lot of people have been asking what’s up with Pivots and bing maps being combined together since if you do so then you can say good bye to the flicking.
When you put an item that supports flicking on top of a pivot then you might get in troubles, because if you flick in the same direction as the one the pivot is being using (depending on what view mode you’re in; portrait or landscape) then the screen will switch to the next/previous one which is a side effect *caused* by events bubbling (which can’t be avoided using e.handled = true of course).
I, and my codermate have been asking almost everywhere, we’ve been told to forget about it and to just put the map on a new pivot-free screen which is kinda contradictory to our project goals (having a lightweight app with as less screens as possible).
Read more…
Hi everybody,
I’m back, with a fresh, new and totally different subject today. Indeed, I started playing around with the android platform, if you don’t know what android is, please visit the android google code page. Thus, in few words, android is a Linux mobile phone operating system produced by Google.
Actually I’m preparing myself for a android game I’m gonna create with friends, and I’ve wrote a simple code to animate bounding smileys on a scene, every time you touch the screen a new smiley is created at the point you have touched and the sprite (smiley) starts bounding.
Read more…
Hi back,
I was looking for a simple and easy code to do slides showing in javascript and I came across the one you could find at sixrevisions.
The only issue with this script is that its a single instance system, you can only have one slideshow per page and if you want more then you have to duplicate the code with as many times as slideshow you want and with different ids.
Read more…
Hi back,
I was struggling with the JavaFX object oriented model for a couple of hours today, I wanted to set a constructor for my classes but it didn’t work… Although, I’ve learn something very important: JavaFX isn’t Java
.
There’s no classes constructors in JavaFX, but fortunately if we combine some tips we can get a kind of constructor at the end.
Read more…
Hi,
This topic is all about a C recursive function that I quickly wrote few days ago to help me do string matching with patterns containing a wildcard. So, instead of using the regex API I prefered having my own matching function as I only need an asterisc wildcard support.
But unfortunately my function isn’t perfect yet, it only works when the two letters that are marking out the wildcard are different from each other, for example matching AAA to A*A returns false.
I plan to fix this as soon as possible, but for the time being I’m gonna give you the current version 
Read more…
Hi everyone,
I dismissed my blog because of my internship…
But I came with something interresting, Indeed I was asking myself, why I can’t use the Oracle decode() function in my SQLite database ?
The answer is quite simple, there’s not such a function in the sqlite base library… But the library offers a so powerful and flexible API that I can use to write my own functions. So cool ^^
Here’s a quick implementation of the decode function, it needs some optimization and some corrections, but fankly I’ve no time to do this right now.
Read more…
Hi back.
This is a marvelous game with an unbelievable source code that my cyber-friend Scrouaf gave me.
This source code was written by Daniel Vik for an obfuscation contest and won the first place (I don’t remember the date).
To compile the code just link with x11 library :
gcc vik.c -o vik -lX11
Read more…