Questions tagged [call]

Do not use this ambiguous tag. For the action of invoking a subroutine of code, an external program or a script, use the tag [method-call]. For the topic of making phone calls, use the tag [phone-call].

In programming, a call is the site of invocation of a subroutine of code which when completed will return execution to the next instruction following the invocation of the call. A call is distinct from a jump in that there is no expectation of return after a jump.

A call may also invoke an external program.

This tag should also be used for language or platform specific functions for making a call. Some examples are:

  • call() - VBA
  • exec() - PHP
  • system() - C, Ruby

Related Topics

For other topics related to "calling", please use a more specific tag:

  • - For making and managing real-time two-way voice communication
4305 questions
1
vote
4 answers

ajax call response is forwarded to new html page on browser

I am trying to write a ajax call in response I am passing back a html string I am setting this html string as div content. it is working but once the div is updated request is forwarded to new page. I am unable to figure it out. here is the html…
Ron Zoosk
  • 183
  • 1
  • 1
  • 8
1
vote
1 answer

Sinch Video/Voice Background Issue

I am working with an android application, where I am implementing sinch sdk to enable voice/video feature to my app. Is there any way to send custom data with call. Below is my code for sending header with call. But I am receiving empty header on…
vickyVick
  • 207
  • 3
  • 14
1
vote
0 answers

Play DTMF tones During a Call through the Uplink

I need to play some DTMF tones during a call through the uplink of the call. I found the code to generate the DTMF tone: public void PlayDtfmTone(){ ToneGenerator toneGenerator= new …
Dov
  • 21
  • 3
1
vote
1 answer

Make calls from custom outgoing screen

I want to replace the outgoing screen and make call through that custom screen. I succeed to bring custom screen but I could not make calls. If I use ACTION.CALL then it call the Default outgoing screen. public class OutgoingCallBroadcastReciver…
Sameer Yadav
  • 63
  • 1
  • 5
1
vote
1 answer

How do I call an GUI object or more from main class

I have a gui application I put text into text box1, text box2,and then click on the pushButton, The function return_text_username () in the moduel_b.py be called. Now I can call one instance by lambda1 function and use it in class_b, but I can not…
Ahmad Ali
  • 57
  • 1
  • 8
1
vote
1 answer

Why call presentViewController in the end of custom segue, it cause viewDidAppear to be called twice?

In my UIStoryboardSegue subclass, I use presentViewController at the end of the perform method, this cause viewDidAppear/viewWillAppear to be called twice? How can I prevent this? Thanks Current code: override func perform() { // Assign the…
Shay
  • 2,595
  • 3
  • 25
  • 35
1
vote
0 answers

Pjsip multiple calls using few outgoing lines fails

I'm using pjsip high-level api PJSUA for doing multiple calls at one time. My sip operator support up to 3 outgoing lines for calls, so in theory it should be possible to call 3 persons at one time. The problem is, that in the operator logs i see,…
Vladislav
  • 135
  • 2
  • 11
1
vote
0 answers

Graph api facebook in android using sdk 4.6, returning just id and name of user

First Button has the following perms , and after I'm writting the code as is described in the try catch to make the call to facebook and retrieving data, when click button is pressed. Here there no need to set parameters like another api call. In…
RPR
  • 53
  • 9
1
vote
0 answers

function jquery call twice or doesn't work

I've a menu when I click on an item, it loads a page in a div "content". I tried two ways to do but I don't find a good issue. First way: I've a jquery funcion Gallery() (it's to make a menu slider) that I call in the page loaded but it call it…
1
vote
4 answers

How to define a method some how like the 'yield' ( I mean, automatically catch the block)?

If I need to define a method called 'yields' which will call yiled 3 times: def yields 3.times do yield end end And then I will use it in an other method: def call_me_3_times yields end In the console or irb: >> call_me_3_times {…
Croplio
  • 3,433
  • 6
  • 31
  • 37
1
vote
0 answers

Interact with cmd.exe using system from R

Programme called from R asking for response in certain contexts - how can I feed the answer from R? I am trying to run a programme using R, using the system function. I put system(".exe "). This works in general, but…
CJB
  • 1,759
  • 17
  • 26
1
vote
0 answers

Calling a graphics method inside a keylistener

So for my AP Comp. science class I have to make an applet where we have to use separate class files to make a building skyline-line thing. At the moment I have a window class that has a draw method and a method to turn the window object on. I would…
1
vote
1 answer

How to create function inside a Fortran subroutine?

When I compile my code, the result is strange (very large as -1.112E+09). When I calculate by Matlab, the answer is -0.0873. program test real, parameter :: X11=10,X22=5,X33=5,BE1A1=2,BE1B1=2 real :: Y call J(X11,X22,X33,BE1A1,BE1B1,M) Y = M print…
Jeremy_Tamu
  • 725
  • 1
  • 8
  • 21
1
vote
1 answer

Yield async execution javascript

I want to illustrate the problem with code: var async1 = f1(params, cb); var async2 = f2(params, cb); Right now I can call async1 through a waterfall async process like it follows: async.waterfall([ function(cb){ async1(params, cb); …
Felix
  • 3,058
  • 6
  • 43
  • 53
1
vote
3 answers

How to call method from parameter JAVA

my problem is duplicit code. I have 4 methods like below but one is for Name, other for Login, etc. So the only thing that changes are getters (p.getName(), p.getLogin()...). private Set filterByName(Set values, Set peeps){ …
Martin
  • 11
  • 3