×

Discussion Board

Results 1 to 2 of 2
  1. #1
    Registered User
    Join Date
    Jul 2011
    Posts
    7

    How to find out NFC radio is ON or OFF status using J2ME?

    Hi,

    Can anyone tell me how to find the status of NFC radio whether its in ON state or OFF state using J2ME API?

    Using System.getProperty("microedition.contactless.version") statement I am able to find out, that NFC is supported by the device or not.

    But I am unable to get the status of NFC radio. Do we have any methods to enable in J2ME using which NFC radio can be enable ?

    Hoping for quick response.

    Thanks

  2. #2
    Nokia Developer Champion
    Join Date
    Mar 2003
    Posts
    4,105

    Re: How to find out NFC radio is ON or OFF status using J2ME?

    When you start to use the Contactless API, you get an Java exception which tells whether NFC is working – at least in Series 40. Then you fall back to non-NFC. However, I guess, you want to display a warning to your user, don’t you? Unfortuantely, you cannot control the status of NFC from J2ME and in contrast to similar etchnologies like Bluetooth, Series 40 does not ask the user for you. File a bug report, perhaps someone listens …

Similar Threads

  1. [moved] -1: error: collect2: ld returned 1 exit status cannot find -lphonond
    By qsun06 in forum [Archived] Qt General ( Qt技术)
    Replies: 3
    Last Post: 2010-01-04, 09:38
  2. Replies: 2
    Last Post: 2009-08-24, 09:45
  3. problem in changing the status of the radio button in menu items on runtime
    By somnathbanik in forum Symbian User Interface
    Replies: 3
    Last Post: 2009-05-19, 07:08
  4. Replies: 1
    Last Post: 2009-05-18, 14:16
  5. Did you find a solution about java.io.IOException with status -20019?
    By rogerG007 in forum Mobile Java Networking & Messaging & Security
    Replies: 0
    Last Post: 2003-07-22, 11:01

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •