There really is nothing to it: I downloaded the PhoneGap framework and followed their instructions on how to create the required Android and iOS projects. I then added my files which make up my Sencha Touch app to the folders specified in their documentation. And of course I had to add the phonegap.js file to my index.html head section.
I use Eclipse (under windows) for the Android version and XCode (on a Mac, of couse) for the iOs one.
Debugging a PhoneGap app is no fun since you are stuck with console.log as (more or less) you're only way of debugging. Exceptions will silently fail. People have tried different approaches to lessen the pain of debugging. Check out weinre i.e.
In general I can not recommend testing your app on the real thing enough. I use an iPhone 4 and an iPod Touch 3rd Gen. for the iOS version and a Google Nexus S and HTC Desire HD for the android one and I have had plenty of fun with weird behavior I could only experience on the phones or even on a specific platform.
Check out the Getting started guide of the PhoneGap framework. For the android version you can use either the terminal or Eclipse. But for iOS you definitely need a Mac, XCode and a iOS developer certification on top of that.
Visual Studio unfortunately isn't of much use in these scenarios.
i'm completely new to phonegap..tell me how do u write,run and test phonegap code without any ide like eclipse and associated SDKs...
you could probably develop and test on android devices without eclipse only using your editor of choice and the tools that come with the android sdk. the sdk is mandatory though. for iPhone there's no alternative to using a mac with the xcode ide thanks to apple's policy of controlling every step in development.