Search found 46 matches

by William Van Hoecke
Fri Dec 22, 2023 7:19 pm
Forum: Bugs Reports
Topic: Android app Httprequest failing.
Replies: 0
Views: 4097

Android app Httprequest failing.

Hello, I have this app that used to work fine. On an HTTPRequest(#PB_HTTP_Post, URL, param, @HttpRequestCallback()) from the app the HttpRequestCallback(Success, Result$, UserData) catches the answer from server "<status ok>" To comply with Android Level 33, I had to recompile my app using...
by William Van Hoecke
Tue Dec 19, 2023 1:42 pm
Forum: General Discussion
Topic: SpiderBasic 2.51 is available
Replies: 17
Views: 46245

Re: SpiderBasic 2.51 is available

Ok, I was unaware (totaly forgot) that the path to the JDK 11 is to be set in the preferences.
This solved the compilation problem.
Thanks
by William Van Hoecke
Mon Dec 18, 2023 11:20 pm
Forum: General Discussion
Topic: SpiderBasic 2.51 is available
Replies: 17
Views: 46245

Re: SpiderBasic 2.51 is available

Hello, To be able to recompile an old app to fit the android level 33 requirement I used JavaUninstallTool.exe to remove java 8. Then I ran jdk-11.0.19_windows-x64_bin.exe which ends with Java 11 installed succesfully. Now the spiderbasic compile blocks at 40% if I run JavaUninstallTool.exe again, i...
by William Van Hoecke
Thu Mar 23, 2023 1:27 am
Forum: Coding Questions
Topic: HTML button event
Replies: 4
Views: 1439

Re: HTML button event

Peter,
I have solved the problem, I can now call SB function from within the webgadget.
the window. object you suggested can direct to the parent like this
<button id='button1' onclick='window.parent.f_clicked(this.id)'>Alles Lezen</button>

Thanks
by William Van Hoecke
Thu Mar 23, 2023 12:48 am
Forum: Coding Questions
Topic: HTML button event
Replies: 4
Views: 1439

Re: HTML button event

Peter,
definitly an out of scope, I've put the javascript function within the html form in webgadget and then the alertbox pops up.
Still my problem remains... how do I call function in my SB code ??
by William Van Hoecke
Thu Mar 23, 2023 12:31 am
Forum: Coding Questions
Topic: HTML button event
Replies: 4
Views: 1439

Re: HTML button event

Thanks for the answer Peter,
Not sure what the window.buttonclicked = buttonclicked; is supposed to do and when it is called.
but ... it doesn't make any difference :(

Any other ideas
by William Van Hoecke
Wed Mar 22, 2023 5:54 pm
Forum: Coding Questions
Topic: HTML button event
Replies: 4
Views: 1439

HTML button event

Hello, I my program I use a webgadget() in which I load a htmlpage that contains a button like this <button id='button1' onclick='buttonclicked(this.id)'>Read All</button> I my program I also have als an inline javascript function like ! function buttonclicked(id) ! { ! alert('id'); ! } When I click...
by William Van Hoecke
Sat Mar 11, 2023 2:41 am
Forum: Bugs Reports
Topic: [Done] setclipboardtext()
Replies: 1
Views: 3805

[Done] setclipboardtext()

Hello,

Setclipboardtext() seems to be working in google chrome on windows desktop but not on android smartphone. Why is that.
Other apps seem to be using my android clipboard correctly.
by William Van Hoecke
Sun Oct 30, 2022 6:20 pm
Forum: Coding Questions
Topic: wrong list iteration
Replies: 2
Views: 848

Re: wrong list iteration

Peter ...No can do.... during a loop trough list_one, I only need to copy certain elements form list_one to list_two... Copylist however copies the entire list (according to documentation). currently i copy every single value of the structure like this List_two()\literal = List_one()\literal List_tw...
by William Van Hoecke
Wed Oct 26, 2022 9:54 pm
Forum: Coding Questions
Topic: wrong list iteration
Replies: 2
Views: 848

wrong list iteration

Hello, I upgraded to 2.40 beta 1 The following code is behaving strangly different and incorrect on every browser-page-refresh (F5) Am I doing something wrong here or could this be a bug ? Structure textstructure literal.s decoration.s enterflag.i EndStructure NewList list_one.textstructure() NewLis...