close camera application in blackberry
Posted
by user324884
on Stack Overflow
See other posts from Stack Overflow
or by user324884
Published on 2010-04-27T09:08:20Z
Indexed on
2010/04/27
9:13 UTC
Read the original article
Hit count: 330
blackberry
|blackberry-simulator
I need to close camera when a file is taken from camera. I invoke camera by Invoke method and added FileJournalListener and then use Inject.post. But it si working fine in simulator and but not working in actual device. any Idea.
....... case FileSystemJournalEntry.FILE_ADDED:
filepath=path;
EventInjector.KeyEvent inject = new EventInjector.KeyEvent(EventInjector.KeyEvent.KEY_DOWN,Characters.ESCAPE, 50);
inject.post();
inject.post();
............
© Stack Overflow or respective owner