Hi all.
In my app user can make a phone call to the office.
Here is a code
On some phones it show an error -
android.content.ActivityNotFoundException: No Activity found to handle Intent { actandroid.intent.action.VIEW dattel:xxxxxxxxx-xxxx flg0x20000 }
I tried on few of my phones and even on a tablet without a SIM card - no errors.
It doesn't need any permissions.
Have ever seen this error?
In my app user can make a phone call to the office.
Here is a code
B4X:
If Phone.ToLowerCase.Contains("ext.") Then
Phone=Phone.ToLowerCase.Replace("ext.",",")
End If
Phone=Phone.Replace("(","")
Phone=Phone.Replace(")","")
Phone=Phone.Replace("-","")
Phone=Phone.Replace(" ","")
If Phone.SubString2(0,1)<>"1" Then
Phone="1" & Phone
End If
Dim i As Intent
i.Initialize(i.ACTION_VIEW, "tel:" & Phone)
StartActivity(i)
On some phones it show an error -
android.content.ActivityNotFoundException: No Activity found to handle Intent { actandroid.intent.action.VIEW dattel:xxxxxxxxx-xxxx flg0x20000 }
I tried on few of my phones and even on a tablet without a SIM card - no errors.
It doesn't need any permissions.
Have ever seen this error?