Add header to splitted video in j2me

hello ,
im developing a application in which i want to download a large  file in to chunks n play them chunck by chunk but im able to play first file only remaining files are not getting played i think its because of missing header file in remaining chunk , please help to add headers.

Why hello there.
as this is a user to user forum only for Nokia products and services, you would be better off asking that question in the relevant forums in Nokia Developer. Please visit http://developer.nokia.com

Similar Messages

  • Adding header in split alv using SALV

    Hello Champs,
    I have a requirement to display 6 diff reports in a screen. I have achieved it by using SALV(Split Container). Now I need to add header to each ALV report. The normal way of adding header in SALV doesnt work in the split ALV.
    Can someone help me with this.
    Thanks,
    Greg

    Hi, im experiencing the same situation right now, have you solved the problem? any inputs would be appreciated. thanks!

  • How to add header and fooder in text file

    Hi,
    i have created simple application for generate report from database into text file.
    But i need to add header and fooder in text file. I dont know is there any API for adding these.
    Can anyone help me to create header and fooder in text file.
    the below text are needs to be print in the header
    name of the table :
    Recorder type :
    file creation time:
    the below text are needs to be print in the footer
    Recorder Number:
    Record Type;
    the actual code is
                           pst = con.prepareStatement("select REQUEST, DOMAIN_NAME, TRUNC(DATE_OF_CONFIGURATION) AS dateofConfig  FROM employee where id=300");
                               rs = pst.executeQuery();
                            while (rs.next()) {
                                 request = rs.getString("REQUEST");
                                    domain_name = rs.getString("DOMAIN_NAME");
                                    dateofconfig = rs.getString("dateofConfig");
                                    System.out.println(request + " " + domain_name + " " + dateofconfig);
                                   data.add(request + " " + domain_name + " " + dateofconfig);
                            System.out.println("before calling method");
                            writeToFile(data, "c:/Employee.txt");
                            System.out.println("file created successfull");
                            rs.close();
                            pst.close();
           private static void writeToFile(List list, String path) {
                    BufferedWriter out = null;
                    try {
                            File file = new File(path);
                            out = new BufferedWriter(new FileWriter(file, true));
                            for (Object obj : list) {
                                String s=  obj.toString(); 
                                 out.write(s);
                                    out.newLine();
                            out.close();
                    } catch (IOException e) {
    }Thanks
    Jasmin
    Edited by: user13836688 on Mar 21, 2011 4:06 AM
    Edited by: user13836688 on Mar 21, 2011 4:07 AM
    Edited by: user13836688 on Mar 21, 2011 4:08 AM

    user13836688 wrote:
    i have created simple application for generate report from database into text file.First off, when posting code, use &#91;code]...&#91;/code]. or '' tags, not '<code>'.
    But i need to add header and fooder in text file. I dont know is there any API for adding these.
    Can anyone help me to create header and fooder in text file.Well you plainly have the code to write the file contents; and furthermore your report seems to be contained in a List called 'data'. Why not just add the header and footer lines to it? I'd also suggest making 'data' a LinkedList. That way you can add the header afterwards with no performance hit, just in case the information it contains isn't available at the start of your report loop.
    Winston                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • How to Add Header and Footer in Flat file

    HI All,
    I am using ODI 11g.
    MY interface is populating data from joining to 2 tables through sql query and Loads in to Flat file.
    But i need to add Header and Footer in the Flat file.
    In the below 3 lines
    The 1st line is header ....2nd line is Data ....3rd line is Footer.
    Any ideas how to work on this.
    HSB9KT.KTPRTO.EBSDATA.D0000000 20120626020636
    CFFE00263 SOLGSR014991340000527894536058173880207SOLNE06242012072420120000009048382650000247MRS
    T00000000000000000000
    Thanks,
    Lony

    Hi Drieux,
    i am able to add Header and Footer in this.
    But i want the header like Its like HSB9KT.KTPRTO.EBSDATA.D0000000 || SYSDATE (YYYYMMDDHHMMSS)
    In my Out put i only see header as HSB9KT.KTPRTO.EBSDATA.D0000000 .
    I have added a Variable where i am using SELECT to_char(sysdate,'YYYYMMDDHHMMSS') FROM DUAL query.
    create header (HSB9KT.KTPRTO.EBSDATA.D0000000 #v_DATE)
    /*$$SNPS_START_KEYSNP$CRDWG_TABLESNP$CRTABLE_NAME=FFT_SOLSNP$CRLOAD_FILE=/home/tarak/FFT_SOL.datSNP$CRFILE_FORMAT=FSNP$CRFILE_SEP_FIELD=0x0009SNP$CRFILE_SEP_LINE=0x000ASNP$CRFILE_FIRST_ROW=0SNP$CRFILE_ENC_FIELD=SNP$CRFILE_DEC_SEP=SNP$CRSNP$CRDWG_COLSNP$CRCOL_NAME=descrSNP$CRTYPE_NAME=STRINGSNP$CRLINE_OFFSET=1SNP$CRLENGTH=994SNP$CRPRECISION=994SNP$CR$$SNPS_END_KEY*/
    Any idea why this sysdate part is not showing in Header.

  • Need to add Header  and footer in an alv grid display output.

    How can I add header and footer in an alv grid dispay output.
    For the grid display, I am using the function module "REUSE_ALV_GRID_DISPLAY".

    HI,
    call function 'REUSE_ALV_GRID_DISPLAY'
           exporting
                i_callback_program      = gd_repid
                i_callback_top_of_page   = 'TOP-OF-PAGE'
                i_callback_html_end_of_list = 'END_OF_LIST_HTML'
                is_layout               = gd_layout
                it_fieldcat             = fieldcatalog[]
                i_save                  = 'X'
           tables
                t_outtab                = it_ekko
           exceptions
                program_error           = 1
                others                  = 2.
    FORM end_of_list_html USING end TYPE REF TO cl_dd_document.
      DATA: ls_text TYPE sdydo_text_element,
            l_grid     TYPE REF TO cl_gui_alv_grid,
            f(14) TYPE c VALUE 'SET_ROW_HEIGHT'.
      ls_text = 'Footer title'.
    adds and icon (red triangle)
      CALL METHOD end->add_icon
        EXPORTING
          sap_icon = 'IL'.
    adds test (via variable)
      CALL METHOD end->add_text
        EXPORTING
          text         = ls_text
          sap_emphasis = 'strong'.
    adds new line (start new line)
      CALL METHOD end->new_line.
    display text(bold)
      CALL METHOD end->add_text
        EXPORTING
          text         = 'Bold text'
          sap_emphasis = 'strong'.
    adds new line (start new line)
      CALL METHOD end->new_line.
    display text(normal)
      CALL METHOD end->add_text
        EXPORTING
          text         = 'Nor'.
    adds new line (start new line)
      CALL METHOD end->new_line.
    display text(bold)
      CALL METHOD end->add_text
        EXPORTING
          text         = 'Yellow '
          sap_emphasis = 'str'.
    adds and icon (yellow triangle)
      CALL METHOD end->add_icon
        EXPORTING
          sap_icon = 'IC''.
    display text(normal)
      CALL METHOD end->add_text
        EXPORTING
          text         = 'Mor'.
    *set height of this section
      CALL FUNCTION 'GET_GLOBALS_FROM_SLVC_FULLSCR'
        IMPORTING
          e_grid = l_grid.
      CALL METHOD l_grid->parent->parent->(f)
        EXPORTING
          id     = 3
          height = 14.
    ENDFORM. "end_of_list_html.
    This will solve  it. Post if you need more help in this.
    Regards,
    Madhu.

  • Add Header and Footer in Live Cycle ES2

    Hi,
    We are quite new to the use of live cycle pdf generation. Can anyone help us with information as to how we can add header and footers to our pdf files using livecycle ES2.
    And further, we would like to know whether header and footer adding is available in the trial version of Livecycle ES2?

    Hi,
    Thanks for the reply.
    We have another newly raised problem in the header and footer adding from Livecycle ES2. According to the PDF that you referred in the previous reply, we can add graphics to the PDF header, but we are unable to find a DDX tag that would enable us to add a image URL.
    Can you please help us again on the above?
    Purnima

  • How to add header and button

    i want to add header to my ALV report
    i am using cl_salv_table method
    i want to write a few sentences.
    in addition i want to add a button to my report,
    which will display the values the user put in the selection screen.
    please give me detailed explenation
    thanks

    Display header:--steps
    1. call the factory method and it reruns the ref variable..
          try.
              call method cl_salv_table=>factory
                exporting
                  list_display = list_display
                importing
                  r_salv_table = vref_alv
                changing
                  t_table      = i_sflight.
            catch cx_salv_msg into oref_error.
              l_text_alv_e = oref_error->get_text( ).
              message i000 with l_text_alv_e.
              leave list-processing.
          endtry.
    2. Create header object and attached it with ALV
      data: lr_grid type ref to cl_salv_form_layout_grid.
    1st step: create the grid object
      create object lr_grid.
    2nd step: add some text items
      lr_grid->create_header_information( row = 1  column = 1
                             text = 'Flight List Grp ##'(fll) ).
      lr_grid->create_text( row = 2  column = 1
                             text = 'Please check utilization'(uti) ).
    3rd step: declare grid as header of list
      vref_alv->set_top_of_list( value = lr_grid ).
    Display - button steps:
    1. Create pf status and Set pf status:
    Create pf-status and add ur custom button with a fcode then set this status with alv.
      vref_alv->set_screen_status( pfstatus = 'SALV_TABLE_STANDARD'
                                report = sy-repid
                           set_functions = p_alv->c_functions_all ).
    2. Get all the events and set the event handler for this added button.
      data: lr_event type ref to cl_salv_events_table.
    get the EVENT object
      lr_event = p_alv->get_event( ).
      set handler :
      lcl_handler=>on_added_function for lr_event,
    2. Create the local class to handle this event:
    class lcl_handler definition.
      public section.
        class-methods:
        on_added_function for event added_function of cl_salv_events_table
                importing e_salv_function, " type salv_de_function
    endclass. "lcl_handler definition
    CLASS lcl_handler IMPLEMENTATION
    class lcl_handler implementation.
      method on_added_function.
        data: l_oref_columns type ref to cl_salv_columns_table,
              l_oref_column  type ref to cl_salv_column_table,
              l_oref_column1 type ref to cl_salv_column,
              l_except1      type ref to cx_salv_not_found,   "Exception
              l_text1        type string,                     "Exception msg
              l_lvc_s_colo type lvc_s_colo.
        case e_salv_function.
          when '<fcode of ur button>'.
        write ur logic here.
       endcase.
      endmethod.
    endclass. "lcl_handler IMPLEMENTATION
    Regards,
    Joy.
    Edited by: Joyjit Ghosh on Jul 13, 2008 12:16 PM

  • How to add header and footer to a file through ODI?

    hi,
    I want to add header and footer to my file..............footer should contain a counter so that page number can be displayed...................
    Can anyone please guide me .................
    Thanks .............
    Ritika

    what is the utility you are using to create file . Interface or OdiSqlUnload ?
    and what do you want to have Header and Footer as and how are you concluding the File as page 1 and page 2 etc ... ?

  • How to add header line in a file from XI system using file adapters

    Hi All,
    I need to add header line (Column names) in a file coming from XI system.
    I am using file adapters.
    Thanks & Regards,
    Gaurav Mittal

    The Receiver File Adapter is configured, using the following settings:
    1) Choose File Content Conversion as the Message Protocol.
    2) You give the ‘addHeaderLine’ parameter as 1
    3) For the ‘fieldSeparator’ parameter you need to give field separator for both list and substructure (referring to the data type above). For eg: it may be a ‘,’ (comma) for substructure in a comma separated file.
    4) The ‘endSeparator’ parameter needs to given for substructure only. For eg: it may be a ‘nl’ (new line)
    5) Give the file name, the directory and the Construction mode. Activate all the settings. Receiver File Adapter with F.C.C. is configured.
    please visit the blog.
    /people/arpit.seth/blog/2005/06/02/file-receiver-with-content-conversion
    /people/venkat.donela/blog/2005/03/02/introduction-to-simplefile-xi-filescenario-and-complete-walk-through-for-starterspart1
    /people/venkat.donela/blog/2005/03/03/introduction-to-simple-file-xi-filescenario-and-complete-walk-through-for-starterspart2

  • How to add header to a file in mapping

    Hi,
    I need to add header to a file , the header information i am getting is dynamic , it is an IP address of the m/c from where i received the file and keeps on changing.
    Can we add this information in the header in mapping or there is any other way to acheive this.This IP is used to make a lookup  at a  latter stage  for verification purpose.
    Regards,
    SRi

    Hi Sri,
    Write Java class or an ABAP class
    in Java class or ABAP class write logic to find the first word or line
    once you find that word in your incoming file, you need to replace with a string which has the static header+firstword what you have searched
    for exmple
    Incoming file
    abcd
    <abc>123</abc>
    <def>321</def>
    Your logic should find "abcd"
    String Header = "http://www.sap.sdn.com"
    String A = "abcd" (bcoz u kow u r searching for this word)
    now concat A+Header and return the string
    IF you are writing an ABAP or Java  class include this in Interface Mapping
    Hope this helps.

  • JAVA API to add header and footer in MS Word

    Hi,
    please help me out, I am hanging with this concept.
    The problem is I need to add a headers in ms word file using java. I come to know that the API is support for this task is 1.apache POI 2.jacob
    I dont know which class file I need to use to do this, If anyone knows about this please let me know or send the URL's
    Thankyou,
    Baskaran.k

    ya i have used POI but i don know the class file in POI. i just now trying jacob., can u send the API and Class file to add header and footers in ms word.

  • How do you add pictures instead of video into the comic book theme?

    I'm doing a project for school and I have to use the comic book theme in iMovie. In the box above the text where you would usually add a movie or video, I want to put photos. How do I do that? Thanks

    Does it allow you to drag a photo into that window? Try it with a picture out of iPhoto maybe and see if it will allow you to drop it into the placeholder area.

  • Looking for a simple app to add sound to my video...

    Hi,
    I've been trying to find a very simple app.  I want to add music (from my IPhone 4) to my own video (on my iPhone 4). 
    I'm pretty sure iMovie will do it, but it's 20MB and that's a lot of space for a lot of functionality that I don't want or need.
    Does anyone know a basic/simple app to add sound to my video???
    Thanks!
    Jim

    You're welcome.
    I can't even figure out how to do a search of the app store.
    From the App Store on your iPhone, press the Search button at the bottom and enter your search phrases.
    From a computer go here... http://appshopper.com/ and enter your search phrases
    FWIW, I used "video sound" to find your app.  It was the second hit.

  • How do I add more than one video per track/layer?

    Hi.
    Could someone please advise me how I can add more than one video to a track/layer?
    I'm cutting and pasting parts and each time I paste, a new track/layer is added.
    The final video is going to be approximately 5 minutes long.
    I am 17 seconds in and have 54 tracks already!
    How do I stop this?
    Thank you very much
    J

    More video tracks. This is actually what you want.
    Unless you're just making a still image (like Photoshop), multiple layers give you control to animate each individually. (If it's just a Photoshop comp you're after, you may want to create it in Photoshop)
    If you want to move ALL OF THE VIDEO TRACKS TOGETHER, you can use
    parenting or
    precompose those individual layers into a single composition.
    livedocs

  • Using OLE add Header to MS Word Document in ABAP Program

    Dear Friends,
    I have a requirement where I want to add Header and Footer to MS Word through OLE in ABAP Program
    I am able to open the word document, through OLE,
    I am stuck @ the following step.
    CALL METHOD OF LO_APPLICATION 'ActiveDocument' = LO_DOCUMENT.
      IF SY-SUBRC <> 0.     EXIT.   ENDIF.
      CALL METHOD OF LO_DOCUMENT 'Sections' = LO_SECTIONS.
      IF SY-SUBRC <> 0.     EXIT.   ENDIF.
    Please let me know.
    Thanks
    Rajesh

    Hi Rajesh,
    You have to use GET PROPERTY & SET PROPERTY  attributes of OLE2_OBJECT to use headers.
    Just a sample code snippet for your reference :-
    DATA : GS_TABLE TYPE OLE2_OBJECT ,
          GS_RANGE TYPE OLE2_OBJECT,
         GS_CELLTYPE OLE2_OBJECT,
    CALL METHOD OF GS_TABLE  'Cell' = gs_cell
       EXPORTING #1 = '1'
                         #2 = '1'.
       GET PROPERTY OF gs_cell 'Range' = gs_range.
       SET PROPERTY OF gs_range 'Text' = 'VGUID'.
       CALL METHOD OF gs_table 'Cell' = gs_cell
       EXPORTING #1 = '1'
                         #2 = '2'.
    For more details search on SCN for code on creating MS word document using OLE automation.
    Regards
    Abhii

Maybe you are looking for

  • Is there a way to disable mouse acceleration in OSX Yosemite?

    i have used my dads iMac and MBP in the past and always noticed how bad the mouse response was in my opinion. Mind you, some people like the way the mouse responds in OSX and will probably have no idea what my issue is. That is mouse acceleration and

  • DAM I need to evolve (Lightroom vs Aperture)

    I have been quite reluctant to change my photo workflow due to my hardware limitations, but now that Im getting a new Macbook Pro new doors are opening for me. So, Id like to change from my current workflow into Lightroom or Aperture. I have looked q

  • How can i see the posts that i answered?

    How can i see the posts that i answered? Actually i some others post for a VLAN.. now i need that post ... but i'm unable to find it... Can someone please help me in this ? Regards, Chandu

  • Tile Safari Windows in Current Space

    Hello everyone, I'm trying to fix this apple script to only work on the windows in the current Space. --When in Safari, the coordinates {0,0} refer to the upper corner not including the menubar. tell application "Safari" -- For some reason Safari has

  • Switching tabbed panels on the button click

    I have a form where I am using spry tabbed panels. What I am trying to do is to switch to the panel 2 after I click on the next button of the panel 1