•June 21, 2009 •
Leave a Comment
Lately, upgrading unlocked iPhones firmware is not such a big deal as it used to be (thanks to iPhoneDevTeam)… I have upgraded my unlocked 2G iPhone (Yes I know how all you 3G/3GS owners feel… don’t get me started on that)… I just followed this iClarified link and all it took me was 20 minutes of time… (that too because of all the backups that I need to take)
To take backup of your iPhone…
Contacts : Use iTunes
SMS : Copy the sms.db in /private/var/mobile/Library/SMS to local and restore it back after upgrade*
Notes : Copy the notes.db in /private/var/mobile/Library/Notes to local and restore it back after upgrade*
* You should have installed OpenSSH in your iPhone through Cydia to remote login from a PC and copy these files
Posted in iPhone
Tags: iPhone, iphone 2G, unlock
•February 15, 2009 •
2 Comments
I found the following image in one of the Apple’s Interface Builder tutorials for iPhone programming. I have this habit of skimming through the whole page before giving it a concentrated read and after seeing this image, thought “Wow… Something explained here in relation to two poular web frameworks “Struts” and “Springs”… But but, i am in Interface builder tutorial… What is happening here???… “
After reading what they are trying to say in that section, I realized they mean what plain english word means when you say “spring” and “strut”…
But, I felt this as a rare coincidence to see these words together in the least expected spot

Struts & Springs
Posted in iPhone
Tags: iPhone, spring, struts
•March 30, 2008 •
8 Comments
When I was creating a simple google widget for our office coffee club, I thought of showing current inventory status with a progress bar. To my surprise, I was not able to google any simple html/javascript code for it. All I found was hefty javascripts which does a zillion things to display just a progress bar. Creating a progress bar should not be that hard… So, I googled harder, but no use.
After a while I decided to create my own and my requirement was not to write too much code (more code means more maintenance work) and should work in any web browser (ofcourse, it should be javascript enabled)
After an hour of work, I had it ready and hooked it in my widget.
Feel free to use it for your ‘Progress bar’ needs
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
<style>
.bar {
border-style: solid;
border-color: gray;
border-width: 1px;
}
</style>
<script>
function setPercent(id, percent)
{
var div = document.getElementById(id);
var barImg = div.getElementsByTagName("img");
barImg[0].width = (div.offsetWidth * percent) / 100;
}
</script>
</head>
<body onload="setPercent('fir',75);setPercent('sec',11)">
Progress bar with 75% complete
<div class="bar" id="fir" class="progressbar"><img src="bar.jpg"
width="20px" height="20px" /></div>
<br>
Progress bar of size 300 px with 11% complete
<div class="bar" id="sec" class="progressbar" style="width: 300px"><img
src="bar.jpg" width="20px" height="20px" /></div>
</body>
</html>
Logic: Whenever the setPercent() method is called, the javascript will get the right div tag, calculates and sets the width of image inside it based on the current div tags width and percent complete. Simple right?
Posted in Programming
Tags: desktop
•January 1, 2008 •
3 Comments
If you are as game crazy as me, the Title of this post explains the wallpaper’s theme. If not, google is your friend here. The question marks in the title is for a reason. Just look at the wallpaper below and try finding it.
So…did you find it? If not, let me help you… It is not ‘Altaïr’ (hero of the game who is an Assassin) in the above image but it is me
Yes… Photoshopped it and created ‘RAYssassin’. Ya ya… I know none will be interested in Rayssassin (instead of Altair) for the iPhone wallpaper but, wanted to post it just for the records
Posted in iPhone Platform Wallpapers
•December 13, 2007 •
Leave a Comment
This time it is Vinayaka… Saw this picture in the web and looked like a right candidate for my iPhone. Can also be used with iPod Touch.

Posted in iPhone Platform Wallpapers
•November 15, 2007 •
3 Comments
A week after getting an iPhone, pre loaded goodies looks boring… So, I started to customize it with the most easiest part… wallpaper… I got this picture from my friend Venky. Color balanced the original image and resized it… tada…. a new wallpaper for my iPhone
This can also be used for iPod touch as both have the same screen resolution (240 X 320 pixels)
Posted in iPhone Platform Wallpapers