Nice extension
I downloaded via your miniurl but i get naked ladies in front of a camera. I don’t think that is what you want.
Sorry…I was not aware that MiniURL will do that.
I am sorry
I will replace that as soon as possible.
I tested your extension with my e-book template. Still have to do some more work.
I had to change and add some blocks. Now i have a search function also. I like your extension very much.
In my e-book template i have a javascript that records the position on the html page. I tried to make it work with your extension but i wasn’t succeeding. Now i saw the webview string change block. When i want to use that to store the value it gives me a
runtime error with unbound location $value at the end.
Thank you.
I will try to fix it as soon as possible (at least 30 minutes mom shouting at me )
But I have found the bug.It is just because of not running method/task on ui thread.
Is this also explaining why the webviewstrings isn’t working?
I have no idea about that
Actually I have no knowledge of JavaScript
ChangeLog Version 2
Changes
- Fixed some spelling and grammar mistakes
- Some internal changes
Bug Fixes
- Fixed bug in
Web View String Change
event
Thank you @Peter for reporting bug
Let me know if v2 works for you
ebook_template_cw.aia (296.7 KB)
No runtime error but still not working what i want. What the javascript does is that it is giving the scrollposition in the html to the webviewstring block. But it is still not working.
I can not save it and when i get a value it is always zero.
Hi @Peter
Can you try replacing AppInventor with Makeroid and Kodular?
If none of these works then issue/bug can be found easily.
Changed it to Kodular but start noticing other things. When i run my original template with the standard webviewer i can view the pages in the companion.
With you webviewer i have to compile the app.
so this doesn’t seem to work.
It gives a net::ERR_ACCESS_DENIED error.
It also looks that the css file is not used when displaying the html-file.
Again You came with extra ordinary work, well done and congrats for this awesome work. Thank you.
If you got this error in companion then:
I think this error is because of file access.By default file access is blocked in web view.You have to enable it manually either from designer or from blocks.
Hi @Peter
I compiled your both versions of ebook template.
Here are both APKs:
ebook_template_cw.apk (5.2 MB)
ebook_template.apk (5.2 MB)
I found no difference between them.
Also I am not able to locate main.css file and scroll.js is missing in all html files.
As soon as Companion starts working for me I can tell you correct test results.
Forgot to upload that. Scroll.js was present. It is at the bottom of the html page. css is working as it should but still have to build to test. I will be doing something wrong i guess so have to play some more.
Since I can grant access to the webcam, I tried it that way, but I couldn’t.
It gave the following error:
Thank you.
It will be fixed in v3 along with other other bugs