TOCC Member Licensed User Longtime User Jun 4, 2014 #1 Hi, for a project i have to use host based card emulation, which is available since android 4.4 http://developer.android.com/guide/topics/connectivity/nfc/hce.html I wonder if or how i can do this in b4a. As far as i understand it, i would have to create a class extending HostApduService. So i would create a java library consisting of a class extending HostApduService. This class would contain 2 functions which would use events to transmit the data to the b4a code? Am i right? Is there any example available for something similar (extended class as library and usage from b4a)? Just to mention it, I am a newbie to java and b4a but not to programming, as I program c# for many years now. regards Mirko
Hi, for a project i have to use host based card emulation, which is available since android 4.4 http://developer.android.com/guide/topics/connectivity/nfc/hce.html I wonder if or how i can do this in b4a. As far as i understand it, i would have to create a class extending HostApduService. So i would create a java library consisting of a class extending HostApduService. This class would contain 2 functions which would use events to transmit the data to the b4a code? Am i right? Is there any example available for something similar (extended class as library and usage from b4a)? Just to mention it, I am a newbie to java and b4a but not to programming, as I program c# for many years now. regards Mirko
Erel B4X founder Staff member Licensed User Longtime User Jun 5, 2014 #2 Yes, you will need to create a library for this API. See the tutorials here: http://www.b4x.com/android/forum/forums/libraries-developers-questions.32/ Upvote 0
Yes, you will need to create a library for this API. See the tutorials here: http://www.b4x.com/android/forum/forums/libraries-developers-questions.32/
M mmanso Active Member Licensed User Longtime User Sep 3, 2015 #3 Hi Erel, Do you know if there is already a lib for HCE? Thank you. MM Upvote 0
DonManfred Expert Licensed User Longtime User Sep 4, 2015 #4 I dont know any existing Library for this. Upvote 0