Start a new topic

Not possible to save an image file

Not possible to save an image file


Hi,

However I implement code for saving an image file captureScreen funtion,

error message as below is shown.

Let me know any idea to work well, if you know.

 

Error Massage:

 /Path/image.jpg: open failed: ENOENT(No such file or directory)

 

In just case, here is my code.

wikitudePlugin.captureScreen(

  function(absoluteFilePath){

    alert("successn" + absoluteFilePath);

  },

  function(errorMessage){

    alert(errorMessage);

  }

  true, "/Path/image.jpg"

};

 

Thanks.

Have you evoked the following url to call the native side?

 

document.location = "architectsdk://button?action=captureScreen";

 

The actual implementation of screen capture is on the native side, e.g., in SamplePluginActivity.java on Android, so you have to include this file in the bundle to make this work.
Login or Signup to post a comment