hmm, maybe i am not getting the point of all that are saying it can't be done. It has been done in a number of IDEs, write your game once and deploy to many environments.
Take my new favourite toy for example -
Unity3D
Just thinking though, that what cyiwin is saying does make sense. B4A is already an awesome tool, it could be made awesomer... but probably Erel and company has other plans.
Cheers!