×

Discussion Board

Results 1 to 3 of 3

Threaded View

  1. #1
    Registered User
    Join Date
    May 2005
    Posts
    76

    playerUpdate not called for SnapshotControl events

    Hi,

    I'm not able to get PlayerListener events that comes from SnapshotControl, like SHOOTING_STOPPED, on N701 with Belle FP2. The picture is taken and saved where intended, however I do not know how to safely detect that it is done and I can close the view etc.

    In fact, the only events I get is "stopped" and "closed". I tried to register the listener just after player creation, after prefetching, after obtaining snapshot control - but it has no effect.

    Anyone has idea what could be wrong? Thanks.

    ---------

    final SnapshotControl snapshotCtrl = (SnapshotControl) player.getControl("javax.microedition.amms.control.camera.SnapshotControl");
    snapshotCtrl.setDirectory(...);
    snapshotCtrl.setFilePrefix(..);
    snapshotCtrl.setFileSuffix(..);
    snapshotCtrl.start(SnapshotControl.FREEZE);
    Last edited by hnipak; 2013-01-21 at 14:27.

Similar Threads

  1. Series 40 6th Edition shoot multiple pictures with SnapshotControl
    By mbode in forum Mobile Java Media (Graphics & Sounds)
    Replies: 2
    Last Post: 2012-01-14, 21:25
  2. keyPressed() and other Key Events handler are not called
    By raj_J2ME in forum Mobile Java General
    Replies: 10
    Last Post: 2010-10-11, 04:59
  3. Replies: 2
    Last Post: 2009-05-20, 09:37
  4. Video stops without a PlayerUpdate event
    By jdesmedt in forum Mobile Java Media (Graphics & Sounds)
    Replies: 5
    Last Post: 2009-04-29, 14:06
  5. playerUpdate(...)
    By tonem in forum Mobile Java Media (Graphics & Sounds)
    Replies: 0
    Last Post: 2004-10-11, 13:04

Posting Permissions

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