- Posts: 10
- Thank you received: 0
Microsoft Windows Phone 8.1 support ends (13 Jul 2017)
Microsoft has ended support for Windows Phone 8.1
Questions about Android development and PDF
Problem with annatacion on android 6.0
- Viachaslau
- Topic Author
- Offline
- New Member
-
Less
More
9 years 2 months ago #11687
by Viachaslau
Problem with annatacion on android 6.0 was created by Viachaslau
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!
And in class Page. method "AddAnnotAttachment(String path, int icon, float[] rect)" always return false.
I will be very glad to answer! Thank you!
9 years 2 months ago #11692
by nermeen
Replied by nermeen on topic Problem with annatacion on android 6.0
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.
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.
- Viachaslau
- Topic Author
- Offline
- New Member
-
Less
More
- Posts: 10
- Thank you received: 0
9 years 2 months ago - 9 years 2 months ago #11693
by Viachaslau
Replied by Viachaslau on topic Problem with annatacion on android 6.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
Thanks
Last edit: 9 years 2 months ago by Viachaslau.
9 years 2 months ago #11694
by nermeen
Replied by nermeen on topic Problem with annatacion on android 6.0
We have tried the code below on Android 6 and it's working
So, can you reproduce your issue with the demo project?
Can you send the code you are using?
Code:
page.AddAnnotAttachment("/mnt/sdcard/Music/audio.mp3", 0, new float[]{100, 100, 200, 150})
Can you send the code you are using?
9 years 2 months ago #11710
by nermeen
Replied by nermeen on topic Problem with annatacion on android 6.0
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.
And to implement the runtime permission check.
Time to create page: 0.432 seconds