I have a similar error trying to create a .apk:
... You have been opted out of telemetry. To change this, run: cordova telemetry on.
Error failed to fetch platform Android...
The guest machine has not internet. I understand I should install some packages on it?
Search found 29 matches
- Mon Oct 23, 2017 3:06 am
- Forum: General Discussion
- Topic: Cordova online telemetry
- Replies: 11
- Views: 15021
- Tue Oct 10, 2017 3:41 pm
- Forum: Coding Questions
- Topic: ReadFile oddities - synchronous, open specific local file
- Replies: 9
- Views: 7543
Re: ReadFile oddities - synchronous, open specific local fil
You mean we cannot access random local files but we can if they are JSON formatted (which does not even have a magic header?). I am stunned, it would make no sense
And in fact, I may be wrong, but the manual seems to indicate using a procedure which is part of the Requester library:
Filename ...
And in fact, I may be wrong, but the manual seems to indicate using a procedure which is part of the Requester library:
Filename ...
- Tue Oct 10, 2017 3:33 pm
- Forum: Coding Questions
- Topic: ReadFile oddities - synchronous, open specific local file
- Replies: 9
- Views: 7543
Re: ReadFile oddities - synchronous, open specific local fil
perhaps your Json-File with LoadJson()?
You mean we cannot access random local files but we can if they are JSON formatted (which does not even have a magic header?). I am stunned, it would make no sense
btw.: what is a 'blit'?
It's when you dump a piece of memory (low level) that you can ...
You mean we cannot access random local files but we can if they are JSON formatted (which does not even have a magic header?). I am stunned, it would make no sense
btw.: what is a 'blit'?
It's when you dump a piece of memory (low level) that you can ...
- Tue Oct 10, 2017 1:37 pm
- Forum: Coding Questions
- Topic: ReadFile oddities - synchronous, open specific local file
- Replies: 9
- Views: 7543
Re: ReadFile oddities - synchronous, open specific local fil
At the moment, I thought that the best solution seems to embed a JSON literal with IncludeFile.
Am I missing anything? Are there better ideas?
I would love to access the blit of an array of structures, but never tried even in PB...
I would also like to free the memory of source literal objects ...
Am I missing anything? Are there better ideas?
I would love to access the blit of an array of structures, but never tried even in PB...
I would also like to free the memory of source literal objects ...
- Tue Oct 10, 2017 1:23 pm
- Forum: Feature Requests and Wishlists
- Topic: Microserver embedded?
- Replies: 2
- Views: 4188
Re: Microserver embedded?
For mobile app, there is cordova libs to access the file system. For browser app, it needs to connect to a remote server, SB is not designed to run offline (but you can use NodeJS if you absolutely wants to access local data but then why not using PureBasic to create a real app).
Fantastic - but ...
Fantastic - but ...
- Tue Oct 10, 2017 8:42 am
- Forum: Feature Requests and Wishlists
- Topic: Microserver embedded?
- Replies: 2
- Views: 4188
Microserver embedded?
What do you think, Fred? Amongst the solutions to access local data (file, DB), maybe you can serve them on a 127.0.0.1:12345 ! Dubious on desktop, possibly a solution on mobile.
I wrote on http://forums.spiderbasic.com/viewtopic.php?f=6&t=1329&p=4609#p4609
EDIT: unless SB packs a minimal, maybe ...
I wrote on http://forums.spiderbasic.com/viewtopic.php?f=6&t=1329&p=4609#p4609
EDIT: unless SB packs a minimal, maybe ...
- Tue Oct 10, 2017 8:36 am
- Forum: Coding Questions
- Topic: ReadFile oddities - synchronous, open specific local file
- Replies: 9
- Views: 7543
Re: ReadFile oddities - synchronous, open specific local fil
How can one load data into the application? With Php :
https://www.spiderbasic.com/documentation/http/httprequest.html
Sorry, I don't get it... Do you mean using a network server? It is totally overkill. This approach would restrict SB to client-server applications. To use SB for local ...
https://www.spiderbasic.com/documentation/http/httprequest.html
Sorry, I don't get it... Do you mean using a network server? It is totally overkill. This approach would restrict SB to client-server applications. To use SB for local ...
- Tue Oct 10, 2017 8:23 am
- Forum: General Discussion
- Topic: Call SB Procedure with JavaScript
- Replies: 4
- Views: 5990
Re: Call SB Procedure with JavaScript
Absolutely, it's ok to have the optimizer working but we need a good solution to force the compilation of a procedure meant to be called with "inline JS".Peter wrote:i think it's more elegant when Declare do the Job:
Declare MyProcedure()
- Mon Oct 09, 2017 10:26 pm
- Forum: Coding Questions
- Topic: ReadFile oddities - synchronous, open specific local file
- Replies: 9
- Views: 7543
Re: ReadFile oddities - synchronous, open specific local fil
Not even `IncludeBinary` is there...
If the limitation is because of the JS concept of running in a browser from random web pages hence need for security, instead of being code run from a trusted application, well, then JS is not enough. It must be "patched" and augmented with the needed bits of ...
If the limitation is because of the JS concept of running in a browser from random web pages hence need for security, instead of being code run from a trusted application, well, then JS is not enough. It must be "patched" and augmented with the needed bits of ...
- Mon Oct 09, 2017 10:00 pm
- Forum: Coding Questions
- Topic: ReadFile oddities - synchronous, open specific local file
- Replies: 9
- Views: 7543
ReadFile oddities - synchronous, open specific local file
I am having problems with ReadFile():
1) I need it to be synchronous: it opens a file for reading, I process it, and the main process does not continue until the operation is done. Instead, I get to use a callback...
2) the manual says « OpenFileRequester()() needs to be called before to have ...
1) I need it to be synchronous: it opens a file for reading, I process it, and the main process does not continue until the operation is done. Instead, I get to use a callback...
2) the manual says « OpenFileRequester()() needs to be called before to have ...