remote-control

Make your program USE a gui

橙三吉。 提交于 2019-11-30 15:43:59
I'd like to write a program able to "use" other programs by taking control of the mouse/keyboard and being able to "see" what's on the screen. I used AutoIt to do something similar, but I had to cheat sometimes because the language is not that powerful, or maybe it's just that I suck and I'm not able to do that much with it :P So... I need to: Take screenshots, then I will compare them to make the program "understand", but it needs to "see" Use the mouse: move, click and release, it's simple, isn't it? Using the keyboard: pressing some keys, or key combinations, including special keys like Alt

Make your program USE a gui

隐身守侯 提交于 2019-11-29 23:47:09
问题 I'd like to write a program able to "use" other programs by taking control of the mouse/keyboard and being able to "see" what's on the screen. I used AutoIt to do something similar, but I had to cheat sometimes because the language is not that powerful, or maybe it's just that I suck and I'm not able to do that much with it :P So... I need to: Take screenshots, then I will compare them to make the program "understand", but it needs to "see" Use the mouse: move, click and release, it's simple,

What is the best way to stop an application being copied and used without the owner’s permission?

隐身守侯 提交于 2019-11-29 19:10:46
问题 What is the best way to avoid that an application is copied and used without the owner’s knowing? Is there any way to trace the usage? Meaning periodically the application communicates back, with enough information so that we can know where it is, and if it’s legal. Next thing, of course, shut it down, if it’s not legit. 回答1: Hardware dongles are the best way if you are really concerned about piracy IMO. Check out the big industrial CAD/CAM packages worth thousands or tens-of-thousands, or

How to change track position on lock screen/control center?

て烟熏妆下的殇ゞ 提交于 2019-11-29 01:38:50
问题 When playing a song with the ios 7 music app the user can use slider to change song position in the lock screen/the control center. Slider is active: But when playing music in my app user can't do it. Slider isn't active: How can i enable these feature in my app? 回答1: You can change track position with help of MPRemoteCommandCenter on iOS 9.1 and higher. if (floor(NSFoundationVersionNumber) > NSFoundationVersionNumber_iOS_9_0) { MPRemoteCommandCenter *commandCenter = [MPRemoteCommandCenter

How does TeamViewer take screenshots and allow remote control without root?

谁说我不能喝 提交于 2019-11-28 09:57:45
Background TeamViewer allows to remote control other android devices . it's quite slow, but it does the job. it requires 2 apps being installed. one that controls (link here ), and one for being controlled (link here ) . I'm not sure if it has any alternatives, but I would like to know if it's possible to do the same. The problem I can't find any special permission used by teamViewer, and it does it all without root. This is weird, since I've read on so many places that in order for an app to take a screenshot, it must have root permission (or be connected to a computer and use ADB to take a

Receive remote control events without audio

落爺英雄遲暮 提交于 2019-11-28 08:36:39
Here is some background information, otherwise skip ahead to the question in bold. I am building an app and I would like it to have access to the remote control/lock screen events. The tricky part is that this app does not play audio itself, it controls the audio of another device nearby. The communication between devices is not a problem when the app is in the foreground. As I just found out, an app does not assume control of the remote controls until it has played audio with a playback audio session, and was the last do so. This presents a problem because like I said, the app controls

How can you play music from the iPod app while still receiving remote control events in your app?

家住魔仙堡 提交于 2019-11-27 20:17:37
Ok, I'm trying to let a user choose songs from their iPod library to listen to, but I still want to receive remote control notifications (headphones, lock screen osd, etc.) in my app so I can do some extra things. So far I can get either iPod music playing, or headphone events, but not both simultaneously. Here's what I know so far... If you use the MPMusicPlayer, you can easily have programmatic access to the entire music library. However, it, not your app, receives the remote notifications regardless if you use applicationMusicPlayer or ipodMusicPlayer. If you use AVAudioPlayer (Apple's

How does TeamViewer take screenshots and allow remote control without root?

雨燕双飞 提交于 2019-11-27 02:43:59
问题 Background TeamViewer allows to remote control other android devices . it's quite slow, but it does the job. it requires 2 apps being installed. one that controls (link here), and one for being controlled (link here) . I'm not sure if it has any alternatives, but I would like to know if it's possible to do the same. The problem I can't find any special permission used by teamViewer, and it does it all without root. This is weird, since I've read on so many places that in order for an app to

Receive remote control events without audio

一个人想着一个人 提交于 2019-11-27 02:20:08
问题 Here is some background information, otherwise skip ahead to the question in bold. I am building an app and I would like it to have access to the remote control/lock screen events. The tricky part is that this app does not play audio itself, it controls the audio of another device nearby. The communication between devices is not a problem when the app is in the foreground. As I just found out, an app does not assume control of the remote controls until it has played audio with a playback

How can you play music from the iPod app while still receiving remote control events in your app?

梦想与她 提交于 2019-11-26 22:54:47
问题 Ok, I'm trying to let a user choose songs from their iPod library to listen to, but I still want to receive remote control notifications (headphones, lock screen osd, etc.) in my app so I can do some extra things. So far I can get either iPod music playing, or headphone events, but not both simultaneously. Here's what I know so far... If you use the MPMusicPlayer, you can easily have programmatic access to the entire music library. However, it, not your app, receives the remote notifications