[android-developers] read nfc card in the different activity

2011-11-01 Thread xiaoailsa
Hi,all! I hava a problem with phone read and write NFC card . Read different card ,i must ues different acitivity.But i want to a acitivity can read different card .What can i do?? The more serious is: Read the same card , i need insert card in the different activaty repeatedly .I wanted t

[android-developers] How to display NDEF message ?

2011-10-21 Thread xiaoailsa
Hi: I want to write ndef message in the mifare ultralight card , and communicate with NFC phone. For example:first i write "http:// www.google.com" in to the card, than the phone contact with the card , the application will desplay "http://www.google.com"and open the internet. Now, i can wri

[android-developers] With P2P mode, what can i do?

2011-10-12 Thread xiaoailsa
We have known that Phone and Reader can transfer data in the P2P mode .But i have a problem with it: In the P2P mode, whether to support the mobile phones and card reader transfer files, pictures, audio and other formats? How to do it? Can someboby tell me? Thank you with your answers! -- You re

[android-developers] Re: NFC phone operated Mifare Classic

2011-09-21 Thread xiaoailsa
Hi,have anyone know how to increment \decrement\restore in the mifare classic?? I'm very worry about this program.Could you help me ? On 9月20日, 下午2时03分, xiaoailsa wrote: > Hi,everyone! > I have learn nfc phone how to read different card. For the Mifare > Classic, i have a pro

[android-developers] NFC phone operated Mifare Classic

2011-09-19 Thread xiaoailsa
Hi,everyone! I have learn nfc phone how to read different card. For the Mifare Classic, i have a problem for value block. For the MifareClassic api , i can read and write with nfc phone. But i can't decrement,increment,restore, transfer. The api is :decrement(int blockIndex, int value) "Decrement a

[android-developers] Re: Read NfcA card

2011-09-14 Thread xiaoailsa
Hi,Michael!Thanks your hints! I have try read smart card,this is my program: " Tag tagFromIntent = intent.getParcelableExtra(NfcAdapter.EXTRA_TAG); IsoDep tag = IsoDep.get(tagFromIntent); try{ tag.connect(); tag.setTimeout(20); byte[] commandAPDU= new byte[]{ (byte)0x00, (byte)0xA4, (byte)0x04, (b

[android-developers] Re: Read NfcA card

2011-09-09 Thread xiaoailsa
Hi,Michael!Thanks your answer. I need to read and write ISO 14443-4 smart card .I had used "mTechLists = new String[][] { new String[] { NfcA.class.getName() } }" "NfcA tag=NfcA.get(tagFromIntent)".How to use IsoDep? The problem with me for a long time. Next, What I should do? Can give me some hin

[android-developers] Read NfcA card

2011-09-08 Thread xiaoailsa
Hello,everyboby! I hava learn how to read nfc card.When i read the typeA card ,i have some problem. In the protcet, i ues these: Tag tagFromIntent = intent.getParcelableExtra(NfcAdapter.EXTRA_TAG); NfcA tag=NfcA.get(tagFromIntent); and i can get the ATQA,SAK,but

[android-developers] Re: Nfc phone read the type A card.

2011-09-07 Thread xiaoailsa
I want to use two classes:IsoDep and NfcA .But how to use at thesametime?         →mTechLists = new String[][] { new String[] {IsoDep.class.getName()} };            //mTechLists = new String[][] { new String[] {NfcA.class.getName()} };         →public void onResume() {              super.onRes

[android-developers] How to read two types card at the same time?

2011-09-07 Thread xiaoailsa
Hi,everyone! I have a problem in read card for the android 2.3.4 phone. Who can help me ?Thank you very much ! The using the foreground dispatch system say:" set up an array of tag technologies that your application wants to handle. Call the Object.class.getName() method to obtain the class

[android-developers] Re: Nfc phone read the type A card.

2011-09-06 Thread xiaoailsa
does not allow use 2 nfc tech to connect a > tag at the same time. Why do you use them like so? what is the user > scenario? > > 2011/9/6 xiaoailsa : > > > > > > > Hi all: > > I have some questions aboutreadthecard(type A).I hope someone > > ca

[android-developers] Re: how to learn Andoird

2011-09-06 Thread xiaoailsa
Book is your best teacher . Write some codes by youself. On 9月6日, 下午3时52分, felix wrote: > i am a newbie. i want to learn andoird. who can share some experience. > thanks. > Are there any good books and videos? -- You received this message because you are subscribed to the Google Groups "Android

[android-developers] Nfc phone read the type A card.

2011-09-06 Thread xiaoailsa
Hi all: I have some questions about read the card(type A).I hope someone can communicate with me and help me.Thank you very much. Q1: I want to use two classes:IsoDep and NfcA to read a type A card.But how to use at the same time? →mTechLists = new String[][] { new String[] {IsoDep