Android Question Problem using CAMERAKIT

DOM85

Active Member
Licensed User
Hello,
I try tu use the Camerakit pack.
I used the given link to download the library and the B4A example :
https://www.dropbox.com/sh/hxjawhcxqfek1wh/AACyVZ-cJW01rH0vREIymdr7a?dl=0
From this link i downloaded Camerakit.jar, Camerakit.xml, and Camerakit.aar. I put them in B4A libraries directory.

Maybe i did something bad during installation. When i try to load the example i obtain the next message :

An error happens.
Error parsing libraries.
For security reasons, DTD not allowed in this XML document.
To Activate the DTD management, define PARSE the DTDProcessing property on XmlReaderSettings and transmit the parameters to the XmlReader.Create method.


If someone can help me, thank you.
 

DonManfred

Expert
Licensed User
For security reasons, DTD not allowed in this XML document.
Google has some findings about this error.

I´m not sure if it is related to CameraKit

What B4A Version are you using?
 
Upvote 0

DOM85

Active Member
Licensed User
@Peter Simpson
Thank you for your nice answer.
But i tried all these methods with in each case a limitation or freeze :

- "Intent"method cannot use front camera, and no protrait,

- Cameraex : I never sucessed to reach the picture taken on my phone.
When i try to modify the path where the picture is put, the app exits with the only one message "Unfortunately the App closed" When i try to follow in debug mode, the app close without any message.

- Camera2 2017 : I successed to reach the picture taken on my phone, but i don't success to modify its path, and when i take a picture with the front camera, the picture is inverted left to right. In addition the implementation of this camera function in my app is quite heavy and complex.

Thank you for your advices.
 
Upvote 0

Brandsum

Well-Known Member
Licensed User
@Peter Simpson
Thank you for your nice answer.
But i tried all these methods with in each case a limitation or freeze :

- "Intent"method cannot use front camera, and no protrait,

- Cameraex : I never sucessed to reach the picture taken on my phone.
When i try to modify the path where the picture is put, the app exits with the only one message "Unfortunately the App closed" When i try to follow in debug mode, the app close without any message.

- Camera2 2017 : I successed to reach the picture taken on my phone, but i don't success to modify its path, and when i take a picture with the front camera, the picture is inverted left to right. In addition the implementation of this camera function in my app is quite heavy and complex.

Thank you for your advices.
Can you post the exact project in which you are getting that xml error?
 
Upvote 0

DonManfred

Expert
Licensed User
An error happens.
Error parsing libraries.
For security reasons, DTD not allowed in this XML document.
The problem is probably with your additional library folder. It seems that there is maybe a XML which should not be there?

I just tried the example and it is working fine here.
 
Upvote 0

jimmyF

Active Member
Licensed User
I put them in B4A libraries directory.

Don't know if it would make a difference but maybe they should have been put in the Additional Libraries folder?
 
Upvote 0
Top