Skip to Content
avatar image
Former Member

How do we open VDS file from Custom Android Application?

Hi All,

Good Day.

Can anyone help us how to open a *.vds file form my custom android application through intent in Visual Enterprise App.

We are doing a demo application with Android native code + SMP. We need to play the VDS file as part of the help.


Narayanan L

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Jan 28, 2015 at 12:41 AM

    Hi Narayanan,

    Sorry for the slow response.

    If you review the SDK documentation 'Quick Start guide for Android' there is a line in the section 'Add the SDK Libraries' with the example:

    res = m_core.LoadScene("file:///" + Environment.getExternalStorageDirectory() + "/VDS/file1.vds", null, m_scene);

    If you use a URL for LoadScene it should download the VDS over the internet. e.g.  res = m_core.LoadScene("", null, m_scene);

    If this does not work, it is possible that your web server is not configured to allow downloads of *.vds

    If you are using IIS as your web server then this is almost definitely the case.

    Kind Regards

    Mike Murray

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi Mike,

      Thanks for the reply,

      appreciated your answer,

      In Android device, we have already installed SAP's Visual Enterprise app from Google play store which is capable to render the model when we tap on any .VDS file in the android device.

      So,instead of adding SDK Library we can call the Visual Enterprise app with VDS file path as a parameter to render the 3D model from my Custom Android app.

      we try with the different options with Intent and we able to make it possible.

      Here is the solution

      String fileName=Environment.getExternalStorageDirectory()

                       .getAbsolutePath() + File.separator + "/3D VE Viewer/Pump Service Operation.vds";

        File file = new File(fileName);

        Intent intent = new Intent(Intent.ACTION_VIEW);

        intent.setDataAndType(Uri.fromFile(file), "application/vds");



      Regards, Lalit