×

Discussion Board

Results 1 to 2 of 2
  1. #1
    Registered User
    Join Date
    Jan 2010
    Posts
    1

    Question direct copy a file from resource(jar file) to memory card

    Hi All
    I want copy a file from resource(i mean within the jar file) to phone's memory card.
    I don't want to read the content of file in the form of bytes or anything else,
    and then write it elsewhere,
    because it's encoding may be changed.
    has j2me any function like filecopy() or somethinge else to copy the file at once.

    if anyone knows anyththing about the problem,help me please
    sincerely yours.
    Universoft

  2. #2
    Super Contributor
    Join Date
    Jun 2003
    Location
    Cheshire, UK
    Posts
    7,395

    Re: direct copy a file from resource(jar file) to memory card

    You need to read the file from the JAR, and write it to the file system. It's "encoding" will not be changed, because you will be reading and writing bytes, and bytes are not subject to character encoding. Only characters (char) are subject to character encoding.

    Graham.

Similar Threads

  1. Contacts fields order??
    By timatima in forum Symbian
    Replies: 1
    Last Post: 2007-06-08, 13:51
  2. Replies: 1
    Last Post: 2005-05-26, 14:22
  3. Nokia Image Converter
    By davidpurdie in forum General Development Questions
    Replies: 0
    Last Post: 2004-02-18, 15:31
  4. can not successfully link any sample using .NET
    By lobotomat in forum Symbian Tools & SDKs
    Replies: 2
    Last Post: 2002-08-20, 00:29
  5. Replies: 0
    Last Post: 2002-06-10, 12:24

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •