appListCallback.CallMethod(builder, returnValue, (jobject)NativeApplicationData(*it));
if (!appListCallback.CallMethod(builder, returnValue, (jobject)NativeApplicationData(*it))) return;
void Java_org_dvb_application_AppsDatabase_buildAppList(JNIEnv* env, jobject obj, jobject nativeData, jobject builder) {   ApplicationInfo::cApplicationsDatabase *db=NativeDBData(nativeData);   ApplicationInfo::cApplicationsDatabase::ApplicationList appList;   db->findApplications(appList);   JNI::ReturnType returnValue;   for (ApplicationInfo::cApplicationsDatabase::ApplicationList::iterator it=appList.begin(); it != appList.end(); ++it) {      appListCallback.CallMethod(builder, returnValue, (jobject)NativeApplicationData(*it));   }}