Lowyat.NET Forums

Welcome Guest ( Log In | Register )

LYN wins Intel-Lenovo-Tangs Blogathon challenge. Thank you everybody!
2 Pages < 1 2 
RSS feedBump TopicReply to this topicStart new topicStart Poll

Outline · [ Standard ] · Linear+

> How to get JPN info + Addres + Photo from myKad

sina8687
post Apr 2 2009, 01:59 PM
Show posts by this member only |This post's rating (0+, 0-) | Post #21


Newbie
*

Group: Junior Member
Posts: 47
Ratings earned: 0+, 0-
Ratings given: 0+, 0-

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.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
xenon
post Apr 2 2009, 05:34 PM
Show posts by this member only |This post's rating (0+, 0-) | Post #22


On my way
****

Group: Senior Member
Posts: 500
Ratings earned: 0+, 0-
Ratings given: 0+, 0-

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.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
baby-doom
post Aug 10 2009, 02:19 PM
Show posts by this member only |This post's rating (0+, 0-) | Post #23


Newbie
*

Group: New Member
Posts: 3
Ratings earned: 0+, 0-
Ratings given: 0+, 0-

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
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
hnieef
post Aug 10 2009, 05:08 PM
Show posts by this member only |This post's rating (0+, 0-) | Post #24


Newbie
*

Group: Junior Member
Posts: 24
Ratings earned: 0+, 0-
Ratings given: 0+, 0-

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
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
xenon
post Aug 10 2009, 05:21 PM
Show posts by this member only |This post's rating (0+, 0-) | Post #25


On my way
****

Group: Senior Member
Posts: 500
Ratings earned: 0+, 0-
Ratings given: 0+, 0-

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.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
ayozzhero
post Aug 18 2009, 10:40 AM
Show posts by this member only |This post's rating (0+, 0-) | Post #26


Newbie
*

Group: New Member
Posts: 2
Ratings earned: 0+, 0-
Ratings given: 0+, 0-

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
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
rzaneil
post Nov 13 2009, 09:46 AM
Show posts by this member only |This post's rating (0+, 0-) | Post #27


Newbie
*

Group: New Member
Posts: 1
Ratings earned: 0+, 0-
Ratings given: 0+, 0-

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
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

2 Pages < 1 2
Bump TopicReply to this topicTopic OptionsStart new topic
 



----debug section please ignore----
Lo-Fi Version Time is now: 22nd November 2009 - 11:51 PM
All Rights Reserved 2003-2009 Vijandren Ramadass (~living on a prayer~)