Search found 25 matches

by hoerbie
Fri Apr 22, 2022 2:21 pm
Forum: Bugs Reports
Topic: error when compiling
Replies: 9
Views: 1612

Re: error when compiling

Never had this problem, but I only load all graphics from server to the app when its starting.

Did you try different settings under "Preferences" -> "Compiler" -> "Default" of the "Sourcefile Text encoding" and "Sourcefile Newline format" ?
by hoerbie
Fri Apr 22, 2022 2:15 pm
Forum: Bugs Reports
Topic: SB IDE Crash (MacOS X - x64, Monterey 12.3)
Replies: 1
Views: 589

Re: SB IDE Crash (MacOS X - x64, Monterey 12.3)

I hope, that this will be fixed with the next update, whenever it will be published, because PureBasic had the same errors, and the PB6.0 Beta6 is a lot more stable. And for Fred: When you are fixing this, please also have a look at the other IDE updates of PB, for example the Scintilla problems wit...
by hoerbie
Fri Apr 22, 2022 2:08 pm
Forum: Bugs Reports
Topic: Android compile error - DeviceInfo(*) and new cordova-plugin-device?
Replies: 5
Views: 1408

Re: Android compile error - DeviceInfo(*) and new cordova-plugin-device?

DeviceAlwaysOn() also made the compile of another app stop with the same error. And I don't use the following, but from my instinct have a look at other system near functions like DeviceBrightness() or VibrateDevice() or BatteryLevel(), or functions that use different cordova plugins like Accelerome...
by hoerbie
Thu Apr 21, 2022 7:42 pm
Forum: Bugs Reports
Topic: Android compile error - DeviceInfo(*) and new cordova-plugin-device?
Replies: 5
Views: 1408

Re: Android compile error - DeviceInfo(*) and new cordova-plugin-device?

Hi, with some testing I found a workaround, until the DeviceInfo() function will maybe fixed by Fred in some years. ;) :cry: When i comment out every use of DeviceInfo(), import an older version of the cordova-device-plugin and use my own functions, I can compile: Import "cordova plugin add cor...
by hoerbie
Sat Apr 16, 2022 9:07 pm
Forum: Bugs Reports
Topic: Android compile error - DeviceInfo(*) and new cordova-plugin-device?
Replies: 5
Views: 1408

Android compile error - DeviceInfo(*) and new cordova-plugin-device?

Hi, since some days I get the error: Fetching plugin "cordova-plugin-device" via npm Installing "cordova-plugin-device" for android Error: code: engine.platform or engine.scriptSrc is not defined in custom engine "cordova-electron" from plugin "cordova-plugin-devic...
by hoerbie
Wed Dec 15, 2021 8:19 am
Forum: Coding Questions
Topic: delete cache
Replies: 14
Views: 2202

Re: delete cache

William, I think you can use the htaccess way also to stop caching of the SB .js file of Peters tip. If the SB .js file is in the same directory as the .html file, then the first block of my last post should help (but maybe is to much). Or you simply can make a second "Files" block for the...
by hoerbie
Tue Dec 14, 2021 8:18 am
Forum: Coding Questions
Topic: delete cache
Replies: 14
Views: 2202

Re: delete cache

Hi, what web server do you use? If it is Apache, you could stop caching for your app-html with a .htaccess file. The following stops every caching for all files in the dir, where you put the .htaccess in. <IfModule mod_headers.c> Header set Cache-Control "max-age=0, no-cache, no-store, must-rev...
by hoerbie
Wed Dec 08, 2021 11:37 am
Forum: Feature Requests and Wishlists
Topic: Creating apps with Capacitor
Replies: 1
Views: 3736

Re: Creating apps with Capacitor

Hi Dirk, may I ask, on what information your "Cordova is no longer being developed" is based? Some big players like Adobe und Microsoft stop their engagement and support, but Cordova seems to still be developed, if you take a look at Github. But I have to thank you a lot for the hint to Ca...
by hoerbie
Wed Oct 20, 2021 8:06 am
Forum: Coding Questions
Topic: Gadget scrolling down
Replies: 13
Views: 6054

Re: Gadget scrolling down

Thanks to Kurzer for the tip with scrollTop for scrolling down. It worked well, when the ListIconGadget was fully populated before, like in the above example when clicking the button. But I had the problem, that it didn't work when opening a new window with the ListIconGadget, filling it with AddGad...
by hoerbie
Thu Sep 16, 2021 4:33 pm
Forum: Coding Questions
Topic: Detect swipe on Gadgets?
Replies: 0
Views: 1050

Detect swipe on Gadgets?

Hi, is there any trick to get info of a swipe on a line of a ListViewGadget or ListIconGadget, on a ButtonGadget? And as the CanvasGadget doesn't work correctly when more than one CanvasGadget exists or the CanvasGadget is in an window with #PB_Window_BorderLess (see bug reports https://forums.spide...