#1 2017-08-02 20:40:04

EGovMetrics
Member
Registered: 2016-05-21
Posts: 38

Smart TV development for LG with webOS

Hi,
I would like to ask if I can use App Builder
for Smart TV development for LG with webOS.

If yes how the project must be deployed ?

Here is the link:

https://github.com/Samsung/cordova-tv-webos

Let me know.

Offline

#2 2017-08-02 20:53:16

David
Admin
From: Alcobendas, Madrid, Spain
Registered: 2015-04-21
Posts: 1,628
Website

Re: Smart TV development for LG with webOS

Hello Joshep,

Certainly I don't know about that project (which sound interesting anyway) but apparently, between other instructions (refered in the project's page), we have these points:

1º Create a WebOS project with WebOS IDE and copy the www directory's content to the WebOS project.

2º Copy the built cordova-js/pkg/cordova.tv-webos.js to your WebOS project directory's root with name cordova.js.

3º Build the WebOS project.

Certainly, when we build an application from App Builder we get an "www" directory (between others directories and files). Insaid the "www" directory we can find the "cordova.js" file (generated also by App Builder). Apparently this file must be replaced by one created by the project that you refer (see above the point number 2).

In principle I don't know if more is needed or required. I have some doubt, for example, about if we must build the app using Cordova, that is, preparing the BAT files (App Builder do that) in order to compile the app for Android, for example,... but this is not apparently what we must to do, since one thing is the Android platform, and other thing what the refered project probably needs.

If I am not wrong (I am sorry, but I can't test it, because I don't have the appropiate WebOS environment nor IDE) we only need the "www" files of our application, and the apparently important point number 2, that is, replace the original "www/cordova.js" file by the created with the help of the refered project. After this the things probable can work (see the point number 3) but you must try it.

Offline

#3 2017-08-12 08:43:21

edunt
Member
Registered: 2015-12-21
Posts: 252

Re: Smart TV development for LG with webOS

@David,

The LG WebOS SDK, IDE and Instruction can be found here

http://webostv.developer.lge.com/sdk/do … nload-sdk/

@EGovMetrics

The knowledge of AB will help you to some existent but you can not use AB because LG WebOS have his own IDE and and language structure.

However, you can use AB for creating android TV apps. eg. Android boxes which is now common is towns.

I will discuss this with David if he is not aware of it already.

Offline

#4 2017-08-12 08:49:06

David
Admin
From: Alcobendas, Madrid, Spain
Registered: 2015-04-21
Posts: 1,628
Website

Re: Smart TV development for LG with webOS

Hello to all,

edunt wrote:

The knowledge of AB will help you to some existent but you can not use AB because LG WebOS have his own IDE and and language structure.

I think this is not correct. The project linked in the first post requires an HTML application and a Cordova's "config.xml": both of them can be provided by App Builder without problems. In fact WebOS are one of the available platforms for Cordova sometime ago. Not right now. So I think the project linked in the first post allow us to create that kind of TV applications from an AB one.

cordova-tv-webos is an TV application library that allows for Cordova-based projects to be built for the WebOS TV Platform. Cordova based applications are, at the core, applications written with web technology: HTML, CSS and JavaScript.

So, as you can read, AB is capable to produce the HTML5 app and the Cordova's config file. All of this following the documentation of the project. Certainly I can't try it, because I dont' have the appropiate environment. But according to the project page that is possible.

Offline

#5 2017-08-12 09:43:14

edunt
Member
Registered: 2015-12-21
Posts: 252

Re: Smart TV development for LG with webOS

I mean You can use AB for creating android TV apps but for LG WebOS you need to use their SDK and the IDE, JSON knowledge is required and java. etc.

Last edited by edunt (2017-08-12 09:46:03)

Offline

#6 2017-08-12 09:51:04

David
Admin
From: Alcobendas, Madrid, Spain
Registered: 2015-04-21
Posts: 1,628
Website

Re: Smart TV development for LG with webOS

Hello to all,

edunt wrote:

I mean You can use AB for creating android TV apps but for LG WebOS you need to use their SDK and the IDE, JSON knowledge is required and java. etc.

The point is not if WebOS requires an specific IDE. When we develop apps for iOS, we compile our AB applications using Apache Cordova, and, what Cordova produces is an XCode (the IDE of MacOS) project, ready to be open with XCode if we wanted.

I think this case is more or less similar. AB produces an HTML5 application and the appropiate Cordova stuff, and, the project linked in the first post. take that application and convert it to a project for the WebOS platform IDE, ready to deploy the final app.

Offline

#7 2017-08-13 10:42:29

edunt
Member
Registered: 2015-12-21
Posts: 252

Re: Smart TV development for LG with webOS

David wrote:

Hello to all,

edunt wrote:

I mean You can use AB for creating android TV apps but for LG WebOS you need to use their SDK and the IDE, JSON knowledge is required and java. etc.

The point is not if WebOS requires an specific IDE. When we develop apps for iOS, we compile our AB applications using Apache Cordova, and, what Cordova produces is an XCode (the IDE of MacOS) project, ready to be open with XCode if we wanted.

I think this case is more or less similar. AB produces an HTML5 application and the appropiate Cordova stuff, and, the project linked in the first post. take that application and convert it to a project for the WebOS platform IDE, ready to deploy the final app.

Hi David,

I see. It make sense.
Thanks for clearing the doubt.

Offline

Board footer

Powered by FluxBB


Copyright © 2017 DecSoft. All rights reserved.