PDA

View Full Version : *TrackMe* GPS/CellID Tracking tool for Google Earth & Google Maps *UPDATED 10/22/08*


Pages : 1 2 3 4 5 [6] 7 8 9 10 11 12 13 14 15 16

Juraus
13-12-2007, 12:53 PM
I have problems with 'TrackMe Server Side Installation'. I get error "ERROR: Failed to connect to database" when trying to install. I have created database and user/password for it (granted all privileges).

I have tried to to use 'localhost' for database server address and also server IP-address but i get always this "ERROR: Failed to connect to database" error.

What could be wrong? Any ideas, please? I'd like to get this working... It's so cool!!!

By the way... is it possile to install it manually without 'install.php'? How? Step-by-step instructions?

staryon
13-12-2007, 02:41 PM
I have problems with 'TrackMe Server Side Installation'. I get error "ERROR: Failed to connect to database" when trying to install. I have created database and user/password for it (granted all privileges).

I have tried to to use 'localhost' for database server address and also server IP-address but i get always this "ERROR: Failed to connect to database" error.

What could be wrong? Any ideas, please? I'd like to get this working... It's so cool!!!

By the way... is it possile to install it manually without 'install.php'? How? Step-by-step instructions?

I'm sorry. I cannot help you with that because haven't used that install.php file yet. Did you follow the instructions in the readme.txt file?

I hope people who are using their own server can provide more help.

Juraus
13-12-2007, 03:07 PM
I'm sorry. I cannot help you with that because haven't used that install.php file yet. Did you follow the instructions in the readme.txt file?

Yes, I did, step by step. Do you know if it's possible to install it manually? If i just create tables manually (database.sql) with phpMyAdmin and edit manually config.php file... Does it works that way?

- Juraus

Lidberg
13-12-2007, 04:10 PM
Can this app record how far you have gone.

Im looking for a tool that i can use with my phone that can rack runs and how far i have run and at what average pace. can this tool do this

A good program for that is Run.GPS Trainer UV. Google it. It's awesome. It's made for runners, bikers, or practically any outdoor sport.

staryon
13-12-2007, 04:42 PM
Yes, I did, step by step. Do you know if it's possible to install it manually? If i just create tables manually (database.sql) with phpMyAdmin and edit manually config.php file... Does it works that way?

- Juraus

Yes, it should work.

apposite
13-12-2007, 08:49 PM
you still havnt read the first post of that thread i guess

here is (http://forum.xda-developers.com/showpost.php?p=1622114&postcount=1) the first post ;)

If you actually took the time to read my posts completely I already stated I have installed the file and I am experiencing the same result!



Did you install this file?
http://luisespinosa.com/bin/trackme/sqlce30.wce5.armv4i.CAB


yes, same exact error message! any ideas? I have also asked on Dutty's Hybrid 7 thread.

staryon
13-12-2007, 08:55 PM
If you actually took the time to read my posts completely I already stated I have installed the file and I am experiencing the same result!






yes, same exact error message! any ideas? I have also asked on Dutty's Hybrid 7 thread.

I just tested TrackMe with Compact Framework 3.5 and it doesn't work, because it installs a newer version of SQL Mobile that it's not compatible with the program.

I will upgrade TrackMe to work with CF 3.5, but it may take a few weeks before I do that.

phatman81
13-12-2007, 10:19 PM
I just tested TrackMe with Compact Framework 3.5 and it doesn't work, because it installs a newer version of SQL Mobile that it's not compatible with the program.

I will upgrade TrackMe to work with CF 3.5, but it may take a few weeks before I do that.

This may be why it does not work on the Shadow also... I once again have hope for this to work on my device!:D

Sparrowhawk
13-12-2007, 11:40 PM
Staryon, lately I've used TM and whilst it has logged my position, it hasn't uploaded the data to your server. I thought it was just a data connection issue where I was at the time but every time I've tried since, in different locations, I get the "You need to run this process again later" message.

Any ideas? Name and password are ok.

Cheers mate.

staryon
13-12-2007, 11:43 PM
Staryon, lately I've used TM and whilst it has logged my position, it hasn't uploaded the data to your server. I thought it was just a data connection issue where I was at the time but every time I've tried since, in different locations, I get the "You need to run this process again later" message.

Any ideas? Name and password are ok.

Cheers mate.

Hi Sparrowhawk,

Are you using the latest version of the client?

Sparrowhawk
14-12-2007, 12:29 AM
Hi Sparrowhawk,

Are you using the latest version of the client?



I am now and it's working perfectly again!

Thanks very much.

apposite
14-12-2007, 12:47 AM
oops I meant staryon



look forward to using your version for 3.5 after you have it developed! keep up the awesome work and attention to detail!

Karol-pl
14-12-2007, 02:09 AM
If you actually took the time to read my posts completely I already stated I have installed the file and I am experiencing the same result!


well, you just wrote that you inastalled cab file again. So it didnt mean, that you use exactly that file which was in first post ;) I thought, you were writting about installation of TM on fresh system again. Sorry then:o

staryon
14-12-2007, 02:57 AM
New version available.

Now you can upload (or link) your own images when forcing an update.

http://img110.imageshack.us/img110/8209/96534107nn8.png


Notes for people using their own server:

1. you need to update your database with the following:


ALTER TABLE `positions` ADD `ImageURL` varchar(255) default NULL;


2. Some php files have changed. Go to http://luisespinosa.com/trackmeserver to see what files you need to update (just check the column with the date)

3. When an image is uploaded, a new folder called 'pics' will be created on your server. Be sure that you have the right permissions. This folder is created in the same place where 'routes' is created.

jcleek
14-12-2007, 03:25 AM
I will get the server files updated tomorrow.

Karol-pl
14-12-2007, 03:27 AM
nice option :)

but i've got question. Is that correctly, that after i forced update, then i have to make some movement to see changes on google eart ? Cause when i was testing it, and my position havent changed, the picture havnt appear until i made next move.

staryon
14-12-2007, 03:37 AM
nice option :)

but i've got question. Is that correctly, that after i forced update, then i have to make some movement to see changes on google eart ? Cause when i was testing it, and my position havent changed, the picture havnt appear until i made next move.

it depends how often you are refreshing Google Earth.

Karol-pl
14-12-2007, 03:45 AM
in my case it's refreshing every 4 sec. but i mean that, when you are not moving with your pda and you try to force update that picture, it's not appearing in GE. You have to make any movement, then the picture appears.

odie3
14-12-2007, 03:49 AM
Okay, updated my server and client. Directory was created and files uploaded. I assume the index.php will not work (jcleek says he'll be updating soon].

Problem 1:
All my pictures are in \Storage Card\My Documents\My Pictures\. With the browser I can there and All Files does not seem to show them either. I am thinking that is the way the windows standard browser works - is there a more advance one you can use?

Problem 2:
Can not upload more than 400k but my pictures are around ~500k. Can you remove that limit?

Problem 3:
The picture is not showing in google pop up for some reason but the picture(s) are in fact there.

New version available.

Now you can upload (or link) your own images when forcing an update.




Notes for people using their own server:

1. you need to update your database with the following:


ALTER TABLE `positions` ADD `ImageURL` varchar(255) default NULL;
2. Some php files have changed. Go to http://luisespinosa.com/trackmeserver to see what files you need to update (just check the column with the date)

3. When an image is uploaded, a new folder called 'pics' will be created on your server. Be sure that you have the right permissions. This folder is created in the same place where 'routes' is created.

staryon
14-12-2007, 03:51 AM
in my case it's refreshing every 4 sec. but i mean that, when you are not moving with your pda and you try to force update that picture, it's not appearing in GE. You have to make any movement, then the picture appears.

it doesn't make to sense to update GE every 4 sec because the minimum number of seconds that you can upload from TrackMe is every 10 seconds.
Your refresh rate in GE should be >= the value that you have in TrackMe.

Anyway, how often are you generating the KML file? after a new position is received?

staryon
14-12-2007, 03:55 AM
Problem 1:
All my pictures are in \Storage Card\My Documents\My Pictures\. With the browser I can there and All Files does not seem to show them either. I am thinking that is the way the windows standard browser works - is there a more advance one you can use?

I noticed that too. It's strange. I'll let you know if I find out something.


Problem 2:
Can not upload more than 400k but my pictures are around ~500k. Can you remove that limit?

I have almost 900 users on my server. Think about it.
I will probably add a parameter on the server or something like that later.


Problem 3:
The picture is not showing in google pop up for some reason but the picture(s) are in fact there.
I tested from GE and GM and it worked fine here. Check the KML file to see if the URL of the image is in fact there.

odie3
14-12-2007, 04:09 AM
I noticed that too. It's strange. I'll let you know if I find out something.
Thanks! (btw, I meant I can *not* get there)


I have almost 900 users on my server. Think about it.
I will probably add a parameter on the server or something like that later.

Yes I understand, i really hope you make a change in the php file for the size limit. ;)


I tested from GE and GM and it worked fine here. Check the KML file to see if the URL of the image is in fact there.
Odd, its the kml file not updating and even if I "Export Data" does not help. I know the information is getting to the DB, since I can see my comments that I am tagging each time when I go to my website (and of course when I look into my DB). confused...

Karol-pl
14-12-2007, 04:10 AM
it doesn't make to sense to update GE every 4 sec because the minimum number of seconds that you can upload from TrackMe is every 10 seconds.
Your refresh rate in GE should be >= the value that you have in TrackMe.


well, true

Anyway, how often are you generating the KML file? after a new position is received?

i setted up every 10 seconds. but when i'm not moving, then TM is not generating any KML file, casue TM skips that positions. Maybe try on your pda :)

set option"don't upload ..points if distance..." for 1000 meters. Then try to upload picture, and see if it appear in GE. :)

odie3
14-12-2007, 04:20 AM
Odd, its the kml file not updating and even if I "Export Data" does not help. I know the information is getting to the DB, since I can see my comments that I am tagging each time when I go to my website (and of course when I look into my DB). confused...

Okay got it!

Problem 1: (which I had forgot about)
When doing a forced update only the DB gets updated, so you have to do a Export Data to get the kml file to update. Any reason why not to create the kml file on forced update? I always assumed there was a reason but never remembered to ask.

Problem 2:
Seems then you go to "Export Data" and and then click "Get Existing" the order of the trips are not in order (almost all of my are auto+the date). I had assumed the newest trip was always at the bottom that is not the case. So when I was Exporting my data it was really a trip from 12/7. I guess that is what I get for assuming and not really reading what I was exporting. ;)

Oh forgot to ask about this before. When you finally find the picture you want and you click on it, it seems it gets uploaded at that selection. Would it be possiable to upload the picture after you click the okay button (or even when you click to upload the position)? I see myself selecting the wrong picture at some point and there is no chance (that I can see) to stop the process of the file getting uploaded.

Karol-pl
14-12-2007, 04:26 AM
When doing a forced update only the DB gets updated, so you have to do a Export Data to get the kml file to update. Any reason why not to create the kml file on forced update? I always assumed there was a reason but never remembered to ask.


so i think that the answer for my question above :)

btw. nice monkey ;)

staryon
14-12-2007, 12:27 PM
duplicate post

staryon
14-12-2007, 12:28 PM
Problem 1: (which I had forgot about)
When doing a forced update only the DB gets updated, so you have to do a Export Data to get the kml file to update. Any reason why not to create the kml file on forced update? I always assumed there was a reason but never remembered to ask.

You're right. There is not reason for not doing that. I'll change it.


Problem 2:
Seems then you go to "Export Data" and and then click "Get Existing" the order of the trips are not in order (almost all of my are auto+the date). I had assumed the newest trip was always at the bottom that is not the case. So when I was Exporting my data it was really a trip from 12/7. I guess that is what I get for assuming and not really reading what I was exporting. ;)


I'll fix it.


Oh forgot to ask about this before. When you finally find the picture you want and you click on it, it seems it gets uploaded at that selection. Would it be possiable to upload the picture after you click the okay button (or even when you click to upload the position)? I see myself selecting the wrong picture at some point and there is no chance (that I can see) to stop the process of the file getting uploaded.
Let's see what I can do.

staryon
14-12-2007, 12:32 PM
By the way, just in case there is somebody who knows html...

When I show the pictures, I use this code:

<a href='mypic'><img src='mypic' height='200' width='240'></a>

As you can see, I resize it to 200x240. That works fine if the picture is bigger than that, but if the picture is smaller, it will look bad because it will be enlarged.

Is there an easy way of not resizing the picture if the picture is smaller?

staryon
14-12-2007, 12:38 PM
Ok, I fixed the first 2 problems.
New client available.
I also changed the file requests.php

tcrichton
14-12-2007, 02:20 PM
Thanks for a great app staryon, I was just about to try and work out how to hack a gps data -> server app together for my phone and you've already done it (and a million times better than I could!)

Thanks for putting the time into this project! I hope to get alot of use out of it and will credit you if I do anything public,

Thanks again!

Tristan.

wafwot
14-12-2007, 02:51 PM
By the way, just in case there is somebody who knows html...

When I show the pictures, I use this code:

<a href='mypic'><img src='mypic' height='200' width='240'></a>

As you can see, I resize it to 200x240. That works fine if the picture is bigger than that, but if the picture is smaller, it will look bad because it will be enlarged.

Is there an easy way of not resizing the picture if the picture is smaller?

Here's a PHP function I wrote a while ago for resizing GIF images that are wider than 200 pictures. I use it to resize images I get from my State's DOT web page so they're readable on my phone. At the moment, it only does GIF images (since my State uses GIF images for most of it's traffic images). Give me 10 hours or so (I have to go to work), and I'll get it working for jpegs and pngs.

To use it I call <? include("resize.php"); ?> in my php file, then use the function as follows in my html code:

<img src="resize.php?img=http://images.wsdot.wa.gov/nwflow/vms/vms-165.gif" />


Below is my "resize.php" file, which is nothing but one function. PHP 4 and GD 2 support is required.


<?php

// The file
$filename = $_GET['img'];
$percent = $_GET['pct'];
$w = $_GET['w'];
$h = $_GET['h'];

// Set a maximum height and width
if (!$w)
$width = 220;
if (!$h)
$height = 1000;

// Content type
header('Content-type: image/gif');

// get image size of img
$dimarr = getimagesize($filename);
// image width
$width_orig = $dimarr[0];
// image height
$height_orig = $dimarr[1];

$ratio_orig = $width_orig/$height_orig;

if ($percent) {
$percent = $percent * 0.01;
$width = $width_orig * $percent;
$height = $height_orig * $percent;
} else {
if ($width/$height > $ratio_orig) {
$width = $height*$ratio_orig;
} else {
$height = $width/$ratio_orig;
}
}

// Resample
if ($percent OR $width_orig > $width OR $height_orig > $height) {
$image_p = imagecreatetruecolor($width, $height);
$image = imagecreatefromgif($filename);
imagecopyresampled($image_p, $image, 0, 0, 0, 0, $width, $height, $width_orig, $height_orig);


} else {
readfile($filename);
}

// Output
imagegif($image_p);
?>

odie3
14-12-2007, 02:55 PM
Ok, I fixed the first 2 problems.
New client available.
I also changed the file requests.php

Thanks that works and makes things helpful!

On the Export Data get data sorting, do you mind sorting by newest first?

Also, on the menu you have Config first do you mind moving that just above the About? I do not believe I have changed anything since installing trackme, so it being at the bottom seems like a good idea.

One more request (since I seem to be on a roll). When getting the Icons for uploading a position - could the list be cached locally so you do not have to get them every time?

jcleek
14-12-2007, 03:52 PM
Staryon I updated the files. Same location as before. Current version is 1.10.

Changes:

1) Added image support

If there is an image URL in the database then a 200px wide tumbnail is displayed in the information bubble. Clicking on the image opens the original image in its full resolution in a new browser window. I did not force a custom icon like a camera so you can use whatever icon you want to set.

odie3
14-12-2007, 04:26 PM
Nice jcleek - look forward to the new index code! Thanks for the quick update.

Staryon I updated the files. Same location as before. Current version is 1.10.

Changes:

1) Added image support

If there is an image URL in the database then a 200px wide tumbnail is displayed in the information bubble. Clicking on the image opens the original image in its full resolution in a new browser window. I did not force a custom icon like a camera so you can use whatever icon you want to set.

staryon
14-12-2007, 04:31 PM
Thanks for a great app staryon, I was just about to try and work out how to hack a gps data -> server app together for my phone and you've already done it (and a million times better than I could!)

Thanks for putting the time into this project! I hope to get alot of use out of it and will credit you if I do anything public,

Thanks again!

Tristan.

Thanks a lot for your comments! :)

staryon
14-12-2007, 04:36 PM
Staryon I updated the files. Same location as before. Current version is 1.10.

Changes:

1) Added image support

If there is an image URL in the database then a 200px wide tumbnail is displayed in the information bubble. Clicking on the image opens the original image in its full resolution in a new browser window. I did not force a custom icon like a camera so you can use whatever icon you want to set.

Thanks. I just uploaded the new files.

staryon
14-12-2007, 04:41 PM
Here's a PHP function I wrote a while ago for resizing GIF images that are wider than 200 pictures. I use it to resize images I get from my State's DOT web page so they're readable on my phone. At the moment, it only does GIF images (since my State uses GIF images for most of it's traffic images). Give me 10 hours or so (I have to go to work), and I'll get it working for jpegs and pngs.

To use it I call <? include("resize.php"); ?> in my php file, then use the function as follows in my html code:

<img src="resize.php?img=http://images.wsdot.wa.gov/nwflow/vms/vms-165.gif" />


Below is my "resize.php" file, which is nothing but one function. PHP 4 and GD 2 support is required.


<?php

// The file
$filename = $_GET['img'];
$percent = $_GET['pct'];
$w = $_GET['w'];
$h = $_GET['h'];

// Set a maximum height and width
if (!$w)
$width = 220;
if (!$h)
$height = 1000;

// Content type
header('Content-type: image/gif');

// get image size of img
$dimarr = getimagesize($filename);
// image width
$width_orig = $dimarr[0];
// image height
$height_orig = $dimarr[1];

$ratio_orig = $width_orig/$height_orig;

if ($percent) {
$percent = $percent * 0.01;
$width = $width_orig * $percent;
$height = $height_orig * $percent;
} else {
if ($width/$height > $ratio_orig) {
$width = $height*$ratio_orig;
} else {
$height = $width/$ratio_orig;
}
}

// Resample
if ($percent OR $width_orig > $width OR $height_orig > $height) {
$image_p = imagecreatetruecolor($width, $height);
$image = imagecreatefromgif($filename);
imagecopyresampled($image_p, $image, 0, 0, 0, 0, $width, $height, $width_orig, $height_orig);


} else {
readfile($filename);
}

// Output
imagegif($image_p);
?>


[EDITED ALL MY THOUGHTS AND ADDED MY FINAL CONCLUSION] :D

It's a kml file, so we cannot include any php there. It's not going to work because
it needs to be pure html.

staryon
14-12-2007, 05:00 PM
Thanks that works and makes things helpful!

On the Export Data get data sorting, do you mind sorting by newest first?



I don't store creation sdate with the trips, so at this moment I can just order by name.



Also, on the menu you have Config first do you mind moving that just above the About? I do not believe I have changed anything since installing trackme, so it being at the bottom seems like a good idea.


hmm... I use that all the time, when I create my new trips.
Sorry but I don't think I will change that by now.


One more request (since I seem to be on a roll). When getting the Icons for uploading a position - could the list be cached locally so you do not have to get them every time?

Come on... it doesn't take so long, just 1 sec or so. And you don't need to reload them again if you close that window. :)

odie3
14-12-2007, 05:04 PM
I don't store creation sdate with the trips, so at this moment I can just order by name.

hmm... I use that all the time, when I create my new trips.
Sorry but I don't think I will change that by now.

Okay, understood.


Come on... it doesn't take so long, just 1 sec or so. And you don't need to reload them again if you close that window. :)
I disagree, over time it is a lot of extra clicking for something that has not changed (and may not change very often at all). Then while you (assuming) and I have unlimited data - not everyone does. So that is eating data for no reason at all.

odie3
14-12-2007, 05:12 PM
Okay using the new code, however is the picture suppose to be bigger than the bubble (and some what outside of it too)?

Also, what are your thoughts about adding a filter on the current trip that is loaded to only show points that have pictures, custom icons, and/or comments? My newest trip has the start point and point 2 (which has a custom Icon and picture) but I can not it to show up. This is because the start point and point two are right on top of each other and no matter how I try to click on the Camera Icon (point two), point one information always comes up. :(

In Google Earth this is not an issue, since it will expand out points that are on top of each other, allowing you to click on the one your want to view.

Staryon I updated the files. Same location as before. Current version is 1.10.

Changes:

1) Added image support

If there is an image URL in the database then a 200px wide tumbnail is displayed in the information bubble. Clicking on the image opens the original image in its full resolution in a new browser window. I did not force a custom icon like a camera so you can use whatever icon you want to set.

odie3
14-12-2007, 05:16 PM
staryon - check your paypal account sent you another payment for your added support for picture uploads.

staryon
14-12-2007, 05:19 PM
staryon - check your paypal account sent you another payment for your added support for picture uploads.

thanks a lot man!! I really appreciate it.

staryon
14-12-2007, 05:23 PM
Then while you (assuming) and I have unlimited data - not everyone does. So that is eating data for no reason at all.

lol... you were telling me a few posts before to increase the size limitation that TrackMe has for uploading images because 400 KB was not enough!! :p

The trip list is not more than a few bytes!

odie3
14-12-2007, 05:38 PM
lol... you were telling me a few posts before to increase the size limitation that TrackMe has for uploading images because 400 KB was not enough!! :p

The trip list is not more than a few bytes!

Very true but I was speaking of users that do not have unlimited data plans. I was just trying to bring home a different reason to change the behavior of getting the Icon List. I am not trying to be silly or counterdict myself but to show more than one reason why I think it is a good idea to change it.

My real job is Software QE and I often have to give more than one reason to have something changed in our software - so I am just looking at additional angles to get my request to be seen as reasonable. :)

jcleek
14-12-2007, 05:50 PM
Okay using the new code, however is the picture suppose to be bigger than the bubble (and some what outside of it too)?

Also, what are your thoughts about adding a filter on the current trip that is loaded to only show points that have pictures, custom icons, and/or comments? My newest trip has the start point and point 2 (which has a custom Icon and picture) but I can not it to show up. This is because the start point and point two are right on top of each other and no matter how I try to click on the Camera Icon (point two), point one information always comes up. :(

In Google Earth this is not an issue, since it will expand out points that are on top of each other, allowing you to click on the one your want to view.

The bubble is at least 400px wide because that is the defined size of the HR lines. The thumbnail image is hard coded to 200px wide. So unless your browser is having a bad day or I somehow used code not compatible with your browser there is no way a 200px wide thumbnail extends outside the border of a 400px bubble. Additionally, the bubble size is dynamic and will grow to accomodate all of the information it contains. I do not define the bubble size.

Got an example we can see?

As for showing only those points that have photos I can add that option but this is now becoming far more complicated. Do you want to be able to load a trip and then only load the photo points? Because you add a significant amount of decision and code to do that...

odie3
14-12-2007, 06:00 PM
Attached are two pictures, one showing two points and one showing where my picture is outside of the bubble. However, I found that this does not happen every time. Matter of fact I had trouble recreating it. So, it could be just the browser having a hard time.

Yes, I am thinking when you load a trip, then you would have a option to filter all the normal points out (a button?) and it would show only points with extra/added meta data.


The bubble is at least 400px wide because that is the defined size of the HR lines. The thumbnail image is hard coded to 200px wide. So unless your browser is having a bad day or I somehow used code not compatible with your browser there is no way a 200px wide thumbnail extends outside the border of a 400px bubble. Additionally, the bubble size is dynamic and will grow to accomodate all of the information it contains. I do not define the bubble size.

Got an example we can see?

As for showing only those points that have photos I can add that option but this is now becoming far more complicated. Do you want to be able to load a trip and then only load the photo points? Because you add a significant amount of decision and code to do that...

jcleek
14-12-2007, 07:58 PM
Attached are two pictures, one showing two points and one showing where my picture is outside of the bubble. However, I found that this does not happen every time. Matter of fact I had trouble recreating it. So, it could be just the browser having a hard time.

Yes, I am thinking when you load a trip, then you would have a option to filter all the normal points out (a button?) and it would show only points with extra/added meta data.

Not much I can do about the bubble because it is the API from Google that controls the bubble size. And as you indicated even you have a hard time reproducing. I agree it is a browser or server issue and not my code. As I think about it, it is probably a case of the information not getting to the browser fast enough to be complete before the API draws the bubble. Maybe try to move the pics to another server and see if it changes.

The filter is not as easy as you make it out to be. And do I filter based only on photos? How about comments? Custom icons? All kinds of options but how do you give so many nested options? Again, more complicated code means harder to manage and less likely to get used. Unless someone else believes this is necessary I am going to have to decline to do this one. I just see it as not needed and overly complicated.

odie3
14-12-2007, 08:13 PM
The filter is not as easy as you make it out to be. And do I filter based only on photos? How about comments? Custom icons? All kinds of options but how do you give so many nested options? Again, more complicated code means harder to manage and less likely to get used. Unless someone else believes this is necessary I am going to have to decline to do this one. I just see it as not needed and overly complicated.

Filter would need to work on Photo and/or Comments. If it is just a custom Icon and no photo/comment there is no point, IMO.

As for not needed - well I somewhat disagree (but do agree that it might end up being complicated to code). If you never forced a update with Picture/Comment when you first turned on Trackme then you are mostly okay. However I see myself turning on TrackMe, then Force Updating to get a Picture/Comment (where you will get two positions on top of each other). Then of course if you are only walking around there is not a lot of position updating going on (depending on your settings) and are more likely to have two or more position very close together.

This is IMHO and in no way am I demanding a change your index.php file. I am very happy to have what your have created for all of us.

teren
14-12-2007, 08:37 PM
Staryon - this program has completely exceeded my expectation! I am a pilot and have been using this to see the track I fly and to see how fast and what altitude I was at at any given moment in my flight - fantastic information! (In your own airplane, consumer electronics are allowed!) So I have donated to you as a sign of thanks for your hard work! Keep it up! (And thanks to everyone else who has contributed to this project - I know it could not have been done with out all your help!

If anyone wants to see the tracks I'm making with my car & airplane, here ya go! http://www.photosfrombelow.com/trackme

Thanks Again!

Chris

staryon
14-12-2007, 08:54 PM
Staryon - this program has completely exceeded my expectation! I am a pilot and have been using this to see the track I fly and to see how fast and what altitude I was at at any given moment in my flight - fantastic information! (In your own airplane, consumer electronics are allowed!) So I have donated to you as a sign of thanks for your hard work! Keep it up! (And thanks to everyone else who has contributed to this project - I know it could not have been done with out all your help!

If anyone wants to see the tracks I'm making with my car & airplane, here ya go! http://www.photosfrombelow.com/trackme

Thanks Again!

Chris

First at all, *THANKS A LOT* for the donation.

I'm very happy that you used TrackMe in a such different environment than I'm used to. The map looks great!! I would like to ask you if you are ok if I take some snapshots of that map to show it in the documentation of the program. I love the track around the island! Thanks!

odie3
14-12-2007, 08:59 PM
If anyone wants to see the tracks I'm making with my car & airplane, here ya go! http://www.photosfrombelow.com/trackme



Okay, that is one freaking cool TrackMe track!

teren
14-12-2007, 09:01 PM
First at all, *THANKS A LOT* for the donation.

I'm very happy that you used TrackMe in a such different environment than I'm used to. The map looks great!! I would like to ask you if you are ok if I take some snapshots of that map to show it in the documentation of the program. I love the track around the island! Thanks!

By all means! Help yourself! If you look at some of the earlier tracks, you'll see more distance in flights.

I love this application!

staryon
14-12-2007, 09:09 PM
By all means! Help yourself! If you look at some of the earlier tracks, you'll see more distance in flights.

I love this application!

Thanks !! :)

staryon
14-12-2007, 10:59 PM
Problem 1:
All my pictures are in \Storage Card\My Documents\My Pictures\. With the browser I can there and All Files does not seem to show them either. I am thinking that is the way the windows standard browser works - is there a more advance one you can use?


It seems to be a limitation with the API. It only shows files from My Documents from the main memory. I'm afraid that there is nothing I can do, unless I write my own component which is too much work...

You will have to move the pictures that you're interested in to My Documents but in the Main Memory.

odie3
14-12-2007, 11:05 PM
Yucky! However, thanks for trying! ;)

wafwot
15-12-2007, 12:16 AM
[EDITED ALL MY THOUGHTS AND ADDED MY FINAL CONCLUSION] :D

It's a kml file, so we cannot include any php there. It's not going to work because
it needs to be pure html.


There should be no php in the kml, correct, but there wouldn't be any php code.

You can save the ImageURL as:

http://www.domain.com/trackme/resize.php?img=http://www.domain.com/gps/pics/user052048.jpg

This would automatically resize the image when it's displayed. The PHP does the resizing on the fly, on the server. The resize.php file would go in the same directory as the upload.php, gm.php, index.php, etc.

I have reworked the PHP code to accept GIF, JPG, and PNG files... if you're interested.

jcleek
15-12-2007, 12:38 AM
Ok Odie, I spend the last 5 hours working on the code but I am pretty sure I have the filter option you wanted.

Staryon, the file has been updated and is in the same place.

Current version is 1.11. Changes:
1) Added filters for Photo, Comments, and both
2) Language.php file added 5 variables that need translations:

$filter_button_text
$filter_none_text
$filter_photo_comment_text
$filter_photo_text
$filter_comment_text

staryon
15-12-2007, 12:41 AM
There should be no php in the kml, correct, but there wouldn't be any php code.

You can save the ImageURL as:

http://www.domain.com/trackme/resize.php?img=http://www.domain.com/gps/pics/user052048.jpg

This would automatically resize the image when it's displayed. The PHP does the resizing on the fly, on the server. The resize.php file would go in the same directory as the upload.php, gm.php, index.php, etc.

I have reworked the PHP code to accept GIF, JPG, and PNG files... if you're interested.

[EDIT]

Please see my next post.

staryon
15-12-2007, 12:46 AM
Ok Odie, I spend the last 5 hours working on the code but I am pretty sure I have the filter option you wanted.

Staryon, the file has been updated and is in the same place.

Current version is 1.11. Changes:
1) Added filters for Photo, Comments, and both
2) Language.php file added 5 variables that need translations:

$filter_button_text
$filter_none_text
$filter_photo_comment_text
$filter_photo_text
$filter_comment_text

files updated

odie3
15-12-2007, 12:55 AM
Wow, was not expecting it at all! However, works perfectly!
:):):)


Ok Odie, I spend the last 5 hours working on the code but I am pretty sure I have the filter option you wanted.

Staryon, the file has been updated and is in the same place.

Current version is 1.11. Changes:
1) Added filters for Photo, Comments, and both
2) Language.php file added 5 variables that need translations:

$filter_button_text
$filter_none_text
$filter_photo_comment_text
$filter_photo_text
$filter_comment_text

staryon
15-12-2007, 01:04 AM
There should be no php in the kml, correct, but there wouldn't be any php code.

You can save the ImageURL as:

http://www.domain.com/trackme/resize.php?img=http://www.domain.com/gps/pics/user052048.jpg

This would automatically resize the image when it's displayed. The PHP does the resizing on the fly, on the server. The resize.php file would go in the same directory as the upload.php, gm.php, index.php, etc.

I have reworked the PHP code to accept GIF, JPG, and PNG files... if you're interested.

wafwot,


I prefer to store only the URL of the real image in the ImageURL field of the database (so I keep it consistent with the icons)
When a KML is generated I want it to be as independent as possible of the site that created it.

Otherwise, there are a few problems:

1. When somebody opens KML file, every time an image is displayed they will be accessing my site, even if the uploaded picture is not stored there.

2. If the location of the PHP files changes and they are placed in a different place, the old pictures will still have the reference to my previous locations so they will not be displayed.

I could store only the url of the image, and when the kml file is generated add the location of the resize.php file, but that information is not something that
I pass in the URL when trackme sends a request.
I mean, everything is doable. I could pass that information in the request, but I don't want to make it more complicated.

I will think about it and I'll try to see if there is an easy way of adding the function but I want to keep TrackMe as simple as possible.

I really really appreciate your help!!

wafwot
15-12-2007, 01:38 AM
wafwot,

I prefer to store only the URL of the real image in the ImageURL field of the database (so I keep it consistent with the icons)
When a KML is generated I want it to be as independent as possible of the site that created it.

Otherwise, there are a few problems:

1. When somebody opens KML file, every time an image is displayed they will be accessing my site, even if the uploaded picture is not stored there.

2. If the location of the PHP files changes and they are placed in a different place, the old pictures will still have the reference to my previous locations so they will not be displayed.

I could store only the url of the image, and when the kml file is generated add the location of the resize.php file, but that information is not something that
I pass in the URL when trackme sends a request.
I mean, everything is doable. I could pass that information in the request, but I don't want to make it more complicated.

I will think about it and I'll try to see if there is an easy way of adding the function but I want to keep TrackMe as simple as possible.

I really really appreciate your help!!

Okay, let's forget the KML file for the moment, and worry only about the web interface. Maybe the KML file should only store the image URL, and nothing else. Anyway, modifying the web interface was actually pretty easy.

To test it, I made a fake trip and added two positions. One has a large image, one has a tiny image. I only stored the uploaded image URL in the database as you currently do, but modified the index.php file as follows:

if($row['ImageURL']) {
$html .= " <tr><td colspan=\"2\"><a href=\"" . $row['ImageURL'] .
"\" target=\"_blank\"><img src=\"http://www.wafwot.com/gps/resize.php?img=" .
$row['ImageURL'] . "\" border=\"0\"></a></td></tr>";
}

I added the URL of my resize.php script to the img src. The code resizes the image link stored $row['ImageURL'] on the fly. It doesn't store a smaller file on the server. The results can be seen here:

http://www.wafwot.com/gps/index.php?ID=222&trip=122

The resize.php script doesn't have to be on the luisespinosa.com server. It could be distributed just as the other server files (index.php, gm.php, upload.php, etc.) are currently. If the file is distributed with the TrackMeServer package, then the resize.php can be called without the URL, like so:

if($row['ImageURL']) {
$html .= " <tr><td colspan=\"2\"><a href=\"" . $row['ImageURL'] .
"\" target=\"_blank\"><img src=\"resize.php?img=" .
$row['ImageURL'] . "\" border=\"0\"></a></td></tr>";
}

You can also pass custom variables to the script, variables which could be stored in the config.php file. Adding w=75 to the resize url, would force the images to be displayed at 75 pixels wide... like so:

if($row['ImageURL']) {
$html .= " <tr><td colspan=\"2\"><a href=\"" . $row['ImageURL'] .
"\" target=\"_blank\"><img src=\"resize.php?w=75&img=" .
$row['ImageURL'] . "\" border=\"0\"></a></td></tr>";
}

(There are several places in the index.php where ImageURL is called and displayed. I only copied one instance of it for this example. Here's a test page showing how the img tags are used with the resize.php script: http://www.wafwot.com/m/dot/imgtest.php)

jcleek
15-12-2007, 02:50 AM
I can include the resize code but is there a real need? As I have it now on the web interface the thumbnail is set to a width of 200. That is pretty small and I am not aware of any camera that takes photos that small so there should not be a photo thumbnail that has to be stretched to make it 200. When you click on the thumbnail it opens the full image in a new window: again no reason to resize.

Am I missing something?

jcleek
15-12-2007, 02:53 AM
Ah hah! I finally see the image overlap Odie was talking about. It absolutely is a server/browser issue. If the server doesn't render the box content fast enough the box isn't large enough. Where this is really seen is when images are added to points as the images take longer to render.

staryon
15-12-2007, 03:01 AM
I am not aware of any camera that takes photos that small so there should not be a photo thumbnail that has to be stretched to make it 200.

I think you're right. Maybe we are complicating this too much...

wafwot
15-12-2007, 06:40 AM
I can include the resize code but is there a real need? As I have it now on the web interface the thumbnail is set to a width of 200. That is pretty small and I am not aware of any camera that takes photos that small so there should not be a photo thumbnail that has to be stretched to make it 200. When you click on the thumbnail it opens the full image in a new window: again no reason to resize.

Am I missing something?

I think you're right. Maybe we are complicating this too much...

Well, here's one good reason. The TyTn II/Tilt/Kaiser phone has a 3 megapixel camera. If you have the camera set to take large high-quality pictures, a 3MP image can get pretty big. By using HTML to force the image size, you're still downloading the entire 3MP image, but displaying it in thumbnail size.

Using the resize script, the images are much smaller because the resolution is small.

Take the image of Deception Pass Bridge in my test trip (http://www.wafwot.com/gps/index.php?ID=222&trip=122).

http://www.wafwot.com/gps/pics/wafwot052048.jpg

That image is 2155x1592. That's a 3.5MP image. The size is 3.6 megabytes. That's a lot of image to download just for a thumbnail.

The resized thumbnail is only 6 kilobytes. In the words of Forrest Gump, that's all I got to say about that.

http://www.wafwot.com/m/dot/resize.php?img=http://www.wafwot.com/gps/pics/wafwot052048.jpg

The only time the viewer would have to download the entire image is if they want to see the full-sized image and clicked on the thumbnail. I'm on a 1 gigabit internet connection at work, and a 6 megabit circuit at home. Downloading 3.6 MB is no big deal for me. But what about the people on the $20 a month "entry-level" DSL circuit that only gets 768kbits to 1.5kbits? At 1.5kbits, a 3.6 MB image would take about 21 seconds. A 6 KB image would take about 3/100th of a second. I seem to recall a 400 KB limit, but 400 KB is still 66 times more data than needed.

I feel like I'm on a Senate Committee trying to get a defense budget approved. Ultimately, it's your program, and your imterface. There was a request for image resizing, and I just happened to have written something for a completely different project that I knew would help. I don't want to step on any toes... so I'll just leave good enough alone. No sour grapes here... You guys are putting together a great product, and I will continue to follow it and help out where I can.

staryon
15-12-2007, 11:51 AM
wafwot,

I know how you feel. I have been in that situation where you have to convince people about things (program design, sql schemas) that were so obvious to me!

I agree in most of what you say. It's just at this moment I prefer not too complicate it too much. I don't know if you have already tried to upload an image with TrackMe, but for this current version you cannot upload images bigger than 400KB. I will probably be increasing that value, but 3MB I think it's too much.

Let me tell you that my original idea was to resize the images BEFORE they got uploaded. You save bandwith, space on your server (AND MINE where I have 900 users!) and it's faster. I already had a function to resize images and it was working great, however the algorithm was not good enough when the image was too big, because it needs to be uncompressed on your PDA and I was getting Out of memory exceptions sometimes. However, if I can improve the algorithm I will put it back. I think this would resolve all the issues.

Once again, I really appreciate your help and it's great to have people like you contributing to a project like this! I'm not saying we won't add what you proposed, it's just let me see if I can find a way of resizing the images before which was always my first thought.

Thanks

jcleek
15-12-2007, 01:52 PM
I feel like I'm on a Senate Committee trying to get a defense budget approved. Ultimately, it's your program, and your imterface. There was a request for image resizing, and I just happened to have written something for a completely different project that I knew would help. I don't want to step on any toes... so I'll just leave good enough alone. No sour grapes here... You guys are putting together a great product, and I will continue to follow it and help out where I can.


Please don't feel that way. I didn't see a need to resize. Then again I have broadband at home and do not plan on actually uploading photos from my Kaiser. Your scenario just didn't make sense to me until your last post. Sometimes I am not the smartest guy and have to have things explained to me a couple of times before I get it.

I will look at resizing the thumbnail but don't want to change the full image view.

staryon
15-12-2007, 02:05 PM
Please don't feel that way. I didn't see a need to resize. Then again I have broadband at home and do not plan on actually uploading photos from my Kaiser. Your scenario just didn't make sense to me until your last post. Sometimes I am not the smartest guy and have to have things explained to me a couple of times before I get it.

I will look at resizing the thumbnail but don't want to change the full image view.

jcleek, next version will resize the images automatically before uploading them. So there is not need for doing this.

staryon
15-12-2007, 02:53 PM
New version available.

- New 'Manage trips' tool. From there you add, rename or delete existing trips.
- When uploading images, you can select pictures either from main memory or
from the storage card. You will also see thumbnail so you now what you are
going to upload.
- Images are resized automatically before uploading to the server.

staryon
15-12-2007, 03:26 PM
I just made some cleaning in the generated CAB file, and I have got rid of some DLLs that are not needed.

I just uploaded a new version again.

My recommendation is that you guys uninstall the program and delete the folder TrackMe (you can make a backup of the config.dat and local.sdf files) so you will have a fresh and clean copy of TrackMe.

odie3
15-12-2007, 04:32 PM
New version available.

- New 'Manage trips' tool. From there you add, rename or delete existing trips.
- When uploading images, you can select pictures either from main memory or
from the storage card. You will also see thumbnail so you now what you are
going to upload.
- Images are resized automatically before uploading to the server.

Nice new Manage Trips!! BTW, can we say click yes once to the delete rather than for everyone trip that you select (in my case I just selected/deleted ~15 trips).

Wow, you found a way to get to the Storage Card! Great job on that and thank you very much for not giving up (I thought you had)

Problem:
When I deleted the test trips with Picture uploads, the pictures in trackme\pictures\ did not get removed. I am thinking you should delete the picture if the trip is getting removed too.

It is also nice that I can upload any of my 3mp pictures, however I am sad that the full version is also resized. This pretty much leaves sharing the pictures with family/friends for printing.

wafwot
15-12-2007, 09:53 PM
Wow.

We need to get on the same page.

From previous posts, leaving the original image alone seemed to be a priority, now the images are resized BEFORE being sent to the server.

I think resizing before send is a great feature. However, it should be an option. If you're sending to Staryon's server, you shouldn't get a choice.

For example, let's say a new option (maybe a new option tab) for resizing images was added to the TrackMe program. Here's what I think would make ImageURLs functional for everyone:


The settings on the "Images" tab would only be visible/settable if your server IP is not set to luisespinosa.com. Maybe another checkbox on the Remote tab called "Use public server" that would automatically fill in the server info and Image settings so images are always resized before being uploaded. If the "Use public server" checkbox is checked, then the Images tab settings would be hidden (like the advanced settings) or replaced with a note stating image options are not settable on the public server. Just ideas.

If the Remote options are set to use a custom/personal server, then the Images options are configurable. Options could include a checkbox to resize before uploading, dimension for resized images, etc. This would allow people who don't have unlimited data plans or slow EDGE network connections to control how images are uploaded.

And I won't even go into a new option in the config.php file for resizing originals on the fly... :D

Like I said... these are just suggestions. Take 'em or leave 'em. I'm heading over to PayPal now...

staryon
16-12-2007, 12:33 AM
Thanks for your suggestions guys. ;)

I will leave as it is for a while. It was really a pain to get the uploading thing to work (servers are very picky when uploading stuff) and also find out how to show the images from the storage card. I'll take a break about all this stuff about images. I'll move to other things now for a while.

ok, I have a question.

IS THERE ANYBODY USING LOCAL STORAGE WHEN STORING GPS POSITIONS?

Every time that I add something to TrackMe I have to create 2 versions, one for remote and one for local. Even if you choose local sometimes you need the server...
I don't like all this too much and I'm thinking in getting rid of the local storage.
You would still have the option to store offline data though.

So if people are not using this I will get rid of that. I think it's also a little bit confusing for new users.

What do you guys think?

turtle2472
16-12-2007, 12:39 AM
I have been using it for a little bit and I never store locally. Right now I'm using your server but will likely move to my own in the near future.

jcleek
16-12-2007, 02:06 AM
I never use local storage

wafwot
16-12-2007, 03:11 AM
IS THERE ANYBODY USING LOCAL STORAGE WHEN STORING GPS POSITIONS?


I never use local storage, either.

Lidberg
16-12-2007, 03:42 AM
I vote for getting rid of local storage option if it will make development easier. I have never used it.

odie3
16-12-2007, 03:56 AM
I never use it either but knowing my luck I'll need if you removed it! :lol:

staryon
16-12-2007, 01:42 PM
ok guys, new version available.

I haven't removed Local Storage, but I have limited a few functions and I have completely separated Local from Storage, so I think everything looks much better.

I'm working now on a Color Scheme for TrackMe, so people can select the color of the background.

mattmcl1
16-12-2007, 03:49 PM
Just tried TRACKME and think the concept is GREAT!! Thanks so much for putting this together!!

I have set this up on my own server and best I can tell everything is setup properly. Data is uploading from my Kaiser to my DB. However, the map is not displaying properly...alll I get is gray in the map box...

Here is the code from my page (Lat/Long redacted) - Any help appreciated!

<div id="map" style="width: 600px; height: 400px; text-align:center; float:center; border:1px solid black;"></div>
<script type="text/javascript">
//<![CDATA[
var iconRed = new GIcon(); iconRed.image = 'http://maps.google.com/mapfiles/ms/micons/red-dot.png'; iconRed.shadow = 'http://maps.google.com/mapfiles/ms/micons/msmarker.shadow.png'; iconRed.iconSize = new GSize(32, 32); iconRed.shadowSize = new GSize(59, 32); iconRed.iconAnchor = new GPoint(15, 32); iconRed.infoWindowAnchor = new GPoint(5, 1); var iconLtBlue = new GIcon(); iconLtBlue.image = 'http://labs.google.com/ridefinder/images/mm_20_gray.png'; iconLtBlue.shadow = 'http://labs.google.com/ridefinder/images/mm_20_shadow.png'; iconLtBlue.iconSize = new GSize(12, 20); iconLtBlue.shadowSize = new GSize(22, 20); iconLtBlue.iconAnchor = new GPoint(6, 19); iconLtBlue.infoWindowAnchor = new GPoint(5, 1); var iconGreen = new GIcon(); iconGreen.image = 'http://maps.google.com/mapfiles/ms/micons/green-dot.png'; iconGreen.shadow = 'http://maps.google.com/mapfiles/ms/micons/msmarker.shadow.png'; iconGreen.iconSize = new GSize(32, 32); iconGreen.shadowSize = new GSize(59, 32); iconGreen.iconAnchor = new GPoint(15, 32); iconGreen.infoWindowAnchor = new GPoint(5, 1); var geocoder = null; var map = null; var online = true; var bounds = new GLatLngBounds(); var map = new GMap2(document.getElementById("map"));
map.setCenter(new GLatLng(0, 0), 0, Hybrid);
map.addControl(new GLargeMapControl());
map.addControl(new GMapTypeControl());
map.addControl(new GScaleControl());
map.enableScrollWheelZoom();
function createGreenMarker(point, number)
{
var marker = new GMarker(point, iconGreen);
var html = number;
GEvent.addListener(marker, "click", function() {marker.openInfoWindowHtml(html);});
return marker;
};
function createGrayMarker(point, number)
{
var marker = new GMarker(point, iconLtBlue);
var html = number;
GEvent.addListener(marker, "click", function() {marker.openInfoWindowHtml(html);});
return marker;
};
function createRedMarker(point, number)
{
var marker = new GMarker(point, iconRed);
var html = number;
GEvent.addListener(marker, "click", function() {marker.openInfoWindowHtml(html);});
return marker;
};
var point = new GLatLng(##.########,-##.########);
var marker = createGreenMarker(point,'<table border="0"><tr><td align="center"><b>User: </b>mattmcl1</td><td align="right"><b>Trip: </b>None</td></tr><tr><td colspan="2"><hr width="400"></td></tr><tr><td align="left"><b>Time: </b>December 16, 2007, 8:10 am</td><td align="right"><b>Time Traveled: </b></td></tr><tr><td align="left"><b>Speed: </b>0.00 mph </td><td align="right"><b>Avg Speed: </b>0.44 mph</td></tr><tr><td align="left"><b>Altitude: </b>-77.10 feet</td><td align="right"><b>Dist. Traveled: </b>0.00 miles</td></tr> <tr><td colspan="2">Point 1 of 1</td></tr> <tr><td colspan="2"><hr width="400"><b><a href="http://forum.xda-developers.com/showthread.php?t=340667" target="_blank">TrackMe</a> Luis Espinosa</b><br><a href="http://www.luisespinosa.com/" target="_blank">http://www.luisespinosa.com/</a></td></tr></table>');
map.addOverlay(marker);
bounds.extend(marker.getPoint());
map.setZoom(map.getBoundsZoomLevel(bounds)-1);
map.setCenter(bounds.getCenter());
//]]>
</script>

jcleek
16-12-2007, 04:00 PM
How about just giving us a link to the page? Much easier to see what is happeneing if we can see what is happening...

mattmcl1
16-12-2007, 04:32 PM
How about just giving us a link to the page? Much easier to see what is happeneing if we can see what is happening...

www.mclaughlins.us/trackme/matt/index.php

warmkiwi99
16-12-2007, 05:45 PM
OK, I admit defeat. Using your latest version, how do you create a local file then load it remotely?

Also, when uploading a picture, I don't get a folders/browse option?

Thanks

btw i use local storage but could probably live without it if it makes development easier......

jcleek
16-12-2007, 07:07 PM
www.mclaughlins.us/trackme/matt/index.php

The problem is that in your config file you have this line:

$googleview = "hybrid";

That is not a valid view for Google Maps. If you want the hybrid view you need to set this line to:

$googleview = "G_HYBRID_MAP";

Here is a copy of your code with the correct setting:

http://www.getcis.com/trackme/test.html

You can see it works perfectly. Make the change to your config.php and you should be fine.

warmkiwi99
16-12-2007, 08:09 PM
i don't need offline storage

staryon
16-12-2007, 09:49 PM
OK, I admit defeat. Using your latest version, how do you create a local file then load it remotely?

Also, when uploading a picture, I don't get a folders/browse option?

Thanks

btw i use local storage but could probably live without it if it makes development easier......

sorry man... those are the features that I have removed.
do you use that very often? :(

I just want to make everything consistent. If you say 'Local mode' I don't want TrackMe to use any remote servers.
Many users are always confused with that. But I feel very bad is removing functionality...

keepcoolman
16-12-2007, 10:03 PM
Hi,

great software!

I use both - local storage and remote and feel very comfortably to have both.

thanks
keepcoolman

Blar
16-12-2007, 10:15 PM
WOW! I just played around with this program in my back yard, and this program is nuts! This is going to prove very handy when I travel and don't always want to update friends where I am. Now they can just login to your site and presto! Well, I guess it is time to donate...

Jens-
16-12-2007, 10:27 PM
Yesterday I installed the new version on my phone, I also installed the new files on my server and ever since I don't see new GPS positions on the database.

On the phone it sais uploading... Position added correctly.
But when I look in the database no new positions.
And the strange thing is, new tripnames and new users are added to the database correctly!? Anyone with the same problem?

staryon
16-12-2007, 10:33 PM
Yesterday I installed the new version on my phone, I also installed the new files on my server and ever since I don't see new GPS positions on the database.

On the phone it sais uploading... Position added correctly.
But when I look in the database no new positions.
And the strange thing is, new tripnames and new users are added to the database correctly!? Anyone with the same problem?

Did you make the change in the database? There is new field that I added.
Check a few posts before, I included the script there. Maybe that is the problem.

mattmcl1
17-12-2007, 12:13 AM
The problem is that in your config file you have this line:

$googleview = "hybrid";

That is not a valid view for Google Maps. If you want the hybrid view you need to set this line to:

$googleview = "G_HYBRID_MAP";

Here is a copy of your code with the correct setting:

http://www.getcis.com/trackme/test.html

You can see it works perfectly. Make the change to your config.php and you should be fine.

Thanks a bunch! Works great!

wafwot
17-12-2007, 02:49 AM
I was playing around with the Google Maps API, and saw there's a new MapTypeControl.... and it looks pretty cool with TrackMe.

If ya wanna play (or jcleek wants to add it to the server pages), open index.php and add the following, somewhere around line 280 of the lastest version (somewhere after initializing GMap2):

$html .= " map.addMapType(G_PHYSICAL_MAP);\n";

You can optionally change your $googleview setting in config.php to G_PHYSICAL_MAP to make it your default view.

And if jcleek does add it to the server pages, it can be added to the install.php file as a choice for default map.

Pretty nice!

wafwot
17-12-2007, 04:14 AM
One thing that bugs me about zooming out and in with Google Maps is trying to center a new position before zooming.

For example, the TrackMe map shows the entire track when it loads. If you want to zoom in on a particular area (the start, end, or custom icon), you have to pan the map and "guesstimate" that the position you want to zoom in on is in the center before zooming in on it. I don't know about you, but I'm never on target.

I've seen that Yahoo Maps has a crosshair that make zooming in on the spot you want VERY easy... and just KNEW it could be done with Google Maps... It was pretty easy, actually, and here's the code I added to my index.php file to create floating crosshair on the map:

I've attached a crosshair.gif image, too.

$html .= " var centerCrosshair = new GIcon();\n";
$html .= " centerCrosshair.image = 'crosshair.gif';\n";
$html .= " centerCrosshair.iconSize = new GSize(17, 17);\n";
$html .= " centerCrosshair.iconAnchor = new GPoint(8, 8);\n";
$html .= " centerCross = new GMarker(map.getCenter(), { icon: centerCrosshair, clickable: false }); map.addOverlay(centerCross);\n";
$html .= " GEvent.addListener(map, \"drag\", function() { setCenterCross(); } );\n";
$html .= " GEvent.addListener(map, \"resize\", function() { setCenterCross(); } );\n";
$html .= " GEvent.addListener(map, \"zoomend\", function() { setCenterCross(); } );\n";
$html .= " function setCenterCross() {\n";
$html .= " centerCross.setPoint(map.getCenter());\n";
$html .= " };\n";

If you'd like to see a demo, check out my map at http://www.wafwot.com/gps/index.php?ID=222&trip=113

The crosshair won't display unless you start to scroll/pan/resize/zoom the map.

staryon
17-12-2007, 04:37 AM
it looks great!

The only thing is you have to use the Zoom bar on your left. I'm used to use the wheel mouse.

wafwot
17-12-2007, 05:11 AM
it looks great!

The only thing is you have to use the Zoom bar on your left. I'm used to use the wheel mouse.

Okay.

Add a couple more Listeners:


$html .= " GEvent.addListener(map, \"wheelup\", function() { setCenterCross(); } );\n";
$html .= " GEvent.addListener(map, \"wheeldown\", function() { setCenterCross(); } );\n";


That should fix the scroll wheel not showing the crosshairs. I can't test it since I don't have a wheel mouse on my laptop.

jcleek
17-12-2007, 02:33 PM
I was playing around with the Google Maps API, and saw there's a new MapTypeControl.... and it looks pretty cool with TrackMe.

If ya wanna play (or jcleek wants to add it to the server pages), open index.php and add the following, somewhere around line 280 of the lastest version (somewhere after initializing GMap2):

$html .= " map.addMapType(G_PHYSICAL_MAP);\n";

You can optionally change your $googleview setting in config.php to G_PHYSICAL_MAP to make it your default view.

And if jcleek does add it to the server pages, it can be added to the install.php file as a choice for default map.

Pretty nice!


It is important to note that although I can (and have) added this option to the config and install files, the buttons seen on the actual map to select NORMAL, SATELLITE and HYBRID are controlled by the Google GMapTypeControl() control and I can not just make a PHYSICAL button appear there. You can now select the PHYSICAL option but once you click off of it to NORMAL or some other option you will have to reload map data or the page to get back to PHYSICAL. At some point Google will do to the API what they have already done to the Google Maps page and that is remove the Satellite view and replace it completely with the Hybrid view and add the Physical one.

I will get the new files uploaded after a couple more tweaks and they should be available for download later.

Also, I am still looking for updates to the language file because of the fields I added last week.

jcleek
17-12-2007, 04:05 PM
Version 1.12 of the server display is ready. Staryon you can get it from the usual place, and please replace all of the files in your zip with the ones in mine. All files were updated.

Changes in 1.12:

1) Added option for G_PHYSICAL_MAP which displays a topographical map. (wafwot)
2) Added an option for a crosshair in the center of the displayed map. (wafwot)
3) Cleaned up the installer to fix some problems as well as the code in the index.php to make it easier to follow the output code for troubleshooting.

If you do not wish to re-run the install.php you will need to manually add the following lines to the config.php file:

// Display crosshair at map center (yes or no)
$crosshair = "yes";

wafwot
17-12-2007, 05:05 PM
Finally this is an important note:

The map type buttons seen on the actual map to select NORMAL, SATELLITE and HYBRID are controlled by the Google GMapTypeControl() control and I can not just make a PHYSICAL button appear there. You can now select the PHYSICAL option in the installer or config.php file but once you click off of it to NORMAL or some other option you will have to reload map data or the page to get back to PHYSICAL. At some point Google will do to the API what they have already done to the Google Maps page and that is remove the Satellite view and replace it completely with the Hybrid view and add the Physical one. Please do not report this as a bug as there is nothing I can do about the Google API.

Am I missing something? The addition of the PHYSICAL map adds a "Terrain" button to my map... to the right of the standard Map, Satellite, and Hybrid buttons. All TrackMe data is displayed on the Terrain/Physical map.

(btw, this my first post written from my phone.)

jcleek
17-12-2007, 05:17 PM
Am I missing something? The addition of the PHYSICAL map adds a "Terrain" button to my map... to the right of the standard Map, Satellite, and Hybrid buttons. All TrackMe data is displayed on the Terrain/Physical map.

Right you are. You gave me the instructions for adding that and I misunderstood and put it somewhere else. The package has been fixed and since Staryon hasn't updated his files yet we should be good. No version change.

Maartuhh
17-12-2007, 05:20 PM
Dear Luis,

I would like to thank you for such a great app! I can use this app to help people with a driving fear. Keep going!;)

M

staryon
17-12-2007, 06:16 PM
Files updated.

wafwot, the problem with the wheel mouse is still there. It only works if you place your mouse exactly over the crosshair and you don't move it.

staryon
17-12-2007, 06:16 PM
Dear Luis,

I would like to thank you for such a great app! I can use this app to help people with a driving fear. Keep going!;)

M

You're welcome! I'm glad this program could be useful for something like that.

Regards

phlunkie
17-12-2007, 06:57 PM
I would like to thank all involved in making this awesomely cool program.
:D Just loaded this morning and have been playing with it for an hour or so.
Thank you.

jcleek
17-12-2007, 07:44 PM
wafwot, the problem with the wheel mouse is still there. It only works if you place your mouse exactly over the crosshair and you don't move it.

Got a sample page that has the problem? Check out my page (http://track.getcis.com) and you can see that I don't have that problem with the new code. Or if you do have the problem on my page you need to look at your system perhaps. What web browser are you using?

odie3
17-12-2007, 07:46 PM
Got a sample page that has the problem? Check out my page (http://track.getcis.com) and you can see that I don't have that problem with the new code. Or if you do have the problem on my page you need to look at your system perhaps. What web browser are you using?

Same here, mine works too (and nice to have BTW). However, I am using Firefox...

staryon
17-12-2007, 07:50 PM
Got a sample page that has the problem? Check out my page (http://track.getcis.com) and you can see that I don't have that problem with the new code. Or if you do have the problem on my page you need to look at your system perhaps. What web browser are you using?

I tested your page with Firefox and IE. Same problem.
Try to move your mouse from one place to another every time that you scroll with the wheel mouse.

staryon
17-12-2007, 07:59 PM
I just recorded a video that shows the problem.

You can see that every time I move the wheel the map scrolls to the right, because the mouse pointer is located there.

http://luisespinosa.com/temp/error.avi

odie3
17-12-2007, 08:05 PM
I have a question about Force Updating (with a Comment, Picture, and Icon) when you have no internet connection. When doing a Forced update and your internet connection is down, do they get saved offline for later uploading?

I am going to be making a trip over the holidays where I know my PDA will lose internet connection for about 60% of the trip. During those times I want to take pictures of our stops we make and have them on my trackme site (but I'll need to upload them as offline positions).

Or is that was store offline/local is for?

staryon
17-12-2007, 08:09 PM
I have a question about Force Updating (with a Comment, Picture, and Icon) when you have no internet connection. When doing a Forced update and your internet connection is down, do they get saved offline for later uploading?

I am going to be making a trip over the holidays where I know my PDA will lose internet connection for about 60% of the trip. During those times I want to take pictures of our stops we make and have them on my trackme site (but I'll need to upload them as offline positions).

Or is that was store offline/local is for?

Yes, the only thing is you won't be able to store an offline position that include an image (unless that you already have the URL) because they need to be uploaded right away to the server.

jcleek
17-12-2007, 08:32 PM
I just recorded a video that shows the problem.

You can see that every time I move the wheel the map scrolls to the right, because the mouse pointer is located there.

http://luisespinosa.com/temp/error.avi


What I saw on your video is the expected behavior. The crosshair icon on the map does not change the scrollwheel behavior, and the behavior in your video is what is supposed to happen. The advantage of the crosshair is for those without a scrollwheel that must use the zoom level graph on the left side to allow them to center their view before zooming in. The way I see it your page is working correctly. Google Maps zooms using the wheel centered directly on the location of the icon.

staryon
17-12-2007, 08:46 PM
What I saw on your video is the expected behavior. The crosshair icon on the map does not change the scrollwheel behavior, and the behavior in your video is what is supposed to happen. The advantage of the crosshair is for those without a scrollwheel that must use the zoom level graph on the left side to allow them to center their view before zooming in. The way I see it your page is working correctly. Google Maps zooms using the wheeb centered directly on the location of the icon.

Really? In that case you should tell the guys from Yahoo maps ;) , because that works exactly how I expect and that's what I think wafwot was trying to replicate.

In YM, the map zoom in/out is based on the position of the crosshair and not where you mouse pointer is located.

bouyaka
17-12-2007, 08:46 PM
hello Staryon and bravo for this gr8 app! :D
when I send "my position" (on of my favorite feature) the contact receive a mail with a link to a googlemap in "MAP" mod. would it be easily possible to have anoption in the app configuration that enable you to choose between : "MAP, MIX or AERIAL" map. and why not a zoom level !!
bravo again!

jcleek
17-12-2007, 08:56 PM
Really? In that case you should tell the guys from Yahoo maps ;) , because that works exactly how I expect and that's what I think wafwot was trying to replicate.

In YM, the map zoom in/out is based on the position of the crosshair and not where you mouse pointer is located.


If you go to http://maps.google.com I believe you will see the same behavior. Yes? No?

staryon
17-12-2007, 08:57 PM
If you go to http://maps.google.com I believe you will see the same behavior. Yes? No?

I don't understand your question. In Google Maps there is not crosshair.

staryon
17-12-2007, 08:59 PM
hello Staryon and bravo for this gr8 app! :D
when I send "my position" (on of my favorite feature) the contact receive a mail with a link to a googlemap in "MAP" mod. would it be easily possible to have anoption in the app configuration that enable you to choose between : "MAP, MIX or AERIAL" map. and why not a zoom level !!
bravo again!

In the email, I provide 2 links, one for Mobile view and one for Desktop view.
Are you talking about the Desktop view?

bouyaka
17-12-2007, 09:13 PM
booth of them in fact. I think it's more fun for pepole to see where I am than the name of the street where i am :p
and maybe if I can link this command to to a key, I would love that! I Know it's not the goal of this software but that could be e little bonus!:D

staryon
17-12-2007, 09:20 PM
booth of them in fact. I think it's more fun for pepole to see where I am than the name of the street where i am :p
and maybe if I can link this command to to a key, I would love that! I Know it's not the goal of this software but that could be e little bonus!:D

bouyaka, on the right there are 3 buttons where they can choose either Map, Satellite or Terrain. Why don't they just click on that?

bouyaka
17-12-2007, 09:20 PM
or a more creazy idear would be to send a map by MMS but i think it's not possible because the mobile phone can not generate the map...?:confused:

odie3
17-12-2007, 09:26 PM
Yes, the only thing is you won't be able to store an offline position that include an image (unless that you already have the URL) because they need to be uploaded right away to the server.

Might this be supported at some point in the future? Tagging a photo to a offline position?

staryon
17-12-2007, 09:28 PM
Might this be supported at some point in the future? Tagging a photo to a offline position?

Not sure. It's complicated to do that right now.

odie3
17-12-2007, 09:29 PM
I'll take a "not sure" over a "no" any day. ;)

jcleek
17-12-2007, 09:38 PM
I don't understand your question. In Google Maps there is not crosshair.

Forget about the crosshair. The crosshair has no functional value. It does not change the way zooming works.

The reason for the crosshair can be seen this way: go to one of your routes. Any route will do but it needs like 3 points or more. Notice how the entire route shows up in the window? Look at one of the points furthest away from the center of the map and focus on that one. Using ONLY the zoom bar on the left of the map, zoom in the maximum detail level on that point. If you just hit the + to zoom in, notice how that point eventually goes off the page? Using the zoom bar on the left you have no control on where the zoom action is centered: it centers on the center of the map. Enter the crosshair which gives you a graphic reference of the dead center of the map. You can pan the map to put the point you want to see at the center, and then successfully zoom in on it with the zoom bar.

staryon
17-12-2007, 09:39 PM
I'll take a "not sure" over a "no" any day. ;)

come on odie3... do you remember what happened with this problem showing pictures from the storage card?. At the end I found a solution for that. :p
It can be the same with this!

Actually I really need that feature. I'm in Spain and I use offline data all the time because I don't have any internet plans here. Sometimes I would like to take a picture and upload the position and it's not possible... I wish I could tell you there is an easy fix!

staryon
17-12-2007, 09:41 PM
Forget about the crosshair. The crosshair has no functional value. It does not change the way zooming works.


Well, that's your opinion. Not mine. Did you check Yahoo maps?
It really has a 'functional value' there.

jcleek
17-12-2007, 09:46 PM
Well, that's your opinion. Not mine. Did you check Yahoo maps?
It really has a 'functional value' there.

I mean on the google maps display page it serves no purpose. It is just a graphic and has no real functional value. I am not familiar with Yahoo maps, but I am just answering based on the behavior on Google maps. The crosshair just marks the center of the map.

odie3
17-12-2007, 10:01 PM
come on odie3... do you remember what happened with this problem showing pictures from the storage card?. At the end I found a solution for that. :p
It can be the same with this!

Actually I really need that feature. I'm in Spain and I use offline data all the time because I don't have any internet plans here. Sometimes I would like to take a picture and upload the position and it's not possible... I wish I could tell you there is an easy fix!

I am guessing you completely misunderstood my response of, "I'll take a "not sure" over a "no" any day."

In fact I was remembering your stated "No" for Storage Card browsing (then like 15 minutes later you had it fixed).

Any ways, I meant that there is hope since you stated "Not Sure", rather than a "No". So I was being positive, rather than negative. Sorry if I came across that way. :(

staryon
17-12-2007, 10:44 PM
I am guessing you completely misunderstood my response of, "I'll take a "not sure" over a "no" any day."

In fact I was remembering your stated "No" for Storage Card browsing (then like 15 minutes later you had it fixed).

Any ways, I meant that there is hope since you stated "Not Sure", rather than a "No". So I was being positive, rather than negative. Sorry if I came across that way. :(

oopss.... sorry man, too many messages today!

wafwot
18-12-2007, 12:55 AM
Well, that's your opinion. Not mine. Did you check Yahoo maps?
It really has a 'functional value' there.

I mean on the google maps display page it serves no purpose. It is just a graphic and has no real functional value. I am not familiar with Yahoo maps, but I am just answering based on the behavior on Google maps. The crosshair just marks the center of the map.

The crosshairs are just a visualization of the center of the map. From what I can tell, zooming in on the map -- either with the API map control, or the wheel mouse, on both Google and Yahoo Maps -- always zooms on the center of the map.

I don't see any functional difference between Yahoo Maps and Google maps when it comes to the crosshairs. I even "borrowed" a co-worker's workstation to try it out. Both Yahoo Maps and Google Maps zoom in and out on the center of the map using the mouse wheel or the built-in API control.

The only difference I could see was Yahoo Maps maps recenters the map on click. That's easily doable, if you want, by adding a new Listener:

$html .= " GEvent.addListener(map, \"click\", function(marker, point) { if(! marker) { map.panTo(point); map.setCenter(point); setCenterCross(); } } );\n";

I'm not a big fan of the click-to-center (center on click) functionality, though... but there it is.

I did find another little tidbit I think is really cool. The "overview map inside a map" in the lower right-hand corner. It's a smaller, zoomed out version of the current map that allows you to drag a frame. You can see an example on the main Google Maps page.

Just add this after initializing GMap2:

$html .= " map.addControl(new GOverviewMapControl());\n";

I found that the crosshairs didn't update if you use the overview map to pan. A simple fix it to add yet another listener with all the others:

$html .= " GEvent.addListener(map, \"move\", function() { setCenterCross(); } );\n";

All of these little "add-ons" to the map could be controlled in the config.php...

staryon
18-12-2007, 01:25 AM
I don't see any functional difference between Yahoo Maps and Google maps when it comes to the crosshairs. I even "borrowed" a co-worker's workstation to try it out. Both Yahoo Maps and Google Maps zoom in and out on the center of the map using the mouse wheel or the built-in API control.


This is my last post about this. I'm tired of wasting my time with this.

Here are 2 videos showing a place in Google Maps and the same place with Yahoo maps. I zoom in using ONLY the mouse wheel. You can see that the results ARE COMPLETELY DIFFERENT.

Google video (http://luisespinosa.com/temp/google.avi)
Yahoo video (http://luisespinosa.com/temp/yahoo.avi)

ifrew
18-12-2007, 02:26 AM
Hi,

I just downloaded and installed latest version on a WM6 blackjack II. First time posting to this forum. I get a NotSupportedException at Microsoft.AGL.Common.MISC.HandleAR(). Installation says that if you have WM6 you are set to go. Is this a know issue? Couldn;t see any threads on the problem.

Cheers

Iain

staryon
18-12-2007, 02:36 AM
Hi,

I just downloaded and installed latest version on a WM6 blackjack II. First time posting to this forum. I get a NotSupportedException at Microsoft.AGL.Common.MISC.HandleAR(). Installation says that if you have WM6 you are set to go. Is this a know issue? Couldn;t see any threads on the problem.

Cheers

Iain

Hi ifrew,

Never seen that error before. Could you double check the version of the Compact Framework installed on your PDA?

Thanks

ParrotSquawk
18-12-2007, 03:13 AM
Any way to get my Kaiser GPS to appear as a GPS device to my laptop so I can use program like Streets and Trips or Delorme Street Atlas???

jcleek
18-12-2007, 03:37 AM
This is my last post about this. I'm tired of wasting my time with this.

Here are 2 videos showing a place in Google Maps and the same place with Yahoo maps. I zoom in using ONLY the mouse wheel. You can see that the results ARE COMPLETELY DIFFERENT.

Google video (http://luisespinosa.com/temp/google.avi)
Yahoo video (http://luisespinosa.com/temp/yahoo.avi)

Uh, wow. Sorry I am ignorant about Yahoo maps. IF you don't want the crosshairs just set $crosshairs = "no" in the config. I am also sorry I do not know how to emulate the yahoo maps behavior in Google maps...

jcleek
18-12-2007, 03:54 AM
The only difference I could see was Yahoo Maps maps recenters the map on click. That's easily doable, if you want, by adding a new Listener:

$html .= " GEvent.addListener(map, \"click\", function(marker, point) { if(! marker) { map.panTo(point); map.setCenter(point); setCenterCross(); } } );\n";

I'm not a big fan of the click-to-center (center on click) functionality, though... but there it is.

I did find another little tidbit I think is really cool. The "overview map inside a map" in the lower right-hand corner. It's a smaller, zoomed out version of the current map that allows you to drag a frame. You can see an example on the main Google Maps page.

Just add this after initializing GMap2:

$html .= " map.addControl(new GOverviewMapControl());\n";

I found that the crosshairs didn't update if you use the overview map to pan. A simple fix it to add yet another listener with all the others:

$html .= " GEvent.addListener(map, \"move\", function() { setCenterCross(); } );\n";

All of these little "add-ons" to the map could be controlled in the config.php...

Added. All options are in the config and the installer is updated too. Staryon the file is in the same location.

Version 1.13 of the server files includes these updates:

1) Option to add click-to-center. (wafwot)
2) Option for inset overview of map. (wafwot)

staryon
18-12-2007, 04:00 AM
files updated

v3patel
18-12-2007, 06:14 AM
Wow ... works perfectly. Good work Staryon. I'm really eager to see how you did it. Hope to see you in closest buddy. I live in sorrounding area of your work map.

staryon
18-12-2007, 02:32 PM
I have a question about Force Updating (with a Comment, Picture, and Icon) when you have no internet connection. When doing a Forced update and your internet connection is down, do they get saved offline for later uploading?

I am going to be making a trip over the holidays where I know my PDA will lose internet connection for about 60% of the trip. During those times I want to take pictures of our stops we make and have them on my trackme site (but I'll need to upload them as offline positions).

Or is that was store offline/local is for?

odie3, I have good news for you for the next version ;)

Vs1979
18-12-2007, 03:31 PM
Does anyone know what would be required on an IIS box, perhaps ASP page, running MS SQL to upload to instead of PHP box.

Many Thanks

odie3
18-12-2007, 04:11 PM
odie3, I have good news for you for the next version ;)

You tease! :D

odie3
18-12-2007, 04:19 PM
Added. All options are in the config and the installer is updated too. Staryon the file is in the same location.

Version 1.13 of the server files includes these updates:

1) Option to add click-to-center. (wafwot)
2) Option for inset overview of map. (wafwot)

Nice updates - I really like the inset overview map!

staryon
18-12-2007, 04:27 PM
Does anyone know what would be required on an IIS box, perhaps ASP page, running MS SQL to upload to instead of PHP box.

Many Thanks

bwired was writing the necessary ASP pages to use them with TrackMe. However I haven't heard from him for a while. Not sure if he's still working on that.

staryon
18-12-2007, 05:06 PM
New version available.

- Ability to change the color scheme
- Force update. Now you can upload your pictures later (this is useful if you are storing offline data but want to store a position that contains an image)


Note:

When you change the color scheme, you will notice that some icons don't look very good. This happens because the icons are not transparent. If you have experience with Photoshop or similar program and would like to help, I can send you the original icons so you can modify them and I will include the new icons in TrackMe. Thanks

odie3
18-12-2007, 05:09 PM
Sure, email them to me - I believe you have my email address. I am not a Photoshop guru but I generally have luck making images transparent (sometimes).

staryon
18-12-2007, 05:15 PM
Sure, email them to me - I believe you have my email address. I am not a Photoshop guru but I generally have luck making images transparent (sometimes).

That was quick! Thanks a lot. Email sent.

ifrew
18-12-2007, 08:40 PM
Hi ifrew,

Never seen that error before. Could you double check the version of the Compact Framework installed on your PDA?

I couldn't see any specific reference to the CF version in the ABOUT screen in WM6. All I see is the CE OS version of 5.2.1620 (build 18125.0.4.2).

According to Microsoft web site every wm6 device comes preinstalled in ROM with "The .NET Compact Framework 2.0 Service Pack 1 (SP1) and Microsoft SQL Server™ 2005 Compact Edition are in the ROM of all Windows Mobile 6 devices, which allows your application to use .NET Compact Framework 2.0 and SQL Server 2005 Compact Edition without needing to distribute or install either product on the user's device."

Does that help?

Cheers

Iain

warmkiwi99
18-12-2007, 09:12 PM
Hi Staryon

New feature?

Keep the image upload as part of Forced Update but add another Image update where the timestamp of the image is associated with the timestamp of a position that has already been uploaded. This way you could run Trackem and take photos and then upload the images at home (via WiFi for example) and it would effectively geotag them using timestamps.

Possible?

Eitel
18-12-2007, 09:53 PM
Hi,

I just downloaded and installed latest version on a WM6 blackjack II. First time posting to this forum. I get a NotSupportedException at Microsoft.AGL.Common.MISC.HandleAR(). Installation says that if you have WM6 you are set to go. Is this a know issue? Couldn;t see any threads on the problem.

Cheers

Iain


The Blackjack uses WM6 Smartphone edition. This program runs under the PocketPC WM6 version. ;)

staryon
18-12-2007, 09:59 PM
The Blackjack uses WM6 Smartphone edition. This program runs under the PocketPC WM6 version. ;)

hmm... I know people using the program with Smartphone devices, at least with one of the first versions of TrackMe. I haven't tested myself though.

Something that I have in my to-do list is to create a specific version for smartphones, but who knows if I will end up doing it...

staryon
18-12-2007, 10:03 PM
Hi Staryon

New feature?

Keep the image upload as part of Forced Update but add another Image update where the timestamp of the image is associated with the timestamp of a position that has already been uploaded. This way you could run Trackem and take photos and then upload the images at home (via WiFi for example) and it would effectively geotag them using timestamps.

Possible?

It's a nice idea...but unfortunately not very easy to do because of the way TrackMe is implemented. Also I would have to show a list with all the positions that have a similar timestamp and let the user to choose one... I mean, it's doable, but it's a lot of work and I'm not sure if many people will really use that.

ifrew
18-12-2007, 10:07 PM
Well how confusing is that!! :-) I didn't think there was any branding difference between WM6 smartphone and pocket pc phone editions anymore. Certainly not when you buy a phone. So the question is, what would it take to getting this app working on a smartphone.

Thanks for the speedy replies in this forum.

Cheers
Iain

odie3
18-12-2007, 10:50 PM
It's a nice idea...but unfortunately not very easy to do because of the way TrackMe is implemented. Also I would have to show a list with all the positions that have a similar timestamp and let the user to choose one... I mean, it's doable, but it's a lot of work and I'm not sure if many people will really use that.

Well, I see that as a great idea - I would use it. What about that GPS Photo we have on our camera's, could that be worked on this?

staryon
18-12-2007, 11:04 PM
Well how confusing is that!! :-) I didn't think there was any branding difference between WM6 smartphone and pocket pc phone editions anymore. Certainly not when you buy a phone. So the question is, what would it take to getting this app working on a smartphone.

Thanks for the speedy replies in this forum.

Cheers
Iain

sorry ifrew, not sure if I'll end up doing it...

I have no idea about this... but is it possible to install WM6 pocket on that pda?

staryon
18-12-2007, 11:26 PM
Well how confusing is that!! :-) I didn't think there was any branding difference between WM6 smartphone and pocket pc phone editions anymore. Certainly not when you buy a phone. So the question is, what would it take to getting this app working on a smartphone.

Thanks for the speedy replies in this forum.

Cheers
Iain


ifrew, if you want to, try with this version that I just compiled for WM5 for Smartphones. Not sure what will happen when you run it, because I got like 200 compiler warnings, but you can give it a try:

http://luisespinosa.com/temp/TrackMe.WM5.Smartphone.CAB

aRGybaRGy
18-12-2007, 11:49 PM
Hi

I downloaded TrackMe this afternoon and I am stunned - what a super piece of software. I've been looking for something like this since my work mate showed me sportstracker on his nokia N95 - glad there's a much better tool on the PPC platform :)

Something I noticed driving home though is that not both trackme and TomTom can access the GPS device at the same time.

Is this a known issue, or is there something I don't appear to be doing?

Thinking about what would be nice to do with it whilst also running TomTom... wouldn't it be great if it could talk to TomTom via the TomTom API (if there is such a thing) and extract the destination and ETA and have the ability to add these into messages sent from the phone - link these into something like the geofence. If my destination is 'home' and my ETA is 5 minutes, send an SMS to my partner asking them to put the kettle on for a nice cup of tea!

Might also be able to grab co-ordinates and the like direct from TomTom API if you can't both use the GPS at the same time?


A further question about the link on your website to view journeys on top of Google Maps - it needs a login to be able to view journeys, although I thought I read somewhere about it being public as well as private - can someone point me in the right direction for public views of journeys - with no login required - or am I mistaken?

ifrew
19-12-2007, 12:23 AM
ifrew, if you want to, try with this version that I just compiled for WM5 for Smartphones. Not sure what will happen when you run it, because I got like 200 compiler warnings, but you can give it a try:

http://luisespinosa.com/temp/TrackMe.WM5.Smartphone.CAB
__________________
Hi,

I couldn't get the link to work. Says theres no site at that address? Is there a typo someplace? Love to try it for you.

Cheers

IAin

warmkiwi99
19-12-2007, 12:39 AM
OK, no probs. It's a great app as it is.

staryon
19-12-2007, 12:42 AM
__________________
Hi,

I couldn't get the link to work. Says theres no site at that address? Is there a typo so