help: sms current gps location

davidmd

Member
Licensed User
Longtime User
hi
i wish to send current gps location
with editbox.text = sms number

button click
Dim num as string
num = editbox.text


...?????


what is the simplest way ?
thanks
 

ThePuiu

Active Member
Licensed User
Longtime User
Dim SmsManager As PhoneSms
If PhoneNumber.Length>0 Then
Try
SmsManager.Send(PhoneNumber, Message)
Catch
ToastMessageShow("ERROR", true)
End Try
 
Upvote 0

davidmd

Member
Licensed User
Longtime User
How to send Location DATA As string ?????????

tried with no success ( 00 result) Please Advise :

Sub Button2_Click


Dim Message As String


Message = "Please help my location is:" &"Lat = " & userlocation.ConvertToMinutes(userlocation.Latitude) & "Lon = " & userlocation.ConvertToMinutes(userlocation.Longitude)


If EditText1.Text.Length >0 Then
Try
smsmsg.Send(EditText1.Text, Message)
Catch
ToastMessageShow("ERROR", True)

End Try



End If


tried allso

message = userlocation.Latitude &userlocation.Longitude

Same No Success
Please HELP:BangHead:
 
Upvote 0

davidmd

Member
Licensed User
Longtime User
no problem with sms
the problem with location data string
it is zero zero instead of lon and lat value

thanks
 
Upvote 0
Top