**** BEGIN LOGGING AT Mon Nov 19 02:59:59 2012 Nov 19 03:00:14 when you wan't notification to run *. Nov 19 03:56:49 oi Nov 19 03:57:22 oi oi Nov 19 04:00:12 I am looking to a bit of experimentation... for things like those jogging trackers, do you have to have the phone awake, or do they wake the phone up every so often and record lat/long Nov 19 04:00:59 ron_frown: I would think.. for the sake of battery usage, you'd rather wake the phone up every so often. But it really depends on your needs and how accurate you would want to be... Nov 19 04:02:21 ron_frown: You could have the phone use the GPS to track Nov 19 04:02:30 and the app to close the screen to save battery Nov 19 04:02:51 I am currently working on a GPS app, and saving battery is what i'm working on right now Nov 19 04:02:59 I'd want it to be ABLE to to sleep Nov 19 04:03:11 i don't believe going in sleep mode and waking up every so often is the right way to go Nov 19 04:03:27 depend on your intervale of time that you want your sampling to be Nov 19 04:03:27 kwazi using alarm manager appropriate? for waking it up Nov 19 04:03:46 NeDra I'd recommend experimenting with that Nov 19 04:03:47 oh Nov 19 04:03:56 you want phone to never go to sleep Nov 19 04:04:04 I had an app that wold prevent deep sleep and it would rape te shit out of the battery Nov 19 04:04:11 ron_frown: yes, using the alarm manager is fine Nov 19 04:04:12 no I DO want it to go to sleep Nov 19 04:04:12 im getting the AirCard® 763S 4G LTE Mobile Hotspot tomorrow to finish all my test Nov 19 04:04:23 I dont need a phone per-say and that one fit perfectly for my needs Nov 19 04:04:26 absolute minimum gps Nov 19 04:04:36 er Nov 19 04:04:42 minimum battery consumption Nov 19 04:04:53 mine is a GPS plugged in a car 24/7 and turn on and off with the car Nov 19 04:05:11 my app wouldnt be Nov 19 04:05:16 ron_frown: the idea is that you wouldn't use any wake locks except for some interval defined by the alarmManager.. on those intervals you'd need to spin up the GPS (you may need to use a wake lock depending on the circumstance) Nov 19 04:05:35 kind of a waste to use a phone to do such a thing but we have requirement to have extremly high positioning sampling Nov 19 04:05:39 wakelock just the time it'd take to get location update then release Nov 19 04:05:59 you only have 1 issue... Nov 19 04:06:11 the gps isn't the phone asking the GPS for your current position Nov 19 04:06:22 the gps on the phone only listen to the gps to figure out where it is Nov 19 04:06:31 so if you turn it off and on Nov 19 04:06:39 it take lots of time to sync with the gps Nov 19 04:06:43 to know the current position Nov 19 04:06:53 if the GPS still active in sleep mode, you are fine Nov 19 04:06:59 yep Nov 19 04:07:05 I am familliar with those scenarios Nov 19 04:07:10 some phone can take up to 3 minutes to re-sync with the gps Nov 19 04:07:11 k Nov 19 04:07:25 3min awake with no screen etc would be ok Nov 19 04:07:40 ron_frown: As NeDra mentions.. you might try making short intervals that look at the non-GPS location data (wifi, cell tower etc), and then longer intervals that kick the GPS in Nov 19 04:07:45 how often do you want it to take your position? Nov 19 04:08:12 honestly 10-20min would be sufficient, and I dont care what data they use for location Nov 19 04:08:19 I'll use whatever location manager gives me Nov 19 04:08:57 i doubt app out there would go to sleep and wake each 10 minutes to take the position unless you build it yourself, but who knows, everything possible in the open source world Nov 19 04:09:39 did you try with the GPS on 24/7 while the app running, to test how much it consume your battery? Nov 19 04:09:51 guess you did, that why you want it to go in sleep mode Nov 19 04:11:13 NeDra this isnt going to be a navigation app or anything Nov 19 04:11:26 I've done a lot of work experimenting with wakelocks vs sleep Nov 19 04:11:44 before push services for a push service =) Nov 19 04:12:11 hey ron_frown Nov 19 04:12:18 yo Nov 19 04:12:30 how's it hanging Nov 19 04:12:59 good I guess Nov 19 04:13:26 cool Nov 19 04:13:49 weather sucks lately fr riding Nov 19 04:13:59 whereabouts? Nov 19 04:14:01 I wish I lived or worked like 10mi south of here Nov 19 04:14:04 I could ride every day Nov 19 04:14:10 central coast of california Nov 19 04:14:14 oh ok Nov 19 04:14:33 i was just in the bay area, was pretty decent south of san fran until the rain Nov 19 04:15:26 lucky, too cold out here to ride my bike... Nov 19 04:15:53 yeah it's inthe 40's where i live Nov 19 04:16:03 good enough we get electricity in our igloo Nov 19 04:16:18 oh wow, you're in alaska? Nov 19 04:16:32 lol nah, canada, but exagerating xD Nov 19 04:17:09 ah ok lol. i was gonna say, snowmobile C! Nov 19 04:17:16 err, -C Nov 19 04:19:57 40s? Nov 19 04:20:08 I rode 32f last week Nov 19 04:20:59 yeah i recall. it can be ok if you gear up but i still hate it, hands always seem to get stiff Nov 19 04:24:11 uhh Nov 19 04:24:15 stiff wasnt the word for it Nov 19 04:24:18 it was fucking painful Nov 19 04:24:23 ;-) Nov 19 04:24:23 my bike has 0 fairing Nov 19 04:24:37 so motor kept my legs etc decently warm Nov 19 04:24:41 haha mine too, unintentionally Nov 19 04:28:41 damn i feel like an idiot. i was doing interviews on thurs and friday, thought i did really well in this one session and looking back i realize a big portion of the code i wrote wasn't valid java :-\ Nov 19 04:29:08 trying to be fancy with the ?: operator and i guess i totally screwed myself Nov 19 04:29:24 lol Nov 19 04:29:38 don't worry, till the concept fine, it doesn't matter Nov 19 04:30:01 ?: Nov 19 04:30:06 null coalesce? Nov 19 04:30:07 if you wrote it in the environment, pretty sure you would auto fix your mistake Nov 19 04:30:13 hopefully. they emphasized the point that they want "correct compilable code" Nov 19 04:30:26 ron_frown: conditional operator Nov 19 04:30:27 or ternary Nov 19 04:30:32 ternary then Nov 19 04:30:36 ternary Nov 19 04:30:40 i have a peeve about that Nov 19 04:31:01 c# you can do console.WriteLine(user.name ? "na"); Nov 19 04:31:01 it is _a_ ternary operator, there are others, though it's the only one in many programming languages Nov 19 04:31:03 true ? return 1: return 0; Nov 19 04:31:06 is it like that? Nov 19 04:31:17 yeah Nov 19 04:31:33 how did you wrote it? Nov 19 04:32:27 ron_frown? is that valid, though it needed the true and false no matter what Nov 19 04:32:30 as a ternary operator Nov 19 04:32:37 i basically wrote it to evaluate a statement vs return a value Nov 19 04:32:46 i.e. Nov 19 04:32:48 true return himself and false return other value Nov 19 04:33:06 nedra in c# that is a null coalesce Nov 19 04:33:13 (condition) ? return something : doSomethingElse(); Nov 19 04:33:34 which is not valid in java Nov 19 04:33:38 you can write ternary like the next guy and use null coalesce Nov 19 04:34:00 diff solutions for diff problems Nov 19 04:34:06 i'm pretty sure it's valid in javascript n thats probably why i did that Nov 19 04:34:16 damn speakingcode... that really off Nov 19 04:34:24 i though you just did a syntax error Nov 19 04:34:40 yeah Nov 19 04:34:46 shoulda just said if else, fuck Nov 19 04:34:46 is this the best way to do this use android alarm class/broadcastreceiver and set at a date of time run this intent and in that intent have a notification be the calling intent that runs or is there a easier way too do this? Nov 19 04:34:49 requiring you to write valid java freehand is weird Nov 19 04:35:04 why would you ever need that skill? Nov 19 04:35:42 yes, i would refuse based on that alone, if you didn't sent any email to give your thank for their time, you should and let them know that you are sorry for this big logical error that you did while being stressed Nov 19 04:35:53 alex_PP: i'm sure they tolerate some error but the idea is you should be able to look at what you wrote and determine, at least in my case, why it's plainly shit wrong Nov 19 04:36:54 alex_PP: they just want to stress you out, but there a difference between a small syntax error and a conception error Nov 19 04:36:57 shrug. i'll see what happens. it was one of 5 sessions, still feel overall good Nov 19 04:37:12 yes that fine Nov 19 04:37:26 it was really not pertinent to the problem either, wasn't part of the strategy or algorithm Nov 19 04:38:09 honestly I wouldnt even stress it Nov 19 04:38:13 well true, if your method to solve the problem is really good, he can overlook it Nov 19 04:38:20 my personal opinion is that people that request code that compiles etc Nov 19 04:38:35 and wont give you an ide, they either have the wrong idea about whats important Nov 19 04:38:37 ron_frown... Nov 19 04:38:38 (condition) ? return something : doSomethingElse(); Nov 19 04:38:40 or they have unreasonable expectations Nov 19 04:38:45 in the ternary condition Nov 19 04:38:57 he did doSomethingElse() which return void Nov 19 04:39:00 from my understanding Nov 19 04:39:01 ron_frown, i concur Nov 19 04:39:09 whetehr or not the Nov 19 04:39:22 anyway, just hope the rest is good Nov 19 04:39:29 I had some guy give me some real abstract problem once, and it was so vague I had no idea what the hell they were actually looking for Nov 19 04:39:34 can't really judge just based on 1 line Nov 19 04:39:49 they exucute me on that grounds, i dunno. but one should always strive to write correct code when interviewing for a position that primarily uses that langauge Nov 19 04:39:49 I knew that the company did and knew they it was super basic as far as what they would need Nov 19 04:40:07 I just told them I didnt think it'd work out Nov 19 04:40:39 last place I interviewd, they gave me legit problem and gave me a couple days to get it done Nov 19 04:40:49 ron_frown: you can look at how the my tracks app does it Nov 19 04:41:08 my app did similar; cpu wakelock always on Nov 19 04:41:12 I sent my result back, and it took their lead dev like a few days to validate the results were correct, and figure out how it was like 20x faster than what they had Nov 19 04:41:21 ron_frown: those are nice way, but normally that to get an idea before doing a real interview Nov 19 04:41:26 like a preliminary step Nov 19 04:41:36 anyway, I can't talk, i'm jobless for 3 years so far... Nov 19 04:41:57 from that they made me an offer of 96k which was a paycut, and I didnt think the company could afford me Nov 19 04:42:14 damn ron_frown Nov 19 04:42:24 how many years you been professional? Nov 19 04:42:29 15 Nov 19 04:42:42 my friend at 80k + a 15k bonus after 3 years at the same spot Nov 19 04:42:59 comapnies will learn =) Nov 19 04:43:12 he work at SAP and won't switch unless it 100k+ as offer Nov 19 04:43:32 I'm not saying all old school devs are great, and not all straight out of edu ppls are bad Nov 19 04:43:33 well when you are the best at what you are doing, they have to pay you to keep you Nov 19 04:43:53 lol ron, there a lot of bad apple in the tree xD Nov 19 04:43:57 but I've seen at least 10yr of new devs thinking they are gods gift to tech world, and its a big fat case of the kruger effect Nov 19 04:44:05 NeDra: maybe when he is 40 they will kick him out http://economictimes.indiatimes.com/news/news-by-company/corporate-trends/whats-the-shelf-life-of-a-techie-just-15-years/articleshow/17251620.cms Nov 19 04:44:37 so says the SAP lab director :) Nov 19 04:44:47 I am surprised sap is still around to be frank Nov 19 04:45:22 my fathers company converted to sap, had like 20 people analyzing their stuff and helping them convert their processes over etc Nov 19 04:45:26 i saw their source code... you can't hire someone new and be super good in SAP Nov 19 04:45:34 they have their own language almost Nov 19 04:45:36 after like a 2yr attempt to get it over, they finally announced it wouldnt work Nov 19 04:45:43 look like a mix of ASM/C Nov 19 04:45:45 and go back to code that was designed to run on 386's and shit Nov 19 04:46:08 the entire syntax, function call everything... need to be re-learn Nov 19 04:46:22 take a few months to know most of it by heart Nov 19 04:46:40 yes, indeed Nov 19 04:47:02 eg, it reminds me of those tools that do everything, but nothing well Nov 19 04:47:07 exactly like eclipse Nov 19 04:47:18 I wont deny eclipse can do a lot, but eclipse is a fucking pile of shit. Nov 19 04:47:35 well SAP has their customer, it pretty successful, it won't die anytime soon Nov 19 04:47:39 ron-frown++ Nov 19 04:47:46 but they can't afford to re-code everything, there to much Nov 19 04:48:02 I think engineers of today are just pussies. Nov 19 04:48:08 in a lot of case, company can't afford to change their entire system Nov 19 04:48:15 why? Nov 19 04:48:28 oh man dont get ron_frown going on eclipse again ... Nov 19 04:48:30 I dont think you'd have to if you designed stuff correct in the first place (correct != planning out every possible outcome) Nov 19 04:48:32 hahaha Nov 19 04:48:34 heh Nov 19 04:48:51 dude I have to write a source control provider before I can use idea at work Nov 19 04:48:56 and man eclipse is a nightmare Nov 19 04:49:21 I spent like 1hr getting jakes viewpagerindicator to work in my app... and the reason why it didnt jsut go straight out? Nov 19 04:49:32 i'm surprised the new adt bundle has some eclipse included in it already Nov 19 04:49:44 man, its like people dont know how to computer or something Nov 19 04:51:02 because it was a dependecny of one o fmy apps, and eclipse was trying to build my app prior to building Nov 19 04:51:10 when i started ... computers had front panel toggle switches to bit-wise enter insts ... Nov 19 04:51:12 REAL computers !!! :P Nov 19 04:51:15 its just assinine Nov 19 04:51:45 capella: i remember making z80 opcodes by hand, punchinf them in in hex, and advancing the pc :) Nov 19 04:51:49 it just works terrible most of the time Nov 19 04:51:57 then came hollerith with his fancy "cards" ... pussy Nov 19 04:52:15 intellij is getting better, eclipse is getting worse Nov 19 04:52:21 heh - mine was a dec pdp-8 Nov 19 04:52:25 k time for a break for me, work 2 minutes, talk for 2h, then take a 5h break, then my day is done xD Nov 19 04:53:28 hum http://www.jetbrains.com/idea/ that much better then eclipse... ill take your word for it and try it tomorrow Nov 19 04:53:43 in high school we coded "unit-record" machines ... actually wired the panels Nov 19 04:53:50 does anyone know of a way to tell eclipse to use the 32-bit arm emulator and not the 64-bit one Nov 19 04:54:22 intellij ++ Nov 19 04:54:32 I was thinking of using intellij Nov 19 04:54:35 I am so fond of jetbrains tools Nov 19 04:54:45 I even considered trying to get hired there Nov 19 04:54:49 i can't find the intellij addon for eclipse xD (troll) Nov 19 04:54:52 but all their positions are in russia Nov 19 04:54:56 but it is just so easy with eclipse Nov 19 04:54:58 everything is there Nov 19 04:55:08 as with intellij Nov 19 04:55:12 12 is WAY WAY WAY better Nov 19 04:55:16 but in a sort of beta atm Nov 19 04:55:31 there is an intellij addon for eclipse editor code styling Nov 19 04:55:42 so with intellij though, you would build it in the ide Nov 19 04:55:47 and then use the command line to push the app Nov 19 04:55:49 to the device Nov 19 04:55:55 you dont have to do that Nov 19 04:55:56 hit run Nov 19 04:55:57 bam Nov 19 04:55:59 intellij auto push Nov 19 04:56:15 intellij is not free though huh? Nov 19 04:56:20 tis Nov 19 04:56:22 community edition is Nov 19 04:56:23 community which does all the android stuff is Nov 19 04:56:37 breathe ron_frown breathe Nov 19 04:56:48 heh Nov 19 04:56:53 haha you dont understand Nov 19 04:56:53 it not free indeed, feel like just trying it to see what the big fuss about it Nov 19 04:56:53 why did the android developers default to eclipse then? Nov 19 04:56:58 its not a vendetta against eclipse persay Nov 19 04:57:18 its a vendetta against people accepting mediocre software ebcause its there Nov 19 04:57:26 and mediocre is being nice Nov 19 04:57:27 oh the irony ! Nov 19 04:57:31 Open Source Project License: Free IntelliJ IDEA Ultimate license for open source projects. Nov 19 04:57:39 it just free for confirmed open source project Nov 19 04:57:50 no Nov 19 04:57:53 community edition Nov 19 04:57:58 build whatever you want Nov 19 04:58:02 android included Nov 19 04:58:08 my first clue was the "CLEAN" button in the eclipse IDE Nov 19 04:58:17 something wrong? try "CLEAN" Nov 19 04:58:53 Jakob Nielsen says Windows 8 us a usability mess … Nov 19 04:59:03 WIN8 BAD Nov 19 04:59:04 thats not good Nov 19 04:59:14 g00s so did that drunk lady Nov 19 04:59:17 METRO.... Nov 19 04:59:19 BAD Nov 19 04:59:24 if ron_frown said it was a usability mess, i'd be like, whatever wtfu Nov 19 04:59:29 *stfu Nov 19 04:59:35 haha Nov 19 04:59:45 what the fuck up :) Nov 19 04:59:46 I know when shit is a usability mess Nov 19 05:00:00 I just usually dont have recommendations on how to fix =) Nov 19 05:00:14 WIN 9 Nov 19 05:00:17 :) Nov 19 05:01:32 * g00s just realized there is a company called 'monkey boy games' Nov 19 05:02:29 ron_frown: allright, so now that recursive fragments are here, you're going to be more productive right ? Nov 19 05:02:53 haha Nov 19 05:03:03 the problem is I do more platform dev Nov 19 05:03:05 not app dev Nov 19 05:03:24 I can build anything, but I cant come up with ideas or get business partners worht a shit Nov 19 05:04:36 does anyone know if there is a way to tell eclipse which command to run for the emulator? it is running "emulator64-arm" but I want it to run "emulator-arm" Nov 19 05:04:40 I don't see a preference option for it Nov 19 05:07:34 * capella needs to remember to uninstall eclipse from my VM Nov 19 05:08:25 http://www.youtube.com/watch?v=yRxDvkKBMTc Nov 19 05:09:40 what is all this hype about recursive fragments Nov 19 05:10:13 fragments inside of fragments Nov 19 05:10:20 supported by fragment manager Nov 19 05:10:58 on 4.2? Nov 19 05:11:28 I'm learning how to programm games for android and was wondering if there's some predefined button or joystick thingy or if I should simply say "if touch input location within a certain area do things, else do other things" Nov 19 05:11:57 how convenient would that be Nov 19 05:14:07 what Nov 19 05:14:10 talking about canvas obviously, not normal activities Nov 19 05:14:21 that is there Nov 19 05:14:39 get rect and I am pretty sure there intersection detection Nov 19 05:14:52 I dont rememeber Nov 19 05:15:02 I use about 4 diff platforms on a pretty regular basis Nov 19 05:16:22 alright Nov 19 05:18:05 maybe you could make a symlink Nov 19 05:18:54 Syzygy_: andengine has on-screen controls Nov 19 05:19:11 don't want to use an engine Nov 19 05:19:14 canvas isn't going to be fast enough for a game. maybe a trivial game. Nov 19 05:19:24 or rather, not allowed to, uni project Nov 19 05:19:29 I wrote a game in canvas and man, it wasn' even that sophisticated. Nov 19 05:19:34 and it was pretty slow Nov 19 05:19:51 guess i should use openGL after all. Nov 19 05:19:56 just, a side scroller. jump on the boxes type thing. Nov 19 05:20:03 does anyone know how binders are implemented at the OS level? Nov 19 05:20:13 I am still looking and I can't seem to find the source related Nov 19 05:20:18 well, this will be a procedurally generated bullethell roguelike Nov 19 05:20:33 Syzygy_ - did you watche the videos on development of replica island? Nov 19 05:20:43 nope Nov 19 05:20:44 that talks about building 2d games to be efficient Nov 19 05:20:51 and general flow of game engines Nov 19 05:21:36 I assume this is what i want: http://www.youtube.com/watch?v=hOXNvHCbDvo Nov 19 05:22:15 yeah Nov 19 05:22:18 there are series for that Nov 19 05:24:16 I'm having a little difficulty with my SMS entries from contentResolver.query()... Once in a while, a number received has a coding that will match PhoneNumberUtils.compare() but not "address="+Number. This is due to the SMS.address being listed as something like "18001234567" and being saved in your contacts as "8001234567". Is there a way to modify my SMS SQL query to be "like" the address, Nov 19 05:24:16 not exact? Nov 19 05:26:50 Parsing the entire SMS list and matching it via PhoneNumberUtils.compare() takes almost a complete second to load everything... that is flat out unacceptable D: Nov 19 05:32:00 Komak57: in that particular instance you could parse the phone number and drop the leading country digit(s) and search by that Nov 19 05:33:10 that seems to be my problem, I would have to parse "address=8001234567 OR address=18001234567".. I suppose there's no easier way to do this? Nov 19 05:33:11 Is it possible to add footerviews to a listview on the go? (I mean after setAdapter() is called) Nov 19 05:33:59 not sure I have much knowledge for you in that field napster :/ Nov 19 05:35:04 ok, how bad is always calling setAdapter() after adding each footerview Nov 19 05:36:04 again, web dev methods aren't my forte. -steps back and lets someone else assist you- Nov 19 05:36:04 you should be shot in the face for it Nov 19 05:36:54 nice Nov 19 05:37:38 ron_frown: What can be done otherwise? Nov 19 05:43:49 why are there so many blogs talking about android programming, posting code examples, but the blog ruin the indentation? -.- Nov 19 05:44:07 I just write all my code on one line Nov 19 05:44:56 I used to do that. Nov 19 05:45:23 when i tired to get fizzbuzz in java under 100 characters Nov 19 05:45:39 It should be very readable then Nov 19 05:46:06 class F{static{for(int i=0;i++<100;)System.out.println((i%3<1?"Fizz":i+"\r")+(i%5<1?"Buzz":""));}} Nov 19 05:46:12 well, readable enough Nov 19 05:46:13 -copies to java, saves, auto-formats- Nov 19 05:47:06 wtf is this "copy to java" gibberish? Nov 19 05:47:11 i have no idea. Nov 19 05:47:27 probably related to his problem. Nov 19 05:47:46 I guess he meant eclipse or some sort of IDE Nov 19 05:47:47 probably an eclipse user. Nov 19 05:48:03 herp derp netbeans is my java Nov 19 05:48:04 no, eclipse can format the code and auto-indent to save me the time of figuring out where the fudge someone screwed up XD Nov 19 05:48:23 you're acting like proper indentation is hard... Nov 19 05:48:34 is there away to use the SDK that comes with AOSP Nov 19 05:48:38 for building android apps Nov 19 05:48:40 apparently XD lot of people can't indent to save their lives Nov 19 05:48:48 { means indent -->, } means indent <-- Nov 19 05:48:52 we all know who he means by "someone" Nov 19 05:49:06 Scotty, beam us up Nov 19 05:49:34 -blinks- Nov 19 05:49:53 of course there are special cases were a line is so long you press enter just so that it doesn't go off the screen... that case isn't properly defined. Nov 19 05:50:00 at least not for me. Nov 19 05:50:14 but it has no influence on the following lines anyway Nov 19 05:50:49 meh, I could always set one-line format rules in eclipse and write my code any way I wish? Nov 19 05:51:18 you could also program in brainfuck. Nov 19 05:51:24 YUSH! Nov 19 05:51:27 fantastic idea Nov 19 05:51:35 or shakespear Nov 19 05:51:39 which is a funny language Nov 19 05:51:44 XD Nov 19 05:51:48 it's english Nov 19 05:51:51 sorta Nov 19 05:51:54 sorta... Nov 19 05:52:14 enter A, B Nov 19 05:52:14 "sorta" is from "i didn't go to college" english Nov 19 05:52:25 kinda Nov 19 05:52:32 A and B fornicate in public Nov 19 05:52:37 or something like that Nov 19 05:52:52 for an addition Nov 19 05:52:59 It's about as much english as your friends who are a bowl ahead in the race to passing out. Nov 19 05:53:31 you're doing it wrong if you pass out Nov 19 05:53:38 is there a language with a higher verbosity than shakespear? Nov 19 05:53:46 wtf is "shakespear"? Nov 19 05:54:23 http://en.wikipedia.org/wiki/Shakespeare_%28programming_language%29 for people who can't type because it's almost 7 AM in their country. Nov 19 05:55:11 too much "speak your mind" Nov 19 05:56:02 still less verbose than System.out.println(" "); Nov 19 05:56:06 with all those aliases for negative/positive, they couldn't add a bunch of aliases for "output"? Nov 19 05:56:30 which is... impressive. Nov 19 05:59:20 so why doesn't java have something shorter? Nov 19 05:59:23 that wikipedia article is pretty crappy since it doesn't explain constants or assignment Nov 19 05:59:45 well, it has a sample hello world code in that language. Nov 19 06:00:22 i'll just use my cap'n crunch decoder ring Nov 19 06:02:20 even the perldoc is missing data Nov 19 06:02:49 "Any noun is a constant with the value 1 or , depending on whether it's nice or not." I'm assuming that should be "1 or -1" Nov 19 06:03:17 I have no idea and frankly, i don't care either. Nov 19 06:03:20 "Think `` = 8 - ''. " Nov 19 06:03:37 you're the one that linked to this crap. you should care and you should feel bad. Nov 19 06:03:40 Is there a nice way with eclipse to add sprite sheets so that all the necessary files are created for me? Nov 19 06:03:48 I feel bad, yet I don't care. Nov 19 06:04:02 lol Nov 19 06:04:12 "nice way with eclipse" Nov 19 06:04:27 as opposed to creating all those files by hand Nov 19 06:04:35 write a script Nov 19 06:05:51 Or I could find out if eclipse does it for me. Nov 19 06:10:10 and I'll bet you a thousand dollars it doesn't Nov 19 06:10:34 maybe there is a crappy plugin in the eclipse market place that will crash when you try to use it though Nov 19 06:10:38 gl w that Nov 19 06:11:07 i guess Nov 19 06:11:15 then when you're done looking you can check out gimp's script-fu Nov 19 06:11:26 it's scriptable in python and scheme Nov 19 06:12:30 right now i don't even know how to import the sprite itself into eclipse even though I've been googling for like 20 minutes now, because i'm to sleepy and tired (= stupid) to properly read up on it Nov 19 06:13:50 what file format is the sprite Nov 19 06:14:10 png Nov 19 06:14:31 you just drag it into the res/drawable folder. Nov 19 06:15:35 I have 4 of them D: Nov 19 06:15:54 so hold control, then click each of the four sprites, and drag the group Nov 19 06:16:09 no i mean 4 drawable folders Nov 19 06:16:21 but i'll just put it in xhdpi for now Nov 19 06:16:25 thanks in any case Nov 19 06:16:40 i usually create a res/drawable to be explicit about the fact that I half-assed the graphics. Nov 19 06:16:54 that way I remember later to put them in the appropriate directories Nov 19 06:17:00 ^^ Nov 19 06:17:37 sounds like someone i would do, consider that approach stolen. Nov 19 06:17:55 *something Nov 19 06:28:12 i use res/drawable for xml drawables also Nov 19 06:31:42 ^ Nov 19 06:32:12 but my R file isn't updated by that :/ Nov 19 06:32:17 any reason this isn't getting unique address results?: Cursor cursor = contentResolver.query(Uri.parse("content://sms"), new String[] {"DISTINCT address","body","type","date","read"}, null, null, "date"); Nov 19 06:34:44 um, is that the undocumented sms content provider? Nov 19 06:34:48 good luck! Nov 19 06:34:50 :P Nov 19 06:36:43 I can get unique queries if i parse each listing, but that's 509 SMS messages to parse between 5-10 threads.. Nov 19 06:37:00 Just trying to clean things up and make it a bit faster XD Nov 19 06:37:55 tdignan, how do I get the sprites into my R file after copying it into my res/drawable folder? Nov 19 06:40:43 Hey Guys, Nov 19 06:40:55 I need to set a splash image as background, is there a guide on how to go about it Nov 19 06:42:19 oh, well this makes things a little easier... using "thread_id" instead of "address" :D Nov 19 06:42:34 brickhead, http://www.higherpass.com/Android/Tutorials/Working-With-Images-In-Android/ try this Nov 19 06:46:45 Syzygy_: thanks Nov 19 06:46:57 hope that helped Nov 19 06:47:52 Syzygy_: that's very preliminary, what I want to know is what aspect ratio/ resolution I should target for each sw Nov 19 06:48:11 sw? Nov 19 06:48:32 both aspect ratio and resulution are variable depending on the device obviously. Nov 19 06:48:37 plus what scaleType should I ideally use so that it doesn't pixillate Nov 19 06:48:42 screen width Nov 19 06:49:09 ideally you don't scale at all Nov 19 06:49:39 Syzygy_: agreed so looking for a guide which could say use AAAxBBB for large and BBBxCCC for xlarge and stuff Nov 19 06:50:57 can't help you there unfortunately Nov 19 06:51:15 ...my R file went AWOL :/ Nov 19 06:53:16 brickhead: if youre targetting only 3.x above there is mare granularity in the resource qualifiers for screens than the large, xlarge, medium and small Nov 19 06:53:24 res\drawable-xhdpi\8Actor.png: Invalid file name: must contain only [a-z0-9_.] Nov 19 06:53:31 i do not understand... Nov 19 06:53:38 oh, lowercase Nov 19 06:53:40 can't be caps Nov 19 06:58:41 speakingcode: sorry I didn't get you Nov 19 06:59:18 are you talking about screen-width based resources Nov 19 06:59:38 sure Nov 19 06:59:46 as in values-sw720dp Nov 19 07:00:50 hmm.. so basically I need a primer in screen resolution and image handling in general.. I have huge knowledge gaps there Nov 19 07:01:08 i will back up n say you might be over complicating it Nov 19 07:01:43 don't make it harder than you need to. the scaling is often tolerable Nov 19 07:02:07 moo Nov 19 07:02:24 hey canadiancow Nov 19 07:02:44 speakingcode, the "finer granularity" is 3.2+ Nov 19 07:02:46 not 3.x+ :P Nov 19 07:02:59 shrug :-) Nov 19 07:07:54 cow i saw the big android statues Nov 19 07:10:34 nice Nov 19 07:10:52 how were the interviews Nov 19 07:11:23 i felt pretty good during, but i've noticed several mistakes in retrosepct in a couple of my solutions Nov 19 07:12:27 "mistakes" like missing semicolon, or "mistakes" like "my solution is incorrect and inefficient" Nov 19 07:13:02 mistakes like using % where i shoulda used / and misusing the conditional ? : operator Nov 19 07:14:22 so a good solution but slightly miscoded Nov 19 07:14:39 well that's why you test your code :D Nov 19 07:14:46 but im sure you'll hear something within 2 weeks or so Nov 19 07:14:59 nod Nov 19 07:15:45 it was a good experience, i was a little bit underwhelmed with a couple of things Nov 19 07:16:26 zynga interview? Nov 19 07:16:39 google Nov 19 07:16:41 google Nov 19 07:16:51 ah Nov 19 07:17:43 what was underwhelming? Nov 19 07:25:13 i dunno it just didn't seem much different than any other large corp other than the free food Nov 19 07:26:50 but but Nov 19 07:26:56 all large corps have free food Nov 19 07:27:02 where did you go for lunch? Nov 19 07:27:07 throw new WTFException("We just invented a circle with more than 360 degree."); Nov 19 07:27:17 I feel like this should be in my program. Nov 19 07:27:59 i forgot the name, tsukakto atom cafe or something Nov 19 07:28:15 ah, in b44 Nov 19 07:28:15 ok Nov 19 07:28:41 asian themed Nov 19 07:29:16 cow i thought you worked for zynga Nov 19 07:29:18 it was fair. world class? dunno bout that Nov 19 07:29:30 i did Nov 19 07:29:41 oO Nov 19 07:30:19 rode the ipo boost to google? Nov 19 07:30:33 or something like thta Nov 19 07:30:34 that Nov 19 07:30:42 the financial state had very little to do with why i left Nov 19 07:30:52 i was at zynga through an acquisition Nov 19 07:30:57 i never really wanted to be in the games industry Nov 19 07:31:21 what do you do now? Nov 19 07:32:24 i work on the gmail app Nov 19 07:34:08 interesting. so much for heckling you about hangingwf crashing... Nov 19 07:34:49 heh Nov 19 07:34:56 if i had stayed at zynga i would have been the lead on that :P Nov 19 07:35:29 i havent seen it crash though Nov 19 07:35:38 found a few other bugs here and there, but i know who to tell about them :P Nov 19 07:36:06 it frequently crashes when first starting on my gnex and sometimes n7 Nov 19 07:36:33 it happens fast and recovers quickly at least Nov 19 07:37:08 ive never seen that :\ Nov 19 07:37:17 and its hte one game i play daily :P Nov 19 07:37:27 and when i was working on it, i was using a gn and n7 :\ Nov 19 07:37:36 so i was running it like 6+ hours/day Nov 19 07:37:36 yes i've gotten addicted lately Nov 19 07:37:48 they added those silly "missions" :P Nov 19 07:37:57 i'm almost a gold grandmaster Nov 19 07:38:17 level 25ish Nov 19 07:38:46 which game? Nov 19 07:38:57 they need to replace the notification icon now that they've redone the app icon Nov 19 07:38:59 Yeah, i figured that the nexus devices would have been tested thoroughly, maybe it's something with my phone Nov 19 07:39:03 it is verizon... Nov 19 07:39:18 i feel like zynga's with friends games are going to get less and less androidy now that im gone Nov 19 07:39:44 "androidy"? Nov 19 07:40:07 like the back button will probably stop working Nov 19 07:40:09 :P Nov 19 07:40:11 arent zyngas games interactive paypal clients anyhow Nov 19 07:40:16 no? Nov 19 07:40:21 lol Nov 19 07:41:47 interactive paypal clients? how did you come up with that? Nov 19 07:44:16 drawBitmap(bitmap, src, dest, paint); ... what is meant by the destionation rectangle? Nov 19 07:53:54 where its drawn to? Nov 19 08:14:24 interactive paypal clients :) Nov 19 08:22:44 48 x 48 dip is the recomended min button size for making clickable to all users? Nov 19 08:27:20 Hey guys, does anyone know how I can take a String (that is already a byte[]) and turn it into a byte[] without modifiying it's contents at all? thanks! Nov 19 08:27:53 what do you mean by 'a String, that is already a byte[]'? Nov 19 08:28:07 String.getBytes() ? Nov 19 08:28:33 g00s, string.getBytes() unfortunatley modifies it Nov 19 08:28:59 well, if you have the wrong locale or something set, i could see weirdness Nov 19 08:29:05 you must make sure, that string.getBytes() is called with the same encoding, then your string has been encoded, if I understand right, what is in your string Nov 19 08:29:06 timroes, I mean I'm recieving a string that it's contents are a byte array Nov 19 08:29:23 so if you print the string, you will most likely only get garbage out? Nov 19 08:30:05 I'm feeling that you're probably right with the encoding issue, let me give you an example Nov 19 08:31:07 wondering, why you have a byte[] array as a String? Nov 19 08:31:17 Hello world! Does anyone know how to manually create a valid OBB file? (used to have more than 50Mo apps) Nov 19 08:31:21 isn't there any possibility to make this right in the first place Nov 19 08:31:52 timroes, i'm sending a key that's a byte[] and it gets sent via string Nov 19 08:32:26 sending where from what/where? Nov 19 08:32:45 one android phone to another Nov 19 08:33:05 via? Nov 19 08:33:18 bluetooth, network, sms? Nov 19 08:33:24 network Nov 19 08:33:40 so you use somewhere an inputstream? Nov 19 08:35:09 That's not the issue. here's my example, I have the byte[] = [B@2bb50468, the toString of that byte results in the same exact thing (as it should) [B@2bb50468, yet, if it is converted toString(), then getBytes() is performed on it, it is modified to [B@2baf2b30, see what I'm saying? Nov 19 08:35:50 you know that the number behind has nothing to do with the content of the string? Nov 19 08:36:04 That's not the content of your byte array.. Nov 19 08:36:18 It's a new object, that's why the "string" changes Nov 19 08:36:27 it is the hash value, that is somethign about its place in memory, so every instance will put out something else thre Nov 19 08:36:45 Well, that's silly of me.. Nov 19 08:36:49 let me encode that Nov 19 08:36:59 It's late.... Nov 19 08:37:02 and if you use inputstream or outputstream somewhere (and might wrap it inside a bufferedreader/writer you should definately not send strings Nov 19 08:37:13 but these all have methods to write byte[] directly Nov 19 08:38:43 I'm not calling any input/buffered/anything like that Nov 19 08:39:02 so how do you send it? Nov 19 08:39:18 datagrampackets Nov 19 08:39:48 okay Nov 19 08:40:03 they have a setData(byte[]) method that let you set the byte array as data Nov 19 08:40:23 i don't even know how you got the string into a datagramPacket, since i didn't know they have methods to transfer strings :) Nov 19 08:40:50 or do you set the byte[] and just was confused by the toString output? Nov 19 08:40:56 They're actually quite handy :) Nov 19 08:41:10 When a style is like android:style="?xxx" where does the ? point it too? Nov 19 08:41:41 tim, brb Nov 19 08:41:54 s/android:// Nov 19 08:41:59 but it points to a theme attribute Nov 19 08:42:03 ahh thanks Nov 19 08:42:09 e.g. ?attr/textViewStyle Nov 19 09:04:15 Does anyone know how to manually create a valid OBB file? (used to have more than 50Mo apps) Nov 19 09:12:38 Tr4X: you've read http://developer.android.com/guide/google/play/expansion-files.html right? Nov 19 09:16:30 Tr4X: you've read http://developer.android.com/guide/google/play/expansion-files.html right? Nov 19 09:18:41 Leeds : yes of course, but the only way explained is to upload my files on the Google Play, and so have a already configured app, but since my app is currently work in progress, it's for testing purpose, I don't want/need to push my files on the google play... Nov 19 09:19:18 I assume there must be a way to create those obb files by myself, on my computer Nov 19 09:19:48 "Each expansion file you upload can be any format you choose (ZIP, PDF, MP4, etc.)." Nov 19 09:20:23 http://developer.android.com/guide/google/play/expansion-files.html#Testing Nov 19 09:20:25 meh Nov 19 09:20:28 Yeah, but the google play automatically create an obb file, right? Nov 19 09:20:28 * Leeds afk Nov 19 09:21:02 I suppose I'm missing a point, I just don't know what... Nov 19 09:22:27 Tr4X: there's no special obb file format, you can use whatever fileformat you want Nov 19 09:23:48 hi. can the Toast object be defined in xml? Nov 19 09:24:38 the string can … Nov 19 09:28:37 Tr4X: You can upload whatever file you want.. It's renamed to something.something.obb on the device, but it's still the same file Nov 19 09:28:43 There's no special packaging going on Nov 19 09:37:01 SimonVT : ok, I was assuming that obb files were some kind of file you can mount at launch, givin you the ability to browse it as a folder tree Nov 19 09:48:07 Nope.. obb means opaque binary blob, which is exactly what the file is to android. It doesn't care about the format, it just standardizes the naming Nov 19 09:51:50 Ok then, seems more clear, but what is the supposed used of mountObb in the StorageManager? Does it just make the file available for the app? Nov 19 09:54:27 I have no idea Nov 19 10:01:44 SimonVT : thanks for your help ;) Nov 19 10:18:53 can somebody give me advice with the active scaning interval of accesspoints? i would like to know where and how i can change the wireless lan active scaning behavior of my mobilephone Nov 19 10:30:46 When I have an adapter with a constant number of data set objects, where some of the object's fields will change based on user input, can I just do mObject.someValue = newValue; and call notifyDataSetChanged on the adapter to update the listview to show these changes? Nov 19 10:31:37 lasserix: if your adapter hold references to these objects, yeah Nov 19 10:31:48 cool thanks Nov 19 10:43:35 This is another more general question, but I was following some code on how to generate row type objects for a customized list view adapter. Each row type (ie, header, option) was declared as a static inner class in the example code. Then a List was used to add as many as needed (add.headertype, add.option add option, add option) which is passed to the adapter as it's data set. My Nov 19 10:43:35 question is just how does this work since if they are static classes, isn't each time new HeaderType / new OptionType is called it is just refering to the same static instance? Nov 19 10:44:45 Does this work since even though they are the same instance (for either type, however many are instantiated) they are distinct in the List containing them? Nov 19 10:49:54 lasserix: you may be confusing static member with static class Nov 19 10:50:07 static class is a class declared as inner class that doesn't actually hold a reference to the outer class. Nov 19 10:50:24 so it has no real inner-outer relationship at all. The keyword 'static' is lamentably very overused. Nov 19 10:50:37 A static inner class might as well have been in its own java file Nov 19 10:50:55 Ahh okay, thanks does make sense Nov 19 10:50:56 Thanks Nov 19 10:51:33 i like nested classes, saves having to make/pass around references Nov 19 10:52:00 sure, nested classes are convenient as hell when you need something that's almost like a lambda with captured environment Nov 19 10:52:20 SimonVT: not if it is a private inner class Nov 19 10:52:37 the feature that takes java from "completely unusable" to "actually it's pretty nice" for me. Nov 19 10:52:47 That is true Nov 19 10:53:10 passing around object references is one of the things that bugs me the most Nov 19 10:53:45 DR01D-Engineer: to be sure, in the background compiler passes the outer class instance as the first argument to the constructor Nov 19 10:53:52 so it's still happening, you just don't have to see it Nov 19 10:54:04 yeh its automatic :) Nov 19 10:54:41 it's kinda lamentable, though. For instance, private variables of the outer class aren't actually accessible to the inner class. Rather than generate an error about it, an accessor is synthesized to allow it Nov 19 10:55:17 there isn't quite enough runtime support for inner classes for my liking. I'd also like to share the variables that aren't 'final'. Nov 19 10:55:22 i see Nov 19 10:55:28 though that's not very important Nov 19 10:55:50 if you need mutable local, you can always do Object[] fooHolder = new Object[1] { foo }; and then just mutate fooHolder[0] instead Nov 19 10:55:51 hi all. I am going through replica island code and have some queries. Nov 19 10:56:07 is anyone familiar with the replica island code ? Nov 19 10:56:37 but not even having read-only access to non-final variables is kinda a bummer. I hate having to pepper 'final' around Nov 19 10:59:09 yeah Nov 19 10:59:12 it somehow feels dirty Nov 19 10:59:46 right now im just happy if i can hack something together that actually works Nov 19 11:00:37 right now I'm going crazy because Google is over a week late with the monthly payout report that I need to do my taxes which I need to file next week, and if I miss that I get fined a couple of thousand bucks. Nov 19 11:00:40 java has this awkward tension between literal "what you write is what actually happens" and "we need this abstraction to work and are willing to generate whatever coe to make it so" Nov 19 11:01:03 can you guys check your accounts and see if your payout reports for october are present yet ? Nov 19 11:01:51 if you havnt been paid yet, cant you just leave that income out of your tax report? since you havnt received it yet you dont need to declare it? Nov 19 11:02:16 nope Nov 19 11:02:20 No payment report here, Chainfire Nov 19 11:02:29 the sales are from october, regardless if I had the money yet or not Nov 19 11:02:42 Can't you generate a report from your merchant account? Nov 19 11:02:48 I don't actually have to pay the taxes before I get the money... but I do need to report it. Nov 19 11:02:49 On google checkout Nov 19 11:02:55 those are bugged, unfortunately Nov 19 11:02:57 ahhh i see Nov 19 11:03:12 the preliminary reports do not do the currency conversion correctly Nov 19 11:03:21 only the final one has the correct data Nov 19 11:03:27 Ah :/ Nov 19 11:03:46 believe me, I've discussed this stuff with Market guys soooo many times. They just don't get it, I finally just gave up trying to get it fixed ... Nov 19 11:04:41 i think if you just report the data you have and state it is not entierly accurate yet. or ask the tax guys i guess Nov 19 11:04:57 DR01D-Engineer done several times Nov 19 11:05:31 dont take my word for it, but i have read a couple of times that tax people dont usually fine you unless you purposley try to deceive them Nov 19 11:05:50 you don't live where I do Nov 19 11:06:04 probably true Nov 19 11:06:20 if they don't have that report (also validated by a real accountant) on the 1st of next month, I'll automatically get fined. There's no human in between. Nov 19 11:06:32 that sucks Nov 19 11:06:33 If I don't report these sales because I don't have the data, that's fraud, resulting in an even bigger fine. Nov 19 11:06:39 where do you live? Nov 19 11:06:43 Netherlands Nov 19 11:06:53 didnt know they were so anal there Nov 19 11:06:58 they are Nov 19 11:07:09 Shouldn't take google this long to generate a report Nov 19 11:07:38 ask your accountant or a lawyer Nov 19 11:07:41 I can get the accountant to make a preliminary report and submit that, but that'll take the accountant several hours to do now + correct next month, at a nice hourly rate ... Nov 19 11:07:49 ahhhh Nov 19 11:08:17 and it's just a friggin' tiny report Google needs to run once every month - it isn't rocket science, yet somehow every few months it gets screwed up Nov 19 11:08:29 and for the money Google gets from me every month... that's just insanity. Nov 19 11:09:02 Anyways, sorry to bother you all with this rant, I'm going to do some other work and hope the report shows up some time later today... (it has to my knowledge never shown up on any other day than monday) Nov 19 11:09:42 no problem. good luck :) Nov 19 11:13:19 * g00s isnt sure what to trust as far as google reports Nov 19 11:13:44 i think every month this year, some stats in the console were broken Nov 19 11:14:07 they monthly payment reports match to what gets deposited on my account to the cent Nov 19 11:14:20 which is good enough forme Nov 19 11:39:54 hi guys, i see a line saying 'ant debug' somewhere and i can't seemd to find ant anywhere Nov 19 11:42:19 You download ant seperately Nov 19 11:42:55 The docs on building from commandline tell you that Nov 19 11:47:27 'ello Nov 19 11:48:16 http://pastebin.com/fSUmYNhb <-----this is the code that I use to upload images to amazon's S3 service... it works, but now I am trying to implement a progress bar... is it possible with that approach? Nov 19 11:48:21 Or do I need to change it completely? Nov 19 11:51:51 Tee_Pee i'm having that same problem as well Nov 19 11:52:07 i'm thinking constantly returning stuff in another thread Nov 19 11:52:14 hmmm Nov 19 11:52:37 or pass a listener along with it Nov 19 11:53:38 http://stackoverflow.com/questions/254719/file-upload-with-java-with-progress-bar Nov 19 12:00:33 Will TimeUnit work on froyo devices? Nov 19 12:00:35 nm Nov 19 12:18:54 hmm.... mNotifyManager.notify(ID, mBuilder.build()) Nov 19 12:18:59 what exactly is that ID parameter? Nov 19 12:19:12 I thought it was the ID of the notification, but that doesn't seem to be the case Nov 19 12:19:35 does anyone know why my mediarecorder dies if I .setAudioEncoder(HE_AAC) instead of .setAudioEncoder(AAC) ? Nov 19 12:32:54 hmm... not sure if anyone can help me with this but here goes... Nov 19 12:33:21 I have a custom MultipartFormEntity which I use to count the bytes transfered and update a progress bar notification Nov 19 12:33:32 the updating part happens in a listener, like this: Nov 19 12:34:09 http://pastebin.com/jtzUSBeB Nov 19 12:34:25 however, the entire notification drawer becomes quite choppy Nov 19 12:34:28 during the upload Nov 19 12:34:55 I suppose it's because I update that once for every byte transfered... Nov 19 12:35:00 right Nov 19 12:35:05 I probably ought to throttle it. Nov 19 12:35:06 try limiting updating to once per second Nov 19 12:48:13 Hi! How to remove unneeded time zones from joda-time to speed up its load? Nov 19 12:48:34 And how guess that I do not need them? Nov 19 12:56:01 Tee_Pee: what made you think it isn't? Nov 19 12:59:08 The fact that most documentation said that the ID is "unique to my application", made me think it's some sort of global ID for the app... I was wrong though Nov 19 13:05:02 It is the id of the notification tho, and it is unique to your application Nov 19 13:06:18 aye, had a brain fart... Nov 19 13:06:29 anyway, this works well, and it was surprisingly straightforward and bug-free Nov 19 13:06:55 Although I am probably putting my foot into my mouth right now Nov 19 13:13:08 does anyone know why my mediarecorder dies if I .setAudioEncoder(HE_AAC) instead of .setAudioEncoder(AAC) ? Nov 19 13:28:05 this is silly... I want my notification to call a method when it's tapped... do I really need to jump the hoops with pending intents or is there some sort of simple "onClickListener" for this? Nov 19 13:28:34 pending intents seems to be the way to go Nov 19 13:31:39 As a notification is quite seperate from your applicatino Nov 19 13:32:21 hello Nov 19 13:32:42 for some reason, my model will render on the Samsung Galaxy S3 but not the Samsung Galaxy Note Nov 19 13:32:48 any ideas? Nov 19 13:32:53 using opengles2 Nov 19 13:33:51 i'm having some trouble getting the android sdk to work with intellij's ide. i enter the path to the sdk but get told 'the selected directory is not a valid home for android sdk' anyone else had this problem? Nov 19 13:34:12 Have you tried enclosing the path ni "" Nov 19 13:34:21 sometimes wierid chars and spaces screw up the path Nov 19 13:34:52 sounds familiar - intelliJ uses the term sdk a couple different ways ... is it looking for the Java? Or the Android? Nov 19 13:36:17 for the android sdk. the android installer told me that the SDK path is c:\users\etc\AppData\Local\Android\android-sdk Nov 19 13:37:07 Did you check that it's actually the path? Nov 19 13:37:13 ah - mine installed under program files (x86) Nov 19 13:37:23 It sounds unlikely it's put it there Nov 19 13:37:37 users/etc could be a user only install not computer wide Nov 19 13:38:07 well i checked that the directory exists, and there is a bunch of stuff there, but i'm not sure if it's the right stuff :p Nov 19 13:38:17 yeah etc is my username Nov 19 13:38:42 normally it should be c:\program files\android i guess but that directory doesn't exist Nov 19 13:39:00 How do you have a button, wrapping content for both width and height, set in the center_horizontal in a linear layout in code? Nov 19 13:39:33 nm Nov 19 13:39:48 and intelliJ may be asking for the java android SDK (or something that confused me during my install) did you try the Java directory? Nov 19 13:41:54 nope can't see any android related stuff in the java directory Nov 19 13:42:24 try selecting the directory anyhow - this is the stuff that got me confused with their terminology Nov 19 13:42:25 http://www.jetbrains.com/idea/webhelp/enabling-android-support.html Nov 19 13:43:14 out of curiousity then is this what the android sdk directory should look like? http://mysticpaste.com/view/oVBUixlMTz Nov 19 13:44:21 yep - looks like mine android SDK Nov 19 13:45:18 strange then Nov 19 13:46:04 Anyone here ever work with expansion files? Having a hard time trying to figure out how to read an mp4 from my bob file using the APEZProvider Nov 19 13:48:34 capella: thanks for your help - apparently i had to click 'show hidden directories' for it to work :p Nov 19 13:48:47 aha !!! B) Nov 19 13:51:22 like this http://www.jetbrains.com/idea/webhelp/select-path-dialog-2.html ?? (for my info) Nov 19 13:53:45 * capella goes back to looking for someone with a GS3 L710 Nov 19 13:58:11 Hey there! Nov 19 13:58:36 How do I fire a notification from a service in such a way that it doesn't turn invisible when the service goes into background? Nov 19 14:01:26 baptistem: haha Nov 19 14:01:40 So whoes going to be a boss and help me make an android ap. Nov 19 14:03:36 you might need to try a more direct question ... ? Nov 19 14:04:25 i know nothing of coding but i want to make a game that people will buy Nov 19 14:04:40 you're going to want to learn to code if you're building a game Nov 19 14:04:45 heh - dont we all Nov 19 14:04:52 like c+# and c Nov 19 14:04:53 + Nov 19 14:04:55 ? Nov 19 14:05:04 I'm having trouble with my SQLite db Nov 19 14:05:05 android = java Nov 19 14:05:17 java ok Nov 19 14:05:18 I want to sort by one column divided by another Nov 19 14:05:41 Buy an Android gaming book? Nov 19 14:05:51 and using SELECT col1/col2 AS col3 ORDER BY col3 is not working Nov 19 14:06:08 i work best with a teacher Nov 19 14:06:09 I once owned a "Developing games with J2ME" book or something like that. I'm sure there are books that are the same for Android. Nov 19 14:06:13 someone who can guide me Nov 19 14:06:20 beggining android games Nov 19 14:06:26 I take about 50$ per hour... Nov 19 14:06:30 insert $3.50 :P Nov 19 14:06:32 i forgot wich android book i was going to go for Nov 19 14:06:43 heh Nov 19 14:06:46 UnbertKant: damn, going half price? You undercutter! :P Nov 19 14:06:55 hmmm Nov 19 14:07:08 most of the things you can do with OpenGL on a PC you can do with OpenGLES on Android Nov 19 14:07:45 Oh, didn't see your price, p_l . Let's form a cartell and both take 100$ ;) Nov 19 14:08:22 UnbertKant: wasn't $100 kinda the "go to" price for consultants? :P Nov 19 14:08:29 You could just charge for an Android game developer workshop Nov 19 14:08:35 viral: get a java development IDE like intelliJ... build a example game or simple app that comes with it - try it on your phone Nov 19 14:08:36 get one or two teachers Nov 19 14:08:36 modify / rinse and repeat Nov 19 14:08:51 Viral if you are planning on simply making money just hire someone flat out through nda, if you want to learn just know it'll take time before you can turn something out espicially a game Nov 19 14:09:19 well Nov 19 14:09:27 if i can get money first it be good -_- Nov 19 14:09:33 pay someone Nov 19 14:09:38 probly Nov 19 14:09:38 Viral: get a day job Nov 19 14:09:43 nah man Nov 19 14:09:44 Sounds like a kickstarter project ;) Nov 19 14:10:03 no one will help you if you wont help yourself Nov 19 14:10:09 No, please don't do this as a kickstarter project... Nov 19 14:10:10 do you have a phone? Nov 19 14:10:19 i dont have phone Nov 19 14:10:28 odear Nov 19 14:10:34 Viral: fire up an AVD Nov 19 14:10:47 that sounds adcvanced Nov 19 14:10:49 but get the right SDK first Nov 19 14:10:55 and the IDE Nov 19 14:10:55 Viral: it's not Nov 19 14:10:57 Or maybe do it as an honest kickstarter project. "I want to create the best android game, I have no skills and no hardware, please give me money so I can pay 100$/h for teachers etc." Nov 19 14:11:14 Viral: go through the getting started tutorials on the android dev site Nov 19 14:11:17 well Nov 19 14:11:19 under the proper OS Nov 19 14:11:25 Anyone here ever work with expansion files? Having a hard time trying to figure out how to read an mp4 from my obb file using the APEZProvider Nov 19 14:11:34 by the way the real problem with games is that for the most part they are all aimed at toddler level of playing ability, if you are going to make a game make something new on the landscape so games in general can get better Nov 19 14:11:48 i dont need phone or skills if you do it , i just want simple game like snorting cocain or something off an iphone so i can get paid Nov 19 14:11:55 preferably JB Nov 19 14:12:18 Viral: most app developers don't make much Nov 19 14:12:20 thats atleast whats in my head Nov 19 14:12:27 but there is already a caocain app Nov 19 14:12:30 Viral it's people like you that are the reason kim kardashian's ass is more important than a successful international space launch Nov 19 14:12:31 ;p Nov 19 14:12:32 brb Nov 19 14:12:37 so will my new app not be popular? Nov 19 14:12:38 if you're looking to make money get a real job Nov 19 14:12:57 hahahha Nov 19 14:13:00 not to me hers isnt! http://apod.nasa.gov/apod/astropix.html Nov 19 14:13:11 people like me are one in billions Nov 19 14:13:17 and yet im so poor Nov 19 14:13:19 i dont get it.. Nov 19 14:13:26 lol Nov 19 14:13:37 :/ Nov 19 14:13:41 srsly Nov 19 14:13:44 ah viral - there more like you than you know Nov 19 14:13:53 Viral: acquire a skill Nov 19 14:13:54 viral go troll the iphone room now Nov 19 14:14:08 im not trolling Nov 19 14:14:09 should i shut down the emulator every time i rebuild my code? Nov 19 14:14:12 too much cocaine :) Nov 19 14:14:19 Viral: Why are people like you one in billions? Nov 19 14:14:20 matthewt: no, no, and no Nov 19 14:14:20 matthewt: probably not Nov 19 14:14:28 right oh Nov 19 14:14:31 Hodapp: LOL Nov 19 14:14:31 if you are not trolling you are arrogant and an idiot Nov 19 14:14:38 droid Nov 19 14:14:40 please Nov 19 14:15:05 unless he is talking about being one specific combination of nature and nurture out of billions other permutations on this planet\ Nov 19 14:15:08 lets be friends Nov 19 14:15:26 ah yes yes nature nurture Nov 19 14:15:41 anyways Nov 19 14:15:45 does anyone know a good book/website for android dev? Nov 19 14:16:10 Hello Android is a decent starter book Nov 19 14:16:16 matthewt: developer.android.com Nov 19 14:16:27 thank you Nov 19 14:16:54 hmmm Nov 19 14:16:58 so Nov 19 14:17:24 basicly Nov 19 14:17:29 so, can anyone help me with database problems? Nov 19 14:18:15 if i pay you Nov 19 14:18:17 25$ Nov 19 14:18:24 you make me android app? Nov 19 14:18:30 :D Nov 19 14:18:42 matthewt also http://www.mkyong.com/tutorials/android-tutorial/ is kinda cool Nov 19 14:18:43 that would get about 1 hours work Nov 19 14:18:48 Viral: 25$/hr garanteed 40 hrs/week of work? Nov 19 14:18:58 thanks capella Nov 19 14:19:03 that's about half an hour of work for me Nov 19 14:19:24 B) Nov 19 14:19:36 is your last name lee Nov 19 14:19:39 just asking Nov 19 14:20:10 Ill send you an app for 25$ source code and everything - tiny little game to play Nov 19 14:21:29 REALLY *_* Nov 19 14:21:41 it's called: TAP THE BUTTON Nov 19 14:21:53 sure - it has no commercial value but it works :P Nov 19 14:22:00 * Ge0rG once got 25$ for an OSS app he wrote... just to publish it on the market Nov 19 14:22:28 yep - i ported an old Apple II BASIC app to JAVA for the learning experience Nov 19 14:22:34 does anyone know if i can specify bit / samplingrates for the MediaRecorder when recording with HE_AAC or AAC in general? Nov 19 14:22:35 If you pay in Bitcoin in advance... Nov 19 14:22:38 I have an app on the market, I have made 0$ Nov 19 14:22:45 ... Nov 19 14:23:04 evana whats your app? Nov 19 14:23:11 I have no apps and also made 0$ :P Nov 19 14:23:17 QDB.us Nov 19 14:23:26 lot less effort on my part Nov 19 14:25:05 Anomalous Pomegranate! I love it! Nov 19 14:25:21 I have an unpublished app and made 0$! Nov 19 14:25:42 UnbertKant: that's a lot of trouble for nothing.. Nov 19 14:25:56 * capella goes back to looking for a good copy of his messed up factory apk Nov 19 14:25:59 I have no app and I made enougth (and I have a job ) Nov 19 14:26:00 I've got another one in the works Nov 19 14:26:06 Actually not, it's a teeny tiny app that I wrote for practice, mainly. Nov 19 14:26:15 I've got free time because I'm still a student Nov 19 14:26:22 evana: the app is meh.. but the name is great Nov 19 14:26:26 I make my money the conservative way by working in an office. Nov 19 14:26:29 Vitux: thanks Nov 19 14:26:35 * capella has free time cause mozilla doesnt pay me Nov 19 14:26:55 I don't start my real job until January Nov 19 14:26:56 Makes me want to make an app called pamplemousse :) Nov 19 14:27:19 ahh.. where are you starting in jan? Nov 19 14:27:26 large software company Nov 19 14:27:45 cool Nov 19 14:27:58 If it's google tell them they should fix all the bugs please ;) Nov 19 14:28:11 I'm sure they're working on it Nov 19 14:28:16 I'm not. Nov 19 14:28:18 FIX ALL THE BUGS ! Nov 19 14:28:23 Yeah I've mostly been dabling in the android sdk for about a year on and off... haven't learned a damn thing yet :P Nov 19 14:28:28 not putting enough time into ti Nov 19 14:28:30 it.. Nov 19 14:29:00 I spent my summer internship building an app Nov 19 14:29:02 I learned a lot Nov 19 14:29:02 Nah.. just fix 2 bugs and label the rest as easter eggs Nov 19 14:29:04 How to I fire a notification in such a way that it doesn't disappear when the service that fired it moves into background? Nov 19 14:29:10 cool Nov 19 14:29:23 my main issue is I can't think of anything productive or even non productive to do.. Nov 19 14:29:40 http://pastebin.com/xVRkQ8Zs Nov 19 14:29:48 despite the auto cancel, the notification persists after being clicked on Nov 19 14:29:50 any idea? Nov 19 14:30:31 Vitux: Look at your life, notice an activity that you think will look oldfashioned to future people and write an app for that ;) Nov 19 14:30:34 Tee_Pee: in your builder try .setAutoCancel(true) Nov 19 14:31:03 just about everything I do is old fashioned it would seem.. Nov 19 14:31:09 ie: IRC... :\ Nov 19 14:31:19 Vitux: build a better IRC app Nov 19 14:31:26 I'm happy to see IRC is still thriving Nov 19 14:31:29 No, build an XMPP app that is good at MUC. Nov 19 14:31:34 evana - didn't help... but gimme a minute... Nov 19 14:32:47 make a poser app for airheads that want to show off but don't know how to use a smartphone Nov 19 14:33:04 Ooowww I can probably do that Nov 19 14:33:18 it just pops up a lot of stuff to make it look like they are busy doing something Nov 19 14:33:29 just an app that shows all running apps in top on a terminal instead of the task manager :P Nov 19 14:33:38 evana - nope, didn't work :( Nov 19 14:33:57 Tee_Pee: so what exactly is the problem? Nov 19 14:33:59 in colour! Nov 19 14:34:37 feed them insts like "push 5" now push "72"... now hold it up to yuor ears for 14 seconds.... ok say ishkabibble.... stare intently at the screen for 9 seconds Nov 19 14:34:43 I click the notification and it doesn't disappear... as simple as. Nov 19 14:35:47 capella: I realize you're saying it as a joke but I bet people would use it Nov 19 14:35:57 heh Nov 19 14:35:59 you could call it the Productivity Killer App Nov 19 14:36:05 yes !!!!! Nov 19 14:36:11 PKA Nov 19 14:36:13 yes I see most people fiddling with their phone just to pose Nov 19 14:36:16 or PKA to be really cool B) Nov 19 14:36:19 it would sell big Nov 19 14:36:33 shmooz: that's what phone solitaire is for Nov 19 14:36:37 Sorry boss.. I'm busy with my PKA Nov 19 14:36:46 stop - it hurts Nov 19 14:37:23 get Viral back on the line - we've got his killer app Nov 19 14:39:27 yeah have a fake conversation app that you can make it call you , so you can look busy when you want Nov 19 14:39:53 nah it's part of the PKA Nov 19 14:40:05 ill hack him one for $25 Nov 19 14:40:18 the app will make your phone ring randomly and whisper sweet nothings to you for about 20 seconds Nov 19 14:40:39 Sorry.. PKA is calling.. I gotta take this. Nov 19 14:40:42 then walk off nodding Nov 19 14:41:23 looks like you're busy but just really playing elevator music Nov 19 14:41:25 Also will have a builtin minigame with a little square bouncing around and you have to keep tapping it.. making it look like you're trying to do something important on your phone Nov 19 14:41:58 then you can tell people>. Yeah man my PKA is up to about 20 this week Nov 19 14:42:15 you can do better, show like fake stock feeds and market news Nov 19 14:42:32 well yeah.. it would have about 10 different functions within the app Nov 19 14:42:34 people will see the bouncing square and catch you posing Nov 19 14:42:40 because you can't kill productivity doing one thing alone Nov 19 14:43:14 and there's a failsafe built into it that you can just tap the bottom of the screen and it switches to graphs Nov 19 14:43:53 I'd make such a thing.. but I already have some PKA built in... it's called procrastination... Nov 19 14:44:49 call it 2busy4u Nov 19 14:46:02 PKA is more catchy... Cause you can use the letters for something else.. like Primary Key Authority or something Nov 19 14:48:31 or you can just use facebook on the phone of course... Nov 19 14:49:05 but everyone recognizes facebook.. and they'll know right away you're f'n around Nov 19 14:49:40 o/ Nov 19 14:50:11 so i pay you 25$ you slave day and night to make me an app so i can move Nov 19 14:50:17 and get paid Nov 19 14:50:49 I'd rather go see a dominatrix Nov 19 14:51:03 I think they are more expensive Nov 19 14:51:23 i pay you to go fullfill your primal needs Nov 19 14:51:44 just need to steak 10 days to make me an awsome app Nov 19 14:52:55 HELPING ME IS HELPING THE UNIVERSE Nov 19 14:54:07 your caps button looks broken Nov 19 14:54:19 Viral: what is your country of origin Nov 19 14:54:29 USA Nov 19 14:54:48 Viral: state? Nov 19 14:54:53 Florida Nov 19 14:59:08 i just got a cool app game idea Nov 19 14:59:18 its pretty cool Nov 19 15:00:01 Viral: build us a proof of concept and we'll give you feedback Nov 19 15:00:29 i know its good -0- Nov 19 15:00:43 I find the screen too small for games, only games I like are Marble Maze and maybe tetris Nov 19 15:00:57 i find Nov 19 15:01:01 marble maze rocks use to play that as a kid Nov 19 15:01:02 touch screens suck for most games Nov 19 15:01:08 I <3 my N7 Nov 19 15:01:09 ya but kids dont know that Nov 19 15:01:27 FF III on the N7 is pretty amazing Nov 19 15:01:28 yeah the app is just like the classic, it has all the same mazes as the original and then more Nov 19 15:01:31 kids should go get a gameboy dmg Nov 19 15:01:48 well, its more of making game FOR TOUCHSCREENS, which most ppl dont seem to understand for some reason Nov 19 15:01:57 and when the ball hits walls your phone vibrates and makes it feel real Nov 19 15:02:00 is there any GreenDAO channel? Can't find one Nov 19 15:03:48 I have to go to class now Nov 19 15:03:54 I hate senior design Nov 19 15:04:29 evana graduate :P Nov 19 15:04:34 building grammas? Nov 19 15:05:04 I've got 2 weeks of class left and then I'm done Nov 19 15:05:16 nice! Nov 19 15:05:17 congrats Nov 19 15:05:25 do you guys write xml layouts by hand or do you use a graphical tool? Nov 19 15:05:31 hand Nov 19 15:05:37 like a boss Nov 19 15:05:39 hand Nov 19 15:05:41 graphical tool Nov 19 15:05:41 lol Nov 19 15:05:42 why? Nov 19 15:05:42 feet Nov 19 15:05:49 both Nov 19 15:05:50 grpahical tool with manual editing Nov 19 15:05:57 screw 100% by hand :| Nov 19 15:05:57 Jug6ernaut++ Nov 19 15:06:43 the graphical tool doesn't easily let you place stuff around unless you know the layouts well Nov 19 15:06:56 its better to learn to do it from code imo Nov 19 15:07:02 what's the graphical tool you use? Nov 19 15:07:36 in eclipse, I avoid using the graphical UI designer Nov 19 15:07:36 notepad++ Nov 19 15:07:45 w/e the one that comes with android is called, after recent updates its really not to bad. Nov 19 15:08:02 in the EditText how can i make it not null from xml? Nov 19 15:08:04 Ivru lol Nov 19 15:08:32 Jug6ernaut: axel? Nov 19 15:08:42 no idea what axel is Nov 19 15:08:50 fine ill open eclipse Nov 19 15:09:11 Axel Foley? He's a bad ass cop that doesn't answer to no moan! Nov 19 15:09:12 man! Nov 19 15:09:16 or moan for that matter.. Nov 19 15:09:31 maybe Axel the froggy LOL Nov 19 15:09:41 ding dooong Nov 19 15:09:53 uhuh Nov 19 15:09:56 bamb bamb Nov 19 15:10:06 confusion Nov 19 15:10:18 * Jug6ernaut closes eclipse Nov 19 15:10:27 i was just kidding to get me attention Nov 19 15:10:30 in the EditText how can i make it not null from xml? Nov 19 15:10:50 what do you mean not null? Nov 19 15:11:04 not empty Nov 19 15:11:10 i know ! put something in it ! Nov 19 15:11:11 *grin* Nov 19 15:11:20 ! Nov 19 15:11:44 android:text="" Nov 19 15:11:48 foo.setText("bar"); Nov 19 15:11:58 capella from xml Nov 19 15:11:58 i want the people to write in something before saving the data, it's a must have Nov 19 15:12:00 Jug6ernaut: android:text="@string/title" Nov 19 15:12:19 superlinux-hp: you mean VALIDATION Nov 19 15:12:21 oh - then see your answer Nov 19 15:12:26 shmooz he said "not null" "" is not null :P Nov 19 15:12:32 Snuffel, yes! validation Nov 19 15:12:51 and have a string named 'title' in strings.xml Nov 19 15:12:57 I often seek validation :( Nov 19 15:13:36 cos the edittext has built-in validation for the entry type Nov 19 15:13:52 i think you mean vendication* Nov 19 15:14:43 isnt "senior design" about building old technology? geri-otics? Nov 19 15:14:59 Who wants to help me one on one with an app? cmon we make money Nov 19 15:15:21 Viral... go make your damn app! Nov 19 15:15:28 zing! Nov 19 15:15:32 no one wants to sniff coke with you Nov 19 15:15:58 lets sniff coke in mexico Nov 19 15:16:02 when we done making app Nov 19 15:16:07 the time you wasted in here bugging for help you could of learned how to make it by now Nov 19 15:16:16 * Jug6ernaut just found that intellij has a preset eclipse button configuration Nov 19 15:16:18 thank you jesus Nov 19 15:16:30 it takes like 2 yrs Nov 19 15:16:33 to learn code Nov 19 15:16:37 no.. Nov 19 15:16:37 yes it does :) Nov 19 15:16:44 more like 2 minutes :S Nov 19 15:16:54 "has a preset ..." Nov 19 15:16:55 maybe 2 weeks Nov 19 15:16:56 maybe Nov 19 15:17:05 it takes 2 years to become a guru maybe... Nov 19 15:17:10 maybe Nov 19 15:17:16 takes maybe an hour to learn basics... Nov 19 15:17:24 it'll take you maybe a week to do what you want.. Nov 19 15:17:30 Vitux while i agree, i disagree Nov 19 15:17:39 stackoverflow says different Nov 19 15:17:46 he wants to make an app that you can snort coccain.. Nov 19 15:17:48 is the layout animation considered deprecated? Nov 19 15:17:50 a week.. Nov 19 15:17:59 nah scratch that cocain app there is already one Nov 19 15:18:04 i got a better idea now Nov 19 15:18:06 a-a Nov 19 15:18:09 there you go... less than a week Nov 19 15:18:11 :P Nov 19 15:18:18 IntelliJ doesn't seem to know its properties, nor does it match with my text Nov 19 15:18:23 (from a book) Nov 19 15:18:34 huh? Nov 19 15:19:23 but it's the most intelligent! Nov 19 15:19:26 eg, IntelliJ claims it needs layout_height set, while the book doesn't mention it Nov 19 15:19:43 Vitux: very helpful there Nov 19 15:19:45 well that setlles it Nov 19 15:19:48 I try :) Nov 19 15:20:03 try it without the height... see if it defaults to the project.. Nov 19 15:20:27 or just put one in.. Nov 19 15:20:35 or what's the "best" way of doing an alpha transition? Nov 19 15:20:36 Snuffel, so this means i must validate it myself? Nov 19 15:21:38 That noone is gonna do it for you Nov 19 15:22:18 bbl... phone Nov 19 15:24:29 Anyone with GreenDAO experience? I can only see toOne and toMany relations. Are these manyToOne and manyToMany? And if so, how do I map OnetoOne? Nov 19 15:24:47 I just accidentally discovered Dolan comics Nov 19 15:24:52 what happened, world? Nov 19 15:24:58 where did we go wrong? Nov 19 15:26:25 pst, nobody tell him about electric retard. Nov 19 15:26:32 ooooh shit, mistake. don't even google it. Nov 19 15:30:09 sonOfRa: I know electric retard, but they at least go over the edge Nov 19 15:43:37 When you call onStopService should you service call it's onDestroy method? Nov 19 15:46:49 s/you/your Nov 19 15:47:20 oh Nov 19 15:47:21 yes Nov 19 15:47:22 it did Nov 19 15:47:24 nvm Nov 19 15:47:25 Ankhwatcher: id imagine onstopservice would cause ondestory to later be called Nov 19 15:47:59 lasserix: I had my logic backwards on the off switch, once it turned it back on it called onDestroy Nov 19 15:50:13 hey guys Nov 19 15:50:13 https://github.com/JakeWharton/ActionBarSherlock/issues/703 Nov 19 15:50:30 JakeWharton doesn't hang out here anymore =( Nov 19 15:51:31 meetoman speculation: he's working on porting abs to jelly bean Nov 19 15:52:30 Most likely wont happen Nov 19 15:52:37 simpler speculation: he's working... Nov 19 15:52:56 ok Nov 19 15:53:15 Fact: He has been at some android conference in europe, and is not yet home Nov 19 15:53:35 oh, devoxx? Nov 19 15:53:59 That might be it, I don't think I got the name Nov 19 15:54:03 It was in belgium I believe? Nov 19 15:54:26 Romain is/was there Nov 19 15:54:27 Yeah, belgium Nov 19 15:56:27 anyone using linux here? Nov 19 15:57:00 lol no Nov 19 15:57:57 And meetoman, not a lot we can do with that stacktrace.. From the look of it, it's a broken device Nov 19 15:58:56 i mean i have an instability in the graphical layout editor Nov 19 16:00:01 if i double click on an item on the layout, it makes the whole Xorg crash dump Nov 19 16:00:13 and Xorg restarts Nov 19 16:05:04 i am on linux debian. when i double click an item in the android graphical layout, Xorg crashes and restarts itself. i donno why? Nov 19 16:06:43 Android is getting more and more rushed, it seems. http://www.bbc.co.uk/news/technology-20392386 Nov 19 16:07:02 Hey I just saw that in another channel. Nov 19 16:07:22 Ever since Honeycomb, it feels like they're just delegating important stuff to interns and rushing the latest version out without proper testing. Nov 19 16:07:25 * pragma- grumbles. Nov 19 16:08:01 pragma-: they've outsourced testing to nexus owners =) Nov 19 16:10:17 And everyone wonders why the carriers are still sticking with 2.x ... Nov 19 16:11:30 Quick question Nov 19 16:12:12 I am installing my app on a few devices for testing, and I'd like to implement a log dump mechanism, which would give me a log.txt on the device if an error occurs Nov 19 16:12:34 so that if someone comes to me tomorrow and tells me he had an error I can just open up that log and check it Nov 19 16:13:31 hi, when building aosp and running android I get an error regarding 32bit swt libs not loadable in a 64bit JVM. anyone encountered that before? Nov 19 16:13:53 Why not use something like acra and get the logs instantly Nov 19 16:14:53 acra? Nov 19 16:15:38 (this is where you google acra) Nov 19 16:16:11 It's hypoallergenic! Nov 19 16:16:18 Fuck i wish i was a genius like you guys. Nov 19 16:16:55 "(this is where you google acra)" <---I did :p Nov 19 16:18:25 then ide have a big dick Nov 19 16:19:06 SimonVT, what do you mean broken device? Nov 19 16:19:34 should i genrally call super.methods() before i do my own stuff, or after? Nov 19 16:19:40 It does not work as you'd expect Nov 19 16:19:44 It's resource system is broken Nov 19 16:19:52 is there anyway to fix it? Nov 19 16:20:04 or should I put a try/catch? Nov 19 16:20:13 and just finish the application? Nov 19 16:20:56 regedit: the general pattern is call super before you do your stuff in setup flows, and after in tear down flows Nov 19 16:20:59 it's one of the most common problem on crash report now Nov 19 16:21:24 evancharlton: makes sense. thanks! Nov 19 16:21:35 @Override public void onResume() { super.onResume(); /* my stuff here */ } @Override public void onPause() { /* my stuff here */ super.onPause(); } Nov 19 16:21:44 i see Nov 19 16:21:49 If it's specific devices, you really need to have access to one of the devices to find out why it's breaking Nov 19 16:22:55 SimonVT, my main device is one of those device, Droid 3 Nov 19 16:23:00 i can't replicate it on my device Nov 19 16:24:22 Are you running the stock rom? Nov 19 16:24:32 yup, stock Nov 19 16:24:36 I did not even root it Nov 19 16:26:38 And you're running the same release builds as your users? Nov 19 16:27:11 yes Nov 19 16:27:27 exactly the same, in fact I just downloaded it from the market Nov 19 16:27:37 hello all Nov 19 16:28:50 I have a question. 1. Is it possible to show a horizontal picture in a list view entry above the actual text ? 2. If this is possible, how large do I make this picture (if I design it myself) so that it looks good an all devices Nov 19 16:29:28 in fact, I own 2 out of 6 devices that's crashing Nov 19 16:31:37 Well, I don't know Nov 19 16:32:23 meetoman: complete rebuild time :) Nov 19 16:32:24 I m just gona put a try/catch around it Nov 19 16:32:41 lasserix, its in release versino, I cleaned it up so many times Nov 19 16:33:06 let me just unlink and link back, see what happens Nov 19 16:33:08 I doubt you'd be able to do that Nov 19 16:33:11 i am joking, that is a punishment suitable for unbehaved offspring Nov 19 16:33:30 iirc it's the background drawable Nov 19 16:33:52 I joke because I am learning java as I go and every so often, whatever project I'm working on, i'll spend the day or two rewriting it to be better code Nov 19 16:34:00 it is the most painful programming process so far Nov 19 16:35:40 how do you determine whether a phone is rooted? Nov 19 16:35:45 btw, how does JakeWharton make money off this? Nov 19 16:35:54 like when I am running my app, is there a way to determine whether I am running on a rooted device Nov 19 16:35:58 he doesn't Nov 19 16:36:14 He has a job Nov 19 16:36:28 why isn't there a donation button? Nov 19 16:36:55 mostly because he has a job, I think... Nov 19 16:37:16 er, there is: http://actionbarsherlock.com/merch-and-donations.html Nov 19 16:38:09 thanks Nov 19 16:38:24 Is there a method associate with an adapter to make a row "greyed out"? Nov 19 16:43:52 can someone tell me how do i get the contents of EditText to a double? is this correct: Nov 19 16:43:54 follower_radius=Double.parseDouble(((EditText)findViewById(R.id.follower_radius_entry)).getText().toString()); Nov 19 16:45:46 Looks horrible, but yeah, that should do it Nov 19 16:46:04 has anyone tried the new build system yet? Nov 19 16:46:23 SimonVT, this way i am saving memory, though it's horrible Nov 19 16:46:25 new build system? Nov 19 16:46:54 Saving memory? Nov 19 16:47:26 i think so.. cos i won't need to define variables Nov 19 16:47:38 i think so.. cos i won't need to define additional variables Nov 19 16:47:54 You're saving a few bytes maybe Nov 19 16:49:01 SimonVT, and why do i have to repeat the definition that i made in the xml, isn't? Nov 19 16:49:58 SimonVT: I'm pretty certain he's not actually saving bytes since the bytecode will be more or less identical Nov 19 16:50:08 it still has to split it out into separate instructions Nov 19 16:50:18 True Nov 19 16:50:23 also: lol @ trying to save bytes on something like that Nov 19 16:50:31 He's just making it less readable Nov 19 16:50:40 yeah Nov 19 16:50:48 And if you're referencing the edittext other places in your code, you should really keep a reference Nov 19 16:50:59 Depending on the complexity of the view hierarchy, findViewById can be expensive Nov 19 16:51:15 sleepster: http://tools.android.com/tech-docs/new-build-system Nov 19 16:51:28 alpha stuff as far as i can tell Nov 19 16:56:34 interesting siyb Nov 19 16:56:39 not sure if it is *officially* supported Nov 19 16:56:48 or if it is just a test project Nov 19 16:59:02 sleepster: looks like a test project atm, but i heard that it will be supported in the future, rumours ... :) Nov 19 16:59:43 superlinux-hp: does your program crash due to oom errors? Nov 19 17:08:38 Since app widgets for os >= 3.0 are resizable, is it better to make just one available (small/medium initial size) or two (small / larger) available (app widget has reason to be scaled up, not just wasted space) ? Nov 19 17:12:03 That's really up to you, isn't it Nov 19 17:12:11 Do you want to offer several sizes to <3.0 users? Nov 19 17:12:52 You can make one resizable, and hide the other when running on >=3.0 Nov 19 17:13:13 Yeah I do it's totally a pain but I actually have 4 available for <3.0 because it is very, very customizable Nov 19 17:13:59 I was just thinking for >=3 since you can you resize it, why every put more than one if it is just a matter of scaling? (it's just text basically) Nov 19 17:14:41 *why ever offer Nov 19 17:17:02 You don't have to have more than one on >=3.0 Nov 19 17:17:15 You can disable widgets based on api level Nov 19 17:18:28 SimonVT: that leads to upgrade path problems, btw Nov 19 17:19:04 what if some lucky user actually gets an update from GB to ICS? Do their now-disabled widgets just stop working? Nov 19 17:19:13 You win some, you lose some ;d Nov 19 17:20:03 ha ha thanks so much evan if there weren't enough to reckon with as is ;p Nov 19 17:23:54 anyone know how long it takes to get a developer account for android ? Nov 19 17:24:24 around 1-5 minutes, depending on how fast you type Nov 19 17:24:34 ..and where you have your creditcard Nov 19 17:25:15 strange paid last night the fee and still have no account :/ Nov 19 17:25:25 it's instant, the moment you pay Nov 19 17:25:34 pretty much Nov 19 17:25:53 unlike iOS, they don;t vet people first Nov 19 17:26:06 yeah, I agree with that, what do you see when you are logged in with your google account and visit https://play.google.com/apps/publish Nov 19 17:27:49 Who wants to help me make games? Nov 19 17:28:05 i think it's cause i messed up when made the account i put in the info and when they asked for the fee i loged out and went into my google walet and paid for the other account so that must have made the problems :P when i go to https://play.google.com/apps/publish i get continue to registration fee.. Nov 19 17:28:31 Viral: what can you do? Nov 19 17:28:44 then it's probably associated with your other account Nov 19 17:29:06 eh yeah :D Nov 19 17:29:09 i can play games Nov 19 17:29:17 and supply money Nov 19 17:29:19 you pay for that account you are logged into Nov 19 17:29:33 so your wallet account will be a developer account Nov 19 17:29:45 Anoia i checked both accounts both go to reg fee.. Nov 19 17:29:48 Viral: so by helping, you want to pay peopel to write games for you to play? Nov 19 17:30:00 for others to play... Nov 19 17:30:00 EVX: have you had the confirmation email? Nov 19 17:30:48 anoia: Order receipt from Google ($25.00) is the only one i got Nov 19 17:31:14 lasserix: what you know about games? Nov 19 17:31:27 EVX: then I;d try their support :| Nov 19 17:31:40 ok Nov 19 17:31:43 thanks Nov 19 17:32:16 I know I have a stack of ideas and not enough time in the world to develop them. Nov 19 17:32:41 I think it is easier to make money off live wallpapers as a single, independent developer Nov 19 17:32:56 wallpapers a-a Nov 19 17:33:01 i cant draw Nov 19 17:33:09 who said anything about drawing? Nov 19 17:33:12 to be honest, I;ve only bought one app for android :) Nov 19 17:33:19 god cursed me with not being able to draw Nov 19 17:33:25 and many other ways Nov 19 17:33:30 take an upper level math class and come up with something cool in renderscript Nov 19 17:33:44 and that is a client for a specific web app for which I;m now writign an open source client for Nov 19 17:35:31 Viral what makes you think it is is so doable to make a game and make tons of money btw? Nov 19 17:36:03 because people's expectations in games have gone down allot Nov 19 17:36:11 so you can make some real shit and it will sell Nov 19 17:36:24 thats what i gather Nov 19 17:36:37 siyb, it's not a within-andriod-app-error Nov 19 17:37:00 it's something related to the editor Nov 19 17:37:04 people's expectations in mobile games you mean? angry bird has lots it saz? Nov 19 17:37:12 to the layout editor Nov 19 17:37:48 especially in mobile games, i would consider exactly the oposite, there come tons of new games out every day, only very rare of them really attract enough players to even gain a bit of money Nov 19 17:37:53 Hello guys, how can I make notification un-cleanable? Nov 19 17:38:13 thats because there are 20 games with the same concept... Nov 19 17:38:36 i cab slice fruit Nov 19 17:38:37 hats Nov 19 17:38:39 cats Nov 19 17:38:40 dogs Nov 19 17:38:44 on a droid Nov 19 17:38:47 and call it a game Nov 19 17:39:04 and you get money for that Nov 19 17:39:39 i want to make a neopet app or a tamagatchi like app Nov 19 17:39:49 guys could you please help me? I need one notification to stay in notification bar even if user wipes notification bar. Nov 19 17:39:52 boooring, thousands on the market alreadty :D Nov 19 17:40:07 why would pl play yours instead of the ones out there? Nov 19 17:40:24 it must be better for so, and even then you will have a hard way earning monety with it Nov 19 17:40:28 uummm] Nov 19 17:40:36 MetaGuru that's terrible. but if there is a notification dismissal listener, listen for the dismissal and launch it again? Nov 19 17:40:39 but perhaps here are some ppl having a game in the play store, and are willing to tell how much it pays out Nov 19 17:41:06 MetalGuru: you better have a good reason to do so, e.g. because yoru notification shows an ongoing progress Nov 19 17:41:11 well if someone would step up and give that info that be great Nov 19 17:41:13 I know that it is terrible, but there will be an option to turn off notifications in app settings :) Nov 19 17:41:28 then you can to that, but never make notificatiosn permanent, that arent linked to an ongoing process Nov 19 17:41:54 well, maybe I will just not make it permanent then :) Nov 19 17:42:04 thanks for the tips Nov 19 17:42:15 viral: why not make a pseudo company that sells anti-virus software, then write virus software and release it and make money on selling the anti-virus software Nov 19 17:42:24 seems to work well with all other computer types Nov 19 17:42:25 you better do so, since android 4.1 users can blog your notification :) Nov 19 17:42:50 you wont get any notification about a user, that blogs your notification, but will never be able to send any ntoifications to him again, so be sure not to piss of users with notifications :) Nov 19 17:42:53 Yeah MG that would be a deal breaker for me definatly Nov 19 17:42:59 how bout make fake anti-viruses ^_^ Nov 19 17:43:01 damn Nov 19 17:43:05 didnt know that :D Nov 19 17:43:16 i already used that feature on several apps :D Nov 19 17:43:35 works on notification ads too? (would be helpful sometimes :D) Nov 19 17:43:39 so i make virus to target people to pay for fake anti-virus? Nov 19 17:43:54 sounds brilliant Nov 19 17:43:57 It's what antivirus companies do Nov 19 17:43:59 MetalGuru: ofc :) Nov 19 17:44:10 timroes what do you mean by all that? Nov 19 17:44:13 AV software is the biggest snakeoil in human history Nov 19 17:44:19 timroes: ouk :) gonna check it out Nov 19 17:44:23 and thats for what i used it already several times: apps that think they should spam me with ads for their new games (in fact i even blog them the very first time they do it) Nov 19 17:44:44 lasserix: sorry, by what especiallY? Nov 19 17:45:01 > you wont get any notification about a user, that blogs your notification, but will never be able to send any ntoifications to him again, so be sure not to piss of users with notifications :) Nov 19 17:45:02 *blog=block btw :) Nov 19 17:45:19 ahh Nov 19 17:45:21 okay Nov 19 17:45:27 :D Nov 19 17:45:30 that you have no chance to register a listener or so, so that your app gets informed, when the user blocks your notification :) Nov 19 17:45:45 sorry I am tired :) Nov 19 17:45:47 hm looks like I might realease something that looks like an android app soon :D Nov 19 17:45:52 *release Nov 19 17:45:56 how can viruses target androids? Nov 19 17:46:09 threw apps? Nov 19 17:46:31 Virus v = new Virus().affect(AndroidDevice.this); Nov 19 17:46:39 Viral, depends on your defination Nov 19 17:46:49 you have to check if userAGoat first, though Nov 19 17:46:57 goat's won't dish out the money for AV software Nov 19 17:47:11 you can download an app that deletes all your contact info, or start sending out SMS to all your friends to buy some stupid laptop from Russia Nov 19 17:47:14 Toast.makeText("ALL YOUR BASE ARE BELONG TO US!") Nov 19 17:47:22 Heh Nov 19 17:47:43 then you should also check if userIsAMonkey Nov 19 17:47:50 You forgot to show the toast Nov 19 17:48:06 oh Nov 19 17:48:06 :D Nov 19 17:48:10 and you can do that infinite toast hack so it never goes away Nov 19 17:48:11 virus doesn't suppose to show Nov 19 17:48:17 lasserix: you will anyway be more backward compatible with that, since checking for monkeys is implemented since api level 8 :) Nov 19 17:48:18 what if userisamonkey? Nov 19 17:48:40 you can tailor your anti-virus software ads Nov 19 17:48:46 or just Nov 19 17:48:52 simply divide by 0 Nov 19 17:48:52 this is getting gravy Nov 19 17:48:57 hacking universe Nov 19 17:49:07 i can psycholigicaly scare monkeys over internet Nov 19 17:49:21 isn't there that cow or pig interaction ipad app? Nov 19 17:49:28 (no, really) Nov 19 17:50:10 http://eater.com/archives/2011/12/16/ipad-game-turns-hipad-app-lets-humans-and-real-pigs-play-gamesumans-into-entertainment-for-pigs.php Nov 19 17:52:16 I am designing some custom dialog fragments. I was just wondering is there a subsection of the android design website (or somewhere else) that covers setting up recomended spacing (padding, margins and all that)? Nov 19 17:54:36 hm Nov 19 17:54:57 am I the only one that cant see developer otpions on my nexus 7? Nov 19 17:55:05 Are you in 4.2? Nov 19 17:55:12 yes Nov 19 17:55:26 i swear it was there when i was on 4.1 Nov 19 17:55:31 You have to tap "about phone" seven times in quick succession iirc Nov 19 17:56:18 That sounds totally unintuitive Oo Nov 19 17:56:30 what Nov 19 17:56:31 :D Nov 19 17:56:35 Oh, sorry "Build number" under "About tablet" Nov 19 17:57:02 yeah, cool, red fuckin jelly bean :D Nov 19 17:57:12 but thats not what i was looking for, or is it? :D Nov 19 17:57:22 Did you tap it rapidly? Nov 19 17:57:25 oh Nov 19 17:57:28 you mean this Nov 19 17:57:34 im using slovak language so... Nov 19 17:57:35 sry :) Nov 19 17:57:43 but try tapping android version 7 times :D Nov 19 17:58:02 (btw who invented this must be slapped 7 times) Nov 19 17:58:09 Build number is the bottom one for me that reads JOP40C Nov 19 17:58:10 thanks a lot dude :) it works Nov 19 17:58:16 yes yes :) Nov 19 17:58:59 hahaha Nov 19 17:59:07 thanks estel Nov 19 17:59:10 Anoia: do you know if there is a chat support for this kind of issue ? Nov 19 17:59:24 have you tried tapping android version 7 times? :D Nov 19 17:59:32 who has time to invent this...tell me :D Nov 19 17:59:35 i guess they did this so people don't accidentaly go their and break things Oo Nov 19 17:59:41 Google engineers ;) Nov 19 17:59:48 And yeh, I understand why they did it Nov 19 18:00:42 yes but who would guess it works like this :) Nov 19 18:01:31 noone, but if you want to develop for android, I guess they assume you will be able to look it up :D Nov 19 18:01:39 :D Nov 19 18:01:39 like the rest of: How to develop for android. Nov 19 18:02:05 though I think it would have been enough making a warning and yeah i am sure i want to destroy my phone, by own stupidness Nov 19 18:03:04 I got a new rockchip mk808 today, but I'm having an issue with getting adb/eclipse to connect to it - I've edited the ~/.android/adb_usb.ini with the vendor id 0x2207 and restarted adb but when I run adb devices nothing is listed, even the M110S that is normally listed disappears after adding the new vendor id to the adb_usb.ini - OS is OSX 10.8.2 - can anyone suggest where to go from here? Nov 19 18:06:48 hm Nov 19 18:07:17 have you downloaded any drivers for nexus 7 guys? cause I cant see it in ddms Nov 19 18:07:24 its connected Nov 19 18:07:26 detected by pc Nov 19 18:07:34 and in debugging mode Nov 19 18:07:49 for god sakes man Nov 19 18:07:57 halp me make app Nov 19 18:08:07 what app? :D Nov 19 18:08:09 Viral: http://d.android.com Nov 19 18:08:14 the app Nov 19 18:08:47 MetalGuru might be the same issue i'm having, adb won't see my mk808 - and adding the vendor id to the 3rd party usb vendor list in .android/adb_usb.ini isn't helping :( Nov 19 18:08:53 oh Nov 19 18:09:09 hm... cool Nov 19 18:09:23 so i guess... im gonna go googling now Nov 19 18:11:37 dude open your device manager Nov 19 18:11:45 do you see your device there? Nov 19 18:12:22 i see my nexus there with exclamation mark, i guess i just have to install drivers Nov 19 18:14:19 MetalGuru: OSX Nov 19 18:14:25 but yes it's listed in the system profile Nov 19 18:14:39 its working now :) Nov 19 18:14:41 if you are on windows you can just install the google usb drivers from your SDK manager Nov 19 18:14:47 had to update drivers Nov 19 18:14:58 thanks for help Nov 19 18:15:04 welcome Nov 19 18:15:16 apparently my issue is over the heads of the fine geeks here :( Nov 19 18:15:31 probably some ghey apple specific crap Nov 19 18:15:40 Anyone know a good programming joke? Nov 19 18:15:52 ummm Nov 19 18:15:53 yes Nov 19 18:15:57 C++ Nov 19 18:16:08 pref java gota sweet talk a professor Nov 19 18:16:12 How many programers dose it take to change a light bulb? Nov 19 18:16:16 None – It’s a hardare problem... Nov 19 18:16:19 ubuntu roflrolrolrof Nov 19 18:16:36 Conti that's not bad thanks Nov 19 18:16:41 btw im not a programmer just a faggot Nov 19 18:16:43 “Knock, knock.” “Who’s there?” very long pause…. Nov 19 18:16:48 “Java.” Nov 19 18:17:06 heu Nov 19 18:17:14 That is harder to convey in an email ;p Nov 19 18:30:42 does internal storage your app may have used get cleaned out when you uninstall the app? Nov 19 18:31:04 yes Nov 19 18:31:09 cool thanks Nov 19 18:31:14 unless you use adb and tell it not to Nov 19 18:31:20 ok Nov 19 18:33:38 is it possible to put an horizontal image (a bar) in every listview entry above the actual text ? Nov 19 18:34:06 You can put whatever you want in a listview row Nov 19 18:34:35 guys is there an option of doing something just once, right after the first start of the app and never again? Nov 19 18:34:45 i need my app to create one file on first start Nov 19 18:34:49 MetalGuru: yes Nov 19 18:34:51 of course Nov 19 18:34:58 MetalGuru - i usually set a flag :D Nov 19 18:35:21 ok, gonna google it out :) Nov 19 18:35:23 thanks Nov 19 18:35:23 Why not just check if the file exists Nov 19 18:35:34 SimonVT: stop being rational Nov 19 18:35:48 simon - good point :D Nov 19 18:35:50 Sorr Nov 19 18:35:52 y Nov 19 18:35:56 omg i should sleep a bit more Nov 19 18:35:58 http://hastebin.com/wepucoxaka.avrasm Nov 19 18:36:28 just to verify i'm not insane Nov 19 18:36:30 it's just not working Nov 19 18:43:32 alright only 3 more configuration options to implement and ill be done Nov 19 18:53:37 if you have to check Nov 19 18:53:44 then youre probably insane Nov 19 18:54:26 im not crazy ... my mother had me tested Nov 19 18:56:08 capella, sorry but it wasn't a double blind test. Nov 19 18:56:31 bazinga! Nov 19 18:56:37 :P Nov 19 18:56:51 Using words like bazinga is not going to help either :) Nov 19 18:58:00 hrm... i guess singing soft kitty is out of the question :D Nov 19 19:00:16 im crazy Nov 19 19:00:21 ^_^ Nov 19 19:00:31 me loco Nov 19 19:00:39 LOCO FOR APPS!!!!.? Nov 19 19:00:46 me loco motive Nov 19 19:00:50 shoe shoe Nov 19 19:01:17 loco for making some god damn money before my balls and brain explode Nov 19 19:14:53 * Ankhwatcher wanders in Nov 19 19:15:00 what are you lot on about? Nov 19 19:24:13 I'm making a "kiosk" app for Android 2.2.x. I would like to push auto updates through Google Play. Is it possible for the app to get the update without restarting the app? Nov 19 19:26:39 SpNg: nope Nov 19 19:27:18 Maurits_: Is there a way to tell if a new version has been installed on the device so I can restart the app? Nov 19 19:27:33 SpNg: afaik it happens automatically Nov 19 19:27:40 on install Nov 19 19:27:58 ie, you can't really prevent it from happening Nov 19 19:28:48 Maurits_: I have experienced being kicked out of the app when an update is pushed, but it does not restart the app. It also reverted the home screen default Nov 19 19:29:09 the 'home screen default'? Nov 19 19:29:43 SpNg: if you're writing a launcher replacement, that's just how it works, sadly Nov 19 19:30:06 oh, yeah Nov 19 19:30:24 Maurits_: yeah it's a home screen launcher replacement like evancharlton said Nov 19 19:30:44 So whenever the app is updated, the home screen launcher setting has to be reset? Nov 19 19:31:36 Is there anyway to turn a device into a kiosk specific app, or is a launcher app the best way to do it without modifying Android directly? Nov 19 19:31:42 So apparently app reviews will soon require a g+ account, and users picture and name will be shown Nov 19 19:31:52 This will be fun Nov 19 19:32:05 lol Nov 19 19:32:16 that's a little privacy invasion Nov 19 19:32:22 how do i leave anonymous reviews? Nov 19 19:32:42 You probably wont be able to Nov 19 19:33:16 O_o Nov 19 19:35:55 SimonVT: great news Nov 19 19:36:43 if you don't have the fortitude to own your words, the you should keep it shut. Nov 19 19:37:18 App reviews on porn apps will plummet Nov 19 19:41:22 haha Nov 19 19:43:37 I can't wait to see this concept applied to youtube Nov 19 19:43:56 the amount of useless racism might actually drop Nov 19 19:48:48 Conti: posted July 24th, 2012 - http://www.cnn.com/2012/07/24/tech/social-media/youtube-real-name-techland/index.html Nov 19 20:05:01 i got a question about android dev/google office hours do they still answer emails everyday or just wednesday's as it says that's when they have office hours Nov 19 20:07:46 hallo how can i check wether a Bitmap object has its proper value? Nov 19 20:08:36 Wut? Nov 19 20:10:48 ==SimonVT Nov 19 20:23:06 help me make a fucking app Nov 19 20:23:23 right click Nov 19 20:23:25 lol Nov 19 20:23:31 your an asshole\ Nov 19 20:23:34 and you love it Nov 19 20:23:38 you're* Nov 19 20:23:50 bazinga Nov 19 20:23:52 your smart Nov 19 20:23:57 you're* Nov 19 20:24:03 your retarteded Nov 19 20:24:06 you're* Nov 19 20:24:08 your gay Nov 19 20:24:20 and as far as i can assume from everything you said today, you are drunk Nov 19 20:24:30 you have a small dick and lose virginity at 20 Nov 19 20:24:44 im not drunk Nov 19 20:24:51 ive been tourtured by people Nov 19 20:24:57 for long periods of time Nov 19 20:25:02 if that makes me drunk then ok Nov 19 20:25:10 DRUNK ON MADNESS! Nov 19 20:25:22 yeah that i also reacognized :D Nov 19 20:25:30 shutup Nov 19 20:25:34 your waist of space Nov 19 20:25:43 dont help me Nov 19 20:25:44 I suggest meditation Nov 19 20:25:50 meditation? Nov 19 20:25:52 empty your mind Nov 19 20:25:56 HOW ABOUT REVENGE?! Nov 19 20:25:59 shapeless, like water Nov 19 20:26:05 preds: you really think THAT is nescecarry :D Nov 19 20:26:07 there is not enough time for that Nov 19 20:26:27 Java's I/O stack is kinda pathetic. I really wish we didn't have anything like this to deal with: try (PrintWriter pw = new PrintWriter(new OutputStreamWriter(new FileOutputStream(new File(f, name), true), UTF8))) { Nov 19 20:26:32 brainless, like water Nov 19 20:26:46 timroes, definitely - this guy needs an attitude check Nov 19 20:26:48 I'm solving a problem of logging exceptions to a file when they occur ... and I guess this is about as good as it gets. Nov 19 20:26:54 unless he's drunk, in which case I could understand Nov 19 20:26:54 motherfucker you dont even know how to ankh Nov 19 20:27:05 but empty his mind... more? Nov 19 20:27:06 unlike most, I control the encoding, I want the exceptions in UTF-8. And I want to put a timestamp on the file name. Nov 19 20:27:22 how about i empty my bobs Nov 19 20:27:37 into your spalunkacatcher Nov 19 20:28:26 *boobs? Nov 19 20:28:42 Hi guys, I am working on new app for android, I wonder if sometimes they are designer from here ? Nov 19 20:29:01 they are sometimes designer from here Nov 19 20:29:01 ( ͡° ͜ʖ ͡°) Nov 19 20:29:20 EvOox-: do you have a special question, or just need a designer? Nov 19 20:29:23 Viral: meh i've seen better Nov 19 20:29:27 preds: don't let troll rub off on you Nov 19 20:29:35 with periods and moar parentheses Nov 19 20:29:45 timroes: you're right, I just need designer, any link ? Nov 19 20:30:21 with designer you mean a person who can design an app? and if I have some link to some profile or some contact information? Nov 19 20:31:02 maybe ( ° ) ( ° ) Nov 19 20:31:10 a guy who can draw icons and app elements such as button etc Nov 19 20:31:11 i understand if i'm banned Nov 19 20:31:34 what if you never know?( ͡° ͜ʖ ͡°) Nov 19 20:31:45 huh? Nov 19 20:32:17 what kind of beer you guys like? Nov 19 20:32:23 regedit: what are you on about? Nov 19 20:32:28 Viral: Ginger! Nov 19 20:32:42 *sigh* ginger? Nov 19 20:32:49 ok Nov 19 20:32:51 ill take that Nov 19 20:32:53 Ankhwatcher: Viral's state of drunkedness Nov 19 20:32:55 your probly young and cant cod Nov 19 20:33:21 regedit: okay, and where does the ascii art come into it? Nov 19 20:33:50 its ma new gaem ( ͡° ͜ʖ ͡°) Nov 19 20:33:59 Ankhwatcher: Viral's probable state of feminine'ness Nov 19 20:34:05 my cock Nov 19 20:34:11 is twice the size of yours Nov 19 20:34:18 ( ͡° ͜ʖ ͡°) Nov 19 20:34:33 ( ͡° ͜ʖ ͡°)- - - - - - -o gaem Nov 19 20:34:41 Viral: you must carry it around in a wheelbarrow Nov 19 20:34:42 Viral: doesn't compensate the missing brain :) Nov 19 20:34:55 what you think the dicks for? Nov 19 20:35:01 this is getting old, nobody with ops around? Nov 19 20:35:12 preds: apparently not Nov 19 20:35:15 how can Viral's possibly be seen as any bigger than mine ^ Nov 19 20:35:25 my cock is the size of the known universe Nov 19 20:35:30 I belive this is the point where we say, all we need is lov Nov 19 20:35:34 altoghether now Nov 19 20:35:46 youre old Nov 19 20:35:51 lov, lov, lov, lov is all we need Nov 19 20:36:00 help me code Nov 19 20:36:04 i would way more then a kick prefere a hell bann module for freenode :) Nov 19 20:38:13 timroes: eh, what? Nov 19 20:38:58 hell bann module: he will still see everything we write, but his own message are only shown up for himself, and noone else Nov 19 20:39:30 had this once on my own IRC. This trolls Trolls way better than kicking or banning :) Nov 19 20:39:35 timroes: isn't more like being a ghost than being banished to hell. Nov 19 20:40:12 timroes: I think a hell banishment would be more like forcing someone to watch #ubuntu Nov 19 20:40:14 I just know it under the name Hellban :) http://en.wikipedia.org/wiki/Hellbanning Nov 19 20:40:25 wait what you guys dont know about hell? Nov 19 20:40:35 timroes: you mean +q mode? Nov 19 20:40:42 must be the devils advocate humph humph humph Nov 19 20:40:50 -_- Nov 19 20:40:56 shities so full of shit Nov 19 20:41:01 will never see the face of god Nov 19 20:41:11 can't seem to find the related code in the android OS source Nov 19 20:41:13 does anyone know how Binders are implemented at the OS level? Nov 19 20:41:25 binders full of women Nov 19 20:41:30 jajajajaja Nov 19 20:42:16 i think sleepster just double-checked the channel name Nov 19 20:42:38 hah sure did Nov 19 20:42:50 but seriously though Nov 19 20:43:13 sleepster Nov 19 20:43:14 sleepster: welcome #android-dementia Nov 19 20:43:15 may i ask Nov 19 20:43:22 why you call yourself sleepster Nov 19 20:43:31 napster was taken Nov 19 20:43:36 iiiiiisdefsd Nov 19 20:44:33 sleepster: open up your android sdk folder and search for Binder.java Nov 19 20:44:36 rofl Nov 19 20:44:51 Ankhwatcher: yeah I did.. I found Binder.java of course Nov 19 20:44:59 but there is nothing that leads to an actual implementation Nov 19 20:45:06 I even found BinderInternal.java Nov 19 20:45:20 I thought maybe I would find a BinderJni Nov 19 20:45:25 where it goes to the native Nov 19 20:46:27 sleepster: to what part to you want to look at? Nov 19 20:46:33 the binder kernel driver? Nov 19 20:46:36 sleepster: what are you tryinying to do? Nov 19 20:46:52 s/tryinying/trying Nov 19 20:47:05 I am wondering how it efficiently communicates across processes (IPC) Nov 19 20:47:11 I am assuming that since Binders are efficient Nov 19 20:47:15 that I can do something similar Nov 19 20:47:26 fwiw, frameworks/base/core/jni/android_util_Binder.cpp should be where the native code in BinderInternal.java resides Nov 19 20:47:38 Android supports sockets and file maps for IPC Nov 19 20:47:56 sleepster: that might be helpful for you http://sujaiantony.wordpress.com/2011/12/28/an-android-101-an-overview-on-binder-framework/ Nov 19 20:48:45 there are several links to more detailed resources Nov 19 20:48:47 thanks timroes Nov 19 20:48:51 actually I just found that too :) Nov 19 20:49:52 did someone here work on todoist? sounded familiar for some reason ... Nov 19 20:50:29 a todo list sounding familiar? I can't image why Nov 19 20:50:37 hehe Nov 19 20:52:03 hello people. I have a listadapter extends BaseAdapter. in the getView(), I assign a click handler to a button in the listrow. in the onclick handler, I'd like to get reference to the item's position in the list. does anybody have any ideas on how to accomplish that? Nov 19 20:59:10 so this is what the intertubes looks like http://www.theverge.com/2012/11/17/3655442/restoring-verizon-service-manhattan-hurricane-sandy Nov 19 20:59:24 is there a wayt o check how many lines a textView is using? Nov 19 21:00:15 g00s: all that so 16yo can facebook and drop out of HS. Nov 19 21:00:29 think of the cats! Nov 19 21:00:38 that lol cats? Nov 19 21:00:40 johny-b-goode: set the tag of the button to be the position value Nov 19 21:00:44 yeah Nov 19 21:01:14 ootinii: hmmm, I was setting the view's tag and getTag() was crashing. Let me attempt setting the button's tag. Nov 19 21:01:35 xastey: getLineCount Nov 19 21:01:41 thanks.. stupid me Nov 19 21:02:17 ootinii: ok, so if the button's tag is set, then in the onclick, so I just use v.findViewbyId(R.id.button)? and then get Tag()? Nov 19 21:03:54 johny-b-goode: if you're using the typical OnClickListener for views, you should have the button as the view in the onClick of the listener as the view parameter Nov 19 21:04:09 ootinii: awesome. it worked! Nov 19 21:04:22 ootinii: ah, so the View v, is a reference to the button? Nov 19 21:04:36 johny-b-goode: should be, yeah Nov 19 21:04:38 I was thinking it would be the reference "a view" containing jsut the button. Nov 19 21:05:10 johny-b-goode: glad you got it working :) Nov 19 21:05:27 ah nice, then I don't even have to inflate again for the button. thanks, I really appreciate it. I spent all night trying the stupid viewholder and etc only to realize it didn't do what I wanted. Nov 19 21:06:48 Is it possible to change the typeface/color/text style for a TextView by range Nov 19 21:07:02 say 0-16 its normal white.. then 17-end its bold purple Nov 19 21:07:54 hello I am trying to load an image as the background of my drawView but i keep getting this error: D/DrawView( 3773): Exception java.lang.IllegalArgumentException: width and height must be > 0 any sugestions? Nov 19 21:08:35 btw here is my paste http://pastebin.com/amm7Vv74 Nov 19 21:10:04 Hi! I'm kind of new in android. I would like to use a sliding drawer from the top of my application to the bottom and not from the bottom to the top. Does anyone know how to do that? Nov 19 21:10:38 hi Nov 19 21:11:19 guigui22: you have to make your own Nov 19 21:11:44 Really? there is no way to do that with a sliding drawer? Nov 19 21:12:20 no Nov 19 21:12:22 its a pretty limited widget, like it was only purposed for one scenario Nov 19 21:12:29 SlidingDrawer is kind of a dead UI paradigm anyway Nov 19 21:14:05 oh I found a way in fact.. Nov 19 21:14:09 sorry for the question Nov 19 21:14:24 I just rotated the sliding drawer of 180degree Nov 19 21:14:32 and the view inside of 180 degree Nov 19 21:14:38 and that's working Nov 19 21:17:42 :-) Nov 19 21:35:10 anyone got a sony ericson experia ark s? Nov 19 21:59:11 lol sony Nov 19 21:59:37 hello Nov 19 22:03:15 well, pragma- , only sony phones support ant+ Nov 19 22:09:42 have fun with your propietary sensor Nov 19 22:16:36 Sculptor: are you working with ant+ ? Nov 19 22:20:37 wow, ant+ sensors seem to be much cheaper than bluetooth ones Nov 19 22:20:56 but why Nov 19 22:23:34 Hey, what about the whole notion of using analytics to deterimine what app to create? Are there useful metrics for that? If so, do I have access to them without having to come out of pocket for it? Nov 19 22:24:29 what do you mean by " analytics to deterimine what app to create"? Nov 19 22:25:09 I highly doubt peopel have done market research saying "peopel want X that doesn't exist" that is in public domain Nov 19 22:26:13 well there's statistical data being collected every day about what people buy, how much they buy it for, and so on and so one. What if I want to use some kind of metrics (statistical data) to determine what to write an app about (or even what kind of app to write - ie: business, game, and so on)? Nov 19 22:27:01 ClientAlive: it's sounds totally plausible to do that, but I doubt that such data is really available - in an easy to use way - for free Nov 19 22:27:09 Is there anyone that can hep me? I have some threads locking and I cant figure out why. Nov 19 22:27:20 ClientAlive: have a look at the top of android downloaded apps and you will see what ppl want to have Nov 19 22:27:21 there's data about which categories of apps in the store are the most popular ... Nov 19 22:27:25 maybe not had you the concliusion but perhaps there is stuff like - 68% ppl bough apps for business last year and it's expected to grow by x% this year Nov 19 22:27:27 ClientAlive: I expect that data is very private to Google themselves Nov 19 22:27:44 soulrider: so, what do the threads do, and how many do you have. Nov 19 22:27:53 I see Nov 19 22:28:02 timroes: good idea Nov 19 22:28:27 I have two, one that reads from a socket, and one that attemps to send. The problem is that the one that tries to send, locks when doing isConnected(). Ive looked at the source and its just supposed to return a boolean Nov 19 22:28:36 Im not messing with semaphores or anything either Nov 19 22:29:22 show the isConnected source Nov 19 22:29:36 is it really just return boolean, or is there something you're not telling us about. Nov 19 22:29:38 its the socket implementation from android Nov 19 22:29:43 oh, i see. Nov 19 22:29:46 the source is literaly returning a member of the class Nov 19 22:30:04 the thing is Nov 19 22:30:22 did you try to implement any of your own synchronization Nov 19 22:30:23 the thread is locking on that call, but from the stack in DDMS, i see its not yet calling the isconnected method Nov 19 22:30:47 ClientAlive: i generally wouldn't consider try to find an app that doesnt exist and make it, but try to think what YOU would like, and how you would like it, and trying to make that. (a) its always a good practise doing something, anyway ppl buy it or not, (B) ppl tend to buy esteticly good apps rather then apps they don't get a connection to, and from my experience you are better in developing things, where you really had the Nov 19 22:30:48 tdignan: i only need my send method to be syncronized, and im using a synchronized block Nov 19 22:31:25 a general rule of thumb is that if you're using synchronized, you're almost certainly doing something wrong Nov 19 22:31:41 that's not to say that it shouldn't be there or that it's always wrong Nov 19 22:31:55 soulrider: you should probably share the code for further analysis Nov 19 22:32:01 but sprinkling it throughout your codebase doesn't magically fix anything Nov 19 22:32:03 heres the thing Nov 19 22:32:17 the code works if i write a regular java app for PCs Nov 19 22:32:23 i can send and recieve stuff no problem Nov 19 22:32:27 but on android it locks Nov 19 22:32:42 that doesn't mean the code isn't severely flawed Nov 19 22:32:47 i knwo Nov 19 22:32:50 know* Nov 19 22:32:50 it might just be luck that it runs on a PC Nov 19 22:32:55 soulrider: different vms; different thread schedule policies; different # cores , etc Nov 19 22:33:06 het me pastebin the code Nov 19 22:33:21 you can see one class of problems going from one core to dual core Nov 19 22:35:52 http://pastebin.com/RxLTgFsK Nov 19 22:36:27 you can see the read method, the send method and how im starting the thread that reads Nov 19 22:36:38 if somebody can figure this out ill send youa box of chocolates :P Nov 19 22:36:52 soulrider: so, if waitForMessage and send can never interleave, why not just run them on the same thread? Nov 19 22:37:21 wait can recieve messages any time Nov 19 22:37:24 not just after a send Nov 19 22:37:29 no it can't Nov 19 22:37:35 these are on the same object, right? Nov 19 22:37:41 yes Nov 19 22:38:02 then they can only execute one after another, they can never execute concurrently because of the synchronized block. Nov 19 22:38:22 you're better off doing something like: send - check if data - receive - send ... in one loop on one thread. Nov 19 22:38:28 the debugger hsows me they are both executing at the same time Nov 19 22:38:47 tdignan: thats not how it works, im not always getting data after a send Nov 19 22:38:50 they can come any time Nov 19 22:38:52 well, either I'm dead wrong or you're wrong Nov 19 22:39:00 lets see what others think. Nov 19 22:39:14 i cam get data anytime, not just after a send Nov 19 22:39:54 synchronized at a method, meaning its sycnhronized using the object as a monitor, so i would agree with tdignan you cannot call both at the same time, since using the same monitor Nov 19 22:40:19 then how is it working on a computer? Nov 19 22:40:30 and besides, the threads actually enter those methods Nov 19 22:40:45 i bet the stuckness is happening because you're blocking on a read Nov 19 22:41:21 i need to block in a read since i always need to listen for data Nov 19 22:41:51 think about a chat app, your always reading to see if something new happend, and you may send data sometimes too Nov 19 22:41:56 but youre always reading Nov 19 22:42:02 that's fine, but as lon as you're blocking in a read and the two methods are synchronized, the send will have to wait for the receive to complete before it executes. Nov 19 22:42:25 solution needs rethinking to incorporate this fact Nov 19 22:42:29 doesnt synchronized JUST waits on that block of code? Nov 19 22:43:00 no: synchronized insures a happens-before relationship. basically if I have a method chewgum and walk, and both are synchronized, I can NEVER chew gum while i walk. Nov 19 22:44:39 k, let me try something Nov 19 22:44:40 tdignan: only if both methods are in the same class Nov 19 22:44:55 i thought synchronized just blocked access to that method, not to all methods Nov 19 22:44:57 they are in his case Nov 19 22:45:01 we covered that Nov 19 22:45:21 soulrider: well, now you know Nov 19 22:45:21 ok, wasn't immediately clear, and I didn't read the entire backlog : Nov 19 22:45:22 :) Nov 19 22:45:24 soulrider: nope, synchronized as a method is the same like sycnhronize(this) { ... } for the whole method body Nov 19 22:45:29 np much obliged Nov 19 22:45:34 actually, not just same class, but same instance Nov 19 22:45:39 yeah Nov 19 22:45:50 and that means no other synchronized block synchronizing with 'this' (so no other synchronized method) can be entered at the same time Nov 19 22:46:02 k, let me recompile all apps and try it out Nov 19 22:46:26 soulrider: you may also want to read 'java concurrency in practice' ;) Nov 19 22:46:52 ivea ctually done tons of concurrency, just not in java Nov 19 22:47:26 hence the part of the title 'java … practice' :D Nov 19 22:47:34 lol Nov 19 22:47:42 i dont use java unless strictly necessary :P Nov 19 22:48:00 IMO java is among the best languages for concurrent programming Nov 19 22:48:18 +1 that :) Nov 19 22:48:41 how is it any different from any .net language or python for example? Nov 19 22:48:53 cpython has a global interpreter lock, for one Nov 19 22:48:57 .net langs i have no idea, I dont use em Nov 19 22:50:04 has anyone experience of using elements in XML? - is it normal to put these within your strings.xml file, or rather to create a separate file for them eg. plurals.xml or something? Nov 19 22:51:32 im gonna switch everything to semaphores and see what happens Nov 19 22:51:35 thanks everyone Nov 19 22:51:44 soulrider: http://developer.android.com/reference/java/io/InputStream.html#available() Nov 19 22:51:47 check that out Nov 19 22:52:03 marsilainen: I generally put them in strings.xml Nov 19 22:52:08 you can do this: send -- check available -- if bytes are available then read else -- send again Nov 19 22:52:11 one thread Nov 19 22:52:51 evancharlton: ok, thanks - I was thinking that it would seem sensible to put them in there but I wasn't sure if it was normal to split them out or something Nov 19 22:53:21 I love the fact that Android provides the plural facility BTW - seems like a great idea Nov 19 22:54:56 I like to consume my instruction in the form of videos. Right now, I want to learn all about eclipse ide. Youtube seems to have vids tied to creating a program with it but I don't want that - I want strictly eclips (programming agnostic). Just a shot in the dark, but, does anyone have a resource for that? Nov 19 22:56:04 If I want to have a modal dialog with two display modes: writing to a group (which has a to: and subject: field) and writing to an individual (which just has a to: field) is there a way to make it tabular, without creating multiple activities, or depending on android functionality after 2.3? Nov 19 22:56:26 ClientAlive: #eclipse? Nov 19 22:57:00 I'll try em - that channel seems pretty dead tho :) Nov 19 22:57:23 ClientAlive, run while you can, IDEA will save you! Nov 19 22:58:56 ClientAlive: http://www.vogella.com/categories/eclipseide/programmingjava.html Nov 19 22:59:44 ok Nov 19 23:00:41 tdignan: yeah, but that's text (not video) :( Nov 19 23:03:45 think I found something Nov 19 23:04:16 Is there a way to have an EditText turn overflow into "Foo…" or something pannable in the x-axis rather than wrapping the text and creating something scrollable in the y-axis? Nov 19 23:10:52 greets Nov 19 23:13:41 can anyone recommend a good resources for creating webview apps tailored to android, or a good repo for open source code Nov 19 23:13:43 thank you Nov 19 23:17:12 "webview apps" /me dies a little bit Nov 19 23:18:29 * roger_rabbit dances on the grave Nov 19 23:19:39 go learn sencha touch or something. im sure they have a dedicated channel Nov 19 23:20:22 i tried doing some sqlite with phonegap once. i wanted to blow my brains out Nov 19 23:21:37 How can I draw a test on a sector of a circle ? Like in the photo ? http://i.stack.imgur.com/Dlf4J.png Nov 19 23:22:11 I'm outputting a float value within a resource string by having this token within the resource string: %1$f and then calling res->getString(R.id.my_string, my_float); - is there a way to control the precision in the output? I want to display 0.0 instead of 0.00000 Nov 19 23:23:17 R4md4c: draw it on a path, similar to how its done here. except don't use a circular path. use a path like the one you have. Nov 19 23:23:20 http://android-er.blogspot.com/2011/08/canvasdrawtextonpath-on-circle-path.html Nov 19 23:24:48 marsilainen: new DecimalFormat("#.##").format(1.199); Nov 19 23:25:13 should output 1.2 Nov 19 23:26:45 or this way String.format("%.2f", value) ; Nov 19 23:27:40 shmooz: thanks, ok, but how do I use that in combination with a resource string? I mean the point of the resource string is that different languages may need to put that at different places within a string? Nov 19 23:29:15 not sure, I suppose some sort of place holder for the number for each language Nov 19 23:32:37 ah, it's ok, I think I got it thanks to your help: in the xml I put %1$s and then I call res->getString(foo, String.format("%.1f", bar); Nov 19 23:32:40 seems to work Nov 19 23:32:44 thanks for the help Nov 19 23:33:33 you might want to change the token in your resource file to a string one Nov 19 23:33:51 maraz: yeah, that's what I did - thanks Nov 19 23:33:58 ah, no problem then. Nov 19 23:34:08 I'm learning :) Nov 19 23:34:39 hey guys, anyone use cloud endpoints with android? Nov 19 23:34:39 tdignan: Thanks alot for this useful method, you saved me days of research on Trignometry stuff :) Nov 19 23:37:49 are there any good protobuf rpc libraries for android out there? Nov 19 23:39:28 tdignan: Is there a similar method but from drawables or Bitmaps ? Nov 19 23:39:34 for* Nov 19 23:40:53 Hello. I've spent last few hours trying to find out how to build adb for x64 Linux (with no support for x86), but no luck. Anyone got tutorial or something? Thanks. Nov 19 23:42:45 somebody got an ingress invite? :D Nov 20 00:31:48 how long does it take for app to show up in market? Nov 20 00:33:39 lately it's been about 2 hours for an app update to show. haven't posted a new app in a while so i don't know if that's longer Nov 20 00:40:00 ok Nov 20 00:40:00 thx Nov 20 01:15:18 #android-dev seems surprisingly dead today Nov 20 01:15:47 canadiancow: hopefully you can spice things up Nov 20 01:23:54 g00s, aww yeah Nov 20 01:25:47 man, google is really messing up customer support with the nexus 4. one limbo guy says "They simply do not know if or when my order might ship." oookay Nov 20 01:26:38 there, now things are more normal Nov 20 01:26:48 lol Nov 20 01:26:52 im going to go out on a limb Nov 20 01:26:57 and say that it will eventually ship Nov 20 01:27:59 cool, so ctate confirms rumors and canadiancow is google cs Nov 20 01:28:01 XD Nov 20 01:29:50 i can confirm that both of those are false Nov 20 01:30:25 spice spice spice it up Nov 20 01:31:51 looks like i may have to say maxSdk = 16 "Bluetooth Is Basically Broken" Nov 20 01:32:04 http://www.androidpolice.com/2012/11/19/android-4-2-gate-here-are-some-of-the-major-issues-plaguing-googles-newest-release/ Nov 20 01:32:44 poor december Nov 20 01:35:57 "Android is quickly becoming the Google+ OS." awww shit Nov 20 01:36:05 "App reviews in the Play Store will soon require a Google+ account, and future reviews will be posted showing your full Google+ name and picture." hmm Nov 20 01:36:23 ahh hell no Nov 20 01:36:41 i dont want a fucking fb phone, or a g+ phone , heh Nov 20 01:39:32 '' Nov 20 01:41:10 one app integrates a little more closely with g+, and it's suddenly a g+ phone? Nov 20 01:41:25 the iphone is closer to a facebook phone than this change would make android a g+ phone Nov 20 01:45:14 well, hopefully making a call wont require a g+ account ;) Nov 20 01:45:22 lol Nov 20 01:45:58 i dont like fb, g+ is ok, i would rather have neither Nov 20 01:46:04 actually, i'm pretty sure even using an android phone requires a google account. i use cm7 for mine, so i circumvented that Nov 20 01:46:12 does not Nov 20 01:46:28 may depend on carrier then Nov 20 01:46:33 does not Nov 20 01:46:49 some oem's require specific accounts for there services...like moto Nov 20 01:47:02 which is epic weaksauce Nov 20 02:19:36 g00s: Tech Crunch headline: "Elon Musk: With Jobs Gone, Google Will Win Mobile" Nov 20 02:19:43 TOO SOON MAN Nov 20 02:20:12 * g00s doesnt want a monopoly Nov 20 02:20:19 or duopoly Nov 20 02:20:59 i want one utopia under google. Nov 20 02:21:49 sounds scary Nov 20 02:22:07 oh? tell me. what did you spend most of your time doing today? Nov 20 02:22:27 probably....googling. Nov 20 02:22:36 google has you Nov 20 02:24:05 no, duckduckgo actually Nov 20 02:24:23 and if i google i 'm not logged into my google account ;) Nov 20 02:24:43 eh, I'm not surprised Nov 20 02:24:53 but i expected duckduckg00s Nov 20 02:25:07 at any given time I use 4 google accounts Nov 20 02:25:15 I log in to tons of stuff with google Nov 20 02:25:18 but wait, that violates their tos Nov 20 02:25:27 no it doesn't Nov 20 02:25:31 4 accounts ? Nov 20 02:25:35 show me in their TOS where it mandates one account per person Nov 20 02:26:00 none of the accounts I use are registered using pseudonyms, either. Nov 20 02:26:06 i have a bunch of accounts Nov 20 02:26:13 @gmail.com @google.com @coveragemapper.com Nov 20 02:26:20 plus more Nov 20 02:26:33 how can you not have more than one google account Nov 20 02:26:46 having more than one adwords account is an issue :P Nov 20 02:27:00 but only becuase they give away free $100 trials Nov 20 02:27:15 * canadiancow bites his tongue about adwords Nov 20 02:27:28 i never used it beyond the trial, heh Nov 20 02:27:35 i dropped $100 in it once Nov 20 02:27:38 i wasnt impressed Nov 20 02:27:54 I know some people who do well with it. Nov 20 02:28:09 it's good for advertising your basic professional service, if you're a lawyer or a cpa or something. Nov 20 02:28:19 better than facebook by far Nov 20 02:28:50 feels great to release my first app today :D Nov 20 02:30:27 lol http://techcrunch.com/2012/11/19/oprah-tweets-her-love-for-microsoft-surface-using-an-ipad Nov 20 02:30:53 this is why I read headlines and not articles. Nov 20 02:31:49 thats not even good Nov 20 02:32:00 i go to a store Nov 20 02:32:02 play with a surface Nov 20 02:32:05 realize its awesome Nov 20 02:32:06 come home Nov 20 02:32:09 get on my ipad Nov 20 02:32:13 tweet that Nov 20 02:32:19 then order a surface somewhere cheaper online Nov 20 02:33:20 plausible Nov 20 02:33:56 I was laughing about it because it's so goddamn stupid. I don't usually read TC but it basically reads like a supermarket tabloid of technology news. Nov 20 02:34:08 actually every time i used an iphone for work at zynga Nov 20 02:34:16 i wanted to scream "omg i love android" Nov 20 02:34:23 so there's a real example :) Nov 20 02:35:46 I really like paper -- I think it works good for things like todo lists. Paper! Nov 20 02:36:12 Lol Nov 20 02:42:40 im really fond of small paper notebooks for random notes about stuff Nov 20 02:43:00 About what Nov 20 02:43:15 "finsih writing someMethod() in SomeClass" Nov 20 02:43:33 I use ever note for that Nov 20 02:45:39 so the ListFragment has a onListItemClick but no longclick handler? can one be added after the fact? Nov 20 02:46:27 just use a ListView in a Fragment Nov 20 02:46:32 then you can do all the things Nov 20 02:47:39 List fragments are pointless, just like list activity Nov 20 02:48:08 canadiancow: ok, currently there's a listfragment used with a fragmentpageradapter for pagerview. You're saying inside the listfragment add a listview? Nov 20 02:48:30 ... Nov 20 02:48:39 no Nov 20 02:48:44 im saying... nevermind Nov 20 02:48:44 jug6-n7: android is in a ways old, in a way still new. So much crap is floating around google about what is deprecated, what is bad coding, etc.... it's hard to tell for a new dev. what to do.... Nov 20 02:48:54 ugh i spent 10 minutes trying to figure out where my view went. it was hardcoded to gone. :( Nov 20 02:49:12 Lol Nov 20 02:49:16 johny-b-goode, if you want to do anything fancy with a listview, do not use list(fragment|activity) Nov 20 02:49:20 canadiancow: I'm trying to understand what you're saying. I'm just very new dev. Nov 20 02:49:24 just use a normal fragment/activity and put your own listview in it Nov 20 02:50:07 canadiancow: hmm, ok that will take only couple of weeks of redesign. lol. I've finally stopped fearing changing the layout that generates the force close. Nov 20 02:50:42 anyway i gotta run Nov 20 02:51:04 the mainactivity is FragmentActivity. So that's done. it's the pager causing so much headache. sometimes, wonder if the pager is really worth it. Nov 20 02:51:17 Weeks of redesign :| Nov 20 02:52:11 jug6-n7: yeah you should have seen earlier. it took me weeks of goodlign just to understand. But the change time is improving as the overall architecture makes more sense. Nov 20 02:53:02 I have a view being inflated and I want to edit some of its children's elements. How do I access those children views of the one being inflated programmaticaly? Nov 20 02:53:22 johny-b-goode: getListView().setOnItemLongClickListener() Nov 20 02:53:34 dun dun dun Nov 20 02:54:09 brian_petersen: findviewbyid Nov 20 02:54:24 tdignan: apparently ListFragment doesn't have setOnItemLongClickListener(). Nov 20 02:54:33 johny-b-goode: *getListView()* Nov 20 02:54:41 Yup Nov 20 02:54:49 tdignan: oh, get the ListView it's based on? Nov 20 02:55:12 MAYBE Nov 20 02:55:34 ooops, sorry caps Nov 20 02:55:41 jug6-n7: that throws an error. I don't know what it is exactly though Nov 20 02:56:02 What error... Nov 20 02:56:02 tdignan: alright, it's there. :) to quote someone in this channel: dun dun dun!!!! Nov 20 02:56:30 jug6-n7: NullPointerException Nov 20 02:56:45 Full trace Nov 20 02:57:18 Pastebin it **** ENDING LOGGING AT Tue Nov 20 02:59:57 2012