tablet

tablet

hi .. I want to start developing an application which runs on the desktop, web, mobile, tablet (androit, blackberries, ipad) simply by 1 time development.
I plan to use jquerymobile.
for desktop I use jquerymobile which is wrapped with adobe air.
and  blackberry mobile application method using blackberry WebWorks. and android jquerymobile WebView.
there are some questions..

1.current jquerymobile for tablet and desktop ready to use?
2.can jquery request by socket ?
3.any simple method to switch layout interface between the mobile desktop and tablet?
4.how about device detection for mobile web?.
beg for help and advice.

thanks ..
Sondang