Welcome to the Official BlackBerry® Support Community Forums. This is your resource to discuss support topics with your peers, and learn from each other. New to the forum? Please visit the ‘Getting Started’ link below.
inside custom component

Java Development

Reply
New Developer
RuiTrindade
Posts: 12
Registered: 09-28-2009

Recording video

 

Hi there,

 

Is there any way to know programatically when a video recording is done, I mean, when the .3gp file (and its bytes) are available in device memory?

 

Thanks

Please use plain text.
Developer
BBDeveloper
Posts: 3,951
Registered: 07-15-2008

Re: Recording video

Invoke the camera with video mode and listen for the filesystem to create the recorded file, using file connection read the file and get teh bytes.

 

OS 5.0 has support for recroding video.


Use Search. "Accept Solution" If the problem is resolved.
Please use plain text.
New Developer
RuiTrindade
Posts: 12
Registered: 09-28-2009

Re: Recording video

 

Thanks for the reply.

 

Actually, I can only acess the bytes right after the recording is done (case: FileSystemJournalEntry.FILE_CHANGED) and not when filesystem create the file (case: FileSystemJournalEntry.FILE_ADDED).

Now what I really want to do is to acess the bytes while the video is being recorded and not just when the recording is done. Do you know how can I do that (OS < 5.0) or at least share some ideias?

Thanks

Please use plain text.
Developer
BBDeveloper
Posts: 3,951
Registered: 07-15-2008

Re: Recording video

I dn't think it is possible in less than 5.0 OS.


Use Search. "Accept Solution" If the problem is resolved.
Please use plain text.
New Developer
RuiTrindade
Posts: 12
Registered: 09-28-2009

Re: Recording video

 

I think it is possible. Apps like Qik and Next2Friends stream live video form BBs with OS < 5.0 and I'm pretty sure that they figured out a way to get (and send) the bytes while the video is being recorded.

 

Check out this thread: http://supportforums.blackberry.com/t5/Java-Development/3gp-parser/m-p/45634

 

Do you have any ideas how it can be done?

 

Thanks

Please use plain text.
Developer
BBDeveloper
Posts: 3,951
Registered: 07-15-2008

Re: Recording video

There may be something like one more background app which will be reading from teh file and making ready of the bytes of the video.

 

I dn't have any clue how they doing in that apps.


Use Search. "Accept Solution" If the problem is resolved.
Please use plain text.