starter

  1. practicalsoft

    B4A source برنامه GPS بسیار ساده با b4a 2023-02-04

    برنامه GPS بسیار ساده b4a نحوه استفاده: 1. استارتر را در پروژه خود کپی کنید If Starter.GPS1.GPSEnabled = False Then ToastMessageShow("Please enable the GPS device.", True) StartActivity(Starter.GPS1.LocationSettingsIntent) 'Will open the relevant settings screen. Else...
  2. practicalsoft

    B4X FEED Regarding not being able to use MsgBox from Starter

    We all know that we can't show UI things from Starter (or any services really), like MsgBox etc. (Toasts are an exception for some reason, but for this thread I'll ignore them.) Let's say I have a class in Starter. Then that class won't be able to use MsgBox etc. And if that class has a class...
  3. practicalsoft

    B4X FEED Call to EMail service now includes choices

    I have been using the capability to start an email and attach a file to it for some time. The original post I used was: Sending an attachment by email Hi. I am trying to send a file as an attachment by email from within my app, using an email application already on the phone (ie not just by...
  4. practicalsoft

    B4X FEED B4A Version: 10.2 BETA #1 problem android 4.4.4

    I am experiencing this problem in android 4.4.4 even with physical device Compile: B4A Version: 10.2 BETA #1 Java Version: 8 Parsing code. (0.86s) Building folders structure. (0.73s) Compiling code. (0.76s) Compiling layouts code. (0.08s) Organizing libraries. (0.00s) (AndroidX SDK) Generating...
  5. practicalsoft

    B4X FEED B4XPages & shared constants

    Hi all, within a B4XPages framework (from @Erel) app I need to share some (app) global constants. For example: B4X: Public Host As String = "https://acme.com" Public WSNodeURL As String = Host & "/node/" Public WSFormat As String = "?_format=json" MY GOAL I need to access them...
  6. practicalsoft

    B4X FEED Problem with FirebaseAuth Library - Had it working before but not now

    Hi guys So the issue I seem to be having is very similar to this issue from previous... https://www.b4x.com/android/forum/threads/latest-sdk-update-breaks-firebaseauth-library.93446/ Before someone asks ... B4A 10.0 Target SDK 28, fully updated in SDK manager The following error occurs...
  7. practicalsoft

    B4X FEED I need help to exit an application In B4XPages application

    I made an B4XPages application which is working fine and i need to exit application (not running in background) when i click a button. Please help me. I used this code in B4XMainPage: B4X: Sub Button7_Click Main.pw.ReleaseKeepAlive ' Activity.Finish ExitApplication End...
  8. practicalsoft

    B4X FEED callsub another object method

    I have this in starter service: B4X: dim a as int=Starter.SQL1.ExecQuerySingleResult("select count(*) from products") Starter.SQL1.ExecQuery2("select * from products where id=? and status=?",Array as String(1,0)) I want to call it with callsub: B4X: Dim a As...
  9. practicalsoft

    B4X FEED App crashes on Senderfilter execution.

    I'm experiencing this strange crash. Application that use to work fine with previous B4A versions, will not run when compiled with B4A 9.8 or B4A10. It stops on "wait for (senderfilter)" execution. Here is an example of the running code: Example: For Each records() As Object In res2.Rows...
  10. practicalsoft

    B4X FEED strange behaviour from B4A version 9.8. App crashes on Senderfilter execution.

    I'm experiencing this strange crash. Application that use to work fine with previous B4A versions, will not run when compiled with B4A 9.8 or B4A10. It stops on "wait for (senderfilter)" execution. Here is an example of the running code: Example: For Each records() As Object In res2.Rows...
  11. practicalsoft

    B4X FEED StartAtBoot initialization sequence

    I have a service (not the Starter service) set to B4X: #Region Service Attributes #StartAtBoot: True #End Region In Service_Start I need to access some globals that are initialized in the Starter Service. Can I assume that the Starter Service is always started first than a service that is...
عقب
بالا