I am trying to guard against them being null. I am getting error reports
from users via ACRA that these are returning null sometimes. Hence the
safeguard.

On Thu, Jul 7, 2011 at 11:05 PM, TreKing <treking...@gmail.com> wrote:

> On Thu, Jul 7, 2011 at 12:22 PM, Raghav Sood <raghavs...@gmail.com> wrote:
>
>> I am getting an error that I can not compare these values as they are
>> Doubles in nature and null is not valid here with ||. How can I compare
>> these?
>
>
> As the error indicates, they are not object that are comparable to null.
> They are guaranteed to have *some* value. What are you trying to guard
> against?
>
>
> -------------------------------------------------------------------------------------------------
> TreKing <http://sites.google.com/site/rezmobileapps/treking> - Chicago
> transit tracking app for Android-powered devices
>
>  --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to android-developers@googlegroups.com
> To unsubscribe from this group, send email to
> android-developers+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en




-- 
Raghav Sood
http://www.raghavsood.com/
http://wiki.androidappcheck.com/
http://www.telstop.tel/
https://market.android.com/developer?pub=Raghav+Sood

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to