Good to join your group 鈥?A t hought : work hard, pay your taxes and smile

by Riter » Fri, 09 May 2008 14:11:37 GMT


Sponsored Links
 Hi All.

This is my first post here just want to say Hi Will make other posts
soon.

Peace

Riter



Did you know that your Govt. can make 100% profits through Taxes in 6 hours?
read the story yourself..  http://talefunnytail.blogspot.com/  after that 
laugh, think, growl or just pay up, but do it with a smile (smiles are not
taxable)

--~--~---------~--~----~------------~-------~--~----~



Other Threads

1. Landscape... only if

The manifest.xml files let you set sensor to determine if you want to
render your User Interface in portrait or landscape.


But what if you want to render in landscape only if... vertical
resolution is > 400 pixels?
Is there a way to determine the user interface capability dynamically
as per the device?

-- 

2. Reading PayWave (ISO14443-B format) track information using Android 2.3.3 NFC API

I'm trying to Read Track data for Payment cards (PayWave, PayPass). As
per my understanding they follow ISO 14443 B. With new NFC API,

   1. i can connect with IsoDep format without any exception thrown
   2. call getHiLayerResponse() - returns nothing :(. Now what?

Later i tried to call transceive() method, but all in vain (i don't
know the APDU commands).

Can someone help me how to read/get track details of PayWave or
PayPass cards (payment cards)?

if ( NfcAdapter.ACTION_TAG_DISCOVERED.equals(action) )
{
       Parcelable nfcTag =
intent.getParcelableExtra("android.nfc.extra.TAG");
       Tag t = (Tag)nfcTag;
       IsoDep myTag = IsoDep.get(t);

       String s1 = null, s2 = null, s3 = null;
       byte[] b1 = myTag.getHiLayerResponse(); //b1 is not null, but
length == 0
       if( b1 != null && b1.length > 0 )
           s1 = new String(b1);

       byte[] b2 = myTag.getHistoricalBytes(); //returns nothing coz
its NfcB
       if(b2 != null && b2.length > 0)
           s2 = new String(b2);

       if( !myTag.isConnected() )
       {
           myTag.connect();

           result = myTag.transceive(b1);
           if(result != null && result.length > 0)
           {
               s3 = new String(result); // value of s3 will be "g"
           }
       }
}

Any help will be great, please shed some light...

Thanks in Advance
~LAL

-- 

3. Wallpaper size

4. "Live Wallpaper", "Menu button" etc in different languages

5. Timezone Question

6. Info: LG OPTIMUS 2X harga 3,999,999

7. Bluetooth HDP Support.