Followers

Thursday, August 9, 2012

Retrieve Google Map API Key in Android


  • Locate the android debug key in your system. it is found on the following locations depending on your operating system (This path will be useful):
    • Windows XP: C:\Documents and Settings\<user>\.android\debug.keystore
    • Mac OS X and Linux : ~/.android/debug.keystore (where ~ is the path of your homedirectory.
  • In a terminal, use the following keytool command to generate the MD5 Hash:
    • keytool -list -alias androiddebugkey -keystore <path_to_debug_keystore>.keystore -storepass android -keypass android
  • Copy the generated hash
  • Go to : code.google. com/android/maps-api-signup.html (you maybe required to login with your Google account)
  • Paste the above generated MD5 hash there, accept the Terms and Conditions and click onGenerate button
  • You'll get the API key for your map. paste this in your XML file

Thursday, August 2, 2012

Touch n Share Technology

What is NFC?

Near Field Communication (NFC) technology makes life easier and more convenient for consumers around the world by making it simpler to make transactions, exchange digital content, and connect electronic devices with a touch.

Communication modes

NFC devices support two communication modes.

Active

In this mode, the target and the initiator devices have power supplies and can communicate with one another by alternate signal transmission.

Passive

In this mode, the initiator device generates radio signals and this electromagnetic field powers the target device. The target device responds to the initiator by modulating the existing electromagnetic field.

Operating modes

NFC devices can operate in three different modes based on the ISO/IEC 18092, NFC IP-1 and ISO/IEC 14443 contactless smart card standards.

Read/Write

In this mode, the NFC enabled phone can read or write data to any of the supported tag types in a standard NFC data format.

Peer to Peer

In this mode, two NFC-enabled devices can exchange data. For example, you can share Bluetooth or Wi-Fi link set up parameters to initiate a Bluetooth or Wi-Fi link. You can also exchange data such as virtual business cards or digital photos. Peer-to-Peer mode is standardized on the ISO/IEC 18092 standard.

Card emulation

An NFC-enabled phone acts as reader when in contact with tags. In this mode, the phone can act as a tag or contactless card for existing readers.

Key Benefits of NFC

NFC provides a range of benefits to consumers and businesses, such as:
  • Intuitive: NFC interactions require no more than a simple touch
  • Versatile: NFC is ideally suited to the broadest range of industries, environments, and uses
  • Open and standards-based: The underlying layers of NFC technology follow universally implemented ISO, ECMA, and ETSI standards
  • Technology-enabling: NFC facilitates fast and simple setup of wireless technologies, such as Bluetooth, Wi-Fi, etc.)
  • Inherently secure: NFC transmissions are short range (from a touch to a few centimeters)
  • Interoperable: NFC works with existing contactless card technologies
  • Security-ready: NFC has built-in capabilities to support secure applications

Wednesday, August 1, 2012

MAC KEYBOARD SHORTCUTS

Windows button is used as Command button

Keys Uses
Command + Option + Esc Force quit
Command + Tab cycles through open applications
Command + F4 close document
Command + Control + F2 control the menu bar with the keyboard
Command + Control + F3 control the dock with the keyboard
Command + Left, right arrows Back/forward on web
Command + A select all
Command + B bold font
Command + C copy
Command + D change font
Command + E center alignment
Command + F find
Command + G find next
Command + H replace
Command + I italic font
Command + J justify
Command + L left alignment
Command + M minimize
Command + N new document
Command + O open file
Command + P print
Command + Q quit
Command + R right alignment
Command + S save
Command + T hanging indent
Command + U underline
Command + V paste
Command + W closes file
Command + X cut
Command + Y redo
Command + Z undo
Command + 1 single space
Command + 2 double space
Command + 5 1.5 space
Command + / Help menu
Command + Home top
Command + End bottom
Command + F2 Print Preview
Command + Option + L Spell check
Command + Option + R Grammar check
Command +  + Return page break
Command + Shift + Tab moves cursor backward
Command + Shift + Page up highlights cursor position to the beginning of the line
Command + Shift + Page down highlights cursor position to the end of the line