I'm swappping between applications in Android, I pass a series of parameters to customize the other application (colors, logos, etc.), but I can't find the styles I pass, I can only find the drawables, colors, layouts.
Is there a way to find the styles?
I'm using this
Intent intent = new Intent();
intent.setClassName("com.app.to.call", "com.app.to.call.LoginActivity");
intent.putExtra("package", getPackageName());
intent.putExtra("style", R.style.AppTheme);
startActivity(intent);
From the othe app I'm using
if(customization.getKeys().getString(Global.LINK_PACKAGE) == null) {
customization = null;
}else{
Resources resources = getPackageManager().getResourcesForApplication(customization.getKeys().getString(Global.LINK_PACKAGE));
container.setBackgroundColor(resources.getColor(customization.getKeys().getInt(Global.LINK_BACKGROUND_COLOR)));
setTheme();//How can I get the style?
}
where customization.getKeys() are the keys I pass.