**** BEGIN LOGGING AT Thu Apr 12 02:59:58 2012 Apr 12 03:00:35 i think the best way to do that is to use the hdmi port Apr 12 03:00:49 but it might require some investment in hardware Apr 12 03:00:57 and of course the result is a lot better than 10fps Apr 12 03:01:25 How do I access files in /data/data/foo.bar.com/files? adb shell tells me I don't have permission. Apr 12 03:01:43 ldlework: you can't unless you have root Apr 12 03:01:51 so either root your device or use an emulator Apr 12 03:01:55 dang it, well how does adb put stuff there. Apr 12 03:02:10 hmm I wonder how difficult the root procedure is Apr 12 03:02:10 that's a good question Apr 12 03:02:22 depending on your device, not very difficult. Apr 12 03:02:32 got a list of em handy? Apr 12 03:02:34 :) Apr 12 03:02:53 ss galaxy ii anyone? Apr 12 03:04:58 ldlework: flash a kernel that will load root from initrd Apr 12 03:05:10 at least on real (International) SGS2 Apr 12 03:05:53 Chainfire's CF-Root works well Apr 12 03:05:57 (used it recently) Apr 12 03:08:17 sounds scary Apr 12 03:08:25 damn it I just want to read this log file hehe Apr 12 03:10:06 hello im trying to do what list17 in the 4.0 api demos does with my gingerbread compat app. I've copied the layouts, drawables, from the 4.0.3 res but the list item won't activate with the style. What am I missing that ICS has that GB doesnt? Here is all my stuff: http://pastebin.com/SB5CtRXT Apr 12 03:12:47 nvm, linearlayout is iffy about being clicked Apr 12 03:12:58 gotta override dat shiz Apr 12 03:19:27 hello Apr 12 03:19:31 We're putting together an inventory app that will use the GPS offline without a data connection plus take photos, some of which could be dimly lit. Does anyone have a suggestion for a good model? We will buying unlocked without a data plan. Apr 12 03:20:09 what do you mean model Apr 12 03:20:37 i think he means device Apr 12 03:21:14 Yes, device. Apr 12 03:22:23 i guess it depends on the quality of the camera Apr 12 03:23:07 Obviously, what devices have the best cameras :) Apr 12 03:23:34 i guess there's websites for that. this channel isn't really the place for such problems Apr 12 03:23:58 http://en.wikipedia.org/wiki/Comparison_of_Android_devices Apr 12 03:25:34 Ok I just figured devs would have the best insight...will move along Apr 12 03:36:23 anyone done any dev for google TV? Apr 12 03:39:06 does anyone know if ABS supports ListView.CHOICE_MODE_MULTIPLE_MODAL? Apr 12 03:43:39 no Apr 12 03:43:47 yes I do know Apr 12 03:43:49 no it does not Apr 12 03:44:38 damn that would have saved me a bunch of time, will it ever? Apr 12 03:44:42 https://github.com/JakeWharton/ActionBarSherlock/issues/347#issuecomment-5056976 Apr 12 03:44:51 sure, fork the library, implement it, and send a pull request Apr 12 03:45:18 oooo Apr 12 03:45:25 you guys are talking about something interesting Apr 12 03:45:28 just came in Apr 12 03:45:29 care to share? Apr 12 03:46:06 ActionBarSherlock's support (or lack thereof) of batch contexual actions with ListView Apr 12 03:47:32 cooldman224: I have a finite set of time. If I find the time, I'll implement it using a SherlockListView class. Apr 12 03:47:49 until then you can fake it yourself rather easily with a tiny bit more work Apr 12 03:48:00 or you can fork/update/contribute :D Apr 12 03:48:41 JakeWharton, its fine, yeah thats whats im going to do. the abs already goes everything else I wanted Apr 12 03:48:57 the class linked in that comment looks pretty good Apr 12 03:49:06 I imagine mine would be very much similar Apr 12 03:49:18 I am looking at it/checking the project out Apr 12 03:50:36 maybe I'll start offering bounties for feature requests Apr 12 03:52:50 for implementing them, rather Apr 12 03:53:03 like what kind Apr 12 03:53:30 $50 Apr 12 03:53:32 $100 Apr 12 03:53:35 i don't know Apr 12 03:53:45 i'd rather offer for fixing bugs and let me do the new features :) Apr 12 03:53:53 oh wow i wasnt expecting money! Apr 12 03:54:05 what bugs????????? Apr 12 03:54:11 no such thing Apr 12 03:54:15 ha i wish Apr 12 03:54:26 i figured out how to solve one last night at like 2am Apr 12 03:54:31 had to get out of bed and write it down Apr 12 03:55:33 is it standard practice that my activity gets recreated after i return from the app's preferenceactivity? Apr 12 03:55:36 i like those moments but then again they keep me semi awake Apr 12 03:55:51 xorgate: yes Apr 12 03:56:05 http://www.damnlol.com/pics/711/b405d0fa6e5abf946110d9182b67bcfe.gif Apr 12 03:56:07 i guess it makes sense.. in a way Apr 12 03:56:48 whos dumblin? Apr 12 03:57:04 i believe it's a character from lord of the rings Apr 12 03:57:34 yeah, he's Neo/the one from Lord of the Rings Apr 12 03:57:42 flys this ship Serenity around space Apr 12 03:57:53 hey no messing with firefly! Apr 12 03:58:02 harry potter, ok Apr 12 03:58:03 but the computer becomes self aware and starts killing people Apr 12 03:58:15 and then his mom is a deer and gets shot in the woods Apr 12 03:58:25 in 'nam Apr 12 03:59:01 JakeWharton: I hate sleep-debugging Apr 12 03:59:11 JakeWharton: i've been having PCB layout dreams/nightmares for a week Apr 12 03:59:19 haha Apr 12 03:59:23 that's excellent Apr 12 03:59:33 dragorn - with? Apr 12 03:59:39 except they turn into those dreams where nothing works for no logical reason Apr 12 04:00:09 so no matter what way you rotate a square, it doesn't match a square Apr 12 04:01:19 ron_frown: an android-zigbee interface Apr 12 04:08:35 how do I growl from the CLI? Apr 12 04:17:09 did r18 slow down anyone's builds? Apr 12 04:17:15 r17/18 Apr 12 04:17:30 its always been slow :( Apr 12 04:18:24 oh wait we added four new modules Apr 12 04:18:34 I bet that accounts for it Apr 12 04:18:39 i should do a vanilla build to compare Apr 12 04:19:11 I mavenized a shit-ton of standalone components so we just pull in .jars for them rather than compiling on every build Apr 12 04:21:35 hi all,I'm building android from source ,how to change the screen resolution in source? Apr 12 04:24:10 dragorn - sweet Apr 12 04:24:19 ron_frown: hopefully anyhow ;) Apr 12 04:24:19 I've been diving into some pcb shit Apr 12 04:24:27 mainly just approving designs Apr 12 04:24:29 not desinging them Apr 12 04:24:31 ron_frown: http://durandal.kismetwireless.net/~dragorn/images/kisbee-02-00A.png Apr 12 04:25:26 has anyone used parallel tasks in ant? Apr 12 04:42:27 well, i have now Apr 12 04:42:54 sweet, you can answer your own questions then :P hehe Apr 12 04:43:47 does ant suck Apr 12 04:43:49 has anyone tried to put the build scripts (build.xml, *.properties) outside of project base directory? Apr 12 04:43:52 why yes, jake, it does Apr 12 04:44:27 hmm, come on time with an ant question :) Apr 12 04:48:13 looks like our tests use common temporary dirs and thus pollute each other when running in parallel Apr 12 04:48:41 will need to fix that as they account for 60% of our build time when run sequentially Apr 12 04:48:50 probably more Apr 12 05:17:08 hi all Apr 12 05:18:05 ron_frown, HI Apr 12 05:24:31 canadiancow: use ant parallel tasks Apr 12 05:24:48 i shaved off 20% tonight Apr 12 05:25:06 once i fix test pollution hopefully more Apr 12 05:31:50 r18 is out already? Apr 12 05:32:01 yeah on monday Apr 12 05:32:30 ive had trouble with r18 Apr 12 05:32:53 huh, what's new in r18 Apr 12 05:33:11 it's just an r17 bugfix Apr 12 05:33:38 what was the bug, I wonder Apr 12 05:33:50 it's on the website Apr 12 05:33:50 s Apr 12 05:33:55 something about .jars in libs/ Apr 12 05:35:56 there's no need to call onCreate in my onUpgrade for database right? Apr 12 05:36:22 trying to figure out the logic here... i dont think its needed. New users will get onCreate and existing users will get onUpgrade where I just alter the table (adding a new column) Apr 12 05:36:28 I've had problems with 11+ Apr 12 05:39:23 i'm confused with all of samsung's galaxies, notes, and tabs Apr 12 05:39:34 how many fucking things to they have to put out ? Apr 12 05:39:58 tons Apr 12 05:40:08 about 10 diff variants of the regular galaxy stuff Apr 12 05:40:09 n + 1 where n is how many we need Apr 12 05:40:19 then the nexus, the s2 Apr 12 05:40:26 But we need n+2! Apr 12 05:40:37 half a dozen galaxy tabs Apr 12 05:40:39 and then the note Apr 12 05:41:34 galaxy tab 2 7.0 - what a horrible fucking name Apr 12 05:42:08 oh, and then the galaxy players Apr 12 05:42:16 we have one of those here Apr 12 05:42:19 yeah nobody gives a shit about those Apr 12 05:42:34 I need a place to chat with other people modding android roms Apr 12 05:42:43 android-root is kinda a joke Apr 12 05:43:46 "BlackBerry 7 rated as the most secure enterprise-ready OS by Trend Micro" … interesting Apr 12 05:43:58 i guess BB still has one thing going for it :) Apr 12 05:44:21 haha Apr 12 05:44:31 obscurity shouldnt be a security feature Apr 12 05:44:51 well, android is pretty open - and i don't see anyone saying its secure XD Apr 12 05:44:58 it could be tho Apr 12 05:45:14 p_l: is making super secure phones for us :D Apr 12 05:45:22 oh? Apr 12 05:48:04 I am kind of surprised android didnt go with clutter Apr 12 05:49:41 my variant of android is designed to be completely managable from management server Apr 12 05:49:54 imagine 200 android devices being ready for my every command Apr 12 05:49:56 muhahahahahahaha Apr 12 05:50:33 lemme guess your common names Apr 12 05:50:38 'titsup' Apr 12 05:50:41 'balls' Apr 12 05:51:01 'oi' Apr 12 05:51:08 :) Apr 12 05:51:23 none of the above Apr 12 05:51:28 :O Apr 12 05:51:55 haha Apr 12 05:51:59 'oi' was a good guess Apr 12 05:52:12 <_Setsuna_> io Apr 12 05:53:46 I think I just need to finish these projects up so I can get back to my database =) Apr 12 05:55:29 ios Apr 12 05:55:30 boo Apr 12 05:55:52 I like that its more or less c, but the lack of boilerplate stuff really sucks Apr 12 05:55:58 and some of the ui stuff is just completely assinine Apr 12 05:57:38 before: 5m54s after: 3m23s Apr 12 05:57:43 boom? Apr 12 05:57:46 ? Apr 12 05:57:49 build times Apr 12 05:57:50 need more information Apr 12 05:57:52 for? Apr 12 05:58:07 all of Square's android+java + full test suites Apr 12 05:58:32 pft, when your build times are in the range of 90 minutes, then you can brag about optimizing it down to 10 minutes Apr 12 05:58:49 they'll never be that high Apr 12 05:59:03 yeah i cant imagine squares android stuff being all that big Apr 12 05:59:06 how to publish apps on chinese android markets ? Apr 12 05:59:17 screw the chinese Apr 12 05:59:38 let their great firewall handle it Apr 12 05:59:59 poor chinese Apr 12 06:00:22 I was an engineer on a massive global project Apr 12 06:00:24 they put themselves in their own situation with their own rules and laws Apr 12 06:00:28 we were talking about how to scale shit out Apr 12 06:00:34 one of our datacenters was going to be in china Apr 12 06:00:56 our contact in china that was coordinating shit was saying that the internet dont work like it does here... not just because of the firewall shit either Apr 12 06:01:04 eg, if you want to have 3 major isps Apr 12 06:01:27 you'd effectively have to bring pipes in from each one to drop into your datacenter to serve all the customers =) Apr 12 06:01:43 you wouldnt just have some major backbone and let regular ass routers go to town finding best route Apr 12 06:01:44 by the way, bruce lee was not a great fighter. he was a melodramatic pop-star who was full of himself and had a great publicist Apr 12 06:01:55 a great publicist who often lied and embellished Apr 12 06:02:01 i guess you could take him 1 on 1 Apr 12 06:02:07 easily. Apr 12 06:02:20 you must become the bloody pulp Apr 12 06:02:33 show me any tournaments he has won Apr 12 06:02:36 anyway troller be trollin Apr 12 06:02:40 gonna watch daily show Apr 12 06:02:43 naive idiot must be naive. Apr 12 06:05:33 also, chuck norris is a religious wanker who is also a wuss who was made to appear a tough guy by cameras. Apr 12 06:05:58 and then? Apr 12 06:05:59 who cares Apr 12 06:06:03 you ain't got shit on Tony Jaa Apr 12 06:06:21 Except for fake elephants. Apr 12 06:07:11 I do like Jaa's style. Apr 12 06:07:19 Elbows and knees is where it's at. Apr 12 06:07:38 yeah, pretty intense movies Apr 12 06:07:41 wtf Apr 12 06:07:45 I get off topic a lot Apr 12 06:07:49 but this is left field Apr 12 06:08:09 I had the horror of having to watch a Bruce Lee movie last week. Apr 12 06:08:15 It was pathetic and horrible. Apr 12 06:08:49 Fortunately it wasn't the movie where Bruce Lee fought Chuck Norris -- even though my brain is already scarred by the pathetic acting and fight choreography there too. Apr 12 06:09:05 * pragma- wanders off to watch some Pride. Apr 12 06:11:32 BEAR Apr 12 06:12:12 hey Apr 12 06:12:23 * Bear10 meows Apr 12 06:12:29 haha Apr 12 06:12:33 bears meow? Apr 12 06:12:40 think i didn't sleep enough Apr 12 06:12:42 lol Apr 12 06:14:28 Hello Apr 12 06:15:52 <_yakubmobiledev> hello everyone Apr 12 06:15:57 http://developer.android.com/resources/tutorials/hello-world.html O am going through this. I've created the project, but the only files that exist are AndroidHelloWorld > src > com.example.androidhelloworld > AndroidHelloWorldACtivity.java but there is no AndroidHelloWorld.java file per the tutorial Apr 12 06:16:00 <_yakubmobiledev> some one help me what is the use of webApps in android Apr 12 06:16:16 <_yakubmobiledev> where can i use them exactly Apr 12 06:16:31 "Your Android project is now ready. It should be visible in the Package Explorer on the left. Open the HelloAndroid.java file, located inside HelloAndroid > src > com.example.helloandroid). It should look like this:" Apr 12 06:16:52 http://img840.imageshack.us/img840/3876/screenshot2012041201163.png <- this is all I have Apr 12 06:16:55 Please advise Apr 12 06:17:23 _yakubmobiledev: Have you read the "Web Apps Overview" over at developer.android.com? Apr 12 06:17:59 Have I generated the project properly? Apr 12 06:19:06 This is the name for the class stub that is generated by the plugin. This is a subclass of Android's Activity class. An Activity is simply a class that can run and do work Apr 12 06:19:08 <_yakubmobiledev> drlaban; yeah i have read but i dont understand in clear Apr 12 06:19:24 The project that ws generated has a diffrent filename, however it still extends and subclasses from Activity Apr 12 06:19:36 _yakubmobiledev: Do you know what a Web App is? Apr 12 06:19:57 public class AndroidHelloWorldActivity extends Activity <- inside AndroidHelloWorldActivity.java file Apr 12 06:20:07 This is ok? Sorry for noob question Apr 12 06:20:36 <_yakubmobiledev> drlaban:using a html content in the application with the help of a web view Apr 12 06:20:52 <_yakubmobiledev> isn't it? Apr 12 06:20:58 stoned: You're supposed to double click the AndroidHelloWorldActivity.java Apr 12 06:21:05 I am aware Apr 12 06:21:10 Just wanted to make sure this was ok Apr 12 06:21:18 Your Android project is now ready. It should be visible in the Package Explorer on the left. Open the HelloAndroid.java file, located inside HelloAndroid > src > com.example.helloandroid). It should look like this: Apr 12 06:21:39 but you're stoned Apr 12 06:21:40 The tutorial explicitly states that the filename for the generate source class is without the Activity suffi Apr 12 06:21:42 suffix* Apr 12 06:22:04 I just wanted to verify I did it correctly, b/c the generated filename is including the sublcass name Apr 12 06:22:44 http://img401.imageshack.us/img401/5422/screenshot2012041201221.png <- please verify that the generated project structure looks ok. Apr 12 06:24:40 stoned: The suffix is there because you named your activity that when creating the project. In the wizard there's a field 'Create Activity:' where you give it a name. You probably kept the defaults. Apr 12 06:24:51 Ah Apr 12 06:26:46 _yakubmobiledev: I wouldn't say that a Web App is only for showing html content in an Android application through a web view, no. Google Calendar, for instance, is a web app. Apr 12 06:27:35 <_yakubmobiledev> drlaban: do u mean its like a wap site...? Apr 12 06:28:47 _yakubmobiledev: Perhaps a more solid definition would light things up: http://en.wikipedia.org/wiki/Web_application Apr 12 06:29:58 Android simulator takes a while to boot up Apr 12 06:30:05 stoned: It does Apr 12 06:30:09 I gave it 1gb ram in the AVD Apr 12 06:30:15 Don't ask Apr 12 06:30:15 stoned: So just let it Apr 12 06:30:27 here goes my app Apr 12 06:30:29 Yay! Apr 12 06:30:33 It said hello to me! Apr 12 06:30:37 ya ya yayay Apr 12 06:30:56 http://img641.imageshack.us/img641/3068/5554android403avd201204.png Apr 12 06:31:39 Did you guys know that ron_frown is in #iphonedev? Apr 12 06:31:48 <_yakubmobiledev> drlaban: thanks for that but my question is where we use them exatly ..nad why we use them in them in the applciation when we can use them in the browser Apr 12 06:31:49 <_yakubmobiledev> ? Apr 12 06:32:06 * pragma- wishes to report a spy and/or traitor. Apr 12 06:32:23 pragma-: I am in there too Apr 12 06:32:30 is this a problem? Apr 12 06:32:47 * pragma- unleashes a blood-curdling scream and dives under the bed. Apr 12 06:32:49 stoned - do you happen to be stoned from #cars? Apr 12 06:33:07 there is #cars on freenode? Apr 12 06:33:15 ef Apr 12 06:33:17 *shaking head* Apr 12 06:33:35 I have to say, efnet and freenode both have some really weirdly-specific channels Apr 12 06:33:36 efnet is for children Apr 12 06:33:40 not that #cars is weirdly-specific Apr 12 06:33:45 I just wouldn't expect mechanics to find irc Apr 12 06:33:49 Since when are cars open source projects that are peer directed etc. whatever freenode stands for Apr 12 06:34:03 efnet Apr 12 06:34:09 I don't go to efnet Apr 12 06:34:12 _yakubmobiledev: Let's say you don't want/can create an Android app for Android (ie. you don't have the tools for it), one way of getting the app to the platform would be through the Android browser. Apr 12 06:34:13 root66- not mechanics Apr 12 06:34:18 bunch of stoners, and myself Apr 12 06:34:21 car enthusiasts Apr 12 06:34:26 Sometimes I do, but I limit myself to #iphone Apr 12 06:34:32 ron_frown goes to efnet because every now and then he needs to refresh himself by being surrounded with people as dumb as he is Apr 12 06:34:34 oh, so basically people who own "tokyo drift" on dvd Apr 12 06:34:46 pragma- I dont hang out in #php on efnet anymore =) Apr 12 06:34:51 ha Apr 12 06:34:54 'anymore' Apr 12 06:34:56 all the dev channels on efnet are run by assholes Apr 12 06:34:58 self burn. Apr 12 06:34:59 ;) Apr 12 06:35:16 stoned - I use to be an op up in #php for like 10+ years Apr 12 06:35:21 case in point Apr 12 06:35:25 I was just about to say that Apr 12 06:35:25 just kidding ron Apr 12 06:35:27 but php has become a pile Apr 12 06:35:29 <_yakubmobiledev> drlaban:ha ha got it now,.. thanks drlaban Apr 12 06:35:45 people merely seek this social viagra otherwise known as @ on IRC Apr 12 06:36:00 I think its a valuable resource Apr 12 06:36:02 My pee pee works just fine mate. I don't care for @ Apr 12 06:36:10 dumb people use 'merely' to try to sound smart Apr 12 06:36:59 on efnet, for example, if you ask an html5 canvas issue that in some way involves javascript, they run you out on a rail of insults that you are in the wrong channel Apr 12 06:37:10 if you're going to troll, learn to do it w/o failing. Apr 12 06:37:13 ron_frown: html5 canvas issues are off-topic here Apr 12 06:37:17 root66: wrong hcannel Apr 12 06:37:37 :( Apr 12 06:37:38 android has no html5 canvas Apr 12 06:37:42 try elsewhere Apr 12 06:37:54 pragma- sure it does Apr 12 06:37:55 maybe on efnot Apr 12 06:38:10 ron_frown: not while i'm making a retort it doesn't Apr 12 06:38:20 *snap* Apr 12 06:39:03 http://hookerbots.com/drawing/ <-- is it android related if I am ripping off Draw Something? :D Apr 12 06:41:07 Anybody heard of or use PhoneGap for Android dev? Apr 12 06:41:17 I put some thoughtful and helpful instructions in my app, that my users will never read Apr 12 06:41:32 I like your nickname Apr 12 06:41:39 thanks Apr 12 06:41:58 if users can't figure out what to do by the UI, you have failed Apr 12 06:42:14 which is why I rarely implement the menu button Apr 12 06:42:14 pragma-: the app's ui consists of one button Apr 12 06:42:20 Are you talking about ALL users? ...lol Apr 12 06:42:57 its one of those apps that does the work for you, without much foreground interaction. Apr 12 06:43:25 speaking of which, I have to implement some sort of pop-up with an arrow that appears for a few seconds the first time someone starts an activity Apr 12 06:43:42 that points to a button that lets users know they can press it or long press it Apr 12 06:43:45 * pragma- nods. Apr 12 06:43:48 haha Apr 12 06:43:57 an arrow is a great idea Apr 12 06:44:03 I might put one in my instructions Apr 12 06:44:16 thats easy Apr 12 06:45:03 An UI should be a mystery, with longpress-surprises Apr 12 06:45:54 and invisible buttons! Apr 12 06:45:58 Screw that, it should have rewards for holding the button for over 36 hours. Apr 12 06:46:13 * pragma- writes an OnDoubleClickListener interface for his buttons Apr 12 06:46:25 they'll never figure it out! Apr 12 06:46:58 "Achievement unlocked!" Apr 12 06:47:11 yes, I need to add achievements to my simple non-game tool app Apr 12 06:47:51 for my to-do list app, I need to add achievements for adding tasks, completing tasks, etc Apr 12 06:47:54 pragma-: were you the one using messenger? Apr 12 06:47:56 use proximity sensor to sense finger coming towards screen, move ad underneath at last second. Apr 12 06:47:59 vadi2: wat Apr 12 06:48:11 okay Apr 12 06:48:29 * pragma- is The One. Apr 12 06:48:58 Incarceration of personality is the sad inception of self denial. Apr 12 06:49:00 :/ Apr 12 06:49:15 The One. Apr 12 06:49:39 The one that denies the inner self, flees into deception... Apr 12 06:49:44 What does self-denial have to do with dreams within dreams? Apr 12 06:50:12 There can be no dreams within dreams. Such silly yet poetic and feeble human concepts are ... useless. Apr 12 06:50:23 And rather untrue without any scientific backing. Apr 12 06:51:16 Science is just an euphemism for humans bumbling and stumbling over unexpected "discoveries". Apr 12 06:51:41 /join #android-hipster Apr 12 06:51:50 There is nothing else but science, at the end of the day. What else have you? Blind faith? :) Apr 12 06:51:51 Bread goes in the toaster, comes back up browned -- you can't explain that! Apr 12 06:52:12 Hey, if you sit on a tack, you bleed from the ass. Laws of nature you cant' argue with. Apr 12 06:52:22 There's more than one way to bleed from the ass. Apr 12 06:52:33 If you have not gotten to where you're going, you're not there yet. Apr 12 06:52:41 Where do you want to go today? Apr 12 06:52:54 There's an old adage that goes something like this: When you get to where you're going, you're there. Apr 12 06:53:03 Whereever you are, there you are! Apr 12 06:53:14 Exacto mundo Apr 12 06:53:31 I'm glad we had this talk. Apr 12 06:53:52 I as well Apr 12 06:54:38 Ah, now I see this is nice. Creating UI via XML Apr 12 06:54:56 I was hoping that I wouldn't have to hardcore UI controls in Java Apr 12 06:55:14 I hardcore my UI all the time. Apr 12 06:55:14 (per the hello world textview control Apr 12 06:55:22 may I ask why? Apr 12 06:55:26 And if I may, why? Apr 12 06:55:28 Because I'm hardcore. Apr 12 06:55:39 mani just have to encrypt something between java and python... but not sure how to get the same IV :/ Apr 12 06:55:41 Can I ask a question? Apr 12 06:55:56 "You just did." Apr 12 06:56:01 Hunh. Apr 12 06:56:08 Well in that case, can I ask a question after this one? Apr 12 06:56:13 "Sure." Apr 12 06:56:17 what are you, 5? Apr 12 06:56:23 No, you Apr 12 06:56:30 Poopyfac3 Apr 12 06:57:27 I am a quarter of a tench of a millenium added 12 divided by 4 added 3 Apr 12 06:57:29 :/ Apr 12 06:57:34 tenth* Apr 12 06:57:57 Just a month ago I celebrated my latest birthday. Apr 12 06:58:02 ! Apr 12 06:58:07 You only have one birthday. Apr 12 06:58:19 No. i'm reborn every year Apr 12 06:58:26 can you guys take this elsewhere Apr 12 06:58:37 where? #csharp? Apr 12 07:00:14 ron_frown: you say that like it's not the same guy talking on both nicks :) Apr 12 07:00:29 Ha Apr 12 07:00:31 Ha Apr 12 07:00:33 Now what was funny Apr 12 07:00:37 Now what was funny Apr 12 07:00:54 ? Apr 12 07:01:02 He is copying me Apr 12 07:01:05 Liar Apr 12 07:01:14 You copied me before I said it Apr 12 07:01:27 *shakes head* Apr 12 07:01:36 Are we done? Apr 12 07:01:52 Nope, we still need to be flipped Apr 12 07:02:21 So is there any gui genrator designer? Apr 12 07:02:28 or must one do this by hand in java or xml? Apr 12 07:02:35 You could use Visual Basic Apr 12 07:02:44 c'mon be serious Apr 12 07:02:49 Why so serious? Apr 12 07:02:54 c'mon be a dude Apr 12 07:02:59 Dude looks like a lady Apr 12 07:02:59 don't be a douche Apr 12 07:03:03 No man Apr 12 07:03:04 The Dude Apr 12 07:03:14 His dudeness... be the cool dude. Apr 12 07:03:18 * pragma- abides. Apr 12 07:03:27 so any interface designer? Apr 12 07:03:37 Designer interfaces are overpriced. Apr 12 07:03:43 omg Apr 12 07:03:46 c'mon man Apr 12 07:03:50 for real Apr 12 07:04:14 carriage return isn't punctuation Apr 12 07:04:36 lol Apr 12 07:04:39 it can be. Apr 12 07:06:54 http://www.youtube.com/watch?v=KeKcR84bCt8 oh it's in ADT Apr 12 07:06:58 interesting Apr 12 07:08:28 http://www.youtube.com/watch?v=Oq05KqjXTvs Apr 12 07:08:45 that's pretty cool Apr 12 07:11:53 android bootcamp series Apr 12 07:11:54 http://www.youtube.com/watch?v=5RHtKIo_KDI Apr 12 07:12:02 2012.. cool Apr 12 07:26:55 my build is failing when IntelliJ is open Apr 12 07:27:00 if you close it, build runs fine Apr 12 07:29:04 gen/bin folder? Apr 12 07:29:29 yeah Apr 12 07:29:33 i think R.java problems Apr 12 07:29:33 t Apr 12 07:29:34 h Apr 12 07:29:37 ... Apr 12 07:29:40 stupid Colloqueueuey Apr 12 07:29:48 they're both trying to generate it or something Apr 12 07:32:12 JakeWharton> have you considered doing something like HoloEverywhere with ActionBarSherlock? Apr 12 07:32:44 Chainfire: see https://plus.google.com/108284392618554783657/posts/VP8UqDPVjLs Apr 12 07:32:50 in short: never Apr 12 07:33:50 Fair enough. I actually have an article stating much the same thing myself, but a lot of users keep asking me to make my apps holo instead of default :/ Apr 12 07:33:54 Thanks anyway :) Apr 12 07:34:02 I don't think backporting pure Holo is smart. However, basing your styles on Holo is perfectly fine (and I encourage it) Apr 12 07:35:12 The design guidelines are brilliant and Holo is beautiful. I just don't think pure default Holo on Android 2.1 is logical. When we want any kind of styles for any of our apps though we go right to the Holo assets and customize them a bit. Apr 12 07:36:25 What's your opinion on Holo vs DeviceDefault on ICS ? For consistency with other apps, I guess DeviceDefault should be used, but Holo usually looks a lot nicer Apr 12 07:36:49 mew. style the actionbar. I like the black/blue default look... Apr 12 07:37:01 I haven't really seen a device that provided a custom UI yet so I'm not sure Apr 12 07:37:07 It's a tough call Apr 12 07:37:25 Both the idea of a consistent look AND the idea of blending in with the device's theme both appeal to me Apr 12 07:37:38 have you ever used a SGS1, SGS2 or SGNote ? Apr 12 07:37:47 Yes Apr 12 07:37:50 they ported that 2.x UI look directly to ICS Apr 12 07:38:03 ICS versions of these devices look pretty much exactly the same as GB Apr 12 07:38:07 if using DeviceDefault Apr 12 07:38:18 Now I'd say that is a travesty Apr 12 07:38:33 ABS uses Holo, I don't provide a DeviceDefault option (though I probably should) Apr 12 07:39:50 I know you don't, but its still possible to do Apr 12 07:39:54 because I've done it Apr 12 07:39:57 custom roms ftw Apr 12 07:40:04 and since thrown it away because it looked like crap, and stuck to Holo Apr 12 07:40:08 haha Apr 12 07:40:10 that's such a shame Apr 12 07:40:25 moto will fuck it up Apr 12 07:40:29 they fuck with every device Apr 12 07:40:31 my original opinion was indeed to always use DeviceDefault because of end-user consistency, but the ICS builds for SGS2/SGNote really put me off of it Apr 12 07:40:37 crapping on the themes Apr 12 07:41:01 stock ui is best =3 Apr 12 07:41:15 We stick to stock here so I haven't been able to see what it's like. I'll be interested to play with it once officially released Apr 12 07:41:40 I actually kinda lke the galaxy tab 2 ics status bar Apr 12 07:41:48 The Dutch version was officially released earlier this morning, btw Apr 12 07:41:51 so it'll probably be soon Apr 12 07:41:55 http://iclarified.com/entry/index.php?enid=21274 Apr 12 07:41:56 (for SGS2) Apr 12 07:42:10 I'm actually not sure if we have a SGS2 Apr 12 07:42:14 anyways, back to work. Thanks for your work, Jake! Apr 12 07:43:03 samsung actually makes attractive looking UI Apr 12 07:43:32 i think touchwiz is awful Apr 12 07:43:44 i am talking about appearance Apr 12 07:44:11 http://cdn.technostarry.com/wp-content/uploads/2012/02/samsung-galaxy-tab2.jpg Apr 12 07:44:17 its subtle stuff in ics Apr 12 07:44:22 and I like it Apr 12 07:45:58 hairlessmangina: yea touchwiz looks awful too =3 Apr 12 07:51:35 Hey all. Super basic question here, but if I call myMethod(someArray); Will the array be copied? Specifically, I want to pass a huge array representing an image, so I want to make sure it copies by reference! Apr 12 07:55:55 it won't get copied just by the call. what happens inside myMethod is another question Apr 12 07:56:33 hi, i'm trying to use Activity.runOnUiThread(..), but since it's not a static method I need an instance.. But where do I find one? I've seen some talking about Main.this but I don't have a Main class. Any help would be greatly appreciated! note: i'm used to java but noob with android Apr 12 07:58:44 mitch0: Thanks. I know nonprimitives are passed by reference, i just thought there was a possible special rule for arrays :) Apr 12 07:59:50 actually, everything is passed by value Apr 12 08:00:11 what you have there though is an array reference, which in turn is passed by value Apr 12 08:00:33 Apr 12 08:01:11 mitch0: If i'm understanding that right, you pass a value that corresponds to a location in RAM of the array. Or something like that. Apr 12 08:02:01 mitch0: nitoicking is healthy for programmers. Thanks for keeping my sloppy language in check :) Apr 12 08:02:12 s/nitoiking/nitpicking Apr 12 08:03:02 jak: something like that Apr 12 08:03:34 mvno_subscriber: You should have an Activity if you have an app. How is it running without one? Apr 12 08:08:33 krang: i found one activity, but when trying to use MyActivity.this i get an error telling me "no enclosing instance of type xx accessible in scope". fair enough, because i'm in a separate class not connected to the ui. but i need to call notifyDataSetChanged() and can't do so from a separate thread.. so what do i do? Apr 12 08:12:54 mvno_subscriber: Not sure if I'm on the right track here, but couldn't you create an AsyncTask as an inner class in your Activity and have that do the grunt work? When it's done it'll call notifyDataSetChanged. Apr 12 08:13:35 mvno_subscriber: I'm not entirely clear on what's happening, but it sounds like you just need to put your call to notifyDataSetChanged() into a runnable and pass it to yourActivity.runOnUiThread() Apr 12 08:13:54 Have a look at this SO link: http://stackoverflow.com/questions/3669325/notifydatasetchanged-example Apr 12 08:16:21 mvno_subscriber: You do have a reference to an instance of your Activity, yes? I don't use 'this' unless I have to. If you're doing something in a class which isn't an Activity and you need to call an Activity's method (which is very common) then modify your class to hold a ref to an Activity. Apr 12 08:16:59 I end up throwing them into lots of classes. Apr 12 08:17:34 krang: no i don't. maybe it's an idea to pass it, good point :) Apr 12 08:17:58 Normally, I have a constructor that requires an Activity or Context to be passed in. It ends up being needed so often that i just do it by default now. Apr 12 08:18:54 That way you never get caught without one :) Apr 12 08:18:54 genius programmer here. Apr 12 08:19:20 that's why your crappy app is 1.4MB instead of 200K Apr 12 08:19:36 150, actually :) Apr 12 08:20:13 krang: does it matter that my class is running as a service? Apr 12 08:21:04 mvno_subscriber: you can get the content provider from the service context as well Apr 12 08:22:46 Ge0rG: how? Apr 12 08:24:21 servicecontext.getContentResolver() Apr 12 08:25:37 mvno_subscriber: I'm not sure if it matters. As long as the call gets made, i don't see why it would. Apr 12 08:26:04 Ge0rG: hm i don't have that variable.. sorry if i'm asking silly question, i'm pretty new at this Apr 12 08:26:47 krang: ok, guess i'll try passing an activity the way you do it. maybe it's not so clean structure-wise, but i've inherited this weird app and want to break as few things as possible :) Apr 12 08:27:24 mvno_subscriber: Just to confirm, you do *have* a UI, right? Apr 12 08:28:49 mvno_subscriber: I think Ge0rG meant just call getContentResolver(), since a Service is a Context. Apr 12 08:30:20 krang: i don't have that method (the class extends Service). I'm on Android 2.3.3+ by the way, guess I should have mentioned that. Yes, I have a UI - but i'm not very competent on android ui stuff Apr 12 08:32:21 mvno_subscriber: The Service class has a getContentResolver() method. Apr 12 08:32:31 krang: i found my getContentResolver().. i tried typing this.getContentResolver() but it seems i must only write getContentResolver() without the "this".. Apr 12 08:33:26 when my app switch layout from vertical to horizontal, on function is called ? Apr 12 08:33:33 what function is called ? Apr 12 08:34:22 onCreate Apr 12 08:37:04 pragma-: Wait a sec, how *do* you get an app to 1.5MB by writing bad code? Hardcoding bitmap binary data into your source? I've never seen anything that big that wasn't the fault of resources. Apr 12 08:37:34 maxagaz: Yeah, the Activity gets restarted. Apr 12 08:37:38 Snuffel: thanks! Apr 12 08:37:57 how do you make a 200K apk o.O Apr 12 08:40:34 what type of variable should I recycle ? bitmaps only ? image view as well ? Apr 12 08:41:28 storkme: Use few and very small resources :) Apr 12 08:43:30 storkme: I have a 35K one I made once. Apr 12 08:43:45 not sure that should be desirable Apr 12 08:44:37 It was an ugly weekend project. I'm not an obsessive optimiser :) Apr 12 08:46:21 krang: i'm a bit stuck here.. getContentResolver(..) doesn't help me because i don't have the url etc to notify. And i can't seem to squeeze in an activity in my service class as it's created using an intent, so i don't know how to access it before it's started. again sorry if this is a silly question :( Apr 12 08:47:42 mvno_subscriber: Well, if you don't have an Activity, you don't have a UI. Why, then, are you trying to run anything on the UI thread, which doesn't exist? Apr 12 08:50:01 mvno_subscriber: if you have some code that runs regardless of there being an active Activity or not, but you still want to call notifyDataSetChanged() on the UI thread when there is one, just surround it with an if(mUiActivity != null) {} block Apr 12 08:50:34 krang: originally, this service was run in the ui. but as a result, it froze a lot. it uses a BaseAdapter to call notifyDataSetChanged(), so when i try to make it a separate thread it crashes. that's how this whole soup started Apr 12 08:52:02 If it's only to avoid running heavy stuff on the UI you can solve it with ASyncTask Apr 12 08:52:27 May be easier for you Apr 12 08:52:37 http://stackoverflow.com/questions/10009265/rendering-android-webview-to-bitmap-html5-javascript-callback-issue Apr 12 08:54:40 mikellip: apparently asynctask has some bugs when making network requests. at least that's what the original coder told me, so he did it "differently" instead.. Apr 12 08:54:44 Hello! Apr 12 08:54:45 mvno_subscriber: Well, notifyDataSetChanged() only needs to be called to update the UI, so from where you are, I'd check if you have a UI Activity, and if you do, then call runOnUiThread() on it with your runnable that calls notifyDatasetChanged(). Apr 12 08:56:12 christ, why is PackageManager's loadLabel so fucking slow Apr 12 08:56:41 Probably because of people idly passing unneccessary references :) Apr 12 08:57:37 getApplicationLabel(), I mean Apr 12 08:57:40 fucking insanely slow Apr 12 08:57:53 takes 5x longer than getApplicationIcon() Apr 12 08:58:06 I have a vertical horizontal layout and an image view. I want to scale the image to fill the width of the screen and the height to be such that the aspect ratio of the image is preserved. How to do that? Apr 12 08:59:27 Even in a background thread it still slows the whole fucking device down. Apr 12 09:00:42 Hi people Apr 12 09:00:56 Hi person! Apr 12 09:01:05 :) Apr 12 09:01:25 I am looking for examples on AdminDeviceReceiver implementation Apr 12 09:01:37 the rights make me hard Apr 12 09:02:10 :o Apr 12 09:02:37 :o Apr 12 09:02:46 Receiving the Admin Device make you hard? Is that an euphemism? Apr 12 09:04:13 nah, its a hyperbole Apr 12 09:04:30 Getting me hard makes me hard, man. Apr 12 09:06:05 haha Apr 12 09:06:07 yes Apr 12 09:06:20 it makes me very hot as well :) Apr 12 09:07:50 any idea guys ? Apr 12 09:14:53 Oh, I was calling getInstalledApplications(0) every time I did getApplicationLabel() Apr 12 09:15:01 * pragma- cached getInstalledApps and now its faster Apr 12 09:15:15 * pragma- blames getApplicationLabel() for not taking an ApplicationInfo object Apr 12 09:15:46 getAppIcon takes an AppInfo, but not getAppLabel Apr 12 09:15:56 typical inconsistent google interns Apr 12 09:30:05 can you hash an empty string? Apr 12 09:32:52 anyone know a agrument to tool/android or similar, to find out which version I'm on of the tools? this is my build server, so it's command line only Apr 12 09:33:47 My textview won't scroll horizontally unless there is auto-linked text in it. So weird. Apr 12 09:38:02 < jiduvah> can you hash an empty string? Apr 12 09:38:19 oops, I meant to paste that to another channel so we could all laugh at him Apr 12 09:38:25 cheers Apr 12 09:38:33 hi, I just compiled android from source Apr 12 09:38:40 now how do I run it ? Apr 12 09:39:03 harshpb: type 'android.exe' Apr 12 09:39:26 pragma: maybe you can help then Apr 12 09:40:01 I am trying to implement oath 2.0. and I am trying to figure out I should pass in the authorisation header http://tools.ietf.org/pdf/draft-ietf-oauth-v2-http-mac-00.pdf Apr 12 09:40:05 3.2 Apr 12 09:40:07 pragma-, .exe ?? I though it will be 'emulator' or 'android' but there is no such executable created .. Apr 12 09:40:34 harshpb: if you got as far as to compile it from scratch, you can certainly figure out the rest of the steps Apr 12 09:41:15 how to remove and recycle an image set with this: ImageView catMood = (ImageView) v.findViewById(R.id.cat_mood) ? Apr 12 09:41:32 this is what is saying my the docs I am working from "We do require the bodyhash attribute for all requests. If the body of the request is empty, e.g. in the case of a GET request, calculate the bodyhash of the empty string" Apr 12 09:41:36 pragma-, :) Apr 12 09:41:54 maxagaz: define both 'remove' and 'recycle' Apr 12 09:42:33 otherwise you appear to be babbling and very confused Apr 12 09:43:44 pragma-: thanks a lot Apr 12 09:43:49 glad to help Apr 12 09:43:51 harshpb: this is a channel for developing on android, more programming related stuff that is Apr 12 09:44:16 jiduvah: just pick an implementation of the hash algorithm that handles empty strings (I would assume any decent one would) Apr 12 09:44:57 Mikellip, is there a separate channel for developing android (kernel) ? Apr 12 09:45:08 appel1: I am using Mac.getInstance("HmacSHA256"); Apr 12 09:45:52 jiduvah: so what is your problem? Apr 12 09:45:56 pragma-: for example, I have bitmaps stored in Map, I can remove it properly with: Bitmap tmp = chartsBitmaps.get(key); tmp.recycle(); so now, I'd like to do it with other bitmaps set from resource images. Apr 12 09:46:02 its returning null Apr 12 09:47:07 Hm... when I update a Spinners ArrayAdapter, it does not lose it's scroll position. When I update ListViews, it does, and resets back to the top... Apr 12 09:48:12 appel1: any ideas where I am going wrong? Apr 12 09:48:14 jiduvah: getInstance or doFinal? Apr 12 09:48:50 I have been using getInstance Apr 12 09:49:14 jiduvah: so it is Mac.getInstance that returns null? Apr 12 09:49:31 hang on I will paste my code Apr 12 09:50:27 when I pass the empty string and the key, get a byte array using the mac then convert to a string using base64 Apr 12 09:50:32 it returns null Apr 12 09:51:25 man I feel so nervous about writing now with pragma taking the piss Apr 12 09:51:29 obviously I am new to this Apr 12 09:52:32 jiduvah: so you actually get a byte array from doFinal but then when you want to create a base64 string from that whatever method you use for that returns null? Apr 12 09:52:55 pragma-, http://source.android.com/source/building.html says 'emulator' is added to path by default, however it doesnt works for me, any idea, what I could be missing ? Apr 12 09:53:24 appel1: ah yeah sorry. Apr 12 09:53:26 I am updating my adapter by clearing and re-adding though, I wonder if that has anything to do with it Apr 12 09:53:41 jiduvah: so how do you create the base64 string? Apr 12 09:53:42 http://pastebin.com/XZhz4iJt Apr 12 09:54:59 http://tools.ietf.org/pdf/draft-ietf-oauth-v2-http-mac-00.pdf I am having problems with both 3.2 and 3.3 on this spec Apr 12 09:56:51 lol oh man, how hard is it to AES crypt something between android and python Oo Apr 12 09:58:18 jiduvah: strange, looking at the source code Base64.encodeToString can't return null. Are you sure that is what happens? Apr 12 09:59:03 if was only checking the header I was sending actually which showed null, let me investigate further Apr 12 09:59:03 pragma-, ok, i got it, need to install sdk for emulator, thanks. Apr 12 09:59:58 glad to help Apr 12 10:00:05 * pragma- very helpful tonight. Apr 12 10:02:23 pragma-, i think the wiki link above needs to be updated, one who directly visits that page gets confused about where the emulator is coming from .. Apr 12 10:12:39 appel1: so strange as soon as I pass the string back to the calling method it is null Apr 12 10:12:58 if I log from within the hashing method it as a value Apr 12 10:18:43 nah its not Apr 12 10:24:28 appel1: ok so the problem is that I can hash it and get it as a byte array however I am unable to ecodeToString as it throws and error Apr 12 10:29:03 hi, i have implemented a mediaplayer to stream my audio. I have also implemented a mediacontroller. But mediaController.show()is not working. isShowing() always returns false. Here is my code http://pastebin.com/qqxd61Tc Apr 12 10:29:12 Please help Apr 12 10:37:15 does anyone happen to know where in the android code is responsible for flashing the red led when the battery is low? Apr 12 10:39:00 <`z> it's in flashing_penguin.h Apr 12 10:42:15 hmm, i tried disabling the code in BatteryService.java that sends the ACTION_BATTERY_LOW intent, but it's still turning on the red led somehow Apr 12 10:42:29 also disabled the shutdownIfNoPower function there Apr 12 10:58:43 any way to test specific device environments without buying the physical phone? (other than setting properties of the emulator) Apr 12 11:11:32 Should I keep my AsyncTasks inline if they're only to be used in a specific Activity? Apr 12 11:15:39 Anyone? :) Apr 12 11:15:57 n20: yeah use an inner class Apr 12 11:19:09 everytime i build now i get -> Internal Error (classFileParser.cpp:3494), pid=4996, tid=1260# Error: ShouldNotReachHere() Apr 12 11:19:52 if i right click and run as android app its fine, id liek to add a short cut to this but android is theo nly one without one in my eclipse - any ideas Apr 12 11:23:58 jiduvah: what does the error say? Apr 12 11:24:40 java.lang.IllegalArgumentException: key.length == 0 Apr 12 11:25:05 which kind of makes sense considering the original string was empty Apr 12 11:25:49 jiduvah: so it's your key that is empty not the string you want to hash? Apr 12 11:26:10 just call the empty string 0, done. Apr 12 11:26:11 jeesh. Apr 12 11:26:35 oh hai! Apr 12 11:27:35 oh, if you guys don't know about appannie.com, it lists play store rankings in most countries, incl history. pretty nifty! Apr 12 11:28:52 pragma-: the sha-1 hash of an empty string is not 0 Apr 12 11:28:55 Ivru: Any argument pro/con it? :) Apr 12 11:29:15 * pragma- yawns boredly. Apr 12 11:29:44 n20: you're sure you won't have a weak ref on your activity from your asynctask Apr 12 11:31:14 Ivru: Sounds like it comes witha failsafe of some sort. :-) Apr 12 11:31:47 pragma: whats up dude? I am obviously having problems here, its ok if you don't want to help but whats with the shitty attitude? Apr 12 11:32:09 * hackkitten rolls around~ Apr 12 11:38:13 test Apr 12 11:38:23 test failed Apr 12 11:38:50 haha Apr 12 11:40:03 appel1: OK it looks like I am getting somewhere. thanks for your help Apr 12 11:40:09 great Apr 12 11:41:40 I'm having problems with a listview which contains a header and footer. Whenever I add a divider for the listview (and give it a height of 1dp for instance) it will also create a 1dp empty space between the header and the first listview item, without drawing the divider. It does the same for the last item in the list and the footer. I tried the XML attribute 'Header Dividers enabled' and set it to false, but that doesn't change Apr 12 11:51:45 niles11_: have you tried setting android:dividerHeight to 0? Apr 12 11:52:05 I recall having run into that same issue months ago but can't remember what I did to resolve it. Apr 12 11:52:52 Yep I tried that, and that will cause the empty space to be gone, exactly the way I want it. But it will also remove the divider between all the listview items, which I do not want... Apr 12 11:53:52 i've been trying to make my apps look more like the latest web redesign of google + Apr 12 11:53:58 but i cant figure out how to put extra whitespace Apr 12 11:56:41 When I'm updating the ArrayAdapter of a ListView by clearing it / adding / notifying that the data set changes, the scrolling position is reset. Should this be happening? Apr 12 12:04:46 vadi2: what is your setNotifyOnChange? Apr 12 12:05:41 I don't define a custom event for that Apr 12 12:06:27 So I guess what the default is, which I'm not sure about Apr 12 12:06:48 vadi2: it will automatically notify whenever you call add/insert/remove/clear Apr 12 12:07:01 Seems it's on by default too Apr 12 12:07:09 vadi2: so i would imagine that your first clear will cause the array adapter to notify the list view that all data is gone Apr 12 12:07:15 which probably will cause it to reset its scroll position Apr 12 12:07:38 Makes sense Apr 12 12:07:46 if you want to do the notify yourself, then you should set notifyOnChange to false Apr 12 12:07:57 (and you need to set it every time you call notifyDataSetChanged, i think) Apr 12 12:08:03 Yeah... that's a bit odd Apr 12 12:10:17 Awesome, that was it. Thanks a ton Apr 12 12:10:32 pragma-, finally i did it, thanks for sparking :) Apr 12 12:12:03 vadi2: np Apr 12 12:15:28 i always install package on android,but i don't know what exactly dircotry the package is install in,is there a way to find out where it is? thanks Apr 12 12:44:24 having big problems with ant and building a test project that uses a android lib :( Apr 12 12:46:38 anyone able to help me out with my listview adapter problem? Apr 12 12:47:38 niles11_: can it be solved by a drunk bunny Apr 12 12:48:08 * hackkitten hops about~ Apr 12 12:48:36 I hope so, why? ;-) Apr 12 12:50:07 because of the wonderful wizard of oz Apr 12 12:55:34 anyone seriously? Apr 12 12:56:04 what kind of problem are you having? Apr 12 12:59:44 hi guys, does anyone know if there is a way to change the text size when creating a options menu? im currently generating the menu using: MenuInflater inflater = getMenuInflater(); inflater.inflate(R.menu.options_menu, menu); Apr 12 13:04:43 Anyone know what versions of the emulator/emulated OS support connection to a webcam for hardware camera simulation? Apr 12 13:07:02 my problem is the following: Apr 12 13:07:13 I have a listview, with a header and a footer Apr 12 13:07:44 I want a divider between each item, but not between the header/first item and the last item/footer Apr 12 13:08:27 If I add a divider with a height of 1dp, it also adds an empty space of 1dp between the header and the first item Apr 12 13:08:29 you can use the property android:listDivider Apr 12 13:08:36 take a look http://developer.android.com/reference/android/widget/ListView.html Apr 12 13:08:59 android:divider http://developer.android.com/reference/android/widget/ListView.html#attr_android:divider Apr 12 13:09:15 you can specify a color or a drawable Apr 12 13:10:09 yes I know Apr 12 13:10:16 I already have a drawable as a divider Apr 12 13:10:37 and it works great *between* all the listview items Apr 12 13:10:54 but I want no space between the header (XML file) and the first item Apr 12 13:11:30 but this header and footer are textviews? images? Apr 12 13:11:45 so you have to use something static between these elements... Apr 12 13:13:48 the header is another xml layout, with a linearlayout as it's root layout Apr 12 13:16:02 I will try to make a screenshot to show to you what I mean Apr 12 13:20:12 NetoMarin: This is is a screenshot of my problem: http://niles11.dyndns.org/screenshot.jpg Apr 12 13:21:57 I increased the size of the divider deliberately to show you the empty space Apr 12 13:23:24 Hi! Did amazon released in app purchase and micro payments ? Apr 12 13:24:48 hum ok... so, it's a layout above the listview... Apr 12 13:25:02 did you try to set margin and padding to zero ? Apr 12 13:25:32 well I know it has nothing to do with margins or paddings Apr 12 13:26:08 because if I set the dividerheight to 0pd the empy space is gone too, and the listview fits perfectly to the listviewheader Apr 12 13:26:25 can you post your xml or send it to me? Apr 12 13:26:51 oke, which part of the XML do you wan? Apr 12 13:28:59 http://www.bgr.com/2012/04/11/major-android-vulnerability-gives-apps-access-to-sensitive-data-without-permission/ Apr 12 13:29:17 if app A says its files are world readable, app B can read them without special permission (!) Apr 12 13:29:22 zomg android is insecure Apr 12 13:30:54 next security discovery will be that app can use the phone CPU without permission Apr 12 13:31:00 lol Apr 12 13:31:27 i like how its a vulnerability on android that an app can access shared storage without being given explicit permission Apr 12 13:31:38 it can use the display too without permission, that's insecure Apr 12 13:31:39 but on ios, you can access pretty much anything with no explicit permission Apr 12 13:32:06 I saw that the other day, the most important point in that article is that you can send data through GET without internet permission Apr 12 13:32:37 But IMO since a malicious app would rather just request internet permission, it's really of no practical concern Apr 12 13:32:41 theres nothing about that in that article Apr 12 13:32:49 and are you sure about that? Apr 12 13:32:51 Ah, then it's another ;) Apr 12 13:33:04 Thought I recognized the link Apr 12 13:33:24 Yes you can send an URI ACTION_VIEW intent with GET-data Apr 12 13:33:33 without internet permission Apr 12 13:33:35 http://trenchescomic.com/comic/post/translation Apr 12 13:33:36 according to the article Apr 12 13:34:17 man, configuring the ant to build a test project that uses a lib project, it's driving me insane Apr 12 13:35:39 ah here is the link: http://leviathansecurity.com/blog/archives/17-Zero-Permission-Android-Applications.html Apr 12 13:36:31 Most of is, is like you said - "oh no, it can read shared data" Apr 12 13:36:38 it* Apr 12 13:37:12 on Windows noone complains that apps can do pretty much what they want. It is a specificity of mobile device with some outlet specialized in that Apr 12 13:37:45 to the point of stupidity Apr 12 13:37:49 ah the intent... Apr 12 13:37:54 you can launch a browser Apr 12 13:38:00 yup :) Apr 12 13:38:01 that's not quite the same as a raw GET Apr 12 13:38:18 no it isn't, and people with multiple browsers will get notified of what they want to use to open Apr 12 13:38:25 but still it does work Apr 12 13:39:12 But what app comes without internet permission? And what malicious app would do it that way? :-) Apr 12 13:41:53 Anyone interest in trying a Web demo of our Android game created with unity 3d? Apr 12 13:43:03 whats the name? Apr 12 13:43:19 Cosmicube Apr 12 13:43:26 canadiancow|work: yeah, it's such a ridiculous article, and it's ridiculous that BGR reported it. HEY GUYS, DID YOU KNOW YOU CAN GET APP PACKAGES WITH PACKAGEMANAGER? IT IS TRUE!!!! Apr 12 13:43:33 is it on playstore ? Apr 12 13:43:35 Bitbreaker: is it released? Apr 12 13:43:54 Its not released yet Apr 12 13:44:03 I need to send a mac in a header, it seems to calculate a mac I receive a byte array. Would it be correct to then convert that to base64 in order to send it? Apr 12 13:44:16 if someone has managed to setup ant to build a test project that uses a lib, I will kiss you, and then discuss how you made it happen. Apr 12 13:45:19 jiduvah: I don't know, probably? What does the server expect? Apr 12 13:45:22 Try this link http://db.tt/wWWWOSsS Apr 12 13:45:29 havchr: I don't want your kisses. Apr 12 13:45:38 we're kissing now? Apr 12 13:45:53 lov: let's discuss first, then you can run away when I try to kiss you Apr 12 13:46:02 lov: the spec I am working from says this mac = HMAC-SHA1 (key, text) Apr 12 13:46:13 Bitbreaker: uh, that just shows me the source code for your unity page, it doesn't actually do anything. Apr 12 13:46:13 so it doesn't mention anything about base64 Apr 12 13:46:28 thats why I am confused about how I can send the mac Apr 12 13:46:36 jiduvah: right, you MIGHT want to get a bit of clarity as to what scheme to use. That's not really an android question :P Apr 12 13:46:44 it's PROBABLY base64 but you should check. Apr 12 13:46:47 they might want hex Apr 12 13:47:24 well I need to hash something else earlier and its quite clear in the docs that I should use base64 then, but this time it doesn't say Apr 12 13:47:28 I guess I will ask Apr 12 13:47:34 lov: thanks Apr 12 13:48:08 How can I manually give superuser permissions to an app that doesnt request it? (like a text editor) Apr 12 13:48:25 you.... don't. Apr 12 13:48:32 alexramallo: are you asking as a developer or as an end user? Apr 12 13:48:41 if you're asking as an end user, please go to #android or #android-root Apr 12 13:48:53 i am..ok sorry Apr 12 13:49:16 Damn, was trying to do it by phone, standby Apr 12 13:56:02 If I set up the projects like the documentation seems to mean it should be set up, it works in eclipse, but fails when compiling the test-lib from ant, because it can't find the classes from the lib I am using. Apr 12 13:56:47 http://stackoverflow.com/questions/8595006/android-unit-test-using-ant-with-library-project basicly, this issue, but the solutions have not worked for me. Maybe because of some change in the newly released android tools Apr 12 13:56:57 http://dl.dropbox.com/u/35397320/Cosmicube%20web%20demo/WebPlayer/WebPlayer.html Apr 12 13:57:05 Yeah, it's possible that the newest SDKs broke compat. Apr 12 14:03:33 how do you re-create the R.java file? Apr 12 14:04:47 Is there a Java version of this Javadoc? http://www.khronos.org/opengles/sdk/1.1/docs/man/ Apr 12 14:04:58 john_doe_jr: clean the project. Apr 12 14:05:09 john_doe_jr: if the R.java file isn't built, your project has errors. Look in the Problems or Errors tabs in eclipse. Apr 12 14:05:34 most likely it's problems in an xml-file Apr 12 14:07:03 Hi, is it possible to make an Android library include the jni stuff on it? Apr 12 14:07:20 that's kind of a vague question. Apr 12 14:07:27 you can put the shared libs in the library, yes, and they'll be included. Apr 12 14:07:42 lov: well, it states that I'm missing the R.java file....I imported the project into eclipse...is there an android tool that will automatically generate the R.java file? Apr 12 14:07:58 lov: Will they be used by the Android projects using that library as well? Apr 12 14:08:58 10:05:02 < lov> john_doe_jr: clean the project. Apr 12 14:08:58 10:05:14 < lov> john_doe_jr: if the R.java file isn't built, your project has errors. Look in the Problems or Errors tabs in eclipse. Apr 12 14:09:12 so, uh Apr 12 14:09:16 make sure that your project is being automatically built Apr 12 14:09:19 and then try cleaning it. Apr 12 14:09:29 and then the R.java file will be automatically rebuilt. Apr 12 14:09:39 or, you'll see some other error in the console or the error log Apr 12 14:09:56 it's possible that it can't figure out how to use the gen folder, in which case delete the gen folder and make a new one Apr 12 14:10:01 ryden: yes. Apr 12 14:10:39 lov: Do you know how can I make Eclipse pack the jni stuff into the library then? Apr 12 14:10:57 lov: I already made it auto-build it, but it's not getting packed into. Apr 12 14:12:17 ryden: you don't DO anything. You leave the shared libs in the libs dir of your library project. Apr 12 14:12:26 the shared libs should be getting imported into the end project Apr 12 14:12:49 please, be PRECISE in your terminology. Apr 12 14:12:56 "the jni stuff" isn't precise Apr 12 14:13:02 Okay, sorry. Apr 12 14:13:19 ryden: to fix it you have to take the stuff from the sdk and put it in your stuff Apr 12 14:13:40 No need for sarcasm ;) Apr 12 14:15:11 hi, i have implemented a mediaplayer to stream my audio. I have also implemented a mediacontroller. But mediaController.show()is not working. isShowing() always returns false. Here is my code http://pastebin.com/qqxd61Tc Please help Apr 12 14:15:58 ryden: I'm not being sarcastic. I'm being serious. You're being super vague. I don't know if you're asking about shared libs, or native method calls, or what. Apr 12 14:16:32 lov, I was not referring to you, sorry for the misunderstanding. Apr 12 14:16:39 oh whoops Apr 12 14:16:46 you probably need to set a mark somewhere Apr 12 14:16:47 pragma-: be precise! Apr 12 14:16:49 * lov shakes his fist Apr 12 14:18:18 lov: My shared library is in the libs/armeabi directory of my library project. I import its jar in my main project and make use of some class that uses native methods, and I get a UnsatisfiedLinkError because it cannot find the .so file from the library. Apr 12 14:19:06 wait. What do you mean import its jar? Is your .so living inside of another jar? Or are you trying to import the library's jar output? Apr 12 14:19:09 lov: Is there a way to check if the shared library is in the jar at all? Apr 12 14:19:15 then you're not deploying the library Apr 12 14:19:32 do jars contain libraries? I would think you'd need both Apr 12 14:19:42 dragorn: they're glorified zips, so they could. Apr 12 14:19:54 lov, Snuffel: This library includes some java code and some native code. I want the jar to include both the classes and the shared library. Apr 12 14:20:14 lov: well as a container, sure, I just didn't think they did as logic Apr 12 14:20:20 hat should be in a deployment descriptor Apr 12 14:20:22 +t Apr 12 14:20:33 not? Apr 12 14:21:41 ryden: ok, to be clear, your .so files live directly in libs/armeabi in your library project, not inside of another zip. Apr 12 14:21:44 How "soon" does the app page update to show 100 000-X instead of 50 000 - 100 000 when you've passed 100K? :D Apr 12 14:21:45 What jar are you trying to reference? Apr 12 14:21:55 You shouldn't be trying to reference the library output directly from eclipse Apr 12 14:21:58 lov: exactly. Apr 12 14:22:08 you should include your android library in the android section of your project preferences Apr 12 14:22:21 lov: I'm referencing the library output (the .jar file), indeed. Apr 12 14:22:22 n20: as soon as you stop watching. Apr 12 14:22:26 ryden: don't do that. Apr 12 14:22:27 :) Apr 12 14:22:31 lov: I did that for a while :( Apr 12 14:22:37 lov: I will check! Apr 12 14:23:12 ryden: http://developer.android.com/guide/developing/projects/projects-eclipse.html#ReferencingLibraryProject Apr 12 14:23:32 That was it! Apr 12 14:23:34 Love, lov. Apr 12 14:23:39 Thank you! Apr 12 14:30:02 android.content.res.Resources$NotFoundException - android.content.res.Resources.loadDrawable:1735 (File res/drawable/zz_moto_actionbar_bkg.xml from drawable resource ID #0x10803ad) Apr 12 14:30:20 note: i do not explicitly load zz_moto_actionbar_bkg :S Apr 12 14:32:07 moto rola? Apr 12 14:36:05 qwe Apr 12 14:40:46 I'm trying to make a .apk that has nothing but a service in it, so other applications can use this optional service if it happens to be installed... shouldn't an installed apk with just a service in it show up in the "applications" list, or would it not show up unless there's a main activity? Apr 12 14:41:28 it would show up Apr 12 14:41:29 SimonVT i assume so Apr 12 14:41:38 its in a flurry error log Apr 12 14:41:42 then maybe the apk isn't being deployed correctly. Apr 12 14:41:43 abaratican: which applications list? in the launcher or in settings -> apps? Apr 12 14:41:44 But it's stopped until the user explicitly launches an activity in the apk Apr 12 14:42:16 As in, can't run, doesn't get broadcasts, it's like it's not even there Apr 12 14:42:53 SimonVT: don't it get activated if the service is explicitly bound to or started by another app? Apr 12 14:44:20 Maybe Apr 12 14:47:22 Is there any reason to use older versions of the android development platform? Like, grabbing the Android 2.3 platform instead of Android 4.0.x. Apr 12 14:47:36 You'd probably have to know the manifest package and service package/name, instead of just a broadcast Apr 12 14:47:53 NiveusLuna: For testing Apr 12 14:48:12 SimonVT: Okay. Assuming I'm just doing development and someone else is doing the testing, then. Apr 12 14:48:19 Not really Apr 12 14:49:02 So something built against the Android 4.0 platform will work on Android 2.3, as long as I don't use anything specific to Android 4.0? Apr 12 14:49:24 <`z> o.o Apr 12 14:49:31 NiveusLuna: http://simonvt.net/2012/02/07/what-api-level-should-i-target/ Apr 12 14:49:32 I just want to be absolutely sure here, is all Apr 12 14:50:27 Short answer, yes Apr 12 14:50:28 SimonVT: Ah, great explanation. Thanks. *bookmarks* Apr 12 14:50:31 Long answer, read the post Apr 12 14:50:32 =) Apr 12 14:51:11 I try to support people in #fedora, so I prefer to read docs when available. But I'm so new to Android development I don't even know where to start for referencing docs. Apr 12 14:51:13 Thank you. Apr 12 14:51:41 Linux docs, I know where to look. XD Apr 12 14:52:21 NiveusLuna: this might also be useful http://developer.android.com/resources/articles/backward-compatibility.html Apr 12 14:52:56 lov: l2 download adt as a zip Apr 12 14:53:05 lol Apr 12 14:54:02 O_O Apr 12 14:54:32 SimonVT: why does your editor.apply() method work on r7, but not on r4? Apr 12 14:56:18 Ge0rG: api4 will see that editor.apply() doesn't exist, and crash. Api7 will see that editor.apply() doesn't exist, is never going to get called cus of the if, remove that block and log a warning Apr 12 14:58:06 SimonVT: that distinction happens on the device at instantiation time? Apr 12 14:58:42 Yes, by the classloader Apr 12 14:59:03 SimonVT: thanks. That part of android compatibility is not quite well-documented :( Apr 12 14:59:18 Is there a good tutorial for sending bytearrays from C through JNI to a Java functions? Apr 12 14:59:43 If editor.apply() was wrapped in a static class, it would not crash. This is because the classloader sees that the static class exists, but it's never going to load it cus of the if Apr 12 15:02:05 Well, Googles examples usually involve using reflection to call new APIs Apr 12 15:02:42 anyone know some good software for cloning a hard drive to a new, different hard drive? Apr 12 15:03:53 dd? Apr 12 15:04:00 is it that simple? Apr 12 15:04:10 also: must work with NTFS Apr 12 15:04:24 well dd can do a low-level copy but it's almost certainly not what you want Apr 12 15:05:47 if the target partition is at least as large as the source partition, you can go with dd; just don't forget bs=1M or somesuch Apr 12 15:06:13 yeah if ntfs messes with the partition table or other off-partition data you're screwed Apr 12 15:06:24 but i think it can resize, so if it's larger you can copy then expand i'd think Apr 12 15:06:36 im worried it might be smaller Apr 12 15:06:44 then you're fucked regardless Apr 12 15:06:56 well i have a 500GB hdd, and im using ~100GB Apr 12 15:07:04 so if i get a 256GB SSD, everything will "fit" Apr 12 15:07:05 some win-specific tools (ghost?) might be able to handle that Apr 12 15:07:12 why not just copy your files over? Apr 12 15:07:19 i dont want to have to reinstall everything Apr 12 15:07:35 i just want to plug both drives in, start the process, walk away, and have a working system after Apr 12 15:07:56 http://stackoverflow.com/questions/10126358/android-unit-test-using-ant-with-library-project-r18 Apr 12 15:07:57 surely you can just select everything in the root directory and copy it even still? Apr 12 15:08:06 oh rihgt then there's registry BS Apr 12 15:08:19 Ghost does reassign files in the "dead" part of the hard drive for you to a place within the new 256GB size. Apr 12 15:08:21 canadiancow|work: there are tools like ghost or whatever if that's even still around Apr 12 15:08:29 yea im just not sure if it's still around Apr 12 15:08:37 Doing just a file copy will make you reinstall everything. Apr 12 15:08:39 also i'd prefer free :P Apr 12 15:09:01 Jonathan_Eyre: surely a copy plus registry copy wouldn't, though Apr 12 15:09:01 Ghost comes free* in Hiren's boot CD/USB stick. Apr 12 15:09:50 well i'll tkae a look at that, thanks Apr 12 15:10:02 If you copy files, you are going to mis a lot of stuff, such as partition data. If you transfer on the byte level, your partition will not fit. Apr 12 15:10:22 well i dont know if the new drive is smaller Apr 12 15:10:22 read: Use Ghost. Apr 12 15:10:30 im just assuming that im not going to be getting a 512GB SSD Apr 12 15:10:45 do they even make 512GB ssds? Apr 12 15:10:52 oh can NTFS shrink? Apr 12 15:11:00 ntfs can shrink - good point Apr 12 15:11:18 jsut watch out that you're not a few bytes over :p Apr 12 15:11:41 NTFS will "shrink" only if you use a program that will reassign files in the DEAD section to a place that is within your new partition. Didn't I say that already? Apr 12 15:11:44 this is assuming ntfs isn't so broken that even a low-level copy doesn't get all the bits Apr 12 15:12:10 Jonathan_Eyre: no, shrink _in place_ Apr 12 15:12:16 then copy the shrunken partition Apr 12 15:12:38 oGMo you mean compress files? Apr 12 15:12:49 well you cant just shrink if there are files sititng at the end Apr 12 15:12:50 KungPhoo: he's not using the full extent of the partition Apr 12 15:12:52 but ive shrunk before Apr 12 15:12:58 Are we zipping or creating a smaller partition? Apr 12 15:13:05 canadiancow|work: right it should essentially defrag during the shrink Apr 12 15:13:18 yea ok so i'm all good then :) Apr 12 15:13:25 Jonathan_Eyre: we're saying "take this 500GB partition of which i'm using 100GB and make it 150GB" Apr 12 15:13:43 ah. That theoretically works Apr 12 15:13:52 this is entirely before any copying takes place Apr 12 15:13:52 do backup, though Apr 12 15:14:01 yeah who the hell has media to back up 100GB heh Apr 12 15:14:07 i do? Apr 12 15:14:13 who DOESN'T ??? Apr 12 15:14:18 who doens't? Apr 12 15:14:21 you dont have another hard drive with 100GB free? Apr 12 15:14:36 THAT is not shrinking. That is creating a smaller partition, in which case, anything past 100MB is either going to be lost or is going to need to be reassigned somewhere within the 100MB mark. Apr 12 15:14:44 oh, i suppose i do have a few 1TB externals actually Apr 12 15:14:53 Jonathan_Eyre nah, Windows will move the files Apr 12 15:14:58 Jonathan_Eyre: you are not grokking Apr 12 15:15:18 even GParted will Apr 12 15:15:47 though really a tool like ghost is still your best bet, but eh Apr 12 15:16:28 Move files, yes, but to other places that it has room for. It won't avoid free space at the end of your partition unless you use a third party software. And even then, you will NOT be able to make the partition smaller without recreate the partition data at the beginning of your harddrive. Apr 12 15:16:59 Anyway, yeah, use Ghost. I wish I had thought of that. Apr 12 15:17:15 uhm. It will move the files in the new 150 GB partition space, then resize zhe partition Apr 12 15:18:53 hopeless Apr 12 15:19:20 Perhaps I am not familiar with the Windows process. Usually they strongly recommend moving the data to somewhere safe, and them want you to reformat a new partition. GParted and Ghost will move the files for you. Apr 12 15:20:32 it's not particularly windows. if you move all your data so it's within the first 150GB, then edit the partition table to say it's 150GB, your previously 500GB partition has become 150GB with 350GB of free space following it Apr 12 15:20:57 many filesystems are capable of this Apr 12 15:21:46 I would not want to bit twiddle my partition without a trusted third party tool. But obviously, if a tool can do it, so can you. In either case, good luck with that. Apr 12 15:22:19 right, but the windows partition tool does all of this for you, or gparted, or similar Apr 12 15:22:36 though it's obviously still riskier than a simple ghost Apr 12 15:22:38 anyway Apr 12 15:22:39 android :p Apr 12 15:23:08 it's possible to entirely obtain a GL context from C land now right, and this is done via a shared library? Apr 12 15:23:20 If they say so. You would not want to do it on the live "booted" partition. You have to do it from another computer. But, yeah... Android. Apr 12 15:23:46 Jonathan_Eyre: yeah i think you'd have to plug it in non-live Apr 12 15:24:38 Hello i have a game with a SurfaceWiew and a thread. What is the simplest way to create a game-over screen? Apr 12 15:24:51 o.o Apr 12 15:25:05 Duke_Puke: probably by writing code Apr 12 15:25:20 No really, that didn't occur to me Apr 12 15:25:44 but is it ok to start a new activity or is there a way i can fit it into a thread? Apr 12 15:26:42 er generally you would be handling the in-game transition logic and similar yourself, not via higher-level android things Apr 12 15:27:55 with absolutely no details about what you're doing or how any of your code works .. Apr 12 15:28:06 I want to pull data from two tables, sorted wrt. two columns and display the result in a list view. Till now I was using MergeCursor to merge the two cursors but i just saw that merge cursor give no regard to order of results. Apr 12 15:29:11 is there any good way to do the same except writing my own inefficient wrapper to merge the results from two cursors? Apr 12 15:29:42 oGMo: Ok, I might have done something terribly wrong but i have written all my graphical code in the overridden method onDraw() is it ok to leave it empty? So i can render many canvases with the same method Apr 12 15:31:52 leave what empty? Apr 12 15:32:27 hello all Apr 12 15:32:29 and if this is part of a class that extends your canvas view, instantiating a new copy will use the same override Apr 12 15:32:46 has anyone run into this before: java.lang.IllegalArgumentException: parameter must be a descendant of this view Apr 12 15:33:09 i'm switching from an image gallery to Facebook to share something then switching back to my app Apr 12 15:33:22 are you accessing a protected property from outside the same containing class? Apr 12 15:33:28 but it only shows up after a Rhythm ad Apr 12 15:36:11 rome? Apr 12 15:36:13 root666 I meant that I would write metods for the game and the game-over screen both would return a canvas and then take this canvas and pass it into onDraw Apr 12 15:36:28 root66: are you talking to me Apr 12 15:36:58 yes Apr 12 15:37:31 um I'm not sure if I'm accessing a protected property Apr 12 15:38:22 I'm not accessing anything from inside the gallery when I'm in FB Apr 12 15:38:25 I don't think Apr 12 15:39:49 I'm trying to get the contents of a file in my NDK library. From what I can tell, I'm supposed to use my C function to call a Java function to read my file using Java File IO and then pass the binary stream SOMEHOW back to my C function. Does anyone have an example of this working? Apr 12 15:40:21 um…you should use JNI Apr 12 15:40:47 so write your java like getData() then write a JNI class that talks to the C Apr 12 15:41:32 Right, JNI. I can run a java function using JNI. I can do that. But how do I pass a binary block of data to my C function? Apr 12 15:41:40 Would it be better to just use fopen? Apr 12 15:41:56 do you have fopen in the NDK Apr 12 15:42:10 The whole JNI handshake seems to be a little elementary. Apr 12 15:42:13 its been too long since I have done NDK stuff Apr 12 15:43:10 Jonathan_Eyre: arbitrary binary block? byte[] Apr 12 15:43:18 http://stackoverflow.com/questions/4247002/passing-string-from-java-into-jni Apr 12 15:43:23 Jonathan_Eyre: ^^ Apr 12 15:43:30 Jonathan_Eyre: nothing says you can't use fopen in C however and read the file directly Apr 12 15:43:45 Jonathan_Eyre: I would either read it in java and pass bytes to C, or read it in C and pass parsed to java Apr 12 15:43:56 don't bounce into C and then back into java and then back into C Apr 12 15:44:01 you use jobjects and pass a pointer/reference Apr 12 15:44:10 err no Apr 12 15:45:08 Jonathan_Eyre: look at this http://java.sun.com/developer/onlineTraining/Programming/JDCBook/jniexamp.html Apr 12 15:45:54 hi, i have implemented a mediaplayer to stream my audio. I have also implemented a mediacontroller. But mediaController.show()is not working. isShowing() always returns false. Here is my code http://pastebin.com/qqxd61Tc Please help Apr 12 15:48:21 dantheman: Does that JNI example use libraries that are available on Android? specifically Apr 12 15:48:34 google is your friend Apr 12 15:48:40 har :) Apr 12 15:48:45 sorry I have my own bugs to work out Apr 12 15:49:27 look at the NDK docs…I know libbionic is not lib c Apr 12 15:49:42 so you don't have everything that you think you should Apr 12 15:50:46 IR blaster on the new samsung galaxy tab Apr 12 15:50:48 interesting Apr 12 15:50:51 but i'd prefer that on my phone Apr 12 15:51:13 canadiancow: I keep thinking I want to make a bluetooth to ir blaster Apr 12 16:12:20 I am running proguard against my app, I've tried including this (https://plus.google.com/105051985738280261832/posts/K1tGvKG1NYv) however I still get these type of errors: http://pastie.org/3774960 Any thoughts or suggestions? Apr 12 16:15:42 hi all Apr 12 16:16:52 I am trying to create my own title bar ... Do I have to create my custom style for it ? Apr 12 16:16:59 developernotes: you can try -keep class .** Apr 12 16:17:16 like my google api's I put: -keep class com.google.api.client.googleapis.** Apr 12 16:18:14 QubeZ: This is what I've been trying (http://pastie.org/3774988) and I still get those results. Apr 12 16:18:28 aLeSD: yes Apr 12 16:20:31 QubeZ: the strange part is that when I open the android compat. library it, I can see the FragmentCompat class does an import of android.app.Fragment which is really under another package in the compat jar. Apr 12 16:20:44 Not sure if that's why it's getting hung up or not. Apr 12 16:23:12 developernotes: wich sdk level are you targetting? Apr 12 16:23:36 wongk: 13 Apr 12 16:24:23 well that's unusual Apr 12 16:24:32 13 has android.app.Fragment Apr 12 16:25:12 wongk: I've got my minsdk set to 7. Apr 12 16:26:03 developernotes: that should not be relevant for this purpose Apr 12 16:26:26 wongk: ok, that's what I thought Apr 12 16:28:53 wongk: where I could find all the params I can set ? Apr 12 16:29:50 maybe proguard is eliminating the class, what happens if you "-keep class android.app.Fragment" as a test Apr 12 16:29:52 Yeah, it is strange. I can see proguard reading in the android compat. jar before it starts spewing out those error messages. Apr 12 16:29:57 aLeSD: in the docs Apr 12 16:30:39 lol Apr 12 16:30:42 ok Apr 12 16:32:23 wongk: I still get a slew of these (http://pastie.org/3775068) when I add "-keep class android.app.Fragment" Apr 12 16:32:53 huh, well i don't know enough about proguard to assist further, i'll have to defer to others Apr 12 16:38:25 wongk: thanks Apr 12 16:42:46 hello Apr 12 16:42:52 finally Apr 12 16:46:30 hey :) anyone here developing android apps using flash builder as air apps hooked into native extensions? Apr 12 16:46:43 if so, any advice on how to debug custom native extensions? Apr 12 16:46:54 hello Apr 12 16:48:05 does any1 know IIREDALERT he created a camera app turn picture into 3d Apr 12 16:51:07 that sounds like something facebook might just pay 1 billion dollars for! Apr 12 16:51:53 i can't believe FB paid $1b for instagram Apr 12 16:51:56 im still shocked Apr 12 16:52:16 that will be forever shocking Apr 12 16:53:41 whats instagram Apr 12 16:53:50 nm i remem Apr 12 16:54:13 anybody know how to get your ap to facebook Apr 12 16:55:14 there's not some method hiding in an Activity that i'm overlooking already that tells you if it's between onResume() and onPause(), is there? Apr 12 16:55:48 (I of course can track this myself, but making sure it doesn't exist) Apr 12 16:56:44 if there i couldn't find it when i looked for it :P Apr 12 17:00:45 wongk: what kills me Apr 12 17:00:51 is that instagram only released for android like last week Apr 12 17:01:44 readme: of all the things about that situation to 'kill you', that's what you pick? :P Apr 12 17:04:52 has anyone used at&t billing before? Apr 12 17:11:11 Hi.. have a little question.. is there sth equivalent to android:inputType = "numeric" for floating point numbers ? Apr 12 17:14:55 has anyone here written anything using the Rhythm SDK for ads? Apr 12 17:16:42 Would it be possible to get Android Location Class and pass your own longitude and latitude values? Apr 12 17:16:57 Is the proguard documentation here http://developer.android.com/guide/developing/tools/proguard.html a bit outdated? the project.properties file has instructions that are not 100% congruent with it Apr 12 17:17:32 well, build successful Apr 12 17:18:23 readme: afaik, proguard.jar was updated, and you are no longer supposed to include the whole proguard config in your local config Apr 12 17:18:35 lint should give you a warning telling you exactly what to do Apr 12 17:18:45 oh, I was doing it cmdline Apr 12 17:18:54 i suppose I can run lint from cmdline too Apr 12 17:18:57 I should look that up Apr 12 17:19:02 you can run lint on the command line as well Apr 12 17:19:09 anyway my build went fine Apr 12 17:19:13 are any of you graphic designers Apr 12 17:19:13 I just had to uncomment one line Apr 12 17:19:16 that was all Apr 12 17:19:39 L337_One: I'm capable of using inkscape and making graphics, but I am not a professional designer. Apr 12 17:19:56 building might work, but you need to test that no classes got stripped of obfuscated that now cause runtime errors Apr 12 17:20:20 L337_One: same, i can use inkscape and gimp to some degree, but not a designer Apr 12 17:21:40 lol Apr 12 17:22:02 anyone knows how to capture drawing actions? Apr 12 17:22:48 Hey L337_One, are you actually a dev? Apr 12 17:24:41 he is the l337 one, he doesnt need to dev, he just thinks it and its done Apr 12 17:25:30 hello, I don't understand how to get the 4.0.4 emulator in Eclipse Apr 12 17:25:40 I updated ADT to r18, and the plugin for Eclipse Apr 12 17:25:44 You must meditate on it. Apr 12 17:25:51 Be one with the emulator Apr 12 17:25:54 still, 4.0.4 doesn't show up in ADT updates list? Apr 12 17:26:08 Where are you looking? Apr 12 17:26:13 The Android SDK Manager window? Apr 12 17:26:16 yes Apr 12 17:26:21 I don't see it either, it might just not be out yet Apr 12 17:26:28 trololol Apr 12 17:26:33 i thought 4.0.3 was the latest Apr 12 17:26:38 it is Apr 12 17:26:44 but I read about the improved GPU support in 4.0.4 Apr 12 17:26:48 er Apr 12 17:26:48 anyone knows how to record the drawing calls ? Apr 12 17:26:55 can I enable hardware GPU in 4.0.3 as well? Apr 12 17:26:55 are you sure you're not thinking of the SDK Tools? Apr 12 17:27:01 that doesn't make it released Apr 12 17:27:07 buddhabrot: blogs almost always get the details wrong on anything having to do with android dev Apr 12 17:27:29 http://android-developers.blogspot.com/2012/04/faster-emulator-with-better-hardware.html Apr 12 17:27:34 says nothing about 4.0.4 Apr 12 17:27:58 birbeck: inkscape :) Apr 12 17:28:06 i love the interpolate feature Apr 12 17:29:11 does anyone know a good tutorial for compiling and running the examples of andengine? i am having a hard time with errors all over the place. Apr 12 17:30:27 is there a way to set a File instance to Context.MODE_PRIVATE without calling openFileOutput()? Apr 12 17:31:19 3541 line refactor, and all my tests finally pass again Apr 12 17:32:10 in one commit =O Apr 12 17:32:18 :) Apr 12 17:32:30 it wasnt something i could really break into parts Apr 12 17:32:35 s/refactor/rewrite/ Apr 12 17:32:41 but i did it in a branch and committed along the way Apr 12 17:32:53 but now im putting up my code review Apr 12 17:33:09 readme: yeah, i rewrote the api service layer Apr 12 17:33:15 someone elses code? Apr 12 17:33:22 no Apr 12 17:33:30 im the only android dev here Apr 12 17:33:40 birbeck Apr 12 17:34:11 questtion can you do 3d models Apr 12 17:34:12 i'm trying not to do stuff like that ;P Apr 12 17:34:20 L337_One: no Apr 12 17:34:56 is there somewhere i could go where i pay some1 Apr 12 17:35:02 readme: well the app is finished and ready to ship, so now im just trying to find ways to optimize it until we get the go ahead Apr 12 17:35:16 L337_One: try fiverr.com that should be within your budget Apr 12 17:35:21 L337_One: not sure, i doubt #android-dev is the best place to find 3d modelers Apr 12 17:35:24 * readme is completely serious Apr 12 17:35:43 Hey L337_One Apr 12 17:35:45 are you a developer? Apr 12 17:35:46 i dont know i just seen a app Apr 12 17:35:47 yes/nio Apr 12 17:35:49 *yes/no Apr 12 17:35:51 today Apr 12 17:35:55 led me here Apr 12 17:36:04 Are you a developer? Yes/no Apr 12 17:36:11 yeh Apr 12 17:36:15 yes\ Apr 12 17:36:18 are you sure? Do you actually do development? Apr 12 17:36:22 Have you programmed anything? Apr 12 17:36:27 have you ever been to d.android.com ? Apr 12 17:36:35 im trying Apr 12 17:36:39 because all I'm seeing is "hay guys how do i facebook" Apr 12 17:36:41 is it just me or are the the samples for the compatibility package seem to be broken Apr 12 17:36:47 and it sounds a helluva lot like you're not actually a developer. Apr 12 17:36:51 does* Apr 12 17:37:02 i dont think i am Apr 12 17:37:14 maybe you should not be here then :> Apr 12 17:37:19 this really needs to get fixed, samples are suppose to be begginer friendly Apr 12 17:37:21 please try #android or #android-root Apr 12 17:37:33 or #teen Apr 12 17:37:47 lol Apr 12 17:37:52 leave leet alone guys Apr 12 17:38:00 be friendly Apr 12 17:38:01 im the guy that protects you pussy while your here at home Apr 12 17:38:12 hey leet, no flaming Apr 12 17:38:14 chups: are there sample apps that wont build on their target version? Apr 12 17:38:15 :> Apr 12 17:38:16 chups: yes, the samples seem to be broken. Apr 12 17:38:23 mmm I have android:minSdkVersion="10" in my manifest but I am compiling with API 14 . is there some prob ? Apr 12 17:38:24 RESUME DEV CONVERSATION. Apr 12 17:38:29 promise not to bother, no way to set a File instance to Context.MODE_PRIVATE without calling openFileOutput()? Apr 12 17:38:42 chups: in PM he told me he was 27 and just returned from kandahar, but in such poor grammar that I know he wouldn't have passed the asvab Apr 12 17:38:46 chups: E.g. the "Downloader" sample app is hopelessly broken. Apr 12 17:38:58 aLeSD: i would set targetSdkVersion="14" Apr 12 17:39:01 I use API 14 cause I am customizing Holo theme Apr 12 17:39:02 aLeSD: no problem here, i use minSdkVersion 8 and target 15 Apr 12 17:39:03 gabrbedd, has someone filed this? or something like that Apr 12 17:39:21 i'm really concerned about the new comers Apr 12 17:39:25 aLeSD: http://simonvt.net/2012/02/07/what-api-level-should-i-target/ Apr 12 17:39:38 esp since most apps are going to get revamped for the new android design patterns Apr 12 17:39:48 chups: I don't know if anyone has filed a bug for this. Apr 12 17:39:49 it's heartbreaking when google does this Apr 12 17:39:57 this also happened to the google maps api tutorial Apr 12 17:40:04 ./sob Apr 12 17:40:05 heartbreaking seems extreme :P Apr 12 17:40:14 yes wongk Apr 12 17:40:27 that's exactly how i feel Apr 12 17:40:52 i mean, if they don't take care of the samples, how much more in other more important stuff Apr 12 17:41:04 >.< Apr 12 17:41:29 makes me feel like they've lost their competitive spirit Apr 12 17:41:41 with such a large community Apr 12 17:41:50 it needs to be more reactive Apr 12 17:41:54 ./sob Apr 12 17:41:56 >.< Apr 12 17:41:57 is there any way to link the html in a webview to your app so for example you click on something in the hmtl file and then u could launch an intent or something? Apr 12 17:42:23 o.o Apr 12 17:42:27 interesting Apr 12 17:42:37 yeh it owuld be amazing eh Apr 12 17:42:41 i'm thinking callback Apr 12 17:42:42 gaz`: use webview client and override the click Apr 12 17:42:49 hahaha Apr 12 17:42:50 or that Apr 12 17:42:58 hmm Apr 12 17:43:04 but how would u know what was clicked on Apr 12 17:43:11 it will pass that to you in the callback Apr 12 17:43:19 let me take a look Apr 12 17:43:30 i have a imagemap or something so i need to know they clicked on point A or point B Apr 12 17:43:32 nice Apr 12 17:43:36 thats great Apr 12 17:43:53 or something = over something Apr 12 17:43:56 hahaha Apr 12 17:44:11 you should appreciate what readme is doing gaz Apr 12 17:44:13 oh, you could also use a javascript interface Apr 12 17:44:15 other people would use Apr 12 17:44:19 "let me google that for you" Apr 12 17:44:20 lol Apr 12 17:44:21 and just overide the click with jquery in javascript Apr 12 17:44:30 i am chups but its hard to google infact Apr 12 17:44:38 hmm Apr 12 17:45:06 oow.. Apr 12 17:45:11 while we're talking about google Apr 12 17:45:15 how about some nice tips Apr 12 17:45:16 http://www.googleguide.com/advanced_operators.html Apr 12 17:45:21 http://support.google.com/websearch/bin/answer.py?hl=en&answer=136861 Apr 12 17:45:27 see "binding javascript code to android code" http://developer.android.com/guide/webapps/webview.html Apr 12 17:45:38 aha! Apr 12 17:45:39 thanks Apr 12 17:45:41 very useful when searching for exact lines of code Apr 12 17:46:36 hard to search when you dont know what you're searching for Apr 12 17:46:39 function showAndroidToast(toast) { Apr 12 17:46:40 Android.showToast(toast); Apr 12 17:46:40 } Apr 12 17:46:43 cool! Apr 12 17:46:51 i originally learned about javascript interfaces by asking here Apr 12 17:47:21 yeah, just like what's happening to me right now Apr 12 17:47:22 ^_^ Apr 12 17:47:23 thanks Apr 12 17:47:23 wongk, thanks Apr 12 17:47:47 now that i think about it, it pays to read the api Apr 12 17:47:49 >.< Apr 12 17:47:55 as a rule of thumb if someone has a specific question that I can answer in a couple sentences, I'll just answer Apr 12 17:48:45 there's no point in having some sense of pride because you read that info from the docs before they did Apr 12 17:51:20 wow thats bad ass it works! Apr 12 17:52:10 it can even help your own understand explaining to people Apr 12 17:52:30 man thats such an amazingfeature linking js to java Apr 12 17:52:41 yeah, I believe that feature is how frameworks like phonegap work Apr 12 17:53:21 i am the biggest android fanboy slash apple hater in my office Apr 12 17:53:32 someone came to me for an iphone sim card remover because he couldnt find one Apr 12 17:53:39 im the only one in the office who has an official one Apr 12 17:53:40 T_T Apr 12 17:54:51 A what? oO Apr 12 17:55:42 canadiancow|work: lol, the attiude of ios fanboys Apr 12 17:55:52 "it should just work? why do I need to remove the sim card" Apr 12 17:56:25 Why isn't there a DEFAULT APP to remove my simcard, that doesnt suck!? Apr 12 17:57:11 hello Apr 12 17:57:49 I heard all android devices have the simcard in a different place. So fragmented. Apr 12 17:58:05 I've heard some devices DON'T HAVE A SIMCARD Apr 12 17:58:12 yeah, mine doesn't Apr 12 17:58:13 cdma = FRAGMENTATIONNNN!!!$@T Apr 12 17:58:14 haha true Apr 12 17:58:44 oh wait, I do have a simcard, forgot about that thing. Apr 12 17:58:56 * readme puts cover back on Apr 12 18:00:40 tehcnially it's a UICC, and the SIM is an app that lives on it Apr 12 18:00:56 but whenever i say UICC, people get confused Apr 12 18:02:37 must be a canadian thing Apr 12 18:02:45 ;-) Apr 12 18:04:38 so separate key for each app, or same key for all? Apr 12 18:04:50 is it really that bad for security if I use the same one Apr 12 18:04:58 no, it's fine. Apr 12 18:05:09 I'd recommend using the same key for all of your apps Apr 12 18:06:23 nice Apr 12 18:06:54 it depends on how likely your app is to be bought by a company Apr 12 18:07:15 you raise a good point Apr 12 18:07:33 so I should use same key for all the apps that I don't plan on selling to anyone Apr 12 18:07:50 otherwise, separate Apr 12 18:07:51 canadiancow|work: Good to know :) Apr 12 18:07:56 wut Apr 12 18:09:01 pfn: if you are selling an app with your key and a company decides they want to buy it, what are the options ? Apr 12 18:09:07 about UICC Apr 12 18:10:45 g00s: lol Apr 12 18:10:48 sell all the apps Apr 12 18:11:00 or offer tosign updates at a fee oF $10k/signing Apr 12 18:11:02 one more question, keytool's -validity param... In the app-signing guide it says to use 10000.. that's only a few years Apr 12 18:11:06 isn't that value kind of small? Apr 12 18:11:21 g00s, what canadiancow|work said Apr 12 18:11:28 I would think maybe infinite or 20 years would be good Apr 12 18:11:34 readme: personally i use the same keystore with a different key for each app Apr 12 18:11:34 if you think your app has potential to be acquired Apr 12 18:11:39 you might want to think about using a separate key Apr 12 18:11:51 readme: I think you misread. Apr 12 18:12:02 Keys that expire before 2038 won't be accepted by Market Apr 12 18:12:11 (I think 2038?) Apr 12 18:12:13 ah Apr 12 18:12:18 because of the next epoch? Apr 12 18:12:26 oh Apr 12 18:12:29 * readme facepalms Apr 12 18:12:34 clearly, birbeck has planned ahead Apr 12 18:12:34 heh Apr 12 18:12:45 birbeck: i am starting to think to do this as well Apr 12 18:13:17 * readme will be pushing his first app today Apr 12 18:13:22 readme, apps signed with the same key can share data Apr 12 18:13:31 pfn: clearly not, i dont have a plan for post 2038 Apr 12 18:13:45 i guess you can still renew a cert Apr 12 18:14:07 kinda not really Apr 12 18:15:00 ah, 10000 is totally enough days. sorry, my immortality confused me for a bit Apr 12 18:15:59 are notifications only allowed one line of text? Apr 12 18:16:05 seems like theres enough room for a headline and two lines :( Apr 12 18:16:57 so, lets say a company decides they want to buy an app you wrote, after you have been distributing it for a while. would you delist the app so they can realist it under their own developer account ? Apr 12 18:17:10 you can transfer it to their account Apr 12 18:17:18 just email ev***@google.com Apr 12 18:17:19 And lose all they users? No you wouldn't Apr 12 18:18:15 canadiancow|work: you can use a custom layout for notifications Apr 12 18:18:17 company wants to buy the app you wrote, they'll give you enough money that you can just abandon the account :P Apr 12 18:18:34 i don't want to abandon the account Apr 12 18:18:34 readme yea, im just wondering about the default Apr 12 18:18:39 playing around with ICS stuff :) Apr 12 18:18:43 serious answer is that google can probably transfer ownership. Apr 12 18:19:04 [14:17:10] you can transfer it to their account [14:17:18] just email ev***@google.com Apr 12 18:19:13 but then you still have the signing key issue Apr 12 18:19:13 heh Apr 12 18:19:29 lot, ok you are right. they have a form Apr 12 18:19:31 *lov Apr 12 18:19:58 does evancharlton work on the market ? :D Apr 12 18:20:06 canadiancow|work: I'll give away the GPS Notification key and source for 10k :> Apr 12 18:20:10 is Zynga buying? Apr 12 18:20:15 that? no Apr 12 18:20:18 lol Apr 12 18:20:18 :( Apr 12 18:20:23 hehe Apr 12 18:20:24 also: i bet i could build one in a day Apr 12 18:20:28 which would cost them << $10k Apr 12 18:20:36 that's true, you probably could. Apr 12 18:20:39 as much as id like to think im worth 10k/day Apr 12 18:20:56 actually it'd probably take you like a week, just for testing/etc. Apr 12 18:20:59 * Jug6ernaut thinks canadiancow|work should hire jug6ernaut Apr 12 18:21:14 Jug6ernaut, send me a resume... Apr 12 18:21:19 ok lov, i make less than 10k/week Apr 12 18:21:20 :P Apr 12 18:21:21 * Jug6ernaut needs to make one of thos Apr 12 18:23:53 Jug6ernaut: so i finally got my ssl stuff fixed, but it is fickle on the emulator no matter what Apr 12 18:24:07 lol Apr 12 18:24:09 it seems depending on how the emulator is feeling, it decides not to trust my cert Apr 12 18:24:18 :\ Apr 12 18:24:19 but it was working for my last test runs yesterday Apr 12 18:24:56 lol Apr 12 18:24:59 * Jug6ernaut hates shit like that Apr 12 18:25:01 kinda works Apr 12 18:25:02 kinda doesnt Apr 12 18:25:15 on the device it's solid Apr 12 18:25:31 i just wish I had more test devices.. I will have to ship and see what happens. Apr 12 18:25:48 readme well, that is one(of many) that i do all of my main testing on a physical device Apr 12 18:25:58 readme, you & me both :( Apr 12 18:26:09 only reason I had to use the emulator was because I needed the ability to mock phone calls from any number Apr 12 18:26:11 readme: or pay a lot for one of those shiny testing services Apr 12 18:26:18 dont do anything with LED, shit is different for each OEM, and even devices within OEM... Apr 12 18:26:30 kmicinski: yeah, I'll definitely consider that Apr 12 18:26:36 Jug6ernaut: funny you should mention that Apr 12 18:26:41 my device does use LED Apr 12 18:26:49 program*? Apr 12 18:26:52 yes Apr 12 18:26:53 Jug6ernaut: if you can remake gps notification, send it to me along with your resume :P Apr 12 18:26:57 except it doesn't use the physical LED, it uses an LED style font :) Apr 12 18:27:13 readme lol Apr 12 18:27:18 Hey guys I am having trouble getting all of an aps' files off my phone. I clear the data and uninstall the app reboot and if i reinstall the game it will log me into the game. So it must be storing some information somewhere on the phone. Any ideas Apr 12 18:27:18 lov gps notification? Apr 12 18:28:12 lol...bit_reaper...need more info Apr 12 18:28:28 probably check sdcard Apr 12 18:28:34 anyone know how draw something capture the draw action from a user? Apr 12 18:28:39 hey bit_reaper, maybe you should go to #android or #android-root Apr 12 18:28:48 Jug6ernaut - what more do you need Apr 12 18:28:55 chouman probably time-stampmed touch inputs if i had ot guess Apr 12 18:29:02 that said, the data could be: On the SD card, backed up to the cloud, or something else! Apr 12 18:29:24 anywhere really lol Apr 12 18:29:25 Jug6ernaut: so they are not actually doing a video capture then Apr 12 18:29:30 highly doubt it Apr 12 18:30:06 i see Apr 12 18:30:25 actually im 100% sure they arnt doing video capture :P Apr 12 18:30:37 they just do like in paint / gimp Apr 12 18:30:40 badwidth required & resources required woudl be redic Apr 12 18:30:48 true Apr 12 18:31:10 is it possible to have an FileOutputStream and FileInputStream to the same file? Apr 12 18:31:43 probably but i have no idea how that would work properly Apr 12 18:31:57 i think youd have to stop writing to read and vice versa Apr 12 18:32:02 so not concurrent Apr 12 18:32:06 thats what i thought Apr 12 18:32:08 but almost Apr 12 18:32:30 anyway to set a File to MODE_PRIVATE? Apr 12 18:33:05 without openFileOutput()? Apr 12 18:33:22 radioact1ve depends on api version i believe Apr 12 18:33:57 Jug6ernaut: 8 and up Apr 12 18:34:15 radioact1ve: https://github.com/tom-dignan/android-media-capture/blob/master/src/com/adeptdev/android/libs/mediacapture/MediaCaptureService.java look what i do line 137-153 Apr 12 18:34:26 radioact1ve you want for <8 im guessing? Apr 12 18:36:17 http://liliputing.com/2012/04/intel-retina-laptop-desktop-displays-coming-in-2013.html Apr 12 18:36:46 sounds silly Apr 12 18:36:48 readme: thanks, that looks good. going to try that! Apr 12 18:37:04 retina lol Apr 12 18:37:25 hello, i am following this tutorial : http://mhandroid.wordpress.com/2011/01/23/using-eclipse-for-android-cc-development/ and it went mostly well except for 1 thing, eclipse is still complaining abt EGL_DEFAULT_DISPLAY could not be resolved Apr 12 18:37:30 can we please Apr 12 18:37:34 please stop saying retina Apr 12 18:37:37 as if it mean something? Apr 12 18:37:49 thats why i lol'd Apr 12 18:38:00 although ctrl + clikcing it takes me to the definition in egl.h Apr 12 18:38:12 any ideas ? Apr 12 18:38:14 uh, get over 'retina'. Apr 12 18:38:44 besides, when people say 'tablet' they mean iPad usually :D Apr 12 18:39:17 * Drakonite wants a 300PPI 24" monitor Apr 12 18:39:25 IMO, google is the one with a "retina display" Apr 12 18:39:28 http://www.nytimes.com/2012/02/23/technology/google-glasses-will-be-powered-by-android.html Apr 12 18:39:36 where are apple's virtual reality glasses? Apr 12 18:39:43 jobs thought it was a stupid idea Apr 12 18:39:44 fuck that Apr 12 18:39:56 and i don't need google serving me ads while i am walking around Apr 12 18:40:02 Drakonite: the best 24" display i have ever seen is the sony playstation 3d display Apr 12 18:40:03 dude, just install adblock Apr 12 18:40:07 ;P Apr 12 18:40:16 Drakonite: i have two on my desk at home Apr 12 18:40:17 g00s, do you think that will happen? Apr 12 18:40:22 do random ads show up in android? Apr 12 18:40:26 as you're walking around? Apr 12 18:40:38 i guess airpush...but that's not google Apr 12 18:40:40 canadiancow|work: why else would an advertising company invest in this? Apr 12 18:40:44 google has always been highly conservative with their advertising Apr 12 18:40:46 silly :D Apr 12 18:40:50 not with their data collection, but Apr 12 18:41:06 birbeck: They were 50% off on amazon a couple weeks back... I found out less than a half hour after they sold out... probably a good thing as I would have been tempted to buy one. Apr 12 18:41:10 Hi.. have a little question.. is there sth equivalent to android:inputType = "numeric" for floating point numbers ? Apr 12 18:41:35 lol Apr 12 18:41:37 Drakonite: i just got a second one at gamestop for $299 Apr 12 18:41:45 not as good as 50% off, but a steal Apr 12 18:41:58 yeah, gamestop probably did steal them from someone Apr 12 18:42:32 readme: i bet the glasses would feed back usage data to google, like, what you are looking at :) fuuuck that Apr 12 18:42:48 also, I don't know how to interpret your comment, as the vast majority of monitors are pieces of shit because people don't know better :) I actually buy high end monitors... Apr 12 18:42:56 Drakonite: i dont know why they dont sell well, its a 24" 1080P 240Hz 1MS LED 3DTV, i beg anyone to find a better monitor for $399 Apr 12 18:43:06 ANdi``: just to be a pedant, when you're entering a decimal number into an EditText, it doesn't become floating point until you read it, convert it from a string, and store the result in a float. Apr 12 18:43:47 g00s: of course they will Apr 12 18:43:52 ok ^^ Apr 12 18:43:54 gamestop, gamekeygoing Apr 12 18:43:55 lol Apr 12 18:43:55 g00s custom rom obviously :P Apr 12 18:43:55 root it Apr 12 18:43:55 xD Apr 12 18:43:55 maybe he wants to limit input? Apr 12 18:43:55 to numbers & . Apr 12 18:44:04 birbeck: what kind of display tech? Apr 12 18:44:24 i have no idea what the panel is, but its georgeous Apr 12 18:44:34 ANdi``: http://developer.android.com/reference/android/text/InputType.html#TYPE_NUMBER_FLAG_DECIMAL Apr 12 18:45:29 I've got this canvas which the user adds images/text to. The user can move the images/text around on the canvas, and when the image/text is moved outside of the canvas, the canvas SHOULD expand (and let the user pan around).. googled, but didn't find anything useful. Any ideas? Apr 12 18:45:36 or could someone point me in the right direction? Apr 12 18:45:46 readme my english isnt that great.." allowing a decimal point to provide fractional values." = sth like "5,5" ? Apr 12 18:45:53 * Jug6ernaut wants oled tv Apr 12 18:46:03 ANdi``: in the US, we use '.' as a decimal point Apr 12 18:46:16 so I don't know. i hope it is locale dependent but I doubt it Apr 12 18:46:40 ok thx Apr 12 18:46:41 Drakonite: generally sony is never the best value, but they really deliver with this thing. the big annoyance though is its auto power feature, turns off the monitor in 5 seconds without a signal, so you cant reboot without the monitors shutting off Apr 12 18:47:04 birbeck: it's a 300$ (was $500) 24" tv. people don't care much about 3d right now Apr 12 18:47:15 birbeck ur reboot takes more then 5mins :o Apr 12 18:47:31 yea..3d...ehh Apr 12 18:47:32 5s Apr 12 18:47:45 Drakonite: i dont care about the 3d, its just a great monitor Apr 12 18:47:50 ooo Apr 12 18:47:53 birbeck my bad Apr 12 18:48:06 it's marketed as a display for a PS3 Apr 12 18:48:36 yeah, but it works with anything with an hdmi or component output, says pc and mac compatible on the box Apr 12 18:48:55 but they marketed it heavily as a ps3 display. that hurts the sales :P Apr 12 18:48:57 i have another one hooked up to my game seat dedicated for gt5 Apr 12 18:49:14 lol Apr 12 18:49:32 when sitting in my game seat with face 2.5ft from the screen its a good size, but any further and its too small for general gaming Apr 12 18:49:52 i hate 1 stars...they are like stabs to my heart Apr 12 18:49:58 thats what a 56" samsung is for :) Apr 12 18:50:34 Jug6ernaut: yeah, especially when its because of something out of your control Apr 12 18:50:35 I have a 46" XBR8, but in my new living room I wish I would have spent extra for the 56" version Apr 12 18:51:12 Jug6ernaut: i went from a solid 5-star rating for 9 months down to a low 4 in a few days because of an error on starbucks servers Apr 12 18:51:18 after that i stopped giving a shit Apr 12 18:51:40 needs better system for handling ratings Apr 12 18:51:50 i had only had 5 one star reviews prior to that and it shot up to 22 in a single day Apr 12 18:51:53 birbeck :( Apr 12 18:51:55 add replies and a way to get rid of obvious junk reviews Apr 12 18:52:18 Drakonite they need to add a way to reply to comments imo Apr 12 18:52:19 Drakonite: at least now you can select whether a review was helpful, unhelpful, or spam Apr 12 18:52:19 "ransom" 1 stars shouldn't be allowed for example. (e.g. "I'll give you 5 stars if you add my worthless feature") Apr 12 18:52:21 has someone ever heard of following critical error: waitForCondition(LockCondition) timed out (identity=192, status=0). CPU may be pegged. ??? it kills my app every time and leads to a reboot of the system! :/ Apr 12 18:52:31 when I see unfair reviews I flag them as unhelpful Apr 12 18:52:44 or a prominent "report issues" button along with per-version reviews being weighted differently Apr 12 18:53:17 i need a good ebook for android learning Apr 12 18:53:32 what i hate is that people will go to the market to 1-star, and not even notice the big update button and the notes saying that the update fixes the issue Apr 12 18:53:43 I've been unable to publish updates the last few hours Apr 12 18:53:44 and it would be helpful if, for apps you've reviewed in the past at 1-3 stars, it popped up a notification saying you had reviews to update Apr 12 18:53:46 anybody else having this problem ? Apr 12 18:54:00 even 2 months after my last update because of starbucks server changes i am still getting reviews from people that havent updated Apr 12 18:54:01 SandPaper: try safari Apr 12 18:54:09 birbeck: lame Apr 12 18:54:18 and when reviewers are getting flagged, they stop being counted toward the average, and can be flat out banned from reviewing Apr 12 18:54:28 cant spend money, i will try to download from net Apr 12 18:54:39 SandPaper: that was a hint, not to ask for pirated books, but you failed to get it Apr 12 18:54:47 safari and amazon are not free Apr 12 18:54:50 you will get flamed. just torrent to your lonesome. Apr 12 18:54:51 Drakonite: that would mean you just hire a bunch of clickmonkeys to go through and flag all low reviews and presto, everything's 5-star Apr 12 18:54:54 no shit dick tracy! Apr 12 18:55:26 oGMo: weight against people with low numbers of reviews and/or no purchased apps? Apr 12 18:55:34 they already do that btw Apr 12 18:55:49 Drakonite: that's not enough Apr 12 18:55:53 places pay for 5 stars and will exploit the system to give 1 star to their competitors Apr 12 18:56:00 sure Apr 12 18:56:04 where can I buy a 5star? Apr 12 18:56:05 "not enough" and "do nothing at all" are different though Apr 12 18:56:27 Not much different from any other place with ratings.. (Hotels, restaurants) Apr 12 18:56:35 that's a start, but if you dont' nag people to update their reviews between versions, and weight prior versions less, you'll always be haunted by old 1*s Apr 12 18:56:39 I agree, there needs to be a better solution, and I don't have an optimal suggestion Apr 12 18:56:44 i think I like it better than having a BDFL of the market, though. Apr 12 18:56:51 BDFL? Apr 12 18:56:59 benevolent dictator for life Apr 12 18:57:04 ah Apr 12 18:57:06 (but you can't remove them, or that'd be exploited too by lots of tiny releases) Apr 12 18:57:16 readme: oh hell yeah Apr 12 18:57:26 if you're willing to spend enough, I think it'd be hard to not find someone who would give a 5 star review Apr 12 18:57:33 readme: as a user, for me the * rating isn't always necessarily telling Apr 12 18:58:25 oGMo: what i think is that we need a way to: remove apps from the market that have very low ratings, automatically. take away the rating privileges of serial raters who one star everything because of childhood trauma. Both solutions could be simple scripts. Apr 12 18:58:57 if you have 99% one star, your app should just get pruned. Apr 12 18:59:02 readme: eh maybe Apr 12 18:59:19 99% of the one stars i read though are unfair reviews Apr 12 18:59:22 so that needs to be solved first Apr 12 18:59:30 show no rating at all for <50 downloads? Apr 12 18:59:47 yeah, that is a good idea Apr 12 19:00:16 i thought they already did that Apr 12 19:00:20 early ratings are needed to get past that early mark Apr 12 19:01:58 if im realeasing a new app, generally i have enough beta users to give it some initial good reviews, a twitter/fb/g+ page already pimping it, and a android blog or two lined up to review it Apr 12 19:02:39 then you're not the typical developer :P Apr 12 19:03:13 birbeck: care to share your twitter/g+? I'm releasing an app today and I'm not very established there yet.. I've got 2 guaranteed customers, so far Apr 12 19:03:21 (the developer of the api, and my girlfriend) :) Apr 12 19:03:54 readme, well my fb and g+ are pretty bare actually :) Apr 12 19:04:15 messaged you though Apr 12 19:04:19 oh, awesome Apr 12 19:05:02 readme: you can contact a few blogs to get them to test, add them to your beta releases Apr 12 19:05:14 what are good blogs to talk to? Apr 12 19:05:20 readme: and set up a hockeykit server for dist Apr 12 19:05:23 the first app I made gave a quote from a list I had made in an xml file. If I have the apk file can I somehow drag the XML data out from it? I have lost the source for the app Apr 12 19:05:47 Drakonite: any that will care to listen, depending on the type of app different editors will want to try it out Apr 12 19:06:05 mads-: apk is zip Apr 12 19:06:20 birbeck: ok, read my question again, and pretend I just don't know of any blogs at all :P Apr 12 19:06:30 birbeck: thanks for the tips, I am writing that down Apr 12 19:07:13 Drakonite: umm, android central, android police, droid life, phandroid, etc. Apr 12 19:07:17 wongk: awesome. thanks Apr 12 19:08:53 I hadn't seen hockeykit before... it supports android? Apr 12 19:09:03 yeah Apr 12 19:09:52 you can plug their sdk in to your beta builds to collect stats, whos running which version and get bug reports Apr 12 19:10:16 cool Apr 12 19:10:19 and its a simple place to put up your apks for beta users to download instead of emailing them all the time Apr 12 19:10:24 guess I took too long to make my system them Apr 12 19:10:26 *then Apr 12 19:12:23 * hackkitten idly prepares to release a new Android game :D Apr 12 19:17:10 is it somehow possible to activate a contextmenu on a normal click ? (not only long click) ? Apr 12 19:18:36 ANdi``: possibly but that goes against Android-style, wouldn't the user get confused? Apr 12 19:18:50 why not use quick action menu or actionbar for options? Apr 12 19:20:17 QubeZ quick action menu ? actionbar ? didnt know that those exist ^^ Apr 12 19:20:20 the big bad wolf Apr 12 19:20:52 hackkitten: \o/ Apr 12 19:21:17 ANdi``: check it out, probably will fit your design better than trying to make contextmenu using short-click Apr 12 19:21:55 :3 Apr 12 19:22:11 * hackkitten tries to remember how to create a signed APK after not releasing anything in like a year D: Apr 12 19:22:18 QubeZ i have a list of items and want to provide a possibility to edit or delete an item Apr 12 19:23:23 hackkitten: eclipse? Apr 12 19:24:32 ANdi``: why not overlay an X icon on your listview item so users can delete from there? Apr 12 19:24:48 to edit, you can use long-press contextmenu... I think users prefer that as it follows the pattern of many apps Apr 12 19:25:53 QubeZ so u mean a simple press on the listitem would delete it ? Apr 12 19:26:07 wongk > yeah, trying to remember the password of the keystore ATM :( Apr 12 19:26:26 ghir67sAS Apr 12 19:26:27 hackkitten: aww, well i can't help you with that :P Apr 12 19:26:58 labaradors ftw ! http://zoodiary.com/labrador-retriever-adopts-duckling/ Apr 12 19:27:07 mew :3 Apr 12 19:27:07 ANdi``: no, you can make a simple press go to Edit and in the ListView item, have a delete image overlayed and make that clickable using your adapter so user can delete the item directly from there Apr 12 19:27:12 * hackkitten adopts g00s Apr 12 19:27:19 :) Apr 12 19:27:40 ctate: haha it worked :D Apr 12 19:27:42 widget binded Apr 12 19:27:43 I/ActivityManager( 213): Start proc com.android.deskclock for broadcast com.android.deskclock/com.android.alarmclock.AnalogAppWidgetProvider: pid=7823 uid=10012 gids={} Apr 12 19:27:50 uh, another kindle book on amazon more expensive than the paperback. fuuuu Apr 12 19:28:05 yeah, it's all so fucked up Apr 12 19:28:07 I hate ebooks Apr 12 19:28:14 * g00s is not paying $42 for a drm's pile of shit Apr 12 19:28:24 that's redonkulous Apr 12 19:28:42 QubeZ ok thx Apr 12 19:30:25 JakeWharton: I'm using ABS and I'm seeing an issue which I think is github:279. Do you have any suggestions or a work around for right now? Apr 12 19:30:35 link Apr 12 19:31:03 * hackkitten cries because she forgot her keystore pass ;_; Apr 12 19:31:21 hello - I'm having a bit of a strange issue with a native portion of my application -- anyone familiar with using the ndk? Apr 12 19:31:44 "Ask your question, don't ask to ask" Apr 12 19:32:07 JakeWharton: http://goo.gl/BrlVH this is the link to issue Apr 12 19:33:07 config changes are not supported Apr 12 19:33:25 handling* Apr 12 19:34:13 are you working on a fix? or you won't ever do that with ABS? Apr 12 19:34:24 I make calls to the Android logging facility from the native portion of my app (through the functions in ) -- the log messages show up properly when working with the emulator, but do not universally show up when working with a physical device. Thoughts on why this may be? Apr 12 19:34:49 Not currently working on it Apr 12 19:34:57 maybe i don't seem to work the way got wants me to work; what is the best way to hop between multiple half finished branches stuff that is modified? i bet linus would tell me i'm an idiot for wanting to do this. is hg better in this regard ? Apr 12 19:34:59 bug fixes are top priority Apr 12 19:35:02 *git Apr 12 19:35:09 Google says handling configuration changes is a last resort Apr 12 19:35:32 If I find the time, I'll get around to it Apr 12 19:35:38 but it may not be for a month or two or three Apr 12 19:35:54 yeah, I know we really shouldn't be handling the onConfigurationChange ourselves. Apr 12 19:36:07 g00s: commit your work before hopping Apr 12 19:36:17 i'm not ready to commit though Apr 12 19:36:18 it has bugs when you rotate screen, or only if you try to handle the config change (in manifest)? Apr 12 19:36:22 Yeah I had that issue. I handle the configuration change with onSaveInstanceState Apr 12 19:36:42 g00s: what is required in order for you to be ready? Apr 12 19:36:53 would it be a really big change? Could I fork you on github and maybe fix it? Apr 12 19:36:58 ready for what? the rapture ? Apr 12 19:37:04 to commit Apr 12 19:37:19 what you just said you weren't ready for Apr 12 19:37:37 i just don't like committing stuff that isn't ready to be committed , just to babysit this damn tool Apr 12 19:37:46 g00s: the idea with git and hg both is that you should have a branch for your current changes and check it in regardless of whether it works or not, and just keep switching branches Apr 12 19:37:53 define "ready to be committed" Apr 12 19:38:14 if it builds, it's ready to be committed Apr 12 19:38:20 Drakonite: so hg works the same way, then … in how it manages the working copy ? Apr 12 19:38:34 It's always ready to commit if it's just a feature branch Apr 12 19:38:41 wongk, i dont know if i'd take it that far Apr 12 19:38:46 i would Apr 12 19:38:47 i'm used to other tools where i could have multiple working copies on the filesystem simultaneously Apr 12 19:38:47 You can just squash it into a single commit if you want to keep your dev branch "clean" Apr 12 19:38:53 that's what branches are for Apr 12 19:39:03 SimonVT: is the squashing 'rebase' ? Apr 12 19:39:07 yes Apr 12 19:39:11 k, thx Apr 12 19:39:14 g00s: you can, clone into another directory Apr 12 19:39:17 ugh... altering history is bad! Apr 12 19:39:48 but i would say you're using the tool incorrectly :P Apr 12 19:39:48 hg is pretty similar how it handles it. there were minor differences IIRC but it's been too long since I've spent time with it Apr 12 19:40:20 if you need two working copies, you can create a copy and then just push changes between them... ;) Apr 12 19:40:31 oh, wongk just said that Apr 12 19:41:01 Drakonite: you mean clone, do stuff, and then push those changes back to the original repo? i'm totally new at this :) Apr 12 19:41:06 hi! I have a question: How can i start the android emulator and at the same time install an .apk in this emulator, all these from command line ? The problem is that, when the emulator starts i cannot run any other command Apr 12 19:41:42 your emulator sounds borken Apr 12 19:42:08 why ? Apr 12 19:42:23 because you say you can't run any other command after it starts Apr 12 19:42:29 or im misinterpreting you Apr 12 19:43:24 how can I since the progam(emulator) does not end after I execute the command ~/android-sdk-r17/tools/emulator -avd NewPhone -scale 0.41 Apr 12 19:43:41 oh my Apr 12 19:43:48 add an & at the end Apr 12 19:43:52 or open a new terminal Apr 12 19:44:03 well that's the point Apr 12 19:44:12 g00s: yeah... you'd clone it to create a new working directory, and then you can have two different branches with their own working directories that don't need to have changes committed to switch. you'd then use push or fetch/pull to sync the changes between the two effectively different repos Apr 12 19:44:16 i want to do ALL these from a makefile :P Apr 12 19:44:39 canadiancow: around? Apr 12 19:44:48 i got nothin Apr 12 19:44:55 yea JakeWharton Apr 12 19:45:00 canadiancow|work: http://actionbar.posterous.com/ Apr 12 19:45:34 thanx anyway Apr 12 19:45:48 JakeWharton aww i was hoping they would have done some design work for me :P Apr 12 19:46:01 i might start by examining how eclipse knows when it can install the apk Apr 12 19:46:11 g00s: not really how it's intended to be used.. .but i think they are goofy with how they expect branches used anyways Apr 12 19:46:30 yeah, i'm sure linus thinks i'm doing it wrong Apr 12 19:46:55 screw linus Apr 12 19:47:18 hehe, indeed Apr 12 19:47:20 * abaratican would screw linus. Apr 12 19:47:35 after some of the BS he has spouted.... I don't care about a damn thing he says Apr 12 19:48:02 Drakonite: like what Apr 12 19:49:33 JakeWharton: ABS 4.0 ftw, and your demos app is also awesome. Apr 12 19:50:06 I don't have links to any specific ones handy, but there are quite a few related to git that ticked me off when he said them a while back, and was when I started ignoring him entirely :P Apr 12 19:50:25 hey all, might anyone have an explanation to what is causing this crash on my emulator?: http://nopaste.dk/p4986 Apr 12 19:51:26 GuySoft: does your emulator have a google account configured Apr 12 19:51:34 readme, no Apr 12 19:51:48 readme, its crashing on that? Apr 12 19:51:48 c2dm requires a google account. without further analysis, i'm gonna say go do that and try again Apr 12 19:52:01 readme, ok thanks :) Apr 12 19:53:40 abaratican: haha thanks Apr 12 19:57:53 * hackkitten got her new game published after a struggle with keystore and new google site Apr 12 19:57:54 (o/ Apr 12 19:57:56 https://play.google.com/store/apps/details?id=com.nyanko.heimen_no_heiwa Apr 12 20:00:44 can i in androind 1.5 change zoom of a webview to create "zoom to fit" (width) ? Apr 12 20:01:18 why are you using android 1.5 Apr 12 20:01:20 mWebView.setInitialScale(....); don't seem to work or i am using it wrong Apr 12 20:01:44 Hey guys, I'm a complete newb to developing apps Apr 12 20:01:45 client wants to support it Apr 12 20:01:58 Anyone care to explain some of the basics or point me towards some helpful articles? Apr 12 20:02:12 hackkitten: "REQUIRES ANDROID: 2.2 and up" <-- froyo few ! Apr 12 20:02:14 this is where you use your knwoledge to educate the client Apr 12 20:02:15 *ftw Apr 12 20:02:19 damn colloqueueueuey Apr 12 20:02:25 I'd like to develop websites/apps for Apple/Android mobile devices, but I has no idea where to start. Apr 12 20:02:46 this channel is more for native android apps Apr 12 20:02:50 PressedWeb: so mobile web? plenty of books on that to get started Apr 12 20:03:01 g00s > 2.1 users should realize that they really should join the modern age :D Apr 12 20:03:09 Most of them are geared towards either Android or Apple. Apr 12 20:03:12 PressedWeb: http://d.android.com Apr 12 20:03:13 hackkitten: indeed :D Apr 12 20:03:47 I think I read somewhere where there was something called Apptanium or something that let you code up HTML/CSS/JS and it would convert it to Android/Apple apps for you. Apr 12 20:04:06 *Appcelerator Apr 12 20:05:11 canadiancow that may be so but why dont setInitialScale work ? Apr 12 20:05:27 PressedWeb: we develop android using the app framework or ndk, not appcelerator Apr 12 20:06:04 I see Apr 12 20:06:48 Appreciate the help guys. I'll go check out some books on the subject. Any good "mobile beginner" books you'd suggest? Apr 12 20:07:35 PressedWeb: afaik, you will probably need to approach android and iphone differently Apr 12 20:08:23 Crap. Apr 12 20:08:35 Was really hoping I could sneak by with HTML5/CSS3/JS Apr 12 20:08:53 you would probably have better luck getting separate books for each one. but for android, http://d.android.com will get you started Apr 12 20:09:13 I have two listfragments in action bar tabs, i select items from list2 to add to list1. they are added but they only show up if i restart the activity or if data already exists in list1 (don't understand that). So is there a way to call notifydatasetchanged or do I need to use add/remove of FragmentTransaction in my ActionBar.TabListener instead attach/detach? Apr 12 20:09:50 PressedWeb: http://developer.android.com/resources/tutorials/views/hello-webview.html Apr 12 20:09:56 PressedWeb, to get started, I always recommend learning the language basics first Apr 12 20:10:07 PressedWeb, to that end, I would recommend the books thinking in java and java concurrency in practice Apr 12 20:10:19 once you master those books, attacking the android sdk is quite the cakewalk Apr 12 20:13:09 java concurrency is a good one Apr 12 20:13:53 ctate should write an authourative book on android services and threads Apr 12 20:14:09 d.android.com Apr 12 20:14:09 threads are threads, what's to know? Apr 12 20:14:11 FTFY. Apr 12 20:14:19 dont do stuff in threads that it says not to do it in Apr 12 20:14:41 dson't use threads if you dont know how to use them Apr 12 20:14:47 pfn: I don't know Java, but I have a pretty good grasp of PHP, JS, and Python. I'm just trying not to learn a separate SDK for each mobile device. :) Apr 12 20:14:57 jeppy: Appreciate it, scouring it now. Apr 12 20:15:10 mikedg: for example, one thing that isn't obvious to a newbie to java concurrency is the proper way to terminate a thread Apr 12 20:15:28 get out of the run loop? Apr 12 20:15:46 mikedg: you're not a newbie :) Apr 12 20:15:55 it's hard to see the level below once you have advanced sometimes. Apr 12 20:16:04 no it isn't Apr 12 20:16:15 then why are you acting like you don't see it? Apr 12 20:16:15 when i didnt know java someone tossed pasta and threads at me Apr 12 20:16:19 and i caught the threads Apr 12 20:16:24 mikedg: so did I Apr 12 20:16:26 and made a pasta salad Apr 12 20:16:29 the proper way to terminate a thread is for it to reach the end of its run() method and exit there. Apr 12 20:16:33 (in java) Apr 12 20:16:43 hi everyone Apr 12 20:16:47 mikedg: unfortunately, not every programmer is as smart as you are Apr 12 20:16:56 (that to readme) Apr 12 20:16:58 huh... i got map overlays I want to add as i go along, how can i do it in a thread safe way? Apr 12 20:17:07 ctate: yeah, I know how. I"m just illustrating a point Apr 12 20:17:11 i find that hard to believe Apr 12 20:17:12 (they are being added on a background thread) Apr 12 20:17:27 would posting the updates to the UI thread make it safe? Apr 12 20:17:44 mikedg: you find what hard to believe? Apr 12 20:17:56 I save an item in a sharedpreferences in a function, then in the same function I call another function and get that item there, but the item is not set but returning the default value, what might be the problem? Apr 12 20:17:59 that every programmer is not as smart as me Apr 12 20:18:07 i used to be very stupid Apr 12 20:18:17 and i still didnt do half the dumb shit i see here in public Apr 12 20:18:25 mikedg: ok, maybe "motivated" would be a better choice of words. Apr 12 20:18:28 its not about stupid/smart, its about experience Apr 12 20:18:36 DarsVaeda: we'll need to see the code Apr 12 20:18:38 DarsVaeda: You're not commiting your changes Apr 12 20:18:38 mikedg: at the end of the day it boils down to how you react to problems Apr 12 20:18:41 we're all smart here, otherwise we wouldn't be coding.. experience separates us Apr 12 20:18:50 i pee on problems like a cat on a fire Apr 12 20:19:28 PressedWeb, if you want to be effective on each platform you develop for, you /need/ to know their ins and outs Apr 12 20:19:31 SimonVT: hah, ur right, wonder why it worked before Apr 12 20:19:36 hi, Should i enable something in order to view /receive logcat output messages in an ndk application ? Apr 12 20:19:37 I already have this : #define LOGI(...) ((void)__android_log_print(ANDROID_LOG_INFO, "native-activity", __VA_ARGS__)) but cant see any output in my LogCat screen ... Apr 12 20:19:41 SimonVT: thanks! Apr 12 20:20:06 ^_^ Apr 12 20:21:19 <`teh1> jyo Apr 12 20:21:55 <`teh1> is there a way of getting the view of a specific list item to change text color? Apr 12 20:22:08 asterisk-Tester: http://code.google.com/p/paridroid/source/browse/PariDroid/jni/paridroid/paridroid.h Apr 12 20:22:11 look there^ Apr 12 20:22:25 http://code.google.com/p/paridroid/source/browse/PariDroid/jni/paridroid/paridroid.c for usage Apr 12 20:23:05 `teh1: write a custom adapter, override getView(), and call setTextColor on the view that you want to change. Apr 12 20:23:13 someone should do an analysis of app naming "conventions" I bet like 99% are name "XXXdroid" ^^ Apr 12 20:23:22 <`teh1> readme: horrible. Apr 12 20:23:29 grothendieck and asterisk-Tester: i'd recommend using a #define symbol instead of the literal tag string such as "libparidroid" Apr 12 20:23:29 <`teh1> i wish android used delegates Apr 12 20:23:37 DarsVaeda: haha Apr 12 20:23:38 something like LOG_TAG Apr 12 20:23:44 `teh1: i am not sure wtf you're talking about man Apr 12 20:23:52 <`teh1> readme: you've never done iOS programming? Apr 12 20:23:57 `teh1: nope Apr 12 20:23:57 and then #define LOG_TAG "paridroid" or whatever in your .c file Apr 12 20:24:00 `teh1: it doesnt, deal with it Apr 12 20:24:03 <`teh1> the list view asks the delegate what to display Apr 12 20:24:08 then you can easily have different tags for different C files, which is very useful Apr 12 20:24:11 <`teh1> instead of having to subclass for one little feature Apr 12 20:24:15 grothendieck: yeah i had those define since i am using a sample code from google Apr 12 20:24:16 `teh1: you can implement that if you really want it. Apr 12 20:24:29 turned out i had to restart eclipse for some reason and it worked Apr 12 20:24:30 ;-P Apr 12 20:24:32 ctate: good idea, I'll do that eventually, just haven't bothered with that since I'm lazy and only have one .c file that does anything Apr 12 20:24:34 <`teh1> readme: then i'd have to subclass it anyways which defeats the purpose. -_- Apr 12 20:24:38 `teh1: ya, the listview asks the adapter what to display Apr 12 20:24:47 `teh1: some people release libraries :) Apr 12 20:24:56 and then they are praised. others complain and no one cares. Apr 12 20:25:13 asterisk-Tester: Are you sure the native functions are being called? Apr 12 20:25:21 <`teh1> QubeZ: list view should just ask a delegate you set for it Apr 12 20:25:23 <`teh1> whatevs Apr 12 20:25:34 <`teh1> so that i dont need >9000 files Apr 12 20:25:38 Google is always hiring. Apr 12 20:25:40 `teh1: submit a feature request, until then just use what is avail to you Apr 12 20:25:45 or go do iOS programming Apr 12 20:26:04 <`teh1> no it'll never happen because it's a way of doing things that is consistent throughout programming for ios Apr 12 20:26:06 <`teh1> and not android Apr 12 20:26:11 <`teh1> also i am doing ios programming Apr 12 20:26:13 <`teh1> im doing both Apr 12 20:26:17 <`teh1> android is just poorly designed. Apr 12 20:26:20 <`teh1> bugs me at times Apr 12 20:26:23 `teh1: stfu Apr 12 20:26:25 plz Apr 12 20:26:26 <`teh1> haha Apr 12 20:26:28 <`teh1> nah Apr 12 20:26:29 :P Apr 12 20:26:38 you are poorly designed Apr 12 20:26:45 oh snap, that just happenned Apr 12 20:26:46 asterisk-Tester: Ah, I see. The bug in your code was Eclipse. ;) Apr 12 20:26:46 <`teh1> you're just jelly Apr 12 20:27:04 grothendieck: i am using this code http://developer.android.com/reference/android/app/NativeActivity.html Apr 12 20:27:31 grothendieck: hehe no really it worked on eclipse restart Apr 12 20:27:32 `teh1: seriously, going into a channel and complaining about how some aspects of its design is "poor" compared to another platform, is that productive? Apr 12 20:27:49 <`teh1> extremely. complaining promotes progression Apr 12 20:27:52 `teh1: why not overcome that by extending Android Apr 12 20:27:57 <`teh1> yikes Apr 12 20:28:00 `teh1: not the way you're doing it Apr 12 20:28:01 <`teh1> one should not have to do that. Apr 12 20:28:01 Eclipse...I'd rather use TECO, at least when TECO screws up your code it does it in interesting ways :P Apr 12 20:28:04 <`teh1> you're not getting the point Apr 12 20:28:08 `teh1: you're a complainer, not a changer Apr 12 20:28:17 they see me trollin, they hatin Apr 12 20:28:18 <`teh1> the point is that the tools should have simply been designed better in the first place Apr 12 20:28:19 innovation promotes progression Apr 12 20:28:29 complaining promotes nothing Apr 12 20:28:38 `teh1: I shed a tear for ya Apr 12 20:28:41 complaining promotes the dark side Apr 12 20:28:53 <`teh1> JakeWharton: it does when you arent the owner of a software Apr 12 20:29:00 <`teh1> if enough people complain change will happen :P Apr 12 20:29:15 Clearly you have never been on facebook Apr 12 20:29:15 there's a word for that Apr 12 20:29:19 it's called "slacktivism" Apr 12 20:29:22 and it doesn't work :) Apr 12 20:29:40 how naive... he thinks people complaining changes things lol Apr 12 20:29:57 i'm complaining about your complaining Apr 12 20:29:59 does that mean you'll change? Apr 12 20:30:04 lol Apr 12 20:30:06 oh snap, that happenned again Apr 12 20:30:17 * readme withholds his occupy wall st jokes Apr 12 20:30:26 shit, i dont think i know how to spell the past tense of happen Apr 12 20:30:35 <`teh1> instead of acting like a 12 year old, just go look up all the hundreds of times that complaining changed things Apr 12 20:30:36 i can tell Apr 12 20:30:37 QubeZ: happ'd Apr 12 20:30:41 enough with the complaining (says the person with the +m hammer) Apr 12 20:30:42 :) Apr 12 20:30:49 <`teh1> idle complaining is also different from complaining and doing something about it Apr 12 20:30:53 <`teh1> don't get me wrong. Apr 12 20:31:07 `teh1: acting like a 12 year old such as trolling an android development channel? :p Apr 12 20:31:09 `teh1: you're idle complaining Apr 12 20:31:19 keep going. let us hear your opinions. Apr 12 20:31:24 <`teh1> not much more one can do in an IRC channel QubeZ Apr 12 20:31:25 'onoes, teh files!' Apr 12 20:31:28 * Snuffel is watching the supernanny Apr 12 20:31:33 <`teh1> i still find it funny that you all think it ISNT poorly designed... Apr 12 20:31:34 lovely lady Apr 12 20:32:19 `teh1: android has its flaws, so does iOS, I'm betting you haven't done a lot of iOS work either Apr 12 20:32:27 omg fragmentationz Apr 12 20:32:34 <`teh1> MDijkstra: everything ive done has been easier in iOS Apr 12 20:32:37 <`teh1> and has made more sense Apr 12 20:32:48 <`teh1> and has required less code and less files Apr 12 20:32:51 today my female professor tried to hold a lecture via an ipad Apr 12 20:32:53 so why are you writing Android? Apr 12 20:32:58 <`teh1> QubeZ: because i have to :P Apr 12 20:32:58 she nearly freaked out Apr 12 20:33:11 so much about that Apr 12 20:33:23 `teh1: you dont have to anything, just say no to android Apr 12 20:33:39 <`teh1> for my own good, i have to. Apr 12 20:33:39 tell them how much its flawed and its incapable of delivering their request Apr 12 20:33:54 <`teh1> it's not a client project Apr 12 20:33:57 `teh1: ok so then stfu and get it done Apr 12 20:33:57 'but no, you see, it's twice the files! I hate files.' Apr 12 20:34:01 <`teh1> it's a project that belongs to myself Apr 12 20:34:16 <`teh1> QubeZ: just because im getting it done doesnt mean i cant bitch about how homosex it is Apr 12 20:34:16 why we are talking abuot iOS on #android-dev? Apr 12 20:34:34 <`teh1> because #android-dev should be renamed to #android-shit Apr 12 20:34:38 <`teh1> :P Apr 12 20:35:10 * grothendieck strongly suspects `teh1 of being a quiche-eater Apr 12 20:35:21 speaking of shit... i need to get some more android onesie's for my son, he messes them all up Apr 12 20:35:28 i don't mind people being critical about Android Apr 12 20:35:45 <`teh1> grothendieck: didnt even know what a quiche was before i just looked it up Apr 12 20:35:50 i do mind them being unconstructively pottymouthed about it Apr 12 20:35:52 pfn: Re: being effective. Is it okay if I just learn iPhone/Android then? Also, what's the deal with PhoneGap/Titanium. They look so nice/easy. :) Apr 12 20:35:56 ctate.append( " in the right channel"); Apr 12 20:36:02 <`teh1> also i dont like flan Apr 12 20:36:08 http://www.pbm.com/~lindahl/real.programmers.html Apr 12 20:36:15 You no likea the flan?! Apr 12 20:36:44 grothendieck: my first paying computer job was working in FORTRAN and Pascal Apr 12 20:36:56 :P Apr 12 20:36:57 FORTRAN IV, even. in the late 80s. it was surreal. Apr 12 20:37:09 ctate is a Real Programmer Apr 12 20:37:10 IF (I .EQ 0) Apr 12 20:37:13 What is the id for the Check mark in the action mode? Of onActionItemClicked Apr 12 20:37:14 err, .EQ. Apr 12 20:37:17 brrrrrrr Apr 12 20:37:52 heh Apr 12 20:38:05 cooldman224: There is none. It just finished the actionmode Apr 12 20:38:15 My first paying programming job was incidentially programming C on Android :P Apr 12 20:38:29 not even C++? Apr 12 20:38:32 yikes :) Apr 12 20:38:32 * grothendieck is a kid standing on your lawns Apr 12 20:38:35 I have an arguably silly question. I have an app which implements a FileObserver watching a directory created and populated by a secondary app. When I push files to this directory via the debugger the FileObserver picks up their creation but when the seconary app creates the files, it doesn't pick them up. It would stand to reason that this would be an issue of permissions, but both the directory and files are readable and executab Apr 12 20:38:35 all, unless the permissions aren't meant to be read in the stanard unix'ish way, or something Apr 12 20:38:54 wwhhyyyy do activities not do the book keeping for you to determine if they are foreground or not Apr 12 20:39:04 Wavesonics: they do. Apr 12 20:39:07 onResume(), done. Apr 12 20:39:10 :) Apr 12 20:39:14 no Apr 12 20:39:19 yes Apr 12 20:39:22 i want to check isForeground() Apr 12 20:39:22 what specifically are you running into? Apr 12 20:39:40 i have a thread that is returning, possible after the user has left the activity Apr 12 20:39:57 Is there any way using a custom SpinnerAdapter to add some visual candy to the currently selected item? Apr 12 20:40:03 Wavesonics: make a getter isForeground, set foreground to false onPause, true onResume Apr 12 20:40:06 done Apr 12 20:40:07 There's no way for the adapter to know which item is selected, right? Apr 12 20:40:10 Ugh, nevermind. Apr 12 20:40:13 Answered my own question. Apr 12 20:40:29 i think leaving a thread running after the user has left the activity is not a good idea. that should be in a service instead, imo. Apr 12 20:40:40 readme: My thoughts exactly. Apr 12 20:40:48 Wavesonics: also, 'a thread returning'? Apr 12 20:40:49 MDijkstra, ... ya. i know. notice I didnt say "Gee i have no idea how to do this my self" I simply said "I think Activities should handle the book keeping them selves" Apr 12 20:40:57 Android will probably kill the running thread when it kills the activity that spawned the thread Apr 12 20:41:10 It wont Apr 12 20:41:16 grothendieck: android doesn't kill threads or activities; it only kills whole application processes. Apr 12 20:41:28 ctate, yup, typed faster than i did :P Apr 12 20:41:30 Oh. Apr 12 20:41:40 Wavesonics: years of practice :) Apr 12 20:41:49 I thought when (for example) orientation changes, Android kills current instance of activity and restarts it with different orientation Apr 12 20:41:51 still, why would you need to check this like that? Apr 12 20:42:12 grothendieck: that's different; that is a configuration change. destroying the activity instance and creating a new one is the default behavior for configuration changes, yes. Apr 12 20:42:12 MDijkstra, there are things u cant do in an activity when it is not foreground Apr 12 20:42:18 as it'll simply call onPause when the 'thread returns to the activity' Apr 12 20:42:24 but that is specifically about hte Activity subclass instance's lifetime Apr 12 20:42:28 So Android does kill activities? Apr 12 20:42:29 Oh Apr 12 20:42:30 I see. Apr 12 20:42:31 Wavesonics: what are you trying to do, then? Apr 12 20:42:32 I certainly woudn't want random threads or specific activities killed off anyway. Better to have my entire app die Apr 12 20:42:36 my thread calls method in the activity when it is about to complete, and those methods need to be protected from doing something illegal Apr 12 20:42:41 but at least with a service, you can return START_REDELIVER_INTENT, and if the process is killed the service will be restarted later and have the intent redelivered, so the thread can run again and finish its work Apr 12 20:42:59 Wavesonics: background stuff in an activity, perhaps? Apr 12 20:43:07 today I learned that Android kills activities but also it dosen't Apr 12 20:43:11 hee hee Apr 12 20:43:12 MDijkstra, so i do the book keeping my self, and protect them w\ if( m_isForeground ) {} Apr 12 20:43:21 "kill" is sort of a technical term, grothendieck Apr 12 20:43:32 Wavesonics: but why are you doing background stuff in the activity, as opposed to a service? Apr 12 20:43:33 sort of and actually Apr 12 20:43:54 MDijkstra: well, that doesn't address the underlying issue Apr 12 20:43:55 MDijkstra, they are just things I don't want slowing down the UI thread Apr 12 20:44:05 ctate: it calls onDestroy(), as I recall from a bug... Apr 12 20:44:06 no something that really requires a full service Apr 12 20:44:08 right? Apr 12 20:44:12 about whether to take UI action when the task is complete, based on whether the separate UI component is currently live Apr 12 20:44:24 ctate, exactly Apr 12 20:44:25 SimonVT: yeah what I thought but my method isn't being called. I want it called when an menuitem is clicked or the check is clicked. http://pastebin.com/QJHUDJ2V Apr 12 20:44:42 is *anyone* here using ActionBarCompat ?? Apr 12 20:44:46 * g00s expects crickets Apr 12 20:44:49 grothendieck: right; it pauses / stops / destroys the current Activity instance and then creates / starts / resumes a new one with the new Configuration Apr 12 20:44:50 I am, in one project Apr 12 20:44:53 these threads return basically success or failure to the Activity, and that needs to do the appropriate thing to the UI, but only if its foreground Apr 12 20:44:57 and allows the old instance to be garbage collected Apr 12 20:45:03 MDijkstra: you are ? is it working ok ? Apr 12 20:45:09 cooldman224: The "checkmark" aka done button is not an action item, so onActionItemClicked isn't called Apr 12 20:45:13 yeah, athough it's not really a library Apr 12 20:45:25 more of a sample you can modify Apr 12 20:45:26 onDestroyActionMode is Apr 12 20:45:38 MDijkstra: would you use it again, or use something else ? Apr 12 20:45:42 (in a future app) Apr 12 20:45:46 I'd probably use ABS Apr 12 20:45:48 in a new app Apr 12 20:45:50 ok Apr 12 20:46:09 ABS is great Apr 12 20:46:11 ive been trying to get my intern to switch from mechanical engineering into something more softwarey for months Apr 12 20:46:14 such an uphill battle Apr 12 20:46:20 :P Apr 12 20:46:25 "i can learn what i need on my own" Apr 12 20:46:25 * g00s cues SimonVT Apr 12 20:46:41 actionbar scott? Apr 12 20:46:51 Oh, I don't care what you use, g00s :p Apr 12 20:46:54 ctate: good to know , thanks Apr 12 20:46:57 I would just never use ABC Apr 12 20:47:01 i actually searched for action bar scott Apr 12 20:47:03 SimonVT: i had my method there before but onDestroyActionMode is also called when I click other items in the list, so it unchecks my items when I click another item... Apr 12 20:47:26 cooldman224: onDestroyActionMode is called cus you finish the actionmode.. Just like the done button Apr 12 20:47:29 lol Apr 12 20:47:57 If you need to handle it differently, set a bool or something Apr 12 20:48:00 canadiancow|work: i read about a move escaping slaughter , wandering in the streets yesterday … was that you ? Apr 12 20:48:04 *bovine Apr 12 20:48:07 btw. what is the best channel for android source dev? Apr 12 20:48:14 holy crap, how did colloqueueue replace bovine for move Apr 12 20:48:21 lol Apr 12 20:48:31 anyone know what's in r19? Apr 12 20:48:44 JakeWharton: a little less than r20 Apr 12 20:48:49 hmm, how do I make a Thread.interrupt() close a blocking read? Apr 12 20:48:56 DarsVaeda: AOSP development? really, the android-platform@ and android-contrib@ Google Groups mailing lists are best for that. Apr 12 20:49:00 SimonVT: ah ok, i understand now. I know what I need to do, at least I think Apr 12 20:49:03 pfn: you have to close the socket Apr 12 20:49:04 pfn: you don't. Apr 12 20:49:12 Thread.interrupt() is an abomination. Apr 12 20:49:28 so is Java I/O, come to think of it. Apr 12 20:49:37 thread.interrupt is great if stuff actually honored it Apr 12 20:49:41 Haskell I/O is Better Apr 12 20:49:52 ha Apr 12 20:49:52 ctate: I actually need to debug an annoying bug on my device and I wondered where I could get info on how to start Apr 12 20:49:55 JakeWharton: Of ADT? Apr 12 20:50:01 yes Apr 12 20:50:05 DarsVaeda: oh ugh Apr 12 20:50:06 go check git? Apr 12 20:50:11 Anybody want to rewrite Android in Haskell? :P Apr 12 20:50:25 No. Nobody wants to do that. Apr 12 20:50:31 :( Apr 12 20:50:42 ctate: you want to rewrite it in fortran i'm betting Apr 12 20:50:45 what, you think that cellphones have way too much ram at this point? Apr 12 20:50:48 JakeWharton: Tor posted something as a response on their google group.. Some lint fixes I believe Apr 12 20:50:51 hahaha Apr 12 20:51:15 g00s: just because i got paid to write FORTRAN doesn't mean i *preferred* it... ;) Apr 12 20:51:40 Actually you can run haskell code on Android with GHC and use the cross compiled C binary/library via NDK Apr 12 20:51:53 if anybody was ever wondering about that Apr 12 20:52:23 SimonVT: link? Apr 12 20:52:36 grothendieck: think of all the senior projects you could run on your android phone! Apr 12 20:52:39 JakeWharton: Too lazy to look.. Read it a day or two ago :F Apr 12 20:52:41 hahahahaha Apr 12 20:52:48 a day or two ago? Apr 12 20:52:55 it was just released like 5 min ago Apr 12 20:53:21 He uploaded a snapshot a few days ago Apr 12 20:53:26 Maybe he lives in a different time zone Apr 12 20:53:30 Oh, sdk 19.. Didn't see that :P Apr 12 20:53:36 As for the GPU acceleration, we just realized that a branch misconfig created the issue when we built r18. Since the r18 branch was basically just 2 non emulator change on top of the r17 branch, QA did a quick sanity check instead of a full QA pass and didn't check GPU support. Apr 12 20:53:38 oh google... Apr 12 20:53:46 there's an sdk19 already/ man Apr 12 20:53:46 you make changes related to GPU, and you dont test GPU? Apr 12 20:53:47 what is the "best" proguard config to completely obfuscate the code? Apr 12 20:53:49 so fast Apr 12 20:53:57 -remove * Apr 12 20:54:09 0 byte APK Apr 12 20:54:15 completely unable to be decompiled Apr 12 20:54:15 JakeWharton: I'm hoping it fixes GPU acc on my computers Apr 12 20:54:35 JakeWharton: eh? Apr 12 20:54:41 "second best"? Apr 12 20:54:42 SimonVT: https://plus.google.com/u/0/108967384991768947849/posts/13ZczsoDNBp Apr 12 20:54:44 there is an sdk 19 ? i don't see it Apr 12 20:54:49 oh yay Apr 12 20:55:17 why the fuck do they make 'small revisions' and update the major version number ? Apr 12 20:55:31 my manager's getting annoyed Apr 12 20:55:38 WE JUST UPDATED HUDSON TO 18 Apr 12 20:55:39 etc Apr 12 20:55:40 :D Apr 12 20:55:53 g00s: Cus their build system doesn't support point releases Apr 12 20:56:03 Looking good so far.. It actually starts booting Apr 12 20:56:04 well, i guess the adt only has x.y.z Apr 12 20:56:32 yea Apr 12 20:56:35 and they want adt to match sdk tools Apr 12 20:56:39 g00s: because version numbers are arbitrary? Apr 12 20:56:56 that too Apr 12 20:57:01 windows 7 was 6.1 Apr 12 20:57:03 :D Apr 12 20:57:13 they should use server http://semver.org/ Apr 12 20:57:21 *semver damn clloqueuueueueueyeyeyeyeyeye Apr 12 20:57:46 g00s > http://www.nyanko.ws/game_heimen_no_heiwa.php Apr 12 20:57:46 :D Apr 12 20:57:51 * hackkitten made new game :o Apr 12 20:58:01 hackkitten: \o/ !!! Apr 12 20:58:08 :D Apr 12 20:58:12 ^---^ Apr 12 20:58:16 hackkitten: you are on the path to riches now ! Apr 12 20:58:16 hackkitten: yo Apr 12 20:58:20 oh yes~ Apr 12 20:58:28 like $3/day :D Apr 12 20:58:44 it should be possible to eat on $3 / day Apr 12 20:58:50 yum Apr 12 20:58:51 :D Apr 12 20:58:52 see, who said you can't make a living writing android Apr 12 20:58:57 * hackkitten giggles Apr 12 20:59:06 * g00s sees rice and beans in your future Apr 12 20:59:18 do cats even like rice and beans ? Apr 12 20:59:21 you'd pay back your phone in about a year at that rate :D Apr 12 20:59:26 I know I do Apr 12 20:59:31 though ramen > * Apr 12 20:59:32 :P Apr 12 20:59:50 WTF the Android SDK Manager window is modal in Eclipse... Apr 12 21:00:37 they should really overthink payment models for android apps soon :/ Apr 12 21:01:07 wtf Apr 12 21:01:15 why did google change android market to google play Apr 12 21:01:19 the "Preview feedback" screen for reporting a crash has a software back button Apr 12 21:01:20 ... Apr 12 21:01:28 "play" sounds retarded, it's not a game store Apr 12 21:01:33 it has tons of different kinds of apps Apr 12 21:02:50 so where is sdk 19 ? Apr 12 21:02:56 In the sdk manager Apr 12 21:02:56 in the sdk manager? Apr 12 21:03:15 19? 18 just released a few days ago Apr 12 21:03:16 oh, i never use that because it always seems to fuck things up. i just went to the web page Apr 12 21:03:55 something about not being able to move files and half installed crap Apr 12 21:05:01 ill be damned Apr 12 21:05:09 they don't have the changelist published yet though Apr 12 21:06:51 it takes too long for packages from canardia to get to the US Apr 12 21:06:58 canadiancow|work: can you do something about that? :P Apr 12 21:08:36 semver is a joke Apr 12 21:08:49 (in my opinion) Apr 12 21:09:53 Hi there! Apr 12 21:09:54 * g00s shrugs. i would rather see git 1.7.9.4 than git 656773 Apr 12 21:10:15 Does anybody know if Android Development on Linux is possible without problems with OpenJDK 7? Apr 12 21:10:29 damn nit, another lion java update Apr 12 21:10:33 the #rd one in a week Apr 12 21:10:35 3rd Apr 12 21:11:15 I am stuck with Ubuntu 10.04 for now Apr 12 21:11:32 Also: is it possible to use OpenJDK 7 for AOSP builds? Apr 12 21:12:00 marcreichelt: i think alankila tried java 7 and it didn't work Apr 12 21:12:11 god damn Apr 12 21:12:14 fucking comments in xml Apr 12 21:12:27 above a linearlayout Apr 12 21:12:32 and inside JUST a relativelayout Apr 12 21:12:39 Apr 12 21:12:48 i removed one, modified the other a bit, and it works fine Apr 12 21:12:49 T_T Apr 12 21:13:16 g00s, alankila - really? Where are the problems? keytool? Apr 12 21:13:26 no, the byte code that is generated Apr 12 21:13:32 oh, sh*t Apr 12 21:13:33 use Java 6 Apr 12 21:13:39 how come I get no internet connection from my Emulator Apr 12 21:13:39 there's "3G" up there Apr 12 21:13:55 its not actually connected to a cellular network Apr 12 21:13:59 it just pretends to be so apps behave Apr 12 21:14:14 I use it (for now), but IMHO I might have to upgrade to OpenJDK 7 in the future Apr 12 21:14:24 canadiancow|work: damn it, i thought i could tug my laptop around and make calls with the emu w/o a contract from vz Apr 12 21:14:37 my chromebook has 2 years free Apr 12 21:14:39 and it can receive SMS Apr 12 21:19:03 Which phones can use 3G while a call is ringing? Apr 12 21:19:08 GSM? Apr 12 21:20:45 yep Apr 12 21:20:46 also some flavors of CDMA Apr 12 21:20:50 ok apparently 4G LTE will work on verizon during a call.. Apr 12 21:20:50 chromebook :\ Apr 12 21:20:57 no Apr 12 21:20:58 not GSM Apr 12 21:21:00 UMTS Apr 12 21:21:22 and what do you mean "use 3G" Apr 12 21:21:30 the phone calls are done over "3G" Apr 12 21:21:38 im assuming you mean "use data" Apr 12 21:21:40 canadiancow|work: my app requires the internet to make a quick http request when a call is received. Apr 12 21:21:41 which is very different Apr 12 21:21:49 yeah, I meant use data Apr 12 21:21:49 well, most "lte" phones have lte as a seperate radio, so they should be able to use data at same time Apr 12 21:21:57 but generally its gsm Apr 12 21:22:02 GSM does not support it Apr 12 21:22:06 you need UMTS Apr 12 21:22:12 thanks Apr 12 21:22:35 NB: most people are actually not informed about what exactly the various cellular voice + data protocols are and now they are intermixed Apr 12 21:22:51 it's a messy freaking rabbithole Apr 12 21:23:32 but if you're a dev who depends on it, it helps to know ;) Apr 12 21:24:06 i'll be reading up on this.. having a good user experience when someone installs who can't use data during a call is going to be critical for me. Apr 12 21:24:13 ctate, any chance of getting a "disable 2g" option in phone settings? :\ Apr 12 21:24:32 not really Apr 12 21:24:35 my provider doesnt have a 2g network, so it's a massive waste of battery Apr 12 21:24:50 i wonder whether you can jigger it directly Apr 12 21:24:56 (probably not) Apr 12 21:25:04 but theres a 3g option :( Apr 12 21:25:07 why no 2g :( Apr 12 21:30:05 does the build system support proguard obfuscation? Apr 12 21:30:22 seems to work in eclipse but not in build system... Apr 12 21:31:12 nebkat: like ant? Apr 12 21:31:23 probably... Apr 12 21:31:50 works fine here Apr 12 21:32:25 I added this Apr 12 21:32:26 -optimizationpasses 5 Apr 12 21:32:26 -dontusemixedcaseclassnames Apr 12 21:32:26 -dontskipnonpubliclibraryclasses Apr 12 21:32:26 -dontpreverify Apr 12 21:32:26 -verbose Apr 12 21:32:30 -optimizations !code/simplification/arithmetic,!field/*,!class/merging/* Apr 12 21:32:34 but dex2jar still shows *everything* Apr 12 21:34:34 i dont understand the point of proguard if tools like that will make source easily seen Apr 12 21:34:49 how does one protect your company's IP Apr 12 21:35:23 QubeZ: the difference is that it can take days understanding obfuscated code rather than minutes with non-obfuscated code Apr 12 21:35:54 nebkat: how long do those dex tools take to deobfuscate code? Apr 12 21:36:01 days for what sized proj? Apr 12 21:36:05 no Apr 12 21:36:10 you can deobfuscate code Apr 12 21:36:10 nebkat: see the sample pro guard config in adt 17 Apr 12 21:36:15 oops, sdk 18 Apr 12 21:36:17 oops, sdk 19 Apr 12 21:36:23 ugh sdk Apr 12 21:36:24 nebkat: sometimes you don't need to deobfuscate Apr 12 21:36:26 don't use optimization passes, among other things Apr 12 21:36:32 (read the comments) Apr 12 21:36:37 p_l: I know... Apr 12 21:36:39 there is a tool that de-obfuscates!? Apr 12 21:36:45 I thought there was only a decompiler Apr 12 21:36:46 * p_l used to remove LVL calls from obfuscated code Apr 12 21:36:47 can't* deobfuscate Apr 12 21:37:14 http://code.google.com/p/dex2jar/wiki/DeObfuscateJarWithDexTool Apr 12 21:37:25 g00s, i use optimization passes Apr 12 21:37:36 canadiancow|work: yeah, but the android config says don't Apr 12 21:37:54 do you do everything you're told without knowing why? :P Apr 12 21:37:59 its possible? :O Apr 12 21:38:05 kang kang kang kang :D Apr 12 21:38:06 canadiancow|work: it messes with dx Apr 12 21:38:19 works fine in words with friends Apr 12 21:38:21 and scramble with friends Apr 12 21:38:31 what works? Apr 12 21:38:39 proguard optimization Apr 12 21:38:56 i use passes too, never tried to get the source code back from my apk though Apr 12 21:39:05 it sucks that you can't protect your source Apr 12 21:39:10 you can't? Apr 12 21:39:29 eventually you can get the source back out Apr 12 21:39:38 protip: that's true of C, too Apr 12 21:39:43 * SimonVT also uses optimization passes Apr 12 21:39:48 and pretending otherwise is naïve Apr 12 21:41:41 the config says if you use optimizations, use '# -optimizations !code/simplification/arithmetic,!code/simplification/cast,!field/*,!class/merging/*' Apr 12 21:41:52 among some other things Apr 12 21:41:53 i actually changed some of that i think Apr 12 21:42:02 will serializing a File object representing a directory also serialize all of the File objects that could be retrieved through its methods? Apr 12 21:42:10 arithmetic wasn't an issue since 1.6 or some shit Apr 12 21:42:11 -optimizations !code/simplification/arithmetic,!code/simplification/cast,!field/*,!class/merging/* Apr 12 21:42:14 prob not right? Apr 12 21:42:17 oh wait no Apr 12 21:42:23 the with friends games use that line Apr 12 21:42:28 my personal app is more... risky Apr 12 21:42:29 ;) Apr 12 21:42:48 -optimizations !code/simplification/cast Apr 12 21:42:54 and it works fine :) Apr 12 21:43:02 i didn't notice any difference in size between optimizations, so i just turned it off anyhow :) Apr 12 21:43:12 i mean, it was meager Apr 12 21:43:18 speed as well Apr 12 21:43:25 but class merging obfuscates as well as optimizes Apr 12 21:43:28 didn't notice that either Apr 12 21:43:36 well a lot of the optimizations also help obfuscate Apr 12 21:43:37 * g00s apparently writes the tightest code evar Apr 12 21:45:22 optimizations doesn't necessarily mean size reductions Apr 12 21:45:39 a lot of times, optimizations means increased code size Apr 12 21:45:45 due to loop unrolling and stuff like that Apr 12 21:45:49 sure Apr 12 21:46:25 but i use pro guard mostly for size optimization Apr 12 21:47:08 i use it mostly so i odnt have public static final boolean TEST_MODE_ENABLE_ALL_PAID_FEATURES = false; Apr 12 21:48:40 if your app's performance sucks, don't rely on optimizations by your compiler, tools, progaurd, whatever. rewrite the damn algorithm :) Apr 12 21:49:35 If proguard makes your app fast, spend time fixing bugs and adding features :p Apr 12 21:50:09 if pro guard makes your app fast, you can't code Apr 12 21:50:27 true :( Apr 12 21:53:44 If I drop my built target to API level 8 I get an error on SSLContext.setDefault(SSLContext): "The method setDefault(SSLContext) is undefined for the type SSLContext". Looks like that should exist from API level 1 on... Apr 12 21:54:23 Then you probably read wrong Apr 12 21:54:39 Seems like it, am I missing something here? http://developer.android.com/reference/javax/net/ssl/SSLContext.html Apr 12 21:55:01 You're missing the Since: API Level 9 Apr 12 21:55:30 is there a way to allow a particular user to download your app for free? Apr 12 21:55:38 SimonVT: I sure am, I sure am. Apr 12 21:56:37 <[deXter]> moonlightcheese, Yes, make your app itself free and use in-app billing to unlock the premium features. Apr 12 21:56:38 SimonVT: Thanks. Still new to this, didn't notice that with it's questionable font color/background choice, but now I know where to look. Apr 12 21:57:44 I'm trying to listen to the bluetooth media button (android.intent.action.MEDIA_BUTTON) with a broadcast receiver, but nothing happens. However, when I entered a music app and started playing music on the headset, and then pressed the button my broadcastReceiver springs to life. Am I missing something? Apr 12 21:59:41 * ctate | Android developers: If you had some issues with the previous release of the emulator using GPU emulation, Android Tools r19 was just pushed with a number of bug fixes. Apr 12 21:59:42 seen on G+ Apr 12 22:11:31 :O it's friday the 13th Apr 12 22:18:04 what would be the best way to monitor to see if there are items no longer checked? Apr 12 22:19:08 so earlier we were discussing UTMS, and how with a UTMS phone we can use the data during a call Apr 12 22:19:19 I was checking out android's uses-feature list, and my options in this respect are Apr 12 22:19:28 android.hardware.telephony.gsm and android.hardware.telephony.cdma Apr 12 22:19:45 so, would doing uses-feature gsm, be a reasonable filter, for just this first release? Apr 12 22:20:03 I know those new CDMA phones from verizon with 4G LTE can use data during a call Apr 12 22:21:04 which new phones Apr 12 22:21:17 the devices that have 4g LTE Apr 12 22:21:25 i'm not a hardware buff, so I can't name off the top of my head. Apr 12 22:21:45 like the incredible 4g? Apr 12 22:21:57 do you have one of those? Apr 12 22:22:13 haha no i still have the original incredible Apr 12 22:23:34 i was on last night droid-life and saw it Apr 12 22:23:45 the galaxy nexus is huge i dunno if i like that Apr 12 22:31:54 j #xorg Apr 12 22:37:13 ctate - |  Android developers: If you had some issues with the previous release of the emulator using GPU emulation, Android Tools r19 was just pushed with a number of bug fixes. Apr 12 22:37:31 so adt is effectively dailys now? Apr 12 22:42:01 the sdk/tools folks have been doing a lot more frequent & open-beta sorts of releases for a while now Apr 12 22:42:17 (i applaud this!) Apr 12 22:43:15 i just installed r17 the other day, i had beta 1 on here forever Apr 12 22:43:36 its nice to get updates to the tools, but there seems to be a lot of regression Apr 12 22:43:49 send feedback about regressions Apr 12 22:44:17 last stable version of the tools was like 13? Apr 12 22:44:18 among other things it helps is build out systems to catch & prevent them in the first place Apr 12 22:44:23 the management of dependencies is miles better since r17. At some point it may match maven. Apr 12 22:44:35 Eclipse just checked updates and only sees 18 Apr 12 22:44:57 im just glad library projects finally work again in 17 Apr 12 22:45:07 but you cant debug library projects now Apr 12 22:46:52 bubbleguuum: m2e works just find with adt Apr 12 22:47:36 I didn't try the latest m2e versions but historically it never really worked. Apr 12 22:47:54 until it comes time to compile a release i actually forget that im running maven beneath it all Apr 12 22:48:05 yeah, it was a pita to set up Apr 12 22:48:14 is xhdpi used to tablet graphics? Apr 12 22:48:25 s/to/for Apr 12 22:48:29 ctate i commented on a "closed" and "fixed" issue, because its still broken Apr 12 22:48:36 I got it half working 4 month ago then abandonned. oo much fighting between ADT and m2e connector expecting different things Apr 12 22:48:44 android-maven-plugin >1.3 and android-maven-connector >2 Apr 12 22:49:44 i can't tell if xhdpi is looking good on the tablet emulator. Apr 12 22:49:48 it still looks like shit. Apr 12 22:49:59 tablets don't have xhdpi... Apr 12 22:50:04 yet Apr 12 22:50:08 :) Apr 12 22:50:12 so they use large? Apr 12 22:50:16 when i build, debug, test, it is all eclipse and adt (with the dependencies coming from maven), but when i release i use maven Apr 12 22:50:39 what Apr 12 22:50:45 density != size Apr 12 22:50:46 EvilPenguin: the Galaxy Nexus is xhdpi Apr 12 22:50:47 EvilPenguin: depends on the tab Apr 12 22:50:54 EvilPenguin: the Xoom (for example) is mdpi Apr 12 22:50:58 but most are hdpi xlarge Apr 12 22:51:05 is the transformer infinity thingy xhdpi? Apr 12 22:51:11 it's like 1920x1200 on 10.1" Apr 12 22:51:16 pfn: what's that in dpi? Apr 12 22:51:21 * pfn is too lazy to calculate Apr 12 22:51:24 :p Apr 12 22:51:31 birbeck i havent seen (irl) an hdpi tablet Apr 12 22:51:44 there's the ipad... Apr 12 22:51:49 pfn: okay, that's 224 dpi Apr 12 22:51:52 which is mdpi Apr 12 22:51:58 err, hdpi Apr 12 22:51:59 interesting Apr 12 22:52:06 ok, that makes sense Apr 12 22:52:18 hdpi is nominally 240, so that's the appropriate bucket Apr 12 22:52:55 ctate: arent xoom and tab 10.1 both hdpi? Apr 12 22:53:01 they are the same size and res Apr 12 22:53:07 birbeck: no, they're mdpi Apr 12 22:53:19 1280x800 10" Apr 12 22:53:40 which is mathematically right around 150 dpi Apr 12 22:53:45 so it's mdpi, which is nominally 160 Apr 12 22:53:59 I want the one with more dpis Apr 12 22:54:04 <3 http://members.ping.de/~sven/dpi.html Apr 12 22:55:10 how many displays don't have square pixels ? Apr 12 22:56:09 is pentile considered a square pixel ? Apr 12 22:56:28 in aggregate? yes Apr 12 22:56:31 iirc Apr 12 22:56:49 i've heard of people trying to make Android devices using panels that are significantly nonsquare Apr 12 22:56:49 square pixel refers to aspect ratio Apr 12 22:57:02 it looks ... suboptimal :) Apr 12 23:02:43 I wish I could call setRetainInstance on activities. Apr 12 23:03:51 hey, so is there no longer a web interface for viewing android source? Apr 12 23:04:54 http://grepcode.com might searchit Apr 12 23:05:13 ie http://grepcode.com/snapshot/repository.grepcode.com/java/ext/com.google.android/android/4.0.3_r1 Apr 12 23:05:48 vadi2: re setRetainInstance... what are you trying/hoping to accomplish? Apr 12 23:06:30 Stay on the tab that the user was on when they change the orientation. Apr 12 23:06:47 This is an Activity though, not a fragment Apr 12 23:07:00 that's really easy Apr 12 23:07:08 just save it in your bundle Apr 12 23:07:12 and restore it onCreate Apr 12 23:07:15 or whever is appropriate Apr 12 23:07:29 at least it's not some huge piece of user-input that needs to be saved and then restored Apr 12 23:07:50 Oh. I'll try that. Apr 12 23:09:44 Which before-change callback is the best to use to save on? Apr 12 23:10:18 in onSaveInstanceState Apr 12 23:10:48 thank you Apr 12 23:12:37 "Lumia 900 sales have 'exceeded' expectations, says AT&T retail chief" \o/ Apr 12 23:12:44 competition is good ;) Apr 12 23:13:36 of course, their expectations could have been … 0 :D Apr 12 23:14:36 google has $49.3 billion cash on hand, hopefully they can fire a few more hamsters to work on the market Apr 12 23:14:41 *hire Apr 12 23:14:51 oops, play Apr 12 23:15:11 why the fuck doesn't the back button work in the verge using chrome Apr 12 23:15:57 g00s: but it does using Android Browser? Apr 12 23:16:09 oh, have not checked. Apr 12 23:16:23 http://www.theverge.com/2012/4/12/2944376/boeing-android-phone-defense-intelligence Apr 12 23:17:59 ctate: do any googlers sleep with the servers? http://www.theverge.com/2012/4/12/2944354/interxion-olympics-sleeping-pods Apr 12 23:18:01 :D Apr 12 23:19:39 better than sleeping with the fishes Apr 12 23:20:16 * Jug6ernaut would not recommend that Apr 12 23:23:05 ctate: out of curiosity, when you guys make regular changes to android source, how do you test them - I mean, your not gonna compile the whole thing right? Apr 12 23:23:25 err, yes we do Apr 12 23:23:27 lol Apr 12 23:23:49 although of cousre just because e.g. i make a change in the Activity Manager Service doesn't mean i have to recompile the whole damn source base Apr 12 23:23:54 mmm is yor frend! Apr 12 23:24:07 I have a bit of a complication, getSelectedTab returns a tab object and selectTab expects a tab object. Apr 12 23:24:12 How can I serialize that? Apr 12 23:24:22 for example, if i make a Backup Manager Service change and i want to build it and reflash a test device Apr 12 23:24:26 the command i run is: Apr 12 23:24:45 mmm -j 10 frameworks/base/services/java snod Apr 12 23:25:05 err, -j10 Apr 12 23:25:07 no space in there Apr 12 23:25:12 * alcapwn|x googles Apr 12 23:25:30 "snod" is a special target in the Android build system Apr 12 23:25:39 hi, im having trouble with this line of code Apr 12 23:25:40 stands for "System image, NO Dependencies" Apr 12 23:25:47 iS = resources.getAssets().open("raw/contains.txt"); Apr 12 23:26:03 "raw/contains.txt" is this incorrect? Apr 12 23:26:27 mantas322: you want the Asset Manager, not Resource Manager Apr 12 23:26:28 i have contains.txt in my raw folder Apr 12 23:26:52 nice Apr 12 23:26:53 ty Apr 12 23:27:10 ctate: do you have link to mmm tool, search brings up date format questions Apr 12 23:27:28 mmm is a shell function defined in envsetup.sh Apr 12 23:27:31 as is mm Apr 12 23:27:43 Oh OK, thanks Apr 12 23:27:47 "mm" is short for "make mine", builds the thing in the current directory Apr 12 23:28:07 "mmm" is short for "make mine multiple" -- takes a set of arguments that are paths to all the things to build Apr 12 23:28:19 "things" in this context are nodes in the source tree that have Android.mk files Apr 12 23:29:15 i personally have a shell function defined in my shell profile Apr 12 23:29:52 that rebuilds all the various bits of the framework that might need it, but doesn't build anything else; then it uses 'snod' at the end to repackage a system image with my changes without having to do a full build with all the dependencies Apr 12 23:30:20 it's kind of verbose and has a lot of bits and pieces that are there just because i often muck with the backup/restore related stuff Apr 12 23:30:22 but Apr 12 23:30:24 * ctate | mmm -j10 frameworks/base/ frameworks/base/core/res frameworks/base/services/java/ frameworks/base/tests/backup/ frameworks/base/libs/ui frameworks/base/libs/utils/ frameworks/base/core/jni/ frameworks/base/native/android frameworks/base/policy frameworks/base/packages/SystemUI frameworks/base/cmds/bmgr frameworks/base/cmds/bu frameworks/base/packages/BackupRestoreConfirmation frameworks/base/packages/SettingsProvider Apr 12 23:30:25 * ctate frameworks/base/packages/SharedStorageBackup snod Apr 12 23:30:30 is the command it runs :) Apr 12 23:31:15 frequently a framework change might touch several of those subtrees; this just lets me not worry about it Apr 12 23:31:42 obviously this only works once you've done a proper full build to begin with Apr 12 23:32:38 Right, was curious about the small changes since full ics takes hours to build Apr 12 23:32:52 mm and mmm, in conjunctino with snod Apr 12 23:33:10 definitely look at what's actually in envsetup.sh Apr 12 23:33:16 lots of useful shell functions Apr 12 23:35:40 oh, there's another pseudotarget in the android build system that is very occasionally useful Apr 12 23:35:42 'showcommands' Apr 12 23:35:52 will cause make to print all the commands it's running to buidl targets Apr 12 23:36:03 handy for debugging changes to the build infrastructure Apr 12 23:38:15 am.open("contains.txt");