Well, your best bet is to always use the language that exists on all platforms. This usually means Java, I think, although even perl has variations for mobile platforms (depending on the mobile platform in question).
- C Perl, C ( # ifdef), perl , (). //, , , . , , , Java , .