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 Jaswinder Sandhu
      Please add Airtel xstream app on LG WEBOS
    • By News Reporter
      Company’s PAX West Booth Showcases webOS
      Gaming Capabilities and Innovative Gaming Solutions 

      SEOUL, Sep. 3, 2024 — LG Electronics (LG) showcased its gaming technologies on its webOS platform at PAX West, the largest gaming event in the U.S. Visitors explored LG’s webOS Gaming capabilities on LG smart devices, including its critically acclaimed lineup of LG OLED TVs, at LG’s PAX West Booth (2301) at the Seattle Convention Center in the Arch Building.
      Delivering unparalleled experiences to its users, LG is setting a new standard in gaming excellence with its innovative webOS Gaming technology. LG’s debut at PAX West marks the beginning of the company’s journey to establish itself as a leading gaming platform, dedicated to enhancing and elevating the gaming experience.
      The experiences visitors were able to explore at the LG booth include:
      webOS Gaming Zone: What Gamers Need, All in One Place
      Supporting over 4,000 high-fidelity games through cloud gaming and over 500 casual games that offer fun and unique experiences – all playable with just LG’s Magic Remote – attendees watched webOS Gaming come to life with a preview of new and upcoming game titles.
      AAA Gaming Zone: No Console, No PC
      LG has teamed up with NVIDIA GeForce NOW, Blacknut and Amazon Luna to showcase how its webOS Gaming platform simplifies access to cloud gaming services and supports the latest and most popular AAA games. Booth visitors can enjoy popular titles such as Star Wars Outlaws, Cyberpunk 2077, Black Myth: Wukong, Cuphead and more.
      Casual Gaming Zone: No Hassle, More Fun
      Featuring fan-favorites like Overcooked! 2, plus Cut The Rope and Thief Puzzle in partnership with Famobi, the Casual Gaming Zone allowed PAX West attendees to play through a diverse selection of hyper-causal games designed for easy and fun gameplay. Visitors discovered webOS Gaming supports a variety of casual games on LG’s lifestyle devices like the StanbyME and StanbyME Go. Visitors could also find more on webOS Gaming’s support for touch-based casual games for automobiles with the capability of cross-device compatibility.
      Developer’s Playground Zone: Your Games, Your Rules
      Providing an environment that allows for the development of interactive games, the developer’s playground presented webOS Gaming as the all-in-one, go-to developer platform taking advantage of webRTC Camera, in-app advertising and purchasing methods, Motion and Voice API, plus highlighting its support for development software like FlutterTM and HTML5. With webOS Gaming, developers can connect to gaming peripherals such as gamepad, keyboard, mouse, haptic suit and more.
      New gaming services are regularly launched on LG TVs, such as the upcoming NowCafe, a new genre of audience participation app from now.gg that will be available on LG TVs via cloud gaming.
      # # #

      link hidden, please login to view
    • By News Reporter
      LG TV Owners Worldwide Gain Access to Exciting Offers, Including Discounts
      and Free Trials from Global and Regional webOS Content Partners

      SEOUL, Aug. 30, 2024 — LG Electronics (LG) is announcing the LG Streaming Week campaign in 44 countries, starting from September 9 and running through October 13,1 to celebrate a decade since the initial launch of webOS on the company’s LCD and OLED TVs. For owners of LG TVs above UHD released from 2018 onward (running webOS 4.0 and above), as well as StanbyME and StanbyME Go users, LG Streaming Week presents a variety of free and discounted subscriptions from service partners through its dedicated app, accessible from the Home Screen, Content Store or Apps.
      Each promotional week will feature a different global and local partner line-up, with each partner limited offer accessible and redeemable solely on a weekly basis, from the LG Streaming Week app.2
      LG Streaming Week boasts a range of enticing offers from content partners, such as free subscriptions of up to three months and up to 90 percent in discounts. Whether a fan of movies, sport, gaming, anime or cult classics, LG Streaming Week caters to a multitude of interests and preferences for a more captivating viewing experience.
      Apple TV+3 is offering a three-month free trial, allowing LG TV owners to enjoy the latest premium Apple Originals, including the gripping psychological thriller Disclaimer, starring Academy Award-winners Cate Blanchett and Kevin Kline and created and directed by five-time Academy Award-winner Alfonso Cuarón. Plus, new seasons of the Emmy Award-nominated and BAFTA-Award winning drama Slow Horses; enthralling post-apocalyptic series Silo; and the sweeping and deeply moving drama Pachinko. Moreover, LG is providing customers with a three-month free trial of Apple Music.4 The award-winning Apple Music offers one of the largest catalogs of music in the world with over 100 million songs as well as over 30,000 expertly curated playlists, artist interviews, Apple Music Radio and so much more. Apple Music subscribers also have access to exciting features like Apple Music Sing and time-synced lyrics as well as lossless audio, and immersive Spatial Audio.
      Movie enthusiasts will be delighted with the chance to explore films and series from multiple content providers across genres. New and returning Paramount+5 subscribers can get a 50 percent discount on an annual subscription of high-stakes dramas including Tulsa King, critically acclaimed projects like Fellow Travelers (Paramount+ with Showtime plan only in US), next-gen franchises that build on fan favorites like Knuckles, Star Trek: Strange New Worlds and Tales of the Teenage Mutant Ninja Turtles, along with an extensive library of even more hit series, blockbuster films, live sports and breaking news.
      Mubi,6 a global streaming service, production company and film distributor dedicated to elevating great cinema all over the world, is offering LG TV owners during LG Streaming Week a chance to discover the best of cinema, in the comfort of their home, with 70 percent off for six months.
      For sports fans, DAZN7 – the only place to watch NFL Game Pass (excluding US and China) – will be offering new customers 25 percent off a NFL Game Pass Season Pro subscription and a NFL Weekly Pro subscription for USD 0.99 or local currency equivalent. This will give LG TV owners the opportunity to watch every NFL game from every team, including the Playoffs and Super Bowl, live and on-demand. Plus get NFL RedZone, NFL Network, NFL Originals and much more, including a full suite of archive content.
      What’s more, for those who prefer gaming or anime, LG Streaming Week has appealing offers for users of different tastes and interests. LG TV owners can embark on an anime adventure with 30 days free trial of Crunchyroll, where fans unlock the largest dedicated anime streaming library of over 25,000 hours of content and fresh series arriving every season. For an interactive experience, especially for LG TV owners, Blacknut8 Cloud Gaming offers a 30-minute free play session for any of their 500+ premium games and a special USD 1/first month subscription offer for new subscribers. For kids and families, Baby Shark World for Kids by The Pinkfong Company is granting 1 month of free access to its vast library of songs and stories that engage children in stimulating learning experiences.
      To provide those who do not yet own an LG TV with the opportunity to take advantage of LG Streaming Week, the company is presenting several promotions on TV products across the global market. LG aims to expand its presence with enticing occasions for users to experience all that webOS has to offer on LG TVs.
      The decade-long journey of webOS is marked by continuous innovation, demonstrating LG’s commitment to delivering content with a user-friendly interface for convenience and ease of use. Over the years, webOS has undergone a home screen overhaul that enhances usability and leverages the latest AI technology to effortlessly direct viewers to their preferred content. What’s more, the company’s recent webOS Re:New program enables LG AI TV owners to receive TV upgrades for a period of five years, enriching the user experience for a wider audience.
      LG webOS highlights LG’s dedication to optimizing content consumption, with support from over 4,000 partners in 180 countries and millions of active users. Since its launch, webOS has evolved over 10 years to transform the home entertainment experience for easy-to-use viewing pleasure. Now available across LG TVs and lifestyle screens such as StanbyME and StanbyME Go, webOS has recorded significantly increased usage time, with consumers gradually shifting access from traditional TV to webOS, reflecting its widespread appeal to users around the world.
      For further details about free and discounted content available during LG Streaming Week, visit the dedicated page on each regional LG.com site. Information on LG product promotions can also be found at
      link hidden, please login to view. ###
       
      1 LG Streaming Week 1 starts September 9 and redemptions for Week 1 offers close September 15. Week 2 starts September 16 and redemptions for Week 2 close September 22. Week 3 starts September 23 and redemptions for Week 3 offers close September 29. Week 4 starts September 30 and redemptions for Week 4 offers close October 6. Week 5 starts October 7 and redemptions for Week 5 offers close October 13. Select partner offers may start at a different date than the beginning of the week.
      2 Partner offer can only be redeemed once via LG Streaming Week app.
      3 Apple TV+ offer is available via LG Streaming app from September 9 and can also be accessed directly from Apple TV app in over 90 markets until November 17. Offer ends November 17. Offer available on 2018-2024 LG 4K, 8K Smart TV models, StanbyME and StanbyME Go models in the Apple TV app. Valid only for new and qualified returning subscribers to Apple TV+ in your region. Limit one offer per TV and Apple ID. Plan automatically renews at your region’s price per month until cancelled. Requires Apple ID with payment method on file. Payment will be billed to payment method on file and can be cancelled anytime at least a day before each renewal date in your service account settings. Terms and Apple Privacy Policy apply; see the applicable terms at Must be the minimum age required in your country and in the country that matches the store front on which you are redeeming the offer. Compatible products and services required. Cannot be combined with other offers providing access to the same service. Apple TV+ is a service mark of Apple Inc.
      4 Apple Music offer is available via LG Streaming app from September 9 in 44 markets and can also be accessed directly from Apple Music app in 137 markets until April 30, 2025. Apple Spatial Audio with Dolby Atmos is available on LG OLED TV models launched from 2018 to 2024 and QNED TV models Q90T and above.
      5 Paramount+ offer is available in 18 countries including US, Canada, United Kingdom, France, Italy, Austria, Switzerland, Republic of Ireland, Australia, Argentina, Brazil, Mexico, Colombia, Chile, Peru, Panama, Guatemala and Ecuador, where LG Streaming Week promotion is available. The total cost of the annual plan is billed upfront and after the first year, auto-renews at the then regular annual price of the annual price selected. Paramount+ U.S: Total cost of annual plan billed upfront. Auto-renews at then regular annual price (currently, plan start at USD 59.99/year + tax, as applicable). 

    • By RedNe
      I would like to ask friends in the group, especially someone who uses webos 3.X, to give me Disney+ and Amazon Prime Video *.ipk. many thanks in advance for your help.
    • By Junaid Ahmed
      hello sir can you provide gCMOB application for our Tv we have installed CCTV cameras and to access that we need a application called gCMOB 
  • Similar Tagged Content

×
×
  • Create New...