15,847,583 members
Home / Discussions / Android

Android

 Re: Help Member 1302311826-Apr-17 4:38 Member 13023118 26-Apr-17 4:38
 Re: Help Richard MacCutchan26-Apr-17 22:07 Richard MacCutchan 26-Apr-17 22:07
 how can i open a rar file with password Member 1298133419-Apr-17 4:05 Member 12981334 19-Apr-17 4:05
 Re: how can i open a rar file with password Nick_314159265419-Apr-17 5:08 Nick_3141592654 19-Apr-17 5:08
 Re: how can i open a rar file with password CHill6019-Apr-17 5:10 CHill60 19-Apr-17 5:10
 Re: how can i open a rar file with password David Crow24-Apr-17 10:55 David Crow 24-Apr-17 10:55
 Trying to set Imageview with background operations Gizem Alpaydin18-Apr-17 7:09 Gizem Alpaydin 18-Apr-17 7:09
 I don't find the mistake I make User 1106097926-Mar-17 5:15 User 11060979 26-Mar-17 5:15
 Having the coordinates from Android Sensor and try to calculate the distance in Excel according to: http://andrew.hedges.name/experiments/haversine/ dlon = lon2 - lon1 dlat = lat2 - lat1 a = (sin(dlat/2))^2 + cos(lat1) * cos(lat2) * (sin(dlon/2))^2 c = 2 * atan2( sqrt(a), sqrt(1-a) ) d = R * c (where R is the radius of the Earth) Enter my two Locations in the calculator (link above) shows me the right result, it is about 6m. When I calculate it by Excel I get 20Km instead of 6 meters I'm strongly assuming that I mix up rad vs. degree but I do not find where I'm wrong. Excel trigonometric functions expect everything in rad so I adjust lon1, lon2, lat1, lat2 first into rad... Where I could be wrong, any idea? Thank you in advance. N.B: I'm also not sure whether it is ok to use the sensor decimal values directly for trigonometric function, maybe this is the key Point.  c allways Shows me something very near PI, e.g. 3.14159145modified 19-Jan-21 21:04pm.
 Re: I don't find the mistake I make Richard MacCutchan26-Mar-17 8:00 Richard MacCutchan 26-Mar-17 8:00
 Re: I don't find the mistake I make User 1106097926-Mar-17 8:38 User 11060979 26-Mar-17 8:38
 Re: I don't find the mistake I make Richard MacCutchan26-Mar-17 8:40 Richard MacCutchan 26-Mar-17 8:40
 Re: I don't find the mistake I make User 1106097926-Mar-17 8:44 User 11060979 26-Mar-17 8:44
 Re: I don't find the mistake I make David Crow26-Mar-17 11:38 David Crow 26-Mar-17 11:38
 Re: I don't find the mistake I make User 1106097927-Mar-17 4:07 User 11060979 27-Mar-17 4:07
 Re: I don't find the mistake I make David Crow27-Mar-17 13:32 David Crow 27-Mar-17 13:32
 Re: I don't find the mistake I make Richard MacCutchan27-Mar-17 22:44 Richard MacCutchan 27-Mar-17 22:44
 Re: I don't find the mistake I make David Crow26-Mar-17 11:36 David Crow 26-Mar-17 11:36
 Re: I don't find the mistake I make David Crow26-Mar-17 11:34 David Crow 26-Mar-17 11:34
 Re: I don't find the mistake I make User 1106097927-Mar-17 4:36 User 11060979 27-Mar-17 4:36
 Re: I don't find the mistake I make David Crow27-Mar-17 13:34 David Crow 27-Mar-17 13:34
 Re: I don't find the mistake I make User 1106097927-Mar-17 22:43 User 11060979 27-Mar-17 22:43
 Android project Member 1307301022-Mar-17 19:16 Member 13073010 22-Mar-17 19:16
 Re: Android project Richard MacCutchan23-Mar-17 0:05 Richard MacCutchan 23-Mar-17 0:05
 on android E-health care project Member 1307301820-Mar-17 22:01 Member 13073018 20-Mar-17 22:01
 Re: on android E-health care project Nick_314159265413-Apr-17 12:25 Nick_3141592654 13-Apr-17 12:25
 Last Visit: 31-Dec-99 19:00     Last Update: 27-Feb-24 13:06 Refresh ᐊ Prev1...27282930313233343536 Next ᐅ