Categories: Java | Code Examples | How To | Multimedia | Imaging
This page was last modified 08:34, 25 September 2007.
How to get full filename of the snapshot taken in JSR 234
From Forum Nokia Wiki
While taking snapshot using JSR-234, filename of the image saved to the file system of the phone is generated by the JSR itself in a sequence. The MIDlet does not have any control on that. However there are cases where the exact filename is needed to access the fileand do the processing. In that case follow this way:
1. set default folder to save the image
snapshotControl.setDirectory("c:/pictures/temp/");
2. set a file prefix by
snapshotControl.setFilePrefix("xyz");
Then after taking snapshot open a file connection the path "c:/pictures/temp/"
Search for the file which contains "xyz" in its name.
In this way we can fetch the file for processing if needed.
| Related Discussions | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Taking snapshot by the internal camera of the 6230???????????????????? | n3po | Mobile Java Media (Graphics & Sounds) | 0 | 2005-01-11 20:40 |
| draw into video stream from camera | Davidyes | Mobile Java Media (Graphics & Sounds) | 2 | 2006-07-28 22:19 |
| User file location problem | hsagovac | General Symbian C++ | 11 | 2007-05-04 10:35 |
| Need a quick Reply(jsr supported phone) | apus29 | Mobile Java General | 3 | 2008-04-08 07:08 |
| 请教一个关于文件的问题,急!!! | DZD_wangchao | Symbian | 5 | 2006-01-26 03:02 |
