[Tutorial] [Root] How to Make Apps Download From Local Location - General Topics

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:
HTML:
<For (IP)> <From>
For My case i will add:
HTML:
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:
HTML:
http://dl.google.com/translate/offline/v3/r1/ar.zip
HTML:
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
Please Rate The Thread For Me
And Hit that Thanks Button if i Helped, i really Appreciate this!

Related

Can't Download Web TV On My HTC Fuze

Hi people. I can't download Web Tv on my HTC Fuze anymore. I downloaded it once and it work with the zip file. I somehow deleted something from my files and now when i try to download the zip file my phone tells me that..... Ok here it is step by step. Im cliking on the Web tv zip file and it promps me to save or save as. I piked save as and saved it on my Personal Folder. When i hit save it tells me that,''This file already exist and if i want to replace it. I hit yes replace my file. After it shows that its loading to my phone. When done a nother window pops out telling me that,'' The central directory was not found in the archive (or you were trying to open a disk other then the last disk of a multi-disk archive.) Plz help

[HELP] How to skip URL fetch for SDK Manager

Hello.
Everytime i start the SDK MANAGER it uses internet and reads two files from internet which are
1. addons_list-1.xml
2. repository-5.xml
from these links
https//dl-ssl.google.com/android/repository/addons_list-1.xml
https//dl-ssl.google.com/android/repository/repository-5.xml
But i have those two files on my hard disk. I kept those two files in the root of the C drive of my windows7 PC.
Now what should i do such that the SDK MANAGER stops searching the internet for those files and starts reading those files from my hard disk.
REASON FOR ASKING THIS:
I generally download the contents of sdk as zip packages. After downloading i extract the few packages i know to their corresponding directories. In some cases i dont know the path where the zip file has to be extracted. For that i keep the zip file in temp folder of android sdk , and then update the contents of sdk manager, and then disconnect the internet , and then select the install option. It installs to their directories.
But i want to do it in a complete offline computer. So how can i update the list of sdk manager without using internet.

[Q] Writing a file back to a Marketplace apps Isolated Storage?

Hi All,
I've used Heathcliff's WP7RootTools 0.9 to extract a file from an installed apps IsolatedStorage. The app in question was installed from the Marketplace, but I want to modify some of the files it's saved to it's Isolated Storage.
I extracted the file I wanted to edit by using the Explorer utility in WP7RootTools to copy the file to the "My Documents" folder, and renamed the extension to docx. From there I could simply go into the Office Hub, where the file was now listed, and emailed the file to myself.
I have made the edits to the file, but now need to get the file back into the app's Isolated Storage. This is where I have now got a bit stuck
I've tried copying the file to SkyDrive, and using the Office Hub to download it from SkyDrive to my phone. The file downloaded and is cached on the phone somewhere, but the file location, according to Office is not "Phone". This is normal, as Skydrive downloaded documents are not saved to the "Phone" location until you open the document and do "Save as".
I cannot of course open the downloaded file, as it isn't really a .docx file. Files loacted in the "Phone" location show up in "My Documents" in the WP7RootTools explorer. SkyDrive downloaded documents I have no idea where they are located?
Can you guys help? Does anyone know the path to location of SkyDrive downloaded items on the phone. If so, then I can easily just use the WP7Roottools Explorer to copy the file back to the apps Isolated Storage.
Is there a better way to copy a non-Office file back onto the phone?
Regards,
Micro666
You could use one of these apps:
sh4d0w86 said:
i was going to suggest using WPV App Data Backup, but it seems i saved the Backups in the wrong location... (will fix in next release)
so,
you can use TouchXperience or WMDC Launcher.
Click to expand...
Click to collapse
I'm looking to do the exact same thing....
Options:
1. Do exactly what you've been doing, but save as .txt instead of .docx. The phone can still open this, even though its probably a binary file, and save it to the "Phone" location. Then you can copy it back and rename it.
2. Use an app that gives direct access to the phone's filesystem from the PC, like TouchXperience+WPDM, or Root Webserver (see my sig)+your favorite webbrowser.
3. Use any other way to get a file onto the phone, such as emailing it to yourself, using IsolatedStorageexplorer, or putting it in a XAP files and installing that file. Then move the file with WP7 Root Tools.
I recommend approach #2.
GoodDayToDie said:
Options:
1. Do exactly what you've been doing, but save as .txt instead of .docx. The phone can still open this, even though its probably a binary file, and save it to the "Phone" location. Then you can copy it back and rename it.
2. Use an app that gives direct access to the phone's filesystem from the PC, like TouchXperience+WPDM, or Root Webserver (see my sig)+your favorite webbrowser.
3. Use any other way to get a file onto the phone, such as emailing it to yourself, using IsolatedStorageexplorer, or putting it in a XAP files and installing that file. Then move the file with WP7 Root Tools.
I recommend approach #2.
Click to expand...
Click to collapse
I used TouchExperience.
1.On my Fully unlocked Device(I assume you can do this with root tools), I installed a file manager that gives full access to the device.
http://forum.xda-developers.com/showpost.php?p=24636416&postcount=23
2. I installed TouchEperience on my PC. After giving the WP7 app, Root tools rights, it should show most of the file system(on the PC) but, not all of it. So I created a new folder in \Windows (temp).
3. On the Phone, I hunted down the file I was looking for from Isolated Storage, I copied it to the \windows\temp folder.
4. Used the PC TouchExperience and browsed to \Windows\temp, there was my files, I copied them to my PC. USed the File Explorer to delete the files in my \temp folder(to make sure they were gone).
5. I edited the files, copied them back to \Windows\Temp on my device via TouchExperience on the PC. Then used the file explorer to copy them back to the Isolated Storage.
Note: The file explorer I posted a link to is GREAT, it can even edit files (basic text editor) in Isolated storage. I found a way to Cheat on a marketplace Xbox live game (didn't try others), right before the achivements, so they were really easy to get
I'm sure there is easier methods but, this worked for me...
Can I ask, what app did you try this on ?
Hope this helped...
FYI DavidinCT: Cheating XBL games is very risky. Microsoft often can detect it (for example, if you get one achievement that would have required getting another first) and they can and will permanently ban your Xbox Live account for doing so.
That all said... why didn't you just use WPDM (on the PC) to copy the file straight to the IsoStore of the app? So much easier...
GoodDayToDie said:
FYI DavidinCT: Cheating XBL games is very risky. Microsoft often can detect it (for example, if you get one achievement that would have required getting another first) and they can and will permanently ban your Xbox Live account for doing so.
That all said... why didn't you just use WPDM (on the PC) to copy the file straight to the IsoStore of the app? So much easier...
Click to expand...
Click to collapse
To be honest, I only did it with a game that had an error when I got so far, so the final achivements of the game. A Game with a Known issue but, no fix.
And I just really wanted to see if I COULD do it...
I used WPDM but, the PC version even with my phone fully unlocked (custom rom on my VZW HTC Trophy) and using Root tools 0.9 to give full to TouchExperince root, would not see all the folders and would not see the IsoStore. SO I had to copy the files to a folder that WMDM could see.
Personally, the new File Explorer above is awsome, it's even got a editor in it, I didn't even need to go through all that......

[Q] Android - How to open a file directly from a server.

Hello everyone,
I'm an android user, with a Galaxy Nexus running 4.2.1.
I have a QNAP NAS which I can easily access from my android phone via WebDav or Ftp.
Currently, when I select a file (doc, xls), it downloads the file to my phone and then opens it in in it's respective application.
When I edit the file and save it, the changes are only made to the local file which was downloaded to my phone. I then have to upload the file back to the server and overwrite the existing file. Such a pain!
Are there any methods or applications that will open the file directly from the server? Such that edits and saves are done on the server instead of on my phone?
Thanks,
Daxton
namzad said:
Hello everyone,
I'm an android user, with a Galaxy Nexus running 4.2.1.
I have a QNAP NAS which I can easily access from my android phone via WebDav or Ftp.
Currently, when I select a file (doc, xls), it downloads the file to my phone and then opens it in in it's respective application.
When I edit the file and save it, the changes are only made to the local file which was downloaded to my phone. I then have to upload the file back to the server and overwrite the existing file. Such a pain!
Are there any methods or applications that will open the file directly from the server? Such that edits and saves are done on the server instead of on my phone?
Thanks,
Daxton
Click to expand...
Click to collapse
try File Expert, I think could help you.
Thanks Ikubik,
Unfortunately File Expert doesn't work.
It connects via FTP and gives me a directory listing.
However, when clicking on a file, it says "Opening Directory..." and then does nothing. It doesn't even appear to download anything either.
This is really chapping my a**. You'd think this would be possible??
I've tried FX file manager - connects via ftp - only opens files as read-only
Solid Explorer - connects via ftp - saves files locally for editing & changes are not made on the server
X-Plore, couldn't establish connection
Kingsoft Office - Has WebDav support which refused to connect
ES File Manger - Same result as Solid Explorer
How to people manage their files on the go?
I want to get away from online cloud services and manage my own data. Apparently, this is more difficult that I thought.
I found an application call FolderSync which keeps your server files synchronized with your android. But, it downloads all of your network files to your phone. I've got 13 gigs of documents = no thanks.
Any other suggestions?

[Guide] [Suggestion] [Blue Stacks] [Windows] easy folder access

a few days ago i installed Bluestacks and immeadiately realized the entire computer is not viewable
so i started looking for a way to make it so i found a bunch of ways for previous versions but with this version and its altered windows regestry archeture i was unable to impliment them
so i decide to try a simple directory junction and it worked heres the method i used
it uses junction points
okay there are ultimately 2 ways to do this
one is with a utillity (i use Link Shell Extension) and the other is through command
you need your file system to be NTFS however if you are running Vista or 7 you are already on it (its the default)
im not sure if its the default on windows XP (if your using fat or fat32 on XP use the following CMD)
Code:
convert [driveletter:] /fs:ntfs
example convert c: /fs:ntfs
for more info visit the following knoledge base artcle support [dot] microsoft [dot] com kb/307881
for my example i am going to link "my music" to bluestacks through a folder that is rarely used but read by bluestacks
Close out of bluestacks
so to start install Link Shell Extension and allow it to restart explorer (i cant post links so you will have to google it, the developers web site ends with [dot] at)
now navigate to your user profile (paste the following in the explorer address bare to go right there)
Code:
%USERPROFILE%
Right Click on "my music" or "music"
Click "Pick Link Source"
now go to public pictures
Code:
C:\Users\Public\Pictures
right click in pictures
hover over "drop as" and select "Junction"
open bluestacks
launch your file browser and navigate to "/mnt/sdcard/bstfolder/PublicPictures"
and music should be there
this can be adjusted for as many folders you want except C://", "C://Users", "C://Users/public", "C://Users/Public/Pictures" (as those would create an infinate loop and may crash bluestack and or your computer. i haven't tested this, nor do i intend to) just link them all to "public/pictures" instead of music use the other source

Categories

Resources