I know that currently we cannot pair a ps3 controller directly to our phones, but how about indirectly?
We can connect a ps3 controller to our PC via bluetooth
http://www.davieslim.com/ps3/use-ps3-controller-in-windows-wireless-bluetooth/
and control our android phones via a PC over wifi, so in theory.....
http://forum.xda-developers.com/showthread.php?t=657918
I do not have knowledge in this area, nor do I have bluetooth dongle yet and it would take a decent amount of time for me to get this running to try it out. Could someone that is familiar in this area, comment as far as the capabilities of the apps/programs in the links above and if it would be worthwhile as far as refresh rate and response times. Thanks!
You can already do this by chaining together existing apps/features.
1. Get PS3 controller working on PC with Bluetooth.
2. Use a program like "joy2key" which interprets button-presses as keystrokes on the PC.
3. Use an app like "Wifi Keyboard" which creates a LAN page that immediately sends any keystrokes to the phone.
4. Configure your game/emulator to use the keys assigned in joy2key (or configure joy2key to match the controls if they're not configurable).
5. That's all. Run joy2key, open the wifi keyboard page, turn on the PS3 controller, and it should work!
The latency would be my only concern, because there's a lot of hops between the controller and the phone with this method. I doubt it would be much latency though, maybe 5ms at the very most which isn't a problem unless you're playing a twitchy game.
themikeflynn said:
You can already do this by chaining together existing apps/features.
1. Get PS3 controller working on PC with Bluetooth.
2. Use a program like "joy2key" which interprets button-presses as keystrokes on the PC.
3. Use an app like "Wifi Keyboard" which creates a LAN page that immediately sends any keystrokes to the phone.
4. Configure your game/emulator to use the keys assigned in joy2key (or configure joy2key to match the controls if they're not configurable).
5. That's all. Run joy2key, open the wifi keyboard page, turn on the PS3 controller, and it should work!
The latency would be my only concern, because there's a lot of hops between the controller and the phone with this method. I doubt it would be much latency though, maybe 5ms at the very most which isn't a problem unless you're playing a twitchy game.
Click to expand...
Click to collapse
That looks like a much easier method than I had found . Mainly for RPG's so the latency hopefully wont be an issue. I Guess my next step is to get a bluetooth dongle. Thanks for the quick reply!
My concern with this is that I need to be by my computer for it to work. What if I want to take my phone and my PS3 controller on a road trip and still use the controller with my phone? Would it be possible after the initial pairing, or would I always need to use the PC as an intermediary?
I am using a Verizon Galaxy Nexus with stock 4.0.2. I am trying to use NFC Task Launcher in conjunction with Tasker, but it doesn't seem to be working. Basically, I just have two simple tasks I created in Tasker, the first one simply enables car mode and the second disables car mode. Inside of NFC Task Launcher I created switch, with the first task being to launch the car mode enabled task from tasker and the second to run the disable task from tasker.
When I write the tag and test it, I see in my status bar that the the task is run in NFC Task Launcher but nothing actually happens...my phone does not go into car mode as it should. FYI, I have the Car Mode Control app and CarHome Ultra app on my phone to make up for Samsungs lack of car mode options. I also have the "allow external access" option checked in Tasker. Just to be sure I wasn't missing something small, I created another task to just open an app and that didn't work as well.
Any ideas on what I am doing wrong? Any help would be appreciated!
nstanisic said:
I am using a Verizon Galaxy Nexus with stock 4.0.2. I am trying to use NFC Task Launcher in conjunction with Tasker, but it doesn't seem to be working. Basically, I just have two simple tasks I created in Tasker, the first one simply enables car mode and the second disables car mode. Inside of NFC Task Launcher I created switch, with the first task being to launch the car mode enabled task from tasker and the second to run the disable task from tasker.
When I write the tag and test it, I see in my status bar that the the task is run in NFC Task Launcher but nothing actually happens...my phone does not go into car mode as it should. FYI, I have the Car Mode Control app and CarHome Ultra app on my phone to make up for Samsungs lack of car mode options. I also have the "allow external access" option checked in Tasker. Just to be sure I wasn't missing something small, I created another task to just open an app and that didn't work as well.
Any ideas on what I am doing wrong? Any help would be appreciated!
Click to expand...
Click to collapse
Was Tasker installed before NFC Task Launcher? This is necessary as it provides a permission and Android's current permission model breaks if package A provides a permission to B but B was installed before A.
Worked!
Wow, that worked. Thank you!
Bluetooth
I have a follow up question regarding turning on and off bluetooth. I used NFC Task Launcher to enable/disable bluetooth. The enabling part works, but it won't disable it. Any ideas?
I have a question about tasker
I am new to this forum after getting some NFC tags and I saw some good ideas about what to do with the tags from another thread (http://forum.xda-developers.com/showthread.php?t=1428226)
I would like to know if there is a way to use if then statements in tasker to swap my WiFi for the below scenario
I have two wireless networks at home (Lounge Network/Office Network) and I will have a NFC tag between the two networks. I would like the event to identify the network I am connected to and pick the other.
Any help with this would be great
krohnjw said:
Was Tasker installed before NFC Task Launcher? This is necessary as it provides a permission and Android's current permission model breaks if package A provides a permission to B but B was installed before A.
Click to expand...
Click to collapse
Again, I tried this several times with no avail. Any help?
Edit: I had a colon in the task name. It won't launch the task if there is one. May want to add that to your app description.
ZeroManArmy said:
Again, I tried this several times with no avail. Any help?
Edit: I had a colon in the task name. It won't launch the task if there is one. May want to add that to your app description.
Click to expand...
Click to collapse
I'll fix that
DROWNING in Google and forum search results here. Good search terms, links, 'app' names, welcome.
(Drowning because I catch hits where the android remote controls another device, such as a TV, or a PC - instead of the other way around.)
It's becoming increasingly difficult to remotely help friends that use Android - mostly because I can neither see nor control their screens.
What's the best way / apps to go about setting this up?
NOTES:
this is NOT android acting as a remote control.
this is NOT android remote controling a PC
this IS remote controlling the ANDROID.
I have remote access to their network, be it via ssh or vnc. (From a 'privacy' perspective, it's only sense to get to their network, then get to their Android - i.e. Access to their stuff is under their control.)
wi-fi is up and happy. As is USB, for that matter.
the remote phone is NOT rooted.
I've come across, but have no opinion on (your opinions welcome):
Remote Control Add-On - https://play.google.com/store/apps/details?id=net.xdevelop.rc&hl=en
Remote Web Desktop - https://play.google.com/store/apps/details?id=net.xdevelop.rm&feature=more_from_developer
AirDroid - https://play.google.com/store/apps/details?id=com.sand.airdroid
TeamViewer QuickSupport - https://play.google.com/store/apps/details?id=com.teamviewer.quicksupport.market.samsung / Needs pc side from www.teamviewer.com. (Note: Android might not be a Samsung. I thought I saw a non-Samsung remote control on their site, but now don't see it.)
Droid VNC server - https://play.google.com/store/apps/details?id=org.onaips.vnc
VMLite VNC Server - https://play.google.com/store/apps/details?id=com.vmlite.vncserver&hl=en (Has a process for non-root access. Better than nothing, I suppose.)
Webkey - https://play.google.com/store/apps/..._result#?t=W251bGwsMSwxLDEsImNvbS53ZWJrZXkiXQ..
Thoughs / suggestions / terms / recommendations / experiences / etc.???
Thanks.
AirDroid suppose to be a good one, but didn't use it my self yet.
taiber2000 said:
AirDroid suppose to be a good one, but didn't use it my self yet.
Click to expand...
Click to collapse
Remote Web Desktop looks like it has some interesting functionality, is pretty enough without being over the top (speaking as a guy who finds ssh, in colour, of course, adequately pretty), but is sufficiently broken to be not worth pursuing. Terminal isn't really there (e.g. su results in prompts of $ on one line, then # on next), web cam capture captures a still only, screen capture bears no resemblance / colour fix doesn't, ... uninstalled.
Companion or standalone Remote Control Add-On is through browser only, and at port 3389 of all things. [No RDP doesn't work, either.] Chrome / Opera / Firefox none works - says to install java, takes you to Oracle but not to what it wants. Not quite latest / greatest 6 installed beforehand and it still wants java installed. Not going back to 7, uninstalled that some while ago - will wait until it becomes real. App promises standard vnc connectivity at 5901 (why not 5900 I've no idea), but doesn't work. Netstat shows it isn't even listening.
Uninstalled ... next!
taiber2000 said:
AirDroid suppose to be a good one, but didn't use it my self yet.
Click to expand...
Click to collapse
Webkey wouldn't stay up long enough for more than a few clicks in browser.
Service kept dying. Restart succeeded most of the time, but not always. Task manager exit and it came back up in those instances.
Uninstalled.
*Note to Selves: AdAway (can) run an internal web server (to catch / redirect web calls), and (by necessity) runs on standard ports, both www and https. So ... if you run another web catching app, it can't use those ports. [Not a problem for them to do so to date, but just so's you don't blame the app under test for not working when it's trying to listen on a port already taken by AdAway.]
- and you want to run the AdAway web server - better it give an immediate unreachable response than having to wait for the call(s) to time out.
Airdroid seems nice / capable enough, if a little 'fluffly.'
Separate ssh / samba / vnc apps seem a little simpler and cleaner - if more to configure.
Samba - 'Samba Filesharing' (edit smb.conf if you want root (as in /), although smb.conf now says modifications not supported.)
[If you modify / something breaks, go back to stock and see if it still breaks. Duh!]
VMLite VNC Server - not tried.
Pixel VNC Server Beta - sure is. Won't stay up. Connect attempt results in service failure [Error(3)] before first screen draw. (I see drawing initial screen message, then it drops.) Uninstalled. Looks to have the nicest / cleanest interface though. Just the facts / text, nothing goofy / fancy.
VNC server (wencent) and droid VNC server must use same code base - options/screens seem identical.
- both are slow (but better than nothing), both seem to take a number of restarts before picking up password / port changes, although the port it says it's at matches the port entered. e.g. it defaults to 5901, I changed to 5900, started, and it displayed 5900 but was actually listening on 5901. Note: Don't use special characters in password, such as '&' - plain text password storage in .xml file gets written wrong. Probably the cause of the startup / port / password misfires. YEP, I SAID *PLAIN* TEXT PASSWORD STORAGE. <sigh>
VNC server (wencent) blog page annoying, droid VNC 'nicer'. I noted to both to please put restart button on same page as on/off. No auto-rotate, so if you have to rotate (in settings), and since a restart is necessary to effect, a restart button would be useful.
droid VNC settings hint at (but broken / no worky / not what it is) at a reverse VNC connection. Which would be FANTASTIC! Your idiot friend out and about you can't get to, but he could call you at your known IP / forwarded listening port.
HTH.
Android control PC?
I have read the article http://flash-video-player.blogspot.com/2013/02/how-to-use-android-phone-to-remote.html and I just wonder if the apps here can support PC controlling Android phone.
I was looking for the same thing.. I have the Samsung Captivate and S3.
I tried the RemoteCall from Rsupport which I heard of them from Mobizen (same company). No rooting and standard ports (can't see it happening on a 8888..). It can control and gives you all the info.
One thing is that they charge 1600 for a year.. waaay too expensive for me.. they said discount is available for more than 1 license, but I guess that will apply to businesses.. not for individuals.. I will say Mobizen is so far the solution for me.
Installed VMLite VNC Server. Works great on my not-rooted phone. I had to install libncurses5:i386 on my amd64 ubuntu to work with adb. It would be better if I could change the resolution of the phone's image. Should be cheaper.
Thanks, i am using webkey. it's a very nice app. :good:
team viewer versus airdroid
Hello everyone. Sorry mi english is not very good
I am doing proyect that I have to install a device ( samsung s4 ) 5km away from home and run an app on it to trigger a foto camera.
Team viewer do that but you have to be in the device to accept the conexion remote, so is no suitable for me at this point. Airdroid dont ask for permision to conect to the device , which is excelent , but I can not run an app inside the device in remote, so is no ok for me at this point.
The question is : how can I open an app to control the camera from the device in remote whith out me beside to the device?? Is there an app to do that??
How can I avoid in team viewer to ask permision to acces to the device??
Is posible to do something about it ??
I am not talking about the camera in the device , I am talking about a camera which is conected to my device by a cable at the same time and trigger and control the camera setings from km´s away via Lan conection 3g.
Thank you all
Marcos
connect to teamviewer quicksupport without someone to accept you
maxbcn said:
Hello everyone. Sorry mi english is not very good
I am doing proyect that I have to install a device ( samsung s4 ) 5km away from home and run an app on it to trigger a foto camera.
Team viewer do that but you have to be in the device to accept the conexion remote, so is no suitable for me at this point. Airdroid dont ask for permision to conect to the device , which is excelent , but I can not run an app inside the device in remote, so is no ok for me at this point.
The question is : how can I open an app to control the camera from the device in remote whith out me beside to the device?? Is there an app to do that??
How can I avoid in team viewer to ask permision to acces to the device??
Is posible to do something about it ??
I am not talking about the camera in the device , I am talking about a camera which is conected to my device by a cable at the same time and trigger and control the camera setings from km´s away via Lan conection 3g.
Thank you all
Marcos
Click to expand...
Click to collapse
if you have the same problem like me with the droid vnc server (connect but can't control it) the droid vnc server will help to conect to teamviewer quicksupport without someone to accept you. the video i make will show you how.
i cant add link so you have to find it by searching in youtube: connect to teamviewer quicksupport using droid vnc server to get access
Be careful with webkey, it send personal data...
I have tested 'Droid VNC server' and it requires root. I couldn't use it without that.
I have a FREE complicated solution without root.
Screen output:
while sleep .01 ; do convert -depth 8 -size 1280x1280 rgba:/dev/graphics/fb0'[0]' -rotate 90 -crop 1280x720+0+0 bmp:/scard/b.bmp ; mv /scard/b.bmp /sdcard/c.bmp ; echo -n . ; done
It works for my padfone 2, without padfone station. On any linux, you can sshfs your phone, and access /sdcard/c.bmp that way.
It should be run as the user adb, use adb shell from a PC connected by USB to access it, then adb forward to access to the sshd running on the phone.
If you want this to continue after disconnection, you should run tmux first.
I uploaded working binaries for bash, convert, scp and sshd on gentooandroid.sf.net ; tested on Android 4.1 and Android 4.4.
The difficult part on secured Android 4.4 is to find a place not mounted noexec where to put the binaries.
Mouse click on pixel position 300 300:
/system/bin/input tap 300 300
Text input:
/system/bin/input text yourtext
Home button:
/system/bin/input keyevent 62
See /system/bin/input and http://grepcode.com/file/repository...android/4.0.4_r1.2/android/view/KeyEvent.java
Anyone trying to automate this (with "Automate" from google play) or connect that to a VNC server, please report progress !
thx so much for that thread, i spend hours googling this.
i am actually trying webkey.
what i want to do primarily is control volume on android, as my device acts as a webradio (connected to the stereo via headphone jack).
I use droid vnc to start up "tunein radio" . that works fine. BUT it is way to slow to adjust volume, PLUS there are no keys to adjust volume, so i have to go to a quicksetting - volume - and adjust via mous. btw it only takes keyboard inputs if they are followed by a left-mouse-click... alt-d and alt-u dont work.
i also tried a ssh server on android and control volume via
"input keyevent 24"
and
"input keyevent 25"
which workes for a while, but then has no effect any more
vnc connection is crap, as my phone is an old samsung s2 - to slow.
acutally i am looking for the uri to send to the webkey server to adjust volume, so i wouldnt have to go over the website any more. - seems its websocket calls, so i will have to make some python implementation, as i dont know jscript.
-- btw, you can send volume event over ssh like this, but i dont know why it takes seconds for the device to react:
on the console:
input keyevent 24
input keyevent 25
Use automate to change volume
Automate from Google play can change the volume according to a change of file in a clould (or any other method you like).
Minimal asking of permission, this is a good thing.
Beware, Automate is free only for up to 30 "lines" of program, but just changing the volume is like 10 "lines" of program only.
Hi there. First of all, I'm NO root. So I can't use Wanam Xposed. Maybe we can help each other to solve these issues.
-Is it possible to disable bluetooth popup when enabling it? I don't want to select my already connected device each time I want to enable BT.
-Is it possible to change the default player for BT? When I'm connected to my car and I touch "play" button, the default Music app in the phone starts, not the lastest one or any other app. I'd like to open another app instead (podcast player).
-Is it possible to enable Bluetooth WITHOUT unlocking the phone? I mean, from the lockscreen. (I have fingerprint security)
Thanks!
Why?
This link doesn't make any sense, you wind up in the same place on a browser instead of the app that I paid for that doesn't work.
Pp.
AFIK there is no way to hide the Bluetooth popup without root. Also I don't mind the popup, better than having to go all the way through settings to connect to a Bluetooth device that I am not already paired with. also if multiple Bluetooth devices in the area that are paired you will just connect to one and you will have to go to settings to switch to the other device.
Default player would also have to be changed through root, If you even can.
And no you cannot turn off anything or open notifications when there is a screen lock. The whole point is to stop people from doing things to your phone while it is locked. However you can setup safe locations (uses gps to find your location) where your phone will stay unlocked just like when you have a trusted device connected via Bluetooth.