It worked ...but how to get mobile number of selected contact to an object/variable ?
<code>
AddActivityText(main,<intent-filter>
<action android:name="android.intent.action.SENDTO" />
<category android:name="android.intent.category.DEFAULT" />
<data android:scheme="sms" />
<data android:scheme="smsto" />
</intent-filter>)</code>
Dim tmpint As Intent
Dim su As StringUtils
tmpint=Activity.GetStartingIntent
If tmpint.Action="android.intent.action.SENDTO" Then
Dim splt() As String
splt=Regex.Split(":", tmpint.GetData)
tomobile.text=su.DecodeUrl(splt(1),"UTF8")
End If
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.