Tey this Caronte's answer a few post below has an example
viewtopic.php?t=2748&hilit=Cordova+file
Search found 262 matches
- Sun Aug 10, 2025 8:55 am
- Forum: Coding Questions
- Topic: backup in the "Documents" folder with a Cordova plugin.
- Replies: 3
- Views: 218
- Sun Aug 10, 2025 4:43 am
- Forum: Coding Questions
- Topic: backup in the "Documents" folder with a Cordova plugin.
- Replies: 3
- Views: 218
Re: backup in the "Documents" folder with a Cordova plugin.
the problem is that local access to files, has been cut out to browsers since decades.
the reason was malware issues!
you can do it with cordova plugin, but you need to compile the app.
Currently SpiderBasic has build in support for android/ios easy creation, you can compile for windows 8/10 app ...
the reason was malware issues!
you can do it with cordova plugin, but you need to compile the app.
Currently SpiderBasic has build in support for android/ios easy creation, you can compile for windows 8/10 app ...
- Wed Jun 25, 2025 6:22 pm
- Forum: Coding Questions
- Topic: Screenshot without security
- Replies: 4
- Views: 2681
Re: Screenshot without security
yes he wants to prevent users to take screenshots liek for example you can prohibit printing using css
Spiderbasic do NOT support it native, you MAY do it, up to a point using cordova overlay module, but need deep searching
however its not really possible to prevent it , you can only block normal ...
Spiderbasic do NOT support it native, you MAY do it, up to a point using cordova overlay module, but need deep searching
however its not really possible to prevent it , you can only block normal ...
- Sun May 18, 2025 7:33 pm
- Forum: Coding Questions
- Topic: Webserial API with Chrome (serial port access)
- Replies: 4
- Views: 5065
Re: Webserial API with Chrome (serial port access)
very nice ! thanx for sharing
have no sensor to test but good o have examples around
have no sensor to test but good o have examples around

- Sun May 18, 2025 5:51 am
- Forum: Coding Questions
- Topic: Webserial API with Chrome (serial port access)
- Replies: 4
- Views: 5065
Re: Webserial API with Chrome (serial port access)
yes i have try once and worked
-> viewtopic.php?t=2620
-> viewtopic.php?t=2620
- Thu Mar 27, 2025 8:19 pm
- Forum: General Discussion
- Topic: Publishing on website instructions?
- Replies: 8
- Views: 30588
Re: Publishing on website instructions?
you cant direct access local drive files in a webbrowser (like a purebasic program can)
you can only use filerequest to let user to specifically use and open first ! (security shit)
you can only use filerequest to let user to specifically use and open first ! (security shit)
- Thu Mar 20, 2025 8:42 am
- Forum: Coding Questions
- Topic: Read all files in a directory
- Replies: 4
- Views: 12311
Re: Read all files in a directory
Http request has an example ,
Procedure HttpGetEvent(Success, Result$, UserData)
If Success
Debug Result$
Else
Debug "HTTPRequest(): Error"
EndIf
EndProcedure
; Get the content of this file, and display it in the debug window
;
HTTPRequest(#PB_HTTP_Get, "http://www.stefan.com ...
Procedure HttpGetEvent(Success, Result$, UserData)
If Success
Debug Result$
Else
Debug "HTTPRequest(): Error"
EndIf
EndProcedure
; Get the content of this file, and display it in the debug window
;
HTTPRequest(#PB_HTTP_Get, "http://www.stefan.com ...
- Thu Mar 20, 2025 1:42 am
- Forum: Coding Questions
- Topic: Read all files in a directory
- Replies: 4
- Views: 12311
Re: Read all files in a directory
php code runs in a webserver, so this code must located in webserver , you call like any other page i.e
if for example i want to execute an example.php script located in webserver
HTTPRequest(#PB_HTTP_Get, "http://www.stefan.com/example.php, "", @callbackHttpGetEvent())
callback will receive php ...
if for example i want to execute an example.php script located in webserver
HTTPRequest(#PB_HTTP_Get, "http://www.stefan.com/example.php, "", @callbackHttpGetEvent())
callback will receive php ...
- Thu Mar 20, 2025 1:38 am
- Forum: Coding Questions
- Topic: data exchange between 2 apps
- Replies: 1
- Views: 5862
Re: data exchange between 2 apps
yes
however the easiest by far method , is to use an external server (webserver or whatever) so both apps talk vai this intermediate server
then use WebSocket lib or even httprequest..
however the easiest by far method , is to use an external server (webserver or whatever) so both apps talk vai this intermediate server
then use WebSocket lib or even httprequest..
- Mon Mar 17, 2025 9:40 pm
- Forum: Coding Questions
- Topic: WebGadget: Fetch Page Title
- Replies: 8
- Views: 51762
Re: WebGadget: Fetch Page Title
are you in the same domain ?
i.e upload you script to techmas.com/script AND requesting a techmas.com/xxx page ?
because thats the only that works due to CORS
i.e upload you script to techmas.com/script AND requesting a techmas.com/xxx page ?
because thats the only that works due to CORS