I am trying to build an android app and had a compile ok shell of the basics. Now I'm adding example
code for a xchartlite which works and the BLE2 scan/connect demo example project. This is where I
got into confusion/trouble bringing in the BLE2 stuff. I think it's close but this error is halting going
forward right now:
Here is the build dialog output at the Linking and Debugger engine code point as it shows:
Linking resources (0.32s)
Compiling debugger engine code. Error
B4A line: 27
End Sub
shell\src\FW6APP\v10\main_subs_0.java:145: error: method _process_globals in class b4xmainpage_subs_0 cannot be applied to given types;
b4xmainpage_subs_0._process_globals();
^
required: RemoteObject
found: no arguments
reason: actual and formal argument lists differ in length
1 error
And the code file (main) it brings up for line 27 is this (an excerpt):
( Note: "main" appears to be inside of file FW6_App.b4a )
#Region Activity Attributes
#FullScreen: False
#IncludeTitle: True
#End Region
'#BridgeLogger: True
Sub Process_Globals
' Public ActionBarHomeClicked As Boolean
'These global variables will be declared once when the application starts.
'These variables can be accessed from all modules.
' Type Device(Name As String, Id As String)
' Type Characteristic(ServiceId As String, CharacteristicId, Value As String)
End Sub
Sub Globals
End Sub <=== edit note, this is line 27 in the source
Sub Activity_Create(FirstTime As Boolean)
Dim pm As B4XPagesManager
pm.Initialize(Activity)
End Sub
I can wrap this all up in a zip file and send to someone who can parse out what
I have either not done or done wrong that might cause this hang up.
Thanks in advance, cheers!