Getting the file url

I want to get the url of the files which were stored in the file system and need to be store them in the data tables.
Please help me with that how to do it programmatically not by using the backendless console.

Hi do you upload files? Using Android SDK?

yes i have uploaded

Do you see the return value for the upload API? It is the BackendlessFile object.

ByteArrayOutputStream stream = new ByteArrayOutputStream();
bit.compress(Bitmap.CompressFormat.JPEG,50,stream);

            byte[] byteArray = stream.toByteArray();
            Backendless.Files.saveFile("Images", file_name, byteArray, true, new AsyncCallback<String>() {
                @Override
                public void handleResponse(String response) {
                    if(response.isEmpty())
                    {
                        Toast.makeText(Images.this,"successful",Toast.LENGTH_SHORT).show();
                    }
                }

                @Override
                public void handleFault(BackendlessFault fault) {
                    Toast.makeText(Images.this,"fault"+fault.getMessage(),Toast.LENGTH_LONG).show();

                }
            });

I have used the above code to upload my files.

That String response which you get back IS the URL of the uploaded file…