Remote control a distant android phone on a local and

If it doesn't relate to Debian, but you still want to share it, please do it here

Remote control a distant android phone on a local and

Postby satimis » 2020-01-13 03:49

Hi,

I need to remote control a distant android phone (say phone-A) on a local android phone (say phone-B). Both phones are NOT connected to Internet nor WiFi network. I have been googling several days reading documents searched but can't find solution. Would AirMore be my choice? Using Hotspot or Bluetooth? But the former sill needs WiFi connection.

Please advise. Thanks in advance.

Regards
satimis
satimis
 
Posts: 516
Joined: 2004-09-11 11:50
Location: Hong Kong

Re: Remote control a distant android phone on a local and

Postby sunrat » 2020-01-13 13:42

Are you planning to cheat at Ingress? (or Pokemon Go or Wizards Unite etc.) :mrgreen:

I don't have an answer but you need a connection between them and I think you will need wifi or internet. Not sure about Bluetooth but you said "distant" which disqualifies Bluetooth.
“ computer users can be divided into 2 categories:
Those who have lost data
...and those who have not lost data YET ”
Remember to BACKUP!
User avatar
sunrat
 
Posts: 2956
Joined: 2006-08-29 09:12
Location: Melbourne, Australia

Re: Remote control a distant android phone on a local and

Postby satimis » 2020-01-13 13:59

sunrat wrote:Are you planning to cheat at Ingress? (or Pokemon Go or Wizards Unite etc.) :mrgreen:

I don't have an answer but you need a connection between them and I think you will need wifi or internet. Not sure about Bluetooth but you said "distant" which disqualifies Bluetooth.

What I intend to achieve is for taking photos and video, using phone-B to control phone-A, the camera. The screen of phone-A will be cast on phone-B so that I can operate the function/feature of phone-A, the camera, on the screen of phone-B. Both phones are NOT connected to Internet. The distance between 2 phone is only about 3 feet, mounted on both ends of a monopod.

In my previous searching I was aware that it is possible using WiFi. But on open ground there is no WiFi service provided. I wonder whether it would be possible using Bluetooth to get the job done.
satimis
 
Posts: 516
Joined: 2004-09-11 11:50
Location: Hong Kong

Re: Remote control a distant android phone on a local and

Postby sunrat » 2020-01-13 23:14

I still don't know about Bluetooth.
You could set up both phones to connect to a virtual router or portable wifi router/hotspot device. Virtual router software can be set up to use a laptop as a router. You could do it with one phone and the laptop, running something like AirDroid on the laptop.
It's also possible to directly connect 2 Android phones with WiFi Direct.
“ computer users can be divided into 2 categories:
Those who have lost data
...and those who have not lost data YET ”
Remember to BACKUP!
User avatar
sunrat
 
Posts: 2956
Joined: 2006-08-29 09:12
Location: Melbourne, Australia

Re: Remote control a distant android phone on a local and

Postby satimis » 2020-01-14 03:40

sunrat wrote:I still don't know about Bluetooth.
You could set up both phones to connect to a virtual router or portable wifi router/hotspot device. Virtual router software can be set up to use a laptop as a router. You could do it with one phone and the laptop, running something like AirDroid on the laptop.
It's also possible to directly connect 2 Android phones with WiFi Direct.

Thanks for your reply.

It is possible to do it inside house and there are many solutions on Internet. But outside house, in open ground, there is no WiFi service provided. I'm now considering using Tethering, i.e. one phone with Internet access and sharing the network to another phone without Internet access.

satimis
satimis
 
Posts: 516
Joined: 2004-09-11 11:50
Location: Hong Kong

Re: Remote control a distant android phone on a local and

Postby pylkko » 2020-01-14 05:53

You don't need internet for this to work. Just make one phone an access point and connect the second to it. This is WiFi without a router since one phone is now a router
User avatar
pylkko
 
Posts: 1621
Joined: 2014-11-06 19:02

Re: Remote control a distant android phone on a local and

Postby satimis » 2020-01-14 07:48

pylkko wrote:You don't need internet for this to work. Just make one phone an access point and connect the second to it. This is WiFi without a router since one phone is now a router

Thanks for your advice.

What app I need to install? How can they find each other?

Portable WiFi Hotspot?

I couldn't find WiFi tethering? Bluetooth tethering is available


Edit-1
=====

I found the solution with following steps;

On the remote/distant phone:
1. Enable Mobile Hotspot
2. tap "Mobile Hotspot"
The name of the device/phone and password are displayed there.

On the local phone:
1. Settings -> Connections -> WiFi
The distant phone is displayed there
Enter password

That is all


Edit-2
======

Still "Mobile Hotspot" needs a SIM card to work. If without a SIM card on the mobile phone "Mobile Hotspot" can't be enabled. Similarly "Bluetooth tethering" won't work without a SIM card. Both of them are for Internet sharing.


Regards
satimis
satimis
 
Posts: 516
Joined: 2004-09-11 11:50
Location: Hong Kong

Re: Remote control a distant android phone on a local and

Postby pylkko » 2020-01-14 09:03

When you make an access point, it works as a wifi router, so you can just connect to that. This is not something that you need to install, it is in the operating system itself. I did not know that you need to have a sim card in android to be able to do this. I know that you can connect to an access point on an Android phone that does not have internet, or where the modem is swithced off. However, I never tried physically removing the card.

If this is the case, then you either need a router (any linux computer can work as one) or you need to use bluetooth. There are protocols for sending commands from one computer to another over bluetooth (serial over bluetooth) and with bluetooth low energy, you can even send data without pairing. But, these are more involved, you probably would need to write a python script, I suspect that there are no "ready made apps" for this (although I have not checked). Also, you will not be able to see the image of the first camera in real time on the second one (live video stream) because the bluetooth bandwidth is not enough for video. But you could make a control panel which sends the commands to take a photo a remote shutter button).

This would be a piece of cake with a raspberry pi, where it is so simple to modify the software. I could even write basic instructions, but this all would require you to have an rpi and a camera.

Another option could be to make a portable router. This is fairly trivial also, because all you need is a computer that runs on battery with linux.
User avatar
pylkko
 
Posts: 1621
Joined: 2014-11-06 19:02

Re: Remote control a distant android phone on a local and

Postby satimis » 2020-01-14 10:45

pylkko wrote:When you make an access point, it works as a wifi router, so you can just connect to that. This is not something that you need to install, it is in the operating system itself. I did not know that you need to have a sim card in android to be able to do this. I know that you can connect to an access point on an Android phone that does not have internet, or where the modem is swithced off. However, I never tried physically removing the card.

I have 2 Samsung mobile phones, one with a SIM card to connect Internet and another one without. I tried the 1st one and it worked but the 2nd one didn't. (my spare phone)

If this is the case, then you either need a router (any linux computer can work as one) or you need to use bluetooth. There are protocols for sending commands from one computer to another over bluetooth (serial over bluetooth) and with bluetooth low energy, you can even send data without pairing. But, these are more involved, you probably would need to write a python script, I suspect that there are no "ready made apps" for this (although I have not checked). Also, you will not be able to see the image of the first camera in real time on the second one (live video stream) because the bluetooth bandwidth is not enough for video. But you could make a control panel which sends the commands to take a photo a remote shutter button).

This would be a piece of cake with a raspberry pi, where it is so simple to modify the software. I could even write basic instructions, but this all would require you to have an rpi and a camera.

Another option could be to make a portable router. This is fairly trivial also, because all you need is a computer that runs on battery with linux.

I'm exploring phone-to-phone direct connection via WiFi or Bluetooth without additional device.

I found following link;
Sync between two Android devices without Internet connection
https://android.stackexchange.com/quest ... connection

They were also trying to do similar test as now I'm doing. One folk suggested running;
Have a look at http://www.fjsoft.at/en/
Mobile - MyPhoneExplorer
https://www.fosshub.com/MyPhoneExplorer.html

I'll go through the document first before taking a test on my Samsung Galaxy S6+ (a spare phone)
satimis
 
Posts: 516
Joined: 2004-09-11 11:50
Location: Hong Kong

Re: Remote control a distant android phone on a local and

Postby satimis » 2020-01-15 03:23

Hi all,

Performed following test;

Internet access is a MUST !

Phone-A
Host Phone (with SIM card to connect Internet)
(enable "Mobile Hotspot Tethering)
install
TeamViewer Control Remote Device

Phone-B
Client Phone (to be controlled)(without SIM card)
install
TeamViewer QuickSupport
and
Add-On: Medion X5004

Remote-control Phone-B on Phone-A works without problem.

It is possible reversing them, Phone-A as Client Phone and Phone-B as Host Phone.

I'm still struggling to find a solution with Bluetooth, i.e Phone-to-Phone without Internet access.

Regards
satimis
satimis
 
Posts: 516
Joined: 2004-09-11 11:50
Location: Hong Kong

Re: Remote control a distant android phone on a local and

Postby sunrat » 2020-01-15 03:54

Did you check out WiFi Direct which I mentioned above?
https://www.androidpit.com/what-is-wifi-direct
“ computer users can be divided into 2 categories:
Those who have lost data
...and those who have not lost data YET ”
Remember to BACKUP!
User avatar
sunrat
 
Posts: 2956
Joined: 2006-08-29 09:12
Location: Melbourne, Australia

Re: Remote control a distant android phone on a local and

Postby CwF » 2020-01-15 04:17

I'm a little surprised 'they' haven't come up with a virtual modem program for packaging data for use over a 'voice' connection. Do it like we did ppp 20 years ago before 'data' became a thing, without the need for the rubber glove fitting the modem speaker and mic to the phone. I carry a voice only phone. It can do BT or wifi ad hoc device to device, thought they all could?
CwF
 
Posts: 557
Joined: 2018-06-20 15:16

Re: Remote control a distant android phone on a local and

Postby satimis » 2020-01-15 04:24

sunrat wrote:Did you check out WiFi Direct which I mentioned above?
https://www.androidpit.com/what-is-wifi-direct

No, each time TeamViewer will provide an IP address for users to login and connect the remote phone. Therefore Internet access is a MUST

On my searching, I haven't discovered an app working phone-to-phone.

satimis
satimis
 
Posts: 516
Joined: 2004-09-11 11:50
Location: Hong Kong

Re: Remote control a distant android phone on a local and

Postby pylkko » 2020-01-15 08:58

Previously on this forum the moderators have stated that it is only for Debian-related discussion, so I find it surprising that this kind of discussion is permitted here, and I seriously doubt that this is the best place. There just isn't that much expertise and many users have quite negative additudes (rightly so!) towards android and "mobile devices". Maybe you should ask in an android forum?

satimis wrote:I have 2 Samsung mobile phones, one with a SIM card to connect Internet and another one without. I tried the 1st one and it worked but the 2nd one didn't. (my spare phone)


I don't understand how you tried one wihout the other, when you were describing using them together to form the network?

I'm exploring phone-to-phone direct connection via WiFi or Bluetooth without additional device.


Look up the bluetooth spec and realize that this is essentially impossible. Also, the link you post is close to a decade old and Android has had quite a number of new versions since. You should be more critical when reading random opinions online.

CwF wrote:I'm a little surprised 'they' haven't come up with a virtual modem program for packaging data for use over a 'voice' connection.


not sure whether this is relevant here, as the OP wants to not have sim card, which would exclude GSM also.

satimis wrote:No, each time TeamViewer will provide an IP address for users to login and connect the remote phone. Therefore Internet access is a MUST

This sentence makes no sense to me. Are you maybe confusing networks and internet and some how thinking that an IP-address is only possible when you have internet access?

On my searching, I haven't discovered an app working phone-to-phone.


There probably are few people that would want to do this. Android phones are used by the majority for other kinds of things. A very small minority wants to remote control a smart phone. Those that do, either have internet or a LAN. How many users can there exist that want to remote control a smart phone without internet? So, no ready-made solution is likely, you're going to have to hack.

Actually, it is quite hard to understand why you want to do this. Let's start with the fact that you say that you want to remote control a phone that is a few feet away? So, if I am understanding it, you want to be able to use the touch display as a user interface on phone A to control phone B, which is a few feet away to take photos. Why?

Consider also that you do not need wireless for such a short distance. You could just use a USB-mouse for the control part. Then you would only need to send the contents of the screen from one phone to another, and not need a full remote user session. This would be significantly easier. You could even probably use a physical mirror to cast the screen of the first phone and activate the shutter using a USB mouse. Low tech solution. IF that is what you want
User avatar
pylkko
 
Posts: 1621
Joined: 2014-11-06 19:02

Re: Remote control a distant android phone on a local and

Postby sunrat » 2020-01-15 09:51

One thing I know works because I have done it, is install AirDroid on the phone, connect phone and computer to a wifi router. You can control camera from the computer. Probably doesn't even need internet or mobile data connection.
Connecting 2 phones sounds more tricky but you haven't tried WiFi Direct as I suggested. It's been in Android since KitKat. I haven't tried that either but if you won't use methods that are known to work, you are now an adventurer and have to discover your own path. :wink:
“ computer users can be divided into 2 categories:
Those who have lost data
...and those who have not lost data YET ”
Remember to BACKUP!
User avatar
sunrat
 
Posts: 2956
Joined: 2006-08-29 09:12
Location: Melbourne, Australia

Next

Return to Offtopic

Who is online

Users browsing this forum: No registered users and 11 guests

fashionable