Download the free trial version
Basic4android Video
Features
Tutorials and manuals
Showcase
Screenshots

Go Back   Android Development Forum - Basic4android > Basic4ppc (Windows Mobile) > Code Samples & Tips
Documentation Wiki Register Members List B4P Search Today's Posts Mark Forums Read

Code Samples & Tips Share your recent discoveries and ideas with other users.

Measuring distance on move

Reply
 
LinkBack Thread Tools Display Modes
  #11 (permalink)  
Old 07-02-2007, 01:02 PM
RandomCoder's Avatar
Basic4ppc Expert
 
Join Date: May 2007
Location: Derbyshire, UK
Posts: 623
Awards Showcase
Beta Tester 
Total Awards: 1
Default

No, only cGray will work with B4PPC.

Regards,
RandomCoder
__________________
"Defeat never comes to any man until he admits it."Josephus Daniels
Reply With Quote
  #12 (permalink)  
Old 07-02-2007, 01:04 PM
Cableguy's Avatar
Basic4ppc Expert
 
Join Date: Apr 2007
Location: N 41º11'30.30" W 8º39'46.60"
Posts: 2,344
Awards Showcase
Forum Contributer 
Total Awards: 1
Default

If you must use cgrey then add to globals:
cGrey=cGray
__________________
Paulo Gomes - Porto, Portugal - Living/Working in France
Mobile Device: Samsung Galaxy S, Android 2.3.4 CUstom ROM
Laptop: Toshiba NB100-130 (running on Win7Ultimate)

My Posts helped you? Consider Buying me a Porto Glass!
Reply With Quote
  #13 (permalink)  
Old 07-03-2007, 02:59 PM
JJM JJM is offline
Senior Member
 
Join Date: Apr 2007
Location: France
Posts: 150
Default

Hi John,


You have only to change gGrey by cGray and after all is OK.
If you want you can change cGrey by cRed or cBlue ...

Bye
JJ M
Reply With Quote
  #14 (permalink)  
Old 07-03-2007, 05:44 PM
Junior Member
 
Join Date: May 2007
Posts: 35
Default

Thanks for your help, but this problem I could solve by myself. It just wondered me that BerndB wrote "cgrey" in the code and Cableguy said "VB supports both spellings". So I was confused about the error.

@BerndB: Didn`t you test your version?
Reply With Quote
  #15 (permalink)  
Old 08-04-2007, 11:32 PM
Junior Member
 
Join Date: May 2007
Location: Germany
Posts: 45
Default

Hi agratec,

I was busy last time, so I didn't join the forum...

I use Version 5, and usually only work on PPC.
I did test the code, but it was only compiled on the PPC. Your errormessage you got on the PC?
As far as I remember the compiler ignored 'cgrey' - I didn't receive an error message - but the color was an other kind of gray than cGray.

I didn't notice it that time, and in principle the code worked - so I didn't worry about cGrey and cGray ....

Sorry for the confusion I produced

regards BerndB
Reply With Quote
  #16 (permalink)  
Old 08-28-2007, 01:43 AM
Junior Member
 
Join Date: May 2007
Posts: 25
Default Utm Number

I tried your program but have a problem on the xutm. This constantly gives me the wrong number on the utm(1) from decimal lat.My lat is about 36 but get a number like 64568. Have you checked this? I am using a hp6515. Is it possible the gps data string is wrong? The y coordinate seems to be ok. Also, what is condition "A"?

Thanks
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Calculating distance abastien Code Samples & Tips 8 01-10-2009 08:49 AM
move to the last row at a table Georg Questions (Windows Mobile) 2 05-20-2008 08:43 PM
GPS Distance Problem Georg Questions (Windows Mobile) 6 04-25-2008 04:10 AM
Distance-test on UTM and LAT-LON Put Claude Questions (Windows Mobile) 1 10-16-2007 01:06 PM
Distance Calculator PatrikL Share Your Creations 7 04-30-2007 05:15 PM


All times are GMT. The time now is 10:32 PM.


Powered by vBulletin® Version 3.6.12
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0