**** BEGIN LOGGING AT Sat Jun 30 02:59:59 2012 Jun 30 03:13:48 can anybody here help me with getting GPU emulation working with an AVD? I turned it on in the hardware properties for the virtual device but all I get is a blank screen (it runs fine with GPU emulation set to false) Jun 30 03:15:23 is it just a bad idea to try and develop an opengl app using a virutal device? i dont have a real device available Jun 30 03:34:34 halp Jun 30 03:42:02 Lieutenant: what's up? Jun 30 03:43:57 i was wondering if someone could make a mouse app Jun 30 03:44:05 with gyroscope + accelerometer so we can slide it around like a real mouse Jun 30 03:44:14 and two huge buttons on the touch-screen so we can left click or right click Jun 30 03:44:26 and maybe a scroll-wheel if you're feeling frisky Jun 30 03:44:58 Lieutenant: are you saying you want to use Android phone as a magic mouse? Jun 30 03:45:02 the accelerometers present in most Android devices might leave you a little annoyed trying to use the device as a mouse Jun 30 03:45:22 combined with a mic, it might be possible, after a good bit of training Jun 30 03:45:29 edwinkcw i dont know what a 'magic mouse' is... but sure? Jun 30 03:45:38 zinx, how would the mic help? Jun 30 03:45:48 but that's assuming you put teflon feet on it and move it around on a surface Jun 30 03:45:57 wouldn't the gyroscope fix teh accelerometer's shortcomings? Jun 30 03:46:03 or using the gyroscope exclusively Jun 30 03:46:05 Lieutenant: it's possible to determine how it's moving based on the sound of rubbing against the surface Jun 30 03:46:13 and no. Jun 30 03:46:13 oh gotcha Jun 30 03:46:14 smart Jun 30 03:47:02 it would be more accurate having an accelerometer with gyro, but it would still be pretty inaccurate for that purpose Jun 30 03:47:46 oh :( Jun 30 03:47:53 zinx: but then this mouse is not working on noisy environment Jun 30 03:48:19 noise cancelation? Jun 30 03:48:22 Lieutenant: just wonder, if you want to do a mouse, why don't u make it as a trackpad? Jun 30 03:48:23 edwinkcw: can't do much about that :P Jun 30 03:48:25 and only listen for the "rustling" noise? Jun 30 03:49:02 Lieutenant: I don't think it works well Jun 30 03:50:33 edwinkcw, cause i already have a trackpad on my laptop so there's no reason i would need the mouse as a trackpad lol. the only reason i'm thinking about this app is so i can use it as an actual mouse for my laptop. Jun 30 03:50:44 Lieutenant: oh, some ppl have already made a trackpad using android phone Jun 30 03:50:46 i don't want to carry an annoying mouse all the time lol Jun 30 03:51:14 yeah, people have made it a trackpad. but i dont /need/ a trackpad lol. there are tons of trackpad apps. Jun 30 03:51:28 was looking for something more like a traditional mouse lol Jun 30 03:51:46 Lieutenant: but Android phone is lacking hardware to do movement detection Jun 30 03:52:07 yeah Jun 30 03:52:19 hey so what's the point of a barometer? Jun 30 03:52:24 do any apps even use it? Jun 30 03:53:18 Lieutenant: in fact you can do some thing similar to optical mouse Jun 30 03:53:25 Lieutenant: but not sure how well it is Jun 30 03:53:41 oh true. Jun 30 03:53:43 Lieutenant: use camera flash light as optical emitter Jun 30 03:54:03 what if i can "hover" the phone like 2cm from the surface and it would recognize the movement, right? Jun 30 03:54:15 and the camera would detect it Jun 30 03:54:39 optical mice have a very small (like 16x16) greyscale camera (tuned for their light) that takes pictures /extremely/ fast - thousands of times a second Jun 30 03:54:49 Lieutenant: u camera as detector, any movement should affect the light reciving on camera Jun 30 03:55:11 or at the very least hundreds :P Jun 30 03:55:32 the cams in phones... are no where near that good Jun 30 03:55:39 ha Jun 30 03:55:43 doesn't mean 30fps wouldn't work, right? lol Jun 30 03:55:50 or hmm Jun 30 03:55:51 Lieutenant: you can try Jun 30 03:55:58 Lieutenant: this is a research problem Jun 30 03:56:02 30fps would not work with a camera phone unless the surface was VERY well lit Jun 30 03:56:33 is there anything that can be done with the RGB sensors or the proximity sensors? Jun 30 03:56:42 maybe if the lay the phone, glass down? Jun 30 03:56:49 not really Jun 30 03:57:05 some phones have an optical trackpad on them Jun 30 03:57:19 Lieutenant: seems no reliable solution right now Jun 30 03:57:26 yep lol Jun 30 03:57:26 but i don't know if the distance is right for using them as a mouse Jun 30 03:57:45 Lieutenant: the final thing you can try is use camera to detect your gesture to do sth like kinect Jun 30 04:34:35 hello all Jun 30 04:36:32 hello Jun 30 04:51:13 QubeZ: get your preference stuff fixed :) Jun 30 04:52:05 g00s: ya Jun 30 04:53:17 great Jun 30 04:56:49 OUCH: http://arstechnica.com/gadgets/2012/06/breaking-judge-grants-apple-an-injunction-against-the-galaxy-nexus/ Jun 30 04:58:37 a great way to wrap up i/o 9.9 Jun 30 04:59:07 * g00s is finding it pretty easy to hate apple these days Jun 30 05:04:59 <_Auron_> software patents are so f'ing stupid Jun 30 05:13:20 the wrold is made of stupid, more or less Jun 30 05:13:25 world Jun 30 05:18:56 I need a custom app built. Can anyone point me in the right direction Jun 30 05:19:20 * wongk-sf points left Jun 30 05:22:41 * HorizonXP points right Jun 30 05:22:47 * HorizonXP points up Jun 30 05:22:51 * HorizonXP points down Jun 30 05:23:02 * HorizonXP is twirling. Twirling, twirling, twirling! Jun 30 05:23:21 Anyway, yes, patents are broken, blah blah blah Jun 30 05:23:28 but what a stupid judge to let that happen :/ Jun 30 05:30:07 I need a custom app built. Can anyone point me in the right direction Jun 30 05:30:36 rdctx84: you need to stop asking that here Jun 30 05:31:16 why not here leeds Jun 30 05:31:34 because the channel topic - which you obviously read before you started talking in-channel says clearly that it's off-topic Jun 30 06:07:25 droid razr ics...fina fucking ly Jun 30 06:12:21 ly? Jun 30 06:12:30 ah.. Jun 30 06:12:39 and I love jelly bean :pp Jun 30 06:12:52 me too but not avail for my razr, can't find a rom released Jun 30 06:14:31 personally i'm disappointed with the galaxy s2 ICS Jun 30 06:14:36 im 55% download of ics on my razr from verizon Jun 30 06:14:42 what a huge mistake getting a motorola phone Jun 30 06:14:56 never again, only google phones from here on out (even though my main phone is iphone 4s) Jun 30 06:23:12 is there a way to adb push a directory as a particular application (rather than as the root user -- yes, I've rooted the device) Jun 30 06:24:30 hi. we know that eclipse can do method names completion. However, I want completion much like Kate editor or Notepad++ . is that possible? that does not mean i want to disable method completion Jun 30 06:26:26 superlinux-hp: what does Kate do? Jun 30 06:26:38 word completion Jun 30 06:26:43 does anyone know how to connect to the ps3 controller via bluetooth? I am making progress but am stuck at the part where i need a uuid =\ Jun 30 06:26:47 it's an editor Jun 30 06:27:00 Notepad++ has completion? Is that something you have to turn on? Jun 30 06:27:05 I understand but you did not explain how its completion was different from Eclipse Jun 30 06:27:07 yes Jun 30 06:27:10 also eclipse for me completes alot more then just methods Jun 30 06:27:16 and I didnt do anything to it Jun 30 06:27:25 like variable names, etc Jun 30 06:27:55 X-suriV, just can you guide me to find it please. Jun 30 06:28:05 anyway Jun 30 06:28:07 press Ctrl-. Jun 30 06:28:11 that's word completion in eclipse Jun 30 06:28:13 thats just it, I dont know how, because I never changed anything to do it Jun 30 06:28:18 it just does it Jun 30 06:28:41 like if Im typing something and its part of a variable name, a little box comes up I hit enter and it finishes it Jun 30 06:29:35 ok Jun 30 06:36:58 Guys, my application has like 50 progress bars and I was wondering if there is any way to set an attribute (ex: setMax()) to ALL progressbars in an activity without having to code 50 lines of code? Jun 30 06:37:17 make progressbars into an array? Jun 30 06:37:47 wouldn't you have to hardcode them all into the array though? Jun 30 06:37:56 no idea really Jun 30 06:37:58 use a style Jun 30 06:38:19 or inflate all your progress bar from a single XML file Jun 30 06:38:30 or create some sort of a factory method Jun 30 06:39:21 romainguy_, i'm googleing all of those right now to figure out what they are! Jun 30 06:39:26 :) Jun 30 06:40:00 If you had all the IDs of the progress bars in an array, you could iterate through that array to create an array on progress bars Jun 30 06:40:27 no need to Jun 30 06:40:34 array sounds ideal, however, i would have to type all 50 of the progress bar names into the array, right? Jun 30 06:40:51 how do you create your progress bars? Jun 30 06:40:57 Yeah, but that is just another method Jun 30 06:41:14 romainguy would be the king to listen to though ;P Jun 30 06:42:29 romainguy_, what do you mean? I physically draw them. then in the java code, i do something like: ProgressBar pbTest= (ProgressBar) findViewById(R.id.pbTest); and then pbTest.setMax(100); Jun 30 06:42:34 ...for all 50 Jun 30 06:43:11 so these progress bars exist in your XML files right? Jun 30 06:43:31 right Jun 30 06:44:02 so why don't you set the max in your XML instead? Jun 30 06:44:19 is this where "styles" come in? Jun 30 06:44:34 is there an easy way i can setMax on all of them? Jun 30 06:44:35 you can use styles Jun 30 06:44:50 or instead of declaring the same 50 times Jun 30 06:44:53 100 is the default anyway isnt it? Jun 30 06:44:56 use tags Jun 30 06:44:57 i found a few times it would be nice to be able to iterate over a bunch of things in a tree which met some criteria, like a tag Jun 30 06:45:12 g00s: it would be easy to write :) Jun 30 06:45:20 :) Jun 30 06:45:41 jessicajames: android:max="100" Jun 30 06:45:52 Knossos, is it default? Jun 30 06:46:04 Thats what the Android Docs said, I think Jun 30 06:46:33 http://developer.android.com/reference/android/widget/ProgressBar.html Jun 30 06:46:38 "By default, the progress bar is full when it reaches 100" Jun 30 06:46:41 yup, you're right Jun 30 06:46:55 but still, i was looking for an easy way to iterate all these progressbars Jun 30 06:47:01 arrays seems like best bet Jun 30 06:47:08 if i'm settting conditinal values Jun 30 06:47:22 do they have the same parent? Jun 30 06:49:18 Perhaps you could put the XML into a pastebin or something :> Jun 30 06:51:04 romainguy_, what do you mean by 'same parent'? Sorry...newbie here.. Jun 30 06:51:18 are they all in a single LinearLayout for instance? Jun 30 06:58:43 romainguy_, yes they are! Jun 30 06:58:47 sorry for the late reply Jun 30 06:58:50 but yes, they are Jun 30 06:59:00 then you could just get a reference to the parent Jun 30 06:59:16 then use theParent.getChildCount() and theParent.getChildAt() to iterate over all the children Jun 30 06:59:22 no need to create an array this way Jun 30 06:59:52 if (theParent.getChildAt() instanceof XXX) { } Jun 30 07:00:04 ahh Jun 30 07:00:05 hmmm Jun 30 07:00:06 if there are children of different types Jun 30 07:00:29 then what? Jun 30 07:00:44 then what g00s said Jun 30 07:01:19 okay Jun 30 07:01:29 so how exactly this would work, is something like... Jun 30 07:02:06 for (pbar : this.getChildCount()) { Jun 30 07:02:10 something like that? Jun 30 07:02:17 I don't know what "theParent" would be Jun 30 07:02:33 no Jun 30 07:02:49 ViewGroup parent = (ViewGroup) findViewById(R.id.theparentoftheprogressbars); Jun 30 07:03:00 for (int i = 0; i < parent.getChildCount(); i++) { Jun 30 07:03:19 okay Jun 30 07:03:35 and then use IF to fgure out if it's a progressbar? Jun 30 07:03:40 and then use IF to fgure out if it's a progressbar? Jun 30 07:03:42 // parent.getChildAt(i) returns a View Jun 30 07:03:50 @!$ MacPro Jun 30 07:04:00 wth ? Jun 30 07:04:37 wow, this could be a good place to work http://www.bwbacon.com/ Jun 30 07:04:43 :D Jun 30 07:10:45 thank you guys Jun 30 07:16:32 JoshuaA: and clean clean clean Jun 30 07:19:53 Leeds: whatnow? Jun 30 07:20:33 Oh, you probably meant to hl jessicajames. Jun 30 07:21:59 JoshuaA: no, I meant you Jun 30 07:21:59 what? Jun 30 07:22:29 Leeds: in that case, what do you mean? Jun 30 07:22:47 erm... I mean you should clean your project Jun 30 07:23:09 ;p I'm sure I'm being a total idiot, but how? Jun 30 07:23:20 ant clean Jun 30 07:23:26 tyvm Jun 30 07:27:04 I'm guessing it's not too easy to change the color of a horizontal progress bar from green to red? Jun 30 07:29:21 :3 apperently I forgot to do an ndk rebuild, which was needed for some incomprehensable reason Jun 30 07:31:54 Leeds: thanks for telling me to clean, I think that might've also done the trick! Jun 30 07:32:05 that us what it's there for :) Jun 30 07:32:08 is Jun 30 07:32:58 I'm going absolutely crazy building a gui when my build and run cycle is over two minutes Jun 30 07:37:04 you should try to hack on Android's framework :p Jun 30 07:39:18 meh, I should just never, ever, again build something using ndk->jni->sdk Jun 30 07:41:43 romainguy: mbp again? Jun 30 07:41:57 something wrong with it ? Jun 30 07:43:12 is it just me or chrome 20 really struggles to antialias webfonts correctly Jun 30 07:44:22 MacPro, not MacBook Pro Jun 30 07:44:31 it's the @!# wifi card dying Jun 30 07:44:39 and Apple makes it incredibly difficult to fix it Jun 30 07:48:56 this animated thing on d.android.com must die Jun 30 07:49:56 :o Jun 30 07:50:06 * hackkitten hands g00s an Hello Kitty shotgun~ Jun 30 07:50:34 * g00s shoots kittehs at the animation Jun 30 07:50:35 romainguy > Apple systems, especially laptops, are impossible to fix, really :) Jun 30 07:50:39 heh Jun 30 07:50:52 hmm... almost 20% of my users have an S2 - followed by the Note, with just over 11% Jun 30 07:51:30 well, samsung is #2 :) Jun 30 07:51:41 also, about 22.5% of users are on ICS Jun 30 07:51:42 i have an s2 Jun 30 07:52:17 i would be interesting to see adoption by region Jun 30 07:52:33 I'd love ICS on my phone. Too bad it'll never happen :( Jun 30 07:52:53 got jb on my gn, it's awesome Jun 30 07:53:07 pfn: everything ok now with the wallet ? Jun 30 07:53:11 and the vast majority of my users are unsurprisingly in Hong Kong... Jun 30 07:53:17 I have a Desire HD, and HTC released that boot unlocker program... I've been tempted to use that and install ICS somehow. Jun 30 07:53:25 g00s, yeah, turns out that I did a complete wipe, which is safe for wallet... Jun 30 07:53:35 But I don't know if I really want to risk it. Jun 30 07:53:36 factory reset, no, or something Jun 30 07:53:38 i'm glad things worked out Jun 30 07:54:10 but yeah, jb is smooth as butter Jun 30 07:54:33 * hackkitten idly buys a WP7 phone~ Jun 30 07:54:43 :> Jun 30 07:54:58 hackkitten: wat Jun 30 07:55:05 pfn: were you at IO? Jun 30 07:55:08 my phone likes to pretend it doesn't have a battery at times :< Jun 30 07:55:19 * hackkitten wonders whether it's Android or a bad battery Jun 30 07:55:29 hackkitten: you know it is not going to get updated to wp8 right ? Jun 30 07:55:32 Do you leave it plugged in all the time? :P Jun 30 07:55:40 g00s > I heard they would be :o Jun 30 07:55:50 hackkitten: even the lumia 900 isn't Jun 30 07:55:52 Knossos > yes, I always leave stuff plugged in :P Jun 30 07:55:59 g00s > link? :o Jun 30 07:56:01 I want jelly bean on my phone :p Jun 30 07:56:02 If you are serious, then that is probably why Jun 30 07:56:04 its getting 7.8 - thats it Jun 30 07:56:07 romainguy_, no, I missed out this year :-( Jun 30 07:56:29 Knossos > yes, because my Nokia 6230 which I left plugged in for 8 years straight has so many issues... not Jun 30 07:56:36 really wanted to, but I couldn't get my hands on tickets Jun 30 07:56:54 I got to live vicariously through a bunch of guys here who did go... got all their messenger+ gory details Jun 30 07:56:57 also, how are you supposed to use your phone for debugging if you can't charge it? :P Jun 30 07:57:00 It is a well known fact hackkitten Jun 30 07:57:02 eh at least it looks like you found a way to get your hands on JB :)) Jun 30 07:57:14 romainguy_, yeah, one of those 3rd party releases Jun 30 07:57:29 Leaving it plugged in wears down the battery Jun 30 07:57:39 why? Jun 30 07:57:45 Damned if I know Jun 30 07:57:55 I did my own research on that before Jun 30 07:57:56 there is a specific voltage for li-ion chemistry that results in optimal life Jun 30 07:57:58 leaving a battery at a high state of charge constantly wears it down Jun 30 07:58:05 its abut 3.6 v Jun 30 07:58:10 which is about 4-50% Jun 30 07:58:12 pfn > the charge controller should take care of that Jun 30 07:58:14 40-50 Jun 30 07:58:18 hackkitten, not true Jun 30 07:58:31 the charger wants to keep it charged all the time so you can use it Jun 30 07:58:33 romainguy: Are you familiar with battery life? Jun 30 07:59:25 hackkitten, the charge controller only takes care of not overcharging and temperature management Jun 30 07:59:29 hackkitten: all you wanted to know http://batteryuniversity.com/learn/article/how_to_prolong_lithium_based_batteries Jun 30 08:00:04 so... how can I use my phone for debugging if I can not connect it to USB because that'll charge it? Jun 30 08:00:09 btw, if you bring your MBP into apple for issues with battery, they look to see how often you discahrge it Jun 30 08:00:12 also, I just have this phone for a few months so far Jun 30 08:00:33 just get a phone with a replaceable battery :p Jun 30 08:00:36 :) Jun 30 08:00:40 then keeping it tip-top doesn't really matter Jun 30 08:01:40 but the issue I am seeing is that Android will report battery charge levels of <15%, 60%, 99%, etc. even when I know the battery is charged Jun 30 08:01:51 others have the same issue Jun 30 08:01:57 part of it is due to Android at least Jun 30 08:02:13 by droid-1 always used to report the battery at 10% Jun 30 08:02:27 lots of problems with that phone in that area Jun 30 08:02:29 hackkitten, the battery stats are probably screwed Jun 30 08:02:46 battery level reporting is a fuzzy science Jun 30 08:02:47 yeah, probably Jun 30 08:02:51 true enough :) Jun 30 08:03:06 still my phone will regularly shut off because it thinks that the charge level is <10% Jun 30 08:03:13 since lithium batteries maintain voltage forever, then just drop off to zero and off Jun 30 08:04:47 g00s > that site says that leaving the device plugged into the charger is safe :) Jun 30 08:05:15 hmm Jun 30 08:05:18 in-so-far as keeping a battery at 100% charge is good Jun 30 08:06:12 i had a corporate laptop that let you specify hot to charge the battery, wish apple had something like that also Jun 30 08:06:16 *how Jun 30 08:06:32 if you have the laptop plugged in all the time, may as well discharge the battery to 40% and take it out Jun 30 08:06:39 but of course, you lose your UPS Jun 30 08:06:41 :) Jun 30 08:06:44 Yeah, but then how would they make money on users having to buy new batteries? ;) Jun 30 08:06:45 hackkitten, Commercial chargers do not allow changing the charge voltage limit. Adding this feature would have advantages, especially for laptops as a means to prolong battery life. When running on extended AC mode, the user could select the “long life” mode and the battery would charge to 4.00V/cell for a standby capacity of about 70 percent. Before traveling, the user would apply the “full charge mode” to bring the charge to 100%. Some laptop manufact Jun 30 08:06:45 urers may offer this feature but often only computer geeks discover them. Jun 30 08:07:06 * hackkitten nods Jun 30 08:07:37 pfn: yeah, thats a great feature Jun 30 08:07:46 over the long term, constantly being fully charged reduces capacity Jun 30 08:07:50 i've had my laptop plugged in 95% of the time Jun 30 08:08:16 even if i go to the library, i typically plug it in again Jun 30 08:08:37 even better - would be cool if it let you schedule when you would need full capacity Jun 30 08:08:59 say on wed you go somewhere and need a full charge, but the other days you don't. thats getting too geeky though Jun 30 08:09:08 leaky abstractions confuse people Jun 30 08:09:35 * hackkitten idly spills~ Jun 30 08:14:38 Why would that be geeky? You could even have it base itself on your calendar. Just add a field 'bring laptop', and it'll charge accordingly. Jun 30 08:32:17 hackkitten: i'm trying to implement a custom viewgroup like wp 8 tiles Jun 30 08:33:19 its been quite a struggle; plus i'm limiting myself to what froyo has. needs dnd, movable views, etc Jun 30 08:34:44 :> Jun 30 08:34:50 eww, Froyo~ Jun 30 08:35:02 * hackkitten wishes everyone started using ICS already :( Jun 30 08:35:44 that would be great :) Jun 30 08:35:51 oh g00s, heard anything about WP8 phone release dates already? :o Jun 30 08:35:57 which month/quarter? Jun 30 08:36:11 no. i'm pretty sure its end q3 or q4 Jun 30 08:36:17 ah okay Jun 30 08:36:25 yeah, got to wait a bit... Jun 30 08:36:30 but sounds like I could manage that :3 Jun 30 08:36:43 supposedly WP8 hardware is going to be a lot more powerful than WP7 anyway Jun 30 08:36:54 hackkitten: you know they have native c++ right ? but you can't use opengl Jun 30 08:37:04 I knew about the C++, yes Jun 30 08:37:10 so it's somewhat limited? Jun 30 08:37:13 d'aww :( Jun 30 08:37:16 well, beats using JNI :P Jun 30 08:37:27 * hackkitten stabs JNI with a rusty spork Jun 30 08:37:34 you would have to use directX Jun 30 08:37:40 oh Jun 30 08:37:49 i'm assuming you are doing games Jun 30 08:37:51 so you can do GPU native stuff? :D Jun 30 08:37:53 as well Jun 30 08:38:06 does it have programmable shaders? Jun 30 08:38:27 no idea, i'm not a 3d person :| Jun 30 08:38:34 otay :3 Jun 30 08:38:40 how do I know how many bytes is one frame of audio (regarding audiotrack.getPlaybackHeadPosition) :E Jun 30 08:45:59 44444444444444444444444111110 Jun 30 08:46:02 damn cat Jun 30 08:46:08 :p Jun 30 08:47:27 QubeZ: better cat than dog doing this... less slobber Jun 30 08:48:33 word Jun 30 08:48:55 now she's sitting on my RAZR Jun 30 08:54:53 does anyone know of an open source app or a code refence to interface with a ps3 controller over bluetooth? Jun 30 08:55:28 sanelss: about your question before, you need the rfcomm UUID Jun 30 08:55:31 I know there are a lot of apps to use it as a controller in games but I need something i can access with code Jun 30 08:56:06 well according to this: http://wiki.tinyclr.com/index.php?title=PS3_Controller there is no simple way to do it, esp not in android Jun 30 08:56:20 the "handshake" is a rather non trivial process, it's not just a HID device. Jun 30 08:57:14 To startout you need to use the HCI protocol and write/receive data back and fourth before a connection is ever established Jun 30 08:58:02 I have no idea where to even start on that and I can't find any usefull info Jun 30 09:27:07 hello! I've created a custom WebView in order to allocate some more variables, and I've created a layout to include it: http://pastebin.com/YmRWYmn5 Jun 30 09:27:14 I use this code : https://gist.github.com/3023084 to decode bitmap files. But when the image size goes beyond 3000x2000 pixels, I get a "Out of Memory" exception. Can someone help me out? Jun 30 09:27:55 the problem is that if I do (DownloadWebView) findViewById(R.id.download_webview) it won't find it Jun 30 09:28:07 (it will give null) Jun 30 09:29:30 elegos: Try clean and build Jun 30 09:30:48 napster: didn't help Jun 30 09:31:15 may it be due the fact that I'm trying to get it within the fragment? Jun 30 09:31:26 I've used the onCreateView and then container.findViewById Jun 30 09:33:24 How well does it work for SurfaceView and under what circumstances should I use the drawing cache? I'm currently drawing a lot of small bitmaps to screen in a synchronized block. Jun 30 09:39:19 i'm getting a Permission Denied when trying to open a file in /mnt/sdcard, perms are 554, and chmod doesn't actually change them. How to fix this? Jun 30 09:40:15 jnewt: you probably have owner as root somehow, you should try su to access? Jun 30 09:41:02 themirror, root is the owner, who should be? su root chmod doesn't change the perms either Jun 30 09:41:16 It seems like the ADT is causing kernel panics on my Mac Mini Jun 30 09:42:05 jnewt: idk I've had owner change to root on some bad unmounts - i usually set to my user with chown Jun 30 09:42:31 uhoh, no more Galaxy Nexus for the US :o Jun 30 09:43:09 just temporarily Jun 30 09:43:14 they will sue their way back Jun 30 09:43:15 its google Jun 30 09:43:21 themirror: "my user" is unknown uid 0. i never created a user, and pushed the file i'm trying to access via adb push Jun 30 09:44:17 jnewt: no i mean like chown jnewt in terminal, but I may be wrong Jun 30 09:44:57 chmod doesn't work on sdcard - it's fat, so no real permissions Jun 30 09:45:34 ditto chown Jun 30 09:45:57 jnewt: yeah, I know what you mean, but there is no user jnewt. it seems that i'm not a real user on my android, unknown uid 0 Jun 30 09:46:12 s/jnewt/themirror Jun 30 09:46:27 Android uses different user IDs to sandbox apps - each app (normally) gets its own ID... Jun 30 09:46:44 but again, not on the SD card, because that's typically FAT, and so is pretending to be DOS Jun 30 09:49:05 Leeds: either way, I need to allow access, and I'm at a loss as to how that is accomplished Jun 30 09:49:31 jnewt: what API version are you using? Jun 30 09:49:47 15 Jun 30 09:49:47 also, you're not hardcoding /mnt/sdcard, are you? Jun 30 09:49:54 no Jun 30 09:50:16 Debug.startMethodTracing("calc"); Jun 30 09:50:22 you're trying to read or write? Jun 30 09:50:29 ^^ Jun 30 09:50:54 do you have the WRITE_EXTERNAL_STORAGE permission? Jun 30 09:51:05 READ_EXTERNAL_STORAGE is API16... Jun 30 09:54:54 Leeds: I did read about that, and tried pastebin your manifest Jun 30 09:55:13 1 min Jun 30 09:58:12 http://pastebin.com/YhgTyQJn Jun 30 09:58:38 er, no Jun 30 09:58:45 i figured Jun 30 09:59:18 http://developer.android.com/guide/topics/manifest/manifest-intro.html#perms Jun 30 10:00:10 yes, that is what i used Jun 30 10:00:29 then you misunderstood it Jun 30 10:01:01 you defined your own permission, then granted it to yourself :) you need to use a system permission Jun 30 10:01:28 android.permission.WRITE_EXTERNAL_STORAGE Jun 30 10:01:50 oh, i created a project permission. i see Jun 30 10:02:12 so i only need uses-permission Jun 30 10:02:27 now i get it Jun 30 10:02:28 yes Jun 30 10:03:12 http://developer.android.com/reference/android/Manifest.permission.html is the master list of system permissions - but there are a few which are commonly used Jun 30 10:03:27 Jun 30 10:03:47 no, that's wrong too Jun 30 10:03:50 bah Jun 30 10:04:39 http://developer.android.com/reference/android/Manifest.permission.html#WRITE_EXTERNAL_STORAGE Jun 30 10:04:41 is the new developer console preview worth trying? or will it just be more of web 2.0, ajaxified etc? Jun 30 10:04:42 yup, that fixed me up, thanks leeds Jun 30 10:05:10 romainguy: i know this is your speciality, how well does it work for SurfaceView and under what circumstances should I use the drawing cache? I'm currently drawing a lot of small bitmaps to screen in a synchronized block. Post back whenever, I'll be afk (zzz). Thanks Jun 30 10:05:13 job done, time to go back to bed for a bit :) Jun 30 10:08:28 Why doesn't my app have a cache dir? Jun 30 10:12:53 elegos: Try clean and build Jun 30 10:12:56 I use this code : https://gist.github.com/3023084 to decode bitmap files. But when the image size goes beyond 3000x2000 pixels, I get a "Out of Memory" exception. Can someone help me out? Jun 30 10:13:01 Sorry! Jun 30 10:27:51 anyone have experience of migrating from one developer account to another? Jun 30 10:28:32 i was intending to set one up to push to market this weekend, but may be changing domain in a week or so Jun 30 10:29:20 apparently changing e-mail and URL requires re-registration and a couple of emails to request the transfer / a refund Jun 30 10:32:59 nevermind, ill wait to see what happens re: the domain expiry and get an account after that Jun 30 10:34:29 hi. I am getting null pointer exception and my application crashes. here is my code. http://pastebin.com/kjkyd2Ba Jun 30 10:38:03 best to post the ST rather than the code :P Jun 30 10:38:19 superlinux-hp: we need the ...nm, Jun 30 10:38:42 the what? Jun 30 10:39:00 stacktrace Jun 30 10:39:07 ok Jun 30 10:39:18 we need a bot in here.... Jun 30 10:39:58 bankai_, it would have to be able to reade pastebin to know what was provided Jun 30 10:40:41 i guess it could go by the message, if it contained only "here is my code" and not "here is the stack?trace | here is the logcat" Jun 30 10:40:42 jnewt: i meant more for us to query :P Jun 30 10:40:53 one of my regular rooms has a bot which screen-scrapes page titles when a URL is posted Jun 30 10:40:54 you seen the one in #Java ? theirs is pretty good Jun 30 10:42:01 jnewt, http://pastebin.com/Fz0HACB3 Jun 30 10:42:14 the trace Jun 30 10:42:21 bankai_, been in java a bit, never really noticed it. #electonics has Gigs, which does all sorts of electronics calcs for us Jun 30 10:43:14 my emulator raises the CPU temp to over 70C. how can i lower it? Jun 30 10:43:36 debug on a real device? Jun 30 10:43:46 get a better cpu heatsink? Jun 30 10:43:53 get a better cpu? Jun 30 10:44:13 get more ram if it's running out? Jun 30 10:44:36 i hhave 4GB ram Jun 30 10:44:48 i hav 16 Jun 30 10:45:13 70 degrees isn't that bad Jun 30 10:45:32 no, it's not Jun 30 10:45:41 in this summer it's on a laptop Jun 30 10:46:36 superlinux-hp, you see where your issue is, line 101. which is the login_status.setText by your paste Jun 30 10:47:25 so i'd guess that login_status_result is not set when you call it Jun 30 10:47:48 but it's in the thread Jun 30 10:49:30 wait, login_status_result is in mythread and login_status is on main thread right? Jun 30 10:49:48 correct Jun 30 10:50:02 cos Http won't work but with a thread Jun 30 10:50:46 i'm just now reading up on threads, but i'm pretty sure you can't do that. Jun 30 10:51:21 I'm using a runnable and a handler to update the ui from another thread. it can't be done directly Jun 30 10:52:01 by my experience so far, threads must not touch the interface directly Jun 30 10:52:56 so i set the interface texts through an intermediate variable. and this works with me Jun 30 10:54:56 you need a handler to recieve that variable. just passing from one var to another does nothing. Jun 30 10:55:23 but, if it works for you, the why do you have a problem Jun 30 10:55:54 it works when I receive data into the thread. not other wise Jun 30 10:56:09 you recieve it from where Jun 30 10:57:09 i mean : reading from a widget into an intermediate variable X, then X is read inside the thread Jun 30 10:57:29 jnewt, as such i mean Jun 30 10:58:01 but making the thread send to a widget, this is where i am now stuck Jun 30 11:31:46 hey guys Jun 30 11:32:50 Do you know where could I get technical information about the "JNIEnv * env" pointer structure for the JNI ? I want to recover offsets like "0x2A4" with functions Jun 30 11:33:35 0x2A4 corresponding to "GetStringUTFChars" Jun 30 11:36:23 is there a way to only trace calls in my app package and not drill down through all the java and systm calls? i'm not doing very well with traceview trying to discern why my UI is freezing Jun 30 11:37:01 or to filter maybe? traceview is a bit difficult to use Jun 30 11:43:58 I use this code : https://gist.github.com/3023084 to decode bitmap files. But when the image size goes beyond 3000x2000 pixels, I get a "Out of Memory" exception. Can someone help me out? Jun 30 11:44:49 Could I have c2dm receiver located not in app root package? for ex: "com.myapp.receivers" instead of "com.myapp"? It says me "not found" when I'm trying to register, and perfectly works when my receiver is in "com.myapp" package. Jun 30 11:51:11 im get the distinct impression storing data against the Application context isnt safe, so how should we be making large quantities of data available to other activities? Jun 30 11:51:39 Should every screen of my app be a new activity? Jun 30 11:54:50 it's only been like 4 days of strict keto diet with kcal deficit and training, but I already feel like I have made really good progress in terms of weight and slimness… is that just something about water loss? Jun 30 11:55:11 haha wrong channel sorry Jun 30 11:56:18 Bacta, that depends on how much are shared between the screens. Generally, yes Jun 30 11:58:48 keto \o/ Jun 30 12:01:54 hiho Jun 30 12:02:13 i have a weird problem: i have an activity which has a timer on it and it just does some progressbar showing Jun 30 12:02:33 however if i switch to a different activity, the timer stops (or it doesn't do it onfinished method anymore) Jun 30 12:02:54 oh wait... Jun 30 12:03:00 when does onsaveinstance get called? Jun 30 12:40:33 hey, i'm having a really hard time locating the path to the sdcard on some phones. it seems that Environment.getExternalStorageDirectory() does not return the path i'm looking for on some devices. Jun 30 12:40:44 anyone has some experience with this? Jun 30 12:41:54 what path *does* it return? Jun 30 12:44:29 on my phone it returns /mnt/sdcard and that works fine Jun 30 12:45:03 but i keep getting emails from users that say it returns the path of thier internal memory Jun 30 12:45:52 This is relevant to my interests. There are two sdcards on many phones now. The API indicates only one method. The namespaces are not unified. Jun 30 12:45:59 there are lots of phones which have effectively 2 SD cards Jun 30 12:46:28 Yeah, some phones have an internal "external" storage, as well as an sd card Jun 30 12:46:33 the /mnt/sdcard/internal_sd strategy was imho pretty smart but that fell by the wayside Jun 30 12:46:53 Not sure there are APIs for the actual sd card on those devices Jun 30 12:46:56 thats going to be an issue here too :/ Jun 30 12:47:01 that way at least the namespace was unified, and users hopefully worked out that the path meant the stuff was actually stored internally Jun 30 12:48:16 one obvious problem with that is that you can't access the internal sd without there being some kind of mount of an external card though. Jun 30 12:49:06 but if the roles were reversed, then there'd be no problems Jun 30 12:50:01 watching google i/o keynotes now Jun 30 12:50:14 lot of cool new stuff on jelly beans Jun 30 12:52:53 so... is there a way? Jun 30 12:57:58 if i could locate the DCIM folder on the phone it would be enough Jun 30 13:06:54 Hi Jun 30 13:15:33 Anyone got experience with the ListView? Jun 30 13:17:15 yes Jun 30 13:18:06 Hm, anyone know if it is possible to have normal T9 prediction in an autocompletetextview? (in addition to the custom autocomplete) Jun 30 13:18:16 Bacta: what about asking your questions. it's much faster ;) Jun 30 13:18:43 I want a ListView that uses image URIs from the objects in my ListAdapter Jun 30 13:20:54 Bacta: extend the BaseAdapter and do that in getView Jun 30 13:22:09 Hmm ok Jun 30 13:22:58 Bacta: for showing your images properly, check this article out: http://android-developers.blogspot.jp/2010/07/multithreading-for-performance.html Jun 30 13:23:11 thanks Jun 30 13:23:56 np Jun 30 13:33:47 Can I write binary files on Android? Jun 30 13:40:19 argh... Jun 30 13:40:25 some fragment doesn't want to load Jun 30 13:40:31 but every name seems to be correct Jun 30 13:43:49 is there any better way to debug this than starring at the code? Jun 30 13:47:17 can anyone advise how to get a gradient for TitlePageIndicator similar to that seen in the Google Music app? Jun 30 13:47:52 does anyone know why eclipse "JUNO" can't find my android support library, even if I set up my path in eclipse settings correct up Jun 30 13:48:15 I get this error, when I will create a new project^^ Jun 30 13:49:20 it says I have to install the support library (min rev: 8) but I have revision 9 installed Jun 30 13:50:55 found my error! Jun 30 13:52:45 no one? Jun 30 13:52:49 every body afk? Jun 30 13:53:07 just look through the options if everything is setup correctly Jun 30 13:53:31 sorry, i have no clue what could be wrong Jun 30 13:54:12 thanks, everything looks correct^^ really don't know what could be the problem^^ Jun 30 13:56:32 CreativeDEV: I'd try it with eclipse 3 if I were you Jun 30 13:57:04 4.2 works fine here Jun 30 13:57:08 so that is probably not the problem Jun 30 13:57:11 yeah I have, but saw juno, and thought it would be better^^ Jun 30 13:57:13 ok Jun 30 13:57:45 had seen some comments about issues with 4 - I don't use Eclipse myself... Jun 30 13:58:55 FWIW, I've been running 4.2 for a while as well. Jun 30 13:59:05 watching the keynotes still, that photos thing from events is like....color? hehe Jun 30 14:00:06 tried it with indigo(i beleave it's eclipse 3), but the problem persists Jun 30 14:00:12 I am working on an app that is supposed to run in the background after the phone is booted up. I have the code set up that it is not giving me any errors however the app just installs and it wont run when I "Activate" it any ideas on how to fix this? Jun 30 14:00:41 cythes: what do you mean by "Activate"? Jun 30 14:00:50 Maybe s.o. can try creating a new android - project? Jun 30 14:01:07 Leeds: I mean when I press the volume button down it runs after a "Long" press. Jun 30 14:01:16 huh? Jun 30 14:01:25 what does the volume button have to do with running on boot? Jun 30 14:02:29 It has to do with running after its booted. The Volume button is meant to get the app to run after its loaded in memory. Jun 30 14:03:04 erm... so is the issue with running at boot, or with running on long-press volume? and how are you hooking volume anyway? Jun 30 14:04:31 Leeds: Given the two options I would say its and issue of running after a long press of the volume button. I'm hooking it with: if (keyCode == KeyEvent.KEYCODE_VOLUME_DOWN); Jun 30 14:05:06 okay, you're really not explaining yourself well Jun 30 14:05:21 i also have no clue Jun 30 14:05:28 but i am also not that good with android Jun 30 14:05:43 i never heard of an app that runs at load time on android Jun 30 14:06:20 nah, running at load time is easy Jun 30 14:06:25 Leeds: What do you want to know, I'm new at this xD Jun 30 14:06:52 cythes: describe... summarise... what you think your app lifecycle is, from a device boot Jun 30 14:06:56 Ok, maybe the sdk manager has installed the support package in a wrong directory :D, it's not in that one that the google dev-page says... Jun 30 14:09:14 Leeds: Gimme a couple minutes to think about what this thing does. I'll get back to you then. Jun 30 14:09:22 sure, I won't be here Jun 30 14:11:57 hehe, it was installed in wrong Jun 30 14:12:02 romainguy: Hello world! Can I force a submenu (manual overflow-menu) on my ActionBar? Jun 30 14:12:05 must be an bad error^^ Jun 30 14:17:40 Anyone here know a thing or two about ActionBarSherlock? JakeWharton isn't in, so I can't ask him. Can I force the "overflow menu" to show on the ActionBar, or atleast create my own submenu that acts accordingly? Jun 30 14:25:42 wtf, whats "Debug Certificate Expired [Old-Date] <-- It's an error when I will build /debug my project Jun 30 14:27:02 ok got rid of it Jun 30 14:52:31 Hi guys! Jun 30 14:57:35 <_zoom_> hi, is it possible to format "routes" using non-android app to be opened by google map app? Jun 30 14:57:38 <_zoom_> later Jun 30 15:00:57 i would like to try android 4.1 on an android virtual device but I cant find it http://i.imgur.com/mxC1u.png Jun 30 15:05:39 under: refresh package list a few times, maybe restart SDK manager Jun 30 15:05:43 had the same problem Jun 30 15:08:15 p_l|backup: thanks, now works. Jun 30 15:09:04 I have to say that Eclipse Juno on Windows and on quite powerful machine works fine... :P Jun 30 15:09:15 all things that I don't have Jun 30 15:17:51 nice, they have the 4.1 SDK out Jun 30 15:17:54 when they release that? Jun 30 15:22:14 BankZ: at least yesterday Jun 30 15:22:59 what is the best way to create a partial view like this http://i.imgur.com/42UBI.png ? Jun 30 15:23:27 can viewpager handle childs with different widths? Jun 30 15:23:40 what about the sources? Jun 30 15:24:15 hi. anyone knows what the playstore checks to enable chrome compatibility? Jun 30 15:24:33 I have the following props: http://pastebin.com/raw.php?i=wSJMpLGJ Jun 30 15:27:26 chrmhoffmann: didn't it have problems till recently with tablets? Jun 30 15:27:49 it is compatible with my other tablet. Jun 30 15:34:40 no iea Jun 30 15:35:07 what architecture, the? Jun 30 15:35:09 *then Jun 30 16:21:03 http://www.avaaz.org/en/petition/Cease_all_Stop_US_Funding_to_Nambia_via_the_MCC_until_the_Namibian_Fur_Seal_Slaugther_is_stoppedMCC/ Jun 30 16:33:58 So Jun 30 16:34:17 I am trying to run a configure script Jun 30 16:34:37 Via sh ./configure Jun 30 16:35:33 But i get rm failed for -f around 4 tines Jun 30 16:36:56 And error:working directory could not be determined Jun 30 16:38:50 What are some decent/average percentages of downloads to installs? Jun 30 16:38:59 What do you guys typically see for free apps Jun 30 16:48:58 T-Dub, it depends. It's more of a formula than a number. It depends how long an app has been out, how many people download it a day etc. Jun 30 16:49:12 Yeah I understand that. Jun 30 16:49:16 Also depends the nature of the app. Jun 30 16:49:21 But are there any good estimates? Jun 30 16:49:40 If I'm at 5%, is that like "decent" or horrible. If I'm above 50% is that doing super awesome or shit? Jun 30 16:49:43 Like any rough number Jun 30 16:49:44 30s? Jun 30 16:52:12 Under 20% is not that good. Over 50% is pretty good. I don't know anybody who has an app out for a while who is over 50%. Jun 30 16:53:11 I advertise for one of my apps with banner ads. It has a poor ratio. Which makes sense - you're more likely to keep someone who searches the market for the interest than you are someone who clicks on an ad and decides to try it. Jun 30 16:53:31 So all kinds of variables come into play. Jun 30 17:09:12 h Jun 30 17:09:14 hi Jun 30 17:09:22 ibash: hi Jun 30 17:09:23 [5:04pm] ibash: I need some help Jun 30 17:09:23 [5:04pm] ibash: I get a ClassNotFoundException for my application class Jun 30 17:09:23 [5:05pm] ibash: I've rechecked my manifest / tried different ways of specifying the name, doesn't work Jun 30 17:09:24 [5:05pm] ibash: the class IS there Jun 30 17:09:24 [5:05pm] ibash: correctly named... Jun 30 17:09:24 [5:05pm] ibash: can anyone spot anything wrong? Jun 30 17:09:24 [5:06pm] ibash: github.com/ibash/cumtd Jun 30 17:09:25 [5:06pm] ibash: also tried deleting R.javas Jun 30 17:09:25 [5:06pm] ibash: R.java* Jun 30 17:10:52 I'm really starting to hate android Jun 30 17:11:06 frickin nightmare Jun 30 17:16:01 http://ideone.com/xlvxB i've got a timer that is updating a chart every 200 ms. I've got some reworking to do because my ui keeps freezing. i thought i'd move everything from my Runnable() to the timer run() so that it would run on another thread and then just call myChartView.repaint() to update the ui. but if i move things around in that way, the app crashes. Jun 30 17:16:25 ST coming... Jun 30 17:17:53 why does the app crash? Jun 30 17:18:24 1min, i have to re-run to get the error, i forgot to copy / remember it Jun 30 17:19:51 jnewt: you should not do anything to the ui in a non-ui thread Jun 30 17:20:30 yuizy: a couple of warnings / info, then the Error: E/InputDispatcher( 143 channel '4128c5c8 com.newton/com.newton.main_activity (server)' ~ Channel is unrecoverably broken and will be disposed! Jun 30 17:20:35 yes, with the ! Jun 30 17:22:02 ST of interest: http://ideone.com/Hhb7s Jun 30 17:22:34 i find lots of stuff about js -> java bug in 2.3, but i'm running ICS. i can't find anything that seems to apply Jun 30 17:22:35 you're not allowed to call repaint() outside the ui thread Jun 30 17:22:44 that's why it's in the runnable Jun 30 17:23:34 the timer thread .post to the runnable to update the UI Jun 30 17:24:37 is .post run on ui thread then? Jun 30 17:25:36 x.post calls the runnable on the UI thread Jun 30 17:26:29 i don't think so :o Jun 30 17:26:48 since there is nothing binding it to the ui thread Jun 30 17:29:42 jnewt: you could use runOnUiThread to run the runnable on ui thread Jun 30 17:33:16 getting a class not found in my intent, any ideas on what to check? It's in the manifest, and was working before Jun 30 17:33:17 ... Jun 30 17:33:27 by before I mean months ago Jun 30 17:33:40 check caps, check full names, etc. Something is different. Jun 30 17:34:08 dragorn: getting this for all my classes though Jun 30 17:37:13 I think I may be getting a wrong idea of intents: I want an activity of mine to run when I press the home button, I tried adding to the manifest under the activity I want to run to intent filter as action as android.intent.action.MAIN and category android.intent.category.HOME.. but it does not work. Jun 30 17:37:41 PowerInside: instead of intent category home Jun 30 17:37:50 try android.intent.category.LAUNCHER Jun 30 17:38:01 Jun 30 17:38:02 Jun 30 17:38:02 Jun 30 17:38:02 Jun 30 17:38:51 ibash: That makes it appear in the menu right? I have done that for my main activity.. what I want is another activity in my app to run when i press the home button of my phone Jun 30 17:40:21 like I want to over ride the stock ADW launcher and I want my app's activity to run.. that's what Im trying to do using intents Jun 30 17:40:22 PowerInside: gotcha, am not sure how to do that Jun 30 17:40:26 oo Jun 30 17:40:45 PowerInside: are you creating a launcher? Jun 30 17:40:51 Sort of :) Jun 30 17:41:01 PowerInside: try clearing defaults for the home button on your phone Jun 30 17:41:18 settings > applications> find the launcher > clear defaults Jun 30 17:41:25 I did clear defaults.. nothing is associated with it except the stock ADW launcher itself Jun 30 17:41:28 hm Jun 30 17:41:41 Well I'm making a "locker" application Jun 30 17:41:48 PowerInside: Not sure :/ have never done that, are they any launchers that are open source you can crib off of? Jun 30 17:41:57 Much like the 'fake' fingerprint scanning app.. IDK if you've tried it Jun 30 17:42:31 ibash: Ah, that's a good idea.. lemme see.. Jun 30 17:42:43 ibash: AOSP launcher is the common base of many other (open-source and commercial) Jun 30 17:42:54 s/ibash/PowerInside/ Jun 30 17:43:30 is there an android manifest linter? Jun 30 17:44:42 doesn't the linter in ADT do that already? Jun 30 17:45:23 Found an Open Source Launcher.. ADW itself lol.. https://github.com/boombuler/ADWLauncher2 Jun 30 17:45:56 ADW and LauncherPro both started out from AOSP launcher Jun 30 17:46:30 p_l|backup: Could'nt find AOSP launcher source Jun 30 17:46:54 it's in packages/apps Jun 30 17:47:17 yuizy: that makes sense, but, also contradicts my findings. it will work if all the timer stuff is in the runnable, hence it would have to be on the UI thread. the only thing that causes the problem is when i put the data stuff in the timer run() Jun 30 17:49:09 well, i don't think it would always crash if you update ui from non ui thread Jun 30 17:49:34 ok, so i'll change that and try to see if i can then move the data portions into the other thread Jun 30 17:50:27 getting NoClassDefFoundError Jun 30 17:50:29 any ideas? Jun 30 17:51:33 o.O' Jun 30 17:51:46 second pair of eyes, please? http://pastie.org/4177995 Jun 30 17:53:14 ibash: O_o Jun 30 17:53:18 zinx: what? Jun 30 17:54:37 ibash: that was the second pair of eyes you wanted Jun 30 17:54:52 ... Jun 30 17:55:04 :D Jun 30 17:55:08 fine Jun 30 17:55:21 Is there anyway to remove an app from android market, like deprecate it? Jun 30 17:55:30 I have 2400 users I want to say fuck you too Jun 30 17:55:35 android is impossible to support Jun 30 17:55:51 lol Jun 30 17:56:02 your nickname seems relevant Jun 30 17:56:42 ibash: you haven't said which class isn't found, or in what context that it wasn't found, the .xml you gave is not particularly useful without that info, and may still not be useful Jun 30 17:56:58 ibash: if i had to guess, i'd think it was in one of your layout .xmls, rather than the manifest Jun 30 17:57:09 zinx: all of them are not found, I'm creating a tab activity and setting intents for them Jun 30 17:57:30 I commented out all but the favorites activity intent Jun 30 17:57:38 ibash: unpublish it Jun 30 17:57:47 Kenji: you can do that? Jun 30 17:58:20 ye there is a button in the upper right corner Jun 30 17:58:37 Kenji: awesome, thanks! Jun 30 17:58:55 won't remove it from ppls phones though, just from market Jun 30 17:59:20 ibash: then they aren't being compiled right, or aren't named right in your source Jun 30 17:59:53 (also, "all of them" is not really helpful - there are a LOT of classes in a typical app!) Jun 30 17:59:58 zinx: using ant to build the project, any idea on how that could get messed up? not including jars or anything Jun 30 18:00:06 zinx: sorry, all my activity classes Jun 30 18:00:20 except for my main activity Jun 30 18:00:27 ibash: i've only used Eclipse :( Jun 30 18:01:11 I did too, just can't stand eclipse anymore ;) Jun 30 18:01:30 (and I'm on coffeeshop wifi, would take forever to download...) Jun 30 18:09:23 06/06/2012 08:44 AM 201,266,163 mysid-imm76k-factory-053085b1.tgz Jun 30 18:09:23 06/29/2012 12:08 PM 201,267,095 mysid-imm76k-factory-98d21321.tgz Jun 30 18:09:24 huh? Jun 30 18:09:32 why do I have 2, and why are they different sizes... Jun 30 18:24:49 yuizy: i tried the runOnUiThread(mUpdateResults), and got a concurrentmodification exception. Jun 30 18:25:05 holy fuck Jun 30 18:25:09 found my problem Jun 30 18:25:19 I guess eclipse would magically rename my files on build Jun 30 18:25:22 so I never noticed... Jun 30 18:25:33 I had to do ant release install to point out filename problems Jun 30 18:25:49 cool, glad you found it :) Jun 30 18:26:18 http://ideone.com/wLAch Jun 30 18:27:04 what are the System image packages of the sdk? Jun 30 18:27:13 a vanilla android rom? Jun 30 18:27:52 california has some pretty women Jun 30 18:28:00 if only I were polyamorous... Jun 30 18:28:33 jnewt, you cannot iterate and remove/add elements to a list at the same time Jun 30 18:30:45 pfn: where am i trying to add and remove "at the same time" Jun 30 18:33:19 anyone know why i get select.error: (10093, 'Either the application has not called WSAStartup, or WSAS tartup failed') when i try and run systrace? Jun 30 18:36:29 in my application, i ask the user a few questions like their age. I want this information from the user to be "phoned home" … what are some good/simple options to get this data from the user? setup a TCP server or something? Jun 30 18:37:53 a webservice? Jun 30 18:41:11 hmmmmm Jun 30 18:47:16 romainguy: i know this is your speciality, how well does it work for SurfaceView and under what circumstances should I use the drawing cache? I'm currently drawing a lot of small bitmaps to screen in a synchronized block. Jun 30 18:49:34 hm Jun 30 18:50:08 so I sign an unsigned release apk, but it doesn't create the unaligned apk… where should that be? Jun 30 18:51:27 pfn: i can't finda ny information regarding your claim. can you elaborate? Jun 30 18:53:11 nvm Jun 30 18:53:26 jnewt, you cannot add or remove elements from a list in a for (a : b) loop Jun 30 18:54:23 well that wasn't fun, got to run, maybe finally get to dev-ing later Jun 30 18:54:43 pfn: there's no for loop, how is that applicable. Jun 30 18:54:59 read your stack to see why Jun 30 18:56:00 Instagram went down last night? Jun 30 18:56:14 How can a one billion dollar company only have servers on one coast? Jun 30 18:57:38 Ologn: i guess they were using aws Jun 30 18:57:56 so netflix went too Jun 30 18:58:39 pfn: better yet, how do i fix it? Jun 30 19:00:59 themirror: considering it's the saturday after I/O, romain is probably not around Jun 30 19:01:23 Kenji: are you running JB? Jun 30 19:01:42 mdwright: ye on the emulator Jun 30 19:02:36 Kenji: sounds like a systrace on windows problem Jun 30 19:02:56 mdwright: romain was around last night Jun 30 19:03:07 mdwright: might be, mabye that is not supported Jun 30 19:03:29 I don't know anyone that's tried it on Windows :) Jun 30 19:03:57 g00s: Yeah, though Friday is a work day, so I'm less surprised he was around then. Jun 30 19:03:57 mdwright: true. Oh well. Jun 30 19:04:36 mdwright: it was late am. sometimes he hangs out on sundays Jun 30 19:04:47 Kenji: file a bug, I suspect it should work on Windows and it probably isn't that much work to make it happen Jun 30 19:04:52 g00s: fair enough :) Jun 30 19:05:27 mdwright: ye good idea Jun 30 19:05:59 Kenji: ping me the link once you file it Jun 30 19:06:13 I don't have a spare windows machine or I'd take a look right now :-/ Jun 30 19:07:59 gonna try it on another pc of mine first, in case it is just something with this pc Jun 30 19:08:06 cool Jun 30 19:20:28 the verge gave the nexus 7 really good review / score = 8.8 Jun 30 19:20:39 I heard good things about it Jun 30 19:21:02 maybe a 10" version :O http://phandroid.com/2012/06/29/report-google-also-working-on-a-10-inch-nexus/ Jun 30 19:21:12 * p_l|backup of course won't be getting one till they become so obsolete they'll be waiting for retrocomputing to pick them up... Jun 30 19:21:37 jnewt, you fix it by learning to read your stack traces Jun 30 19:23:42 my phone now runs 4.0.4. That is gonna be API 15 right? Jun 30 19:24:06 yes Jun 30 19:24:11 4.1 was api 16 Jun 30 19:28:04 hmm, why api difference between 4.0.3 and 4.0.4 - what did they add ? Jun 30 19:29:11 g00s: 15 was I think 4.03 Jun 30 19:29:15 *4.0.3 Jun 30 19:29:58 oh yeah, 14 was 4.0 and 15 was 4.0.3 Jun 30 19:31:29 i don't remember seeing much about this http://phandroid.com/2012/06/30/much-improved-google-analytics-for-mobile-developers-app-announced/ Jun 30 19:31:47 thats cool Jun 30 19:34:00 can you set the price for an app less than 99 cents? like 25 cents? or no Jun 30 19:34:07 no Jun 30 19:34:25 not without Google's help Jun 30 19:34:44 that's more along the lines of google setting the price Jun 30 19:34:50 for special promotions only Jun 30 19:35:03 you cannot set it, google can, for their behalf only Jun 30 19:35:18 so its 99 cents and up? Jun 30 19:35:24 for paid apps Jun 30 19:35:44 there was a good talk on marketing / pricing apps at i/o Jun 30 19:35:52 they basically said, 0.99 was pointless if i recall Jun 30 19:36:06 you have no where to go if you want to promote - for a sale for example Jun 30 19:36:11 meaning I should charge more right off the bat fuck what the public says and usually whines about Jun 30 19:36:14 and its usually associated with 'junk' Jun 30 19:36:23 hmmm yea like womens cosmetics Jun 30 19:36:29 in other words, a high price confers more value sometimes Jun 30 19:36:30 g00s, very true Jun 30 19:36:41 any1 dont know title of a movie, it was a bank robbery movie and story depend on leap second insertation? :) Jun 30 19:37:02 ixc, HEAT Jun 30 19:37:10 insertation? Jun 30 19:37:18 hkhalid: r u sure? if it is, big thanks :D Jun 30 19:37:30 doubt it Jun 30 19:37:37 heat was like a gangster movie Jun 30 19:38:28 ixc, hmmm its just my guess sorry Jun 30 19:38:44 i think it isnt :) Jun 30 19:38:49 what is insertations Jun 30 19:39:09 hkhalid: when they add to time the leap second Jun 30 19:39:40 movie was like a master plan for rob a bank (not sure about bank story), and everything depend on this second Jun 30 19:39:47 when atomic hour was 'stopped' Jun 30 19:40:49 i saw it some years ago, and now wanna show it to other, but only remember some big buildings and for leap second :) Jun 30 19:41:01 sorry for off topic :) Jun 30 19:41:29 clockers? Jun 30 19:42:10 no :) Jun 30 19:42:57 i feel maybe i just dream it some years ago :) Jun 30 19:49:33 A lot of sellers suggest a $2.99 price Jun 30 19:50:14 Ologn, even if its a simple 2d game? Jun 30 19:50:18 I'm trying to use a ProgressDialog and am having some issues. The first argument when making a progressbar is "Context". How can I figure out what my application (or Activity's) context is? Jun 30 19:50:21 Because the psychological barrier between free and $0.99 is huge. But once they decide they want it and will buy it, $0.99 to $2.99 is less of a leap. Even if 2/3 of people won't pay the extra $2, you still break even Jun 30 19:50:26 im scared Jun 30 19:52:23 depends a bit on local currency too Jun 30 19:52:50 I don't sell any apps. I just released my first games this month. Their ad click through rate is a lot less, but I can't place ads on them as easily as I can my non-game applications Jun 30 19:57:30 jessicajames: getApplicationContext() Jun 30 19:57:55 or ActivityName.this Jun 30 19:58:03 or just "this" ? Jun 30 20:01:14 yes, sometimes that will work, unless you are inside a subclass that has no context passed to it Jun 30 20:01:18 (i think!) Jun 30 20:08:34 quick question: i am calling a TabActivity as an intent and pass some data to it with intent.putextra(key,value). now, how can i push this data to the sub-activities of that tabactivity?? Jun 30 20:08:57 dont use TabActivity ... Jun 30 20:09:14 why not? i really want to Jun 30 20:09:39 since it is deprecated. i guess there could be some justification for it if you are using Maps and want to use the technique where the map is in a Tab as a new activity Jun 30 20:10:28 ah well i'm working on a school project and they require it to be API level 8 Jun 30 20:10:35 instead, use ViewPage + Fragments Jun 30 20:10:42 with the support library Jun 30 20:10:52 is that available for api level 8? Jun 30 20:11:01 what will work with api 8. yes - my phone is froyo too :) Jun 30 20:11:20 you can also use actionbarsherlock for actionbar tabs; i'm not good in this area though Jun 30 20:11:26 also works with api 8 Jun 30 20:32:33 Dear android Dev, How long is a Long"Button press" Considered? Jun 30 20:36:29 dear android dev, is it true that android 2.1 doesn't support SSL SNA and even 2.3 doesn't support SSL SNI. WTF?! Jun 30 20:37:18 Dear msch, I'm starting a trend :D Jun 30 20:50:20 Guys, I have a linkified textview with setMovementMethod(LinkMovementMethod.getInstance());, the problem is in such case if I set textView clickable and perform click on the link, two actions will be executed: my onClick action and link open. Jun 30 20:50:44 How to enable clicks outside of link but inside textview? Jun 30 21:18:14 on wp 7/8, tiles can 'flip' to show something on the other side. using animations available in froyo, is it possible to do this ? Jun 30 21:20:07 anyone know if I can use images from wikipedia in one of my apps? Jun 30 21:20:14 g00s: yes, there's an example in API Demos Jun 30 21:20:17 or does that violate some sort of copyright? Jun 30 21:20:30 romainguy_: cool, missed it. thanks Jun 30 21:27:45 If you have an SD card that just so happens to be Read only, then calling Environment.getExternalStorageState() should return "mounted read only" not "mounted", correct? Jun 30 21:29:15 it returns "read only" only if the mount point itself is read only Jun 30 21:41:42 yo romainguy_ Jun 30 22:26:13 What's the best way to handle a tabulated layout? I'd like to use the new actionbar method, however I need to retain compatiblity with froyo+ preferably, anyone got any suggestions? Jun 30 22:28:46 I have a Thread A touching a UI thread SurfaceView's Surface via its SurfaceHolder lockCanvas() and unlockCanvasAndPost() methods. What should i do if the latter method is called by A after surfaceDestroyed() finishes executing? I currently have a boolean surfaceValid, but i don't know how to simply unlock the canvas for the next call to lockCanvas() Jun 30 22:31:08 if the surface is destroyed the canvas will be unlocked Jun 30 22:31:18 just release your references to it Jun 30 22:34:04 romainguy_: thanks Jun 30 22:35:41 Is there additional information anywhere on implementing a new LocationProvider? The sdk docs seem to be non existant on it Jun 30 22:39:41 Hi guys - can somebody PLEASE help me with this questions: http://stackoverflow.com/questions/11173927/android-activity-dims-looses-focus-and-freezes-no-error-messages-and-works-af Jun 30 22:44:43 Hi guys - can somebody PLEASE help me with this questions:http://stackoverflow.com/questions/11173927/android-activity-dims-looses-focus-and-freeze s-no-error-messages-and-works-af Jun 30 22:48:28 Guess its not possible Jun 30 22:48:39 It would be nice if it was Jun 30 22:48:43 what me? Jun 30 22:51:05 Hi guys - can somebody PLEASE help me with thisquestions:http://stackoverflow.com/questions/11173927/android-activity-dims-looses-focus-a nd-freeze s-no-error-messages-and-works-af Jun 30 22:53:35 convertView on my ArrayAdapter seems to be reusing visible items... am I crazy? Is this how it is supposed to work? Jun 30 22:54:22 mdkess: have you seen the old romain guy talk from google i/o about effective ui with listview etc? Jun 30 22:55:15 It is not reusing visible items Jun 30 22:56:23 Hi guys - can somebody PLEASE help me with thisquestions:http://stackoverflow.com/questions/11173927/android-activity-dims-looses-focus-a nd-freeze s-no-error-messages-and-works-af Jun 30 22:56:47 Yeah, I've seen that tak luyang. Maybe I'm logging something wrong, I will check. I think I'm following the correct style. Jun 30 22:56:53 mdkess is this what you want http://www.youtube.com/watch?v=wDBM6wVEO70&t=590 Jun 30 22:57:02 renegadeandy: Quit the spam Jun 30 22:57:12 sorry simon Jun 30 22:57:17 i would actually pay to get this problem solved Jun 30 23:00:08 Here is my attempt at solving this problem: https://github.com/mdkess/ProgressBarListView/blob/master/src/ca/kess/demo/DownloadInfoArrayAdapter.java Jun 30 23:01:29 Okay, how about this, is it possible to create a service that can add views to an activity? Jun 30 23:01:50 On the screen, it shows a listview with File 0 ... File 10, as expected. However, the log on line 47 gets repeatedly called, ie. "Setting bar on File 0 to null since it is being used by File 1" (this is without scrolling the list). So maybe I'm just misinterpreting set/getTag? Jun 30 23:01:59 renegadeandy: I'd imagine it has something to do with you dismissing dialogs from a thread Jun 30 23:03:29 but Jun 30 23:03:37 the dismiss dialog is allowed to be dismissed from any thread Jun 30 23:03:42 i am also dismissing it from the UI thread Jun 30 23:03:53 can you suggest a different way? Jun 30 23:04:03 Line 799 is in a thread Jun 30 23:04:06 But ok, if you say it works Jun 30 23:04:19 it works on every other launch Jun 30 23:04:21 except first launch Jun 30 23:05:19 line 799 is actually not the same dialog Jun 30 23:05:34 this problem is on loadingList Jun 30 23:06:17 mdkess: I am gonna try run your code :) Jun 30 23:06:35 Well, make a simple test case that clearly shows what's happening Jun 30 23:06:53 mdkess: Pretty sure listview will call getview a few times for measuring purposes Jun 30 23:07:13 And then populates the list completely Jun 30 23:08:15 SimonVT i dont really have the time to do a small test case - Jun 30 23:08:25 can you suggest a way to submit the dismiss call from a different thread? Jun 30 23:08:36 i mean the dialog does disappear, it just doesnt return focus to the activity Jun 30 23:09:32 SimonVT: So how do I solve my problem? Basically, I want to have a listview of progressbars that get updated by AsyncTasks. The problem is, if I call notifyDataSetChanged every 100ms from 20 items on a list, the list stops accepting touch events. So I figured I'd just keep a reference to the ProgressBar on each item, so I could update that directly. And here I am... Jun 30 23:10:16 I doubt there's even a problem Jun 30 23:10:24 It doesn't reuse already visible views Jun 30 23:10:39 They aren't in the bucket of views to be reused Jun 30 23:10:45 SimonVT did you fully understand my issue Jun 30 23:10:52 why would this only happen on application first launch!? Jun 30 23:10:58 I don't know, renegadeandy Jun 30 23:11:03 the code works without change every single time thereafter.. Jun 30 23:13:11 hey SimonVT , did you go to i/o ? Jun 30 23:13:28 Too far from vermont, I'm afraid Jun 30 23:13:36 :P Jun 30 23:16:01 i watched a few sessions and enjoyed them; much more to watch … and the stuff on the 3rd day was not available live Jun 30 23:16:42 i thought the multiversioning ui session was pretty good Jun 30 23:16:50 Only watched the keynote Jun 30 23:16:56 Haven't really done any android dev lately Jun 30 23:17:07 ah. i got the bullet points of the keynote from the verge :P Jun 30 23:17:16 slept through it mostly Jun 30 23:17:53 SimonVT: were you completing your power engineering degree ? Jun 30 23:17:54 Yeah, kinda hard for me to do that :p Started at like 6pm here Jun 30 23:17:55 eh, some users are saying that their softkey menu button has disappeared in my app after i changed to a post ics build target, any ideas why? Jun 30 23:18:02 I was indeed, g00s ! Jun 30 23:18:07 Got my diploma today actually Jun 30 23:18:14 SimonVT: wow, congratulations !!!! Jun 30 23:18:23 I'm now officially an unemployed engineer Jun 30 23:18:43 Sounds like a bad thing :P Jun 30 23:18:49 But gratulations Jun 30 23:19:02 To get work I gotta send out applications :p So there's that Jun 30 23:19:09 SimonVT: what happened? Jun 30 23:19:27 you graduated? Jun 30 23:19:29 luyang: I finished my bachelor :p Jun 30 23:19:32 yeah Jun 30 23:19:35 Big congrats!! Jun 30 23:19:44 now go get the big profit Jun 30 23:19:44 thanks :) Jun 30 23:20:18 I wish the game I'm working on get's an insane amount of sales, so I don't need to worry about things. D: Jun 30 23:21:14 Kake_Fisk: i was hoping that too, and i'm close to poverty. hope you do better :) Jun 30 23:21:24 :( Jun 30 23:21:38 I have bad graphics, you did not Jun 30 23:21:52 So the question, from my code, what would you expect the value of getProgressBar() to be on the various download items? Because I would expect that for the visible ones, it'd be set to something, for the non-visible ones, it would be set to null, but it seems that it's set to null for all but one. Jun 30 23:22:04 My simple style might save me though Jun 30 23:22:12 I don't have any music either Jun 30 23:22:28 But the game itself is awesome Jun 30 23:22:37 :) Jun 30 23:22:51 I'm not sure how to save data on Android Jun 30 23:22:54 Kake_Fisk: did you watch the i/o sessions on marketing your app ? Jun 30 23:23:09 No, what's that? Jun 30 23:23:18 there were 2 closely related sessions, make sure you see them when they come online Jun 30 23:23:27 :S Jun 30 23:23:32 Where? Jun 30 23:23:41 google i/o Jun 30 23:23:54 oh Jun 30 23:24:13 But aren't they online? Jun 30 23:24:16 https://developers.google.com/events/io/ Jun 30 23:24:46 http://youtu.be/jT9cvFwB_6c maybe that one? Jun 30 23:24:47 Hi. I'm new to android development and I'm wondering if using an android SDK newer than my phones would work? my phone is the galaxy s3 with android 4.0.4 but I cant find a sdk for it, would a 4.1 work on it? or 4.0.3? Jun 30 23:25:29 So, after the user clicks a button, I want a periodic table to open up (full screen, landscape view). But all the periodic table images I'm using seem to get pixelated and ugly and I would imagine could be worse on different devices. Anyone have a suggestion as to how I should appraoch this? Jun 30 23:27:31 maden: you'll need to code for API level 15 and below, which is 4.0.3 Jun 30 23:28:04 ok. is it normal that I can't find the 4.0.4 sdk anywhere? i dont understand why Jun 30 23:30:00 if there's no new or changed APIs, there's no new API level for it Jun 30 23:30:01 4.0.4 is an android version not an sdk level Jun 30 23:30:18 oh ok Jun 30 23:30:37 see 4.03 introduced some new API calls, so there's a version for that Jun 30 23:38:43 hmm, *scratches head* Jun 30 23:38:59 when i enable hardware acceleration, i'm noticing my view is being redrawn in a very tight loop Jun 30 23:39:08 even when idle and ostensibly not being invalidated. Jun 30 23:39:23 is this the intended behaviour of hardware accelerated drawing or do i have some kind of bug in my code here? Jun 30 23:41:11 Any idea how I can reinstall marketplace? Jun 30 23:41:42 why would you need to reinstall it ? Jun 30 23:41:59 It doesn't work anymore Jun 30 23:42:07 clear the cache and data then Jun 30 23:42:08 It crashes when I start it Jun 30 23:42:12 I tried Jun 30 23:42:15 Still the same Jun 30 23:42:22 Kake_Fisk: is this on a commercially available phone? Jun 30 23:42:32 Nope Jun 30 23:42:40 Well, yes. But it doesn't come with Android Jun 30 23:42:56 in that case, you should search for help elsewhere. that is far off topic in here. Jun 30 23:43:24 My original question is not off topic, I believe Jun 30 23:43:33 reinstalling the market? yes, it is. Jun 30 23:43:44 How would I do that then? Jun 30 23:43:51 i said it is off topic. Jun 30 23:43:55 all right Jun 30 23:44:19 Guess I'll just have to do a hard restart Jun 30 23:44:50 Ohh Jun 30 23:45:33 I forgot I was in android-*dev* Jun 30 23:52:56 when making a asynctask - and doing preExecute - when I make the progressdialog it needs a context, where do i get the context from? Jun 30 23:53:03 Because the asynctask is in its own class Jun 30 23:54:06 pass the context to it Jun 30 23:54:45 I believe there's also an Application.getContext(), but you are better off passing it down Jun 30 23:55:39 anyone know the process of connecting to a ps3 controller with android? I'm not talking about just downloading an app i mean code wise? Jun 30 23:58:41 Hey guys. I'm trying to get two viewflipper to show up in the same activity but failing so far. Anyone know how I can get that done? Jun 30 23:59:01 Here's my XML: http://pastebin.com/82pmxFnj Jul 01 00:22:13 Nevermind. Figured it out. Was using weightsum instead of layout_weight Jul 01 01:36:31 Is it possible to pass a reference to an activity as part of an intent? Jul 01 01:37:50 no Jul 01 01:40:12 @JakeWharton you destroy dreams Jul 01 01:40:23 :'( Jul 01 02:06:25 o **** ENDING LOGGING AT Sun Jul 01 02:59:58 2012