Search found 5 matches

by BarJo
Sun Jan 21, 2024 6:44 am
Forum: Coding Questions
Topic: Just a simple Syntax error
Replies: 4
Views: 2871

Re: Just a simple Syntax error



Hi jphoarau,

I am still a beginner with SpiderBasic, but I would have coded it like this:


Thanks for your answer. It makes me understand my mistake. A Structure can't be passed as Procedure parameter. It must be passed by pointer. I have found this with your help:


Structure Part
part ...
by BarJo
Fri Jan 19, 2024 4:39 am
Forum: Coding Questions
Topic: Just a simple Syntax error
Replies: 4
Views: 2871

Re: Just a simple Syntax error

Hi jphoarau,

I am still a beginner with SpiderBasic, but I would have coded it like this:

Structure Part
part_name.s
sound.b
hours.b
minuts.b
seconds.b
EndStructure

Structure Session
session_name.s
Array part_Array.Part(10)
EndStructure

Global Dim part_Array.Part(10)
Global session ...
by BarJo
Wed Jan 17, 2024 9:42 am
Forum: Tricks 'n' Tips
Topic: AddListener
Replies: 2
Views: 14417

Re: AddListener


I'm not sure, but I remember that playing sound keeps the app active.


Hello,

I don't know, but that would be quite strange.
So, in theory, it would be necessary to broadcast white noise to remain active.
Wouldn't this potentially pose a problem for other apps using sound?
Needs testing.
Thank ...
by BarJo
Tue Jan 16, 2024 11:56 am
Forum: Tricks 'n' Tips
Topic: AddListener
Replies: 2
Views: 14417

AddListener

Hi everyone,

I've been working a bit on a background application issue, made some progress, but it's not sufficient yet. I think I won't be able to complete my test entirely with SpiderBasic; it seems that the Android APIs are not accessible once the app is in the background. In my test, I ...
by BarJo
Tue Jan 16, 2024 11:54 am
Forum: Coding Questions
Topic: Foreground execution
Replies: 0
Views: 6079

Foreground execution

Hello everyone,

I just tested SpiderBasic (currently in the free version). I find it really good for developing mobile apps. However, during my tests, I encountered a problem for which I couldn't find a solution.

In my test, I created an app that retrieves GPS coordinates and transmits them to a ...