[Interest] Android activities navigation.
Ben Lau
xbenlau at gmail.com
Fri Oct 31 15:55:34 CET 2014
Let's clarify.
You can tell Android to start another activity in a Qt Android application.
No matter that is an activity for share , asking photo or other local
activities within the same application written by Java.
I am writing an application which need to ask for taking photo , share the
photo and sync with Dropbox by using Dropbox's own activity. It is fine ,
just need to write the interface code by Java.
What I don't know is , can there has multiple activities within the same
application render their UI via Qt. However, I don't suggest to try since
the initialization of Qt is not fast enough for page transition.
On 31 October 2014 20:01, rap <rap at dlc.fi> wrote:
> 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
>
> _______________________________________________
> Interest mailing list
> Interest at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/interest
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20141031/55eadf8d/attachment.html>
More information about the Interest
mailing list