1. Download our Official Android App: Forums for Android!

How to read data from headset jack

Discussion in 'Android Lounge' started by macaruchi, Aug 6, 2011.

  1. macaruchi

    macaruchi Lurker
    Thread Starter
    Rank:
    None
    Points:
    5
    Posts:
    5
    Joined:
    Aug 6, 2011

    Aug 6, 2011
    5
    0
    5
    Hi!
    I have bought a credit card reader for my nexus one, like Square use. This is a device that plugs into headset jack and you swipe the credit card for this or any card with magnetic striper.
    I wanna know if there is a way to read the information it sent by headset jack?

    This is some new for me but I need this device to read identification ID.
    Tthere is any API that can be connected to headeset jack ?

    Any ideas?

    Thks
     

    Advertisement

  2. lunatic59

    lunatic59 Moderati ergo sum
    Moderator
    Rank:
     #2
    Points:
    4,238
    Posts:
    36,944
    Joined:
    Jun 12, 2010

    Jun 12, 2010
    36,944
    35,368
    4,238
    Male
    IT
    Pennsylvania

Share This Page

Loading...