Android Question Host Card Emulation Library tested made with two device (sender and NFC Tools) (work)

mike1967

Active Member
Licensed User
Longtime User
hello i have made the test with nfc tools and seems to work. please someone can confirm ? thanks in advances
 

Attachments

  • HCE_LIB_SOURCE_SAMPLE.zip
    478.7 KB · Views: 33

Sagenut

Expert
Licensed User
Longtime User
I tried it but with no success.
Anyway I needed to rewrite some parts as it looks that you have modified even the basic Activity subs.
Even after that no success.
I tried to execute the app and getting another device with NFC enabled near mine.
But what I get is that my device (that should be in emulation) read the other NFC.
Please share more info on usage if I made it wrong.
 
Upvote 0

Sagenut

Expert
Licensed User
Longtime User
Did you made the wrapper of the library yourself?
 
Upvote 0

mike1967

Active Member
Licensed User
Longtime User
I tried it but with no success.
Anyway I needed to rewrite some parts as it looks that you have modified even the basic Activity subs.
Even after that no success.
I tried to execute the app and getting another device with NFC enabled near mine.
But what I get is that my device (that should be in emulation) read the other NFC.
Please share more info on usage if I made it wrong.
i have installed the hce app on sender phone and nfc tools app on receiver . the results is in photo attacched. With the project samples NFCADVANCED2 Not Work. I must reseolve peraphs some issues.
 

Attachments

  • WhatsApp Image 2026-04-30 at 18.37.24.jpeg
    WhatsApp Image 2026-04-30 at 18.37.24.jpeg
    163.5 KB · Views: 24
Upvote 0

Sagenut

Expert
Licensed User
Longtime User
Maybe it's something hardware related.
But.... In your project you can set a Text.
I was supposing that the reading device would get such text.
In your photo it looks like it detected the NFC of the phone, without the text.
 
Upvote 0

mike1967

Active Member
Licensed User
Longtime User
Maybe it's something hardware related.
But.... In your project you can set a Text.
I was supposing that the reading device would get such text.
In your photo it looks like it detected the NFC of the phone, without the text.
Hello, i have tested with huawei p8 lite with android version 8 as sender, with reno 11 f 5g with coloros 15 as receiver,and works except thath in the received message there are the two characther "en" at the start of text. I have attched all the files necessary . Can help me for create a definitive version of the library? thancks in advanced
 

Attachments

  • HceManager_Documentazione.zip
    9.6 KB · Views: 13
  • NFCAdvanced2_asReader.zip
    17.9 KB · Views: 10
  • HCE_Samples.zip
    483.7 KB · Views: 14
  • HCE_library.zip
    6.2 KB · Views: 12
  • B4A_HCE_source.zip
    5.4 KB · Views: 10
  • Screenshot_2026-05-01-13-46-38-28_fa73a06bde12172f909256a835e3ae64.jpg
    Screenshot_2026-05-01-13-46-38-28_fa73a06bde12172f909256a835e3ae64.jpg
    115.4 KB · Views: 18
Upvote 0

Sagenut

Expert
Licensed User
Longtime User
I have no skill and experience in making wrappers.
But it will be fun to check all the documentation.
Thanks
 
Upvote 0
Top