Live-Tracking

586 views
Skip to first unread message

Manfred

unread,
Apr 1, 2012, 7:39:22 PM4/1/12
to Osmand
Hi!
I hope, somebody can help me solving a big problem for me, but maybe a
small one for insiders.

Some years ago, a project for live tracking was published in a German
computer magazine.
It is called myleiu, consists of some .php and. js files on the server
side and an adroid client.
This client is not very reliable, and it seems, that it is not
supported any more.
So I would like to use osmands live tracking feature instead.

I have contacted the creator of the server scripts, an he told me,
what he sends from his webclient (an alternative to the android
client).

If I enter the following in the address line of my browser, the
position is shown on the viewer page, as it should:

http:/"myServer"/mylieu/setUserPosition.php?
latitude=50.82&longitude=8.93&speed=123.4&dir=123.5&alt=330.5

So I tried to use this as Live Tracking Web Address:

http:/"myServer"/mylieu/setUserPosition.php?latitude={0}&longitude={1}
&acur={3}&alt={4}&speed={5}

which did not work :-(

I tried it by replacing the "?" with an "&" behind .php too, but with
no success.

What am I doing wrong?

Regards
Manfred



Victor Shcherb

unread,
Apr 2, 2012, 3:33:21 AM4/2/12
to osm...@googlegroups.com

1. HTTP with 2 slashes //
2. Keep the original URL! Instead of some numbers put {x} only if they supported, otherwise keep constants. For example acur doesn't exist in original query.

Manfred

unread,
Apr 2, 2012, 4:50:57 AM4/2/12
to Osmand
Hi Victor!

Thank you for taking time to help me!

(1.) was a typo (in the posting only)

(2.) acur was not in the original query, but should be supported (is
equal to hdop , {3}). Removing it does no change, entering into the
original query does work too.

To give you original information, here a link to the whole thing:

http://members.inode.at/397412/osmand/whole_mylieu.zip

myLieuClient.js -------------------is the sending part (of the web
client)
shows up what values are supported

setUserPosition.php-------------is the receiving part

Hope, these two files speaks more clearly than me ;-)

Thank you for every help.
Manfred



On 2 Apr., 09:33, Victor Shcherb <victor.shch...@gmail.com> wrote:
> 1. HTTP with 2 slashes //
> 2. Keep the original URL! Instead of some numbers put {x} only if they
> supported, otherwise keep constants. For example acur doesn't exist in
> original query.

Victor Shcherb

unread,
Apr 2, 2012, 4:23:43 PM4/2/12
to osm...@googlegroups.com
I don't know :)
http://"myServer"/mylieu/setUserPosition.php?latitude={0}&longitude={1}&acur={3}&alt={4}&speed={5}

Seems to be correct. Probably http://"myServer"/setUserPosition.php ? I don't know try read logs and tweak program. I think you can test with google service and it works :)

Victor

2012/4/2 Manfred <alfman....@gmail.com>
Message has been deleted

Manfred

unread,
Apr 2, 2012, 6:10:23 PM4/2/12
to Osmand
Hi Victor!

Your "seems to be correct" helped me very much!
After thinking a lot, I remembered, that the mylieu-Android-client
uses authorisation with user and password.
After renaming .htaccess in the mylieu folder it really does work!

What would be the cream on top: use user and password in osmand live
tracker too.

Thank you for your support.

Regards
Manfred

On 2 Apr., 22:23, Victor Shcherb <victor.shch...@gmail.com> wrote:
> I don't know :)
> http://"myServer"/mylieu/setUserPosition.php?latitude={0}&longitude={1}
> &acur={3}&alt={4}&speed={5}
>
> Seems to be correct. Probably http://"myServer"/setUserPosition.php ? I
> don't know try read logs and tweak program. I think you can test with
> google service and it works :)
>
> Victor
>
> 2012/4/2 Manfred <alfman.luste...@gmail.com>

pshrutpark

unread,
Apr 7, 2012, 4:53:24 AM4/7/12
to osm...@googlegroups.com
Manfred and Victor et al.

This thread caught my eye because I'm interested in the possibility of live tracking using Osmand to send location to mylieu.

I had thought it would simply require the correct address and data specification in the appropriate field of Osmand. But experimenting with every combination I could think of has ended in failure.

Do you have any thoughts on the matter?

Initially I tried the three year old  mylieu android client but it frequently hangs on my Android.

However running  mylieu within Firefox on the Android works properly. But sending data from Osmand would, for me, be more useful and efficient.


Thanks for any comment.
 

Manfred

unread,
Apr 7, 2012, 7:29:22 AM4/7/12
to Osmand
Hi!

It works for me with the following entered as Live Tracking Web
Address:

http://MyServer/mylieu/setUserPosition.php?latitude={0}&longitude={1}&acur={3}&alt={4}&speed={5}

As mentioned earlier, mylieu folder on server must be reachable
without authentication.

Regards
Manfred

On 7 Apr., 10:53, pshrutpark <petershar...@pastoralsystems.co.nz>
wrote:
> Manfred and Victor *et al*.

pshrutpark

unread,
Apr 7, 2012, 8:12:25 AM4/7/12
to Osmand
Thank you very much Manfred.

It seems that the closest I got was as you describe plus the
timestamp. Removed that and it works fine!

I agree with you that a user and password option would be better.

Regards

Shreyas MS

unread,
Apr 7, 2012, 10:58:05 AM4/7/12
to osm...@googlegroups.com
Hi guys



Any link or website,  where i can get detail description abt this application...




--
Regards
SHREYAS

Manfred

unread,
Apr 7, 2012, 1:43:28 PM4/7/12
to Osmand
Hi!

All you can get is in German here:
http://www.heise.de/ct/projekte/machmit/mylieu/browser

Regards
Manfred
> *SHREYAS*

Manfred

unread,
Apr 16, 2012, 8:42:20 PM4/16/12
to Osmand
Hi Everybody!

What happened to Live-Tracking?
Doesn't work any more in #799, maybe earlier.

Or has it somebody still working with #799?

Regards
Manfred


On 7 Apr., 13:29, Manfred <alfman.luste...@gmail.com> wrote:
> Hi!
>
> It works for me with the following entered asLiveTrackingWeb
> Address:
>
> http://MyServer/mylieu/setUserPosition.php?latitude={0}&longitude={1}&acur={3}&alt={4}&speed={5}
>
> As mentioned earlier, mylieu folder on server must be reachable
> without authentication.
>
> Regards
> Manfred
>
> On 7 Apr., 10:53, pshrutpark <petershar...@pastoralsystems.co.nz>
> wrote:
>
>
>
>
>
>
>
> > Manfred and Victor *et al*.
>
> > This thread caught my eye because I'm interested in the possibility oflive
> >trackingusing Osmand to send location to mylieu.

pshrutpark

unread,
Apr 17, 2012, 5:43:32 AM4/17/12
to Osmand
Manfred.

I'm using the nightly build, most recently #1300. This and each
previous build since you corrected my live tracking text works well.

pshrutpark

Manfred

unread,
Apr 17, 2012, 9:06:37 AM4/17/12
to Osmand
Hi pshrutpark!

Thank you for your feedback.
It told me, that it must be my fault ;-)

I had to do an NAND-restore some time ago and enter Live-Tracking URL
again, maybe I did something wrong there.
As I could not see any fault, so I decided to un- and reinstall the
nightly #799.
And now it works as expected.

Regards
Manfred

P.S.: Markus Schepp, who has produced mylieu (not the Android Client)
was very pleased to hear, that his "baby" is used on the other side of
the earth in NZ.



On 17 Apr., 11:43, pshrutpark <petershar...@pastoralsystems.co.nz>
wrote:

pshrutpark

unread,
Apr 17, 2012, 9:00:28 PM4/17/12
to Osmand
Yes!

I bid thank you to Markus.

I noticed he has updated myLieu. I tried it but something was wrong
and I reverted. Probably my mistake during updating.

Cheers

Cyclist Story

unread,
Apr 7, 2013, 6:07:36 PM4/7/13
to osm...@googlegroups.com
Hi Manfred, I've looked at your website and I like the way the mylieu operates on your site. I am confused though.

I am still not sure where to place the mylieu files on my site host. Do I place all the contents of the mylieuserver folder within the root of my webserver or can I place them within a folder called mylieu which is then placed in the root (/mylieu)? 

I would prefer to put them in a folder called mylieu.

Will I then have to change the live tracking address in OsmAnd?

I've no doubt I'll have more questions

Many thanks,

Tom

Manfred

unread,
Apr 8, 2013, 7:48:03 PM4/8/13
to osm...@googlegroups.com
Hi Tom!
AFAIR I put the files and folders in /mylieu. The path in the URL has to point to the php file, that takes the data.
I am writing this on my phone, because I am at a Hospital at the moment, as you can see on my web site.

Tom

unread,
Apr 11, 2013, 6:49:43 PM4/11/13
to osm...@googlegroups.com
Hmmm, I'm a newbie when it comes to website building. I'm trying to incorporate it into my Wordpress site and am not having much success. I would love a Wordpress plugin to be created for it.

Manfred

unread,
Apr 11, 2013, 10:53:50 PM4/11/13
to osm...@googlegroups.com
Hi Tom!


Maybe, the attached picture can help you a little.
An ftp-upload should do the job.

Regards
Manfred


Am Freitag, 12. April 2013 00:49:43 UTC+2 schrieb Tom:
Hmmm, I'm a newbie when it comes to website building. I'm trying to incorporate it into my Wordpress site and am not having much success. I would love a Wordpress plugin to be created for it.

Reply all
Reply to author
Forward
0 new messages