**** BEGIN LOGGING AT Wed Jun 27 02:59:58 2012 Jun 27 03:26:53 is there anyway to pin point where a error is coming from using eclipse, im new to development with android and im having a forced closed problem after I click my app Jun 27 03:27:30 and i have the class defined in the manifest so im not sure what the error is and i am trying to find it Jun 27 03:29:36 stacktrace ? Jun 27 03:30:37 ? Jun 27 03:30:49 look at your logcat Jun 27 03:31:54 yes i see it but it says a bunch of different stuff Jun 27 03:33:25 ah yes, "a bunch of different stuff" - the killer problem which stops all developers Jun 27 03:34:01 lol Jun 27 03:34:20 im sorry, to be honest im not familier with what the logcat is saying Jun 27 03:35:36 if your app is dying and giving you the force close dialog, there's an uncaught exception... which will be in the log Jun 27 03:38:14 ok thanks Jun 27 03:55:12 hm. Any layout suggestions, I've got basically 7-8 buttons I want to be easily acccessed, but its too many for an actionbar Jun 27 03:56:49 camera/gallery, 4 pages that kinda group together, a sort of quick action button with page specific actions and a button to get back to the home screen Jun 27 04:02:30 offlim: did you find the error? Jun 27 04:11:53 Leeds: sorta, but its working now Jun 27 04:11:55 thank you Jun 27 04:12:39 erm... did you find the error in the log or not? Jun 27 04:12:49 because it's pretty much an essential skill Jun 27 04:27:22 "Amazon reportedly preparing Kindle Fire successor for July 31st unveiling" … yey Jun 27 04:27:33 anyone have a good tutorial or intro to android's SQLite stuff? Jun 27 04:27:46 Tagami: there are probably hundreds on the web :| Jun 27 04:28:05 there are hundreds of bad tutorials :P Jun 27 04:28:48 well, probably hundreds of good ones too Jun 27 04:29:20 a hundred sqlite tutorials were probably added in just the last few minutes alone Jun 27 04:29:27 Tagami did you look at the note thingy? Jun 27 04:29:37 linking you, sec. Jun 27 04:29:49 ffs Jun 27 04:29:53 they moved everything Jun 27 04:30:13 heh, sad times Jun 27 04:30:21 Error 404 Jun 27 04:30:21 File not found Jun 27 04:30:25 -_- even their search is wrong Jun 27 04:30:37 :( Jun 27 04:30:40 yeah like Jun 27 04:30:42 i was following one Jun 27 04:30:46 and got like half way into it Jun 27 04:30:59 try use google cache or something Jun 27 04:31:09 Tagami: here is a random one i found http://www.vogella.com/articles/AndroidSQLite/article.html Jun 27 04:31:10 and then it was like, "oh this assumed you were on 4.0 because it uses some feature that was included and otherwise it's like 10x more complicated with this approach" Jun 27 04:31:27 yeah, that was the first one i read Jun 27 04:31:32 since it's the first result on google Jun 27 04:32:04 in fact, that's specifically the one i was just complaining about Jun 27 04:32:19 really? what sqlite feature was added in 4.0 ? Jun 27 04:32:34 its a slightly higher rev of the engine, but nothing earth shattering Jun 27 04:33:09 it's not the sqlite specifically, it's the DAO thing that he uses Jun 27 04:33:30 (if i read it correctly, at least) Jun 27 04:33:43 using SQLite itself is almost boringly easy Jun 27 04:33:54 it seems like that would be the case Jun 27 04:33:55 when you get onto things like ContentProviders, it starts getting more complex Jun 27 04:34:08 so if you just want a database for your app... easy Jun 27 04:34:37 Tagami: i don't see anything special about his dao Jun 27 04:35:07 well, i could be wrong Jun 27 04:35:22 "Use the latest version of Android 4.0. This is currently API Level 15. Otherwise I would have to introduce the Loader class, which should be used as of Android 3.0 for managing a database Cursor. And this class introduces additional complexity." Jun 27 04:36:00 ok, maybe this isn't such a good tutorial after all - i lost faith in the author after reading that statement Jun 27 04:36:19 Tagami: forgive me, its harder than i thought to find a good tut ! Jun 27 04:36:47 i would say look at the iosched 2011 code, but that is screwed up wrt sqlite Jun 27 04:36:53 but i bet its fixed in 2012 Jun 27 04:37:17 although - iosched uses a cp ,so if you want to forgo that, its aybe not the best thing to look at Jun 27 04:37:58 heh Jun 27 04:38:03 i'm watching a video Jun 27 04:38:07 i thought it would be totally simple too Jun 27 04:38:17 it actually is simple Jun 27 04:38:24 tedious, but simple Jun 27 04:38:27 well Jun 27 04:40:48 you know - maybe just grab some old CommonsWare book and read the sqlite chapter Jun 27 04:41:01 they are free after a point (of getting old) but not much has changed Jun 27 04:41:34 possibly so Jun 27 04:41:49 i've got two books, one has a kind of weak tutorial that doesn't explain anything Jun 27 04:41:54 and the other doesn't mention SQL at all Jun 27 04:41:55 or even better - *buy* the commonsware books Jun 27 04:42:02 that would also be an option Jun 27 04:42:25 see, if you go the Loader route, the default one uses CP - so if you want to use straight up sqlite you have to write your own. its pretty easy, but if you're new to all of this you may not want to do that Jun 27 04:42:36 okay, step back Jun 27 04:42:43 Tagami: what are you actually trying to achieve? Jun 27 04:43:09 well, i want to stash a file that i download from a website Jun 27 04:43:18 and i probably want to keep like the 10 most recent ones stored Jun 27 04:43:26 what sort of file? Jun 27 04:43:27 figured database is the perfect way to do that Jun 27 04:43:29 CSV thing Jun 27 04:43:33 it's not large Jun 27 04:44:12 firstly, how do you need a database to do that? secondly, if you mean you want to parse the file and store the data, how do you need anything more than a simple straightforward database to do that? Jun 27 04:44:31 well, probably i only need something simple Jun 27 04:44:46 great, because sqlite is simple :) Jun 27 04:46:13 looking through the new website ... Jun 27 04:47:00 http://developer.android.com/guide/topics/data/data-storage.html#db Jun 27 04:47:46 ah, leeds found it. i was digging around Jun 27 04:47:52 not hard to find... Jun 27 04:48:32 i was expecting an item under data storage Jun 27 04:48:44 neat Jun 27 04:48:47 like, in the tree Jun 27 04:49:42 this website does not work well in my chrome at all. when i scroll to the bottom of any page, i can not scroll back up again if my mouse is over the navigation part on the left side Jun 27 04:53:23 i wonder... If i were to develop something in another language.... let's say C++ or VB, would android run it? And would there be limitations to what i can create? Jun 27 04:53:48 vb, definitely no .. c++ with the NDK with limitations Jun 27 04:54:09 so there are limitations to other (older) languages Jun 27 04:54:17 PsychoX75: there is http://code.google.com/p/android-scripting/ Jun 27 04:54:17 for example, using the NDK you can't get to a content provider Jun 27 04:54:24 so i'm kinda forced to go Java, huh? ( i dont have a clue bout java) Jun 27 04:54:35 when in rome, do as the romans do :) Jun 27 04:54:45 pfn uses scala Jun 27 04:54:54 mmm... pizza, coffee, peroni Jun 27 04:54:57 PsychoX75: you also don't have a clue about android APIs, but you're surely willing to learn those too, right? Jun 27 04:55:29 uhuh Jun 27 04:55:31 feels sort of arbitrary to say you're happy to learn 1 thing, but not 2 things. Jun 27 04:55:41 don't you think? Jun 27 04:56:04 Maybe i'm too ambitious.... (not being cocky) Jun 27 04:56:18 just that i created apps for an old Wm6 phone i used to have Jun 27 04:56:19 Hey all, I would like to get input into an Android _service_ which maintains a partial wake lock. I can intercept bluetooth headset media buttons when they're available, but I'd also like to accept bluetooth key presses on a keyboard -- is that possible? Jun 27 04:56:26 apps in many other languages Jun 27 04:56:34 but i kinda avoided Java all these years Jun 27 04:56:47 kinda hoping it would die and something else would took over Jun 27 04:57:00 Then comes Android which is pretty much Java-focussed Jun 27 04:57:03 PsychoX75: if you're asking for some support of your ignorance (before you balk, please look the word up), you won't find it here. Jun 27 04:57:43 PsychoX75: at the very least you need a Java 1.5 compatible language Jun 27 04:57:53 hmm Jun 27 04:58:11 well i guess i'll go find myself a tutorial for java first Jun 27 04:58:14 PsychoX75, Java's a lot like C anyway, I don't know what the big deal is. Jun 27 04:58:26 hehe Jun 27 04:58:27 Edlin: just fear of the unknown. :D Jun 27 04:58:29 alot like C++ Jun 27 04:58:36 hehe, again Jun 27 04:59:02 it's like C++, if C++ is scizzors, Java is blunt scizzors. ;-) Jun 27 04:59:02 but ok... i'll go hunt some Java-tuturial-hello-world-kit out there. Jun 27 04:59:04 thanks :) Jun 27 04:59:04 PsychoX75: get a *good* book Jun 27 04:59:20 not some halfpenny tutorial written by baked highschooler Jun 27 04:59:33 so incidentally Jun 27 04:59:38 what sort of books would people in here recommend :) Jun 27 04:59:47 PsychoX75: i would recommend reto's 3e Jun 27 04:59:49 * p_l didn't really use books for java... Jun 27 05:00:00 yeah, me neither Jun 27 05:00:01 after so many languages, it's all the same Jun 27 05:00:12 lol Jun 27 05:00:19 just a trip to javadoc for missing bits Jun 27 05:00:22 eh, that's just not true. the documentation is just better :) Jun 27 05:00:23 but common java books are TIJ, Core Java, and Head First Java Jun 27 05:00:25 perhaps you'd have some search terms in mind for google? Jun 27 05:00:30 I'm probably missing a lot this way, though Jun 27 05:00:33 Edlin: If you know Java, its easier to learn C++ compared to from scratch. Jun 27 05:00:33 ah Jun 27 05:00:39 PsychoX75: Thinking in Java Jun 27 05:00:41 thanks G00s Jun 27 05:00:55 if anything, think you can learn java from the tuts but then get java concurrency in practice Jun 27 05:01:00 and quite frankly there's still enough to differ to be worth reading something specialized. like erading a good book on how modern garbage collectors work. or on how Java threading works (and all its many utilities) Jun 27 05:01:12 X-suriV, I learned ASM first, on the 6502 (well, after BASIC, but that doesn't count). After that stuff like pointers in C came easy. Jun 27 05:01:27 p_l: so if you mean syntactically, then yeah, you don't need a book to teach you syntax. Jun 27 05:01:39 but otherwise, careful on your dismissiveness :) Jun 27 05:01:54 really? Wow same order as me. I learned BASIC, then X86 Assembly Jun 27 05:02:09 jasta: it's mostly missing on parts of the libs Jun 27 05:02:13 X-suriV: you went wrong straight away with basic :) Jun 27 05:02:23 just kidding Jun 27 05:02:27 jasta: I learnt implementation of garbage collectors ;) Jun 27 05:02:36 X-suriV, on an Apple II, there wasn't much of a choice. Unless you wanted to compile on a floppy or buy the p-code system for Pascal. Jun 27 05:02:41 and had courses using java, including concurrency Jun 27 05:02:48 p_l: well assuredly not by just foraging through Java. so when you're dishing out advice, please be mindful of the gaps :) Jun 27 05:02:49 i started with GWBasic, Qbasic, TPascal7, C++ and then spinned off to SQL,PHP... Jun 27 05:03:01 g00s: well I discovered it by accident. I was ike 8 and my school ha these crappy Apple 2Es and this spelling game we had on there, well when you held down a key the game would crash to a command prompt Jun 27 05:03:01 oh and ofcourse mIRC-scripts... :P Jun 27 05:03:08 jasta: that's why I'm advising to take a book ;) Jun 27 05:03:09 ah, Turbo Pascal. that was great Jun 27 05:03:15 at first I never knew what it was until I found a book on BASIC in our school library Jun 27 05:03:16 well, at the time Jun 27 05:03:17 fair play, proceed ;) Jun 27 05:03:18 ASM was somewhere in between there near C++ but hated it. Jun 27 05:03:25 jasta: I'm a polyglot, we sometimes bend the rules ;) Jun 27 05:03:57 yeah Turbo Pascal was the gracefull auntie who LOVED you as the developper. And C++ was the grumpy old grandma who would enjoy bashing your head when calling something wrong in a library. -_- Jun 27 05:04:08 PsychoX75, x86 assembler is monsterous, 6502 was a lot more orthagonal. Pity it was 8 bit though. :) Jun 27 05:04:10 but like all grandma.... C++ can cook up a mean meal! Jun 27 05:04:33 jasta: did you bring rojo to 'take your dog to work day" ? Jun 27 05:05:10 I never liked Pascal much, a bit limiting, same problem I have with Java. But Java's the way to go for Android. Jun 27 05:05:22 g00s: incidentally, i tried taking him to work a couple weeks prior Jun 27 05:05:32 Edlin: yeah ASM... the formula1... Literally fast as hell.... efficient as hell... but deadly for your stability of your CPU is hell too. 1 mistake and your whole OS goes crashing... kaboom! Jun 27 05:05:52 we identified a few bad apples that clearly need to be fired for workplace disruptions Jun 27 05:06:14 PsychoX75: she is also senile Jun 27 05:06:20 an ultimatum to my boss, either Joel goes or Rojo goes. your choice, but i know where i stand. Jun 27 05:06:29 haha Jun 27 05:07:03 p_l: yeah... i dont mind the attitude. It's the temper upon mistakes that I'm affraid off. She really knows how to crash your machine and force a restart. Jun 27 05:07:12 well back in my days then. Jun 27 05:07:32 PsychoX75: back before people learned how to build development environments, maybe... Jun 27 05:09:20 heheh... was that somewhere near '96 ? Jun 27 05:10:06 cuz back there u'd develop in text editor and run it through your compiler HOPING you won't pay for any mistakes. Jun 27 05:10:25 ofcourse u'd be in DOS, so rebooting wouldn't take long. Jun 27 05:11:45 i remember trying to stuff TSRs in himem to save your lower 640 k :| Jun 27 05:11:53 <.< Jun 27 05:12:15 yeaaahhh!!! tsr ftw!!! Jun 27 05:12:31 and shit sharing interrupts on the mobo Jun 27 05:12:38 (and fucking up) Jun 27 05:12:41 g00s: i'ma PM you. dont yall worry about nothin Jun 27 05:12:43 Back there you knew EVERYTHING that worked on your PC Jun 27 05:13:15 nowadays you're sitting next to your computer watching TV... all of a sudden your HDD goes crazy and then when you touch your 'puter to know what's happening it quickly stops. Jun 27 05:13:18 0_o Jun 27 05:13:47 Interrupt/DMA settings for Soundblaster rulez.... Jun 27 05:14:16 Set something wrong and your sound freezes halfway playing a song Jun 27 05:14:37 hey have you ever tried removing your VGA-card drivers in the early versions of windows and see what happens? Jun 27 05:14:55 Black screen -> Go reinstall windows!! Jun 27 05:15:53 Anyway thansk for the booknames Jun 27 05:15:58 i'll go dive in books for now Jun 27 05:16:03 be seeing ya'll Jun 27 05:18:51 PsychoX75: just look at the java tuts and then read "Java Concurrency in Practice" Jun 27 05:19:05 and then get Reto 3e, done :D Jun 27 05:21:02 oh yeah, and probably "Effective Java 2e" Jun 27 05:21:25 PsychoX75: IMHO you should just dive in and when there is a structure or some syntax you don't get look up the doc because you will have to learn at least as much from Android classes then the Java classes Jun 27 05:22:04 then if you want to be there in the long run sure read books on Java only Jun 27 05:26:11 PsychoX75: well... for the '96 thing, I'd say "have a nickel and buy yourself a real computer/OS" ;) Jun 27 05:27:35 i think in 96 i tried slackware on 12 floppies Jun 27 05:27:42 :) Jun 27 05:28:52 i bet then p_l was porting some esoteric thing to z280 or something Jun 27 05:41:27 g00s: nope. Too young ;) Jun 27 05:41:46 I am, however, not ignorant of older hw/sw Jun 27 05:43:12 even S/370 (and probably earlier) had protection modes stopping you from crashing everything just like that, same for PDP-6, several other mainframes (like the one that ran Multics) etc. Jun 27 05:43:31 PDP-11 had an option for mmu Jun 27 05:45:16 Sun-1 had such stuff, out of early workstations Jun 27 05:45:51 and now we throw desktops in the garbage. Jun 27 05:46:23 dblshot: only if we have low hw requirements Jun 27 05:46:30 x86 desktop is the new pdp-11 Jun 27 05:46:35 hey could you change pictures based on language as easily as text strings? Jun 27 05:47:21 tneva82_: check out info about resource provisioning in docs. At worst, you can provide different string resources for image paths Jun 27 05:47:38 http://stackoverflow.com/questions/4442105/localization-and-drawables Jun 27 05:47:48 * p_l wishes he could afford a desktop at the moment Jun 27 05:48:09 a 4 year-old desktop can run things I can't dream of running on my laptop :/ Jun 27 05:48:25 I told my brother I'd give him mine but I don't think he actually wants it Jun 27 05:48:41 if he says he doesn't want it I can send it for s/h costs Jun 27 05:48:55 thing is noisy as hell Jun 27 05:49:00 dblshot: they would be high enough to cover a new one Jun 27 05:49:06 haha Jun 27 05:49:09 I am looking for a tutorial that helps me create compound components that wraps normal stuff… All the ones I have found are of the ilk: … I am looking for . Jun 27 05:49:13 anybody know of anything? Jun 27 05:49:27 and the cost to afford a desktop includes lugging it around as I move between different countries Jun 27 05:49:46 i built it barebones two years ago. i had to work a min-wage job to buy it Jun 27 05:50:02 since then i got a programming job or three :) Jun 27 05:50:09 so since I didn't get a long-term job, I'm thinking of going for a mobile workstation Jun 27 05:50:18 having a laptop is ideal Jun 27 05:50:34 even if you aren't going to travel, you might want to work out of the house. Jun 27 05:50:45 i only paid 399 for this one, asus. Jun 27 05:50:52 not even, actually 350 Jun 27 05:51:21 it has enough ram to develop but it's only single-core. I haven't noticed any performance issues and I've been using it for days. Jun 27 05:51:46 dblshot: well, had I got the job I wanted, I'd be currently assembling a 64core server with >=32G of memory, and a small-but-v.portable laptop :) Jun 27 05:52:29 you'll get one eventually.. demand is high Jun 27 05:52:51 p_I: our ops lead just put together a box with 64cores, 512G ram, and mounted 80TB… all with spare parts Jun 27 05:52:56 and he runs mutt on it Jun 27 05:53:22 equip the server with a hi-end nvidia card connected to one of the virtual machines on it, and put the display and i/o in different room... you get a quiet monster that let's you play a game on high-end while you compile Gentoo, run plethora of emulated environments and some extra stuff ;D Jun 27 05:53:27 pdezwart: ... o_O Jun 27 05:53:31 yeah Jun 27 05:53:44 lol Jun 27 05:53:48 i almost pooped my pants when he let me poke around the console Jun 27 05:53:49 pdezwart: i think to do that you should just subclass viewgroup or one of the layouts Jun 27 05:53:58 I planned to put VMware ESXi on mine Jun 27 05:54:02 utsl for this stuff.. there is no other way Jun 27 05:54:18 VM playground, dev machine, gaming machine, storage server, etc. Jun 27 05:54:50 dblshot: ill give that a shot. downloading the stupid SDK source right now. taking foreeeeeeever Jun 27 05:55:08 its worth having Jun 27 05:55:12 p_I: we have had a bunch of issues with vmware esxi Jun 27 05:55:30 particularly with the end end machines with SSDs and tons of ram Jun 27 05:55:33 with that kind of power, I could learn and test whatever setup I wanted - want to learn Chef with a bunch of machines connected with Cisco routers? no problem Jun 27 05:55:42 pdezwart: heh. Well, I don't have a way to test that :) Jun 27 05:55:59 we call them "good problems to have" Jun 27 05:55:59 if you want to play with cisco routers.. just run a port scan Jun 27 05:56:58 p_I: why chef? have you played with puppet and ansible? Jun 27 05:57:06 dblshot: lol. I already taken down my ISP once with misconfigured router, thank you very much Jun 27 05:57:10 (just curious, im looking for opinions) Jun 27 05:57:19 pdezwart: I'm looking into both Chef and Puppet right now Jun 27 05:58:26 I know the basic behind the concepts, but I don't really have stuff to put on CV. I can learn fast on the job, but the places I'd like to go might not pass me through interviews Jun 27 05:58:31 i get the impression that they are the same sides of a different coin (local daemons talking back to master), whereas ansible is a different beast altogether. but i dont want to go through the hassle of thoroughly testing ansible without getting some real insight Jun 27 05:58:39 p_I: true dat. Jun 27 05:59:03 OTOH, they offer £60k for an admin knowing them Jun 27 05:59:24 i have a crap cv and no education. the way i get jobs is people find the stuff I do on the internet Jun 27 05:59:43 dblshot: yeah, but you have to wait for others to come to you. Jun 27 05:59:59 Well... I did grab attention of Google this way, by a coincidence Jun 27 06:00:00 worth the wait, but I know another way to accelerate things Jun 27 06:00:15 if you do a project that is based on someone else work -- say, use their api Jun 27 06:00:22 and you know they have good connections Jun 27 06:00:30 you knows what messed up: when i hire people, I would MUCH rather hire someone like you who can figure shit and make things happen Jun 27 06:00:37 p_l: lets hope tomorrow, google mentions some fundamental new way they will keep the OS more up to date on more phones Jun 27 06:00:43 than someone who went to college, took some programming classes, and thinks he is now a programmer Jun 27 06:00:47 or parts of it anyhow Jun 27 06:01:16 pdezwart: if I was hiring, I'd want to hire someone who both went to college and loves programming Jun 27 06:01:26 g00s: would require some heavy-handed wrangling Jun 27 06:01:35 because I know that although I love programming - so far I lacked the discipline for college Jun 27 06:01:35 definitely possible, though Jun 27 06:01:41 which is not a good thing :) Jun 27 06:01:42 dblshot: best of both worlds. yes. but when given those two alternatives... Jun 27 06:01:48 dblshot: you might not need discipline... Jun 27 06:01:48 p_l: yeah, lets keep our fingers crossed :) Jun 27 06:01:58 p_l: yeah i get by without it Jun 27 06:02:00 tbh Jun 27 06:02:07 good process makes up for discipline. i have a guy working for me who is a loose canon Jun 27 06:02:28 and he gets to be a loose canon, because he knows that he cant break critical things without alarms going off Jun 27 06:02:53 and he gets more done on the can than others get done all day Jun 27 06:03:09 OMG GOOGLE GIVE ME THE FREAKING SOURCE CODE ALREADY Jun 27 06:03:11 i'm working a lot on organization lately. i keep everyhng backed up. i spent most of monday writing documentation and filing very descriptive bugs. Jun 27 06:03:46 The best devs are the devs that love programming so much that they do it in their spare time as well. Then not only are they working on your projects at work. They are also training at home ;P Jun 27 06:04:09 i'm debating whether i should watch the keynote tomorrow, or sleep through it and read the summary on the verge Jun 27 06:04:36 which would take like 5 minutes maz Jun 27 06:04:43 Knossos: true. it shouldnt feel like a job, it should feel like fun Jun 27 06:05:16 g00s: I'm going to stay up for it... Jun 27 06:05:40 Leeds: what time does it start in your time ? Jun 27 06:06:02 and then the recruiters berate me for not hiring someone with AMAZING credentials… all because the candidate said that when they go home, they dont want to even see a computer. Jun 27 06:06:20 pdezwart: otoh, it might prevent a burnout Jun 27 06:06:41 i have a solution for that Jun 27 06:06:46 in fact, it might a candidate like some guys I know, who when they come home, just want to unwind and be with family Jun 27 06:06:58 a) people arent allowed to work on work stuff for more than 50hrs a week on average Jun 27 06:07:17 g00s: 9:30am California? 12:30am Thursday here Jun 27 06:07:18 b) if they do, i send them off on most-expenses-paid vacation Jun 27 06:07:21 something that tempts me to kick IT jobs to curb, take up a course or ATPL, and be an irline pilot Jun 27 06:07:52 im not opposed to family time. im opposed to people who arent passionate about this stuff Jun 27 06:07:57 Leeds: yeah, i know its 9:30 ca time :P ok, so 12:30 is not so late for you Jun 27 06:07:58 I would like to get a pilot's license in my spare time one day after I make it. Jun 27 06:08:15 pdezwart: the thing is, I know passionate people who got sick of working in IT Jun 27 06:08:21 at least here, it's not easy to become a commercial pilot (in the US) but.. I'd like to at least fly a private jet Jun 27 06:08:44 pilots have crappy jobs, well ommercial ones anyhow Jun 27 06:08:59 For some people, software is in their blood. I've been doing it since I was 9, I can't ever imagine not programming :D Jun 27 06:08:59 *commercial Jun 27 06:09:04 the drinking restrictions on pilots would ruin me Jun 27 06:09:28 having worked at a bar near an airport, i can say pilots don't obey them at all. Jun 27 06:09:47 g00s: It's hard to bring that work home Jun 27 06:10:32 OTOH, it's not like I'd have anything outside of computer and books after coming home Jun 27 06:11:01 girlfriend is easier to come by then you thiunk. Jun 27 06:11:17 especially if you have a job Jun 27 06:11:29 than, even Jun 27 06:12:27 dblshot: maybe. Right now I can count more jobs for high profile corporations with not that much space in organizational chart above me than I can relationships ;) Jun 27 06:12:48 Finding one who is compatible with you isn't as easy though. :P Jun 27 06:13:22 :P Jun 27 06:13:26 get "the game" and read it. it is a good guide for nerds who do not know how to flirt with girls Jun 27 06:13:42 people make fun of it but I owe my relationship to that info Jun 27 06:13:49 good lord Jun 27 06:14:09 and thats my cue. thanks for the tip dblshot Jun 27 06:14:13 there's no man woman page so go figure :) Jun 27 06:14:18 bye pdezwart Jun 27 06:14:34 dblshot: leave it out... Jun 27 06:14:55 hehehehehehe Jun 27 06:15:05 EOT Jun 27 06:15:08 or maybe someone could code a "girls near me" for android. Jun 27 06:15:11 hi Jun 27 06:15:27 dblshot: NOPENOPENOPE. That app is creepy as hell Jun 27 06:15:33 Stalker App (tm) Jun 27 06:18:10 I have a problem using repo (http://pastebin.com/sYYtVDrr). I use this documentation: http://source.android.com/source/downloading.html Jun 27 06:18:20 oh an android question Jun 27 06:18:37 I'm not so familiar using python Jun 27 06:18:39 but.. it sounds like a platform one :) Jun 27 06:18:44 I have a library that requires a FILE for uploading data to a server over REST. The data I plan to upload is generated by sensors and so doesn't need to be saved to the filesystem. How can I wrap an Byte[] with FILE? Jun 27 06:19:34 i keep reading apple is getting an injunction on this and on that, its very confusing. Jun 27 06:19:45 msponge: do you mean a C FILE pointer? In java File does not read/write bytes. You need a FileInputStream or similar. Jun 27 06:20:47 dblshot: java.io.file Jun 27 06:20:57 http://www.theverge.com/2012/6/26/3119734/google-asus-tablet-bloomberg-confirmation Jun 27 06:21:00 read the docs, that is just a reference to a file path Jun 27 06:21:12 google read file java or someting Jun 27 06:21:23 g00s: yeah, I think it's pretty confirmed now :) Jun 27 06:21:42 lets put it this way, if its been a rumor all along ... Jun 27 06:21:47 dblshot: Yes I'm aware of that. Is there anyway I can provide a "file path" to a buffer in memory so I don't have to write then read to from disk? Jun 27 06:22:35 it's unclear what you want but you can't just have a pointer to a chunk of memory like you can in C Jun 27 06:22:51 there are all sorts of ways to buffer the file Jun 27 06:23:10 but you might not need to read it from disk every time? what if the filesystem is keeping it in ram? it seems like premature optimization Jun 27 06:24:28 g00s: omg Jun 27 06:24:31 i want his tablet Jun 27 06:24:41 my tablet :) you can't have it ! Jun 27 06:24:45 dblshot: When a button is pressed the device takes an image from the camera. Then, using an API that I have no control over, I would like to upload that data to a server that uses a specific API. That API wants a File object. I could write the camera image to the filesystem then give it the File and have it read from it but that's inefficient since I already have the Byte[] in memory. I'd like to simply give it a File that points to a buffer in memory. Jun 27 06:25:31 that api is dumb :). it should take an InputStream Jun 27 06:25:40 which python-version i should use? I still get error using 2.6 Jun 27 06:25:58 dblshot: pity Jun 27 06:26:45 if you are writing the file to disk it's likely going to be buffered in ram anyway Jun 27 06:26:56 and if you recently wrote it I'd bet a subsequent read would be pretty fast Jun 27 06:27:33 * dblshot wonders how long it even takes to write to flash storage Jun 27 06:28:02 milliseconds make a difference to my application ;) Jun 27 06:28:17 dblshot: it can take up to 500ms to write to flash Jun 27 06:28:26 that sucks Jun 27 06:28:30 well, that was with yaffs2 Jun 27 06:28:34 you've got to do something about this lame api :) Jun 27 06:30:11 dblshot: I'll probably modify it as I do have the source, just limited on time :) Jun 27 06:30:42 it should be easy.. just look for where the inputstream is created from the file then make that he constructor's parameter instead Jun 27 06:31:00 then you can use http://docs.oracle.com/javase/6/docs/api/java/io/ByteArrayInputStream.html Jun 27 06:31:22 dblshot: cool, thanks. Jun 27 06:37:17 g00s: Google owns nexus7.com :) also, nexus6.com, just for confusion Jun 27 06:46:38 mornin Jun 27 06:53:51 Leeds confirms everything \o/ Jun 27 06:57:19 hopefully tomorrow the interwebs don't get clogged Jun 27 06:58:28 I can confirm that, in actuality, the internet is not a series of tubes. Jun 27 07:06:43 unm Jun 27 07:06:51 . Jun 27 07:06:56 .+# Jun 27 07:08:36 sorry Jun 27 07:21:41 Hello Jun 27 07:27:29 hi guys, could anyone give me some ideas about a plan of attack? I am calling OpenCV functions from NDK, often when using the cvLoad function I will get a long delay (30-40 seconds) and a SEGSIGV … however very occasionally it will work straight up. Any one have any ideas? I am out of them :( Jun 27 07:43:34 hello everybody, how can call the application class? Jun 27 07:54:31 WHAT have they done to developer.android.com ? Jun 27 07:54:33 :( Jun 27 07:55:16 hey changed the font Jun 27 07:55:19 :) Jun 27 07:55:50 is that bad? Jun 27 07:56:03 I hate google Jun 27 07:56:37 we have a channel for you: #android-nobodycares Jun 27 07:56:39 they made the site slower to render, look horrible, _and_ unreadable. Jun 27 07:56:52 it is quite annoying to realize, when you're used to search information from a site, that they have redesigned it. Jun 27 07:57:58 so I search for "tabs fragment" on developer.android.com, and the links/search-results are broken Jun 27 07:58:13 because they've changed everything. kudos Jun 27 07:58:32 they all work for me Jun 27 07:58:36 upgrade your netscape navigator Jun 27 07:58:37 sounds like Oracle took over :) Jun 27 07:58:40 did we miss anything? Jun 27 07:58:51 does http://developer.android.com/resources/samples/Support4Demos/src/com/example/android/supportv4/app/FragmentTabs.html work for you? Jun 27 07:58:57 XeruX: maybe nuke your cache Jun 27 07:59:08 yes Jun 27 07:59:15 That page redirects me to samples/index.html Jun 27 07:59:20 same here Jun 27 07:59:25 When reusing an expansion file from a previous version, what versioncode will the obb download as? prevver.obb or newver.obb? Jun 27 07:59:26 same Jun 27 07:59:39 it tells you where to find the file Jun 27 07:59:45 rather than some stupid HTML representation of it Jun 27 07:59:47 I quite like the new site Jun 27 08:00:12 Styling it to look like Android was a nice step Jun 27 08:00:35 it's much more topical which is nice Jun 27 08:00:53 the content for noobs is bubbled up much higher rather than being buried among everything where nobody was smart enough to bother looking Jun 27 08:01:31 hello everybody, how can call the application class? Jun 27 08:02:46 getApplication() ? Jun 27 08:05:24 romain said there was new content, i'm probably going to have to go through everything again to decide what to read Jun 27 08:06:25 the site isn't really a book Jun 27 08:06:31 it's much more useful as a reference Jun 27 08:06:40 have a question, google it in context of the site Jun 27 08:07:37 Knossos: i mean how can we call that class after first activity to that class for execute the code in that application class Jun 27 08:08:10 jagruti_: I'm afraid I just don't understand the question Jun 27 08:09:32 i have never use the application class, but just my requirement is like fetch all data from server ,phone's contact and all things in just one java file and then reuse that data in all other activity right Jun 27 08:09:46 so i got one answer about use the application class Jun 27 08:10:30 I wouldn't use the Application class. Jun 27 08:10:54 then what can i use Jun 27 08:10:59 But that is because I never touch the Application class Jun 27 08:11:36 as per my requiremtny can u suggest me what can i use Jun 27 08:12:22 When you fetch data, store it. When you need data, restore it. Jun 27 08:13:04 i just want to load should be at the starting of application then it should not take load for fetch data from server at any where Jun 27 08:15:15 hi guys, could anyone give me some ideas about a plan of attack? I am calling OpenCV functions from NDK, often when using the cvLoad function I will get a long delay (30-40 seconds) and a SIGSEGV … however very occasionally it will work straight up. Any one have any ideas? I am out of them  :( Jun 27 08:35:47 about services: is it correct that an android app can install a service whose life cycle is independent of the activities of the app? Jun 27 08:36:11 that's what I understood Jun 27 08:36:15 i never used them though Jun 27 08:38:18 Snuffel: we might have to implement a cheap man's version of push-notifications.. Jun 27 08:43:36 hmm. how to deal with the issue that phone's have different aspect ratios? Phone that has roughly 1.64:1 looks fine but background looks real blurry on phone with 1.33:1 aspect ratio. Jun 27 08:49:12 tneva82_: depends on what you're trying to accomplish Jun 27 08:51:10 well the image gets bit of blurry thanks to android having to scale the picture to different aspect ratio(4:3 rather than 16:10) Jun 27 08:51:26 I see how to adjust to different dpi's but that doesn't help with the damn aspect ratio. Jun 27 08:55:32 tneva82_: usually you crop the picture Jun 27 08:55:46 so you don't have to scale it - scaling causes blurryness Jun 27 08:59:31 I am trying to run an old Anroid app, I am getting this error "res/layout/delete_button_row.xml:18: error: No resource identifier found for attribute 'onClick' in package 'android' Jun 27 08:59:49 the API level is 3 Jun 27 09:00:21 wasnt onClick there on API level 3? the documentation says its been there since API 1 Jun 27 09:00:39 Any suggestion? Jun 27 09:00:55 weird Jun 27 09:01:28 not an expert, but isnt onClick pretty basic part of any gui element? expoecially a button? Jun 27 09:01:53 jahid: looks to me like onClick as an XML attribute was added in API 4 Jun 27 09:03:35 interesting Jun 27 09:03:45 http://developer.android.com/reference/android/R.attr.html#onClick Jun 27 09:03:46 Ohh, then i must have mixed up Jun 27 09:03:46 Leeds, thanks Jun 27 09:03:46 it's always been there as a Java method, but it was added into the XML to avoid boilerplate code Jun 27 09:03:46 Has anyone here worked with accumulate? Jun 27 09:03:46 Leeds, the thing is, the app I have they compiled and running it on API level 1 :/ Jun 27 09:03:46 I wonder how it is working then Jun 27 09:08:42 dunno Jun 27 09:12:15 I am getting this error ---------> res/values/styles.xml:87: error: Error retrieving parent for item: No resource found that matches the given name '@android:style/Theme.IconMenu'. Jun 27 09:12:26 Where can I find more about android's styles? Jun 27 09:12:31 I mean built in styles Jun 27 09:16:27 We are organizing local linux conference (http://www.linuxalt.cz). Is it good idea to take iosched app (https://code.google.com/p/iosched) and rebrand it for our purpose? Jun 27 09:18:19 you can. dpm Jun 27 09:18:22 oops Jun 27 09:18:29 don't call it iosched of course :) Jun 27 09:19:00 i have seen spins of iosched on the market for other events Jun 27 09:19:46 jahid: does this app have open source? if so probably can re-compile for your own use Jun 27 09:20:16 XXCoder, I am getting that error while recompiling Jun 27 09:20:39 oh I see Jun 27 09:20:46 g00s: sure, we weill call it altsched :) Jun 27 09:20:53 is theres eetting somewhere to set what version apis? Jun 27 09:21:18 yes, i have tried that with api level 3 and now trying with api level 8 Jun 27 09:21:41 oh cool Jun 27 09:21:54 hope you find issue and fix it. :) Jun 27 09:22:04 Hope so Jun 27 09:22:09 I gonna fix stupid bug with my new lwp settings lol Jun 27 09:22:30 simple enough, I just forgot to detect changes to couple settings to see if anything changed. Jun 27 09:25:32 only reason im not fixing it is because its freaking 2 am and i have hell of heachache preventing me from sleeping. Jun 27 09:27:34 are you guys having problems with the scrolling behavior of d.android.com - mostly the left side navigation (when it reaches either top or bottom, the main content then starts to scroll, and other weird ass shit) Jun 27 09:29:02 yep Jun 27 09:29:28 it all starts overlapping Jun 27 09:29:33 can't read a thing Jun 27 09:29:51 ok, so i'm not the only one Jun 27 09:29:58 thanks wabz Jun 27 09:30:18 hmm I see what's going on - there's a horizontal scroll bar Jun 27 09:30:30 and the left column doesn't scroll over Jun 27 09:31:08 and when you scroll the horizontal one to the right, it doesn't really scroll either Jun 27 09:32:27 i also have this weird problem in pages with tables, like javadoc - once i start scrolling the page up, whatever fills the screen is a different bg color than the original stuff displayed when the page loader Jun 27 09:32:32 you cant make this shit up Jun 27 09:32:48 good thing i mostly just read the sources ;) Jun 27 09:37:32 hello! If I want to use an AsyncTaskLoader in a class, should I implement AsyncTastLoader in it? Jun 27 09:37:47 i.e. class MyClassExtends Fragment implements AsyncTaskLoader Jun 27 09:38:08 probably not Jun 27 09:38:32 the loader should not have a reference to its outer class, make it a static inner class Jun 27 09:39:03 well, thats the safest option Jun 27 09:39:16 do you have a link to a good tutorial? This time the android docs are a little bit cryptic to me Jun 27 09:39:57 hmm. there should be a few examples in the support library Jun 27 09:40:17 maybe I can do in another way, but the idea is to create an async task for download purposes Jun 27 09:40:21 i can't recall if any specialize that one though Jun 27 09:40:46 i usually recommend downloading stuff in a intentservice Jun 27 09:40:52 hello, how can e know when the application will lauch and when it is start? Jun 27 09:40:59 If I have an application that includes multiple languages, when the application starts, is there any way to tell which language to start up with? Jun 27 09:41:13 g00s: service can call events and I can create an event handler, right? Jun 27 09:41:40 jahid: it will start with the device's one, if availeble Jun 27 09:41:42 yeah, see iosched http service Jun 27 09:41:44 available* Jun 27 09:42:48 g00s: a lil' bit more specific? Google finds out loads of projects Jun 27 09:44:15 http://code.google.com/p/iosched/source/browse/android/src/com/google/android/apps/iosched/service/SyncService.java Jun 27 09:44:20 elegos, there is values/ and values-es/ Jun 27 09:44:43 elegos, and the values has Swedish one as default, is there anyway i can ask it to load with English one? Jun 27 09:45:14 jahid: values should be user for the english language Jun 27 09:45:29 or values-en I believe Jun 27 09:46:04 elegos, my OS is running on English, so I am wondering why its loading the Swedish one. I understand that "values" has the Swedish one, which is default Jun 27 09:46:05 android asks the system which language is loaded and tries to find the appropriate language values in value-{LANG} Jun 27 09:46:21 Hey, I've been trying to find the source code for android::ISecCameraHardware ... Anyone who is able to help me with that? Jun 27 09:46:56 It will try to load an appropriate values-LANG/string.xml. If one does not exist, then it will use the values/string.xml Jun 27 09:47:18 jahid: I believe swedish is "sw" or something similar Jun 27 09:47:58 elegos, yes, but this application that I am modifying was developed Swedish one as default, and for english one they used "es" Jun 27 09:48:00 it seems i've lost whatever files intellij uses to identify a project, and now when i try to open i only get a single "External Libraries" in the project tree. how do i re-build the project? import doesn't show any projects to select. Jun 27 09:48:06 so have value-en, value-de, value-xx, and use value as the one that will cover users that you don't specifically create languages for Jun 27 09:48:34 Most people would choose English as the values main string.xml as it is the international language. Jun 27 09:48:54 am i looking for a project file? or just where the manifest file is for the directory selection? Jun 27 09:48:56 es is Espaniol? Surely? Jun 27 09:48:59 Spanish? Jun 27 09:49:04 jahid: move values -> values-sw and values-en -> values Jun 27 09:49:22 Knossos, makes sense, but it is like the way I am mentioning Jun 27 09:49:35 Hi, I have some static files (HTML+js) in my assets folder, my app (android java code so) creates dynamic js files and I need to put all those files (static and dynamic) in the same folder, but not sure of which storage space I need to use ? Jun 27 09:49:43 if you're on a swedish device, it will change nothing Jun 27 09:49:50 otherwise, you'll have the english version Jun 27 09:50:20 elegos, I thought to do that. But there is a problem. They made Swedish one free, and English one with pay :/ Jun 27 09:50:45 elegos, so moving those files will solve my problem loading the app in English, but might create some problem for them when publishing Jun 27 09:51:05 jahid: I don't know how to force the system to load a different language Jun 27 09:51:10 have you tried googling? Jun 27 09:51:14 elegos, thanks Jun 27 09:51:20 elegos, nah, not yet, will do now Jun 27 09:51:24 btw Jun 27 09:51:30 ? Jun 27 09:51:40 spanish people will have the english translation for free in this way Jun 27 09:51:42 (values-es) Jun 27 09:52:07 :o how? they will have that even if i dont supply spanish translation? Jun 27 09:52:11 *Spanish Jun 27 09:52:29 jahid: you told us you've got a values-es folder Jun 27 09:52:39 es is the language code for spain Jun 27 09:52:46 elegos, yes, which means if I supply the translation file Jun 27 09:52:56 elegos, ahh ok Jun 27 09:53:01 I understand what you mean Jun 27 09:53:02 Thanks Jun 27 09:53:34 I don't think this will be a good way though... I think you should rely on a custom class Jun 27 09:53:53 elegos, No idea what you mean by custom class Jun 27 09:54:02 class MyCustomClass Jun 27 09:54:10 You are going to have a LOT of difficulty singling out languages by payment dynamically. Jun 27 09:54:17 with that, you'll define ALL the english textes Jun 27 09:54:28 Are the Apps separate on Google Play? Jun 27 09:54:29 and then, for every class having a layout/alert/whatever Jun 27 09:54:29 hmm Jun 27 09:54:57 you'll have to call something like MyCustomClass.getText("string_id"); Jun 27 09:55:10 ok Jun 27 09:55:20 If they are separated then you can just move the string files around before publishing. Jun 27 09:55:34 Knossos, erm Jun 27 09:55:36 btw as Knossos wrote: if you've got two separated APKs, you can switch the values folders and compile Jun 27 09:56:04 they wanted to make it as swedish and multilanguage one Jun 27 09:56:21 So you are planning on building with In-App billing? Jun 27 09:56:31 anyway, its their marketing policy, i will see what works for me Jun 27 09:56:33 Or do you have a free App and a paid App? Jun 27 09:56:47 there is a free app, and a paid app Jun 27 09:56:47 ^-- this Jun 27 09:56:58 Swedish one is free, and multilangue one is paid Jun 27 09:56:59 jahid: read my comment Jun 27 09:57:12 Ok, then simply swap around your string.xml files before publishing Jun 27 09:57:13 "btw as Knossos wrote: if you've got two separated APKs, you can switch the values folders and compile" Jun 27 09:57:27 elegos, read it already. and I will do so if there is no other work around Jun 27 09:57:35 Thanks guys! Jun 27 09:57:41 jahid: this is the right way of doing things Jun 27 09:57:47 all the others are hacks :) Jun 27 09:57:48 elegos, alright Jun 27 09:57:51 :) Jun 27 09:57:53 Yet ANOTHER way of doing it, would be using a Library Project Jun 27 09:58:47 crap, recently people have contacted me to work on apps for all of ios, android, and wp - in the same gig; i can barely do one platform well enough let alone 3 Jun 27 09:58:48 You could have a library project for the free app and one for the paid app. Then you dont need to swap the values folders, but just change which library project you are linked to Jun 27 09:59:06 Knossos, they made a library project. so the project is like this --> "common" contains business logics and default swedish string on "values/strings.xml", and "commonslib" with multilanguage files Jun 27 09:59:24 Knossos, but the problem is, when I run multilib it still runs with swedish language Jun 27 09:59:48 Knossos, where as I was expecting it to run in english, since there is a english file there and my OS is running on English Jun 27 10:00:31 jahid: create a library with just the string values Jun 27 10:00:44 elegos, I did already Jun 27 10:01:03 jahid: you made a common one, allways present, and a multilanguage one Jun 27 10:01:04 You would need to remove string values from other projects Jun 27 10:01:14 I ask you to do a swedish lib and a multilanguage lib Jun 27 10:01:19 Because they are overridden in order of how they are imported Jun 27 10:01:21 and swap them, not add them Jun 27 10:01:38 i.e. the "common" one should contain all but strings Jun 27 10:01:39 Knossos, ahh ok. I did not delete the other one though Jun 27 10:01:43 elegos, I understand Jun 27 10:02:14 Knossos: maybe if he'd load the multilanguage lib before the common one? Jun 27 10:02:32 it may change the way Android builder gives priority to the values Jun 27 10:02:50 I ran multilang project, but it still loading the common one Jun 27 10:02:58 hmm Jun 27 10:03:13 jahid: look at the external build libs, see if the common one is before the multilang one Jun 27 10:03:18 if so, switch them Jun 27 10:03:25 (click on the "up" button) Jun 27 10:03:36 lol, that will be interesting :) Jun 27 10:03:38 and tell us :) Jun 27 10:03:40 I will check that Jun 27 10:05:32 elegos, nah, still same Jun 27 10:05:54 anyway guys, I think i should look into this on code base using diff suggestions you guys made Jun 27 10:05:57 let me try Jun 27 10:06:04 Thanks a lot to both of you elegos Knossos Jun 27 10:06:08 Cheers! Jun 27 10:06:09 jahid: try to export the strings into two different libs then and import one or the other Jun 27 10:06:14 seems to be the easiest way :) Jun 27 10:06:18 I will :) Jun 27 10:16:34 hi guys, could anyone give me some ideas about a plan of attack? I am calling OpenCV functions from NDK, often when using the cvLoad function I will get a long delay (30-40 seconds) and a SIGSEGV … however very occasionally it will work straight up. Any one have any ideas? I am out of them  :( Jun 27 10:27:49 apparently x can't be over 100 if it's under 50 Jun 27 10:27:50 <.< Jun 27 10:34:50 :o Jun 27 10:35:13 did it suprise you? Jun 27 10:35:54 sounds like something a very intelligent compiler might also deduce and exploit to optimize programs with. Jun 27 10:44:20 is there a good tutorial on fireEvent? Jun 27 10:53:51 god I hate UI designing Jun 27 10:57:17 Is there anyway to extend string resource files? I mean, if I have a.xml, can I have b.xml and c.xml extending strings from a.xml? Jun 27 10:58:11 like inheritance works on OOP Jun 27 11:00:07 jahid i'm not sure I understand - do you want multiple string files? Jun 27 11:00:19 yeap Jun 27 11:00:24 and common strings on one place Jun 27 11:00:43 I think you don't have to extend them Jun 27 11:01:15 can't you do @a/stringname ? Jun 27 11:01:32 i'm probably wrong Jun 27 11:01:54 vavirta, if I dont extend then I have to repeat myself Jun 27 11:02:02 jahid: yes you can Jun 27 11:02:11 Onions, you are talking about how to use, i am talking about how to inherit Jun 27 11:02:20 Ivru, how? :) Jun 27 11:02:30 instead of string/foo just call a/foo Jun 27 11:02:58 they will not extends another one Jun 27 11:03:09 but you can have several string resource files Jun 27 11:03:19 Ivru, what did you mean by a/foo? Jun 27 11:03:30 android:text="@a/foo" Jun 27 11:03:32 android:text="@string/foo" Jun 27 11:03:35 android:text="@x/foo" Jun 27 11:03:38 3 different values Jun 27 11:04:11 yeas Jun 27 11:04:13 yes* Jun 27 11:04:22 or yeah* Jun 27 11:04:22 Onions, so here x is the file name?and we used "@strings" coz our file name is string? Jun 27 11:04:29 yep Jun 27 11:04:35 pretty much Jun 27 11:04:48 wait Jun 27 11:04:50 actually Jun 27 11:04:54 that doesn't make sense Jun 27 11:04:59 we use @string/foo Jun 27 11:05:06 and the xml file is strings Jun 27 11:05:12 so, give it a try, but idk if it'll work Jun 27 11:05:13 <.< Jun 27 11:05:20 Onions, I am not sure though. coz our file name is "Strings" and we use "@string" Jun 27 11:05:33 which is exactly what I just said :p Jun 27 11:05:41 hmm Jun 27 11:05:48 argh. pictures A, B and C. All have identical width. However on android one is narrower leaving black edges to sides. Layout has android:layout_width="fill_parent" <- this on the imageview Jun 27 11:05:48 why do you need multiple files? Jun 27 11:06:14 Onions, thats a really big discussion that I should not jump into Jun 27 11:06:29 jahid http://developer.android.com/guide/topics/resources/string-resource.html Jun 27 11:06:37 haha right Jun 27 11:06:58 well you're probably going to have to find a work around if @a/blah doesn't work Jun 27 11:07:03 in fact you just use strin/foo because the xml defines itself as a string resource Jun 27 11:07:09 stirng* Jun 27 11:07:14 string* !!! Jun 27 11:07:31 so you cannot have different string with the same name Jun 27 11:07:45 even if they are store in different xml files Jun 27 11:07:58 hmm, let me read first that resoruce Jun 27 11:08:29 you should have read it first :) Jun 27 11:08:40 i did, but not from that aspect Jun 27 11:15:07 hello Jun 27 11:16:42 one question. I have an AlarmManager that sends a broadcast every 5 minutes. What I now want to do is, that the broadcast is sent the first three times every 5 minutes, the next three times every 15 minutes, ? . Is there a possibility to do this right in the AlarmManager or do I have to unregister/register a new alarm manger every time ??? Jun 27 11:20:29 wow, the second (last) graph here is pretty amazing http://economix.blogs.nytimes.com/2012/06/20/what-happened-to-the-microsoft-monopoly/ Jun 27 11:27:37 hmm. did i just get a new google chrome ? Jun 27 11:27:43 20 ? Jun 27 11:37:07 How long does it take for the APK Expansion files to work correctly on Google Play? My large file downloader does 'Looking for files to download'. Then it goes to 'Download Finished'. Jun 27 11:37:34 Without actually downloading any OBB Jun 27 12:14:18 In my table view, the text in my second column go out of the screen, how I can apply a automatic Linebreak? Picture: http://www.pic-upload.de/view-14862464/table.png.html Code: http://pastebin.com/8GB8YqfM Jun 27 12:16:09 Why is there no examples for Tableview on the new android page?` Jun 27 12:20:57 i have a button with a drawableRight which points to a png.. is there a way to scale it? Jun 27 12:21:15 e.g. wrap the png in another drawable xml resource that determines the scaling? Jun 27 12:23:22 ah scale drawable.. Jun 27 12:30:11 ok, the scale drawable is ignored when used as drawableright in a Button Jun 27 12:30:12 :( Jun 27 12:33:37 Using perspective in a Renderer in GLSurfaceView works well, but orthogonal displays an image 2000+ times upscaled, and not positioned correctly at all. http://pastie.org/4157165 Jun 27 12:37:49 In my table view, the text in my second column go out of the screen, how I can apply a automatic Linebreak? Picture: http://www.pic-upload.de/view-14862464/table.png.html Code: http://pastebin.com/8GB8YqfM Jun 27 12:41:02 sukramTM: android:width="0dip" Jun 27 12:41:16 on the textview Jun 27 12:42:06 http://stackoverflow.com/questions/2197744/android-textview-text-not-getting-wrapped Jun 27 12:42:10 hope this helps Jun 27 12:52:14 Hi, I have a noob question here. I have my application and activity created using AndroidManifest.xml. And I want to access that activity in some c++ using jni. I know how to find the class by name, but how wolud I go about getting the instance of that class? Jun 27 13:03:51 Please anyone, link to an example that filters a list of items (from the db) through checkboxes Jun 27 13:04:29 via a dialog preferably Jun 27 13:04:38 and bake me a cake Jun 27 13:04:59 and do my homework Jun 27 13:05:42 android homework would require each student to have/buy an android-capable device Jun 27 13:06:10 why, use emulator Jun 27 13:06:13 i think you might be analyzing my statement a bit too much :P Jun 27 13:06:19 hahaha, emulator Jun 27 13:09:27 hey, im tryin to start a service but keep getting java.lang.ClassNotFoundException even though I added the service to the manifest. what can cause this to happen? Jun 27 13:10:16 "java.lang.IllegalArgumentException: Comparison method violates its general contract!" weird Jun 27 13:10:36 yotam: typo? Bad package path in your manifest entry? Jun 27 13:12:05 i doubled check everything, this is the error i get: Jun 27 13:12:07 java.lang.RuntimeException: Unable to instantiate service com.test.C2DMReceiver: java.lang.ClassNotFoundException: com.test.C2DMReceiver in loader dalvik.system.PathClassLoader Jun 27 13:12:07 Caused by: java.lang.ClassNotFoundException: com.test.C2DMReceiver in loader dalvik.system.PathClassLoader Jun 27 13:12:35 Does that path look right/ Jun 27 13:12:46 that is the path yes Jun 27 13:13:49 HDroid: are you using a custom comparison method? Jun 27 13:14:38 MDijkstra: yes, a custom comparator. I have a few items with null values for the field I'm sorting for, so I figured I'd just hard return 1 whenever I encounter one to put them at the bottom. Jun 27 13:14:50 But Android doesn't like Jun 27 13:15:01 yotam: can I see manifest? Jun 27 13:15:34 yes i will post it 1 sec Jun 27 13:16:38 if I init a loader with the first argument different from 0, will I get it back in the callback calling loader.getId()? Jun 27 13:17:36 HDroid: no, java in general requires comparators to have certain properties Jun 27 13:17:55 MDijkstra: I was painfully made aware of this :) Jun 27 13:17:59 Y o Y!! Jun 27 13:18:04 http://docs.oracle.com/javase/1.4.2/docs/api/java/util/Comparator.html Jun 27 13:18:14 dunno if you've already found that :) Jun 27 13:18:28 http://pastebin.com/gbrjKwVi Jun 27 13:19:09 HDroid: I think you can solve your issue by checking whether the other is also null Jun 27 13:19:17 and returning 0 instead of 1 in that case Jun 27 13:24:40 where should I save the file for Debug.startMethodTracing(), Jun 27 13:25:00 just calling it with "strip1.trace", makes it try /mnt/sdcard which fails Jun 27 13:26:50 http://developer.android.com/reference/android/os/Environment.html#getExternalStorageDirectory() Jun 27 13:29:46 HDroid: oh and I probably need to setup something in Manifest to get it Jun 27 13:31:36 Ikarus: I'm guessing you need a permission for that, yes. Jun 27 13:35:18 i thought the keynote started at 9:30? Jun 27 13:36:21 pst : Jun 27 13:36:32 :\ Jun 27 13:37:04 lol Jun 27 13:52:17 so, got a piece of spam today from "a team of two android developers" who are willing to test my app on their 10 test devices and - if it's appropriate, of course - leave a 5* rating from each device... for only $25 Jun 27 13:52:40 heh Jun 27 13:54:14 If they have 10 accounts, 10 5* ratings is probably worth $25 to someone trying to jumpstart their app Jun 27 13:55:24 the domain appears to be owned by http://www.crunchbase.com/person/charly-omer-djabea Jun 27 13:56:10 ok? Jun 27 13:56:16 hello! May you please help me with a loader? I've added a HashMap (call ID, value) instead of the direct values because I was getting strange values upon various calls (for different things)... this is the code: http://pastebin.com/8Z1JRhsx Jun 27 13:56:43 note that if I restore the "direct values" to lastResponse and lastLoad, it will work Jun 27 13:56:59 as it is otherwise it will never call the callback Jun 27 13:57:02 elegos: is everything in the paste relevant to your issue? Jun 27 13:57:13 zachanima: yes I think... Jun 27 13:57:24 I'd paste you the callback too if you want Jun 27 13:57:31 but it worked before the edit Jun 27 13:57:36 elegos: also woah, 8 spaces for indentation, it's been a while since I've seen that Jun 27 13:57:47 there's too much code for me to read AND fix before I need to go, sorry Jun 27 13:57:53 zachanima: must be a TAB issue Jun 27 13:58:12 elegos: well, tabs are problematic. Spaces preferred, at least where I work :) Jun 27 13:58:23 zachanima: tell Eclipse :P Jun 27 13:58:41 I have. My eclipse works wonderfully with two spaces for all indentation Jun 27 13:59:02 btw zachanima: that's the entire class Jun 27 13:59:13 but you should look into where the hashmaps are involved Jun 27 13:59:18 anyway, good luck with your issue; unfortunately I must go now Jun 27 13:59:23 ok :( Jun 27 13:59:31 I will be back later; when that happens, you can try and catch me again Jun 27 13:59:42 in the meantime, I'd suggest getting someone else to look into the issue Jun 27 13:59:52 anyone? :D Jun 27 14:01:32 is there a way to load a web page w/ in a web view but take the user to a custom HTML page that instructs them that they need to be connected to the internet? Jun 27 14:02:24 john_doe_jr: you can always setup a webview with local HTML string Jun 27 14:05:52 a WebView only has 1 method called .loadURL that takes a string parameter Jun 27 14:06:24 john_doe_jr: http://stackoverflow.com/questions/4543349/load-local-html-in-webview Jun 27 14:07:30 how can I check whenever a string is "" or null? Jun 27 14:07:48 (String)theString -> always ""? Jun 27 14:07:51 zachanima: thank you!! Jun 27 14:08:10 elegos: john_doe_jr thank google and a simple 'webview local html' query ;) Jun 27 14:08:16 whoops, nevermind that elegos Jun 27 14:08:16 elegos: if (string == null) { do something } Jun 27 14:08:31 lol zac Jun 27 14:08:57 I've got theString which in log is "" (without quotes) Jun 27 14:09:12 and I've did this: if(theString == "" || theString == null) ... Jun 27 14:09:18 but this never enters Jun 27 14:09:22 sound strange Jun 27 14:09:25 elegos: well Jun 27 14:09:37 I think you need to use theString.equals("") || theString == null Jun 27 14:09:38 theString == "" -> theString.empty() Jun 27 14:09:40 but I might be wrong Jun 27 14:09:52 ah, use .empty(), yes Jun 27 14:10:17 could String do not have the empty() method? Jun 27 14:10:27 =\ seems like Eclipse says not Jun 27 14:10:34 ah, isEmpty Jun 27 14:10:35 there Jun 27 14:10:39 ah Jun 27 14:11:49 zachanima: I was googling it but couldn't find it Jun 27 14:12:00 john_doe_jr: it was the first result for me with that query Jun 27 14:12:11 nevertheless, I hope the solution given there works Jun 27 14:12:22 you could also just write if ("".equals(theString)) Jun 27 14:16:49 sorry, didn't realise you wanted || null, ignore that Jun 27 14:19:01 zachanima: hey, I've got the loadURL in a try/catch but it is not displaying the custom HTM when I turn off the internet connection on the tablet...it is displaying a 'Webpage not available' message....the custom URL is in the catch statement...any ideas why it is not displaying the custom HTML? Jun 27 14:19:42 john_doe_jr: because technically the webpage not available is not an exception? Jun 27 14:19:46 john_doe_jr: I think Jun 27 14:20:11 john_doe_jr: maybe you can do some other check to see whether it actually is connected to the internet? Jun 27 14:21:38 john_doe_jr: check whenever the status code is different from 200 Jun 27 14:21:59 i.e. call an HttpRequest first and see Jun 27 14:23:41 elegos: I'm looking at the methods @ http://developer.android.com/reference/android/webkit/WebView.html for webview...I don't see one Jun 27 14:24:39 john_doe_jr: it's standard java Jun 27 14:24:45 outside the webview Jun 27 14:24:58 you'd have to do an HttpGet() (for example) Jun 27 14:25:04 and see the status code returned Jun 27 14:25:10 200 -> internet is active Jun 27 14:25:20 (and the page exists and has no problems server-side) Jun 27 14:30:45 hey folks... does anyone know what is up with moderation on Android Developers google group? Jun 27 14:34:39 hi Jun 27 14:34:46 anybody? Jun 27 14:35:13 o2oo: hello, so good to see you - it's been like, so boring around here without you, dude! Jun 27 14:35:25 : ) Jun 27 14:35:39 hi everyone Jun 27 14:35:41 Leeds, good to see you, too Jun 27 14:36:05 how can I encolor a purely white bitmap graphic (canvas)? Jun 27 14:36:15 what do i need to do with my paint instance then? Jun 27 14:36:17 I have a question: why some apps download from Google Play are zip file but not apk file? Jun 27 14:36:23 simply setColor(...) does not work here Jun 27 14:36:30 o2oo, what apps are those Jun 27 14:36:37 zip are add-ons files Jun 27 14:39:45 People, does anyone know how precise SystemClock.elapsedRealTime() is supposed to be? In my experience, it drifts by +/- 1 second when the phone is in a low-power state. Is this normal? Jun 27 14:39:47 o2oo: so, which apps? Jun 27 14:41:01 arnouf, Jun 27 14:41:41 for example, the singtao.android.hkheadline-1.zip Jun 27 14:41:59 dnquark: as long as it doesn't go backwards, it should be fine. Jun 27 14:42:03 erm, how are you downloading that? Jun 27 14:42:08 it is an News app from HongKong Jun 27 14:42:20 dnquark: you're getting the time elapsed since boot INCLUDING sleep. If you don't need to worry about sleep, use uptimeMillis instead. Jun 27 14:43:14 o2oo: I prefer The Standard... Jun 27 14:44:21 I have the need to download a file from a website without hotlinking the file itself... and I need to download the file in a certain directory. How can I tell the webview to "download all things" there? Jun 27 14:45:05 hi guys, can anyone here help me with android webapp development ? Jun 27 14:45:05 lov: from what I understand, elapsedRealTime is the one timer that /shouldn't/ include sleep Jun 27 14:46:09 lov: indeed, from the docs -- uptimeMillis(): milliseconds of non-sleep uptime since boot Jun 27 14:46:33 lov: oh, right, that's what you've been saying all along Jun 27 14:46:38 basically im behind a corporate ntlm auth proxy, trying to use the emulator - it turns out doing pretty much anything web related is a royal pain Jun 27 14:48:19 lov: the point is, if I have two devices that are perfectly in sync, and one is connected to the power while the other can go into sleep mode, their timers (based on of elapsedRealTime()) start drifting apart, even though elapsedRealTime() should be theoretically immune to sleep. This is a problem for me. Jun 27 14:49:21 dnquark: it could be a few things; the network could be updating the time for you, it could be some subtle bug, it could be some inaccuracy where android has to "guess" based on some radio processor value. Jun 27 14:49:48 does this issue occur if the phone DOES NOT sleep? Jun 27 14:49:52 can you reliably reproduce this? Jun 27 14:50:01 is it only for a certain model or manufacturer of phones? Jun 27 14:54:59 lov: yes, it's very reproducible. never occurs when the phones do not sleep, always occurs when they do sleep. I only have two devices to test on (HTC Hero and Nexus S); issue occurs on both of them. Network shouldn't touch elapsedRealTime(); bugs are also unlikely: I just have a while(true) loop where I look at the value of the timer and update the clock display accordingly Jun 27 14:56:09 for example, you may search on Google Play: on.cc Jun 27 14:56:45 I was trying to ask about it on the android dev google group, but my message never made it out of their moderation queu Jun 27 14:56:50 Leeds, did you know about the zip format app ? Jun 27 14:57:27 dnquark: hmph. Jun 27 14:57:37 dnquark: I'm not sure what to suggest, I'm afraid. Jun 27 14:57:58 you could try opening a bug on b.android.com with repro steps Jun 27 14:58:00 Newbie dev here just needs some advice.. I need to make an activity pop (start) when a user wakes his phone.. should I learn on creating a service that would check for screen on condition in the background at all times? any books/tutorials? Jun 27 14:58:13 PowerInside: absolutely don't do that. Jun 27 14:58:21 PowerInside: there's a broadcast intent you can listen for, just use a BroadcastReceiver Jun 27 14:58:44 PowerInside: http://developer.android.com/reference/android/content/Intent.html#ACTION_SCREEN_ON Jun 27 14:59:05 lov: Ok thanks, let me see.. Jun 27 14:59:30 lov, hello Jun 27 14:59:39 PowerInside: see also http://thinkandroid.wordpress.com/2010/01/24/handling-screen-off-and-screen-on-intents/ Jun 27 14:59:39 o2oo: how are you downloading the apps, to know what format they're in? Jun 27 14:59:42 hello o2oo Jun 27 15:00:06 do you know about some apps are ".zip" file, not ".apk" file? Jun 27 15:00:20 lov: Code examples!! Nice thanks :D Jun 27 15:00:31 .apk is .zip Jun 27 15:00:36 .apk is just a zip Jun 27 15:00:44 o2oo: no, and randomly asking people won't make anyone happy about this. Jun 27 15:00:58 Dark-Side: not exactly. An apk is a special jar which is a special zip. Jun 27 15:01:13 super-special zip Jun 27 15:01:16 but you can just unzip the apk. Jun 27 15:01:30 quite true Jun 27 15:01:32 it's a zip-format file with the contents laid out in a specific way Jun 27 15:05:58 installing google api 8 revision 2 with in android sdk manager gives the following error: "Unexpected Error installing 'Google APIs, Android API 15, revision 2': org.eclipse.swt.SWTException: Widget is disposed" on my system running openSUSE 11.4 :/ any ideas? Jun 27 15:07:00 yes Leeds. Jun 27 15:07:33 but the ".zip" app package could not be "adb install". Jun 27 15:08:32 o2oo: i dont know what was your question but you need a apk to install with adb install. Jun 27 15:08:34 Then rename to apk Jun 27 15:08:44 If it's really an apk package Jun 27 15:09:13 o2oo: It sounds an awful lot like you're asking how to take apps that you're downloading from market and install them on other devices. Jun 27 15:09:18 o2oo: how the fuck are you downloading the apps, that you know or care what format they're in? if you're installing from the market client, the installation should be opaque Jun 27 15:09:19 hi Jun 27 15:09:21 If that's your root question, please get out. Jun 27 15:09:40 i hav a problem compiling a facebook sdk example Jun 27 15:09:46 px12: don't run opensuse :> Jun 27 15:09:58 px12: more seriously, I think that the SDK is only tested against ubuntu, so you might be out of luck Jun 27 15:10:00 eclipse returns this error Jun 27 15:10:02 The type com.facebook.android.Facebook cannot be resolved Jun 27 15:10:10 px12: if you're not running sun/oracle java, you might run into issues as well Jun 27 15:10:29 lov: hm that's a bit harsh... I've done stuff like that for legitimate dev reasons. Jun 27 15:10:31 somebody can help me? Jun 27 15:10:31 SMlLe: Your example app needs to reference the facebook sdk,. Jun 27 15:10:46 HDroid: He's not giving off a vibe of wanting to do this for legitimate dev reasons. Jun 27 15:10:51 [lov] i added a facebook sdk library Jun 27 15:10:52 loc: :/ ANY experiment you'd suggest? :P Jun 27 15:10:53 lov: the SDK works fine on other Android versions, in general... the JDK version is a more likely problem Jun 27 15:10:54 True :D Jun 27 15:10:58 SMlLe: how did you add it? Jun 27 15:11:00 to the prject Jun 27 15:11:03 everybody, I push the app ".zip" package file from Galaxy S3, and want to adb install it into another android phone. but failed. Jun 27 15:11:16 SMlLe: that in no way answers my question. Jun 27 15:11:19 pull, not push. Jun 27 15:11:21 o2oo: how do you get it off the S3? Jun 27 15:11:30 o2oo: because it's NOT AN APK. Jun 27 15:11:45 i created a facebook project with facebook sdk Jun 27 15:11:47 then Jun 27 15:11:50 Rename to .apk, try again. If not work, it not an apk. Jun 27 15:11:51 px12: are you sure you're using the Sun/Oracle JDK, not openjdk? Jun 27 15:11:56 no no no, it is pull from an rooted galaxy 9100. Jun 27 15:11:57 a add a simple example project Jun 27 15:12:12 o2oo: then go to #android-root and get ignored there Jun 27 15:12:21 after in project properties i add facebook library Jun 27 15:12:28 SMlLe: what is your project setup? Are you referencing the facebook SDK as an Android Library? Jun 27 15:12:34 Leeds: not sure :/ how do i check it? :P Jun 27 15:12:39 or are you trying to add it as a java project? Jun 27 15:12:49 yes Jun 27 15:12:58 ok. Is the Facebook class public? Jun 27 15:13:06 px12: "java -version" maybe? Jun 27 15:13:14 did you import the class? Jun 27 15:13:19 or check in your package manager Jun 27 15:13:24 public class Facebook { Jun 27 15:13:48 then I don't know what to suggest. Good luck! Jun 27 15:13:52 in fact all compilling ok except one file Jun 27 15:14:02 Leeds: its openjdk. Jun 27 15:14:09 inButton.java Jun 27 15:14:21 LoginButton.java Jun 27 15:14:23 px12: then grab the Sun^WOracle JDK and replace it Jun 27 15:14:32 Leeds: btw, i can run the android on emulator and a few apps like whatsapp too! :P Jun 27 15:14:33 Google suppose to be doing a stream of their debut tablet with Tegra 3 and android 4.1 today and tomorrow. Jun 27 15:14:56 px12: yes, we know about the emulator... we've known for a long long long time Jun 27 15:15:07 if you dpn't ad facebook library, simple example gives a lot of error Jun 27 15:15:16 factor: yes, they're live streaming the I/O Keynote... Jun 27 15:15:20 ? :P Jun 27 15:15:23 in a little over an hour Jun 27 15:15:28 when a added it just give me one error in one file Jun 27 15:15:28 stupid highlight ;) Jun 27 15:15:32 Leeds: of course :) now i'll try and install the oracle jdk. Jun 27 15:15:52 dpn`: he dpn't mean to tag you Jun 27 15:16:09 The type com.facebook.android.Facebook cannot be resolved. It is indirectly referenced from required .class files Jun 27 15:16:15 in LoginButton.java Jun 27 15:16:36 eclipse recommend me configure build path Jun 27 15:16:44 ok leeds cool Jun 27 15:18:32 somebody can help me? Jun 27 15:19:14 SMlLe: you need to put the facebook jars in your "libs" directory Jun 27 15:20:37 which is the libs directory? Jun 27 15:21:12 th sdk how to don't say anything about put jars in this directory Jun 27 15:21:14 the directory, which is a directory, which has a name, whose name is libs Jun 27 15:21:53 just said that add a library Jun 27 15:23:21 i think can be a eclipse problem Jun 27 15:24:07 because make weird things Jun 27 15:24:11 for example Jun 27 15:24:39 when i create a simple project prom existing source Jun 27 15:24:58 don't import all files ti this project Jun 27 15:25:45 i have to copy them by hand Jun 27 15:27:46 Leeds: the facebook apk is an android library, not a jar, so he shouldn't need to do that. Jun 27 15:29:46 slightly off-topic, but has anyone ever used sublime text instead of eclipse for android development? Jun 27 15:30:22 lov: ah, the only library I've actually dealt with is admob, and I haven't updated that one since it was just a libs/admob.jar Jun 27 15:33:45 i believe facebook has a library? that's what it sounds like he's working with Jun 27 15:36:38 yeah, they've got a github repo where you just pull their android library project Jun 27 15:36:38 I have the need to download a file from a website without hotlinking the file itself... and I need to download the file in a certain directory. How can I tell the webview to "download all things" there? Jun 27 15:37:31 elegos: why use a webview to download a file? Jun 27 15:37:58 wongk: 'cause it's a provider who lets you download file only after a countdown, adds and so on Jun 27 15:38:25 ah... porn and warez Jun 27 15:38:32 Leeds: no, Goo.im Jun 27 15:38:33 <3 Jun 27 15:39:21 btw... any idea? Jun 27 15:39:27 meh Jun 27 15:51:26 Hey guys. Is there a cool way to debug inter-process communication (with the Messenger, between a service and an activity). I have no problem sending messages from the activity to the service, but the other way is not working. I don't get why. Jun 27 15:52:30 Intents. Jun 27 15:52:50 Debug... ummm... yeah, fire intents from the command line while the app is running Jun 27 15:53:03 cause it means your service will be running Jun 27 15:53:20 My service is running. Jun 27 15:53:26 In fact I have no errors at all. Jun 27 15:53:28 Anywhere. Jun 27 15:53:36 It's just that my handleMessage is never triggered. Jun 27 15:53:40 In my activity. Jun 27 15:54:40 Are your intent filters set up properly? Jun 27 15:58:18 csaunders: Reading again my code I think I got my error. =) Jun 27 16:12:25 http://www.modaco.com/page/news/_/android/world-exclusive-full-nexus-7-details-r615 Jun 27 16:12:35 full specs, leaked ordering page from the Market^WPlay Store Jun 27 16:15:30 Dumb question - I know. But, when you guys make a DatabaseHelper class, do you guys make custom methods like changeNumberofHotDugsEaten(Integer i) or things like that? Jun 27 16:17:30 jessicajames: I guess you want to try to encapsulate the database within the database-accessing class and maybe at most expose cursors outside to read from and keep manipulations within Jun 27 16:17:40 but I'd advice making the database methods really high level Jun 27 16:18:06 alankila, do you know of any useful examples/tuts I can look at? Jun 27 16:18:15 so that you talk about meaningful high-level concepts in the API rather than something like 'public void insertNewContact(ContentValues cv)' style Jun 27 16:18:37 you should have rather something like 'public void addContact(String firstName, String lastName, etc.)' etc. Jun 27 16:19:09 Is it possible to use a device which is connected over USB instead the eclipse emulator? Jun 27 16:19:15 jessicajames: nah, not really Jun 27 16:19:28 sukramTM: yes. enable developer mode. Jun 27 16:19:37 is android.graphics.Picture the best object to use if i'm just downloading an image and displaying it? Jun 27 16:19:46 i need to pass the image object around a bit Jun 27 16:20:00 @ the smartphone? Jun 27 16:20:15 indeed Jun 27 16:20:39 anybody doing google IO virtually as I am? Wanna start a google io live channel? Jun 27 16:20:40 sukramTM: it's called usb debugging or something such. ICS puts it under developer options or something like that Jun 27 16:20:54 we have android cupcakes at work Jun 27 16:21:07 OK I started a channel #googleio join me there Jun 27 16:21:19 could a mod add that to teh MOTD or something? Jun 27 16:21:36 GeeksOnHugs: or we could just stick to #android? Jun 27 16:22:24 google io isn't a dev convention? (wondering why the convo wouldn't be in here) Jun 27 16:22:28 or you could come join us at irc.googleio.geocities.com, we made an irc network specifically for google IO Jun 27 16:22:34 oh are they talking about there Leeds? Jun 27 16:22:53 where Jun 27 16:22:55 tnzr Jun 27 16:23:01 GeeksOnHugs: i was being sarcastic, sorry Jun 27 16:23:03 :) Jun 27 16:23:06 lol Jun 27 16:23:13 don't toy with my emotions Jun 27 16:23:15 hehe Jun 27 16:23:51 well you guys join me then and we'll chat here...it couldn't be anymore on topic Jun 27 16:24:12 alankila: don't find it Jun 27 16:24:18 I think the google ceo is such a lamer though...I mean he's a dufus not in a computer geek way in just a totally lame way Jun 27 16:24:30 and I want to make fun of him somewhere Jun 27 16:24:37 Norrin: it's basically a PR event at this point. Jun 27 16:24:44 GeeksOnHugs: no one is going to promote your channel. Jun 27 16:24:44 sukramTM: too bad. It's probably there somewhere. Jun 27 16:24:49 While installing the package file by "adb install -r package.apk" , I got some error like "Failure [Install parse failed inconsistent certificates] ... Please suggest me how to fix this issue? Jun 27 16:24:50 i know, it's OK Jun 27 16:25:13 siva4080: are you trying to replace a debug build with a release build? Jun 27 16:25:15 siva4080: step 1: Take the error message, plug it into google Jun 27 16:25:22 siva4080: step 2: Read what the responses are Jun 27 16:25:27 siva4080: step 3: Take appropriate action Jun 27 16:25:40 Leeds: Nope Jun 27 16:27:03 IOOOOOOOOOOOOOO keynote soon :))) Jun 27 16:28:56 https://developers.google.com/events/io/ Jun 27 16:30:38 yes, we know... Jun 27 16:33:06 alankila: I selected USB debugging mode @ phone. how I start now the program from eclipse? Jun 27 16:33:30 sukramTM: press the run button Jun 27 16:33:34 press play Jun 27 16:33:59 maybe reconnect phone if usb stack on host did not notice Jun 27 16:34:07 or right click your project -> run as -> Jun 27 16:34:23 Than I only get the virtual device from the sdk Jun 27 16:34:38 if DDMS doesn't see your device, you need to solve that problem first. Jun 27 16:34:44 does 'adb devices' show your device? Jun 27 16:34:51 if not, you probably need to install the driver Jun 27 16:35:01 is anyone getting video???? Jun 27 16:35:09 for google IO please tell me Jun 27 16:35:13 I am not getting video Jun 27 16:35:16 Hey GeeksOnHugs Jun 27 16:35:23 please sperg out in #android, not here Jun 27 16:36:48 woo, I/O :) Jun 27 16:37:03 \o/ Jun 27 16:37:04 don't have to be a jerk about it lov Jun 27 16:37:31 Google IO stream activated. Jun 27 16:38:19 they gave a shout out to me Jun 27 16:38:30 see Jun 27 16:38:35 he just welcomed me Jun 27 16:38:54 GeeksOnHugs: seriously... let's keep the crap in one place Jun 27 16:39:06 everyone here is desperately porting their apps to JB Jun 27 16:39:11 ok Jun 27 16:39:42 How can I answer to user reviews? Jun 27 16:39:46 (on apps) Jun 27 16:40:06 spobat: you can't, yet, unless you're a 'preferred developer' or whatever they call them... Jun 27 16:40:18 Leeds what a crap. Jun 27 16:40:32 yeah, Android SUCKS! Jun 27 16:40:33 they should make it available for all. Jun 27 16:40:46 why is everyone blue? Jun 27 16:43:22 because we don't have tickets ._. Jun 27 16:43:47 i mean, on the stream. they are blue. like the color scheme is all fucked up. Jun 27 16:43:59 idk Jun 27 16:45:13 is android.graphics.Picture the best object to use if i'm just downloading an image and displaying it? Jun 27 16:45:14 i need to pass the image object around a bit Jun 27 16:45:31 MMMMMM BUTTER Jun 27 16:45:49 CQN: Bitmap Jun 27 16:46:39 jasta: what will happen when the provided image is not a bmp? will it handle that appropriately? Jun 27 16:46:43 Can I get an opinion on title bars from somebody? I am iPhone user so I don't know, but are they common/useful in most Android apps? Do you you use them in your apps? Jun 27 16:47:07 gowie: title bars meaning the old school titlebars, or meaning the ActionBar? Jun 27 16:47:18 The ActionBar is the official way forward; TitleBar always felt kind of ugly to me. Jun 27 16:47:22 lov title bars as in the old school title bars Jun 27 16:47:33 I mean they're sort of useful in that the user knows what the app is, but eh. Jun 27 16:47:44 if you're going to put any effort into your app, just use an ActionBar (and/or ActionBarSherlock) Jun 27 16:47:45 Isn't the actionbar for a tabbed interface? Jun 27 16:47:49 nope Jun 27 16:48:03 though you might end up using it with Fragments! Jun 27 16:48:06 Good job on Android 4.1!!! Jun 27 16:48:06 hm lemme look up actionbar, brb Jun 27 16:48:10 CQN: what else would it be but a Bitmap? Jun 27 16:50:48 jasta: if i provide a jpg or png, for example Jun 27 16:50:58 CQN: those are parsed to the Bitmap object. Jun 27 16:51:04 because they are bitmaps once they are parsed. Jun 27 16:51:32 lov the actionbar seems like navigation for the app, I am just interested in a header which displays where the user is within the app. Is that not the title bar? Jun 27 16:51:44 jasta: ok Jun 27 16:51:50 i'll give it a shot Jun 27 16:51:53 thanks for the help Jun 27 16:52:46 noon' everybody Jun 27 16:53:20 I/O conference starting Jun 27 16:53:31 we're getting Jelly Bean info Jun 27 16:53:39 Lirodon: we're chatting in #android Jun 27 16:55:59 i know its stupid but is sublime good IDE for Android dev? Jun 27 16:59:48 gowie: the titlebar just displays the name of the activity. You can have your actionbar display where you are in the application, if you'd prefer. Jun 27 17:00:20 "Starting with Android 4.1, Google Play will help protect application assets by encrypting all paid apps with a device-specific key before they are delivered and stored on a device." Jun 27 17:00:41 orly? Jun 27 17:01:28 http://developer.android.com/about/versions/jelly-bean.html Jun 27 17:01:38 platform/API overview Jun 27 17:02:00 now tell me what i care about, when is my nexus getting an OTA Jun 27 17:02:01 do we call that a good anti-piracy thing? Jun 27 17:02:09 jasta: just checked with my gf's - nothing yet :) Jun 27 17:02:28 Won't it be ages until that is even remotely useful anyway? Jun 27 17:02:44 Since most people will be backwards compatible to at least 2.3.3 Jun 27 17:02:58 Probably even 2.1 Jun 27 17:08:27 sweet Jelly Bean for devs today Jun 27 17:08:29 that's exciting Jun 27 17:09:13 only the emu/sdk right? Jun 27 17:09:23 yeah Jun 27 17:09:30 code and OTA release mid-July Jun 27 17:10:30 wow 20b app isntalls Jun 27 17:12:04 comment replies for all... in 3..2..1.. Jun 27 17:12:30 app encryption eh Jun 27 17:12:45 nice Jun 27 17:13:00 will make it slightly harder to pirate stuff Jun 27 17:13:05 Partial APK downloads!! Jun 27 17:13:07 Interesting, only the parts that change. Jun 27 17:13:13 lol, this patching updates thing is so fucking obvious ;) Jun 27 17:13:15 Google is great! Jun 27 17:13:21 kinda silly it didnt exist after rev 2 or 3 Jun 27 17:13:31 oh, GB+ is nice Jun 27 17:13:38 binary diffing is like...bla. Jun 27 17:13:42 chrome'd Jun 27 17:13:55 jasta: I assume it's at the class level or something, not a real binary diff Jun 27 17:14:05 why wouldnt it be? Jun 27 17:14:19 just simpler Jun 27 17:14:48 lol what? Jun 27 17:14:50 If an apk made for 4.0 devices is installed on a 2.3 device, will it even install? Or will it install and crash? Jun 27 17:15:34 apks are backwards and forwards compatible Jun 27 17:15:41 jessicajames it depends on what is the minimum version which is written to support in the manifest file Jun 27 17:15:50 Leeds: i can perform this operation on the UNIX command-line for crying out loud with existing open source tools. why would it be simpler to not just do this? Jun 27 17:16:01 jasta: guess you're right Jun 27 17:16:10 download a binary diff, copy out the old version, apply the diff, run the package manager. i could build that in like a week :) Jun 27 17:16:35 anyone have a site that provides some graphic widgets for free use? Jun 27 17:16:38 i just tested it even. 700k patch on an app that is 5.5MB from 1 version to the next. Jun 27 17:16:54 jasta: erm... remember how quickly the Market has traditionally progressed :) Jun 27 17:17:08 right that's why i said it's like...so duh. Jun 27 17:17:21 it's not innovative or difficult. open source tool chains can do it trivially and reliably Jun 27 17:17:34 glad they did, but im just like...really, is this a big thing? :) Jun 27 17:17:42 ok ok, nexus tablet time, shut up Jun 27 17:18:11 meh, we knew about the tablet an hour ago - order page, specs, launch video :) Jun 27 17:18:23 and everyone gets one Jun 27 17:18:28 probably Jun 27 17:18:34 presumably Jun 27 17:19:10 Yikes Jun 27 17:19:21 Thats a monster Jun 27 17:19:29 It had better have an awesome battery Jun 27 17:19:46 4350 or so Jun 27 17:20:13 at least one person on #android has already ordered one :) Jun 27 17:20:34 I would if I could afford it :P Jun 27 17:20:42 $199 for 8GB, $249 for 16 Jun 27 17:20:49 rumors was true: https://www.youtube.com/watch?v=YMQdfGFK5XQ Jun 27 17:21:04 Leeds: can normal people order them yet? :) Jun 27 17:21:28 they took down the order page, I think - might be back by now Jun 27 17:21:31 fucking US-only Jun 27 17:23:52 that is a killer price point Jun 27 17:24:05 order page still down :)( Jun 27 17:24:08 :( Jun 27 17:25:12 haha Jun 27 17:25:22 shazam and soundhound goign noooeees Jun 27 17:26:18 hi , i am following this class to run my app on my device http://developer.android.com/training/basics/firstapp/running-app.html but i don't know where ant executable is ? Jun 27 17:26:45 mdrjr: haha Jun 27 17:27:06 fantastic001: if you don't have it, you have to install it. You only need to use ANT if you don't want to use eclipse for some reason. Jun 27 17:27:34 lov: ?? Jun 27 17:28:33 lov: how to install it ? Jun 27 17:28:50 MDijkstra, don't worry; Soundhound is already built-in on the new HTC phones Jun 27 17:29:37 how come you guys don't watch google i/o Jun 27 17:29:38 here is a working link: https://www.youtube.com/watch?v=7HGusUILDuE Jun 27 17:30:30 fantastic001: why don't you do a google search? Jun 27 17:30:54 google search is too complicated. Jun 27 17:31:43 Anyone know why the Nexus 7 is using a phone not a tablet layout? Jun 27 17:31:50 s/interface/layout Jun 27 17:31:58 depends on the apps Jun 27 17:32:52 Well the launcher and stuff is phone optimised, ie the huge black navigation bar Jun 27 17:33:20 does the nexus 7 have an sdcard slot? Jun 27 17:33:27 jesus christ how should we know Jun 27 17:33:40 why are you asking some randos on irc? Jun 27 17:34:30 yeah, because #android-dev is the worst place to ask about hardware specs of an android device Jun 27 17:34:33 tnzr, no Jun 27 17:34:45 #android for I/O chat Jun 27 17:34:46 wtf is that thing o_o Jun 27 17:35:07 Thats interesting Jun 27 17:35:09 what is this insane Q thing? Jun 27 17:35:21 Very interestnig Jun 27 17:35:30 like a media server then Jun 27 17:35:48 also, it's *made in the USA!* Jun 27 17:36:12 using prefabbed chinese components Jun 27 17:36:15 :D Jun 27 17:40:54 anybody getting the q? Jun 27 17:41:04 Not sold on it Jun 27 17:43:57 bit too tied to google play Jun 27 17:45:53 lol Jun 27 17:46:04 gl with that Jun 27 17:46:12 yeah, that thing is toast :) Jun 27 17:46:14 ya. streaming only for $299? Jun 27 17:46:18 no way does that get traction Jun 27 17:46:28 seems like it wants to be a new GTV Jun 27 17:46:46 you can get an ATV for like 80? Jun 27 17:46:57 if it had local DVR capabilities too I might be interested. Jun 27 17:48:19 if it integrated with my NAS setup I'd be sold Jun 27 17:50:59 Will we be able to make Apps for the Q? Jun 27 17:51:24 For example, to introduce compatibility with LAN remote storage Jun 27 17:51:28 I don't get why this costs $299 Jun 27 17:51:44 Because it is all pretty looking I assume Jun 27 17:51:50 Going the Apple route Jun 27 17:51:51 :D Jun 27 17:51:52 but the nexus 7 with a battery, a screen and more capabilities costs $200 Jun 27 17:53:51 MDijkstra: the nexus 7 is being subsidized by google play (sshhhh) Jun 27 17:54:07 Do you really think that Amazon is selling Kindle Fires to make money on the hardware? Jun 27 17:56:37 there is no way google is making money on its devices Jun 27 17:56:56 i wouldn't be surprised if they were selling at a small loss Jun 27 17:57:28 They're pushing the content. Jun 27 17:58:20 when is project Bacon going to be finished ? Jun 27 17:58:28 (now that butter is done) Jun 27 17:58:38 NO BACON Jun 27 17:58:47 Fedora did it, they called it Beefy Miracle Jun 27 17:58:52 damn it, were doomed ! Jun 27 17:58:57 Lirodon: lol Jun 27 17:59:30 market is currently not updating apps for me - wonder if it's trying to push partial updates before the client app has updated Jun 27 18:00:00 ron_frown: are you at google oi ? Jun 27 18:00:09 no siree Jun 27 18:00:11 jake is Jun 27 18:00:22 i was going to go, and lost track of ticket orderingetc Jun 27 18:00:23 its ok Jun 27 18:00:31 keynote is really all I'm interested in =) Jun 27 18:00:52 specs on the nexus7 just deprecated the fuck out of the kindle fire Jun 27 18:01:08 well yeah, until the next one is announced 30 days from now :) Jun 27 18:01:10 That "that's basically 16 cores" comment is so stupid. Jun 27 18:01:26 yeah Jun 27 18:01:41 honestly if the os had the capability of offloading shit onto it, it'd be impressive Jun 27 18:01:45 And going on to say most modern computers aren't even quad. *sigh* Jun 27 18:02:15 thats the thing about the ps3, its architecture makes it more difficult to write code for, not easy to write portable code Jun 27 18:02:16 BUT Jun 27 18:02:25 the hardware is extremely impressive Jun 27 18:02:29 and extremely capable Jun 27 18:02:43 imo, I think cell processors were way way way ahead of their time Jun 27 18:02:54 tools werent there and people just didnt understand Jun 27 18:03:34 ron_frown: I'm not up on the fundamental difference with cell processors - what's the substantial difference? Jun 27 18:03:55 the idea is that you have a pool of x number of gpu class performance cores Jun 27 18:04:03 and you just allocate cells to tasks Jun 27 18:04:09 render video, compute whatever Jun 27 18:04:17 That's appealing, Jun 27 18:04:34 holy cow, eclipse 4.2 mainstream was released Jun 27 18:04:38 ibm's stuff is really nice because you can effectively dynamically allcoate more cells from other machines to that pool Jun 27 18:04:44 g00s as was adt20 Jun 27 18:04:45 but current libraries (except maybe render-farm aimed) don't support that kind of martialing. Jun 27 18:04:51 and sdk20 Jun 27 18:04:52 :) Jun 27 18:05:12 does adt 20 work with eclipse 4.2 ? Jun 27 18:05:16 yes Jun 27 18:05:22 but I am only seeing juno as rc2 Jun 27 18:05:29 *marshalling Jun 27 18:05:32 and I literally checked less than 1 minute ago Jun 27 18:05:44 wow Jun 27 18:05:51 within the minute the site changed Jun 27 18:06:18 MontyCarleau thats the idea Jun 27 18:06:18 http://eclipse.org/juno/ Jun 27 18:06:40 c++ build for x platform wont just compile and run out of box on ps3... so people bitched about it Jun 27 18:06:54 hey i have a htc inspire im trying to back via fastboot.. any help with the command Jun 27 18:07:07 *back up Jun 27 18:07:20 fastboot doesnt read I dont htink Jun 27 18:07:47 k any way to get data off with a none responsive screen? Jun 27 18:08:00 is screen broke, or device nuked? Jun 27 18:08:13 screen broke Jun 27 18:08:21 just adb shell into it Jun 27 18:08:33 or you can hook up ddms and get at some of the data Jun 27 18:08:45 ron_frown: Have you built projects on PS3? Jun 27 18:08:47 (as long as the usb developer options were set) Jun 27 18:08:59 prolly not Jun 27 18:09:09 MontyCarleau - nah, I've built unity3d shit that generates a ps3 game Jun 27 18:09:13 but never done a damn thing wiht it Jun 27 18:09:22 when i fast boot i seed the deive but when i abd devices its not listed Jun 27 18:09:31 you dont need to fastboot for adb Jun 27 18:09:34 just let it boot normally Jun 27 18:09:46 fastboot is going to quickly flash bootloader/partitions/etc Jun 27 18:09:51 thats about it Jun 27 18:09:58 k booting now Jun 27 18:10:36 so basicly if usb debugging wasnt checked then we can adb into the device Jun 27 18:10:56 have you ever build an android app and pushed to your phone? Jun 27 18:11:06 ron_frown: I'm sympathetic to not wanting to guess at the magic build parameters. Depends how little developers will informed. There are reasons x86 has been around forever, and a big one is familiarity. Jun 27 18:11:31 god damn 60meg internet and I am getting like 10k/sec downloading juno Jun 27 18:11:32 boo Jun 27 18:11:43 hmmm dievice not listed Jun 27 18:11:46 juno? Jun 27 18:11:49 does 4.1 has bluetooth 4 low power yet ? Jun 27 18:11:50 eclipse juno Jun 27 18:12:01 g00s mentioned nothing about that in keynote Jun 27 18:12:06 but then they talked about the big things Jun 27 18:12:09 lots and lots of more polish Jun 27 18:12:23 new sdk is up Jun 27 18:12:26 so maybe you can check it Jun 27 18:12:37 i went through the api highlights and did not see it Jun 27 18:12:43 triple buffered graphics? I've been having trouble with the double buffer...oh well Jun 27 18:12:47 Oo Jun 27 18:12:48 haha Jun 27 18:12:50 its different Jun 27 18:12:53 thats lower level Jun 27 18:12:56 ron frown is that correct? Jun 27 18:12:56 eclipse update? Jun 27 18:12:57 Ologn: iOS will have quad buffered :D Jun 27 18:13:06 you should be able ot see the device Jun 27 18:13:06 * g00s ducks Jun 27 18:13:30 for games and shit, you can still double buffer Jun 27 18:13:43 no not seeing devie Jun 27 18:13:47 its triple buffering lowerelvel Jun 27 18:13:47 Its ironic, the first time I tried to use Beam, I was trying to beam a photo. I didn't know it didn't support it Jun 27 18:13:59 did they say how much cumulative revenue app devs made ? Jun 27 18:14:34 g00s: $59.34 Jun 27 18:14:59 \o/ Jun 27 18:17:05 my assumption with the MediaCodecs in Jelly Bean is I can join them together via a surface (decode then encode)? Jun 27 18:17:14 nexus q is interesting Jun 27 18:17:19 not 299$ interesting Jun 27 18:17:28 I'll be preordering the nexus 7 in a couple days Jun 27 18:18:19 ron_frown: indeed.. (not 299$ interesting) Jun 27 18:18:35 android pdk is exciting sicne I've had to basically reverse engineer everything I've done in android os Jun 27 18:18:36 with the nexus 7 being $200 , this tells me google is not going after the iPad Jun 27 18:19:02 i guess they see amazon as their competitor Jun 27 18:19:11 cept I got a feeling its just for major hardware partners =( Jun 27 18:19:18 pre-ordered Nexus 7 16gb $280 (with shipping/tax) Jun 27 18:19:25 ditto Jun 27 18:20:09 what are the options on it Jun 27 18:20:11 just size? Jun 27 18:20:18 storage size rather Jun 27 18:20:21 just flash size, yeah Jun 27 18:21:21 8 and 16? Jun 27 18:21:33 yup Jun 27 18:21:51 so basicly if usb debugging wasnt checked then we cant adb into the device? Jun 27 18:22:35 probably Jun 27 18:22:38 android debug bridge Jun 27 18:23:37 anyone know much about kickstarer? Jun 27 18:23:45 diplomatic: if usb debugging is not enabled, you cannot use adb. This is by design. Jun 27 18:24:45 ron_frown: I've backed something :) Jun 27 18:25:31 on their site everything that says pledged... does that mean people actually have paid that much? Jun 27 18:25:39 like end user has that much cash in hand? Jun 27 18:26:15 I've considered an invention I've had an idea for, for al ong time... putting it up there and seeing if I can get a bit of funding, but dont quite get how it works Jun 27 18:26:48 ooh, tunein have pushed an update with JB support... I think that makes them first Jun 27 18:27:03 probably just for new notification shit Jun 27 18:27:24 ron_frown: nothing is taken until a) the end of the pledge period and b) the total has been met... if the total isn't met, nothing will be taken at all, and nothing will be taken until the 30 days (normally?) are up Jun 27 18:27:42 ahh Jun 27 18:27:52 so if you dont reach your funding goals, nobody is out their money Jun 27 18:27:57 amazon and/or kickstarter take a few % in fees, so you don't get the total amount AIUI Jun 27 18:28:08 thats fine... Jun 27 18:28:09 Oh, Google Play isn't letting me buy a 7 :( Jun 27 18:28:20 I really think people WOULD fund my shit compared to some of the projects on kickstarter Jun 27 18:28:32 but I gotta weigh the risks Jun 27 18:28:32 Estel: it's not even letting me download app updates at the moment Jun 27 18:28:39 risk giving away ideas and not get funded Jun 27 18:28:49 I managed to get a few about half an hour ago Jun 27 18:28:51 leeds as a contributer, do you get anything? Jun 27 18:29:13 ron_frown: I also don't know what proportion of pledges don't get delivered Jun 27 18:29:24 did they mention anything about the 18 month update alliance from last year :) Jun 27 18:29:29 that owuld be interesting Jun 27 18:29:42 as the person asking for funding, you set the pledge levels and rewards Jun 27 18:29:47 I could build my invention with my own funds, and then try and secure funding to refine/mass produce Jun 27 18:30:04 what is an example of the reward, something you've got Jun 27 18:30:12 there have been some "not follow through" issues with kickstarter projects lately Jun 27 18:30:35 generally, there's a certain level which is "you get the X when it's built", levels above that where you might get a custom X, an early release X... sometimes very high levels where you get to meet the developers - maybe that's more for rock star developers... Jun 27 18:30:47 oh shits Jun 27 18:30:52 I'd expect to get credit somewhere, on the website, in the project docs... Jun 27 18:30:59 I'll delve out units Jun 27 18:31:32 as custom electronics bit, I'm sure I could find people interested, and I'd need testers in any case =) Jun 27 18:31:45 If they give Glass to everyone at I/O I will be upset Jun 27 18:32:06 no mention of it or even hint at it in keynotes Jun 27 18:32:07 I've actually backed two things, one on kickstarter, one on a more specific site, just to fund books - in the first case case, I was pledging to support a documentary movie, and at my level I'll be getting a letter of thanks and credit on their website Jun 27 18:32:08 besides Jun 27 18:32:19 nice Jun 27 18:32:29 in the second case, the book, they printed a long list of everyone who backed it in the book itself, so my name is there in print Jun 27 18:32:49 I *didn't* pay enough to actually get a copy of the movie Jun 27 18:33:44 thats kinda cool Jun 27 18:33:52 do you have to promote your project elsehwere? Jun 27 18:34:18 they weren't actually raising funds to make the movie, but they got a chance to get it broadcast on PBS, but had to get it re-edited and pay some other fees Jun 27 18:35:02 whoa Jun 27 18:35:06 glass for I/O attendees Jun 27 18:35:18 'pre-order' which suggests not free Jun 27 18:36:09 I'd be real surprised if they didnt re-design them ebfore they released anything to public Jun 27 18:36:15 $1500 for the glasses, only for US attendees Jun 27 18:36:24 I havent heard any comments about its appearance that wasnt "too bad you look like a douche" Jun 27 18:36:24 i'm getting a lot of 'Aw, Snap!' things with the new Chrome 20 Jun 27 18:36:38 I'd be fucking annoyed if I'd paid to go to the US and they told me I couldn't get one Jun 27 18:36:39 i'm pretty sure that google is going to just own my paycheck one of these days Jun 27 18:36:41 chome is worse now than ff as far as daily browsing fo rme Jun 27 18:37:13 I mean it sucks for everythign else Jun 27 18:37:16 ron_frown: anyway, not sure what you mean about having to promote your project elsewhere? Jun 27 18:37:36 eg, if you created a project, does the site drive enough traffic to find your projects Jun 27 18:37:44 or do I need to try and promote with my friends and on facebook etc Jun 27 18:38:03 ah, no - you definitely need to promote it Jun 27 18:38:21 for what it's worth, http://www.kickstarter.com/projects/1641808167/an-article-of-hope Jun 27 18:38:24 for some strange reason i was hoping for a google earth update, since it crashes every time i use it on my mac Jun 27 18:38:37 I don't know if there are any public stats about how many projects get funded or over-funded Jun 27 18:38:44 g00s: isn't earth pretty much abandoned? Jun 27 18:38:49 oh no ! Jun 27 18:38:56 how did you hear about it Jun 27 18:38:56 i use it a lot Jun 27 18:39:05 Leeds is that your brother ? Jun 27 18:39:20 xDan Cohen ? Jun 27 18:39:40 ron_frown: I saw the movie at the Hong Kong Jewish Film Festival last year - I was there because I wrote an app for the festival - and the festival director has been promoting it Jun 27 18:39:48 it was the opening movie of the festival Jun 27 18:40:09 nice Jun 27 18:40:12 g00s: nah, no brothers... except in an extended sense :) there are lots of us Cohens around Jun 27 18:40:19 XD Jun 27 18:41:26 ron_frown: as you can see, it was barely funded - went right up to the last day or so... lots of press for the massively overfunded projects, but I guess a lot of projects don't get funded Jun 27 18:41:28 ok, just curiousity, why carry a jewish torah scroll that was smuggled in/out of a concentration camp on a god damn space shuttle Jun 27 18:41:52 oh, gnex and n7 for everyone at I/O Jun 27 18:42:18 ron_frown: symbol of hope, sort of thing Jun 27 18:42:24 and a nq Jun 27 18:42:34 ron_frown: because that person is human Jun 27 18:42:35 leeds you there? Jun 27 18:42:38 probably like you Jun 27 18:42:41 no I just mena Jun 27 18:42:46 <_The_Fred> damit,i wish i had gone to google io Jun 27 18:42:52 if its ultimately a really priceless thing, why take it onto a spaceshuttle Jun 27 18:42:57 there, like I/O? no, I'm sitting at home, at 2:40am Jun 27 18:43:01 that has a reasonable chance of self destructing Jun 27 18:43:05 ron_frown: eevrything is a risk. Jun 27 18:43:23 why send people up at all? Jun 27 18:43:44 Alright, I want to load a custom HTML page in a webview if there isn't a HTTP response code of 200...my code just throws an java.net.UnknownHostException....any ideas on how I can solve this problem? Jun 27 18:44:00 catch it? Jun 27 18:44:00 haha Jun 27 18:44:15 catch it and pop a dialog Jun 27 18:44:19 about 5min work Jun 27 18:44:24 ron_frown: take sitting. it seems harmless but really we was never evolved to sit all time, plus theres small risk of blood emolism in leg by sitting too long in wrong way Jun 27 18:44:37 * Leeds stands up Jun 27 18:44:43 <_The_Fred> lol Jun 27 18:45:06 ron_frown: anyway, torah aside, hope that helped Jun 27 18:45:19 yeah Jun 27 18:45:22 def Jun 27 18:45:46 ron_frown: one more minor thing - you can only *host* a kickstarter if you're in the US, but you can fund from anywhere, as long as you can use Amazon payments - which is the only available payment method Jun 27 18:45:53 I am american Jun 27 18:46:01 any ideas guys and gals? Jun 27 18:46:04 wonder how much I have to disclose about my particular project Jun 27 18:46:16 disclose to funders, or to kickstarter? Jun 27 18:46:19 what are you kickstarting? Jun 27 18:46:28 either Jun 27 18:46:37 just worried my idea would be sniped by others Jun 27 18:46:44 if I gave away too many details Jun 27 18:47:10 It's been something I've spent maybe 10k on myself thus far, which is fine... just dont know if I am going to ever bring it to fruition on my own Jun 27 18:47:28 dont want it being one of those "...I had this shit built 5yr ago... and now x company released it..." Jun 27 18:47:31 I think you have to disclose enough to make it fundable :) don't know if you have to disclose anything significant to kickstarter, over and above what you post publically Jun 27 18:48:01 I dont know how you are going to get someone to fund something that you wont disclose anything meaty about Jun 27 18:48:14 I look at successful products and see if I can get away with disclosing basic features Jun 27 18:48:38 lol Leeds Jun 27 18:48:57 if you can sell it on your name - like you're a well-known game developer, for example - you can get away with not very much, I'd say... Jun 27 18:49:08 if you have to sell it on the project, you have to... sell the project Jun 27 18:49:17 Exactly Jun 27 18:49:45 I agree there Jun 27 18:49:45 also depends on whether you think you're really selling to the public, or to a more closed group - for example, that one I linked to was really aimed at Jewish film fans and/or space people Jun 27 18:50:05 I dont care who buys into it Jun 27 18:50:27 I know you don't care, but you're trying to sell something - you need to know who you're selling it to and tune your pitch Jun 27 18:50:30 I mean I've have my circles I'll plan on distributing it to Jun 27 18:50:39 ahh good call Jun 27 18:51:08 bloody insufficient storage? Jun 27 18:51:21 221MB of flash is insufficient to upgrade an app? Jun 27 18:51:38 that's more than a lot of phones had, total, 18 months ago! Jun 27 18:51:40 Perhaps if you talk to someone about what the product is, they may be able to help you trim down the details to something sellable. If you trust anyone here enough with that kind of information. Jun 27 18:52:07 yeah I'll work on that side of things Jun 27 18:52:20 I mean if this dude can get 50k+ for a god damn home screen for a tablet Jun 27 18:52:26 also depends on how much you're trying to raise, I guess... if you're aiming for 5k-10k or so, you might be able to keep it pretty close, but if you want 150k, you'll need to be more open Jun 27 18:53:02 ron_frown: Link? Jun 27 18:53:13 <_The_Fred> Leeds, some times these things just snowball Jun 27 18:53:36 _The_Fred: kickstarter? I think mainly they don't Jun 27 18:54:06 <_The_Fred> yea, its a matter of chance with kickstarter i think Jun 27 18:54:58 well I know I can finish up my prototype rather quick, and I have *0* doubt I can find funding from there Jun 27 18:55:23 but investors generally want a bit more than credit or a bonus Jun 27 18:55:43 <_The_Fred> and a stout business/marketting plan Jun 27 18:56:32 thats no problem Jun 27 18:56:42 incidentally, presumably the Q *can* run third-party apps in some way, but there was nothing shown, or mentioned in the 4.1 platform summary, right? Jun 27 18:56:49 no Jun 27 18:56:52 they said hacked Jun 27 18:57:03 I am noticing when I new up a few custom AsyncTask's that accepts a Runnable to invoke in the doInBackground it simply doesn't invoke the Runnable at all. Is there some type of clean up I should be doing for the tasks, any other ideas why it simply wouldn't invoke? Jun 27 18:57:09 they say it runs android, but we dont know if that means headless or what Jun 27 18:57:38 leeds, I'm betting you can install services on it Jun 27 18:57:48 incidentally, if anyone at I/O wants to sell their n7... get in touch :) Jun 27 18:57:54 I just want to be able to access my NAS from it Jun 27 18:58:01 And I would be throwing my money at it Jun 27 18:58:02 yeah Jun 27 18:58:44 <_The_Fred> an N7... i wish.. i only upgraded my dev phone ealier this year Jun 27 18:59:04 <_The_Fred> I was running a zte for 2 years :( Jun 27 18:59:05 n7 is a tab Jun 27 18:59:10 I think by the time my current contract runs out, I'll be up for a 4.1 Jun 27 18:59:18 the price wasn't so bad Jun 27 18:59:21 199 without contract Jun 27 18:59:30 shit honestly I dont know if google could do better than that Jun 27 18:59:50 they could Jun 27 18:59:58 they could ship it to the rest of the world not only US :P Jun 27 19:00:20 yup Jun 27 19:00:53 I also wonder just how well Google Now will work outside US Jun 27 19:00:56 (if at all) Jun 27 19:01:18 I like that search is like siri but without the novelty Jun 27 19:01:20 Apples Siri is pretty terrible, especially if you have an accent :P Jun 27 19:01:39 its awesome that voice control works offline Jun 27 19:01:40 <_The_Fred> hmm, i like the idea of proximity based sharing... Jun 27 19:01:42 I like the voice stuff without requiring an active conn Jun 27 19:01:57 I was just working with pocket sphinx yesterday trying to get it to do the same thing and man was that a bitch Jun 27 19:01:58 how can I replace a fragment after the result of a loader? the debug log tells me I can't do it in the onLoadFinished... what should I do then? Jun 27 19:02:13 Knossos, yeah that's pretty nice Jun 27 19:02:57 I think I could use commitAllowingStateLoss(), but I'm not sure about that Jun 27 19:03:04 <_The_Fred> i wish the native android voice recognition would allow caching to a local machine Jun 27 19:03:11 ? Jun 27 19:03:15 what do you mean Jun 27 19:03:18 <_The_Fred> as in on a lan Jun 27 19:03:25 now it needs no network at all Jun 27 19:03:30 hi Jun 27 19:03:40 <_The_Fred> ron_frown, ah - i missed that, Jun 27 19:03:56 _The_Fred: they showed a guy going offline, then dictating Jun 27 19:04:04 <_The_Fred> excellent Jun 27 19:04:14 "offline" Jun 27 19:04:15 and what do I have to say to that? FUCK YOU NUANCE AND YOUR BS SDK Jun 27 19:04:18 ;P Jun 27 19:04:34 and their dictation shit wasnt even offline Jun 27 19:04:39 don't know if there's going to be any way to tie your app into the voice stuff yet, beyond dictation Jun 27 19:05:09 <_The_Fred> speech commanding will be big work Jun 27 19:05:32 incidentally, youtube, chrome, maps and streetview updates are available now Jun 27 19:07:01 and G+ has updated on the web... doesn't seem to be available for devices yet Jun 27 19:07:01 <_The_Fred> heh - just try to get android to recognise the word Ubuntu on a 2.1 or 2.2 device... Jun 27 19:07:15 Has anyone used Kalman filters in playing with Accelerometer data? Jun 27 19:07:40 _The_Fred, try to get Android to recognise geographical names in non-germanic countries Jun 27 19:07:56 got some really wierd looks from people on road while yelling at my phone :P Jun 27 19:07:57 fred, how come you have so many IDs? Jun 27 19:07:59 <_The_Fred> heh- yea, i bet that can old real quick Jun 27 19:08:18 <_The_Fred> robb_www, eh? Jun 27 19:08:30 ive seen you on TheFred, The_Fred, _The_Fred Jun 27 19:08:49 <_The_Fred> oh that - yea i've got to sort my preferences Jun 27 19:09:01 I was wondering if there is a way to record calls on a rooted phone ? Jun 27 19:09:06 ahh alt nicks then, fair enough :) Jun 27 19:09:32 * _The_Fred looks over shoulder for doppleganger Jun 27 19:09:41 well yer, i was wondering Jun 27 19:10:36 so, when will the vzw gn get jelly bean... Jun 27 19:11:14 should setDownloadListener control whatever to do when a file is prompted to be download within a webview? Jun 27 19:11:14 http://developer.android.com/reference/android/webkit/WebView.html#setDownloadListener(android.webkit.DownloadListener) Jun 27 19:11:36 I'd like to not download with the standard downloader, but to handle it separately Jun 27 19:13:12 pfn: are you at i/o ? Jun 27 19:13:19 no, I missed out on tickets this year Jun 27 19:13:29 how much did they cost? Jun 27 19:13:31 could anyone help me with this: http://pastebin.com/0frLfeNy ? thank you Jun 27 19:13:34 $900 Jun 27 19:13:44 okay Jun 27 19:15:44 jb seems pretty minor as update goes. i'm thinking google is throttling back to let oems catch up Jun 27 19:16:08 maybe they should just put out one big release per year Jun 27 19:17:59 <_The_Fred> oooh,rich text keyboard... nice Jun 27 19:19:21 with actionbarsherlock i'd like to use setTitle to set an image instead of text. any ideas on what to try? Jun 27 19:20:33 i was hoping for a new revision of the support library Jun 27 19:21:18 although, i think this bug wrt ViewPager and optionsMenu might be core framework level Jun 27 19:21:31 project butter sounds nice Jun 27 19:21:47 ;) Jun 27 19:22:56 speaking of new hardware... is the retina display mbp in stores yet? Jun 27 19:23:27 i heard that thing gets pretty warm - much warmer than older models Jun 27 19:23:39 i always wait for v2 on big refreshes like that :) Jun 27 19:24:14 I want to see how they are handling the upscaling of pictures which have "normal resolution" Jun 27 19:24:17 they were also having problems with image impronting Jun 27 19:24:21 *imprinting Jun 27 19:24:27 what I really want is to use the full resolution Jun 27 19:24:34 but for those, they just seem to give you a new one Jun 27 19:24:35 not "subpixel" optimizations Jun 27 19:24:55 * funktronic would like a pony Jun 27 19:25:00 because if they are doing it like ipad and iphone does it, it would be pretty awful to surf on the internet Jun 27 19:26:56 can anyone explain what setSpan in Spanable's "start" and "end" parameters mean exactly? Jun 27 19:27:07 "Attach the specified markup object to the range start…end of the text" Jun 27 19:27:24 for example, if i add an image with setSpan, how would it "span" that range of text? Jun 27 19:27:28 the docs on all the Spannable things are … confusing Jun 27 19:27:53 if i want to have images between the text, should i have start and end the same, and choose the int based on the desired position? Jun 27 19:30:25 Nexus Q sounds like fail before it is even out... Jun 27 19:30:55 again, i don't see anything about low latency audio Jun 27 19:31:31 although, there now is audio preprocessing - sounds nice; i wonder if this allows companies like bbe to add effects Jun 27 19:31:46 can I tell a webview to download files where I want and not in default path? Jun 27 19:31:50 something done about audio latency would have been nice Jun 27 19:32:48 i was also interested by this "Starting with Android 4.1, Google Play will help protect application assets by encrypting all paid apps with a device-specific key before they are delivered and stored on a device." Jun 27 19:33:03 <_The_Fred> yeees, so we can now respond to user comments :) Jun 27 19:33:13 but the smart app updates thing makes me kind of nervous, seems like they are pushing out deltas Jun 27 19:33:47 <_The_Fred> g00s, you mean it only applies the difference, instead of downloading the entire app? Jun 27 19:34:16 _The_Fred: at the very bottom under "Smart App Updates" http://developer.android.com/about/versions/jelly-bean.html Jun 27 19:34:30 <_The_Fred> g00s, thanks Jun 27 19:36:07 <_The_Fred> and the emulator work is *very* welcome news Jun 27 19:37:22 _The_Fred: where is news on the emulator work ? Jun 27 19:37:45 i'm pretty scatter this morning getting updates from everywhere :) Jun 27 19:37:51 <_The_Fred> g00s, on https://developers.google.com/events/io/ Jun 27 19:38:08 o can compile android from source code and do minor changes and enhancements to the code. privmsg if you want to discuss further. Jun 27 19:38:08 As it's a nexus, propably MuUSB. Jun 27 19:38:12 err bad paste Jun 27 19:38:27 anyway, anyone interested lemme know. Jun 27 19:39:21 _The_Fred: bummer, when i started looking at this feed it was just some dude walking around with a mike so i stopped Jun 27 19:40:05 <_The_Fred> g00s, they said that the emu is no longer emulating arm, and has native x86 support :) Jun 27 19:40:17 <_The_Fred> with sensor emulation Jun 27 19:40:23 did they say anything about the emu supporting bluetooth ? Jun 27 19:40:24 <_The_Fred> + other upgrades Jun 27 19:40:41 <_The_Fred> oh,i dont recall anythin about bluetooth Jun 27 19:40:47 nope:\ Jun 27 19:40:59 ok; the website said that was coming some time. Jun 27 19:41:25 i hope they fixed bluetooth Jun 27 19:41:35 there are all kinds of issues with the current implementation, which usually require a reboot to fix Jun 27 19:41:39 <_The_Fred> heh, so 1 google using is 64dp... Jun 27 19:41:45 <_The_Fred> *google unit Jun 27 19:42:07 no new icon guidelines ! Jun 27 19:42:09 \o/ Jun 27 19:42:14 <_The_Fred> :) Jun 27 19:42:57 so yeah anyone updated to the new eclipse plugin and SDK? Jun 27 19:43:03 I did and everything is broken Jun 27 19:43:07 not yet Jun 27 19:43:08 I keep getting stackoverflows Jun 27 19:43:20 when I open projects and load in google extra libraries Jun 27 19:43:23 dantheman: :O using the new eclipse ? Jun 27 19:43:34 <_The_Fred> i for one have not yet dared to try to update eclipse... i wait to see on here for when folk stop complaining about it... Jun 27 19:43:51 I use Indigo or whatever its called Jun 27 19:43:53 on OS X Jun 27 19:44:01 uh oh Jun 27 19:44:03 native vim plugin would be awesome Jun 27 19:44:04 yeah Jun 27 19:44:13 vavirta: stfu Jun 27 19:44:24 <_The_Fred> vavirta, rofl Jun 27 19:44:42 so... I imported the library for licensing and I have no idea if it works. I created the project in eclipse, added the library to my app project, and now it's supposed to just... work? How can I test it? On the dev site it says that my email address is already included, however when I tell it I want it to peg me as unlicensed, I can still launch my app from eclipse and use it Jun 27 19:44:43 well, eclipse with vim plugin works also great Jun 27 19:44:45 vavirta: there is an emacs plugin Jun 27 19:45:01 I use vrapper Jun 27 19:45:28 I can't remember which one I'm using, it is installed only to the work laptop Jun 27 19:45:29 ninjai: what are you trying to do? Jun 27 19:45:35 pfn: http://www.macrumors.com/2012/06/27/some-retina-macbook-pro-users-experiencing-display-ghosting/ Jun 27 19:45:53 dantheman, I'm trying to set up licensing since google recommends not to use the built in method anymore Jun 27 19:46:08 yeah read the docs Jun 27 19:46:11 dantheman, so essentially im trying to say my phone is not authorized Jun 27 19:46:13 there is a sample app I think Jun 27 19:46:18 dantheman, I have them open right now Jun 27 19:46:32 I did it a while back for the expansion shit Jun 27 19:46:48 and actually that is the library that is causing my shit to fail when I open my IDE Jun 27 19:50:01 heh, disable notifications per package :D Jun 27 19:50:12 :) Jun 27 19:50:54 so, how did foursquare get access to this stuff before we did ? Jun 27 19:50:58 <_The_Fred> hmm, i do think that google are making some of the UI interactions too complicated for users - this cool notification work is ideal for us dev's,but... Jun 27 19:51:11 g00s: big enough? Jun 27 19:51:24 g00s: cause the OG foursquare android app was a google 20% project Jun 27 19:51:31 :P Jun 27 19:51:43 og ? Jun 27 19:51:49 OG nigga Jun 27 19:52:20 original gangsta Jun 27 19:52:23 come on now Jun 27 19:52:30 oh :) Jun 27 19:52:37 nerd Jun 27 19:54:13 having to reinstall everything Jun 27 19:54:35 warning DO NOT UPDATE YOUR ECLIPSE PLUGIN OR UPDATE YOUR SDK YET Jun 27 19:54:49 even thought they released the NDK plugin Jun 27 19:55:13 <_The_Fred> g00s, media codecs at 4pm Jun 27 19:55:38 fireside chat Jun 27 19:56:25 heh wut Jun 27 19:56:32 <_The_Fred> indeedy :) Jun 27 19:56:45 <_The_Fred> thats one sound tech for the hop Jun 27 19:57:56 OK, dumb question Jun 27 19:57:56 http://privatepaste.com/07b740ea92 Jun 27 19:58:10 I'm getting a stacktrace from window manager about leaking a window when I rotate my activity Jun 27 19:58:19 what gives? I thought that showDialog was supposed to manage the dialog for me, right? Jun 27 19:58:33 <_The_Fred> yay - support libs have had some polish it seems Jun 27 19:58:50 I just woke up... did I miss anything interesting? Jun 27 19:58:59 lov are you restarting your activity when you are changing orientations Jun 27 19:59:07 Drakonite: didn't see anything about low latency audio :) Jun 27 19:59:10 <_The_Fred> Drakonite, https://developers.google.com/events/io/ Jun 27 19:59:39 Drakonite: i think the parachutes were nice Jun 27 19:59:49 yeh Jun 27 19:59:52 parachutes? Jun 27 20:00:06 <_The_Fred> they where skydiving earlier Jun 27 20:00:07 Drakonite: o right, you missed it :D Jun 27 20:00:12 Drakonite: yes, we're kicking you out of the plane Jun 27 20:00:13 <_The_Fred> lucky gits :) Jun 27 20:00:14 3 Jun 27 20:00:15 2 Jun 27 20:00:16 1 Jun 27 20:00:18 fly ! Jun 27 20:00:23 <_The_Fred> hahha Jun 27 20:00:24 (OT) r0ver: did I miss something too and they announced anything about Glass display? Jun 27 20:01:06 hah, somebody asked about better action bar support again, love it Jun 27 20:01:09 Utopiah: same impression here, it was very subtle and they didn't show anything afaik Jun 27 20:01:10 bwhaha Jun 27 20:02:16 dantheman: yes. I found this, however, which solves my problem: http://stackoverflow.com/questions/9059116/activity-has-leaked-window-dialog-this-again Jun 27 20:02:31 (short version: dismiss the dialog in onPause, restore it in onResume) Jun 27 20:03:10 oh oh, Romain was censored ! Jun 27 20:03:37 <_The_Fred> heh - what was that question he was trying to answer? Jun 27 20:04:30 ? Jun 27 20:05:28 <_The_Fred> really .... usb audio... noted! Jun 27 20:06:09 what's the name of the french accent guy ? Jun 27 20:06:14 <_The_Fred> chris Jun 27 20:06:38 do you remember the lastname ? Jun 27 20:06:42 <_The_Fred> no Jun 27 20:07:05 <_The_Fred> there should be notes about the speakers tho Jun 27 20:11:22 la la la la la Jun 27 20:11:45 oh hello ctate Jun 27 20:12:04 g00s: "oh oh, Romain was censored !" Jun 27 20:12:07 context? Jun 27 20:12:15 ctate: the mike went beep Jun 27 20:12:28 oh heh Jun 27 20:12:40 "Apps can query the system to discover what low-level media codecs are available on the device...". I wish this had been in Android 1.0 Jun 27 20:12:46 he was just channelling jimi hendrix Jun 27 20:12:55 bubbleguuum: yeah uh, thanks PV. Jun 27 20:13:00 <_The_Fred> aha - and they just added Events to Google+ Jun 27 20:13:03 Rest In Pieces Jun 27 20:15:04 <_The_Fred> well, my 'whiner of the day' has been resolved: a user told me my app was stupid, but he seemed to go away when i told him "Its not stupid, its advanced" Jun 27 20:16:00 would have loved to see the ability for an app to capture audio. Pipe dream Jun 27 20:16:44 <_The_Fred> eh? just use media recorder.... Jun 27 20:17:09 Does anyone else own the Zoom H2n? Jun 27 20:17:16 I bought it today and it is pretty cooll Jun 27 20:17:39 I wonder if I can use it to record on my phone Jun 27 20:17:40 <_The_Fred> bubbleguuum, on google io they were saying that JB will support audio over USB Jun 27 20:17:55 luyang: nope. android doesn't support audio devices via usb Jun 27 20:18:00 Does Google USB host api thingy allow me to connect virtually anything to my phone Jun 27 20:18:01 oh Jun 27 20:18:04 that's a shame Jun 27 20:18:10 oh. maybe in JB. I missed that feature :) Jun 27 20:18:20 I thought that USB host thing would do that Jun 27 20:18:30 <_The_Fred> yea, i wished there was a support lib for that... Jun 27 20:18:34 s/do that/make that possible/ Jun 27 20:18:50 <_The_Fred> the support lib... nope Jun 27 20:18:57 <_The_Fred> i wish, but no Jun 27 20:18:58 the usb host apis don't support isochronous endpoints Jun 27 20:19:03 (which audio devices use) Jun 27 20:19:07 isochronous? Jun 27 20:19:13 asynchronous? Jun 27 20:19:17 luyang: I'm talking about capturing music (not the mic), dor example from the Spotify app or any other app outputing music Jun 27 20:19:29 ok 0:) Jun 27 20:19:29 (http://en.wikipedia.org/wiki/Isochronous) Jun 27 20:19:32 how did they call the tool that will replace ddms? Jun 27 20:19:33 no. isochronous Jun 27 20:20:32 "MediaPlayer supports chaining audio streams together to play audio files without pauses". Does that means that MediaPlayer can finally play music gaplessly ? Jun 27 20:21:11 JesusFreke: sure there are no nonisochronous mics? Jun 27 20:21:34 luyang: it has nothing to do with the mic. It's part of the usb specification for audio devices Jun 27 20:22:52 I wonder why Android doesn't support that iso thing Jun 27 20:23:09 because it's much more complicated than the other endpoint types Jun 27 20:23:25 aha ok Jun 27 20:24:49 ctate: i didn't see anything about Bluetooth 4 Low Power support in Android. i think this is a big sin of omission; basically you guys are ceding the entire market for all things in this ecosystem like wearable sensors to WP and iOS. am i over reacting ? Jun 27 20:25:43 g00s: does it need userland support? Jun 27 20:25:56 i think it needs bluez support and framework support Jun 27 20:26:00 g00s: knowing you, yes, you probably are overreacting, but it may still be a valid point :P Jun 27 20:26:32 Drakonite: :) :P Jun 27 20:26:37 <_The_Fred> any one know how long they reak for lunch on G IO? Jun 27 20:27:14 depends on what they're having. if there are any beans, they'll be reaking for the rest of the day Jun 27 20:27:33 haha Jun 27 20:27:43 <_The_Fred> yea yea yea, i too curse this warn out kebord Jun 27 20:27:43 hopefully the mikes have fart cancellation Jun 27 20:28:07 <_The_Fred> g00s, there's a concept Jun 27 20:28:09 <_The_Fred> lol Jun 27 20:30:11 i'm glad they came out with the Nexus 7 though; i've been saying for years Google should have a nexus touch :) glad they finally listened to me ;) Jun 27 20:30:23 (for low price , reference device ) Jun 27 20:31:25 I wonder who will buy them except for developers... Jun 27 20:31:33 that Nexus 7 looks like great value for money Jun 27 20:32:09 for developping, 7" is not the miost common of sizes Jun 27 20:32:43 well, this could also be competing with the kindle fire Jun 27 20:32:58 they are branding this as a google play media consumption device Jun 27 20:33:54 not sure random joe is a hardcore google play media consumer... Jun 27 20:39:04 bubbleguuum: maybe it will be now? :) Jun 27 20:39:15 if I kill a Service's thread by PID from the adb shell, will the onDestroy() callback be called? Jun 27 20:39:27 in my (possibly biased) opinion, the 7" form factor is waaaaaaay better than the 10" Jun 27 20:39:53 i'm actually waiting for 12 or 13" for ereaders Jun 27 20:40:04 maybe i can put two n7s together :P Jun 27 20:40:07 ha ha ha Jun 27 20:40:22 10" is too big and heavy to handle smoothly Jun 27 20:40:26 hey, i'm losing my sight so i need big words :) Jun 27 20:40:26 * _The_Fred hands g00s the superglue Jun 27 20:40:27 duct tape! Jun 27 20:40:30 12" ... buy a monitor? Jun 27 20:41:29 hmm, did the audio just cut on the android track ? Jun 27 20:42:28 If anyone could provide some input on this question, I'd appreciate it: http://stackoverflow.com/q/11234375/354247 Jun 27 20:45:36 i cant import com.android.vending.licensing.ResponseData, eclipse says it's not visible, but I can navigate to it within "Android dependencies" within my project. How can I fix this? Jun 27 20:46:59 refresh your project, clean and rebuild? Jun 27 20:47:31 lov, it only happens when i add the unimplemented methods Jun 27 20:48:01 and i tired clean/refresh :( Jun 27 20:48:10 2/3 revenue from play come outside the us Jun 27 20:48:23 favorite JB feature: longpress on a notification Jun 27 20:48:27 tells you which app posted it Jun 27 20:48:45 with a link to its 'manage app' page in Settings Jun 27 20:50:21 ^^ yes. Jun 27 20:50:39 ctate: is there more than just an "App Info" link? or is that what you're talking about? Jun 27 20:53:29 hi y'all, i'm having a weird issue with an AudioTrack object. my app records some audio, then plays it back. about half the time, playback works fine, and the rest of the time, i get silence, without any apparent difference in conditions (my log break points are all hit, etc). i've tried a few different configurations, both with MODE_STREAM and MODE_STATIC properly set up (i believe), and this still happens randomly. does anyone know of any common cause t Jun 27 20:54:24 $^$* Jun 27 20:54:28 eclipse is a POS Jun 27 20:54:29 MDWRIGHT: the important thing is that it tells you *at all*; cf Airpush and similar Jun 27 20:54:34 What's the point of the new isolated services in 4.1? Jun 27 20:54:42 "isolated services"? Jun 27 20:54:47 reporting live from WWDC Jun 27 20:55:17 oh oh oh that Jun 27 20:55:31 security, dude Jun 27 20:55:47 ctate: oh, I agree :) Jun 27 20:55:58 oh i guess Jun 27 20:56:04 anyone know how to use systrace? Jun 27 20:56:28 can it be used with devices running < 4.1 Jun 27 20:56:29 ? Jun 27 20:56:42 romainguy: You here? Do you by any chance know when you guys will be pushing 4.1 OTA to european phones? I got an yakju Jun 27 20:57:09 <_The_Fred> jac0bz1, i reckon he's having lunch Jun 27 20:58:02 I'm having supper :P Jun 27 20:59:04 can anyone tell my why the hell eclipse is saying this isn't visible? http://i.imgur.com/66Iq2.png Jun 27 20:59:56 the existence of a class file does not indicate anything about the class' Java visibility Jun 27 20:59:58 I want to detect the location in my app (just in one very rare case) if I request permission for uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" and uses-permission android:name="android.permission.ACCESS_FINE_LOCATION my app won't show in google play for devices that don't have a GPS unit. Thus I configured uses-feature for location with required "false". In this way my app will reach far more users. Jun 27 20:59:59 But what will happen if on a non GPS device I use the LocationManager or the GeoCoder class? Will the app crash? Do I also have to do a feature detection there? Jun 27 21:00:15 perhaps its package scoped Jun 27 21:00:17 *it's Jun 27 21:00:56 == JakeWharton Jun 27 21:01:01 it's package-private Jun 27 21:01:03 JakeWharton, but ...licensing.Policy is in the same package and is totally visible. Jun 27 21:01:07 http://code.google.com/p/marketlicensing/source/browse/library/src/com/android/vending/licensing/ResponseData.java?r=9cd599d6902d8b9b8311e4ef8dd20dcccb5e7aba Jun 27 21:01:30 oh :S Jun 27 21:01:32 try import com.android.vending.licensing.ResponseData; Jun 27 21:01:51 did you look at the screenshot sebastiandeutsch? That's where I got the error Jun 27 21:01:56 16:49:16 <@ctate> favorite JB feature: longpress on a notification Jun 27 21:02:02 I think you just gave me a minichub Jun 27 21:02:20 Overshare. Jun 27 21:02:35 do i need eclipse to use the new systrace? Jun 27 21:02:42 luxurymode: no Jun 27 21:02:58 systrace is only for JB, right ? Jun 27 21:03:00 MDWRIGHT, any idea how to run it? Jun 27 21:03:02 does anyone here work for google? Jun 27 21:03:24 <_The_Fred> not me Jun 27 21:03:26 I'm like seriously pissed off with the release of the new SDK and Extras/Addons this morning Jun 27 21:03:28 systrace is just a python script that generates html Jun 27 21:03:31 it is all FUCKED Jun 27 21:03:43 ninjai: oh I see Jun 27 21:03:48 ctate: overwhelmed Jun 27 21:04:52 MDWRIGHT, and does this script take args or some input? Jun 27 21:05:01 luxurymode: yes, try running python systrace.py --help Jun 27 21:05:05 to see arguments, flags, etc. Jun 27 21:05:17 Note you need root access on your device Jun 27 21:05:24 MDWRIGHT, damn Jun 27 21:06:21 luxurymode: Actually, it appears that not all of the traces require root Jun 27 21:06:29 ah i see you do python systrace.py -t N where N is number of seconds Jun 27 21:07:06 hmm got oserror OSError: [Errno 2] No such file or directory line 122 in script Jun 27 21:08:05 Hi, Is there a place I can go to download just the android debug bridge and fastboot with out installing the entire sdk for linux all I wish to do is flash clockwork mod on my pantech crossover which all it requires for this is the adb and fastboot files and I am on debian linux which does not supply the java jdk? Jun 27 21:08:17 How come the webbrowser in Android 4.0.4 (Galaxy Nexus) cannot view the html5 video which Google IO broadcasts in? Jun 27 21:09:21 nickgaw: A) use some punctuation. B) #android-root C) the sdk is really just an installer wrapper for various components, it's not a big deal. D) just download oracle java. Jun 27 21:09:21 luxurymode: you need zlib installed Jun 27 21:09:28 oh Jun 27 21:09:37 that a platform tool or some c tool? Jun 27 21:09:56 it's a library. what platform are you on? Jun 27 21:10:10 can that be installed with out X windows? Jun 27 21:10:11 mac os x Jun 27 21:10:19 tried brew install zlib Jun 27 21:10:21 no such luck Jun 27 21:10:31 nickgaw: yes. Jun 27 21:10:45 nickgaw: seriously, go to #android-root or xda-devs, they'll just give you the damn binaries Jun 27 21:10:56 zlib.net says "zlib for Mac OS X: zlib is already included as part of Mac OS X" Jun 27 21:12:30 heres the error i get: http://cl.ly/3I2O2A450a2L102D2D3c Jun 27 21:13:53 haha, elly is asking if anyone here has a thousand apps Jun 27 21:14:29 i know there are people with > 300 apps Jun 27 21:14:35 doubtful if anybody has hit 1000 Jun 27 21:14:59 pre-ICS (and possibly even pre-JB) there are some system level issues that pretty much break down with that many packages Jun 27 21:15:01 ctate: in the new dev console, you should be able to read other reviews by a reviewer Jun 27 21:15:02 <_Auron_> if anyone has 1000 apps they're probably worthless Jun 27 21:15:25 g00s: to get a feel for whether they're a troll / sockpuppet / whatever? interesting idea! Jun 27 21:15:31 so the name of the reviewer should be a link to what else they have reviewed Jun 27 21:15:35 yes Jun 27 21:15:44 amazon has this also Jun 27 21:15:45 i shall pass that along forthwith Jun 27 21:16:25 luxurymode: oh, line 121 not 122. that changes things :) Do you have adb on your path? Jun 27 21:16:35 hmm i thought so Jun 27 21:16:43 lemme check my bash_profile Jun 27 21:16:58 just run adb Jun 27 21:17:16 you'll either get a command not found, or some help output Jun 27 21:17:23 (or you can run which adb, or...) Jun 27 21:19:51 i think i aliased adb to actually run the full path Jun 27 21:19:54 so thats not helpful ;) Jun 27 21:21:42 hello Jun 27 21:22:20 still not working Jun 27 21:22:25 thanks MDWRIGHT Jun 27 21:22:29 not sure why adding adb didnt help Jun 27 21:24:36 luxurymode: still not working? Jun 27 21:26:45 nope Jun 27 21:28:44 have you tried putting adb on your path? not just an alias (that might break the subprocess call) Jun 27 21:30:49 Gumboot: ping? Jun 27 21:31:24 hiya, i created an android app with maven, it builds an .apk, but when i import it in eclipse eclipse doesnt give me 'run as android app' and all that Jun 27 21:31:38 I am on the jdk downloads page but every page I go to with the lynx browser as I am totally blind and gnome 3 has not a lot of accessibility in it is there a direct link to where to download the latest version of the jdk for linux? Jun 27 21:32:38 MDWRIGHT yeah ive added the entire tools directory to my path Jun 27 21:33:03 luxurymode: and you get the same error? Jun 27 21:33:18 nickgaw: do you want 64 or 32 bits? Jun 27 21:33:30 32 bit Jun 27 21:33:36 MDWRIGHT, yup Jun 27 21:33:44 something must be wrong with my bashprofile Jun 27 21:34:12 http://download.oracle.com/otn-pub/java/jdk/7u5-b05/jdk-7u5-linux-i586.tar.gz Jun 27 21:34:29 i'm not sure it wil work, because maybe it set cookies in my browser Jun 27 21:34:45 luxurymode: did you unalias adb? it might be breaking on that for some reason Jun 27 21:34:53 so it never actually looks for the binary in your path Jun 27 21:35:23 yeah did that Jun 27 21:35:27 still no good Jun 27 21:35:31 actually i need to source it Jun 27 21:35:32 sec Jun 27 21:35:47 still same error Jun 27 21:36:16 maybe python itself needs to be added? Jun 27 21:37:29 can you run `python systrace.py 2>&1 > systrace.log` from the systrace directory and paste it somewhere? Jun 27 21:37:38 nickgaw: http://www.coreshine.nl/tmp/jdk-7u5-linux-i586.tar.gz Jun 27 21:38:51 MDWRIGHT, this is what my admittedly messy bash_profile looks like right now: https://gist.github.com/3007026 Jun 27 21:39:31 the systrace.log printed nothing Jun 27 21:39:40 Having troubles installing jelly bean, anyone else seeing the same thing? Jun 27 21:39:41 luxurymode: add platform-tools to you path as well Jun 27 21:40:00 ok thanks got it used wget and it downloaded fine now as root what are the basic steps for installing it either system wide or in the android sdk tree? Jun 27 21:40:03 luxurymode: there's nothing in systrace.log? Jun 27 21:41:07 MDWRIGHT, that worked Jun 27 21:41:12 needed platform tools Jun 27 21:41:14 thanks so much Jun 27 21:41:18 really appreciate your help Jun 27 21:41:19 luxurymode: sure thing :) Jun 27 21:41:36 Am I missing something here? http://i.imgur.com/AYNfc.png Jun 27 21:42:11 nickgaw: tar xfz jdk-7u5-linux-i586.tar.gz ; cd jdk1.7.0_05/bin ; ./javac Jun 27 21:42:46 so basically extract it verbatim where you want it, but the bin folder in the $PATH Jun 27 21:42:47 JoeTheGuest: have you tried installing the SDK Platform under 4.1 Jun 27 21:43:03 I have 1.5 > installed MDWRIGHT Jun 27 21:43:17 Basically everything except the stupid moto/intel libs they all push out. Jun 27 21:43:37 JoeTheGuest: try doing a Packages > Reload Jun 27 21:43:40 (top menu bar) Jun 27 21:43:51 see if more stuff shows up under Android 4.1 Jun 27 21:44:08 That got it. Jun 27 21:44:11 Thanks MDWRIGHT Jun 27 21:44:18 Sure thing :) Jun 27 21:44:19 They must be under load or something. Jun 27 21:44:37 Every android developer grabbing the SDK at once :) Jun 27 21:45:38 from 4.1 API - FEATURE_TELEVISION ... that's kinda cool :) Jun 27 21:46:49 anyone try eclipse 4.2 / adt 20 on mac yet :) Jun 27 21:46:56 waiting for someone to be a canary XD Jun 27 21:47:06 strange I thought it worked but they make the gz file an html file that says I did not accept the license where is the page that you go to to accept the license and possibley I can do that in lynx? Jun 27 21:47:45 nickgaw: i could extract the .tar.gz with tar... that should work Jun 27 21:48:22 it doesnt extract? Jun 27 21:48:34 yes but tar complained it was not a valid tar archive so I used file and file told me the gz file was an html file. Jun 27 21:49:57 ehh weird Jun 27 21:50:26 i'll doublecheck my tarball on my site, see if it's what i think it is, a moment Jun 27 21:51:33 ok it is indeed the tarball i have you at http://www.coreshine.nl/tmp/jdk-7u5-linux-i586.tar.gz Jun 27 21:52:10 remove the old html cruft thats just oracle being a problem Jun 27 21:52:38 as usual ^.^ Jun 27 21:53:46 so I'm writing a service that should just start and stop, but at the same time, the service is bound to provide status updates between the service and an activity. How can I intercept the call to stop the service, and actually stop the service? It'll still be bound when stopped, so ondestroy doesn't get called. Jun 27 21:54:30 start/stop and bind/unbind are orthogonal Jun 27 21:55:42 can I "turn back" from a fragment to another? I move through new fragments using getFragmentManager().beginTransaction().replace(id, fragment, tag) Jun 27 21:56:01 but when I do getFragmentManager().popBackStack("TAG", 0); nothing happens Jun 27 21:56:11 not even a log Jun 27 21:56:13 ctate, that's beside the point. The service is started, then separately bound and unbound numerous times as the activity comes and goes. While the activity is running, the stop button is pressed, and a call to stop the service occurs, but the service is unaware of it, because there is no current onStop() method defined. Jun 27 21:56:45 as in there doesn't seem to be an interface defined for onStop() in the service class. Jun 27 21:56:51 elegos stupid question.. what is the contents of tag object Jun 27 21:56:54 and documentation agrees with me. Jun 27 21:57:07 ron_frown: it's a string Jun 27 21:57:08 So the question is, what's the proper way to know when a service has been requested to stop ? Jun 27 21:57:19 while it's otherwise bound. Jun 27 21:58:18 the wget says error 404 file not found. is the file readible by the web server? Jun 27 21:58:41 oh?, i'll wget it to my local and test Jun 27 21:59:02 could you not /dcc me the file? Jun 27 21:59:18 ohh Jun 27 21:59:20 i'm sorry Jun 27 21:59:22 wget http://www.coreshine.nl/temp/jdk-7u5-linux-i586.tar.gz Jun 27 21:59:36 its /temp/ instead of /tmp/ my bad ^.^ Jun 27 22:00:39 aarcane: the typical pattern is that the service runs until it's finished, at which point it calls stopSelf() Jun 27 22:00:40 ok it is downloading now and this time I know it is the real thing as it is taking longer then a second. Jun 27 22:00:40 or Jun 27 22:00:51 once it's stopped the OS tears it down Jun 27 22:01:01 hehe yes:) Jun 27 22:02:05 im confused on how license checker works. in onCreate on my main activity, I create my inner class object which implements LicenseCheckerCallback + methods. In allow() and dontAllow() I have log messages that never seem to print Jun 27 22:02:12 (with onDestroy()) Jun 27 22:02:47 ok it is now extracting so you can remove the file from your web server now. Jun 27 22:02:54 ctate, I've got a service designed to run for forever, or until stopped. it's a true daemonized service. Jun 27 22:03:05 then you just let it run forever, amen. Jun 27 22:03:13 ok Jun 27 22:03:39 ctait don't you work for google? Jun 27 22:03:43 i do, yes Jun 27 22:04:38 cool :) Jun 27 22:04:59 are you aware of the new android braille devices that are going to be released where google says they won't let users have google play on them because google feels that not apps will be usable to users? why not have some policies requiring accessibility or tests for this? Jun 27 22:05:29 even if i were aware i couldn't talk about unannounced products Jun 27 22:06:26 well my main point is why be so restrictive on what devices can use google market or play now just because it uses braille and not a normal screen? Jun 27 22:07:10 i'm pretty sure most developers don't do anything about accessibility, i know i know nothing about it Jun 27 22:07:13 ctate, as I said, it's supposed to run forever, or until stopped. I've got the run forever working. It's the stopping it that's the problem. Jun 27 22:08:29 well basically it means labeling all buttons and controls with text labels not just images so a screen reader will be able to read them instead of just saying "button" Jun 27 22:08:49 aarcane: i don't yet have a good idea of what's causing trouble for you. onDestroy() is the stated place to tear down the service's internal state etc. that will be called once all the bindings and the start state have been lifted Jun 27 22:09:07 you're saying there's some ongoing state that needs to be torn down when it's stopped but not yet unbound? why is that? Jun 27 22:09:36 ok the jdk finished extracting now how do I install it system wide? Jun 27 22:10:21 ctate, The design of the system is that it is bound to monitor progress and status in a frontend activity, which can start and stop it at will. The activity binds to the service in unknown state, and presents the user with a start or stop button. Jun 27 22:10:59 starting the service works perfectly, but stopping fails, because there's no onStop method defined. The interface activity is still bound to the service monitoring it's progress as it attempts to stop. Jun 27 22:11:55 nickgaw: mv jdk1.7.0_05 jdk ; sudo mv jdk /usr/local Jun 27 22:11:58 why is the activity still bound to it? Jun 27 22:12:13 i like to use /usr/local for it, its more freebsd ish Jun 27 22:12:27 this actually sounds to me like using the start/stop *lifecycle* is not appropriate for you Jun 27 22:12:43 that what you really want is for it to be started [from the lifecycle perspective] forever Jun 27 22:12:46 ctate, the activity is supposed to monitor it. Among other things, whether it's been started or stopped, and what it's doing at the time. Jun 27 22:12:56 nickgaw: and then in your profile or something add: export PATH=$PATH:/usr/local/jdk/bin Jun 27 22:13:01 then it has some internal notion of "operating" vs "not operating" Jun 27 22:13:12 which is what the activity's start/stop buttons control Jun 27 22:13:24 presumably via the defined binder API Jun 27 22:13:58 ctate, I've considered that. It seems silly to reinvent a wheel that should be invented already. Jun 27 22:14:11 what am I supposed to do about the "deviceId" in license checking? Use Secure.ANDROID_ID? Jun 27 22:14:50 aarcane: i think it's more that the lifecycle start/stop model is not actually a wheel, for your purposes, despite the similarity of naming. Jun 27 22:15:43 ctate, perhaps. Jun 27 22:16:59 if onStart does nothing but setup some internal state, and not actually start the service, will multiple calls to onStart cause problems, or will simply calling the stop interface cause the service to actually stop regardless of how many starts it has ? Jun 27 22:18:23 the activity manager knows about the lifecycle start/stop state Jun 27 22:18:26 ok it worked and android sdk is downloading the tools. Jun 27 22:18:32 multiple calls to onStart() don't matter Jun 27 22:19:02 lack of nesting is documented at http://developer.android.com/reference/android/app/Service.html#ServiceLifecycle Jun 27 22:20:21 yay:) Jun 27 22:20:47 Why do users occasionaly send support emails in their own language (not english)... Jun 27 22:21:54 how can I attach a detached fragment? transaction.detach() returns a BackStackRecord, not a Fragment... Jun 27 22:23:45 nickgaw: you can always IM me with other questions or downloads. i'm heading off to bed Jun 27 22:23:54 quick question Jun 27 22:23:58 ok thanks Jun 27 22:24:07 what is picture viewer object called? Jun 27 22:24:18 I just want to show picture on some control Jun 27 22:25:06 ltrs Jun 27 22:26:21 Thank you ctate . I think I'll try to handle it through the bind interface. You've made some good points, and I apprecaite the wisdom and experience of someone more experienced than I :) Jun 27 22:29:42 aarcane: feel free to ask more questions :) Jun 27 22:31:39 oh my Jun 27 22:32:19 if you were to swap 512mb of ram for 1gb, would that require the entire source to be rebuilt? its a hypothetical. i realize that you cannot just change ram on typical mobile hardware. Jun 27 22:34:45 evening, I'm currently struggeling to get android sherlock bar to work in eclipse Jun 27 22:35:28 even though I've installed added the support libraries as stated in the video tutorial I still get errors Jun 27 22:36:01 feeling like a retard because I cannot follow a 10 minute step by step video, but I have no idea what I'm doing wron Jun 27 22:37:03 is there a typical rookie mistake I may oversee? Jun 27 22:44:31 ctate: do you know if they plan on fixing the scrolling issues between the content and left navigation bar on d.android.com ? Jun 27 22:50:57 i do not know Jun 27 22:51:27 what's the issue? that when you hit the top of left-side content it starts scrolling the body text, etc? Jun 27 22:53:08 ok, things just started behaving a little different within the last few hours Jun 27 22:53:35 i like the way google reader works; scrolling is restricted to either the left pane or the content Jun 27 22:53:44 when you reach the end of one it doesn't start scrolling the other Jun 27 22:53:57 yeah Jun 27 22:54:14 the problems with multiple same-axis scrollers in web browsers are well known Jun 27 22:54:59 is the interface on Nexus 7 the new tablet interface or is it a modified phone interface? Jun 27 22:55:27 those aren't really meaningful terms, IMO Jun 27 22:55:46 but for example, GMail shows a multi-pane UI in landscape mode on the N7 Jun 27 22:56:19 I mean, is the combined status bar (with soft buttons) gone for good? Jun 27 22:56:21 and a multi-pane inbox view in portrait Jun 27 22:56:42 ah, gotcha. the n7 has separate status & nav bars Jun 27 22:57:00 JB on a Xoom has a combined bar, i believe Jun 27 22:57:05 interesting Jun 27 22:57:09 I have a rather odd question regarding a function I need in my little app. I need to be able to set a mode (through the menu, which I already have) that will make everything that's in the app totally black (i.e. hiding it from anybody who sees the phone). The purpose of the app is to register every touch on the screen and then count them, but I do not want anybody so see that I am actually using the phone for anything. Jun 27 22:57:17 Is it possible to add a black overlay like that? Jun 27 22:57:22 Pretty hard to google it :o Jun 27 22:57:40 I also need to be able to go back to "visible" mode again, back and forth. Jun 27 22:57:47 I think that would be possible Jun 27 22:57:54 It still needs to register my touches of course. Jun 27 22:57:55 Afzal: why do you ask? Jun 27 22:58:10 ctate just curious Jun 27 22:58:20 I need to get OnPreviewFrame images to be rotated to portrait orientation. They aren't doing that despite me using camera.setParameters w/ cameraParameters.setRotation(90) and camera.setDisplayOrientation(90) and android:screenOrientation="portrait" in AndroidManifest.xml. Can someone please help? Jun 27 22:58:34 my feature in the browser didn't get through :( (close other tabs) Jun 27 23:01:20 HMM Jun 27 23:01:24 imageView = new ImageView(mContext); Jun 27 23:01:24 layout.addView(imageView, params); Jun 27 23:01:35 why does imageview not show up? Jun 27 23:02:25 the dialog has title, text and 3 seekbars Jun 27 23:02:44 blank picture should show between text and 3 seekbars Jun 27 23:03:37 why not define in xml? Jun 27 23:05:04 its a settings part Jun 27 23:05:12 oh look it works now Jun 27 23:05:34 guess I had to set minium size Jun 27 23:05:42 I guess it was 0 size before lol Jun 27 23:16:23 Hi, I'm calling .measure() on a LinearLayout, and then .getMeasuredHeight(), witch return 140. But the screen is not updated, it appers to have 10. I don't have any idea what this could be =/ Jun 27 23:18:07 requestlayout prior to measure? Jun 27 23:20:45 ron_frown, I'm gonna try it Jun 27 23:22:08 ron_frown, no difference =/ Jun 27 23:22:25 A dumb question, I want to start developing Android applications (I've background in programing, just not too much in Java) and I wonder what Android version should I target, my phone is 2.3 currently... I guess I always need to target the lastest one ? Or every one I want to be supported ? How does that work ? Jun 27 23:22:27 what lifecycle event are you trying to call measuring etf Jun 27 23:22:37 2.3 is a safe target I'd say Jun 27 23:23:13 but what if I want applications to have an ICS look ? It's not related to that ? Jun 27 23:23:16 ron_frown, i'm using 2.2 Jun 27 23:23:18 there are still a lot of 2.2s Jun 27 23:23:26 like, 10-20% of android is still 2.2 Jun 27 23:23:41 there are some monster bugs in android core in 2.3 Jun 27 23:23:44 there's even like 4% on 2.1 (the poor fools) Jun 27 23:23:57 2.3, 2.3.1 Jun 27 23:24:11 I guess it depends on what the app is too Jun 27 23:24:20 and what resources can you suggest ? Jun 27 23:24:22 well yeah Jun 27 23:24:26 some apps do 4.0 Jun 27 23:24:33 like if you're doing something premium or whatever Jun 27 23:24:39 the good thing is you can use support library and take advantage of a lot of the new features Jun 27 23:25:03 well you can set target to 18, and minsdk to 8 Jun 27 23:25:39 ron_frown, it's a LinearLayout that i use to add views at runtime. I call .measure() after adding all itens Jun 27 23:25:53 btw, can I develop with openjdk or do I need Sun's JDK ? Jun 27 23:26:00 well I do that without any fail Jun 27 23:27:48 ron_frown, me too... but in this case it won't work =/ Jun 27 23:28:13 i'm calling measure with the return of makeMeasureSpec(LayoutParams.WRAP_CONTENT, MeasureSpec.EXACTLY) Jun 27 23:28:34 dunno man =) Jun 27 23:29:14 what blows my brain is that getMeasuredHeight return the correct value, it only doesn't display correctly =/ Jun 27 23:32:13 ron_frown, thanks for the time Jun 27 23:58:04 well I dont get it lol Jun 27 23:58:16 I have setting dialog that initially correctly reads valyue Jun 27 23:58:19 *value Jun 27 23:58:34 then it doesnt anymore. im not sure where it writes value. Jun 27 23:59:10 HMM Jun 27 23:59:18 if (shouldPersist()) Jun 27 23:59:19 persistInt(value); Jun 27 23:59:22 is that it? Jun 28 00:00:37 hi Jun 28 00:01:01 yep that was it Jun 28 00:01:03 hey Jun 28 00:05:46 the marketing 101 thing class was pretty good ! Jun 28 00:06:09 If a person makes an app that may help Android (script) developers on Windows, is it OK to email android-scripting@googlegroups.com to inform them? If not, what is a good place? Jun 28 00:06:31 g00s: \o/ Jun 28 00:06:58 i'll probably have to watch it again, i thought it was pretty dense Jun 28 00:07:19 makes sense Jun 28 00:07:29 every marketing person I've ever met was pretty dense. Jun 28 00:07:39 information dense :| Jun 28 00:07:48 in this era of youtube, much better to provide too much packed knowledge than too little Jun 28 00:09:42 is anyone here in the group android-scripting@googlegroups.com ? Jun 28 00:12:09 is that http://code.google.com/p/android-scripting/ ? Jun 28 00:12:46 I been reading they're multiple ways to open a file(I made, i put it in raw). Which one should I use? I want want that can be converted to string like Scanner. Jun 28 00:13:04 Yes AaronMT Jun 28 00:13:15 Austrie: "put in raw" meaning that it's packaged as a raw asset? Jun 28 00:13:30 yeah Jun 28 00:13:36 res/raw folder Jun 28 00:13:58 ctate, why not at io? Jun 28 00:15:05 Maybe AaronMT has join / quit problems (Max SendQ exceeded). Anyone else in android-scripting@googlegroups.com ? Jun 28 00:15:28 Austrie: for raw/ stuff you use the Asset Manager Jun 28 00:15:34 http://developer.android.com/reference/android/content/res/AssetManager.html Jun 28 00:15:35 argh my preferences changes wheater I click ok or cancel, or back button Jun 28 00:16:00 Jug6ernaut: i'm not presenting, and i typically carpool with a nongoogler so sorting all that out would have been pretty intrusive Jun 28 00:16:02 is there dialog dismiss function I can override and handle if save settings or not? Jun 28 00:16:04 and assestmanager can be converted to string right? Jun 28 00:16:07 plus SOMEONE has to be back at the mothership :) Jun 28 00:16:27 lol fair enough Jun 28 00:16:28 Austrie: err; the asset manager is how you *open* the file. what you do with the contents is totally up to you. Jun 28 00:16:33 My mistake , <@ctate>, yes that is the group I need Jun 28 00:16:51 lineappmaker: yeah that's some random 3rd party project; you should talk directly to them. Jun 28 00:18:10 ctate: thanks anyway! I wanted something like Scanner that can do, nextLine().toString Jun 28 00:18:21 Ok, is mailing them about the app I made a good move? Jun 28 00:18:29 where is the moderator link for the android fireside chat ? Jun 28 00:19:13 dianne looks like she's searching for ron_frown to kill him Jun 28 00:19:49 ctate awesome announcements today, i love the new notification framework Jun 28 00:20:07 it isn't a new *framework*; it's some new functinoality added to the existing one :) Jun 28 00:20:10 I just dont get it Jun 28 00:20:20 I tried overriding onDismiss(DialogInterface dialog) and checking what dialog has Jun 28 00:20:32 well i love the new functionality then lol Jun 28 00:20:33 it dont seem to have value on how dismiss is happening Jun 28 00:20:45 like is it cancelled? or back button? or OK clicked? Jun 28 00:21:04 XXCoder: so it's an AlertDialog? Jun 28 00:21:15 ctate: no its settings dialog Jun 28 00:22:00 right now it saves setting each time scrollbar is changed Jun 28 00:22:09 which isnt good if user changed mind or something Jun 28 00:22:26 so this is a custom dialog you're writing? Jun 28 00:22:28 :) Jun 28 00:22:38 yeah RGB selector Jun 28 00:22:52 it has textbox, imageview for show color, and 3 scrollbars Jun 28 00:23:24 just do the save in response to the positive button. Jun 28 00:23:32 wait seekbar is better word Jun 28 00:23:46 hmm source I started on dont handle buttons Jun 28 00:23:48 or, if you want it to be implicit / automatic, do it when the dialog is dismissed unless cancelled. Jun 28 00:24:04 if there's no button support at all, then don't sweat it; just do it when the dialog is dismissed Jun 28 00:24:08 yeah thats better I think. Just need example somewhere Jun 28 00:24:16 it has ok and cancel Jun 28 00:25:26 http://android.hlidskialf.com/blog/code/android-seekbar-preference this was basis of my code Jun 28 00:26:59 the popup that gmail and other gapps use for things like "Undo" is that public? Jun 28 00:27:01 so set cancel & dismiss listeners on it Jun 28 00:27:29 so you know whether you were cancelled, then your dismiss listener is called after that Jun 28 00:27:46 ctate: yeah that was what i was thinking, listeners. but im not skilled enough to write that without example yet Jun 28 00:27:46 and in your dismiss listener, if you were not cancelled then you save your state Jun 28 00:27:48 the end Jun 28 00:30:32 interesting response about android version fragmentation ;) Jun 28 00:30:55 any android scripters here? do you know a good place to mention a tool that a person has made for android scripters? Jun 28 00:32:23 lineappmaker: you should ask on their google group, not here Jun 28 00:32:44 which is probably the right place to mention such tools anyway Jun 28 00:33:19 Ok thanks @ctate, will try there. Bye all Jun 28 00:33:54 interesting DialogPreference has this protected void onDialogClosed(boolean positiveResult) { Jun 28 00:34:00 I overrided it, and yep it works Jun 28 00:35:11 ctate: thanks! Jun 28 00:35:28 windyflowers color selector is now much more compact Jun 28 00:35:37 and user can actually see colo they are setting! Jun 28 00:41:21 ctate: Why do I need to use Scanner(File src) why cant I use Scanner scanner = new Scanner(file) Jun 28 00:41:24 ? Jun 28 00:41:45 uh oh, is that pfn speaking :) Jun 28 00:42:06 g00s: are you streaming the fireside? Jun 28 00:42:14 yeah :) Jun 28 00:42:26 where? Jun 28 00:42:29 i couldn't find a moderator link tho Jun 28 00:42:36 just go to the i/o main page :) Jun 28 00:43:03 Is fireside chat gonna be available on YouTube later ? Jun 28 00:43:05 huh, I went to I/O live and it said they were done until tomorrow Jun 28 00:43:06 ctate: yep done tweaking the setting dialog. it looks great. thanks man Jun 28 00:43:06 https://developers.google.com/events/io/ Jun 28 00:43:09 so #3 Jun 28 00:43:29 Austrie: err, that *is* what you're using when you say "new Scanner(file)" Jun 28 00:43:38 Austrie: i get the impression that you have not used Java much Jun 28 00:44:00 ctate: just basic Jun 28 00:44:21 ctate: lol im not a pro like you Jun 28 00:45:11 ctate: When I was learning java they didn't mention the first one only the second one Jun 28 00:45:19 Hi, ok I have the entire android sdk installed I was prompted for logins and passwords but did not need any of that content so left it blank to do the download I did ./tools/android update sdk --no-ui is that the proper method to download the components? Jun 28 00:45:43 haha, someone asked about the android update alliance … clapping :D Jun 28 00:46:00 this is a new install Jun 28 00:47:33 along those lines, http://news.ycombinator.com/item?id=4167259 Jun 28 00:48:04 was that for me? Jun 28 00:48:23 nickgaw: if you don't plan on dev'ing for motorola phones just skip the ones asking for login info; but if you do, then sign up at the motodev website then login back at the sdk pop up window Jun 28 00:49:12 I am running this not using X from the console so if I don't need any of the stuff just press enter to skip it? Jun 28 00:49:52 what do you guys think is better UX-wise for letting a user fill out a profile where they need to select multiple things that apply, e.g. select all the places you've lived - a listview that lets them select multiple checkboxes or an autocompletetextview type thing where they type something but then i only accept the preset suggestion values (using the latter approach would require adding a + button to allow adding mo Jun 28 00:49:52 textviews so they can add more) Jun 28 00:50:31 nickgaw: Idont remember how what the screen look like but it should have a 'x' at the top or a cancel button Jun 28 00:50:39 interesting response about android version fragmentation Jun 28 00:50:50 Please share g00s Jun 28 00:51:03 this ram question is a bit odd Jun 28 00:51:03 I think the check boxes that are properly labeled is best as sometimes those typing in items are not the easiest things to work with. Jun 28 00:51:06 I can't watch it atm, on mobile data Jun 28 00:52:15 who is this guy in the grey v neck shirt Jun 28 00:52:19 to quote: "no" Jun 28 00:52:39 is that burke ? Jun 28 00:53:07 is there a way to shorten the sdk download all I really need is the adb shell and the fastboot programs and utilities that require them for flashing roms? Jun 28 00:53:35 thanks nickgaw Jun 28 00:54:21 I am also totally blind and find that those interactive typing screens really can mess with screen readers your welcome. Jun 28 00:59:20 is it ok as root to flash roms on to my phone as my normal user account can't see android connected phones? Jun 28 01:00:59 g00s, huh? Jun 28 01:00:59 I think you want #android-root Jun 28 01:01:37 ok Jun 28 01:02:17 pfn: somebody asked a question about a scala build plugin Jun 28 01:03:04 can anyone recommend some reading for me on implementing a service that handles a socket, accepts input from and responds to an activity that may or may not exist? Mainly I want to know about the socket in a service part. Google seems to be turning up only information on web page retrieval or things that shut down a connection after sending and recieving a smalla mount of data. I want to maintain the connection unti lmanually closed. Jun 28 01:05:13 ctate, i doubt you can give an answer to this, but with chrome becoming the stock browser as of 4.1, what is the future of the "stock"(not google) browser? Jun 28 01:05:19 (not chrome)* Jun 28 01:07:06 Jug6ernaut: I'd assume Browser stays there in AOSP - the 4.1 platform notes include a bunch of improvements to Browser, so it's not dead yet... Jun 28 01:07:34 Leeds k thanks, thats pretty much what i was wondering :) Jun 28 01:08:12 Leeds: do I need a path to the file for this line of code: File file = new File("rkqa.txt"); Jun 28 01:08:31 Austrie: FISH Jun 28 01:08:37 Leeds: its in raw Jun 28 01:08:44 good to know, don't care Jun 28 01:08:48 lol Jun 28 01:08:57 Leeds: oh I forgot you dont know how to do it Jun 28 01:09:04 Leeds: :) Jun 28 01:09:06 ooh, now I feel small Jun 28 01:09:10 he does Jun 28 01:09:12 Leeds: its ok Jun 28 01:09:21 Leeds: :) Jun 28 01:09:28 please please please don't store your files on the /sdcard/ root folder. Put them somewhere appropriate :D That drives me nuts. Jun 28 01:09:35 yeah, was kinda surprised to not see any dalvik improvements listed on 4.1 page Jun 28 01:09:47 Austrie: here's a polite hint: jumping on random people and asking them direct questions, just because they're talking... not very useful Jun 28 01:10:05 oh ha ha, anybody watching the fireside chat? Jun 28 01:10:10 Leeds: I picked you for a reason, lol Jun 28 01:10:20 is it up :| Jun 28 01:10:29 ctate: yeah? Jun 28 01:10:37 that "just make it a setting" thing? that was me :) Jun 28 01:10:48 Whatcha guys think about the new Nexus 7? Decent Dev device? It looks pretty slick Jun 28 01:11:15 drpenguin: I wish I could buy one without having to arrange my own intercontinental shipping Jun 28 01:11:27 arg Jun 28 01:11:27 ctate: yeah :) Jun 28 01:11:29 Leeds: I am half tempted to pre order the 16gig now Jun 28 01:11:36 heh Jun 28 01:11:39 * Jug6ernaut assumed bc there was nothing playing by default all events were over Jun 28 01:11:39 I feel like it would be a good replacement to my Xoom that im not really that happy with Jun 28 01:11:40 fml Jun 28 01:12:20 "Just make it a setting" meme as mentioned during the fireside chat @ Google I/O: http://i.qkme.me/3orp5p.jpg Jun 28 01:12:36 ctate:is the chat being recorded for later? Jun 28 01:12:38 haha Jun 28 01:12:40 no clue Jun 28 01:12:42 probably? Jun 28 01:12:46 yea it is Jun 28 01:12:51 i would HIGHLY doubt it not Jun 28 01:12:54 that meme is the best meme Jun 28 01:12:55 I think pretty much everything is being recorded Jun 28 01:12:56 all previous years are Jun 28 01:12:57 Leeds: Want a cookie? Jun 28 01:12:59 it is made entirely of truth Jun 28 01:13:02 that looks like a screenshot of the KDE config stuff Jun 28 01:13:08 Leeds yea lol Jun 28 01:13:12 Austrie: no thanks, I have jelly beans Jun 28 01:13:24 But I still need to know do I need a path to the file for this line of code: File file = new File("rkqa.txt"); Jun 28 01:13:36 ctate what was that in reference to? /me missed it :( Jun 28 01:13:36 Leeds: Want some Sprite? Jun 28 01:13:49 Austrie: no thanks, I have green tea Jun 28 01:13:50 KDE has a config setting for changing the level of window focus stealing prevention... the highest level won't even let right click context menus come up Jun 28 01:14:10 hehe, someone is asking how we can have dll hell :) Jun 28 01:14:13 Leeds: Wah U Got Against Sprint?!?!?!?!? Jun 28 01:14:15 yeah lol Jun 28 01:14:28 Austrie: CDMA sucks. Jun 28 01:14:34 but yeah, if you have 50 copies of ABS ... Jun 28 01:14:40 Jug6ernaut: i didn't hear the shout-out Jun 28 01:14:44 Leeds: I want to kill you... Jun 28 01:14:53 Austrie: bored now Jun 28 01:15:01 but like five orkers sent me gtalks at once saying "hey dude daveburke just called out yoru settings meme at the fireside chat!" :) Jun 28 01:15:02 Leeds: miuiv4? Jun 28 01:15:20 ctate haha ok, nice lol Jun 28 01:15:41 okay, so who wants to ship me on a nexus 7 then? Jun 28 01:15:55 * Jug6ernaut wants to get one Jun 28 01:15:58 but probably wont Jun 28 01:16:04 Leeds: http://www.google.com/nexus/ Jun 28 01:16:05 HTH Jun 28 01:16:13 lol Jun 28 01:16:15 ctate: shipping to Hong Kong? Jun 28 01:16:28 Leeds: details, details Jun 28 01:16:34 so does JB have low latency or not ? Jun 28 01:16:40 ctate: you can help? Jun 28 01:16:46 g00s latency in what... Jun 28 01:16:50 audio Jun 28 01:16:52 * drpenguin just pre ordered a Nexus 7 Jun 28 01:16:52 i didn't hear anything about it, but then somebody is talking about it now Jun 28 01:16:56 low latency audio Jun 28 01:16:57 sounded like "yes, but we want better" Jun 28 01:16:57 ctate: I'd happily buy one in USD and pay for shipping... but apparently no Jun 28 01:17:06 work in progress Jun 28 01:17:07 Austrie: re this? "But I still need to know do I need a path to the file for this line of code: File file = new File("rkqa.txt");" Jun 28 01:17:17 yeah Jun 28 01:17:40 ok, now people are milling about Jun 28 01:17:49 i think i should mill about also Jun 28 01:17:52 okay, first, that's a very basic Java langauge/library question; i recommend that you find a decent Java tutorial and become familiar with the language; it'll hlep you a lot going forward Jun 28 01:18:07 second, yes, that argument to the File() constructor is a path string Jun 28 01:18:37 if that's actually a raw asset bundled into your apk, not an actual file on disk, then you're doing it wrong anyway and need to go through the Asset Manager to read the contents Jun 28 01:19:29 of even if I could buy a nexus 7 and have it ship somewhere in the US, with my Hong Kong credit card... meh Jun 28 01:19:50 get us credit card Jun 28 01:19:52 :P Jun 28 01:20:01 move to us :P Jun 28 01:20:17 Cannot wait for my nexus 7, it looks so awesome Jun 28 01:20:24 er... no - I've got a Visa card, works anywhere in the world - except where there are crappy georestrictions Jun 28 01:20:31 i would get one, but i cant justify it over my galaxy note :S Jun 28 01:20:46 i wonder if JB is going to be easy to get onto devices Jun 28 01:20:48 Leeds blame the US regulatory bs Jun 28 01:20:57 although i must say ICS is pretty freaking nice Jun 28 01:20:59 Jug6ernaut: nope, that's nonsense Jun 28 01:21:05 lol Jun 28 01:21:32 I'll blame the 'US regulatory bs' for the fact that foreign developers who have paid to go to I/O aren't allowed to pre-order glass... Jun 28 01:21:33 Jug6ernaut: im replacing my xoom with it.. the xoom is just too big and awkward Jun 28 01:21:48 what i loved about the keynote, in apples they bashed android, in googles they openly showed apple products and was still 100x better Jun 28 01:22:08 Leeds yea not sure i understand that Jun 28 01:22:15 I'll blame short-sightedness for geographically limited sales of a tablet Jun 28 01:22:28 i <3 my xoom, but i never use it anymore Jun 28 01:22:37 i just have no use for a tablet Jun 28 01:22:44 other than watching movies on a plane Jun 28 01:22:44 should proably sell it...doubt ill get much for it now tho lol Jun 28 01:23:14 $5 Jun 28 01:23:23 final offer Jun 28 01:23:25 :P Jun 28 01:23:27 for that i have a viewsonic g-tab haha Jun 28 01:23:30 Jug6ernaut: I was gonna sell my xoom for a xformer prime, but the value was just so low.. was like wth Jun 28 01:23:41 yea Jun 28 01:23:52 Drakonite lol Jun 28 01:24:07 I'd rather retire two weeks earlier than have a new tablet Jun 28 01:24:09 i have a xoom & touchpad, nether gets used Jun 28 01:24:20 hays i wonder why Jun 28 01:24:54 tablets are useless for me for one Jun 28 01:25:15 hays: my sarcasm is wasted on you lol Jun 28 01:25:22 i mean dont get me wrong other people like them i dont judge.. but i just dont really find them enjoyable for much other than watching movies on planes and angry birds Jun 28 01:25:36 hays: I like them for books Jun 28 01:25:49 drpenguin: ahh yeah i have a kindle for that old school Jun 28 01:25:57 I *was* gonna buy a kindle Jun 28 01:26:05 but now I dont feel any reason to with my nexus 7 Jun 28 01:26:11 the popup that gapps use for things like "undo" is it public or reproduce anywhere? Jun 28 01:26:12 does it have e-ink Jun 28 01:26:21 I dont see the benefit of e-ink Jun 28 01:26:26 Will Nexus 7 support multitouch? Jun 28 01:26:27 I can read books just fine on my phones or Xoom Jun 28 01:26:30 easier on the eyes Jun 28 01:26:33 anyway... Jun 28 01:26:42 drpenguin: well, it depends on who has the higher quality books Jun 28 01:26:54 its not just the reading device, but the quality of the digital conversion Jun 28 01:27:02 i find a lot of kindle books really suck Jun 28 01:27:13 g00s: oh yeah.. meh iono, the only books I have are programming books Jun 28 01:27:26 some in print, some digital Jun 28 01:27:52 Mr poppers drpenguins Jun 28 01:28:24 hkhalid: God help Jim Carrey Jun 28 01:32:16 X-suriV: every android device ever built, to my knowledge, supports multitouch Jun 28 01:32:26 (except for the Nexus Q, which doesn't have a screen :) ) Jun 28 01:32:33 why would the Nexus 7 be different? Jun 28 01:32:58 oh i guess some greymarket asian devices have had resistive screens, but they're insane and nobody should use them Jun 28 01:34:25 ctate: You should rename the Nexus Q to the Q to appeal to Star Trek fans Jun 28 01:34:27 can you really consider what the n1 had multitouch... Jun 28 01:34:47 drpenguin: except that Q was a horribly written pathetically bad piece of fiction. why would we want to be associated with that mess? Jun 28 01:34:53 Jug6ernaut: it absolutely did Jun 28 01:34:57 so did the G1, come to that Jun 28 01:35:08 it's just that the touch panel wasn't *good* at it. Jun 28 01:35:20 there was a low end huawei model that didn't support multi-touch unless you used a ROM that had a different driver Jun 28 01:35:24 lol yea true Jun 28 01:35:31 huawei U8150 Jun 28 01:35:33 ctate: nevermind :( Jun 28 01:35:43 has this channel sucked today? Jun 28 01:35:47 i can only imagine Jun 28 01:35:50 JakeWharton: ha ha Jun 28 01:35:56 http://www.xda-developers.com/android/multitouch-enabled-on-the-huawei-ideos-c8150u8150/ Jun 28 01:36:31 wabz: siiiiiiiiiiiigh OEMs and their craptacular drivers. Jun 28 01:36:38 lol Jun 28 01:36:57 there's always going to be someone :) Jun 28 01:37:04 * Jug6ernaut imagines OEMs are not his favorite subject Jun 28 01:37:19 ctates* Jun 28 01:42:43 g00s, I see Jun 28 01:48:03 Jug6ernaut: OEMs: the cause of and solution to all our problems! Jun 28 01:48:17 alt: Users! The cause of and solution to all our problems! Jun 28 01:48:18 since when are they a solution to problems? Jun 28 01:48:29 alt: Developers! The cause of and solution to all our problems! Jun 28 01:48:41 Drakonite: well, oems actually ... y'know... *make products* Jun 28 01:48:44 how does does Google charge companies to package proprietary apps like youtube with the phone? Jun 28 01:49:01 ctate haha Jun 28 01:49:01 *Does* google charge companies to package proprietary apps like youtube with the phone? Jun 28 01:49:10 * ctate has no idea, actually. Jun 28 01:49:38 probably not, since it's usually the OEM/carrier that does the bundled app packing ;) Jun 28 01:50:07 carries...arg Jun 28 01:52:25 you need a license but its free Jun 28 01:52:27 it seems Jun 28 02:05:12 heh we got a very weird loaner S3 from samsung Jun 28 02:05:23 has a very odd case/shell thing Jun 28 02:06:26 Is glGetBooleanV avaliable for OpenGL ES? Jun 28 02:12:21 guys, on api 8 is it possible to "forece" an options menu visible by default ? Jun 28 02:13:44 what do you mean Jun 28 02:13:47 you just want to show it? Jun 28 02:16:55 i'll assume a "yes", there's APIs for that on Activity Jun 28 02:17:02 openOptionsMenu or something Jun 28 02:17:08 hello Jun 28 02:17:32 why do I get this in Eclipse? IMHO, Eclipse is being stupid: [2012-06-27 20:46:26 - LunchList] /home/travis/Programming/workspace/LunchList/res/layout/main.xml:6: error: Error: String types not allowed (at 'layout_height' with value 'match_parent'). Jun 28 02:18:06 s/being/always/ Jun 28 02:18:16 DrChaos: you're compiling with SDK 8 or older Jun 28 02:18:54 or maybe it's 7 and older Jun 28 02:19:00 Eclipse was stupid before Eclipse was first compiled Jun 28 02:19:03 in any case, match_parent was introduced in either API 8 or API 9 Jun 28 02:19:13 err...I am using the latest SDK Jun 28 02:19:28 wait, how do I make absolutely sure I am using the latest SDK?] Jun 28 02:19:43 it should say Android 4.1 in the project Jun 28 02:19:55 or you can go to Project Properties > Android Jun 28 02:19:59 and make sure Android 4.1 is checked Jun 28 02:21:59 ok guys Jun 28 02:22:11 I checked SDK version 8 instead, android 2.2 Jun 28 02:25:06 why does Android have EditText AND TextView? Jun 28 02:25:11 they seem to do the same things Jun 28 02:26:09 DrChaos: can you type in a textview? Jun 28 02:26:28 edittext is for editing, textview is for viewing :p Jun 28 02:29:22 guys, is there a way to disable listview's view recycle? Jun 28 02:30:17 AlCapwn ⚡ oh Jun 28 02:33:10 xa0c: doubt it Jun 28 02:33:42 You can choose not to use the convertView object, but I guess performance would suffer Jun 28 02:33:42 yeah... looking in sources: it's too deep in abslistview. Jun 28 02:34:02 What are you trying to achieve? Jun 28 02:34:44 already did it. I want to implement my own cache, but listview uses recycling, in such case I have two caches and GC goes crazy Jun 28 02:36:20 I want my scroll be smooth like in facebook app :) Jun 28 02:37:08 The whole purpose of reusing views is to make the scrolling smoother though Jun 28 02:37:39 yeah. but cache size cant be changed Jun 28 02:39:14 * xa0c thinking about using scrollview with vertical linear layout Jun 28 02:39:23 I reckon working against the default mechanism is gonna end in a bag of hurt Jun 28 02:42:49 every time I tap on my item in the details tab of the LunchList activity from "Android Programming Tutorials, 3rd Edition" the unchhList app crashes Jun 28 02:42:59 LunchList app* **** ENDING LOGGING AT Thu Jun 28 02:59:58 2012