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?
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?
ProximityListener ?
-- Lucian
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?
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.
-- Lucian
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![]()
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.
-- Lucian
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).
-- Lucian
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.
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).
-- Lucian