Levisvv Member Licensed User Longtime User Jun 1, 2014 #1 I used a button with the following code: Dim i As Intent i.Initialize(i.ACTION_CALL, "tel: +1-604-812-7638") StartActivity(i)
I used a button with the following code: Dim i As Intent i.Initialize(i.ACTION_CALL, "tel: +1-604-812-7638") StartActivity(i)
Levisvv Member Licensed User Longtime User Jun 1, 2014 #2 I get the following exception? how can I prevent this? An error has occured in sub: java.lang.SecurityException: Permission Denial:starting Intent { act=tel flg=0x20000 cmp=com.android.phone/. OutgoingCallBroadcaster } ..... ...requires android.permission.CALL_PHONE Am I getting this error because I am in development mode? WIll this stop if actually installed? Is there a way to prevent this? Upvote 0
I get the following exception? how can I prevent this? An error has occured in sub: java.lang.SecurityException: Permission Denial:starting Intent { act=tel flg=0x20000 cmp=com.android.phone/. OutgoingCallBroadcaster } ..... ...requires android.permission.CALL_PHONE Am I getting this error because I am in development mode? WIll this stop if actually installed? Is there a way to prevent this?
Shahid Saeed Active Member Licensed User Longtime User Jun 1, 2014 #3 Levisvv said: I get the following exception? how can I prevent this? An error has occured in sub: java.lang.SecurityException: Permission Denial:starting Intent { act=tel flg=0x20000 cmp=com.android.phone/. OutgoingCallBroadcaster } ..... ...requires android.permission.CALL_PHONE Am I getting this error because I am in development mode? WIll this stop if actually installed? Is there a way to prevent this? Click to expand... It seems you are missing Phone library. Upvote 0
Levisvv said: I get the following exception? how can I prevent this? An error has occured in sub: java.lang.SecurityException: Permission Denial:starting Intent { act=tel flg=0x20000 cmp=com.android.phone/. OutgoingCallBroadcaster } ..... ...requires android.permission.CALL_PHONE Am I getting this error because I am in development mode? WIll this stop if actually installed? Is there a way to prevent this? Click to expand... It seems you are missing Phone library.
Erel B4X founder Staff member Licensed User Longtime User Jun 1, 2014 #4 You should add the permission to the manifest editor: B4X: AddPermission(android.permission.CALL_PHONE) Upvote 0
You should add the permission to the manifest editor: B4X: AddPermission(android.permission.CALL_PHONE)
manuaaa Member Licensed User Longtime User Apr 20, 2015 #5 Hi, How can I hide the caller number ??? Upvote 0
Erel B4X founder Staff member Licensed User Longtime User Apr 20, 2015 #6 You should have started a new thread for this question. Anyway you cannot programmatically hide the caller number. Upvote 0
You should have started a new thread for this question. Anyway you cannot programmatically hide the caller number.