Skip to main content

Query for BD-J application state

5 replies [Last post]
sam_azaz
Offline
Joined: 2007-10-07

Hi,
Please tell me when a BD-J application comes into the paused state. It is not clear from the specification.
Thnx in advance
Sam

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
sam_azaz
Offline
Joined: 2007-10-07

Thanks a lot :)

Bill Foote

bd-j-dev@mobileandembedded.org wrote:
> Hi,
> Please tell me when a BD-J application comes into the paused state. It is not clear from the specification.

On most players, probably never.

The idea behind "paused" is that if a player wants to ask apps to
free up resources while apps aren't being shown, they can. For example,
if you have a set top box that also has a web browser, you might pause
the xlets in a TV service while the TV screen isn't showing, and the web
browser is.

"Paused" is a request from the player to the app. Player's aren't
required to make that request, but it's a tool that player implementers
have available to them to try to coordinate resource usage.

Bill

> Thnx in advance
> Sam
> [Message sent by forum member 'sam_azaz' (sam_azaz)]
>
> http://forums.java.net/jive/thread.jspa?messageID=239428
>
> ---------------------------------------------------------------------
> 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
>

---------------------------------------------------------------------
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

sam_azaz
Offline
Joined: 2007-10-07

Hi,
can you please tell me how can I pause an application ?
is there any API provided by the player to the application OR in what way application can be paused ?
Supposed, I have 2 applications running at the same time. But, Now I want to pause the first one. How can I do so ?
Thanx
Sam

Bill Foote

bd-j-dev@mobileandembedded.org wrote:
> Hi,
> can you please tell me how can I pause an application ?
> is there any API provided by the player to the application OR in what way application can be paused ?
> Supposed, I have 2 applications running at the same time. But, Now I want to pause the first one. How can I do so ?

Check out the app launching and listing API from the MHP
spec. org.dvb.application, if memory serves.

Cheers,

Bill

---------------------------------------------------------------------
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

peez
Offline
Joined: 2007-04-10

As far as I understand, a xlet normally doesn't enter the paused state by itself. If you want to switch between different applications you can use the pause state to lower resource usage.
See 9.2.3.2.1