Skip to main content

Is there a way to determine the player's make/model?

2 replies [Last post]
vinaykagarwal
Offline
Joined: 2006-01-14
Points: 0

Hello,

Is there a way to determine the player's make/model from a BD-J application? Thanks in advance.

Regards,
Vinay Agarwal

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Joe Rice

Afraid not. That was specifically excluded from the spec. ;) Closest
you can get is by checking the user agent provided in an http
connection from a BD-Live player - some players will identify
themselves there, although it's not mandated.

Joe

On 9 Oct 2009, at 3:20 PM, bd-j-dev@mobileandembedded.org wrote:

> Hello,
>
> Is there a way to determine the player's make/model from a BD-J
> application? Thanks in advance.
>
> Regards,
> Vinay Agarwal
> [Message sent by forum member 'vinaykagarwal' (VinayKAgarwal@hotmail.com
> )]
>
> http://forums.java.net/jive/thread.jspa?messageID=367472
>

---------------------------------------------------------------------
To unsubscribe, e-mail: bd-j-dev-unsubscribe@hdcookbook.dev.java.net
For additional commands, e-mail: bd-j-dev-help@hdcookbook.dev.java.net

vinaykagarwal
Offline
Joined: 2006-01-14
Points: 0

Thanks Joe,

Many players return null or "Java..." for user agent. I found that using the xletContext parameter passed to initXlet,
xletContext.getClass().getName()
returns something like com.sony.bdjstack.core.CoreXletContext for Sony players and com.philips.bluray.application.lifecycle.Application for Oppo player. This seems to be a lot more relevant for identifying the player.

Vinay