We use essential cookies for the website to function, as well as analytics cookies for analyzing and creating statistics of the website performance. To agree to the use of analytics cookies, click "Accept All". You can manage your preferences at any time by clicking "Cookie Settings" on the footer. More Information.

Only Essential Cookies
Accept All
GuidesOneHop EngineFAQsApp Integration

App Integration FAQs

[Question 1] What is NFC?

Near Field Communication (NFC) is a short-range wireless technology that has evolved from a combination of existing contactless radio frequency identification (RFID) and interconnection technologies. NFC operates at 13.56 MHz and offers a data transmission rate of 106 kbit/s, 212 kbit/s, or 424 kbit/s within a distance of 20 cm. Currently, NFC is approved as an ISO/IEC IS 18092 standard, ECMA-340 standard, and ETSI TS 102 190 standard.

[Question 2] Do app developers need to handle NFC tags?
No, you do not need to deploy NFC tags.
[Question 3] What is HUAWEI OneHop?

OneHop is a technology that allows two devices to connect and interact with a simple tap. Users can use this feature to perform a one-off task, such as transfer a file, without having to worry about compatibility and how to open and save the file on the other device.

[Question 4] What are the OneHop's key features?

OneHop relies on short-range communication technologies. It is triggered by the NFC technology, and uses Bluetooth and Wi-Fi technology for connection, transmission, and service launching.

[Question 5] Why can't I call a registration API?

The EMUI version may not be up-to-date. OneHop Engine requires EMUI 10.1 or later.

Or, check that required permission (<uses-permission android:name="com.huawei.permission.ONEHOP"/>) has been granted, otherwise, permission verification will fail.

[Question 6] Why does the SDK display an error message when I edit code in the app?

OneHop Engine isn't loaded properly. Follow the demo to load the JAR package correctly.

[Question 7] Do I need to use registerOneHop() before calling other APIs?

Yes, registerOneHop() needs to be called before calling any other API.

[Question 8] Why isn't the active task on the phone switched to the target tablet during a Multi-screen Collaboration session?

The app may be running in the background. For now, only the app running in the foreground can be switched to another device via OneHop. For video playback, if your app does not send the video link and progress to the target device via OneHop, video playback cannot be switched to the target device.