SpiderBasic 2.00 released !

Developed or developing a new product in PureBasic? Tell the world about it.
User avatar
Michael Vogel
Addict
Addict
Posts: 2666
Joined: Thu Feb 09, 2006 11:27 pm
Contact:

Re: SpiderBasic 2.00 released !

Post 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:
User avatar
nco2k
Addict
Addict
Posts: 1344
Joined: Mon Sep 15, 2003 5:55 am

Re: SpiderBasic 2.00 released !

Post 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
If OSVersion() = #PB_OS_Windows_ME : End : EndIf
User avatar
Michael Vogel
Addict
Addict
Posts: 2666
Joined: Thu Feb 09, 2006 11:27 pm
Contact:

Re: SpiderBasic 2.00 released !

Post 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.
Fred
Administrator
Administrator
Posts: 16617
Joined: Fri May 17, 2002 4:39 pm
Location: France
Contact:

Re: SpiderBasic 2.00 released !

Post by Fred »

You need to enable the debugger when creating the package, or sign it.
User avatar
Michael Vogel
Addict
Addict
Posts: 2666
Joined: Thu Feb 09, 2006 11:27 pm
Contact:

Re: SpiderBasic 2.00 released !

Post 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?
User avatar
netmaestro
PureBasic Bullfrog
PureBasic Bullfrog
Posts: 8425
Joined: Wed Jul 06, 2005 5:42 am
Location: Fort Nelson, BC, Canada

Re: SpiderBasic 2.00 released !

Post 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?
BERESHEIT
User avatar
Michael Vogel
Addict
Addict
Posts: 2666
Joined: Thu Feb 09, 2006 11:27 pm
Contact:

Re: SpiderBasic 2.00 released !

Post 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...
User avatar
Psychophanta
Addict
Addict
Posts: 4968
Joined: Wed Jun 11, 2003 9:33 pm
Location: Lípetsk, Russian Federation
Contact:

Re: SpiderBasic 2.00 released !

Post 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.
http://www.zeitgeistmovie.com

While world=business:world+mafia:Wend
Will never leave this forum until the absolute bugfree PB :mrgreen:
Fred
Administrator
Administrator
Posts: 16617
Joined: Fri May 17, 2002 4:39 pm
Location: France
Contact:

Re: SpiderBasic 2.00 released !

Post by Fred »

Why can't you register ? Please don't post coding question here, it's not the place for it, thank you.
dige
Addict
Addict
Posts: 1247
Joined: Wed Apr 30, 2003 8:15 am
Location: Germany
Contact:

Re: SpiderBasic 2.00 released !

Post 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."
"Daddy, I'll run faster, then it is not so far..."
Fred
Administrator
Administrator
Posts: 16617
Joined: Fri May 17, 2002 4:39 pm
Location: France
Contact:

Re: SpiderBasic 2.00 released !

Post by Fred »

That's wierd because other users could register.. Did you check you spam folder ?
User avatar
Psychophanta
Addict
Addict
Posts: 4968
Joined: Wed Jun 11, 2003 9:33 pm
Location: Lípetsk, Russian Federation
Contact:

Re: SpiderBasic 2.00 released !

Post 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.
http://www.zeitgeistmovie.com

While world=business:world+mafia:Wend
Will never leave this forum until the absolute bugfree PB :mrgreen:
User avatar
falsam
Enthusiast
Enthusiast
Posts: 630
Joined: Wed Sep 21, 2011 9:11 am
Location: France
Contact:

SpiderBasic 2.10 released !

Post by falsam »


➽ Windows 11 64-bit - PB 6.0 x64 - AMD Ryzen 7 - NVIDIA GeForce GTX 1650 Ti

Sorry for my bad english and the Dunning–Kruger effect.
User avatar
Kwai chang caine
Always Here
Always Here
Posts: 5342
Joined: Sun Nov 05, 2006 11:42 pm
Location: Lyon - France

Re: SpiderBasic 2.00 released !

Post 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:
ImageThe happiness is a road...
Not a destination
User avatar
falsam
Enthusiast
Enthusiast
Posts: 630
Joined: Wed Sep 21, 2011 9:11 am
Location: France
Contact:

Re: SpiderBasic 2.00 released !

Post 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

➽ Windows 11 64-bit - PB 6.0 x64 - AMD Ryzen 7 - NVIDIA GeForce GTX 1650 Ti

Sorry for my bad english and the Dunning–Kruger effect.
Post Reply