Creates the parameter array to be used as argument list when invoking Java code through CallMethod() in AndroidJNI.