[Interest] Android activities navigation.

rap rap at dlc.fi
Fri Oct 31 13:01:37 CET 2014


This sounds weird. Could someone please clarify as even using Java each UI Window (= Activity) within your  - or any other 
rogram  - is always a single "item", there is no MDI .  Does this mean that Qt can not create Intents and/or tell Android to start 
another Actvity?

thanks,
Risto


-----Alkuperäinen viesti----- 
From: Ben Lau
Sent: Thursday, October 30, 2014 4:17 PM
To: Reynier Pupo Gómez
Cc: interest at qt-project.org
Subject: Re: [Interest] Android activities navigation.


Hi ,

Currently , Qt is designed as a single activity in Android. Having another activity written by Java is possible , but I don't know
can those other activities use Qt for drawing.  Moreover, the initialization of Qt instance is not fast enough for page transition
yet. So I think break down into multiple activity may not be a good idea.

However, if you accept activity transition simulation through Qt's drawing. You may take a look of my library:

https://github.com/benlau/quickandroid

It has supported page transition between different QML and back through up button or hardware button.



On 29 October 2014 21:39, Reynier Pupo Gómez <rgomez at uci.cu> wrote:
Hi, I just starting to develop android apps with Qt and I face a problem. In the android way an application could containt several
activities representing content allowing us to give the correct structure to an application. Each activity can switch to another
using a stack and the back button( hardware/software) of the device pop from the activities stack. When we make a Qt application and
prepare it for run in android it creates only one activity and no matters how much overlaped widgets have my application if I press
the back button hides the entire application.
I thinking on decompose the application on several activities but I don't know how to do that.
Sory for my english, Im' spanish speaking.
Thanks.
_______________________________________________
Interest mailing list
Interest at qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest







_______________________________________________
Interest mailing list
Interest at qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest 




More information about the Interest mailing list