**** BEGIN LOGGING AT Fri May 22 02:59:57 2009 May 22 03:01:08 got the pm? May 22 03:01:48 yep. its on its way May 22 03:02:18 just got it :) May 22 03:03:29 ... I had hoped there would be ANYTHING wrong with it May 22 03:03:34 but it's perfect May 22 03:04:31 yeah. I'm gonna look through my code and see if i mess with anything, but I'm pretty sure I dont May 22 03:06:43 so, you're loading your chessboard as a bitmap using the BitmapFactory, the pieces are loaded as drawables, and then you just copy the draw the bitmap on your canvas and then draw the pieces on top of that .. without using some weird Bitmap.Options or anything? May 22 03:07:07 sorry if I ask that ... really just trying to find out why you get a black background :/ May 22 03:07:21 chessboard isnt a bitmap May 22 03:07:49 its a bunch of filled Rects May 22 03:08:41 No bitmap.options. May 22 03:13:18 one sec. I'll just insert the bishop into my game, to see what happens May 22 03:15:18 hey, scratch that. i figured out the error May 22 03:15:42 what was it? May 22 03:16:00 it works for me btw May 22 03:16:13 the bishop appears with a transparent background May 22 03:16:46 the issue was that I would render the entire board by re-rendering each square, and rendering the chess piece if one was located at that location. May 22 03:16:56 however, it wouldnt re render the square May 22 03:17:04 oh May 22 03:17:05 lol May 22 03:17:06 if there was a chess piece therre May 22 03:17:08 good one :) May 22 03:17:16 so it was a black "non screen" May 22 03:17:20 yeah :) May 22 03:17:29 glad to get that fixed May 22 03:18:09 I feel sorta stupid though because I was actually looking at that code just half an hour ago thinking that i should change it, and then i got sidetracked May 22 03:18:52 is my ~/.ssh/id_dsa ok to sign android apps with? May 22 03:19:12 oh well ... happens to the best :) May 22 03:19:16 or should I be using gnupg? May 22 03:20:10 skyPhyr: afaik you'll need a key in a .keystore, which gnupg doesn't generate May 22 03:20:55 sammyF: the keystore is what I'm not finding - the signing your app instructions seem to be assuming things I don't know :( May 22 03:21:30 skyPhyr: been there too ;) I ended up generating a new key by following the instructions at android.com May 22 03:21:53 sammyF: thanks - will just generate a new one with the export wizard :D May 22 03:22:47 skyPhyr: I actually did a "find /" because I was sure that gnupg would have something called keystore too ;) May 22 03:23:02 gave up after 20mn or so ;) May 22 03:23:28 sammyF: hehe - glad to know I'm not the only one taking the easy way out hehe May 22 03:23:52 skyPhyr: well .. at the time it sounded like the easy way out ;) May 22 03:24:03 how many years did you set for validity? May 22 03:24:14 does JNA work on android ? May 22 03:24:32 went with the default May 22 03:24:36 I think it's 30 years or so May 22 03:25:01 skyPhyr: I followed the instructions at http://developer.android.com/guide/publishing/app-signing.html under "Obtaining a Suitable Private Key" May 22 03:25:41 ahh - wonder why the instruction don't lead with that? :) May 22 03:26:01 how do you guys handle people who complain about force close in the comments when you just can't reproduce the error? May 22 03:26:22 skyPhyr: yep it would help greatly May 22 03:28:06 "great game and has a lot of potential but force close when I use it. if the force close was fixed it would be 5 stars" (rated 1 star) ... GREAT! May 22 03:28:43 Good Evening ! what is the easiest way to get user input from something like a messagebox May 22 03:28:48 that's the kind of stuff where I really wish google would fix the whole comment thing May 22 03:30:03 through an intent I think. not a specialist on those keyboard thingy things ;) May 22 03:30:20 nwmotogeek: the intent thing was for you :) May 22 03:34:55 anyway ... time to boot windows and play Fallout3 again May 22 03:35:01 night everybody May 22 03:35:53 night May 22 03:43:53 anyone else have the layout editor hang forever on "Eclipse is loading framework information"? May 22 04:03:32 can you see what apps/services are active and also see which apps listen for which intents? May 22 04:09:14 think tty over the usb could be done? May 22 04:17:37 is there a default Intent for a simple user input dialog? May 22 04:22:40 nwmotogeek: I think an intent is a bit... heavyweight for that May 22 04:24:10 would you suggest creating a whole new activity / layout for this? May 22 04:24:14 that seems like over kill May 22 04:25:45 what do you think the intent would do? May 22 04:27:24 I thought Action_edit woudl bring up a simpel dialog with an edit text in it but it does not May 22 05:06:43 any ideas how to get my layout editor to actually work May 22 05:11:19 your layout editor? May 22 05:22:48 just sits at "eclipse is loading framework information" May 22 05:23:01 -the- layout editor. not mine, per se =P May 22 06:46:46 hi people! anybody developed services that use sdk 1.5 and runs on 1.5 emu? May 22 06:47:56 I have problems with AIDL and remote service bind May 22 06:48:20 i have yet to. May 22 06:49:17 Could not find class 'com.exmpl.IService', referenced from method com.exmpl.bind.ServiceBind.bindSvc ? May 22 06:51:00 wmealing what kind of problem? May 22 06:51:58 I'm supposed to be doing a service for this software i'm writing. May 22 06:52:01 its going to be calling JNI May 22 06:52:53 and? May 22 06:53:27 i have yet to write it, it should be the next few days. May 22 07:03:46 oh))) thats the promblem ) i c)) May 22 10:24:14 hy all May 22 10:24:40 i have a socket problem in android May 22 10:26:57 i have 2 threads one from an activity and one who reads data from socket and when the activity try to write data in socket i receive a null pointer exception for the socket any ideeas why? May 22 11:15:50 morning everybody May 22 11:16:56 * sammyF hates the market's comment system with all his heart May 22 11:30:25 heh May 22 11:30:33 don't shoot the messenger .... May 22 11:32:51 4 comments, 3 of which are "force close within 3 secs" ... and I can't do anything about it as it smeggingly runs fine here and on the two other phones I have access to :/ May 22 11:52:07 sammyF: yeah, maybe try emailing them and getting an adb bugreport May 22 11:52:13 frustrating i know May 22 11:53:20 TD_: I would, but I didn't find a way to contact anybody who comments. the comments are basically anonymous May 22 11:54:26 is this a free app or a sold app? you may just have to wait until somebody emails you. asking people who experience problems to email you would probably be a good idea. until then i suggest making sure you have a completely clean phone that never saw the app before, and trying it out there May 22 11:55:19 well, considering the demo is now down to 2 stars with the above comments at the top, I don't think I'll sell the full version at all ;) May 22 11:55:59 and I wrote that people who experience problems should email me. I wrote it in the description, and then in the comment I left May 22 11:56:23 At the start I only gave myself 3 stars to be fair, but seeing how this goes, I went on and gave myself 5 stars :P May 22 12:04:24 yeah, sux. i wonder what is wrong ..... May 22 12:07:07 TD_: would you mind trying the aplication out, jsut to see if it runs on YOUR phone? May 22 12:07:41 sure, no problem May 22 12:07:44 what's it called? May 22 12:07:51 pin it May 22 12:08:09 datewise, it's at the top of casual games. May 22 12:08:46 just try out the demo :) May 22 12:09:38 the application crashing like that for some people is really infuriating when you can't duplicate it :( May 22 12:10:23 yeah, i bet May 22 12:10:40 well it works for me. looks cool. although i had them in the holes for a few seconds, then when the countdown reached three they all pinged out May 22 12:10:41 not sure hwy May 22 12:11:00 btw are you on cupcake or 1.1 ? May 22 12:11:08 I'm on cupcake May 22 12:11:25 but I started writing it before I had cupcake, so it's using the 1.1 sdk May 22 12:11:40 yay, i got them in the holes :) May 22 12:11:45 heh, funny sounds May 22 12:11:53 hmmm. i'm on cupcake too. i wonder if this is a cupcake vs 1.1 problem May 22 12:12:00 the pingin out occurs when the balls are leaning too much on the borders of the holes ;) May 22 12:12:06 I'm cheating a lot on the physics ;) May 22 12:12:47 yep .. might be. although if it's using the 1.1 SDK it should run fine in 1.1 :/ May 22 12:13:13 the other possibility is that the people have so many widgets and stuff running in the background that the application runs out of memory for some reason May 22 12:13:20 right. did you try it against a 1.1 emulator system image May 22 12:13:25 hmm well that would not cause a force close i think May 22 12:13:39 android won't kill the foreground process May 22 12:13:49 it should cause a "taking too long" popup to appear I guess May 22 12:14:10 yeah. i've never seen that to be a problem with my own app May 22 12:14:22 what i suggest you do is wrap any complicated or non-trivial code in a try/catch handler then post the exceptions May 22 12:14:26 so you can collect them server-side May 22 12:14:31 i can send you some code to do this if you want May 22 12:14:42 it might not work, but it might, and then you'd have stack traces to work from May 22 12:14:53 TD: that would be great. thanks so much May 22 12:15:26 do you have a server you can run a collector script on? May 22 12:15:39 TD: I can give you the full version if you want btw. it's not like it's going to hurt my non existent sales anyway ;) May 22 12:16:28 yep. I've got a server right here actually May 22 12:16:33 heh, thanks. how about we get you set up with exception reporting first, and then if it works you can give me a copy :) i can't buy it anyway, adp1s don't have access to the paid apps :( May 22 12:16:51 here's the code i'm using. it's dead simple. May 22 12:16:52 http://plan99.net/~mike/Utils.java.txt May 22 12:16:56 and on the server side May 22 12:17:14 if it's any consolation : I have a regular german G1 but live in the carribeans. I can't see th paid apps neither ;) May 22 12:17:50 sent the server script to you privately as it's really crap and not at all secure :) May 22 12:17:57 yes, martinique, i saw. very nice :) May 22 12:18:30 this code doesn't replace the default handler or anything like that May 22 12:18:52 i just wrapped the core logic code/main loop in a big try/catch handler and that produced enough crashes to keep me busy for a while May 22 12:18:59 "nice" depends on the week. been having water outage for 2 weeks, then it came back two days ago and apparently today it's out again. In those moments I'd rather live in a big city somewhere in europe ;) May 22 12:19:41 great. thanks :) May 22 12:19:42 hmmm, i just got a mail from a coworker who lives in the same city as me saying his net connection was just taken out by a lightning strike May 22 12:19:58 hope it helps May 22 12:20:05 i gave you a 5 star rating anyway :) May 22 12:20:23 those are nice too. but UPS's are standard equipment here, so lightning strikes aren't THAT frightening anymore ;) May 22 12:21:21 thanks for the 5 stars. I'm not sure it's worth 5 stars, but it's definitely worth more than one ;) May 22 12:21:48 i'm amazed at how sensitive the accelerometer is May 22 12:22:14 yes. that's actually a problem at times May 22 12:22:44 I used to have a calibration tool in the game, but people kept complaining that it wasn't accurate enough. May 22 12:23:23 what was happening was that it was accurate, but the acclerometer were just answering to any minor variation May 22 12:23:42 heh May 22 12:23:46 and with the size of the balls, I can't really add more inertia without having people feel the physics are off completely :/ May 22 12:23:51 yeah May 22 12:24:06 well it's certainly playable. tricky but that just gives me a nice sense of satisfaction when i get it right May 22 12:24:52 I only included two of the less frustrating levels in the demo ;) May 22 12:25:39 I had to finish the full games a few times to be sure there weren't any bugs (a lot of good THAT did:P and at times I'd have cursed the developper about certain levels if it hadn't been me ;) May 22 12:25:59 hehe May 22 12:40:43 gwt May 22 12:41:52 ok May 22 12:44:47 do you use gwt? May 22 12:45:17 i have used it before yes May 22 12:45:32 i am not a gwt "guru". this would be the wrong place to find such people May 22 12:47:44 yeah i dont know where to look though May 22 12:47:53 im trying to use CssResource, but can't seem to find it May 22 12:48:02 like I feel like I'm missing a jar or something May 22 13:28:01 does anyone know of problems with the camera on the android emulator? May 22 13:31:10 like? May 22 13:32:12 it doesn't take pictures? May 22 13:33:04 whenever i start the camera, screen fades to black and after a while it asks me to force close it. May 22 13:33:13 So realy hanging in the emulator. May 22 13:35:06 Only happens on 1.5. The emulator for 1.1 does work. May 22 13:48:26 so any ideas on the camera problem? May 22 13:54:03 not I May 22 13:54:55 has anybody experienced any issues with the layout editor in sdk 1.5 ? May 22 14:17:44 Jubei: yes May 22 14:18:04 apage43: what sort of issues? May 22 14:18:12 apage43: editor not displaying the layout properly? May 22 14:18:36 not displaying at all, for me. May 22 14:18:39 apage43: make sure you uninstall the previous development tools plugin May 22 14:18:45 apage43: as mentioned here: http://developer.android.com/sdk/1.5_r1/upgrading.html#UpdateAdt May 22 14:18:51 ahhh. May 22 14:19:05 thanks, i'll try thaat May 22 14:19:10 it worked for me. May 22 14:31:22 does anybody know how I can stop eclipse from bugging me about which run configuration to start the program with? May 22 14:35:45 Jubei: change the run configuration May 22 14:35:48 set it to automatic May 22 14:35:52 instead of manual May 22 14:37:31 vol: set what to automatic? target selection? its already automatic May 22 14:39:19 vol: found it. it was in the "perspectives" section May 22 15:11:45 How can i correctly zoom out of the website in a webview? wv.zoomOut(); only works after the content is loaded. Is there a callback or another method I am missing? May 22 15:30:33 anybody have any idea on how to use the new getRotationMatrix() related methods? May 22 16:14:37 <_duncan> Does someone know of a UI element file that has all of the elements so I can better mock up my apps? May 22 16:15:30 how can i get my home screen background changed again? i frogot where th esetting is at May 22 16:15:39 i'm playing with the list adapters in the APIs and am trying to fit one for me. How can I make a layout that has an imageview that will stay at the top and not be included in the list? It's repeating the imageview and the textview when I just want the textview repeated May 22 16:16:03 tap and hold on the home screen May 22 16:20:57 Phantoon, for what it's worth, that would be a better question for #android May 22 16:21:12 i figrued it out May 22 16:21:18 im a douche sometimes :/ May 22 16:21:20 i forget things May 22 16:29:32 hi guys May 22 16:30:05 I want a cupcake repository on my server and got some problems. May 22 16:30:29 I did a repo sync at my server of koolu-cupcake and pointed it at /var/git/cupcake May 22 16:31:05 I configured my git pointing at /var/git and I created a webgit pointing at /var/cupcake/.repo http://git.moko.serdar-dere.net May 22 16:31:18 put I am not able to pull the repository May 22 16:31:48 is there any configuration I forgot? May 22 16:38:22 I'm trying to stick an ImageButton into a TableLayout, after a bunch of EditTexts, but an EditText keeps appearing beneath my ImageButton May 22 16:38:31 i need a good free audio editor for windows May 22 16:38:33 audacity! May 22 16:38:44 my XML has that ImageButton alone in its own row May 22 16:38:58 but an edittext always appears beneath it May 22 16:39:02 any ideas? May 22 16:39:18 Phantoon: ....... why are you talking to yourself? May 22 16:39:42 doubleminus: can you post your XML to pastebin.com so we can have a gander May 22 16:40:29 kc8pxy: no one else will listen ? May 22 16:40:37 kc8pxy: actually i was drawing a blank until i asked, then realized May 22 16:40:48 http://pastebin.com/d537055d5 May 22 16:42:38 doubleminus: that all looks OK, is there anything in your code creating it? May 22 16:44:40 well, I'm just doing a bunch of adds May 22 16:44:41 final ImageButton scan = (ImageButton) findViewById(R.id.scan); May 22 16:44:50 then I add all of the EditTexts in the same way May 22 16:45:30 no one? May 22 16:46:04 even if I've only added 12 edittext fields, I still end up with 13 (1 behind the ImageButton) May 22 16:46:37 doubleminus: I'll whack your XML into eclipse and see if I can reproduce May 22 16:47:29 that'd be awesome May 22 16:47:40 I can email a screenshot if needed May 22 16:49:35 doubleminus: nm, i can visualise the problem, not the solution :) emulator starting now May 22 16:49:42 are you building for 1.5? May 22 16:50:22 1.1 May 22 16:50:42 How do I switch my emulator to "horizontal" mode? May 22 16:50:53 CoolShorts: numpad 7/9 May 22 16:51:20 ah so cool May 22 16:51:36 does it give me the same view like it would be on a real-life engine? May 22 16:51:44 because it's right like tihs May 22 16:51:47 this* May 22 16:52:34 CoolShorts: yeah, though I noticed that the soft keyboard is a bit temperamental in the emulator in horizontal mode May 22 16:52:49 ok cool May 22 16:53:25 I'm making a twitter aplication, I'm thinking of using 'tabs', do you recommend them? May 22 16:53:52 CoolShorts: I'm still fairly new to it myself, I haven't used them, but I did hear a few people saying they think they're "ugly" May 22 16:54:34 doubleminus: getting there (slowly) lol May 22 16:54:42 Yes they seem to be ugly May 22 16:54:52 Well I'll watch how twitli / other apps do it May 22 16:55:09 doubleminus: ok, on both 1.1 and 1.5, what I'm seeing is the background of the image button, it does look like a text view May 22 16:55:13 so i take it all you guys use eclipse for your android dev? May 22 16:55:45 doubleminus: look into android:background, you could possibly set a transparent PNG to hide the background if there isn't a way to disable it May 22 16:55:52 seems to be a much easier route May 22 16:56:25 Phantoon: yeah, I've only been at it a couple of weeks, I haven't ventured into coding by hand yet, I wanted to get real dirty, real quick, so dived into eclipse May 22 16:56:25 that's just a .png - it's on a transparent layer already May 22 16:56:57 and for me...I can only click on the edittext behind the imagebutton...and not the imagebutton itself May 22 16:57:11 doc_savage yea.. im not really good with the dev stuff.. just a fun thing for me.. was looking at the stuff with manually doing it.. just seems a lot May 22 16:57:15 doubleminus: ok, I'm not getting that ... May 22 16:57:19 since you have to use ant ands tuff.. which really is the sane way to do it May 22 16:57:52 Phantoon: yeah, I'm a hobbyist programmer more than anything, no formal education, I just enjoy tinkering May 22 16:57:58 yea May 22 16:58:18 i know a bit of C ive been tinkering in.. and doing everything manually without autotools.. just gdb, gcc, vi , and make :D May 22 16:58:43 doubleminus: I'm just getting a normal imagebutton, it looks fine on here which makes me think it's something in your code May 22 16:59:14 hmmm May 22 16:59:33 Phantoon: nice, I've not played in depth with C, I always feel like I'm trying to re-invent the wheel, and have a real hard time finding how to do stuff May 22 16:59:43 for each edittext: final EditText etxt0 = (EditText) findViewById(R.id.edittext0); May 22 16:59:54 and I showed how I'm adding ImageButton earlier. same way. May 22 16:59:58 should I not be doing it like that? May 22 17:00:40 http://pastebin.com/d5c74fed3 May 22 17:00:45 there's the code May 22 17:00:49 that is right, (I think), not so sure about the final, I would try removing all of your allocations for the edit texts and the image, just cut them and run it, see if the layout changes May 22 17:00:55 doubleminus: ok, I'll give it a go May 22 17:01:30 I know I shold use a for loop to add all of those edittexts...but am not sure how to put xml objects into an array like that : / May 22 17:02:44 doubleminus: it's still running fine on here, even with your code... May 22 17:03:18 is it possible to have Widgets fade /resize in and out ? May 22 17:03:32 ugh May 22 17:03:58 doc_savage2: I just took your suggestion and removed all allocations. nothign changed. May 22 17:04:03 I wonder if my emulator is screwed up. May 22 17:04:03 wmealing: I have absolutely no idea, but someone was saying about doing funky 3dness with "containers", might point you in the right direction May 22 17:04:30 doubleminus: http://home.savagereactor.co.uk/~savage/device.png is what I get May 22 17:05:11 doc_savage2: ah see - why is that edittext sitting behind your imagebutton? May 22 17:05:25 try removing a few edittext. there will still be one behind the button. May 22 17:05:27 it's not an edittext, that's the button background, I can't click into that May 22 17:05:35 ok May 22 17:06:41 http://home.savagereactor.co.uk/~savage/device2.png May 22 17:06:58 ohhhhh May 22 17:07:44 stupid stupid May 22 17:07:55 thanks for straightening me out May 22 17:08:20 I thought it was sticking another text field back there. sigh. May 22 17:08:47 np, if you want to kill the background (I haven't tried myself), but if there's no way to remove the background properly, a transparent png and android:background="@drawable/transparent" should do it May 22 17:09:34 why are there so few andriod apps? May 22 17:09:47 ? May 22 17:09:57 hi, how can i measure the time webview takes to render after loadDataWithBaseURL ? May 22 17:10:09 doc_savage2: I will give it a try right now : ) May 22 17:10:38 doubleminus: cool, I stuck the icon as the background to test transparency, it looked fine (stretched, but fine), so a empty png should work too May 22 17:12:46 mbarkhau: WebViewClient, override onPageStarted() and onPageFinished(), get the times and calculate May 22 17:12:50 http://developer.android.com/reference/android/webkit/WebViewClient.html May 22 17:13:04 (should do it I think) May 22 17:13:16 doc_savage2, fwiw, it looks like you can do it with the android animation framework May 22 17:13:22 http://developerlife.com/tutorials/?p=343 May 22 17:13:23 How is the list in the middle made: http://twidroid.com/files/2009/05/screen.jpg ? May 22 17:13:33 and how is the blue bar at the bottom made? May 22 17:14:00 wmealing_: cool, I'll have a gander, funky graphics effects are on my list of things to play with May 22 17:14:25 doc_savage, me too May 22 17:15:05 CoolShorts: I would guess it's a ListView for the items (you can use a custom view for each list item), the bar at the bottom is probably built in a similar fashion, I believe ListViews can take a view as a footer May 22 17:17:17 doc_savage: thx I'll try that May 22 17:20:05 mbarkhau: I just saw "render", that will probably include the download time too using that May 22 17:20:56 doc_savage2: transparent ImageButton background png works like a charm : ) May 22 17:21:22 doubleminus: cool :) I'm sure there's a proper way to do it, but I haven't dug that far yet May 22 17:27:39 doc_savage: FWIW setPictureListener is what I'm using now May 22 17:28:27 mbarkhau: ah, I did briefly bump into pictures when messing with save instance, that makes sense, thanks for the heads up May 22 17:29:09 lol, genius: http://news.bbc.co.uk/1/hi/world/asia-pacific/8063769.stm May 22 17:29:15 "toddler buys real digger online" May 22 17:30:22 can't trust those digg kids May 22 17:32:37 i'm heading off for a nap (got a nasty cold), laters all May 22 17:35:40 hi, how can i put a googlemap in a tab? May 22 17:55:46 How can this 'menu' at the bottom: http://twidroid.com/files/2009/05/screen.jpg ever be done using ListViews? May 22 17:58:20 the menu button? May 22 17:58:31 the menu at the bottom May 22 17:58:34 the blue one May 22 17:58:37 I want that too :D May 22 17:58:52 is that menu activated by the menu button? May 22 17:59:03 Hmm don't think so? May 22 17:59:05 Don't kno May 22 17:59:08 *w May 22 17:59:21 would you do that? May 22 17:59:38 http://developer.android.com/guide/topics/ui/menus.html May 22 17:59:43 idk if thats what you want May 22 18:00:09 CoolShorts: Its just a listview with some image buttons from what I can see.. are you asking about the listview taking up all the remaining space? May 22 18:00:41 well I'm quite new to android, so isn't there somewhere an explanation to make such image buttons menus? May 22 18:01:17 hhe May 22 18:01:24 api demos May 22 18:01:24 hmm, idk, I would check developer.android.com May 22 18:01:34 ah I want that menu to be there always May 22 18:01:38 http://developer.android.com/guide/samples/ApiDemos/index.html May 22 18:01:45 I don't think this is really a 'menu' in the android sense though May 22 18:01:52 ok May 22 18:01:53 yeah its not May 22 18:01:57 I could be wrong but it just looks like some buttons May 22 18:02:02 with custom images May 22 18:02:06 well to me it's a menu May 22 18:02:08 a menu is something that uses the menu button lol May 22 18:02:27 should I just use buttons? May 22 18:02:28 CoolShorts: yeah, thats why I said the android sense, since thats what you'll be looking for :) May 22 18:02:33 I would May 22 18:02:45 those are not styled properly May 22 18:02:51 I want them to... fit together May 22 18:02:55 like the blue one May 22 18:03:11 like there're one bar May 22 18:03:15 if I have a charsequence var that is "test" and i set it to the textedit, why doesn't it italicize it? It only seems to do it if i set it via xml May 22 18:03:16 they're* May 22 18:03:24 CoolShorts: take a look here: http://developer.android.com/reference/android/widget/ImageButton.html May 22 18:03:25 * AakashPatel doesnt know how to do that yet...ill need to in a few days though :/ May 22 18:04:00 CoolShorts: are you making a twitter client? May 22 18:04:09 AakashPatel: Yes May 22 18:04:17 its it gonna be really cool :P May 22 18:04:21 another twitter client? ;p May 22 18:04:25 :P May 22 18:04:27 yay another client May 22 18:04:34 well this one is especially for dutch people May 22 18:04:44 and it has google translate May 22 18:04:46 do the dutch twitter differently ? May 22 18:04:52 sure May 22 18:05:00 "twitter different" May 22 18:05:12 how so ? May 22 18:05:17 wmealing: dutch, not Apple May 22 18:05:18 ;p May 22 18:05:20 well.. the fact is, dutch people seem to like dutch apps. So I bring one May 22 18:05:28 BeBoo_, foreign countries, good design. May 22 18:05:48 even though other twitter apps are better, dutch ppl will still take the dutch one May 22 18:05:55 so that will be my advantage lol May 22 18:06:01 CoolShorts, i see. May 22 18:06:02 lol May 22 18:06:04 (that's what my boss claimed to be true) May 22 18:06:07 if you say so May 22 18:06:16 what if i make a better one :x May 22 18:06:21 U don't May 22 18:06:22 :P May 22 18:06:25 ...with a dutch seting hege May 22 18:06:26 hah May 22 18:06:28 hehe* May 22 18:06:40 i might be most left field here, and.. correct me if im wrong May 22 18:06:43 well it's not that bad May 22 18:06:49 other than the text interface language being dutch, May 22 18:06:59 but I don't think it'll ever be as good as the screenshot I gave u May 22 18:07:04 nevermind, i'll stuf May 22 18:07:06 Twidroid May 22 18:07:07 stfu May 22 18:07:40 Well there is basically only ONE good twitter app out there May 22 18:07:46 And that's Twidroid May 22 18:07:51 but don't use it :P May 22 18:08:00 wait a few days and use mine lol May 22 18:08:12 It'll be worse, but ...well I created it haha May 22 18:08:25 chew less battery and dont make a noise past midnight till about 8 May 22 18:08:30 oh, readable in english May 22 18:08:33 and you've got a customer May 22 18:08:49 but making an app that chews batteries is fun May 22 18:08:51 nothing better than someones "i'm taking a dump" waking me up at 2:00 AM May 22 18:08:59 haha May 22 18:09:00 lol May 22 18:09:07 just inspires me to remove the app May 22 18:09:19 i'm not really into the whole twitter scene May 22 18:09:24 Hmm I'll keep that in mind May 22 18:09:27 no interest May 22 18:09:42 yeah, i tried it May 22 18:09:44 twitter is cool lol.. kinda useless, but just cool May 22 18:09:47 but i didnt inhale May 22 18:09:58 i really don't care what anyone else is doing and i know for a fact that no one cares what i'm doing either May 22 18:10:05 It fits with my linkedin and so on :P May 22 18:10:23 BeBoo_, get your applicance to twitter, maybe you'll care what they do May 22 18:10:26 appliances May 22 18:11:59 wmealing: then I can find out when someone opens the door to the fridge ;p May 22 18:12:13 yes ! May 22 18:12:16 stealing the beers. May 22 18:12:19 those bad hobbitses. May 22 18:12:25 just need a camera and i'll be set May 22 18:12:34 heh May 22 18:12:36 pesky hobbits May 22 18:12:44 set your phone up to do motion capture on the tweet. May 22 18:13:00 little do they know, i hide the Ring in the fridge May 22 18:13:17 in between the tomato sauce and the eggs May 22 18:13:32 ! how did you know? May 22 18:13:47 I drink your beer. May 22 18:14:00 * BeBoo_ sends you a paypal invoice May 22 18:14:04 found the ring, tried out the "all powerful" thing May 22 18:14:22 heh May 22 18:14:25 then you got eaten May 22 18:14:37 i _hate_ getting eaten May 22 18:14:58 why are there so few andriod apps? May 22 18:15:05 should've worn your anti-eating armor May 22 18:15:13 tainted_: we're waiting for you to write them ;( May 22 18:15:15 tainted_, err, what? May 22 18:15:19 tainted_: because you haven't written them yet May 22 18:15:29 there's only ~100 android apps May 22 18:15:29 tainted_: because the triads control the market! May 22 18:15:34 and they all stink May 22 18:15:36 tainted_: count again May 22 18:15:36 really, i think i see a few more. May 22 18:15:40 tainted_, that's a joke, right? May 22 18:15:46 am i looking in the wrong place? May 22 18:15:52 most likely May 22 18:15:58 tainted_, where are you looking ? May 22 18:15:58 tainted_, http://cyrket.com/ -- go nuts May 22 18:16:10 must only be looking in the marketplace May 22 18:16:11 btw, just the other day did i realise that is pronounced "circuit" May 22 18:16:16 the google marketplace May 22 18:16:23 if you only see 100 apps there's something wrong May 22 18:16:25 android marketplace May 22 18:16:25 which locale are you in ? May 22 18:16:31 looks like a fcked up "cricket" May 22 18:16:37 i thought the same thing May 22 18:16:44 i was saying May 22 18:16:51 cryket May 22 18:16:58 cry-ket May 22 18:17:08 * BeBoo_ is still waiting for cupcake May 22 18:17:20 BeBoo_, it's a play off his Cydia thing May 22 18:17:52 ah May 22 18:18:15 for extra lame points, release an app called donut now. May 22 18:18:30 is there a quick way to implement the whirling circle from progress dialogs in a View? May 22 18:19:02 wmealing: and what should it do? ;p May 22 18:19:21 mmmulani, ProgressBar, I believe May 22 18:19:37 Hello May 22 18:19:46 I have this data=content://gmail-ls/messages/guillaumebouerat%40gmail.com/44/attachments/0.1/BEST/false in the intent, how I get the filename of the attchment file ? May 22 18:19:49 mmmulani, ProgressBar.setIndeterminate() will do it May 22 18:19:52 I alreday have the file, but not its name May 22 18:20:02 so how many apps are there for android May 22 18:20:10 1k, 10k, 100k? May 22 18:20:13 as many as iphone? May 22 18:20:35 * BeBoo_ spams neoakira May 22 18:20:36 KNY: thanks May 22 18:20:44 mmmulani, no problem. May 22 18:21:05 any ideas ? May 22 18:21:55 tainted_: uh, dunno. quite a few. not as many as the iphone. May 22 18:22:03 tainted_: that said, i have yet to discover a need for which there is not an app May 22 18:22:12 cyrket.com shows you all of them May 22 18:22:21 if I have a charsequence var that is "test" and i use setText on an editview, why doesn't it italicize the text? It only seems to do it if i set it from xml May 22 18:23:02 so set it in xml May 22 18:23:46 neoakira, it's indeterminate by default May 22 18:23:47 i can't... it's dynamic data May 22 18:24:06 erff May 22 18:24:06 it's data i'm fetching May 22 18:24:08 oh, neoakira haha, I thought that was to me about progressbars, nevermind May 22 18:24:21 BeBoo_, look at ApiDemos May 22 18:24:24 I'm sure that it does that May 22 18:24:25 i did May 22 18:24:38 both strings are in xml May 22 18:24:51 one is set using setText and the other is set in the layout xml May 22 18:25:06 but the strings are still in xml and not set from code May 22 18:25:22 BeBoo_, hmm, let me lkook May 22 18:25:24 look* May 22 18:25:41 k, thanks... would make my life so much easier than working with spans May 22 18:25:49 is there a reason why cyrket.com runs like shit? May 22 18:26:17 tainted_, is there a reason you complain so much? May 22 18:26:31 tainted_, it's not an official client; he had to reverse engineer the protocol May 22 18:26:34 a desire for progress? May 22 18:26:37 cut him some slack May 22 18:26:56 so everytime i do an http request he reverse engineers the protocol? May 22 18:27:01 KNY: seems to me that tainted_ is just trolling May 22 18:27:04 fascinating May 22 18:27:20 tainted_, no, he put in a filter for your IP to slow down your requests May 22 18:27:25 tainted_: you don't like it? make one yourself and quit your bitching May 22 18:27:52 didn't say i didn't like it May 22 18:28:11 i actually want to surf the shit out of it, if it'd let me May 22 18:29:26 BeBoo_, open up Link.java May 22 18:29:34 tainted_: try http://androidstats.com/ May 22 18:29:45 is there an app site where the non-crap apps are filtered out May 22 18:30:01 KNY: ahhh that might work. thanks =] May 22 18:30:06 tainted_, market.android.com May 22 18:30:21 i mean crap sites are filtered out May 22 18:30:24 crap apps May 22 18:30:31 of course, none of my apps are on there, so it's not a very good filter ;) May 22 18:30:36 tainted_: are you looking for something in particular or just curious? May 22 18:30:42 I like how androidstats.com has an ad for the Pre. May 22 18:31:02 i'm neck deep in objective-c/cocoa and looking to bail May 22 18:31:37 KNY: that worked. thanks very much =] May 22 18:31:37 apple, jobs, smalltalk, objc, and iphone can go fuck themselves proper for all i care May 22 18:31:44 jt436, never seen that site before; thanks for the link. Except the charts are weird; why are the bigger numbers on bottom? May 22 18:31:48 i'm hoping to put my app on the marketplace when its done May 22 18:31:49 BeBoo_, don't mention it May 22 18:31:51 Obj-C is the pain reason I don't want to do iPhone development. May 22 18:31:54 BeBoo_, what app? May 22 18:32:04 making an urban dictionary frontend May 22 18:32:05 blanu, the requirement to have an Apple computer is mine May 22 18:32:08 for android May 22 18:32:13 instead of having to use the browser May 22 18:32:15 Oh I meant to say main reason, but pain reason works too. May 22 18:32:17 BeBoo_, nice. Do they have an API or are you just scraping? May 22 18:32:33 scraping, i was concidering emailing the owner and asking for api or DB access May 22 18:32:37 would make it much easier May 22 18:32:42 yeah May 22 18:32:59 wanna see screenshots so far? May 22 18:33:03 Yeah I already had to buy a Mac to make my desktop software run on Mac. This was before OS X ran on netbooks or else I would have done that instead. May 22 18:33:19 yeah May 22 18:33:29 i'm re-doing my code... trying to utilize a ListAdapter instead of a table May 22 18:33:44 if someone wants my software on OSX badly enough, they'll donate one to me (note that no one has done so yet ;)) May 22 18:33:52 ListView is slick May 22 18:34:17 KNY what OS do you dev on? May 22 18:34:19 table is nice but i could add some nice features to the listadapter like email or SMS it May 22 18:34:30 the words and defs May 22 18:34:37 I used to program in Obj-C a long time ago. It's what I left C for. Then I left Obj-C for Java and I don't want to go back. May 22 18:34:47 jt436, various flavors of Linux (depends on the virtual machine I'm using at the time) May 22 18:35:25 jt436, but my computer boots Ubuntu (and I spawn VMs as needed from there) May 22 18:35:38 i like the callerId app by whitepages May 22 18:35:53 what controls do they use for that app? May 22 18:36:05 interesting May 22 18:36:14 cyrket shows me a different view than market on my phone does May 22 18:36:22 is myspace mobile forward-locked, i wonder ? May 22 18:36:25 TD, do you have 1.5? ADP1? May 22 18:36:33 yes May 22 18:36:37 that's why May 22 18:36:49 which is it? the 1.5 or ADP1? May 22 18:36:54 tainted_, you can set up your app to receive notification about phone states May 22 18:36:56 i know i can't buy apps or see forward locked apps, which is silly May 22 18:36:59 TD, most likely ADP1 May 22 18:37:24 KNY: http://www.beboobailey.info/urban/ May 22 18:37:27 TD, you can buy apps, just not copy-protected ones May 22 18:37:28 KNY are web services supported on android May 22 18:37:41 TD, and most non-free apps are copy-protected May 22 18:37:42 i've yet to find any that are visible to me May 22 18:37:42 tainted_, yes May 22 18:37:44 right May 22 18:37:44 are android apps subject to GPL May 22 18:37:57 tainted_, no. May 22 18:37:58 KNY even shitty .NET web services? May 22 18:38:18 TD, I almost charged for my latest app and I wouldn't have copy-protected it May 22 18:38:41 tainted_, well, you have Apache's HttpClient to do whatever you need May 22 18:38:45 KNY can i capture audio / video / images with android May 22 18:38:54 tainted_, yes May 22 18:39:14 tainted_, you can't (yet) get real-time access to the audio stream, though (as far as I know) May 22 18:39:22 you can only start/stop recordings May 22 18:39:26 what formats? May 22 18:39:34 .drm .gay? May 22 18:39:52 tainted_, video is .3gp, images are .jpg, audio is ... .wav maybe? May 22 18:39:59 .mp3 possibly, not sure May 22 18:39:59 [ep] May 22 18:40:06 it supports a lot of audio formats May 22 18:40:17 nice May 22 18:40:18 BeBoo_, looks good, but the buttons are hard to read May 22 18:40:26 wow this sounds better than blackberry already May 22 18:40:27 .wav, .mid, .ogg (vorbis only), .mp3, probably a few others May 22 18:40:29 BeBoo_, also, check out the "Devices" tab in Eclipse (debug mode) May 22 18:40:44 are there publishing restrictions / proceses similar to apple? May 22 18:40:53 yes/no May 22 18:40:59 yes for the market, but it's much laxer than apple May 22 18:41:04 no if you distribute your app outside the market May 22 18:41:11 are there fees? May 22 18:41:30 tainted_, $25 fee to publish on the Market May 22 18:41:31 how are apps distributed? are they self contained? May 22 18:41:33 (one-time) May 22 18:41:34 gah May 22 18:41:42 you could just read the docs, you know. it's all in there. May 22 18:41:46 tainted_, you can distribute however you want, but they come contained in a .apk May 22 18:41:47 yes they are self contained May 22 18:41:49 where are the docs May 22 18:41:50 TD, yeah, or that May 22 18:41:57 TD, I'm just bored so I'm answering May 22 18:41:59 developer.android.com May 22 18:42:04 what is .apk May 22 18:43:05 like .exe May 22 18:43:08 or .jar May 22 18:43:27 is the callerid app by white pages open source May 22 18:43:53 I doubt it May 22 18:44:09 KNY where can i find your stuff May 22 18:44:15 http://evancharlton.com/projects/ May 22 18:44:59 can i try your apps with some sort of simulator? May 22 18:45:13 yes, you can get the SDK (emulator included) from developer.android.com May 22 18:45:49 well, the emulator might be included in ADT, I don't remember May 22 18:46:21 i beleve .apk is a package like .deb May 22 18:46:26 or similar May 22 18:46:33 it's just a jar file May 22 18:46:34 BeBoo_, it's more like .jar May 22 18:47:04 so the app isn't actually "installed"? May 22 18:47:20 KNY: http://evancharlton.com/projects/ is you ? May 22 18:47:25 neoakira, yes sir May 22 18:47:37 oki May 22 18:47:43 I made VDMAndroid May 22 18:47:58 FML is VDM in english May 22 18:48:04 neoakira, nice May 22 18:48:10 neoakira, is it in the Market? May 22 18:48:16 yes May 22 18:48:22 I'll look for it May 22 18:48:30 I have some problem for english version May 22 18:48:40 with my app or with their API? May 22 18:48:55 whith my app May 22 18:49:01 whene they will be silved May 22 18:49:08 I wiil release FMLAndroid May 22 18:49:14 will* May 22 18:49:45 neoakira, is VDMAndroid not free? May 22 18:50:13 There is just the language wariable to change for having the API in english May 22 18:50:16 and/or is it not released in the US? May 22 18:50:19 neoakira, correct. May 22 18:50:22 I d'on't release the code May 22 18:50:24 ?language=en May 22 18:50:34 bu I look at your sources May 22 18:50:37 neoakira, I can't find it in the market (or on cyrket) May 22 18:50:38 for learning May 22 18:50:51 ah, it's just for french market May 22 18:50:56 neoakira, http://svn.evancharlton.com/wsvn/FML May 22 18:50:57 neoakira, ah May 22 18:51:39 lokk at the notice May 22 18:51:49 saw it, thanks May 22 18:51:52 It was my first project in java May 22 18:51:57 ah May 22 18:52:02 their API is really easy to work with May 22 18:52:04 so it isn't very good May 22 18:52:24 yes, and your sources help me May 22 18:52:47 it is hard to not cpoy your code May 22 18:52:59 neoakira, haha May 22 18:53:18 just as long as you don't just run s/evancharlton/neokira/ then I don't mind too much May 22 18:53:21 but I wanted to use xml sax May 22 18:53:23 and don't copy my L&F May 22 18:53:32 lol May 22 18:53:44 s/evancharlton/pwned/g May 22 18:53:49 L&F ? May 22 18:54:11 look and feel May 22 18:56:20 KNY: look at dcc send May 22 18:56:45 neoakira, I don't think it will work May 22 18:56:49 evan@evancharlton.com May 22 18:56:58 oki May 22 18:59:14 notice May 22 18:59:19 yep May 22 18:59:23 loading on my G1 now May 22 19:00:05 http://home.neogb.com/VDMAndroid_last.png a screenshot May 22 19:00:36 it's changed slightly, but this was the other night: http://static.evancharlton.com/device.png May 22 19:00:52 the 5 buttons appear when you tap on an FML/VDM May 22 19:01:32 hoho I didn't see that user interface May 22 19:01:39 it's not out yet :) May 22 19:01:40 why the fascination w/ fmylife.com May 22 19:01:49 I'm publishing that version in the next half-hour or so May 22 19:01:53 I will install it my HTC Dream for testing May 22 19:02:05 tainted_, I wrote the first version of my app in about 90 minutes May 22 19:02:07 it's fun May 22 19:02:32 KNY: your job is java developer ? May 22 19:02:51 neoakira, my job is being a student :) May 22 19:02:56 oki May 22 19:02:59 in IT May 22 19:03:04 I guess May 22 19:03:15 software engineering May 22 19:03:25 neoakira, http://static.evancharlton.com/FML-signed.apk May 22 19:03:29 if you have multiple lists on screen, how you put them all scrollview May 22 19:03:38 is there a quick and simple way to prompt the user for data? May 22 19:03:49 nwmotogeek, look at how EditTextPreference does it May 22 19:03:50 like a built in alertdialog but with a textbox on it? May 22 19:03:54 ok May 22 19:04:04 KNY do you like VoIP> May 22 19:04:11 oki May 22 19:04:14 tainted_, never used it May 22 19:04:21 google voice May 22 19:04:27 neoakira, I can't install VMDAndroid.apk, by the way May 22 19:04:31 tainted_, it's not VoIP May 22 19:04:44 behind the scenes it is May 22 19:05:02 tainted_, behind the scenes all telephones these days are VoIP May 22 19:05:03 hum May 22 19:05:11 when was the last time you connected with copper? :) May 22 19:05:14 well, i meant voip app May 22 19:05:21 tainted_, it's not a voip app May 22 19:05:26 or telecommunications related apps May 22 19:05:36 because it isn't signed ? May 22 19:05:36 tainted_, there we go :) May 22 19:05:43 neoakira, most likely May 22 19:05:51 neoakira, I'll drop it on my emulator May 22 19:06:08 tainted_, it's okay. It would be a LOT better if google voice had an API May 22 19:06:32 i built something similar to google voice May 22 19:07:06 probably a bit more primitive considering what they have now May 22 19:07:34 yeah, google voice is pretty crazy May 22 19:08:07 there will be some issue with my apps in us locale beacuse it is in developement May 22 19:08:18 understandable May 22 19:08:41 neoakira, open (or close) the keyboard while it's loading May 22 19:08:49 :) May 22 19:09:31 yess too May 22 19:09:38 heh May 22 19:10:08 whitout open keyboard, juste rotate the phone with cupcake May 22 19:10:24 neoakira, yours seems much faster than mine (possibly because there are fewer comments?) May 22 19:10:36 I put cupcake on my phone with a custum firmware for testring May 22 19:10:54 try the top all of time May 22 19:11:03 <_Auron_> when was the last time you connected with copper? :) <-- I'm connected to my sister's wifi router via coathanger atm May 22 19:11:06 the first have more than 500 comments May 22 19:11:39 neoakira, what does auto connection do? May 22 19:11:54 _Auron_, a copper coat hanger? wow, sell that for scrap! May 22 19:12:08 when you are already login May 22 19:12:10 nothing May 22 19:12:17 <_Auron_> KNY: heh May 22 19:12:26 it just verify if there is token in sharepreference May 22 19:12:37 <_Auron_> I had to use one because I forgot to bring my antenna when I brought my computer here May 22 19:12:41 if there is one token May 22 19:12:45 you are login May 22 19:12:48 logged May 22 19:13:11 yeah, you don't have to reconnect every time May 22 19:13:35 in adb logcat May 22 19:13:52 you will see url wich are request May 22 19:14:11 like http://api.betacie.com/view/new?language=fr&key=49c831d2a53d4&token=49ce58350a3ef May 22 19:14:15 yeah May 22 19:14:25 and yeah, the speed issue is because of the fewer comments, I think May 22 19:14:34 my rendering routines are also pretty slow May 22 19:14:49 I use xml.sax May 22 19:15:14 and you you use a http object, aren't you ? May 22 19:15:26 I don't remember the name of the class May 22 19:15:28 I use HttpClient from apache May 22 19:15:45 voila May 22 19:15:48 :) May 22 19:15:57 do you just use Url()? May 22 19:16:04 non May 22 19:17:17 XMLReader.parse() May 22 19:17:48 and org.xml.sax.helpers.DefaultHandler interface May 22 19:18:45 your new interface is nice May 22 19:19:38 it seems like thing we can do in html/js for dynamic page May 22 19:19:52 yeah May 22 19:20:23 I can't seem to find the EditTextPreference example could some one point it out to me? May 22 19:20:46 nwmotogeek, it's not an example; it would be in the source code May 22 19:20:54 oh May 22 19:21:01 nwmotogeek, but the easiest way would to be create a dialog and inflate the layout at runtime May 22 19:21:30 ya , I thought about that steps but I was hoping there would be a simple built in like the AlertDialog May 22 19:21:35 nwmotogeek, I'm sure I've seen an example online May 22 19:21:46 nwmotogeek, I don't believe it's built in May 22 19:22:14 nwmotogeek, http://groups.google.com/group/android-developers/browse_thread/thread/5eb9563fc6dc0a9f?pli=1 May 22 19:25:57 KNY, thx May 22 19:26:06 nwmotogeek, don't mention it May 22 19:26:11 when i reopen a webview, I want it to be scrolled to the position where it last was May 22 19:26:20 is this possible without javascript May 22 19:30:51 wv.scrollTo doesn't seem to do much May 22 19:32:05 how would you force a listview to show all of its contents, instead of scrolling them? May 22 19:33:16 mmmulani: I'm not sure what you mean, the listview does show all the contents it can before it starts scrolling May 22 19:33:18 mmmulani: how would you do that, there are only so many pixels on the screen? May 22 19:34:16 marklar, mbarkhau: yes but I want to put the listview inside a scrollview that will have other views May 22 19:35:01 mmmulani: iirc having a listview inside a scrollview is not supported May 22 19:35:04 I could be wrong May 22 19:36:20 arg May 22 19:36:40 mmmulani: here is a thread about it http://groups.google.com/group/android-beginners/browse_thread/thread/2d1a4b8063b2d8f7/fc42ac7eb0b754a8?#fc42ac7eb0b754a8 May 22 19:37:15 marklar: that link does not work for me May 22 19:37:34 mmmulani: hmm odd, basically it was Romain saying don't do it :) May 22 19:38:20 ouu found it May 22 19:38:29 you can specify a header and footer view for a listview? May 22 19:38:44 yup, would that work for you? May 22 19:39:01 ahah yes May 22 19:39:12 nice May 22 19:39:19 do I have to manually add it, or can I do it from XML? May 22 19:59:11 can I call javascript in a webview from java? May 22 20:02:12 I'm working with window.setInterval atm. to call functions on an object I've added wtih wv.addJavascriptInterface May 22 20:02:26 but that seems a bit hackish May 22 20:02:38 plus poling is bad May 22 20:14:14 how can we kill threads? specifically downloading content from the web May 22 20:20:42 AakashPatel im sorry! im just a phone May 22 20:20:49 oh crap May 22 20:20:55 wrong channl May 22 20:20:58 mmmulani: http://devtcg.blogspot.com/2008/07/interruptible-io-example-using.html May 22 20:21:03 mmmulani: the short answer is, you don't. May 22 21:00:12 hey sammyF May 22 21:00:25 hey jt436 :) May 22 21:00:53 I published the game yesterday evening :) May 22 21:01:26 congrats, name? May 22 21:01:39 Pin It May 22 21:01:45 under Casual May 22 21:02:17 I really must spend some more time on my side projects to get them out May 22 21:02:22 some people have been complaining that the demo force close after 3 secs, but I seriously can't find why. It runs fine here and for all the people I've talked to :/ May 22 21:02:54 jt436: so is Amazed a main or a side project? May 22 21:03:20 side May 22 21:03:29 pin it is protected? I can only see the demo May 22 21:04:02 the demo is free, the full version is paying May 22 21:04:07 both are protected May 22 21:04:12 sammyF, what app? May 22 21:04:20 oh, Pin It May 22 21:04:21 duh May 22 21:04:30 KNY: yep May 22 21:04:36 KNY: crashes for you? May 22 21:04:41 (please say yes!!!!;) May 22 21:04:42 KNY is not having a good day May 22 21:04:44 not sure, I'll try and make it crash May 22 21:04:48 jt436, you said it May 22 21:04:56 KNY: what's up? May 22 21:05:11 sammyF, haha, just an off day I guess May 22 21:05:16 downloading on a couple of a handsets sammyF, will let you know if it crashes May 22 21:05:24 jt436: thanks May 22 21:05:35 Can the emulator capture video from an application? May 22 21:05:35 sammyF, do you have a website somewhere? May 22 21:05:45 sammyF, if so, give this a shot: http://code.google.com/p/android-remote-stacktrace/ May 22 21:05:57 svm_invictvs, use a screen recorder May 22 21:06:39 ha, nice fireworks May 22 21:06:47 KNY: can you recommend one for Linux? May 22 21:06:58 KNY: want some consolation? my day started off with "Gay Apps FAKE! FREZZES DONT DOWNLOAD", went on with a water outage and ended in a 2 mile walk to get some gas for my car from my mom who had some in reserve for her lawnmower .. because all the stations here are on strike ;) May 22 21:06:59 svm_invictvs, no idea, I've never used one May 22 21:07:20 sammyF, haha, nice May 22 21:07:34 sammyF: by my calculations, that means it's just about time for you to burn your finger. May 22 21:09:04 KNY: I have something similar to stacktrace, but this sounds easier to implement. thanks May 22 21:09:32 sammyF, it's super easy May 22 21:09:37 one line (plus internet permission) May 22 21:09:48 sammyF, and no luck trying to make it crash May 22 21:10:08 ctate: nah .. I'll be safe today and just avoid moving out of the houe, or looking at knifes, or using any electrical appliances (apart from my computer) ... with some luck I'll surive till tomorow ;) May 22 21:10:22 I definitely need a new keyboar :/ May 22 21:10:24 hey remote stacktrace nice, was wanting this May 22 21:11:00 does 1.5 have any kind of faster scroller listview feature? I see SectionIndexer interface which I've never noticed before May 22 21:11:11 zhobbs, yeah, it's a setting May 22 21:11:18 enableFastScrolling or something May 22 21:11:20 zhobbs: it has the FastScrollView that was previously private... May 22 21:11:33 it was in the contacts app since 1.0, but now is part of the framework May 22 21:11:37 and officially supported by ListView May 22 21:12:12 jasta: ahh...I don't see a class called FastScrollView? May 22 21:12:14 sammyF: cool game but i just had a crash..happened after tilting all the way to the side and balls got stuck on the side May 22 21:12:29 zhobbs: they probably renamed it or moved it directly into ListView May 22 21:12:34 luok: force close? or just a stuck ball? May 22 21:12:36 luok, adb logcat May 22 21:12:48 luok: and thanks btw :) May 22 21:12:50 zhobbs, it's not a separate class anymore May 22 21:12:52 sammyF: balls stuck and then "not responding" May 22 21:12:59 i'll see if i can get logcat May 22 21:13:05 anything to pass the time until 5pm.. May 22 21:13:18 jasta, it was moved directly into listview May 22 21:13:30 i just tried what louk mentioned, all the balls are now stuck May 22 21:13:38 http://developer.android.com/reference/android/widget/AbsListView.html#setFastScrollEnabled(boolean) May 22 21:13:47 KNY: great, thanks May 22 21:14:02 yeah, I got the balls stuck as well May 22 21:14:04 zhobbs, no problem May 22 21:14:32 sammyF: http://img196.imageshack.us/img196/7278/pinit.png May 22 21:14:42 sammyF, and then if you hit back while they're stuck, it just dies May 22 21:15:00 05-22 14:12:50.392: ERROR/MediaPlayer(19223): start called in state 0 May 22 21:15:05 sammyF, E/AudioCache( 37): Heap size overflow! req size: 1048764, max size: 1048576 May 22 21:15:10 jt436: luok: KNYah! thanks! not a force close, but a problem with the ~physics~ engine. I guess that's what people were refering to May 22 21:15:14 sammyF, a million lines of that May 22 21:15:26 GREAT! May 22 21:15:37 (first time I've been really happy about a bug report;) May 22 21:15:40 haha May 22 21:15:44 I love good bug reports May 22 21:15:55 did it again May 22 21:16:01 I had someone submit a bug report *with* a way to reproduce *and* a patch! May 22 21:16:06 I thought I was dreaming May 22 21:16:07 seems to get stuck when two balls are overlapping May 22 21:16:43 jt436: when two balls are overlapping the balls should in theory separate again. May 22 21:17:00 sammyF, for me it just happens when you leave them running into the wall for a while May 22 21:17:08 KNY: same here May 22 21:17:12 let me get a picture May 22 21:17:21 sammyF: http://img196.imageshack.us/img196/6240/pinit2.png May 22 21:17:29 KNY: yes. just got it! May 22 21:17:41 if they keep on collisding with they get stuck May 22 21:17:46 okay .. I think I know how to fix that :) May 22 21:18:02 05-22 14:17:40.852: ERROR/SoundPool(19297): Unable to load sample: (null) May 22 21:18:05 you have a sound issue May 22 21:18:09 yeah May 22 21:18:12 its the same time as when the balls get stuck May 22 21:18:35 jt436: yes. probably because I play the sound on ball collision, but only allocate 5 channels from soundpool May 22 21:19:12 http://img196.imageshack.us/img196/5402/pinitanr.png do i win??? May 22 21:19:35 jt436: nah May 22 21:19:37 that's a wait ;) May 22 21:19:50 jt436: but that's probably what the people were refering to May 22 21:20:01 :( May 22 21:20:23 to be fair, they said "freeze" (well, "frezze") May 22 21:20:33 jt436: I have that sometimes .. not that it makes particular sense, because I can restart the game later on on exactly the same level and it works fine May 22 21:20:39 and just be thankful no one referred to it as your application as "foreclosing" May 22 21:20:41 * KNY sighs May 22 21:20:51 KNY: lol May 22 21:21:02 ahh May 22 21:21:15 if you start the game with the device tilted it happens, not all the time though May 22 21:21:41 don't leave the balls move until the game is ready May 22 21:21:45 *let May 22 21:23:04 hmm .. if it's already tilted, the balls get a velocity before the game starts .. probably so much that the balls bounce out of bound. May 22 21:23:22 thanks a lot guys! you were a great help! May 22 21:24:11 np :) May 22 21:36:23 is there a list somewhere of all the Themes provided by android? like @android:style/Theme.Dialog ? May 22 21:36:52 android.R.* May 22 21:37:29 specifically android.R.style May 22 21:38:10 zhobbs: ah. android.R.style.Theme_* May 22 21:38:42 zhobbs: thanks! May 22 21:39:55 is it possible to make huge toasts? I want to basically fill half the screen with a toast (heh don't ask, it's being used for a test) and was thinking of using toast.setView with a big view... possible? May 22 21:43:07 are there any restrictions which commands a regular app can call using Runtime.getRuntime().exec(...) on a locked end-user phone? May 22 21:43:41 it's subject to the usual permissions checks, uid/gid/etc May 22 21:44:09 in theory, you shouldn't call any :) May 22 21:44:17 pfffft; it's in the SDK May 22 21:44:24 haha May 22 21:45:21 how do i find out if i can call it? May 22 21:45:51 i mean there may be differences in permissions between my adp1 and a regular phone right? May 22 21:46:53 it confuses me that there is no main method in Android apps May 22 21:47:09 if I implement a SurfaceView how do I pass the canvas manually? May 22 21:47:11 u'll get used to it :) May 22 21:49:04 zab, yeah, that's pretty much the only reason that android development is confusing--there are so many different entrance points May 22 21:57:01 I have: private static class GameView extends SurfaceView implements OnKeyListener { May 22 21:57:18 but OnKeyListener takes a View and not a SurfacView May 22 21:57:25 so how do I solve this? May 22 21:57:43 and how do I recall draw on a surfaceview? May 22 22:07:16 zab: http://www.anddev.org/2d_tutorial-t3120.html May 22 22:08:11 this example draws to a surfaceview from a background thread May 22 22:08:17 maybe it helps May 22 22:10:21 ty May 22 22:10:35 np May 22 22:48:45 can the android show animated gifs in an imageview? May 22 22:50:04 So Android documentations tells us this about the EditText.SetText() method: public void setText (CharSequence text, TextView.BufferType type) May 22 22:50:23 so why do I get an error back for this code: The method SetText(CharSequence, TextView.BufferType) is undefined for the type EditText May 22 22:50:27 ?? May 22 22:50:39 oops, that's the error I get back May 22 22:51:21 but yeah, the code meets the method's parameters May 22 22:52:10 doubleminus, check your casing May 22 22:52:23 SetText != setText May 22 22:53:21 this is why ppl throw rocks at me sometimes May 22 22:54:10 use eclipse and code-complete May 22 22:54:14 * sammyF looks around for some pebbles May 22 22:54:16 it'll help with so much May 22 22:54:45 I am. Sometimes it doesn't pop up any completion help though : / May 22 22:54:57 well, when you start with a capital S, then no.. :) May 22 22:55:04 haha, good call May 22 22:55:09 I outdumbed the code complete May 22 22:55:17 which is usually your first indicator May 22 22:55:18 haha May 22 22:55:32 doubleminus: ctrl + space brings up the code completion list too May 22 22:55:39 oo nice May 22 22:56:01 yeah, that's what I was referring to, sorry May 22 22:56:08 eclipse has so many good keyboard shortcuts May 22 22:56:10 i love it, it's like documentation on the go May 22 22:56:11 and so many terrible ones May 22 22:56:18 next question. if I add an EditText outside of an onActivityResult method block...the block doesn't know about my edittext May 22 22:56:53 so if I add it using this. EditText etxt2 = (EditText) findViewById(R.id.edittext2); ....then inside the method, I get an etxt2 cannot be resolved error May 22 22:57:57 if you move your "EditText etxt2" outside of the method (in the class), then you can reference it from any method within that class with etxt2, or this.etxt2, if it's public you can access it from other classes too May 22 22:59:02 doc_savage: that seems to be the issue, I'm referencing using etxt2 and it's not resolving May 22 22:59:12 where are you declaring it? May 22 22:59:55 just above but in the same class. the method and declaration are within the onCreate May 22 23:00:48 if I declare within the onActivityResult method, it works fine... May 22 23:01:00 doubleminus: one moment :) May 22 23:01:55 k : ) May 22 23:01:56 https://home.savagereactor.co.uk/~savage/eg.txt May 22 23:02:06 http://home.savagereactor.co.uk/~savage/eg.txt May 22 23:02:10 stupid redirecting to https May 22 23:04:46 ahhh I see. so is it best practice to declare my EditTexts and other such UI widgets in the class definition, before I even define my onCreate method? May 22 23:05:32 yeah, but you wont be able to use findViewById there, so you do it like I have there, and do findViewById in onCreate still, just dont redeclare the variable May 22 23:06:08 ahh got it May 22 23:06:12 :) May 22 23:12:11 on a related note: how do I create an array of EditText objects via the xml. May 22 23:13:13 I've had poor luck getting specific results from google on this May 22 23:14:44 doubleminus: I've not seen any way to do it from XML, but you could create your layout in code, although I've not tried that either :) May 22 23:16:24 yeah, was thinking of doing it that way May 22 23:16:54 I mean - it seems like someone would've had to loop through a large # of widgets that are sitting in the XML layer May 22 23:17:46 yeah, I'm not sure how it'd be done in XML really May 22 23:21:21 I guess I could trick it. Create a bunch in the xml (edittext1 edittext2 edittext3 edittext4 etc) then to loop through...just create a new string that concatenates my iterator with the name of each reference May 22 23:21:41 it will be pretty ghettolicious solution though May 22 23:23:39 n/m that doesnt work at all May 22 23:38:10 stupid question. What is the @Override line do that I see so much? May 22 23:39:32 doubleminus: when you inherit a from a class you can rddefine the behaviour of a method with override May 22 23:44:48 oh. got it. thanks :) May 22 23:52:25 okay .. that's really funny May 22 23:52:46 the trackball seems to trigger the accelerometer May 22 23:55:50 zab: uhm, that's not really what @Override does. May 22 23:56:14 no? May 22 23:56:16 it's an annotation which requires that the method actually does override a method from its base class. May 22 23:56:20 then say what it does May 22 23:56:20 otherwise, the compile fails. May 22 23:56:35 so it is not needed? May 22 23:56:36 the code behaves the same with or without @Override. May 22 23:56:40 ok May 22 23:56:56 it is merely a compile-time sanity check that there is indeed a method with that signature in the base class. May 22 23:57:51 is it known that the trackball screws up the accelerometers or did nobody notice before? May 22 23:58:42 05-22 16:57:24.966: ERROR/AndroidRuntime(740): java.lang.RuntimeException: Unable to start activity ComponentInfo{com.ochosi.wifinder/com.ochosi.wifinder.WiFinder}: java.lang.NullPointerException May 22 23:59:01 help May 23 00:00:16 this happens after a screen rotation May 23 00:01:50 hunterp, I would guess you have a null reference May 23 00:02:04 hunterp: after a screen rotation you'll need to recreate your application's environment May 23 00:02:21 (sounds completely leet, I know) May 23 00:02:44 a screen rotation, if I'm not mistaken, causes a pause May 23 00:03:07 sammyF, I believe it goes all the way through onDestroy() and back up May 23 00:03:08 so you'll have to override onPause and onResume May 23 00:03:10 it's described in the apps May 23 00:03:13 erm, in the docs* May 23 00:03:20 or that :) May 23 00:03:23 i do recreate it May 23 00:03:34 listen to KNY, he's more knowledgeable :) May 23 00:03:35 and on the line, there is nothing that is null May 23 00:03:44 hunterp, everything gets torn down, even your member variables May 23 00:04:03 ok. i'll sniff harder May 23 00:04:07 android:screenOrientation="portrait" android:configChanges="orientation|keyboardHidden" for the win! May 23 00:04:14 ;) May 23 00:04:22 hunterp, breakpoints are your friend May 23 00:04:27 sammyF, only if you're writing a game :) May 23 00:04:37 im good friends with my breaks May 23 00:04:44 KNY, yep . and I know why that's all I'm writing ;) May 23 00:04:47 hunterp, excellent May 23 00:04:54 sammyF, haha May 23 00:05:13 found my bug btw May 23 00:05:38 very nice one, with a comment "// sanity check" just before the guilty lines.. I must have been drunk or something May 23 00:07:46 haha May 23 00:23:09 KNY: you were right. Tx a lot! May 23 00:23:16 hunterp, no problem May 23 01:10:16 anyone know if you can change an app's category after you publish it to the market place? May 23 02:39:01 hi all **** ENDING LOGGING AT Sat May 23 02:59:57 2009