Re: [android-developers] This is True / False or a bug!?

2011-04-21 Thread Hyvi
bb = (xx==Local1); should be bb = (xx.equals(Local1)); 2011/4/20 Perry168 > Hi, > Today, I wrote a program. The function is to get the installed > packages name through the provider name. But I find a problem, when I > compare two SAME strings. The Boolean result will be FALSE. > I used t

[android-developers] This is True / False or a bug!?

2011-04-20 Thread Perry168
Hi, Today, I wrote a program. The function is to get the installed packages name through the provider name. But I find a problem, when I compare two SAME strings. The Boolean result will be FALSE. I used the Eclipse to watch the value change. From expression, I saw the Local1 and xx are same. But t