Android Question Manifest - use #If FULL....#End if

petr4ppc

Active Member
Licensed User
Dear friends, please

It is possible to use #If FULL in Manifest editor?
I am trying it, but I thing that it is not functioned...

Thank you
p4ppc

B4X:
#If FULL

AddManifestText(

<uses-sdk android:minSdkVersion="4" android:targetSdkVersion="26"/>

<supports-screens android:largeScreens="true"

    android:normalScreens="true"

    android:smallScreens="true"

    android:anyDensity="true"/>

    <uses-permission android:name="android.permission.BLUETOOTH" />)

#If


#If TRIAL

AddManifestText(

<uses-sdk android:minSdkVersion="4" android:targetSdkVersion="26"/>

<supports-screens android:largeScreens="true"

    android:normalScreens="true"

    android:smallScreens="true"

    android:anyDensity="true"/>

    )

#If
 

petr4ppc

Active Member
Licensed User
Dear DonManfred,

I am using standard "F5" key for running and compilation...so I will learn some other variant of compilation? I was quickly looking in forum for "Commandlinecompiler " but I think that I have not saw some informations for this possibility...

Thank you
p4ppc
 

DonManfred

Expert
Licensed User
I am using standard "F5" key for running and compilation...
Did you change the Build configuration to be FULL before compiling?

 

petr4ppc

Active Member
Licensed User
Thank you very much,

This legendary and great tutorial I saw. I am changing Configuration before compilation, but the color of text in Manifest editor is not changing between FULL and TRIAL like in code section of B4A. I have version 9.30

It does it mean - In running application I not see the changes if I have TRIAL or FULL compilation (I hope that I am not doing some dumb mistake)

Thank you
p4ppc
 
Last edited:

Erel

Administrator
Staff member
Licensed User
This legendary and great tutorial I saw. I am changing Configuration before compilation, but the color of text in Manifest editor is not changing between FULL and TRIAL like in code section of B4A. I have version 9.30
B4A is free. No reason not to use v9.80.

m changing Configuration before compilation, but the color of text in Manifest editor is not changing between FULL and TRIAL like in code section of B4A.
That's true. The manifest editor and designer script editor will not show the excluded code in a different way. However it will still work.

You can easily check it by opening the generated Objects\AndroidManifest.xml file.
 
Top