Search found 67 matches
- Wed Nov 02, 2022 8:06 pm
- Forum: Coding Questions
- Topic: Android app getting slower by use
- Replies: 11
- Views: 2661
Re: Android app getting slower by use
Tested this a lot now with 2.32 Beta 1 on my Android Sunmi M2 and a new testing script that doesn't open and close immediately but gives a more natural opening and closing. Global SWin, SBut1, SBut2, SBut3, STxt Global TWin, TBut1, TBut2, TBut3 Global testopened Procedure TEvents() Debug EventGadget...
- Sat Sep 24, 2022 11:17 am
- Forum: Coding Questions
- Topic: Android app getting slower by use
- Replies: 11
- Views: 2661
Re: Android app getting slower by use
@Fred: Thanks for the idea with the simple test code, and you are right, when used on Windows in Firefox it doesn't become slow, although I played with a lot higher number of up to 20000 opened and closed windows in the for loop. I've modified your code to my programming style with BindEvent() inste...
- Fri Sep 23, 2022 10:11 am
- Forum: Coding Questions
- Topic: Android app getting slower by use
- Replies: 11
- Views: 2661
Re: Android app getting slower by use
@Fred: Thank you for the tip, I didn't know about debugging between Chrome and Android, I will try to get it working. @skywalk: Thanks, but coming from PB I don't think I'm confusing. I meant, that when I do something like winid = OpenWindow(#PB_ANY, ...) the var winid becomes 100000. When using the...
- Fri Sep 23, 2022 9:47 am
- Forum: General Discussion
- Topic: SpiderBasic 2.40 is out !
- Replies: 41
- Views: 49772
Re: SpiderBasic 2.40 beta 1 is ready !
Great news before the weekend, thanks a lot!
What are the further plans? Any bugfixes?
What are the further plans? Any bugfixes?
- Mon Sep 19, 2022 9:21 am
- Forum: Coding Questions
- Topic: Android app getting slower by use
- Replies: 11
- Views: 2661
Re: Android app getting slower by use
@percy_b: Thanks, I will have a look, although I think this will need a lot more work with an SB app, than understanding the developer functions of a browser. @Dirk: Thanks for the idea, but no, when the app does http communication, there is an info dialog, that is closed when communication is done....
- Sat Sep 17, 2022 3:17 pm
- Forum: Coding Questions
- Topic: Android app getting slower by use
- Replies: 11
- Views: 2661
Android app getting slower by use
Hi, actually I've installed an SB app of about 10000 lines on some Android devices. The testers tell me, that the app is getting really slow if it is used intensive for some hours. Devices are mostly Sunmi M2 with Android 7.x, 4-core CPU 1.4GHz and 1GB Ram/8GB Rom, so not the high powered ones. The ...
- Sat Sep 17, 2022 3:00 pm
- Forum: Feature Requests and Wishlists
- Topic: [Implemented] Keep Cordova temp build dir
- Replies: 0
- Views: 4506
[Implemented] Keep Cordova temp build dir
Hi, using SB for some Android and iOS apps, every few weeks it is a problem, that Cordova compile stops without any usable error information. For example there are actually problems with the DeviceInfo(*) functions (see Bug forum), or having an iPhone 14 now with Apples provisioning profiles. So can...
- Sat Sep 17, 2022 2:49 pm
- Forum: Feature Requests and Wishlists
- Topic: [Implemented] CompilerIf check Android/iOS/Web
- Replies: 0
- Views: 3992
[Implemented] CompilerIf check Android/iOS/Web
Hi, don't know if I have overlooked it in the docs, but I didn't find any "CompilerIf" check to switch between commands for Android, iOS and Web. I've programmed an app for Android and iOS, and I need to include different Cordova extensions for Android and iOS to use bluetooth printer. I'v...
- Tue Jul 26, 2022 10:51 am
- Forum: Coding Questions
- Topic: Buttongadget and loadsound
- Replies: 17
- Views: 2788
Re: Buttongadget and loadsound
Instead of the variable "pic1" please try "ObjectId" in your "Procedure Loading" for the gadgets.
And please take care of the "; Register the loading event before calling any resource load command"
And please take care of the "; Register the loading event before calling any resource load command"
- Tue Jul 26, 2022 10:05 am
- Forum: Coding Questions
- Topic: Buttongadget and loadsound
- Replies: 17
- Views: 2788
Re: Buttongadget and loadsound
With external website problems my first thought would be CORS https://en.wikipedia.org/wiki/Cross-origin_resource_sharing In general for all Load*() functions the loaded sources should only be used, after the #PB_Event_Loading was received, so a code like buttonPic=LoadImage(#PB_Any,"pictures/b...