ApplicationInfo::cApplication::ApplicationName *name=(*(ApplicationInfo::cApplication::Ptr *)nativeData)->GetName(i); if (strcasecmp(name->iso639Code, (const char*)iso639code) == 0) return copyConstCharIntoByteArray(env, (*(ApplicationInfo::cApplication::Ptr *)nativeData)->GetName(i)->name.c_str());
ApplicationInfo::cApplication::ApplicationName *name=app.Get()->GetName(i); if (strcasecmp(name->iso639Code, code.toCString()) == 0) return JNI::String(app.Get()->GetName(i)->name.c_str()).toJavaString();
jbyteArray Java_org_dvb_application_MHPApplication_nameForLanguage(JNIEnv* env, jobject obj, jlong nativeData, jbyteArray iso639code) {   int num=(*(ApplicationInfo::cApplication::Ptr *)nativeData)->GetNumberOfNames();   for (int i=0;i<num;i++) {      ApplicationInfo::cApplication::ApplicationName *name=(*(ApplicationInfo::cApplication::Ptr *)nativeData)->GetName(i);      if (strcasecmp(name->iso639Code, (const char*)iso639code) == 0)         return copyConstCharIntoByteArray(env, (*(ApplicationInfo::cApplication::Ptr *)nativeData)->GetName(i)->name.c_str());   }   return NULL; //exception will be thrown}