Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Android™ Development

Reply
Visitor
Posts: 1
Registered: ‎06-06-2013
My Device: Z10
My Carrier: O2

Camera throw exception in android

[ Edited ]

It seems that in android in os version 10.1.0.273 is a problem. Native "Camera" (record video) application throws exception in android.

 

06-06 09:16:26.431: W/DBTranslate(18194630): Unable to get date_original
06-06 09:16:26.431: W/DBTranslate(18194630): java.text.ParseException: Unparseable date: "VID_00000016"
06-06 09:16:26.431: W/DBTranslate(18194630): at java.text.DateFormat.parse(DateFormat.java:626)
06-06 09:16:26.431: W/DBTranslate(18194630): at com.qnx.media.db.translate.DBTranslateCommon.setVideoInfo(DBTranslateCommon.java:163)
06-06 09:16:26.431: W/DBTranslate(18194630): at com.qnx.media.db.translate.DBTranslateFile.createOrUpdateVideoFile(DBTranslateFile.java:288)
06-06 09:16:26.431: W/DBTranslate(18194630): at com.qnx.service.media.PPSMessageHandler.handleChangeMessage(PPSMessageHandler.java:175)
06-06 09:16:26.431: W/DBTranslate(18194630): at com.qnx.service.media.PPSMessageHandler.processImpl(PPSMessageHandler.java:53)
06-06 09:16:26.431: W/DBTranslate(18194630): at com.rim.android.utils.GenericTask.process(GenericTask.java:28)
06-06 09:16:26.431: W/DBTranslate(18194630): at com.rim.android.utils.GenericTaskQueue$GenericTaskThread.processTask(GenericTaskQueue.java:189)
06-06 09:16:26.431: W/DBTranslate(18194630): at com.rim.android.utils.AbstractWorkerThread.run(AbstractWorkerThread.java:162)

Retired
Posts: 140
Registered: ‎04-19-2013
My Device: BlackBerry Z10

Re: Camera throw exception in android

That's a caught exception though.  Meaning we couldn't determine the date the video was taken, so that metadata won't be available.

Contributor
Posts: 11
Registered: ‎05-30-2013
My Device: 9700
My Carrier: BlackBerry

Re: Camera throw exception in android

facing same issue

Highlighted
Retired
Posts: 140
Registered: ‎04-19-2013
My Device: BlackBerry Z10

Re: Camera throw exception in android

I should mention as well that early versions of BB10 had an issue with video camera metadata.  That taken date should actually resemble a date and not the filename.

This should only affect dev alphas that had early versions of the software though as it was addressed for launch.