*/ class Mage_XmlConnect_Model_Preview_Android extends Mage_XmlConnect_Model_Preview_Abstract { /** * Current device orientation * * @var string */ protected $_orientation = 'unknown'; /** * Set device orientation * * @param string $orientation * @return Mage_XmlConnect_Model_Preview_Android */ public function setOrientation($orientation) { $this->_orientation = $orientation; return $this; } /** * Get current device orientation * * @return string */ public function getOrientation() { return $this->_orientation; } /** * Get application banner image url * * @return string */ public function getBannerImage() { $configPath = 'conf/body/bannerAndroidImage'; if ($this->getData($configPath)) { $bannerImage = $this->getData($configPath); } else { $bannerImage = $this->getPreviewImagesUrl('android/bg_logo.png'); } return $bannerImage; } /** * We doesn't support background images for android * * @return false */ public function getBackgroundImage() { return false; } }