Discussion Board

Results 1 to 10 of 10
  1. #1
    Registered User jrgarga's Avatar
    Join Date
    Jun 2008
    Posts
    14
    let me understant it truely. there is no support for proximity in current nokia s60 sdk?

    i have been trying to solve the problem in my lbs app for 2 days, and finally i realized that i think.

    is this for real? no proximityListener and stuff?

  2. #2
    Nokia Developer Moderator ltomuta's Avatar
    Join Date
    Sep 2004
    Location
    Tampere, Finland
    Posts
    11,335
    ProximityListener ?

  3. #3
    Registered User jrgarga's Avatar
    Join Date
    Jun 2008
    Posts
    14
    http://discussion.forum.nokia.com/fo...d.php?t=124022

    same quetion at the link up;

    i wrote my own code to do the work, it slowed down a little bit but its ok.

    now the only prob, how to stop the emulator to keep asking about permissions for sendin receving data, using landmark info or using positioning info.

    i got the point from the forum that i got to sign my midlet, but do i have to pay also if i just want to be singed and be able to used in emulator?

    i mean if it works on emulator it will be ok for me for now. do i have to pay for emulator signs?

    and if not how should i do it?

  4. #4
    Nokia Developer Moderator ltomuta's Avatar
    Join Date
    Sep 2004
    Location
    Tampere, Finland
    Posts
    11,335
    I'm sorry but I'm not that familiar with Java's security policies. You would definitely not have to sign your emulated application if you would develop in Symbian C++ but hey, different runtime - different rules. Make sure to ask on the Java forums about this, it has little to do with LBS itself.

    The recommended thread has a link towards the Java Developer Library which unfortunately is broken. But I would not be surprised for it to document something that is specified but not yet available on the phones.

  5. #5
    Registered User jrgarga's Avatar
    Join Date
    Jun 2008
    Posts
    14
    ups, sorry for the link... here is the correct document about it
    http://www.forum.nokia.com/document/...rs_Library_v2/

    at this page if you go to location>location based services>using location api>device location>registering listeners

    it explains everything very good, but at the bottom it says,

    "Note: All devices and emulators might not support proximity event sending through the ProximityListener interface. If the target device has no support, listeners have no effect."

    which is exactly what is happenin.

    by the way, everybody is talking about midlet signing, but i couldnt find any documant which exactly explains the all step for emultor signing. most of them are about exact midlet signing (with verisign,etc.) if you have a link about just emulator signing i will really appreciate that

  6. #6
    Nokia Developer Moderator ltomuta's Avatar
    Join Date
    Sep 2004
    Location
    Tampere, Finland
    Posts
    11,335
    Ok, I've seen the document now. The direct URL is http://www.forum.nokia.com/document/...217C98E66.html

    Well, the note is generic enough to cover writer's behind about whether the API would work or not on the device. So I guess it does not, which is fine once you know it to be so.

    As for signing, with Symbian apps the emulator expects/accepts the same type of certification as for the actual device. However, a developer would hardly ever build and sign a sis file for the emulator, there's simply no need for it.

    As said, make sure you verify the Java specific threads and ask there for help. Hartti or the other guys active there would know all the tricks.

  7. #7
    Registered User gullet's Avatar
    Join Date
    Apr 2007
    Posts
    29
    Will there be an update to LBS-supported mobile devices? I'm testing a LBS-application currently with N95 8GB, which does not support ProximityListener, so I'm hoping for a firmware update. Can I expect that?

    Currently the statement "....If the target device has no support, listeners have no effect." is not entirely true. If you try to add a proximity listener to a non-supported device, it will throw an exception (LocationException).

  8. #8

  9. #9
    Registered User elgafitri's Avatar
    Join Date
    Aug 2008
    Posts
    5
    Quote Originally Posted by jrgarga View Post

    i wrote my own code to do the work, it slowed down a little bit but its ok.
    Hi,
    i'm a student and now developing an LBS app. As we know, Symbian S60 doesn't support proximity listener, so some part of app cannot be used. Would you like to share your code so it is possible to have proximity event run well when proximity landmark detected? That would help me a lot.

    Thanks.

  10. #10
    Nokia Developer Moderator ltomuta's Avatar
    Join Date
    Sep 2004
    Location
    Tampere, Finland
    Posts
    11,335
    As we know ... this discussion is about Java on S60. Symbian has nothing to do with it.

    There's nothing else you can do but implement the listener yourself and with periodic reads of your position determine whether you are within desired range to your target. If you really mean Java then the job is not that easy but a native Symbian application can certainly implement such feature (and maybe provide the service to Java clients).

Similar Threads

  1. Where to download Series 60 SDK with chinese support
    By scheung3 in forum [Archived] Other Programming Discussion 关于其他编程技术的讨论
    Replies: 6
    Last Post: 2004-12-06, 02:37
  2. Technical Support Engineer, Mobile, London
    By mobile2004 in forum Symbian C++
    Replies: 0
    Last Post: 2004-11-05, 09:40
  3. Technical Support Engineer, Mobile, London
    By mobile2004 in forum Symbian C++
    Replies: 0
    Last Post: 2004-11-05, 09:38
  4. Technical Support Engineer, Mobile, London
    By mobile2004 in forum Symbian C++
    Replies: 0
    Last Post: 2004-11-05, 09:33
  5. XHTML Support... little confused...
    By Nokia_Archived in forum Mobile Web Site Development
    Replies: 1
    Last Post: 2002-05-17, 14:30

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Nokia Developer aims to help you create apps and publish them so you can connect with users around the world.

京ICP备05048969号  © Copyright Nokia 2013 All rights reserved