Sub Process_Globals
'These global variables will be declared once when the application starts.
'These variables can be accessed from all modules.
Dim Up As UploadFilePhp
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")
If FirstTime Then
Up.Initialize("Up")
End If
End Sub
Private Sub Button1_click
phpUrl="http://localhost/your_folder/upload_file.php"
Dim phoneDocPath As String = File.DirInternal & "/" 'OR "/sdcard/
Dim docName As String="xxxxxx.xxx"
Up.doFileUpload( Null,Null,phoneDocPath & docName, phpUrl)
End Sub