**** BEGIN LOGGING AT Mon Aug 17 02:59:56 2009 Aug 17 03:04:48 muthu u here? Aug 17 03:27:52 why is shelves using 'internal id' and another one like 'internal id with store prefix' - romainguy you there? Aug 17 03:28:07 it confuses the hell outta me Aug 17 03:29:25 the id is the id that comes from the store Aug 17 03:29:33 the id + prefix is to make sure there's no collision Aug 17 03:29:45 ah ok, when you use multiple stores that is Aug 17 03:29:54 which is my case, yes Aug 17 03:30:18 right, i don't need multiple stores atleast for now.. so i'm going to just simplify it to one id :) Aug 17 03:30:50 until the day you need multiple stores Aug 17 03:30:56 it doesn't really complicate things that much Aug 17 03:31:22 right, i see you had an amazon store.. but not hooked up Aug 17 03:31:50 it is hooked up Aug 17 03:31:55 but I don't distribute the source Aug 17 03:32:04 because it violates their terms of service Aug 17 03:32:09 oh ok Aug 17 03:32:21 right, that's another reason i'm just going to go with google book store Aug 17 03:32:31 what are you doing? Aug 17 03:32:47 something interesting for adc2 Aug 17 03:32:48 note that if you use the google book store you have to be careful about how you handle local copies of the book covers Aug 17 03:33:00 what's that? Aug 17 03:33:10 you cannot keep a local cache according to the terms of service Aug 17 03:33:26 shelves uses a local cache, right? Aug 17 03:33:30 yes Aug 17 03:33:44 i'm lifting a lot of code from shelves, (ofcourse giving credit to you ;) Aug 17 03:33:49 yeah... Aug 17 03:34:04 ok, then i'm gonna hank off the cache code too Aug 17 03:34:07 but it's possible because Shelves checks for update covers every time you display a book on scren Aug 17 03:34:34 right, but i'll make sure its not cached Aug 17 03:35:11 thanks for shelves, btw.. its saving me a lot of time :)) Aug 17 03:35:22 yeah... Aug 17 03:38:06 if the app wins, i'll send you some beer.. haha Aug 17 03:38:15 that's so generous Aug 17 03:38:17 anyone know how to keep the activity from being restarted when you change orientation? Aug 17 03:38:54 gustnado: override the orientationchanged meethod.. something like that Aug 17 03:39:59 does the aug31 deadline for adc2 stands? Aug 17 03:40:55 haven't seen anything to the contrary Aug 17 03:41:10 yea, they might extend it a bit Aug 17 03:41:31 why? Aug 17 03:41:56 the judging app is not yet available, right.. it was supposed to be by aug 01 Aug 17 03:42:08 or atleast the uploading t&c Aug 17 03:42:34 no, that was just the earliest an app could be published to market Aug 17 03:42:40 i'm thinking the lifestyle category would be the easiest to win Aug 17 03:42:56 so whatever i do, i'm going to put it in lifestyle.. hehe Aug 17 03:43:13 * romainguy takes notes Aug 17 03:43:17 lol Aug 17 03:43:17 there was no hard date for submission site opening Aug 17 03:43:43 my guess submission site opens by the 20th Aug 17 03:43:51 so they give like 10 days for submissions Aug 17 03:43:56 possibly Aug 17 03:44:18 nexsoftware: entering adc2? Aug 17 03:44:23 hehe, reading through the backlog Aug 17 03:44:25 probably takes 10 minutes to submit so no big deal lol Aug 17 03:44:33 a lot of romain saying "yeah..." which i can only imagine has a sarcastic tone Aug 17 03:44:57 jasta: haha.. i can see he's terrified, so need to bribe him ;) Aug 17 03:45:07 what? Aug 17 03:45:16 muthu: maybe Aug 17 03:45:51 nexsoftware: still maybe? there's only 10 days left Aug 17 03:45:57 ;) Aug 17 03:46:18 got something in mind Aug 17 03:46:27 jasta: adc2 is not the same without you! Aug 17 03:47:02 zach, jasta, plusminus.. those were the times Aug 17 03:47:17 those times sucked, actually Aug 17 03:47:21 hehe Aug 17 03:47:34 jasta: so what's you app this time? Aug 17 03:47:37 * romainguy remembers that time and shudders Aug 17 03:47:50 oh yea, that's was mad times Aug 17 03:47:58 you have no idea :) Aug 17 03:48:15 did it improve now? Aug 17 03:48:23 uhh, have you been living under a rock? Aug 17 03:48:46 I have about as much work right now as during ADC1 Aug 17 03:48:47 yea, i live in the east ;) Aug 17 03:48:53 which means nights and weekends pretty much gone :) Aug 17 03:49:01 see, its the same Aug 17 03:49:38 jasta: any good ideas for adc2? Aug 17 03:49:57 * _Auron_ is working on a UI update for stroids Aug 17 03:50:36 muthu: jasta works for T-Movile, I doubt he can participate Aug 17 03:50:44 any guesses on the number of apps that might come in for adc2? Aug 17 03:50:47 T-Mobile, too. Aug 17 03:50:48 ;) Aug 17 03:50:51 10 Aug 17 03:51:01 oops :) Aug 17 03:51:07 * romainguy blames his keyboard :) Aug 17 03:51:24 romainguy: i heard, he's the TMobile rockstar Aug 17 03:51:40 got some good reviews about him from TMobile folks Aug 17 03:52:22 i know sharkey might be itching to develop something for adc2, but he can't :P Aug 17 03:53:03 besides we make him work so much he doesn't have time to think about it anyway :p Aug 17 03:53:10 heh Aug 17 03:53:35 hey if the public votes, isn't it easy to manipulate the system? Aug 17 03:53:51 like getting your friends to vote for your app and stuff Aug 17 03:53:54 grassroots campaign Aug 17 03:54:04 it is random selection I think Aug 17 03:54:16 ok, hope they don't call me Aug 17 03:54:28 it's like the draft Aug 17 03:54:47 hope its not like the jury selection! Aug 17 03:55:39 I like jury duty... get out of work... watch movies... possibly get called in only to get turned away Aug 17 03:55:48 haha Aug 17 03:56:29 nexsoftware: get paid $8/hr? Aug 17 03:56:33 sounds like the life. Aug 17 03:56:45 ha, it's more like $11 for the day Aug 17 03:56:59 muthu: who at t-mobile do you know? Aug 17 03:57:12 nexsoftware: lol, really? i thought it had to be more than that... Aug 17 03:57:14 jasta: a few friends like you Aug 17 03:57:21 nope, just the gas money Aug 17 03:57:26 i'm curious who they are, i obviously might know them Aug 17 03:57:46 like 37 cents per mile Aug 17 04:00:30 Muthu - I tried overriding the on change method, and annotating the object in main.xml. However, if I don't do a super.onConfigurationChanged(), it thows an error Aug 17 04:00:38 jasta: there's a few guys working from the sunnyvale region, you don't know them Aug 17 04:00:44 If I do the super, it kills off my activity and restarts it Aug 17 04:00:45 grrr Aug 17 04:00:58 muthu: then how did you hear anything about me? Aug 17 04:01:01 from people i dont even know? Aug 17 04:01:17 jasta, we have ways. *shifty eyes* Aug 17 04:01:25 jasta: you don't know each other, but i know both of you Aug 17 04:01:45 whatever Aug 17 04:02:00 gustnado: let me check Aug 17 04:02:27 tks Aug 17 04:02:28 muthu: just give the name :) Aug 17 04:03:10 romainguy: nooooo.... :) Aug 17 04:03:38 gustnado: @Override public void onConfigurationChanged(Configuration config) { Aug 17 04:03:39 // Do nothing, this is to prevent the activity from being restarted when the keyboard opens. Aug 17 04:03:39 super.onConfigurationChanged(config); } Aug 17 04:03:58 may be something similar Aug 17 04:04:00 that's what I did Aug 17 04:04:10 in the activity and I tried it in the application object also Aug 17 04:04:22 you need to change something in the AndroidManifest.xml Aug 17 04:04:32 now it depends on what you want Aug 17 04:04:40 to you want to keep the activity always in portrait/landscape Aug 17 04:04:45 or do you want to handle rotation yourself? Aug 17 04:05:16 I don't want to rotate it all - at least for now... Aug 17 04:05:27 then in your manifest add Aug 17 04:05:29 android:configChanges="keyboardHidden|orientation" Aug 17 04:05:33 ? Aug 17 04:05:33 android:orientation="landscape" Aug 17 04:05:36 ah Aug 17 04:05:39 good trick Aug 17 04:05:53 configChanges=orientation is used if you ant onConfigurationChanged to be invoked Aug 17 04:06:20 yeah... I thought I could get it invoked and then return without doing anything, causing it to be ignored. didn't work that way ;-( Aug 17 04:07:26 oh my god why is linking libwebcore.so sooooooo slow Aug 17 04:07:34 I wish I knew Aug 17 04:07:40 I am pissed it's not a prebuilt Aug 17 04:07:45 I'm tired of building that thing Aug 17 04:08:28 no shit Aug 17 04:17:19 RATS! putting android:orientation="portrait" on my activity didn't work Aug 17 04:17:31 it still changes orientation when i rotate it Aug 17 04:17:44 ? Aug 17 04:17:50 let me check something Aug 17 04:17:52 yeah - I must be missing something Aug 17 04:18:06 oops Aug 17 04:18:09 screenOrientation Aug 17 04:18:11 not orientation Aug 17 04:18:11 sorry Aug 17 08:37:50 http://www.lostworlds.lv/go.php?1139723800 NEW WEBSITE GAME,COME AND PLAY. Aug 17 08:39:58 any suggestion on how to implement panning a window? Aug 17 09:08:38 hello Aug 17 09:32:41 Can you make has much money on android has iphone? Aug 17 09:52:03 gooood mornin' dev'rs Aug 17 09:52:23 good morring Aug 17 09:53:03 I am debating to do dev for android or iphone Aug 17 09:53:26 can you make money on android Aug 17 09:53:37 I'd say currently more chance @ iphone Aug 17 09:53:42 in future more chance on android Aug 17 09:53:54 reason: android is limited currently as in not all countries can buy (sell) apps Aug 17 09:54:13 but I feel that in the end android will make a good push on the mobile market Aug 17 09:54:23 I dont see the 'iphone os' released on non-apple phones Aug 17 09:54:45 + if you dev for the iphone, make sure you have a mac :P Aug 17 09:55:06 I am looking for a job and am thinking of doing dev work for phones Aug 17 09:55:10 I have one Aug 17 09:55:15 hate the iphone Aug 17 09:55:17 well that opens both ways Aug 17 09:55:21 where you from? (country) Aug 17 09:55:27 Seattle Aug 17 09:55:29 usa Aug 17 09:55:37 yeah thats supported ofc for paid apps Aug 17 09:55:43 if you want to have a clue on 'sales' Aug 17 09:55:44 sec Aug 17 09:55:57 http://www.cyrket.com/ Aug 17 09:56:00 look @ the paid apps Aug 17 09:56:13 it can give you an idea on how many sales an app made Aug 17 09:56:22 be aware that there is a 24hr 'refund' window Aug 17 09:56:25 @ android (always) Aug 17 09:56:47 really Aug 17 09:56:56 http://www.cyrket.com/package/com.ap.SnapPhoto_Pro Aug 17 09:56:59 look there Aug 17 09:57:03 he should have made a nice $$$ :P Aug 17 09:57:11 I so want to go out and get a mytouch Aug 17 09:57:13 10,000-50,000 dl' @ $1/dl Aug 17 09:58:17 nice Aug 17 09:58:32 is cyrket in the EU Aug 17 09:59:01 I think it tries to cover all markets Aug 17 09:59:01 not sure Aug 17 09:59:36 isnt 'mytouch' just a branded htc magic? :P Aug 17 10:00:08 what apps would you develop? Aug 17 10:00:32 I am thinking of nameFinder Aug 17 10:00:55 you know when you see someone and you should know there name Aug 17 10:01:26 and you are friend on facebook/myspace or whatever Aug 17 10:01:52 well I'm working on a 2d engine (to learn) Aug 17 10:02:02 might sell src @ here 'cheaply' for other ppl to jump onto Aug 17 10:02:08 it wont be a 100% 'finished/stable' engine Aug 17 10:02:32 where are you at Aug 17 10:02:34 but should be a kick-start @ android opengl es (2d) gaming :p Aug 17 10:02:36 belgium Aug 17 10:03:10 good luck with that Aug 17 10:03:46 thx Aug 17 10:04:10 http://www.youtube.com/watch?v=741xC_ZWudo <= on the emu Aug 17 10:29:36 is it just me or the adc2 submission site opening at beginning of August is more like at the end of August? Aug 17 10:30:31 hehe Aug 17 13:20:51 hi Aug 17 13:21:02 which keystore types does android support out of the box? Aug 17 14:25:00 tarzan, is this what you're looking for: http://developer.android.com/reference/android/view/KeyEvent.html? Aug 17 14:25:16 not sure i understand your question Aug 17 14:29:00 okaay Aug 17 14:29:07 I cant search for /** @ eclipse Aug 17 14:29:10 it locked up ;p Aug 17 14:29:12 (in files) Aug 17 14:31:07 ante_: nevermind, i got it... thanks anyway Aug 17 14:31:18 another question, is anybody here using log4j on android? Aug 17 14:42:49 my problem is this: W/dalvikvm(23774): VFY: rejected Lorg/apache/log4j/config/PropertySetter;.getPropertyDescriptor (Ljava/lang/String;)Ljava/beans/PropertyDescriptor; Aug 17 14:43:34 tarzan: why do you need log4j? Aug 17 14:43:44 yeah honestly Aug 17 14:43:56 logcat more or less provides what you need that log4j would give you Aug 17 14:44:29 mindmedic: i am using osgi on android and my bundles need to run on android as well as on a pc.. so i can't use androids native logger Aug 17 15:04:30 what is fastests Aug 17 15:04:41 this.member = 1; or member = 1; Aug 17 15:04:46 within a class method Aug 17 15:05:00 or doesnt that matter ? :P Aug 17 15:05:51 are all currently available android phones with display sizes 320x480 ? Aug 17 15:06:24 one is faster to type, one is faster to understand, there's no impact on binary size or execution time. Aug 17 15:06:49 roosmaa: at the moment, yeah, but support for other pixel counts is on the roadmap. Aug 17 15:07:06 I'll try to do this.* everywhere then Aug 17 15:07:21 jbq: ok, good... :) Aug 17 15:08:25 I'm following this 'system' for members => PublicMember, _PrivateMember, m_ProtectedMember Aug 17 15:08:28 seems to work well :p Aug 17 15:12:11 hey, is it still possible to change the data roaming setting from an application in 1.5? I've searched the documentation but didn't find an API Aug 17 15:12:54 Shouldn't be possible to directly write to the setting (there should be a documented intent to launch the UI). Aug 17 15:13:57 yes, i've read that the DATA_ROAMING property is only readable but i've also read that some applications managed to change it. hence the question and confusion Aug 17 15:19:10 so, the idea is that i can use an Intent to suggest to the user to turn the data roaming on in order to use the application? Aug 17 15:19:43 I believe so. Aug 17 15:20:05 ok, going to read about Intents. thanks Aug 17 15:30:31 another question, do the applications installed outside of the marketplace receive any kind of warnings (security, etc..) ? Aug 17 15:30:37 yes Aug 17 15:30:47 you'll receive a list of all permissions that the app will request Aug 17 15:31:07 is there any way around that? Aug 17 15:31:24 no, why would you want there to be? Aug 17 15:31:50 i actually do consider it to be a good practice, just wondering Aug 17 15:31:54 lov_: because developers always have a good reason why *their* app should not be subject to public APIs constraints or security constraints :) Aug 17 15:32:13 romainguy: not that kind of developer :) Aug 17 15:32:18 good :) Aug 17 15:34:09 Hi all, I'm trying to learn how to program with the SDK, haven't programmed in java before, please can someone tell me what I'm doing wrong here please? http://java.pastebin.ca/1532654 Aug 17 15:34:21 actually wrong paste Aug 17 15:35:25 http://java.pastebin.ca/1532659 Aug 17 15:35:47 I'm just playing at the moment, but the alert message is blank Aug 17 15:36:07 eclipse insisted I put final before "String password" Aug 17 15:36:14 yes Aug 17 15:36:24 that's required by Java Aug 17 15:36:24 which makes me think that once thats done, that variable can't change Aug 17 15:36:37 that's correct Aug 17 15:36:43 especially since it's a local variable anyway Aug 17 15:36:49 so when I enter text in the password box and click the button, it's getting the first, blank value at program runtime Aug 17 15:36:55 you should put this: Aug 17 15:36:55 String password_value = (String) password_field.getText().toString(); Aug 17 15:36:58 inside onClick() Aug 17 15:37:14 and make password_field an instance varibale Aug 17 15:37:22 (i.e. move EditText password_field out of onCreate()) Aug 17 15:38:39 Okay, one sec Aug 17 15:40:56 Okay that works, thankyou, but is this the most optimal way of doing it? http://java.pastebin.ca/1532668 (tabular formatting excluded) Aug 17 15:43:58 (I want to make sure I'm doing it the "better" way, rather than just fudging it) Aug 17 15:44:25 just make password_field final Aug 17 15:44:50 (to make sure that it's not getting re-assigned anywhere) Aug 17 15:48:25 So like this? http://java.pastebin.ca/1532678 Aug 17 15:49:28 Foxdie, no Aug 17 15:50:21 is there any way for an application to uninstall a previous version of itself? providing a security certificate or some other sort of mechanism Aug 17 15:50:28 something like this, Foxdie : http://java.pastebin.ca/1532682 Aug 17 15:51:41 ah ha :) thankyou Aug 17 15:53:43 ahh Aug 17 15:57:46 okay I tried that KNY Aug 17 15:58:05 it says "mPasswordField" can not be resolved at line 20 Aug 17 15:58:42 So, if I prefix it with EditText, it then asks me to redeclare as final on line 26 Aug 17 15:59:02 don't just throw code in there until it compiles Aug 17 15:59:12 pastebin what you have; I don't know what line 20 is Aug 17 16:07:04 in a theme how to specify different background images for landscape and portrait ? Aug 17 16:14:49 nvm... drawable-land folder Aug 17 16:50:41 is there a way to change the menu in an activity after it has been initialized? Aug 17 17:13:50 HI everyone, I am hoping someone can answer my question. Can I get access to the MailManager on the Cupcake release? The sdk doesn't have it, and neither does the git repository for the 1.5 release (or any release that I can find). Aug 17 17:23:19 GraveTech: then it is probably a proprietary application Aug 17 17:23:49 GraveTech: and I've never heard of MailManager in the first place Aug 17 17:23:58 Damn Aug 17 17:24:01 was afraid of that Aug 17 17:24:09 GraveTech: do you mean you want to send an email? Aug 17 17:24:20 GraveTech: what exactly is it you are trying to perform? Aug 17 17:24:41 KNY sorry I got called away Aug 17 17:24:43 Well no, I just want to monitor when email is received or sent, I have an intent for when one is received Aug 17 17:24:47 I'll pastebin it now if you're still around Aug 17 17:24:50 couldn't find one for when it is sent Aug 17 17:24:59 Foxdie, sure Aug 17 17:25:48 http://java.pastebin.ca/1532756 Aug 17 17:26:04 I fixed line 20 by declaring it as EditText Aug 17 17:26:07 Foxdie, remove that Aug 17 17:26:11 yeah, I don't know if there's a broadcast or anything sent, you can try hooking it up to logcat and send an email to the email acct and see if you get a broadcast sent Aug 17 17:26:13 line 26 fails Aug 17 17:26:29 remove "EditText" on line 20? Aug 17 17:26:34 Foxdie, yes Aug 17 17:26:37 ok Aug 17 17:26:42 and add the member variable that I had in my pastebin Aug 17 17:26:50 I didn't just include that because I felt like typing more Aug 17 17:27:01 now line 20 errors :) Aug 17 17:27:09 I didn't see any broadcasts for sending Aug 17 17:27:13 um.. member variable.. *scrolls back* Aug 17 17:27:34 Time to break out the official channels :P Aug 17 17:28:03 Thanks for the help herriojr Aug 17 17:28:32 GraveTech: np, good luck figuring out how to catch it (if possible) Aug 17 17:29:28 Sorry, KNY, I don't understand, member variable? Aug 17 17:29:55 nm I found it Aug 17 17:31:31 that works Aug 17 17:31:34 thanks KNY Aug 17 17:40:17 i have an EditTextPreference but the on screen keyboard isnt popping up Aug 17 18:20:37 yawn Aug 17 18:22:21 long day? Aug 17 18:30:21 anyone know of an app to clear all the input caches? Aug 17 18:40:05 question, can I test http connections with the emulator? Aug 17 18:41:53 should work Aug 17 18:42:00 if the browser works :p Aug 17 18:42:39 Well it does, but won't let me browse porn Aug 17 18:42:48 ;) (j/k) Aug 17 18:42:57 testing it now Aug 17 18:43:15 Actually, no it doesn't seem to Aug 17 18:44:51 Does the emulator normally have web access? Is it something I've broken perhaps? :) Aug 17 18:45:39 it works here :p Aug 17 18:45:42 yes, it should have web access Aug 17 18:45:42 @ emu Aug 17 18:46:48 (I'm on a mac btw) Aug 17 18:47:01 now THERE is your problem Aug 17 18:47:05 ;p Aug 17 18:47:07 * SinnerG runs Aug 17 18:47:11 I have eclipse ganymede with the latest version of the sdk installed Aug 17 18:47:21 (as in, downloaded this morning latest) Aug 17 18:49:55 Never mind, I figured it out Aug 17 18:50:15 It seems the emulator doesn't like you putting the host machine to sleep, reawaking it and reconnecting it to a network Aug 17 18:50:23 had to restart the emulator Aug 17 18:50:26 thanks anyway all Aug 17 18:50:41 np Aug 17 18:52:21 Is there a simple way to root my Google IO phone? Or do I need to go through all the steps here? http://androidforums.com/htc-magic/5461-root-your-magic.html Aug 17 19:11:48 hey there Aug 17 19:14:46 This place is pretty dead Aug 17 19:16:20 actually yep Aug 17 19:16:32 but that's why i stoped IRC a while ago Aug 17 19:16:38 to much idling ... Aug 17 19:16:42 #Android is hop'n Aug 17 19:17:37 you are dev'in yourself ? Aug 17 19:18:23 I'm a hack :P Aug 17 19:18:48 you mean you are a hack by yourself ? Aug 17 19:19:09 like whatever you do everything stand wide open in front of you ? :p Aug 17 19:19:14 Well, I don't think I'm good at java Aug 17 19:20:34 so you are doing C :p Aug 17 19:21:10 I'm a web application developer by profession.. But I'm more comfortable with C# than Java. Aug 17 19:22:02 C# and java, almost the same thing Aug 17 19:22:08 I know Aug 17 19:22:17 except the IDE Aug 17 19:22:19 I've had this dicussion with friends Aug 17 19:22:30 VS makes it so easy ... Aug 17 19:22:38 I think it's due to the negative stigma Java has had over the years Aug 17 19:22:48 yeah true Aug 17 19:22:52 I had to put that aside of me :P Aug 17 19:24:22 well java is full of things Aug 17 19:24:28 personnally i never digg into it Aug 17 19:24:36 but for some apps on android Aug 17 19:24:39 I hate getters/setters Aug 17 19:24:44 hahaha Aug 17 19:24:52 I have an activity using setOnItemClickListener to add a new OnItemClickListener, but OnItemClickListener doesn't take Context as a parameter. Could someone tell me how to reference the activity which calls the setOnItemClickListener? Aug 17 19:25:05 i dug into it, and finally; it's quite pleasant Aug 17 19:25:07 c# properties are worked out well Aug 17 19:25:35 I dont get it why java doesnt 'steal' this but as a 'preprocessed' thing Aug 17 19:25:43 aka turn the c# format properties in getters / setters on compile Aug 17 19:26:26 skyred, why not make your activity implements OnItemClickListener ? Aug 17 19:29:31 darune: thanks for asking. I thought using setOnItemClickListener with OnItemClickListener is a way to implement the event listener. Are you talking about make the activity class to implement the OnItemClickListener interface? Aug 17 19:30:52 darune: I think I get it. that's a good advice. I am going to try it Aug 17 19:30:58 you can do that but you could also make an object that implements the interface, and has an Context private variable Aug 17 19:31:09 but i'm not sure it would be that good :p Aug 17 19:31:19 i'm new to all that Aug 17 19:34:16 yeah, well i think it is very pleasant to develop on android Aug 17 19:34:26 dont join -offtopic btw Aug 17 19:34:27 even tho i don't like java that much Aug 17 19:34:35 only fags there, who cant take not everyone is 'pro' drugs Aug 17 19:35:11 darune: Developing for any embeded device isn't fun. Aug 17 19:35:21 its hard labor :P Aug 17 19:35:25 optimizing++ Aug 17 19:35:31 hehe Aug 17 19:35:37 Well usually the API sucks Aug 17 19:36:15 I remember thinking about developing something for the old Motorola 2-way clam-shell pagers. Aug 17 19:36:33 Ugh. PalmOS was another yucky thing to develope for Aug 17 19:36:52 haha Aug 17 19:37:00 SinnerG, I'd recommend you don't take it personally Aug 17 19:37:20 well I did Aug 17 19:37:26 calling me dumb for expressing my own pov Aug 17 19:37:39 darune: I just tried to implement OnItemClickListener interface. However, the events call back is not functioning, I guess this is because the ListView is embed inside a TabActivity, which implements the OnItemClickListener interface Aug 17 19:37:58 its ppl like them that adjust my pov in their disadvantage! Aug 17 19:37:59 darune: I am gonna try your send advice Aug 17 19:38:36 KNY: once the drugs talk is over, do tell though Aug 17 19:38:37 SinnerG, I'm not going to continue debating this in here, but I'll just sum it up: no one cares what anyone else thinks except vapid worthless iditos. Aug 17 19:38:42 SinnerG: huh? what are you talking about?? Aug 17 19:38:43 skyred, it should still work, did you do: setOnItemClickListener(this) Aug 17 19:38:54 #android-offtopic ice Aug 17 19:38:57 iCEBrkr, nothing, he's just whining about something that happened in another channel. Aug 17 19:38:57 Oh Aug 17 19:39:25 SinnerG: hey buddy :) Aug 17 19:39:33 TommyBres, don't start Aug 17 19:39:44 aww, k Aug 17 19:39:59 thanks Aug 17 19:40:00 * TommyBres walks away Aug 17 19:40:17 my mom was an alcoholic, got beaten by her cocain using friend, my nephew was always addicted to drugs, both my mom / dad smoke Aug 17 19:40:21 I think I have my valid reasons Aug 17 19:41:00 hooray Aug 17 19:41:08 SinnerG, what does that have to do with developing for android? Aug 17 19:41:13 As soon as my app tries to make a http request it crashes :D Aug 17 19:41:19 Foxdie, look at logcat Aug 17 19:41:25 it will tell you exactly what you need to do Aug 17 19:41:45 Wheres that please? Aug 17 19:41:49 adb logcat Aug 17 19:42:25 Ah, its not something part of eclipse? Aug 17 19:42:40 Foxdie, adb is a utility Aug 17 19:42:51 I think there's a logcat tab in eclipse, but I'm not sure Aug 17 19:42:58 was hoping there was a tab Aug 17 19:43:02 there might be Aug 17 19:43:03 okay, I've got the log Aug 17 19:43:08 not console Aug 17 19:43:12 but logcat Aug 17 19:43:20 Foxdie: open DDMS perspective in eclipse Aug 17 19:46:07 one sec phone Aug 17 19:46:36 KNY: Sounds like he's just pissed at the world.. Aug 17 19:46:37 awwwww Aug 17 19:46:56 heh Aug 17 19:49:28 the market is very bad designed Aug 17 19:49:39 you can't answer to someone that commented ... Aug 17 19:49:49 that's crap Aug 17 19:50:15 darune: setOnItemClickListener only accepts new OnItemClickListener() Aug 17 19:52:04 WHO THE FUCK GAVE YOU THE RIGHT TO HAVE ANY INPUT ON HOW I DO THINGS, YOU POMPOUS FUCKING IDIOT Aug 17 19:52:08 what does POMPOUS mean? Aug 17 19:52:09 darune: but, I just tried to bring the additional space, for example, "myTabActivity.this" it seems to let me pass the compliler Aug 17 19:53:01 he said he ignore me- thats the way to deal with otherminded ppl! :) Aug 17 19:55:16 okay, ddms is open Aug 17 19:58:16 SinnerG: It's a way to deal with whiney people Aug 17 19:58:44 Anyhow.. Aug 17 20:01:53 Okay I've got a stack trace of the crash Aug 17 20:02:32 hi? Aug 17 20:03:04 i'm new here jeje Aug 17 20:03:19 im looking for a good tutorial to android Aug 17 20:03:30 http://pastebin.com/m7658faee Aug 17 20:03:32 i dont know how change activity :( Aug 17 20:04:01 luischo, check startActivity Aug 17 20:04:02 luischo, d.android.com Aug 17 20:04:30 and also KNY is right Aug 17 20:05:15 Hello Aug 17 20:05:21 ok thanks Aug 17 20:06:03 Can anyone help me out for a sec? I'm using drizzy's hero rom and for whatever reason wifi isn't working. However it seems to be just fine for everyone else in the thread. Any ideas? Aug 17 20:06:40 Kez: more info req: at what point does it fail? Aug 17 20:07:15 I try to enable it in the settings by clicking the checkmark. It then tells me 'unable to start wifi' Aug 17 20:09:59 any ideas? Aug 17 20:11:00 Kez: im no expert - does lspci -k reveal what the name of the wifidevice and the module used for it? Aug 17 20:11:20 lspci -k? Aug 17 20:11:31 sorry i'm not an expert by any means either Aug 17 20:12:09 ok well that might not work - since I dont seem to have lspci on my phone Aug 17 20:12:40 infact lsmod on my phone doesnt show anything - so i guess all the modules are built in on my build Aug 17 20:13:14 have you got the latest radio firmware installed? Aug 17 20:13:29 (although i was under the impression that the phone wouldnt work atall without latest radio) Aug 17 20:14:36 hi folks... when putting a payed app in to market. how does one receive the money other people payed? is the money directly transfered to the credit cart i used for google checkout? Aug 17 20:14:59 Yes og01 Aug 17 20:15:08 I have the latest there is Aug 17 20:15:37 ok back to coding Aug 17 20:16:42 Kez: beyond that im useless to ya, only last thing i would say - is do a complete wipe, and reload the build Aug 17 20:16:49 (including the sd to be safe) Aug 17 20:17:42 mm Aug 17 20:17:45 I've been doing that Aug 17 20:17:53 i think I've reflashed like 15 times already today Aug 17 20:17:56 :P Aug 17 20:18:04 looked at dmesg? Aug 17 20:18:17 err logcat Aug 17 20:18:36 have you got adb installed? Aug 17 20:18:42 Yes I ahvee adb instaleld Aug 17 20:19:00 win or lin? Aug 17 20:19:01 where abotu is logcat Aug 17 20:19:03 win Aug 17 20:19:17 open cmd, type adb logcat Aug 17 20:19:28 (while phone is connected via usb) Aug 17 20:19:41 K Aug 17 20:20:35 what should i do from here Aug 17 20:20:46 loads of garbage come up on the screen? Aug 17 20:21:22 yeah :P Aug 17 20:21:34 on the phone, goto the screen where you can enable wifi Aug 17 20:21:43 k i'm there Aug 17 20:21:43 wait for logcat to calm down Aug 17 20:21:49 then try enable wifi Aug 17 20:22:02 and look for messages in logcat relating to wifi Aug 17 20:22:43 K i'm looking Aug 17 20:23:11 D/SettingsWifiEnabler( 908): Received wifi state changed from Enabling to Unkno Aug 17 20:23:12 wn Aug 17 20:23:14 I/ActivityManager( 650): Displayed activity com.android.settings/.wifi.WifiSett Aug 17 20:23:15 ings: 400 ms Aug 17 20:23:17 E/WifiService( 650): Failed to load Wi-Fi driver. Aug 17 20:23:19 D/SettingsWifiEnabler( 908): Received wifi state changed from Unknown to Enabli Aug 17 20:23:21 ng Aug 17 20:23:22 woah Aug 17 20:23:23 D/SettingsWifiEnabler( 908): Received wifi state changed from Enabling to Unkno Aug 17 20:23:25 wn Aug 17 20:23:31 paste it into www.pastebin.com Aug 17 20:23:34 <_Auron_> er try pasting on pastebin.org or something, pasting into the chan isn't cool Aug 17 20:23:41 <_Auron_> pastebin.com I mean Aug 17 20:23:47 http://pastebin.com/m573161fb Aug 17 20:25:25 Kez: well only states what i suspected. but since the module is builtin to the kernel im at a loss of what to do Aug 17 20:25:36 perhaps _Auron_ or anyone else has an idea Aug 17 20:25:43 _Auron_ for input events, do you just clone them, handle them directly, or 'convert' them into an abstract class of yours? Aug 17 20:25:56 <_Auron_> og01: Have only done it once. Aug 17 20:26:04 ? Aug 17 20:26:23 _Auron_: done what once? Aug 17 20:26:26 <_Auron_> SinnerG: I set boolean switches in onTouchEvent/onKeyEvent/etc and read those in my game logic Aug 17 20:26:31 haha, soslim --shady... nice Aug 17 20:26:43 <_Auron_> og01: oh nm, Aug 17 20:26:54 ah just store the 'last' ones Aug 17 20:27:00 thats indeed one way to do it Aug 17 20:27:15 Kez: open another cmd, and type sdb shell Aug 17 20:27:20 *adb shell Aug 17 20:27:20 <_Auron_> SinnerG: And when I handle that input, I set those switches off Aug 17 20:27:29 K did that Aug 17 20:27:35 type dmesg Aug 17 20:27:43 copy out the last 10 lines into pastebin Aug 17 20:27:44 k Aug 17 20:27:49 got a bunch of stuff Aug 17 20:31:11 hello, how would one draw a "negative" shape (such as a circle) into an opaque rectangle so that an underlying bitmap (from jpg, which is rectangular) can show through? the point is to hide the corners of the bitmap in such a way that the bitmap looks circular, even though the bitmap is really rectangular. In other words, I'd like to acheive a "mask" effect like the tools that the Flash authoring environment has. Aug 17 20:31:50 or in other words i'd like to "punch a round hole" in a rectangle, and draw the result. how would i do that? Aug 17 20:31:57 Kez: going to sleep in a min- anyhting good in dmesg Aug 17 20:31:58 ? Aug 17 20:32:12 Not sure what to look for og01 :P Aug 17 20:32:40 just psatebin the last 10 or so lines so i can see then Aug 17 20:32:54 I woulda thought that a message about trying to load the wifi would be in there Aug 17 20:33:22 it's not like ti auto scrolls liek teh logcat Aug 17 20:33:30 oh Aug 17 20:33:32 sorry for typos kinda tired myself Aug 17 20:33:43 you could: Aug 17 20:33:53 dmesg > /sdcard/output.txt Aug 17 20:34:31 then mount the sdcard and open output.txt in notepad or something Aug 17 20:35:11 her's the file: http://pastebin.com/d1c007aee Aug 17 20:38:29 init: no such service 'wlan_loader' Aug 17 20:39:02 o.o Aug 17 20:40:57 Kez this is where my knowledge of android lets me down and i cant help Aug 17 20:41:14 Alright, thanks for trying though :) Aug 17 20:41:22 but the problem is shown in and around line 422 Aug 17 20:42:25 Alright ty Aug 17 20:42:32 Could anyone else help out? Aug 17 20:43:55 Kez what is in /etc/wifi ? Aug 17 20:44:07 How do i check? Aug 17 20:44:32 in shell: Aug 17 20:44:35 ls /etc/wifi Aug 17 20:44:43 ls /etc/wifi/ Aug 17 20:45:16 not found Aug 17 20:45:24 type: Aug 17 20:45:26 cd /etc Aug 17 20:45:36 then cd wifi Aug 17 20:45:38 then ls Aug 17 20:45:47 not found Aug 17 20:45:53 at what point? Aug 17 20:45:58 1s Aug 17 20:46:09 oops Aug 17 20:46:11 ls (L) (S) Aug 17 20:46:15 lol Aug 17 20:46:18 just realized Aug 17 20:46:35 k it found 3 things Aug 17 20:46:38 its like the dir command of ms-dos Aug 17 20:47:07 http://pastebin.com/d7d1d3a6b Aug 17 20:47:33 meh same as mine Aug 17 20:47:56 Mm Aug 17 20:50:19 Kez: do other builds work? Aug 17 20:50:29 cyanogen's worked Aug 17 20:50:45 however i'm trying to find a good/fast hero rom so i can use the flash integration Aug 17 20:51:24 Drizzy's seems to be the fastest as of right now Aug 17 20:51:33 Kez: yeah i gave up on the hero roms - but then i did have wifi working Aug 17 20:51:53 this one is actually reasonably fast Aug 17 20:52:15 however i only have had it flashed for a about an hour and don't have anythign installed :P Aug 17 20:52:17 Kez: I believe I've tried it Aug 17 20:52:29 alright Aug 17 20:54:16 Alright ty, does anyone else here ahave any ideas? Aug 17 21:36:14 is there a way to get the market to list a subset of applications through the "market://search?q=" that aren't from the same developer? Aug 17 21:37:04 I tried "market://search?q=world pname:com.something.one pname:com.other" but it is just ANDing them together, is there a way to OR them? Aug 17 21:59:28 I report feature requests for the market directly on b.android.com, right? No separate issue tracker for the market is there? Aug 17 22:04:05 herriojr, there isn't a separate one, but b.android.com isn't the right place to report them Aug 17 22:04:10 it is, however, the least wrong place Aug 17 22:04:37 thats what she said Aug 17 22:04:45 haha Aug 17 22:04:49 well played, neonfreon Aug 17 22:05:55 KNY: does that mean they're coming up with a new place to do it? Aug 17 22:06:36 herriojr, I doubt it, but I have no idea Aug 17 22:06:43 kk Aug 17 23:06:21 jbq: *poke* Aug 17 23:07:47 jbq: are you guys planning on making a release of cupcake that actually fucking builds? :) Aug 17 23:08:10 "it works on my machine" ;) Aug 17 23:08:12 the EAI_NODATA issue in external/qemu is still in the cupcake-release branch. fixed in cupcake HEAD though Aug 17 23:08:37 i'd really rather not modify my manifest away from the android-1.5r3 version just to fast forward that repo Aug 17 23:08:40 oh, that *sigh* Aug 17 23:09:08 such a trivial thing to fix, this must be evidence of how screwy your guys' repositories are internally :) Aug 17 23:09:27 actually, it builds fine for us ;-) (really) Aug 17 23:10:00 (seriously, release management wants to avoid changes in cupcake-release that aren't critical fixes for devices) Aug 17 23:10:30 how can it? EAI_NODATA is only defined on Linux when -D_GNU_RELEASE is defined Aug 17 23:10:37 jeez Aug 17 23:10:39 and it doesnt seem to be in androdi-1.5r2 or r3 Aug 17 23:10:44 ucky android lifecycle ;p Aug 17 23:10:50 and the commit that #ifdef's it is somewhere between cupcake-release and cupcake Aug 17 23:10:53 I call it on* hell :p Aug 17 23:11:28 yup, cupcake gets some changes (fewer and fewer, admittedly), and cupcake-release only gets individual cherry-picked changes. Aug 17 23:12:04 yargh ;) Aug 17 23:12:25 fine, i'm fast forwarding to cupcake HEAD. hopefully it doesn't explode :) Aug 17 23:13:21 That's pretty damn likely to work fine, actually. Aug 17 23:13:31 yeah i know Aug 17 23:13:35 it just feels clumsy :\ Aug 17 23:14:00 Yeah. Well, the whole process around cupcake is :( Aug 17 23:28:38 jbq: do you encourage Android staff to get Gerrit accounts? Aug 17 23:28:49 Yes Aug 17 23:29:17 (I wish it was automatic so I don't have to hunt people down when I have changes for them to review) Aug 17 23:30:15 Yeah, a person just wrote me and asked to hold off on the openssl stuff since he wanted to merge it in a different way, but I just asked him to put -1 on Gerrit to prevent any merge Aug 17 23:30:43 openssl is a bit special, it's got a fairly restricted access, maybe too restricted. Aug 17 23:34:48 Don't worry: I put on the special goggles before viewing it. Aug 17 23:36:48 (I meant, few people have approval power in it) Aug 17 23:41:13 Yeah, I was just being silly. But, yeah, I can see why you want to be explicit with everything after recent events :-\ Aug 17 23:45:46 Hello! dumb question, is there a way to stream windows format audio streams on android? like a port of ffmpeg or something? Aug 18 01:09:59 I'm currently using a SimpleCursorAdapter as part of a ListActivity. How can i auto-requery the database? Aug 18 01:24:57 hi Aug 18 01:27:39 im struggeling to convert my frame layout xml to java code Aug 18 01:31:24 AndyArmstrong, don't do it Aug 18 01:31:46 anyone knows if it is possible to Aug 18 01:31:57 stream window media format streams on android? Aug 18 01:32:41 like a port of ffmpeg or some other such open source thing? Aug 18 01:32:51 does anyone know how i can remove this? http://haykuro.theiphoneproject.org/?p=213 it's the htc ime. I have a hero rom and it's screw with it. Aug 18 01:36:37 Amorgos: if you're using a ContentProvider, you can just call getContentResolver().notifyChange() Aug 18 01:37:17 so should i just piece together a small bit of xml and use inflate? Aug 18 01:46:45 can somebody help me here: my view doesnt fire any touch events Aug 18 01:47:20 http://pastebin.com/ma617fd4 Aug 18 01:49:09 palez! Aug 18 01:51:43 fixed it Aug 18 01:51:53 how do i set the x and y of a new child for absolute layout Aug 18 01:51:54 using code Aug 18 01:51:55 not xml Aug 18 01:59:09 hellooo Aug 18 01:59:11 is anyone there Aug 18 02:01:57 ..... Aug 18 02:02:27 hi Aug 18 02:04:59 oh wow! => Aug 18 02:05:01 right Aug 18 02:05:04 i have a boardview ok Aug 18 02:05:06 sorry Aug 18 02:05:08 absolutelayout Aug 18 02:05:11 in java Aug 18 02:05:12 i go Aug 18 02:05:22 this.addView(new MyView()); etc Aug 18 02:05:24 it adds it fine Aug 18 02:05:28 but at the top left of the screen Aug 18 02:05:32 how do i set its x and y Aug 18 02:05:34 using java Aug 18 02:05:47 as in xml id normally go layout_x = "150px" for example Aug 18 02:06:40 View v=new MyView(); this.addView(v); v.x=150 ? Aug 18 02:06:51 sorry, i am very newbie Aug 18 02:07:25 noo doesnt work Aug 18 02:08:36 maybe set clip rect on the child, or do some canvas operation for each children? Aug 18 02:10:31 how Aug 18 02:10:36 like how do i get to such a low level Aug 18 02:11:00 sorry i don't know what i'm talking about anyway Aug 18 02:11:53 why don't you have a look at com/example/android/apis/view demos ? Aug 18 02:13:45 not sure if those demos will help :-/ Aug 18 02:42:56 can somebody help me find the source code for AbsoluteLayout Aug 18 02:42:57 thanks Aug 18 02:47:08 or tell me how i can add to the onDraw method of it Aug 18 02:49:26 you extend AbsoluteLayout **** ENDING LOGGING AT Tue Aug 18 02:59:56 2009