Android Development Tips

When you hit run, you get following message:

[2009-04-25 01:00:24 - Emulator] emulator: ERROR: unknown virtual device name: ‘my_avd’
[2009-04-25 01:00:24 - Emulator] emulator: could not find virtual device named ‘my_avd’

Solution:

Create a system variable called ANDROID_SDK_HOME and point it to users folder. Ex: C\Users\UserName\

Problem definition:

Given your balance, pick a subset of upgrades such that summation of Power, Traction and Aerodynamics are maximized and summation of costs doesn’t exceed balance. Problem can be found on this page: http://apps.facebook.com/motorcycle_madness/upgrade.php

Solution:

We will use linear programming method. Let’s use an example here. For the initial problem:

Balance: $73,845

Upgrades available: Continue reading ‘Solving the Motorcycle Madness Upgrade Problem’

Finally I could pack this up and second version is ready.

This is a all-in-one solution for those who are tired or scared of downloading/compiling/fixing SDL and SDL libraries for Pocket PC. I have gathered some handy libraries into a VS2008 solution and all files you need are compiled without any pain. I also provide binaries too. Hope this helps.

Continue reading ‘MySDL-02: All-in-one solution for SDL with Windows Mobile 5.0 Pocket PC SDK (ARMV4I)’

The answer from Apple on why should I spend more on a Mac doesn’t make sense:

When you compare the cost of a PC and factor in the additional software, memory, and other extras you have to buy to go along with it, the difference in price between a Mac and PC isn’t as great as most people believe.

Continue reading ‘Why should I spend more money on a Mac?’

From http://www.robinmajumdar.com/2009/01/28/windows-live-messenger-unable-to-connect-with-error-code-80040200-solution-in-windows-7/

I have tried the method in this article and it worked like charm. Only catch was, when I tried to rename Windows Live Contacts folder, access denied. So I had to use Unlocker to stop processes accessing it. Thanks Robin!

Continue reading ‘Windows Live Messenger unable to connect with error code 80040200 – solution Vista’

Edit: This post is obselete now. Please see MySDL-02.

This is a all-in-one solution for those who are tired or scared of downloading/compiling/fixing SDL and SDL libraries for Pocket PC. I have gathered some handy libraries into a VS2008 solution and all files you need are compiled without any pain. I also provide binaries too. Hope this helps.

Continue reading ‘MySDL: All-in-one solution for SDL with Windows Mobile 5.0 Pocket PC SDK (ARMV4I)’

NOTE: Using VC2008 compiler, SDL and Windows Mobile 5.0 Pocket PC SDK

Project Configurations

There is ONLY one configuration: Windows Mobile 5.0 Pocket PC SDK (ARMV4I).

I choose WM5 because PPC2003 is enough old and WM6 is too new-there are still many devices with WM5. Thus WM5.0 keeps a balance between portability and new technology. I also think that there is no need to use latest WM SDK for a SDL project, as it doesn’t use OS functions, though.

Continue reading ‘SDL PocketPC development hints & problems & solutions’

For some time till today, whenever I right click on My Computer and select Manage, nothing was happenning. I have fixed it up now but while browsing around, I haven’t seen a solid and a complete solution, so here is a sum up what I have done for the fix.

Symptom: Right click on My Computer, select Manage OR hit Start->Run, type compmgmt.msc and click Ok will NOT open up Computer Management Console on a Vista computer.

Continue reading ‘Solution: Management console not working in Vista’

traditional shadow mappingdisable back-face cullingUsing polygon offsetShadows and Shadow Mapping
Shadows has remained as a big challenge for years in computer graphics. There are many ways to achieve “shadows”, some methods require special data structures and coding, and some has quality and speed falloffs. Continue reading ‘Shadow Mapping and Back-face Culling’

SIGGRAPH 2005

SIGGRAPH, international conference on computer graphics and interactive technologies was held on 31 July-4August in Los Angeles Convention Center. That was really a great experience for me to face cutting-edge technologies and latest improvements all in one place. The conference was too dense and it was impossible to miss some precious seminers, that were simultaneously presented. http://www.siggraph.org/s2005/