Posts

Showing posts from November, 2014

DevNote: Android Service

Dev Note : Android Service Technology Operating System(s): Android Technology(ies): Android Service Use Case(s): Software Development Summary Overview Services are Android application components representing either an application's desire to perform longer-running operations while not interacting with the user or to supply functionality for other applications to use. Each service class must have a corresponding <service> declaration in its package's AndroidManifest.xml file. Services can be started with Context.startService() and Context.bindService() . Note that services, like other application objects, run in the main thread of their hosting process. This means that, if your service is going to do any CPU intensive (such as MP3 playback

TechNote: Restart RDP (Remote Desktop Protocol)

Tech Note : Restart RDP Technology Operating System(s): Windows Server 2008+ Windows 7+ Technology(ies): Microsoft RDP Use Case(s): System Administration Summary Periodically RDP access to a remote host can become inoperable. One solution is to restart the offending system; and in the case of virtual machines (VMs) you may be able to access the system using the VM Manager. This solution may provide an option that if fast and friendly. Description Remote Command Line: sc \\ {ServerName} queryex UmRdpService taskkill /s \\ {ServerName} /pid {PID}   (it may necessary to force with /f option) sc \\ {ServerName} queryex TermService taskkill /s \\ {ServerName} /pid {PID} (it