Revision as of 17:56, 4 July 2011 by ilkkal (Talk | contribs)

Archived:Porting from Android to Nokia Platforms

From Nokia Developer Wiki
Jump to: navigation, search

Underconstruction.pngUnder Construction: This article is under construction and it may have outstanding issues. If you have any comments please use the comments tab.


The following article describes recommended ways to port different types of Android applications to Nokia platforms, and also covers the most typical special cases.


Normal Android Java Apps


Since Android applications are written in Java, direct code-level reuse is typically not possible when porting to Qt. Typically the application design and assets can be reused in a new QML UI, and the code rewritten.

Java Native Interface

A notable special case is where the Java Native Interface (JNI) is used in the Android application. JNI allows the use of C/C++ shared libraries from Android code.

Although this is not a recommended way to develop basic Android applications, it is very useful in some specific cases — for example, with games relying on existing game engines, which are often written in C/C++.

If the Android application uses these kinds of C/C++ shared libraries, code-level reuse is also often possible, especially towards the Maemo platform but also sometimes towards the Symbian platform.


Nowadays, in addition to developing Android applications directly in the Java language, several Android applications are also built as web applications using the WebKit approach with tools like Titanium Mobile or by utilizing the LibWebCore in manual fashion from the Android application.

For these types of web applications the recommended porting approach is to rewrite the application with Qt Quick, especially if the intention is to develop an impressive UI. For more information on Qt Quick, see the section on Qt Quick in the porting introduction.

Developers could also consider building a Qt Quick application and basing its functionality on embedded web views; for more information, see the Fundamental porting use cases document.

User interface


Although code cannot typically be reused, the graphics and design of the application can often be reused to good effect. For example, in Qt Quick, scaling of the existing UI elements is very easy and may not require much rework from the UI designers.

Generally, however, your application will look best and be most usable if you take some time to redesign the application layout. An application layout that looks great on an Android device may not be very usable on a Nokia device, since the usage paradigm of user interface and available features affecting the user experience are different.

For more information on UI design for Nokia devices, see [http://www.developer.nokia.com/Design/ the Nokia Developer Design and User Experience Guide].

How to Proceed with Porting

Copyright © 2010 Nokia Corporation. All rights reserved.

Nokia, Nokia Developer, and Maemo are registered trademarks of Nokia Corporation. Java and all Java-based marks are trademarks or registered trademarks of Sun Microsystems, Inc. Apple, iPhone, iPod and MacBook are trademarks or registered trademarks of Apple Inc. Android is a trademark of Google Inc. Other product and company names mentioned herein may be trademarks or trade names of their respective owners.

184 page views in the last 30 days.

Was this page helpful?

Your feedback about this content is important. Let us know what you think.


Thank you!

We appreciate your feedback.