Hi Maxt,
Sorry for the delay, nobody answered because nobody got it working. Me
neither... yet. Pyjnius and python-for-android got better every
iteration, and i've tested this week if it would be possible to add
"android" widget/view in top of the SDLSurfaceView. The answer is... yes.
Have a look at my tests:
https://gist.github.com/tito/6118172
It doesn't look pretty, but that was just a test.
Notes:
- Any changes to the Activity content view must be done in a Runnable.
In my example, i use Runnable(func)(...). You can just use
Runnable(func)() no need to args/kwargs anymore.
- Use addContentView, not setContentView, or the app will crash. Nasty
bug, dunno why, but that's it.
- Update your python-for-android copy (or reclone it), i've fixed issues
this week about it.
- => You can add/remove android widget. I'm currently testing the
integration of Facebook SDK to Kivy android app, so if anything wrong
appear, i'll fix it.
My feeling is, because android widget will be always sort-of overlay, i
wonder if we can correctly control the position and have sort-of mask.
If our view is always axis-aligned (ie, not i a scatter), then maybe we
could have sort-of auto pos/size from kivy to android widget.
Anyway, good luck!
Mathieu
Le 18/07/2013 17:05, maxT a �crit :
> --
> You received this message because you are subscribed to the Google
> Groups "Kivy users support" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to
kivy-users+...@googlegroups.com.
> For more options, visit
https://groups.google.com/groups/opt_out.
>
>