Join Now
Quality Rating:
  • Currently 0.0 / 5
(0.0 / 5 - 0 votes cast)
Expertise Level:
  • Currently 0.0 / 5
(0.0 / 5 - 0 votes cast)

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.

 
Powered by MediaWiki
     
     RDF Facets:
     
     
     qfnZtopicQUqfnTopicZjavaQ
     qfnZtypeQUqfnTypeZCommunityContentQ
     qfnZtypeQUqfnTypeZWebpageQ
     qfnZtypeQUqfnTypeZWikiContentQ
     qmarsZlanguageQUxhttpE3aE2fE2fswE2enokiaE2ecomE2flanguageE2d1E2fenX