Re: [android-developers] Re: NFC Secure Element

2012-02-01 Thread Fernando Miguélez
Keys are used in raw communication through APDUs On Wed, Feb 1, 2012 at 7:46 PM, malls wrote: > I don't see any interface of passing the keys to open secure element in > the android code. I am not sure how many people claims that you need google > Keys to open SecureElement. May be I am missing

Re: [android-developers] Re: NFC Secure Element

2012-01-30 Thread Fernando Miguélez
om > the external reader. > > regards > malls > > On Jan 4, 6:17 am, Fernando Miguélez > 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

Re: [android-developers] Re: NFC Secure Element

2012-01-26 Thread Fernando Miguélez
There must be an error with patches since other person had the same issue. Just copy it manually to the /system/lib directory of the phone (you have to remount the system partition as RW). 2012/1/27 malls > Dear Fernando > > I tried to patch as per your instructions and root the device. I get er

Re: [android-developers] Re: NFC Secure Element

2012-01-05 Thread Fernando Miguélez
ndroid.settings/.nfc.NfcSettings: > +261ms > > > Any clue on this. > Rgds, > Saurabh > > > > "..pain is temporary.quitting lasts forever.." > > > > 2012/1/4 Fernando Miguélez > >> Well, options are enabled in cascade. The probl

Re: [android-developers] Re: NFC Secure Element

2012-01-05 Thread Fernando Miguélez
ettings/.nfc.NfcSettings } > from pid 493 > I/ActivityManager( 106): Displayed com.android.settings/.nfc.NfcSettings: > +261ms > > > Any clue on this. > Rgds, > Saurabh > > > > "..pain is temporary.quitting lasts forever.." > > > >

Re: [android-developers] Re: NFC Secure Element

2012-01-04 Thread Fernando Miguélez
> 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...

Re: [android-developers] Re: NFC Secure Element

2012-01-04 Thread Fernando Miguélez
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 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

Re: [android-developers] NFC Secure element in SIM vs internal!

2011-12-26 Thread Fernando Miguélez
Well, if you work with a SE embedded in a SIM card, if you change your phone you just have to change the SIM that is all. When working with NFC using the SIM approach you have basically two options. On one hand you can create applications that communicate directly with SIM to carry out operations

Re: [android-developers] Re: NFC Secure Element

2011-11-29 Thread Fernando Miguélez
Then the patches are not correctly applied. On Tue, Nov 29, 2011 at 9:56 AM, fuful wrote: > I only have a checkbox 'NFC', to activate the NFC reader. > Activated (or not), the phone doesn't act as a Mifare tag on every Mifare > test system I own. > Is there something else I can check ? > > -- >

Re: [android-developers] Re: NFC Secure Element

2011-11-28 Thread Fernando Miguélez
There should be an option in Settings Screen (NFC Settings) On Fri, Nov 25, 2011 at 11:41 AM, fuful wrote: > Dear all, > I've downloaded rom from Tommy, but I don't see the option Fernando is > speaking of, about card emulation. > Wherre these options are placed ? > Thanks in advance. > > -- > Y

[android-developers] Re: NFC Secure Element

2011-09-29 Thread Fernando Miguélez Palomo
For the time being I can not share the ROM but you can compile it yourself with the supplied patches. Take a look at the last ones: https://groups.google.com/d/msg/android-developers/1fw1qfFqpGc/pvhc11jVDEUJ -- You received this message because you are subscribed to the Google Groups "Android D

[android-developers] Re: NFC Secure Element

2011-09-29 Thread Fernando Miguélez Palomo
I polished the patches so now you have some options from Settings application: Card Emulation Only Mode. This disables reader function. Card emulation mode is always enabled. Be careful because P2P mode may not work (not tested) Use External Secure Element if Available. This makes the phone to u

Re: [android-developers] Re: NFC Secure Element

2011-08-04 Thread Fernando Miguélez
Mifare 4K emulated inside Nexus S using an external card reader. Is it > possible to read the data inside the Mifare 4K from Android > application? Is SEEK patches able to perform that? > > Thanks again. > > > Regards, > Xiang > > > On Jul 19, 6:48 pm, Fernando

Re: [android-developers] Mifare Classic emulation using NFC on Android 2.3.4

2011-07-27 Thread Fernando Miguélez
Yes it is possible. Check this thread out: https://groups.google.com/d/topic/android-developers/1fw1qfFqpGc/discussion On Wed, Jul 27, 2011 at 9:12 AM, Ankit Maheshwari wrote: > Hi , > has anybody tried for the Mifare Card Emulation using NFC .??? i will > be really grateful if anybody could helo

Re: [android-developers] Re: NFC Secure Element

2011-07-27 Thread Fernando Miguélez Palomo
Hi Michael, Correct, for the SE connected through NFC-WI/S2C, the NFC controller has > three modes: off, wired and virtual mode. Off means that there is no > communication with the secure element. Wired mode means that the secure > element is visible to the application processor as if it was a > (

Re: [android-developers] Re: NFC Secure Element

2011-07-21 Thread Fernando Miguélez Palomo
Hi Michael, As far as I understand sending APDUs to the SmartMX SE element is possible because the NFC Controller (PN544) is told to enable the NFC-WI interface with SE. This is carried out by calling *phHal4Nfc_Switch_SMX_Mode()*, with parameter *eSmartMx_Wired *(function *phLibNfc_SE_SetMode(

[android-developers] Re: NFC Secure Element

2011-07-19 Thread Fernando Miguélez Palomo
I got it working on 2.3.4_r1!!! The key was enabling discoverability but in card emulation mode. The strange thing is now I can detect two smart card types with an Arcontia smart card reader: - ISO14443A tag CL1 tag (This is the Mifare 4K) - FELICA RCS-885 424kbs tag (I suppose this is re

[android-developers] Re: NFC Secure Element

2011-07-18 Thread Fernando Miguélez Palomo
For convenience I post the filtered NFC related I can see after initialization. As I said the card is detected on reader but only after phone restarts (however it can not read any UID). If I approach it latter it is not recognized. 07-18 17:01:54.800: DEBUG/NFC JNI(283): NFC Service : loading J

[android-developers] Re: NFC Secure Element

2011-07-18 Thread Fernando Miguélez Palomo
Yes I know. I revised them manually and adapted to 2.3.4_r1. However I must be missing something. I see the Secure Element SMX selected, the embedded Mifare card is not detected by means of external readers. The external reader detects a memory card but it can not read the CSN (UID). It seems

[android-developers] Re: NFC Secure Element

2011-07-18 Thread Fernando Miguélez Palomo
Hi Nemik, I just applied your patches to 2.3.4_r1 version (I had to change them a little bit) but card emulation does not seem to work (an external reader detects nothing). Could you please tell us what tag of AOSP gingerbread did you use? Thanks -- You received this message because you are

[android-developers] Re: NFC Secure Element

2011-07-14 Thread Fernando Miguélez
Interesting. Did you get it tweaking the code by yourself as described above or you used SEEK patches? I am currently trying to get some results myself but I am new to Android platform development and I am a little bit lost. 2011/7/14 Michael Roland > Hallo, > > > Do you mean you could enable c

Re: [android-developers] Re: NFC Secure Element

2011-07-14 Thread Fernando Miguélez Palomo
> > > Have somebody activate the Card Emulation with UICC? > > Yes. > > > I tryed it, with SmartMX SE it was no problem Card Emulation was > > running. > > When I tried the ID of my UICC in the Method doSelectSecureElement > > from NFC Service, > > then the Card Emulation was not running, Reader d

[android-developers] Re: Problem getting Bluetooth RSSI (Signal Strength)

2010-02-10 Thread Fernando Miguélez Palomo
It may not work because EXTRA_RSSI value is a short type instead of int. This works great for me: short rssi = intent.getShortExtra(BluetoothDevice.EXTRA_RSSI, Short.MIN_VALUE); Take into consideration that rssi values are usually negative (it could be dBm but I am not sure). On 28 ene, 20:47,