Community

Topic: Android SDK

custom control

Reza
Tuesday, November 14, 2017

I want to create a control when a marker is read, like a image slider or button or textview

user profile image
Support Team  (expert)
Wednesday, November 15, 2017

Hi,
the recognized marker event is triggered by the IRecognitionListener in the markerFound method.
In the markerFound method you can show or hide your native contents.

Best,

Reza
Thursday, November 16, 2017

Often times, the markerFound method does not work. How to fix this problem?

user profile image
Support Team  (expert)
Thursday, November 16, 2017

Hi,
we need some more informations about your problem.
First verify that the application's package name is com.pikkart.trial and that the license file it has been successfully added to the assets folder.

Is recognition being happening locally or in cloud? In the case it is local check that the marker has been added in the correct folder in ..assets / markers.
Also be sure to be using the latest version of SDK.

For further verification, could you provide us the id of the marker you are using?

Best,

Reza
Monday, November 20, 2017

Yes, I can read the marker and I can display the movie, and the 3d is just my problem not running the public void markerFound (Marker Marker) function.
Meanwhile, I used the sample inside your site and did not make any changes to the example

user profile image
Support Team  (expert)
Monday, November 20, 2017

Hi,
the error is really strange.
It seems that you specified a null IRecognitionListener in the startRecognition method.
Can you verify if the interface is implemented correctly?

Best,

Sign in to add a comment