Unfortunately, this is not possible with pure Javascript due to browser security restrictions.
However, you can offer files to the user for download and the user can then store them in Documents.
If you are building your project as a hybrid app, it could possibly work via Cordova plugins ...
Search found 313 matches
- Tue Apr 29, 2025 7:49 am
- Forum: Javascript
- Topic: Make a backup in File Documents under Android
- Replies: 2
- Views: 40951
- Thu Mar 13, 2025 10:42 am
- Forum: Coding Questions
- Topic: Upload an image
- Replies: 9
- Views: 22865
Re: Upload an image
Hello Stefan,
what exactly do you want to do?
Is it enough for you to upload a file somewhere with the WebClient (SpiderBasic)?
Or do you also need the server-side processing? So with Purebasic and CGI for example?
what exactly do you want to do?
Is it enough for you to upload a file somewhere with the WebClient (SpiderBasic)?
Or do you also need the server-side processing? So with Purebasic and CGI for example?
- Wed Jan 22, 2025 8:55 am
- Forum: Coding Questions
- Topic: Runprogram
- Replies: 8
- Views: 17410
Re: Runprogram
Yes indeed. I only use RunProgram() to open an external web page in the browser...
- Wed Jan 22, 2025 8:53 am
- Forum: Coding Questions
- Topic: image size changed with ver 3.0
- Replies: 3
- Views: 9352
Re: image size changed with ver 3.0
I once read somewhere that SB is now dpi aware.
- Wed Jan 22, 2025 8:50 am
- Forum: Coding Questions
- Topic: Runprogram
- Replies: 8
- Views: 17410
Re: Runprogram
I can't remember where I got it. I suspect that Master Kiffi once posted it.
Procedure RunProgram(Filename.s, Parameter.s = "")
! if (v_parameter != "") {
! var win = window.open(v_filename, v_parameter);
! win.focus();
! } else {
! window.open(v_filename);
! }
EndProcedure
Procedure RunProgram(Filename.s, Parameter.s = "")
! if (v_parameter != "") {
! var win = window.open(v_filename, v_parameter);
! win.focus();
! } else {
! window.open(v_filename);
! }
EndProcedure
- Wed Dec 11, 2024 7:26 am
- Forum: Coding Questions
- Topic: Possibility question ...
- Replies: 14
- Views: 22432
Re: Possibility question ...
To achieve good location accuracy, a good smartphone is needed and signals outside an accuracy limit should be filtered out. It would also be better to combine several values and get the averages. Accuracy improves in open environments and time should be allowed to get good signals (accuracy is ...
- Tue Dec 10, 2024 11:53 am
- Forum: Coding Questions
- Topic: Possibility question ...
- Replies: 14
- Views: 22432
Re: Possibility question ...
Interesting project, please keep us up to date here :)
@Caronte3D: Did you build this with the new MobileUI? It looks very promising.
What exactly are you doing with it?
I'm also in the process of building a tool for my motorcycle tours.
But my intention is going in a slightly different ...
@Caronte3D: Did you build this with the new MobileUI? It looks very promising.
What exactly are you doing with it?
I'm also in the process of building a tool for my motorcycle tours.
But my intention is going in a slightly different ...
- Tue Oct 29, 2024 2:31 pm
- Forum: General Discussion
- Topic: Can I create Desktop apps?
- Replies: 13
- Views: 56213
Re: Can I create Desktop apps?
In my opinion, it is difficult to create an application with a modern look and feel with Purebasic.
Therefore, if performance is not so important, it might be a good idea to build a WebApp and create it as an app, as described above.
Also not to be underestimated, the huge pool of JavaScript freely ...
Therefore, if performance is not so important, it might be a good idea to build a WebApp and create it as an app, as described above.
Also not to be underestimated, the huge pool of JavaScript freely ...
- Thu Oct 24, 2024 6:15 pm
- Forum: General Discussion
- Topic: Can I create Desktop apps?
- Replies: 13
- Views: 56213
Re: Can I create Desktop apps?
I think I once saw something from Peter on how to turn Spiderbasic apps into desktop apps with NodeJs. It looked very simple. But unfortunately I don't have a link to it.
- Mon Oct 21, 2024 7:44 am
- Forum: Coding Questions
- Topic: resizeimage() make very blurry images
- Replies: 7
- Views: 11627
Re: resizeimage() make very blurry images
Just a thought: have you activated dpi aware?