Sunday, 30 December 2012

Detect CPU architecture at runtime for Windows 8 Store Apps

  If you are developing an application for the Windows 8 Store it is very important that you test it on an ARM device (Surface RT, Asus VivoTab RT, Dell XPS 10,etc.) before sending it into certification. You will probably have some bad surprises and not everything that was fast&fluid on your development machine will continue to be so on an ARM device (the list scroll performance reminds me of the first version of Windows Phone)....

Wednesday, 26 December 2012

C# XAudio2 Sound Playback for Windows Phone

     Let's begin with a small introduction to XAudio2:     XAudio2 is a low-level audio API. It provides a signal processing and mixing foundation for games that is similar to its predecessors, DirectSound and XAudio. XAudio2 is the replacement for both DirectSound and XAudio.     XAudio2 abstracts audio generation by separating sound data from "voice", allowing each voice to be filtered...

Wednesday, 19 December 2012

Using indexOf method on array in server side JavaScript

Sometime back I was trying to use indexOf method on an Array object in server-side JavaScript (SSJS) code. But it was giving me error that indexOf method is not defined. I also couldn't find this method in help documentation. It was then it struck me that the implementation indexOf method in client side JavaScript itself is a bit fuzzy with Internet Explorer not supporting it. It can be defined using prototype property.I found a simple solution here which implements the method. Just add the below code snippet to your SSJS code and then...

Tuesday, 18 December 2012

Charging pattern on HTC One X

My HTC One X has a pattern in which it charges itself.In the above screenshot of my battery usage you can see that from 10% battery level to 60% battery level my phone charges at a constant rate. But from 60% up till around 75% this rate dramatically drops and it takes much longer to charge. Then picks up again until around 90% and afterwards it charges very quickly. I don't know why does this happen and what is its significance. I contacted HTC...

Monday, 17 December 2012

Some business customers invited to test new BlackBerry 10 platform

If you're lucky, you may be one of the 120 select customers from 64 Fortune 500 companies to beta test the BlackBerry 10 smartphone, which is set to make a worldwide debut on the 30th of January. The new BlackBerry Hub experience is waiting for your reactions.The by-invitation-only program starts today and includes participants from financial, government, insurance healthcare, manufacturing and media. It is design to give early adopters a real-life...

Saturday, 8 December 2012

New features in HTC One X after Jelly Bean update

Some time back I updated my HTC One X to Jelly Bean (JB) using OTA update. The update takes your Android version to 4.1.1 and Sense to 4+.Its been almost a 2 weeks with this update and the most noticeable improvement I can see is of battery usage. My phone lasts 1-2 hours more than it used to before. Well done HTC! There also some additions (and deletions) which I am going to describe here. Now I not an Android expert so...

Monday, 3 December 2012

Smart watches connecting to smartphones could be next big thing

I have been feeling a little like Dick Tracy lately, as I walked around with a Sony SmartWatch on my arm. There is a certain cool factor about this device, which was on loan from Verizon Wireless. The SmartWatch functions as an extension of your Andriod smartphone or tablet and will allow you to read text messages and view social network updates, as well as check the time and date. The latter should be a "duh" moment; of course it'll give you the...

Sunday, 2 December 2012

Making internet pass-through work after updating HTC One X to Jelly Bean

Update 22 Jan 2013: "HTC Sync" seems to have been discontinued so the download links given below will not work. "HTC Sync" is different from "HTC Sync Manager". For exact difference read on.I recently upgraded my HTC One X to Jelly Bean via OTA update. After updating I was unable to use internet pass-through which used to work flawlessly before and I already had HTC Sync installed on my PC. I uninstalled, installed, uninstalled again and installed...