**** BEGIN LOGGING AT Mon Jun 01 02:59:57 2009 Jun 01 03:06:21 romainguy: when I'm submitting patches for android to gerrit that go across multiple repos is multiple changes in gerrit the only (and/or advised) way? Jun 01 03:08:49 has 1.5 completely rolled out? Jun 01 03:11:07 in the US i mean Jun 01 03:11:42 robfranz, almost completely Jun 01 03:12:59 ok cool. was just wondering. Jun 01 03:33:03 is there a way to make sure a the mediaplayer has a file ready? Jun 01 03:33:23 (similar to checking the result of play() on soundpool ? Jun 01 03:34:18 sammyF: I think the default .prepare() is synchronous Jun 01 03:34:45 kRutOn: thanks. I was afraid that would be the answer Jun 01 03:34:48 OK, I feel stupid and feel like a newb, which I am, but I just spent 4 hours trying to figure out how to get a webview's history state to be saved and restored. I manually did a webview.saveState and do a webview.restore with the bundle right after the webview is created from the resources. not much out there for tutorials it seems, any ideas? Jun 01 03:35:23 Can't get it to function, it seems. Jun 01 03:55:14 woohoo finally got it to work... I was doing the saveState on a new bundle instead of the passed in one, and then doing a restore with the Activity state instead of retreiving with the bundle.getBundle that was returned Jun 01 04:50:49 romainguy: anyone familiar with frameworks//base/services/java/PackageManagerService.java? Jun 01 04:51:40 I don't even want to know what despicable thing you are trying to accomplish :) Jun 01 04:51:51 more seriously: unless ctate does, nobody around here can help Jun 01 04:53:25 romainguy: just trying to fix the bug where when an application with a sharedUserId is deleted, it deletes any overlapping permissions Jun 01 04:53:36 I was reading the hi guidelines for android and it's something I just can't follow. Jun 01 04:54:04 *hi Jun 01 04:54:34 *ui - blame the ipod touch Jun 01 04:54:36 I have an idea of what is happening, I just want to make sure I'm not going to break anything in my attempt at fixing it Jun 01 04:54:42 herriojr: didn't you send a fix already? Jun 01 04:54:47 I remember seeing a patch on r.android.com Jun 01 04:54:49 I haven't sent a fix in yet Jun 01 04:54:54 wasn't me :) Jun 01 04:54:59 let me check Jun 01 04:55:45 ah no different: Jun 01 04:55:45 https://review.source.android.com/Gerrit#change,10081 Jun 01 04:58:20 is that already in Donut? Jun 01 04:58:29 if so, that doesn't fix the issue Jun 01 05:00:05 my issue is different than the one listed in the bug Jun 01 05:01:11 romainguy: yeah, that's in the code I'm running and it doesn't fix my issue Jun 01 05:03:31 so I still need to fix it Jun 01 05:04:31 sorry, I'm spacey at the moment, I didn't realize you said it was different Jun 01 06:34:51 can I somehow specify in which package the generated R.java should be placed? Jun 01 06:48:44 mbarkhau: yes, kind of Jun 01 06:49:18 it builds in whatever directory you have set as your application's package name Jun 01 06:51:30 herriojr: I mean a dir other than the package name =) Jun 01 06:51:48 i have package appname.free appname.paid Jun 01 06:51:48 no, and I think that is because the system needs to know where to find it Jun 01 06:51:58 I would like to just change the package name Jun 01 06:52:01 but I could be wrong Jun 01 06:52:45 just try generating your ant file, then changing the location of the R file Jun 01 06:53:57 any obvious reason I get a permission denied when trying to open a socket in the emulator? Jun 01 06:55:12 romainguy: I have a fix, I just need to verify with ctate that I am making the right assumptions Jun 01 06:55:26 plediii: did you ask for permission? Jun 01 06:55:40 i didn't know i had to Jun 01 06:55:49 in your AndroidManifest.xml Jun 01 06:56:01 Jun 01 06:56:04 or something like that Jun 01 06:56:17 anyways, goodnight Jun 01 06:56:55 thanks Jun 01 07:06:07 ok, so now it can try to open the socket :) Jun 01 08:25:45 hey all! i'm trying to port an app from canvas to GLes but i fail even to run correctly the most basic "clear" example that is on the blog, when the activity resumes after pause no gl call is done (though activity onPause/onResume are overriden as in the sample) : http://pastebin.ca/1443291 Jun 01 08:25:57 wb google folks :) I/O looked amazing, wish i could have been there Jun 01 08:33:41 hi. i have a little problem. the compilar warn me that a variable might not be initialized, because i initialize it in onCreate. (which is guarented to be called, right ?) Jun 01 08:33:46 how can i get rid of that ? Jun 01 08:33:53 compiler Jun 01 08:33:58 (in eclipse) Jun 01 08:35:10 ho... mmm...look like it works. nvm Jun 01 10:14:06 hmm i really do not understand how i can end up with two GLThread in one process using a single GLSurfaceView ? when the app is paused then resumed through "activity switcher" it works as intended, when "resumed" by clicking on the app icon launcher it runs onCreate then creates another GLThread and waits (deadlock?) Jun 01 10:19:38 hmm i feel stupid... of course my manifest was bogus huh Jun 01 11:32:01 hi does anybody know what package from ubuntu I need for OSError: [Errno 2] No such file or directory Jun 01 11:57:57 hi all, does anyone know how to turn off gps. finish() doesnt seem to do the job. Jun 01 12:09:53 whats the best video format to use for android? ogg? Jun 01 12:33:21 gaz, i don't even know if it supports ogg Jun 01 12:34:58 retry here, probably more on topic... I have a problem getting my manual GPS data from the DDMS to the Android emulator Jun 01 12:35:36 it seems to react though, as the first time I set a position, gps goes from temporary unavailable to available... Jun 01 12:35:52 but after that it just stops and never seems to call onLocationChanged() Jun 01 12:36:17 anyone an idea if I am doing something wrong? Jun 01 12:42:18 TD well it def does ogg sound Jun 01 12:42:22 and u know how linux heads love ogg Jun 01 13:23:48 Is there a function call for hiding the soft keyboard? I know the soft keyboard's state can be set via the manifest, but I would like to hide the keyboard after the enter key has been pressed in the last EditText field. Jun 01 13:37:28 hi does anybody know what package from ubuntu I need for OSError: [Errno 2] No such file or directory Jun 01 13:59:36 Anyone played with phonegap with any success? Jun 01 14:11:33 can I get root privilage for opening /dev/mem somehow? Jun 01 14:11:40 at android I mean Jun 01 14:30:07 does nobody has an idea? Jun 01 14:45:08 serdar: they either have no idea, or are asleep or something :) Jun 01 14:45:38 I have tried to ask about a strange error I ran into Jun 01 14:45:41 with ddms Jun 01 14:45:47 and no one replied Jun 01 14:45:55 hm Jun 01 14:46:51 you could try to ask in #android Jun 01 14:47:53 serdar: there is a bit more activity going on there, though they did not respond to my question either Jun 01 14:49:08 there are only few people more Jun 01 14:49:36 410 vs 164 Jun 01 14:49:48 #android vs #android-dev Jun 01 14:50:11 few people more you see :) Jun 01 14:50:22 probably, nobody knows the answer ... Jun 01 14:50:23 and maybe you could try to ask people directly Jun 01 14:50:39 sometimes channel with fewer people have a better signal-to-noise ratio ;) Jun 01 14:54:44 mauritslamers, no, you don't ask people directly unless they've told you to do so in the past Jun 01 14:55:31 KNY: but of course... The only problem is that it is extremely annoying that people don't seem to be able to answer a normal question Jun 01 14:55:51 a simple: don't know would suffice Jun 01 14:56:30 mauritslamers, generally, if someone asks a question you don't know the answer to, you leave it to someone who does know the answer Jun 01 14:56:39 otherwise the signal:noise goes down Jun 01 14:56:57 yes, it can be frustrating, but you just have to be patient Jun 01 14:57:22 or maybe ask the question in an indirect manner :) Jun 01 14:57:47 like "who works on a Mac?" before asking the question you actually wanted to ask Jun 01 14:57:47 mauritslamers, all that being annoying is going to get you is a /ignore Jun 01 14:58:03 mauritslamers, no, you never do that. Never ask to ask or ask leading questions. Just ask your question. Jun 01 14:58:19 see the /topic Jun 01 15:05:58 is there a way to get info about the device the app is running from? Jun 01 15:10:38 mmmulani, what do you mean? like Dream/Magic? Jun 01 15:15:19 good morning. Is there a way to load only a portion of a large image. so i have a 2048x2048 image, but i only want to load 320x240 at any given time. Jun 01 15:17:26 javauser: highly depends Jun 01 15:17:32 what format is the image in? where is it stored? Jun 01 15:17:46 png, stored in the application .. Jun 01 15:18:21 no, not really then Jun 01 15:18:30 to read a section of a png, you need to decompress the whole thing Jun 01 15:18:30 is the problem local storage? Jun 01 15:18:38 which will use a lot of memory Jun 01 15:18:51 yes, thats the problem i am trying to get around :) Jun 01 15:18:54 i suggest splitting the image into the sections you might want to load Jun 01 15:18:59 it doesnt have to be png Jun 01 15:19:21 thats just what i have so far -- i am actually trying to make a scrolling game Jun 01 15:19:47 so as the user navigates around the screen, they see different parts of the image Jun 01 15:20:01 i wanted to avoid trying to seperate each area as a tile Jun 01 15:31:12 KNY: yeah, seems I found it in Build Jun 01 15:31:54 is there any sort of unique identifier on the android, or should my app generate its own? Jun 01 15:32:58 you can use imei or stuff like that, but that comes with its own host of problems Jun 01 15:33:07 depends on what you're using it for Jun 01 15:33:25 javauser: take a look at the "developing games in android" talk from google i/o Jun 01 15:33:31 mmmulani, ANDROID_ID Jun 01 15:37:49 vol: do you have a link to the talk? have they released the info from it ? Jun 01 15:38:56 mmmulani: http://developer.android.com/reference/android/telephony/TelephonyManager.html#getDeviceId() Jun 01 15:39:11 morning everybody Jun 01 15:39:35 jt436: game was nice yesterday? Jun 01 15:39:46 no the Penguins lost! Jun 01 15:40:24 yeah .. i'm all for Linux too .. but still ... ;) Jun 01 15:40:34 ha Jun 01 15:40:59 they should all be up on youtube, right? Jun 01 15:42:01 none of the talks are up yet, they usually take a week or so to collate and upload Jun 01 15:42:51 KNY: oh boy, does ANDROID_ID show up on the emulator as well? Jun 01 15:43:01 it's null on the emulator Jun 01 15:46:15 well that bites.. guess thats the punishment for not being able to make it out there :( Jun 01 15:52:44 jt436: the wave talk is up I think Jun 01 15:52:51 jt436: at least I saw it Jun 01 15:53:42 yes, both keynotes are up already http://code.google.com/events/io/ Jun 01 15:56:08 sigh ... what could be the reason that my application gets a wait/close popup every other time on the actual phone, but never on the emulator? :/ Jun 01 15:56:36 (and only on application start .. After that it runs fine) Jun 01 15:57:27 you mean ANR? Jun 01 15:57:37 you're blocking in startup somewhere :> Jun 01 15:57:47 why not run with a debugger, and hit pause a few seconds in? Jun 01 15:57:57 are you doing any network on startup? Jun 01 15:58:01 if so, run it as a background thread Jun 01 15:58:25 really, anything that could potentially block or will take more than a few milliseconds you should be throwing onto a thread to run in the background Jun 01 15:59:30 vol: hmm ... I thought it might be the loading of the soud samples, so that's already in an asu=ynctask Jun 01 15:59:41 asynctask Jun 01 15:59:45 what would be the reason to run my service in a separate process? If I only need to access my service from my own app (int he same apk), then I should never have a reason to put my service into another process? Jun 01 15:59:55 or what's the deal with them? Jun 01 15:59:58 I'll try moving the whole initialisation in there ... maybe that will help Jun 01 16:01:04 KNY: probably my last question, is there a way to get my app's version name from the manifest? Jun 01 16:01:19 yes, give me a second Jun 01 16:01:31 here you go: getContext().getPackageManager().getPackageInfo(getContext().getPackageName(), PackageManager.GET_ACTIVITIES).versionName; Jun 01 16:01:35 :) Jun 01 16:01:57 oh man Jun 01 16:02:05 that was amazing Jun 01 16:04:12 sammyF: that might not be it. You might want to put a few logging statements into your code and see how far you get before you get ANR Jun 01 16:04:41 is there a way to get the parent context from an anonymous inner class such as OnKeyListener? Jun 01 16:04:55 you can always reference the outer class Jun 01 16:05:01 MyOuterClass.this Jun 01 16:07:33 * musashi0011 opens mouth and inserts foot Jun 01 16:07:41 thx vol Jun 01 16:09:33 no problem, that was kind of a "oh shi" moment when I learned about it five years after learning java :P Jun 01 16:09:49 ==vol Jun 01 16:09:52 before that I was passing the outer class as a constructor to the inner class :P Jun 01 16:11:02 sometimes I get confused when reading the SDK and I see Context. Frankly I am still not 100% sure I understand what it is. Jun 01 16:11:52 it's a thingie Jun 01 16:12:00 sweet Jun 01 16:12:06 a context thingie Jun 01 16:12:35 I think that is copyrighted by a PR firm. Jun 01 16:12:39 tauno is correct Jun 01 16:12:46 it's a thingie. Jun 01 16:13:15 Seriously?? Jun 01 16:13:26 is that like another word for a wrapper of some sort? Jun 01 16:13:48 it sounds nebulous. Jun 01 16:15:15 musashi0011: check pm Jun 01 16:15:34 in the sdk its defined as "Interface to global information about an application environment.." Jun 01 16:15:44 no, the wrapper for the thingie would be a android.content.ContextWrapper ;) Jun 01 16:16:02 it allows functions to be aware of your program and what it is doing Jun 01 16:47:51 hmmm, is there a base64 encoder in android.util? Jun 01 16:48:04 the doc mentions it but I can't find it explicity Jun 01 16:48:09 *explicitly Jun 01 16:49:09 it's probably hidden then Jun 01 16:49:09 http://code.google.com/p/android/issues/detail?id=902 Jun 01 16:49:15 it's not public Jun 01 16:49:27 fortunately it's easy to do Jun 01 16:49:27 http://iharder.sourceforge.net/current/java/base64/ Jun 01 16:49:28 you need to add one as far as I know Jun 01 17:00:08 so, when using "repo start", is it okay to supply the --all option, or should I only include the specific project I'm modifying Jun 01 17:35:17 Is there a method to keep the persistence of a dialog box, specifically an AlertDialog box. Jun 01 17:35:47 musashi0011: do you mean during rotation? Jun 01 17:36:53 managed dialogs are your friends Jun 01 17:37:16 I am using an AlertDialog to get two text entries, what I am trying to do is to prevent the dialog box from closing when the positive button is selected. Jun 01 17:39:25 thanks KNY. Jun 01 17:41:02 Hm, I think I'll get chastised if I file this bug. Jun 01 17:41:31 The SDK documentation says setings windowSoftInputMethod="adjustResize" will always resize the activity, but it doesn't in landscape mode. Jun 01 17:41:59 Which I suppose makes sense in most situations because the keyboard is huge Jun 01 17:42:26 ok, I think dialog.dismiss() will work. Jun 01 17:42:29 but, uh, I want to do it anyway Jun 01 17:47:34 kRutOn: If you really feel it is a bug, I'd just file it, even if you do get chastised ;) Jun 01 17:50:39 I better read more docs first so I don't make Dianne Hackborn roll her eyes :) Jun 01 17:51:10 she already has, fyi Jun 01 17:51:27 kRutOn, I think that's because in landscape mode it is a different layout instead of resizing Jun 01 17:51:29 as I understand it she has psychic powers that allow her to ugh when you even think really dumb things Jun 01 17:51:43 "# If not running fullscreen, the application is moved or resized to be above these views; if running fullscreen, the window will completely cover the application and its top part will contain the extract text of what is currently being edited by the application." Jun 01 17:51:57 I guess it's considered fullscreen at that point. Jun 01 17:56:41 When do your UI elements get created? OnCreate or OnStart? Specificly I am interested in their width and height attributes Jun 01 18:01:15 nwmotogeek, I believe there is a page on the dev site about "how views are drawn" that covers that Jun 01 18:01:19 I could be wrong though Jun 01 18:02:59 Hey Jun 01 18:03:10 Can anyone help a Java and Android starter by telling me just why this code doesnt run in the emu? http://pastebin.com/m2b9513fc Jun 01 18:03:23 Just trying to set up 3 tabs Jun 01 18:03:50 It all compiles, but it "stops unexpectedly" when I run it. Jun 01 18:04:03 what does logcat show Jun 01 18:05:05 The error, it would seem :P Jun 01 18:05:26 I forgot to add width and height to TextView Jun 01 18:15:25 hey, so when checking in a fix for Android, I get the following error: ! [remote rejected] herriott-shareduser -> refs/for/donut (branch donut not found) Jun 01 18:16:04 why would it have issues checking in to donut? Jun 01 18:16:38 do you have permissions to commit to donut? I dunno(t) Jun 01 18:17:45 it has to be verified anyways, so I don't think I'd need permission Jun 01 18:18:23 *verified = approved Jun 01 18:20:18 romainguy: ping Jun 01 18:26:11 is donut writeable by outside people at all? Jun 01 18:26:30 herriojr: i'm here :) Jun 01 18:26:34 where can I upload my chages to for review? Jun 01 18:26:38 yeah, just saw that :) Jun 01 18:26:48 the directions are on the site Jun 01 18:26:54 but it sounds like they're failing, right? Jun 01 18:27:06 yeah, that's what I'm experiencing Jun 01 18:27:45 I checked out donut Jun 01 18:27:50 started a branch Jun 01 18:28:15 edited the files, git add, repo status, git commit, repo upload Jun 01 18:28:19 and it fails on the upload Jun 01 18:29:47 maybe b/c one of my license agreements hasn't been processed yet? Is there a way I can mark which one I want to use? Jun 01 18:29:58 individual vs. corporate Jun 01 18:31:22 and if I have to wait for my corporate one to be processed, about how long does that take? Jun 01 18:31:43 geeze, all this to commit a one-liner fix ;) Jun 01 18:31:59 Could anyone recommend a good tutorial on how to open up the the camera app and take a picture, save it and bring it back to my app? Jun 01 18:32:38 RavenStrike: nope, but chances are, you need to start the activity for result Jun 01 18:32:42 Is it relativly easy, or? Jun 01 18:33:04 I haven't done it though, so that's my guess Jun 01 18:33:13 hmm Jun 01 18:33:47 is there a way to replace the default locking app? Jun 01 18:34:44 herriojr: sorry, got pulled afk for a minute Jun 01 18:35:40 herriojr: you're certain you're working in a donut repo, i assume? Jun 01 18:35:53 nwmotogeek, Lock 2.0 does it, right? Jun 01 18:38:17 ctate: yes, I checked it out as repo init -u git://.... -b donut Jun 01 18:38:21 whats the best way to layout if you want a slice at the top, a slice at the bottom and the remaining space taken by a view in the middle? Jun 01 18:38:39 linearlayout, i'd start with Jun 01 18:38:45 with appropriate weights & gravity Jun 01 18:38:56 KNY, not fully. I think Lock 2.0 runs as soon as the user unlocks the phone by pressing the menu button but I could be wrong Jun 01 18:39:11 nwmotogeek, ah, I haven't played with it really Jun 01 18:39:16 ctate: thats what im trying at the moment... but its not working so far Jun 01 18:39:42 ezome, set the middle to fill_parent/fill_parent and weight of 1 Jun 01 18:39:52 the top/bottom would just be fill_parent/wrap_content, no? Jun 01 18:39:56 getting the weights right is usually the trick Jun 01 18:41:03 what do I need for repo to not get OSError message Jun 01 18:41:14 OSError: [Errno 2] No such file or directory Jun 01 18:41:17 ctate: how do I verify that I have the right branch checked out using repo/git? Jun 01 18:42:04 tanks guys. now it looks just right :) Jun 01 18:42:10 herriojr: run head .repo/manifest.xml Jun 01 18:42:21 ctate: btw. you were right. asynctask's kick ass Jun 01 18:42:26 sammyF: told you :) Jun 01 18:42:40 ctate: didn't solve my problem, but still ... ;) Jun 01 18:42:45 ha ha Jun 01 18:42:51 asynctask is the greatest Jun 01 18:43:00 yeah they look quite handy Jun 01 18:43:04 compared to thread/handler it's a godsend Jun 01 18:43:15 herriojr: yeah, that's what it should be Jun 01 18:43:43 herriojr: might pop over to repo-discuss and ask what's up. :( Jun 01 18:43:52 it must be that my corporate agreement is still pending, maybe? Jun 01 18:44:00 ok, thanks Jun 01 18:44:07 http://groups.google.com/group/repo-discuss Jun 01 18:44:15 yeah, it's probably that you haven't been approved yet Jun 01 18:46:08 I also have an individual contributor license, which has been approved Jun 01 18:46:16 is there a way in which I can say which I'm using? Jun 01 18:46:32 i want to ban the guy who is flooding the market with these Top Sexy Lady apps. who's with me Jun 01 18:46:52 I'm guessing you wouldn't know how long approvals would take, would you? Jun 01 18:46:55 herriojr: ::shrug:: Jun 01 18:46:59 robfranz: forget the sexy lady guy ... Jun 01 18:47:01 i'm not connected to the OSS stuff, really Jun 01 18:47:15 robfranz: let's ban the people who say "crashes" and then don't mail you :P Jun 01 18:47:16 ctate: btw, my change is in PackageManagerService.java, I have a quick question on assumptions that I made Jun 01 18:47:30 romainguy said you'd know the most about it Jun 01 18:47:32 oh hmm. what's the change you want to make? Jun 01 18:47:34 lol, i agree to that Jun 01 18:47:45 herriojr: well, i'm one of three Jun 01 18:47:56 but the other two aren't on irc :) Jun 01 18:48:05 sammyF: did you try my widget? Jun 01 18:48:10 sammyF: tbh usually it means "crashes on startup" or "crashes on rotation" Jun 01 18:48:17 as in "test this shit you nitwit" Jun 01 18:48:26 :) Jun 01 18:48:30 ezome: sorry .. yes. works great :) Jun 01 18:48:36 heh Jun 01 18:48:41 great :) Jun 01 18:48:43 vol: yeah ... but generally the nitwit DID test ;) Jun 01 18:48:57 vol: it just happens that it didn't crash for him :P Jun 01 18:49:04 herriojr: can you pastebin the diff you're proposing or something? Jun 01 18:49:14 sammyF: test HARDER. Jun 01 18:49:27 ctate: so, when deleting an application with sharedUserId when multiple exist, it compares the package being deleted's grantedPermissions to all PackageSettings's granted permissions associated with the sharedUserId, but the problem is that none of them have grantedPermissions, only the SharedUserSettings object does Jun 01 18:49:31 ezome: meant to mail you, but got taken up by another problem (the kind vol is talking about right now;)= Jun 01 18:49:38 market needs a better way for the devs to communicate w/the user... the comments section isn't a good way to do that Jun 01 18:49:44 vol: harder faster stronger? ;) Jun 01 18:49:49 the package being deleted's requestedPermissions I mean Jun 01 18:50:17 oic Jun 01 18:50:24 so, my fix was to compare to the PackageSettings's pkg->requestedPermissions object instead Jun 01 18:50:28 this stuff has all changed substantially on internal donut recently, herriojr Jun 01 18:50:29 better deeper longer Jun 01 18:50:30 sammyF: no problem... still alot to do anyway... currently working on the activities behind the widget Jun 01 18:51:32 ctate: so the PackageManger is changing a lot, and I shouldn't worry about it yet? Jun 01 18:51:40 yeah herriojr Jun 01 18:51:56 that specific bug is basically "fixed in future release" at this point, to my knowledge Jun 01 18:52:13 ok, it's just not in the public donut branch yet Jun 01 18:52:23 right Jun 01 18:52:26 alright Jun 01 18:52:32 thx though :) Jun 01 18:53:04 I can't wait until your internal merges with public, so I can see what's actually happening currently :) Jun 01 18:54:03 ctate: so, there are other additions I'd like to add, so when should I bother trying to add those if your internal isn't in sync with public donut? Jun 01 18:55:56 or should I just go ahead and add it? Jun 01 18:57:15 Ok, new question.. Lets say I have a EditText with some user entered text in it. I want to wrap this up as a .txt file and upload it to a web server.. Should I be doing that over FTP? Or is there an easier way? Jun 01 18:57:57 Is an Activity a type of Context? Jun 01 18:58:22 how about just using http post RavenStrike? :p Jun 01 19:00:31 cool.. but what about transforming the text in a EditText to a .txt file? Jun 01 19:01:22 err, just write it to a file? Jun 01 19:01:26 yeah Jun 01 19:01:42 *facepalm* Jun 01 19:01:53 what are you trying to do? just send the data to a server? Jun 01 19:02:00 ctate: I guess my question should be, how do I know what projects in android are being heavily modified? Jun 01 19:02:19 so that I don't submit a useless patch? Jun 01 19:03:05 KNY: Yeah, basically.. EditText --> .txt file to a server... Then that file is going to be downloaded to another client and the text extracted Jun 01 19:03:23 just post it over http Jun 01 19:03:47 of course it depends on your server implementation, but yeah Jun 01 19:04:42 hmm, so http post would work? Jun 01 19:04:42 never worked much with that type of programming.. Been mostly local .NET stuff, heh Jun 01 19:05:29 yes, http post is acceptable for uploading files Jun 01 19:05:36 * strazzere sighs Jun 01 19:05:37 cool Jun 01 19:06:08 any idea why the emulator is having real trouble resolving hostnames? works fine on the phone Jun 01 19:06:58 Rexxars: it just passes through your computer, does your computer have hostname issues? Jun 01 19:07:03 ctate: just to let you know : mea culpa and all the stuff. At some point, trying to fix another problem, I had put a synchronized( SurfaceHolder) in the method handling moving touches. (don't ask ... I was kind of desperate and it was late). I had forgotten to remove it :D thanks for your help Jun 01 19:07:25 nope, works fine on my computer aswell Jun 01 19:08:28 it seems to happen when I open a connection and it receives a 403.. which might indicate I'm not doing the network part correctly, but since it works on the phone.. seems weird Jun 01 19:09:05 403: forbidden love :< Jun 01 19:09:25 Rexxars: does this happen using the browser on the emu as well? Jun 01 19:10:04 sammyF: heh, yeah, that'll do it. :) glad you figured it out. Jun 01 19:12:09 ctate: you can't imagine how glad I am too ;) Jun 01 19:12:19 oh yes i can Jun 01 19:13:58 anyone had the android emulator fail at updating the screen orientation? Jun 01 19:14:30 no Jun 01 19:14:36 check your settings : ( Jun 01 19:14:49 hmm, I'll just try a reset Jun 01 19:18:51 Question: has anyone sending GPS data from the DDMS to the emulator? I don't seem to be able to get it to work, nor on Mac OSX or Windows (both VMWare and native) Jun 01 19:19:10 has anyone trouble sending GPS data... Jun 01 19:22:39 can findViewById() fail shortly after the orientation has changed? Jun 01 19:22:47 certainly Jun 01 19:22:55 because the entire layout may be torn down & recreated Jun 01 19:23:02 if it hasn't been recreated yet, you're SOL Jun 01 19:23:06 hmmmm Jun 01 19:23:15 how do you check if it has? Jun 01 19:24:08 I'm running into a case where is seems that the layout has been recreated, but changing a view from findViewById() does nothing Jun 01 19:25:13 mauritslamers: good luck Jun 01 19:25:17 Do I need to do anything in order to be able to import android.net.http.EventHandler? Jun 01 19:25:23 yeah, I've had trouble. I couldn't seem to get gpx working, tyhough kml did Jun 01 19:25:29 getting a "The import android.net.http.EventHandler cannot be resolved" error Jun 01 19:25:30 (kml didn't have orientation or speed info however) Jun 01 19:25:51 vol: it doesn't seem to send anything GPS-like at all Jun 01 19:26:09 the rest is no problem, but manual GPS doesn't do anything either Jun 01 19:26:17 RavenStrike: that's not a public class, if it exists Jun 01 19:26:28 hmm Jun 01 19:26:32 http://developer.android.com/reference/android/net/http/package-summary.html Jun 01 19:26:46 mauritslamers: entering gps manually definitely worked Jun 01 19:26:49 are you using 1.5? Jun 01 19:26:53 I think that was broken in 1.1 Jun 01 19:26:53 yes Jun 01 19:27:21 true... I found quite a few references... Jun 01 19:28:39 this thread resembles my problem completely: http://www.mail-archive.com/android-beginners@googlegroups.com/msg08210.html Jun 01 19:30:23 the strange thing is that sending the emulator a call does work Jun 01 19:32:00 it also doesn't matter whether the ddms is run from Eclipse or standalone Jun 01 20:00:45 how do you set the on screen keyboard to be only numeric? Jun 01 20:05:24 mmmulani: probably depends on an attribute of an EditText Jun 01 20:05:50 or are you doing a custom text entry field? Jun 01 20:05:55 herriojr: well android:numeric kind of works Jun 01 20:06:01 nope, I'm trying to get the dialer keyboard Jun 01 20:06:10 or at least some keyboard that only shows numbers Jun 01 20:11:01 maybe android:phoneNumber="true" Jun 01 20:12:37 ahahah, tried that too :P Jun 01 20:12:44 I figure there is no all-numberic keyboard Jun 01 20:14:54 I have one pop up Jun 01 20:15:50 it has 1, 2, 3, -, 4, 5, 6, ., 7, 8, 9, DEL, *#(, 0+, _, backspace Jun 01 20:16:04 but I guess that's not just numbers Jun 01 20:16:12 yeah, I don't think they have just numbers Jun 01 20:22:00 herriojr: hmmm, mine has most symbols Jun 01 20:25:11 how would you go back an activity? (ie produce the same effect as the user pressing the back button) Jun 01 20:26:08 mmmulani: finish() Jun 01 20:26:13 ouuuu Jun 01 20:35:14 some users are getting VerifyErrors exceptions when they start my application Jun 01 20:35:37 : ( Jun 01 20:35:41 verify your app Jun 01 20:35:49 it's on a custom View, java.lang.VerifyError: mypackage.MyView Jun 01 20:35:49 at java.lang.Class.getDeclaredConstructors(Native Method) Jun 01 20:35:49 at java.lang.Class.getConstructor(Class.java:401) Jun 01 20:35:49 at android.view.LayoutInflater.createView(LayoutInflater.java:470) Jun 01 20:36:11 that sounds like a signer error, or the wrong version Jun 01 20:36:30 signer error? Jun 01 20:36:56 jarsigner Jun 01 20:37:02 I dunno ._. Jun 01 20:37:25 it shouldn't die at runtime. isn't it supposed to verify at install time ? Jun 01 20:37:35 maybe file a bug, or post to android-platform Jun 01 20:37:41 one of the dalvik guys should be able to explain it Jun 01 20:40:59 does anything actually implement/use the getItem function of a baseadapter? or is that for the programmer to use himself? most of the samples I've seen just return the position.. Jun 01 20:41:35 I just used getItem() for the first time a few hours ago :) Jun 01 20:41:51 Rexxars: I think it's just for you Jun 01 20:45:05 zhobbs: there should be more error text than just the stack crawl; what are the preceding several lines of logcat? Jun 01 20:45:55 ctate: unfortunetely I have not been able to reproduce Jun 01 20:46:02 meh Jun 01 20:46:03 these are from remote crash logs sent Jun 01 20:46:21 for a small percentage of users it crashes every single time on start Jun 01 20:48:01 do you have good info on what OS the crashing systems are running? Jun 01 20:48:18 no....just added that to my latest version though Jun 01 20:48:35 sent it to some users that have contacted me about the problem Jun 01 20:50:17 zhobbs: i have an app that does an "adb bugreport" to the sdcard Jun 01 20:50:20 users can then email you the file Jun 01 20:50:51 TD: I collect MY logcat entries, plus the exception, that's usually enough Jun 01 20:51:13 ctate: http://groups.google.com/group/android-developers/browse_thread/thread/8ea2febebd348cad Jun 01 20:51:14 yep, sure, just saying ... if you want it, let me know Jun 01 20:51:49 you do it from your app? wasn't sure if an android app had access to full logcat Jun 01 20:54:28 i have a separate app to do it Jun 01 20:54:28 on another topic, can ContentProviders throw exceptions? just wondering what happens when you insert into a ContentProvider and the disk is full Jun 01 20:54:35 normally i only report exceptions and a few custom logged strings Jun 01 20:54:35 TD: ahh, that runs on the PC? Jun 01 20:54:38 no Jun 01 20:54:40 that runs on the phone Jun 01 20:55:06 TD: sure, I'd like to take a look if you have it somewhere Jun 01 20:56:05 zhobbs: fbsync.plan99.net/BugMeNot.apk Jun 01 20:56:16 it has a single button, that when pressed, dumps a bugreport to /sdcard/bugreport.txt Jun 01 20:56:27 from there you can attach it to an email, or have them upload it by plugging into a pc Jun 01 20:56:31 note that there is no feedback that it worked. Jun 01 20:56:34 i wrote it really fast ... Jun 01 20:57:14 ok, I'll give it a try Jun 01 20:57:25 thanks Jun 01 20:58:52 menus have really low discoverability on android :( Jun 01 21:00:50 TD: yeah Jun 01 21:01:13 sometimes I think some of my screens are over cluttered because I don't want to hide something in the menu Jun 01 21:01:47 TD: that likely wont last long... Jun 01 21:01:53 same with long press Jun 01 21:02:09 how often do you see some object on your PC screen and assume you can right click on it? :) Jun 01 21:02:37 fairly often outside web Jun 01 21:05:24 TD: mind posting the source for that? Jun 01 21:05:54 jasta: you mean android will change, or user's mentality will change? Jun 01 21:06:00 i think android will have to change Jun 01 21:06:10 the number of queries i get about how to do something that's available in a menu is huge Jun 01 21:06:50 zhobbs: http://pastebin.com/m7b31d672 Jun 01 21:06:56 zhobbs, TD, check out http://code.google.com/p/android-remote-stacktrace/ Jun 01 21:07:42 TD, I think the mentality will change Jun 01 21:08:42 KNY: interesting ui they have at trace.nullwire.com Jun 01 21:08:51 sadly my app has so many crash reports per day that it'd quickly flood the service Jun 01 21:08:56 but thanks Jun 01 21:09:12 TD, no, you put a single .php file on your server and point it there instead Jun 01 21:09:23 right, but i already implemented an equivalent .... Jun 01 21:09:28 still. might be useful for future projects. Jun 01 21:09:32 this requires no user interaction Jun 01 21:10:00 * KNY shrugs Jun 01 21:10:16 if you want to roll your own then that's your prerogative Jun 01 21:11:11 hey, if i knew about that before i did my own i'd have used it Jun 01 21:11:14 it's pretty simple either way Jun 01 21:11:21 yeah Jun 01 21:22:41 is there a maximum number of files you can have in the drawable directory? Jun 01 21:23:22 oh wait, seems one of my images above these files isn't a correct PNG image and seems to be causing issues with the rest :| Jun 01 21:24:43 Is there a built in app-update for the market? Jun 01 21:26:19 nwmotogeek: yes. if you upload a new version, people who have your application on their phone will be notified Jun 01 21:26:55 thx Jun 01 21:30:00 really stupid question probably, but I have a ProgessDialog and it shows percentage and i/100 .. how can I switch one of those off? Jun 01 21:30:33 I don't know ._. Jun 01 21:32:04 vol, seriously? Jun 01 21:32:40 vol: I mean, it's just a minor aesthetic annoyance anyway Jun 01 21:35:14 sammyF: I neither work for google nor do I know the layout details intimately Jun 01 21:35:18 intimitely Jun 01 21:35:19 whatever Jun 01 21:35:23 I shouldn't have answered at any rate Jun 01 21:36:06 vol: lol ... I know you don't work for Google ;) I just thought it was an ironical answer on your part Jun 01 21:36:24 ironical is not a word! Jun 01 21:36:28 *boot* Jun 01 21:36:33 vol: in french it is :P Jun 01 21:36:40 as far as i know it's not possible Jun 01 21:36:45 i would love to solve that also Jun 01 21:36:49 it's just not spelt this way Jun 01 21:36:57 sigh Jun 01 21:37:08 I haven't seen a progress dialog in a while, don't remember the number being shown Jun 01 21:37:26 def. is Jun 01 21:37:27 TD: ah ... so I'm not the only one Jun 01 21:37:37 shows 75%, and then 750/1000 or however much Jun 01 21:37:49 vol: yep Jun 01 21:37:54 ahh, just looked at the api demos Jun 01 21:37:56 yeah, that's annoying Jun 01 21:40:07 vol: It actually is a word. Jun 01 21:40:24 oh well .. at least it helps people to understand that 10% is 10/100 :P Jun 01 21:40:31 maybe you could use setView on it Jun 01 21:40:59 no, looks like that wouldn't work Jun 01 21:41:20 There seems to be a major localization issue with DDMS: if your locale is NOT en/us or en/uk, sending GPS data from DDMS does NOT work Jun 01 21:41:33 got it to work finally :) Jun 01 21:41:53 there's a @hidden public setProgressNumberFormat(String) Jun 01 21:42:45 sammyF: try using a different theme for the progress dialog Jun 01 21:43:07 sammyF: looks like if the style isn't what it's expecting it doesn't worry about the text fields Jun 01 21:43:14 except for the message Jun 01 21:43:40 hmm . will have to check that. thanks Jun 01 21:45:01 trying in apidemos Jun 01 21:45:50 hey, ive got a quick question Jun 01 21:46:19 sammyF: hmm, didn't work Jun 01 21:46:43 whats the command in terminal to check if my G1 is rooted? Jun 01 21:47:26 su Jun 01 21:47:38 so if su works Jun 01 21:47:43 that means its rooted? Jun 01 21:48:19 because su works, but alot of apps that need root access are telling me im not rooted Jun 01 21:49:25 type su Jun 01 21:49:26 then type id Jun 01 21:49:30 if it returns 0, you have root Jun 01 21:49:36 if not, you're faking so haaard Jun 01 21:50:10 yeah it returns uid=0(root) gid=0(root) Jun 01 21:50:29 so, do you know why the apps arent allowed access? Jun 01 21:50:49 no Jun 01 21:51:05 I know some implementations will ask you if you want to grant root before actually granting it Jun 01 21:51:11 yeah Jun 01 21:51:12 like Jun 01 21:51:14 i get the screen Jun 01 21:51:26 where it says always allow acces, never allow it blah blah blah Jun 01 21:51:28 i hit always allow Jun 01 21:51:36 and then the app says i dont have root Jun 01 21:51:49 because what happened was i rooted a while back Jun 01 21:51:58 and yesterday was messing with the dudes cupcake build Jun 01 21:52:02 and now its messed up Jun 01 21:53:33 try doing a wipe before you do the new build Jun 01 21:53:38 that might fix the issue Jun 01 21:53:50 i had Jun 01 21:53:55 i backed up with mybackuppro Jun 01 21:54:04 wiped, installed the build Jun 01 21:54:16 and installed stuff from mybackuppro Jun 01 22:01:14 how can I go about adding stuff to a ListView without having it scroll back to the top? Jun 01 22:01:34 I'm populating a ListView with items coming across from the network and having it jump every time is very jarring Jun 01 22:11:41 KNY: uhh, how are you adding to it? Jun 01 22:11:51 because you should be just changing the adapter and calling notifydatasetchanged Jun 01 22:12:04 doing so would not make it "jump" around Jun 01 22:12:09 unless you had unstable ids Jun 01 22:12:15 in which case i dont know what it would do Jun 01 22:12:57 jasta, ahh, I think I see what you mean Jun 01 22:12:59 let me play with it Jun 01 22:13:12 KNY: how can I go about adding stuff to a ListView without having it scroll back to the top? << if it jumps, you are doing something wrong Jun 01 22:13:29 romainguy_, well, I figured that was a given ;) Jun 01 22:14:09 KNY: is it possible that you are returning silly values from getItemId? Jun 01 22:14:29 jasta, no, I'm repopulating the adapter every time, haha Jun 01 22:14:35 oh, then yes, that is quite stupid Jun 01 22:14:39 ery Jun 01 22:14:41 very* Jun 01 22:14:45 so stop that. Jun 01 22:15:04 I'm working on it! haha Jun 01 22:15:44 jasta is starting to sound like romain Jun 01 22:16:00 nothing wrong with that Jun 01 22:16:22 wonder if he has a french accent? :) Jun 01 22:16:41 Funny, I think Romain is starting to sound like me :) Jun 01 22:18:09 i'm building a quick android prototype, and have a quick question on how to retrieve the current value from a AutoCompleteTextView... I've tried the setOnItemSelectedListener but it seems not to be called all the time (at least my log messages are only showing once)... what should I use ? Jun 01 22:20:35 jasta: haha Jun 01 22:21:55 by the way, are there plans on implementing dependency lists for applications, like application A relies on application B, so application B also needs to be installed? Jun 01 22:23:18 file a Market feature request? ;) Jun 01 22:23:51 ctate, where do we file these? I have quite the list... Jun 01 22:24:01 b.android.com no? Jun 01 22:24:14 i.e. the usual place Jun 01 22:24:16 ctate, I thought that wasn't the proper channel Jun 01 22:24:20 * ctate shrugs Jun 01 22:24:26 I'm pretty sure I saw a comment to that effect Jun 01 22:24:39 "If the only thing you have is a hammer, every problem looks like a nail." Jun 01 22:24:50 http://code.google.com/p/android/issues/detail?id=2161&q=market%20search&colspec=ID%20Type%20Version%20Security%20Status%20Owner%20Summary Jun 01 22:25:22 ctate: are there any plans to beef up copy protection on android? Jun 01 22:25:43 something better than "stick it in another dir and don't let people with adp1s look at it (but people with rooted jf builds can get it anyway so doesn't matter) Jun 01 22:25:49 #include Jun 01 22:25:50 :( Jun 01 22:25:51 btw jasta/romainguy_, that worked perfectly. Thanks! Jun 01 22:25:54 heh Jun 01 22:26:03 that said, everyone knows that forward locking is for the birds Jun 01 22:26:52 ctate: worth a try .. listen to me carefully ... "JOSHUA" ...now, no global tactical war, just the unnounced stuff please :P Jun 01 22:27:23 gesundheit? Jun 01 22:27:53 ctate: sigh ... you never watched WarGames I guess?! Jun 01 22:27:58 i did Jun 01 22:28:03 but i wasn't going to go there Jun 01 22:28:07 vol: i don't think android can support useful drm. the problem is a good implementation needs the platform developers to really care about it, and spend a lot of time/effort on it. now, even if google/htc met that criteria (they don't) all it takes is one company who doesn't care to make a popular android phone. then you have to decide, make my app available on that phone and get some of that market, or not? the former means piracy on all platorms Jun 01 22:28:11 ctate: :P Jun 01 22:28:33 i saw Tron in the *theater* bucko. ;) Jun 01 22:29:14 so i wouldn't hold your breath. you can try moving core logic behind a server, but then your app requires the internet to function. that's gonna cause pain. Jun 01 22:29:27 * TD looks at the endless stream of SocketTimeoutException crashes his app repors Jun 01 22:30:20 anyone try sorting an ArrayAdapter? Jun 01 22:30:25 TD: Then what's that DRM entry in the app list for? :\ Jun 01 22:30:30 Home does that nwmotogeek Jun 01 22:30:38 the documentation states there should be a Sort() but the intellisense in eclipse isn't showing it Jun 01 22:30:49 app list ? Jun 01 22:30:58 nwmotogeek, I'm pretty sure I've done it in one of my apps before Jun 01 22:31:01 nwmotogeek: there is a sort() in 1.5 Jun 01 22:31:07 not in 1.1? Jun 01 22:31:13 no, not in 1.1 Jun 01 22:31:16 thx Jun 01 22:32:18 this channel is awsome Jun 01 22:32:28 everytime I have a question you guys are able to answer it Jun 01 22:39:41 I'm having issues locating where InCallScreen is called on an incoming call, does anyone happen to know where this happens? Jun 01 22:58:05 did someone happen to answer my question, my vmware decided to freeze up and die Jun 01 23:01:39 herriojr, no one answered haha Jun 01 23:03:52 thanks ;) Jun 02 00:02:28 herriojr: in PhoneApp.java? Jun 02 00:13:32 hey, where do I get the g1 production updates from, so I can force a non-root g1 to update? Jun 02 00:16:55 herriojr u mean u want to upgrade to 1.5? Jun 02 00:17:10 yeah, i have a tester that has a 1.1 phone, so I want to force him to 1.5 Jun 02 00:17:20 ok i made a blog entry about it, 2 secs Jun 02 00:17:36 link? Jun 02 00:17:52 http://gazy.spaces.live.com/ Jun 02 00:17:57 second entry down Jun 02 00:18:31 and that's to keep it a non-root phone, correct? Jun 02 00:19:28 yes Jun 02 00:19:32 just a normal upgrade Jun 02 00:19:34 awesome, thank you Jun 02 00:19:43 np :) knew it would be handy to blog it Jun 02 00:38:05 hey Gaz Jun 02 00:56:16 In an ExpandableListView, how can I show one additional line at the end of the child results? Jun 02 00:56:46 Basically I want to list a bunch of "results" then have another line that's a sort of "click here for more info" Jun 02 00:57:23 I've created a custom adapter and gotten everything working except that Jun 02 00:57:55 I asked the question a little more thuroughly here: http://stackoverflow.com/questions/937307/in-an-expandablelistview-how-can-i-show-one-additional-line-at-the-end-of-the-ch Jun 02 01:32:09 In an ExpandableListView, how can I show one additional line at the end of the child results? Jun 02 01:32:10 (17:56:45) fixedd: Basically I want to list a bunch of "results" then have another line that's a sort of "click here for more info" Jun 02 01:32:10 I've created a custom adapter and gotten everything working except that I asked the question a little more thuroughly here: http://stackoverflow.com/questions/937307/in-an-expandablelistview-how-can-i-show-one-additional-line-at-the-end-of-the-ch Jun 02 01:38:30 where do I get the android sdk source code, so I can figure out how they build stuff? Jun 02 01:38:56 same place where you get the source code of the platform Jun 02 01:39:14 ah, so it's included, ok, thanks Jun 02 01:40:22 fixedd: if I remember correctly, you use something called a footer Jun 02 01:43:26 herriojr Thanks, looks right! Jun 02 01:43:43 herriojr I've been wrestling with this for hours Jun 02 01:45:10 is it possible the firmware froma htc-branded firmware to the google branded firmware? for example if i get my self a htc magic could it i flash and get the non htc firmware running on it? Jun 02 01:45:44 fixedd: I hope it works for you, I just remember seeing something about footers, I haven't tried it Jun 02 01:46:02 k4r1m: is it a dev phone? Jun 02 01:46:17 herriojr: nope from a carrier Jun 02 01:46:25 k4r1m: do you have root access? Jun 02 01:46:45 herriojr Yeah... ListView has an addFooter() method. ExpandableListView doesn't have it's own implementation, but I'm going to play around with it and see what can be done Jun 02 01:47:00 i dont know i havnt even bought it yet... still trying to decide to get a magic from a carrier or an ion from ebay which is way more expensive Jun 02 01:48:07 k4r1m: my understand is if you don't have root, you can't really flash it unless it is signed with the same OEM signature for that device Jun 02 01:48:17 OEM/Carrier signature Jun 02 01:48:43 unless they ship the phone with the ability to flash other images Jun 02 01:48:49 well how hard is it get root access? Jun 02 01:49:00 if its not giving Jun 02 01:49:17 k4r1m: I don't know, I'd ask in #android since that's where most of the people who do it reside Jun 02 01:50:03 and by do it, I mean hack the phones Jun 02 01:50:52 herriojr: i don't even have an android phone yet but i heard in one of my rss feeds there is some sort of multi touch browser... no such thing that i heard uses a "kernel hack" would that required a flashed firmware or stanadard? Jun 02 01:51:14 i'm just trying to understand what i'm getting before i get it. Jun 02 01:51:22 romainguy: kernel hacks requires custom firmware Jun 02 01:51:35 since by default, the kernel has multi-touch disabled Jun 02 01:51:54 whoops, didn't mean to direct that at your romain Jun 02 01:52:34 ok so i would need to get the custom firmware, or there some sort of hack that enables at runtime? Jun 02 01:52:41 enables it* Jun 02 01:53:20 k4r1m: it's my understanding that you need custom firmware, but as I said, ask #android about it Jun 02 01:53:33 k thx bud Jun 02 01:53:40 np Jun 02 01:55:56 romainguy: what is required of jars to be included in an apk? My build guys decided they needed to use custom ant build files (for whatever reason, *sigh*), and for some reason one of the jars is getting a VerifyError, but when I build from eclipse, everything is ok. Jun 02 01:57:02 we did a diff on the packages, and nothing is different AFAIK, but the eclipse build works, and the custom one doesn't Jun 02 01:58:01 romainguy: I'm just *thinking aloud*, so feel free to ignore me ;) Jun 02 02:44:46 yawn Jun 02 02:49:31 hi Jun 02 02:50:26 hello Jun 02 02:52:19 i don't see an onClick anything in the TextView class reference. Does this mean it can't detect being clicked? Jun 02 02:52:49 plediii: view detects clicks, and therefore all subclasses of view can detect clicks. Jun 02 02:53:01 the view must be clickable, however. textviews default style makes it not, but you can set it so Jun 02 02:53:11 Ah :) Jun 02 02:53:23 Button, for instance, is just a TextView with a different style applied. Jun 02 02:53:48 the source code of Button is awesome Jun 02 02:53:52 I've seen Button used that way Jun 02 02:53:57 it's just 3 constructors calling super() and doing nothing else :) Jun 02 02:53:58 romainguy: agreed. i use it as an example often :) Jun 02 02:53:59 do I have that? Jun 02 02:55:16 when I ask eclipse for it, it says source not found Jun 02 02:55:39 plediii: the android source code is at source.android.com Jun 02 02:55:57 you dont need to look at it though, romain was just remarking that Button is a good example of how powerful android's style system is Jun 02 02:56:27 i know Jun 02 02:56:31 i would love to look at it though Jun 02 02:56:36 I'm new to Java Jun 02 02:56:59 I'm only learning it so I can program my phone Jun 02 02:57:59 so I'd like to see more good examples of java code without venturing too far **** ENDING LOGGING AT Tue Jun 02 02:59:57 2009