PhoneGap commiting image

1
In my application im trying to use phonegap to capture a photo and upload it to a webservice as a Binary format. I created an entity named Photo which has System.Image generalization as suggested and i put phonegap widget into a dataview with Photo as an entity. When i use image uploader instead of phonegap inside the same dataview, i can get the content of an image with the below constraint and passing it as an argument to a webservice $Photo/Contents However i couldnt do the same thing for the images that i captured with phonegap. When i use it like below as a parameter it gives me File not found error. Here is the stack trace NOTE : I even couldnt show images in a dataview that i capture with phonegap widget. So what should i do to get the content of an image as a binary format which is captured by phonegap widget? Are there any usefull documentation about this widget?(apart from this) com.mendix.systemwideinterfaces.MendixRuntimeException: FileDataStore:: File does not exist: 360 at com.mendix.storage.localfilesystem.internal.LocalFileSystemStore.com$mendix$storage$localfilesystem$internal$LocalFileSystemStore$$getFileDocumentAsFile(LocalFileSystemStore.scala:78) at com.mendix.storage.localfilesystem.internal.LocalFileSystemStore$$anonfun$1.apply(LocalFileSystemStore.scala:58) at com.mendix.storage.localfilesystem.internal.LocalFileSystemStore$$anonfun$1.apply(LocalFileSystemStore.scala:57) at scala.util.Try$.apply(Try.scala:191) at com.mendix.storage.localfilesystem.internal.LocalFileSystemStore.getFileDocument(LocalFileSystemStore.scala:57) at com.mendix.storage.internal.FileDocumentProcessorImpl.getFileDocument(FileDocumentProcessorImpl.java:63) at com.mendix.core.objectmanagement.member.MendixBinary.parseValueToString(MendixBinary.java:63) at com.mendix.languages.expressions.VariableExpr.evaluateExpression(VariableExpr.java:38) at com.mendix.languages.expressions.Expr.evaluate(Expr.java:30) at com.mendix.languages.mxexpressions.MxExpression.evaluate(MxExpression.scala:16) at com.mendix.integration.webservices.call.messageparts.SimpleMessageRequestPart.evaluate(SimpleMessageRequestPart.java:42) at com.mendix.integration.actions.microflow.CallWebServiceAction.createRequestInfo(CallWebServiceAction.scala:92) at com.mendix.integration.actions.microflow.CallWebServiceAction.execute(CallWebServiceAction.scala:70) at com.mendix.modules.microflowengine.microflow.impl.MicroflowObject.execute(MicroflowObject.java:49) at com.mendix.modules.microflowengine.microflow.impl.MicroflowImpl.executeAfterBreakingIfNecessary(MicroflowImpl.java:193) at com.mendix.modules.microflowengine.microflow.impl.MicroflowImpl.executeAction(MicroflowImpl.java:148) at com.mendix.systemwideinterfaces.core.UserAction.execute(UserAction.java:53) at com.mendix.core.actionmanagement.CoreAction.doCall(CoreAction.java:291) at com.mendix.core.actionmanagement.CoreAction.call(CoreAction.java:276) at com.mendix.core.actionmanagement.ActionManager$1.execute(ActionManager.java:204) at com.mendix.util.classloading.Runner.doRunUsingClassLoaderOf(Runner.java:37) at com.mendix.core.actionmanagement.ActionManager.executeSync(ActionManager.java:199) at com.mendix.core.component.InternalCore.execute(InternalCore.java:263) at com.mendix.webui.actions.client.ExecuteAction.execute(ExecuteAction.java:135) at com.mendix.webui.requesthandling.ClientRequestHandler$$anonfun$handleRequest$1.apply$mcV$sp(ClientRequestHandler.scala:300) at com.mendix.webui.requesthandling.ClientRequestHandler$$anonfun$handleRequest$1.apply(ClientRequestHandler.scala:293) at com.mendix.webui.requesthandling.ClientRequestHandler$$anonfun$handleRequest$1.apply(ClientRequestHandler.scala:293) at com.mendix.core.session.Worker$$anonfun$receive$3$$anonfun$2$$anon$1.execute(ActionDispatching.scala:151) at com.mendix.util.classloading.Runner.doRunUsingClassLoaderOf(Runner.java:37) at com.mendix.core.session.Worker$$anonfun$receive$3$$anonfun$2.apply(ActionDispatching.scala:153) at scala.util.Try$.apply(Try.scala:191) at com.mendix.core.session.Worker$$anonfun$receive$3.applyOrElse(ActionDispatching.scala:147) at akka.actor.Actor$class.aroundReceive(Actor.scala:465) at com.mendix.core.session.Worker.aroundReceive(ActionDispatching.scala:140) at akka.actor.ActorCell.receiveMessage(ActorCell.scala:516) at akka.actor.ActorCell.invoke(ActorCell.scala:487) at akka.dispatch.Mailbox.processMailbox(Mailbox.scala:238) at akka.dispatch.Mailbox.run(Mailbox.scala:220) at akka.dispatch.ForkJoinExecutorConfigurator$AkkaForkJoinTask.exec(AbstractDispatcher.scala:393) at scala.concurrent.forkjoin.ForkJoinTask.doExec(ForkJoinTask.java:260) at scala.concurrent.forkjoin.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1339) at scala.concurrent.forkjoin.ForkJoinPool.runWorker(ForkJoinPool.java:1979) at scala.concurrent.forkjoin.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:107)
asked
0 answers