-
Re: GPSTracka - GPS Logging Application for Windows Mobile
:) Yip, that was on my list of things to do. Just looking out the source code for the GroupBox which is on this machine. This might be excessive but was thinking a GroupBox for Baud Rate, one for Comm Port and another for logging the text file. Maybe this is too much, but I will have a play tonight and see what I think.
-
Re: GPSTracka - GPS Logging Application for Windows Mobile
Hello there,
Right, I finally made a check in, still have some work to do on it, but here is a brief run through of what I have done:
- Altered Main Form to include panels for different sections
- Added ConfigurationManager class
- Added UIHelper class, but not working correctly yet
- Added GroupBox Control for segregatng Settings Panel (needs layout work)
- Altered flow of logic uses Verbose CheckBox, needs verification
If you get an error when you build, I am going to guess that it is due to the GroupBox control that I added.
For some reason, when you add the GroupBox control to the design surface it adds it using:
Code:
this.groupBox2 = new GPSTracka.GroupBox();
But this can't be found, you have to use:
Code:
this.groupBox2 = new GroupBox();
I couldn't figure out why it was doing that, but then again I didn't look at it very long, just got it working.
Let me know what you think.
Gary
-
Re: GPSTracka - GPS Logging Application for Windows Mobile
Hey, I just noticed that you checked something in. I'll download it tonight!
And let's pat ourselves on the back, we've just passed 100 downloads :D
Some site picked it up already and is 'advertising' it.
http://www.freewarepocketpc.net/ppc-...ps-tracka.html
-
Re: GPSTracka - GPS Logging Application for Windows Mobile
Wow!!! That's good!!
Yeah, I checked some stuff in, still needs some work though, but think things are starting to take shape. :)
-
Re: GPSTracka - GPS Logging Application for Windows Mobile
Oh, and you need to try the application out too. Don't worry, I'll keep reminding you until you do try it :afrog:
-
Re: GPSTracka - GPS Logging Application for Windows Mobile
Wow, I like the settings screen, very well done.
-
Re: GPSTracka - GPS Logging Application for Windows Mobile
Nice configuration manager too. I'm working out a few things right now. Surprising that there's no folder dialog in .NET CF, we'll just use the file browse dialog and parse the directory name out.
-
Re: GPSTracka - GPS Logging Application for Windows Mobile
I've done some code cleanup; some of the rearranging had broken other parts of the functionality which is understandable. I've also removed a reference to Microsoft.WindowsCE.Forms. I assume that was there because you were experimenting with something. After removing it, it still builds fine, so... let's see. Checking in now.
-
Re: GPSTracka - GPS Logging Application for Windows Mobile
Also, I can't figure out how to add GpsTracka.exe.config to the deployment CAB. I've modified the code so that it gets created if it doesn't exist. Got any ideas?
-
Re: GPSTracka - GPS Logging Application for Windows Mobile
Files checked in, please get latest, rebuild, test if everything's OK.
-
Re: GPSTracka - GPS Logging Application for Windows Mobile
Hey,
Ok, so bad news first....
I tried the application last night on my way home, and I wasn't getting anything in the TextBox. All I got was the message saying that the polling would start in 60 seconds. I get lot's of information in the textbox when I use Verbose, but not when I just hit start. I will try and do some more debugging in the next couple of days, I am sure we will get it working.
Did you get the config file added to the deployment project? I made sure it was added to the output folder on build, so you should be able to add the "content files" from the primary project and this will copy over the config file. That is from memory though, haven't done that recently.
Will grab the most recent code this morning and have a look.
Gary
-
Re: GPSTracka - GPS Logging Application for Windows Mobile
OK, for your situation, go into verbose mode and keep it running. The text will run by pretty fast, but what you're looking for is $GPGGA with some proper numbers after it. Usually, you'll get
$GPGGA,,,,,,0,,,*50
(Something like that)
That means that there's nothing yet.
Keep verbose running until you see
$GPGGA,192932.0,5121.490279,N....
In other words, not the series of empty commas. It'll take a while the first time and it's usually best if you're in the open. I'm pretty sure you'll be able to get something. If by 'on my way home' you mean in the train, it shouldn't work, I've tried it in trains and it usually doesn't.
-
Re: GPSTracka - GPS Logging Application for Windows Mobile
I did check for 'content file' and tried to build but it wouldn't work, which is why I added the code to create the config file. Adding the default config would be great. I'm going to update the screenshots on the codeplex page.
-
1 Attachment(s)
Re: GPSTracka - GPS Logging Application for Windows Mobile
Quote:
Originally Posted by mendhak
I did check for 'content file' and tried to build but it wouldn't work, which is why I added the code to create the config file. Adding the default config would be great. I'm going to update the screenshots on the codeplex page.
Hey,
What I was talking about was this:
Attachment 69053
From here you can select to include the content files of an application (i.e. the content file) in the CAB. At the minute, all that is in the Deployment Project is the Primary Output (i.e. the dll).
I think that should get it to work.
Gary
-
1 Attachment(s)
Re: GPSTracka - GPS Logging Application for Windows Mobile
Also, did you have a look at the UIHelper Class that I added? This is a very small point, but it would be good to get it working. On the main screen there is no need for the user to be able to type anything in, so there is no need for this:
Attachment 69054
The SIP Button, which pops up the on screen keyboard. The UIHelper Class includes a method for showing and hiding this button. The code works when you call the method on the click event of a button, but I tried to put it in the load event of the form, but this didn't work. I can only assume that when the form gets painted it puts the button back in. I tried putting the method call in a few places, but no luck.
Any ideas?
I know it's a small thing, but thought it was a nice touch.
Gary
-
Re: GPSTracka - GPS Logging Application for Windows Mobile
Quote:
Originally Posted by mendhak
OK, for your situation, go into verbose mode and keep it running. The text will run by pretty fast, but what you're looking for is $GPGGA with some proper numbers after it. Usually, you'll get
$GPGGA,,,,,,0,,,*50
(Something like that)
That means that there's nothing yet.
Keep verbose running until you see
$GPGGA,192932.0,5121.490279,N....
In other words, not the series of empty commas. It'll take a while the first time and it's usually best if you're in the open. I'm pretty sure you'll be able to get something. If by 'on my way home' you mean in the train, it shouldn't work, I've tried it in trains and it usually doesn't.
Ok I will give this a try as well. By "on my way home" I meant driving from work to the flat. This isn't the most valid of test again, but I have been able to get Google Maps to work well whilst driving this route, so I thought this might work as well. I will test the application again when not driving.
Gary
-
Re: GPSTracka - GPS Logging Application for Windows Mobile
Hey,
Just made a couple small changes, nothing major though.
Gary
-
Re: GPSTracka - GPS Logging Application for Windows Mobile
Quote:
Originally Posted by gep13
Hey,
What I was talking about was this:
Attachment 69053
From here you can select to include the content files of an application (i.e. the content file) in the CAB. At the minute, all that is in the Deployment Project is the Primary Output (i.e. the dll).
I think that should get it to work.
Gary
Yep, tried that. That's when I got the errors.
I tried it again and this time excluded 'logo.jpg' from the solution and it worked. How has logo.jpg been added? Is it embedded?
-
Re: GPSTracka - GPS Logging Application for Windows Mobile
Hmmm, I thought it had been added, but maybe it hasn't.
Let me check.
-
Re: GPSTracka - GPS Logging Application for Windows Mobile
Ok, I think I know what the problem is, but I will not be able to sort it until I get home. The logo.jpg in locked for check-out on my home machine. Not sure how that happened, but I will fix it tonight. Sorry about that. Still finding my way around TFS, more used to SVN :)
-
Re: GPSTracka - GPS Logging Application for Windows Mobile
No prob. Good luck with the testing thing. Keep your eyes on the road.
-
Re: GPSTracka - GPS Logging Application for Windows Mobile
Interesting problem. A search reveals to me that Form Load is called before the form is painted. I then tried Form Paint and Form GotFocus, no luck. I'll try some more.
-
Re: GPSTracka - GPS Logging Application for Windows Mobile
Quote:
Originally Posted by mendhak
Interesting problem. A search reveals to me that Form Load is called before the form is painted. I then tried Form Paint and Form GotFocus, no luck. I'll try some more.
Glad to know that I am not going crazy :D
-
Re: GPSTracka - GPS Logging Application for Windows Mobile
Hello,
I think I have corrected the problem with the logo for the about page. Not sure how it ended up getting locked on my home pc, but it is now checked in. Was thinking though, maybe it should be added as a resource, rather than just a file.
What do you think?
I was giving some thought to the application as well. Would it be worth extending the app to use the camera that is built into the phone? Obviously this wouldn't provide as good photos as a stand alone camera, but was just thinking it could be a nice addition.
Gary
-
Re: GPSTracka - GPS Logging Application for Windows Mobile
Yeah, a resource would be nice. I've been trying the SIP thing as well with no success :sick:
I'm guessing the app still isn't recording locations for you? :(
I wonder if it's working for Atheist.
Can you explain what you have in mind about the camera?
-
Re: GPSTracka - GPS Logging Application for Windows Mobile
Yeah, the SIP thing is a bit strange?!? As I said, it is only a small point, but just thought it made sense.
Nope, so far the tests that I have done haven't been successful. I am determined to get it working though, just haven't had enough time to devote to it. Studying for a Microsoft Exam at the minute, and I have just started some Spanish lessons as well, so got a lot on. Keeping getting sucked into VBForums as well, think I am going to have to go cold turkey for a bit :)
What I was thinking was this. Within a Mobile Device Application, you can get access to using the camera control, and can use the results, i.e. the image that is taken. So what i was thinking (this could be completely off by the way) was, from GPSTracka give the option to take a photo. When the photo is complete, save it off, as well as saving off a gpx file that is specfic to the photo, same same just different extension, that way you don't have to compare date times etc, you know exactly where the photo was taken.
Does that make sense? Does it seem sensible?
It was just something that occurred to me.
Gary
-
Re: GPSTracka - GPS Logging Application for Windows Mobile
I've been rethinking the SIP thing today. A coworker told me that they wanted to use it when their car was stuck on the highway (why?) and couldn't copy paste from the textbox.
Hmmm... I'll try to re-enable and allow copying from the textbox, you know, by holding down the stylus. (They could also press Ctl+C on the onscreen keyboard but the hold-down is more intuitive). I'll let the SIP go for now, we can readdress it.
-
Re: GPSTracka - GPS Logging Application for Windows Mobile
I also thought about your comments this morning. The camera thing could work, but there are a few things involved. The most intuitive scenario here would be that they go to the camera app they have, take a photo and the photo is geotagged by GPSTracka.
In such a situation, GPSTracka would need to somehow need to monitor the camera for a picture taken. Another problem posed is that in the .NET framework, you can insert EXIF data into an image by accessing an Image object's Properties collection at 0x0001, 0x0002 and so on. But there's nothing like that in the .NET CF, so another way will need to be found.
Anyways, it's a good idea. I understand you're busy and I'm appreciative of your help but not happy that it isn't working for you. It would have been nice if it did... right, so I'll look into this and see what can be done.
-
Re: GPSTracka - GPS Logging Application for Windows Mobile
Quote:
Originally Posted by mendhak
In such a situation, GPSTracka would need to somehow need to monitor the camera for a picture taken. Another problem posed is that in the .NET framework, you can insert EXIF data into an image by accessing an Image object's Properties collection at 0x0001, 0x0002 and so on. But there's nothing like that in the .NET CF, so another way will need to be found.
OpenNETCF to the rescue....
http://blog.markarteaga.com/Extracti...Framework.aspx
The link to the namespace in that article doesn't work, but you can get to it by browsing through the documention here:
http://www.opennetcf.com/library/sdf/
Gary
-
Re: GPSTracka - GPS Logging Application for Windows Mobile
Quote:
Originally Posted by mendhak
I've been rethinking the SIP thing today. A coworker told me that they wanted to use it when their car was stuck on the highway (why?) and couldn't copy paste from the textbox.
Hmmm... I'll try to re-enable and allow copying from the textbox, you know, by holding down the stylus. (They could also press Ctl+C on the onscreen keyboard but the hold-down is more intuitive). I'll let the SIP go for now, we can readdress it.
That's a good point actually. Hadn't considered the need to use that functionality.
-
Re: GPSTracka - GPS Logging Application for Windows Mobile
Success! With the latest version I was able to successfully track my little trip from the university to the apartment.
-
Re: GPSTracka - GPS Logging Application for Windows Mobile
Thanks Atheist.
And those OpenNetCF guys have thought of everything!
-
Re: GPSTracka - GPS Logging Application for Windows Mobile
Gep, you have a Sony Xperia X1, right?
Atheist, what phone do you have?
-
Re: GPSTracka - GPS Logging Application for Windows Mobile
Quote:
Originally Posted by mendhak
Gep, you have a Sony Xperia X1, right?
Atheist, what phone do you have?
That's right.
-
Re: GPSTracka - GPS Logging Application for Windows Mobile
Im a proud owner of a HTC Touch HD!
-
Re: GPSTracka - GPS Logging Application for Windows Mobile
I've put your (plural) phone models on the page there. Sure, it still isn't working for gep unless in verbose, but I said tested. :p
-
Re: GPSTracka - GPS Logging Application for Windows Mobile
Woot Woot!!! Over 200 downloads!!
-
Re: GPSTracka - GPS Logging Application for Windows Mobile
-
Re: GPSTracka - GPS Logging Application for Windows Mobile
In my 'extended delay' I was looking at using Objective C and how this application would be ported to the iPhone. Note: I do not like the iPhone, because the target audience would then be below-intelligence individuals and so this application wouldn't apply to them. I just wanted to see what would be involved.
I soon discovered, get this... if you write such an app for the iPhone:
a) The phone must always be on. No going to sleep, no suspend mode.
b) The app must always be in 'foreground'
c) The screen must be unlocked.
So that means if a Mactard decided to use such an app, they'd have to walk around with the iPhone in one hand constantly stroking it to ensure that it doesn't lock. Come to think of it, they probably do that anyways but my statement about below-average intelligence still stands.
-
Re: GPSTracka - GPS Logging Application for Windows Mobile
Quote:
Originally Posted by mendhak
300 downloads! :D
Has there been any feedback from anyone? Are they having any issues at all?