**** BEGIN LOGGING AT Tue Feb 17 02:59:58 2009 Feb 17 03:15:52 hello all Feb 17 03:16:01 grrrrrr hold on Feb 17 03:16:13 ok now Feb 17 03:16:18 hello all Feb 17 03:39:57 * jasta looks around for romain Feb 17 03:40:02 i found a fun bug in android, potentially in Home Feb 17 03:44:53 jasta, oh? Feb 17 03:45:21 jasta, I found this a while back: http://evancharlton.com/sideways_bug.png http://evancharlton.com/sideways_bug_2.png Feb 17 03:49:59 do all developers get emails like this or am I just lucky? http://evancharlton.com/sigh.txt Feb 17 04:08:36 Looks like that was put through a translator Feb 17 04:23:11 macpod, that's a translator I never want to use Feb 17 04:24:57 if I have a phone number like "(555) 555-1212" (though the format could change), what would be the easiest way to find the contact with that number? Feb 17 04:25:14 keeping in mind that it could be stored in the database as +15555551212 or something Feb 17 04:41:02 KNY: its possible youll need an iterative approach. check the contacts provider. Feb 17 04:41:10 contact provider's source code* Feb 17 04:41:47 jasta, yeah, that's what I'm doing for now. I think I saw something about there being a calculated field in the database for phone numbers Feb 17 04:41:51 I'll look it up tomorrow Feb 17 05:52:47 KNY, I am trying to solve a similar problem since there is a optional prefix for numbers in India Feb 17 05:54:08 vaidhy_, right now I'm just normalizing the database number and the comparison number using the same routine, storing the db number/name in a map, and then doing a lookup Feb 17 05:54:23 try looking into Contacts.People.NUMBER_KEY Feb 17 05:56:55 KNY, Where does the lookup happen ? between the dialer and the contacts ? Feb 17 05:57:19 what do you mean? Feb 17 06:16:54 KNY, I can store the numbers in a normalized way.. however, how do I ensure that when a call comes in, it does the right match ? Feb 17 11:46:32 Could someone tell me how to reset the state of a single choice list Feb 17 11:46:40 I know how to save the item selected but Feb 17 11:46:47 I don't know how to reset i Feb 17 11:46:49 t Feb 17 11:47:02 I know it must be in onPrepareDialog Feb 17 11:47:05 But how :) Feb 17 15:43:46 am I the only one that preferred the old doc site to developer.android.com? Feb 17 15:44:06 nope Feb 17 15:44:11 good Feb 17 16:03:45 new doc site is terrible : ( Feb 17 16:03:54 definitely Feb 17 16:03:55 I will say this until it moves again, and then I will call THAT terrible Feb 17 16:03:58 the search is also terrible Feb 17 16:03:58 because change is terrible Feb 17 16:04:26 why would the search prioritize mailing lists and such higher than API docs? Feb 17 16:05:01 I preferred the old one as well, but I'll probably get used to the new one Feb 17 16:05:08 I know that I can pick the relevant API doc from the ajax-y thing that appears, but I'd rather not have to do that Feb 17 16:07:04 search is fine Feb 17 16:25:39 Anyone here use Debian for Android app development? Feb 17 16:26:00 I'm trying to figure out the minimal but full eclipse to install Feb 17 16:26:12 Enough for Android basically but not too much more Feb 17 16:37:23 kencausy: got yourself an android phone? :-) Feb 17 16:37:42 i'm on mac, i use eclipse ganymede SR1 Feb 17 16:39:39 kencausey: try just using eclipse classic Feb 17 16:39:51 I'm not sure if the android plugin requires mylyn Feb 17 17:07:08 * kencausey is less than impressed with Eclipse performance on his admittedly aging Debian system Feb 17 17:07:55 eclipse is a rather hungry beast Feb 17 17:08:34 You might want to follow "android development for other ides" instructions and just use your editor of choice. Feb 17 17:09:39 I may well in time, but it seems like just getting started I should try to be as vanilla as possible, but thanks Feb 17 17:14:28 KNY: i find it way better Feb 17 17:14:35 the documents are actually organizd somewhat logically now Feb 17 17:14:43 and the ajaxy api picker works pretty well Feb 17 17:14:46 but each to their own :-) Feb 17 17:14:50 TD, the documents, yeah, but the API docs are worse Feb 17 17:14:52 :) Feb 17 17:27:37 this is more of a general Java question, but if I create a new BufferedReader with a buffer size of, say 1024, what happens if I read in 1025 bytes? Feb 17 17:27:40 does the buffer expand? Feb 17 17:28:07 no Feb 17 17:28:59 afaik the buffer never expands on its own Feb 17 17:29:32 damn Feb 17 17:32:20 you should probably be processing things in chunks anyways Feb 17 17:32:32 or at least from my experience with BREW Feb 17 17:32:37 I'm not super keen on java Feb 17 17:32:48 ... then why are you here : ( Feb 17 17:37:29 by keen I mean experienced Feb 17 17:37:31 shenki, google login post got approved in [android-developers] - http://tinyurl.com/ctt4v3 Feb 17 17:37:38 I guess i misused the word Feb 17 17:38:34 nope, it has more than one meaning Feb 17 17:38:49 synonym: acute Feb 17 17:44:53 slight adjustment to my earlier disparagment, turns out I was using gcj, now with sun-java6 it's more reasonable Feb 17 17:45:11 probably a way old gcj also Feb 17 17:53:08 jasta: Are you here ? Feb 17 18:13:08 can't seem to get rid of the error creating final archive: null problem, time for a break Feb 17 18:13:12 joakime: I just seconded that request, it would make backend user-management easier with a user-experience degredation by having to ask for a username Feb 17 18:13:30 with=without Feb 17 18:13:37 herriojr, i saw your message :-) Feb 17 18:13:56 that's an issue I've run into with other SDKs Feb 17 18:14:06 it's really a user-experience issue Feb 17 18:14:26 each time a user has to click through another screen, you lose 50% of the users Feb 17 18:14:30 I'd like to identify the user, it doesn't have to be an account name (email address), it can be in a GUID style as well. Feb 17 18:14:49 same here :) Feb 17 18:16:57 joakime, ANDROID_ID isn't sufficient? Feb 17 18:17:20 KNY, if i'm not mistaken, that points to the hardware, not the user, right? Feb 17 18:17:55 yes, if they switched phones, they would have a different ANDROID_ID Feb 17 18:19:42 KNY, that is only a partial solution. very DRM like. the phone dies, is replaced, upgraded, or you have multiple android devices, then the use of that ID starts to fall apart. Feb 17 18:20:13 yeah Feb 17 18:20:18 just tossing the idea out there ;) Feb 17 18:20:29 perhaps you could do a hybrid system? Feb 17 18:20:34 is there call callback, onSelectedItem for a spinner? Feb 17 18:21:45 joakime, what I mean by that is have the ANDROID_ID used to create an account seamlessly, and allow them to simply associate a login (email/password, whatever) with that account if they choose to Feb 17 18:21:49 and either could be used to log in Feb 17 18:22:09 and when they log in from a chosen login, it would update the ANDROID_ID Feb 17 18:22:14 just throwing ideas out there Feb 17 18:23:01 interesting. I was hoping to get by without an internet connection requirement, so far i'm doing ok. Feb 17 18:23:26 joakime, ah, I wasn't aware of the context of your use; sorry. Feb 17 18:24:23 KNY: example use case, you have an app with lots of controlled data, and the ability to save it to the sdcard for that user, and that user only. Feb 17 18:24:47 KNY, you dont want the data on the external storage to be available to other uses. Feb 17 18:24:47 ahh, I see your point about DRM, then Feb 17 18:25:07 is there a java PGP library? Feb 17 18:25:22 KNY, but you do want that data to remain for the user, without the DRM, or dial home, and whatnot usually associated with the failure of DRM in general. Feb 17 18:25:28 There is. Feb 17 18:25:47 but then you're back to the problem of what do you use to encrypt. I see you dilemma Feb 17 18:25:56 s/you /your / Feb 17 18:26:15 There's also the various Signature providers in the Bouncycastle implementation in javax.security package. Feb 17 18:26:15 whoops, that's an over-zealous regex. Whatever, you get my point Feb 17 18:27:14 Using PGP or a signature, you still have a pieces of data tied to the hardware (the private key). Feb 17 18:27:43 using a google account / SID concept, the association is aimed at the user. Feb 17 18:28:05 yeah Feb 17 18:28:25 example, AFAICT, the app purchases on the marketplace are tied to a user, you can use any phone, now and in the future, and re-download your previous purchases. Feb 17 18:28:51 that's my understanding, yes Feb 17 18:28:52 that's a pro-user approach. one I'm attempting to emulate. Feb 17 18:29:06 someone needs to take apart the Market app and find out what APIs they're using to get the google account info Feb 17 18:29:19 google login service Feb 17 18:29:54 frameworks/opt/com.google.android.googlelogin has an outdated precompiled version Feb 17 18:30:11 (with .class files, so you can at least kinda see the interface..) Feb 17 18:30:26 anno^da_: yes. Feb 17 18:31:11 the GLS interface, sadly, is not documented in the reference material :/ Feb 17 18:43:07 can someone please help me set a callback for selecting a spinner item. having so much truble trying to work it out Feb 17 18:43:22 anyone know where the keystore/keytool file is stored now? I don't see a .android directory although I do see a .metadata in my projects directory Feb 17 18:43:46 nevermind, in home root Feb 17 18:50:58 grrr hate java!! Feb 17 18:52:40 NetStorm84: you could pastebin some code so we can see what you're trying to do. Feb 17 18:52:56 yep, context helps lots Feb 17 18:53:10 i havent got any code lol Feb 17 18:53:26 By the way, seems like after 4 hours my setup is finally working Feb 17 18:53:30 all i wanna do is have somecode executed when a spinner item is selected Feb 17 18:53:49 cant find help on it anywhere Feb 17 18:53:52 Not a Java expert, but look up the class hierarchy Feb 17 18:54:11 looking at it but dont make bloody sense Feb 17 18:54:34 surely this is just something simple, but im finding it impossible Feb 17 18:54:42 NetStorm84: Get the reference to the spinner. use findViewById in your activity. Feb 17 18:54:48 i have that Feb 17 18:55:09 call setOnItemClickListener on an OnItemClickListener you've created Feb 17 18:55:18 thats where i get stuck Feb 17 18:55:20 either define a class somewhere, or (more likely) create an anonymous inner class Feb 17 18:56:17 Spinner s = (Spinner)findViewById(R.id.mySpinner); s.setOnItemClickListener(new AdapterView.OnItemClickListener() { onItemClick(AdapterView parent, View view, int position, long id) { /* do stuff */ } }); Feb 17 18:56:23 er Feb 17 18:56:30 public void onItemClick Feb 17 18:58:10 getting this error Feb 17 18:58:11 The type new AdapterView.OnItemClickListener(){} must implement the inherited abstract method AdapterView.OnItemClickListener.onItemClick(AdapterView, View, int, long) Feb 17 18:58:22 on the line... Feb 17 18:58:22 new AdapterView.OnItemClickListener() Feb 17 18:58:50 ... Feb 17 18:58:54 well fuck, do what it says. Feb 17 18:59:06 I don't write perfect code in an irc window :P Feb 17 18:59:10 no idea what it means Feb 17 18:59:11 Is there some trick to get the emulator to start up faster? Am I failing to click something? Feb 17 18:59:22 hold on... Feb 17 19:00:40 start it less often? Feb 17 19:00:57 yeah, looks like it's just working Feb 17 19:01:00 http://privatepaste.com/417UtDdNcV Feb 17 19:01:29 import android.widget.AdapterView.OnItemClickListener; Feb 17 19:01:43 import AdapterView too Feb 17 19:01:52 kencausey: no but you only need to start it once Feb 17 19:02:08 cool, clearly still have plenty of docs to digest Feb 17 19:03:42 thankyou!!! seems to be working Feb 17 19:04:53 except it doesn't seem to like to go anywhere Feb 17 19:05:54 ... Feb 17 19:05:56 fill in the blanks Feb 17 19:08:13 quick question, can I keep around a reference to an Bitmap that is put into the View of a ListView which uses a CursorAdapter Feb 17 19:08:22 I thought I saw something saying that can cause it to leak memroy Feb 17 19:08:25 *memory Feb 17 19:08:47 but I very well could be wrong Feb 17 19:11:21 it's a leak if you *accidentally* keep around the reference without meaning to Feb 17 19:12:31 ctate: yes, I know that, but I thought it may cause the View to leak, and I don't have control over the lifecycle of ListView items Feb 17 19:12:46 oh, i see. i'd have to ask romainguy_ Feb 17 19:13:08 keeping a Bitmap is fine Feb 17 19:13:13 keeping a Drawbale is not if you're not careful Feb 17 19:13:59 how so, I'm curious Feb 17 19:14:23 so decoding with BitmapFactory.decodeResource I don't have to worry about Feb 17 19:16:13 I need to read up on the differences between drawable and bitmap Feb 17 19:18:58 I mean more than the obvious differences :) Feb 17 19:21:35 a Drawable has a callback Feb 17 19:21:50 and that callback is 99% of the time a View Feb 17 19:22:00 and a View has a reference to the Context Feb 17 19:22:06 the Context has a reference to everything in the UI Feb 17 19:22:11 leak the Drawable, leak the world Feb 17 19:22:14 quite simple really :) Feb 17 19:22:18 ah ok :) Feb 17 19:28:38 Would it be correct to consider Android a Java ME runtime environment? Feb 17 19:29:09 I'm afraid my Java experience ended in the 90s with 1.1, so I'm rather way behind on the terminology Feb 17 19:29:24 kencausey: no Feb 17 19:29:29 kencausey: it's Android Feb 17 19:29:49 So, no point then in say reading a book targetted at Java ME software development? Feb 17 19:29:55 nope. Feb 17 19:29:56 Android is not JavaME Feb 17 19:30:01 OK Feb 17 19:30:11 you'd need one targetting Android, but there are no good/up-to-date ones yet Feb 17 19:30:23 romainguy: when drawing a ListView which contains a lot of data per row, it is necessary to load some of the extra information after the initial draw to the screen, so flinging isn't slow....would having the ListView/Adapter handling this be something that should be part of the SDK, or should I not bother requesting something like this? Feb 17 19:30:28 [not least because JavaME has core language restrictions that don't apply in Android] Feb 17 19:30:33 and/or a generic book on java and just ignore the bits about UI and other things that are different in Android :P Feb 17 19:30:59 sounds good, thanks Feb 17 19:31:09 fwiw a lot of people here recommend 'Effective Java' as a good book to peruse Feb 17 19:31:24 There is a rough cuts book on Safari, but not sure it's really worth the investment Feb 17 19:31:32 herriojr: don't bother asking for this in the framework, you already have all the APIs you need to do so Feb 17 19:31:44 yeah, it was more of a convenience thing :) Feb 17 19:31:53 Android Wireless Application Development by Conder and Darcey Feb 17 19:32:04 http://my.safaribooksonline.com/9780321619686 Feb 17 19:32:23 i wouldn't buy any books on Android at this point in time Feb 17 19:32:49 only looks to be about 1/10 to 1/4 complete at this point Feb 17 19:33:20 this is purely my personal opinion but only Mark Murphy's seems worth it at this point Feb 17 19:33:34 all the other books I've perused are either outdated or giving outright bad advices Feb 17 19:33:40 (or show bad samples) Feb 17 19:33:45 As far as the language goes, is my _The Java Programming Language, Second Edition_ book hopelessly out of date now? Feb 17 19:33:55 nope Feb 17 19:33:59 the language hasn't changed much Feb 17 19:34:08 the biggest difference is the generics Feb 17 19:34:35 thanks again Feb 17 19:37:50 hey romain Feb 17 19:38:19 i saw a really odd bug happen twice yesterday where the bottom portion of the Home screen is visible atop the lock screen Feb 17 19:38:46 have you seen that before? ive never seen it prior to RC33, but i can't say for certain that it was caused by that update Feb 17 19:39:49 it happened before RC33 Feb 17 19:39:54 we fixed that in cupcake Feb 17 19:40:12 now if only we could get google login service in cupcake Feb 17 19:40:45 i just noticed MyMaps Editor is linked to googlemail and not a google account :| Feb 17 19:41:08 your gmail account is a google account Feb 17 19:41:14 factory reset my phone so i could move my app folder to the sdcard, and re-installing it Feb 17 19:41:26 zinx: no, because my google account is my @digitalspaghetti.me.uk address Feb 17 19:41:27 zinx, but a google apps for your domain account isn't a google account Feb 17 19:41:33 and that is my google apps account Feb 17 19:41:36 digitalspaghetti: then you have two google accounts. Feb 17 19:41:51 yea, a google apps account and a google account with the same email Feb 17 19:41:53 KNY: Google Apps isn't a google account Feb 17 19:41:57 i deleted the gmail linked with it Feb 17 19:42:02 zinx, that's my point Feb 17 19:42:11 oh, right, oops Feb 17 19:42:14 :) Feb 17 19:42:23 digitalspaghetti: Google Apps isn't a google account Feb 17 19:42:32 MyMaps asks specifically for a @googlemail.com account Feb 17 19:42:37 zinx: i know :) Feb 17 19:43:08 Google Apps stuff only works with Google Apps services :/ Feb 17 19:43:29 if you add the @digitalspaghetti.me.uk address to your google account you can get everything else to pop up with your google account Feb 17 19:43:32 it can work with a google account set up to the same email as the google apps account Feb 17 19:43:32 but it may be otherwise very confusing Feb 17 19:43:49 for example, latitude Feb 17 19:43:54 and it will still be a separate Google Apps / Google Account :D Feb 17 19:44:15 google does some things really silly Feb 17 19:44:41 hopfully it will all be one, one day Feb 17 19:53:37 romainguy_: if i modify frameworks/core/res/res/ stuff, it generates a new out/target/common/R/.../R.java, but for some reason when i build some new code which depends on this R.java file it fails saying the members dont exist? Feb 17 19:54:06 is mmm frameworks/base/services/ somehow looking at a different R.java file? Feb 17 19:56:59 mmmmmm Feb 17 20:00:13 oh, i bet ihave to make framework first Feb 17 20:02:51 yup, that fixed it Feb 17 20:45:19 romain I have dropped the question in the #android channel Feb 17 21:36:22 im still nopt getting this OnItemClickListner lol Feb 17 21:46:02 god hates you, sorry,. Feb 17 21:46:30 clearly :( Feb 17 21:53:03 vol is there any docs u know of that explain this? Feb 17 21:54:06 Explains what. Feb 17 21:54:11 You don't really say what your problem is Feb 17 21:54:16 you just say "my stuff doesn't work" Feb 17 21:54:30 well i dont know what the prob is Feb 17 21:54:35 it just doesnt work lol Feb 17 21:54:47 ok, pastebin your code. Feb 17 21:54:53 what do you want to happen? Feb 17 21:54:55 what are you currently doing? Feb 17 21:55:07 dunno what pastebin is for a start lol Feb 17 21:55:09 "HEY DOCTOR SOMETHING IS WRONG WHAT DO I DO" Feb 17 21:55:18 http://pastebin.com/ Feb 17 21:55:24 http://privatepaste.com/ Feb 17 21:55:30 http://rafb.net/paste/ Feb 17 21:55:33 pick one Feb 17 21:55:38 place your code there Feb 17 21:55:41 submit it Feb 17 21:55:43 paste the url here Feb 17 21:55:50 vol: take two of these (*hands placebos*) and call me if you don't feel better in the morning Feb 17 21:55:51 http://pastebin.com/m2e28d9ef Feb 17 21:56:23 I want to populate a second spinner once the first spinner has an item selected Feb 17 21:56:30 Well, first off, I'm pretty sure "Buses" should be "Busses" Feb 17 21:56:37 ur wrong lol Feb 17 21:56:42 Spinner spServices = (Spinner) findViewById(R.id.service); Feb 17 21:56:43 it's Buses Feb 17 21:56:46 you CANNOT do this here. Feb 17 21:56:56 do this after you call setContentView Feb 17 21:57:02 write Feb 17 21:57:07 Spinner spServices; Feb 17 21:57:20 then after setcontentView in onCreate, spServices = (Spinner) findViewById(R.id.service); Feb 17 21:58:13 anyway Feb 17 21:58:17 ahha that makes more sense Feb 17 21:58:21 inside the onItemClick, you have to actually DO something. Feb 17 21:58:29 right now, nothing will happen when you click Feb 17 21:58:51 yea but im getting red highlights which is y i havent coded there yet Feb 17 21:58:56 ... Feb 17 21:59:00 red highlights where Feb 17 21:59:09 are you using Eclipse? Feb 17 21:59:09 new OnItemClickListener() Feb 17 21:59:14 if so, press ctrl-shift-o Feb 17 21:59:25 yea Feb 17 21:59:28 that organizes your imports. Feb 17 21:59:32 you probably did not import something Feb 17 21:59:46 you can also put the cursor on the red highlight and press ctrl-1 Feb 17 21:59:54 this will bring up the "quick fixes" dialog. Feb 17 21:59:55 ok 1 re highlight has gone Feb 17 22:00:01 still have on on the final ; Feb 17 22:00:04 from that method Feb 17 22:00:19 which says Syntax error, insert "}" to complete MethodBody Feb 17 22:00:23 but if i put one in Feb 17 22:00:27 i get more highlights Feb 17 22:01:03 and i have a highlight here Feb 17 22:01:04 new OnItemClickListener( Feb 17 22:01:21 which says OnItemClickListener cannot be resolved to a type Feb 17 22:01:56 you're missing the ending } from onCreate Feb 17 22:02:00 try putting that in :> Feb 17 22:02:05 also, learn 2 program ^_^ Feb 17 22:02:30 i can program, just not java Feb 17 22:02:34 ok thats fixed that Feb 17 22:02:41 but still o the Feb 17 22:02:45 if you could program you'd probably have caught the missing bracket. Feb 17 22:02:52 new OnItemClickListener( Feb 17 22:03:00 still highlight there Feb 17 22:03:06 ok so mouse over it Feb 17 22:03:11 if vb.net had ending brackets i would have lol Feb 17 22:03:12 or look at the "problems" tab in the bottom of eclipse Feb 17 22:03:16 and see WHAT THE PROBLEM IS Feb 17 22:03:20 ugh god vb Feb 17 22:03:23 no wonder you're brain damaged Feb 17 22:03:26 OnItemClickListener cannot be resolved to a type Feb 17 22:03:29 do yourself a favor, just ignore everything you learned Feb 17 22:03:32 from vb Feb 17 22:03:32 ok Feb 17 22:03:34 lol, if vb was even programming Feb 17 22:03:41 you need to import OnItemClickListener Feb 17 22:03:53 dammit, it was there Feb 17 22:03:54 lol Feb 17 22:04:04 <[RiS]> NetStorm84: replace line 30 OnClickListener Feb 17 22:04:04 <[RiS]> by Feb 17 22:04:06 try ctrl-shift-o again, or select it and hit ctrl-space, or type the import by hand. Feb 17 22:04:13 <[RiS]> new View.OnClickListener Feb 17 22:04:48 you mean AdapterView.OnItemClickListener Feb 17 22:05:14 i imported Feb 17 22:05:16 wait shit Feb 17 22:05:18 stupid me Feb 17 22:05:20 now i got this highlighted aswell Feb 17 22:05:21 onItemClick(AdapterView arg0, View arg1, int arg2, long arg3) Feb 17 22:05:24 setOnItemClickListener(AdapterView.OnItemClickListener l) Feb 17 22:05:24 A spinner does not support item click events. Feb 17 22:05:27 sigh Feb 17 22:05:52 do setOnClickListener(new View.OnClickListener like [RiS] said Feb 17 22:06:33 <[RiS]> mmh Feb 17 22:06:39 <[RiS]> I think you were right xD Feb 17 22:07:48 <[RiS]> http://developer.android.com/reference/android/widget/Spinner.html#setOnItemClickListener(android.widget.AdapterView.OnItemClickListener) Feb 17 22:08:16 ok lost again Feb 17 22:08:17 <[RiS]> so new AdapterView.OnItemClickListener() Feb 17 22:08:20 this is what i have now Feb 17 22:08:20 http://pastebin.com/m709d8b97 Feb 17 22:09:08 <[RiS]> http://pastebin.com/m18dfef4a Feb 17 22:09:21 <[RiS]> I've modified line #30 Feb 17 22:09:38 if I extend a View, how do I get the inflater to inflate it via xml? Is this done automatically? Feb 17 22:10:07 as long as you have the appropriate constructors, yes Feb 17 22:10:10 check out the ApiDemos Feb 17 22:10:13 kk Feb 17 22:10:16 and the various samples on code.google.com Feb 17 22:11:52 The type new AdapterView.OnItemClickListener(){} must implement the inherited abstract method AdapterView.OnItemClickListener.onItemClick(AdapterView, View, int, long) Feb 17 22:11:58 grrrr this is sooo annoying Feb 17 22:12:29 I think you should learn Java first :) Feb 17 22:12:42 this is me learning java Feb 17 22:13:02 NetStorm84: http://java.sun.com/docs/books/tutorial/ Feb 17 22:13:05 this might help a bit. Feb 17 22:13:17 you can skip to the bit about interfaces for more information on what the deal is here Feb 17 22:13:30 yea i done most o this Feb 17 22:13:34 so its interfaces? Feb 17 22:13:40 thats what this is? Feb 17 22:13:59 yes, you're implementing the OnItemClickListener Feb 17 22:14:25 right ok, ima go away and learn Feb 17 22:14:31 thanks for all ya help! Feb 17 22:18:15 you're welcome. Feb 17 23:21:49 romainguy_: hierarchyviewer is so amazin g:) Feb 17 23:23:51 I can only agree - helped me out countless times Feb 17 23:34:03 jasta: glad you like it :) Feb 17 23:34:38 now if I had time to finish it... Feb 17 23:35:39 apply for a Google Grant to work on cloning. Feb 17 23:36:17 two romainguys kicking my ass? no way! Feb 17 23:36:56 one to kick your ass fulltime, one to get the work done Feb 17 23:38:02 speaking of work done - is the showing of characters in password edittexts(on a full qwerty config) a feature or a bug? :) Feb 17 23:38:19 tauno_, it's developer-set, no? Feb 17 23:38:27 there's an option somewhere Feb 17 23:38:36 it's like android:hideLetters or something Feb 17 23:38:44 oh, ok Feb 17 23:38:52 nevermind then Feb 17 23:39:05 every day something new :) Feb 17 23:39:24 oh, hmm, I guess you just set android:password="true" Feb 17 23:39:32 and there's a user preference for the behavior Feb 17 23:40:42 KNY, yes, I only set the password property Feb 17 23:40:44 ahh, under "Security & location" the very last option is "Visible passwords" Feb 17 23:40:51 aah Feb 17 23:40:52 I see Feb 17 23:40:56 nice one :) Feb 17 23:40:58 duh! Feb 17 23:40:59 :) Feb 17 23:41:07 what are you? blind or something? Feb 17 23:41:14 lazy Feb 17 23:41:16 :/ Feb 17 23:41:40 never read all the stuff in the settings :( Feb 17 23:42:35 romainguy_: the day you have time to "finish" hierarchyviewer, can you rewrite it in SWT too so that I can integrate it in Eclipse? kthxbye Feb 17 23:42:51 find me a graphing library, then maybe :p Feb 17 23:43:12 (and not EMF/GEF/other stupid acronym) Feb 17 23:43:26 GEF is awesome! Feb 17 23:43:33 :( Feb 17 23:44:18 lies! Feb 17 23:44:28 sarcasm! Feb 17 23:44:48 fish! Feb 17 23:46:36 hygeine! Feb 18 00:03:59 apparently sleep was too good for me tonight Feb 18 00:04:05 :( Feb 18 02:30:24 evening KNY Feb 18 02:30:39 hey mfisch Feb 18 02:31:18 KNY: easy one this time, are the "javadocs" downloadable? Feb 18 02:31:26 KNY: eclipse keeps complaining about them Feb 18 02:31:36 KNY: or do I just make them on my box here Feb 18 02:31:41 they stripped them out in 1.1 for some reason (I assume that was an error) Feb 18 02:31:50 I'm not sure how to get them back Feb 18 02:32:07 I believe there's a discussion about it on the android-developers mailing list Feb 18 02:32:10 I'm sure there was good reason, Google doesn't make mistakes Feb 18 02:32:48 I see some discussion here in very poor english that I didn't get: http://www.androidjavadoc.com/ Feb 18 02:38:15 http://groups.google.com/group/android-developers/browse_thread/thread/de24dbe07415c4f7/9f7f5b9e69c22e5f?lnk=gst&q=javadoc#9f7f5b9e69c22e5f Feb 18 02:38:33 KNY: you in NY? Feb 18 02:38:37 if it's not a mistake, then I have no other explanation Feb 18 02:38:45 yes, but that has little to do with my nick Feb 18 02:39:04 KNY: javadocs are not stripped from the SDK Feb 18 02:39:23 ADT is pointed to the docs/reference folder that contains the HTML version Feb 18 02:39:38 xavd, ahh Feb 18 02:39:40 unfortunately in 1.1 a change was made to the HTML structure that EClipse does not understand Feb 18 02:39:50 we're fixing it now Feb 18 02:40:06 maybe that explains it Feb 18 02:40:20 Eclipse thinks the javadoc's are a possible malicious site ;) Feb 18 02:40:49 xavd, wonderful Feb 18 02:41:05 Eclipse relies on a very specific set of tags and comments in the HTML to find class/field/method documentation. Unfortunately this was broken when the new javadoc look was implemented Feb 18 02:51:37 so how do i create a full screen drawable window? Feb 18 02:53:59 * DJTachyon slaps rsteckler around a bit with a large trout Feb 18 02:54:08 sup yo. Feb 18 02:54:19 DJTachyon, requestWindowFeature(Widnow.FEATURE_NO_TITLE); getWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN, WindowManager.LayoutParams.FLAG_FULLSCREEN); Feb 18 02:54:47 typos are guaranteed. Feb 18 02:54:55 thanks Feb 18 02:55:27 DJTachyon, you can also accomplish full screen with the use of res/values/styles.xml (themes & styles) Feb 18 02:56:03 hmm Feb 18 02:57:28 hah it worked, thanks joakime Feb 18 02:57:29 :) Feb 18 02:57:44 now to figure out how to draw arbitrary shapes Feb 18 02:58:12 DJTachyon, Canvas to draw, Paint to specify colors. Feb 18 02:59:28 hmmm gonna need better examples than that Feb 18 02:59:32 and apidemos is silly Feb 18 02:59:34 You'll need a View component of your own, that overrides the .onDraw(Canvas canvas) method. Feb 18 02:59:40 hmm Feb 18 02:59:45 that's basic drawing. Feb 18 02:59:54 if it's simple enough shape, could i use xml? Feb 18 02:59:55 you can go advanced and use SurfaceView as well. **** ENDING LOGGING AT Wed Feb 18 02:59:57 2009