Disclaimer: Its a collection from lots of other site(s) and few of my notes. I would also like to declare that I am not owning lots of its content. Please feel free to contact me directly if you want me to remove any of your content, that you don't want to share to other through this blog.
Monday, 14 March 2016
who need other app to copy files from pc to phone
Some time we need to copy few files from our computer to our smart phone and most of the time we use the data cable to copy data for that, and sometime, we need to install some other application again on our system [ example: Android File Transfer ] and who need keep taking there data cable!
Who wants to read long document to get things done. So lets do the work:
Requirement:
1. You need to have python install
2. Your system and phone need to be in the same wifi network.
[I don't have wifi, No problem, make your phone as wifi spot and make your system to join that network. ]
Why to do this, we can do ever other way:
We can use bluetooth, but this is faster.
We can configure web server, but why to do lots of that work too? Need to install webserver and configure too.
So... Here is the steps:
steps1:
cd to the directory where you have the file located.
start python SimpleHTTPServer on any port. [Make sure, you don't have firewall blocking this]
python -m SimpleHTTPServer 60000
Step2:
On your smart phone open web browser, and give the ip address of your system:<port>
example: my laptop ip 192.169.1.100 and I am running the python http server on 60000, then on my smart phone web browser:
http://192.168.1.100:60000/
Here you go, you can see all your files, that you want to copy. Select the file and do "save as link" and the file is copied to your smartphone.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment