Search found 14 matches

by matalog
Thu Jul 10, 2025 8:17 pm
Forum: Coding Questions
Topic: Screenshot without security
Replies: 4
Views: 2668

Re: Screenshot without security


yes he wants to prevent users to take screenshots liek for example you can prohibit printing using css
Spiderbasic do NOT support it native, you MAY do it, up to a point using cordova overlay module, but need deep searching

however its not really possible to prevent it , you can only block normal ...
by matalog
Sun Jun 22, 2025 9:19 pm
Forum: Coding Questions
Topic: Screenshot without security
Replies: 4
Views: 2668

Screenshot without security

A few apps I use, now have a way of not allowing my phone to take a screenshot, it doesn't work through even reading the screen to PC, when the apps knows a screen shot is possible it doesn;t produce the screen.

Is there a way around this at all with spider basic? To copy the full screen at any ...
by matalog
Sun Mar 09, 2025 8:45 pm
Forum: Coding Questions
Topic: Numeric Entry Keypad
Replies: 5
Views: 12600

Re: Numeric Entry Keypad

Absolutely brilliant. Thank you.
by matalog
Sat Mar 08, 2025 10:20 pm
Forum: Coding Questions
Topic: Background app that is just a Day/Date.
Replies: 1
Views: 6941

Background app that is just a Day/Date.

I have an app that I always run in the background, and all it shows is the current day day, date and month on the top of the screen.

I Would much prefer to write my own Android app to do that.

Is it possible to have a SpiderBasic app run in the background on top of all (or as many as possible ...
by matalog
Sat Mar 08, 2025 6:54 pm
Forum: Coding Questions
Topic: Loading an image into an APP.
Replies: 1
Views: 6207

Loading an image into an APP.

Is there a way to load an image into an App, so that the seperate file doesn't need to be issued along with the App, it is already contained within?
by matalog
Sat Mar 08, 2025 6:53 pm
Forum: Coding Questions
Topic: Numeric Entry Keypad
Replies: 5
Views: 12600

Re: Numeric Entry Keypad


Sorry, but there is no pic, so maybe I'm wrong.

But if you want to open a special keypad on a mobile phone when clicking into a StringGadget, on Android a function like this works, if you call it with the ID-number of the StringGadget:

Procedure SetStringGadgetKeyboard(id.i, kbdt.u)
If kbdt ...
by matalog
Fri Mar 07, 2025 10:23 pm
Forum: Coding Questions
Topic: Numeric Entry Keypad
Replies: 5
Views: 12600

Numeric Entry Keypad

I have asked before, and just checking, there is no way to access this type of numeric keypad from SpiderBasic?

Image
by matalog
Fri Mar 07, 2025 9:41 pm
Forum: Coding Questions
Topic: Small example of StringGadget updating TextGadget?
Replies: 2
Views: 9214

Re: Small example of StringGadget updating TextGadget?


In SpiderBasic there is no event loop (WaitWindowEvent()). You have to query the events using Bind*Event().

EnableExplicit

Enumeration
#Window
#TextGadget
#StringGadget
EndEnumeration

Procedure StringGadgetEvent()

SetGadgetText(#TextGadget, GetGadgetText(#StringGadget))

EndProcedure ...
by matalog
Fri Mar 07, 2025 9:41 pm
Forum: Coding Questions
Topic: Screen Size
Replies: 1
Views: 6057

Screen Size

I'm using DPI Aware in Compiling options. Then run this program:

EnableExplicit
Enumeration
#Window
#TextGadget
#StringGadget
EndEnumeration
CloseDebugOutput()
Procedure StringGadgetEvent()
ExamineDesktops()
SetGadgetText(#TextGadget,Str(DesktopWidth(0))+" x "+Str(DesktopHeight(0 ...
by matalog
Thu Mar 06, 2025 11:14 pm
Forum: Coding Questions
Topic: Small example of StringGadget updating TextGadget?
Replies: 2
Views: 9214

Small example of StringGadget updating TextGadget?

I am trying to write a little Android program that converts numbers or something small to start with.

I am struggling to get Gadgets to continuously update like I would in PureBasic with:

Repeat
Event = WaitWindowEvent()

Select Event
Case #PB_Event_Gadget
Select EventGadget()
Case 1
; do ...