sshipman / RhombusLib

Android library for decoding magnetic stripe audio data to ascii. Decodes track 1 or 2.
129 stars 53 forks source link

There is no tutorial #2

Open RankoR opened 10 years ago

RankoR commented 10 years ago

Can you please write a small tutorial about how to use this library? Thanks.

vikasvmane commented 10 years ago

Yeah,it will be good to have a detailed documentation for how to use the library.Only then it will be easier to implement.sshipman please help.Thanks

davalidator commented 9 years ago

Is there a small tutorial for how to use the library? I tried implementing it as such:

In my main activity, I created an instance of AudioMonitor with a handler that can handle the messages of MessageType. When the message is of type MessageType.DATA, I used an AudioDecoder instance to process the data and display the resulting string.

I believe all of this is fine.

I am confused on how to properly start and stop the audio monitoring. Should the monitoring happen in a background or maybe in a service? Please advise.

davalidator commented 9 years ago

Never mind. I was able to figure it out by using a Thread.

cdunworth commented 9 years ago

a small tutorial/demo app would be very helpful, specially for those new to Android & Java very interesting work Thank you

ozarka30 commented 9 years ago

davalidator, if possible do you think you can send me a link to your source code for how you implemented this? I am working on a project and can't figure out how to do this. I'm also new to java and android programming which might be why?

davalidator commented 9 years ago

chunworth and ozarka30,

I uploaded an example app with my modifications to the RhombusLib. This should be a good start. https://github.com/davalidator/rhombuslibexample

ozarka30 commented 9 years ago

Thank you for sharing it helped a lot!

If possible do you think you can take a look at this for me? I'm having some trouble getting the final message to output to a WebView.

This is my github if you have some time..... https://github.com/GhostdeLegend/Club-Points-Web-App

Thank you for the help again.

AmitaInsan commented 9 years ago

Hello i am using this library to read Magnetic strips using the given demo https://github.com/GhostdeLegend/Club-Points-Web-App in this link. I want to get Credit Card company Name also ,like in Rhombus app is dislaying . Please share the code for this.

Thanks in Advance :)

cdunworth commented 9 years ago

Hi, At highest level numbers starting 3 are issued Diners or Amex 4 are issued by VISA 5 are issued MASTERCARD 6 might be MAESTRO There are of course numerous exceptions to this norm There are some WIKIS with this info but you need use something like http://www.binlist.net/

hope this helps

On 4 March 2015 at 12:05, AmitaInsan notifications@github.com wrote:

Hello i am using this library to read Magnetic strips using the given demo https://github.com/GhostdeLegend/Club-Points-Web-App in this link. I want to get Credit Card company Name also ,like in Rhombus app is dislaying . Please share the code for this.

Thanks in Advance :)

— Reply to this email directly or view it on GitHub https://github.com/sshipman/RhombusLib/issues/2#issuecomment-77146614.

AmitaInsan commented 9 years ago

Hello, i am using the given sample app for getting magnetic strips on credit card by this link https://github.com/davalidator/rhombuslibexample using Rhombus library .But sample app is not displaying Credit Card name .Please share the code to get the Name of credit card as Rhombus app is displaying . Thanks in advance.