thank you for your response.
this is code i have so far.
#Region Project Attributes
#ApplicationLabel:Get Locations
#VersionCode: 1
#VersionName:
'SupportedOrientations possible values: unspecified, landscape or portrait.
#SupportedOrientations: unspecified
#CanInstallToExternalStorage: False
#End Region
#Region Activity Attributes
#FullScreen: False
#IncludeTitle: True
#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.
Dim Server1 As String
Server1="
http://server1/INVC/Default.aspx"
Dim Label1 As Label
Dim ListView1 As ListView
Dim txtPartNumber As EditText
Dim btnGetLocatiions As Button
Dim GetLocations As HttpJob
Dim btnClearData As Button
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("Main")
GetLocations.Initialize("GetLocation",Me)
End Sub
Sub Activity_Resume
End Sub
Sub Activity_Pause (UserClosed As Boolean)
End Sub
Sub JobDone (Job As HttpJob)
Msgbox(Job.ErrorMessage,"Error Message")
End Sub
Sub btnGetLocatiions_Click
If txtPartNumber.Text = "" Then
Msgbox("No Part Entered","Warning")
Return
End If
GetLocations.Download2(Server1, Array As String("component", txtPartNumber.Text))
End Sub
Sub btnClearData_Click
txtPartNumber.Text=""
ListView1.Clear
End Sub
i get this error in job done
java.net.UnknownHostException: Unable to resolve host "server1": No address associated with hostname
how can i see the actual string Download2 is sending?
Thank you for your time