**** BEGIN LOGGING AT Tue Aug 05 02:59:57 2008 Aug 05 03:09:38 jasta ping Aug 05 03:24:57 quiet tonight Aug 05 03:45:34 heh Aug 05 03:46:07 i spent all afternoon writing a bunch of shit for the job im applying for, so I'm still at work wrapping up. Aug 05 03:46:17 I'll probably be home asking dumb questions again soon ;) Aug 05 03:46:59 :) Aug 05 03:49:20 interview on thursday Aug 05 03:49:37 so excited to get out of here. I can't stand it anymore :/ Aug 05 03:52:36 where is jasta anyway Aug 05 03:52:38 this is unusual Aug 05 03:53:05 not sure... havent seen him in a bit Aug 05 03:54:19 ok time to go home. be back soon. Aug 05 04:23:34 back huh? Aug 05 04:23:43 didn't miss much Aug 05 04:24:03 didnt' figure I would Aug 05 04:24:33 :) Aug 05 04:24:42 i'm wrapping up the sms app finally Aug 05 04:27:05 nice Aug 05 04:28:09 putting together the wiki page, i'll probably post the download tomorrow afternoon Aug 05 04:29:11 well I got whatever I was working on all fucked up before I went to bed last night, so its time to straighten that out. Aug 05 04:29:24 what were you working on? Aug 05 04:29:53 just redesigning a bunch of parts of my app after discussing some lifecycle stuff with jasta Aug 05 04:30:01 cool Aug 05 04:30:15 but I slipped up somewhere and I was really tired..had to call it quits before I fixed it Aug 05 04:30:38 it happens Aug 05 04:30:52 i had a nullpointer the other night that was clearly an overtired mistake Aug 05 04:31:03 yawn Aug 05 04:31:09 howdy Aug 05 04:31:09 pong ;) Aug 05 04:31:10 there he is. Aug 05 04:31:20 my gf unexpectedly came over today Aug 05 04:31:33 so i played tennis instead of going to the sprint store :) Aug 05 04:31:38 i was guessing that was the case Aug 05 04:31:40 ah jeez Aug 05 04:31:43 haha fun :) Aug 05 04:31:44 you could have convinced her to swing by ;) Aug 05 04:31:52 no, i could not have :) Aug 05 04:31:55 haha Aug 05 04:34:59 jasta, added the focus to the message boxes when replying or coming from the contacts. Aug 05 04:40:53 hmm. at least i'm getting faster at finding my retarded mistakes. Aug 05 04:48:33 screenshots of Messages: http://code.google.com/p/android-random/wiki/Messages Aug 05 04:49:02 nice Aug 05 04:49:05 looks good Aug 05 04:49:18 thanks Aug 05 05:01:14 i'm out, enjoy the evening Aug 05 05:01:47 good night Aug 05 05:25:30 michaelnovakjr__: i think you should invert the order of messages in a conversation Aug 05 05:25:33 should show newest at the bottom Aug 05 05:25:38 also, you should timestamp. Aug 05 05:25:45 use the right hand side for that or something Aug 05 05:29:03 michaelnovakjr__: also, you should add a way to pick a contact in the craete new message activity Aug 05 05:29:09 as in, more than just the autocmplete Aug 05 05:31:31 hey folks: http://www.clubgphone.com/2008/08/04/htcs-android-phones-still-on-track-for-q4-2008/ Aug 05 05:32:05 Oh man, I can't wait. Aug 05 05:32:51 (that post actually indicates that *WE* might not see android devices in Q4) Aug 05 06:23:19 poo Aug 05 06:23:22 i gotta start work tmrw :( Aug 05 06:23:28 no more being a bum Aug 05 06:25:57 one more day.. Aug 05 07:05:06 morning Aug 05 07:53:38 michaelnovakjr__: yeah I agree with jasta. Your messaging looks really cool but I'd invert the ordering. Aug 05 09:01:24 http://englishrussia.com/?p=2008 Aug 05 09:04:49 ... Aug 05 09:04:57 That's hillarious. Aug 05 09:07:20 its awesome Aug 05 10:00:18 Could someone tell me with which XML parser included in Android I am able to parse a XML document that sits in a simple String Aug 05 10:00:52 every parser I found needs InputStreams or othe things like that and I cant manage it get my String into the DOM parser or SAX parser Aug 05 10:01:07 the xml consists just of two elements Aug 05 10:05:28 got iz Aug 05 10:05:30 it Aug 05 10:08:52 hmm, is there any way to access the current context from a class which is neither an activity nor view nor anything else? Aug 05 10:09:11 something like Application.getContext()? ;) Aug 05 10:09:33 Why dont you submit him the context in the constructor ? Aug 05 10:09:38 in the parameter set Aug 05 10:10:00 myClass(Context cont)() Aug 05 10:10:21 then you should be able to use it Aug 05 10:11:10 yes, thats what im currently doing, but i dont like it. Aug 05 10:18:32 this should be accessible in a static way imho. you need it to access R.string.*, or i have to add an adaptor to R.*, which would be kinda stupid. Aug 05 12:12:39 At current, is there a way to insert pauses when using the dialer? I have a Vouge and can't bring up the dialpad when calling voicemail so I need to include the pin when I dial. Aug 05 12:13:24 I see in android.telephony.PhoneNumberUtils that PAUSE is defined as int 44 Aug 05 12:13:59 I don't see how I'd enter it using the dialer. Aug 05 12:16:14 Ahh well. Sleep time. If anyone knows and would be kind enough to pm me, I'd appriciate it. Take care. Aug 05 13:28:12 howdy Aug 05 14:58:49 howdy AttractiveApe Aug 05 14:59:06 mornin' michaelnovakjr Aug 05 14:59:11 Have a good weekend? Aug 05 14:59:19 not too bad, how about you? Aug 05 14:59:23 was excellent Aug 05 14:59:38 yesterday was a stat holiday, so was wonderful :P Aug 05 14:59:46 nice Aug 05 15:00:15 check this out: http://code.google.com/p/android-random/wiki/Messages Aug 05 15:00:24 some early screenshots of the sms app Aug 05 15:00:37 making a few modifications and then its ready to be used Aug 05 15:02:50 looks nice :) Aug 05 15:02:53 When do I get to use it? Aug 05 15:03:06 I played with Glance on the weekend, was great :) Aug 05 15:03:15 thanks Aug 05 15:03:24 i'll mostly likely have it up in a few hours Aug 05 15:04:33 you can send an sms through the contacts and dialer apps too Aug 05 15:11:11 cool, looking forward to it :) Aug 05 15:13:18 michaelnovakjr: nice! Aug 05 15:13:28 thanks Aug 05 15:13:49 putting a few finishing touches on it Aug 05 15:27:04 yawn Aug 05 15:27:23 michaelnovakjr: i like seeing the intent system come together and actually work neatly Aug 05 15:27:33 yea Aug 05 15:27:44 i'm working on using the intent system to pull the contact picker Aug 05 15:28:02 excellent Aug 05 15:28:13 how can i get the focus of a list view to the bottom? Aug 05 15:28:19 anyone knows whats happened to the ADCI Galery - Delayed or Canceled ? Aug 05 15:29:12 i was searching for a way to pull it down to the bottom of the list view... Aug 05 15:29:58 nah, that would be weird i think Aug 05 15:30:12 ligi: or perhaps it was just a lie? :) Aug 05 15:30:51 jasta: ^^ Aug 05 15:33:53 ligi: what gallery? Aug 05 15:36:21 zhobbs_: google anounced that there will be a galery of ADC I Participants which want to be in souch an galery Aug 05 15:36:24 jasta, any idea on how get the bottom of the list view to display by default? Aug 05 15:38:11 zhobbs_: from the ADC I loosers email: "2. In the near future, we\u2019ll be creating an Android Developer Challenge Gallery where you can showcase your application. We\u2019ll be providing more details shortly on how you can participate in this gallery." Aug 05 15:38:59 ligi, nothing more has been said about it Aug 05 15:39:48 michaelnovakjr: i noticed - but i dont know if it is canceled or just delayed Aug 05 15:39:53 both is very possible Aug 05 15:41:28 A loser gallery, where do I sign up? Aug 05 15:41:40 helloandroid.com/apps Aug 05 15:42:03 :) Aug 05 15:42:26 I got a couple emails asking if helloandroid.com was dead Aug 05 15:42:41 haha Aug 05 15:42:45 it's alive, I'm just brain dead from ADC Aug 05 15:42:47 is HA dead? Aug 05 15:43:08 nah, I'll try to get it going again Aug 05 15:43:09 is ADC over now? Aug 05 15:43:13 i must say signing the NDA has been an improvement for muthu Aug 05 15:43:22 werd Aug 05 15:43:23 work on some more tutorials and news...the nda is a pain though Aug 05 15:43:33 tethridge: yeah, in a couple hours Aug 05 15:43:35 now he isn't even allowed to speculate wildly. Aug 05 15:43:44 lol Aug 05 15:43:57 waiting for the public release.. so we can all be set free Aug 05 15:43:59 yeah, it's hard for me to post news because I'm NDA'd out in every direction Aug 05 15:44:03 haha thank god! Aug 05 15:44:04 so muthu signed the NDA? Aug 05 15:44:13 all team members sign Aug 05 15:44:17 ah Aug 05 15:44:19 muthu you should sign an NDA for the public one too :) Aug 05 15:44:25 hehe ;) Aug 05 15:44:28 lol Aug 05 15:44:40 NDA's suxx Aug 05 15:44:49 normally yes, but not in muthu's case :) Aug 05 15:44:59 ;-) Aug 05 15:45:07 :)) Aug 05 15:45:14 :) Aug 05 15:45:23 android is the best mobile development platform Aug 05 15:45:56 the best one that you can't use on real hardware... Aug 05 15:46:26 wait, android is the only platform that has no hardware available with it on there for the public. :-( Aug 05 15:46:54 quite true, there's even the Neo Freerunner now ;0 Aug 05 15:47:11 hope the devices come out soon Aug 05 15:47:37 there is renewed doubt that the consumer market will see them by Q4 2008 Aug 05 15:47:50 is there a delay news anywhere? Aug 05 15:47:57 in a sense... Aug 05 15:48:00 Q4 has been the target for a while.. Aug 05 15:48:04 http://gizmodo.com/5032966/htcs-android-phones-still-on-track-for-q4-2008 Aug 05 15:48:10 read more than just the headline. Aug 05 15:48:18 reading.. Aug 05 15:49:16 i hadn't thought about that particular nuance of the industry. Aug 05 15:49:21 I'm only waiting until February, then I'm going to be an iPhone owner. Aug 05 15:49:47 by feb, adc2 will start Aug 05 15:50:01 jasta: can't wait to see your app for adc2 Aug 05 15:50:03 muthu ... Aug 05 15:50:08 again with the speculating Aug 05 15:50:09 the NDA isn't perfect, unfortunately. it still lets him spew nonsense about the ADC2. Aug 05 15:50:15 lol Aug 05 15:50:25 this channel is going to come back alive ;) Aug 05 15:50:29 but i guess we can't be too picky. Aug 05 15:50:47 muthu: why do you assume my app will be part of adc2? Aug 05 15:50:50 muthu, you are too touchy feely for me Aug 05 15:51:03 jasta: you can't stay away from android **** BEGIN LOGGING AT Tue Aug 05 16:02:02 2008 Aug 05 16:04:12 muthu, that method doesn't exist Aug 05 16:04:24 michaelnovakjr: something like that Aug 05 16:06:46 whoa, i was on the wrong side of that netsplit :) Aug 05 16:07:15 :) Aug 05 16:07:46 jasta, how can i get focus to the bottom of the list view? Aug 05 16:08:45 michaelnovakjr: set the last item to be the selected one Aug 05 16:13:36 got it :) Aug 05 16:13:51 stupid easy things :) Aug 05 16:15:18 waiting for common sense boot up again? Aug 05 16:15:34 :) Aug 05 16:18:49 unfortunately yes yakischloba :) Aug 05 16:18:55 why isn't there a ListView#displayLastItem() to make it easier Aug 05 16:19:04 because it is easy :) Aug 05 16:19:10 why would there be such a method? Aug 05 16:19:12 setSelection( position ) Aug 05 16:19:34 setSelection( listAdapter.count ); Aug 05 16:19:43 setting last item seems to be like a common use case Aug 05 16:19:44 count - 1 michaelnovakjr :) Aug 05 16:19:49 :) yes... Aug 05 16:19:56 muthu: I really don't see how it's a **common** use case Aug 05 16:19:58 still i type it wrong when its right in my code :) Aug 05 16:20:09 its really not... Aug 05 16:20:13 romainguy_: its common, when you add items to a list Aug 05 16:20:20 ? Aug 05 16:20:31 romainguy__: is the engineering team even bothering with the issue list any more? Aug 05 16:20:40 jasta: yes why? Aug 05 16:21:25 Just curious if it was a waste of time to post something there. I'd like to post my HttpClient example and ask that some engineer confirms the bug is indeed gone from the latest builds. Or at least, confirm it's gone from whatever will be final. Aug 05 16:21:58 I doubt anybody will have time just to confirm that a bug is gone Aug 05 16:21:59 jasta: are you sure it's not an isue for the Apache HttpComponents people? Aug 05 16:22:32 It is. But romain claims many patches both by Google and upstream have been provided. Aug 05 16:22:39 And also, a new upstream version exists. Aug 05 16:23:03 I could not discover the source of the bug by decompiling Android's included code, so I'd like confirmation directly that the bug is gone. Aug 05 16:23:21 romainguy__: So then it is pointless to post bugs? Aug 05 16:23:31 no Aug 05 16:23:31 you can post bugs if you need a fix Aug 05 16:23:48 Well I do need a fix in M5. I have no idea if that fix is in the current build. Aug 05 16:23:56 how could I? Aug 05 16:26:17 How could anyone posting a bug know if it's been fixed in a newer version or not? Any bug post would require an Android developer to either fix the bug, or confirm that it was already fixed. Aug 05 16:26:40 So, it's either pointless to post bugs, or somebody must have time to look at them. Right? Aug 05 16:28:27 any news on public sdk? Aug 05 16:28:34 muthu: non Aug 05 16:28:35 none Aug 05 16:28:45 too bad Aug 05 16:29:02 Uhm? Aug 05 16:29:04 now that i don't have anything to do ;) Aug 05 16:29:08 hahah Aug 05 16:29:11 done already eh Aug 05 16:29:20 yup Aug 05 16:29:56 muthu, let's not start speculating :) Aug 05 16:30:44 romainguy__: You're not filling me with confidence here... Aug 05 16:31:01 jasta: what are you talking about? Aug 05 16:31:37 I need to confirm that this issue is gone in the latest builds. If it isn't, then someone needs to fix the bug. Aug 05 16:31:43 then file your bug Aug 05 16:31:46 I did all I can do with the version I have, and no access to source code. Aug 05 16:32:00 romainguy__: So engineers are looking at them, for sure? Aug 05 16:32:14 engineers are looking at the bugs Aug 05 16:32:22 but I cannot promise you yours will be looked at Aug 05 16:32:34 or that if it is looked at that someone will take the time to test your code against a newer build Aug 05 16:32:51 especially if you describe your bug like you did to me Aug 05 16:33:01 How did I describe it to you? Aug 05 16:33:20 just file your bug Aug 05 16:34:34 f00f-: did you submit your app btw? Aug 05 16:34:55 we're doing a final submnit in a few minutes Aug 05 16:35:02 :) Aug 05 16:35:09 just doing doc fixes :) Aug 05 16:35:17 how many mins left? Aug 05 16:35:23 24 Aug 05 16:37:08 down to the wire eh Aug 05 16:38:12 i thought you guys had to the 8th? Aug 05 16:38:30 funny, so did one of our teammates Aug 05 16:38:51 is it due today? Aug 05 16:39:31 it's incredible how high your odds are of winning. Aug 05 16:40:47 what is f00f-'s app? Aug 05 16:41:00 i've forgotten Aug 05 16:41:09 i think jasta meant you as in 'the 50' Aug 05 16:41:12 yakischloba: PedNav Aug 05 16:41:15 ohh yeah Aug 05 16:47:56 Have the majority of the '50' been working on their project full time? Aug 05 16:49:15 re Aug 05 16:49:26 it feels like full-time Aug 05 16:49:46 Do you all have day jobs too? Aug 05 16:50:09 most of us do Aug 05 16:50:34 so you have been busy eh Aug 05 16:51:07 .. let's just say in another 9 minutes i'll be relieved :D Aug 05 16:51:11 hah Aug 05 16:51:23 still need to do another build with new icon Aug 05 16:51:33 better hurry. Aug 05 16:51:41 i have my guy in photoshop as we speak. Aug 05 16:51:53 hah Aug 05 17:00:58 all done. Aug 05 17:01:00 whew Aug 05 17:01:05 ^_^ Aug 05 17:01:05 & Aug 05 17:11:04 f00f-: so it is due today? Aug 05 17:11:42 jasta, yep :) Aug 05 17:11:51 are you concerned by the way that the judges will be comparing your app against Google Maps (now with public transit info from the very same database you use)? Aug 05 17:12:06 or is it actually dissimilar? Aug 05 17:18:51 hello san : Aug 05 17:19:48 hey man Aug 05 17:19:49 whats up Aug 05 17:22:32 pretty good :) Aug 05 17:23:17 going out to my mom's to shoot pool tonight. which is fun, because i'm way better than her :) Aug 05 17:26:03 good stuff Aug 05 17:38:08 romainguy_: so, is the next SDK drop expected to be 1.0? Aug 05 17:38:20 as in, very close if not identical to the shipped release? Aug 05 17:47:41 jasta, makes sense, why do an non-NDA before a public release? Aug 05 17:48:24 whats up ? :) something new about a SDK ? Aug 05 17:49:01 nope Aug 05 17:49:09 :) Aug 05 17:49:25 have done the flickr api now and it works perfectly :D Aug 05 17:49:31 nice Aug 05 17:50:07 Now I have to do some UI :-) Aug 05 17:50:58 will you have to choose files from the device? Aug 05 17:51:19 jasta: I can't comment on that Aug 05 17:51:30 anno^da_: nothing new :) Aug 05 17:52:02 Mmh well I'm just recording a image/video and uploading it directly to the media services. So not really choosing. Aug 05 17:52:10 cool Aug 05 17:52:26 and adding geo codings to them. Aug 05 17:52:35 romainguy_ http://code.google.com/p/android-random/wiki/Messages ... some early screenshots of the sms app i wrote Aug 05 17:52:44 At the moment it integrates Twittr, Flickr, Tumblr and Technorati for some Blog Pings Aug 05 17:52:45 I saw that :) Aug 05 17:53:15 michaelnovakjr: nice ui. Not overloaded :) Aug 05 17:53:40 thanks, i try to keep it simple Aug 05 17:53:46 Yeah Aug 05 17:54:02 It's the best you can do. Aug 05 17:54:23 michaelnovakjr: why are you writing an SMS app btw? :) Aug 05 17:54:47 i wrote it for the htc, really, the sms on there was terrible Aug 05 17:55:39 romainguy_: i'm just concerned that there's gonna be a ton of bugs in the 1.0 release due to a lack of community involvement for so long... Aug 05 17:56:02 can you comment on any sort of software upgrade policy or release schedules post handset launch? Aug 05 17:56:06 Now I got a small question regarding my service. At the moment I'm using it just starting the service and it gets killed by him self after doing his job. Now I need some interaction with the service in my UI. Is it right that I have to start the service and then bind to it from the actvity calling methods. (I already did the AIDL files) Aug 05 17:56:09 no I can't jasta Aug 05 17:56:23 hmm. *frustrated* Aug 05 17:57:21 anno^da_: The practice that I have adopted is to reinterpret what the service's onStart() call really means. Aug 05 17:57:23 jasta, i'm a bit nervous as well. if you didn't deal with android on a regular basis you'd think it was dead Aug 05 17:57:45 onStart() can be thought of as onConnected(), and then through your service interface (defined in AIDL) you should add some type of doWork, stopWork methods. Aug 05 17:58:00 So you can happily bind to the service, "starting" it, but the service will just sit idly until you instruct it to do real work. Aug 05 17:58:52 michaelnovakjr: well it just seems highly likely that these private SDKs will have lots of problems in areas not well covered by google apps or ADC participants. and if it is basically 1.0 final, then we're hosed to get fixes in place for handset launch. Aug 05 17:58:57 OK great thanks jast. Aug 05 17:59:00 jasta Aug 05 17:59:02 and then we don't know what it looks like to get those fixes incrementally applied? Aug 05 17:59:05 yikes, i saw. Aug 05 17:59:07 i say* Aug 05 17:59:44 anno^da_: This approach has lots of advantages as well. Activities can connect to the service and just simply ask it what it's doing, which they can then decide whether to start it doing something else or observe progress. Whatever you define in your AIDL. Aug 05 18:00:08 anno^da_: Do note as well that you can use asynchronous callbacks so your activity can get meaningful status change notifications as they occur (without polling). Aug 05 18:00:17 jasta, i'm not so sure the adc guys are much better off though Aug 05 18:00:31 michaelnovakjr: Well, they at least have a voice where we have none. Aug 05 18:00:35 true Aug 05 18:00:51 They could at least say "hey, what the hell, bug XYZ still isn't fixed?" Aug 05 18:01:45 thanks again jasta. Aug 05 18:02:05 anno^da_: By the way, the service stops itself via stopSelf() when it is truly done and ready to die. But it won't die until all connected activities disconnect. Aug 05 18:02:19 Which is fine, because remember your service is organized to "live" but happily be idle. Aug 05 18:02:45 stopSelf() is more like a flag than an action. It informs the manager that it's done, and can be killed whenever. Aug 05 18:03:04 If you don't call stopSelf(), however, it will never die. Not even after the actvities disconnect. Aug 05 18:03:15 Yeah I recognized that. Aug 05 18:03:28 At the moment the service is killing its self Aug 05 18:03:40 One more thing, to note that your service must be thread-safe. Multiple connecting activities issuing commands against it will all run in separate threads. Aug 05 18:03:40 after doing the API interaction stuff Aug 05 18:03:51 err, do note* Aug 05 18:03:58 jasta, getting a device today? Aug 05 18:04:07 michaelnovakjr: Maybe not still, going to my mom's tonight. Aug 05 18:04:11 mhhh ok I'm not doing multiple connections at the moment. :) Aug 05 18:04:22 (too complicated for me atm :) ) Aug 05 18:05:10 anno^da_: Well, anyone can access your service... Aug 05 18:05:20 so if you hope for your code to be reusable, be thread-safe. Aug 05 18:05:37 Thread-safety is very simple in Java, and in fact designing the code to be such will likely improve your design in general. Aug 05 18:05:45 Yeah that's right. I will note that down. Aug 05 18:05:54 One approach is to use a Handler and pass messages to the main thread from the method invocations. Aug 05 18:05:59 Just like in activities. Aug 05 18:06:07 At the moment I'm improving in java while writting some things :) Aug 05 18:06:22 another approach is to use the concurrent classes in Java and sychronize appropriately when accessing resources. Aug 05 18:06:36 and/or*, i mean Aug 05 18:06:54 * anno^da_ is copying all the stuff into my notes :) Aug 05 18:07:07 * anno^da_ into his notes :P Aug 05 18:08:40 But I can't wait testing the things on a real device. :) Aug 05 18:09:46 real devices are likely to expose numerous thread safety issues with most peoples applications. Aug 05 18:10:01 changing timing and introducing more obscure error conditions usually does that ;) Aug 05 18:10:37 a good portion of my code even needs to be rewritten with some faulty assumptions i made in my haste to submit for the ADC. Aug 05 18:10:52 assumptions removed* Aug 05 18:11:45 :-). The thing is while learning the whole stuff I'm doing so much errors in design. But that's ok I have to get better. :) Aug 05 18:12:22 If you have the time, I do recommend picking up a book on some of these topics more generally Aug 05 18:12:55 Java in general if you are largely unfamiliar with the language and runtime, and also on concurrency in Java. Aug 05 18:13:31 O'Reilly is usually a reliable publisher. Aug 05 18:15:05 Yeah I will do that. At the moment it is just having fun with all the APIs I can get and playing around connecting the services and mashing them up in the mobile area. Aug 05 18:15:48 I got some OReilly books already but hadnt the time to dive into them. Aug 05 18:15:57 well just remember, chasing obscure bugs you don't understand is when software engineering stops being fun. ;) Aug 05 18:16:03 :D Aug 05 18:16:17 oh yea :) Aug 05 18:16:20 jasta: well just remember, chasing obscure bugs you don't understand is when software engineering stops being fun << sounds like my job description some days :) Aug 05 18:16:45 romainguy: *laughing* Aug 05 18:17:12 * anno^da_ btw loves the adam ezra group Aug 05 18:39:40 jasta, your logcat formatting has inspired the conversation view in Messages Aug 05 19:20:44 michaelnovakjr: glad i helped :) Aug 05 19:29:29 I made the conversation one TextView Aug 05 19:29:51 i like to produce a lot of example code... Aug 05 19:29:52 line wraps are much nicer now jasta :) Aug 05 19:31:25 i added the timestamp to the conversation view as well Aug 05 19:31:36 i wish you would commit more atomically :) Aug 05 19:31:49 yea, i'm going to do a commit now Aug 05 19:32:04 i try to commit every change independent of the others when possible Aug 05 19:34:07 jasta: I got into another java game, I guess you were right Aug 05 19:34:22 right about what? i don't remember what i said? :) Aug 05 19:35:04 I said I'm only going to be game programming for 2 more days, and then you said "we'll see" or something like that Aug 05 19:35:15 well now I'm working on a huge project :z Aug 05 19:35:28 committed a new revision jasta Aug 05 19:35:43 i still have to setup the contacts picker.... shouldn't be hard at all Aug 05 19:35:57 nice, i'll take a look tonight. Aug 05 19:36:48 cool, i should have the contacts thing done then too Aug 05 19:38:28 Got a question am I able to set Toasts from my Service ? Aug 05 19:39:27 you have to do it on the UI Thread i believe Aug 05 19:41:22 anno: yes, in fact the main thread of a service is in the ui context. Aug 05 19:41:52 but only the main thread can do it. the implemented aidl interface runs on separate binder thread.s Aug 05 19:41:53 So the only notification I can do (when my activity is not active) is a status bar notification right ? Aug 05 19:42:08 this is where a handler would come in very handy. Aug 05 19:42:32 no, as i said, a services main thread is in the ui context. Aug 05 19:42:59 i like the handler method Aug 05 19:44:15 ditto. Aug 05 19:44:52 check out uithreadutils if you'd prefer a simplr abstraction. Aug 05 19:47:37 UIThreadUtilities is the proper class name :) Aug 05 19:47:40 i was just on my phone hehe Aug 05 19:48:12 :) what client do you use? Aug 05 19:48:24 Its working now Aug 05 19:48:35 just a little bug in my Handler :) Aug 05 19:48:41 great Aug 05 19:48:48 thanks guys. Aug 05 19:55:44 michaelnovakjr: some non-free windows mobile program. it's not great, and when i get android i hope to use ssh instead of a separte instance Aug 05 19:56:36 go non-free windows! Aug 05 19:56:38 woo111 Aug 05 19:56:49 boo Aug 05 19:57:01 michaelnovakjr: i wonder if you could find an irc client for android :) Aug 05 19:57:11 well, it would be poitnless, since that osk sucks so bad :) Aug 05 19:57:52 yea Aug 05 19:58:00 an idea would be to write another :) Aug 05 19:58:12 let's not get carried away :) Aug 05 19:59:42 :) Aug 05 20:03:26 i'm sure plenty of goons will write crummy IRC clients, we don't need to be one of them Aug 05 20:07:33 :P\ Aug 05 20:08:23 that said i am writing a solitaire (freecell) game. Aug 05 20:09:02 just to get some familiarity with a different sort of project Aug 05 20:09:32 :) Aug 05 20:09:41 i'm doing a game next Aug 05 20:10:19 michaelnovakjr: wow, what's your day job? Aug 05 20:10:27 programming Aug 05 20:10:34 For Android? Aug 05 20:10:56 no Aug 05 20:11:05 web programming :( Aug 05 20:11:14 * AttractiveApe nods. Aug 05 20:12:12 jasta: gmaps is definitely a competitor. but we think we have a unique thing or two. ;) Aug 05 20:12:37 hopefully a good unique thing or two ;) Aug 05 20:12:44 trying to solve a problem that's very common amongst all LBS apps Aug 05 20:12:47 trying to connect disparities Aug 05 20:12:52 yeah i hope so michael Aug 05 20:13:17 :) Aug 05 20:13:42 as someone who takes the subway to work everyday, i appreciate non-network applications :) Aug 05 20:14:17 current operation needs network, but it's designed to work in disconnected mode Aug 05 20:14:26 cool Aug 05 20:14:42 f00f-: it'll be interesting to see if google tries to shut you out. Aug 05 20:14:50 to avoid confusing consumers, that is. Aug 05 20:15:19 actually, i bet your biggest challenge will come from "unbiased" carriers who will not want to distribute an app over Google's own, unless it's also their own. Aug 05 20:16:00 that could very well be true Aug 05 20:16:12 * zhobbs_ wonders when/how his adc nda expires Aug 05 20:16:27 zhobbs_: In 3 years, didn't you read it? :) Aug 05 20:17:05 michaelnovakjr: i bet carriers will still try to lock down the "default" experience very tightly. Aug 05 20:17:58 jasta: well if our app offers more functionality/features, then google must play catchup :) Aug 05 20:18:22 f00f-: and they might, or they might just throw their weight at you and nobody will care to use your app? Aug 05 20:18:31 throw their weight, how Aug 05 20:18:34 google, afterall, is going to control the app "market". Aug 05 20:18:59 i doubt they'll try any tricks Aug 05 20:19:00 also, carriers and oems control what goes on the phones in the US. Aug 05 20:19:13 yeah, unless you have a cozy relationship with them! Aug 05 20:19:19 f00f-: Maybe they don't have to? If they don't intentionally guide traffic away from their own apps, it's unlikely anyone will find/want them Aug 05 20:19:34 f00f-: Are you partnering with OEMs? Aug 05 20:19:51 not yet Aug 05 20:19:59 Competing with Google on one of its flagship accomplishments is seemingly impossible. Aug 05 20:20:13 escpecially when they power your engine :) Aug 05 20:20:17 They are a juggernaut, even if everyone wants to see them as the little guy :) Aug 05 20:21:04 yes, it'll be interesting to see what happens Aug 05 20:21:34 I'm especially curious. I don't want this platform to have all the same hidden agenda crap that Apple has with the iPhone Aug 05 20:21:37 but it might just. Aug 05 20:21:38 i'd like symbian, blackberry, and iphone ports too Aug 05 20:21:56 f00f-: The iPhone? Oh jeez. You're still competing with Google, and now you've got Apple to answer to ;) Aug 05 20:22:02 i think ultimately the operators will have the final say Aug 05 20:22:10 well iphone waiting until the licensing becomes more friendly Aug 05 20:22:20 not going to sign an NDA to develop and restrict myself Aug 05 20:22:29 you're not? really? :) Aug 05 20:22:45 well iphone is public right? ;) Aug 05 20:22:49 or is the sdk still considered private Aug 05 20:22:57 it has some legal trings attached to it i thought Aug 05 20:23:05 more public than android, i'd say. Aug 05 20:23:13 true Aug 05 20:23:20 f00f-: i was just jabbing at you. you already signed an NDA to develop :) Aug 05 20:23:26 if one, why not another? :) Aug 05 20:23:58 niceness(GOOG) > niceness(APPL) == true Aug 05 20:24:20 you have nothing to base that opinion on, however. Aug 05 20:24:27 You haven't competed with either of them yet :) Aug 05 20:24:34 yeah, it's a shot in the dark Aug 05 20:24:38 I'm pretty sure both are quite ruthless when you do. Aug 05 20:24:42 at the very minimum an iphone web app (LBS) would be nice Aug 05 20:24:47 yeah probably Aug 05 20:25:28 f00f-: the google NDA doesn't expire? Aug 05 20:25:37 michaelnovakjr: it expires in 3 years, according to its text. Aug 05 20:25:56 3 years after the termination of it, i think Aug 05 20:26:12 interesting Aug 05 20:26:16 but it's to specifics only Aug 05 20:26:21 so should be a non-issue for most Aug 05 20:26:48 yeah, will be once a new public build is released Aug 05 20:27:11 will be a non-issue that is Aug 05 20:27:14 zhobbs_: you're lucky that google has no interest in holding you to that 3 year clause. Aug 05 20:27:15 still not holding my breath :) Aug 05 20:27:23 because if they did, you are legally required to. Aug 05 20:27:36 i think you all are crazy for signing that unammended. Aug 05 20:27:52 yea, it kind of defeats the purpose of the ADC i think Aug 05 20:28:05 it kinda why i have no interest in the apparent ADC2 Aug 05 20:28:11 its* Aug 05 20:29:38 personally, i think it was a bait and switch Aug 05 20:29:40 to require a contract Aug 05 20:29:57 f00f-: what do you mean? Aug 05 20:30:09 well, i didnt know upfront that round 2 was going to be closed Aug 05 20:30:14 f00f-: i agree completely. i even had dan confirm at one point open source projects would be eligible to compete. that statement turned out to be outright false. Aug 05 20:30:16 was it as much fun as round 1? Aug 05 20:30:31 in fact, i treasure his exact quote. Aug 05 20:30:39 When asked about the eligibility of open source projects he said Aug 05 20:30:50 "I'm sure we won't go and do something stupid like bar open source projects from competing." Aug 05 20:30:56 But they did go and do something stupid like that ;) Aug 05 20:31:00 that is also part of my reason for steering clear of adc2 Aug 05 20:31:23 well, they just forced open source projects to be closed source :) Aug 05 20:31:28 open projects aren't allowed to compete in ADC 2? Aug 05 20:31:31 for an undisclosed amount of time :) Aug 05 20:31:41 chomchom: How can they? They can't release source. Aug 05 20:31:48 michaelnovakjr: You can't be an open source project and be closed source :) Aug 05 20:31:55 true Aug 05 20:31:56 jasta: adc2 will probably be different Aug 05 20:32:15 zhobbs_: i'm sure, but it still doesn't seem appealing Aug 05 20:32:25 zhobbs_: I'm not holding my breath. Aug 05 20:32:52 You can be open with your source but still monetize your binary builds using licensing agreements Aug 05 20:32:57 chomchom: I meant ADC 1, and I didn't quite read your "ADC 2" part :) Aug 05 20:33:13 chomchom: ADC 1 bars open source projects, by way of an NDA preventing source disclosure. Aug 05 20:33:24 ah Aug 05 20:33:41 jasta, don't forget for an undisclosed amount of time :) Aug 05 20:33:42 jasta: yeah i remember. it totally sucks for OSS projects in round 2. kinda forces everyone to be closed for a siginifcant amount of time. Aug 05 20:33:54 michaelnovakjr: fun, yeah i guess, smaller crowd :P Aug 05 20:34:11 i think they know they poorly executed ADC I, so perhaps things will chnage Aug 05 20:34:14 have faith :P Aug 05 20:34:16 yeah, less fun because our irc room and mailing list had less people Aug 05 20:34:54 i just figured i'm happy programming now, and i don't have to worry about google or anyone telling me what i can do with my code Aug 05 20:35:37 I love open source...but that's not to say $$ is a big motivator for me Aug 05 20:35:49 true, money has a funny way of doing that :) Aug 05 20:35:58 i mean clearly for round 2, they want profitable apps Aug 05 20:36:01 it's all about the money Aug 05 20:36:10 well even for round 1, they wanted a monetary angle Aug 05 20:36:32 "how can sell/embed ads in this app to increase roi?" Aug 05 20:36:33 yea, i'm not really all about that.... for me it takes away the fun feeling Aug 05 20:36:52 michaelnovakjr: there's room for both...I think we'll see a nice open source community Aug 05 20:37:14 i end up using the apps i write, so for me to release the source and give it away free its all good because i still see benefits of getting to use my app Aug 05 20:37:19 yeah i guess money is an initial motivator, but the end result, if you're successful, is that you'll have an app with millions of users, which is the 'high' many people look for in the end. Aug 05 20:38:20 i kind of laughed when romainguy asked why i was writing an sms app Aug 05 20:38:23 I'm looking forward to the results of round 2, I feel like we made a pretty good app and I want to see what other people are up to Aug 05 20:38:43 i was thinking, there isn't one now...... and there's no signs of when one will be available... so why wait? Aug 05 20:39:31 michaelnovakjr: I think it's awesomw Aug 05 20:39:32 zhobbs_: there will definitely be room for both, i just hope the open source community is bigger, and more than that of better quality Aug 05 20:39:39 screens michael? Aug 05 20:39:51 http://code.google.com/p/android-random/wiki/Messages Aug 05 20:39:57 I just like seeing open source projects emerging of any kind Aug 05 20:39:59 i'll be putting updated ones up tonight Aug 05 20:41:47 i modified the conversation view slightly Aug 05 20:43:29 thanks zhobbs_ Aug 05 20:43:53 okay, yeah it's a start Aug 05 20:43:59 i'm looking for bubbles :D Aug 05 20:44:10 bubbles? Aug 05 20:44:12 i think text needs to be bigger too Aug 05 20:44:18 for readability on a real device Aug 05 20:44:25 yeah like iPhone Aug 05 20:44:28 so you know who is who Aug 05 20:44:40 did you forget who me is? Aug 05 20:44:46 :) Aug 05 20:44:52 ok how about Aug 05 20:44:55 like google talk Aug 05 20:45:00 if you send many things in a row Aug 05 20:45:03 dont have a new entry for it Aug 05 20:46:05 I think I'd want separate entries Aug 05 20:46:15 to know time frame Aug 05 20:46:44 customizability ! Aug 05 20:46:45 yea, i didn't want to get fancy with bubbles and all that because it seems a bit overkill Aug 05 20:47:10 i think it's needed though Aug 05 20:47:29 you and the other person are different colors as well Aug 05 20:47:44 well how about Aug 05 20:47:47 you justified on left Aug 05 20:47:50 other on right Aug 05 20:48:04 so you can kinda see a 'back and forth' convo Aug 05 20:49:09 to me i do see a back and forth convo.... i see Me: and then the other person :) Aug 05 20:50:38 i guess you could jazz up text messaging.... but i am not sure the extra baggage is necessar Aug 05 20:50:41 y Aug 05 20:50:58 i think the only reason the iPhone has it is because of iChat Aug 05 20:51:21 and with Android, I don't have an iChat like program i need to mimic Aug 05 20:52:28 and f00f- by the way.... i'm using it on a real device :) Aug 05 20:52:40 oh? Aug 05 20:52:45 really? Aug 05 20:52:52 the vogue android port Aug 05 20:52:52 thats hardcore Aug 05 20:53:00 the only reason i wrote it :) Aug 05 20:55:50 so getting the UI to work on a device was important :) Aug 05 20:56:53 what? Aug 05 20:56:55 device? Aug 05 20:57:05 someone pre'd a handset for you? Aug 05 20:57:05 the vogue Aug 05 20:57:12 never heard of it Aug 05 20:57:16 who makes it? Aug 05 20:57:17 the htc touch Aug 05 20:57:24 oh Aug 05 20:57:26 same thing Aug 05 20:57:30 a guy has android booting off of win mo Aug 05 20:57:36 ltns Aug 05 20:57:45 with the data connection, calling, and text messaging working Aug 05 20:57:56 nice Aug 05 20:57:59 that is awesome Aug 05 20:58:00 as well as obviously the browser and maps applications Aug 05 20:58:02 is it fast? Aug 05 20:58:11 definitely faster than the emulator Aug 05 20:58:13 pretty fast and smooth. Aug 05 20:58:18 i like it Aug 05 20:58:37 its pleasant to use Aug 05 20:58:41 nice Aug 05 20:58:46 flicking list views up and down must be nice Aug 05 20:59:00 and the notification manager is much easier too :) Aug 05 21:00:06 ya Aug 05 21:00:06 AttractiveApe: in a few hours i'm going to be posting the apk on the downloads page Aug 05 21:00:17 just have one more item to add Aug 05 21:00:20 will the apk run on my emulator ;p Aug 05 21:00:25 yes f00f- Aug 05 21:00:36 although it doesn't complete the sms send Aug 05 21:00:43 the app just acts like it does Aug 05 21:01:30 * f00f- hax into HTC labs to get launch handset Aug 05 21:39:02 [13:39] I just like seeing open source projects emerging of any kind Aug 05 21:39:09 <-- then maybe you should create one :) Aug 05 21:39:19 stupid linebreak ;) Aug 05 21:40:15 jasta, created a menu option to call the sender in the messages app Aug 05 21:40:25 very nice Aug 05 21:40:41 figured it would be easy.... and it was :) Aug 05 21:40:48 it makes sense too Aug 05 21:40:55 definitely Aug 05 21:43:34 i'll be back later... i'm going to post the apk later once i add the contact picker Aug 05 21:55:09 Still trying to get the hang of Android as a project (primary systems, compiling, etc...); I've got a Vouge and a couple working copies of Android for it (with a few bugs of course) and I am hearing about "newer" versions. I can't grab just any initrd.gz because each would have drivers appropriate for a given device, right? Aug 05 21:55:45 rainabba: software isn't magic. Aug 05 21:55:52 Really! Aug 05 21:56:01 Damn, there goes my bubble :) Aug 05 21:56:35 Sorry if my question wasn't worded so well. Likely a reflection of my ignorance on the subject. Aug 05 21:57:24 Worded another way: initrd.gz is device specific for releases of Android correct? Aug 05 21:57:54 IOW, I couldn't just grab one from the SDK and drop it on my HTC VOuge and expect it to run. Aug 05 21:57:58 i love when people are humble Aug 05 21:57:58 ? Aug 05 21:59:00 * rainabba dodges the oncomming sarcasm Aug 05 21:59:21 I'm not humble, I'm honest. Aug 05 21:59:39 I'm quite arrogant actually, but only where I can justfy my right to be. Aug 05 21:59:56 s/justfy/justify Aug 05 21:59:58 i was being honest :) Aug 05 22:00:12 In that case, thank you. My point stands still :) Aug 05 22:00:20 well it's great that there are adventurous people running the SDK on real devices Aug 05 22:00:24 i'd love to do that Aug 05 22:00:43 as far as your question, i think every device needs customizzation no? Aug 05 22:00:50 not sure how the initrd is organized Aug 05 22:00:57 and what modules you need for your arch Aug 05 22:01:09 With haret it appears to be pretty harmless. I couldn't do it on my own either. A gentleman at Massey University is responsible for my fun I think. Aug 05 22:01:21 tax dollars at work! Aug 05 22:01:40 Isn't that a "private" school? Aug 05 22:02:23 I know there are some patches he released that must be applied to an older version of the SDK, but I'm thinking someone figured out his underlying logic and applied them to a newer version. Just dunno where to get the latest, or how to do it myself. Aug 05 22:02:39 Getting nearly all my info from: http://forum.ppcgeeks.com/showthread.php?t=23244&goto=newpost Aug 05 22:03:26 Is this channel about "Google Android"? Aug 05 22:03:50 Do you want it to be? Aug 05 22:03:59 Life is what you make of it. Aug 05 22:04:00 depends on the objective Aug 05 22:04:10 we talk about a vast range of topics Aug 05 22:04:14 :) Aug 05 22:06:58 So I still say the idea that we have a massive black hole in the middle of the milkyway, but it's lying dormant, completely contradicts the general idea of a black hole. Aug 05 22:07:39 depends on the extent of event horizon Aug 05 22:08:43 In any case, it diminishes the fear-factor that they had before this 'discovery'. If the galaxy is in balance with it or expanding, it's not really a threat. Aug 05 22:09:18 * rainabba goes to edit his default.txt Aug 05 22:11:47 grep -v O_BLACKHOLE /dev/universe0 > /tmp/univ2 ; mknod c 6 23 /dev/universe1 ; mv /tmp/univ2 /dev/universe1 ; cat /dev/null > /dev/universe0 Aug 05 22:13:06 Eeek. In that case, I want to exist in /dev/universe1. Do I have a choice? Also, do all realities exist in /dev/universe0, or is there only one reality with count(/dev/universe*) > 0? Aug 05 22:13:46 universe0 becomes invalid the moment you null it, but the UniverseManager shifts the context to /dev/universe1 so you get everything but the black hole Aug 05 22:14:00 Nice Aug 05 22:14:03 Good thinking Aug 05 22:14:36 SOmeones goes to run across this on Google from IRC logs some day and seriously scratch their head. Aug 05 22:14:50 I am scratching my head right now Aug 05 22:15:29 he's gonna patent that s***, better run for your lives! Aug 05 22:15:58 :P Aug 05 22:16:02 Sorry I already hold an ambiguous patent that covers such a concept. Aug 05 22:16:37 Yah, and who's going to help you enforce that patent; God? Aug 05 22:17:14 whoever manages multiple unvierses Aug 05 22:17:16 could be null Aug 05 22:17:19 in which case you're in big trouble Aug 05 22:17:26 I WILL NULL YOUR UNIVERSE and pass the UniverseManager a parameter so that O_BLACKHOLE shifts with your context. Aug 05 22:17:44 hardcore Aug 05 22:17:55 * rainabba can no longer stand the geekyness of this joke Aug 05 22:18:06 geekyness? Hmm. Aug 05 22:18:40 Just realized we have a crowd. Aug 05 22:19:08 Theres always a lurking few. Aug 05 22:20:48 rainabba: i did not have the opportunity to finish my thoughts...sorry Aug 05 22:21:03 rainabba: but the kernel is not modular with Android, so the zImage contains all the driver code Aug 05 22:21:22 the initrd is just the ramdisk image that boots android, it contains significant code to power Android, system libraries, init scripts, etc. Aug 05 22:21:47 the system and data images are just a more formal structure for Android to lay onto, and to store its runtime/framework stuffs. Aug 05 22:22:01 * rainabba considers "system libraries" Aug 05 22:22:19 So which of those two files are device specific? Aug 05 22:22:25 ... or both? Aug 05 22:32:11 rainabba: both of them, potentially. Aug 05 22:32:19 rgr. ty Aug 05 22:32:20 for example, there are dev entries in the initrd Aug 05 22:32:27 for devices that the kernel implements Aug 05 22:32:35 but mostly the kernel in this case, being that iti s not modular Aug 05 22:32:46 the Android release, however, depends heavily on both for obvious reasons Aug 05 22:33:06 userspace must communicate with kernel space, so given al the voodoo going on with Android in the linux kernel there is quite a lot of that communication Aug 05 22:33:26 Of course :) Aug 05 22:33:33 * rainabba smiles like he really understands Aug 05 22:33:37 still, i woudln't go around just randomly plugging in files and try to boot them without knowing what the hell you're working with Aug 05 22:33:48 That's what I'm taking from this. Aug 05 22:33:55 what? Aug 05 22:34:10 Have to rely on others for now. I'm not even remotely capable of such wizardry. Aug 05 22:34:31 Err, That's what I'm coming to understand now from what you're saying. Aug 05 22:35:45 whatever Aug 05 22:35:58 so what brings you here, then? Aug 05 22:37:00 Interest. I've got the SDK, I've got the emulator, I've got enough experience with C languages and varies IDEs, and I've got a phone capable of and currently running Android. Just trying to learn and explore. Aug 05 22:37:42 In large, I'm trying to determine if and how I can maintain an up-2-date zKernel and initrd on my own. Aug 05 22:38:02 zImage I mean Aug 05 22:38:16 you mean keeping up with the changes that the google developers are making? Aug 05 22:38:25 Daunting, but I'm not feeling hopeless just yet. Aug 05 22:40:49 actually, i don't think you even know what the hell you want. Aug 05 22:40:55 jasta: Not really. I think I'm too far behind the curve to absorb that yet. Aug 05 22:41:14 you don't even know what initrd does or contains, or what a zImage is, do you? Aug 05 22:41:42 Got a vauge idea and wikipedia. Aug 05 22:42:04 then i highly recommend that you give up. Aug 05 22:42:25 You're right! I just better then. Lord knows I'm not up for a challange. Aug 05 22:42:26 you don't even know what you want to do or why you want to do it. so don't do it. Aug 05 22:42:35 * rainabba rolls his eyes Aug 05 22:43:17 rainabba: let me explain something to you. no new Android release has been made in 6 months. The kernel changes being made by the Google employees are not especially helpful to your Vogue. Aug 05 22:43:28 jasta: Please don't talk to yourself too long. I'm not up to arguing with idiot and nay-sayers and thus use /ignore freely. Aug 05 22:44:12 * rainabba resumes listening and learning Aug 05 22:44:30 jasta: I don't know where that came from, but... ouch :) Aug 05 22:44:49 yeah man a bit harsh Aug 05 22:45:10 " then i highly recommend that you give up." " you don't even know what you want to do or why you want to do it." Aug 05 22:45:29 I'd say the attitude behind that comments far exceeds mine. Aug 05 22:45:33 s/that/those Aug 05 22:45:55 Let me quote myself as well: "Interest. I've got the SDK, I've got the emulator, I've got enough experience with C languages and varies IDEs, and I've got a phone capable of and currently running Android. Just trying to learn and explore." Aug 05 22:46:12 rainabba: If you aren't interested in talking to me, I'd ask that you not talk about me as well. Aug 05 22:46:18 hows it going jasta Aug 05 22:46:24 Not looking to start a fight though so if an appology will keep the peace, jasta has it. Aug 05 22:46:29 By the way, I also have experimented heavily with the Vogue. Aug 05 22:47:13 Dougie187: good, you? Aug 05 22:47:16 pretty good Aug 05 22:47:20 trying to get wireless n working. Aug 05 22:47:23 Dougie187: i still haven't gone to the Sprint store hehe Aug 05 22:47:40 lol Aug 05 22:47:45 i thought you were going to go there yesterday Aug 05 22:47:57 i was, but it's hard to get away from the gf. Aug 05 22:47:58 i just imagined you driving there peeing your pants the whole way. Aug 05 22:47:59 lol Aug 05 22:48:05 yeah, i would have Aug 05 22:48:17 i tried to even convince her that i would go there, pick it up, and i wouldn't play with it at all that night Aug 05 22:48:24 hah Aug 05 22:48:26 but she's smarter than that hehe Aug 05 22:48:29 you should have taken her with you. Aug 05 22:48:33 made it a date. Aug 05 22:48:35 thats what i would od. Aug 05 22:48:37 do* Aug 05 22:48:47 then go to the mall with her or something Aug 05 22:48:48 hehe, i did take her with me to the apple store when i played with the iPhone for like 2 hours getting interface ideas for Five Aug 05 22:48:57 haha Aug 05 22:49:05 i think she thought it was going to take 5 minutes :) Aug 05 22:49:55 i told her that Romain was poking fun at how much Five looked like the iPhone/iPod, and she was like "well i should hope so after two hours at the apple store." Aug 05 22:49:56 ok.. well lets see if this works.. Aug 05 22:50:04 haha Aug 05 22:50:09 sounds like shes a little bitter Aug 05 22:50:17 she's just happy the ADC is over :) Aug 05 22:50:28 well its going to start back up again soon....ish.... Aug 05 22:50:40 good evening michaelnovakjr__ Aug 05 22:50:45 Dougie187: yeah but that should meet me a bit differently, since my app already has a substantial base. Aug 05 22:50:56 and following by that point. Aug 05 22:50:56 lol Aug 05 22:50:57 hey what's up? Aug 05 22:51:10 not much. how bout you? Aug 05 22:51:18 i hope this doesnt break my laptop! Aug 05 22:51:19 lol Aug 05 22:51:24 eh, not too much... just got home a little while ago Aug 05 22:51:32 sounds cool. Aug 05 22:51:44 i got home about an hour and a half ago. Aug 05 22:51:45 michaelnovakjr__: not much, i was looking over Messages... Aug 05 22:51:55 what do you think? Aug 05 22:52:04 jasta: are you going to get the thing today? Aug 05 22:52:04 I like it, but there are still some UI tweaks i would do Aug 05 22:52:16 what did you have in mind? Aug 05 22:52:16 Dougie187: no, today i'm busy. shooting pool with my mom tonight Aug 05 22:52:22 heh Aug 05 22:52:23 ok Aug 05 22:52:29 ill brb one sec. have to reboot. Aug 05 22:53:07 michaelnovakjr__: hey, did you not commit your .project? Aug 05 22:53:13 or is this not an eclipse project? Aug 05 22:53:33 i'm not using eclipse.... but i should start generating the projects anyway :) Aug 05 22:54:05 make it a little easier for people unfamiliar with ant Aug 05 22:54:11 or that don't like it :) Aug 05 22:54:43 i prefer maven to ant Aug 05 22:54:47 i put a pom.xml there too :) Aug 05 22:54:52 cool Aug 05 22:55:07 Maven is not quite the same thing as ant Aug 05 22:55:10 it's nice because it resolves dependencies from a remote repository Aug 05 22:55:11 like CPAN Aug 05 22:55:15 what UI tweaks did you have in mind? Aug 05 22:55:29 sad panda. Aug 05 22:55:31 romainguy_: well, they're analogous as build tools. Aug 05 22:55:39 Dougie187: hehe Aug 05 22:55:40 not really Aug 05 22:55:54 *AS* build tools, not analogous build tools :) Aug 05 22:56:29 Dougie187: latest commit fails to build Aug 05 22:56:39 lol Aug 05 22:56:43 err, michaelnovakjr__ Aug 05 22:56:53 i just installed a new kernel which was supposed to have n in it. and it doesnt.. :( Aug 05 22:56:56 i haven't done the 1.5 thing Aug 05 22:56:58 michaelnovakjr__: You're missing an import in Conversations.java Aug 05 22:57:19 michaelnovakjr: and that's why IDEs are nice :) Aug 05 22:57:25 :) Aug 05 22:57:34 IDEs are for pansys. Aug 05 22:58:24 jasta, that was a change I made as I was leaving Aug 05 22:59:00 am i seeing the latest feature set or no? Aug 05 22:59:18 yep Aug 05 22:59:27 fixed Conversation class Aug 05 22:59:45 i still have stuff I'm working on.... but that is my copy of the project Aug 05 22:59:59 that is i am at a clean r87 Aug 05 23:00:13 k, building Aug 05 23:00:34 the more i look at the M5 UI the more i like it Aug 05 23:00:38 soft buttons and everything Aug 05 23:00:42 its nice Aug 05 23:00:54 i'm a fan of it Aug 05 23:01:17 i am curious to see the UI changes romainguy_ says were made Aug 05 23:01:31 m3 to m5 was a significant improvement :) Aug 05 23:01:40 well Aug 05 23:01:46 have you seen the autocompletetextview in M5? Aug 05 23:01:58 i use it in my app Aug 05 23:02:08 i think the timestamp should float on the right side Aug 05 23:02:11 and be a darker color Aug 05 23:02:13 maybe a gray Aug 05 23:02:16 well that guy is still using the M3 style Aug 05 23:02:39 i noticed that, i wasn't sure if that was intentional/meant to be that way Aug 05 23:02:53 what guy? Aug 05 23:02:58 autocompletetextview Aug 05 23:03:21 oh. Aug 05 23:04:02 jasta, i was thinking in terms of information processing, you see the time and person first and then read the message. Aug 05 23:04:54 i'm not sure I agree. also, i would organize the sender on a line by themselves Aug 05 23:04:57 on the top line Aug 05 23:05:10 i can mock it up how i think it should look if you're interested Aug 05 23:05:58 sure, that sounds good Aug 05 23:06:07 it would be nice to see them side by side Aug 05 23:06:28 i was going more the IM route with this layout Aug 05 23:06:34 ok, but i won't be able to now Aug 05 23:06:40 ok Aug 05 23:07:31 i still want to put the contact picker intent in there, so i'll be working with that Aug 05 23:08:05 my change shouldn't mess with that too much Aug 05 23:08:13 if it does i'll resolve conflicts Aug 05 23:08:42 cool, it should be a separate piece... it will deal with the CreateMessage class Aug 05 23:20:29 hey romainguy_ is there a way to get the resource for the dialer icon? Aug 05 23:20:52 michaelnovakjr__: it's not your icon! Aug 05 23:21:02 obviously Aug 05 23:21:11 michaelnovakjr__: why would there be a way to get it then? Aug 05 23:21:19 ... Aug 05 23:21:22 because its a resource Aug 05 23:21:30 michaelnovakjr__: yeah, but it's specific to the dialer app. Aug 05 23:21:47 do you know if the dialer app is open sourced? Aug 05 23:21:52 if i am going to give users access to the dialer i feel it would be appropriate that the icon associated with that menu item be the dialers. Aug 05 23:22:01 michaelnovakjr__: oh Aug 05 23:22:03 michaelnovakjr__: hmm... Aug 05 23:22:09 michaelnovakjr__: maybe there's a way to get the icon of an application. Aug 05 23:22:21 michaelnovakjr__: I don't think you can just grab the dialer's icon directly though. Aug 05 23:22:29 hmm Aug 05 23:25:00 * ttuttle downloads SDK. Aug 05 23:25:19 you can access the dialer's icon through the PackageManager Aug 05 23:25:25 romainguy_: ah! Aug 05 23:25:30 romainguy_: yeah, I figured there was something like that. Aug 05 23:25:34 however, if we ever change the file name or remove it... Aug 05 23:25:35 romainguy_: also, boo, I didn't get any cupcakes! Aug 05 23:25:49 ttuttle: it's because you didn't fix enough bugs :p Aug 05 23:26:14 romainguy_: no, it's 'cause I'm too busy fixing bugs to eat cupcakes. Aug 05 23:26:23 I saw you on video Aug 05 23:26:29 you were playing with your phone Aug 05 23:26:34 romainguy_: I was stress-testing the graphics engine! Aug 05 23:26:40 romainguy_: Also I was paying attention! Aug 05 23:27:11 romainguy_: I'd prove it to you, but it's all conf :-( Aug 05 23:28:12 romainguy_: Does the PackageManager let you retrieve the icon for a particular activity? Aug 05 23:28:19 yes Aug 05 23:28:50 michaelnovakjr__: you could also just copy it out, but the PackageManager is a better approach for sure Aug 05 23:28:51 michaelnovakjr__: Do you need to know the name of the icon, or just the activity? Aug 05 23:29:04 the package Aug 05 23:29:19 the package name to be more exact Aug 05 23:32:13 romainguy_: ping Aug 05 23:33:15 ? Aug 05 23:33:56 romainguy_: /me thinks we should bring real cake next time. Aug 05 23:34:14 at Sun in the Swing team we used to have the chocolate cake Friday Aug 05 23:34:19 that was good Aug 05 23:34:34 romainguy_: cam had mango mousse cake yesterday at lunch :-) Aug 05 23:35:19 brb, The Simpsons are on. Aug 05 23:36:21 oh my Aug 05 23:36:25 i need a cushy job like that Aug 05 23:36:39 eveyrone thinks google employees drink while working Aug 05 23:36:49 and of course romain sneaks in a chocolate cake or two Aug 05 23:37:06 i bet there are a lot of unlikely jobs out there cushier than google Aug 05 23:37:21 we drink on friday afternoons at work Aug 05 23:37:27 its a bit overrated Aug 05 23:37:49 I don't think working at google would be 'cushy', working for the coucli is weeellll cushy Aug 05 23:38:11 loads of fat types sitting around eating, drinking and reading the paper Aug 05 23:38:11 i dream for a government job in a forgotten agency Aug 05 23:38:28 dream of* Aug 05 23:38:35 honestly its a joke Aug 05 23:39:01 heh Aug 05 23:39:35 Sometimes I think to myself, "Why the hell don't I just get a job where I'm presumed to be useless" Aug 05 23:40:26 i have a job where i'm presumed to be so important that no one can fathom asking me to do any additional work. Aug 05 23:40:38 yes, thats the alternative Aug 05 23:40:41 which is far better than being presumed to be useless :) Aug 05 23:40:46 since i keep getting raises and stuff Aug 05 23:41:08 although you probably shouldn't state it on a public forum if you want it to stay that way :) Aug 05 23:41:25 probably not :) Aug 05 23:41:41 perhaps i'd be more careful if i were in the industry, as it were. Aug 05 23:41:44 as long as you do the work prescribed. nobody can question. Aug 05 23:42:27 Yes, sometimes you just get lucky and have managers who have unusually low expectations Aug 05 23:42:44 They exist? Aug 05 23:42:50 Apparently, I have one. Aug 05 23:47:30 f00f-: and of course romain sneaks in a chocolate cake or two << no, that was Sun Aug 05 23:48:20 ha, i bet you still do it :P Aug 05 23:48:31 no need to, food is provided for us here Aug 05 23:48:53 my favorite part is the fridge stocked with Mexican coke in the office next to mine :) Aug 05 23:51:19 :D Aug 05 23:53:15 icon lookup worked Aug 05 23:54:54 yawn Aug 05 23:57:05 My Android blog is at http://devtcg.org if anyone is interested to see Aug 05 23:57:08 err Aug 05 23:57:11 damnit Aug 05 23:57:16 i didnt mean to paste that Aug 06 00:02:46 hey, how can I install an application on an android image on, oh say, the kaiser Aug 06 00:03:07 are you running android on the kaiser? Aug 06 00:03:14 yes Aug 06 00:03:21 herriojr: installing applications simply requires that you put them in /data/app, or /system/app. Aug 06 00:03:27 indeed Aug 06 00:03:33 i've tried, but it doesn't seem to work Aug 06 00:03:36 it doesn't show up in the menu Aug 06 00:03:48 herriojr: however, you should see android-random.googlecode.com. We wrote a tool called HttpDownloader that lets you do this wirelessly with the device, once its booted. Aug 06 00:03:51 did you put it in /data/app ? Aug 06 00:03:59 herriojr: Then you did it wrong, or the app's manifest is wrong. Aug 06 00:04:20 jasta, putting apps in the /system/app directory is a bit flaky Aug 06 00:04:23 I took the Snake.apk that you can download everywhere to verify that wasn't the issue Aug 06 00:04:28 michaelnovakjr__: is it? Aug 06 00:04:34 in my experience Aug 06 00:04:36 hi Aug 06 00:04:45 i put all non system apps in /data/app Aug 06 00:04:55 that does the trick for me :) Aug 06 00:04:57 michaelnovakjr__: well that's the ideal convention, but i didn't know that it caused problems otherwise Aug 06 00:05:15 herriojr: i recommend getting the httpdownloader Aug 06 00:05:26 herriojr: well, if you have a data connection you can try a number of the apps we have provided. you could even use Glance to confirm that your apps are in /data/app :) Aug 06 00:05:30 and glance to verify that you are getting the contents in the right directory Aug 06 00:05:35 haha Aug 06 00:05:54 I have a data connection Aug 06 00:06:08 what's the link? Aug 06 00:06:13 so I can download Glance? Aug 06 00:06:16 http://android-random.googlecode.com Aug 06 00:06:31 both httpdownloader and glance are on the same project page Aug 06 00:06:53 the RemoteLogcat tool you may also find useful. we certainly did. Aug 06 00:07:00 we are also finishing up a better SMS app that beats the current one hands down :) Aug 06 00:07:14 not that this says much :) Aug 06 00:07:25 we need to include that glance program in the kaiser images Aug 06 00:07:39 so people can fiddle around with it more in android Aug 06 00:07:39 and Messages dcordes_ Aug 06 00:08:04 let's see if herriojr can get it working first Aug 06 00:08:11 http://code.google.com/p/android-random/wiki/Messages , dcordes_ Aug 06 00:08:13 dcordes_: the SMS app too, assuming you have a working radio. Aug 06 00:08:16 michaelnovakjr__: do you have an image for the vogue which already has those included? Aug 06 00:08:32 dcordes_: we use HttpDownloader to get/update devices, mostly. Aug 06 00:08:42 err, get/update APKs on devices :) Aug 06 00:08:58 jasta, i was thinking of simplifying that too Aug 06 00:09:04 jasta: no sms doesn't work on the kaiser. we use the same reverse engineered ril phone application as you have on the vogue. since cdma and gsm sms is different, this doesn't work for kaiser. Aug 06 00:09:10 just make a list of apps to install so you don't need to know the path Aug 06 00:09:25 ah Aug 06 00:09:27 that sucks Aug 06 00:09:31 dcordes_: what does work on the kaiser? Aug 06 00:09:54 git.linuxtogo.org/~lgorris/kaiser-bootkit Aug 06 00:10:18 http://linuxtogo.org/~lgorris/kaiser-bootkit/README.txt Aug 06 00:10:22 reading already Aug 06 00:11:39 herriojr: maybe that http downloader program can help you installing the app? Aug 06 00:12:17 so the data image is different between the vogue and the kaiser? Aug 06 00:12:41 or is it just the system image? Aug 06 00:12:44 yeah, I'm checking...using the browser for too long seemed to crash the phone Aug 06 00:13:49 dcordes_: the really powerful piece that the Vogue has working now is SD support. that gives us a persistent storage medium. Aug 06 00:13:56 so data.img and system.img are hosted there Aug 06 00:14:18 i see here the readme says this support is still unstable. is that true currently? Aug 06 00:14:27 yes Aug 06 00:15:07 so i have a question about both the vogue and kaiser... Aug 06 00:15:27 jasta, will the message be squished in the conversation view with the date/time to the right? Aug 06 00:15:32 how on earth does the data radio work? is this because it's a serial device and the code written by google will happily dial /dev/ttyS0? Aug 06 00:15:56 and it just works by some divine coincidence that the dialer codes used by google work with this radio device? Aug 06 00:16:08 michaelnovakjr__: yes. Aug 06 00:16:43 i was trying to give the message some room, i originally had it designed like the main view Aug 06 00:16:55 and the text wrapped a little weird Aug 06 00:18:50 oh i see they have been a little more explicit about getting GRPS up Aug 06 00:20:38 michaelnovakjr__: i bet the carriers are going to hate that they now need to secure their networks against all these goofy hacked devices sending bogus nonsense :) Aug 06 00:20:51 lol Aug 06 00:20:52 like SMS messages which are very badly formed Aug 06 00:20:52 :) Aug 06 00:21:04 are they badly formed? Aug 06 00:21:09 or dialing the radio wrong frequently Aug 06 00:21:23 michaelnovakjr__: well when the developer's testing/working on it, yes. Aug 06 00:21:33 i'm sure martin sent quite a few assbackwards messages trying to get it to work right Aug 06 00:22:14 true :) Aug 06 00:22:24 it works great for me :) Aug 06 00:22:25 jasta: what do you mean? Nokia's are on their networks all the time. Aug 06 00:22:31 Hah, see what I did there? ;) Aug 06 00:22:39 lol Aug 06 00:25:16 guess the kaiser has issues huh? Aug 06 00:27:49 seems to :) Aug 06 00:27:55 but so does the vogue Aug 06 00:28:10 doesn't seem as bad as the vogue Aug 06 00:31:11 jasta: sorry I didn't see your question, herriojr told me you were asking something. it's easy, google's evaluation hardware use the msm7500A platform, vogue is msm7500 Aug 06 00:31:23 so the whole phone stuff is very similar Aug 06 00:32:21 dcordes_: does the kaiser make calls? Aug 06 00:32:32 was just about to come to that point Aug 06 00:32:34 kaiser has msm7200 Aug 06 00:32:56 the phone stuff of the arm9 side interfacing with arm11 is very similar among 7200/7500 Aug 06 00:33:37 it's just that the msm7200 chip is gsm, not cdma. the AT commands for phone calls are the same here Aug 06 00:33:45 but not sms and stuff so that doesn't work Aug 06 00:34:05 hm, so is it possible to get it working? Aug 06 00:34:07 so we can make phone calls. please don't ask why we can use 3g. Aug 06 00:34:13 haha Aug 06 00:34:24 michaelnovakjr__: of course. we even have the (rewritten) source Aug 06 00:34:44 neat Aug 06 00:34:53 i have a vogue and the sms is great Aug 06 00:34:56 dcordes_: my question was about the GPRS connection. Aug 06 00:35:13 michaelnovakjr__: yea because the person who rewrote the phone application, wrote it for that device Aug 06 00:35:22 it seems like it's just talking to a serial device, and the AT commands just happen to magically be right in the google android system-level code? Aug 06 00:35:28 person=dzo, you know him Aug 06 00:35:49 i use my sms app dcordes_ Aug 06 00:35:54 jasta: ask dzo about it Aug 06 00:36:05 we have a serial interface for AT communication Aug 06 00:36:14 dcordes_: btw, i noticed some time ago that the Binder driver included with dzo's kernel is wrong. Aug 06 00:36:19 and a network device which handles the net data Aug 06 00:36:20 dcordes_: you also have wifi as well right? Aug 06 00:36:22 it uses protocol version 6, where the userland uses version 5. Aug 06 00:36:31 I fixed this in the version I gave to michaelnovakjr__ and others, but dzo has yet to fix it I believe. Aug 06 00:36:32 jasta: I don't know about any binder stuff Aug 06 00:36:39 michaelnovakjr__: not yet Aug 06 00:36:52 but the kaiser has wifi in it right? Aug 06 00:36:52 It hasn't seemed to impact system stability though. Aug 06 00:36:55 right Aug 06 00:37:10 the kaiser would be a much more attractive device to get working, as it has a full keyboard. Aug 06 00:37:24 it should be rather trivial because we have the msm_sdcc working, but nobody really looked in it yet I think Aug 06 00:37:48 dcordes_: i assume the keybaord does work? Aug 06 00:38:51 yes it does Aug 06 00:39:04 one of the first things we got on the kaiser Aug 06 00:39:05 dcordes_: what carrier do you use this on? Aug 06 00:39:11 vodafone germany Aug 06 00:39:28 dcordes_: anyone using it on AT&T? Aug 06 00:39:37 i'm curious about this, because i have AT&T. Aug 06 00:39:44 and i could just slip my SIM card in for testing Aug 06 00:39:53 of course this works with every provider Aug 06 00:40:11 dcordes_: well, don't you require a dialed PPP connection, with a username/password like the vogue does? Aug 06 00:40:34 oh right, I'm using angstrom, not android. Aug 06 00:40:41 I just specify the APN there Aug 06 00:40:50 inside the running system Aug 06 00:40:50 what's angstrom? Aug 06 00:41:18 a linux distribution Aug 06 00:41:24 ahh Aug 06 00:41:29 free and open source one Aug 06 00:41:50 * jasta ponders getting a kaiser instead of a vogue for testing Aug 06 00:41:53 that's what makes it more attractive for hardware developers. you can actually test stuff Aug 06 00:41:58 unlike in android Aug 06 00:42:20 dcordes_: i was contemplating building a terminal app on android :) Aug 06 00:42:26 it would not be so hard to do, really. Aug 06 00:43:10 in the long term, I'd suggest a kaiser. if you are looking to get a tseting device for your android applications quickly, go for a vogue Aug 06 00:43:27 dcordes_: well, my application likely doesn't run on either. Aug 06 00:43:35 for some reason it hangs, and i wanted to get a device in order to figure it out :) Aug 06 00:43:57 i require too much variation/testing of ideas to do it by proxy with one of the guys in here who has a device. Aug 06 00:44:02 we (the kaiser guys) have nobody working on android. Aug 06 00:44:02 i've played with a vogue several times, but don't own one personally Aug 06 00:44:32 the whole net and phone thing in android is more stable on vogue Aug 06 00:44:35 how does it all work? somebody adapted dzo's work, or is it just compatible? Aug 06 00:44:49 dcordes_: yeah, i assumed as much. Aug 06 00:46:47 i've read through a lot of his patches, but have not directly contributed as of yet. Aug 06 00:46:59 jasta: it is just compatible. I explained it above in the gsm vs cdma part. Aug 06 00:48:36 i meant the board itself and touchscreen driver. Aug 06 00:48:44 all the GPIOs... Aug 06 00:48:58 see htc-msm git Aug 06 00:49:09 ok Aug 06 00:49:21 it's referred to in README.txt Aug 06 00:52:39 this is all very interesting stuff. i predict this type of behaviour to absolutely explode once we get sources to Android and can compile it for other targets Aug 06 00:57:55 jasta, contact picker works :) Aug 06 00:58:50 son of a bitch. i never knew Message had the sendToTarget() method Aug 06 00:59:12 * jasta has written Message msg = handler.obtainMessage(...); handler.sendMessage(msg); many times :) Aug 06 00:59:23 would be nice to have written handler.obtainMessage(...).sendToTarget() Aug 06 00:59:31 :) Aug 06 01:07:08 i had like 70% of this solitaire app already written way back in December last year :) Aug 06 01:07:13 i quit working on it to get started on Five. Aug 06 01:07:20 man, weird to think back that far. Aug 06 01:07:23 neat :) Aug 06 01:07:31 that was during m3 days though right? Aug 06 01:07:41 back before i painstakingly produced a 20k loc code base in a language i didn't even know at the time Aug 06 01:07:57 yeah, i'm updating the code. so far, very little had to be updated since there was nothing really substantial there. Aug 06 01:08:08 onlayout's signature changed, that's about all i had to update Aug 06 01:08:23 the way i drew the cards back then was totally assbackwadrs hehe Aug 06 01:08:28 it makes me laugh looking at that part of this code Aug 06 01:08:38 i used image files for each card Aug 06 01:08:45 instead of just using image files for the suit and drawing it all myself Aug 06 01:08:55 and maybe just caching the drawables i create Aug 06 01:10:38 if i open up the initrd file on martin's stuff, how can i zip that back up again? Aug 06 01:12:25 sudo find . | cpio -H newc -o | gzip > ../initrd.gz Aug 06 01:13:09 the sudo is necessary because when you extracted it you needed to preserve permissions that only root would be bale to access Aug 06 01:13:12 such as the /dev entries. Aug 06 01:13:36 this is because you aren't really mounting th eimage, you're actually using your normal filesystem to hold/preserve permissions of the ramdisk. Aug 06 01:14:05 i unpacked i unpacked it with gunzip -c ... | cpio -id Aug 06 01:14:06 as root as well Aug 06 01:14:18 cool Aug 06 01:15:47 michaelnovakjr__: i'll have my solitaire app done (or at least working) by the weekend i bet Aug 06 01:15:55 just basically updating and finishing it Aug 06 01:16:06 nice Aug 06 01:16:16 i'm enjoying that you and i are producing quite a substantial amount of open source apps :) Aug 06 01:16:28 hopefully our good example rubs off ;) Aug 06 01:16:31 yea, its been a pleasant development Aug 06 01:16:35 experience Aug 06 01:16:37 do you guys take requests? :p Aug 06 01:16:46 gambler: don't you know anything about open source? Aug 06 01:17:07 jasta, no im more a free sw person :p Aug 06 01:17:13 we will sneer and harrass you until you attempt something interesting, but you attempt it poorly. Aug 06 01:17:22 then we will take over and finish it out of frustration. Aug 06 01:17:36 gambler: are you a developer? Aug 06 01:17:49 but until you make an effort, we will just sneer and harrass, as all good open source developers should :) Aug 06 01:18:12 michaelnovakjr, i know how to write sw if thats what you mean Aug 06 01:18:55 :) Aug 06 01:19:05 so you don't classify yourself as a developer i take it? Aug 06 01:20:07 michaelnovakjr, correct. Aug 06 01:20:34 so since you should request, what app are you about to develop? Aug 06 01:21:02 im sort of a wandering philosopher skeptic Aug 06 01:21:18 me? im working on some crypto utilities Aug 06 01:21:37 among other things Aug 06 01:24:18 jasta: what do you mean other targets? we have the rilphone source Aug 06 01:26:23 dcordes_: I mean for the entire stack. Other phones, specifically ones with processors implementing different bytecodes. Aug 06 01:26:29 For example, the Neo FreeRunner. Aug 06 01:27:44 oh Aug 06 01:27:52 right Aug 06 01:32:44 later, dinner Aug 06 02:09:52 Messages is up for download Aug 06 02:10:00 http://code.google.com/p/android-random Aug 06 02:11:13 sweet! Aug 06 02:13:47 :)] Aug 06 02:13:55 Is it possible that onResume() of the activity that is being resumed is called before the onPause() of the finishing activity is finished? Aug 06 02:14:42 i believe so Aug 06 02:14:46 you can see from the logcat Aug 06 02:14:55 the resuming entry and the removing entry Aug 06 02:15:12 it looks that way to me :) Aug 06 02:15:14 The removing should be coming before the resuming, correct? Aug 06 02:15:25 not in the case i see Aug 06 02:16:42 i would think that is desired seeing you can share data between activities Aug 06 02:18:00 I have something the onResume of one activity that ensures some data is present. If it is not, it opens the activity to fill the data in. From a clean wiped emulator, the first time I fill in the data and finish the activity, it immediately kicks me back to that activity Aug 06 02:18:47 are you printing out the data to make sure the activity is acting properly? Aug 06 02:19:27 Printing it out where Aug 06 02:19:36 Log Aug 06 02:19:41 no. how do I do that Aug 06 02:19:49 import android.util.Log; Aug 06 02:20:08 k Aug 06 02:20:09 then call Log.d( "your app name", "data in the form of a string to print out." ); Aug 06 02:20:34 then run adb logcat in a new window so you trace your log output Aug 06 02:23:40 what exactly are you doing? Aug 06 02:25:29 I'm making sure that a user has some critical information filled out before they can proceed to use the rest of the application. As a placeholder right now, I'm just making sure that the activity to fill out the data opens up from the main activity, calling the thing that checks it from both onCreate and onResume Aug 06 02:25:52 The activity to fill out the information persists information to both the Preferences, and SQlite Aug 06 02:26:19 so I'm suspecting that the main activity's onResume is checking before the information has been saved Aug 06 02:27:21 and you are calling onPause if they dont? Aug 06 02:27:52 are you using setData or putExtra? Aug 06 02:28:07 neither? Aug 06 02:28:21 if you pastebin some code i can help you out Aug 06 02:29:08 I tried to create a little abstraction for myself, so I can use easy methods to set/get data in both the preferences and this particular database table Aug 06 02:29:13 give me a few mins, i'll see if I can figure it out Aug 06 02:29:41 ok Aug 06 02:29:42 I'm pretty reserved about posting my code at this time, as I don't have time for hours of lecturing about everything I'm doing wrong :) Aug 06 02:29:53 :) i don't lecture Aug 06 02:30:17 heh Aug 06 02:30:34 i'm not a fan of it Aug 06 02:33:26 Typically I'm happy to hear everyone out, but right now I'm learning so much just as I'm going that any more is too much ;) Aug 06 02:36:05 :) Aug 06 02:49:58 Haha. I knew it was something dumb. I actually had a more complicated issue but it was the stupid thing that held me up (of course) Aug 06 02:50:44 it happens :) **** ENDING LOGGING AT Wed Aug 06 03:00:02 2008