Skip to content
This repository has been archived by the owner on Apr 3, 2020. It is now read-only.

Commit

Permalink
Initial commit.
Browse files Browse the repository at this point in the history
  • Loading branch information
trave committed Jan 21, 2015
0 parents commit 43dcf94
Show file tree
Hide file tree
Showing 94 changed files with 5,402 additions and 0 deletions.
Empty file added .code-cache/.hidden
Empty file.
6 changes: 6 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
\.idea
\.DS_Store
node_modules
.code-cache/*
dist/*
web/dev\.js$
132 changes: 132 additions & 0 deletions README-RU.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,132 @@
- [English documentation][1]

[1]: <README.md>



AppLauncher
-----------

AppLauncher позволяет запускать приложения для Smart TV и телевизионных
приставок избегая стандартного процесса установки.

AppLauncher позволяет создавать список URL приложений для запуска. URL
отсортированы по последним действиям: добавление или запуск приложения.

Установите AppLauncher один раз и легко запускайте множество ваших приложений.



Важные детали:

1. Вы должны запустить веб-сервер, для предоставления URL приложения, которое
будет запущено. AppLauncher работает только с URL, а не с ipk или zip
файлами!

2. AppLauncher не может проверить URL приложений до их запуска из-за
ограничений платформ. Будьте внимательны во время ввода URL. Запуск
некорректного URL может вызвать зависание вашего устройства. Перезагрузите
ваш Smart TV/телевизионную приставку в этом случае.

3. Вы можете использовать цифровые клавиши пульта для ввода цифр в URL вместо
использования экранной клавиатуры.



Платформы
---------

AppLauncher был протестирован на устройствах, отмеченных (+), он также должен
работать на других устройствах, перечисленных ниже, но при этом возможны
проблемы. Если вы запустили AppLauncher на устройствах без метки (+), напишите,
пожалуйста, письмо на [info\@interfaced.ru][2] и сообщите нам об успехе или
возникших при запуске проблемах.

[2]: <[email protected]>



AppLauncher поддерживает:

- Samsung Smart TV

- H-series (year 2014) (+)

- F-series (year 2013) (+)

- E-series (year 2012) (+)

- LG webOS Smart TV (+)

- LG NetCast Smart TV

- 2014

- 2013

- 2012 (+)

- 2011

- 2010

- Dune HD STB

- SMP8670 chipset: TV-101, TV-102p, TV-201, TV-301.

- SMP8674 chipset: TV-102 (+), TV-202, Connect.

- SMP8672 chipset: TV-303D, Base 3D.

- Eltex STB

- NV-102

- NV-300

- Mag STB (Aura STB)

- Mag250

- MAG254/255

- MAG270/275

- AuraHD

- AuraHD Plus

- AuraHD Plus WiFi

- TVIP STB

- S-400

- S-310

- S-300

- S-213



Установка
---------

Используйте следующие инструкции для установки AppLauncher

- [Samsung Smart TV][3]

[3]: <docs/samsung-rus.md>

- [LG webOS Smart TV][4]

[4]: <docs/lg-webos-rus.md>

- [LG NetCast Smart TV][5]

[5]: <docs/lg-netcast-rus.md>

- [Dune HD STB][6]

[6]: <docs/dune-rus.md>
132 changes: 132 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,132 @@
- [Документация на русском][1]

[1]: <README-RU.md>



AppLauncher
-----------

AppLauncher allows running Smart TV and STB application avoiding standard
installation process.

AppLauncher lets to create list of applications’ URLs to run. URLs are sorted
according to last activities: adding or launching.

Install AppLauncher once and easily run dozens of your applications at Smart TV
or STB.



Important details:

1. You have to run web-server to provide application's URL to run. AppLauncher
works only with URLs, not ipk or zip files!

2. AppLauncher could not check applications’ URLs before running them due to
platforms' limitations. Be careful while entering URL. Improper URL can
cause Smart TV/STB hang-up. Reboot your Smart TV/STB in this situation.

3. You can use remote control digital buttons to enter digits into URL instead
of using screen keyboard.



Platforms
---------

AppLauncer was tested on devices marked (+). It must also work on other devices
listed below, but there can be problems of various types. If you run AppLauncher
on devices without (+) mark, please write mail to
[applauncher\@interfaced.ru][2] and inform us about both success and problems
you have.

[2]: <[email protected]>



AppLauncher supports:

- Samsung Smart TV

- H-series (year 2014) (+)

- F-series (year 2013) (+)

- E-series (year 2012) (+)

- LG webOS Smart TV (+)

- LG NetCast Smart TV

- 2014

- 2013

- 2012 (+)

- 2011

- 2010

- Dune HD STB

- SMP8670 chipset: TV-101, TV-102p, TV-201, TV-301.

- SMP8674 chipset: TV-102 (+), TV-202, Connect.

- SMP8672 chipset: TV-303D, Base 3D.

- Eltex STB

- NV-102

- NV-300

- Mag STB (Aura STB)

- Mag250

- MAG254/255

- MAG270/275

- AuraHD

- AuraHD Plus

- AuraHD Plus WiFi

- TVIP STB

- S-400

- S-310

- S-300

- S-213



Installation
------------

Use following instructions to install AppLauncher

- [Samsung Smart TV][3]

[3]: <docs/samsung-eng.md>

- [LG webOS Smart TV][4]

[4]: <docs/lg-webos-eng.md>

- [LG NetCast Smart TV][5]

[5]: <docs/lg-netcast-eng.md>

- [Dune HD STB][6]

[6]: <docs/dune-eng.md>

10 changes: 10 additions & 0 deletions app/launcher/app-config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
goog.provide('launcher.appConfig');


/**
* Application config
* @struct
*/
launcher.appConfig = {
noticeTime: 5000
};
8 changes: 8 additions & 0 deletions app/launcher/application.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
.zb-body {
font-family: 'PTSans', Arial, Helvetica, sans-serif;
}

.zb-layer-container {
background: #fff;
color: #000;
}
77 changes: 77 additions & 0 deletions app/launcher/application.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,77 @@
goog.provide('launcher.Application');
goog.require('launcher.BaseApplication');
goog.require('launcher.services.AppList');
goog.require('launcher.services.HelpBarItemFactory');



/**
* @constructor
* @extends {launcher.BaseApplication}
*/
launcher.Application = function() {
zb.console.setLevel(zb.console.Level.LOG | zb.console.Level.ERROR);
this.services = {
appList: null,
helpBarItemFactory: null
};

goog.base(this);
};
goog.inherits(launcher.Application, launcher.BaseApplication);


/**
* @return {boolean}
*/
launcher.Application.prototype.canBack = function() {
return this._historyManager.canBack();
};


/**
* @inheritDoc
*/
launcher.Application.prototype.onReady = function() {
this.services.appList = new launcher.services.AppList(this.device.storage);
this.services.helpBarItemFactory = new launcher.services.HelpBarItemFactory;
this.setHomeScene('app-list');
};


/**
* @inheritDoc
*/
launcher.Application.prototype.onStart = function() {
var apps = this.services.appList.getApps();
if (apps.length) {
this.home();
} else {
this.show('app-add', {});
}
};


/**
* @inheritDoc
*/
launcher.Application.prototype._backOnEmptyHistory = function() {
this.isDeviceWebos() ? this.device.showAppsManager() : this.device.exit();
};


/**
* @inheritDoc
*/
launcher.Application.prototype._appendScreenSizeClass = function() {
this._body.classList.add('zb-hd');
};


/**
* @type {{
* appList: launcher.services.AppList,
* helpBarItemFactory: launcher.services.HelpBarItemFactory
* }}
*/
launcher.Application.prototype.services;
Empty file added app/launcher/popups/.hidden
Empty file.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 43dcf94

Please sign in to comment.