**** BEGIN LOGGING AT Thu Jan 26 03:00:02 2017 Jan 26 03:00:17 rotation changes in android :D http://digg.com/video/straight-pole-curved-hole Jan 26 03:02:34 g00s: That's a great analogy. Jan 26 03:03:33 I can't see the analogy Jan 26 03:04:30 Am I stupid? Jan 26 03:06:17 Melatonina: g00s's Android analogies are the result of years of pain. Jan 26 03:07:23 "A straight pole in the butt hole" would summarize that better, then Jan 26 03:09:20 so you're coding along, following what other android devs and following within their tracks http://digg.com/video/skier-skis-off-cliff Jan 26 03:14:47 g00s: haha Jan 26 03:15:27 TacticalJoke: Melatonina thank you; it is working now; i put the listner and task run code in the activityoncreate method instead :p Jan 26 03:15:33 TacticalJoke hee kinda did a rotation change in mid air Jan 26 03:18:13 https://gfycat.com/CookedGleamingBlacklab Opinions on the design? Jan 26 03:19:52 ReScO: It looks nice, but calling that switch "Search" seems weird to me. Jan 26 03:20:06 Suggestions for it? Jan 26 03:20:45 Not really sure what to call it otherwise Jan 26 03:22:17 "Search enabled" Jan 26 03:22:45 "Search is strange" because it's a verb too, not a feature Jan 26 03:22:47 I think a switch suggests a boolean term such as "Ready to play". But UIs usually use a "Search" button here (with a "Cancel" button which appears thereafter). Jan 26 03:23:02 ReScO maybe 'scan'? Jan 26 03:23:14 "Automatic search" is not a verb, for example Jan 26 03:23:30 TacticalJoke, Ready to Play is one step further :P Jan 26 03:23:52 Search for Players ? Jan 26 03:23:58 ReScO: also, is that a setting? Jan 26 03:24:26 sort of Jan 26 03:24:29 Long running process Jan 26 03:24:52 And the app can run in the background Jan 26 03:25:49 I would use call that activity "Game Search" and the setting would be named "Enabled" Jan 26 03:26:14 It's actually searching for players, not games :P Jan 26 03:26:16 or "Automatic Game Search" Jan 26 03:26:22 ah ok Jan 26 03:26:23 So, Player Search and Enabled? Jan 26 03:26:40 Something like that Jan 26 03:26:42 yes Jan 26 03:27:03 Haha thanks guys :) Jan 26 03:27:18 I'm not enough into games to understand if "->Player<- Search" is the better choice but that's what I meant Jan 26 03:27:50 How would a gamer call "prospective game mates"? Jan 26 03:29:48 ReScO: I would also change the text when the switch is enabled, telling to tap it to disable the automatic search Jan 26 03:30:26 This UI would be appropriate if the search would not end as soon as a game or player is found Jan 26 03:30:46 in that case it would be a misuse of a toggle switch, IMO Jan 26 03:31:25 I would use a bigger and otherwise shaped toggle button Jan 26 03:32:51 FWIW, I think a switch is wrong here. Searching for an opponent is an action, not a togglable option. Jan 26 03:33:01 that's what I meant Jan 26 03:33:44 if the search run indeterminately, I would use a switch. If it's an action that can be interrupted I would use a toggle button or something like that Jan 26 03:35:16 I guess ReScO was not that interested in these "subtleties" Jan 26 03:36:50 Still here Jan 26 03:36:51 ReScO: having a game idea doesn't excuse you from reading a good UX book Jan 26 03:37:20 So a toggle button? Jan 26 03:37:50 If that's a one time thing ("find me a player to play with and then play"), yes Jan 26 03:38:11 Hmm. Jan 26 03:38:13 I don't know how your game works, so I can't tell Jan 26 03:38:24 It's not really a game, more of a tool Jan 26 03:38:29 for another game :P Jan 26 03:38:57 So this application only does this kind of search? Jan 26 03:38:57 Basically, it returns a list of 5 usernames if it can find 5 people to match up with Jan 26 03:39:25 The you should redesign the whole thing Jan 26 03:39:33 And then it notifies those five people, and asks if they're ready in the next screen, after that the usernames are shown Jan 26 03:39:52 There will be more stuff, but this is one of the functions. Jan 26 03:40:00 ok then a toggle is inappropriate Jan 26 03:40:14 Ah okay Jan 26 03:40:25 If there are no "search parameters" the search should start right away Jan 26 03:40:39 The should only be a button to stop it Jan 26 03:40:51 (and maybe restart it) Jan 26 03:41:09 Well, i don't want it to start searching as soon as it lands on that fragment. Jan 26 03:41:24 A user should start it. Jan 26 03:42:14 Then use a big "Start" button which becomes "Stop" when the search is running Jan 26 03:42:24 It's what I told you earlier Jan 26 03:42:31 Wouldn't that break the design a bit? Jan 26 03:42:46 that would break you atrocious design, yes Jan 26 03:42:56 :( Jan 26 03:43:01 :) Jan 26 03:43:21 Usually my designs are a ton worse. Jan 26 03:43:24 It's not atrocious. That's just being rude. Jan 26 03:43:51 I was joking, as usual Jan 26 03:44:07 ReScO: well, then you are improving Jan 26 03:44:41 ReScO: you could transform this weakness in a strength reading some book or guide on the subject Jan 26 03:44:55 I've been reading material.io Jan 26 03:45:16 That is helpful but it's not necessarily enough Jan 26 03:45:37 Which books/guides do you suggest? Jan 26 03:45:49 I like the design. Jan 26 03:46:04 And for now, what's a better alternative to the switch? Jan 26 03:46:12 TacticalJoke: you just told that the toggle switch was inappropriate too Jan 26 03:46:13 A toggle button is the same thing... Jan 26 03:46:27 Melatonina: So? I like it overall. Jan 26 03:46:32 So, that leaves a regular button. Jan 26 03:46:36 ReScO: Then use a big "Start" button which becomes "Stop" when the search is running Jan 26 03:46:46 I wrote it few lines above Jan 26 03:46:51 Melatonina, oh god that's atrocious. Jan 26 03:47:19 Big button right smack in the middle of a minimalistic design, that won't really fit in won't it? Jan 26 03:47:24 "big" is not mandatory Jan 26 03:47:44 I was just saying. You can use the size that you feel is appropriate Jan 26 03:48:33 Hmpf, now i'm going to have to see how a button would look good in it Jan 26 03:48:39 might put it at the bottom Jan 26 03:48:55 Would two buttons work? Jan 26 03:49:03 Start/Stop? Jan 26 03:49:08 Stop on the left, Start on the Right Jan 26 03:49:14 I would like just one button which changes Jan 26 03:49:20 Hmm. Jan 26 03:49:21 but that's up to you Jan 26 03:49:53 like in video players, you don't see a play and a pause button because they are mutually exclusive Jan 26 03:53:35 ReScO: "design" is about purely esthetical details (color, sizes, etc.) and more "symbolic" details. When I said your design is atrocious I didn't mean the first part (I don't have an opinion on that), I mean the second part: how you make the functionality readable to the user. TacticalJoke basically meant the same: he likes the esthetical appearance overall but had the same problem with the switch Jan 26 03:54:37 Ahh. Jan 26 04:05:57 Hm, anybody have a pointer to a favorite "don't do it that way, do it THIS way" for android code? Jan 26 04:08:43 Melatonina, TacticalJoke, https://gfycat.com/AshamedRevolvingIndianskimmer Jan 26 04:08:51 Now with a button :) Jan 26 04:09:36 puff: I had some links about a "straight pole in your butt hole" and about a skier who felt of a cliff. Do you want me to fetch them? Jan 26 04:10:22 ReScO: I could not find the button Jan 26 04:10:28 Bottom right Jan 26 04:10:32 Melatonina: Thanks, but no thanks. Jan 26 04:10:44 ReScO: I would place it just under the text, centered Jan 26 04:12:22 ReScO: and I would change the text, reflecting the current function of the button Jan 26 04:15:24 Melatonina, https://imgur.com/a/2wb6k Jan 26 04:16:31 See? Read the text and look for the "Start" button now Jan 26 04:16:53 Easier to spot, yeah. Jan 26 04:16:55 I would center the progress animation and move the "Searching etc." down Jan 26 04:17:22 ReScO: look at the image you posted! Where is the "Start" button there? Jan 26 04:17:45 There is a "Stop" button now Jan 26 04:17:58 and the text still says "Tap on the Start button" Jan 26 04:18:20 Should put one of those TextSwitcher things in that fades it in and out Jan 26 04:18:31 up to you Jan 26 04:18:42 just update the text Jan 26 04:21:01 I would also not block the use to check for updates at startup. As a user, I don't care much about updates. I'd like it to go to the point (the search) and pop up a dialog if there are updates Jan 26 04:24:31 I know, there's a reason though, i want it to update as soon as possible, users tend to postpone updates. Jan 26 04:24:57 https://imgur.com/a/5hlXx Edited the text, moved some stuff Jan 26 04:25:56 ReScO: I like it much better. I would work on the spacing. Jan 26 04:27:20 ReScO: center the progress animation. The rest of the of the space could be divided in two equal parts, above and below. The button and the bottom text could be vertically centered in those spaces Jan 26 04:28:18 So you'd say that i should remove that text? Jan 26 04:28:56 Because the control is obvious with the title in the Toolbar (Player Search), and the button describes what it does (Start or Stop the search) Jan 26 04:29:22 Only point is, how do i communicate it notifies the user... Jan 26 04:29:28 Yeah, you could even remove the bottom text. I agree Jan 26 04:29:37 One of those first start tutorial/guide thingies? Jan 26 04:29:48 No, not the bottom text, the description at the top Jan 26 04:30:07 If you update it, the text is nice to me. Jan 26 04:30:48 If you don't care about updating it, I'd rather not look at a non-sense text Jan 26 04:32:30 Quite hard to get it right as the two texts are of a different size, button jumps around Jan 26 04:33:47 Just use two TextView and hide one when you show the other Jan 26 04:33:58 don't use GONE Jan 26 04:34:11 That way you'll always use the maximum space needed Jan 26 04:34:35 Or just set a fixed height :P Jan 26 04:35:07 my solution is more general, as you don't need to guess a good height Jan 26 04:36:44 which may reveal to be not so good on some devices Jan 26 04:37:29 Any other way to not have to include the description? Jan 26 04:39:53 Just don't include it. The activity title may be enough, if properly chosen Jan 26 05:00:15 ReScO: you are welcome Jan 26 05:00:31 Still struggling haha, but thanks for the help man Jan 26 05:00:55 I'm gonna go to sleep, it's 6am Jan 26 05:15:36 Calendar is API 24. To get the current date, did you have to convert the timeInMilliSec to a date and time, or is there an easier way? Jan 26 05:21:39 nvm found the date class with deprecated methods Jan 26 05:25:33 Hm, I have two different android apps. Right now I run android studio, it defaults to opening the one app. Then I use File/Open to open the other project and select "in a separate project". Is this the right way to do this, or is there a better way? Jan 26 05:26:50 Related question, Both apps also use a jar file that's in yet a third project. I have the git clone for that project, how do I add it to Android Studio or to the other two projects, so that when something in project A calls a method in the lib project, Android Studio can take me right to that code? Jan 26 06:29:43 hm, wonder if this is any good. not aware of any other books that cover this, but i'm guessing there are http://shop.oreilly.com/product/9780994347077.do Jan 26 06:37:30 a new AS 2.3 beta Jan 26 06:37:53 g00s: ! Jan 26 06:37:59 hey thepoosh ... Jan 26 06:38:14 Hello all Jan 26 06:38:26 thepoosh , is that doc you linked to changing in realtime or something, i could swear things are changing Jan 26 06:38:42 yeah, I'm still editing Jan 26 06:38:50 it was a rough draft Jan 26 06:38:55 and I'm working on it Jan 26 06:39:02 oh ok Jan 26 06:40:21 did you get a chance to look? Jan 26 06:41:15 yeah ... i think some things you fixed though Jan 26 06:43:01 thepoosh dunno, you may want to break glide down into roles, (lead, developer, release manager, etc) Jan 26 06:43:13 its all kinda jumbled together Jan 26 06:43:24 hmm Jan 26 06:43:45 and * Familiar with x, y, z ... dunno if thats the right place for that either, maybe a separate skills section of the resume Jan 26 06:44:22 anyone know how to debug what is causing my activity to Pause/Resume? like is there a tool or way I can debug what I'm causing to do that? Jan 26 06:44:44 callstack doesn't help much when I set a breakpoint in onPause :/ Jan 26 06:45:07 pause is called when something is taking focus away from you actiivty such as a dialog Jan 26 06:45:34 right, odd thing is is that it's occurring from a button press, which isn't launching any fragment/activity/dialog Jan 26 06:45:43 is there a tool I can use to see what in the chain caused it? Jan 26 06:46:16 can you share code of what's happening? Jan 26 06:46:25 is this a result of user action? Jan 26 06:46:28 * raoul11 thepooshes thepoosh Jan 26 06:46:38 raoul11: ! Jan 26 06:46:41 id prefer not to, and yeah its result of a user action Jan 26 06:46:45 "Hugo Barra is joining Facebook to lead VR team " lol Jan 26 06:46:50 like ideally with most problems you can set a breakpoint to see how it's calling it Jan 26 06:46:59 but since it's a lifecycle method it's a bit difficult to find what is calling it Jan 26 06:47:17 it doesn't work that way in lifecycle events Jan 26 06:47:28 they are called from the parent Jan 26 06:47:34 thepoosh http://i.imgur.com/iqgUCU8.png Jan 26 06:47:38 u better be there Jan 26 06:47:47 only thing I can think of is that I'm creating a PendingIntent, but I'm not starting it or anything Jan 26 06:47:50 raoul11: you're going? Jan 26 06:47:58 or am gonna give u back to the pallies Jan 26 06:48:00 yes Jan 26 06:48:08 boomber: nobody is gonna help you like this Jan 26 06:48:09 i iz confirmado Jan 26 06:48:19 raoul11: I hope to get there for the 2nd half Jan 26 06:48:41 is there any limit of maximum characters that we can set in a textview? Jan 26 06:48:41 thepoosh: thats fine, I wasn't hoping for someone to solve my bug for me, was just wondering if there was a nice tool to help debug my issue Jan 26 06:48:50 logs Jan 26 06:48:52 it better not be helloWordish thepoosh Jan 26 06:49:05 dunno, didn't go last year Jan 26 06:49:16 sub_zero yes, don't remember, maybe 16k or something Jan 26 06:49:21 raoul11: if you join the FB group you might get more info Jan 26 06:49:34 ok g00s thanks Jan 26 06:49:35 i hz no FB ): Jan 26 06:49:43 irc4lyfe yo Jan 26 06:49:44 good for you raoul11 ! Jan 26 06:49:54 fb is crap Jan 26 06:49:57 yep Jan 26 06:50:19 * raoul11 been ircing since 95 /: Jan 26 06:50:20 $10 says zuck runs for prez Jan 26 06:50:35 raoul11: open a fake account just for that Jan 26 06:50:38 with kekerica nowdays he might win Jan 26 06:50:50 raoul11 Jan 26 06:50:57 i got 3 fake fb accounts iv made for their silly integration with my android apps Jan 26 06:51:06 each got 1 friend Jan 26 06:51:15 which is the other's fake account Jan 26 06:51:18 is kekerica a play on kakistocracy ? Jan 26 06:51:32 actually a play on lolstralia Jan 26 06:51:45 lol Jan 26 06:51:59 raoull1 i will complain about your fake accounts! Jan 26 06:52:00 kak·is·toc·ra·cies. Government by the least qualified or most unprincipled citizens. Jan 26 06:52:13 thepoosh: i dont have a laptop to bring for the hackhaton Jan 26 06:52:13 hehehe Jan 26 06:52:22 g00s wow Jan 26 06:52:36 raoul11: you suck Jan 26 06:52:46 sub_zero: deeeeew eeeet, they will never stop me from integrating their shitty sdk on my apps! Jan 26 06:53:06 shitty sdk with shittier documentation for the price of one Jan 26 06:53:23 that we will see,let the process begin Jan 26 06:53:38 thepoosh, am a tower PC masterace, dont have time for those shitty macbooks with an even shittier AS Jan 26 06:54:06 i got like 2 old macbooks here who can barely run notepad++ Jan 26 06:54:06 AS for mac is better than for windows Jan 26 06:54:17 #just_saying Jan 26 06:54:18 thepoosh u shud have seen the AS bug i had yday Jan 26 06:54:19 thepoosh really? java has been dicey on mac Jan 26 06:54:33 ever since apple was like fu it, you take it oracle Jan 26 06:55:06 this is how I experience working on a Win desktop at home and a macbook pro at work Jan 26 06:55:14 there are many shitty things on mac Jan 26 06:55:15 thepoosh: b4: http://i.imgur.com/0QEX75j.png | after: http://i.imgur.com/FOxB1Qr.png Jan 26 06:55:29 and I would probably prefer using a linux distro instead Jan 26 06:55:46 linux with openbox gui ftw Jan 26 06:56:03 raoul11: same view? Jan 26 06:56:10 and the lines made the difference? Jan 26 06:56:10 same same Jan 26 06:56:15 yep Jan 26 06:56:18 :S Jan 26 06:56:18 ctrl alt l fixed it Jan 26 06:56:36 not a clean, rebuild, black magic, nothing Jan 26 06:56:40 cmd + l Jan 26 06:56:42 just rearranged the lines Jan 26 06:56:43 yeah Jan 26 06:57:08 showed that to adq, fueled his h8 towards AS even more Jan 26 06:57:18 thepoosh know of any other books like this http://shop.oreilly.com/product/9780994347077.do Jan 26 06:57:20 HA Jan 26 06:57:39 g00s: I'll ask my BI friends Jan 26 06:57:56 AS + gradle is becoming a slow and bloated pile, seems teh eventual destiny for all java crap Jan 26 06:58:26 somebody needs to rewrite gradle in go or something Jan 26 06:58:30 where is pfn to talk about his build machine Jan 26 06:58:38 who would dare g00s Jan 26 06:58:40 also, facebook claims BUCK is good Jan 26 06:59:03 yeah, nothing mere mortals use scales for them Jan 26 06:59:21 'move fast and break stuff' remember Jan 26 06:59:35 that sounds... familiar Jan 26 06:59:58 its their culture slogan Jan 26 07:00:50 thepoosh at the time, there was hardly any info on buck at all. has that changed ? Jan 26 07:00:56 i mean like 1-2 years ago Jan 26 07:01:23 it wasn't much better than 'here's this thing, look at the sources to figure it out' Jan 26 07:01:28 i read about it a few times Jan 26 07:01:38 but didn't put in the time to learn about it Jan 26 07:01:52 https://buckbuild.com/ Jan 26 07:02:04 i wonder if gradle experimental stuff will be done by i/o 2017 Jan 26 07:13:19 i must have this https://www.sunfrog.com/The-Dog-Lives-NavyBlue.html Jan 26 07:37:03 how do I animation a button to slide in from the bottom and push items above it as it's sliding? Jan 26 07:37:21 right now I have it sliding in, but the items above it in the linearlayout move instantly as the button first starts sliding into view Jan 26 07:38:24 boomber: coordinatedlayout Jan 26 07:38:52 hm Jan 26 07:39:05 the problem is is that the thing it's pushing up is a bottom sheet which is already in its own coordinator layout Jan 26 07:39:23 if they were in the same coordinatorlayout the button couldn't slide below it and push it up.... if that makes sense Jan 26 07:39:49 will coordinatorlayout let me push up a bottom sheet? Jan 26 07:41:38 errr Jan 26 07:42:08 right now I'm just using an animation to slide a button into view Jan 26 07:42:16 can I just apply that same animation to the item above it in the layout? Jan 26 07:55:34 why does this drawable h8s my vectordrawable Jan 26 07:57:34 new youtube UI https://i.imgur.com/Y9zqPHW.jpg Jan 26 08:24:02 Hi all, is it possible to keep a TCP connection (with a service maybe) open, even if your app is killed? Jan 26 08:24:25 *tcp socket Jan 26 10:57:56 Hello guys ! Jan 26 10:58:24 I have been developing an Android Library module and putting it on a remote private maven repo (using artifactory) Jan 26 10:58:53 I can put it as a dependency now on other Android projects Jan 26 10:59:17 but I keep getting the same error : "The following classes could not be found: " Jan 26 10:59:31 Does anyone have an idea ? Jan 26 11:18:18 well. Jan 26 11:18:20 Read the missing classes. Jan 26 11:18:26 Figure out why they're missing. Jan 26 11:18:39 The error is pretty clear about what's wrong and your information pretty sparse to let us figure out. Jan 26 14:15:15 ./וןא Jan 26 14:23:00 Material Design is pretty hard Jan 26 14:30:13 is it? Jan 26 14:32:41 We have an app that requires fresh data to be downloaded Everytime app is launched. What is the best way to go about this? Create a hash for data content and check to see if new data is available? (To avoid downloading all data again) Jan 26 14:33:41 is this http? could be etags Jan 26 14:34:02 <_0xbadc0de> hello Jan 26 14:36:22 <_0xbadc0de> I want to generate a AES key store it in AndroidKeyStore Jan 26 14:36:35 <_0xbadc0de> and then load it each time I need it to encrypt\decrypt stuff Jan 26 14:36:36 <_0xbadc0de> now Jan 26 14:37:19 <_0xbadc0de> I can do this with API23+ by using KeyGenerator class + KeyGenparameterSpec Jan 26 14:37:33 <_0xbadc0de> however KeyGenParameterSpec is NA on SDK < 23 Jan 26 14:37:47 <_0xbadc0de> so how can i do this for API < 23 ? Jan 26 14:38:16 <_0xbadc0de> If I just use KeyGenerator I won't be able to tell my KeyStore Alias Jan 26 14:38:46 <_0xbadc0de> so I cant recover the cryptographic key usability later on using keystore.getKey() Jan 26 14:38:58 <_0xbadc0de> help? Jan 26 14:39:19 anyone got this while tryna start an emulator yet...? Jan 26 14:39:19 ERROR: resizing partition e2fsck failed with exit code 9 Jan 26 14:49:28 Zharf, trying to work out how to show a "waiting" screen to users, with a button to start/stop Jan 26 14:49:39 But I keep fiddling with it Jan 26 14:49:42 _0xbadc0de, you have to deal with different api version, keystore and its method calls evolved between few version, especially about creating keypair Jan 26 14:49:57 <_0xbadc0de> No Jan 26 14:50:02 <_0xbadc0de> there is no Keypair Jan 26 14:50:04 <_0xbadc0de> its AES Jan 26 14:50:15 _0xbadc0de, quickly i can tell you to use KeyPairGeneratorSpec.Builder keyPairGeneratorSpecBuilder < on API 23, and use KeyGenParameterSpec.Builder keyGenParameterSpecBuilder on api >= 23 Jan 26 14:50:16 <_0xbadc0de> I don't want a private\public key pair Jan 26 14:50:18 there is Jan 26 14:50:22 just read the documentations Jan 26 14:50:29 you will find many tutorials online too Jan 26 14:51:11 <_0xbadc0de> KeyPairGenerator, KeyPairGeneratorSpec is for generating assymetric key information Jan 26 14:51:16 <_0xbadc0de> its not fit for AES Jan 26 14:51:24 <_0xbadc0de> more over it wont even work Jan 26 14:51:49 <_0xbadc0de> In fact they even generate a pair Certificate\privatekey Jan 26 14:51:51 oh right, but same thing, just use the corresponding call for the corresponding api version Jan 26 14:51:58 <_0xbadc0de> There is none Jan 26 14:52:03 ... good luck Jan 26 14:52:08 <_0xbadc0de> At least I can't find it Jan 26 14:52:31 (i just copy/pasted an example to show you how it differs, but agreed it was to generate rsa key, not symetric key) Jan 26 14:52:31 BouncyCastle might be an idea Jan 26 14:52:34 <_0xbadc0de> The only way to specify an alias (so to put\retrieve from store) Jan 26 14:52:51 <_0xbadc0de> is by using an AlgorithmSpec Jan 26 14:52:52 you have to many problems you're fighting at same time, calm down Jan 26 14:53:21 <_0xbadc0de> There is no AlgorithmSpec for sdk < 23 for AES Jan 26 14:53:33 <_0xbadc0de> that is the only problem Jan 26 14:53:35 yeah but there is something else Jan 26 14:53:40 ada - should we use hash to compare data to be downloaded or not in an app that requires updated data to be downloaded Jan 26 14:53:41 i cannot look at it right now Jan 26 14:54:09 yay or nay https://www.novoda.com/blog/downloading-apps-is-emojinal-a-simple-hack-to-get-more-downloads/ Jan 26 14:54:14 you should use a hash to check for data integrity monsterco, indeed Jan 26 14:54:28 if you do'nt care about security, md5 will be enough Jan 26 14:54:34 otherwise go sha1, or better sha2 Jan 26 14:54:40 <_0xbadc0de> There is not Jan 26 14:55:12 there is not != you don't find it Jan 26 14:55:14 <_0xbadc0de> The only thing I have seen is KeyGen for generating AES keys but those won't become stored in AndroidKeyStore Jan 26 14:55:48 <_0xbadc0de> so keymaterial is exposed into aplication virtual address space Jan 26 14:55:55 ada - my concern is not security but completeness of data at this instance. User has 100 new items in bin but doesn't show in app. Should we redo a load all without knowing if they were downloaded or should we create a hash and compare if new data is avail? Jan 26 14:56:00 it's adq Jan 26 14:56:24 <_0xbadc0de> monsterco Jan 26 14:56:26 <_0xbadc0de> use crc32 Jan 26 14:56:30 -_- Jan 26 14:56:35 <_0xbadc0de> its fast and its fit for what you need Jan 26 14:56:57 <_0xbadc0de> crc32 is the most uniformly distributed hashing function Jan 26 14:57:21 monsterco: There are many ways. You could also just store a last updated timestamp and query the server for new items since Jan 26 14:57:27 don't load all if 99 items are not missing obviously Jan 26 14:57:33 that would be a pure waste Jan 26 14:58:56 <_0xbadc0de> so adq you are fucking retard thats what you are trying to...say Jan 26 14:58:57 <_0xbadc0de> right? Jan 26 14:59:36 ohnoez. Jan 26 14:59:37 _0xbadc0de: Please watch your language Jan 26 15:01:43 good luck Jan 26 15:02:28 BouncyCastle is a good crypto library for Java. Jan 26 15:02:44 yeah but bouncycastle was highly need in the early day of android Jan 26 15:02:55 now not really anymore, except maybe for specific algo not available Jan 26 15:03:18 depends on the SDK version, doesn't it? Jan 26 15:03:24 also it's an enormous lib Jan 26 15:03:35 Eh. true. Jan 26 15:06:45 everytime I see "ohnoez" I hear Ike's voice from Southpark Jan 26 15:07:23 made me remember the lemmings Jan 26 15:07:50 https://imgur.com/a/nQbgc any suggestions how I can improve this layout? Jan 26 15:08:27 put start/stop text color white but it's so empty for some part Jan 26 15:08:52 that it's hard to "optimize", it's more about feeling the empty space maybe (preferably with not something useless) Jan 26 15:09:18 Yeah, kinda struggling on how to do it tho Jan 26 15:09:33 maybe merge the start and stop, and put it with the center circular stuff somehow Jan 26 15:09:42 so you won't have much empty space, and it will make sense for the user Jan 26 15:10:00 Can't find any examples of apps with similar screens? Jan 26 15:10:07 -? Jan 26 15:10:08 i did something similar let me find it Jan 26 15:10:28 i'm gonna pm you the link tho Jan 26 15:10:39 Okidokie Jan 26 15:18:07 Hmm.. Jan 26 15:18:45 http://gfycat.com/essentialweakflicker Jan 26 15:20:55 If you have pocket casts, their nearby screen is pretty nice. It's similar to what you're doing. Jan 26 15:22:25 I don't, trying to get into podcasts but i can't find the time for them, or any good podcasts for that matter Jan 26 15:44:36 adq, https://gfycat.com/DeadBriskAtlanticsharpnosepuffer Jan 26 15:45:57 maps v2 api on emulator is any indication (slowaf) of realdevices operation? Jan 26 15:47:37 ReScO, much better Jan 26 15:47:42 :D Jan 26 15:47:56 White button looked cheap tho Jan 26 15:48:04 White text on the button* Jan 26 15:48:21 <_0xbadc0de> anyone knows how JCEKS works? Android Key Store will make an effort in storing the keys on HSM Jan 26 15:49:50 <_0xbadc0de> ah so you store the stuff within a file Jan 26 15:50:02 <_0xbadc0de> and you need to supply a pw to decrypt the file on the fly Jan 26 15:50:07 <_0xbadc0de> so very stupid Jan 26 15:57:59 Hello, how can I know is auto-implemented on a component ? For Example : When I use a ListView, i dont need to manually implement a scrollView, its automatically managed. What about TableLayout ? Jan 26 15:58:22 how can I know if a scrollView* Jan 26 16:12:16 hey guys, im working on an app for an store, they need to store just a few values from the user and purchases history, is OK to use localstorage or recommend me to use sqlite? Jan 26 16:13:25 and of course, store if the user already registered and if already filled the personal info :) Jan 26 16:14:45 I recently installed android studio and when I create a new project I get two gradle errors, failed to resolve "junit:junit:4.12" and the same with "com.android.support.test.espresso:espresso-core:2.0" Jan 26 16:15:01 if I just remove that stuff from gradle then I can run just fine, it connects to the emulator and everything Jan 26 16:15:13 so it's not a huge issue but any idea what I've done wrong to get into this state? Jan 26 16:17:13 although I'm not entirely sure this is the right channel Jan 26 16:18:02 samsagaz_ you can store those on sharedprefs Jan 26 16:18:23 cd raoul11 ok, will search abt it. thanks Jan 26 16:18:26 samsagaz_: If by "localstorage" you mean either shared preferences or manually writing to a file stored in a filesystem, then they both have the same security (or lack thereof) as SQLite. SQLite is preferred if you have data that fits into a table, purchase history might fit well here, while a saved username might fit better in shared preferences. Jan 26 16:18:27 as long as u dont store sensitive information, like CC, you should be fine Jan 26 16:18:42 i see, you know if this works with ios too? Jan 26 16:20:23 you should ask on ios channels how they store stuff locally Jan 26 16:21:28 samsagaz_: Are you perhaps talking about locally stored data in HTML5? Because otherwise SharedPreferences/SQLite have different interfaces on iOS than they do on Android, since they use different languages. Jan 26 16:21:45 thanks guys Jan 26 16:21:51 will go with sqlite then :) Jan 26 16:32:48 https://hastebin.com/adizuzaguy.java am i doing the right thing at line 82? Jan 26 16:48:03 hello, AdapterViewFlipper or ViewPager for an image carrousel? images are not finite, they can be added using camera Jan 26 16:49:33 Currently I'm using AdapterViewFlipper to refresh SimpleCursorAdapter using it, currently works fine Jan 26 16:49:37 like a filmstrip kind of carousel? Jan 26 16:49:53 if what you’ve got works fine, then I wouldn’t touch it Jan 26 16:55:57 anyone have a list of dev conferences coming up? I know about Chicago Roboto and Droidcon Boston Jan 26 16:56:03 Is it bad design to replace a navigation drawer's contents based on what fragment is displayed at that moment? Jan 26 16:56:13 i would say yes Jan 26 16:56:32 So, what to do if you want to add many things? Jan 26 16:56:36 Just add many things? Jan 26 16:56:41 what is the use case? Jan 26 16:57:05 I am building an app for my gaming clan, but i want to add some extra features to it Jan 26 16:57:33 i mean how is the drawer used Jan 26 16:57:59 Currently, undecided, but i was thinking of using it to display important features and categories of content Jan 26 16:58:14 that’s not what the nav drawer is for Jan 26 16:58:45 important sections of the app, yes Jan 26 16:59:42 but in general, it would be confusing to the user to have that change based on what section of the app you’re in Jan 26 17:00:18 Say i'd have a CSGO category, and in that a strategy guide for like, 10 maps, would i add those 10 maps to the navigation drawer, and the strategy guide thing? Jan 26 17:00:51 no. you’d have a CSGO category, and when they clicked, in the main content area you’d have your strategy guides and stuff Jan 26 17:01:05 So Top Level -> CSGO -> Strategy Guides -> [Map 1, Map 2, ..., Map 10] Jan 26 17:01:54 this app, it’s going to have several games? Jan 26 17:02:03 so CSGO, Civ VI, etc? Jan 26 17:02:27 yep Jan 26 17:03:19 And hopefully in the future also integration with the forum Jan 26 17:03:21 i would have the games be listed in the drawer, and then when you click in the drawer, that brings up the main content view for that game, which would have a section for strategy guides, for thing 1, for thing 2, etc Jan 26 17:03:39 you might put forum access as a top level thing too Jan 26 17:03:51 But doesn't that get messy? Jan 26 17:04:17 Nested collapsible maybe? Jan 26 17:04:24 i wouldn’t do that. Jan 26 17:04:49 i’d just have the top level stuff in the drawer, and then that takes you to the section of the app, where you’d have the content related to that Jan 26 17:05:02 they click, the drawer closes, and the main fragment changes Jan 26 17:05:27 Our app doesn't display any ads from Ad Networks but Google says our apk contains ads. What might be possible reasons? The only thing I can see from the dependencies is that it our apk does contain the play-services-ads lib. Would that be a reason for being flagged as containg ads? Jan 26 17:05:40 probably Jan 26 17:05:45 why do you contain that lib? Jan 26 17:05:52 But how can i facilitate fast navigation to something a few levels deep in the navigation hierarchy? Jan 26 17:06:02 dont' Jan 26 17:06:19 that’s when it gets messy Jan 26 17:06:36 because everyone and their cousin wants fast navigation to their pet section Jan 26 17:06:50 so now you have to put everything that’s a few levels deep front and center Jan 26 17:06:51 we have an indirect dependency via appsflyer lib which needs it to fetch AdvertisingID i gues Jan 26 17:07:07 that would be why Jan 26 17:09:59 tx Jan 26 17:14:04 hi Jan 26 17:16:25 i want to load a fragment from a button click and that button is present on my current fragment , the layout which i want to use is same everytime but the data will differ everytime ,i want to repeat this process 100 times so what's the best solution to achieve this? Jan 26 17:18:41 How are you using the fragment? Jan 26 17:18:52 Are you wanting to add another fragment to the screen, or replace the current one with a new one? Jan 26 17:19:10 E.g. are you trying to create a scrollable list of identical views with different content? Jan 26 17:20:22 Hmm, what's a good way to deliver navigation to users when coming from a navbar item? Jan 26 17:21:19 Navbar has, for instance, a CSGO category, if you tap on that, what's a nice way to let users navigate between all the categories in the CSGO category? Jan 26 17:21:55 konk3r i want to reuse the fragment Jan 26 17:21:58 ReScO: You could present a list of top level categories they can select from, or you could to tabs Jan 26 17:22:21 I think a list would be a better approach Jan 26 17:22:34 It usually is if you have more than a few categories Jan 26 17:22:43 but that gets ugly real fast, doesn't it? Jan 26 17:22:54 It depends on the design and how many levels you have Jan 26 17:23:45 sub_zero: So you want to replace the content in your fragment with new data when a button is pressed? Jan 26 17:23:53 yes Jan 26 17:24:13 and the button lies on the current fragment Jan 26 17:25:07 sub_zero: Okay, when the button is pressed you should have a class retrieve the new data and return it as an object, then pull the information from the object and replace the content of your views with it Jan 26 17:27:29 ok,but how will i get the new data everytime, how will the class retrieve know that which data to be sent on what button click? Jan 26 17:30:53 Where are you pulling the data? Jan 26 17:31:00 Where is it coming from? Jan 26 17:33:27 i can use arrays for that data Jan 26 17:33:52 So it’s just going to be hardcoded into the app? Jan 26 17:34:02 yes Jan 26 17:34:12 not a database or from a server Jan 26 17:37:00 I’m not really sure what your requirements are here so I can’t help too much without more info Jan 26 17:37:55 Can you explain what this screen is and what the button is doing? Jan 26 17:49:54 raoul11: http://i.imgur.com/s8993PL.gifv Jan 26 17:52:21 konk3r i have a button on a fragment and on that button click i want to load a fragment same as my current fragment but the data will change this time,so what to do in this?Should i use another fragment or can use the current fragment? Jan 26 17:57:17 Use the current fragment, just update the views with the new data Jan 26 17:58:20 yes that's what i want, but i am having problem while setting the new data more than once Jan 26 17:58:50 on one click i can set the new data but on second click how will i get the next data Jan 26 17:59:50 If you have it in an array just update the index every time you click it Jan 26 18:00:07 item = array[index]; index++; Jan 26 18:00:20 Hi :) Jan 26 18:00:34 Howdy Jan 26 18:01:30 I have a question : I'm reading this tutorial https://developer.android.com/training/implementing-navigation/ancestral.html#SpecifyParent and I wonder why I have to do the "Add Up Action" and "Navigate Up to Parent Activity" parts ? Jan 26 18:02:02 In one of my activites, I just have the declaration in the Manifest file and it works without the code in my activity :| Jan 26 18:06:43 Some of the tutorials are old, or they focus on a single way to do things Jan 26 18:07:04 I’m not 100% if all versions of Android are set up to work with that from the manifest file though, so don’t take my word as gospel on this Jan 26 18:07:22 konk3r just did it , but thanks :) , i was over thinking about it ,its easy xD Jan 26 18:07:33 :) I’m happy you got it Jan 26 18:08:33 konk3r: The minimum version for my app is sdk 21, so not so old. But I'm curious to know if i need to do the two parts or if the first one is enough. Jan 26 18:09:28 I would keep it in the manifest and only add it into the app if someone had issues with it Jan 26 18:10:09 Kendos-Kenlen: I’d say keep it clean and only dirty it up if it causes a bug, especially with something this minor. Someone else here may have more experience with it though Jan 26 18:11:01 but konk3r when i am loading this fragment its not appearing on full screen Jan 26 18:11:22 Have you attached the fragment to a view that is full screen? Jan 26 18:11:30 yes Jan 26 18:11:36 with parent activity Jan 26 18:11:55 Okay, and the view height and width are match_parent? Jan 26 18:12:12 yes Jan 26 18:12:21 And the views inside the fragment are too? Jan 26 18:12:32 nope Jan 26 18:14:25 konk3r: okay, thank you for your answer :) Jan 26 18:19:28 but that's not making any effect Jan 26 18:19:51 i am using linearLayout with orientation vertical maybe that is creating some issue Jan 26 18:38:05 thepoosh u dirrrrty dirrrrty person Jan 26 18:38:15 oh yeah... Jan 26 18:38:26 but i know the rearexit is common amongst yer people Jan 26 18:38:32 * raoul11 studied on bar ilan Jan 26 18:38:34 * raoul11 knows Jan 26 18:38:51 woot Jan 26 18:38:54 it aint me Jan 26 18:38:58 it's the lion king Jan 26 18:39:16 so yer going on sunday right Jan 26 18:43:13 Hi! Jan 26 18:43:32 In order to add amazon web services to Android, where should I place the files? Or I should only change the grade.build file? What I have to do? Jan 26 18:43:42 raoul11: already told Britt I'll be there as of 20:10-20:30 Jan 26 18:43:55 what files? Jan 26 18:43:57 Iarfen: only build.gradle Jan 26 18:44:02 is that the chick thats always there thepoosh Jan 26 18:44:06 s73v3r: he means the jars I think Jan 26 18:44:13 yeah, blond curly hair Jan 26 18:44:33 Iarfen: https://github.com/aws/aws-sdk-android Jan 26 18:44:41 i only know the brunette Jan 26 18:44:48 u know who Jan 26 18:46:02 which of the two build.gradle files should I add it? To build.gradle app or the other? Jan 26 18:46:17 app Jan 26 18:46:31 Iarfen: you should learn a bit more on dependencies and how to add them Jan 26 18:46:50 there is also a wizard for adding dependencies in module settings Jan 26 18:47:15 raoul11: just finished watching Fargo, my life is empty Jan 26 18:47:52 new season? Jan 26 18:48:07 stopped watching the latest sherlock season btw Jan 26 18:48:28 2nd seasone Jan 26 18:48:31 season Jan 26 18:48:36 i understand you Jan 26 18:48:41 but i watched the whole thing Jan 26 18:48:55 When I start a service on Android it's never restarted right? Jan 26 18:49:03 So the variables continue defined? Jan 26 18:49:40 hi, i'm an android studio noob, trying to make a simple spi front end volume controller for a mixer, just need to make 6 faders, some buttons, and bluetooth connectivity Jan 26 18:50:01 are there audio graphic widget libs available Jan 26 18:50:38 alphaferret: There are inside the Android SDK, where says "Graphics and Animations" inside API Guides Jan 26 18:50:38 check android arsenal Jan 26 18:52:23 is android studio overkill for what i'm doing Jan 26 18:53:15 no, Android Studio is what you use to build Android appsw Jan 26 18:55:13 great Jan 26 18:55:26 android studio seems to be crashing in libfreebl3 Jan 26 19:00:12 ugh, protify isn't working on my latest app for some reason... Jan 26 19:00:20 then again, it does some crazy secondary screen shit Jan 26 19:00:29 have you met BUCK? Jan 26 19:00:32 :P Jan 26 19:00:47 yeah, except I can't just drop buck into an existing app and build it in 5 minutes Jan 26 19:02:47 so taking out the headphones jack? Jan 26 19:02:47 https://twitter.com/hallstephenj/status/824298833110827008 Jan 26 19:03:23 good, I'm gonna buy the next gen pixel Jan 26 19:03:27 since my 6p feels like a pos Jan 26 19:03:55 I'm still with an OPO Jan 26 19:04:05 thepoosh: have experience with it? buck still does not support kotlin? Jan 26 19:04:27 dunno, kotlin is not my cup of tea Jan 26 19:04:33 and neither is BUCK Jan 26 19:04:42 i like gradle for some odd reason Jan 26 19:05:20 gradle sucks, except it's the standard for android studio Jan 26 19:05:39 so cool http://newatlas.com/ai-skin-doctor/47584/ Jan 26 19:07:32 g00s: you think it's like WebMD? Jan 26 19:07:42 defining everything as cancer by default Jan 26 19:07:48 also latest android plugin now have annotation processor included. so google not over gradle for now Jan 26 19:09:12 thepoosh 'everything is cancer, everything sucks' 100% probability Jan 26 19:09:44 Is there a limit to the number of notifications from a single app? Jan 26 19:10:08 I have been trying to debug my notification system and while doing so have only ever gotten 3 notifications total Jan 26 19:12:43 Additionally, I seem to have an issue where all notifications display the same time. For example, If one notification popups at 12:06, one at 12:08, and one at 12:10, they all display 12:03. Why..? Jan 26 19:12:53 g00s: https://youtu.be/9ze87zQFSak?t=113 Jan 26 19:17:24 thepoosh :D Jan 26 19:23:47 So I can explicitly set the timestamp displayed on the notification via builder.setWhen(). Is there a way to simply have this time be the time at which the notification is displayed? Jan 26 19:30:40 How I can load AWS inside Android Studio? It's already inside gradle :D Jan 26 19:33:00 * pfn has neverhad any problems with notifications being throttled Jan 26 19:35:33 I think by default it uses the value of System.currentTimeMillis at the time of notification creation. What I am doing, is upon launch, scheduling ~10 notifications for display in the future. I can override the time via .setWhen() and passing in the time used when scheduling the future alarm, however notifications arent guaranteed to be displayed at the specified time. Jan 26 19:36:09 Eg, I just got a notification from 2 minutes in the past Jan 26 19:41:28 What I find even more odd, is I've tried overriding the 'name' field on the notification object in my broadcast receiver, and setting that to the current time as that is when .notify() is called. However, it seems to be ignoring that value. Jan 26 20:07:03 Someone has used Amazon Web Services? If yes, which credentials I need to provide when using Cognito? Jan 26 20:15:50 Iarfen: read the fucking documentation already Jan 26 20:22:25 thepoosh: I have, but it doesn't work Jan 26 21:03:48 hello guys, I'm trying to figure out how to remove an ongoing notification from the notification bar when I close the app (by swipe) Jan 26 21:04:48 onDestroy() doesn't seem to be called when I close the app with a swipe Jan 26 21:05:37 notificaionManager.cancel(idOfNotification) Jan 26 21:05:49 onDestroy() of what, activity? Jan 26 21:06:21 even closing all activities doesnt mean the Application itself is closed/killed/destroyed Jan 26 21:07:45 swiping from recents generally kills the process Jan 26 21:08:04 ahh he meant some kind of task manager Jan 26 21:08:33 sorry for not being too precise, i'm quite new at this :D Jan 26 21:09:06 but yeah, i tried defining an onDestroy() method in my MainActivity class which extends Activity Jan 26 21:09:52 if you kill app by swiping the onDestroy() will not have a chance to occur Jan 26 21:10:20 ok, do you have any recommendations for solving this? Jan 26 21:10:47 is it possible to configure the app to terminate completely when it's swiped from recents? Jan 26 21:12:27 http://stackoverflow.com/questions/12997800/cancel-notification-on-remove-application-from-multitask-panel Jan 26 21:12:33 https://android.googlesource.com/platform/frameworks/base/+/refs/heads/master/core/java/android/widget/ProgressBar.java#461 Jan 26 21:12:40 1st answer sounds a bit hacky, 2nd answer is promising Jan 26 21:15:24 ok, i'll try and see what happens :D Jan 26 21:15:27 thanks a lot! Jan 26 21:15:43 ah, happiness, finally got my phone and laptop connected to the same wifi network Jan 26 21:15:53 now I can actually debug and install and stuff while the phone isn't plugged in Jan 26 21:39:18 ok I managed to fix my issue by disabling sun.security.ec.SunEC in /opt/icedtea-bin-3.2.0/jre/lib/security/java.security Jan 26 21:41:35 I didn't know I could debug without USB connection over Wi-Fi. COOL!!!!! http://stackoverflow.com/a/10236938 Jan 26 21:41:40 pfn: thanks Jan 26 22:20:05 Every Android command line tool desperately needs a --i-dont-care-just-effing-work flag. Jan 26 22:44:38 https://hastebin.com/adizuzaguy.java am i doing the right thing at line 82? Jan 26 23:02:28 I would like to change the title of an activity in "onActivityResult", but when I call setTitle with a new value, the new title isn't displayed, but getTitle() return the good value Jan 26 23:02:40 How can I update the title of an activity? Jan 26 23:03:37 and now the emulator doesn't work for me anymore Jan 26 23:03:39 cool Jan 26 23:05:23 emulator sucks anyway Jan 26 23:05:56 well I don't have a device Jan 26 23:06:28 seems to be a segfault somewhere in qt accessibility Jan 26 23:06:36 like it's trying to hit dbus but I don't have dbus Jan 26 23:06:51 Kendos-Kenlen: find a way to schedule the call to setTitle() to be executed in onResume() Jan 26 23:07:13 Kendos-Kenlen: You might have to say something like `get[Support]ActionBar().setTitle(...);`; I can't remember. Jan 26 23:08:51 TacticalJoke: I tried, but it doesnt work Jan 26 23:10:36 ((CollapsingToolbarLayout) findViewById(R.id.toolbar_layout)).setTitle(task.getTitle()); also doesn't work Jan 26 23:10:42 Kendos-Kenlen: It may be impossible to answer your question without more info. In some apps, there's no way that Activity.setTitle would have any effect (because, for example, they're using Toolbar). Jan 26 23:11:00 So you are using Toolbar? Jan 26 23:13:37 TacticalJoke: sorry, I'm new in android development. Yeap I'm using Toolbar. Jan 26 23:14:09 Kendos-Kenlen Set your toolbar as an action bar in onCreate() using setSupportActionBar() or setActionBar() Jan 26 23:14:25 Then, to change title, getSupportActionBar().setTitle() Jan 26 23:14:46 Remember, a toolbar is just a view like any other. You could add a textview to it and do things that way. Jan 26 23:16:55 orbyt_: That doesn't apply with CollapsingToolbarLayout, does it? Jan 26 23:17:02 orbyt_: I did it, and in onActivityResult, I did a getSupportActionBar().setTitle("ZORB"); but it doesn't work Jan 26 23:17:08 Kendos-Kenlen: As far as I can tell, calling CollapsingToolbarLayout.setTitle should work. Jan 26 23:17:41 and as I said previously, calling CollapsingToolbarLayout.setTitle doesn't work either Jan 26 23:17:42 TacticalJoke If your using a Toolbar as an action bar then whether a CollapsingToolbarLayout is being used is irrelevant. Jan 26 23:21:08 Kendos-Kenlen It does work. You need to post your code. Jan 26 23:23:31 Here is the code : https://gist.github.com/Kendos-Kenlen/72f1d80ee1cb0936bbc46566fd8adafc Jan 26 23:26:23 Kendos-Kenlen: It seems there's no call to CollapsingToolbarLayout.setTitle in all that code. Jan 26 23:27:42 TacticalJoke: here I used getSupportActionBar, but when I tried with CollaspingToolbarLayout, the result was the same. Jan 26 23:28:01 (I tried before getSupportActionBar) Jan 26 23:29:05 Kendos-Kenlen Perhaps your call to setTitle() on line 34 is somehow interfering as it sets the title for the whole activity. Jan 26 23:29:31 If you call getSupportActionBar.setTitle("Test") in onCreate() you can confirm that it is working. Jan 26 23:37:47 orbyt_: getSupportActionBar.setTitle("Test") works well (I changed line 34 to use it), but only in onCreate Jan 26 23:39:39 Well, I can assure you the method does not change its function dependent on where its called. Jan 26 23:40:11 mmmh Jan 26 23:40:19 I don't understand then Jan 26 23:40:34 because I exactly do both things using the same way. Jan 26 23:40:42 does the android emulator require dbus on linux Jan 26 23:41:24 What I don't understand is why the description change, but not the title. Jan 26 23:55:44 god, wtf isn't ANDROID_HVPROTO=ddm default??? Jan 26 23:56:00 seriously, make your dev tools hard to use, damnit Jan 26 23:56:30 hmpf, my button stops working after a orientation change, using fragments Jan 26 23:58:27 Also, another problem I have, when I push the back button in my editTaskActivity, it looks like it recreate the previous activity. How can I resume instead? Jan 26 23:59:54 of course, OSX is stupid and doesn't let you define global environment variables that exist outside of a terminal session... Jan 27 00:00:10 have to launchctl setenv manually, or set up some autorun plist bullshit Jan 27 00:01:36 ReScO: welcome in Android development Jan 27 00:02:02 Melatonina, this is gonna suuuuuck to fix Jan 27 00:03:31 Kendos-Kenlen: I guess you're using `android:parentActivityName`? Jan 27 00:04:13 TacticalJoke: yeap Jan 27 00:04:50 It calls onCreate instead of resuming the activity. Jan 27 00:05:27 It's because the `parentActivityName` thing launches an Activity with the standard launch mode (which entails creating a new instance of the Activity). Jan 27 00:06:18 One solution is to set the previous Activity's `launchMode` to "singleTop". Another is not to use `parentActivityName` at all (instead calling Activity.finish or something). Jan 27 00:06:39 Another is to manually launch the previous Activity with FLAG_ACTIVITY_SINGLE_TOP. Jan 27 00:06:43 Really, the whole thing is stupid. Jan 27 00:07:02 Okay, i'll try singleTop, thank you Jan 27 00:08:12 Perfect, it works well ! :D Jan 27 00:13:27 I know that using bufferedinputstream reduces disk operations when reading a file but can it be helpful with reading data when from networking sockets? Jan 27 00:16:16 Hello. Jan 27 00:16:49 Someone can tell me which repo to clone in order to build 5.1 AOSP for MTK 3.10 kernel ? I can't find it over android.googlesource.com Jan 27 00:17:25 Soc MT6582 Jan 27 00:29:24 purplex88: http://developer.samsung.com/technical-doc/view.do;jsessionid=B7AAD12A4CB7B68305C409C9632C6F10?v=T000000088 Jan 27 01:02:13 what do you do when you get a native crash of this kind? Check failed: count_ == 0 (count_=-1, 0=0) Attempted to destroy barrier with non zero count Jan 27 01:04:15 Melatonina: Have you googled it? I got a few hits. Jan 27 01:05:43 TacticalJoke: yes. As with other native crashes that I encountered in past, it can be caused by different kind of erroneous Java code. I have no idea where to look for the cause in my source code. Jan 27 01:06:07 is the qemu in the android sdk different from just normal qemu Jan 27 01:09:21 chek ues Jan 27 01:09:23 *yes Jan 27 01:10:20 is there a way for me to use normal qemu instead Jan 27 01:10:45 i don't believe so Jan 27 01:10:49 ugh Jan 27 01:16:00 TacticalJoke: the past occasions the crash happened after I added some code, so I had an vague idea of the possible cause Jan 27 01:16:17 this is destroying me Jan 27 01:25:59 chek: What is? Jan 27 01:26:14 segfault running the emulator Jan 27 01:26:39 happens at launch, backtrace is in qt5 where it's trying to access dbus in some way Jan 27 01:27:41 I've tried using system qt5 libraries which also crashes but much earlier, and now I'm trying to patch out the call in the sdk's qt shared object Jan 27 01:46:45 chek what os are you using Jan 27 01:46:51 gentoo Jan 27 01:47:03 i had suspicion :D Jan 27 01:58:03 wow Jan 27 01:58:05 it works Jan 27 01:58:10 I patched it out and it actually works Jan 27 01:58:18 hahahahahaha Jan 27 01:58:40 so next time sdk tools are updated, do you have to patch again ? Jan 27 01:59:22 yeah probably Jan 27 01:59:48 I patched XcbIntegration::accessibility() to just return null Jan 27 02:02:20 i having problems with android studio Jan 27 02:02:21 http://pastebin.ca/3760733 Jan 27 02:02:34 what other IDE can i use to develop android apps? Jan 27 02:03:47 if you're just writing code, you can build off commandline Jan 27 02:03:52 so you don't necessarily need AS Jan 27 02:04:11 but i think anything like debugger support and that kind fo stuff... AS is probably your best bet Jan 27 02:04:16 most eclipse stuff looks obsolete Jan 27 02:04:36 then maybe xamarin, unity, etc but that's a bit different Jan 27 02:05:26 but yeah, see if you can build from commandline Jan 27 02:05:53 and what about emulator Jan 27 02:06:02 that options have emulation? Jan 27 02:06:04 an emulator is not an ide Jan 27 02:06:20 the emulator is to try your compiled binaries Jan 27 02:06:20 the problem is with AS ---> http://pastebin.ca/3760733 Jan 27 02:06:38 yeah, im not gonna go through thousands of lines of log Jan 27 02:06:56 but it looks like gradle might be failing Jan 27 02:06:57 not AS Jan 27 02:07:02 (i could be rong) Jan 27 02:07:10 but to see, try building from commandline Jan 27 02:07:20 if it fails... it probably has nothing to do with AS but with gradle Jan 27 02:08:54 Akuw: Why not fix AS? Jan 27 02:08:55 AS works. Jan 27 02:09:01 Are you on Windows? Jan 27 02:09:05 yes Jan 27 02:09:09 i am trying man Jan 27 02:09:36 just now i change to use embedded gradle Jan 27 02:09:47 waiting refreshing Jan 27 02:11:06 I'm confused -- when are you seeing these errors? What do you do just before they happen? Jan 27 02:13:43 crazy amounts of io going on Jan 27 02:13:45 wish I had an ssd Jan 27 02:22:59 i wish i had lsd Jan 27 02:34:18 DrBenway lol, was just looking at a book where the author fought off anxiety / depression mucrodosing lsd Jan 27 02:34:32 *microdosing Jan 27 02:34:57 whatever works for them. i'm telling anyone how to live Jan 27 02:35:26 it looked interesting Jan 27 02:36:03 but i woudn't trust getting it from semi-shady person who got it from another semi-shady person :) Jan 27 02:57:21 Is there any particular reason why Android Studio is not available for Android? Jan 27 02:58:12 why would it be Jan 27 02:58:18 android isn't a pc os Jan 27 02:59:11 i am back **** ENDING LOGGING AT Fri Jan 27 03:00:01 2017