| Author |
Message |
plusminus Site Admin

Joined: 14 Nov 2007 Posts: 2102 Location: Germany
|
Posted: Sun Mar 09, 2008 12:47 pm Post subject: |
|
|
Hello zoe,
did you also try pushing the file via console/terminal
Regards,
plusminus
_________________
| Android Development Community / Tutorials |
|
| Back to top |
|
 |
zoe11 Freshman
Joined: 25 Feb 2008 Posts: 5 Location: Indonesia
|
Posted: Sun Mar 09, 2008 5:35 pm Post subject: still not working..!!! |
|
|
yes, i already do that too but i always failed to push the $GPRMC?!?
I already succeded to push the nmea($GPRMC for jakarta route) file into emulator via adb but the ME location always point somewhere around india and not jakarta despite how many times i restart the emulator.....
|
|
| Back to top |
|
 |
plusminus Site Admin

Joined: 14 Nov 2007 Posts: 2102 Location: Germany
|
|
| Back to top |
|
 |
rawad00 Once Poster
Joined: 22 Feb 2008 Posts: 1 Location: France
|
Posted: Tue Apr 15, 2008 9:58 am Post subject: Your GPRMC checksum doesn't work, try this one |
|
|
Your GPRMC checksum doesn't work, try this one
Try it , and compare the results....with the one you gave and the $GPRMC sentence examples you gave...
| Java: | public String checkSum(String sentence){
//Sentence between $ and *
String message = (String) sentence.subSequence(sentence.indexOf('$')+1, sentence.indexOf('*'));
int checksum = 0;
for(int i = 0; i < message.length(); i++){
checksum ^= (byte) message.charAt(i);
}
return Integer.toHexString(checksum).toUpperCase();
} |
_________________ !! R@w@d !! |
|
| Back to top |
|
 |
nithin.warier Developer
Joined: 28 Feb 2008 Posts: 36
|
Posted: Mon May 05, 2008 5:55 am Post subject: |
|
|
hi plusminus,
i am creating a mock location provider for Chennai (India). I created few sentences in nmea file, the locations file and properties file. But i came across one problem .
1. In the getCheckSum(String sentence) function, how can we get the sentence.
2. using push, shall we can push the folder(test1) to eclipse.
please reply immeadiately,
Thanks
Nithin
|
|
| Back to top |
|
 |
plusminus Site Admin

Joined: 14 Nov 2007 Posts: 2102 Location: Germany
|
Posted: Tue May 06, 2008 8:41 pm Post subject: |
|
|
Hello nithin.warier,
I strongly suggest using kml
If you choose kml its a job of minutes
You'll find info on how to set up a route using kml here on anddev.
Regards,
plusminus
_________________
| Android Development Community / Tutorials |
|
| Back to top |
|
 |
nithin.warier Developer
Joined: 28 Feb 2008 Posts: 36
|
Posted: Wed May 07, 2008 5:03 am Post subject: |
|
|
Thanks plusminus,
i used kml file and its working..
thank you very much, anddev is helping me a lot..
|
|
| Back to top |
|
 |
plusminus Site Admin

Joined: 14 Nov 2007 Posts: 2102 Location: Germany
|
Posted: Wed May 07, 2008 7:43 pm Post subject: |
|
|
| nithin.warier wrote: | Thanks plusminus,
i used kml file and its working..
thank you very much, anddev is helping me a lot.. |
Thats always nice to hear
_________________
| Android Development Community / Tutorials |
|
| Back to top |
|
 |
|