Click here to Skip to main content
15,920,438 members
Home / Discussions / Mobile
   

Mobile

 
Question"This program excists. overwrite it?" - avert Pin
Imperial-X21-Mar-06 21:48
Imperial-X21-Mar-06 21:48 
AnswerRe: "This program excists. overwrite it?" - avert Pin
beniwtv4-Apr-06 23:05
beniwtv4-Apr-06 23:05 
QuestionHow to create on-screen keyboard on PocketPC Pin
trail20-Mar-06 0:55
trail20-Mar-06 0:55 
AnswerRe: How to create on-screen keyboard on PocketPC Pin
beniwtv4-Apr-06 22:52
beniwtv4-Apr-06 22:52 
Questionterminal service on pda Pin
contact ajo19-Mar-06 20:24
contact ajo19-Mar-06 20:24 
Questionobjectlist templates in Mobile Web Applications Pin
TheEagle19-Mar-06 18:18
TheEagle19-Mar-06 18:18 
QuestionPhone cannot access mobile web app anymore...why??? Pin
lnong17-Mar-06 11:17
lnong17-Mar-06 11:17 
QuestionReading in data from GPS Pin
prashantkgupta16-Mar-06 8:59
prashantkgupta16-Mar-06 8:59 
Hello all,

I am trying to create a Smart Mobile/GPS application using .Net 2003 framework. In addition for the GPS support I am using OpenNETCF SDK 1.4 library. I am having problems reading in data from the GPS . The following is my code snippet:

private void button1_Click(object sender, System.EventArgs e)
{
gps.BaudRate = OpenNETCF.IO.Serial.BaudRates.CBR_9600;
gps.ComPort = "COM1:";
textBox1.Text = gps.ToString() + "\n";
gps.GpsSentence += new OpenNETCF.IO.Serial.GPS.GPS.GpsSentenceEventHandler(gps_GpsSentence);
gps.GpsCommState += new OpenNETCF.IO.Serial.GPS.GPS.GpsCommStateEventHandler(gps_GpsCommState);


gps.Start();

}

private void gps_GpsSentence(object sender,GpsSentenceEventArgs e)
{
MessageBox.Show("calling");
textBox1.Text += "calling" ;
textBox1.Text += e.Sentence + " ";

}

private void gps_GpsCommState(object sender,GpsCommStateEventArgs e)
{
switch(e.State)
{
case OpenNETCF.IO.Serial.GPS.States.Running:
textBox1.Text += "GPS Started";
break;
case OpenNETCF.IO.Serial.GPS.States.Stopped:
textBox1.Text += "GPS Stop";
break;

}
}

When I run the code using a pocket PC emulator , the code fires gps_GpsCommState event (it always shows the message GPS started even when its not connected) , and more importantly it does not fire the gps_GpsSentence event ever. What is the problem?? Could anyone help me out with this. I would be greatly obliged. If you of any other way to read in data pls lemme know. Also let me know what is the problem with the code.



QuestionMP3 player on Win CE Pin
houari_id15-Mar-06 12:08
houari_id15-Mar-06 12:08 
AnswerRe: MP3 player on Win CE Pin
sebapi21-Mar-06 6:40
sebapi21-Mar-06 6:40 
GeneralRe: MP3 player on Win CE Pin
houari_id21-Mar-06 17:04
houari_id21-Mar-06 17:04 
QuestionMake a program autostart and create a tray icon for access Pin
spAAwn13-Mar-06 22:51
spAAwn13-Mar-06 22:51 
QuestionHow to create a connection for .NET Mobile to my local SQL2000? Pin
drexler_kk13-Mar-06 20:33
drexler_kk13-Mar-06 20:33 
QuestionInformation on Rapi.dll Pin
analytiks13-Mar-06 17:45
analytiks13-Mar-06 17:45 
AnswerRe: Information on Rapi.dll Pin
Vasudevan Deepak Kumar13-Mar-06 18:33
Vasudevan Deepak Kumar13-Mar-06 18:33 
Questionmobile agent Pin
karthik.N.Rao11-Mar-06 8:03
karthik.N.Rao11-Mar-06 8:03 
AnswerRe: mobile agent Pin
plot1722-Mar-06 7:59
plot1722-Mar-06 7:59 
QuestionSQLCE & SQL SERVER 2000 data replication Pin
Measum10-Mar-06 21:35
Measum10-Mar-06 21:35 
Questionapplication feature lock and un-lock Pin
raybert10-Mar-06 6:09
raybert10-Mar-06 6:09 
QuestionDibSectionLite Pin
Eugene Ochakovsky9-Mar-06 6:39
Eugene Ochakovsky9-Mar-06 6:39 
QuestionPC/PPC sync Pin
Willem_Le_Roux8-Mar-06 22:13
Willem_Le_Roux8-Mar-06 22:13 
QuestionWindows Service -ish application for pocket PC:s. Howto? Pin
spAAwn8-Mar-06 10:14
spAAwn8-Mar-06 10:14 
AnswerRe: Windows Service -ish application for pocket PC:s. Howto? Pin
Eugene Ochakovsky8-Mar-06 10:34
Eugene Ochakovsky8-Mar-06 10:34 
QuestionAutocomplete combobox Pin
feuch218-Mar-06 8:38
feuch218-Mar-06 8:38 
QuestionWM5 problem Pin
mav_erick7-Mar-06 20:43
mav_erick7-Mar-06 20:43 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.