iPhone / iPod Touch in DFU Mode

DFU Mode

DFU mode = Device Firmware Update mode

DFU mode is a mode where the iPhone or iPod Touch will be made to force a restore of the firmware into whatever version firmware it is given.

Getting your iPhone or iPod Touch into DFU mode is somewhat tricky, and it may require some practice because timing is essential to get it to DFU mode and not into recovery mode.

Continue reading

Posted in Mobile, Tips n Tricks | Tagged , , , , | 6 Comments

Jailbreak for iPod Touch 2G

QuickFreedom

Here is the Jailbreak for iPod Touch 2G!
It is simple to Jailbreak you iPod with QuickFreedom. QuickFreedom does a good job of explaining everything. If you still don’t know how to, here you go:

Continue reading

Posted in Mobile, Tips n Tricks | Tagged , , | Leave a comment

Original Firmwares (iPod Touch 1G/2G, iPhone 2G/3G)

iPhone & iPod Touch

Continue reading

Posted in Mobile | 1 Comment

How to Uninstall Cydia Application Directly from Springboard

cydelete_confirm
I expect everyone of you have used Cydia to download iPhone apps for your jailbroken iPhone. Cydia is great but one thing I dislike is I cannot uninstall Cydia application directly from home screen (or what so called springboard). In order to remove a Cydia app, you’ll need to launch Cydia and go to package screen to uninstall the application.

Continue reading

Posted in Mobile, Tips n Tricks | Tagged , , | Leave a comment

Passing Parameters To SWF File with Actionscript 3.0

Recently I had a project to build a Flv player with flash. The video file name and the title were to be passed to the flash file as parameters from the html file. Since I had not done passign parameters to flash file with AS 3.0 I search the net to see how its done. There were many tutorials and the solution seemed very simple and straight forward. So I left this part to the very end of the project. But when I tookup this part it didn’t work as expected. Finally I figured it out and thought that I will share it with all of you.

How to pass parameters to flash (swf) file

First we will begin with the passing the variable to the SWF file from the html file. This was where I went wrong. I tried the following ways that didn’t work for me.

<param value=”flashfile.swf?par1=hello&par2=world” …..

<param value=”flashfile.swf” flashvars=”par1=hello&par2=world” …..

<embed src=”flashfile.swf?par1=hello&par2=world” …….

<embed src=”flashfile.swf” flashvars=”par1=hello&par2=world” …..

finally what worked was including the parameter in the javascript as shown below.

AC_FL_RunContent(
‘codebase’, ‘http://……’,
‘width’, ’500′,
‘height’, ’400′,
‘src’, ‘flashfile’,
‘flashvars’, ‘par1=hello&par2=world’,
………..
)

or

AC_FL_RunContent(
‘codebase’, ‘http://……’,
‘width’, ’500′,
‘height’, ’400′,
‘src’, ‘flashfile?par1=hello&par2=world’,
………..
)

Publish your flash file and edit the html file generated to add the ‘flashvars’.

Accessing flash variables with actionscript 3.0

Now we need to access these variables from flash file with actionscript. The flash variables are included as properties of  ‘root.loaderInfo.parameters’. So to access our parameters we simply have to write,

trace(root.loaderInfo.parameters.par1);

trace(root.loaderInfo.parameters.par2);

NB:
If the SWF file is called directly by the browser the parameters can be passed in the traditional way that they are passed to the script files (url embeded)
eg : http://yourdomain.com/flashfile.swf?par1=hello&par2=world

Posted in Web Development | Tagged , | 6 Comments

Shorten Urls with HiSo

Url shortening become popular along with the microblog. When you’re sharing long web url with your followers on Twitter, it will short your url with Tinyurl. But Tinyurl doesn’t have tracking feature for shorten urls. Hiso is another Url shortening service that will not only make your url shorter but also give you the clicks stats and refferal sites. It offers an API so that you can integrate with your application.

HiSo

Posted in Internet | Tagged , | Leave a comment

gotoAndPlay() and gotoAndStop() in Flash Actionscript 3.0

gotoAndPlay() and gotoAndStop() are two function that help to control the playhead in flash movieclip. gotoAndPlay() cause the playhead to jump to the specified scene and frame and continue playing , where as gotoAndStop() causes the playhead to jump to the destination and stops from progressing further.


Usage

gotoAndPlay(frame:Object, scene:String = null):void
gotoAndStop(frame:Object, scene:String = null):void


Parameters

scene The scene name to which the playhead is sent. eg: “GameScene”

frame The frame number or label to which the playhead is sent. eg: 10 , “LoadFrame”

In AS 2.0 the order of scene and frame parameters to the functions are reversed. If only one parameter is passed, this value will be considered as the frame number or label. The play head will be moved to that frame in the present scene.


Eg:

mc1.gotoAndPlay(mc1.currentFrame + 10);//goes to frame number (mc1.currentFrame + 10
)

mc1.gotoAndPlay("Load", "Scene_Score");// Frame='Load', Scene='Scene_Score
'

gotoAndPlay("end"); // goes to frame labeled 'end' in the current scene
Posted in Web Development | Tagged , | 2 Comments

Name of Country and their 2-Character Alphabetical Country Codes as PHP Key-Value array

Its quiet a tedious job when it comes to developing a dropdown input field in which the user have to select a county, as part of their address, Nationality, etc. Think if you have several of this fields in your form. When you want to change you have to change each and every one. More over, if you have to select one option depending upon user input or some database value, your will either have to have ‘if’ statement in every ‘&lt;option&gt;’ tag or use javascript to select the option when the page loads. As I am a lazy guy, decided to have an array containing the names of the countries as values and the 2 digit alphabetic country codes as key. Now you can see how easily you can add change and manipulate these select field.
Continue reading

Posted in Web Development | Tagged , , , , , | Leave a comment

SonyEricsson Secret Codes

SE Logo

When you are looking at unlocking Sony Ericsson phones, be it free unlock software downloaded from the internet, unlocked calculator or paying for the unlocked phone services, most of the times, you will need to retrieve and supply the IMEI number of your Sony Ericsson phone.

Continue reading

Posted in Mobile, Tips n Tricks | Tagged , , , | Leave a comment

GSM CODES

The following codes are the standard GSM codes for various network services. Most Nokia phones have easier ways to activate them through the menus. Check the guides for your model.

Continue reading

Posted in Mobile, Tips n Tricks | Tagged , , | Leave a comment