I'm a developer on the Qt Port for Android. At the moment we
Qt-Enable Android devices by some kind of smart installer/android
service which downloads and stores the Qt-native libraries into
the /data/local directory. When an application wants to load
the Qt libaries it can query the android service for the path
to the native libraries.
I was very much wondering if the
local directory is meant for those kind of use cases and if
it's stable in the sense of can developers trust that an
application has read (and write) access to that directory in
the /data partition on Android devices out there.
If not, has anyone a recommendation of an official way to
support such a use case: Installing Blobs which all applications
can access? (I assume that because the API enables you
to create WORLD_READABLE and WORLD_WRITABLE files, it's not
against the security model)
Thanks in Advance,
Chris
--
Dipl.-Inform. Christian K�ster
tarent solutions GmbH
Heilsbachstra�e 24, D-53123 Bonn * http://www.tarent.de/
Tel: +49 228 52675-0 * Fax: +49 228 52675-25
Mobil: +49 171 7673249
HRB AG Bonn 5168 * USt-ID (VAT): DE122264941
Gesch�ftsf�hrer: Boris Esser, Elmar Geese
Hi Guys,
I'm a developer on the Qt Port for Android. At the moment we
Qt-Enable Android devices by some kind of smart installer/android
service which downloads and stores the Qt-native libraries into
the /data/local directory. When an application wants to load
the Qt libaries it can query the android service for the path
to the native libraries.
I was very much wondering if the
local directory is meant for those kind of use cases and if
it's stable in the sense of can developers trust that an
application has read (and write) access to that directory in
the /data partition on Android devices out there.
If not, has anyone a recommendation of an official way to
support such a use case: Installing Blobs which all applications
can access? (I assume that because the API enables you
to create WORLD_READABLE and WORLD_WRITABLE files, it's not
against the security model)
Thanks in Advance,
Chris
--
Dipl.-Inform. Christian Küster
tarent solutions GmbH
Heilsbachstraße 24, D-53123 Bonn * http://www.tarent.de/
Tel: +49 228 52675-0 * Fax: +49 228 52675-25
Mobil: +49 171 7673249
HRB AG Bonn 5168 * USt-ID (VAT): DE122264941
Geschäftsführer: Boris Esser, Elmar Geese
--
You received this message because you are subscribed to the Google Groups "android-platform" group.
To post to this group, send email to android-...@googlegroups.com.
To unsubscribe from this group, send email to android-platfo...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/android-platform?hl=en.
Hi Guys,
I'm a developer on the Qt Port for Android. At the moment we
Qt-Enable Android devices by some kind of smart installer/android
service which downloads and stores the Qt-native libraries into
the /data/local directory. When an application wants to load
the Qt libaries it can query the android service for the path
to the native libraries.
I was very much wondering if the
local directory is meant for those kind of use cases and if
it's stable in the sense of can developers trust that an
application has read (and write) access to that directory in
the /data partition on Android devices out there.
If not, has anyone a recommendation of an official way to
support such a use case: Installing Blobs which all applications
can access? (I assume that because the API enables you
to create WORLD_READABLE and WORLD_WRITABLE files, it's not
against the security model)
Thanks in Advance,
Chris
--
Dipl.-Inform. Christian Küster
tarent solutions GmbH
Heilsbachstraße 24, D-53123 Bonn * http://www.tarent.de/
Tel: +49 228 52675-0 * Fax: +49 228 52675-25
Mobil: +49 171 7673249
HRB AG Bonn 5168 * USt-ID (VAT): DE122264941
I got a slap on the back of my our lead developer for not being correct about the smart
installer. data/local is only used during development. The smart installer
uses it's very own private home under is /data/data/app.name.. directory.
So: We don't abuse this and never will.
> Also, it's not really documented, and there is no guarantee that this
> directory is/will be available on all Android devices/builds or in the
> future.
Thanks for Dianne and your reply. At least I'm sure we can't use this
directory for any stuff.
> Of course, it means that if you uninstall the "installer", then all your
> installed Qt-based applications are now *dead*.
> And updating the installer's libraries has the potential to break some apps
> if you slightly change the ABI.
That's been taken care of, because it supports (or will) different versions.
> Which is why I'd really recommend you to embed the Qt libs into the final
> application packages instead.
We want to support this, too.
tarent solutions GmbH
Heilsbachstra�e 24, D-53123 Bonn * http://www.tarent.de/
Tel: +49 228 52675-0 * Fax: +49 228 52675-25
Mobil: +49 171 7673249
HRB AG Bonn 5168 * USt-ID (VAT): DE122264941
On Mon, Jun 20, 2011 at 01:12:03PM +0200, David Turner wrote:I got a slap on the back of my our lead developer for not being correct about the smart
> Please do not abuse this facility. Otherwise we will be forced to modify the
> system to get rid of it, or clean it on a daily basis like a vulgar /tmp
> (which doesn't exist on Android, as you probably noticed).
installer. data/local is only used during development. The smart installer
uses it's very own private home under is /data/data/app.name.. directory.
So: We don't abuse this and never will.
Thanks for Dianne and your reply. At least I'm sure we can't use this
> Also, it's not really documented, and there is no guarantee that this
> directory is/will be available on all Android devices/builds or in the
> future.
directory for any stuff.
That's been taken care of, because it supports (or will) different versions.
> Of course, it means that if you uninstall the "installer", then all your
> installed Qt-based applications are now *dead*.
> And updating the installer's libraries has the potential to break some apps
> if you slightly change the ABI.
We want to support this, too.
> Which is why I'd really recommend you to embed the Qt libs into the final
> application packages instead.
Tel: +49 228 52675-0 * Fax: +49 228 52675-25
Mobil: +49 171 7673249
HRB AG Bonn 5168 * USt-ID (VAT): DE122264941