I am developing an application on Android which will take an input of an image and that input will be pass to a server where a MATLAB applicaion will be installed. The MATLAB ap
First, you'll need a web application server to receive stuff from your Android app. You can use anything you like, but which one you choose will probably influence how you deploy your MATLAB application.
For that, you have three choices.
Note that this option 1 is very restricted by the nature of the MATLAB license. You will only be able to provide access to users who are licensed for that copy of MATLAB, and for this reason it's not likely to be the right choice for you if you wish to make a make a publicly available Android app/service.
Components deployed with the Builder products can be used and shared without the end user needing a MATLAB license, so that solves the main issue with option 1. Note that the Builder products are (somewhat expensive) add-on products to MATLAB.
The problem with option 2 is scalability. You only have one MATLAB component there, and all requests will queue up to go through that. If you only have a few infrequent user requests that may be fine, otherwise you'll need to run a pool of multiple copies of the component, and you'll need to write some code to manage that pool and pass out requests to the components.
You can either do that yourself (which may be hard), or you can go for
My suggestion would be that unless you're looking to deploy a private app that can be properly licensed with option 1, I would choose option 2 to start with, see how it goes, then think about possibly scaling up with option 3.
Note that there is one further option: