[android-developers] Re: How to calculate the distance between two degree values? (for example: 350º to 15º = 25º / 250º to 190º = 60º)

2011-09-27 Thread Lew Bloch
On Tuesday, September 27, 2011 7:29:09 AM UTC-7, saex wrote: there is a function or something on Java to calculate the distance between two degree values? (min 0º and max 360º) for example: 350º to 15º = 25º 250º to 190º = 60º Which way do you want it? They cannot both be

[android-developers] Re: Android is worst os mobile is this true

2011-09-21 Thread Lew Bloch
Android is the worst form of mobile OS except for all those other forms that have been tried from time to time ... -- Apologies to unknown source as cited by Winston Churchill. http://richardlangworth.com/democracy-is-the-worst-form-of-government -- Lew blake wrote: Oh man. This is such a

Re: [android-developers] Is this a joke??

2011-09-20 Thread Lew Bloch
https://memegen.googleplex.com/906 Daniel Drozdzewski wrote: Steven Bruce wrote: http://developer.android.com/reference/android/app/ActivityManager.html#isUserAMonkey() What is this supposed to do? Looks like Google having a laugh or something?? :p

[android-developers] Re: Simulate GPS Failure

2011-08-24 Thread Lew Bloch
Parking garages have worked very well to block GPS and other signals in my experience. Nathan: How do you do a mock location provider? -- Lew On Tuesday, August 23, 2011 6:12:05 PM UTC-7, davemac wrote: You might try holding it inside your kitchen oven (oven not turned on of course). -

[android-developers] Re: Vector

2011-08-24 Thread Lew Bloch
+1 to blake's comments. A couple more points, inline: blake wrote: Chris is right, that gets rid of the error, but I bet it is not what bob is trying to accomplish. Chris' solution will create a Java array of 9 Vectors. I have a couple of suggestions, here: 1) Don't ever use Vectors.

[android-developers] Re: How to detect HTML tag?

2011-08-11 Thread Lew Bloch
On Aug 8, 10:43 pm, ndiiie90 wrote: What i mean is to replace all tags in data that is retrieved from database.. So for example, the data is: I am a java amp android developer will be replaced into: I am a java android developer That is not a valid replacement, actually, as entities