Fail to use the Kony Beacon API

This thread was migrated from an old forum. It may contain information that are no longer valid. For further assistance, please post a new question or open a support ticket from the Customer Support portal.

I downloaded a sample app which uses Kony Beacon API. When I compiled it and run, it showed "Unhandled Exception: com is not defined".

Is the Kony Beacon API included by defailt? Or I need to import it somehow?

I'm using the Kony Visualizer Enterprise. Please advise.

Hi @Lillivn Nvsh​ ,

As per the documentation, beacon APIs should be available by default for your kony application. Can you tell us which version of Visualizer Enterprise you are on?

Also are you checking on device when bluetooth is turn on? Can you send complete logs?

Link to the Documenatation:

http://docs.kony.com/konylibrary/visualizer/viz_api_dev_guide/content/beaconffi.htm

This is the error message when I ran the app and press "Locate Beacon" button

Sorry, this is the error message. Above one is the code in Line 94.

Seems that the com.kony library is not defined. But I supposed that Kony APIs are included by default...

I'm using Kony Visualizer Enterprise Version 8 Service Pack 1 Fix Pack 11

Hi @Lillivn Nvsh​ ,

Thanks for the information. We will check this on the mentioned Visualizer version and let you know.

@Rexeccv Tewwy​ @Cvwol Duncvn​ any help here?

Hello,

Kindly go through the steps mentioned in the below link and let us know if you are still facing the same issue.

Also, download the sample application attached in the below link to test the iBeacons functionality.

Link: https://basecamp.kony.com/s/question/0D56A00000AnrmgSAB/?t=1520495124989

Regards,