[android-developers] Samsung Galaxy S III and NFC

2012-07-04 Thread Cadu Silvestre
Hi guys,

Is there anyone over there using Galaxy S III for NFC tests and research?

We've been using Google Nexus S and it works (kind of) fine with Google and 
NXP NFC APIs. I'd like to hear from you what are your experiences with NFC 
in Galaxy SIII.

Thanks!

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] Re: Is there way of using NFC without Secure Element?

2012-03-20 Thread Cadu Silvestre
Jeff,

It really depends on what you wanna do.

Do you want to read/write some standard NFC tags? Great, you don't need a 
secure element.

Do you want to do anything related to Digital Certification or Electronic 
Payments? You probably need a secure element.

On Monday, March 19, 2012 10:19:53 PM UTC-3, Jeff Wang wrote:

 I am a NFC starter, and just want to know what is the role of Secure 
 Element in NFC development for Android, and is there any other way of 
 using NFC but without Secure Element? Thanks.

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] Re: NFC Emulation mode

2012-02-12 Thread Cadu Silvestre
Without patching and recompiling android source code, none.

Have a look at this discussion, it will clear out all you need to know
about card emulation mode.

http://groups.google.com/group/android-developers/browse_thread/thread/d5fc35a9f16aa467/aa3d01204f83925a#aa3d01204f83925a

On Feb 9, 12:47 pm, Diop Elhadji Bougouma elhadjibougo...@gmail.com
wrote:
 Hi
 I want to know which Phones support NFC Card Emulation mode.

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: NFC Secure Element

2012-02-03 Thread Cadu Silvestre
And besides that, Google took out microSD from the major NFC phones,
so, basically, we won't be able to do nothing when it comes card
emulation - as for an obvius reason, the SE keys are not available.

As far as I can gather from the giants in this matter (like our friend
Michael Roland), SWP is the only way out.

On 31 jan, 05:52, Fernando Miguélez fernando.migue...@gmail.com
wrote:
 No, you cannot read/write APDUs from your application while working with an
 external reader. When card emulation is enabled APDUs are routed directly
 to SE from NFC Controller. APDU communication with SE has other objective,
 main application processor can not emulate a PICC, that is the task of SE.
 When communicating main processor with SE you can theoretically load/remove
 cardlets, interact with them and so on. For the time being Mifare embedded
 inside SmartMX chip can not be accessed from an application. At least
 AFAIK.







 On Tue, Jan 31, 2012 at 2:22 AM, malls masubha...@gmail.com wrote:
  Fernando,

  Thanks I could create custom image with nfc enabled by using your
  help.

  Just to clarify myself, if we are connected to external reader, I
  should be able to directly read/write APDUs from my app right.
  should I be using NFCService.transceive(..) method to read/write from
  the external reader.

  regards
  malls

  On Jan 4, 6:17 am, Fernando Miguélez fernando.migue...@gmail.com
  wrote:
   Well, options are enabled in cascade. The problem comes because the first
   option is not enabled. Besides, if you look at the Wireless Settings
   screen, there is only the NFC Settings option, but not the one that
  lets
   you enalbe/disable NFC directly from that screen. That is beacuse the Nfc
   service in not available. Connection to a computer in debug mode will
  draw
   some light.

   Instead of compiling the whole image again I suggest you to compile just
   the Nfc.apk system application and replace the original one. You must
   remount /system partition in read/write mode and overwrite the apk inside
   /system/app. Then you must kill the nfc service by means of DDMS view of
   the ADT (you must connnect the phone in debug mode and since you have
   compiled in userdebug mode you will see all the running proccesses). The
   service will restart automatically.

   When it comes to read/write the card by means of an external reader, any
   Mifare Classic 4K compatible RFID reader will do. If you try to access
   directly to the SE from an Android application I am afraid to disappoint
   you but that is not possible, at least I wasn't successful at it and
  nobody
   I know either. The reasons are well described in other posts and on
   stackoverflow.

   Regards

   On Wed, Jan 4, 2012 at 2:56 PM, s.rawat imsaurabhra...@gmail.com
  wrote:
Thanks !
I will also try from my side recompiling it.So you mean I should get
  the
Check boxes enabled for
 *Only Card EmulationMode*
and
 *Use External SE*

My main aim is to write to the NFC card in card emulation mode so that
  it
can be read by any Card Reader.is it possible after your patches are
applied using teh android SDKs or do we have to write some native
application.
Rgds,
Softy
..pain is temporary.quitting lasts forever..

2012/1/4 Fernando Miguélez fernando.migue...@gmail.com

Great work.

Obviously there is something wrong with the compilation. Have you
  tried
to connect in debug mode the phone to a computer with Android
  Development
Tools and see what the traces look like. They may offer a clue. My
suspicion is that NfcService is crashing. I will review my notes
  tomorrow
if I find something different to the steps you followed to build the
  image.

On Wed, Jan 4, 2012 at 9:17 AM, softy imsaurabhra...@gmail.com
  wrote:

Hi All,
Thanks Fernando Miguélez Palomo for posting the patches.I have
  applied
it to 2.3.4-r1 Android gingerbread and compiled /flashed it on
  Samsung
Nexus S and was able to see the NFC Settings changed(though i cant
  select
them, they are disabled)
I have blogged the whole steps here
 http://techshek4u.blogspot.com/2012/01/applying-card-emulation-patch-Plz
  let me know if I miss something.

@ Fernando Miguélez Palomo
What next after that.How can i test this.Any source code or tool
  /card
reader description will be enlightening.
Rgds,
softy

--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to
  android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
   http://groups.google.com/group/android-developers?hl=en

 --
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to