All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.genexus.specific.android.Messages Maven / Gradle / Ivy

Go to download

Core classes for the runtime used by Java and Android apps generated with GeneXus

There is a newer version: 4.7.0
Show newest version
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