com.genexus.specific.android.Messages Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of gxandroid Show documentation
Show all versions of gxandroid Show documentation
Core classes for the runtime used by Java and Android apps generated with GeneXus
package com.genexus.specific.android;
import java.io.InputStream;
import com.artech.base.services.AndroidContext;
import com.genexus.common.interfaces.IExtensionMessages;
public class Messages implements IExtensionMessages {
@Override
public InputStream getInputStream(String resourceName) {
String androidResourceName = resourceName.replace(".", "_").toLowerCase(); // $NON-NLS-1$ $NON-NLS-2$
return AndroidContext.ApplicationContext.getResourceStream(androidResourceName, "raw"); // $NON-NLS-1$
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy