Questions tagged [communicate]

129 questions
2
votes
2 answers

How to communicate 'externally' between Adobe Animate CC animations?

From the script in the html page, I'm trying to control what happens in the Adobe Animate CC animations I've created. For example, here you'll see a script that doesn't work that's trying to tell the ship animation to gotoAndPlay(5). Anyhow, the…
frogseatflies
  • 133
  • 2
  • 9
2
votes
0 answers

Forward notifications from Android to in car Bluetooth device

I'm trying to figure out how to send notifications from my phone to my cars stereo system. The car uses the Blue&Me system. It can intercept and show SMS just fine, plus it has access to my contact book and call log. I don't know where to start on…
AndroidCoder
  • 302
  • 1
  • 3
  • 13
2
votes
0 answers

Is it a good idea to communicate between services?

I was thinking of using one service to store variables and call another service which stores the functions that call the web API that would be called by service1 - would this be a bad idea? For example, I have a controller that only gets the values…
2
votes
2 answers

How to communicate two android phones without using internet, bluetooth or wifi connection?

I want to create an android application. Is it possible to send a notification from my phone to other phone which has enabled its WiFi hotspot. I mean, one phone has enabled its WiFi hotspot and I scanned available WiFi devices and I saw its WiFi…
Ozlu
  • 1,255
  • 1
  • 14
  • 20
2
votes
1 answer

Communicate between pages in wpf

I have two Pages and one MainWindow.. I load the Pages in two Frames.. Now I want to execute methods from each other.. How can I do this? This is Page1.cs: public partial class Page1 : Page { public Method1() { doSomething; …
Klatschen
  • 1,652
  • 19
  • 32
2
votes
0 answers

subprocess.Popen communicate with timeout, python 3

I'm trying to get the output of another process in python3 Here si my code proc = subprocess.Popen(BIN, stdout=subprocess.PIPE) try: outs = proc.communicate(timeout=10)[0] except subprocess.TimeoutExpired: proc.kill() outs =…
Titouan56
  • 6,932
  • 11
  • 37
  • 61
2
votes
0 answers

communicate with another applications on the same machine

Hi Stack Exchange Experts, I am working on a task, that requires me to communicate with another applications on the same machine. the machine is a Windows 7 laptop. There are in total 3 applications on the laptop. Their specifications are given…
Sarah
  • 21
  • 1
2
votes
1 answer

Not getting any error messages from failed subprocess.Popen

I set up a subprocess.Popen to generate a pdf through pdflatex. Code snippet: process = subprocess.Popen(command, stdout=subprocess.PIPE, shell=True) output, err = process.communicate() print output print err It works just fine, but the problem is…
user2875994
  • 195
  • 4
  • 13
2
votes
1 answer

How can I get the command output instead of the subprocess in python?

If I do like: x = subprocess.Popen(["nosetests", "TestStateMachine.py:FluidityTest.test_it_has_an_initial_state", "-v"], stdout=subprocess.PIPE) I have the output from my command executed: test_it_has_an_initial_state…
hudsonsferreira
  • 207
  • 2
  • 13
2
votes
3 answers

Get list of dicts from another python script?

I have a program where I need to call another py script from one py script and get a list of dicts from it. I've figured out how to call the other py script and get list as a string from stdout but how do I use it in the second script ? Here is what…
Grim Reaper
  • 550
  • 1
  • 5
  • 18
2
votes
2 answers

Python, mpg123 and subprocess not properly using stdin.write or communicate

ok, so my google-fu really kind of sucks and I was unable to find an answer, hopefully you folks can help me ^_^ ok, so what I thought would be a simple script is seemingly not communicating with its subprocess correctly, I'm running this line by…
codingNewb
  • 470
  • 1
  • 8
  • 23
2
votes
1 answer

whats the difference between .communicate() and .communicate()[0]?

I'm using python. I'm trying to run a process and fetch the output using subprocess.popen. After reading around I see people using communicate()[0] but thats not in the docs, it is used in an example. I'm wondering if someone could fill me in as to…
incognito2
  • 1,024
  • 3
  • 13
  • 20
2
votes
2 answers

js communicate between popup to main window

I got two browser windows on the same domain, one is the main window and the second is small popup window. i found this: How to Communicate between two browser windows? but, the problem is the popup opens as event on the local computer by 3rd party…
itai
  • 302
  • 5
  • 15
1
vote
4 answers

iphone - communicate with previous viewcontroller after segue

Is it possible to communicate with a viewcontroller after a segue switched to another viewcontroller? I want to know, because I need data from a viewcontroller passed on to the next viewcontroller, but I just can't figure out how to get data from…
laarsk
  • 862
  • 6
  • 17
  • 36
1
vote
3 answers

What and How the Java Swing concept related to Cloud?

One of my friend asking me something related to Client Software and Cloud. Java Desktop Swing as Client and Web as Data Resource (Database -1 single hosting). That's the main thing I've heard. If there's a common java app used as a client how do…
gumuruh
  • 2,544
  • 4
  • 33
  • 56
1 2
3
8 9