no, there's no automatic way. Android and iOS not just use different languages but fundamentally different frameworks and UI concepts. Automatic conversion is impossible.
@Carlos: You might want to check out Titanium (http://www.appcelerator.com/). SproutCore (http://sproutcore.com) is also a great option to build mobile apps using HTML5 and web technologies. That might not be the right way for all applications, but is definitely an option for some.