This discussion is archived
1 Reply Latest reply: Oct 19, 2012 4:01 PM by Joe Huang RSS

captureVideo PhoneGap API invocation from Java

Hiroshi K Newbie
Currently Being Moderated

I trying to capture video from Java with PhoneGap API(navigator.device.capture.captureVideo).
In Java, PhoneGap API can call to use "invokeContainerJavaScriptFunction" method on "oracle.adfmf.framework.api.AdfmfContainerUtilities".

In my device, video capture screen starts normally and capture will be successful.
But I have no way to get result of video capture.
Because captureVideo method will be run asynchronously and need to pass callback function to get result.

Does anyone have good idea?

  • 1. Re: captureVideo PhoneGap API invocation from Java
    Joe Huang Journeyer
    Currently Being Moderated
    Hi, Hiroshi, my apologies for taking so long to respond. Currently you would need to embed all the JavaScript calls into a Local HTML feature, and then capture/display your video in a local HTML feature. You can then navigate between AMX and local HTML based feature using the gotoFeature Java method and JavaScript API.


    Joe Huang


  • Correct Answers - 10 points
  • Helpful Answers - 5 points