**** BEGIN LOGGING AT Sun Feb 08 02:59:57 2009 Feb 08 05:36:54 is there some way to tell the Eclipse plugin to not pollute the source tree with autogenerated stuff like R.java? i'd like to stuff those things in a separate generated-sources directory under bin Feb 08 07:32:01 jasta: don't use the Eclipse plugin :) Feb 08 07:36:42 i wish it was that simple :) Feb 08 07:37:24 its the popular crowd time of day? Feb 08 07:50:10 jasta: well there's nothing in the plugin that you can't do by other means Feb 08 07:50:16 (aside from the visual UI builder) Feb 08 08:53:22 romainguy: it would just be a lot of effort i feel. what i like about it is the automatic aidl and R.java building, but that is also exactly what im having problems with :) Feb 08 08:53:34 because my maven build environment doesnt put the files in the same place Feb 08 09:01:16 i prefer the way maven does it :) Feb 08 09:01:32 really i should just hack the ADT and submit a patch, but meh :) Feb 08 09:01:38 too many things to hack already Feb 08 15:37:43 jasta: i would like that too. i add R.java to .gitignore and it mostly stays out of my way. Feb 08 15:55:24 anyone help me? i started anroid devving yday Feb 08 15:55:37 i have managed 2 get a listview that reads from sqlite Feb 08 15:55:50 but when its clicked i want to make it run an httprequest Feb 08 15:55:56 i have got the httprequest working on its own Feb 08 15:56:07 just need a way to mesh the 2, and as i say am v new to this Feb 08 16:00:42 horse: see onListItemClick(ListView l, View v, int position, long id) Feb 08 16:03:57 cool will do tq Feb 08 16:33:10 Hello Feb 08 16:33:48 Anybody understand the trackball event treatment? Feb 08 16:34:27 I do not understand to whom they get delivered as Keypad if not consumed beforehand. Feb 08 16:35:50 I have a view inside an activity. The view never gets the events. The activity gets the events but they still get dealt with to change focus even if I indicate I consume them. Feb 08 18:00:55 I have a couple of xml layout files that have a control that re-uses an id. So far, sharing an id across multiple files seems to work (each .java file references the same R.id.sharedId). I'm slightly nervous that this is a no-no, though. Can someone confirm or deny this is an ok thing to do? Feb 08 19:34:50 rsteckler, a lot of the native apps do this Feb 08 19:35:01 as long as you're not loading multiple XML files, I believe it's fine Feb 08 19:35:11 KNY-: loading at the same time, you mean? Feb 08 19:35:17 yes Feb 08 19:35:30 awesome. Thanks for the confirmation - I feel better =) Feb 08 21:32:11 after adding to the list, the list is not refreshed, even with onContentChanged() (line 92) http://github.com/donpdonp/icecondor-client-android/blob/d338a67b8f750308df2f1a2ca1343a0331feb2b4/src/com/icecondor/nest/GeoRssList.java Feb 08 21:39:00 Anybody knows a good tutorial on how to access web documents with android supplied APIs? Feb 08 21:53:57 i'm trying to write a service that fetches podcasts from a pre-defined list, and when running i get this: http://paste.ifies.org/331 Feb 08 21:54:49 which throws a dialog up with a not responsing message for the app Feb 08 21:55:13 although the service continues on, but my notification doesn't show until i hit wait Feb 08 21:58:29 digitalspaghetti: is the icecondor RSS thing working for you? Feb 08 22:00:08 ? Feb 08 22:03:22 digitalspaghetti: i thought you are pansapiens on twitter? Feb 08 22:03:36 no, tanepiper Feb 08 22:03:46 digitalspaghetti: oh. sorry. :) Feb 08 22:07:19 whats the layout xml tag for a pulldown menu? Feb 08 22:07:42 spinner? Feb 08 22:08:19 digitalspaghetti: yeah, thx Feb 08 22:28:01 MikHel: HttpClient (google for DefaultHttpClient) Feb 08 23:46:21 * navarro went for a puff: Gone away for now Feb 08 23:53:56 how does one go about having a floating TextView, similar to the one that Contacts shows up when you start searching? Feb 08 23:57:46 it's in a poupwindow Feb 08 23:58:04 it's a feature of listview btw Feb 08 23:58:13 you just need to enable filtering Feb 09 00:04:55 man, i wish there was a way to have a 'badge' (snippet of html) for an app in the google market that showed name / icon / # of downloads / stars(review) / and linked to an official entry on an official google url. (and if viewed on android browser went to market entry for app) Feb 09 00:07:47 romainguy, seriously? god damn, here I was rolling my own Feb 09 00:07:55 no wonder I couldn't find where it was done in Contacts.apk Feb 09 00:08:07 joakime, that would be awesome Feb 09 00:09:02 KNY, Sure, but that would require an official, web browse(r|able) market, which doesn't exist (yet?). Feb 09 00:09:23 yeah, the closest we have is cryket or whatever Feb 09 00:09:47 cyrket Feb 09 00:10:29 they apparently reverse engineered the marketplace protocol. at least I haven't found an official API for it. Feb 09 00:11:18 yeah Feb 09 00:14:04 romainguy, is there a way set android:textFilterEnabled programmatically? Feb 09 00:14:20 I'm poking around the source for Contacts and don't see any clues Feb 09 00:22:20 KNY: it's defined as part of an (Abstract) AbsListView - http://code.google.com/android/reference/android/widget/AbsListView.html#setTextFilterEnabled(boolean) Feb 09 00:22:56 joakime, hmm, not sure how I missed that. Thanks Feb 09 01:24:55 hmm, httpclient acts funny when you timeout a connection by just dropping packets from either side Feb 09 01:25:01 it never fires the request retry handler Feb 09 01:54:43 This is nit-picky, but I'm setting up a google project and want to do things right. Is the directory structure right here? : http://code.google.com/p/apps-for-android/ I thought instead of putting everything under trunk, you made a /project/branches /project/tags/ /project/trunk... Feb 09 01:58:34 macpod, that's what I do Feb 09 01:58:40 though I don't use Google Code Feb 09 02:36:10 Is there any any way to tell the UI thread to block until its message queue is empty? Feb 09 02:37:22 Or - more to the point - Is there a way to call view.setVisibility(GONE) and then not proceed until it's actually gone? Feb 09 02:39:39 hey guys... Feb 09 02:40:01 rsteckler: how could you block it *and* empty the queue at the same time? Feb 09 02:40:10 rsteckler: just use View.post() Feb 09 02:40:50 romainguy: I wasn't clear. I was looking for a call that would process the existing queue before returning. Feb 09 02:41:00 I'll look at View.post(). Feb 09 02:41:03 there is no such a thing and there won't be such a thing Feb 09 02:41:49 Let me back up and see if I'm approaching the problem wrong. I have a derivative of ListActivity with a listview and a textview with teh id of android:empty. Feb 09 02:42:20 The filling of the list view takes some time, so in the onCreate, I show a ProgressDialog and spin up a thread to do the work of getting the items for the listview. Feb 09 02:42:36 Once I have the items I set the listView adapter and dismiss the progress dialog. Feb 09 02:43:29 The problem is that when the activity hides the listview or the textview, it looks like it's calling setVisibility on them, but the progress dialog takes over before they are processed. So the wrong one can sit in the background while the progressidlaog is up... Feb 09 02:43:30 ok? Feb 09 02:43:56 what do you mean the progress dialog takes over? Feb 09 02:44:10 so: If in my onCreate, I call SomeView.setVisibility(GONE), and then immediately spin up the progress dialog, the view doesn't go away. It sits there behind the progressDialog. Visible. Feb 09 02:44:26 then you are blocking the UI thread somehow Feb 09 02:44:51 Here are the last 4 lines of the onCreate(): Feb 09 02:44:57 myEmptyText.setVisibility(View.GONE); Feb 09 02:45:02 myProgress = ProgressDialog.show(this, "Loading...", "Retrieving your Buzzes", true); Feb 09 02:45:07 Thread thread1 = new Thread(this); Feb 09 02:45:10 thread1.start(); Feb 09 02:45:24 and myEmptyText is visibile the entire time the progress dialog is up... Feb 09 02:46:26 So I'm definitely not blocking the ui thread... Feb 09 02:46:35 well you must be otherwise the view would go away Feb 09 02:46:41 oh wait Feb 09 02:46:42 I know Feb 09 02:46:50 you set android:empty right? Feb 09 02:47:14 is FastScrollView going to become a public component? Feb 09 02:47:18 I've tried it two ways: Android:empty, but now I actually have it as my own textview that I'm controlling the visibility of. Same symptom either way Feb 09 02:47:53 if you specify an empty view for listview, then it will take over the control of the visibility Feb 09 02:48:08 since your list is empty while the progress is up, listview shows the empty view Feb 09 02:48:14 (which is the whole point of the empty view) Feb 09 02:48:39 yea - I don't have that at the moment. I'm trying to simplify the problem. Right now I just have a simple textview that I'm setting visibility=gone on, just before I put up a progress dialog. Feb 09 02:49:10 Let me make sure I'm not crazy. I'm going to simplify furhter and create a new project with just one contorl, and try it. Feb 09 02:49:31 I'll make it visible in the xml, set it to gone in onCreate and put up a progressdialog and see what happens. Feb 09 02:49:44 I'm thinking it will be visibile behind the progress dialog. Feb 09 02:49:52 the reason why the problem cannot be what you think it is is that layout and drawing happen *after* onCreate Feb 09 02:50:09 so if your progress dialog was somehow preventing the setVisibility from running you would also not see anything behind the dialog Feb 09 02:50:12 interesting. Feb 09 02:52:59 Jesus. My bad. I see what happened. Feb 09 02:53:33 Sorry to waste your time =) Feb 09 02:56:01 ^^ Feb 09 02:56:14 no problem :)) Feb 09 02:56:37 can i change the color menu in my app?? **** ENDING LOGGING AT Mon Feb 09 02:59:57 2009