BogDan Vatra daminetreg Willy Gardiol
logo.png (9315 bytes)

Necessitas wiki home page!

What is it?

Necessitas is a community project led by BogDan Vatra which is born from the need to extend a great framework to support one of the most widespread mobile platform in the world.

The Qt framework ([http://qt.nokia.com/]) is a great Development Framework! It's multi-platform, complete, mature and bleeding-edge at the same time. With Qt you can write great applications for the desktop (Windows, Linux and Mac) and for the mobile world (tables, phones... Symbian, MeeGo, Maemo, Android, IOS, BlackBerry, WebOS...) and also in the embedded world. Qt is a C++ framework, which is a plus if you don't like Java that much.

Android... well, it does not need introductnios. The Google powered mobile system, based on Linux, it's both the most widespread and more open mobile environment available today.

Necessitas comes from the need of exploting the power and the multi-platform capabilities of the Qt framework on the Android world. It was born as a concept work which demonstrates the flexibility of Qt and, today, strives to become a fully working development solution for Android.

So, what?

Necessitas is the work of a few. Mainly, BogDan, and a few others. Everybody is invited to join our efforts and contribute.

The current status of the project is, albeit still in alpha, already encouraging. A few fully working apps have been released on the Google Play by various developers including some complex applications... Check them out... Both QML and QWidget based UIs are supported!

Not everything works, or at least not as expected, but a steady and committed work is done to improve every new release.

The main Qt framework works. QML works, QWidget (with the limitations of QWidget in the mobile world) works... QtWebkit works too... and QtMobility is partially working. QtLocation and QtSensors mostly works, while QtMoultimedia and QSound is, at the moment, still work in progress.

Ok, i am interested...

Are you a developer?

Do you already have a Qt application written for Symbian, Windows, Linux or any other Qt-supported platform? Great! Grab Necessitas and start porting it to Android too! You will find that's almost as easy as recompiling (ok, maybe not so easy, but...).

Do you want to develop a new application for Android but you don't like Java? Well, enjoy the leverage of C++ with the Qt framework! Or maybe you want to write a new app and ensure it will work on almost any mobile environment out there? You will find Android with Necessitas the best solution besides the Nokia-supported platforms.

Some details...

Necessitas uses the Android NDK. Basically, your Qt application is compiled as a dynamic library and a Java application wrapper is added to interface it with the Android enviroment. You don't have to worry, because everything is managed automatically by the Necessitas SDK. You just fire up Necessitas' own QtCreator, write your code, hit the deploy button and the magic will do itself.

So, what are you waiting for? Go check the [How to install Necessitas SDK] page! Or, if you are more into hacking and thinkering, you can also be brave and [Compile Qt framework] and of course also [Compile QtCreator]!

Don't forget to check the tutorial on [How to write Qt apps for Android]!

If you want to help us please check [Guidelines for contributions to Necessitas project] wiki page...


Wiki: Compile Qt framework
Wiki: Compile QtCreator
Wiki: Guidelines for contributions to Necessitas project
Wiki: How to install Necessitas SDK
Wiki: How to write Qt apps for Android


  • Anonymous

    Anonymous - 2011-02-25

    Awesome! Great work! Thank you for your work and time spent!

    Last edit: daminetreg 2012-03-03
  • Anonymous

    Anonymous - 2011-03-02

    How is the binary necessitas sdk built? The git section here on sf.net is empty... I've cloned the android-lighthouse and qt-creator repos from gitourious but I couldn't figure out how the binary sdk is obtained. Could you shed some light on this?

  • daminetreg

    daminetreg - 2011-03-18

    Did you follow the instructions [Setup Android SDK], because you need to update your sdk with the graphical manager included in it. :)

    Please don't open Qt Creator while SDK is installing.

    Last edit: daminetreg 2011-03-18
  • Carlos Quiros

    Carlos Quiros - 2011-05-17

    Example of QT application using the Android GPS service.


    After two weeks of intense headaches I finally got a QT application to use the Android GPS service and have location readings.

    You can access it from www.qlands.com/other_files/Android_GPS.tar.gz

    PLEASE read the README_ME_FIRST_OR_IT_WILL_NOT_WORK file before you get to excited!

    For BogDan Vatra (et all):
    I had to make some slight changes to:
    1- qtmain_android.cpp
    2- QtApplication.java

    And I sadly had to add a new class called gpsListener.java to eu/licentia/necessitas/industrius . Yo can read the readme file to find out why.

    I would love to include those changes in the android-light house project if you can direct me how. I am not very versed with git stuff.

    I test it on my Samsung Galaxy 5 (Android 2.1). I build the apk using the latest sdk and ndk. I downloaded android-lighthouse from git.

    With no further comments, enjoy GPS from QT applications in Android!


  • Anonymous

    Anonymous - 2012-07-05
    Post awaiting moderation.
  • Anonymous

    Anonymous - 2012-08-15
    Post awaiting moderation.
  • Anonymous

    Anonymous - 2013-03-14
    Post awaiting moderation.
  • Anonymous

    Anonymous - 2013-03-14
    Post awaiting moderation.
  • Anonymous

    Anonymous - 2013-05-11
    Post awaiting moderation.
  • Anonymous

    Anonymous - 2013-06-21
    Post awaiting moderation.
  • Anonymous

    Anonymous - 2013-07-06
    Post awaiting moderation.
  • Anonymous

    Anonymous - 2013-08-06
    Post awaiting moderation.
  • Anonymous

    Anonymous - 2014-05-17
    Post awaiting moderation.


Cancel  Add attachments