[Android-development] Qt Multimedia permissions
Eskil Abrahamsen Blomfeldt
eskil.abrahamsen-blomfeldt at digia.com
Thu May 8 09:03:38 CEST 2014
On 05/07/2014 06:04 PM, Kirill Bukaev wrote:
> Hello everyone,
>
> I use qml MediaPlayer in my android application and I noticed that the
> app has the following permissions:
>
> * android.permission.CAMERA
> * android.permission.RECORD_AUDIO
>
> I found that Qt Multimedia adds them. As I understand I can't get rid
> of those permissions even if I don't use camera and microphone, am I
> right?
> It is not very good when the app is not supposed to use camera but
> requires such a permission.
Qt will automatically add permissions to your application based on the
modules you link, to avoid giving you mysterious crashes while you are
testing your app.
Before going into production, edit your manifest and replace the lines
<!--%%INSERT_PERMISSIONS-->
<!--%%INSERT_FEATURES-->
with the permissions and features your application requires. At this
point you will know which permissions are required, so you would
probably want to do this as a standard step as you are preparing the
manifest for the Play store.
We've improved the documentation for this in the upcoming release (5.3)
to hopefully make it more clear.
-- Eskil
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/android-development/attachments/20140508/c038f3ab/attachment.html>
More information about the Android-development
mailing list