Invention Grant
- Patent Title: Method for developing Android TV hybrid application
-
Application No.: US17897411Application Date: 2022-08-29
-
Publication No.: US11966734B2Publication Date: 2024-04-23
- Inventor: Ya-Ting Hu
- Applicant: REALTEK SEMICONDUCTOR CORPORATION
- Applicant Address: TW Hsinchu
- Assignee: REALTEK SEMICONDUCTOR CORPORATION
- Current Assignee: REALTEK SEMICONDUCTOR CORPORATION
- Current Assignee Address: TW Hsinchu
- Agency: WPAT, PC
- Priority: CN 2111065683.5 2021.09.10
- Main IPC: G06F8/76
- IPC: G06F8/76 ; G06F8/20

Abstract:
A method for developing an Android TV hybrid application includes: generating a WebView component in an Android Activity belonging to an Android side of the application; obtaining a WebSettings subclass and using it to configure the WebView component; using Web technologies to develop a Web page belonging to a Web side of the application; using the WebView component to show the Web page; creating a first Java object blended with a JavaScript context in the Android side to define different interfaces, and creating a second Java object to implement the interfaces defined by the first Java object, so that the Web side can call the functions of the Android side; providing a packaged Java class in the Android side to send messages, and providing a packaged JavaScript module in the Web side to process the messages, so that the Android side can feedback the messages to the Web side.
Public/Granted literature
- US20230084933A1 Method for developing Android TV hybrid application Public/Granted day:2023-03-16
Information query