Android Question #CustomBuildAction not available in Starter-service

D

Deleted member 103

Guest
Hi,

question: why is #CustomBuildAction, #ApplicationLabel not in Starter-service available?
 

DonManfred

Expert
Licensed User
Longtime User
question: why is #CustomBuildAction, #ApplicationLabel not in Starter-service available?
Both belongs to the main activity.

Additional if compiled to library the starter service will be excluded.
 
Last edited:
Upvote 0
D

Deleted member 103

Guest
Thanks Manfred.

Then I have to make so that I can distinguish between Lite and Pro version:
Main-Activity
B4X:
Sub Activity_Create(FirstTime As Boolean)

#Region Conditional Compilation
    #If lite
        #ApplicationLabel: App-Lite
        'Starter.IsProVersion = False
    #End If

    #If Pro
        #ApplicationLabel: App-Pro
        'Starter.IsProVersion = True
    #End If
#End Region
...
End Sub

Starter-Service
B4X:
Sub Service_Create
#Region Conditional Compilation
    #If lite
        IsProVersion = False
    #End If

    #If Pro
        IsProVersion = True
    #End If
#End Region

  If Not(IsProVersion) Then
     ...
  End If
...
End Sub
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…