By the way, i followed the the HaviBackgroundontroller exaple for Interactie TV Standards book by Steven Morris.
From the OCAP Api documentation:
"HBackgroundImage() creates an HBackgroundImage object from an array of bytes encoded in the same encoding format as when reading this type of image data from file."
If i try to write to a file ("temp.mpg") using FileOutputStream and try to pass the file as it is into the constructor of HBackgroundImage( String path), then It works fine.
But, if I create HBackgroundImage(byte) directly from the same bytes that i wrote to the file, it doesnt work.
Any inputs would be of great help guys.
Thank you once again..
Edited by: rahul.bourothu on Jan 26, 2010 11:54 AM