Question: I have an android app that is built using the sony add on sdk. I would like build my app in ci. Is there is a way to download the sdk via command line.

Because the sdk is not available on the default google site. So I was wondering if I can add a Add On site to android sdk via command line and download the sdk. Because I can't create a CI agent preinstalled with the sdk as I use the travis hosted ci and don't have much control over it.

Can someone help me..??

Answer: 
Browsers open that save as dialog depending on the content-type.
Within the browser a user can specify which mime-type should open in which way.

btw. normally you specify for json the mime type `application/json` - see RFC 4627

you could try to set the type to `application/octet-stream`.

but as i wrote - it depends on user settings.

In firefox it can be modified this way:
<https://support.mozilla.org/en-US/kb/change-firefox-behavior-when-open-file>
Simply change `header ("Content-Disposition: attachment; filename=$myFile");` to be `header ("Content-Disposition: attachment; filename=$chosenFileName");` where $chosenFileName is the name provided by the user.