| Reply | « Previous Thread | Next Thread » |
|
Hi,
I am facing issue in MMAPI. I try to play video file on a canvas. When i do a pause, the last snapshot/frame should be visibile on the canvas. Even when the video has ended, last snapshot/frame should be visible on the canvas. What i see when i pause or stop is only the canvas and not able to see the last snapshot/frame. On emulator it works properly, but on all devices it is not working. Would appreciate any kind of help/suggestion Regards Deepak
Last edited by unread_chapter : 2009-04-21 at 12:58.
|
| unread_chapter |
| View Public Profile |
| Find all posts by unread_chapter |
|
are you repainting the canvas after player stopped or closed or end of media like this...
public void playerUpdate(Player player, String event, Object eventData) { if(event.equals(PlayerListener.STOPPED )|| event.equals(PlayerListener.CLOSED) || event.equals(PlayerListener.END_OF_MEDIA)) { repaint(); } void paint(Graphics g) { // fill the rect with black color equal to display size from display location of //videocontrol } then avoid the repainting after media stopped.. like this.. public void playerUpdate(Player player, String event, Object eventData) { if(event.equals(PlayerListener.CLOSED) || event.equals(PlayerListener.END_OF_MEDIA)) { repaint(); } hope this makes sense to you.. thanks, jitu_goldie.. KEEP TRYING..
Last edited by jitu_goldie : 2009-04-21 at 20:03.
|
| jitu_goldie |
| View Public Profile |
| Find all posts by jitu_goldie |
|
Hi,
The Given code is working Fine Nokia N95 Check this Out.. Quote:
Thanks Osam
Last edited by Osam : 2009-04-21 at 13:49.
|
|
Hi Osam,
You have taken form to display the video. I am working on canvas. Regards Deepak |
| unread_chapter |
| View Public Profile |
| Find all posts by unread_chapter |
|
Quote:
ARE U REPAINTING THE CANVAS AFTER GETTING PLAYER STOP OR PAUSE? CHECK AND REPLY thanks, jitu_goldie.. KEEP TRYING.. |
| jitu_goldie |
| View Public Profile |
| Find all posts by jitu_goldie |
|
Hi,
I have check my code is also work in Canvas. If u have any kind of problem then let me know. I send u the Canvas code also. Thanks Osam |
| Reply | « Previous Thread | Next Thread » |
| Thread Tools | Search this Thread |
|---|---|
| Thread | Thread Starter | Forum | Replies | Last Post |
|---|---|---|---|---|
| AsyncStop doesn't stop MMsvSessionObserver | Effekt | Symbian Networking & Messaging | 10 | 2008-12-26 14:59 |
| 编译gcc时遇到了问题为: *** missing separator. Stop | TurboC | Symbian | 8 | 2008-09-11 09:26 |
| devsound Pause problems | sk_sigurd | Symbian Media (Graphics & Sounds) | 5 | 2008-07-15 10:08 |
| issue with at+cusd over bluetooth link | hbanks | General Messaging | 2 | 2007-09-25 22:21 |
| two issues in s60 MIDP SDK when using MMAPI | leting | Mobile Java Tools & SDKs | 0 | 2003-06-22 18:26 |