Android Question what are these lines for? + manifset lines settings.

fgh3966

Active Member
Licensed User
Hello all.

In the source code at this link , with B4A there are the following lines that I had to comment out in order to compile the source code.
B4X:
#Region Shared Files
#CustomBuildAction: folders ready, %WINDIR%\System32\Robocopy.exe,"..\..\Shared Files" "..\Files"
'Ctrl + click to sync files: ide://run?file=%WINDIR%\System32\Robocopy.exe&args=..\..\Shared+Files&args=..\Files&FilesSync=True
#End Region
The TextEditor application seems to work fine, but what are these lines for?

also where add this manifest text lines ?

B4X:
'This code will be applied to the manifest file during compilation.
'You do not need to modify it in most cases.
'See this link for for more information: http://www.b4x.com/forum/showthread.php?p=78136
AddManifestText(
<uses-sdk android:minSdkVersion="14" android:targetSdkVersion="19"/>
<supports-screens android:largeScreens="true"
    android:normalScreens="true"
    android:smallScreens="true"
    android:anyDensity="true"/>)
SetApplicationAttribute(android:icon, "@drawable/icon")
SetApplicationAttribute(android:label, "$LABEL$")
'End of default text.

Thanks
 

aeric

Expert
Licensed User
Longtime User
#CustomBuildAction: folders ready, %WINDIR%\System32\Robocopy.exe,"..\..\Shared Files" "..\Files"
If you see this line, basically you are opening a B4XPages project.
If you run into an error then it is likely you only have B4A or B4i folder without the "Shared Files" folder. This happen when someone send you the project zip without using the Comment link to zip the project according to B4XPages structure or you have manually deleted it.

For manifest text, you open the dialog by clicking on menu Project -> Manifest Editor.
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…