1. Clarence Chamorro
  2. PowerServer Mobile (Obsolete)
  3. Sunday, 10 March 2019 14:42 PM UTC

I am steal new at using the mobile functionality.

What I am trying to accomplish is to make a phone call.

From a datawindow showing the names and Phone numbers I am trying to make a phone call by selecting one of the Vendors in the list & pressing a button (Call). I do not know what object to instantiate nor I know how to used it. Could you please give me a direction which object and how to do it. Or if there is documentation just let me know where.

Regards,

Clarence

Marco Meoni Accepted Answer Pending Moderation
  1. Sunday, 10 March 2019 21:52 PM UTC
  2. PowerServer Mobile (Obsolete)
  3. # 1

Hello Clarence,

here the code:

iNet lnv_inet
lnv_inet = CREATE iNet 

String ls_code= '+1 401-1234567'
If MessageBox(ls_code, 'Dial it?', Question!, YesNo!, 1) = 1 Then
  lnv_inet.hyperlinktourl('tel:' + ls_code)
End If

Best,

.m

Comment
  1. Clarence Chamorro
  2. Monday, 11 March 2019 00:08 AM UTC
this code:

lnv_inet.hyperlinktourl('Tel:' + ls_code)



did not activate the phone call.

Anything else I can try or if you can point me to a document or manual to read a bout it will be greatly appreciate.



Regars,



Clarence.
  1. Helpful
There are no comments made yet.
Marco Meoni Accepted Answer Pending Moderation
  1. Monday, 11 March 2019 08:07 AM UTC
  2. PowerServer Mobile (Obsolete)
  3. # 2

You must create an instance of inet object:

 

lnv_inet = create inet 

best,

.m

Comment
  1. Clarence Chamorro
  2. Monday, 11 March 2019 14:39 PM UTC
Dr Meoni sorry for my previous comment (Very plain and bold).



I guest it was a test (from your part) to see if I could catch the missing instantiation of Inet (Declaration and Creation of Inet). Which I did not catched.



Thank you very much, it is working perfect.



Regards,



Clarence.
  1. Helpful
  1. Marco Meoni
  2. Monday, 11 March 2019 19:24 PM UTC
Hi Clarence,

nope, sorry, not my intention to play with it. I posted the answer from the phone and could lack of precision :-)

.m
  1. Helpful
There are no comments made yet.
  • Page :
  • 1


There are no replies made for this question yet.
However, you are not allowed to reply to this question.