RadaeePDF.com :: Topic: Problem with annatacion on android 6.0 (1/1)
Welcome, Guest
Username: Password: Remember me

Signin/Signup with:

Questions about Android development and PDF

TOPIC: Problem with annatacion on android 6.0

Problem with annatacion on android 6.0 9 months 2 weeks ago #11687

  • Viachaslau
  • Viachaslau's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 10
  • Karma: 0
Hi, Guys! Please, help me. On android 6 Marshmallow not found audio annatacions.
And in class Page. method "AddAnnotAttachment(String path, int icon, float[] rect)" always return false.
I will be very glad to answer! Thank you!
The administrator has disabled public write access.

Problem with annatacion on android 6.0 9 months 2 weeks ago #11692

  • nermeen
  • nermeen's Avatar
  • OFFLINE
  • Moderator
  • Posts: 689
  • Thank you received: 45
  • Karma: 18
Can you better explain your needs please?

For the AddAnnotAttachment, a professional license is needed..are you trying using the demo project or yours? if yours, are you using the demo project's package name, so the demo license id activated.
The administrator has disabled public write access.

Problem with annatacion on android 6.0 9 months 2 weeks ago #11693

  • Viachaslau
  • Viachaslau's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 10
  • Karma: 0
I use the license. As the annotations I use the audio files. On 5 android works. Install applications on 6 android. Attached audio annotations are not. And I can not add an audio annotation application. "AddAnnotAttachment(String path, int icon, float[] rect)" returns false constant.
Thanks
Last Edit: 9 months 2 weeks ago by Viachaslau.
The administrator has disabled public write access.

Problem with annatacion on android 6.0 9 months 2 weeks ago #11694

  • nermeen
  • nermeen's Avatar
  • OFFLINE
  • Moderator
  • Posts: 689
  • Thank you received: 45
  • Karma: 18
We have tried the code below on Android 6 and it's working
page.AddAnnotAttachment("/mnt/sdcard/Music/audio.mp3", 0, new float[]{100, 100, 200, 150})
So, can you reproduce your issue with the demo project?
Can you send the code you are using?
The administrator has disabled public write access.

Problem with annatacion on android 6.0 9 months 1 week ago #11710

  • nermeen
  • nermeen's Avatar
  • OFFLINE
  • Moderator
  • Posts: 689
  • Thank you received: 45
  • Karma: 18
If the audio file is in the SDcard (or the m_doc.setCache path is in sdcard), make sure that your app has the permission to access sdcard

And to implement the runtime permission check.
The administrator has disabled public write access.
Powered by Kunena Forum