Start a new topic

A Comment Field by Image Recognition.


I am developing it using xamarin. I want to create a comment field by image recognition. Is there any reference source code? I do not know how to use HTMLDrawbleClass. I would like to obtain comments from the database with REST WebEpi if possible. Thank you.


Good morning,



I believe the querying of the REST API does not have anything to do with the Wikitude SDK specifically, you can do this any way you see fit in your JavaScript code.


When you have acquired the desired data, you can create a HtmlDrawable and simply set its .html property to a string containing the HTML content based on your data you would like it to render.


A small snippet on how to create a HtmlDrawable with custom HTML can be found here.



- Daniel

I am sorry that my reply and my reward was delayed.

As you can see, Overlay could be displayed by HtmlDrawable.

But I did not display the following html.


image


The displayed screen was only the header of the table.
why is it. Can you give me advice?


Hi,



I ran the HTML snippet you posted in Chrome and received the following error:


Failed to load https://iwb.jp/s/js/data.json: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'null' is therefore not allowed access.


My guess is, that the WebView of the HTMLDrawable will behave the same way.


Here's a resource that might help with that issue.



- Daniel

Login or Signup to post a comment