Android Launcher orientation fix

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Android Launcher orientation fix

Xenosb
Hi,

we had to develop a few Android application with fixed orientation. Since JOGL Android launcher overrides preferences set in our apk I disassembled JOGL launcher apk and added two new intents to manifest. One sets orientation to be portrait, one landscape and one is default auto rotate. Depending on your call, you can set your application to be portrait or landscape.

I can make those changes and commit them but i can't find the right repository to do that.
Reply | Threaded
Open this post in threaded view
|

Re: Android Launcher orientation fix

gouessej
Administrator
Hi

https://github.com/sgothel/jogl ? You can make a pull request, it would be welcome :)
Julien Gouesse | Personal blog | Website
Reply | Threaded
Open this post in threaded view
|

Re: Android Launcher orientation fix

Sven Gothel
Administrator
In reply to this post by Xenosb
On 09/22/2015 11:17 AM, Xenosb [via jogamp] wrote:

> Hi,
>
> we had to develop a few Android application with fixed orientation. Since JOGL
> Android launcher overrides preferences set in our apk I disassembled JOGL
> launcher apk and added two new intents to manifest. One sets orientation to be
> portrait, one landscape and one is default auto rotate. Depending on your
> call, you can set your application to be portrait or landscape.
>
> I can make those changes and commit them but i can't find the right repository
> to do that.
- Julien showed you one git repo ..

- Feel free to offer a pull request to enhance the launcher

Some thoughts here ..

Our launcher is merely a tool / vehicle
to launch apks w/o duplicating jogamp apks .. aka daisy chaining.
Usually user applications simply merge all required modules,
e.g. GlueGen-rt, joal, jogl, .. plus the application code
into one apk.

Of course, feel free to use the launcher for your own intents ..,
however .. you better branch it and give it its own namespace
so you don't collide w/ jogamp's namespace.

.. IMHO

~Sven



signature.asc (828 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Android Launcher orientation fix

Xenosb
Thanks for the advice, but since application is just a demo run on just a few devices, it is easier for us to install launcher and other JOGAMP apk-s than to include them in our apk-s.