Page 1 of 2 in the WindowsPhone7 category Next Page
# Friday, 08 March 2013

The Nokia Cinemagraph program on my Nokia Lumia 920 allows me to make interesting animated GIF files, while interesting GIF files don’t share very well currently. It would have been better if it was a more widely used MP4 file. So once again I break out the old FFMPEG and made a simple front end for the express purpose of converting a GIF file to MP4.


You’ll need to copy the GIF file to you PC before you can work on it, and before you ask. YES, I realize that it would have been better if this could be done on the phone itself but I haven’t found any thing to help me achieve that yet. Maybe Nokia will realize we’d like to be able to share our animated Cinegraphs through social media easily and built it into the next update.

But for now you can download the program here : M2SimpleGIF2MP4 

Unzip into a folder and run the M2SimpleGIF2MP4.EXE, should be pretty obvious how everything works. And here’s a sample.

Embarrasing Note : So.. after I did all this, then only I figured out where the share function in the Cinemagraph app is hidden, WTF indeed, Nokia should make the button more visible! Smile with tongue out

Friday, 08 March 2013 00:08:10 (Malay Peninsula Standard Time, UTC+08:00)  #    Comments [0]  | 
# Monday, 24 October 2011

I was preparing my Silverlight XNA hybrid application in Windows Phone 7.5 Mango presentation demo project for TechInsights 2011 (Sign up now!) When I hit a problem, The ContentManager  threw an exception whenever it was time to load an asset. Specifically it was a KeyNotFoundException.

After some digging around it seems like there's a problem with the project template itself. (!) The gist of it is, in the App.xaml.vb file. Under the InitializeXNAApplication function. You'll find the line below :-

If obj Is GetType(IGraphicsDeviceService) Then

This line is supposed to find an obj that implements IGraphicsDevicesService and add it into a list of services. But the code is wrong, this line needs to be changed to:-

If TypeOf obj Is IGraphicsDeviceService Then

In order to work properly. This ONLY affects the Visual Basic Windows Phone Silverlight And XNA Application project template.

The main question I'd like to ask is how the heck did this error make it out to the release SDK? Since I do remember everything working during the CTP. Also, even Microsoft's own VB code samples for this project type uses the correct method call.

Monday, 24 October 2011 10:09:00 (Malay Peninsula Standard Time, UTC+08:00)  #    Comments [0]  | 
# Tuesday, 24 May 2011

Well, I finally managed to release my first Windows Phone 7 game on the Marketplace, the Bullet Hell Simulator. While I rushed and put the thing on Marketplace BEFORE I had properly finished it and would most likely suffer for it, let's take a look at the evolution of the idea.

First there was the concept of shooting lots of stuff that randomly popped on screen.

Then after much background work, the core engine came up which allowed the creation of sprites that were controlled using an XML markup script.

Then finally.. version 1.0 of the program. Which was quite a mess because of the rambutan shaped enemy bullets, the fact that I accidentally DOUBLED the enemy bullet hit radius. Difficulty levels that didn't change the difficulty much, you couldn't actually die or be notified that your performance sucked, etc. etc.

And now... version 1.1 with shield blast gimmick, some enemy tweaks and balancing, difficulty levels that actually make the game easier on easy.

I wonder if I'll find time to document my XML based movement script? :P

Tuesday, 24 May 2011 00:19:03 (Malay Peninsula Standard Time, UTC+08:00)  #    Comments [5]  | 
# Monday, 21 March 2011

Performance looks hopeful, high potential to be a real game now.

Monday, 21 March 2011 11:38:05 (Malay Peninsula Standard Time, UTC+08:00)  #    Comments [0]  | 
# Friday, 18 March 2011

Well.. I got my phone unlocked... now what?

Friday, 18 March 2011 00:18:28 (Malay Peninsula Standard Time, UTC+08:00)  #    Comments [0]  | 
# Sunday, 27 February 2011

This here is my LG Optimus 7


With it's Gorilla glass protected screen, it would have been ok to just carry it around naked like this. But that was before WZ realized that games on the Optimus 7 is different from games on the iPod, and he would like to have some variety... So I knew I needed some sort of drop protection since it would only be a matter of time before he dropped it while playing for one reason or another.

I decided I would just go for a simple bumper case, tried searching around the local shops but as expected it's not exactly a mass market device here so I couldn't find anything. So I turned to PDAir and found this.


The Luxury Silicone Case!!! The main reason I choose this instead of the soft plastic case was that from experience, those soft plastic case usually made it VERY hard to press the buttons that are covered by the case. So I figured soft silicone would be easier, that and yeah... I really wanted to find out how LUXURIOUS it was. (Curiosity killed the wallet in this case)

The main difference I found between this and other silicone cases I've seen is the surface texture, yes... it's a silicone case with a SURFACE TEXTURE.


It's not just plain smooth like other silicone cases I've seen, feels like some non smoothed leather to me. So... feels like leather means luxury?

The case works as it should, as a soft dampening bumper in case of drops. The main problem when using cases like this is that you've put a frame on your screen and therefore reaching the edges might be a bit tricky. Luckily since it's a silicone case it can be pushed aside easily.

One problem that I do have with it is that, when my hands are dry, and the case is dry. It feels smooth and SLIPPERLY to the touch, does make me worry that it might slip off if my hands are too dry!

Still unsure about the luxury title though!

Sunday, 27 February 2011 00:19:25 (Malay Peninsula Standard Time, UTC+08:00)  #    Comments [0]  | 
# Thursday, 25 November 2010

Windows Phone 7 comes with a Map program which obviously ties into Microsoft's Bing Maps service. How effective is it when we try to use it here in Malaysia? Check out the video.

If you have don't have the 10 minutes to check out the video here's a quick summary

  • Navigation is enabled only for certain countries like US or UK. So you'll need to set the phone's region to those countries to even SEE the routing button in the Maps program.
  • While Bing can identify road names and perform routing, we can't SEARCH for road names in Bing Maps yet.
  • No voice navigation means it might not work too well as a driving aid.

So… don't go tossing out your external GPS unit just yet.

Thursday, 25 November 2010 09:51:59 (Malay Peninsula Standard Time, UTC+08:00)  #    Comments [0]  | 
# Friday, 19 November 2010

Today news broke that you can access your Windows Phone 7’s storage folders from this webpage, most sites referred to this as Portable USB drive access. They also wondered about the usefulness of this USB drive method since even if you COULD copy say… a DOC file into a folder, you couldn’t access it in the Office app on the phone. For that you could use my webserver method.

But I recognized what the folders were (Me and the other 10 people who used a Powered By Windows Media PMP device :P) The folders you see when you browse to the device…


These are the MEDIA FOLDERS, From my experience Windows Media powered PMP would have folders like this and used this structure to hold it’s contents.

So it’s a simple way to move media around, big deal you say. But here’s the thing that interested me the most.


Remember that you can already copy video files to the device using the Zune application, but unless your file satisfied certain parameters the Zune application will reencode the file to the WMV format before copying it to the device.

But… when you attempt to copy a file into the video folder directly through Explorer you get this dialog instead.


So you can choose to drop the file onto the phone WITHOUT ANY REENCODING!

Now that I could copy video files into the phone directly what’s left was to find out what kind of codecs were supported. Microsoft provides a nice little list here. But I’d be lying if I’d say I knew what’s the difference between the various different profiles of MPEG4. ;) Anyway what’s missing on the list is.. AVI file container support.

Quick primer for those of you who are unfamiliar with how video files work. A video file consists of a container which has multiple streams and each stream might contain data using various codecs. A typical AVI file you download off the Internet would be using the AVI container format, and has 2 streams, a video stream using the MPEG4 codec (or more commonly known as XVID), and an audio stream using the MP3 codec.

The problem here is that because Windows Phone 7 doesn’t support reading of AVI containers, it means that we are unable to just drop AVI files onto the phone. Based on my experience and testing when making my Simple Webserver, I know that MP4 Containers ARE supported and usable.

So now we have a problem, we have a container (AVI) which can’t be read by Windows Phone 7 but it contains streams MPEG4 and MP3 which CAN be used by Windows Phone 7. So the question was, how do we get the streams into a MP4 container WITHOUT having to go through any reencoding?

Enter the swiss army knife of video tools : FFMPEG

With FFMPEG it’s easy to copy streams from one container to another, with a simple command line of

ffmpeg –I inputfile.avi –vcodec copy –acodec copy output.mp4

The streams from inputfile.avi will be copied over to output.mp4 WITHOUT wasting time reencoding. Once processed you can then drop the MP4 file onto your phone and hopefully it’ll play properly (Remember, there are various other settings for MPEG4, and the phone doesn’t support all of them)

What’s that you say? You don’t know how to use the command line? How about this then?


It’s a VERY simple frontend to FFMPEG, you click on Pick Source to pick your source file. A quick analysis is done, and the program will tell you the state of the file. The destination file is entered automatically if possible, if not click Pick Destination for the output filename. (Be sure to enter a filename with the MP4 extension) Then click GO to start processing. Once it’s done copy the file over to your phone and try it out.

You can grab the M2RecontainInMP4 Program here. (I packaged the FFMPEG executable with it… I’m pretty sure I violated something in the licensing by doing so)

Things to note :-

  • It’s not a PERFECT process, sometimes some artifacts will appear
  • Renaming and deleting video files in Explorer seems to have WEIRD results, I think it’d be best if you don’t rename files on the device through Explorer. And to delete files, tap and hold on them in the Music & Videos app on your phone.
  • I haven’t gotten a H.264 video codec file to play properly, so.. good luck with the files you have.
  • This is a VERY VERY EASY hole for Microsoft to patch up. Let’s hope they don’t!

Friday, 19 November 2010 00:13:42 (Malay Peninsula Standard Time, UTC+08:00)  #    Comments [0]  | 
# Wednesday, 17 November 2010

After using my LG Optimus Windows Phone 7 for a while now I’ve decided to come up with a little FAQ for the upcoming Windows Phone 7 release in Malaysia to help users get up to speed with their new device.

Is Windows Phone released jn Malaysia yet?
(Updated 13th Jan 2011) Windows Phone 7 phones are now available in Malaysia.

Do I need a Windows PC to use the phone?
No, you only need to install the Zune application on your PC if you wish to copy files from the phone to your pc for backup. (This is the only way to backup full sized pictures and video recording from your camera) or if you want to put media onto the phone

Can I use a Mac instead?
A Beta Mac client has been released, I personally am not sure how well it works though.

Is a Windows Live ID required to use the phone?
You don't NEED a Live ID to use the phone, but you do need one to make full use of the phone’s features.

Microsoft's official statement says that Marketplace and xbox live is not supported in Malaysia,how would a user go about getting apps for the phone then?
This is an extremely complicated topic, so complicated that it needs its own post so load this link in a new tab.

Is it TRUE that we can't use our own songs as ringtones?
Not only is that true, the included ringtones are poorly suited for the task of alerting you to pick up the phone. This should be addressed in a future update

So... No copy and paste?
Yup.. Also coming in a later update.

And no multitasking?
Yup, no multitasking right now. The developers will have to pull a few tricks to give you the illusion of multitasking. Sorta like the PalmOS in its early days.

Is the load speed for apps slow?
Depends on a lot of factors, what does the app do on startup? Does if hit the network before showing anything on the screen? Did the device manufacturer use fast storage RAM? Feels quite ok on my LG Optimus, not sure about the rest.

What's this about MicroSD cards being permanently tied to the phone after they are inserted?
As a form of DRM to protect the contents of the phone, and in the best interest of content developers the SD card will actually have its security features activated. Once active not many other devices would know how to deal with it. Therefore right now, after you insert a MicroSD into a Windows Phone 7 device. It’s possible that no other device can use it for now. Here’s a link that points to more info.

What kind of media files are supported?
Through the Zune application, the phone will play MP3, WMA and unprotected AAC. FLAC is not supported, nor is OGG. Videos in supported formats will be transcoded to WMV format to be viewable on the phone.

Update 18th November 2010 : Using the method described in this link you can gain access to the media folders and DIRECTLY copy any supported file into the device bypassing the transcoding process. So far the best format I can get it to play is MP4 container, 720P H.264, AAC audio. With the help of the method in the above link, it is now possible to view XVID files WITHOUT REENCODING using the method which I describe here.

Can I read PDF files?
Yes, there's a basic PDF reader made by Adobe in the marketplace. I call it BASIC since other than the fact that it can read PDF files (quite well actually, handling a 1000+ page book pretty well) it doesn’t have a last read position feature, doesn’t have an insert bookmark feature… heck it doesn’t even have a GO TO PAGE NUMBER X feature, damn that makes it VERY VERY unfeasible to read that 1000+ page book! But then since it’s a program… it can be upgraded

How do I copy files such as PDFs, Word, Excel files to my phone?
Microsoft's recommendations are to mail them to yourself, I figured out a better solution.

How do I copy said files out from the phone then?
Mail them to yourself.... Sorry I don't have a better idea for this one yet.

Can it handle Chinese SMS?
It can receive them just fine, but to send them you'll have to make use of an app called 'Chinese SMS' that's free costs a small sum on the marketplace for now.

Update 18th November 2010 : Program costs money now!

How capable is Internet Explorer on Windows Phone 7?
Yes, Windows Phone 7’s IE doesn’t support HTML5. I’d think most mobile HTML5 sites are mainly catered for the iOS devices anyway. In normal usage IE is quite capable, it has pretty decent Javascript support and can handle normal websites quite well. It’s not perfect but it’s definetly what you can call a modern mobile web browser.

No plugin support then?
Just ask the real question you want to ask!

No Flash support then?
Not yet, Adobe says it’s coming.. But whenever that is… it’s not now.

What’s this WiFi bug that’s been going around?
There’s no way to connect to a non SSID broadcasting WiFi access point in Windows Phone 7. Also, it can only get it’s IP configuration through DHCP so static IP are also a problem.

Is there a Windows Live Messenger app for WP7?
There is one in the Marketplace right now, but it’s not an official one by Microsoft. And based on all the bad reviews the app is getting, seems like it doesn’t work too well. But… there is a way to get a… sort of Live Messenger app if you really need to chat with someone. Browse to on your Windows Phone 7 device and you’ll gain access to the Mobile Web version of Live Messenger, which works pretty well even if you might have to end up refreshing the page manually to see if new chats come in.

Can Windows Phone 7 replace my GPS? (25th Nov 2010)
The Maps application included in the phone doesn’t work that well here in Malaysia yet so the answer is NO. But check out the details here.

Can I sync my stuff from Outlook to the phone? (Updated 8th Jan 2011)
The answer to the question is both YES and NO, while you CAN get information from Outlook to your phone. It's not as straight forward as with Active Sync previously and also right now there's no way to sync Tasks and ToDo items. For more details check out this KB Article. Important Note (8th Jan 2011) : There seems to be a bug where editing a contact information in Outlook… makes you appear offline to that contact if it's an IM user, I have no idea why this is happening, but you need to be mindful of this.

I Keep Accidentally Hitting The Windows Or Search Buttons And Losing Everything I Was Working On (3rd March 2011)
The scenario is this, you're playing Puzzle Quest 2 on your HD7 and then your thumb accidentally swipes pass the Windows button and the game goes away as the Start screen shows up and you lose your game progress, damn those capacitive buttons! What happen was that the absence of traditional multitasking, and the app's developer not being able to handle Windows Phone 7 tombstoning effectively would have caused the app to lose whatever it is you were working on.

This is especially problematic on devices that don't have PHYSICAL buttons cause it's so easy to accidentally press capacitive buttons. What I just found out is that if you quickly press BACK after hitting the Windows or Search buttons there's a chance that you can get back to the app BEFORE the OS kills it. Keyword here is QUICKLY, you have to be fast about it! It might not always work, but if something good to know.

That’s what I have right now, feel free to post any new questions for me to add to this list.

Wednesday, 17 November 2010 11:57:11 (Malay Peninsula Standard Time, UTC+08:00)  #    Comments [4]  | 
# Monday, 08 November 2010

And now for my continuing adventures experimenting with Windows Live ID on my LG Optimus. Today was to test if I can actually BUY something if I had a working credit card attached to the Windows Live ID account on my phone. The reason I am worried that this might not work is because of this.


The phone has it’s originating telco information embedded in its firmware, as you can see my LG Optimus is from Singtel. And from all the reviews I’ve heard on the web, purchases made on the phone are charged to the telco bill. As I’m using a Maxis SIM card in the phone I wasn’t sure what would happen.

But luckily, when I choose to bought a game the phone just mentioned that my credit card would be charged and that was the end of that.

So… in summary. If you have an Windows Live ID account which you managed to attach a working credit card to, YES, YOU CAN BUY STUFF FROM THE WINDOWS PHONE MARKETPLACE.

And I thought my crazy adventures with Windows Live ID was done with until I fired up Zune and logged in to the Singapore account attached to the phone now, at which point Zune greeted me with this.


Granted the change is simple enough, and the dialog box tells you what to do to change your PC’s region (What it doesn’t tell you is that after you make the setting, you need to restart the Zune application) Like one of my friend’s mentioned “WTF?!?!?!” Yes… WTF indeed…

Monday, 08 November 2010 23:02:53 (Malay Peninsula Standard Time, UTC+08:00)  #    Comments [0]  | 
Page 1 of 2 in the WindowsPhone7 category Next Page