I changed the link private String fileListURL = "http://download2.graphhopper.com/public/maps/" + Constants.getMajorVersion() + "/"; to private String fileListURL = "http://download2079.mediafire.com/kgft15zdb1og/55oonoiw1econvc/manila.ghz"; but it won’t work. How do I enable downloading of just one .ghz file? do i have to upload to graphhopper server?
private String fileListURL = "http://download2.graphhopper.com/public/maps/" + Constants.getMajorVersion() + "/";
private String fileListURL = "http://download2079.mediafire.com/kgft15zdb1og/55oonoiw1econvc/manila.ghz";
Putting the mentioned url in a browser does not initiate a download dialog, it just opens a web page.
So better use a proper download link which does not redirect to a page?
It initiates a download dialog when it is clicked on browser. Do i have to upload somewhere else that supports android?
Oh i fixed it. I just have to remove the rest of the methods and just immediately call the downloadingFiles() method and put it as an OnClickListener on the button.
i also want to download another map can u tell me how can i do this that is using another url for downloading. my second question is how could i make my own url so as to download my maps.
@jasmeet_sahni hi-jacking topics is not allowed! If you again post in a foreign topic instead of creating your own we have to block you. Because you’ll trigger unnecessary notifications and this is against the forum standards here. If you create a topic be more descriptive, include a step-by-step guide what you did and which step failed or what you excepted.
I have created my own topic but still no one replied so I replied on this
foreign topic because this was related to my problem but next time I will
not do this.
If know anything about my problem then please reply back.
It is not just allowed to do this. Please comply to this.
Wait and ask on your original topic after 5 or 7 days again if no one got your attention. Also try to make your questions to the point and not so broad this increases the likelihood of answering.