×

Discussion Board

Results 1 to 3 of 3
  1. #1
    Regular Contributor
    Join Date
    Apr 2010
    Posts
    77

    new File notification

    Hi all,

    is possible to get an event notification when a new image has been taken from the built-in camera or when a new file is created on the filesystem?
    In my specific case i have to write a MIDlet who can detect when a new image as been taken from the built in camera and stored on the device's filesystem.
    I'm watching if with the FileConnection API is possible to achieve such a thing.
    I'm recovering the path to image directory with the System.getProperty("fileconn.dir.photos").
    I can detect if a new image has been added to the photo's dir watching the directory size but how can i know which specific file has been added?
    I have to get the new file name.


    Best regards

  2. #2
    Registered User
    Join Date
    Sep 2007
    Location
    Bangalore
    Posts
    868

    Re: new File notification

    Hi,

    I don't think so it is possible in j2me.

  3. #3
    Registered User
    Join Date
    Oct 2009
    Location
    Noida
    Posts
    941

    Re: new File notification

    I can detect if a new image has been added to the photo's dir watching the directory size but how can i know which specific file has been added?
    I have to get the new file name.
    One Solution Approach, play around with thumbs.db (fileconn.dir.photos) file if a new file is added thumbs.db gets updated you will find filename,lastmodified,thumbnail etc all info about the newly added file from it.

    thanks,
    Ekta

Similar Threads

  1. Problem with GCCE build in Carbide.vs
    By raffaelbechara in forum Symbian
    Replies: 6
    Last Post: 2008-10-20, 16:06
  2. Hw to get the Bluetooth file transfer notification
    By lal.rajan in forum Symbian Networking & Messaging (Closed)
    Replies: 5
    Last Post: 2008-07-21, 06:00
  3. Obfuscate python code
    By bercobeute in forum Symbian
    Replies: 20
    Last Post: 2008-02-26, 20:06
  4. File server: Compilation error in carbide.c++
    By justteam in forum Symbian
    Replies: 6
    Last Post: 2007-01-03, 23:44

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •