Welcome Guest ( Log In | Register )

Outline · [ Standard ] · Linear+

 How to get JPN info + Addres + Photo from myKad

views
     
sina8687
post Apr 2 2009, 01:59 PM

New Member
*
Junior Member
47 posts

Joined: Jan 2006
From: Banting, Selangor


is it thumbprint left and right in image data type? i mean is it can be retrieve as jpeg or so on image format.
xenon
post Apr 2 2009, 05:34 PM

On my way
****
Senior Member
502 posts

Joined: Jan 2005
From: Selangor

The thumbprint is in a minutiae format (possibly proprietary and used in MyKad only), not raster image format. My findings show that it stores 4 bytes per minutiae: 1 byte for x-coordinate, 1 byte for y-coordinate, 1 byte for direction, 1 byte for type. I'm unable to find any standard format that matches this characteristic.
baby-doom
post Aug 10 2009, 02:19 PM

New Member
*
Newbie
3 posts

Joined: Jul 2005
hey xenon,
i've downloaded your mykad coding but
i am having problem detecting if mykad has been inserted into the reader, can you help?
i'm working on kiosks and i need that function
thx

This post has been edited by baby-doom: Aug 10 2009, 02:20 PM
hnieef
post Aug 10 2009, 05:08 PM

New Member
*
Junior Member
32 posts

Joined: Oct 2007


i have developing dll.can work with any card reader .gimme ur best price then i will consider sell with source code. smile.gif
xenon
post Aug 10 2009, 05:21 PM

On my way
****
Senior Member
502 posts

Joined: Jan 2005
From: Selangor

baby-doom, refer to http://msdn.microsoft.com/en-us/library/aa380151(VS.85).aspx SCardGetStatusChange and SCardCancel. You might know what to do next. Call SCardGetStatusChange in a separate thread because it blocks.
ayozzhero
post Aug 18 2009, 10:40 AM

New Member
*
Newbie
2 posts

Joined: Aug 2008


QUOTE(xenon @ Aug 10 2009, 05:21 PM)
baby-doom, refer to http://msdn.microsoft.com/en-us/library/aa380151(VS.85).aspx SCardGetStatusChange and SCardCancel. You might know what to do next. Call SCardGetStatusChange in a separate thread because it blocks.
*
Hi Xenon,

I am so surprised to download your codes, where I find the SDK which I bought somewhere resembles them a lot. Yet, after comparison, yours is noticeably faster and easier as you gave the original codes. The SDK, offers only wrapped DLL.

Thank you so much... if there is anyway I can thank you and this forum, please mention.

Well, there are a few new discoveries you've mentioned, such as the fingerprint image, JPJ apps which are not yet included. If you can share how to get them, it would be much appreciated. And... mykids... are they using different methods.

I am thinking to apply the full command sets from JPN. I am arranging the necessary documents and such. It might take sometimes. If I ever get them, maybe there is something I can share here too.

Thank you.


Added on August 18, 2009, 12:13 pmSorry... I found them somewhere in another thread. Just one more thing, since I am using .Net. Let's say, I want to use other MyKad apps, such as JPJ, what are the changes needed here:

CODE

   Public Function SelectApp(ByVal App As String) As Boolean
       Dim retval As Int32
       If App = "JPN" Then
           dLength = 256
           retval = SCardTransmit(hCard, pciT0, Cmd1, 15, pciT0, Buffer, dLength)
           If retval <> 0 Or Buffer(0) <> &H61 Or Buffer(1) <> &H5 Then    'Maybe not MyKad
               currentApp = ""
               Return False
           End If
           dLength = 256
           retval = SCardTransmit(hCard, pciT0, Cmd2, 5, pciT0, Buffer, dLength)
           currentApp = "JPN"
           Return True
       End If
       Return False
   End Function


This post has been edited by ayozzhero: Aug 18 2009, 12:13 PM
rzaneil
post Nov 13 2009, 09:46 AM

New Member
*
Newbie
1 posts

Joined: Nov 2009
hi xenon,

Thanks for your code. Just asking, this code is for reading and display MyKad info, so how to save it in a database eg MS Access. Is it possible and how to do it? can u give steps to do it. I'm only newbie juz cant understand the code well.

Thanks in advance for your kind help
huihao5141
post Jan 15 2013, 05:13 PM

New Member
*
Newbie
2 posts

Joined: Oct 2012


QUOTE(xenon @ Apr 21 2007, 03:15 PM)
I'm not confident with this code, but you asked for it. Was having difficulty with VB without pointers. I don't like .NET either, makes program slow, and need more memory.
Please comment.

---
There is one minor edit you can do. The "Get Response" command (named Cmd2 in this code) is not strictly necessary. Therefore you can comment out
CODE

� � � � � �dLength = 256
� � � � � �retval = SCardTransmit(hCard, pciT0, Cmd2, 5, pciT0, Buffer, dLength)

in Function SelectApp
*
hi Xenon,

how about MYKID ? same with mykad or not?

 

Change to:
| Lo-Fi Version
0.0158sec    0.42    6 queries    GZIP Disabled
Time is now: 15th December 2025 - 06:05 PM