We are planning to develop an application that is targeted for mobile and desktop platforms.
Can I use the same code base to develop application that are targeted for mobile and desktop platforms.
If I can't, how much of it can I re use to develop desktop and mobile apps with easy way?.

Or, how i can achieve it by adding it within a single running application with some kind of logic with differet views.

Is there could be some other RIA framework that can help with desktop and mobile application to achieve my goal, then please suggest that alternate also.
Would appreciate if anyone can share their experiences for doing similar efforts.