The Source for Java Technology Collaboration

Home » java.net Forums » Mobile & Embedded » LWUIT

Thread: MediaComponent methods vs media Player methods

Welcome, Guest Help
Login Login
Guest Settings Guest Settings
Reply to this Thread Reply to this Thread Search Forum Search Forum Back to Thread List Back to Thread List

Permlink Replies: 2 - Last Post: Aug 21, 2008 1:49 AM by: kawaiimomo
kawaiimomo

Posts: 247
MediaComponent methods vs media Player methods
Posted: Aug 20, 2008 5:04 AM
  Click to reply to this thread Reply

Hi all there,

I noticed a slightly different behaviour with latest drop when I go to a Form with a fade transition-in and a MediaComponent (player for capture).

In previous drops I achieved better looking result by calling Player.start() and Player.stop() instead of calling the same methods in MediaComponent. Also I use the setVisible() method in VideoControl to hide the player. Is this a good approach? It's better to deal directly with the player or with the MediaComponent?

Thanks a lot

chen
Re: MediaComponent methods vs media Player methods
Posted: Aug 20, 2008 8:33 AM   in response to: kawaiimomo
  Click to reply to this thread Reply

Hi,


lwuit-users@mobileandembedded.org wrote:
> Hi all there,
>
> I noticed a slightly different behaviour with latest drop when I go to a Form with a fade transition-in and a MediaComponent (player for capture).
>
> In previous drops I achieved better looking result by calling Player.start() and Player.stop() i
Can you describe what was better?

> nstead of calling the same methods in MediaComponent. Also I use the setVisible() method in VideoControl to hide the player. Is this a good approach? It's better to deal directly with the player or with the MediaComponent?
>
I don't see an issue if you call directly to the VideoControl, make sure
you don't set the bounds from the VideoControl since the component
should be responsible for the location, size of the video.

Regards,
Chen

> Thanks a lot
> [Message sent by forum member 'kawaiimomo' (kawaiimomo)]
>
> http://forums.java.net/jive/thread.jspa?messageID=294347
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@lwuit.dev.java.net
> For additional commands, e-mail: users-help@lwuit.dev.java.net
>
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@lwuit.dev.java.net
For additional commands, e-mail: users-help@lwuit.dev.java.net


kawaiimomo

Posts: 247
Re: MediaComponent methods vs media Player methods
Posted: Aug 21, 2008 1:49 AM   in response to: chen
  Click to reply to this thread Reply

Thanks for the reply.

And thanks for the good work, and for the source! ;-)




 XML java.net RSS