**** BEGIN LOGGING AT Fri May 15 02:59:58 2009 May 15 03:10:58 kRutOn: !! May 15 03:14:00 !! May 15 03:14:31 I'm just here for the music. May 15 03:18:12 you can stay for the booze too btw. May 15 04:22:05 Does anyone know why I'm getting a security exception trying to use packagemanager.installpackage? May 15 04:22:14 I have android.permission.INSTALL_PACKAGES as well as READ_CONTACTS May 15 04:22:19 so I dunno what's wrong May 15 04:24:17 what's the security exception? May 15 04:24:25 (I don't think 3rd party apps can install packages directly) May 15 04:24:39 ffs. May 15 04:24:42 exception is: May 15 04:24:56 Neither user 10074 nor current process has android.permission.INSTALL_PACKAGES May 15 04:25:04 anyone need a graphic artist for android-dev? May 15 04:25:04 well here you go :p May 15 04:25:24 well yes except that they have the permission. May 15 04:25:38 vol: apparently not May 15 04:25:43 that or no 3rd party app can install packages May 15 04:25:46 I also see nothing about not granting that permission May 15 04:25:58 nggg. May 15 04:26:16 I want to give something to HTC for them to preload so that they will automagically install our app if it is detected on sdcard. May 15 04:26:22 however, I'd like to actually test this first := May 15 04:26:31 I don't know what := is an emoticon for May 15 04:26:44 it is an emoticon for "this chinese keyboard has the placement messed up" May 15 04:32:20 romainguy__: any way to fool the system into thinking that I have permission outside of loading a custom firmware? May 15 04:32:36 no May 15 04:32:40 blast. May 15 04:32:53 So basically the package manager is a giant tease. May 15 04:32:58 no May 15 04:33:02 it lets you query :) May 15 04:33:07 :\ May 15 04:33:10 writing Home without it would be hard ^^ May 15 04:33:13 or widgets May 15 04:33:35 or application installe-A(R)*@%C May 15 04:33:44 * vol slowly turns into qbert May 15 04:45:31 romainguy__: Is there any way that I can have a broadcast receiver attempt to install something? Can I send an intent that would have the applications manager do this? May 15 04:45:51 It's ok if it doesn't happen seamlessly in the background, as long as it's something that doesn't require the user to explicitly start it May 15 04:45:51 open the URL to the .apk with the browser via an intent? :) May 15 04:45:57 tried that. May 15 04:46:02 you guys don't allow file::// May 15 04:46:04 : ( May 15 04:46:07 ah there's no way you're going to install something without the user knowing it May 15 04:46:10 (OH NOEZS SEKURITY) May 15 04:46:12 well yeah May 15 04:46:19 I mean, I don't want the user to have to click something to start the whole thing off May 15 04:46:22 the last thing we want is random apps installing apks in the background without the user's consent May 15 04:46:27 yeah well, that's the only way May 15 04:46:33 I want something to detect an sdcard mount and then have some way to prompt the user whether to install May 15 04:46:44 if that's sending an intent somewhere to an official method of installation that's fine with me May 15 04:47:02 all I care about is that the user doesn't have to install some 3rd party app off the market to install us from the sdcard May 15 04:47:55 ask on the mailing lists May 15 04:48:12 the guys from SlideMe & co. must have found a way May 15 04:49:19 slideme? May 15 04:49:27 * vol searches May 15 04:49:34 the alternative to market May 15 04:49:37 there's another one May 15 04:49:43 ah May 15 04:50:34 ugh, firefox needs to pop "you're a moron, did you really mean http? yes/no" when you paste in ttp://.... May 15 04:50:42 so many pastes, one char off.. May 15 04:51:31 vol it should just work but display everything upside down May 15 04:52:02 heh May 15 04:52:53 romainguy__: it looks like slideme might just do it the same way the browser does it. May 15 04:53:07 which doesn't really help, do you know if they can install sdcard apps? May 15 04:53:18 no idea May 15 04:54:49 oh, awesome, looks like it's actually something that uses your computer and adb to do this. May 15 04:55:22 scroll to the bottom of http://slideme.googlecode.com/svn/trunk/android-sdk-installer/src/main/java/org/slideme/android/sdk/installer/ApplicationInstallerSocketService.java May 15 04:56:14 lol May 15 04:56:18 so you need a computer? May 15 04:58:11 that's what I found rummaging around here May 15 04:58:15 clever workaround May 15 05:04:52 Hey it's no worse than iTunes May 15 05:06:51 how do you read your application version in code? May 15 05:08:59 Well, I'm wrong about slideme. May 15 05:09:07 turns out it doesn't need a computer connection. May 15 05:11:29 it also references com.android.PackageInstaller May 15 05:11:34 which I don't see anything about at all May 15 05:11:45 com.android packages are private APIs May 15 05:11:54 you don't have access to them May 15 05:12:08 so they're probably doing evil things May 15 05:16:42 turns out May 15 05:16:48 if I create an intent with Intent.ACTION_VIEW May 15 05:17:08 and call setDataAndType(Uri.fromFile(myFile), "application/vnd.android.package-archive") May 15 05:17:14 and then send that intent May 15 05:17:16 things resolve nicely May 15 05:17:27 excellent May 15 05:17:55 uggghh May 15 05:18:00 google search please don't drop my dashes : ( May 15 05:18:06 those hyphens are part of the search May 15 05:18:08 h8 May 15 05:44:15 vol: it has to tokenize somewhere... May 15 05:53:07 mmmm tokens May 15 06:10:32 Can I provide native libs in my Android application? May 15 06:26:37 hmmm - how do I get a contact picker to only list contacts with phone numbers? Haven't managed to find any extras in the Contacts.People section of the SDK May 15 06:27:03 actually on that subject it's generally difficult to find information on Intents in the docs May 15 06:27:25 there's generic coverage in the Intents class, but not enough to do anything particularly useful with May 15 06:34:52 skyPhyr: there's a URI to list only people with phone numbers May 15 06:34:54 gimme one sec May 15 06:38:55 skyPhyr: content://contacts/phones May 15 06:39:08 sweet - thanks romain - is there a particular approach I should be taking to find these things in the docs more readily? May 15 06:39:22 no idea May 15 06:39:36 I looked at the source code ^^ May 15 06:39:46 I'm pretty sure there's a constant somewhere though May 15 06:40:20 yeah - they're just difficult to track down - thanks. Is this the same as the android.provider.Contacts.Phones.CONTENT_URI ? May 15 06:40:22 look at this file May 15 06:40:26 yes it's the same May 15 06:40:33 so in this file: https://android-git.corp.google.com/w/?p=platform/packages/providers/ContactsProvider.git;a=blob;f=src/com/android/providers/contacts/ContactsProvider.java;h=295873c014892e264c6cf82eb8f1d9d18a22c530;hb=master May 15 06:40:41 search for "// Contacts URI matching table" May 15 06:40:47 ahhh ok - the description reads more like it'd provider phone numbers - does this picker list names? May 15 06:40:48 it will show you all the available content URIs May 15 06:41:26 well I'll find out soon enough - so it was kinda silly to ask :) May 15 06:42:40 opendns is interuptting that page :/ May 15 06:43:30 jasta: this is what escapes are for May 15 06:45:50 Does anyone know what criteria there is for open space on the device to install an apk? I have an 8MB apk, but my device has 22MB free. May 15 06:46:05 I'm getting rejections saying that there is insufficient space. May 15 06:47:45 huh? May 15 06:48:09 vol: well it writes it to a temporary location btw May 15 06:48:29 i dont know why, seems a bit clumsy to me frankly May 15 06:48:42 maybe they rename() instead of copy it at least. May 15 06:53:22 I mean tokenizing May 15 06:53:28 but yeah May 15 06:53:39 would like to know why it's not enough space May 15 06:53:49 I mean, 8 * 2 = 16 <= 22 May 15 06:54:07 so even if they take the whole thing, copy it manually, then delete the original, there should be enough space. May 15 07:02:34 if i want to make a cross-word like grid, white interior w/ black borders, that when i click on a box, its filled in gray, and when i click on a gray-filled box, it goes back to white -- is there any easy way to do that with Android's built in layout's May 15 07:03:14 using perhaps a table view and buttons? May 15 07:03:50 hm May 15 07:03:59 It's taking a really long time to re-create a surface after it's been destroyed. May 15 07:24:30 Boo. Uri has fromFile, but not toFile. May 15 07:30:07 i have googled this -- where is there a stash of open source android apps i can learn from? May 15 07:37:01 kyle__: it is next to my playboys May 15 08:21:19 hey guy May 15 08:21:20 s May 15 08:21:25 oh hi May 15 08:22:44 I was wondering about the capabilities of the g1/magic for graphics in games etc, because it seems that's one place where the iphone is way ahead May 15 08:23:00 mostly just because no one has written anything yet. May 15 08:23:12 the g1 has native 3d acceleration May 15 08:23:17 it's just not really used by anyone yet. May 15 08:23:19 and the magic? May 15 08:23:26 that too May 15 08:23:40 the magic will be significantly more powerful May 15 08:23:52 the htc website states it uses the same cpu May 15 08:24:13 the only real difference being the keyboard May 15 08:24:41 the cpu is running at about 525MHz instead of 366 May 15 08:24:49 512MB internal storage instead of 70 May 15 08:25:05 really, the G1 was made with cheap hardware because HTC wasn't sure how it would do May 15 08:25:18 now that android has proven that it can sell cells, all the fun hardware is coming out May 15 08:25:20 you know those numbers for sure? I was looking here http://www.htc.com/www/product/dream/specification.html May 15 08:27:21 I might be slightly off about the processor power, but it definitely has way more internal space and much better everything May 15 08:27:26 our office had a device to play with for a little bit May 15 08:27:40 the order of magnitude in processor speed difference is about right May 15 08:28:00 hah, ok May 15 08:28:08 it's because I'm thinking about buying one today May 15 08:28:40 didn't realize it was out May 15 08:28:47 has been for 2-3 weeks May 15 08:28:51 in europe May 15 08:29:08 no qwerty-keyboard on the magic though.. May 15 08:29:34 well, I'm off to the store shortly to try the onscreen keyboard May 15 08:29:43 i prefer the look and slightly smaller size May 15 08:30:18 i wanted a qwerty keyboard.. bought my dream about 2 weeks ago May 15 08:30:20 and i'm aware that the current rooting method requires a hardware keyboard, but I'm unsure whether it would actually benefit me anyway May 15 08:30:54 so you guys think that if you went here http://www.apple.com/iphone/appstore/ and clicked through any of the programs in the "game" category, you would say that (if somebody were to write one) then the g1/magic/new android phones could show equal performance in such an app? May 15 08:31:18 I'd imagine those games are all opengl? May 15 08:31:36 or just some iphone graphics library in c May 15 08:32:14 (I don't actually want to play games with my phone, I just see it as somewhere that android is lacking) May 15 08:37:02 or to rephrase; from a developer's point of view would it be possible to create such a game for android hardware that performs just as well and looks as professional (in arcade style) and is as responsive as current iphone games? May 15 08:39:58 yes, absolutely. May 15 08:40:12 The problem is that android is not a mature platform, and most people don't know what to do with it. May 15 08:40:25 A lot of developers are just looking at it as J2ME on steroids and coding for it as such. May 15 08:41:03 Android will have more apps as time goes on, believe me, especially since the market has only allowed for paid apps in the last few months. May 15 08:41:32 well, as a CS student i've done java but not j2me/any mobile development before - but I've a massive summer break coming up and need something to do with it :D May 15 08:41:56 hence android, one of my main goals for this summer is to familiarise myself with opengl May 15 08:42:06 would be cool to have something to test it on May 15 08:43:37 hello all, is it posible develop application with the new HTC magic? May 15 08:43:51 "for" the htc magic, yes May 15 08:44:27 on a hardware note, is there any documented method of sending serial data via the phone's usb socket? would it be possible to communicate with external hardware in some way? I saw ForkKnife, an android controlled robot - but it used dtmf tones instead of any actual data transfer to talk to the robot hardware May 15 08:44:42 does the api / will the api ever allow this? May 15 08:44:55 martin__: this is manufacturer specific so it will probably not happen via the api May 15 08:45:09 good point May 15 08:45:49 martin__: bluethooth might be the best bet.. May 15 08:45:56 could require rooting though May 15 08:45:58 The instructions from the android site are only for the HTC G1 May 15 08:46:18 Are the same for the magic? May 15 08:46:32 bluetooth would be fine, but I didn't see much documentation in the reference guide May 15 08:46:58 http://developer.android.com/guide/developing/device.html May 15 08:47:35 I would shy away from bluetooth given the, uh, immaturity of the apis May 15 08:47:59 actually, 1.5 improved on that iirc. May 15 08:48:34 I've found some sample code May 15 08:49:40 martin__: link? May 15 08:56:02 it seems incorrect, it uses the org.bluez library which doesn't appear to be in the google documentation May 15 08:56:47 ah maybe it's not public yet (http://groups.google.com/group/android-platform/browse_thread/thread/037b288bec1ec6d0/3040bd29da492301) May 15 09:56:33 reading through the ContentProvider query() docs and the example seems to be missing an argument. Is that (it being wrong) right or did I miss something? May 15 09:58:09 selectionArgs is in the declaration, but missing from the client example and the Parameters list details below that May 15 11:11:14 > map ((+1) *** (*4)) [1..10] May 15 11:17:58 could someone point me in the right direction on how to change the size of the font used in a Paint? May 15 11:18:21 I know how to change the fontface, but can't seem to figure out how to change the size :/ May 15 11:19:54 paint.setStrokeWidth(1); May 15 11:19:55 ? May 15 11:20:31 oh ... that changes the size of the font used in Paint.drawText too? May 15 11:20:37 not sure May 15 11:20:48 worth a atry May 15 11:20:53 i use it to set the size for drawRect May 15 11:21:09 i use setTextSize May 15 11:22:51 rnx, that should be it May 15 11:23:31 searching for text size on android.com returns mostly stuff on how to retrieve the metric somehow May 15 11:23:37 thanks :) May 15 12:44:22 how do I get keyboard-input? May 15 12:46:42 and is this how the phones look like? May 15 12:46:42 http://www.tomsguide.com/us/Android-Google-T-Moblie-keyboard,news-2826.html May 15 12:47:00 how the hell are you supposed to eb abel to play a game on that? May 15 12:47:55 yes. that's how the phone looks like May 15 12:48:32 * flipLeft pukes May 15 12:49:23 but could I make buttonf of the add and settings buttons? May 15 12:49:28 ie are they tiouchable? May 15 12:50:04 only one that isn't is the home button I think May 15 12:50:18 ok May 15 12:50:32 how do I get keyboard-input? May 15 12:50:54 you override onKeyDown and onKeyUp May 15 12:51:36 for each button? May 15 12:51:46 wot? May 15 12:52:07 no. you override the keyup and keydown methods, they return a keyevent and a keycode May 15 12:52:23 ok where are they in the cls hierarchy? cant find them May 15 12:52:24 you then iterate through the keycodes you need, and return true to tell the os that you handled them May 15 12:52:35 or return false for keys you didn't handle and want the OS to take care of May 15 12:53:26 http://developer.android.com/guide/topics/ui/ui-events.html May 15 12:54:04 sorry .. been using the same framework for so long I forgot May 15 12:54:25 it's onKey. I just send the signals to my own keyup and keydown stuff :) May 15 13:13:21 and onKeyDown should override a View or Activity method? May 15 13:13:27 i've got a ListActivity, with the inside a . The Layout has a background image set, but whenever I start an animation on the list view, the background image flickers May 15 13:13:46 or at least the section of the listview that is animated May 15 13:17:41 Aha! setAnimationCacheEnabled( false ) fixed it May 15 13:32:34 how do I import KEYCODE_M ? May 15 13:32:49 import android.view.KeyEvent; doesnt do it May 15 13:35:46 hmmm... works for me May 15 13:36:24 import android.view.KeyEvent; May 15 13:42:44 http://www.netmite.com/android/mydroid/dalvik/docs/jni-tips.html#Native_Libraries May 15 13:43:01 O_O May 15 13:44:57 how do you refer to it sammyF? May 15 13:45:35 ah KeyEvent.KEYCODE_M May 15 13:46:42 how do I force a redraw? May 15 13:46:55 invalidate(); May 15 13:47:26 sorry about the slow answer .. fighting with my own issues here ;) May 15 14:07:19 http://pastebin.com/m339659e6 May 15 14:08:14 ^^ there is my code May 15 14:08:36 curious how the new google shopping web page can call an app... any pointers to docs? May 15 14:09:32 flipLeft: WORKS? May 15 14:09:32 hrmm May 15 14:09:36 i tried to make a 9 patch May 15 14:09:39 sorry for caps May 15 14:09:43 but its not showing up as selectable May 15 14:09:56 any ideas what im doing wrong, it goes in drawable right? May 15 14:10:10 did you name it w/ .9 in name blau-mikeDG ? May 15 14:10:18 buttonblue.9.png May 15 14:11:01 not sure then May 15 14:11:49 sammyF: what do you mean? does it work for you? May 15 14:11:54 does th plane move? May 15 14:12:17 flipLeft: no. I mean, does the whole keyboard business work ? May 15 14:12:28 im not sure May 15 14:13:14 thats what imtyring to figure out May 15 14:18:11 is the barcode scanner launched via a content:// link? am i on the right path? May 15 14:18:31 grrr this is agravating May 15 14:22:14 i should use onKey instead perhaps May 15 14:22:15 but it doesnt operate in View May 15 14:22:28 I dont egt hwo to add it to the view because it takes a view as an argument May 15 14:30:25 man Java is just inheritance blasted all over the place May 15 14:46:05 do you guys typically use xml for views or java? coming from flex the xml layouts are compiled to many classes that aren't really that optimized, so a hardcore flex dev would typically either convert or start with AS3 May 15 14:46:45 public abstract boolean onKey (View v, int keyCode, KeyEvent event) May 15 14:46:52 xml May 15 14:46:57 that doesnt make any sense to me May 15 14:47:13 flip: why not May 15 14:47:14 should it be implemented as a method on another class? May 15 14:47:21 yes May 15 14:47:27 your class implements that interface May 15 14:47:27 it's defined as abstract May 15 14:47:30 or should it be its own class wth its own cosntructor and then amethod on that May 15 14:48:14 but ym class already implements another abstract class May 15 14:48:30 a class can implement as many abstract classes as it wants May 15 14:49:31 ok May 15 14:50:14 and then the first parameter shouldnt be there? May 15 14:50:49 public abstract boolean onKey (int keyCode, KeyEvent event) May 15 14:50:49 instead? May 15 14:54:09 flipLeft: iirc the first parameter lets you know which view is selected when the key is pressed May 15 14:54:17 sorry about the stupid java question, but somehow my brain just turned to mush. ^ is bitwise xor, right? May 15 14:55:06 nm .. it is :) May 15 15:06:20 hi i got a question: how can i get the contentView initially set with setContentView(R.layout.(...)); = May 15 15:06:22 ? May 15 15:07:17 ? May 15 15:11:26 @Override protected boolean onKey(int keyCode, KeyEvent event) { May 15 15:11:31 ios that how to do it? May 15 15:11:39 it cant be because eclispe complains about it May 15 15:11:51 must override an existing supermethod r soemthing May 15 15:12:03 and is this coreect: May 15 15:12:03 private static class GameView extends View implements OnKeyListener { May 15 15:14:30 ah not override May 15 15:21:35 how can i get the contentView initially set with setContentView(R.layout.(...)); May 15 15:21:37 ? May 15 15:23:39 keyOn May 15 15:24:23 onKey May 15 15:24:31 Hi... can anyone help me, im trying to change the resolution of android May 15 15:24:41 http://pastebin.com/m1ebec6de May 15 15:24:50 http://pastebin.com/m1ebec6de <- the code May 15 15:25:01 im working with android on the beagleboard, and the bootargs for uboot seem to make no difference. i also see no mention of screen resolution stuff in the filesystem May 15 15:27:46 how can i get the contentView initially set with setContentView(R.layout.(...)); May 15 15:27:56 someone knows how to do it? May 15 15:28:10 findViewById May 15 15:28:25 but how do you get the root May 15 15:28:28 view May 15 15:28:32 you give it an id May 15 15:28:37 and you findViewById May 15 15:29:01 but i want to get the view without a specific id May 15 15:29:15 just the contentview of the activity May 15 15:29:36 or even better the R.layout.(...) integer value May 15 15:29:39 ? May 15 15:30:05 is that possible ? May 15 15:30:16 I won't repeat myself a third time :) May 15 15:31:06 but if i use findViewById i need to know the id May 15 15:31:12 and i do not know May 15 15:31:29 or is there an integervalue for the root view ? May 15 15:31:45 why do you need to top level view? May 15 15:32:00 for manipulations May 15 15:32:01 ... May 15 15:32:18 ? May 15 15:32:48 someone can help me? May 15 15:38:38 isnt there a simple way to just call onDraw() like perhaps...reDraw? May 15 15:39:10 I redraw by invalidating the View? May 15 15:42:54 does anyone know how to change the screen resolution of android? May 15 15:44:58 is there a way to have the ints represented in hex in the expressions field in Eclipse? May 15 15:45:33 flipLeft: just call invalidate() May 15 15:46:17 i did, didnt help May 15 15:46:39 and yet, that's how you redraw on Android May 15 15:46:39 http://pastebin.com/m1ebec6de <- the code May 15 15:47:27 make sure you get key events first May 15 15:47:33 you might need to make your View focusable May 15 15:48:23 and btw May 15 15:48:46 your key listener is not attached to the view May 15 15:48:51 your view will NOT receive the key events May 15 15:49:52 my GamewView implemtns keylistener... May 15 15:50:28 it makes no sense to me. May 15 15:50:35 yes it does implement it May 15 15:50:39 should I implement OnKeyListener? May 15 15:50:42 but you never set the key listener on your view May 15 15:50:47 private static class GameView extends View implements OnKeyListener { May 15 15:51:07 and usually when extending View, one would just override onKeyDown/onKeyUp May 15 15:51:15 how do I do that then? May 15 15:51:44 i'm trying to get a button to call another class, my code compiles, but i get an error when I push the button. my code is the most recent post here: http://www.anddev.org/screen_to_next_screen_with_a_button-t5341.html can anyone help me out? Am I not refreshing the screen or something? May 15 15:54:03 do I need to register an EventListener or soemthing? May 15 15:54:18 ( i was disconnected inc ase someoen already answered) May 15 15:56:50 you need to register the OnKeyListener May 15 15:56:54 look at the View's documentation May 15 15:57:01 there's a setOnKeyListener() method May 15 15:57:59 dumb question ... but how do I set the color of the highlight bar in a listview? Mine's opaque orange for some reason, and I don't even know where it's set... opaque orange on a blue background.. not really workin' for me May 15 15:58:11 if I have a color FF123456 and I substract 01000000, it should decrease the alpha, right? May 15 16:00:28 sammyF: no :) May 15 16:00:35 subtractions don't work byte by byte May 15 16:00:49 soreachilles: you have to change the list selector drawable May 15 16:01:26 romainguy: sigh May 15 16:01:35 might explain why it doesn't work ;) May 15 16:01:39 indeed :)) May 15 16:01:45 k .. the opaque-ness was due to android:drawSelectorOnTop="true" ... setting to false helped out, but I'm not in love with the orange May 15 16:03:42 anyone able to point me in the right direction? I'm just trying to call a web view (from dev.android.com) from a new class... and I get a blank screen. May 15 16:06:48 hi all, when we can set themes in an application's manifest, can we set it for an appwidget ? May 15 16:10:32 what lies in the shadow of the statue May 15 16:15:46 superjet91: what is the error you are getting? May 15 16:15:50 either except/logcat? May 15 16:15:57 exception I mean... May 15 16:18:46 romainguy: actually, it does work ;) May 15 16:19:13 romainguy: I just had removed the paint.setColor line while trying to find another bug :P May 15 16:19:25 superjet91: Ah nevermind I see the post. It looks like you are trying to findViewById() without having called setContentView() in the 'secondClass' May 15 16:19:39 thats why you would get a nullpointer exception May 15 16:20:12 look at me talking to myself... May 15 16:20:38 superjet91 had left May 15 16:20:52 yeah, just noticed :) May 15 16:23:30 but how do I set a OnKeyListener if the class itself implements OnKeyListener? May 15 16:26:25 flipRight: setOnKeyListener(this)> May 15 16:28:32 I there a way to include an EULA with your app on the market? May 15 16:36:59 do I need to set focus on the app to? May 15 16:37:04 becausse still nothing happens May 15 16:57:49 hello May 15 17:06:15 hi, i'm having trouble understanding the following snippet - i can't see any problems but the compiler complains May 15 17:06:28 http://rafb.net/p/0ApL9A44.html May 15 17:07:31 purestrain: When you refer to 'this' inside there, you are actually referring to the OnClickListener you are building, not the activity/outside class May 15 17:07:59 aaaah May 15 17:08:00 this is an abomination May 15 17:08:26 my code? May 15 17:08:38 your mom! May 15 17:08:45 shrug May 15 17:08:53 thanks May 15 17:09:18 youre welcome May 15 17:09:25 lol May 15 17:09:28 you have a nice monkey too May 15 17:09:31 friend May 15 17:12:56 what is the error the compiler gives? May 15 17:15:16 the problem is when you create the the intent you are passing it a 'this' parameter which doesn't refer to your class May 15 17:15:28 it refers to the new onclicklistener you are creating May 15 17:16:02 aaaah May 15 17:16:12 nwmotogeek, thanks again, but the solution was posted before :-) May 15 17:16:19 oh May 15 17:16:20 :( May 15 17:16:29 nwmotogeek: you got it right though! May 15 17:16:52 lol, guess I should read the whole thread and not just bits and pieces May 15 17:17:14 purestrain: I think the "this" in your code wasn't referring to the containing activity, but the interface you were creating there May 15 17:17:29 i didn't thought about it (or just ignored the fact i'm creating a object OnClickListener) May 15 17:17:49 purestrain: I must have done that 50 times before I learned... May 15 17:21:19 strange to not simply use a delegate May 15 17:23:51 whats the proper "java" way? now i'm implementing a OnClickListener in the activity and pass 'this' to the on click listener May 15 17:24:30 but that would make troubles if i have several buttons with click events May 15 17:25:35 I can't remember how I did it, unfortunately I don't have my code with me either May 15 17:27:26 you could use a different intent constructor possibly... I think there is one that takes a string where you could do something like "com.purestrain." May 15 17:28:59 na, must not be related to activities... i'm currently only thinking about handling multiple different button within the same activity.. need to look at some examples May 15 17:29:46 i can't imagine passing 'this' to every onclicklistener und using a gigantic switch case block May 15 17:31:33 purestrain: unfortunately I haven't touched Java recently so I can't remember how I handled it... there definitely is an easier way though :) May 15 18:15:36 are there any service gurus around? May 15 18:18:22 im a guru service May 15 18:18:54 /etc/init.d/guru start May 15 18:19:02 sounds good :) So I have a media playback application. The main browser has a few different intents, any of which can send music to the player May 15 18:19:11 The player is implemented as a service May 15 18:19:27 I'm using onBind() to put it all together May 15 18:19:46 I guess my question is how to I maintain the IBinder object? May 15 18:19:56 should I maintain a static reference to it? or create a new one for each intent? May 15 18:22:35 you can cache it May 15 18:23:04 and refresh it in response to your ServiceConnection's notification callbacks May 15 18:23:22 an IBinder is roughly comparable to a cross-process object pointer. May 15 18:23:37 how can I play music in the emulator? should I put mp3 files ina specific folder? May 15 18:23:55 flipRight: you put them on the sdcard image that you launch the emulator with May 15 18:24:28 and then they get picked up by the Android media scanner just like on device May 15 18:25:25 ctate: sorry, but cache/refresh how? May 15 18:25:38 and how can I make sure the service is alive? May 15 18:25:40 bdodson: assign to a global variable? ;) May 15 18:25:47 a static? May 15 18:26:05 okay May 15 18:26:10 how do i put them there? May 15 18:26:23 flipRight: you should be able to use adb May 15 18:26:24 adb push May 15 18:26:29 you can use adb push, yeah May 15 18:26:55 or you could mount the sdcard image in your host OS, copy stuff to it, then unmount it [because you can't use it in the emulator while it's mounted on the host] May 15 18:27:12 bdodson: have you read the docs on Service and ServiceConnection? May 15 18:27:27 yes May 15 18:27:50 it's not clear to me when/who calls onServiceDisconnect May 15 18:27:52 your callback's onServiceConnected() being called => the service is alive May 15 18:27:54 the OS does May 15 18:28:12 when it detects there are no connections remaining? May 15 18:28:24 if the service crashes, the OS calls your callback's onServiceDisconnected() May 15 18:28:50 if you unbind the service and you're the only one connected to it, the service will be shut down [typicaly] May 15 18:29:06 you can't use the IBinder pointer after unbinding May 15 18:29:13 and the normal shut down does not call onServiceDisconnected()? May 15 18:29:23 what do you mean by "normal shut down"? May 15 18:29:27 unbindService() ? May 15 18:29:42 mm I guess I didn't mean anything :) May 15 18:30:18 onServiceDisconnected() is your notification that the service went away unexpectedly May 15 18:30:33 I mean, if I have 3 intents that all ran a bindService(), and one of the intents goes away, onServiceDisconnected() will _not_ be called for the other service connections May 15 18:30:44 ok coo May 15 18:30:44 l May 15 18:31:06 you mean if one of the services launched based on the intent May 15 18:31:19 an intent is just some data about somehting your app wants to do May 15 18:31:37 sorry, an activity May 15 18:31:50 3 activities connecting to 1 service May 15 18:32:15 each binding is tied to a ServiceConnection object May 15 18:32:55 right May 15 18:32:56 okay May 15 18:32:59 got it now :) thanks a lot May 15 18:33:04 hm, if you have three bindings to a single service that crashes, all using the same ServiceConnection... May 15 18:33:12 i honestly do not know whether you get the callback once or three times. May 15 18:33:24 I don't think they are using the same ServiceConnection May 15 18:33:28 I'll make sure they're not May 15 18:33:49 then you should definitely get the onServiceDisconnected() callback on each of the ServiceConnection objects May 15 18:33:51 yeah, I have a static IBinder and a non-static ServiceConnection May 15 18:34:00 but only if it crashes May 15 18:34:05 ServiceConnection is the notification interface for *a single binding* May 15 18:34:10 right May 15 18:34:25 it notifies you about *unexpected* disconnect May 15 18:34:27 I read that connections are not stacked, so I think in that case you'd get only 1 callback May 15 18:34:31 if you unbind, of course you won't get a notification May 15 18:34:33 aha, okay May 15 18:34:59 but if they're all binding to the same service, why bother binding three times? May 15 18:35:38 okay well this is probably a bug, caused by trying to fix another bug :) May 15 18:35:46 right now, I'm calling bindService in onResume()... May 15 18:35:55 should it be done in onCreate? May 15 18:36:05 yes May 15 18:36:14 otherwise you'll keep rebinding every time your app shuffles to the front May 15 18:36:24 sounds bad May 15 18:36:32 it's at best a waste of cpu :) May 15 18:36:42 at worst, you'll be leaking bindings May 15 18:36:48 yea May 15 18:37:12 do you need the service to run even when your app is not in front? May 15 18:37:25 like, after someone hits Home to go to the launcher? May 15 18:37:46 if not, i'd suggest that you bind in onStart() and unbind in onStop() May 15 18:38:37 allowing the Service to be shut down and the mem freed etc when other apps are in the foreground May 15 18:39:18 I do, it's a music playback service May 15 18:39:27 then don't unbind in onStop() :) May 15 18:39:34 :) sounds good May 15 18:39:46 and bind in onCreate(), i.e. just once May 15 18:39:56 Ok, so my update...: I have a static reference to the ServiceConnection May 15 18:40:05 a static reference to the IBinder object May 15 18:40:19 in onCreate, if IBinder object is null, call bindService() May 15 18:40:49 well May 15 18:40:55 Hmm, I bund/unbind in onStart() onStop() even though the service keeps running...is that really a lot of CPU work? May 15 18:41:18 zhobbs: once you've unbound the Service will be stopped, no? or are you doing it in a way that keeps it running anyway? May 15 18:41:32 ctate: the service is started before I bind May 15 18:41:35 so keeps running May 15 18:41:44 anyone have some suggestions for prettying up my buttons? May 15 18:41:45 ah, right May 15 18:41:56 cupcake :) May 15 18:42:01 lol May 15 18:42:08 cupcake isnt pretty:( May 15 18:42:13 zhobbs: since the service is held live, bind/unbind is relatively cheap May 15 18:42:29 blau-mikeDG: put an apple logo on them May 15 18:42:36 pfffffffffffffft May 15 18:42:45 bdodson: note what zhobbs is talking about here: the service is initially started with startService() rather than with bindService() May 15 18:42:54 that has the effect of making it run forever until explicitly stopped May 15 18:43:01 which might be what you want May 15 18:43:04 should I be doing that? in onCreate if the IBinder is null? May 15 18:43:34 i would do something like this: May 15 18:43:44 for a music player service I would start and bind May 15 18:43:53 have a static boolean sServiceStarted = false; May 15 18:44:09 and your static IWhateverBinder sServiceBinder; May 15 18:44:14 yup May 15 18:44:42 in onCreate(): if (!sServiceStarted) { sServiceStarted = true; startService(mMyServiceIntent); } May 15 18:44:58 then in onStart() you bind to the service, and in onStop() you unbind. May 15 18:45:20 aahhh yep May 15 18:45:22 makes total sense May 15 18:45:35 in onDestroy() you can call stopService(mMyServiceIntent) May 15 18:45:42 and error checking - in onServiceDisconnected, set sServiceStarted = false? May 15 18:45:47 no May 15 18:45:50 =/ May 15 18:45:55 you never unset that May 15 18:46:03 because the service keeps running forever automatically May 15 18:46:20 in onServiceDisconnected, you set sServiceBinder = null May 15 18:46:57 ctate: then he shouldn't stop in in onDestroy May 15 18:46:57 when the service is restarted onServiceConnected() will be called again, and you just set sServiceBinder as usual May 15 18:47:14 stop it* May 15 18:47:50 zhobbs: erm, okay yeah; if you want the service to keep running even if the app is torn down, don't stop it in onDestroy() May 15 18:48:14 i don't remember whether it'll be killed off when the process is purged for memory May 15 18:48:36 Does anyone know where I can find the locales? Want to get de_DE in the ADP 1.5 Build but cannot find it. May 15 18:48:37 it will be May 15 18:48:42 okay, don't bother then May 15 18:48:48 The Emulator knows de_DE May 15 18:49:00 unless you setForeground(true) in your Service May 15 18:49:02 oh that's right; onDestroy() is an activity-level callback, not app May 15 18:49:03 sigh May 15 18:49:19 then your process will run at a level where it won't be killed May 15 18:49:27 ^ easily May 15 18:49:45 it will still be killed under extreme pressure, but it won't happen until all other options have been exhausted. May 15 18:50:14 * ctate needs food, badly. May 15 18:51:03 yeah, could still be killed...haven't seen it happen yet though May 15 18:52:10 ctate: thanks a ton for the help, think I can take it from here.. May 15 18:54:22 and zhobbs May 15 19:09:06 you can upload your own apps to the phone without publishing via the stoire right? so i cna amek apps just for myself? May 15 19:10:49 flipLeft: yeah May 15 19:14:19 flipLeft: not only your own app, any app May 15 20:23:06 slow afternoon May 15 20:26:09 overclock it May 15 20:27:52 jt436: friday! May 15 20:28:13 zhobbs: thankfully! May 15 20:30:00 working on anything interesting lately zhobbs? May 15 20:30:24 just 1.5 stuff... May 15 20:30:59 been using my extra geek energy on researching arduino stuff May 15 20:31:30 want to build a thermostat for my grill :) May 15 20:34:04 cool May 15 20:34:13 jt436: how come I haven't seen your guys' game on the market yet? May 15 20:34:28 which one? May 15 20:34:37 guitar hero? May 15 20:34:44 its been out for ages May 15 20:34:57 haha, ok nevermind May 15 20:35:02 I'll have to check it otu May 15 20:35:08 ha May 15 20:36:09 NBA got yanked though because our license didn't state Android :( May 15 20:36:29 nba game? May 15 20:36:41 I've been using NBA gamecenter app a lot lately May 15 20:37:56 that wasn't a game, this was similar to the NBA app but better of course ;) May 15 20:38:19 hehe May 15 20:38:43 NBA had another app that was supposed to have different live video feeds of all the playoff games but I couldn't get it to work May 15 20:39:26 zhobbs: http://www.geeks.com/details.asp?InvtId=IR-THERMOMTR&cm_mmc=GoogleProducts-_-ComputerGadgets-_-TechGadgets-_-IR-THERMOMTR&utm_source=GoogleProducts&utm_medium=ShoppingSites&utm_campaign=IR-THERMOMTR May 15 20:39:36 a lot easier than going arduino :) May 15 20:40:07 I have one of these: http://www.partshelf.com/maet73.html May 15 20:40:15 Hi, I'm trying to write a list, that is populated by data from the net. Can anybody point me to some sample code of how the market or youtube app update their lists at runtime? May 15 20:41:09 ctate: I do overnight 15+ hour smokes in a charcoal grill...need something that will open/close my air vents to maintain a temperature so I don't have to wake up in the middle of the night to check it :) May 15 20:41:28 charcoal is a harsh mistress May 15 20:41:40 yeah...my old smoker was electrical... May 15 20:41:42 if/when i build a smoker it'll be electric May 15 20:42:00 mbarkhau: Jeffrey Sharkey has written a remote control type app on his page which downloads Wi-Fi data and populates dynamically. I believe it even does paging like the market and youtube apps. May 15 20:42:02 but it was too small, maybe I should build some electric coils while I'm at it May 15 20:42:22 http://dacp.jsharkey.org/ May 15 20:42:24 this soure May 15 20:42:26 source* May 15 20:42:43 with decent insulation you shouldn't need a lot of heat to maintain slow-que temps, 218° F or thereabouts May 15 20:42:52 mbarkhau: but the general idea is quite simple: extend BaseAdapter and do everything yourself. use AsyncTask (in 1.5) for convenience if you are unfamiliar with threading. May 15 20:43:03 ctate: it's ceramic, so insulation is good May 15 20:43:07 yup yup May 15 20:43:38 * ctate | Do not use the stainless steel probes and wires in microwave ovens. May 15 20:43:40 gee, ya think? May 15 20:43:58 hehe May 15 20:44:26 jasta: thx, I've been trying that basic approach, but I'm a little stuck so I'm looking for some "orientation" =) May 15 20:45:16 mbarkhau: as i said, the basic idea is to create your own adapter and spawn threads that do your download work. when they report back, the adapter should update its data and call notifyDataSetChanged May 15 20:45:23 this causes the list to redraw, basically. May 15 20:45:42 AsyncTask can help you with the threading, otherwise it's quite straight forward. May 15 20:46:00 the paging is an advanced concept that these apps are doing, but again if you just slow down and think about how adapters and threads work you can figure out how it can be done. May 15 20:46:25 the only tricky part is detecting when the list has reached the end so you can start fetching again. i believe jeffrey's code has an example of this, or you could just peruse the javadoc and you'll eventually find something helpful. May 15 20:47:09 atm. I spawn a thread when the final list item is fetched, which loads the data and sends a message to a handler to invoke said notifyDataSetChanged May 15 20:47:34 somehow it's not quite working out though May 15 20:48:59 that sounds right to me. May 15 20:49:11 can you show me your code? or at least the relevant part? May 15 20:50:20 http://pastebin.com/m8781f1d May 15 20:52:06 youre not doing a terrific job managing which threads youve spawned... May 15 20:52:20 but otherwise, what's not working? May 15 20:54:15 things aren't displaying correctly May 15 20:54:25 the list expands but items aren't shown May 15 20:54:40 well, your view inflation is slightly unconventional May 15 20:55:03 it shoudl look like LayoutInflater#inflate(resourceId, parent, false) where parent was given to you by getVierw May 15 20:55:06 getView() May 15 20:55:34 similarly, your threads can't access those ArrayList's youve provided May 15 20:55:39 because you arent synchronizing any of your data May 15 20:56:06 i feel that your understanding of threaded designs is fairly weak. you would benefit from migrating this to use AsyncTask (from Android 1.5) May 15 20:56:37 k I'll take a look May 15 20:56:40 there are _plenty_ of examples of usign AsyncTask (or formerly called UserTask) around the net May 15 20:56:55 i would recommend looking at only code produced by Google, however. May 15 20:57:33 also, there is no need to report your list as having 1 entry more than it really does in order to detect the end. you can actually monitor the scroll position and wait for it to reach the end May 15 20:57:46 then fire off an AsyncTask (if you havent already done so) May 15 20:57:58 it's important not to fire off multiple threads if the user keeps banging on the edge of the list while one is still working May 15 20:58:13 otherwise your code is quite reasonable. May 15 20:58:32 you might want to report count() + 1 just to show a loading row May 15 20:59:20 and your view might get pulled just before it is displayed, or it is partially displayed...you probably want to do it when you really hit the bottom May 15 20:59:51 possible May 15 21:00:56 jasta: about thread management, you probably mean I should be keeping the thread around after creation? May 15 21:01:34 mbarkhau: yes, definitely. May 15 21:01:39 because you dont want to spawn it twice May 15 21:02:07 i havent analyzed your code very deeply, but it seems unlikely you would want that May 15 21:03:40 but again, you do need to worry about synchronization of data structures if you keep this design May 15 21:04:04 AsyncTask will make it easy for you to ignore this issue, because you can perform all your work in the UI thread. May 15 21:04:26 AsyncTask rocks the house May 15 21:04:30 but without it, you must either create that messaging structure yourself (through the Handler), or read up on synchronizing access to objects between multiple threads May 15 21:04:51 AsyncTask it is =) May 15 21:05:41 but do also fix your view inflation issue :) May 15 21:05:59 I was wondering what the parentView was for =) May 15 21:07:37 the reason its provided is so that the parent widget can generate layout params for the child May 15 21:09:31 its not a huge issue because the listview will actually make some for you if necessary May 15 21:09:37 but they likely won't be what you were looking for. May 15 21:09:47 basically it will mean that layout_width and height from your inflated view will not be applied. May 15 21:10:05 and instead it looks like width=fill_parent and height=wrap_content will be assumed. May 15 21:10:33 (was just looking at ListView code) May 15 21:12:47 you probably want width=fill_parent, height=wrap_content, minHeight=?android:attr/listPreferredItemHeight, fyi ;) May 15 21:16:16 Does anyone know the meaning of this: Binding with unknown activity: android.os.BinderProxy@[....] May 15 21:19:35 Hi guys, I am studying the Lunar Lander app. If you were to animate several views on a Canvas, would the best approach be to create threads for each of them? May 15 21:21:35 no May 15 21:21:46 well, maybe on a Surface that could work May 15 21:22:04 does Lunar Lander use s Surface? May 15 21:22:20 oh man, this service stuff is still killing me May 15 21:22:31 Sorry, my mistake, it was a Surface and not a Canvas up there. May 15 21:22:41 I created a class PlaybackServiceConnection that implements ServiceConnetion May 15 21:22:54 it has an IBinder object May 15 21:23:05 in onServiceConnected, I populate this object May 15 21:23:15 but then the object gets nulled out before I can use it! May 15 21:23:24 and I'm not the one doing the nulling =/ May 15 21:24:47 which object gets nulled out? May 15 21:24:48 how do you initialize the IBinder object? May 15 21:27:10 playbackBinding = PlaybackInterface.Stub.asInterface((IBinder)service); May 15 21:27:25 actually, it looks like my PlaybackServiceConnection object is changing May 15 21:27:32 printing out the object shows the reference changes May 15 21:28:20 in my activity, I have: private PlaybackServiceConnection sPbConnection = new PlaybackServiceConnection(); May 15 21:28:32 May 15 21:30:00 ah I have a thought.. May 15 21:30:05 for once May 15 21:30:58 nope. this is total nonsense. May 15 21:34:24 djola: a thread for each thing you want to display would be very expensive. May 15 21:39:38 jasta: yep, this is what I was starting to think as well. It would be mayhem to coordinate everything with 10+ views. Do you suggest then a main game thread with various Views being redrawn based on various parameters? May 15 21:40:33 i have not created a game engine on android, or ever, so i cannot say what you should do. May 15 21:40:44 just be reasonable: a thread for each object to animate or draw is absurd. May 15 21:41:11 jasta: yes, thanks for the advice, much appreciated. May 15 21:41:13 djola: use a single view for in-game May 15 21:48:30 jt436: thanks, that sounds like the best way of doing it. I am starting to experiment with the Canvas drawing capabilities here therefore I believe if I do not have too much stuff going on, I will not lose responsiveness. May 15 21:49:53 how do I start browser with weakly formed url? like linkified can? May 15 21:49:59 where are there some open source apps whose code i can look at? May 15 21:50:16 kyle__: http://code.google.com/p/apps-for-android/ May 15 21:50:25 url could have http or https May 15 21:50:37 jt436: awesome. thank you May 15 21:52:50 once bluetooth works May 15 21:52:59 oops May 15 21:54:18 kyle__: http://code.google.com/hosting/search?q=label:android May 15 21:55:29 OK May 15 21:55:31 finally in business. May 15 21:55:35 I had to keep track of an instanceCount May 15 21:55:42 to count the number of stop/start calls May 15 21:56:05 because an activities stop() is called after the old activities stop(). May 15 21:56:20 err start() May 15 21:56:34 haha wow I said that wrong May 15 22:03:27 bdodson: why are you tracking that? May 15 22:03:30 just curious May 15 22:05:39 is there a way to design a button so that it looks like a plain square? May 15 22:06:48 kyle__: just set the background to an image of your choosing May 15 22:06:59 kyle__: also, check out 9-patch images...they are handy May 15 22:07:44 zhobbs: okay. thanks again May 15 22:14:27 IT WORKS! May 15 22:14:32 thx guys May 15 22:15:11 zhobbs: i'm trying to draw a crossword like grid, where if i click on a box it becomes gray and if a gray box is click it goes back to white. im trying to using standard Android widgets like buttons and gridview, would you recommend that path? May 15 22:17:19 yeah, that could work May 15 22:17:38 though you may consider at least extending Button to manager the state May 15 22:18:52 I just remembered: "You shouldn't have to break out the champagne every time C does what it's supposed to do, after ripping your hair out trying to find the right incantation" May 15 22:22:16 Hi! May 15 22:22:20 Is it possible to have a spinner with icons rather than text options? May 15 22:27:16 hums.. is there no way to detect when a Spinner is clicked on, before the dialog is shown ? May 15 22:45:07 Ramblurr: Not sure, but how is that important? May 15 22:49:11 i have been having problem with INSTALL_FAILED_SHARED_USER_IMCOMPATIBLE May 15 22:49:24 even thought i uninstalled like everything May 15 22:49:26 any clue? May 15 23:15:54 chouman82: did you look up the doc for that error code? May 15 23:16:15 chouman82: http://developer.android.com/reference/android/content/pm/PackageManager.html#INSTALL_FAILED_SHARED_USER_INCOMPATIBLE May 15 23:17:01 i believe this means you're trying to install things under a shared UID but they're signed with different certs May 15 23:18:32 is it possible to reload a package into the emulator without restarting the emulator? May 15 23:22:30 because it takes /forever/ for the emulator to start up... May 15 23:23:56 sure May 15 23:24:06 the Eclipse plugin should do that for you automagically May 15 23:24:24 if you're using adb, it's adb install -r MyApp.apk May 15 23:24:29 -r for replace May 15 23:26:53 so just run the project with the emulator open? May 15 23:27:17 Can an application get access to write to the /Music directory? May 15 23:27:44 on the sdcard? May 15 23:27:45 yes May 15 23:28:19 do I need to request permission in the manifest? May 15 23:29:29 no :)) May 15 23:29:31 it's free! May 15 23:30:08 hmm, why is canWrite() returning false? May 15 23:30:58 because /Music is not the sdcard May 15 23:31:09 o rly! May 15 23:31:17 sdcard is /sdcard/ May 15 23:31:17 it's internal?! May 15 23:31:20 yes May 15 23:31:21 right May 15 23:31:25 even better May 15 23:31:30 and isn't the default music directory /sdcard/Music ? May 15 23:31:44 there's no default directory May 15 23:31:46 music can be anywhere May 15 23:31:49 ah May 15 23:31:50 ok May 15 23:31:50 instead of /sdcard, use http://d.android.com/reference/android/os/Environment.html#getExternalStorageDirectory() May 15 23:31:57 I am May 15 23:32:19 File root = new File( Environment.getExternalStorageDirectory().getAbsolutePath()+ "/Music" May 15 23:32:23 no good? May 15 23:33:04 no May 15 23:33:37 new File(Environment.getExternalStorageDirectory(), "Music") May 15 23:33:59 ah May 15 23:34:02 ok May 15 23:36:11 still returning false May 15 23:36:17 anyone notice a HUGE memory leak when you indent or de-dent one of your layout XML files in eclipse? May 15 23:36:58 If I select-all one of my views then hit Tab, my eclipse process' resident memory jumps by 200 megs each time May 15 23:38:25 File root = new File(Environment.getExternalStorageDirectory(), "Music"); May 15 23:38:38 (root.canWrite()) => false May 15 23:39:12 probably because the directory doesn't exist? May 15 23:39:40 oh May 15 23:39:42 actually May 15 23:39:54 canWrite() might always return false for folders May 15 23:39:57 you would have to check May 15 23:41:05 it was returning true on getExternalStorageDirectory() May 15 23:41:24 then the directory doesn't exist May 15 23:41:33 aah my computer might have stolen the mount point May 15 23:47:47 Victory May 16 00:05:25 does the spinner view expands upon having some content May 16 00:05:47 mine has just bloated into an ugly looking spinner May 16 00:06:46 it has expanded in height, just after having some content in it. May 16 00:10:07 if I have a list view that contains MyViews that contain CheckedTextViews, what is the proper way of passing click events down to the CheckedTextView? May 16 00:10:26 currently, when I click on an item in the ListView, the CheckedTextView never toggles May 16 00:18:52 hello May 16 00:20:27 the 'uninstall' button is grayed out when i click on "android editors" under Installed Software in Eclipse v3.4 May 16 00:20:33 anyone know how to remove it anyway? May 16 00:28:48 i do not, sorry May 16 00:35:26 anyone ever used tweened animations on 1.1? May 16 00:38:21 jsharkey: ping? May 16 01:09:43 romain_guy: is there a reason that all the uninstalled package info gets retained in the package.xml file? May 16 01:19:25 wow that syntax is weird. May 16 01:19:31 foo.new Bar(); May 16 01:19:46 makes sense whats happening, but very weird looking May 16 01:20:13 wierd indeed May 16 02:02:52 I'm having issues with drawing to a canvas: if I draw to the canvas in onDraw() everything works fine, but if onDraw passes canvas to another method for updates, canvas never gets updated. May 16 02:03:13 anyone know if this is normal, or what? May 16 02:10:23 sorry, struggling with animation here, so of little help. :) I do remember something about having to call an invalidate() method somewhere to force redrawing... ? May 16 02:12:39 Apparently Android doesnt have System.out.println? how should I print out data? May 16 02:12:45 for debugging May 16 02:12:57 use Log.e() May 16 02:13:20 http://developer.android.com/guide/developing/debug-tasks.html May 16 02:15:13 does getHeight() and getWidth() for Views return 0 before their first onDraw? May 16 02:15:30 because they are returning 0 for me for some reason... May 16 02:15:47 that I do not know - still learning here myself May 16 02:15:58 gotta go now, so good luck over there **** ENDING LOGGING AT Sat May 16 02:59:57 2009