[android-developers] Re: List View Item Strange Behavior

2010-04-10 Thread Binesy
I update the tag on the button after the else and it works. Thanks TreKing :) On Apr 9, 1:31 pm, Agus wrote: > You are using convertView object which is a recycled view. > > > > On Thu, Apr 8, 2010 at 2:42 AM, Binesy wrote: > > Hi, > > > I have been having some st

[android-developers] Re: List View Item Strange Behavior

2010-04-09 Thread Binesy
Ok thanks. I'll give that a try and see if it works On Apr 8, 6:57 pm, "~ TreKing" wrote: > On Thu, Apr 8, 2010 at 4:42 AM, Binesy wrote: > > Why is this happening and how can I fix it? > > The ListView will re-use views it uses, as you see by the convertView. Th

[android-developers] Re: List View Item Strange Behavior

2010-04-08 Thread Binesy
he views within the list item and so you don't have to call findViewById each time On Apr 8, 4:37 pm, "~ TreKing" wrote: > On Thu, Apr 8, 2010 at 4:42 AM, Binesy wrote: > > 3 is printed correctly, then i refresh the list. > > Refresh the list how? > Also, w

[android-developers] List View Item Strange Behavior

2010-04-08 Thread Binesy
printed, click again and we are back to 3. Why is this happening and how can I fix it? I have included some source below for you to have a look at how I have done this. Any help is much appreciated Binesy public class CrazyList extends Activity { private static final String TAG = "

[android-developers] Re: How to get JUnitReports via android.test.InstrumentationTestRunner

2009-08-21 Thread Binesy
Thanks i'll look into that :) Binesy On Aug 20, 5:45 pm, Brett Chabot wrote: > I'm not familiar with JUnitReports, but one way you could do this is > to parse the results outputted by 'adb shell am instrument -r -w ...", > and convert it into whatever XML fo

[android-developers] How to get JUnitReports via android.test.InstrumentationTestRunner

2009-08-20 Thread Binesy
Hi I am trying to get my unit test output in XML format so I can plug it into a Hudson build server. From my research I should be using JUnitReports, but how can I get these via the android.test.InstrumentationTestRunner? Many Thanks Binesy

[android-developers] No context menu on map view intended??

2009-06-23 Thread Binesy
Hi Having been working with context menus with other views, which can be done with view.setLongClickable(true); registerForContextMenu(view); this does not seem to be the case with map view. Is this intended?? Also overlays only seem to be able catch onTap events, is it possible to catch long

[android-developers] HttpsUrlConnection Problem

2009-05-20 Thread Binesy
Hi I have been working with the HttpsUrlConnection class and have found an interesting issue, it seems to fail on every other connection. The first request connects to the server successfully but the second one always fails. Any ideas on what i may be doing wrong. Here is my code. Many Thanks