Yeah, you'd need to know enough to, you know, write the program...
For the iPhone it will have to be C, C++, or Objective C. They just locked out every other language off the platform. For Android, you can write in any language for which there is a supported compiler on the platform. The preferred language for the Android SDK is Java.