What's the best way to write an application in order to get it working on the several phones out there (iPhone, symbian-based, xpPhone, and so on)?
The idea I have in mind is that of writing a few interfaces to abstract from phone-dependent stuff (ie: some Input/Output interfaces), implementing such interfaces on the several phones and then writing an application that doesn't use any phone-dependent thing.
But is this really possible? What would be the language I should choose for my interfaces and applications? (would love to use C++, hopefully even with GCC extensions)
Is there any project that aims to offer what I need? (maybe something like SDL?)