Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - zigzag

#1
Thanks for your answer, i fixed the issue.
#2
Add-ons & Co-apps / Re: Locus addon for Pebble
June 24, 2017, 09:39:02
The new update of Locus addon Pebble fix the issue.
#3
Hello,

I use manifest to start the app with Locus, and it works, because the app start.

        <receiver
            android:name=".PeriodicUpdateReceiver"
            android:enabled="true"
            android:exported="true">
            <intent-filter>
                <action android:name="locus.api.android.ACTION_PERIODIC_UPDATE" />
            </intent-filter>
        </receiver>


I use a new receiver in running app, while it running. It not receive data.

        receiver = new BroadcastReceiver() {

            @Override
            public void onReceive(Context context, Intent intent) {
                Log.d("Most jött", "adat a locustól");
                try {
                    // Értelmes adat érkezett-e be?
                    if (intent == null || intent.getAction() == null) {
                        return;
                    }


                    if (!isLocusRunning(context)) {
                        return;
                    }

                    // Beolvassa a kapott adatokat
                    PeriodicUpdatesHandler.getInstance().onReceive(appContext, intent, updateHandler);
                } catch (Exception e) {
                    return;
                }
            }
        };

        IntentFilter filter = new IntentFilter(
                LocusConst.ACTION_PERIODIC_UPDATE);
        registerReceiver(receiver, filter);

    private PeriodicUpdatesHandler.OnUpdate updateHandler = new PeriodicUpdatesHandler.OnUpdate() {
        /*
         * Locustól kapott adatok beolvasásának a függvénye
         */

        @Override
        public void onUpdate(LocusUtils.LocusVersion locusVersion, UpdateContainer update) {
            lastUpdate = update;
            updatee(false);
            Log.d("Most jött", "adat a locustól");
        }

        @Override
        public void onIncorrectData() {
        }
    };
#4
Hi menion,

With new version of LocusMap the Locus addon Pebble app get no data from periodic update. Is there any changes in periodic update module?

thanks
#5
Add-ons & Co-apps / Re: Locus addon for Pebble
April 06, 2017, 22:17:47
Set the hr zones in LocusAddonPebble app.
#6
Add-ons & Co-apps / Re: Locus addon for Pebble
April 03, 2017, 21:43:18
#7
Developers / Locus Api - getTargetAzim
March 27, 2017, 21:26:11
Hello,

I'm not sure, how it works.
I use the getTargetAzim() function in the AddonPebble app to show an arrow the direction on the Pebble watch.

When I try it I realized:

- Guide on: direction to the destination point,
lastUpdate.getGuideTypeWaypoint().getTargetAzim()

- Navigate to: direction to the action point,
lastUpdate.getGuideTypeTrack().getTargetAzim()

- Guidance (guidance along the track): direction to the next track point.
lastUpdate.getGuideTypeTrack().getTargetAzim()

Is it true?
http://forum.locusmap.eu/index.php?topic=5096.msg47029#msg47029

Thanks
#8
Add-ons & Co-apps / Re: Locus addon for Pebble
March 19, 2017, 09:40:21
Hello Erwin,

The guidance direction show on
- Guide on: direction to the destination point,
- Navigate to: direction to the action point,
- Guidance (guidance along the track): direction to the next track point.

ZigZag
#9
Add-ons & Co-apps / Re: Locus addon for Pebble
March 18, 2017, 14:46:53
Hello Erwin,

The guidance direction (calculated from moving) and the compass (calculated from moving) are working when you are in moving. If you stop, it is not accurate. In moving the 12 o'clock is your moving direction, and the arrow shows the destination.

The built in compass:
Before use it rotate the watch every direction.

ZigZag
#10
Add-ons & Co-apps / Re: Locus Addon HeartRateAlert
January 22, 2017, 10:19:30
Hi,
I have made a very-very simple addon to tell on your heart rate zone changes.

https://play.google.com/store/apps/details?id=com.gilisztaturmixgmail.locus_addon_hr
#11
Add-ons & Co-apps / Re: Locus addon for Pebble
September 12, 2016, 23:26:02
QuoteThanks for the explanation. I have tried long pressing all of the buttons, but the up button symbol never changes, it always shows the up-arrow. I tested all sorts of combinations and long click durations, but to no success. I´m either not getting it right or it doesn´t work with the pebble time.

Then your watchapp has not refreshed to v1.2. Delete and add it again.
#12
Add-ons & Co-apps / Re: Locus addon for Pebble
September 12, 2016, 22:09:28
@eldron

First, it is not POI alert, it is only target point alert, so only that target ponit can vibrate what you have chosen as guidance.

Refresh rate: press long one of right button for 1 sec, and you can see that the up button icon is a refresh picture. Now press the up button once or more and the refresh rate changed. 1 -> 15 -> 30 -> 60 -> 1 ...

I have Pebble classic, and there is no new firmware for it. But I think, this is a simple app with few feature, so it works with all watch. The new calculated compass function is always accurate when you are moving. (The 12 oclock is the forward direction.)
#13
Add-ons & Co-apps / Re: Locus addon for Pebble
July 30, 2016, 10:30:40
Hi eldron,
The request accepted. :-)
Next version.
#14
Hello menion,

There is a problem in periodic update system since last Locus update.
Some data have not got to my addon. I have got the log below.
For example the distance stay "0.0" in the track recording in my addon. (Pebble addon)
I try it with "Locus API Android (sample)" and there is the problem in it also.
What do I wrong?

The log:
Quote07-03 15:22:36.181 23591-23591/menion.android.locus.api.sample W/Bundle: Key 1204 expected Double but value was a java.lang.Float.  The default value 0.0 was returned.
07-03 15:22:36.182 23591-23591/menion.android.locus.api.sample W/Bundle: Attempt to cast generated internal exception:
                                                                         java.lang.ClassCastException: java.lang.Float cannot be cast to java.lang.Double
                                                                             at android.os.BaseBundle.getDouble(BaseBundle.java:902)
                                                                             at android.content.Intent.getDoubleExtra(Intent.java:5046)
                                                                             at locus.api.android.features.periodicUpdates.PeriodicUpdatesFiller.intentToUpdate(PeriodicUpdatesFiller.java:97)
                                                                             at locus.api.android.features.periodicUpdates.PeriodicUpdatesHandler.onReceive(PeriodicUpdatesHandler.java:87)
                                                                             at menion.android.locus.api.sample.receivers.PeriodicUpdateReceiver.onReceive(PeriodicUpdateReceiver.java:38)
                                                                             at android.app.ActivityThread.handleReceiver(ActivityThread.java:2673)
                                                                             at android.app.ActivityThread.access$1700(ActivityThread.java:156)
                                                                             at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1428)
                                                                             at android.os.Handler.dispatchMessage(Handler.java:102)
                                                                             at android.os.Looper.loop(Looper.java:211)
                                                                             at android.app.ActivityThread.main(ActivityThread.java:5389)
                                                                             at java.lang.reflect.Method.invoke(Native Method)
                                                                             at java.lang.reflect.Method.invoke(Method.java:372)
                                                                             at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1020)
                                                                             at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:815)
07-03 15:22:36.187 23591-23591/menion.android.locus.api.sample I/PeriodicUpdateReceiver: onUpdate(locus.api.android.utils.LocusUtils$LocusVersion {
                                                                                             mPackageName: menion.android.locus.pro
                                                                                             mVersionCode: 500
                                                                                             mVersionName: 3.18.2
                                                                                             $change: null
                                                                                         }, locus.api.android.features.periodicUpdates.UpdateContainer@854e8ec)
#15
Add-ons & Co-apps / Re: Locus addon for Pebble
June 27, 2016, 20:32:25
Hello,

I have found the solution.

Quote2) Is there any way of manually starting you app? It disappeared twice from my watch (also the "sports" tile in the pebble menu was gone) and I didn´t know how to start it again, other than closing locus and opening it again.
R

If the phone lost connection with watch for some minutes, then sports menu gone.

I use a quick launch button to start sports app, so it has never happend to me.

So use a quick launch button to start sports app.

I will solve this issue in the next version.