**** BEGIN LOGGING AT Sat May 28 02:59:58 2016 May 28 03:35:40 who knew, android developers have a life on Friday night. :p May 28 03:35:55 It is Saturday afternoon and I am working :\ May 28 03:36:18 pfn: I have to do PHP debugging, shoot me now! May 28 03:37:05 I would quit May 28 03:39:51 I would only quit if I'm not paid enough May 28 03:47:25 it is unlikely I would ever be paid enough to do php May 28 03:49:03 I get paid fairly obscene amounts to do java, so I'll take my licks May 28 03:49:28 no life for me :p May 28 03:49:38 funny enough, doing some more android stuff for fun May 28 03:50:00 playing around with firebase services May 28 04:21:51 this is crazy http://arstechnica.com/gadgets/2016/05/op-ed-hey-google-want-to-fix-android-updates-hit-oems-where-it-hurts/ May 28 04:22:17 "So, penalize partners by reducing or eliminating that revenue sharing if they don't push out updates." May 28 04:22:38 author clearly understand that OEMs are not making much from android May 28 04:22:50 *does not understand May 28 04:32:11 Anyone know of any good brainstorming/project planning software? May 28 04:32:20 Kinda like slack but for project planning? May 28 04:32:44 huh? how is slack remotely relevant May 28 04:32:58 as in a web app May 28 04:36:52 jira May 28 05:07:30 interesting, i think every example i've seen of CollapsingToolBarLayout, has a Toolbar as one child ... May 28 05:08:00 but in iosched2016 app, its a sibling. i guess it just wasn't obvious to me May 28 05:38:49 shameless plug May 28 05:38:52 https://github.com/vigilancer/android-app-run-gradle-plugin May 28 05:58:18 anyone know of any open source sms/texting applications? May 28 06:03:02 i created a jar in maven and would like to use that jar as a dependency in a gradle program. doing ... compile files('libs/file.jar') ... doesn't seem to work. what am i missing? May 28 06:05:01 where your jar lives? "lib/" - it's inside your project May 28 06:05:27 Vainglory: ^ May 28 06:06:28 vigilancer: this is how it's setup: May 28 06:06:40 /program/folder/libs/file.jar May 28 06:07:08 that /program/folder has a build.gradle that has the compile file('libs/file.jar') May 28 06:07:20 compile files('libs/file.jar') May 28 06:08:20 anyone own logitech g930s May 28 06:09:23 anyone has Handled third party logins with Retrofit's Authenticator interface? May 28 06:09:51 vigilancer: do you have a build.gradle example i can look at that takes local files? May 28 06:24:07 orbyt_: g700 May 28 06:24:24 do they have that constant reconnection issue? May 28 06:24:36 Vainglory: sorry, no. // compile fileTree(dir: 'libs', include: ['*.jar']) May 28 06:25:17 orbyt_: ah, it's headset. I have mice) May 28 06:25:27 lol oh May 28 06:31:19 Android studio is not showing inline syntax errors so I have to manually run the code inspector; is there any way to turn on automatic inspection like in XCode? May 28 06:31:43 I do not have power saving turned on, so that is not it May 28 06:57:52 https://github.com/bitcoin-wallet/bitcoin-wallet/blob/master/wallet/build.gradle i'd like to replace line 13 with a local copy. how can i do this? May 28 07:01:46 http://mvnrepository.com/artifact/org.bitcoinj/bitcoinj-core/0.14.1 May 28 07:02:45 <_vaibhavingale_> can I support google cast receiver on the android device? May 28 07:08:43 orbyt_: how do i use it as local file in gradle though? May 28 07:08:55 use the jar May 28 07:09:47 orbyt_: use it where? May 28 07:10:18 perhaps you don't understand what it is that i want. i want a copy of bitcoinj that i can alter, and then use in my project. May 28 07:10:35 i can't use the repository's version, as i need to change it May 28 07:12:01 https://github.com/bitcoinj/bitcoinj May 28 07:12:10 have fun May 28 07:12:38 orbyt_: that's no help May 28 07:12:59 i already know about https://github.com/bitcoin-wallet/bitcoin-wallet/tree/prod May 28 07:13:29 what? May 28 07:13:36 You said you wanted bitcoinj May 28 07:13:40 thats bitcoinj May 28 07:13:43 (-‸ლ) May 28 07:14:09 https://github.com/bitcoinj/bitcoinj/tree/release-0.14 here, wrong url. May 28 07:14:28 the point still stands. i need the build.gradle to reference a local file rather than a repository May 28 07:14:38 r u fucking retarted May 28 07:14:48 how kind of you May 28 07:15:40 you've told me to 'use the jar', and haven't referenced any url or anything that shows how to "use the jar" locally. May 28 07:16:49 orbyt_: Please watch your language May 28 07:17:07 Vainglory, and you can easily google how to use a jar with gradle May 28 07:17:19 SimonVT: yes, i can. but everything i'm coming up doesn't work. May 28 07:17:25 Consult the bitcoinj project on how to create the jar May 28 07:17:33 the jar's already been created May 28 07:17:50 Then show what you're doing and what the problem is May 28 07:18:29 i have bitcoinj inside of /program/wallet/libs/bitcoinj-core-0.14.1-bundled.jar May 28 07:18:30 Everyone's just going to point you to the same resources that you're finding by googling - because they work May 28 07:19:07 what i'm using is compile fileTree(dir: 'file:///home/user/Android/bitcoin-wallet-prod/wallet/libs', include: ['bitcoinj-core-0.14.1-bundled.jar']) and i keep getting many error: cannot find symbol May 28 07:21:10 Try using a relative dir instead of absolute May 28 07:21:42 you mean /libs ? May 28 07:21:51 file:///libs or just /libs ? May 28 07:22:02 Or libs, no idea what the correct syntax is May 28 07:22:39 'libs' isn't it May 28 07:25:23 compile fileTree(dir: 'libs', include: ['*.jar']) works here May 28 07:25:29 From first hit on google May 28 07:26:24 ffs. i wasn't doing gradle clean assemble May 28 07:32:20 does anyone know why AS won't show any errors? :( May 28 07:33:06 while building application in android studio 2.1.1 its taking more then 4 mins time. any solution for this/ May 28 07:34:26 Droid123: increase javaMaxHeapSize in module's gradle May 28 07:35:32 SimonVT: where is your libs file located? May 28 07:35:37 libs dir, i mean May 28 07:35:55 The dir path is relative to the build.gradle May 28 07:36:00 So next to it May 28 07:36:10 Droid123: also https://medium.com/google-developers/faster-android-studio-builds-with-dex-in-process-5988ed8aa37e#.k6q7eybzr May 28 07:40:55 i've had good luck switching gradle to the offline work mode when dealing with large projects to get a nice build speedup as well May 28 07:41:23 you have to disable and re-enable it when adding new depednacies though May 28 07:48:02 is there any way of testing install_referrer for release apk without putting it on playstore and without adb shell command? May 28 07:58:42 Ashiren: still its taking same time May 28 08:54:21 Hi All. Any one tried to use Retrofit's Authenticator interface May 28 08:54:43 https://github.com/square/okhttp/wiki/Recipes#handling-authentication May 28 08:56:01 How is everyone doing? Where do you get inspiration to make Apps or Software in general? I want to know, please tell me your inspiration to work hard? May 28 08:57:15 find a use case.. look around and see what is the problem May 28 08:58:58 rakesh1988, okay, thanks for the advice :) May 28 08:59:12 and check if there are already solutions ;) May 28 08:59:32 if u can give a better solution than the existing then BINGO! May 28 08:59:41 orkut ---> FB May 28 09:00:36 will do! :) May 28 09:21:55 anyone here using otto event? a @Produce should make event available for subscribers right when they are registered right? then why it doesnt work for meh May 28 09:22:14 show the code May 28 09:22:18 it works for me May 28 09:25:17 http://pastebin.com/cpZhtzEk May 28 09:26:09 the singleton is api caller. in fragment i call fetchMangaList and it does the downloading May 28 09:26:34 it works normally. but what if i exit fragment for 5 seconds then return May 28 09:26:48 it will not receive last event, unless a new event arrives May 28 09:27:58 and in the event object i have the state and progress May 28 09:29:06 unless i got the wrong idea of how it works May 28 09:29:56 maybe it already receivedd it wile being in background? May 28 09:30:58 so my weather app, which I haven't really touched in a couple of years, is getting clobbered by Doze... May 28 09:31:28 for legal reasons, I don't want to convert it to a full push system - I want the device to download and parse the data, not have it pushed by my server... May 28 09:31:29 then the log would occur, wouldnt it May 28 09:31:43 its in background thread May 28 09:31:52 Leeds, theres no way to do that while dooze is active May 28 09:31:59 am I right in saying the solution is to have the server poll for changes, then ping the devices using FirebasePush to get them to do a pull? May 28 09:32:16 yes May 28 09:32:31 so the server message would be "There's new data, go pull it yourself" May 28 09:32:51 fair enough May 28 09:37:00 we're getting into summer storm season - had the first typhoon warnings of the year yesterday - so I'm thinking I should really try to fix it May 28 09:56:46 hi May 28 09:57:14 when i create other layout.xml in layout folder and run in simulator , that is not work May 28 09:58:06 every body May 28 09:59:11 are there every body here? May 28 10:03:03 are there every body here for help me? May 28 10:06:25 homa_, not enough information May 28 10:06:34 and have patience May 28 10:07:49 danijoo_, in simulator give me stoped May 28 10:08:02 http://imgur.com/jacoj May 28 10:13:34 danijoo_: solved it. didnt know that producer has also to be registered... May 28 10:13:46 and that @Producer cant take any arguments May 28 10:14:01 oh yeah. ofc May 28 10:14:16 how should the caller know what args to pass to the producer? May 28 10:14:34 by magic. thats what libraries do May 28 12:57:10 hello, trying to write my first app. However the app crashes when i try to read subscriber id. can anyone help? -> http://pastebin.com/Q5RhSbUS May 28 12:59:39 michael33: stacktrace May 28 13:02:05 Leeds: im quite new in android May 28 13:02:54 oh i see May 28 13:09:25 all solved then? May 28 13:25:16 Leeds: nope May 28 13:25:35 first time java... May 28 13:25:47 closest im familiar with is pgp May 28 13:25:49 php* May 28 13:33:05 you found the stacktrace? May 28 13:37:15 you mean Analyze stacktrace? May 28 13:38:38 have you found the stacktrace from the crash? May 28 13:39:17 the first thing to do is *read* the stacktrace - in a lot of cases it will immediately tell you the problem May 28 13:39:48 how can i read it? May 28 13:40:18 ohh i found it May 28 13:40:21 nice May 28 13:40:24 there we go... May 28 13:40:36 I read it with adb lolcat, but I'm old-fashioned like that May 28 13:40:49 so the problem is the permission May 28 13:40:56 i added this to my manifest May 28 13:40:58 May 28 13:41:12 but looking at other samples it looks like its an old method? May 28 13:44:09 so you added the permission, does it solve the problem? May 28 13:45:44 no i already had it in my manifest May 28 13:46:06 java.lang.SecurityException: getDeviceId: Neither user 10093 nor current process has android.permission.READ_PHONE_STATE. May 28 13:47:22 make sure you've done a clean rebuilt May 28 13:49:54 it worked, i had to assign permissions manually through Apps -> My app -> Permissions May 28 13:49:56 thx May 28 13:53:41 this one btw outputs null -> String SIMSerialNumber=tm.getSimSerialNumber(); May 28 13:55:41 oh duh May 28 13:55:45 there was no sim present lol May 28 13:56:05 (annoyed grunt) May 28 13:57:31 i like android already May 28 13:57:50 good :) May 28 14:10:10 Leeds: is there a way when i create a button in GUI mode that it writes the button properties for me so that i only need to write event code? like on button click May 28 14:16:17 michael33, you can have android:onClick("methodName") in your xml code May 28 14:16:47 that will call the corresponding public void methodName(View view) {...} implementation in your code on click May 28 14:29:26 need some more learning May 28 14:29:37 not as easy as vb.net May 28 14:41:42 what import line do i have to add to be able to write to files? May 28 14:42:27 got it May 28 14:44:21 Anyone know why the options toolbar item that android provdes is black by default? May 28 14:52:02 michael33: I don't really use Android Studio - old-fashioned, me... general advice is not to use onClick for anything but really simple code May 28 14:56:09 Anyone know how to adjust the popup menu icon background? May 28 14:56:11 color May 28 15:00:55 why it me for developer.android.com have problem with Firefox? May 28 15:01:24 *me or May 28 15:01:28 it works for meh May 28 15:11:18 im being haunted by Spinner. in my case, the when the spinner value changes, it actually send a command to USB device. all 3 spinner are doing callback via item selected May 28 15:11:43 when the spinner does callback for item selected, it actually send a command to a USB device. May 28 15:13:13 because of this, for sometime the device generated values that are unexpected. May 28 15:13:36 Is this a good channel for low-level android kernel dev talk or should I go elsewhere? May 28 15:13:56 #android-root would be better May 28 15:14:00 sounds like ROM talking eh? May 28 15:14:28 more specufically MMU stuff on arm64 May 28 15:16:05 gamozo, MMU stuff. probebly kernel developer are good people to talk. probebly not related to android. more of kernel stuff May 28 15:21:15 i might shoot it over here too, they said it might be more suited here May 28 15:21:28 [11:17:11] Heya. I just dumped out the page tables on a galazy S6 to just see how the kernel is laid out (specifically I dumped the TTBR1_EL1 / swapper_pg_dir). I was surprised to see that all the kernel pages were marked RW and accessible to user. Are all the RO mappings done in a stage 2 table with TIMA/RKP or something? May 28 15:21:28 [11:17:49] i see that there are rkp_calls() whenever pages are modified/added/removed, so I'm guessing the RO pages are mapped behind the scenes May 28 15:21:44 just trying to figure out if that's the case or I'm going crazy :P May 28 15:24:47 :o May 28 15:42:20 gamozo, "accessible to user" ? May 28 15:43:11 user = userland? May 28 15:43:16 the kernel-only permission bits arent set May 28 15:43:20 Anyone know how to make the options menu in the toolbar white? May 28 15:43:26 im guessing the page table will be disabled when in userland though May 28 15:43:30 or TIMA handles the protections May 28 15:43:40 gamozo, afaif that does not make userland code owner of the page. still kernel is. May 28 15:44:17 yeah May 28 15:44:24 i dont think that's a problem at all, it all looks fine May 28 15:45:02 gamozo, i recommend you to read the datasheet of the ARM processor for the design and the appropriate kernel code. May 28 15:45:09 I hate when people say AS is just a drag and drop tool May 28 15:45:12 It doesnt even make sense May 28 15:45:30 gamozo, one can never say if it is a workaround or something. May 28 15:45:56 kuldeep: yeah, that's what i've been doing. i was just surprised they're doing memory managment with a hypervisor May 28 15:45:59 it's actually really cool :P May 28 15:46:32 k i have a button on click event with the following code: http://pastebin.com/0sT8ehMB trying to read from a file into a string but it doesnt do anything. Can someone point me in the right direction? May 28 15:46:52 gamozo, hyervisor for what? where did that come from May 28 15:47:08 *hypervisor May 28 15:47:52 kuldeep: the TIMA/RKP (realtime kernel protection) stuff is done as a hypervisor. such that when you allocate/free readonly pages, or modify page tables you call into the hypervisor May 28 15:48:31 https://github.com/wanam/Adam-Kernel-GalaxyS6-G920F/blob/master/arch/arm64/mm/pgd.c#L38 May 28 15:48:47 for example here, when you normally would just allocate PGD tables (part of the page tables) you would usually just get kzalloc() pages May 28 15:48:57 but if TIMA is enabled, it actually calls into rkp to get readonly pages May 28 15:49:09 and then does an rkp_call() to register the new entry May 28 15:49:33 (rkp_call() is essentially just a HVC 0 instruction, which is a hypervisor call into EL2 (one permission level above the kernel)) May 28 15:51:15 https://www.samsungknox.com/en/blog/real-time-kernel-protection-rkp May 28 15:51:19 ah, looks like there's a good writeup on it May 28 15:53:58 gamozo, readed a bit. does that mean the kernel is inside a hypervisor? May 28 15:54:18 yes May 28 15:54:26 i dont think it's an android thing, but a samsung thing May 28 15:54:48 remember, hypervisor doesn't mean that it's being emulated or devices are being simulated May 28 15:54:54 it's just a higher privilege mode running on the phone May 28 15:56:19 gamozo, basically, the higher privilage layer is overlooking at the kernel & user program May 28 15:56:36 yep May 28 15:56:50 android studio: still don't have a feature to view live sqlite data like Intelij, in whcih version google is going to update this! May 28 15:56:50 there's a level above that as well, which is the trustzone stuff May 28 15:57:59 gamozo, http://boingboing.net/2016/05/26/undetectable-proof-of-concept.html May 28 15:58:33 gamozo, i just wondered if this "secure" layer can prevent such hacks. :p May 28 15:59:46 it depends, but it likely would May 28 15:59:59 looks like that PoC was on a pretty insecure device May 28 16:00:15 wouldnt expect it to work on even just a normal arm/arm64/x86 device May 28 16:01:37 gtg, food May 28 16:06:57 min2 you can use stetho, doubt google will add it to AS; conflict of interest May 28 16:07:23 intelliJ still needs to have nice things so people buy the premium version ;) May 28 16:25:36 I for the life of me cannot get the overflow icon or color to change May 28 16:33:23 whats the easiest way to write events for a button on click? May 28 16:33:44 i already have a working button but im doing something wrong when adding code for the second one May 28 16:36:02 setOnClickListener? May 28 16:37:53 yeah May 28 16:38:17 i mean i created the button in graphical interface, but now i want to write code for it May 28 16:38:24 i called it btnCheck May 28 16:38:36 so get it by findViewById May 28 16:39:28 do i have to add another "public void addListenerOnButton" ? May 28 16:39:39 umm, what code do you have so far May 28 16:40:49 i have only this code but its for another button -> http://pastebin.com/UR1nH5ms May 28 16:41:04 btnCheck doesnt have any code yet May 28 16:41:36 i tried copy/paste and then edit on click part but that didnt work May 28 16:41:54 why May 28 16:42:07 so that i can add code for btnCheck May 28 16:42:16 im new in android programming btw May 28 16:43:26 simply in that function you can add Button button2 = (Button) findViewById(R.id.btnCheck); button2.setOnClickListener(new ViewOnClickLister()...) May 28 16:43:34 its not only android, its also simple java May 28 16:43:41 thx let me try May 28 16:44:48 learning Android and Java at the same time makes things... harder May 28 16:45:00 true, never did java before May 28 16:47:54 Ashiren: like this? May 28 16:47:56 button = (Button) findViewById(R.id.btnLock); May 28 16:47:56 button button2 = (Button) findViewById(R.id.btnCheck); May 28 16:48:15 Button button2. big B May 28 16:48:27 not small b nor big D May 28 16:54:06 I have a RelativeLayout with a GridView along the bottom of the screen. I've managed to float the GridView to the bottom with android:layout_alignParentBottom="true". Above it, is an EditText. When the user gives it focus, the soft keyboard pushes the GridView up overlapping the EditText. May 28 16:54:14 The XML is here: http://pastebin.com/WQQuMCyb May 28 16:55:17 Btw, I had to wrap the RelativeLayout inside a ScrollView. Otherwise the keyboard just came up over the EditText, so you can't see what you're doing (typing May 28 16:55:22 is that correct? May 28 16:58:03 so I guess this is *two* questions :) May 28 17:06:49 Ashiren: it worked thx May 28 17:07:11 too bad android is giving me problems with closing brackets etc.. May 28 17:07:38 you would expect it to auto fix those markup issues May 28 17:12:22 Hi everyone. Is anyone familiar with Glide? It can attach itself to an activity/fragment onStop callbacks to automatically cancel the requests. How does it do that? May 28 17:40:34 if i want to compare 2 string variables in an if condition would i use = or == ? May 28 17:41:10 How would you test something that uses Android's WiFi APIs? May 28 17:41:16 michael33: you'd use .equals May 28 17:43:46 michael33, you would use .equals() May 28 17:47:58 hithere May 28 17:51:15 I am using about libraries, but I am not sure if it is enough what I have there May 28 17:52:22 for example I have looked at Skypes about and some libraries (like The Android Open Source Project) which I am of course using, are not listed in my aboutlibraries page May 28 17:53:14 I cannot find some how to / guide to create such page - is there something? May 28 18:08:57 I'm working on an interface that includes a map view and a list view. On tablets I would like to show them side by side with the list view on the left edge and the map filling up the rest. May 28 18:09:24 However, I would like to be able to just swipe the list view in from the right side of the screen on phones. What's the best way to go about this? I've implemented both views with fragments. May 28 18:13:19 hi there, I've a RecyclerView and in my CardViewHolder method I've tried to add some left-right space using v.setPadding() but there is no padding when rendered May 28 18:14:07 what's the correct way to add padding/margin to the recyclerview element view without using the child view layout? (since it's shared in other views where it's correctly shown? May 28 18:14:31 Do you use some basic basic EULA in your app (mentioned here https://developer.android.com/studio/publish/index.html#publishing-prepare)? May 28 18:15:01 I am not a lawyer - where did you get your template from? May 28 18:29:32 Nevermind; it turns out that the design that I need is a navigation drawer, and that there is a drawer layout for me already. May 28 18:29:35 I have this little obsession with keeping my Cons file organized May 28 18:29:55 so much seemingly unrelated constants sit there and you can't understand what they do until you have context of where they're mentioned in other files May 28 18:30:00 any of you have this "problem"? May 28 18:30:12 I mean I try to name them as clearly/comprehensively as possible May 28 18:31:04 like EventBus identifiers (the event that should be listened to), shared preference titles, stuff like that May 28 18:33:38 I'm trying to test my app on a Samsung Galaxy S4 phone that I physically have. It's showing up properly in the device viewer, but when I try to install it, I get a MISSING_SHARED_LIBRARY error. May 28 18:33:53 Does anyone know how to fix this issue? The only resources I could find were fixing this error while running in an emulator. May 28 18:36:10 Google Player services and store are installed on the phone, as well as maps, which is what I am trying to integrate. May 28 18:39:22 testing is hard May 28 18:39:38 I start every project with the intention of testing EVERYTHING May 28 18:39:43 turns out its not so easy lol May 28 18:42:54 hehe May 28 18:43:15 and that's just device testing, let alone your unit and instrumentation tests May 28 18:43:21 the "actual" testing May 28 18:44:41 well thats what I mean, automated testing May 28 18:45:00 organizing everything so it's testable to begin with is difficult May 28 18:45:09 and I still have not figured out Espresso May 28 18:45:40 using Firebase as the backend, so i've got to figure out how to mock out all those network calls... it's a pain lol May 28 18:45:43 I intended on writing at least one test, a week ago, and I did. It tests for views being null :) May 28 18:46:09 my company wants to buy a CTL account, so I felt ashamed to have that testing environment and no tests to run :P May 28 19:03:28 Odaym, we're also looking at one of those May 28 19:03:33 like a device cloud? May 28 19:03:39 google cloud test lab May 28 19:03:51 $5 per device hour May 28 19:04:00 well we're looking at some similar ones, not google May 28 19:04:14 I've been tasked with evaluating it from a developer's perspective May 28 19:04:29 I don't see the point at all. Why not just set up our own Jenkins server May 28 19:04:52 you should read up on what CTL providds May 28 19:04:55 provides* May 28 19:05:08 well they won't go for google, for some reason May 28 19:05:21 SeeTest is what we're evaluating, because it runs on your own hardware May 28 19:05:28 watch this first, you don't seem to know the benefit yet this video helped me a lot https://www.youtube.com/watch?v=vSdKZqJ73a8 May 28 19:05:42 sure lets have a look May 28 19:05:59 American Express was one of the biggest proponents of early google cloud test lab May 28 19:06:06 so their case is a comprehensive one May 28 19:07:53 interesting. I also work at a bank May 28 19:08:23 i'm suprised. The policy here is to host everything internally May 28 19:08:48 but that's exactly what you don't want to do when it comes to devices May 28 19:08:50 pretty much the reason why google/amazon cloud test labs are not an option May 28 19:09:14 you need to buy all the possible devices you can think of for testing, and have a setup similar to the one he shows later in the video, where he has over 20 devices all crumbled in one pot May 28 19:09:17 Google does that for you May 28 19:09:48 I can suggest it May 28 19:10:11 their policies related to security are retarded May 28 19:10:22 it's probably not retarded :P May 28 19:10:22 I tried to get Genymotion approved May 28 19:10:40 software people totally shut it down because of Virtualbox May 28 19:10:53 I can understand that May 28 19:11:04 it didn't run well at work here, because of the DHCP server May 28 19:11:11 I still can't get it to run May 28 19:11:44 I mean I understand wanting to be secure May 28 19:12:08 Virtualbox is like, no risk May 28 19:12:26 still running behind their proxy, security software, etc. Its just a sandbox on your computer May 28 19:43:53 so quiet. things died down quick after i/o May 28 19:58:56 when I receive a notification and the app is open on an activity, how do I tell that activity that there is a new notification? using an intent? May 28 20:01:18 hi I'd like to make an app which is enlisted in the dialog after sharing the calendar event. My app is supposed to make the phone silent when the event occurs. My phone is samsung galaxy s5. The question 1. I presume that this goes probably with intent filters with mime type - but I don't know which mime type. 2. Can this be done with both samsung calendar and google calendar? May 28 20:04:37 How can I run a piece of code once a SupportMapFragment has a) loaded its map and b) been inflated? May 28 20:33:25 now why would the android studio installer install the sdk where you point it to and then install it again under %localappdata% on first run? May 28 20:36:46 i added this code in my project to have it autostart on boot -> http://stackoverflow.com/questions/6391902/how-to-start-an-application-on-startup May 28 20:37:32 however when i run it says "cannot find symbol class MyActivity" from this line: May 28 20:37:33 Intent i = new Intent(context, MyActivity.class); May 28 20:38:04 of course myactivity.class doesnt exist in my project but then again im just starting with android dev May 28 20:38:36 someone care to point me into the right direction? May 28 20:48:05 do I need to use Coordinator layout to use a FAB? May 28 21:10:23 no May 28 21:15:50 my mainactivity file is a .java file but this code refers to .class which i dont have in project May 28 21:15:53 Intent i = new Intent(context, MainActivity.class); May 28 21:16:09 i tried renaming but didnt work May 28 21:16:36 how can i refer to MainActivity.java instead of this? May 28 21:16:47 im trying to have my app launch on boot May 28 21:17:20 ho can I achieve this animation? https://material-design.storage.googleapis.com/publish/material_v_8/material_ext_publish/0B14F_FSUCc01MU04ZGg3WjB1MXM/ImplicationsDo-v2.webm May 28 21:23:22 michael33: might i suggest reading an intro java book May 28 21:25:03 usgrant: i will very soon. but this app is almost finished :) May 28 21:25:19 i find that unlikely, if you don’t know what .class means May 28 21:26:02 im a coder, just never did java before May 28 21:26:27 still gotta find my way into how things are handled in java May 28 21:39:11 I have a listfragment in a drawerlayout. I've tried using an ActionBarDrawerToggle, but for some reason when I press the button, the drawer does not open or close. However, when I open or close the drawer by dragging, the button goes through the animation. May 28 21:39:26 Additionally, I cannot set the background color of the listview. May 28 21:50:18 im a total noob but maybe it should be put in foreground? May 28 21:56:31 how can I make a notification not appear on wear device so I can do the work of creating the customized notification on the phone? May 28 22:33:07 uhm.. my lennova comes with a lot of bloat so to speak and the UI isn't android stock so to speak. The things they add, it's not just apps, but they add a custom UI skin too and that's something everyone can make? May 28 22:33:21 But, they also doo some low-system things as well too with it? May 28 22:36:28 how can I make a notification not appear on wear device so I can do the work of creating the customized notification on the phone? May 28 22:44:56 xuin, I think you are looking for #android-root May 28 22:46:11 danijoo_: I mean, how are the vendors such as Asus doing it? May 28 22:46:42 xuin, and I mean you are in the wrong channel. May 28 22:46:57 this is "Android application development". not OS modding May 28 22:48:19 danijoo_: so it's not just apps that they're adding but they are modding the OS? May 28 22:48:43 yes May 28 22:49:33 they take stock android, add drivers for their device and then change the OS until it fits their needs (which often leads to a nightmare for us app devs) May 28 22:52:19 hmm.. thanks for the info May 28 22:52:25 nightmare how, danijoo_? May 28 22:52:51 xuin, overriding defaults in strange ways can lead to unexpected behaviour May 28 22:53:09 and then an app wont run the same way on a samsung than on a LG for example May 28 22:54:09 danijoo_: is that mostly just happening if your app is interacting with the UI/"desktop" of the device? May 28 22:54:36 it can happen anywhere May 28 22:54:46 but it happens most of the time when doing UI on samsung devices :p May 28 22:55:54 I can imagine. That's why I asked too. Seems like the superficial things they add aren't just skins that follow the same rules as every other skin. May 28 23:12:49 SMS is an app added by the vendor of the device? And that app utilize some API provided by a driver for SMS-traffic privided by that device vendor? May 28 23:36:31 <_genuser_> hello people. May 29 00:03:11 anyone have experience with Firebase? May 29 00:03:24 designing this database schema is a little difficult May 29 00:23:59 Animation / Graphics section in API guides doesn't even mention TransitionManager May 29 00:24:14 only tween and propertyAnimator May 29 00:57:19 It's the weekend, what are you guys doing here? May 29 00:58:29 weekend? May 29 00:58:35 is that some sort of google event? May 29 01:01:20 It could be May 29 01:11:08 is there any reason why I would want to use android.support.v4.app.Fragment.DialogFragment as opposed to android.app.DialogFragment? (my app is supported for L and up as of now) May 29 01:17:16 any pointers? Docs say "Used to write apps that run on platforms prior to Android 3.0. When running on Android 3.0 or above, this implementation is still used; it does not try to switch to the framework's implementation." But no recommendations either way. May 29 01:17:45 use v4 May 29 01:17:53 hckrtst: why^ hes doing 5.0 and up May 29 01:18:09 sometimes android fixes bugs in the v4 May 29 01:19:45 that's interesting...I was thinking I migh want to avoid it if it gets deprecated in the future. Although presumably it;s there for backward compatibility should not (?) May 29 01:20:44 where does it say it's getting deprecated? May 29 01:21:00 well it doesn't...I'm just asking May 29 01:21:54 What's the question? May 29 01:22:07 I don't see question marks in last statement May 29 01:22:31 oh I see it's in brackets May 29 01:22:36 I'm ok with using the v4 one if that's the general consensus...question is which one is recommended for apps on L and up May 29 01:23:50 I assume the recomendation is to use whatever is in v4 even if you are not targeting earlier versions. That way any bugfixes will be propagated to you. Ofcourse you'll need to upgrade your app. May 29 01:24:21 k May 29 01:49:58 google should make a AI to talk & answer peoples questions on IRC May 29 01:50:41 note that both Inbox and Duo have "reply by AI" function... slowly they are getting there ;) May 29 01:51:05 i still can't image why anyone would use that May 29 01:51:31 if anything, it demonstrates how the masters of technology do not understand how people relate May 29 01:53:11 p_l they should have an AI bot that responds to all of Donald Trump's nonsense, if it can parse that word salad its truly amazing ! May 29 01:54:30 reply by AI would be good for quickly answering questions and comming up with excuses. May 29 01:55:23 we wouldn't need to use IRC for 'reply by AI', they could just build it into AS May 29 01:57:41 good point. May 29 01:58:14 maybe thats why they seem to neglect the docs :D May 29 01:58:22 it coming soon folks ! May 29 02:01:39 Part of you thinks someone is dumb. Another part of you prays it's true. May 29 02:06:31 is there any way, with ActionMenuView, to have the actions left justified instead of right justified ? May 29 02:07:23 for example, instead of ' (x)(y)' i'd like '(x)(y) ' May 29 02:16:51 probably easiest to just use 2 ActionMenuViews May 29 02:33:55 If I have a singleTask activity, and I have one Activity on top of it in the stack May 29 02:34:07 And I want to go back to it, noramlly I would just do finish() from the activity on top of it May 29 02:34:16 But I want to send it data through onNewIntent in the parent May 29 02:34:36 Would it be bad prac to use an intent to go back to the master even though its just 1 away in the stack? May 29 02:34:59 If that makes sesnse? May 29 02:35:37 drose379 how come the singleTask activity isn't starting B with startActivityForResult ? May 29 02:35:54 Ah, forgot about that option May 29 02:35:55 Thanks May 29 02:36:33 Hey g00s, a task is pretty much a stack of activities right? May 29 02:36:47 yeah May 29 02:36:54 Got it May 29 02:36:56 Thanks May 29 02:37:31 glad to see Mozilla is doing some interesting research into replacing the backstack in the browser ... May 29 02:37:55 mixing spacial and temporal navigation is kinda difficult to do right May 29 02:37:56 Hmm, like what May 29 02:38:38 sounds like they are picking off where Mosaic left off - yes, Mosaic - the forward / back in browser was just a hack at the time because they wanted to shit May 29 02:38:40 *ship May 29 02:38:53 Interesting haha May 29 02:38:58 and for the most part, no browser since then ever innovated beyond that May 29 02:39:05 Hey, so I have a parent activity and a frag inside it May 29 02:39:13 nice freudian slip ;) May 29 02:39:15 I am doing getActivity().startAForRes() May 29 02:39:32 If the parent doesnt override onActRes, it goes right to the frag yes? May 29 02:40:17 i ... think so, but kinda rusty .. May 29 02:40:45 that was a bug in the support fragments for quite a while; make sure you use the latest May 29 02:41:03 Good to know May 29 02:41:06 Will check it out May 29 02:41:24 How you doing shmooz May 29 02:41:41 Hey any news on the Oracle v Google trial? May 29 02:41:42 shmooz did you the the I/O support library session ? May 29 02:41:50 they are dropping support for some things! May 29 02:42:07 i think they still cover your beloved gingerbread though May 29 02:42:38 drose379: I'm doing ok, google won, what do you need a frag for ? May 29 02:42:49 g00s: no I didn't see it May 29 02:43:05 I demand cupcake support! May 29 02:43:08 I have a parent Activity with 2 possible views, A and B, A if the user has content saved, B if the user doesnt, which prompts to create shmooz May 29 02:43:35 Thought itd be a good use of frags instead of mushing the views into one activity May 29 02:44:38 drose379 i just put those 2 things in a framelayout and show the right one ... May 29 02:45:08 But what about the different logic for each May 29 02:45:13 They each have their own Presenter May 29 02:45:46 Hm, yeah I see where you are coming from, I just thought it could be cleaner to have them split May 29 02:46:03 And just keep track of which one is showing in the parent to handle onNewIntent, since its the root activity May 29 02:46:42 either way May 29 02:46:59 sounded like ListView / emptyView situation May 29 02:47:12 That is pretty much what is it May 29 02:47:15 it is( May 29 02:47:17 * May 29 02:49:46 I hate when people say that AS is a drag and drop tool May 29 02:52:12 Anyone ever had that said to them May 29 02:56:15 i guess the new ConstraintLayout stuff is DnD May 29 02:57:08 But thats just layout stuff May 29 02:57:30 If you build anything that does anything its not Dnd May 29 02:58:50 Am I right? May 29 02:59:22 dungeons and dragons? May 29 02:59:29 ? May 29 02:59:34 drose379: I second that May 29 02:59:42 ha May 29 02:59:42 Thanks hckrtst **** ENDING LOGGING AT Sun May 29 02:59:58 2016