Hi All.
In my Apps I have a file called Help.htm [different content of course] in each App it is loaded in to a webview in the same way. Most Apps Log that this file is not used, in one App it is not logged even though I cannot find any difference in how it is handled.
This is not actually causing any problems but is puzzling.
The file "helpfile.htm" is not referenced in the Main Activity or the Manifest.
Thanks in advance Roger
In the Main Activity
In Help Activity Load Help file to Webview
In my Apps I have a file called Help.htm [different content of course] in each App it is loaded in to a webview in the same way. Most Apps Log that this file is not used, in one App it is not logged even though I cannot find any difference in how it is handled.
This is not actually causing any problems but is puzzling.
The file "helpfile.htm" is not referenced in the Main Activity or the Manifest.
Thanks in advance Roger
In the Main Activity
Call HelpActiv:
Sub HelpSub_Click
BuzzBeep
StartActivity(HelpActiv)
End Sub
In Help Activity Load Help file to Webview
HlpActiv:
#Region Activity Attributes
#FullScreen: true
#IncludeTitle: false
#End Region
Sub Process_Globals
'These global variables will be declared once when the application starts.
'These variables can be accessed from all modules.
End Sub
Sub Globals
'These global variables will be redeclared each time the activity is created.
'These variables can only be accessed from this module.
Private helpview As WebView
End Sub
Sub Activity_Create(FirstTime As Boolean)
'Do not forget to load the layout file created with the visual designer. For example:
'Activity.LoadLayout("Layout1")
Activity.LoadLayout("helplay")
If Main.InfoFlag = False Then helpview.LoadURL("file:///android_asset/helpfile.htm")
End Sub
Sub Activity_Resume
End Sub
Sub Activity_Pause (UserClosed As Boolean)
End Sub