BlackBerryForums.com : Your Number One BlackBerry Community
     

»Sponsored Links


BlackBerryApps.com Best Sellers



Reply
 
LinkBack Thread Tools
  (#1 (permalink)) Old
rachnakhokhar Offline
New Member
 
Posts: 9
Join Date: Mar 2009
Model: 8100
PIN: N/A
Carrier: Airtel
Question Video Recording Problem In Blackberry Bold - 10-20-2009, 07:15 AM

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
   
Reply With Quote
Sponsored Links
Please Login or Register to Remove these Advertisements!

  (#2 (permalink)) Old
rachnakhokhar Offline
New Member
 
Posts: 9
Join Date: Mar 2009
Model: 8100
PIN: N/A
Carrier: Airtel
Default 10-20-2009, 08:40 AM

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
   
Reply With Quote
  (#3 (permalink)) Old
RuiTrindade Offline
New Member
 
Posts: 2
Join Date: Sep 2009
Model: 8900
PIN: N/A
Carrier: VF-PT
Default 11-07-2009, 10:46 AM

Hi there I'm on the same issue here.

Did you find how to close video camera?

Thanks

Rui
   
Reply With Quote
Reply


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On





Copyright © 2004-2009 BlackBerryFAQ.com, BlackBerryForums.com.
The names RIM © and BlackBerry © are registered Trademarks of Research In Motion Limited.