Results 1 to 5 of 5
  1. #1
    ayangupta is offline Member
    Join Date
    Feb 2009
    Posts
    5
    Rep Power
    0

    Smile Program(convertion)

    Can U Please Give Me The Source Code Or The Program
    Convert A Text(.txt)file Into Binary Number
    And
    Convert A .wav File Into Binary Number.

    If U Give Me The Program I Will Be Very Thankful To U.

  2. #2
    Nicholas Jordan's Avatar
    Nicholas Jordan is offline Senior Member
    Join Date
    Jun 2008
    Location
    Southwest
    Posts
    1,018
    Rep Power
    10

    Default

    Study String.getBytes() for the text file.

    The conversion of .wav files to binary is not available in a pre-written program. Require much study.
    Introduction to Programming Using Java.
    Cybercartography: A new theoretical construct proposed by D.R. Fraser Taylor

  3. #3
    CJSLMAN's Avatar
    CJSLMAN is offline Moderator
    Join Date
    Oct 2008
    Location
    Mexico
    Posts
    1,159
    Rep Power
    9

    Default Whoa...

    Hold on there ayangupta... this is not "freeCode-R-Us". The purpose of this forum is help people with their Java coding problems... it is not a place where free code is sent to the four corners of the earth. You ask a specific question, you get a specific answer.
    Having said that... show us what you have done and what problems/questions you have.

    Luck,
    CJSL
    Chris S.
    Difficult? This is Mission Impossible, not Mission Difficult. Difficult should be easy.

  4. #4
    Steve11235's Avatar
    Steve11235 is offline Senior Member
    Join Date
    Dec 2008
    Posts
    1,046
    Rep Power
    9

    Default

    Now that I've taken the time to come here, I can't help but add to what Chris just said. We are here to help out other programmers with specific questions/problems, not to give away our services.

  5. #5
    toadaly is offline Senior Member
    Join Date
    Jan 2009
    Posts
    671
    Rep Power
    8

    Default

    You can read any file type using various java.io classes, such a FileInputStream.

    For sound files, the java.sound.sampled api has built-in handling for wav files.

Similar Threads

  1. String/sentence to unicode convertion
    By sandeepvreddy in forum New To Java
    Replies: 5
    Last Post: 11-20-2008, 04:33 PM
  2. stiring to unicode convertion
    By sandeepvreddy in forum New To Java
    Replies: 2
    Last Post: 09-20-2008, 05:08 PM
  3. Problem with Image Convertion
    By aptivo in forum Java 2D
    Replies: 0
    Last Post: 06-09-2008, 11:15 PM
  4. Date convertion in java
    By Preethi in forum New To Java
    Replies: 25
    Last Post: 05-16-2008, 05:11 PM
  5. Replies: 0
    Last Post: 10-04-2007, 09:33 PM

Posting Permissions

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