Quantcast
Jump to content

webOS Open Source Edition For Developers


Recommended Posts

On March 19th, LG introduced 

link hidden, please login to view
 with the intention of opening up webOS again to the world of development to move beyond TVs. This is the second time an open-source version of webOS has been released, the first coming under the failed tenure of HP back in 2011. 

LG Chief Technology Officer Dr. I.P. Park. “webOS has come a long way since then and is now a mature and stable platform ready to move beyond TVs.”

webOS Open Source Edition Architecture

The following figure shows the overall architecture of webOS Open Source Edition (OSE). webOS OSE consist of a set of layers: Core Applications, Application Framework, Managers & Services, Base Components, and BSP/Kernel.

webOS Open Source Edition Architecture

Core Applications

  • webOS OSE has Core applications as the top layer and this layer includes System UI and System app.
  • System UI includes apps that are related to the basic user interface, such as Home Launcher and Notification. These apps are usually implemented using QML.
  • System app includes Settings app and web browser. Settings app is used to control the system properties and implemented using Enact. As a web browser, the Chromium browser is used.

Application Framework

  • To help developers creating better apps and services, webOS OSE provides enhanced options and environments compared to developing solely with HTML5, JavaScript, or CSS. The web app framework Enact, which is equivalent to jQuery, and Software Development Kit (SDK) are provided.
  • Enact
  • Enact is a web app framework optimized for developing web apps for webOS OSE. For more information and structure of Enact, refer to Enact developer site.
  • Enact is also an open source project and is provided separately from webOS OSE.

SDK

The SDK provides a development environment for web apps and services. In this release of webOS OSE, we provide a CLI-based SDK for developing and installing web apps and services. Web apps can be packaged with services that are developed using Node.js. For more details on development/packaging of web apps and services, see Command Line Interface.

Managers & Services

  • Managers & Services layer includes the following components.
  • System and Application Manager
  • System and Application Manager (SAM) oversees the behavior of apps. SAM manages each app throughout its lifecycle, including the installation, launch, termination, and removal of the app.

There are two types of apps in webOS Open Source Edition: native app and web app. In case of a web app, actual launching and management are performed by Web Application Manager as described below.

Web Application Manager

Web Application Manager (WAM) is responsible for launching and managing web apps. In addition, WAM performs CPU usage optimization, status monitoring and recovery processing, and access privileges management, all based on the running status of web apps.

Luna Surface Manager

Luna Surface Manager (LSM) is a component that works as a graphics manager. LSM displays graphical elements on the screen, manages the composition of these elements, and performs the event handling for input devices such as keyboard and pointer. LSM is also responsible for the execution and management of System UI, such as Home Launcher and Notification. LSM is implemented using Qt, and System UI is implemented using QML.

Activity Manager

Activity Manager is responsible for managing and executing activities requested from services. An activity is requested along with a specific condition, and it is triggered when the condition is met. You can configure the activity to perform tasks such as automatic execution of specific services, callback requests, and so on.

uMediaServer

uMediaServer (uMS) is a module that works as a server for the webOS media framework. uMS provides interfaces for media playback, manages resources, pipelines, and their policies, and manages the lifecycle of the media player.

Base Components

Base Components layer includes the following components.

  • LS2
  • LS2, also called Luna Bus, is a system bus used by webOS OSE. LS2 manages the interface registration and invocation required for the interconnection among apps and services. Originally based on D-bus, LS2 has been enhanced to optimize the performance for embedded device environment.

Web Engine

webOS OSE uses Chromium as the web engine. A web engine is the module that loads and parses a web app (or web page) consisting of HTML, CSS, and JavaScript, and performs all tasks required to represent the web app on the screen, such as layering and rendering. Currently the web runtime environment of webOS OSE is implemented according to the multi-process model of Chromium. Therefore, each web app is run as a separate independent process.

Chromium also includes browser logics a.k.a. Chromium browser which webOS OSE provides as the default browser app.

DB8

DB8 is an embedded JSON database that supports data storing and retrieving in the structure of key-value store. webOS OSE uses LevelDB as the back-end database. The default service associated with DB8 is the com.webos.db. The com.webos.tempdb, which allows you to configure temporary storage in memory, is also provided.

Node.js

The service framework based on Node.js is provided so that you can implement services with JavaScript language. Node.js is a JavaScript framework that is typically run on a server. In webOS OSE, Node.js has been built in to facilitate service development. For more information on developing services based on Node.js, see JS Services.

BSP/Kernel

BSP/Kernel layer consists of several components to support Raspberry Pi 3. Typically, it provides evdev for event processing, Mesa for graphics support, and Wi-Fi and wired LAN for connectivity.

Except as noted, this content is licensed under Creative Commons Attribution 4.0 and sample code is licensed under Apache License 2.0.

Visit: 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Similar Topics

    • By Renver
      Hi,
      When i power on my OLED55C8PLA TV it always starts at the source 'SET UP BOX' even there is no set up box connected. We only use HDMI2. That is also always the used source when we power down the TV. Its quite anoying the TV doesnt starts the input last used.
      I hope someone can help me with this issue!
      Thanks!
    • By News Reporter
      Coming to Earlier LG Smart TV Models, webOS Re:New Program Gives More Users
      Access to the Elevated Home Entertainment Experience Most Recent Platform Provides

      SEOUL, Jan. 4, 2024 — LG Electronics (LG) announced that it is offering the latest upgrade* of the webOS smart TV platform to owners of older LG Smart TVs, effectively evolving their smart TV into the ultimate home entertainment hub.
      In early 2024, the webOS Re:New program will bring the latest webOS upgrade to every model in LG’s 2022 OLED TV lineup, LG OLED Flex, LG OLED Objet Collection Posé as well as LG’s 2022 QNED Mini LED 8K (QNED99/95 series), promising users the joy of a new TV experience for the next five years. This upgrade will be extended to more LG TVs worldwide in the future to add more entertainment and versatility to the TV experience across the world.
      With the latest version of webOS, LG Smart TV owners can enjoy an even more personalized TV experience with a Home Screen that greets users with recommendations according to their tastes. The user interface is highly customizable, which means viewers can personalize the selection of content and services and access them with even greater ease. And to make the process even more seamless, the Quick Card UI intuitively sorts diverse content and services into categories like music, games and sports within a user-centric interface that resembles mobile user interface design.
      What’s more, courtesy of advanced security technology and an optimized operating system, users are protected with a high level of stability, security and seamlessness throughout the entire viewing experience.
      With more LG Smart TVs adopting the latest webOS upgrade, content providers and service developers will have more opportunities to spread new content, services and features to a wider audience.
      LG has shared its bold vision to become a media and entertainment platform, a business transformation that will enrich customers’ lives by delivering valuable services and a unique collection of curated content across its wide-ranging products. Powering more than 200 million LG Smart TVs worldwide, webOS will continue to evolve through significant upgrades to constantly revolutionize the customer experience. LG is poised to invest heavily in its webOS business to secure a vast library of content and services so that it can cater to the diverse lifestyles and preferences of consumers, strengthening its competitive edge in content selection and convenience.
      “Demonstrated by the constant improvement to the webOS platform’s UX and UI, LG is firmly dedicated to elevating convenience and security, ensuring that users benefit from a hassle-free and secure experience when using our products,” said Baik Seon-pill, leader of the LG Home Entertainment Company’s Product Planning Division. “We strive to provide life-enriching experiences for our customers by delivering a wide range of content and services on our TVs.”
      The LG Home Entertainment Company’s latest innovations will be on show at CES 2024 from January 9-12 at the LG booth (#16008, Las Vegas Convention Center). To keep up with all of LG’s exciting announcements at CES, visit
      link hidden, please login to view and . # # #
      * Pop-up notifications offering a full upgrade without the need to select specific UX, UI or features are only sent to customers who have agreed to receive them. Please note that this upgrade does not cover the TV’s hardware performance, features or durability.

    • By Alex
      webOS TV SDK V1.2.0 Download Installer
       
      Download the proper installer. With the installer, you can choose whether to install with network installer or SDK package. Available packages:
       
      Windows 32-bit Installer_win32.zip (8.13M) Windows 64-bit Installer_win64.zip (7.52M) MacOS 64-bit Installer_maxosx.zip (7.38M) Linux 32-bit Installer_linux32.zip (7.94M) Linux 64-bit Installer_linux64.zip (7.59M)   SDK Package
       
      Download the proper SDK package. To use network installer, you don't need to download the SDK package. Available packages:
       
      Windows 32-bit webOS_SDK_win32.zip (1462.29M) Windows 64-bit webOS_SDK_win64.zip (1466.67M) MacOS 64-bit webOS_SDK_mac64.zip (1451.31M) Linux 32-bit webOS_SDK_linux32.zip (1463.35M) Linux 64-bit webOS_SDK_linux64.zip (1462.28M)  
      Please visit the LG site for complete link hidden, please login to view.
       
      See the for step-by-step instructions.
    • By next 0815
      A satip / sat>ip / sat over ip client software or app available for a beamer with WebOS like LG Largo or the newly announced LG Andante would add significant value.
      Networkcable and power thats all you Need to get acces to all chaines your satip / sat>ip / sat over ip Server provides
       
      What is blocking to provide a little piece of Software?
       
    • By Youyou06
      Hello,
      Could you add support  of WiiM Amp for universal remote in WebOS TV

      link hidden, please login to view Thanks
  • Similar Tagged Content

×
×
  • Create New...