Search found 67 matches

by hoerbie
Thu Mar 21, 2024 12:47 pm
Forum: Coding Questions
Topic: Constant visibility.
Replies: 3
Views: 172

Re: Constant visibility.

I think the include of file2 has to be below of the enumeration (declaration) of the constant for window 1
by hoerbie
Mon Mar 18, 2024 7:07 pm
Forum: Coding Questions
Topic: How to program the system back button on an Android device
Replies: 6
Views: 255

Re: How to program the system back button on an Android device

Hi, please try something like the following: Procedure BindCordovaEvent(Event.s, *Callback) !document.addEventListener(v_event, p_callback); EndProcedure Procedure back_event() Debug "CordovaEvent: back" EndProcedure Procedure volumeup_event() Debug "CordovaEvent: volume up" EndP...
by hoerbie
Fri Mar 15, 2024 9:45 pm
Forum: Coding Questions
Topic: How to program the system back button on an Android device
Replies: 6
Views: 255

Re: How to program the system back button on an Android device

Hi,
I can check my codes next week, when I‘m back in office. But until now I only use this to disable all buttons on Android.
by hoerbie
Thu Mar 14, 2024 5:52 pm
Forum: Coding Questions
Topic: How to program the system back button on an Android device
Replies: 6
Views: 255

Re: How to program the system back button on an Android device

Have a look in the docs on BindCordovaEvent("backbutton", @yourcallback())
by hoerbie
Thu Oct 12, 2023 6:22 pm
Forum: Bugs Reports
Topic: 2.50/2.51b1 Android apk, http no longer works
Replies: 7
Views: 7326

Re: 2.50 Android apk, http no longer works

Sorry Fred, http still doesn't work in my apps. With 2.51 Beta 1 we are one step further, because now I see in my PB server an "OPTIONS /path/file..." connect from the app, but after this no real GET or POST comes through. So the CORS preflight now comes through, but maybe the with SB 2.40...
by hoerbie
Thu Oct 12, 2023 6:14 pm
Forum: Bugs Reports
Topic: 2.50/2.51b1 still no iOS app create
Replies: 7
Views: 8844

Re: 2.50 still no iOS app create

Sorry Fred, still not working with 2.51 Beta 1, on my Intel-MBP with now macOS Ventura 13.6 and Xcode 15.0. And I made sure, that Xcode itself compiles for iOS. The last lines ob SB before the error message are now: Adding cordova-plugin-nativeaudio to package.json Running hook: /private/tmp/spiderb...
by hoerbie
Thu Jun 15, 2023 6:04 pm
Forum: Bugs Reports
Topic: 2.50/2.51b1 still no iOS app create
Replies: 7
Views: 8844

Re: 2.50 still no iOS app create

I've got some steps further: On my MBP there was a problem with cordova-ios and two different node_modules directories. Solved it by removing some dirs including .npm cache and installing cordova and cordova-ios new, and running again the install-cordova.sh directly from SB. On the iMac I ran the in...
by hoerbie
Thu Jun 15, 2023 3:59 pm
Forum: Bugs Reports
Topic: 2.50/2.51b1 Android apk, http no longer works
Replies: 7
Views: 7326

Re: 2.50 Android apk, http no longer works

Hi Fred, I researched and tried a lot, and maybe the problem is in a change in Cordova, old Cordova versions started SBs code like file:///android_asset/www/index.html, but since cordova-android v10.x.x the way was changed to a new WebViewAssetLoader, and it is started from https://localhost/... In ...
by hoerbie
Tue Jun 13, 2023 12:05 pm
Forum: Coding Questions
Topic: 2.50, now I can't make android app
Replies: 3
Views: 1548

Re: 2.50, now I can't make android app

You need JDK 11 for SB2.50, it was sadly forgotten to change the preferences dialog
by hoerbie
Mon Jun 12, 2023 3:57 pm
Forum: Bugs Reports
Topic: 2.50/2.51b1 Android apk, http no longer works
Replies: 7
Views: 7326

Re: 2.50 Android apk, http no longer works

@Fred: Problem not solved in 2.50?
My app still can't communicate with my PB-server using http.
One other app using https to a normal Apache/PHP web server works.