Hi everybody!
My company needs an address book, which can't be edited by an user. It's managed from "outside" and the user only should have "read-only" rights.
Because the phone's addressbook (contacts) can't be limited in this way, I decided to write an app in B4A, which reads the builtin phonebook and displays all the contacts. A MDM-system disables the icon to open the builtin-contacts of the phone.
The user can touch one of the contacts, which my app shows and then, my app will call this contact. I'm using the Phone-library to make the call, like this one:
Dim p As PhoneCalls
StartActivity(p.Call("12345678"))
Everything works fine, but my Samsung phone opens the builtin dialer, when I click the contact. The problem is, that this dialer offers a button named "View contact" (I only have a German phone, so I THINK, that an english Android would show "View contact"...). If the user clicks on it, then the contact will be opened an the user is able to edit it. So my App makes no sense anymore...
Do you know, if there is a possibility in B4A, to call the number without showing the default dialer of my phone?
Thank you in advance!
Nice greetings,
Wolfgang