Can android be self-controlled. I know you can control it with ADB.
Do the apps like "3cx droid desktop" or "remote web desktop full" use this feature to control it?
I want to control my android phone over the internet and i don't have a public IP address, so I tried those two apps and their "bridge mode", which probably transfers data through their server, but just the remote control feature (alongside with camera, which works) cannot be running in the bridge mode.
So is there any way you can control a phone with commands from e.g. Twitter? It would simulate the touch itself? (actually the only thing I want is what I mean by remote control - to simulate the touches, only x,y coordinates). I know python basics. So far no java.
Related
In what way could I control an android app from another app that could be on iOS or android?
My use case is I want to be able to control an android tablet that's part of a smart-home product. In this case I don't have direct access to the tablet's screen as it's encased inside the product. So I'd like to control the tablet via another android/ios app.
Specifically:
be able to connect the android tablet to wifi
could I host a server on the android tablet to be able to communicate with it once connected to the wifi?
For part 1 I was thinking I could do something along the lines of have the tablet be in AP mode and use the client app to connect to it, is it possible to update the tablet's wifi once that is done?
If you were writing both pieces of software you could, although I wouldn't recommend it- Android is not meant to be a server OS, the battery optimizations and unreliability of Services make it a poor choice. Plain old Linux would be better. But controlling a 3rd party app remotely? You may be able to make something work, kind of. Something like connecting via wifi debugging, rooting the device, and sending raw touch events via the /dev/ filesystem. But it will be fragile, prone to breaking, and really hard to do. You're better off looking into open source solutions, like OpenHab.
I just need some initial directions as I am new when it comes to electronic hardware and android phone/app interaction. I am comfortable in both domains within their boundaries.
I have a black box electronic circuit. To simplify things lets assume all it does is, send binary 1 or 0 i.e. electric On or Off pulse. I need to connect this circuit to the android phone via USB(either Host/accessory mode) and want my android app to react to this pulse.
If possible - start the app when the phone receives 1/ON signal
OR display an "Switched ON" dialog message while the app is running in background as a service
Please dont worry too much about the electronics part. I'm aware that this is a software/programming forum.
e.g. black box : a electronic thermometer that sends a pulse/1/On signal if the temperature goes to 100 degrees Centigrade OR anything similar that's on a simple circuit board(no processor or programming language/architecture dependent) and could trigger a signal that could be sent to the android phone to inform my app that the event occurred.
another even simpler example, an earphone that has a connect/disconnect call button connected to audio jack of the android phone. i just need to replicate this functionality. instead or ear phone, my electronic BB and instead of phone call program, a custom android app.
Links, DIY projects, Tuts anything will be really helpful
This is a big open question. I'm guessing what you are asking for is a "real-world <=> Android" USB interface. This requires some hardware and some software. You may want to have a look here:
http://www.yoctopuce.com/EN/products/usb-sensors/yocto-knob
http://www.yoctopuce.com/EN/article/sample-applications-for-android
You may also want to have a look at the competition
www.phidgets.com
Be aware that making a USB device working with an Android device is not as straight forward as it sounds: you will need a Android device able to work in host mode, the Android image used in the device must support USB devices and you may have a power problem if the device is supposed to be powered from the USB port you are planning to use.
The experience shows that the cheapest an Android device is, the more unlikely it will work with exotic USB devices.
I've very interested in a new project, but it requires the user be able to access the phone's display via a wireless trackpad and screen. I'm thinking bluetooth is the best way to go. I can find a few resources regarding the bluetooth classes, but I can't find any resources for mirroring the phone's display or manipulating the ui with a trackball using blue tooth.
Are these two things possible? Could someone give me some information or point me towards some resources?
So you want to remotely control your Android Device with a Trackpad using Bluetooth for the connection? Do you need this for the whole Android System or just for your App?
If just for your App, their should be a way of doing this since communication between two Bluetooth-Devices runs over Sockets (like Client-Server communication). See the Androids Bluetooth API. But I'm also not sure how you plan to make the Android Device understand the Bluetooth-Commands which the Trackpad is sending to it (if you can even get both of them to connect to each other).
If you need it for the whole System, I'm not sure if this is possible (without rooting the phone and maybe writing some drivers for it), as I don't know any way of emulating a touch/click on the screen (which is basically what you want).
Although I know that there are some experiments running to connect a Bluetooth-Keyboard with an Android Device. But their is nothing official yet and nothing to look into (like SourceCode) as far as I can tell.
But maybe I'm looking at this a lot too complicated...
I am thinking to try writing an app that can use android phone to remote control the desktop.
Just want to make sure my concept is correct.
So for the android able to
communicate with the desktop, I will
need some kind of protocol like...
maybe Bluetooth? In my desktop, I
should have a service app that open
Bluetooth connection for my Android.
Is Bluetooth is a good connection
for writing remote control?
Is it possible to use the Bluetooth
receiver from mouse to do the same
thing?
If you want to start with remote desktop I really recommend to you to first do a Desktop pc version before starting with the Android version.
Like Teamviewer. I recommend to do it with WiFi (WLAN) internet. Bluetooth needs a distance of maximum 20 metres. But if you want to do it fast, Bluetooth (instead of WLAN) could be better to do a presentation in the same room.
If you want to access the screen by using your phone, you need to access the mouse on desktop pc (Using of Mouse's bluetooth is not really possible). I think that is very simple. You also need to drive the keyboard. The difficult thing here is to do it with correct keyboard settings and character transmission.
Keyboard Hook
Also one of the most important things is to get it quick: Use Port forwarding on your router and on client side. That is a very tricky thing, Teamviewer is one of the best applications I've seen. They do not need it but still are working quick and direct.
Also take a look to your streamed images. Best way is to use MPEG4. But could be very tricky.
I would do it in the future with my WP7 and a DotNet app. Perhaps we can work together.
Yes, it can be done using Bluetooth, but a better option would be to use WiFi because it has more range and higher bandwidth. You can use sockets to communicate between mobile and desktop. Java provides a class java.awt.Robot which you can use to simulate mouse and keyboard events.
robot.keyPress(KeyEvent.VK_N);
robot.mouseMove(x,y)
Robot class also let's you capture screen, so it is possible for you to replicate desktop screen on mobile just like teamviewer. The complete process of creating an android based remote control is detailed here
I would like to make an interface for an Android tablet that would work for someone with little to no physical dexterity or speech ability.
Is it possible to interface a joystick to control the Android device via Bluetooth? By "control", I mean the entire operating system - selecting an app, launching it, controlling the menus, etc. I want to give the user control over the whole thing, not just a specific app. On a PC, this can be accomplished by creating a generic USB HID interface and an arcade joystick to move the mouse over the screen and click on things.
Is it possible to do something like that in Android?
It seems that remote control from a PC is actually possible, but requires the phone to be rooted. Is there any way to do this without modifying the phone?
Ideally I'd like to install my simple app and control the unit remotely (through a PC would be fine, but direct control through Bluetooth would be better).
There are new options on the market now - TECLA creates a switch enabled interface that allows the user to use one switch (or more) to access the entire Android system, and it is quite effective.