off

How to "echo off" the serial port in java

Hi , I am using java comm library for serial port communication in my application. When I put some data on output stream, after sometime the same command is displayed on input stream of serial port. Do anybody has any idea how to echo off the serial port? ...

C# Sharp Windows Application prevents Windows from shutting down / logging off

I have written a C# Windows Forms application, not a service (it is only used when the user is logged in and has a graphical user interface) that has a background thread running in an infinite loop. When I try shutting down Windows (7) however, it tells me the program is preventing it from shutting down or logging off and asks me whethe...

Programmatically power off the windows machine immediately

Can I create a simple program to power off the windows machine immediately? I would like the behavior to be like pressing PWR OFF/RESET button. So the power is cut off immediately. Is there any way to send a software interrupt to motherboard to make this happen? ...

Copying a file off an android device?

How can I copy a file from some Android app's assets folder, to somewhere off the device? Alternatively, how can I move or copy an app so that it is installed on the sd card, not the main rom? Peter ...

Screen ON/OFF receivers on a service and battery life

Hi, I'm new to Android and Java programming so I would like to clear up couple of things. I've wrote a background service that every 10 seconds it verifies something and based on some conditions it executes something or not. This is implemented using a Timer. My understanding until now is that the timer in the service will run even when ...