Page 2 of 3

Re: SpiderBasic 2.00 released !

Posted: Thu Dec 08, 2016 6:29 pm
by Michael Vogel
Hm,

I would be interested to transfer some of my Purebasic sources to work on android devices, just thought about buying B4A, now I was hoping, that SpiderBasic could be an alternative...
...but after doing some first steps I'm not very optimistic, a mini demo (which works fine within the local web browser) results in a 25 MB large android apk file which can't be installed on my android devices (unknown package). :cry:

Re: SpiderBasic 2.00 released !

Posted: Thu Dec 08, 2016 7:52 pm
by nco2k
for security reasons, you can only install apps directly from googles play store. if you want to test your app, you have to go to your phones setting and allow apps from unknown sources or use an emulator.

c ya,
nco2k

Re: SpiderBasic 2.00 released !

Posted: Fri Dec 09, 2016 12:11 am
by Michael Vogel
nco2k wrote:for security reasons, you can only install apps directly from googles play store. if you want to test your app, you have to go to your phones setting and allow apps from unknown sources or use an emulator.
no, it has nothing to do with the security settings, I get a message, that the package can't be parsed. The compiler path for the JDK has been set identical as I did for B4A, which did create a working apk.

Re: SpiderBasic 2.00 released !

Posted: Fri Dec 09, 2016 7:49 am
by Fred
You need to enable the debugger when creating the package, or sign it.

Re: SpiderBasic 2.00 released !

Posted: Fri Dec 09, 2016 10:14 am
by Michael Vogel
Fred wrote:You need to enable the debugger when creating the package, or sign it.
Oh, thanks Fred,

I thought, the checked "Use Debugger" in the debugger menu (and the compiler options) would do this already. Now I've signed the package and I could see the first pure (!) window on my tablet. :lol: So SpiderBasic is may be the right choice for me, as converting existing code should be much easier.

Now I will do a small project to check, if the app will run speed enough for a good user experience. Thank you for offering a demo version, this helps quite a lot to check SpiderBasic! I'm still a little bit nervous about the large file size of the compiled result - maybe more optimized results could be expected in the future?

Re: SpiderBasic 2.00 released !

Posted: Fri Dec 09, 2016 10:42 am
by netmaestro
maybe more optimized results could be expected in the future?
He said the product is young for now.
You're talking to Fred.
Creator of PureBasic.
Do you really have to ask?

Re: SpiderBasic 2.00 released !

Posted: Fri Dec 09, 2016 3:25 pm
by Michael Vogel
netmaestro wrote:
maybe more optimized results could be expected in the future?
He said the product is young for now.
You're talking to Fred.
Creator of PureBasic.
Do you really have to ask?
Yes and no...
We all know, Fred is brilliant and PureBasic's evolution has brought to us a fabolous all-in-one programmer's package. On the other hand, no PureBasic version has produced a "hello world" executable of 25 mega bytes size. So I really don't know, if SpiderBasic could remove unused libs or whatever to reduce the size of an android apk in the future and that's why I've asked...

Re: SpiderBasic 2.00 released !

Posted: Mon Dec 12, 2016 7:44 pm
by Psychophanta
Hi, I can not register in the SB forum and i found 2 issues:

Code: Select all

  ; Create xml tree
  xml = CreateXML(#PB_Any) 
  mainNode = CreateXMLNode(RootXMLNode(xml), "Zoo") 
  
  ; Create first xml node (in main node)
  item = CreateXMLNode(mainNode, "Animal") 
  SetXMLAttribute(item, "id", "1") 
  SetXMLNodeText(item, "Elephant") 
  
  ; Create second xml node (in main node)
  item = CreateXMLNode(mainNode, "Animal") 
  SetXMLAttribute(item, "id", "2") 
  SetXMLNodeText(item, "Tiger") 
  
  ; Display the xml
  Debug ComposeXML(xml)
with this code i get:
<Zoo><Animal id="2">Tiger</Animal><Animal id="1">Elephant</Animal></Zoo>
which is not correct.

And in the "Pointers and memory access" section in the manual is written this code:

Code: Select all

  Text$ = "Hello"
  *Text = @Text$            ; *Text store the address of the string in memory
  *Pointer.String = @*Text  ; *Pointer points on *Text
  Debug *Pointer\s          ; Display the string living at the address stored in *Pointer (i.e. @Text$)

which is not valid due to the fact that SP does not allow string pointers using '@' as prefix.

Re: SpiderBasic 2.00 released !

Posted: Tue Dec 13, 2016 7:33 am
by Fred
Why can't you register ? Please don't post coding question here, it's not the place for it, thank you.

Re: SpiderBasic 2.00 released !

Posted: Tue Dec 13, 2016 3:18 pm
by dige
Fred wrote:Why can't you register ? Please don't post coding question here, it's not the place for it, thank you.
Dear Fred, there seems to be an issue with the spiderbasic forum. I've also tried to register, 4 weeks ago, but have never got the activation email.

My status is: "The specified username is currently inactive. If you have problems activating your account, please contact a board administrator."

Re: SpiderBasic 2.00 released !

Posted: Tue Dec 13, 2016 3:23 pm
by Fred
That's wierd because other users could register.. Did you check you spam folder ?

Re: SpiderBasic 2.00 released !

Posted: Fri Dec 16, 2016 2:08 pm
by Psychophanta
Fred wrote:Why can't you register ?
I think it is related to slow connections.
EDIT:
Confirmed here: activation email for login never arrives.

SpiderBasic 2.10 released !

Posted: Tue Jul 04, 2017 10:33 pm
by falsam

Re: SpiderBasic 2.00 released !

Posted: Mon Jul 17, 2017 10:14 am
by Kwai chang caine
Don't works better, behind a proxy, the APK creation is locked at 40% :|

Already ask this question in april without answer :shock:
http://forums.spiderbasic.com/viewtopic ... roxy#p3903

The only thing i can say for the moment about SB, the forum is not also reactive than PB forum :mrgreen:
I wait again the futur version, perhaps i have a day an answer, for my history of PROXY :lol:

Re: SpiderBasic 2.00 released !

Posted: Mon Jul 17, 2017 8:18 pm
by falsam
Kwai chang caine wrote:The only thing i can say for the moment about SB, the forum is not also reactive than PB forum
The new version 2.10 is available for more than 15 days

http://forums.spiderbasic.com/viewtopic.php?p=4230#p423

French Forum : http://www.purebasic.fr/french/viewtopi ... =9&t=16642

It is up to you to test and to be reactive with your comments.

New features :
- Added: Accelerometer library
- Added: Geolocation library
- Added: InAppPurchase support for iOS
- Added: BatteryLevel(), SystemInfo(), VibrateDevice()
- Added: #PB_String_PlaceHolder flag to StringGadget() to set a placeholder at creation
- Added: #PB_Event_SizeDesktop event to monitor a desktop resize without having a background window
- Added: ResizeScreen() to resize an already created screen
- Added: Cordova command can be executed via Import/EndImport
- Added: Android app is immediately run on the device once deployed

- Changed: reworked the InAppPurchase library

- Changed: switched from crosswalk to cordova on Windows for Android.
- :idea: NOTE: cordova requires internet connection to build an app.

- Optimized: Android app size is now much smaller (1,5 MB instead of 20 MB)

- Removed: TouchRadiusX() and TouchRadiusY() as it was only working on FireFox