Android Question Calling in hidden mode

FerGeoRi

Active Member
Licensed User
Hello everyone and best wishes for this new year.

I need in an application, by clicking on a label containing a phone number, to propose either to call in hidden or unmasked mode.

I use the command StartActivity(LV.p.Call(Ntel)).
Ntel = "xxxxxxxxxx"" in unmasked mode.
Ntel = "*31#xxxxxxxxxxxx" in masked mode.

In hidden mode it does not work.
"*31#.... " prevents execution of StartActivity(LV.p.Call(Ntel)).

Does anyone have the solution?
Thank you very much for your answer.
FerGeoRI
 

FerGeoRi

Active Member
Licensed User
Hello
Thank you EREL for your answer.

By using :
Ntel="#31#" & Ntel
StartActivity(LV.p.Call(Ntel))
the answer is in file 01
Appel non envoyé. Numéro saisie invalide --> Call not sent. Invalid entered number

By using :
Dim Ph As Intent
Ph.Initialize(Ph.ACTION_CALL, Ntel)
StartActivity(Ph)
the answer is in file 02
Yours sincerely
FerGeoRi

In France :
If you want to hide your phone number from your cell phone for a specific call, you just have to dial #31# before the number of your correspondent. Thus, the person you are calling will not be able to see your number, you are calling in unknown mode.

To hide your phone number from the person you are calling (masked call), precede their phone number with #31#. For example, if you want to call 0102030405, type: #31#0102030405.
 

Attachments

  • 01.PNG
    25.6 KB · Views: 159
  • 02.PNG
    71.3 KB · Views: 152
Last edited:
Upvote 0

FerGeoRi

Active Member
Licensed User
Good evening
Thanks to MikeSW17 for your response.
And especially thanks to Erel because his solution works very well.
I would never have found it without you.
Thanks again.
Best regards.
FerGeoRi
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…