Is it possible to connect PC to laptop with Android phone to share files between PC and laptop? I don't have a LAN cable, all I have is:
A PC without WiFi adapter.
An Android USB cable.
An Android phone.
A laptop with built-in WiFi.
Both PC and laptop have Windows 7.
What I'm trying to do is:
1. Connect Android to PC with USB tethering.
2. Then connect Android to laptop with WiFi tethering.
3. Then I want to share files between PC and laptop.
I don't know much about networking stuff.
Please tell me if you know.
The best way (IMO) is to bridge the network of USB tethering(192.168.42.x) and the Wifi hotspot(192.168.43.x), but I don't have any solution to bridge them.
That said, I do have a solution to transfer files between PC and Laptop within the constraints mentioned in the question (with "no internet" exclusively).
The common point of interaction in our current setting is the Android device itself, which means the device can access both systems, if required. If only I can access the content of Laptop as well as PC from Android, then using some File manager the data transfer can be done.
Note that I didn't try this method on Windows 7 but the instructions shouldn't be different for other platforms.
Connect PC to Android via USB tethering, and Laptop to Android via Wifi hotspot. Note down the IP address for both the machines.
Setup an FTP server at both PC and Laptop.
Install a file manager in Android that can browse network storage. I recommend ES File Explorer File Manager.
Launch ES File Explorer, swipe right from left edge to access Network xe2x86x92 FTP xe2x86x92 choose ftp.
For PC :
For Laptop :
If your FTP server is accessible and working fine, then ES File Explorer will create an entry with the name (probably) of local IP address of your PC/Laptop.
In FTP tab of ES File Explorer, select any entry and you'll be able to see the content of the running FTP server.
You can use cut-copy-paste-delete (subject to FTP server configuration) features of ES File Explorer on the content of these two network entries.
1. The data transfer speed is subjected to the resources available to Android.
2. You can run a server other than FTP. Make sure that server you decide can be mapped (supported) in a file manager in Android.
3. If your machine is running a firewall (most PC's either runs Windows Firewall, or an Antivirus does the same), then explicitly allow your FTP program to make and accept connections (it will be a great hassle if you don't). If it's feasible, temporarily disconnect both machines (disable Mobile data on Android as well) from Internet and disable firewall/Antivirus on both for that time being.
4. If your Android device is running a firewall (AFwall+ in my case), allow your file manger in it. It is something one might miss to do.
Unsuccessful method with reason unknown as of now:
1) I think the objective can be achieved by port forwarding at one interface. I found that the machine under USB-tethered network can access the wifi hotspot gateway (192.168.43.1) but could not ping a machine behind the latter. Vice versa wasn't true either. I planned to port-forward on hotspot interface so that a custom request to this gateway IP address would be forwarded to a machine behind it. An e.g. would be: A Laptop connected to wifi hotspot is running a FTP server with IP address 192.168.43.32. I then do port-forwarding(Android rooted) as 192.168.43.1:21 xe2x86x92 192.168.43.32:21 i.e. the machine behind USB-tethered network with IP address 192.168.42.143 would be able to see 192.168.43.32:21 via 192.168.43.1:21. Looks easy to me. But Port-forwarding apps on Play Store didn't yield satisfactory results. Let me know via comments if somebody tries this method and achieves success.
It's possible if you are using Cyanogenmod even without any 3rd party software:
Connect the phone to the PC and enable USB tethering. Then create a hotspot on your laptop and connect your phone to it.
After that, your phone shares it's WiFi connection to your PC, so you can transfer files and use internet.
If you're not a CM user then try using PdaNet+
I suspect it's not possible because Android will unmount the SD card (real or emulated) when plugged in via USB. This means that no apps on the phone will be able to read or write the SD card while the phone is plugged in, including whatever WiFi tethering app you're using.
If both laptop and desktop have Bluetooth, you might be able to send files through Bluetooth from laptop to phone to desktop or vice versa, which would be fairly painless.
If there's no other way you could always plug the phone into the laptop, transfer files onto the phone, then plug into the desktop and transfer files off the phone; it's awkward, but it works.
Yeah, its simple. Create a gmail account and use google cloud drive. Put all files that you need there , open your laptop go to your gmail account and download your files .