UITrans: Seamless UI Translation from Android to HarmonyOS
Lina Gong, Chen Wang, Yujun Huang, Di Cui, Mingqiang Wei

TL;DR
UITrans is an automated tool that uses large language models to translate Android UI layouts into HarmonyOS, enabling seamless cross-platform UI development with high accuracy.
Contribution
This paper introduces UITrans, the first LLM-driven multi-agent framework for automated Android to HarmonyOS UI translation, addressing layout and interaction differences.
Findings
Achieves over 90% success rate at component level
Achieves nearly 89% success rate at page level
Achieves over 89% success rate at project level
Abstract
Seamless user interface (i.e., UI) translation has emerged as a pivotal technique for modern mobile developers, addressing the challenge of developing separate UI applications for Android and HarmonyOS platforms due to fundamental differences in layout structures and development paradigms. In this paper, we present UITrans, the first automated UI translation tool designed for Android to HarmonyOS. UITrans leverages an LLM-driven multi-agent reflective collaboration framework to convert Android XML layouts into HarmonyOS ArkUI layouts. It not only maps component-level and page-level elements to ArkUI equivalents but also handles project-level challenges, including complex layouts and interaction logic. Our evaluation of six Android applications demonstrates that our UITrans achieves translation success rates of over 90.1%, 89.3%, and 89.2% at the component, page, and project levels,…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Code & Models
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsIoT-based Smart Home Systems
