问题标签 [jsr179]

For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.

0 投票
1 回答
525 浏览

java-me - 除了使用 JSR-179 之外,还有哪些获取手机经纬度的方法?

JSR-179是一个可选包,因此它需要permissions和证书signing。那么还有其他方法可以通过longitude移动latitude设备J2ME吗?

0 投票
1 回答
114 浏览

blackberry - LocationUpdate method getting called too frequently on Blackberry

I have a 3 GSM phones and a 3 verizon (CDMA) phones. I have a BB application in which the location listener is set to a 5 minute interval.

For 2 of the verizon phones the application's location update method gets called frequently. For the rest, the location listener gets called at a regular 5 minute interval.

What could be causing this difference in behavior?

0 投票
1 回答
324 浏览

java-me - In J2ME, How to pause and resume the thread

In my j2me app I have an array of double data type containing 5 coordinates value. This array is inside the thread to continuously check whether the same values is given by GPS.

Once it get correct match, I want to pause the thread then remove match found value from thread and resume the thread. I want this should be happen till array contains coordinates values. Once array got empty I want to pause the thread till it get new value, Once again when array gets values it should start again.

How should I implement this logic in code?

0 投票
0 回答
42 浏览

java-me - 如何在 j2me 中解决 ProximityListener 的 LocationException

我的 addProximityListener 代码是 -

在将 ProximityListener 添加到位置提供程序平台时,向我显示如下错误 -

我在文档中看到了它的错误含义,即 LocationException - 如果平台没有资源来添加新的侦听器和要监视的坐标,或者根本不支持接近度监视

但我不知道如何解决这个问题???