**** BEGIN LOGGING AT Sun Apr 19 02:59:57 2009 Apr 19 04:59:21 can anyone give me a hint on how to impliment an action on a long-press in a ListView? Apr 19 05:38:52 Is anyone here? Apr 19 08:37:41 Is there a simple tutorial I can do to understand clickable lists? Apr 19 09:47:47 i have this button on my screen and id like to make it a pause button when the audio is playing, how can i do this Apr 19 09:47:50 Apr 19 09:50:52 how can i change the style Apr 19 09:51:21 pause.setImageResource(R.drawable.button_pause); works for other stuff but not on this Apr 19 10:21:22 Cupcake: Does anybody else has problems with Preferences? Apr 19 10:21:23 W/InputManagerService( 584): Window already focused, ignoring focus gain of: com.android.internal.view.IInputMethodClient$Stub$Proxy@436de400 Apr 19 10:21:54 onSharedPreferenceChanged() not called anymore. Apr 19 10:23:33 Cupcake: Anybody else problems with keyboard no longer working on a list? Apr 19 10:46:14 nobody knows about the button? Apr 19 11:06:20 Could anyone possibly walk me through an initial build and install of a basic application using sdk1.5 using ant ? Apr 19 11:13:00 I keep hitting the same error when trying to perform a compile and install. THe error reads: UNEXPECTED TOP-LEVEL EXCEPTION:java.lang.IllegalArgumentException: already added: Laapt; Apr 19 13:29:02 the android api documentation is somewhat awe-waitforit-some! Apr 19 13:36:33 is there anyone on here who knows about rendering things with SurfaceView? I've been playing with it for a day or two now, and whatever I do with it I just get the same blank screen. Apr 19 13:39:29 There is a bug with SurfaceViews, for example when using it as a child of a TabHost. Do you just have a SurfaceView on your screen or is it more? Apr 19 13:40:50 just a SurfaceView Apr 19 13:41:27 I'm just doing the setContentView on it from the activity Apr 19 13:41:32 how are you trying to render then Apr 19 13:42:24 getHolder, holder.lockCanvas, holder.synchronized { draw(canvas) }, finally {unlockCanvasAndPost(canvas) } Apr 19 13:42:54 and draw(canvas) is just canvas.drawColor(color.white), keeping it simple until I get anything at all working Apr 19 13:43:23 oh, and none of that actually happens until after surfaceCreated has fired Apr 19 13:45:30 hmm, would it be better if I posted some of the code on a support forum somewhere? Is the Android Google Group a good place for this sort of stuff? Apr 19 13:46:06 dont know if canvas.drawColor is the right function to see sth on screen Apr 19 13:46:22 could you try canvas.drawCircle or sth Apr 19 14:51:06 anyone know how id flip a Bitmap 180 degrees? Apr 19 16:16:36 can someone test an app on a real device for me? just need to know if it can take pictures. Apr 19 16:17:15 :Gaz`_ http://www.anddev.org/resize_and_rotate_image_-_example-t621.html Apr 19 16:18:56 jarro, nearly, i want to flip horizontally tho Apr 19 16:23:05 I'm making a caller ID app, does anyone know how to place a view on the bottom of the incoming call window? Is it just an activity/view that is running with bottom-adjusted content, or what? Apr 19 16:29:51 there is source for that Apr 19 16:29:59 android.git.kernel.org Apr 19 16:30:10 or source.android.com Apr 19 16:30:40 :Gaz`_ this might be what you were looking for http://groups.google.com/group/android-developers/browse_thread/thread/63264bdb31d0a5e7/9bed8b85f7ee0381?lnk=raot Apr 19 16:50:33 has anyone faced issue with android device detection on windows xp sp3 machine in recent ? I'm not able to detect my device from adb devices command Apr 19 17:11:50 coderdroid: tried using sdk1.1 usb drivers? Apr 19 17:12:11 I had to upgrade usb drivers to recognize my phone after os upgrades. Apr 19 17:31:19 anyone know how to make listview items clickable? Apr 19 17:43:44 jarro: that was it thx alot mate! couldnt find that on google at all1 Apr 19 17:48:53 is it possible to disable the keyboard in the emulator? Apr 19 17:49:05 don't type on it Apr 19 17:49:30 guess what i am *not* doing ;) Apr 19 17:54:51 Hello Apr 19 17:55:28 How to make TextView to draw text in multiple lines? Apr 19 17:57:07 Whle loading taxt value from XML resource it draws it into multiple lines Apr 19 17:57:37 but after changing text with setText method it drawws it in a single line Apr 19 18:00:10 \n ? Apr 19 18:02:40 But why does it draw text from resource into multiple lines? Apr 19 18:02:52 without any \n Apr 19 18:34:06 Can anybody help me to solve this problem? Apr 19 18:55:36 so good to be home :) Apr 19 19:01:27 yo jasta Apr 19 19:01:31 man, so long.. Apr 19 19:01:41 what's up jasta? Apr 19 19:45:52 Hi there. A few hours ago I was able to develop with Android perfectly. However, when I now try to run an application (even the hello world example) within the Android emulator out of Eclipse, the application is not run on the emulator and I just get the message "HelloWorld] emulator-5554 disconnected! Cancelling 'com.example.HelloWorld' launch!" Emulator is Apr 19 19:46:17 emulator is started, but without executing the application Apr 19 19:47:02 any ideas where I should look for? Apr 19 19:47:15 btw. ssystem is windows xp and IDE is ganymede Apr 19 19:48:52 oh I forgot: I previously used SDK 1.0, updated to SDK 1.1 Apr 19 21:41:28 hey you found it Apr 19 21:41:45 yeah cool, should I re-ask the question? Apr 19 21:41:52 k so in your layout.xml did you put in a spot to display your image? Apr 19 21:42:47 nah, I thought if you created a new view in the source it didn't have to be in the xml... so I'm wrong on that? Apr 19 21:43:29 well.. I think you would have to do something to tell it where to draw it Apr 19 21:43:46 like who it's parent View would be Apr 19 21:44:11 might be wrong on that Apr 19 21:44:26 hmm, I'll mess around with that a little Apr 19 21:45:05 but I'd be tempted to create an ImageView above the button and have a 7th placeholder image as the default Apr 19 21:45:30 then you can acquire a reference to that and change the image it displays Apr 19 21:46:15 gotcha Apr 19 21:47:41 this is kinda from memory so bare with me.. you could do something like Apr 19 21:48:01 getViewById(R.id.); Apr 19 21:48:04 err Apr 19 21:48:15 ImageView iv = getViewById(R.id.); Apr 19 21:48:57 hmm do you mean imageviewname? Apr 19 21:49:02 iv.setImageDrawable(something); Apr 19 21:50:02 hehe yeah Apr 19 21:50:13 and I lied.. this would work instead Apr 19 21:50:42 ImageView iv = (ImageView) findViewById(R.id.something); Apr 19 21:51:01 k Apr 19 21:51:27 iv.setImageDrawable(Drawable); Apr 19 21:51:44 or I wonder Apr 19 21:51:51 your setImageResource might work on that to Apr 19 21:52:08 yeah Apr 19 21:52:34 iv.setImageResource(R.drawable.image1); // should do nicely Apr 19 21:52:42 where is haykuro's builds? Apr 19 21:53:13 as for programatically creating an ImageView without defining it in the xml.. you'd have to look around a bit Apr 19 21:53:48 sweeet, it worked, thanks a ton man! Apr 19 21:53:54 nice! Apr 19 21:54:18 now you can move things around and make it pretty without touching your code Apr 19 21:54:27 yeah, excellant Apr 19 21:54:33 or touch your code without making it ugly ;) Apr 19 22:01:27 hey squalus, i'm out for now but thanks again! Apr 19 22:01:37 no worries man Apr 19 22:04:51 Can anyone point me toward the documentation of the ant tools in the 1.5 release ? Apr 19 22:07:11 q) I have an onCreateContextMenu that gets executed fine on a long-press for a ListView Apr 19 22:07:23 but the onContextItemSelected never runs Apr 19 22:07:42 when I choose the action Apr 19 22:08:05 any ideas? Apr 19 22:17:40 override onInterceptTouchEvent(MotionEvent ev) with a blank call to super and then step into the call to see where it comes out? Apr 19 22:18:19 k Apr 19 22:28:53 is it possible to use that in a ListActivity where I don't explicitly instanciate the ListView? Apr 19 23:26:02 a given menu id can only be used once Apr 19 23:29:03 hi folks. Just looking for some advice in speeding up some database inserts. is there any way to insert multiple rows with one call instead of repeatedly calling db.insert()? Apr 19 23:32:56 Anyone managed to get the blur working?! I checked the example in the api demo, setted the activity theme in the manifest and set the windows pred in the oncreate, but still have a black background :( Apr 19 23:34:42 using android:theme="@android:style/Theme.Dialog" I almost got it but the damn thing can't use my custom style copy pasted from the example Apr 19 23:44:29 Anyone able to download the ADT Plugin for Eclipse 0.9 ? Download has been interrupted at around 45% all day Apr 19 23:44:48 what's the url i'll check Apr 19 23:45:07 http://dl-ssl.google.com/android/ADT-0.9_pre.zip Apr 19 23:45:32 no probleme for me Apr 19 23:45:38 really... Apr 19 23:45:40 weird Apr 19 23:45:40 what it back by dcc? Apr 19 23:46:26 you sure it completed? It gets there, but dload dies after a couple mins, and the zip's invali (due to incomplete dload) Apr 19 23:48:09 it took live 5 sec Apr 19 23:48:15 a crc check say it's all ok Apr 19 23:48:50 you should check your connection, maybe one of your hd is full Apr 19 23:49:13 nah, plenty of room, etc, etc.. I can dload everything else on the net.. just not that zip Apr 19 23:50:06 are you in iran or north korea :P Apr 19 23:50:37 I made an infinite-loop shell script do a curl on that url, and ran it all day, and it always died between 30% & 45% ... ran it all afternoon, heh. Dloading the 1.5 sdk was fine Apr 19 23:50:48 heh no, DC actually :) Apr 19 23:51:28 beauty Apr 19 23:51:40 enjoy Apr 19 23:51:41 thx much Apr 19 23:51:43 np Apr 19 23:52:23 md5 hashes match, even better ;) Apr 19 23:52:37 bah i don't send crap :P Apr 19 23:52:56 ok off to see what the new controls look like, thanks again.. Apr 19 23:53:17 no prob, have fun Apr 20 00:49:02 where'd the calculator go in 1.5 emulator? how am I supposed to add numbers now? Apr 20 00:49:49 heh Apr 20 00:50:09 soreachilleslol i can give you the 1.5 cal if you want Apr 20 00:50:30 I liked the swirl effect on the circle buttons Apr 20 00:52:22 soreachilles you want the calc that's supposed to be with 1.5? Apr 20 00:52:44 heh it's ok Apr 20 00:52:55 not THAT important, I suppose I can use my fingers to add Apr 20 00:53:11 nah! Apr 20 02:16:49 anyone know of a way to invalidate all Preferences in an PreferenceActivity? **** ENDING LOGGING AT Mon Apr 20 02:59:57 2009