×

Discussion Board

Results 1 to 3 of 3
  1. #1
    Regular Contributor
    Join Date
    Jan 2010
    Posts
    52

    Spawning my MIDlet

    Hey guys,

    I was wondering if and how it is possible to allow my MIDlet to be started just by the trigger of a specific tag held near the device?
    For example lets say my phone is idle, no MIDlets are running at all. Is it possible to cause my MIDlet to run automatically if a specific NFC tag is to be held near the device?

    Thanks!

  2. #2
    Regular Contributor
    Join Date
    Jan 2008
    Posts
    173

    Re: Spawning my MIDlet

    Quote Originally Posted by giaviv View Post
    Hey guys,

    I was wondering if and how it is possible to allow my MIDlet to be started just by the trigger of a specific tag held near the device?
    For example lets say my phone is idle, no MIDlets are running at all. Is it possible to cause my MIDlet to run automatically if a specific NFC tag is to be held near the device?

    Thanks!

    Use the PushRegistry. Simply register your MIDlet to launch for this specific tag type in the JAD-file (or do it programmatically in the MIDlet)

    See: http://wiki.forum.nokia.com/index.ph...gistry_example

  3. #3
    Regular Contributor
    Join Date
    Jan 2010
    Posts
    52

    Re: Spawning my MIDlet

    Hey, thanks for the reply. It was very helpful.
    I have one more question though - is there a way to get the UID of the tag that triggered the MIDlet launch?
    Maybe through the DiscoveryManager somehow?

    Thank you

Similar Threads

  1. MIDlet using socket to talk with c++ app
    By Lord Ryj in forum Mobile Java General
    Replies: 2
    Last Post: 2009-05-14, 15:47
  2. Trojan installation onto previous trusted Midlet suite?
    By guillermoTell in forum Mobile Java Networking & Messaging & Security
    Replies: 1
    Last Post: 2007-05-07, 08:40
  3. Midlet freezes on Nokia 3230
    By jawwadhussain in forum Mobile Java General
    Replies: 1
    Last Post: 2006-07-05, 07:59
  4. How to create two instances of midlet
    By marquito99 in forum Mobile Java General
    Replies: 0
    Last Post: 2004-04-30, 01:33
  5. launching MIDlet from another MIDlet on 6310i problem
    By niko86 in forum Mobile Java General
    Replies: 1
    Last Post: 2002-08-07, 09:38

Posting Permissions

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