Jul 13, 2011

JMRTD for Android

JMRTD, the Java library that I (together with others) maintain to access and interpret ePassport content, has been ported to Android by Max Günther. To demonstrate this, Max has developed an app (see the screenshot) for Nexus S (and other NFC Android handsets). We're not the first ePassport project on Android or NFC, but we try to be the most usable one!

The contactless technology in ePassports, ISO-14443, is fully compatible with NFC. Essentially this means that an NFC device in reader mode will be able to read ePassports. That is, of course, if the device has sufficient access privileges (i.e. Basic Access Control BAC, and Extended Access Control EAC). Max's app demonstrates how the essential passport holder details (aka datagroup 1) and the passport holder's facial image (aka datagroup 2) can be displayed.

The latter is actually non-trivial since that image is encoded in JPEG 2000 by some issuing countries, a format that is not supported in Android by default (thankfully there's jj2000). Another challenge that we encountered is the presence of a crippled version of Bouncy Castle in Android 2.3 which prevents inclusion of the full version (thankfully there's Spongy Castle). In general we've made many changes to JMRTD and SCUBA to make these libraries easier to port to other platforms.

We're working hard on making the app more robust and usable. Max and Claude Heyman are currently the main developers looking at Android NFC. We're trying to get MRZ OCR scanning to work (perhaps based on the Java OCR project). In its current form the app is not doing document validation or access to EAC protected data, but JMRTD allows this, in principle. We hope to publish the proof-of-concept app via the Android market soon. If you own a Nexus S (and an ePassport) we're definitely interested in your feedback.

Update: Max published the app on the market.

30 comments:

  1. This comment has been removed by a blog administrator.

    ReplyDelete
  2. Very cool idea. I'm trying to use it with my HTC One X. Slightly more feedback when working would be cool. The app makes a lot of sounds, but I' not sure what it does. Didn't manage to read my card yet...working on it.

    ReplyDelete
  3. BTW: We're working on a new version of this app. It's using the current SVN versions of JMRTD (and dependencies) via the excellent jarjar (http://code.google.com/p/jarjar/) ant task.

    ReplyDelete
  4. Thanks alot
    Whating for the new update on this app
    Its working great but not all epassport I try it on more than 15 defrent nationality e passports
    Best of luck
    Khalid
    Dubai

    ReplyDelete
    Replies
    1. Thanks for testing (and sorry for responding late, I should revisit my posts more often). If you're still interested, go check out our new app which uses the bleeding edge JMRTD version. https://play.google.com/store/apps/details?id=nl.novay.nfcpassportreader.

      Delete
  5. I've installed the bjmrtd app and I've been able to read out DG1 for the sample eID document that I have, but I have had no luck reading DG2. Any advice on how I can get JPEG 2000 recognition working? I'm currently testing on a Samsung SGH-i777 - with a custom AOKP based ROM running Android 4.1.1. Thanks!

    ReplyDelete
    Replies
    1. Thanks for testing (and sorry for responding late, I should revisit my posts more often). If you're still interested, go check out our new app which uses the bleeding edge JMRTD version. https://play.google.com/store/apps/details?id=nl.novay.nfcpassportreader.

      Delete
  6. Hi Martijn Oostdijk,
    Thanks for sharing and giving complete source codes how to work with ePassport. Do you have a way to make a testing kit for mimicking an epassport. Because currently, I don't have a e-passport, but I wish to try your stuff

    Thank you

    ReplyDelete
  7. This comment has been removed by a blog administrator.

    ReplyDelete
    Replies
    1. Hello, please could you help me out in solving my minor issue, Just let me know does this app supports Windows phone?

      Delete
  8. This comment has been removed by a blog administrator.

    ReplyDelete
  9. hi martijn i have some probleme with nfc 011 smart card reader icant reade epassport why
    i wonder if there is some special configuration or the probleme is in the reader ??????????

    ReplyDelete
  10. Buy android installs Really appreciate you sharing this blog post.Thanks Again. Fantastic.

    ReplyDelete
  11. I impressed by the quality of information on this website. I am very enjoyed for this blog. Its an informative topic. Very useful info. I am sure I will visit this place again soon. Hope to see more posts soon! Android Applications

    ReplyDelete
  12. I found so many interesting stuff in your blog especially its discussion. From the tons of comments on your articles, I guess I am not the only one having all the enjoyment here! keep up the good work... appcloner

    ReplyDelete
  13. I am always searching online for articles that can help me. There is obviously a lot to know about this. I think you made some good points in Features also. Keep working, great job ! app

    ReplyDelete
  14. I really appreciate this wonderful post that you have provided for us. I assure this would be beneficial for most of the people.Mobile Price in Bangladesh

    ReplyDelete
  15. Find all latest mobile phone, smartphone, android phone,tab,all mobile phone review, latest technology, feature phone etc.


    https://mobilebaazar24.blogspot.com

    https://mobilebaazar24.blogspot.com/2020/06/oppo-a9-mobile-price-in-bangladesh.html#more

    https://mobilebaazar24.blogspot.com/2020/05/vivo-v19-pro-mobile-price-in-bangladesh.html

    https://mobilebaazar24.blogspot.com/2020/06/oppo-f15-mobile-price-in-bangladesh.html#more

    ReplyDelete
  16. Find all latest mobile phone, smartphone, android phone,tab,all mobile phone review, latest technology, feature phone etc.


    https://mobilebaazar24.blogspot.com

    https://mobilebaazar24.blogspot.com/2020/06/oppo-a9-mobile-price-in-bangladesh.html#more

    https://mobilebaazar24.blogspot.com/2020/05/vivo-v19-pro-mobile-price-in-bangladesh.html

    https://mobilebaazar24.blogspot.com/2020/06/oppo-f15-mobile-price-in-bangladesh.html#more

    ReplyDelete
  17. Very cool idea. I'm trying to use it with my HTC One X. Slightly more feedback when working would be cool. The app makes a lot of sounds, but I' not sure what it does. Didn't manage to read my card yet...working on it. Plz Visit Symphony Mobile Bangladesh

    ReplyDelete
  18. CrownQQ Agen DominoQQ BandarQ dan Domino99 Online Terbesar

    Yuk Buruan ikutan bermain di website CrownQQ

    Sekarang CROWNQQ Memiliki Game terbaru Dan Ternama loh...

    9 permainan :
    => Poker
    => Bandar Poker
    => Domino99
    => BandarQ
    => AduQ
    => Sakong
    => Capsa Susun
    => Bandar 66
    => Perang Baccarat (NEW GAME)

    => Bonus Refferal 20%
    => Bonus Turn Over 0,5%
    => Minimal Depo 20.000
    => Minimal WD 20.000
    => 100% Member Asli
    => Pelayanan DP & WD 24 jam
    => Livechat Kami 24 Jam Online
    => Bisa Dimainkan Di Hp Android
    => Di Layani Dengan 5 Bank Terbaik
    => 1 User ID 9 Permainan Menarik

    Ayo gabung sekarang juga hanya dengan
    mengklick daftar crownqq

    Link Resmi CrownQQ:
    Idcrownqq,com
    Idcrownqq,net
    Idcrownqq,org
    Idcrownqq,info

    BACA JUGA BLOGSPORT KAMI:
    CrownQQWIN
    Berita dan Info Dunia
    Entertainmensartis

    Info Lebih lanjut Kunjungi :
    WHATSAPP : +6287771354805
    LINE : CS CROWNQQ
    TELEGRAM : +855882357563

    ReplyDelete
  19. SUPER BIG PROMO DI SITUS SAHABAT KARTU
    =============================================
    Hai Teman - Teman Smuanya, Yang Hobi Bermain Judi Online
    Anda Merasa Capek, DEPOSIT Teruss..Tapi Tidak Pernah Withdraw ?
    =============================================
    Nikmati Seluruh Game Berkualitas & Raih Kemenangan Anda Di SAHABAT KARTU!!
    Game Yang di Hadirkan SAHABAT KARTU Yaitu :
    * Poker Online
    * BandarQ
    * Domino99
    * Bandar Sakong
    * Sakong
    * BANDAR66
    * AduQ
    * Sakong
    * Perang Baccarat
    ==========================================
    SPECIAL PROMO KHUSUS MEMBER SETIA SAHABAT KARTU
    - Minimal DP & WD Cuma Rp. 20.000
    - BONUS CASHBACK 0.5% ( Setiap Hari Senin )
    - REFERRAL 15% ( Seumur Hidup )
    - 100% NON ROBOT & 100% TANPA ADMIN BERMAIN
    - 100% GAMPANG MENANG
    - JACKPOT HARIAN HINGGA JUTA RUPIAH
    - MENERIMA DEPOSIT VIA PULSA XL DAN TSEL
    ======================================
    AKSES KAMI DI LINK RESMI :
    - halokartu.com
    - halokartu.org
    - halokartu.info
    - halokartu.net
    =====================
    * Livechat : SAHABAT KARTU
    * LINE : Cs_sahabatkartu
    * Whatsapp : +85581734028

    Sahabatkartu: Situs Poker Online, DominoQQ, Domino99, BandarQ Terpercaya

    ReplyDelete
  20. SAHABAT DOMINO Situs QQ Online, Agen Domino99 dan BandarQ Online Terbesar Di Asia
    sahabatdomino Memiliki Permainan Yang Mudah Dimainkan & 100% Mudah Menang Lohh..
    Cukup Dengan 1 USER ID Anda Bisa Bermain 9 GAME Berkualitas :
    * Poker
    * Domino99
    * AduQ
    * Capsa Susun
    * Sakong
    * Bandar Poker
    * BANDARQ ONLINE
    * BANDAR66 ONLINE
    * Perang Baccarat
    +++++++++++++++++++++++++++++++
    AKSES LINK ALTERNATIF TERBARU :
    - sdomino99.net
    - sdomino99.org
    - sdomino99.info
    +++++++++++++++++++++++++++++++
    Juga menerima deposit via PULSA TSEL dan XL dengan rate 0.85 ya bossku :)

    < Contact Us >
    Info Lebih Lanjut Hubungi :
    W.A : +855972468846
    Line : Cs_sahabatdomino

    Sahabatdomino : Situs QQ Online, Agen Domino99 dan BandarQ Online Terbesar Di Asia

    ReplyDelete
  21. Website : NAGAQQ: AGEN BANDARQ BANDARQ ONLINE ADUQ ONLINE DOMINOQQ TERBAIK


    Yang Merupakan Agen Bandarq, Domino 99, Dan Bandar Poker Online Terpercaya di asia hadir untuk anda semua dengan permainan permainan menarik dan bonus menarik untuk anda semua

    Bonus yang diberikan NagaQQ :
    * Bonus rollingan 0.5%,setiap senin di bagikannya
    * Bonus Refferal 10% + 10%,seumur hidup
    * Bonus Jackpot, yang dapat anda dapatkan dengan mudah
    * Minimal Depo 15.000
    * Minimal WD 20.000

    Memegang Gelar atau title sebagai Agen BandarQ Terbaik di masanya

    Games Yang di Hadirkan NagaQQ :
    * Poker Online
    * Bandar Poker
    * BandarQ
    * Domino99
    * AduQ
    * Sakong
    * Capsa Susun
    * Bandar66 (ADU BALAK)
    * Perang Baccarat (NEW GAMES)

    Info Lebih lanjut Kunjungi :
    Website : NagaQQ
    Facebook : Facebook
    WHATSAPP : +855967014811
    Line : Cs_nagaQQ
    TELEGRAM :+855967014811

    DEPOSIT VIA PULSA TELKOMSEL | XL 24 JAM NONSTOP

    BACA JUGA BLOGSPORT KAMI YANG LAIN:
    agen bandarq online/
    Kemenangan NagaQQ/
    Daftar NagaQQ
    agen bandarq terbaik
    Cerita Dunia

    ReplyDelete