[General Topics] yousefs:
Sometimes You want to install an App on more than an android device, but the App data is Big, so it would take long to download

My Problem For Example, I Want to Install Several Offline Language packs For Google Translate for each Device, on my Connection it would take Forever

Now The Thing That You Need these File's to Be Downloaded Once, Copied To your PC, Plus Knowing From Where the files Being Downloaded

For My Case the File's are "ar.zip" and "c.zip" And they are being Downloaded From:

http://dl.google.com/translate/offline/v3/r1/ar.zip

http://dl.google.com/translate/offline/v3/r1/c.zip

Now the idea is:

1.Get a Copy of the Files to your PC

2.Make a Local WebServer

3.Edit Hosts file in Your Android (Require Root)

and Simply Download the Files Using your App as Normal But it will download rather than internet it will download from your PC

Now you'll Need Reactor, Get it From: https://app.box.com/s/brvhhzr72220n1w1mao6

Simply After you Download it, Run it and Install it, Run It, Run the WebServer

Now when you open localhost or 127.0.0.1 in your Browser it will open you an automatically Generated page by Reactor

Now you need to store Files in the WebServer, or whatever you call it, To Do this, Go to the Folder where you installed Reactor, Open "Core" Folder and then "htdocs" Folder, Now For Example if you Put a Folder called "hello", and Put a File Called "a.mp3", if you Opened with your Browser, localhost/hello/a.mp3 you will be able to download it!

Now For My Case i made the "ar.zip" and "c.zip" in translate/offline/v3/r1/

So the Path of the Files are:

\Reactor\Core\htdocs\translate\offline\v3\r1\ar.zip

\Reactor\Core\htdocs\translate\offline\v3\r1\c.zip

while in the Browser They Would be:

localhost/translate/offline/v3/r1/ar.zip

localhost/translate/offline/v3/r1/c.zip

Now The Next Step is to redirect the Website The App Will download From to Your PC Server, Which is you PC IP Address

My PC IP Address is 192.168.1.106,. So For my Case i want dl.google.com to be redirected to 192.168.1.106

"hosts" File will do the Job!, You'll need root for this Step, Open up a File Manager in your android, navigate to /etc/ and Open up "hosts" file with a Text Editor

and add the Following Line:

<For (IP)> <From>

For My case i will add:

192.168.1.106 dl.google.com

Now if i Opened dl.google.com in your android Browser it will open the WebSever you made with your PC!

Now For My Case When Google Translate Try to Access:

http://dl.google.com/translate/offline/v3/r1/ar.zip

http://dl.google.com/translate/offline/v3/r1/c.zip

dl.google.com --> is the WebServer Now

/translate/offline/v3/r1/ --> Entering the Folders I Made the ZIP Files In

<file>.zip is the Files

So the it will now download Rather from the Internet it will be Directed to My PC hooray!:victory:

Now you Bring Every Droid You have, Add a Single Line, and Download the File you want Normally! Amazing!:victory:

Please Suggest me A Better Title:good:

This Is My First Tutorial Thread So Don't Blame me:fingers-crossed:, Just tell me what is Wrong:cowboy:

Please Rate The Thread For Me

And Hit that Thanks Button if i Helped, i really Appreciate this!