**** BEGIN LOGGING AT Mon Feb 16 02:59:59 2015 Feb 16 03:00:34 leopard: www.google.com Feb 16 03:27:37 Unsure whether this is the appropriate place to ask, but I'm currently seeking employment in android dev and I'm wondering if any professional developers would be willing to briefly look over my open-source app to give me feedback on code quality, readability, and project organization. Feb 16 03:29:20 Trying to gauge whether I'm a strong candidate and whether this is a good project to showcase, etc. Feb 16 03:29:57 Post the link? Feb 16 03:33:11 JavaDog another way to go about this, is to read 'app accomplished' and judge your own work by the criteria in the book, which is mostly meant for companies looking to do mobile dev or hire mobile devs. nobody hasthe same asthetics, it will be hard asking anyone to judge your work Feb 16 03:33:53 true. Feb 16 03:34:05 and sure, https://github.com/culmor30/cgeo-wear Feb 16 03:34:33 I'll look into 'app accomplished,' thanks Feb 16 03:36:14 Tabs show as eight-space indents on GitHub. ;| Feb 16 03:36:17 At least in Google Chrome. Feb 16 03:37:17 Yeah, it's unfortunate :\ Feb 16 03:37:41 a plugin? that's not very good portfolio material Feb 16 03:38:23 It's a plugin that aims to (eventually) totally extend the functionality of the android app to android wear Feb 16 03:38:34 or the important bits, anyway Feb 16 03:39:21 Oh, also, I'm freshly graduated so I don't have a ton of portfolio material yet Feb 16 03:42:44 I figured it would make a good portfolio project because it shows that I can navigate an existing codebase and extend its functionality (I added the android wear API, which this app depends on, to c:geo) to be compatible with a third-party plugin (my app). Feb 16 03:43:00 Not sure if that makes sense. But is that not the case? Feb 16 03:44:09 i have an app here that will force quit when i open it Feb 16 03:44:10 And it's a bit niche, but I thought it might be more interesting than the standard "hey look, I can write a notepad app!" Feb 16 03:44:13 for no apparent reason Feb 16 03:44:34 (But should I write a notepad app, just to show that I can?) Feb 16 03:45:01 screwsss: read the logs Feb 16 03:45:45 i have Feb 16 03:45:49 well i used logcat Feb 16 03:45:52 i picked up no useful information Feb 16 03:46:04 or if i did i couldnt interpret it Feb 16 03:46:11 pastebin it Feb 16 03:50:25 JavaDog: sounds kinda vague Feb 16 03:50:32 JavaDog: everyone should write a text editor Feb 16 03:51:24 K, Feb 16 03:51:30 what app should i use Feb 16 03:51:31 logcat Feb 16 03:51:33 ? Feb 16 03:51:51 first off when i start log called i get this one line repeated continuously Feb 16 03:51:51 that's a good start Feb 16 03:52:16 D/AbsListView( 4404): unregisterIRListener() is called Feb 16 03:52:20 it just keeps spamming the screen Feb 16 03:52:29 That's meaningless, you can ignore it Feb 16 03:52:39 soudnsd like you got a circular call happenning Feb 16 03:52:57 I get that with every project in android studio Feb 16 03:53:14 SO answers just give instructions on how to filter it out of logcat Feb 16 03:53:36 ex. http://stackoverflow.com/a/25472703/1079597 Feb 16 03:53:45 well i wouldn't want a developer who just ignored an error spamming the output of his app :/ Feb 16 03:54:19 screwsss: but you could be doing something like calling a layout request from a layout request eg endless loop Feb 16 03:54:33 Ah, it looks like a samsung issue. screwsss, are you testing on a samsung device? Feb 16 03:55:54 Hmm, I wonder whether we should be passing LayoutInflaters, not Contexts, to adapters (in general). Feb 16 03:56:11 I have so much code that's just "inflater = LayoutInflater.from(context);" after passing in a Context. Feb 16 03:56:42 TacticalJoke: doesn't matter, but you can think of it as opaque or transparent dependency injection: eg passing LI you know why you are DIing it, passing context... not so sure, could open up problems Feb 16 03:57:22 Yeah, DI FTW. Feb 16 03:57:49 I think it's also much easier to mock-test code that requires a LayoutInflater than code that requires a Context. Feb 16 03:58:04 Though it's probably hard to mock-test either. :D Feb 16 03:58:13 TacticalJoke i saw this today :D http://www.amazon.com/gp/product/0374223955 Feb 16 03:59:03 Interesting. I've never read a book about it. Feb 16 03:59:20 not really into memoirs though Feb 16 03:59:34 I'd love to read a book about the interplay between OCD and programming. Feb 16 04:00:09 JavaDog: yep this is a sammy device Feb 16 04:00:15 JavaDog: its a note 3 to be exact. international version Feb 16 04:02:09 sorry got distracted on gooogle Feb 16 04:02:45 http://forum.xda-developers.com/showthread.php?t=2504016&page=1372 Feb 16 04:02:59 http://forum.xda-developers.com/showpost.php?p=50832244&postcount=13715 Feb 16 04:03:42 I was looking at pay-for reddit apps tonight. Some of the developers seem to have published their home addresses on Google Play. Feb 16 04:03:45 It's crazy. Feb 16 04:04:02 Mine is gonna be free, but I hope one day Google doesn't decide that everyone has to publish their address or something. Feb 16 04:04:26 If that happened, I think I'd just host it somewhere. Feb 16 04:05:03 I remember the Angry Birds developer talking about getting death threats. No way I'd put my home address up. Feb 16 04:05:41 TacticalJoke: you don't have to put in *home* address Feb 16 04:05:57 it's a business point of contact address Feb 16 04:06:18 Not all developers have a business address that they can claim as theirs. Feb 16 04:06:40 And from what I read a PO box isn't sufficient. Feb 16 04:07:23 I'm just checking how much is a business address from Regus... Feb 16 04:07:57 It'd be cool if huge developers revolted and demanded better support from Google. Feb 16 04:08:25 I can't see Microsoft ever treating developers this badly. Feb 16 04:08:27 TacticalJoke: the side that required giving addresses was national law Feb 16 04:08:52 Isn't it EU-related? I think Google could've given the option not to publish there. Feb 16 04:08:53 TacticalJoke its not a requirement for Apple, i think there are differences in the way apple and google do this. Apple is the seller, but we are the seller. Feb 16 04:09:01 Yeah. Feb 16 04:09:40 It's crazy. Why does someone online need a physical address for a developer? Google will have that in the case of paid apps anyway. Feb 16 04:10:23 If you look at statistics for severe mental illnesses in humans (e.g., psychosis), it's often way higher that people realise. Feb 16 04:10:59 TacticalJoke: It's the law. And from my pov, it seems that most devs appear to mental deficient in finding basic $20 "virtual business address" plan (which *is* sufficient) Feb 16 04:10:59 Just asking, is it possible to hide developer name on play store? Feb 16 04:11:01 Good luck if one of those people turn up at your door. Feb 16 04:11:14 $20 per what? Feb 16 04:11:20 month at most Feb 16 04:11:42 for £99/mo, you get an office with a desk, internet, receptionist etc. Feb 16 04:12:03 That's kinda ridiculous for hobbyists who want a little change on the side. Feb 16 04:12:31 napster: As far as I can tell, you can put basically anything for the developer name. Feb 16 04:13:02 ok, that could work Feb 16 04:13:18 p_l so you rent a 20 dollar address out in the middle of nowhere and then forard it to your home address or what? Feb 16 04:13:20 What guarantees do people even have, though? Will Google one day publish my phone number? Who even knows. Feb 16 04:13:27 if $20 is more than you get from paid app, then afaik you should reconsider it, because due to Google only providing marketplace (not being the seller), your taxes are already complicated by any revenue from the app (because you operate it as business) Feb 16 04:13:29 any po box in my city is 80 at least Feb 16 04:13:29 pfn: Do you have anything more to say on why a plugin is "not good portfolio material"? I'm curious why you think so, as plugins aren't necessarily more or less complex or involved than the applications whose functionality they extend. Feb 16 04:13:31 lasserix_: something like that Feb 16 04:13:56 p_l: To suddenly impose $20/month on being an Android app developer is ludicrous. Feb 16 04:14:34 TacticalJoke: under the law, anyone publishing a paid app on Play Store operates as business, even if it's a sole-trader kind Feb 16 04:15:12 p_l: The law doesn't require google to publicly disclose the business' address though, but they still choose to do it Feb 16 04:15:15 local laws differ, but from the legal pov, the connection between Google and you is that of two companies Feb 16 04:15:25 and they chose to do it when the european laws changed to require that, IIRC Feb 16 04:15:58 which makes no sense because not everyone distributes in europe Feb 16 04:16:07 (or wherever that ruling took place) Feb 16 04:16:51 JavaDog: pretty much everyone just uses a common denominator of requirements when working on such scale Feb 16 04:17:42 But since there's been such a huge outcry over it, IMO, it would be in Google's interest to listen to their developers Feb 16 04:18:24 JavaDog, it's not a good example of the end to end development cycle Feb 16 04:18:44 How not? Feb 16 04:18:48 Given the legal requirements *I* personally face if I wanted to put up a paid application on Play Store, ones that are unconnected to Google... Feb 16 04:18:53 Unfortunately, Google doesn't seem to care very much about developers. Feb 16 04:19:33 s/developers that don't generate much income/ Feb 16 04:19:49 If the developers left, android would wither and die. Feb 16 04:19:50 s/developers/developers that don't generate much income/ Feb 16 04:19:50 JavaDog: ya still there my friend Feb 16 04:19:52 i think it was different in the early days, when google needed momentum Feb 16 04:20:06 now its not needed. if anything, they probably wish to nuke 80% of the store Feb 16 04:20:15 g00s: in the early days it was "fuck, not available anyway", at least to those outside USA Feb 16 04:20:21 screwsss: Sorry, what were you wondering? Feb 16 04:20:32 http://forum.xda-developers.com/showpost.php?p=50832244&postcount=13715 Feb 16 04:20:40 i have that line looping in log cat too Feb 16 04:20:41 g00s: I find it hard to determine what Google *does* care about. Feb 16 04:20:51 I sometimes think they might just abandon Android someday. Feb 16 04:21:02 Well, they will, but I sometimes think it could happen at any time. Feb 16 04:21:10 TacticalJoke i never really felt android was their baby, the way ios was apple's or windows was MS Feb 16 04:21:23 each has a different idea of platform though Feb 16 04:21:40 If Windows 10 got huge I'd seriously consider jumping ship. Feb 16 04:21:57 screwsss: what's the actual problem ? you have a crappy ROM or your app is crashing? Feb 16 04:21:58 screwsss: That's just because, like me, you're using a Note 3. I bet you'll see that in the logcat for any application which implements an AbstractListView in some form Feb 16 04:22:03 C# + Visual Studio + Microsoft giving lots of attention to developers. Feb 16 04:22:04 https://gist.github.com/mikepsinn/9743331#file-diygenomics-crash-L4404 Feb 16 04:22:12 ROM is stock so Feb 16 04:22:14 cant be that Feb 16 04:22:26 i have an app that is crashing tho im not sure if the 2 are related Feb 16 04:22:26 It is that. It's samsung's code outputting that message. Feb 16 04:22:34 Though I dunno how Windows 10 will do in today's world. Feb 16 04:22:38 Is it your own app, or just some app on your phone? Feb 16 04:22:44 screwsss: you are probably doing something funny in an adapter Feb 16 04:22:46 03-24 11:07:28.991 15510-19377/? W/System.err﹕ at com.sec.samsung.gallery.app.imagenote.photonote.SPDChecker$1.call(SPDChecker.java:137) Feb 16 04:22:49 thats to reference later Feb 16 04:22:58 nothings connected to this device Feb 16 04:23:08 D/AbsListView( 4404): unregisterIRListener() is called Feb 16 04:23:13 this is looping in logcat Feb 16 04:23:17 non-stop Feb 16 04:23:22 no matter when i open it Feb 16 04:23:24 or howi open it Feb 16 04:23:47 FWIW, I don't see that string here: https://android.googlesource.com/platform/frameworks/base/+/master/core/java/android/widget/AbsListView.java Feb 16 04:24:18 Though I guess that doesn't mean much. Feb 16 04:24:25 screwsss: Listen man. It's a Note 3 thing. It just happens, and you can filter it out of your logcat, but it will still happen. Feb 16 04:24:26 i also have a strange pic in gallery thats corrupt. as in it shows a question mark in a box Feb 16 04:24:35 are you sure Feb 16 04:24:45 absolutely. I've been developing on note 3 for over a year Feb 16 04:24:46 My Sony floods LogCat with messages. It's annoying. Feb 16 04:25:07 okay. ill take your word then Feb 16 04:25:13 okay so Feb 16 04:25:17 next step is to filter this biotch Feb 16 04:25:18 as for the corrupted photo, it may be a failed download or something. Probably safe to delete Feb 16 04:25:49 (in fact, your mediaserver may keep your phone in wakelock trying to scan that file if you /don't/ delete it) Feb 16 04:26:11 ohh....... Feb 16 04:26:16 k lets check it out Feb 16 04:26:43 btw, to everyone wondering how to get a business address that doesn't disclose where you live: http://www.nymail.com/postalMail.html <--- one of first examples other than Regus that I found with *short* googling Feb 16 04:26:54 sorry it isnt a question mark it looks like white icon of a person and a crack through it Feb 16 04:26:58 but ye u get the idea Feb 16 04:27:53 p_l: The situation is silly. People sell on eBay without having to produce physical addresses. Feb 16 04:28:07 Same (as far as I know) on the Apple store or the MS one. Feb 16 04:28:10 hrm thats interesting Feb 16 04:28:11 there's nothing you can do about it, why are you still talking about it ? Feb 16 04:28:36 the error code number has changed to 6769 Feb 16 04:28:41 from 4400 Feb 16 04:28:44 i mean 4404 Feb 16 04:28:45 D/AbsListView( 6769): unregisterIRListener() is called Feb 16 04:28:50 now thats looping over and over Feb 16 04:28:54 Refusing to discuss problems doesn't really help. Feb 16 04:29:22 screwsss: I think that's just a different process ID outputting the same thing. Because every app will do it. Feb 16 04:29:28 (if it uses an abslistview somewhere) Feb 16 04:29:41 TacticalJoke i agree, there isn't anyone here that can do anything about it. now in 2010 if you were talking to tbray or reto that would be different Feb 16 04:29:43 but it was 4404 for ages Feb 16 04:29:45 now i delete this file Feb 16 04:29:47 and its changed Feb 16 04:29:49 coincidence? Feb 16 04:29:52 spooky Feb 16 04:29:59 if you arent sure thats fine Feb 16 04:30:04 haha Feb 16 04:30:12 It probably isn't a big deal Feb 16 04:30:25 your app crashing is a problem though. And this message isn't the cause. Feb 16 04:30:26 it would be nice if there was a google developer advocate in the channel :( Feb 16 04:30:28 needless to say it did not resolve the issue with my other app crashing Feb 16 04:30:50 screwsss: Is it an app you've written? Feb 16 04:30:55 screwsss: can you just paste the logs of your device when the app is crashing ... this other mess is irrelevant Feb 16 04:31:26 no Feb 16 04:31:29 its tinder Feb 16 04:31:29 I'm just trying to figure out whether we're helping a fellow dev or providing tech support Feb 16 04:31:32 mhm Feb 16 04:31:44 ps it was working not long ago Feb 16 04:31:47 not sure what happened Feb 16 04:31:55 TacticalJoke: in case of at least Apple store the "seller" is Apple, not Google. Different legal structure. eBay also works on slightly different setup (you pay them money for setting the auction etc.) Feb 16 04:31:57 you came in here to talk about tinder crashing? :/ Feb 16 04:32:13 (Directed by M. Night Shyamalan.) Feb 16 04:32:14 my phone did crash bizarely and reboot itself the other week tho, all my widegets were deleted but everything else remained. i think i was taking a photo. i think thats the thing that created that corrupt photo file Feb 16 04:32:29 all i had to do was put the widgets back and it seemed like my phone was running a little faster than before actually Feb 16 04:33:35 screwsss: Not trying to be rude or anything, but this channel is meant for discussion of android dev only. You might have better luck asking in the subreddit or XDA forum for your phone model. Feb 16 04:33:56 thats okay Feb 16 04:34:03 this problem needs to be fixed this week though Feb 16 04:34:58 screws you cannot fix it Feb 16 04:35:04 someone left a log call uncommented Feb 16 04:35:19 in the device's preloaded software Feb 16 04:35:42 short of patching the rom you out of luck Feb 16 04:36:21 D/AbsListView( 6769): unregisterIRListener() is called Feb 16 04:36:24 as in that is uncommented? Feb 16 04:36:26 sorry>? Feb 16 04:36:55 They used that line when testing the OS, but they forgot to remove it before selling it to you. Feb 16 04:37:17 And you can't alter the firmware (well, you can, but it would be a serious undertaking) Feb 16 04:37:24 yes someone there is a Log.d(.... unregisterIRListener() is called) Feb 16 04:37:47 *somewhere there is that someone forgot to comment before releasing the phone Feb 16 04:37:56 This is the case for (presumably) all Note 3's, at least the ones I've encountered Feb 16 04:38:11 varoious devices have problems like this Feb 16 04:38:26 k so how do i patch the rom. im pretty computer literate so ye just give it to me straight Feb 16 04:38:34 lol Feb 16 04:38:41 you can't Feb 16 04:38:50 if you dont know how already you are not going to learn how in a week Feb 16 04:39:09 You would need to root your device and learn how to write an Xposed module. Feb 16 04:40:00 I have no experience with it, but I'm sure there are people who do on XDA and reddit. Feb 16 04:40:11 okay well Feb 16 04:40:14 and #android-root Feb 16 04:40:16 ive completed 2 of those 3 steps already Feb 16 04:40:18 im rooted Feb 16 04:40:25 and i have xposed installed Feb 16 04:40:26 who uses xposed.. Feb 16 04:40:36 screwsss: its not going to work i was being saracastic Feb 16 04:40:37 and by the way, sending me to android-root you may aswell just say log of irc completely Feb 16 04:40:53 that's ok too Feb 16 04:40:56 you may as well send me to an empty building and have me yell out help till im blue in the face Feb 16 04:41:07 you can't fix this problem. Feb 16 04:41:15 okay well Feb 16 04:41:19 how about i try this: Feb 16 04:41:29 back up all my shiznit and reinstall my rom from scratch Feb 16 04:41:36 i wanted to learn what caused the problem in the first place Feb 16 04:41:42 but if i have to i have to y'know Feb 16 04:41:43 That won't get rid of the 'unregistered' outputs Feb 16 04:41:44 its a waste of time Feb 16 04:41:52 tinder was working a week ago Feb 16 04:41:58 I love how people btch about busted roms Feb 16 04:42:01 complain to the tinder people then Feb 16 04:42:02 and then always chime in Feb 16 04:42:03 i wonder if i scored a virii which corrupted my system? Feb 16 04:42:08 oh yeah I have exposed Feb 16 04:42:14 and xposed is almost always the cause Feb 16 04:42:18 A virii? Feb 16 04:42:23 virus i mean Feb 16 04:42:25 the fact that xposed works in the first place Feb 16 04:42:29 is kind of a hack Feb 16 04:42:33 screwsss: If you're not sure why Tinder is crashing and you are rooted and running xposed, you should probably not be rooted and running xposed. Feb 16 04:42:36 Reminds me of alt.comp.virus.source-code. Feb 16 04:42:38 why do you think that would be anything less than buggy Feb 16 04:42:50 plus fuck tinder Feb 16 04:43:16 Xposed is some seriously hacked-together shit. If you're unable to debug the problems it causes yourself, on your particular device, well... good luck. Feb 16 04:43:40 Everyone's talking about Tinder these days. I hear it's full of desperate men and insane women. Feb 16 04:44:01 (Which I guess describes dating in general.) Feb 16 04:44:03 However, I can promise you with 99.999% confidence that the 'unregisterirlistener' thing has absolutely nothing to do with Tinder crashing Feb 16 04:44:13 TacticalJoke: a test with a bot suggests that it's mostly hyperbole, but hyperbole is easiest to recall and gives nice headlines Feb 16 04:45:18 so Feb 16 04:45:24 should i uninstal xposed and see what happens Feb 16 04:45:32 just for the sake of eliminating possibilities? Feb 16 04:45:37 Absolutely disable it, restart your phone, and try tinder Feb 16 04:45:42 tl;dr even when your news source is very unbiased etc, humans are still wired to go for rare datapoints rather than the common Feb 16 04:45:45 screwsss: this is the wrong chat room please stop asking about this problem Feb 16 04:45:58 however, that's the extent of the advice I can give you. See lasserix_'s post ^ Feb 16 04:46:05 JavaDog: howcome you're not 100% certain Feb 16 04:46:20 Okay, I'm pretty sure I'm just feeding a troll at this point Feb 16 04:46:21 if someone comes here asking a legit question you guys have full right to ignore me and help that guy Feb 16 04:46:40 you are actually spamming the chatroom which will get you kicked Feb 16 04:46:45 until then we need to deal with your illegitimate question? lol Feb 16 04:46:47 channel Feb 16 04:47:15 well this isnt #android-casualchat is it? Feb 16 04:47:21 im at least sort of on topic Feb 16 04:47:37 We're being honest: this isn't the channel for your problem, and nobody here really has the expertise or desire to help you unfortunately Feb 16 04:47:39 we dont need an #android-senate to discuss what are legal topics to discuss about and what arent Feb 16 04:47:39 the answer to your question has been stated multiple times in multiple ways, which means you are just trolling Feb 16 04:47:54 well ive gotten a bit further than i was before tbh Feb 16 04:48:20 why do we always need to pass on difficult questions to other android channels Feb 16 04:48:28 if i go into #android they will prob pass me into android-root too Feb 16 04:48:36 then android-root will say sorry its not our issue go to -dev Feb 16 04:48:40 this channel is for app dev, nothing else Feb 16 04:49:01 android-root definitely won't say that Feb 16 04:49:01 can we talk about fixing my car? ;) Feb 16 04:49:02 can you guys help me hack a pre-existing app? Feb 16 04:49:13 capella: motorbikes, not cars Feb 16 04:49:21 thats if android-root says anything. the passed month i have not seen a single person say so much as a hello in there Feb 16 04:49:26 Ah! My magna v65has timing issues Feb 16 04:49:28 and i aint exaggerating Feb 16 04:49:49 capella: try #hardware - they at least have people talking all the time and helpers around the clock Feb 16 04:49:58 I went to ##hondahacks and they sent me here Feb 16 04:50:12 * bankai_ wonders if that's a real channel Feb 16 04:50:23 heh - doubtful Feb 16 04:50:39 alright different way we can do this. can someone who is willing to help me follow me into one of the other channels Feb 16 04:50:47 * screwsss looks around Feb 16 04:51:03 I'm confident that anyone who wants to help you will see you there. Have a nice night. Feb 16 04:52:27 Can anyone else take a brief look at my open-source app to help me gauge its value as a portfolio project? Feb 16 04:52:56 (happy to move to PM/private channel as I recognize this is also slightly off-topic) Feb 16 04:53:03 I had a quick look. There didn't seem to be much code there. Feb 16 04:53:40 Most of the code is in MobileService, WearService, and LocationUtils Feb 16 04:55:13 The rest is sort of boilerplate android/wear communication stuff Feb 16 04:55:37 I'm mostly concerned about readability and clarity Feb 16 05:04:06 Well, thanks for looking anyway. I've gotta run Feb 16 05:05:19 wtf is xposed Feb 16 05:05:32 i was thinking the same, but too scared to ask lol Feb 16 05:06:32 whats annoying, is that screwsss will be back in a few months with exactly the same non-dev question Feb 16 05:06:52 because , uh, this has been going on for a long time :) Feb 16 05:08:55 hey guys Feb 16 05:08:58 sure, ping his nick! Feb 16 05:09:01 so i took a snap of the log cat Feb 16 05:09:02 http://imgur.com/Sg0mBma Feb 16 05:09:08 the arrow indicates where i open tinder Feb 16 05:09:15 and its subsequent crash Feb 16 05:09:20 you know you can pastebin text, right ? Feb 16 05:09:25 nopes? Feb 16 05:09:35 heh Feb 16 05:10:00 I missed most of this. Are you trying to figure out why some app is crashing, screwsss? Feb 16 05:10:05 capella pastebin doesn't have arrow support :D Feb 16 05:10:06 TacticalJoke: that is correct Feb 16 05:10:13 oic XD Feb 16 05:10:15 Just find reproducible steps and e-mail the developer. Feb 16 05:10:16 TacticalJoke: he's upset tinder is crashing Feb 16 05:10:31 Maybe it crashes when too many people swipe left/right (whatever it is). Feb 16 05:10:46 no no Feb 16 05:10:48 its crashing upon open Feb 16 05:10:51 i open the app Feb 16 05:10:59 Maybe too many people have swiped you left or right. Feb 16 05:11:03 then it crashes with error message Feb 16 05:11:18 bizarely this wasnt happening a week ago Feb 16 05:11:35 g00s: arrows in pastebin https://pastebin.mozilla.org/8775227 Feb 16 05:11:58 heh Feb 16 05:11:58 capella: can you make it coloured, please? Feb 16 05:12:05 onTabChanged: STOP Feb 16 05:12:15 http://imgur.com/Sg0mBma Feb 16 05:12:38 screwsss: Reinstall it, find reproducible steps, e-mail them, ???, profit. Feb 16 05:12:40 bankai_ https://pastebin.mozilla.org/8775268 Feb 16 05:12:57 oh well ... aren't you a little smart arse :P Feb 16 05:12:59 im gonna get rid of xposed Feb 16 05:13:02 see if that helps Feb 16 05:13:02 hahahahaha Feb 16 05:13:07 I don't understand why people care so much about apps. I just never care about apps (other than mine). Maybe I'm weird. Feb 16 05:13:09 we're gonna get rid of you soon :) Feb 16 05:13:23 whos you pray-tell Feb 16 05:13:40 screwsss of course Feb 16 05:14:33 ya know when i solve a problem i end up expanding my knowledge of android and programming just that little bit more and i hope that others can benefit just as well im pretty sure they do Feb 16 05:14:53 so next time i see that issue with someone else im just like "hohoh, ive had that one too, all u have to do is click here do this and shazam" Feb 16 05:14:58 you aren't expanding your knowledge of anything Feb 16 05:15:51 rubbish Feb 16 05:16:11 its not even your app Feb 16 05:16:53 maybe one day it will be Feb 16 05:17:10 come back when its your app Feb 16 05:17:16 You could create a Tinder clon. Feb 16 05:17:17 clone* Feb 16 05:17:26 isn't there enough of those ? Feb 16 05:18:21 aaand uninstalling xposed didnt work Feb 16 05:38:36 * capella loves the smell of bisecting regressions in the morning Feb 16 05:40:42 as they would say 'Get with the program!' Feb 16 05:41:14 NO one breaks popehat on me !!!! Feb 16 05:44:59 TacticalJoke: time is up! where is my Reddit app !? Feb 16 05:47:50 so now I'm gonna buy a windows tablet and learn windows mobile programming too Feb 16 05:48:36 You'll be loved by dozens! Feb 16 05:48:53 it's only $59 for a 7 inch http://www.microsoftproductreviews.com/windows/low-can-go-winbook-7-inch-tablet-running-windows-8-1-selling-59-99/ Feb 16 05:49:10 chicks will dig you Feb 16 05:49:54 and then I have to do the stupid iPhone programming too, and then Blackberry and Tizen and Ubuntu Feb 16 05:50:14 I'll be 150 years old by then Feb 16 05:51:23 I have Rust and Servo in my list before iOS Feb 16 06:07:38 capella can you use rust on iOS ? Feb 16 06:07:44 can't be worse than the NDK :) Feb 16 06:08:23 heh ... I don't know ! I know the Servo guys have an Android version running and they're Rust based ofc Feb 16 06:09:46 shmooz: I thought you didn't read reddit. Feb 16 06:10:11 BTW, you should. /r/programming is good. Feb 16 06:10:44 Also, /r/trashy, /r/cringepics, etc. I have to sleep. Be back soon! Feb 16 06:34:26 why is /usr/share/applications/android-studio.desktop rw-r-xr-x but everything else in there is rw-r--r--? Feb 16 07:03:05 duncannz: did you or your distribution write android-studio.desktop file? Feb 16 07:03:46 donniezazen: I install android studio via the AUR (I use Arch Linux), so quite possibly the PKGBUILD did it Feb 16 07:04:04 duncannz: AUR maintainer would know. Feb 16 07:04:32 this is the install script, perhaps the last line does it https://aur.archlinux.org/packages/an/android-studio/PKGBUILD Feb 16 07:04:41 oh well it doesn't do any harm. just struck me as odd Feb 16 07:04:59 desktop file is copied as it is. Extract AUR package and see what's the persmission of desktop file Feb 16 07:06:26 duncannz: desktop file ~/.local/share/applications/jetbrains-android-studio.desktop created by AS is 600 Feb 16 07:06:51 that is -rw------- Feb 16 07:07:19 I extracted the tarball and the .desktop file is rw-r--r--, so it must be getting changed by the install script (PKGBUILD) Feb 16 07:07:58 oh well, it doesn't matter Feb 16 07:11:40 heh, the second comment from the top on the AUR page https://aur.archlinux.org/packages/android-studio/ is about this exact same thing Feb 16 07:18:22 morning! Feb 16 07:21:57 Are you guys sticking to API 15 (4.0) above or API 16 (4.1) for new projects? Feb 16 07:22:41 api 1 or bust! Feb 16 07:23:55 lol Feb 16 07:23:59 donniezazen: it depends Feb 16 07:24:07 i suggest looking at the dashboards Feb 16 07:24:24 and calculating the risk of not supporting specific api levels Feb 16 07:24:33 Jellybeans and up are 85%. Feb 16 07:24:43 ICS is another 6.4% Feb 16 07:24:46 It probably also depends on what you're wanting to do - if there are newer apis that you don't want to do without, etc. Feb 16 07:25:55 Yeah and you might have most of your sale in latest versions. Feb 16 07:38:27 hey thepoosh Feb 16 07:40:41 sup Feb 16 07:41:44 g00s: have you read this? Feb 16 07:41:49 http://saulmm.github.io/a-useful-stack-on-android-2-user-interface/ Feb 16 07:41:57 g00s: regression identified \o/ - heh ... 4 hours of digging Feb 16 07:41:58 thepoosh what kind of git branching model do you guys use ? Feb 16 07:42:20 g00s: master is where the released stable versions are Feb 16 07:42:31 and then every new release gets a branch Feb 16 07:42:36 r/BRANC_NAME Feb 16 07:42:42 do devs have feature branches ? Feb 16 07:42:56 from that does out all the feature branches f/BRANCH_NAME Feb 16 07:42:59 and bugs Feb 16 07:43:05 b/JIRA_TICKET Feb 16 07:43:23 all of them get merged via pull requests to the specific release branch Feb 16 07:43:34 thepoosh do you guys backmerge from integration into feature branches ? Feb 16 07:43:35 and once a version is released it gets merged into master Feb 16 07:43:51 didn't understand the question Feb 16 07:44:51 lets say f/1 and f/2 are being worked on. f/1 is completed and merged into the release branch. do you guys then back merge release into f/2 ? Feb 16 07:45:18 yes Feb 16 07:45:35 f/2 must be updated to r/branch Feb 16 07:45:52 before merging to r/branch you must fix all conflicts with it Feb 16 07:45:59 on f/branch Feb 16 07:47:34 just looking at this model, the recommend against backmerging https://www.acquia.com/blog/pragmatic-guide-branch-feature-git-branching-strategy Feb 16 07:47:53 oh well, i do wish there was a good book on different git workflows Feb 16 07:49:03 thepoosh yeah i did see that , maybe from androidweekly? Feb 16 07:49:12 yeah Feb 16 07:49:19 it was the good one of this week Feb 16 07:49:32 i wish I could find the talk about gradle in better quality Feb 16 07:49:43 the NYC droidcon had crappy video quality Feb 16 07:50:14 all those videos blow Feb 16 07:50:15 don't watch them Feb 16 07:50:47 JakeWharton: it looked like it might be interesting Feb 16 07:50:54 a talk about correct usage of gradle Feb 16 07:51:01 i meant the quality Feb 16 07:51:04 there was also a talk by Mike Murphy Feb 16 07:51:07 oh Feb 16 07:51:07 Mark Feb 16 07:51:12 same thing Feb 16 07:51:13 ! Feb 16 07:51:15 :P Feb 16 07:51:31 i wasn't a fan of his talk Feb 16 07:51:31 anywho, bad quality Feb 16 07:51:40 couldn't follow Feb 16 07:51:53 he has some good stuff Feb 16 07:51:59 i don't know about this talk Feb 16 07:52:02 were you there? Feb 16 07:52:30 i was Feb 16 07:52:57 how was it? Feb 16 07:53:04 did you talk? Feb 16 07:53:08 i did Feb 16 07:53:13 about? Feb 16 07:53:18 is there a link to the slides? Feb 16 07:53:20 writing annotation processors Feb 16 07:53:28 oh Feb 16 07:53:33 https://speakerdeck.com/jakewharton/annotation-processing-boilerplate-destruction-square-waterloo-2014 Feb 16 07:53:40 video (that doesn't suck) in the description Feb 16 07:53:55 the droidcon video of that talk blows so hard Feb 16 07:54:00 yes Feb 16 07:54:12 they really didnt do a good job with the sound quality Feb 16 07:54:20 or taking a shot of the screen Feb 16 07:56:05 well to be fair, they had really nice video recording equipment lined up but they weren't able to get to the venue on time Feb 16 07:56:20 so Kevin had to go to Best Buy and spend a few thousand on normal cameras just to capture anything at all Feb 16 07:56:36 AAAAHHHH!!!! Feb 16 07:56:51 ugh that sucks :| Feb 16 07:57:31 hopefully, next time it will be better Feb 16 07:57:47 the israeli droidcon just posted the slides Feb 16 07:58:11 no video! Feb 16 08:01:46 http://www.slideshare.net/DroidConTLV/presentations Feb 16 08:38:16 if almost all of my ad clicks come from the ad on the first screen, should I disable ads on other screens for better UX? Feb 16 08:38:28 does anyone else find that almost all their revenue comes from the first ad that users see? Feb 16 08:44:07 is it a good idea to use an application framework for android development? what are some good ways to learn about resource managment and preventing memory leaks Feb 16 08:45:08 What do you mean by application framework_ Feb 16 08:45:08 ? Feb 16 08:46:13 http://en.m.wikipedia.org/wiki/Application_framework Feb 16 08:47:28 That doesn't really help me understand which frameworks are you thinking of :) Feb 16 08:48:27 in general, no it's not a good idea Feb 16 08:49:07 the Android SDK is your application framework Feb 16 08:49:31 cool. im just trying to be a better programmer :3 Feb 16 08:50:09 any advice on learning about mem leaks or resource managment on android? Feb 16 08:52:06 Anyone had problems with 'SIGSEGV' on 5.0+ devices? Feb 16 08:52:06 A/libc﹕ Fatal signal 11 (SIGSEGV), code 1, fault addr 0x0 in tid 20588 Feb 16 08:52:40 Troffel, you're dereferencing a NULL pointer Feb 16 08:53:14 TheKarlBrown, hmm... learning about how Java GC works and maybe how to use Heap dumps / Eclipse MAT would help Feb 16 08:54:22 Mavrik, possible to find any additional information on this nullpointer? I can't seem to find any information on it Feb 16 08:54:31 im using studio its better Feb 16 08:54:48 thank you Feb 16 08:55:04 TheKarlBrown eclipse MAT isn't in studio :) Feb 16 08:55:42 g00s :3 Feb 16 08:58:51 Troffel, um, compile with debug mode Feb 16 08:59:00 Troffel, and you'll see the stack trace of your code Feb 16 08:59:56 TheKarlBrown, to clarify, Eclipse is a platform used for multiple stuff, and MAT (Memory Analyzer) is a very nice tool for analyzing Java memory dumps Feb 16 09:00:13 TheKarlBrown, it has nothing to do with writing code, it's very useful to do a dump and then see what's taking up memory in your app Feb 16 09:00:15 ok, ill keep digging that way. biggest problem is not being able to reproduce the error Feb 16 09:01:07 :)) Feb 16 09:01:50 Troffel, it's really hard to say anything more specific, because you just have to find in your code where your pointers are getting corrupted / wrongly freed Feb 16 09:02:49 Mavrik, I know. We've had the error around since 5.0 released. Unable to pinpoint it, as it only occurs on Lollipop devices Feb 16 09:03:23 well, you're probably making some assumptions / writing to memory you shouldnt and new hardening stuff in 5.0 is kicking you Feb 16 09:03:33 also, is the 5.0 device ARM64 by any chance? :) Feb 16 09:06:52 no, im using a nexus 5, and as far as I can tell it's 32bit Feb 16 09:07:36 I want to animate some simple stuff in a loop. Feb 16 09:07:44 What's my goto tool? Feb 16 09:07:45 only crazy people and iOS users have 64 bit devices Feb 16 09:11:10 O.o Feb 16 09:11:37 Insulting your users will certanly make them happier. Feb 16 09:15:47 I want to draw some rectangles and update them over time Feb 16 09:15:51 in a loop Feb 16 09:15:55 and start or stop that loop Feb 16 09:18:39 knapper_tech, a looper thread that updates some UI on each iteration, can handle that Feb 16 09:19:25 Canvas for the drawing is the easiest Feb 16 09:19:44 Canvas + looper thread? Feb 16 09:28:42 if ondraw is already called in the render loop...can I use that as a poor-man's loop or is there a better low-hanging tool to schedule some updates to the values used to draw? Feb 16 09:31:06 you'd just be calling invalidate() when you wanted onDraw to get called Feb 16 09:34:15 hi Feb 16 09:34:32 is there a preference where you can define and modify a list of strings? Feb 16 09:35:04 string array? Feb 16 09:35:19 thats how you define it in xml. yes Feb 16 09:35:34 then you can smack it into a String[] in your code Feb 16 09:35:37 but how to enable the user to modify the list? Feb 16 09:36:01 hmm, not too sure, sorry Feb 16 09:52:25 Greetings humans. Feb 16 09:52:56 What happens if you call a Runnable faster than it takes to complete ? Feb 16 09:53:19 will the application eat up all the resources and crash or hang ? Feb 16 09:57:51 don't they all just run on the same thread? Feb 16 09:58:35 ummm Feb 16 09:59:46 huh Feb 16 09:59:51 Unknown0BC: if you're going to take up the UI thread for non-UI things, you'll get an ANR Feb 16 09:59:53 dumb question much Feb 16 10:02:33 pfn: people have the right to be n00bs Feb 16 10:02:38 it's up to you to help them out Feb 16 10:02:45 nope, it's not Feb 16 10:02:58 well, it's good you're here to point out n00bs Feb 16 10:03:05 i know, right?? Feb 16 10:03:11 hmmmm Feb 16 10:08:39 Man I'm in love iwth youtubes new autoplay feature Feb 16 10:09:06 autoplay what? Feb 16 10:09:15 whenever a video finishes Feb 16 10:09:20 another one starts playing that is similar to that one Feb 16 10:09:27 ahh Feb 16 10:09:27 based on what the next video is i don't know, but it's always perfect Feb 16 10:09:41 i've got an endless radio on now with new music constantly popping up Feb 16 10:09:46 i think it's based on analytics Feb 16 10:09:48 its gr8 Feb 16 10:09:52 but yes, it's a good feature Feb 16 10:09:57 its actually amazing Feb 16 10:10:01 because i can replace pandora, spotify and whatnot with it now Feb 16 10:10:11 i had it on almost all day working without even noticing it was on Feb 16 10:10:15 then i figured what is this music always on Feb 16 10:11:01 google would honestly probably be able ot get a really good music service going if they gave it a try Feb 16 10:11:23 google play music all access is already a good service Feb 16 10:11:30 trash the videos and just play the audio, sign some deal with the record labels currently in agreement over vevo Feb 16 10:11:33 and make an app for it Feb 16 10:11:42 pfn: is it like itunes, pay for the songs you want to listen to? Feb 16 10:11:50 no Feb 16 10:12:15 Bantalon: normal Google Music is that + upload, all access is "pay a monthly fee and get access to all of the library" Feb 16 10:12:55 oh my Feb 16 10:13:03 and they have the songs they've already got on youtube? Feb 16 10:13:14 most stuff, yeah Feb 16 10:13:16 because every song you can possibly imagine almost always exists on youtube Feb 16 10:13:25 Problem arises when you are traveling and don't have access to internet. Feb 16 10:13:28 not everything Feb 16 10:13:34 donniezazen, all access allows local caching Feb 16 10:13:36 donniezazen, not a problem Feb 16 10:13:37 All music services fail there. Feb 16 10:13:38 they lack an offline mode? Feb 16 10:13:42 god damn Feb 16 10:13:47 why isn't this service more famous than say spotify? Feb 16 10:14:04 my god this is sweet Feb 16 10:14:10 i've been paying for a spotify subscription Feb 16 10:14:15 and been missing on a lot of non famous music Feb 16 10:14:24 pfn: It caches music played and won't download let's say recently added album. Feb 16 10:14:34 donniezazen, it can if you tell it to Feb 16 10:14:44 any time i hear a song thats only famous in my country Feb 16 10:14:44 it can cache anything you want it to Feb 16 10:14:46 its not in spotify Feb 16 10:14:49 just click the download local button :p Feb 16 10:15:14 pfn and you expect that to be done with 100s of albums. Feb 16 10:15:19 pfn: does it have a "radio" service? Feb 16 10:15:22 where it plays unknown music to you Feb 16 10:15:23 donniezazen, add them all to a single playlist Feb 16 10:15:27 based on the song you're currently listening to Feb 16 10:15:29 or your taste? Feb 16 10:15:32 to find new songs Feb 16 10:15:34 Bantalon, yes Feb 16 10:15:38 * Bantalon jiz Feb 16 10:15:39 I don't like it much, actually Feb 16 10:15:47 it keeps playing the same shit over and over Feb 16 10:15:54 and it keeps giving me dubstep even though I keep giving it the thumb down Feb 16 10:16:08 ah Feb 16 10:16:14 is it based on the songs you listened to in the past Feb 16 10:16:15 or supposedly? Feb 16 10:16:18 Bantalon: this is for you - https://www.youtube.com/watch?v=VLnWf1sQkjY Feb 16 10:16:20 or the one you're currntly litsening to? Feb 16 10:16:27 haha Feb 16 10:16:31 pfn: not very user friendly. I would rather put everything on a server and use a frontend like Subsonic. Feb 16 10:16:43 too bad andy started acting in b99 Feb 16 10:16:44 yeah, and once again, it falls down when you want offline access Feb 16 10:17:02 aye Feb 16 10:17:03 Bantalon, it has several options, "I'm feeling lucky" based on your past listening Feb 16 10:17:14 Bantalon, and pandora-style where you pick a song and it gives you stuff that's similar to what you pick Feb 16 10:17:19 pick a song/artist Feb 16 10:17:34 donniezazen, your option isn't user friendly either Feb 16 10:17:35 it sounds like a really neat service Feb 16 10:17:40 i'm goign to give it a try now Feb 16 10:17:50 how come its not more known than it already is? Feb 16 10:17:55 dunno how good it is for your country's music Feb 16 10:17:57 why is spotify so popular, it's not even that good Feb 16 10:17:59 but it has a good selection Feb 16 10:18:03 ah Feb 16 10:18:34 aye failed on first try Feb 16 10:19:03 so the artist has to post his songs here? Feb 16 10:19:03 but lots of c-pop, j-pop, etc. are on there, so I assume it's fairly international Feb 16 10:19:07 no Feb 16 10:19:15 record label deals Feb 16 10:20:19 darn Feb 16 10:21:03 well Feb 16 10:21:09 i guess this is an opportunity Feb 16 10:21:16 to make a service Feb 16 10:21:18 for the music i can not find Feb 16 10:21:19 atm Feb 16 10:21:50 the problem is youtube is the perfect service, because tveryone uploads their music there, and in the case of record deals they've got a deal with vevo Feb 16 10:21:53 so they have absolutely everything Feb 16 10:21:59 other services may lack, everything comes out first on youtube Feb 16 10:22:09 then secondary people post it to itunes/spotify and so on Feb 16 10:22:14 well, play music all access gives you youtube music key Feb 16 10:22:29 they hsould jsut convert every obscure msuic video Feb 16 10:22:29 they have Feb 16 10:22:30 to audio Feb 16 10:22:32 and offer it there Feb 16 10:22:34 I never use it, but it does what you want on android at least Feb 16 10:22:42 play music shit in the background from youtube Feb 16 10:22:49 put it in youtube policy and they will have the absolute ultimate music service, i dont htink anyone would mind besides the vevo people and then they could change the policy Feb 16 10:22:57 aye Feb 16 10:23:32 pfn: save youtube videos to google music and play it in the bg? Feb 16 10:24:04 no Feb 16 10:24:05 google it Feb 16 10:24:20 kk Feb 16 10:24:22 well thanks for the tips Feb 16 10:24:53 pfn: At least it is powerful. Feb 16 10:25:23 It might be complex to setup but then it's a breeze to use it that's what makes it user friendly. Feb 16 10:25:50 what breeze to use? Feb 16 10:25:57 still have to download shit manually for offline access Feb 16 10:27:14 pfn: downloading is not a problem but Google doesn't allow you to download all your music Feb 16 10:27:42 You have to make your whole music web based. Upload all your music to Google and then manage there Feb 16 10:27:48 pfn: how else do you expect to get things offline? Feb 16 10:27:59 either you stream from a server using internet, or you stream frmo your device locally Feb 16 10:27:59 Bantalon, pick a playlist -> check -> now offline Feb 16 10:28:01 either way you need to donwload Feb 16 10:28:06 yeah how are you going to stream it Feb 16 10:28:07 if you dont download it Feb 16 10:28:16 heh Feb 16 10:28:22 actually, I don't upload any music to google Feb 16 10:28:24 I just use all access Feb 16 10:28:57 wish there was a way Feb 16 10:29:00 to extract audio off youtube videos Feb 16 10:29:08 and then you could make a service that searches the youtube library and plays the audio only Feb 16 10:29:12 = ultimate music service Feb 16 10:29:24 that might be illegal Feb 16 10:29:29 it is illegaql Feb 16 10:29:32 scrape the recommended videos and autoplay feature to make a radio feature Feb 16 10:29:33 i know Feb 16 10:29:53 anyway, fixed what I wanted to fix for tonight Feb 16 10:29:55 * pfn & Feb 16 10:29:57 but so is downloading movies etc Feb 16 10:30:02 that hasnt been stopped for decades Feb 16 10:30:12 :) Feb 16 10:30:24 hi. While profiling my game, I see that eglSwapBuffers is hogging most of the CPU time. Does this reflect anything about how I've written my rendering code? Feb 16 10:30:25 well thanks for the suggestion pfn! Feb 16 10:30:41 i think imma stick to soundcloud though Feb 16 10:30:47 it is by far the most superior out there without anyone even knowing atm Feb 16 10:30:59 completely free, and has most things Feb 16 10:31:05 from obscure to famous Feb 16 10:40:10 As it's possible to partially overlay an activity over another, isn't it possible to overlay the login textviews with your own and then grab the login / passwd? How can one protect against this? Feb 16 10:55:37 My friends are awesome: https://docs.google.com/spreadsheets/d/1vNSdzAfD3z7dhrwEGb6sCZotdTzXdnRe1h0qhNRj6ns/edit?usp=sharing Feb 16 11:06:50 Ankhwatcher, ...my wat http://i.imgur.com/C6elMA0.png Feb 16 11:06:57 I just clicked on a black cell lol Feb 16 11:07:31 lol Feb 16 11:07:41 what have you done to your computer, man? Feb 16 11:40:46 Well that is pretty neat Feb 16 11:40:55 just tried AS again on my laptop, it actually runs now Feb 16 11:41:09 whatever they did between 1.0.0 and 1.0.1, they did well Feb 16 11:45:26 yay, running apps on android works too Feb 16 11:59:14 A user reported NullPointerCrash on my AlertDialog, but not in my code, but in the onClick method in the AlertController.java on the line ((DialogInterface.OnClickListener) msg.obj).onClick(mDialog.get(), msg.what); Feb 16 11:59:46 which is a little bit weird, it seems mDialog is null from what I guess, mDialog is stored as a WeakReference in the AlertController implementation, so I was thinking is there a case, where the dialog is shown to the user Feb 16 11:59:54 but the reference gets GC'ed Feb 16 12:03:45 https://github.com/android/platform_frameworks_base/blob/master/core/java/com/android/internal/app/AlertController.java#L160 Feb 16 12:06:00 *sigh* http://picpaste.com/4Mx1T2Rf.png what do you think they mean? https://play.google.com/store/apps/details?id=ie.appz.sharkshare Feb 16 12:06:34 Ankhwatcher: copyright violation? Feb 16 12:07:23 Who's copyright? Feb 16 12:07:35 well, not mine Ankhwatcher Feb 16 12:08:20 are they objecting to me: using the Grooveshark logo? or screenshots with Google Music behind my application? Or the individual album artwork in the shots? Feb 16 12:08:59 Ankhwatcher, it's almost certanly album artwork Feb 16 12:09:54 I used a ValueAnimator to do my animation and it seems to not be very smooth Feb 16 12:12:40 I'll try to figure out some way to take the screenshots on a blank backgroudn Feb 16 12:12:44 or something Feb 16 12:12:46 I suppose Feb 16 12:22:59 Ankhwatcher: busted Feb 16 12:28:20 can i somehow measure the inactivity time of android (not only my activity/app)? Feb 16 12:46:47 hmm, any idea how to include an arbitrary file into AAR package? (LICENSE.txt file) Feb 16 13:10:04 Hey! Feb 16 13:10:26 I'm trying to add a facebook share button to my app Feb 16 13:11:02 is it possible that when a person on the web click the share post it goes to a site and when he clicks it on his phone it goes to my app? Feb 16 13:11:49 I believe you can do that using Intents Feb 16 13:12:10 no you can't, they have their own SDK Feb 16 13:12:40 but apart from that, you use Intents for posting on facebook in the best scenario, you don't control what it does when a user clicks on it Feb 16 13:13:17 Wixy, your app can register as a handler for URL pattern Feb 16 13:13:21 so yes. Feb 16 13:13:37 hmn, you mean a filter? Feb 16 13:14:14 Mavrik, the problem is this. facebook support app links to do what I want. I can post a link to a page that as certain to tell facebook what my app is Feb 16 13:14:28 but it doesn't seem to be working for some reason, it's ignoring these tags Feb 16 13:15:55 Why I can *still* access the URL on Google Play of an that that was unpublished/"deleted" ? Feb 16 13:16:03 *of an apop Feb 16 13:16:13 *app Feb 16 13:16:36 eventual consistency Feb 16 13:18:11 I think stupid Google Feb 16 13:19:12 I can still search for an old app of mine on Google that was unpublished years ago and see its Google Play page Feb 16 13:19:25 but the app is not seen in Google Play search results Feb 16 13:19:34 When another app launches your app. How can I overwrite my backstack that when pushing back it goes to the app that launched my app? Feb 16 13:20:49 Nor does it appear on my developer page Feb 16 13:27:29 heya guys, I was looking at plotting a piechart (3d) in android for one of my apps. I checked into aChartEngine. It looked like it needs more work in case of 3d-fiying. the second option is to DIY using OpenGL, which I have ruled out (for now), the only valid choice for me now is to use matlib like plotting engine like the one here: http://code.google.com/p/addi/ is there any other 3d graph library that are out there? (It should work offline) Feb 16 13:30:02 hi,i have an async task that returns a list to me,i need that list in my onCreate method(same activities) how can i handle this null pointer exception ? Feb 16 13:30:35 i mean i have to wait for response Feb 16 13:31:39 using async task for that kill the purpose Feb 16 13:31:56 oncreate works in gui and waiting would occur in gui Feb 16 13:34:31 im pretty new to android.For example i run my another method -which requires that list - onResponse in google volley and that makes me feel bad because it doesnt make sense to me, idk how people use it Ashiren Feb 16 13:36:09 im not sure what you want to achieve. run asyncTask then on its onPostExecute update the gui (or run activity?) Feb 16 13:36:18 yes Feb 16 13:36:42 updating gui Feb 16 13:46:08 Mavrik, jar uf after the fact Feb 16 14:07:45 In Android Studio, is gradle so slow on purpose or am I doing something wrong? Feb 16 14:10:36 Kake_Fisk: did you enable incremental builds? Feb 16 14:10:44 if not, there is a full build every time Feb 16 14:10:47 which is slow Feb 16 14:11:13 I don't think I did. Where do I find that? Feb 16 14:27:36 Anybody got pro tips on how to convert JSON info like results[0].locations[0].number to JSONObject methods? Feb 16 14:27:49 Because I'm just confusing myself over this... Feb 16 14:28:47 Kake_Fisk: http://stackoverflow.com/a/19500539/1056359 Feb 16 14:29:03 thanks Feb 16 14:57:46 i don't remember, does Espresso sync the test with Fragment transactions? Feb 16 14:58:14 i.e, if a Fragment is replaced, Espresso will wait for the transaction to complete? Feb 16 15:08:34 Is it possible for an app to connect to a wifi network, programatically? Feb 16 15:11:41 autrilla_, never did it but if yes, the method should be part of WifiManager class Feb 16 15:14:51 Anyone know of a good emulator image that'll run in kvm-qemu? I tried an x86 version and stuff with GL is pretty broken, including most maps renderings. Feb 16 15:15:08 I run my images in libvert in Fedora if that matters... Feb 16 15:17:45 hello Feb 16 15:23:47 hi, why am i getting this error ?http://paste.ubuntu.com/10257211/ Feb 16 15:24:22 is it possible to declare own logic for default values as a "function" in sqlite & android ? I want to fill a field with a UUID on sqlite level Feb 16 15:25:55 http://paste.ubuntu.com/10257211/ Feb 16 15:26:06 im created the apk for my app, and i have this error, Calling new methods on older versions http://pastebin.com/ngWvL5Q2 , the sdkmin is 8, how can i change theme to adapte to the 8? Feb 16 15:27:00 danijoo, mhm, alright. I planned on making an app that connects to all networks starting with a certain name and sends some stuff to the gateway Feb 16 15:39:32 john67: I think you have to use version < 21 of AppCompat for that. Feb 16 15:39:45 Or you could use version 21 and get a material look. Feb 16 15:39:52 everytime i use hierarchyviewer, it says its deprecated but I can never find it in Monitor Feb 16 15:40:27 Why are you supporting API 8, anyway? That's ancient. Feb 16 15:41:39 anyone knows why i am getting this ? http://paste.ubuntu.com/10257211/ i just type a key in editbox Feb 16 15:42:11 Any suggestions on how to compare a xml file on storage to one on the web? Like on startup I download the xml file, parsing it etc. Anyway to not download unless the xml on the web is a new version? Feb 16 15:45:07 TacticalJoke: oki, thnks Feb 16 15:48:25 hello! i have a technical question on the activity/fragment lifecycle. If I’m using a retained fragment, is it possible for ‘getActivity’ to return ‘null’ during an activity rotate or config change Feb 16 15:49:23 yes Feb 16 15:50:00 adq: do you have any citation or docs on this? it seems a lot of people are dependent on this *not* being the case Feb 16 15:50:58 Was sat here trying to work out why my background wasn't changing colour to white. Feb 16 15:51:03 http://developer.android.com/guide/topics/resources/runtime-changes.html Feb 16 15:51:04 Then I found #F3F3F2 in the XML L* Feb 16 15:51:07 :( Feb 16 15:51:09 ome device configurations can change during runtime (such as screen orientation, keyboard availability, and language). When such a change occurs, Android restarts the running Activity (onDestroy() is called, followed by onCreate()). Feb 16 15:52:02 between onDestroy and onCreate we would say, it's a classic issue which can be triggered with thread on other scenario too Feb 16 15:52:22 like the thread is still running, call a getActivity but in the meantime the activity has been destroyed Feb 16 15:52:42 adq: yes, i was wondering whether there was some kind of synchronization block on this call? Feb 16 15:53:14 no idea on that Feb 16 15:53:35 like the whole activity create and destroy happens in one chunk and therefore cannot be interrupted Feb 16 15:53:49 ah, i do'nt think so Feb 16 15:53:56 and even it's not the only scenario Feb 16 15:54:07 i suppose im narrowing my question to if the ‘getactivity’ call is on the UI theead Feb 16 15:54:23 i tend to test if getActivity is null on rare case where ti could happen Feb 16 15:54:45 adq: Yea, using the retained fragment pattern, I ended up using cached results: https://github.com/samskiter/BoundServiceTest/blob/master/app/src/main/java/uk/co/airsource/android/common/examples/boundservicetest/app/RetainedFragment.java Feb 16 15:54:56 adq: but wondering if this is guaranteed not to be necessary Feb 16 15:55:11 i don't know more sorry Feb 16 15:55:23 no worries. i might have a look at the android source Feb 16 15:55:28 best would be to prevent your code to use any activity or context Feb 16 15:55:33 if it is not valid Feb 16 15:56:22 adq: how is that different from what I’ve shown there sorry? Feb 16 15:58:21 is there an app for automatically testing all features for a new android device? Feb 16 15:58:30 i have created the ontouch in the fragment, now it doesnt work , i dont understand. should it be placed inside the mainActivity? Feb 16 16:01:03 i have created the ontouch in the fragment, now it doesnt work , i dont understand. should it be placed inside the mainActivity? this is the code http://pastebin.com/wgaSBeYu Feb 16 16:14:18 I want to run three AsyncTask in parallel and another Thread which checks a timeout and throws an Exception eventually. Should I schedule them all in a fixedThreadPool or just the three AsyncTask and the timeout checker in a singleThreadPoolExecutor? Feb 16 16:15:27 why not simply schedule your AsyncTasks Feb 16 16:15:37 and just add the timeout check in a Timer Feb 16 16:16:06 Dream_Team: simply schedule? Could you clarify? Feb 16 16:16:30 http://docs.oracle.com/javase/6/docs/api/java/util/Timer.html#schedule(java.util.TimerTask, java.util.Date) Feb 16 16:17:14 That's for the timeout Feb 16 16:17:21 and then, just start your three asynctask in parallel Feb 16 16:17:37 Be careful though, AsyncTasks will _not_ run in parallel depending on your android version Feb 16 16:18:32 that's why I am talkin gabout ExecutorService Feb 16 16:19:02 Well yeah Feb 16 16:19:11 get your fixedThreadPool executor Feb 16 16:19:12 use that http://developer.android.com/reference/android/os/AsyncTask.html#executeOnExecutor(java.util.concurrent.Executor, Params...) Feb 16 16:19:18 and then, for the timeout, use a simple java timer Feb 16 16:19:32 no need to start a new thread in a singleThreadPoolExecutor just for that, it's pretty overkill Feb 16 16:22:28 good point Dream_Team Feb 16 16:24:24 was going to ask if it was possible to use an android device as a BLE beacon... found a bunch of sites that say "not at this time and probably never" lol Feb 16 16:24:28 doh! Feb 16 16:25:02 how do i make an emulator which starts in landscape mode by default? i tried creating a new hardware profile and choosing nexusS skin -and making the screen size and resolution exactly the same but support landscape mode only, but when i try to make an AVD with this profile it says invalid skin Feb 16 16:26:19 mark4: the BLE apis are huge disappointment Feb 16 16:26:27 yes Feb 16 16:26:32 when they even work Feb 16 16:26:45 i expected more from a mega corporation like google Feb 16 16:26:58 yeah Feb 16 16:27:03 Apple nailed them, but meh :( Feb 16 16:28:15 apple nailed them? Feb 16 16:28:18 meaning what? Feb 16 16:30:51 That they only have one shitty set of quirks to work around :P Feb 16 16:31:15 (Seriously tho, BLE is broken on iOS as well, just... not as bad as on Android) Feb 16 16:32:04 Haha true, coreblutooth isn't the best Feb 16 16:32:05 "its not quite ready yet".... "SHIP IT!!!!" Feb 16 16:37:38 yeah, that's corebluetooth: http://tosh.cc.com/blog/files/2009/07/tifi-junkit.jpg Feb 16 16:37:51 Haha Feb 16 16:38:05 Android only gives you the wheel :D Feb 16 16:38:06 and that's android BLE: http://toolmonger.com/wp-content/uploads/2011/06/tractor-car.jpg Feb 16 16:38:20 that's accurate Feb 16 16:40:58 Do you still need to configure retrofit to use okHttp in its newest version or does that pick it up by its own Feb 16 16:41:10 automatic when available Feb 16 16:41:33 you still need to add the dependency in 1.x Feb 16 16:41:57 (2.0 is not yet released) Feb 16 16:41:58 guys, has anyone used facebook's sdk to implement a share button in your app? Feb 16 16:42:32 I'm really stuck, I'm not getting how app links works Feb 16 16:42:33 JacobTabak: oh right, yes I have updated to 1.9 and OkHTTP 2.2 so .setClient(new OkClient(okHttpClient)) is not necessary? Feb 16 16:42:37 im using MotionEvent .AXIS_X on my app ,but when i try to scrollUp(Vertical Scrollview),the onTouch is activated, what should i do in order to have just the left and the right touch activated ? Feb 16 16:42:55 platzhirsch that's not necessary unless you want to customize the OkClient Feb 16 16:43:09 it will use the default okclient if okhttp is on the classpath Feb 16 16:43:27 coolio, I might need to do something with Http Timeout Feb 16 16:44:34 thanks JacobTabak Feb 16 16:45:13 it's just insane how good the Square Open Source libraries are Feb 16 16:46:05 there's a nice setLetterSpacing method for api 21 - Wondering if there's a good alternative for pre 21. Maybe romainguy can help ? Feb 16 16:48:18 the AVD seems to be the same resolutioscaling dpi to pixels on the avd creator also seems to do nothing... Feb 16 16:49:54 is it possible to have BLE devices in both connected and non connected states? I.e. say i have a bunch of nodes connected in some kind of network using BLE. could those same devices track another BLE device that was acting as a beacon? Feb 16 16:50:14 can anyone recommend a good android emulator for testing? the one in the SDK doesnt seem to work very well(scren options not doing anything) Feb 16 16:50:16 i guess this is not an android question lol Feb 16 16:51:38 njcomsec, genymotion Feb 16 16:52:55 genymotion uses virtualbox, you cannot use it for testing native code written for ARM devices... if your doing straight android SDK devel its the best emulator out there Feb 16 16:57:53 im looking at genymotion. what does "for personal use only" mean on the free version? im not supposed to sell the apps i test on it? Feb 16 16:58:48 correct Feb 16 17:02:21 personal use means not. in a work environment Feb 16 17:03:23 ie for your own person to use, not on behalf of anyone else Feb 16 17:05:32 i see. so for a solo home busines is ok Feb 16 17:06:07 No? Feb 16 17:07:07 no it's not Feb 16 17:07:21 ok ill just stick to the sdk one Feb 16 17:07:37 the free version is not meant to use for any business, commercial app or whatever Feb 16 17:08:52 i understand Feb 16 17:29:25 can I supress the "Rendering problems" stacktrace in the Preview? Feb 16 17:46:49 I want to append a character to the beginning of my string. Do I really have to use StringBuilder? Feb 16 17:47:24 Just once? Or will you be pre-pending multiple times? Feb 16 17:47:46 Kake_Fisk: StringBuilder is good for you Feb 16 17:47:48 If just once, you can use string addition Feb 16 17:47:58 but you can do 'a' + str Feb 16 17:48:08 But if it's not just once, then you'll probably want to use a StringBuilder Feb 16 17:48:37 Every time you do a string addition, it creates a new string (and also, a puppy dies) Feb 16 17:48:57 so doing lots of string additions to build up a single string is bad Feb 16 17:49:06 also behind the scenes it's StringBuilder anyway if i recall correctly Feb 16 17:49:19 yeah, I think it depends on how it's called Feb 16 17:49:25 Ohh, I'm doing it three times, so I may have to consider StringBuilder then Feb 16 17:50:02 you probably should Feb 16 17:56:56 if you do it in a loop. you can use regular string addition instead of a builder Feb 16 17:58:04 are you sure? I would have to see the compiled bytecode Feb 16 17:58:32 In general, I would tend to err on the side of caution and use a builder anyway, instead of relying on the compiler for that. Feb 16 18:01:47 i know it does it in for loops at least Feb 16 18:02:17 ןמ ךןמא ׳ק ארודא! Feb 16 18:02:24 * in lint we trust! Feb 16 18:06:13 I gave up lint for lent Feb 16 18:06:31 I gave up lent for chocolate and hookers Feb 16 18:08:05 Khaytsus: i thought it was blackjack and hookers Feb 16 18:08:38 I can't count to 21 when I'm thinking about hookers Feb 16 18:11:09 what kind of a bender are you?! Feb 16 18:21:35 Anybody know how to convert JSON "info" like results[0].locations[0].number to JSONObject methods? Feb 16 18:21:55 I got that info from some JSON analyzer/beautifier, but I just cant seem to convert it to code Feb 16 18:25:42 I need to setOnItemSelectedListener(this) in onCreate for my spinners if I want a function to be called each time a spinner is changed, right? Feb 16 18:30:03 Moter8: I don't understand your question. Feb 16 18:30:12 newbQ: Yeah, but it doesn't have to be in onCreate. Feb 16 18:30:59 Anyone know why I can't make edits to my Db passed to onDowngrade for an SQLITEOPENHELPER? Feb 16 18:31:03 Also, you don't have to pass 'this'. You could create a new instance of a listener. Feb 16 18:34:01 TacticalJoke: I have no idea how to use 'this' so I just throw it in when an example I am looking at uses it. I still have a lot to learn Feb 16 18:35:48 You just have to pass an instance of anything that implements the AdapterView.OnItemSelectedListener interface (which could be your activity). Feb 16 18:37:56 Do I need to upload a APK before I can work on IAP? Feb 16 18:39:51 KingMe: I think you can do it without uploading Feb 16 18:40:02 Not sure thoguh Feb 16 18:40:04 *though Feb 16 18:40:57 When I go to the android dev console and go the the IAP tab it ask to upload a new APK Feb 16 18:41:47 Then you probably need to upload one Feb 16 18:41:49 newbQ, time to go to the oracle java tutorials and do some learning Feb 16 18:42:42 Anyone know why I can't make edits to the db in onDowngrade? Feb 16 18:44:03 I know its firing but I still can't make any edits Feb 16 18:44:15 AndreYonadam, see topic Feb 16 18:44:39 danijoo: ? Feb 16 18:44:40 pfn: yeah, it's been awhile since I've done anything with java. I kinda wanna hobble this thing together first, then come back to it after I've had the time to learn more java Feb 16 18:45:14 danijoo: I'm pretty sure that is a part of the topic Feb 16 18:45:20 newbQ, no interest in helping you do that Feb 16 18:45:29 AndreYonadam, the picture :p Feb 16 18:45:36 can't be bothered to help you if you can't help yourself Feb 16 18:45:59 danijoo: I don't get any error. Would you still like me to copy my log? Feb 16 18:46:27 nobody cant help you if your error description is "its not working". Feb 16 18:46:33 at least some code would be helpful Feb 16 18:48:37 uh, what? I am helping myself. this is a learning experience. See what I can do first, then brush up on java. Feb 16 18:49:11 newbQ, java first Feb 16 18:49:33 danijoo: https://gist.github.com/AndreYonadam/17ab5c300710d1ec28b2 Feb 16 18:50:10 pfn: It's out of my hands at the moment Feb 16 18:50:18 that's too bad Feb 16 18:50:20 java first Feb 16 18:50:28 don't procrastinate next time Feb 16 18:50:36 I know it fires because I get the "Downgrade to" Feb 16 18:50:46 I'm not procrastinating in the slightest Feb 16 18:51:26 Yet I don't know why it can't " db.delete(TABLE_MYTABLE, null, null);" Feb 16 18:51:34 what do you mean it can't? Feb 16 18:51:46 The rows don't get deleted Feb 16 18:51:57 I also tried doing a query Feb 16 18:52:08 Like I can't alter anything actually Feb 16 18:52:10 then you're not deleting what you're thinking Feb 16 18:52:11 I even tried adding rows Feb 16 18:52:30 hmm... Feb 16 18:52:48 Let me see the information thats there. That will show what I'm deleting Feb 16 18:52:51 One sec Feb 16 18:54:02 or you're subsequently inserting back in somewhere else Feb 16 18:54:11 it works unless you prove otherwise, which you haven't Feb 16 18:54:55 pfn: I made sure I don't insert back, which I'll post in a minute. Everywhere that I insert It will output that so I can tell. Feb 16 18:55:07 pfn: I think your right. Feb 16 18:55:13 I just checked Feb 16 18:55:22 Let me do another quick check Feb 16 18:56:15 delete() has a return value, inspect it next time Feb 16 18:56:18 AndreYonadam: SQLiteDatabase#delete is used for deleting rows, not tables Feb 16 18:56:24 Or nm Feb 16 18:56:39 I should read all of it Feb 16 18:56:42 ugh, ok, putting my db.delete operation as an async() is a bad idea, since I synchronize on it, yay... Feb 16 18:56:48 I guess I need a spinner while it deletes :( Feb 16 18:57:16 android's sqlite isn't thread safe is it Feb 16 18:57:25 yes it is Feb 16 18:57:30 use a fucking orm Feb 16 18:57:50 ^ this :D Feb 16 18:58:11 pfn but still, guys in #sqlite recommended writes/updates/deletes only coming from one thread ;) Feb 16 18:59:03 and yeah, fuck orms Feb 16 19:00:02 anyone heard of Android spackle? Feb 16 19:00:39 pfn your right. Looks like I'm adding them or something Feb 16 19:00:50 going to look deeper into this Feb 16 19:01:31 https://github.com/pfn/qicr/commit/2844a1a9707b07d40b5db559eb1deed4307f80d8 Feb 16 19:01:33 this will have to do Feb 16 19:06:27 g00s: if you have a single sqliteopenhelper, it's threadsafe, and it'll serialize all your queries / inserts / etc anyway. Feb 16 19:06:57 if you use the same sqlitedatabase instance yes. hopefully people do that in 2015 :) Feb 16 19:07:06 even without a single helper I think it's still safe, it's just that multiple helpers may cause problems due to trying to upgrade the database. Feb 16 19:07:10 I'm not certain about that though. Feb 16 19:07:33 g00s: I assume you haven't enabled write-ahead logging? Feb 16 19:08:04 i haven't enabled it explicitly, oems do different things there Feb 16 19:08:24 hm. true. I would kinda expect them to not do it though... Feb 16 19:08:30 who knows. Feb 16 19:08:33 if i recall HTC enabled WAL and if you opened the database first read only it would get corrupted, there are things to consider ;) Feb 16 19:08:49 enabled WAL by default on all databases? Feb 16 19:08:56 that's quite literally insane if so Feb 16 19:09:00 yes. but i dont know what the story is now Feb 16 19:09:16 WAL is cool and all, but you don't screw with defaults like that Feb 16 19:12:22 Do I need to do a db.close() in the onDowngrade or something in order for changes to the db to be made final? Feb 16 19:12:32 no Feb 16 19:12:32 g00s: so, personally, I'd recommend putting all your DB operations on a single thread, mostly because it makes it easier to reason about. Otherwise threads can interleave, so your code might not actually behave like it reads, which isn't great for sanity. obv you can do it safely, it's just a bit harder. Feb 16 19:12:38 g00s: Thanks Feb 16 19:13:45 groxx i dont agree. use transactions and yielfIfContdendedSafely, never head problems Feb 16 19:13:55 depends on what you're doing. Feb 16 19:15:01 I forget exactly how yield... works, but yeah, in principle that's the way to go. but opening a transaction for a handful of reads is a) something few people actually do, and b) unnecessary if you put it all on a single thread. Feb 16 19:20:20 pfn: Thanks! Your right. Was adding them somewhere. Feb 16 19:20:59 i have multiple data inside Json Db and i wanted to get multiple data at a single time how can i do that here is the short code http://paste.ubuntu.com/10260435/ Feb 16 19:21:50 pfn: out of curiosity, what does "async { ... }" equate to? Feb 16 19:21:54 hey y'all Feb 16 19:22:05 how does recyclerview know when to create a new view? Feb 16 19:22:15 groxx, throw it on a thread pool executor Feb 16 19:22:15 it looks like it's just trying to reuse the same one over and over Feb 16 19:22:35 I have a heterogeneus list of type T -- the adapter should be creating a new view for all differing subclasses, no? Feb 16 19:22:37 pfn: nice and concise Feb 16 19:22:47 instead I'm getting class cast exceptions Feb 16 19:23:22 groxx, https://github.com/pfn/android-common/blob/master/src/main/scala/AndroidConversions.scala#L114 Feb 16 19:23:23 basically that Feb 16 19:24:48 mheld: Define "new view". Feb 16 19:25:14 i have some multiple data inside Json db and i wanted to get more data at a single time by giving its keys how can i do that http://paste.ubuntu.com/10260435/?? Feb 16 19:25:21 mheld: I'm gonna guess that you're not telling it that you have multiple view types, somewhere. not sure how to do that in recyclerview though. Feb 16 19:26:27 OH getitemviewtype Feb 16 19:26:28 there we go Feb 16 19:27:14 weird that I'd have to set that Feb 16 19:27:54 groxx, https://github.com/pfn/android-common/blob/master/src/main/scala/AndroidConversions.scala#L166 this is one of my favorite pieces of magic :) if you're interested Feb 16 19:28:12 groxx, lets you do context.systemService[WhateverManager] and get a typed value back automatically Feb 16 19:28:44 mheld: How else could it know? Feb 16 19:29:26 hah good point Feb 16 19:33:23 What does retrofit return when a synchronous call fails? Feb 16 19:33:29 it throws Feb 16 19:33:47 oh Feb 16 19:34:03 throws Retrofit error? Feb 16 19:34:06 yes Feb 16 19:35:52 pfn: handy. seems similar-ish to ` T getService(context, name) { // cast to T and return }` -> `WhateverManager x = getService(this, X)`? Feb 16 19:37:07 Do you know how I can get the unicode block of a character in android? Feb 16 19:38:04 Character.UnicodeBlock.of(char) Feb 16 19:39:13 Ah, thanks Feb 16 19:39:30 groxx, sure, but without having to pass X Feb 16 19:39:37 I thought UnicodeBlock was a struct or something. Should have checked better Feb 16 19:39:44 groxx, name not. necessary Feb 16 19:39:44 pfn: yeah, more scala-y :) Feb 16 19:40:42 pfn: that is an interesting piece of code though. neat that you can do that. Feb 16 19:41:53 Hey Peeps Feb 16 19:42:49 groxx, no reflection either, it's a static lookup Feb 16 19:43:10 is it possible to make a pill-shaped button in android with adjustable sizes using just xml? Feb 16 19:43:38 pfn: getDeclaredFields is compile-time? Feb 16 19:43:48 groxx, yep Feb 16 19:43:49 s9iper1: It's probably impossible to answer your question because you're giving way too little info. Feb 16 19:43:58 that's what the macro does Feb 16 19:44:02 pfn: that's way more appealing. Feb 16 19:44:28 pfn: you're gonna drive me to use Scala, aren't you? Feb 16 19:45:17 I'd go to Kotlin if I moved from Java. Looks like a much better fit. Feb 16 19:49:18 Is there something more unreliable than the emulator? Feb 16 19:49:22 TacticalJoke, thanks problem solved Feb 16 19:50:19 TacticalJoke: yeah, but... compile-time metaprogramming! Feb 16 19:50:20 * groxx drools Feb 16 19:51:30 https://gist.github.com/Moter8/c47c1de747dc8281e0b5 < happens inside OkHttp, any idea? Feb 16 19:53:23 I think char 98 is ", could that be the issue? Feb 16 19:55:01 Moter8: What is that? A stack trace? Feb 16 19:55:28 taken from the debugger exception: http://i.imgur.com/OjqjgLX.png Feb 16 19:56:58 wooooooooo Feb 16 19:57:08 yeah a doublequote is illegal Feb 16 19:57:09 Moter8: e.printStackTrace() and see if the cause-chain tells you something more useful? Feb 16 19:57:11 what the f. Feb 16 20:00:47 groxx, tells me the same thing. meh. Feb 16 20:01:18 Moter8: it should probably be encoded / removed, depending on the API. but is there some way to tell okhttp to ignore it? seems like it's probably allowable, though technically incorrect Feb 16 20:01:34 the api doesnt need it, I just found out. Feb 16 20:01:38 Seems more safe to include though... Feb 16 20:01:51 there are some weird APIs out there, I wouldn't be surprised if some did use quotes Feb 16 20:02:26 Moter8: nah. query encoding is unambiguous, no need for quotes Feb 16 20:02:54 blah blah don't encode by hand. it's almost never the right answer Feb 16 20:03:19 anyone use this ? com.astuetz:pagerslidingtabstrip -- either that or copy PagerSlidingTabStrip from examples into my project. retarded this isn't on default classpath Feb 16 20:04:17 is there a way that i can override previous json data with new one ? Feb 16 20:06:43 s9iper1: Too little info again. Feb 16 20:09:08 TacticalJoke, i am creating a prayer app which will get data from Web api and save it in Json formated DB for a week. so i want to override that data after a week. or so .. how can i override new data on previous data.? Feb 16 20:10:09 groxx, yeah, I evangelize much as I can Feb 16 20:10:29 groxx, not to mention, I've made it incredibly easy to use scala on android Feb 16 20:13:29 s9iper1: Are you saying you want to store the data for a week and then, once a week has passed, download a fresh version? Feb 16 20:16:23 TacticalJoke, yes and when the fresh version comes it will replace the previous data. Feb 16 20:18:18 I guess you'll have to store the date of the most recent download and check that when appropriate. Feb 16 20:21:45 TacticalJoke, i have the last downloaded data of yesterday and now i am checking it witch if condition... so as we follow the condition it should download again the data and save override the data inside db but its not doing Feb 16 20:22:06 u wana see the code TacticalJoke ? Feb 16 20:24:12 Post away. It's hard for anyone to know whether they can help until they see it. Feb 16 20:26:27 TacticalJoke, http://paste.ubuntu.com/10261357/ Feb 16 20:26:36 here is the code Feb 16 20:27:58 in last else condition i am running the methods to download data and than save it but its not getting replaced by the previous data Feb 16 20:30:37 Have you verified that the 'else' path is taken? Feb 16 20:31:18 Perhaps by use of Log.i() or whatever. Feb 16 20:32:30 else path is working i suppose bec toast is working i will try Log i Feb 16 20:36:19 anyone know if its OK to do a br/edr discovery scan at the same time as a BLE scan ? Feb 16 20:46:10 pfn: huh. that does look pretty appealing. guess I'll have to look into it soon :| too busy at the moment to dive deep though. Feb 16 20:57:08 Do I need to upload a APK to edit IAP? Feb 16 20:59:58 Easiest and most efficient way to check if there's a newer version of a xml file than the one on storage? Feb 16 21:01:48 xelent: Sounds just like that other guy's question. Way too little info. A newer version where? :) Feb 16 21:01:54 xelent: newer version of what xml file? Feb 16 21:02:02 :D Feb 16 21:02:14 I am downloading a xml file and parsing it creating objects Feb 16 21:02:36 I want to only download this when there's a newer version availible Feb 16 21:02:39 I think xelent is s9iper1 in an XML-preferring alternate universe. Feb 16 21:02:43 modifed-since Feb 16 21:02:51 ex. Feb 16 21:04:18 Did you just answer your own question? Feb 16 21:04:33 heh Feb 16 21:04:40 youll have to download *something* Feb 16 21:04:44 to know there is a new version Feb 16 21:04:53 so youll have to do 2 downloads instead of 1... Feb 16 21:04:56 Just ideas, but I want the easiest and most efficient way Feb 16 21:05:14 is the xml/server yours? Feb 16 21:05:21 mine Feb 16 21:05:23 then you could just smack a tiny json on there Feb 16 21:05:31 with "version":! Feb 16 21:05:32 with "version":1 Feb 16 21:05:37 etc Feb 16 21:05:43 xelent: This is a networking question about processing e-tags, modified-since etc. If the right stuff is there using an existing library like Retrofit will handle all of that automatically for you Feb 16 21:06:37 xelent: Retrofit (http://square.github.io/retrofit/) + Simple (http://simple.sourceforge.net/) Feb 16 21:06:45 xelent: if you use okhttp Feb 16 21:09:17 oh yeah, forgot about simple ... Feb 16 21:09:47 hm, last release was feb 2013 Feb 16 21:10:30 lasserix, then? Feb 16 21:16:16 hi everyone Feb 16 21:16:39 i'm making a quizz game Feb 16 21:17:14 and i would like to have some advice in order to handle activities for showing questions Feb 16 21:18:17 Retrofit does nothing with caching headers or caching in general Feb 16 21:18:57 anyone ? Feb 16 21:19:01 Johnade: Just ask. Feb 16 21:19:14 TacticalJoke i did Feb 16 21:19:45 how can i handle activities with questions ? Feb 16 21:19:51 one activity == one question ? Feb 16 21:20:44 can you be more specific with your question? Feb 16 21:21:59 Moved my project to my other computer, will the sharedpreferences be null at the stat point Feb 16 21:22:04 An easy solution (though whether it's the best solution depends on your desired UI) is to use a single activity and manipulate Views. Feb 16 21:22:06 and android:defaultValue= does not matter for this? Feb 16 21:22:09 Another option is Fragments, I guess. Feb 16 21:22:20 I get a error when I upload my APK "You uploaded an APK that is not zip aligned." help? Feb 16 21:22:47 xelent: SharedPreferences boil down to an XML file on the device. Feb 16 21:22:49 KingMe: google "zipalign apk" Feb 16 21:23:02 TacticalJoke , thanks for answering, it's just simple UI, an easy quizz with no so advanced UI Feb 16 21:23:13 so a single activity and manipulate views ? Feb 16 21:23:44 bankai_ http://www.theguardian.com/commentisfree/2015/feb/16/dog-scientists-guilty-look-canine-psychology Feb 16 21:23:45 I guess it depends on the UI you're trying to create. Do you want the ability to go back to previous questions, for example? Feb 16 21:23:48 Alright thanks Feb 16 21:24:06 How about the ability to swipe between questions? Feb 16 21:24:21 TacticalJoke, no we cant go back and we cant skip a question Feb 16 21:24:57 Does every question have the same number of answer candidates? Feb 16 21:25:38 yes for each question, four response Feb 16 21:25:59 Given what you've said, manipulating Views on a single Activity might be easy and appropriate. Feb 16 21:26:13 g00s: interesting .... Feb 16 21:27:10 TacticalJoke, so my choice is manipulating views or fragments ? Feb 16 21:27:44 Realistically, I think so. You could show an Activity for each question as you said before, but it seems like a bad idea to me. Feb 16 21:28:00 TacticalJoke, for me too Feb 16 21:30:06 How can I zipalign without eclipse or ADT? Feb 16 21:30:47 KingMe , do you updated your sdk ? Feb 16 21:31:16 I dont use one Feb 16 21:31:24 KingMe: /build-tools//zipalign Feb 16 21:35:48 when using FragmentStatePagerAdapter which support version to use v4 or v13? Feb 16 21:41:43 Anyone know the absolute path to DIRECTORY_MUSIC? http://developer.android.com/reference/android/os/Environment.html#DIRECTORY_MUSIC. Also know if that's where I should store music my app is downloading, or if I should put that in my own app directory? Feb 16 21:44:45 pieces029: depends on if how you want it to be accessable to yourself or other apps Feb 16 21:47:51 How do I grab R.id.layout.txtViewTemplate to add it to an array of TextViews? Feb 16 21:48:34 R.id.layout? Feb 16 21:49:00 And you want to add a resource int to an array of TextViews? Feb 16 21:49:47 In which folder do i have to save a file in my project in order to read it easily ? Feb 16 21:49:55 oops, meant R.layout.txtView Feb 16 21:50:18 WoOOOooooOO my app works! Feb 16 21:50:24 If I have a recycler view that displays a list contest entries for example, how can I get them sort into sections segregated by date (and marked by date) like how this contacts app screenshot separates contacts by first letter? http://blog.chengyunfeng.com/material-design.storage.googleapis.com/images/style-typography6_large_mdpi.png Feb 16 21:50:42 Johnade, what kind of file do you mean? usually in the values dir id guess though Feb 16 21:50:46 Basically, how can I display the date for that segment of entries like they do with the letter Feb 16 21:51:05 yiati: I want to have a loop add this basic textView and another loop that dynamically changes each property. then I send it to a gridView Feb 16 21:51:36 not each individual property, just a few specific ones Feb 16 21:52:18 Sounds like an adapter would be better suited here Feb 16 21:52:49 But it sounds like you want to inflate a bunch of textviews manually which you technically can do Feb 16 21:53:08 I'm trying to get them into an adapter. Don't I need to add them to an array first? Feb 16 21:53:47 But I need them to be dynamically added and tweaked Feb 16 21:54:08 LayoutInflater.from(context).inflate(R.layout.txtView, rootView, attachToRoot); Feb 16 21:55:00 newbQ, no you let the adapter make the views Feb 16 21:55:08 you just need to pass the adapter data Feb 16 21:56:34 I'm not sure how to apply that Feb 16 21:57:07 I thought I needed to put the textViews in an array, then to an arrayAdapter, then to the GridView Feb 16 21:57:13 newbQ: adapters hold the data that describes what you want to show. they do that so you don't have to hold a ton of views in memory (they're probably WAY more memory-expensive than your data) Feb 16 21:57:26 newbQ: in getView, you take the data, and build a view for display on-demand Feb 16 21:58:06 Moter8, i have a json file that have informations that i will read for my app Feb 16 21:59:21 I need to change the color or a button. What should I model my background on to get the ripple on Lollipop but a regular click on 4.x? Feb 16 21:59:30 *of Feb 16 22:01:22 How do I check in terminal if I have SDK installed? Feb 16 22:01:43 newbQ: http://developer.android.com/guide/topics/ui/layout/gridview.html Feb 16 22:02:09 theblang ?android:attr/selectableItemBackground Feb 16 22:02:19 KingMe: search for adb Feb 16 22:02:27 newbQ: Notice how in that example they only create the views in getView. The actual data set they have is just an Integer[], and you can pass in a dataset if you want similar to that Feb 16 22:03:03 bobek but how will I know if I can use terminal commands Feb 16 22:04:55 Levite would that be in a drawable folder somewhere in /core? Feb 16 22:05:18 yiati: thanks Feb 16 22:05:33 and thanks to you too, groxx Feb 16 22:05:48 no idea Feb 16 22:09:17 It's set in here: https://android.googlesource.com/platform/frameworks/base/+/refs/heads/master/core/res/res/values/themes_material.xml Feb 16 22:09:23 e.g., https://android.googlesource.com/platform/frameworks/base/+/refs/heads/master/core/res/res/drawable/item_background_material.xml Feb 16 22:10:30 How do I set my android SDK to work with terminal? Feb 16 22:10:44 lasserix: other apps would probably be good. I'm guessing that requires music directory. I though that there was a media scanner that checked all direcotries every once in a while though. Feb 16 22:10:54 JakeWharton: You there? Question about retrofit and kotlin Feb 16 22:11:00 sure Feb 16 22:11:06 TacticalJoke: If I do a ripple attribute, will the support library make it a solid click or ignore it alltogether? Feb 16 22:11:22 pieces you can suffix a public directory of your app for music Feb 16 22:11:30 JakeWharton: Did you find a way to create an service (Java interface) in Kotlin? Utils#validateServiceClass bombs because it expects a Java interface Feb 16 22:11:35 theblang: Not sure; never tried. Feb 16 22:11:37 there is also the music directory on sdcard just make sure you register with the media scanner Feb 16 22:12:13 deuteros__: I don't think that I ever tried. Any idea what's making that method fail? Is it simply not an interface? Feb 16 22:12:36 I'm using a trait, which Kotlin translates to a class. I'm not sure how to create an interface in Kotlin Feb 16 22:12:47 where do fucntions like "onlyif" in gradle come from? Feb 16 22:13:35 the documentation use them as examples, but which object or plugin do these things come from so i can get a complete list of what methods/properties are available to a task? Feb 16 22:14:06 or stuff like taskGraph.whenReady Feb 16 22:16:59 nvm, found it Feb 16 22:19:32 I cd into the Android-sdk tools. How can I confirm in the terminal I can use the tools? Feb 16 22:19:50 lasserix: is that directory I was referencin not on the sdcard? Feb 16 22:43:27 why is support toolbar not resizing on orientation change? Feb 16 22:54:03 deuteros__ doing some kotlin on android? i got the impression you used it only for server side Feb 16 22:54:30 g00s: I'm an equal opportunity tinkerer Feb 16 22:54:35 :D Feb 16 22:56:22 once it gets annotation processing i'm rewriting the whole damn app Feb 16 22:56:50 JakeWharton: Which app? Feb 16 22:56:56 Square Cash Feb 16 22:57:02 :O Feb 16 22:57:16 You rewrite it in Kotlin? Feb 16 22:57:25 I would if it had annotation processing in its compiler Feb 16 22:57:42 Is JetBrains working on supporting annotation processing? Feb 16 22:58:20 i believe so Feb 16 22:58:31 i talked to one of them about Dagger the other day Feb 16 22:58:47 Might be worth asking on the forums, Andrey is very responsive Feb 16 22:58:48 that would be pretty fantastic Feb 16 23:10:39 is there a picker that will let me select date *and* time? Feb 16 23:12:57 I guess I could layer a datepicker and a timepicker into one thing Feb 16 23:14:05 mheld https://github.com/jjobes/SlideDateTimePicker Feb 16 23:14:12 hah just stumbled upon that Feb 16 23:14:14 thanks g00s Feb 16 23:15:40 I personally can't stand those fling-to-pick-numbers pickers, but that two-pane approach is a nice idea Feb 16 23:22:40 if you were presenting a window for user to pick either bluetooth br/edr or ble device (the scan's can't be done concurrently) what would you choose : (1) Spinner letting user to select which type to scan from , Tabs { bt classic | ble } ... silently perform each type of scan one after the other (12 x 2) = 24 seconds and present all the resuts unified ? Feb 16 23:23:11 forgot to put (2) or (3) but it should be clear Feb 16 23:23:42 What is the application? Feb 16 23:23:47 mine :) Feb 16 23:23:51 g00s: hm. that's remarkably slow :\ Feb 16 23:24:18 br/edr scan is 12 seconds, ble can be 5+ or up your choice but its in the same area Feb 16 23:24:27 i kinda hate the idea of the user having to pick something first Feb 16 23:24:34 If the main goal is to have the user use bluetooth, I'd say the spinner. If it is just another feature for adding peripherals, I'd say scan silently. Feb 16 23:24:37 but waiting 24 seconds is terrible too :( Feb 16 23:24:58 g00s: maybe: tabs w/ a progress indicator. start loading whichever you think is better. if they tap before one completes, cancel the previous and start that new one. then remember which they tapped for the next time. Feb 16 23:25:26 unified results are kinda appealing though. depends on the use case? Feb 16 23:29:50 are gradle and maven the same thing? Feb 16 23:30:00 isn't there some sort of relationship between the two? Feb 16 23:30:23 They're both build tools? Feb 16 23:30:26 RustyShackleford i saw this a few days ago http://www.nydailynews.com/new-york/nyc-crime/head-sergeants-union-calls-google-scrap-mobile-app-article-1.2109817 Feb 16 23:31:07 I saw that too actually Feb 16 23:31:18 they're afraid it makes cops sitting ducks I guess Feb 16 23:31:30 groxx Thorbear thanks Feb 16 23:31:31 a criminal could see their location on a map, and then hunt them down Feb 16 23:32:08 Cops who fear Waze can choke on a bowl of dicks Feb 16 23:32:28 dicks come in a bowl? Feb 16 23:32:35 'round here they come in a bag Feb 16 23:32:50 http://gizmodo.com/police-are-trying-to-undermine-waze-with-a-deluge-of-ph-1685391655 Feb 16 23:33:05 So in Miami, the polic ehave nothing better to do than put in fake Waze Police sightings Feb 16 23:33:20 RustyShackleford: gradle is a pretty generic build tool. it's more of a "build the build-dependency tree, execute in order" thing. maven is for specifying library-dependencies and downloading them. and last but not least: gradle makes using maven easier. Feb 16 23:34:11 i thought maybe gradle was a wrapper around maven Feb 16 23:34:40 it's more than that, i guess? Feb 16 23:35:13 yeah. gradle isn't even a java-specific build tool. it has a maven "wrapper" as part of the android/java plugins though. Feb 16 23:43:13 gradle 2.3 came out, doesn't seem very exciting though :) Feb 16 23:49:41 g00s: anything interesting in the release? Feb 16 23:51:51 dont see anythyng. some neat things coming like first class variant support, watcher mode for daemon, etc ... but not here yet Feb 16 23:54:01 ugh, I have a subproject that depends on the support library Feb 16 23:54:04 even though I don't use it Feb 16 23:54:05 :-( Feb 17 00:08:40 Elm looks interesting for web games and stuff. Feb 17 00:08:44 hm. anyone know if there's a way to detect 180 degree rotation between both landscape orientations? the orientation-event-listener is pretty crappy, the event timing doesn't match view rotations exactly. Feb 17 00:20:04 I can call Keytool and Jarsigner but when I call zipalign I get -bash: zipalign: command not found Feb 17 00:22:56 ... fix your path or reference it properly Feb 17 00:25:48 bankai_ anyway to verify zipalign? like for Keytool I can call it to verify Feb 17 00:27:18 http://developer.android.com/tools/help/zipalign.html Feb 17 00:29:39 jakewharton I need help setting it up so that wont help Feb 17 00:29:53 i was answering your verify question Feb 17 00:33:12 so if I use terminal to call ziplign in the root of android-sdk and it doesnt work that means its not verified? jakewharton Feb 17 00:52:11 groxx, gradle is completely independent of maven, but uses maven for dependency management Feb 17 00:52:27 pfn: ya, I know Feb 17 00:52:37 it's kinda ugly to say it's a wrapper around maven Feb 17 00:53:08 agreed. which is why I said it _has_ a wrapper around maven, not _is_. Feb 17 01:09:25 What's a good release mindset for Google Play? Should we release early (even though we haven't implemented features foo, bar, and baz) and risk negative reviews, or should we make people wait and release something comprehensive and awesome, taking five-star review after five-star review? Without voting I would definitely lean towards the former, but with voting I don't know. (I know Feb 17 01:09:25 this is a totally non-specific question.) Feb 17 01:09:50 That /r/programming article got me thinking about it, though. Feb 17 01:11:01 you're always going to receive negative reviews and who's to say what you consider awesome and feature rich is what everyone else thinks? Feb 17 01:15:23 TacticalJoke if you never release, no need to worry about bad reviews XD Feb 17 01:15:52 Malicious Advice Mallard. :D Feb 17 01:16:04 :D Feb 17 01:20:02 pfn: you're conflating terms by saying "uses maven for dependency management" Feb 17 01:20:52 I guess it seems complex to me. If someone's goal is to give the world a good app, it seems that they should release early -- but if they release early and get bad reviews then way fewer people could end up using it, which frustrates their efforts. Feb 17 01:23:18 you will get bad reviews no matter what Feb 17 01:23:38 even if your app cure cancer, it will not be enough for at least someone Feb 17 01:23:56 TacticalJoke and redditors dont care if you can cure cancer Feb 17 01:24:00 tough bunch :) Feb 17 01:24:08 reddit claims that cancer is cured about once a week. Feb 17 01:24:22 yet most posts remain Feb 17 01:26:04 "didn't cure my obesity. 1 star." Feb 17 01:26:48 "5 stars if you cure aids" Feb 17 01:26:54 :D Feb 17 01:29:50 "gave me a crippling reddit addiction. 3.5 stars." Feb 17 01:34:03 JakeWharton, nope, maven is the repo Feb 17 01:34:10 ok, so what's the current recommended implementation for tabs that's maximally downward compatible? Feb 17 01:34:11 it uses aether to talk to maven, but whatever Feb 17 01:34:15 it doesn't Feb 17 01:34:22 it once used Ivy, but not for quite some time Feb 17 01:34:35 also, "maven" is the build tool Feb 17 01:34:43 the artifact repositories are not called "maven" Feb 17 01:34:47 tabactivity says it was deprecated in api13 and to check out actionbar newtab instead, actionbar newtab says it was deprecated in api 21 Feb 17 01:36:09 meh Feb 17 01:36:10 * pfn shrugs Feb 17 01:36:11 you win Feb 17 02:06:15 Hey... I have a little problem, I have a program that scans and lists the phone's wifi periodically. With android version API >= 18 I can easily get those without turning on the wifi. The problem, when the version is less than 18 is when the user: 1- Set wifi off: I have to turn wifi on, scan and then turn off again. 2- Set wifi on: I don't need to turn it off again.I tried register a BroadcastReceiver that listens to WIFI_STATE_CHANGED_ACTION but how c Feb 17 02:06:15 an I know if it was me that changed the wifi state or the user? Feb 17 02:13:09 Can anyone tell me which folder is zipalign suppose to be in? Feb 17 02:14:01 sdk/tools Feb 17 02:15:50 for some reason mine didnt have it so I grabs the zipalign from build-tools and put it in tools but the command still doesnt work :( Feb 17 02:16:04 what's the error Feb 17 02:16:47 -bash: zipalign: command not found Feb 17 02:16:58 pretty sure i said this before - fix your PATH or reference it properly Feb 17 02:17:29 Okay what is your bash profile? Feb 17 02:17:53 that's irrelevant Feb 17 02:18:15 if you don't know how to use the command line, then just reference it with the /full/path/to/the/binary Feb 17 02:18:33 im on mac OS Feb 17 02:18:39 again, irrelevant Feb 17 02:19:31 what do you mean fix my PATH? cd to the root of the android-sdk? Feb 17 02:20:22 export PATH=$PATH:/some/extra/path Feb 17 02:21:03 or, as i said, just reference the binary with it's absolute or relative path... much easier Feb 17 02:21:37 yea I set my path up in my bash profile isnt that how u do it? Feb 17 02:22:10 where/what do you do with "export PATH=$PATH:/some/extra/path" Feb 17 02:23:40 you have to run `. ~/.bash_profile` or open a new terminal window to reload it Feb 17 02:27:33 Have any of you guys ever done any kernel debugging? I have a driver I am tinkering with that seems to cause the kernel to panic and not boot, so no pritnk or dmesg at this point, I need a way to figure out what the problem is Feb 17 02:27:49 firelegend: #android-root Feb 17 02:28:00 raleigh anyway to make sure my bash_profile path is right? Feb 17 02:28:19 bankai_:The channel is mostly idle Feb 17 02:28:26 that's nice ... Feb 17 02:32:35 KingMe: what's the full path to your binary? Feb 17 02:33:34 I think I got it now I changed my path in my bash to Feb 17 02:33:43 export PATH=/Users/user/android-sdk/build-tools/21.1.2 Feb 17 02:33:51 no no Feb 17 02:34:05 export PATH=$PATH:/Users/user/android-sdk/build-tools/21.1.2 Feb 17 02:34:29 what does $PATH do? Feb 17 02:34:43 $PATH is the current value. you want to append, not wipe it out Feb 17 02:34:45 and escape it while your at it Feb 17 02:34:48 in case there are spaces Feb 17 02:35:34 hmm I think it worked without $PATH but I will add it Feb 17 02:35:58 of course it will work but no other commands will Feb 17 02:36:38 okay yea also raleigh what do you mean escape it? Feb 17 02:36:52 you won't have to escape anything Feb 17 02:37:17 so this is the best PATH? Feb 17 02:37:18 `export PATH="$PATH:/new/path"` instead of `export PATH=$PATH:/new/path` Feb 17 02:37:40 in case $PATH contains a path with spaces Feb 17 02:37:53 even if it did you don't need to quote it like that Feb 17 02:38:25 I currently dont have any quotes so how should I do it? Feb 17 02:41:44 either way will work in your particular example Feb 17 02:51:16 i'd like to have an extended height toolbar ... upper half with spinner & actions, bottom half with title. is this possible? when i use minHeight & gravity=bottom for toolbar everything sinks to the bottom. i'd like spinner to be on the top. i have Feb 17 02:52:52 g00s: yes Feb 17 02:53:07 I accomplished something similar by putting the toolbar in a FrameLayout and giving it bottom padding Feb 17 02:53:18 I couldn't get it to work quite right with subviews in the toolbar Feb 17 02:54:07 Levite thats an interesting approach Feb 17 02:54:12 Napalm what did you have in mind ? Feb 17 02:54:27 Yeah, I hadn't considered what Levite is saying. Nice idea. Feb 17 02:54:44 g00s: you could just ignore the default title handling Feb 17 02:54:56 g00s: add your own TextView for the title Feb 17 02:55:26 ah, ok - but without a framelayout, can you put anything in the first 56dp beside actions ? Feb 17 02:55:40 if its extended height Feb 17 02:57:07 is License Key and Public Key the same thing? **** ENDING LOGGING AT Tue Feb 17 02:59:58 2015