Questions tagged [call]

0

votes
0

answer
3

Views

How the sytem app Phone send response to the dialler?

Does anybody know how the sytem phone app can send data to the dialler phone number? For example, when bank calling your number and than voice asking you to press "1" for "this" and "second" for this, etc... I need to do the same, but I am stuck here... Will be glad any help!
Andriy Antonov
1

votes
2

answer
363

Views

Android : For call and send SMS Intent need to add permission?

I'm working on Call and SMS Intent while user click on call and SMS button. Question: 1) Need to add permission in AndroidManifest.xml file? 2) Need to code for runtime permission also? I write code for call intent is below: Intent intent = new Intent(Intent.ACTION_DIAL); intent.setData(Uri.parse("t...
Mr. Ad
0

votes
1

answer
25

Views

how to call the python function by passing the output of the function as input to the function

I need to write a python function call logic that calls the python function multiple times. let's say for example I have a script test.py I'm running the script like python test.py val val=sys.argv[1] def check(param, val): . . . if val == valid.text: print '{:10s}:{:10}'.format(param, all.text) val...
dubru
1

votes
1

answer
224

Views

Calling a procedure by pointer from variable in Intel 8086 Assembly

Let's say I have a variable with procedure address: func_pointer dw offset my_function my_function proc near my_function endp How can I call it from the variable? I have tried call dword ptr[func_pointer + 1] but it does not seem to work.
Haris Vitunskas
1

votes
2

answer
566

Views

Dynamic profiling for java program

I want to profile a fairly large java program dynamically. More specifically, I want to generate a dynamic call graph for one run of the program. Is there a commandline profiler to generate such graph. Thank you.
DotNet
1

votes
1

answer
88

Views

About changing the context where a javascript function runs

I solved a problem I had, by realizing that if you define a javascript function in a certain context, you cannot call it to run in a different context. Now, I have been exploring ways to accomplish that. My goal is: I have three windows: The first one is the main window, where my function was creat...
telex-wap
1

votes
3

answer
4.6k

Views

c++ wait for system call

I am working with files in C++. I call a program on system prompt to create a txt file. Then I use C++ to read that file. I need to make sure C++ wait for the program to finish before read the file. An explanation C++: createOutputFile(); system("Start wp/PRO386W.EXE /V1 consult('wp/read.pl')."); /...
Ricardo Neves
1

votes
1

answer
1.2k

Views

How to check an event in another method in Java swing?

In my project I want to select a file in server and send to clients in java swing. In this I must send to the client which I like in the radio button for clients. But I don't know how to check the radio button is clicked in the send button. As I must check the radio button is clicked in send button...
Muralidharan T
1

votes
2

answer
261

Views

Calling a function in matlab. Is it wrong like this?

I have the following class in matlab: classdef floating_search properties S,M; end methods function s = support(x,y) for i=1:length(x) if(y(i)~=1) s = x(i); end end end end end Now, in the command winows, I did the following: >> x=1:10; >> floating_search.S = x; >> y=trapmf(x,[1 3 5 9]) y = Columns...
Simplicity
1

votes
2

answer
106

Views

Activity clears all its data if a incoming call is recieved?

I have developed an application (somewhat a maths quiz) In which user chooses answers in 4-5 options and there are around 10 questions. While answering the questions if device recieves an incoming call ,the activity gets cleared up and all the answers ticked by the user are cleared. I am updating th...
Navdroid
1

votes
1

answer
849

Views

It's possible to read an incoming call using java?

I'm doing a DVT program (For a pizzeria) as test for the university in Java. I want that the program reads the incoming call from a telephone (Landline) but I don't know how. I guess that the telephone should be connected to the PC and to the line, but I don't know what I need to do it. Do you know...
jramirez
1

votes
1

answer
992

Views

Javascript calls WCF Service with error namespace is not defined

I'm working on a maintainance phase of a website and I'm getting problems with it. There's an issue which relates to Javascript trying to call a WCF Service that throw an error on javascript 'Uncaught ReferenceError' Here is the scope of that script: $(document).ready(function() { Utility.blockUI...
Dajka
1

votes
1

answer
793

Views

How to Get a number From Call Log in android?

i want to call Call Logs Activity through intent for activity result. so to select a number from call logs and get this number in activity result. As this is possible in android. if so the please help me how to get a number from call logs. i use the following code but it doesn't work for me. Intent...
ibad ur rahman
1

votes
3

answer
1.5k

Views

Pause application when user gets a phone call in iphone

I have a quiz application in which the duration of each question is 20 sec. It works fine, but in case, if a user gets a call while playing, I want to pause the application & set it in background. Does anyone have any idea?
Romit M.
1

votes
2

answer
97

Views

Make a call in Lua, on a potentially not exposed Function in tolua++

I have a Lua script that uses some functions of my C++ application. I use this script with 2 different C++ application, and I would like to be able to protect a call for not being bound through tolua. For example: - Let's say that I have two C++ applications: MyApp1 and MyApp2 - I made a wrapper of...
matt
1

votes
2

answer
612

Views

JavaCC Ambiguities: How do I tell the parser to chose a certain match from the the list of “longer matches”?

For some input, the parser presents a "Possible kinds of longer matches : { , }", but for some odd reason it chooses the wrong one. This is the source: SKIP : { " " | "\r" | "\t" | "\n" } TOKEN : { < DOT : "." > | < LBRACE : "{" > | < RBRACE : "}" > | < LBRACKET: "[" > | < RBRACKET: "]" > | < #LE...
cocalars
1

votes
1

answer
463

Views

NLog MethodCall

I've got a silverlight project and I'm trying to configure NLog for calling static method but it doesn't (using Nlog.config). I'm following this example. Here's Nlog.config code: ... ... Assembly name = NLogTestSilver.dll Here's MainPage.xaml.cs code: namespace NLogTestSilver { public partial class...
IvBaranov
1

votes
1

answer
916

Views

Strange, float type parameter passing in function in windows

There is a piece of code confuse me, which runs in windows! Here is the code: #define point_float2uint(x) *((unsigned int *)&x) float divide_1000(float y) { float v = y / 1000.0f; return v; } float divide_1000(int y) { float v = float(y) / 1000.0f; return v; } void float_test(void) { int num[5] = {6...
hdbean
1

votes
1

answer
1.5k

Views

makefile double dollar sign in user defined function

In chapter 8 (P150) of Managing Projects with GNU Make, the author introduces Tromey’s Way. define make-depend $(CC) $(CFLAGS) $(CPPFLAGS) $(TARGET_ARCH) -M $1 | \ $(SED) 's,\($$(notdir $2)\) *:,$$(dir $2) $3: ,' > $3.tmp $(MV) $3.tmp $3 endef %.o: %.c $(call make-depend,$
Albert Netymk
1

votes
2

answer
2k

Views

How Can One Javascript Enclosure Internal Function Call Another Internal Function

How can func2 call func1 within the same Javascript enclosure? Is this even possible? var x = (function() { return { func1: function func1() {}, func2: function func2() { var y = func1(); // Doesn't work! What does? } } }());
Chris
1

votes
2

answer
1.2k

Views

I want to call phone number “#51234” in Xcode use telprompt [duplicate]

This question already has an answer here: Phone call number with hashtag on iOS 4 answers I want to call phone number "#51234" in Xcode use telprompt. but telprompt is reject it. [[UIApplication sharedApplication] openURL:[NSURL URLWithString:[NSString stringWithFormat:@"telprompt://#5%@", nzoneNum...
Mr_T
1

votes
2

answer
474

Views

Calling an External Perl Script From Within XSLT

How would I go about calling an external Perl script, or any script, from within an xslt?
Nicholas Anderson
1

votes
3

answer
2.3k

Views

Paypal API, Curl not returning any output

I'm trying to figure out the paypal API, and I have the following code, which should make a call, get an access token, and then make the API call. The first part works(up until the $accesstoken line), and returns the access token properly, but the second part doesn't return anything. The code this i...
James G.
1

votes
1

answer
1.9k

Views

Call method from source file in another directory

I have a newbie question about the C programming language. I have looked around to find the answer in similar questions but I failed to figure it out. Assume a simple project consisting of two dirs: src and test. The source and header files are defined by src/main.c, test/foo.h and test/foo.c. src/m...
ShellFish
0

votes
0

answer
9

Views

Use of SMS or Call Log permission groups - play console warning

In the past we did request the android.permission.RECEIVE_SMS but in the latest release we have removed this permission in order to be compliant with google's new policy. Few days ago, I see this warning in the play console: I was surprised because I thought we already have a compliant app. Looking...
Goran Horia Mihail
1

votes
1

answer
5.3k

Views

call function in another HTML file

I am trying to call another function in a different HTML file would I do something like this: This is the function getting called function rankedScores(music, pattern) { var scoresArray = urlScores(music, pattern); function swap(a, b) { var temp = scoresArray[a]; scoresArray[a] = scoresArray[b...
user2964960
1

votes
1

answer
90

Views

Calling a method in main.py / understanding scope

How do I fix the scope of the following scenario? The main code of my program (within main.py) was not in a method initially. I want to put it into a method and as soon as I put it in a method and called it, errors came up everywhere. How do I make it so that when I put my main block of code into a...
user3106444
1

votes
3

answer
164

Views

Passing address, but it is working like call by value in C?

Hello I am a beginner in C programming language. Recently I read about call by value and call by address. I have learned that in call by address changes in the called functions reflects the callee. However the following code does not work like that. int x = 10,y = 20; void change_by_add(int *ptr) {...
Mayank Tiwari
1

votes
1

answer
3.1k

Views

JQuery : call a function with a String Variable

I'm creating a JQuery plugin which takes in parameter a String : handler. Depending on that, my plugin will be launched. Example if : "handler = submit" In my plugin I'll call : $("form").submit(function() { // Code inside }); With handler = "focusOut" $("form").submit(function() { // Code inside })...
Zero
1

votes
3

answer
1.3k

Views

Calling bootstrap's css and js files from CDN or from root file

There are two ways to call bootstrap's css and js files. From CDN From root file My question is what way is the best way to work.
1

votes
1

answer
876

Views

Open Android call log inside my activity

I do not know if this is possible to achieve: I am developing and android app for the place I work at. The user is will not be able to use anything else but the app. The problem that I am facing is that I need to get a call log for the user to see the missed calls, I was planning to use the OS call...
FedePrado
1

votes
2

answer
258

Views

Android App for Outgoing Call Number Detection is Crashing

This drives me crazy, when i make an outgoing call the app crashes. The MainActivity Class: import android.os.Bundle; import android.widget.Toast; import android.app.Activity; import android.content.Intent; import android.content.IntentFilter; public class MainActivity extends Activity { @Override p...
dalia
1

votes
2

answer
428

Views

Call by Reference with char array pointer

I need to read a stream out of a binary file from a function. I'd like to call it by reference of that char * to have a pointer to the start of the stream in the end. However, Every attempt of mine, did either not change the pointer, or caused an Memory Access Violation. I call the method from anoth...
Vinzenz
1

votes
2

answer
942

Views

Function Calls and Assembly [closed]

Im trying to understand how a program makes a function call (using C semantics) with assembly x86 code. Any help would be greatly appreciated. I could not find any sources to specifically answer this question.
Nancy Raon
1

votes
2

answer
56

Views

Calling attributes in Objective-C

I'm a newbie in Objective-C. I have learned some others programs language before such as C++, C#, Java.In these language, syntax to call attributes or methods are object.attributes, object.methods and in Objective-C are object.attributes, [object methods]. Sometimes I can call [object attributes] in...
Huy Hóm Hỉnh
1

votes
1

answer
915

Views

how to connect two anonymous callers together using twilio

I am currently doing using node js twilio module for a functionality in a project that i am working on for a client. Basically the server is going to initiate a call using twilio api to call a certain person A the connect him to another person B. I am new to twilio so i am still a noob, but this is...
user3775998
1

votes
1

answer
1.4k

Views

Fatal error: Call to undefined method JUserHelper::verifyPassword()

Today as normal I was try to access my Joomla back-end and when I typed Login and Password I received message: Fatal error: Call to undefined method JUserHelper::verifyPassword() in /home/my_site/public_html/plugins/authentication/joomla/joomla.php on line 56 I have no idea how it was happen as I si...
Omar
1

votes
2

answer
71

Views

Problems with a list and array

I have been working on a program that can calculate molecularweight from a chemical formula. So far it works pretty well, until this error occured. I want to make an array that split the chemical formula (It works fine). From here I want to make a method call, that send the array to another method....
Simon
1

votes
1

answer
606

Views

php class magick function __call doesn't work

Hello i trying store debug information by using magick class function __call , but nothing store in.... __call function __call($method, $arguments) { $load_functions = array('get', 'insert', 'update', 'delete', 'rawQuery'); if(in_array($method, $load_functions)) { array_push($this->_debug, microtime...
feesar
1

votes
1

answer
6.8k

Views

How to call a public function from another form

Frm1 contains the code for validation of textbox: Public Function AlphabeticalOnly(ByVal Str As String) As Boolean Dim pattern As String = "^[a-zA-Z\s]+$" Dim reg As New Regex(pattern) If reg.IsMatch(Str) = False Then MsgBox(Str & " is invalid! Please enter alphabetical characters only!", MsgBoxStyl...
Caesium95

View additional questions