SpiderBasic 2.00 released !
- Michael Vogel
- Addict
- Posts: 2666
- Joined: Thu Feb 09, 2006 11:27 pm
- Contact:
Re: SpiderBasic 2.00 released !
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).
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).
Re: SpiderBasic 2.00 released !
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
c ya,
nco2k
If OSVersion() = #PB_OS_Windows_ME : End : EndIf
- Michael Vogel
- Addict
- Posts: 2666
- Joined: Thu Feb 09, 2006 11:27 pm
- Contact:
Re: SpiderBasic 2.00 released !
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.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.
Re: SpiderBasic 2.00 released !
You need to enable the debugger when creating the package, or sign it.
- Michael Vogel
- Addict
- Posts: 2666
- Joined: Thu Feb 09, 2006 11:27 pm
- Contact:
Re: SpiderBasic 2.00 released !
Oh, thanks Fred,Fred wrote:You need to enable the debugger when creating the package, or sign it.
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. 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?
- netmaestro
- PureBasic Bullfrog
- Posts: 8425
- Joined: Wed Jul 06, 2005 5:42 am
- Location: Fort Nelson, BC, Canada
Re: SpiderBasic 2.00 released !
He said the product is young for now.maybe more optimized results could be expected in the future?
You're talking to Fred.
Creator of PureBasic.
Do you really have to ask?
BERESHEIT
- Michael Vogel
- Addict
- Posts: 2666
- Joined: Thu Feb 09, 2006 11:27 pm
- Contact:
Re: SpiderBasic 2.00 released !
Yes and no...netmaestro wrote:He said the product is young for now.maybe more optimized results could be expected in the future?
You're talking to Fred.
Creator of PureBasic.
Do you really have to ask?
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...
- Psychophanta
- Addict
- Posts: 4975
- Joined: Wed Jun 11, 2003 9:33 pm
- Location: Lípetsk, Russian Federation
- Contact:
Re: SpiderBasic 2.00 released !
Hi, I can not register in the SB forum and i found 2 issues:
with this code i get:
And in the "Pointers and memory access" section in the manual is written this code:
which is not valid due to the fact that SP does not allow string pointers using '@' as prefix.
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)
which is not correct.<Zoo><Animal id="2">Tiger</Animal><Animal id="1">Elephant</Animal></Zoo>
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$)
http://www.zeitgeistmovie.com
While world=business:world+mafia:Wend
Will never leave this forum until the absolute bugfree PB
While world=business:world+mafia:Wend
Will never leave this forum until the absolute bugfree PB
Re: SpiderBasic 2.00 released !
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 !
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.Fred wrote:Why can't you register ? Please don't post coding question here, it's not the place for it, thank you.
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..."
Re: SpiderBasic 2.00 released !
That's wierd because other users could register.. Did you check you spam folder ?
- Psychophanta
- Addict
- Posts: 4975
- Joined: Wed Jun 11, 2003 9:33 pm
- Location: Lípetsk, Russian Federation
- Contact:
Re: SpiderBasic 2.00 released !
I think it is related to slow connections.Fred wrote:Why can't you register ?
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
While world=business:world+mafia:Wend
Will never leave this forum until the absolute bugfree PB
SpiderBasic 2.10 released !
➽ 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.
- Kwai chang caine
- Always Here
- Posts: 5342
- Joined: Sun Nov 05, 2006 11:42 pm
- Location: Lyon - France
Re: SpiderBasic 2.00 released !
Don't works better, behind a proxy, the APK creation is locked at 40%
Already ask this question in april without answer
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
I wait again the futur version, perhaps i have a day an answer, for my history of PROXY
Already ask this question in april without answer
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
I wait again the futur version, perhaps i have a day an answer, for my history of PROXY
The happiness is a road...
Not a destination
Not a destination
Re: SpiderBasic 2.00 released !
The new version 2.10 is available for more than 15 daysKwai chang caine wrote:The only thing i can say for the moment about SB, the forum is not also reactive than PB forum
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.
- 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.