Search found 20 matches

by e2robot
Fri Apr 27, 2018 3:46 am
Forum: General Discussion
Topic: embed widget in webpage
Replies: 2
Views: 2488

Re: embed widget in webpage

Just use an iframe.

If done properly it can be reactive sized like the rest of the page.

Example

https://www.acomputer.com.au/contact.html

The contact form is a spiderbasic app.
by e2robot
Wed Aug 23, 2017 5:24 am
Forum: Coding Questions
Topic: GetActiveGadget compiles without ()
Replies: 2
Views: 2543

GetActiveGadget compiles without ()

Enumeration #window #button1 EndEnumeration Procedure button_pressed() Debug GetActiveGadget EndProcedure OpenWindow(#window,10,10,200,200,"TEST") ButtonGadget(#button1,20,20,30,20,"GO") BindGadgetEvent(#button1,@button_pressed(),#PB_EventType_LeftClick) The above compiles but d...
by e2robot
Wed Aug 23, 2017 5:21 am
Forum: Coding Questions
Topic: Callback compiles without ()
Replies: 4
Views: 2971

Callback compiles without ()

Enumeration #window #button1 EndEnumeration Procedure button_pressed() Debug "Pressed" EndProcedure OpenWindow(#window,10,10,200,200,"TEST") ButtonGadget(#button1,20,20,30,20,"GO") BindGadgetEvent(#button1,@button_pressed,#PB_EventType_LeftClick) The above will compile...
by e2robot
Mon May 15, 2017 2:07 am
Forum: Javascript
Topic: Messi - nice popup library
Replies: 6
Views: 4582

Re: Messi - nice popup library

You can easily save a copy of the external JS library locally and link to local copy Just go to http://messijs.github.io/MessiJS/javascripts/messi.js Cut and paste all the content into a js file stored on your web server instead. Adjust your Spiderbasic program to load local js file. Regards, Phil
by e2robot
Sun Mar 26, 2017 9:51 am
Forum: Javascript
Topic: Messi - nice popup library
Replies: 6
Views: 4582

Messi - nice popup library

http://messijs.github.io/MessiJS/demos/ Simple example (does 4 example popups) !$("head").append("<link rel='stylesheet' type='text/css' href='http://messijs.github.io/MessiJS/stylesheets/messi.css' />"); !$.getScript("http://messijs.github.io/MessiJS/javascripts/messi.js&q...
by e2robot
Sun Nov 06, 2016 7:54 am
Forum: Tricks 'n' Tips
Topic: How to sign a release APK
Replies: 20
Views: 53695

Re: SB 2.00 Beta 4 - APK corrupt unless debugger enabled

Thanks for the detailed instructions !

Working fine now.

Just in case anyone misses it. The alias_name in the jarsigner step is the alias you specified in keytool step. In this case it's app

Regards,
Phil
by e2robot
Sun Nov 06, 2016 1:06 am
Forum: Tricks 'n' Tips
Topic: How to sign a release APK
Replies: 20
Views: 53695

How to sign a release APK

Not sure if anyone else has this strange issue.

Unless I include the debugger when creating APK, I get an APK corrupt error when installing to Nexus 5X running 7.0

Same happened with Beta 2.

regards,
Phil
by e2robot
Sun Nov 06, 2016 12:30 am
Forum: Coding Questions
Topic: APK and cross domain request issue
Replies: 3
Views: 2170

Re: APK and cross domain request issue

Very interesting

Hopefully this could be added as a compiler option ?

Thanks
Phil
by e2robot
Sat Nov 05, 2016 9:33 am
Forum: Coding Questions
Topic: APK and cross domain request issue
Replies: 3
Views: 2170

APK and cross domain request issue

I have a working web app that does a http request to run some cgi. I converted it to an APK and it runs up on phone. However the http request fails. I can get it to work by changing the apache server hosting the cgi to allow cross site requests Add in mod_headers.so and in Directory section add Head...
by e2robot
Sat Apr 30, 2016 2:33 am
Forum: General Discussion
Topic: How popular is SpiderBasic
Replies: 5
Views: 3527

Re: How popular is SpiderBasic

I can't say how popular it is but I have used it for a couple of "real world" projects. I use either purebasic or python for cgi back end. Sign control system. Used to control a PC based digital sign system. Includes WOL starting of PCs, shutdown and refreshing playlist after new content u...