Implementing Asynchronous Operations in OpenHarmony NAPI with Callbacks and Promises

This article builds upon the foundation of porting third-party libraries to OpenHarmony NAPI. We'll modify the hellonapi.cpp and index.ets files to explore asynchronous operations using Promises and Callbacks within the NAPI framework. This guide includes three examples: a Callback-based asynchronous interface, a Promise-based asynchronous inte ...

Posted on Sun, 20 Sep 2026 16:19:52 +0000 by scliburn

Using ngrok and natapp for Local Tunneling and WeChat Callback Setup

natapp Tunnel Setup Registration, Download, and Installation Open the natapp official website and create an account. Download the client for your operating system. Grant execution permission if you are on Linux or macOS: chmod 755 natapp Token and Tunnel Configuration Log in to the web console and purchase a free tunnel. Navigate to the tun ...

Posted on Wed, 12 Aug 2026 16:44:16 +0000 by FFFF

Adding Generics to Custom Callbacks in Android

Adding Generics to Custom Callbacks in Android In Android development, callbacks are frequently used to handle asynchronous operations or event listeners. Custom callbacks provide flexibility for different scenarios, and adding generics makes them more versatile while reducing the need for type casting. Benefits of Using Generics Generics allow ...

Posted on Sun, 28 Jun 2026 16:30:06 +0000 by brickstermike

Persisting Excel Edits in OnlyOffice via Automated Callback Processing

Containerized deployment docker run -i -t -d -p 80:80 --name onlyoffice onlyoffice/documentserver Verify the service by accessing the server address in a browser. Locking specific cells Open the Excel workbook, select all cells (Ctrl+A) and open the Format Cells dialog (Ctrl+1). On the Protection tab, uncheck the Locked option. Individually s ...

Posted on Wed, 13 May 2026 20:21:42 +0000 by lol