I have just started using this apparently simple tool to extend a "CompassView" library (from 2015) downloaded from here: https://www.b4x.com/android/forum/attachments/javacode-zip.36178/
(N.B. This is the style of compass I want, not one of the numerous other ones available.)
In fact I am making progress and successfully made a change which gives me the motivation to persevere. However I get strange warning messages even with the unaltered version as downloaded from the above link, as follows:
It does not look as if there are 40 warnings listed above, so is there a log file that shows the full set?
(N.B. This is the style of compass I want, not one of the numerous other ones available.)
In fact I am making progress and successfully made a change which gives me the motivation to persevere. However I get strange warning messages even with the unaltered version as downloaded from the above link, as follows:
I have attempted to replicate the "ShortName annotation" that is already in compassViewWrapper.java (as above) but that only made things much worse and prevented successful compilation. This is probably largely because I do not understand the purpose of ShortName annotation!Starting step: Compiling Java code.
javac 11.0.1
Completed successfully.
Starting step: Creating jar file.
Completed successfully.
Starting step: Creating XML file.
Loading source file C:\Users\Mike\AppData\Local\Android\B4A\b4aCompassView\CompassView-master\src\compassviewwrapper\compassViewWrapper.java...
Loading source file C:\Users\Mike\AppData\Local\Android\B4A\b4aCompassView\CompassView-master\src\main\com\redinput\compassview\CompassView.java...
Loading source file C:\Users\Mike\AppData\Local\Android\B4A\b4aCompassView\CompassView-master\src\main\com\redinput\compassview\R.java...
Constructing Javadoc information...
[-doclet, BADoclet]
[-docletpath, C:\Program Files (x86)\Anywhere Software\SimpleLibraryCompiler]
[-doclet, BADoclet]
[-docletpath, C:\Program Files (x86)\Anywhere Software\SimpleLibraryCompiler]
[-bootclasspath, C:\Android\platforms\android-28\android.jar]
[-classpath, C:\Program Files (x86)\Anywhere Software\Basic4android\B4A.exe\../libraries\B4AShared.jar;C:\Program Files (x86)\Anywhere Software\Basic4android\B4A.exe\../libraries\Core.jar;]
[-sourcepath, src]
[-b4atarget, C:\Users\Mike\AppData\Local\Android\B4A\AdditionalLibs\B4A\CompassView.xml]
[-b4aignore, org,com.android,com.example,com.hoho]
Ignoring: [org, com.android, com.example, com.hoho]
starting....
Working with class: compassviewwrapper.compassViewWrapper
Working with class: main.com.redinput.compassview.CompassView
No ShortName annotation found for class: CompassView
Working with class: main.com.redinput.compassview.R
No ShortName annotation found for class: R
Working with class: main.com.redinput.compassview.R.string
No ShortName annotation found for class: R.string
Working with class: main.com.redinput.compassview.R.styleable
No ShortName annotation found for class: R.styleable
finish: C:\Users\Mike\AppData\Local\Android\B4A\AdditionalLibs\B4A\CompassView.xml
40 warnings
Completed successfully.
*** Don't forget to refresh the libraries list in the IDE (right click and choose Refresh) ***
It does not look as if there are 40 warnings listed above, so is there a log file that shows the full set?