BlackBerry Forums Support Community               

Closed Thread
 
LinkBack Thread Tools
Old 10-20-2009, 06:15 AM   #1 (permalink)
Knows Where the Search Button Is
 
Join Date: Mar 2009
Model: 8100
PIN: N/A
Carrier: Airtel
Posts: 16
Post Thanks: 0
Thanked 0 Times in 0 Posts
Question Video Recording Problem In Blackberry Bold

Please Login to Remove!

Hello Everyone,

From last two days i am badly stuck in a problem related to video recording in blackberry bold.
In blackberry bold device i have made a class called CameraManager which initiates device inbuilt video camera using below code...

int moduleHandle = CodeModuleManager.getModuleHandle("net_rim_bb_vide orecorder");
ApplicationDescriptor[] apDes = CodeModuleManager.getApplicationDescriptors(module Handle);
ApplicationManager.getApplicationManager().runAppl ication(apDes[0]);

then after video camera is on i record my video and click on stop button then as this CameraManager Class implements FileSystemJournalListener so in this class i have written fileJournalChanged() method. And whenever i get FileSystemJournalEntry.FILE_CHANGED event i close video camera using EventInjector.KeyEvent and move to a new screen.

This whole procedure completely works fine first time but i don't know why it's not working afterward until i close my application and again restart the device.

Anticipating reply from anyone. Any help would be great.

Thanks in advance
Rachna
Offline  
Old 10-20-2009, 07:40 AM   #2 (permalink)
Knows Where the Search Button Is
 
Join Date: Mar 2009
Model: 8100
PIN: N/A
Carrier: Airtel
Posts: 16
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hello Everyone,

Am i not so clear with the question?

Actually by the time i posted this problem i was trying to think over my code again and i got a reason for all this and its that my video recorder is never getting closed using EventInjector. So now i just want to know that how should i close Video Recorder Module.

Actually my Video Recorder is not getting closed for this also i think i have reason because after starting device normal camera using

Invoke.invokeApplication(Invoke.APP_TYPE_CAMERA, new CameraArguments());

and since this starts the application which is camera at that time if i use EventInjector which only works for foreground application, device default camera gets easily closed but opening Video Recorder is using different code which i have specified above is different...

When my video recorder is started at that time if i get current application in foreground using

ApplicationDescriptor.currentApplicationDescriptor ();

i always get name of my application instead of VideoRecorder. So i just want to know how can i close VideoRecorder of device.

Please help me out. Thanks in advance
Rachna
Offline  
Old 11-07-2009, 10:46 AM   #3 (permalink)
New Member
 
Join Date: Sep 2009
Model: 8900
PIN: N/A
Carrier: VF-PT
Posts: 2
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi there I'm on the same issue here.

Did you find how to close video camera?

Thanks

Rui
Offline  
Old 12-16-2009, 05:52 AM   #4 (permalink)
New Member
 
Join Date: Dec 2009
Model: 8130
PIN: N/A
Carrier: just start..........
Posts: 12
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi,

I am new to this forum......


I want to access video recording through my application.

for example.

my application contains 3 buttons when i click on start direct video recording should be start.


i am using JDE 4.3 & 8130.............................................. .... .

Can any one help.

Thanks in advance.

Sorry for any mistake.....................
Offline  




Copyright 2004-2016 BlackBerryForums.com.
The names RIM and BlackBerry are registered Trademarks of BlackBerry Inc.