Unsmooth ticker/marquee movement?

Hi All,
I am a newbie in JavaTV and trying to develop my first Xlet application, a ticker/marquee, with MHP.
I found that the ticker sometimes stopped (like a jitter) in its movement when running on real STB, it confuses me for days and still dont get how to fix it. Can anyone suggest?
Yes, it runs well on my emulator with PC.
I guess it might be caused since the XLET is running on MHP middleware and some part of the MHP is running with other process(such as collecting SI/PSI from broadcast network). But the guess is not accept by my adviser since he suggest I review my code to solve it.
Can anyone help on it? (agree my opinion or dis-prove it ... ).
I have referred to the sample code in this thread. However, it just jitters sometimes.
http://forums.sun.com/thread.jspa?forumID=57&threadID=746369

replied by myself...
After checking w/ the box manufacturer, we have some findings.
The marquee program is always switching among the stages of 'sleeping' and 'awake'. The 'sleeping' stage might be sometimes extended due to STB is unable to finish its sleeping in time (due to cpu time competition). STB with MHP middleware is an embedded system that usually equips only with minimum computation power, (cost and some other design consideration). Thus the programmer should not expect it is a powerful computation environment and being able to response every single request in time(or as it behaves on emulators running on a pc). We are now doing work-around to adjust the program presentation so that the 'jitter' could be hardly 'seen' by the users.
-N-P-C-

Similar Messages

  • Creating  Ticker/Marquee in ADF

    Hi All,
    I am developing web application in which, i required to create Ticker/Marquee i.e Making scrolling text continuously.
    In html. i knew it, by using marquee tag but in ADF, i do not how to create.
    Can any one help me out from this or any sample application related to this.
    Thanks in Advance.

    I don't think anyone has ever asked something like this before.
    Oh wait, I'm wrong https://forums.oracle.com/forums/search.jspa?threadID=&q=marquee&objID=f83&dateRange=all&userID=&numResults=15&rankBy=10001

  • XML driven message ticker (marquee)

    I'm makin a scrolling marquee that gets its data from an xml
    file. It reads it in and displays it fine, however, each loop of
    the scroller I want it to read in the xml file again so that any
    new entries will be displayed.
    I don't know if it's caching the xml file or what. I've tried
    the usual addition of a random query strong on the end of the xml
    file but still get the same data in.
    Any ideas?

    h1ppo wrote:
    > I'm makin a scrolling marquee that gets its data from an
    xml file. It reads it
    > in and displays it fine, however, each loop of the
    scroller I want it to read
    > in the xml file again so that any new entries will be
    displayed.
    > I don't know if it's caching the xml file or what. I've
    tried the usual
    > addition of a random query strong on the end of the xml
    file but still get the
    > same data in.
    than the random query string is not set correctly because if
    it was, you wouldn't be
    getting cached file.
    Best Regards
    Urami
    <urami>
    If you want to mail me - DO NOT LAUGH AT MY ADDRESS
    </urami>

  • Ipod will only load movies OR music - is this normal?

    hey hello
    my ipod only loads movies or music not both. i wonder if this is normal. i tick sync movies and as soon as i choose "sync ipod" the tick vanishes and nothing has changed.
    if i want to manage music and movies myself i can only load music or movies.
    i dunno if this is normal im sorry for wasting your time but i would appreciate help
    laptop   Windows XP  

    Probably because photo stream only keeps photos for 30 days, even though they remain on your devices (up to 1000 photos) until you delete them.  These photos are probably the ones added in the last 30 days.  To view the others, you can either create a shared photo stream with the others and invite yourself, or you can open them on your device and use AirPlay to stream them to your Apple TV.

  • News Ticker - Java Script

    Hello,
    This is the java script I use to create a news ticker on one of my pages. It can be included anywhere in your application - region header, body or footer:
    <script language="JavaScript1.2">
    Cross browser Marquee script- © Dynamic Drive (www.dynamicdrive.com)
    For full source code, 100's more DHTML scripts, and Terms Of Use, visit http://www.dynamicdrive.com
    Credit MUST stay intact
    //Specify the marquee's width (in pixels)
    var marqueewidth="300px"
    //Specify the marquee's height
    var marqueeheight="20px"
    //Specify the marquee's marquee speed (larger is faster 1-10)
    var marqueespeed=1
    //configure background color:
    var marqueebgcolor="#DEFDD9"
    //Pause marquee onMousever (0=no. 1=yes)?
    var pauseit=1
    //Specify the marquee's content (don't delete <nobr> tag)
    //Keep all content on ONE line, and backslash any single quotations (ie: that\'s great):
    var marqueecontent='<nobr><font face="Arial"><b>This is where my text goes.<b/></font></nobr>'
    marqueespeed=(document.all)? marqueespeed : Math.max(1, marqueespeed-1) //slow speed down by 1 for NS
    var copyspeed=marqueespeed
    var pausespeed=(pauseit==0)? copyspeed: 0
    var iedom=document.all||document.getElementById
    if (iedom)
    document.write('<span id="temp" style="visibility:hidden;position:absolute;top:-100px;left:-9000px">'+marqueecontent+'</span>')
    var actualwidth=''
    var cross_marquee, ns_marquee
    function populate(){
    if (iedom){
    cross_marquee=document.getElementById? document.getElementById("iemarquee") : document.all.iemarquee
    cross_marquee.style.left=parseInt(marqueewidth)+8+"px"
    cross_marquee.innerHTML=marqueecontent
    actualwidth=document.all? temp.offsetWidth : document.getElementById("temp").offsetWidth
    else if (document.layers){
    ns_marquee=document.ns_marquee.document.ns_marquee2
    ns_marquee.left=parseInt(marqueewidth)+8
    ns_marquee.document.write(marqueecontent)
    ns_marquee.document.close()
    actualwidth=ns_marquee.document.width
    lefttime=setInterval("scrollmarquee()",20)
    window.onload=populate
    function scrollmarquee(){
    if (iedom){
    if (parseInt(cross_marquee.style.left)>(actualwidth*(-1)+8))
    cross_marquee.style.left=parseInt(cross_marquee.style.left)-copyspeed+"px"
    else
    cross_marquee.style.left=parseInt(marqueewidth)+8+"px"
    else if (document.layers){
    if (ns_marquee.left>(actualwidth*(-1)+8))
    ns_marquee.left-=copyspeed
    else
    ns_marquee.left=parseInt(marqueewidth)+8
    if (iedom||document.layers){
    with (document){
    document.write('<table border="0" cellspacing="0" cellpadding="0"><td>')
    if (iedom){
    write('<div style="position:relative;width:'+marqueewidth+';height:'+marqueeheight+';overflow:hidden">')
    write('<div style="position:absolute;width:'+marqueewidth+';height:'+marqueeheight+';background-color:'+marqueebgcolor+'" onMouseover="copyspeed=pausespeed" onMouseout="copyspeed=marqueespeed">')
    write('<div id="iemarquee" style="position:absolute;left:0px;top:0px"></div>')
    write('</div></div>')
    else if (document.layers){
    write('<ilayer width='+marqueewidth+' height='+marqueeheight+' name="ns_marquee" bgColor='+marqueebgcolor+'>')
    write('<layer name="ns_marquee2" left=0 top=0 onMouseover="copyspeed=pausespeed" onMouseout="copyspeed=marqueespeed"></layer>')
    write('</ilayer>')
    document.write('</td></table>')
    </script>
    This works fine and I would like to include some dynamic content into this script. Either some page iteme content or even some query results. My java script knowledge is quite "skinny" so I got to ask how to do that?
    Thanks in advance,
    Denes

    Denes,
    I just came across your thread.
    Just replace within
    var marqueecontent='<nobr><font face="Arial"><b>This is where my text goes.<b/></font></nobr>'...
    the: "THIS is where the text goes." with: &P1_text.
    and you can manipulate the text dynamically.
    Ofcourse you hv to create the item P1_text and shortly after you keyed in s.th. and push "Enter" - then the data is in the Session (look at Session in Developer bar).
    After "Enter" the ticker/marquee works with your data.
    Alternative 2:
    Define in Application Attributes under Static Substitution Strings a "GLOBAL_ITEM" with a value: say: my News - then replace &P1_TEXT. by &GLOBAL_ITEM. (beware of the '.' after the item !!! it has to be there !!
    Alternative 3:
    Work with a table:
    A)Define a table called "NEWS" with the fields News_id, text, active_inactive - work with sequence..
    B) Define form and report for data entry. In the form go to the item "active_inactive" and modify iot to be a radio-button with LOV : STATIC: Yes,No
    C) still use the item P1_text and in the attributes of the item go to "Source" - select "SQL-Query" and key in:
    select text from news where active_inactive = 'Yes' - modify the P1_text item as "hidden"
    --> now you can manage your news and just the "Active" news are shown.
    Advanced: make sure, that only one record is active !!
    Have fun !! (:-)
    Bernhard

  • How to use ticker

    hi,
    i have a query which is having three fields.
    i want to display values of these three fields in the ticker
    so i added one form and selected ticker.
    now how how to assign this query to the ticker so that i can display all the three fields data
    example
    matno matgrp matprc
    m001   a          100
    m002   b          200
    m003   c          300
    i want ticker to move in this way
    m001   a   100  m002   b   200   m003   c   300
    how to get this
    please suggest me
    Edited by: venkat s on Jan 30, 2008 7:00 AM

    Hello venket,
    It is possible. Let me take your example.
    matno matgrp matprc
    m001 a 100
    m002 b 200
    m003 c 300
    m001 a 100 & m002 b 200 & m003 c 300
    Try this to add space between 2 entries,
    m001 a 100 &" "& m002 b 200 &" "& m003 c 300
    Regards,
    Chan

  • Can't download iTunes purchased movie to my iPhone

    I can see the movie there in my recently purchased section.
    I connect the phone, tick the movies I want to download then press 'apply"
    But then I get this message:
    My phone isn't synced with another library. This is the only one I use.
    I've updated software etc and can see everything there on my library but can't get the movies!
    Any ideas?

    You need to buy and install a Mac OS X 10.6 DVD, and then run the 10.6.8 combo updater.
    (89592)

  • Marquee Widget Not Working

    My Marquee Movie Theatre Listing Widget has stopped working in Tiger 10.4.11.
    Initially, when I changed the US ZIP Code to another US Zip Code, it continued to show the movie listings from the first ZIP code. I also tried changing the US Zip code to a valid Canadian Postal Code. Still no luck.
    I also deleted the marquee PLIST file. Still no luck. The PLIST was recreated. But now I see NO listings at all.
    Any ideas on how to fix this?

    Yes, I thought it was an Apple supplied widget. But it looks like I was mistaken. I am referring to Marquee 1.0.4 Movie Listings Widget. It was working but it stopped.
    Unfortunately, it also looks like the software developer has gone out of business.
    If anyone knows of a fix, please let me know.
    (Or if there is an alternative Widget for Tiger that does Movie Listings, please let me know!)
    Thanks

  • DVD from Animations - Help please if you can

    We have an 3min animation sequence that needs to be put to DVD.
    Animation was created in Maya, it's a 3D building walkthrough, constant movement.
    It is supplied as AVI (video track is WRAW) 720x576 (for PAL)
    We have placed it on FCP sequence set to Animation, best, millions colours, keyframe every frame.
    Sent to compressor - 8Mbps CBR, best motion, GOP size =7 / Structure =IBP, closed.
    The resulting M2V looks fine in QT
    It also looks fine in DVDSP Simulator
    However the DVD created (from an image) both in Apple's DVD player and on set top players looks badly pixelated, grainy and flickery.
    Is there something in the make up of the animation that doesn't suit DVD playback? Why wouldn't we see it in the Simulator?
    Any help greatly appreciated.

    Thanks Colin,
    I have exported the supplied file as QT movies using different QT Codecs, DV PAL, Animation, Motion JPEG, also DV stream. If the option is there I have set the field order to Lower first. I have also imported the supplied AVI to FCP onto sequences with differing compression settings as above. All produce the same effect.
    I have exported the AVI from QT as an image sequence, once as is and once with the deinterlace ticked in movie properties and imported each image as a frame to FCP onto a DV PAL timeline, this you would think would work around any issue of field order and behave as the sequence settings dictate? I get the same result, the final DVD image looks fine in DVD Player, unless you UNTICK "deinterlace" (which is wierd in itself), then it flickers badly, as does a DVD written from the image.
    The best result I have had so far is following your instructions (thanks) in another post for 24fps NTSC, the final DVD was not flickering anywhere as badly but motion overall was a bit jittery. Is there a work around for animation like this with PAL do you know?
    Also - maybe this might be a clue?
    When I have the clip looking fine in FCP as a DV clip or image sequence on a DV timeline, with the play line stopped or running, the Canvas ONLY looks good at 100%, anything smaller or larger creates this striping moire effect on the image, visible even with the play line in stop.

  • Goods Receipt for Material which has no Standard Price in Process Order

    Hello everyone, is there a way by which we can prevent GR for process order which contains material that does not have standard price? And if ever we received material using process order how can we correct the process order right after we correct the standard price.

    Hi,
    i just don't know why you raised new thread as already ur previous thread is not closed
    Now just let us know whether system is throwing any error
    or what exactly happing in cofirmation screen
    Go to OPK4, here
    under goods movement there is option all components  just tick it
    then in second tab Gen individual entry tick Goods movement & termination for incorrect goods movement
    Coming to GR
    what is storage location ur giving
    just check in MMSC, whether this storage location is activated for the header material ( GR )
    Added
    Plz Go through all possible options
    [Auto GR is not happening.;
    Regards
    kumar
    Edited by: kumar kumar on Nov 10, 2009 2:25 PM

  • IOS 7 Where's the unlock sound gone?

    Anyone know where the unlock sound has gone in iOS7? Is it a mistake or deliberately removed in this version?

    Hi Spec_d,
    To change the audio settings on the vision box please try the following:
    Press BT Vision on the remote
    Scroll right to Settings
    Press Select
    Select general settings
    Highlight and select 'Digital audio output' from the options
    Current Audio output is shown by the tick displayed next to the appropriate option
    To change the audio output type, navigate to 'Stereo'. A tick will move to the desired audio output method selected. To confirm the changes made, highlight 'Save' and press select.
    Let me know if this has helped you at all.
    Cheers
    Paddy,
    BTCare Community Mod
    If we have asked you to email us with your details, please make sure you are logged in to the forum, otherwise you will not be able to see our ‘Contact Us’ link within our profiles.
    We are sorry but we are unable to deal with service/account queries via the private message(PM) function so please don't PM your account info, we need to deal with this via our email account :-)

  • Where's the surround sound test program gone?

    With  HD surround sound problems still ongoing for me, i need to run the test program again to try something, but I just can't find it anymore.
    I've looked in all the obvious places - has it been erased?

    Hi Spec_d,
    To change the audio settings on the vision box please try the following:
    Press BT Vision on the remote
    Scroll right to Settings
    Press Select
    Select general settings
    Highlight and select 'Digital audio output' from the options
    Current Audio output is shown by the tick displayed next to the appropriate option
    To change the audio output type, navigate to 'Stereo'. A tick will move to the desired audio output method selected. To confirm the changes made, highlight 'Save' and press select.
    Let me know if this has helped you at all.
    Cheers
    Paddy,
    BTCare Community Mod
    If we have asked you to email us with your details, please make sure you are logged in to the forum, otherwise you will not be able to see our ‘Contact Us’ link within our profiles.
    We are sorry but we are unable to deal with service/account queries via the private message(PM) function so please don't PM your account info, we need to deal with this via our email account :-)

  • Scrap from stock account

    Dear all,
    Suppose I have recd the matl e.g. Steel sheets. They got rusty after 1 month.
    I want to scrap the matl. without assigning cost center.
    What transaction & mov type should be used.
    thanks,
    Vaibhav

    To make Cost Center as optional as when u do transation MB1A 551 movement system is asking Cost center mandatory
    to make cost center optional folloe the fowelling steps
    go to TCode  OMJJ
    Tick on Movement type check box
    Click enter
    enter movement type  from 551 to 551
    click enter
    double click on Field Selection (from 201)/batch selection procedure (left hand side of screen4 line)
    Double click on 551 GI Scraping line very first line
    Double click on Additional account assignment from selection group box
    click on opt entry radio button for cost center from Additional account assignment box
    Save
    Now perform the transation
    tcode MB1A enter movement type 551
    enter plant and storage loc
    click enter
    enter material and qty and save
    no need to put cost center as its optional
    Hope now the tings r very clear
    Reward if usefull

  • Easy ? for an Easy helpful response

    New to Photoshop and want to add text to a photo. I want to create a text box that has a masked background( I think it is?) Where the text is laid on a (color of choice) in the text box. Then then the Text is typed on that masked portion on the pic... I know how to do this in Photoscape, and Win7 photo editor, however I cannot find the tool to add white background behind my blue text...F1 unrolls every rabbit hole in Cs6 wich one must know the exact phrase to find it.
    Thanks
    Netcommercial

    after loading up photoshop you file > open > and load in your photo, or you open photoshop and then simply drag in the photo into the work area.
    that done you then choose the shapes tool, every tool when hovered over shows you what it is. most tools also have a little arrow on so if you left click and hold a choice appears. Most if not all of the tools look like what you want it to do. the eraser looks like an eraser, the text has a letter T on it, 2 icons down from that is the shapes tool.
    Choose your rectangle or whatever
    on the toolbar at the top when you chose a tool, your options change. So if you choose the text tool, then the top toolbar changes to allow you to choose the size of the font , colour etc.
    after choosing your rectangle the 2nd option on the toolbar says path , shape or pixels
    the 3rd icon up on the tools is the foreground and background colour.the front icon of the 2 is the foreground    clicking that icon will allow you to change that colour.
    choose shape and then click and hold the left mouse button on the photo where you want the top left hand corner to be, then hold and drag it down to the right hand bottom corner. It should then fill a shape, whichever you chose , with the colour whichever you chose. but also it will auto create a new layer as you chose shape from the three choices.
    the next step is now go to the text tool, ( the T icon on the tools ) , the toolbar changes to allow you to change the font , and size and colour.
    type in your text, the commit it, by pressing return or clicking the arrow that appeared on the toolbar to confirm you want it.
    and thats it all done. the only thing to do now is move things around where you want it, this is done by selecting the layer you want, so shape layer, or text layer, from the layers pallette, which is that whole bunch of panels on the right.  If you do not see layers then go to the top toolbar where it says file edit image layer etc, and choose window, when it opens make sure layer is ticked.
    to move stuff and and resize etc, you need to on the move tool, which is the top icon, arrow with plus sign with arrows, again looking like what you need to do.
    so select hat tool, then go to the layer you want to move, shape layer or the text layer and automatically you will see the transform handles, 9 little square nodes. when you hover over any of them the mouse icon change to show you can stretch it to make it fatter or thinner.
    if you hover just off and of the corners  of those transform handles the icon will change to a rotate icon allowing you to rotate the shape.
    i may have slightly over complicated it by giving you more choice and explaining the terms. but all the info you need is in here
    the final step SAVE

  • Goods receipt for process order during confirmaiton

    Hi
    Gurs ,
    I have created  I could not able to GR for the process order  automatically while i am doing confirmation .
    I have mainted all the setting in the master data  like back flush indicater in the material master and back fluch indicater for the
    in work center .
    I have maintained the setting in the control key and order and PSP as well but still it is not doing 101 automatically at the time of confiramtion.

    Hi,
    i just don't know why you raised new thread as already ur previous thread is not closed
    Now just let us know whether system is throwing any error
    or what exactly happing in cofirmation screen
    Go to OPK4, here
    under goods movement there is option all components  just tick it
    then in second tab Gen individual entry tick Goods movement & termination for incorrect goods movement
    Coming to GR
    what is storage location ur giving
    just check in MMSC, whether this storage location is activated for the header material ( GR )
    Added
    Plz Go through all possible options
    [Auto GR is not happening.;
    Regards
    kumar
    Edited by: kumar kumar on Nov 10, 2009 2:25 PM

Maybe you are looking for

  • New Line

    I have recently ordered a new line, i was due to have a enginneer out tomorrow to connect it all up and what not. I got a text through the other day to say that my line would be connected early and the appointment was not needed. All well and good i

  • Satellite P205-S6277: Can I take off the battery and connect the power too?

    I am working on my notebook Toshiba satellite P205-S6277, 80% of my time at home. Can I take off the battery and connect the power to a backup UPS in order to make battery life longer? I can charge it once a week.

  • Instant Hotspot / Personal hotspot not function correctly?

    BEST SOLUTION: Go to settings-cellular- cellular data network,  then scroll down to personal hotsot, then do the APN setup, after that go back to settings, your hotspot will then appear under cellular. This works perfect.  give us like on  www.facebo

  • How to enable WebGL for developers in iPhone 4, iOS 5.1.1?

    With WebGL use, development accelerating and availability made for such in safari 5.1 and later, how may we enable WebGL in iOS 5.1.1 or later? Thanks for your time and efforts.

  • Unable to start OC4J & HTTP Server

    Hi All, I am installing Oracle 10g Application Server Release 3(10.1.3) on IBM AIX 5.3L ML 04 operating system by remote desktop using "Xmanager" software for GUI. I choose advanced installation type "Integrated Web Server, J2EE Server and Process Ma