The common part should be in C or C ++, since the new iPhone SDK agreement does not allow the use of non-C languages โโ(and Android allows C and C ++ code through the Native Development Kit ). Details for the platform must be in Objective-C format for the iPhone, and I assume that Java is for Android (I have not programmed Android).
source share