S SteveBuckley Member Licensed User Jul 9, 2009 #1 Hi, I am very new at all this. I am trying to write a simple GPS application. I started using the demo example but when I get a connection the code line: GPS1.GPSStream(Serial1.InputString) causes an OutOfMemoryException error (continue Yes/No MsgBox). I am using a XDA (O2) PDA phone. Does anyone know what the problem is? Regards Steve
Hi, I am very new at all this. I am trying to write a simple GPS application. I started using the demo example but when I get a connection the code line: GPS1.GPSStream(Serial1.InputString) causes an OutOfMemoryException error (continue Yes/No MsgBox). I am using a XDA (O2) PDA phone. Does anyone know what the problem is? Regards Steve
agraham Expert Licensed User Longtime User Jul 9, 2009 #2 I assume you are using the GPS and Serial2 libraries. As it's an XDA it is probably a rebadged HTC which isn't compatible with the .NET Serial Port class. Read the sorry tale here http://www.b4x.com/forum/questions-help-needed/972-gps-outofmemoryexception-since-wm6.html If it is a WM5.0 or later device then you need to use the GPSDriver library instead. Questions and Help would probably have been a better topic to post in but Erel can move the thread there if he wants too!
I assume you are using the GPS and Serial2 libraries. As it's an XDA it is probably a rebadged HTC which isn't compatible with the .NET Serial Port class. Read the sorry tale here http://www.b4x.com/forum/questions-help-needed/972-gps-outofmemoryexception-since-wm6.html If it is a WM5.0 or later device then you need to use the GPSDriver library instead. Questions and Help would probably have been a better topic to post in but Erel can move the thread there if he wants too!
S SteveBuckley Member Licensed User Jul 10, 2009 #3 agraham, Many thanks for your slightly curt but never the less extremely helpful response. As I said "I am very new at all this". Anyway I have now made contact with my GPS device.
agraham, Many thanks for your slightly curt but never the less extremely helpful response. As I said "I am very new at all this". Anyway I have now made contact with my GPS device.
agraham Expert Licensed User Longtime User Jul 10, 2009 #4 SteveBuckley said: Many thanks for your slightly curt Click to expand... Ref. Chambers Dictionary - "Short" and "concise" intended as I answer a lot of question here. "Discourteously brief" certainly not intended.
SteveBuckley said: Many thanks for your slightly curt Click to expand... Ref. Chambers Dictionary - "Short" and "concise" intended as I answer a lot of question here. "Discourteously brief" certainly not intended.
taximania Well-Known Member Licensed User Longtime User Jul 10, 2009 #5 SteveBuckley said: agraham, Many thanks for your slightly curt but never the less extremely helpful response. As I said "I am very new at all this". Anyway I have now made contact with my GPS device. Click to expand... Not wanting to sound 'curt' myself. Welcome to the forum Steve :sign0060: Don't 'fall out' with AGraham. You will find he's your best friend :icon_clap:
SteveBuckley said: agraham, Many thanks for your slightly curt but never the less extremely helpful response. As I said "I am very new at all this". Anyway I have now made contact with my GPS device. Click to expand... Not wanting to sound 'curt' myself. Welcome to the forum Steve :sign0060: Don't 'fall out' with AGraham. You will find he's your best friend :icon_clap:
Erel B4X founder Staff member Licensed User Longtime User Jul 10, 2009 #6 BTW, we have a new documentation center section which includes several tutorials and can help you get started.
BTW, we have a new documentation center section which includes several tutorials and can help you get started.