Problem with annatacion on android 6.0 - RadaeePDF.com
Signin/Signup with: 
Welcome, Guest
Username: Password: Remember me
13 Jul 2017
Microsoft has ended support for Windows Phone 8.1
Read More...
Questions about Android development and PDF
  • Page:
  • 1

TOPIC: Problem with annatacion on android 6.0

Problem with annatacion on android 6.0 1 year 1 month ago #11687

  • Viachaslau
  • Viachaslau's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 10
  • Thank you received: 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!

Please Log in or Create an account to join the conversation.

Problem with annatacion on android 6.0 1 year 1 month ago #11692

  • nermeen
  • nermeen's Avatar
  • Offline
  • Moderator
  • Moderator
  • Posts: 754
  • Karma: 20
  • Thank you received: 55
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.

Please Log in or Create an account to join the conversation.

Problem with annatacion on android 6.0 1 year 1 month ago #11693

  • Viachaslau
  • Viachaslau's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 10
  • Thank you received: 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

Please Log in or Create an account to join the conversation.

Last Edit: by Viachaslau.

Problem with annatacion on android 6.0 1 year 1 month ago #11694

  • nermeen
  • nermeen's Avatar
  • Offline
  • Moderator
  • Moderator
  • Posts: 754
  • Karma: 20
  • Thank you received: 55
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?

Please Log in or Create an account to join the conversation.

Problem with annatacion on android 6.0 1 year 1 month ago #11710

  • nermeen
  • nermeen's Avatar
  • Offline
  • Moderator
  • Moderator
  • Posts: 754
  • Karma: 20
  • Thank you received: 55
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.

Please Log in or Create an account to join the conversation.

  • Page:
  • 1
Powered by Kunena Forum