Thank you for your time...
I am calling file:///android_asset/cname_input.php and using a webview. All pages (files) are php with javascript and html. I ran the compiler on those pages. When i install the apk on my phone everthing works but the input. The input form should show a pre-populated name drawn from a sqlite db using php code but the input form is populated with the php code instead of the name. Below is the b4a
Sub Globals
'These global variables will be redeclared each time the activity is created.
'These variables can only be accessed from this module.
Dim WebView1 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("choreday")
WebView1.Initialize("WebView1")
Activity.AddView(WebView1, 0, 0, 100%x, 100%y)
WebView1.LoadUrl("file:///android_asset/cname_input.php")
End Sub
Sub Activity_Resume
End Sub
Sub Activity_Pause (UserClosed As Boolean)
End Sub
Sub WebView1_PageFinished (Url As String)
' the WebView has finished loading the web page, the javascript file has been loaded and it's function are ready to be called
Dim Javascript As String
Javascript="javascript:setHTML('div2', 'The web page has now loaded...')"
WebView1.LoadUrl(Javascript)
End Sub