kisoft Well-Known Member Licensed User Longtime User Nov 7, 2019 #1 Hi I'm using this solution: Code: Copy Dim p As PhoneCalls StartActivity(p.Call("phonenumber")) End If 1. Question one : Does Google allow the use of this method after obtaining your consent? Is it better to use this method: Code: Copy Dim i As Intent i.Initialize("android.intent.action.DIAL", "tel:" & "Phonenumber") StartActivity(i) 2. Question two: If a phone call has already been established, I would like the dialer activity to be reduced so that the user can use the application normally. How to do this....?
Hi I'm using this solution: Code: Copy Dim p As PhoneCalls StartActivity(p.Call("phonenumber")) End If 1. Question one : Does Google allow the use of this method after obtaining your consent? Is it better to use this method: Code: Copy Dim i As Intent i.Initialize("android.intent.action.DIAL", "tel:" & "Phonenumber") StartActivity(i) 2. Question two: If a phone call has already been established, I would like the dialer activity to be reduced so that the user can use the application normally. How to do this....?
Erel B4X founder Staff member Licensed User Longtime User Nov 7, 2019 #2 1. Logs - List Permissions: It is a "dangerous" permission which means that you need to request it at runtime. kisoft said: Is it better to use this method: Click to expand... It depends on your requirements. It doesn't need a permission however the call will not be made automatically. 2. You can use a timer in a service and call StartActivity. Note that starting from Android 10 you will need to request a special permission for this (draw over apps). Upvote 0
1. Logs - List Permissions: It is a "dangerous" permission which means that you need to request it at runtime. kisoft said: Is it better to use this method: Click to expand... It depends on your requirements. It doesn't need a permission however the call will not be made automatically. 2. You can use a timer in a service and call StartActivity. Note that starting from Android 10 you will need to request a special permission for this (draw over apps).
kisoft Well-Known Member Licensed User Longtime User Nov 7, 2019 #3 Note that starting from Android 10 you will need to request a special permission for this (draw over apps) What exactly does that mean?.... Do I need this special permission from Google? As in the case of SMS send ? https://www.b4x.com/android/forum/t...ssions-are-no-longer-available.98100/#content I've already found... https://www.b4x.com/android/forum/threads/draw-on-top-of-other-apps-permission.90513/ Last edited: Nov 7, 2019 Upvote 0
Note that starting from Android 10 you will need to request a special permission for this (draw over apps) What exactly does that mean?.... Do I need this special permission from Google? As in the case of SMS send ? https://www.b4x.com/android/forum/t...ssions-are-no-longer-available.98100/#content I've already found... https://www.b4x.com/android/forum/threads/draw-on-top-of-other-apps-permission.90513/