**** BEGIN LOGGING AT Mon May 09 02:59:59 2016 May 09 03:49:42 is there a way to check that a string variable is part of a @StringDef? May 09 03:52:23 I guess that doesn't make to omuch sense since that would be a runtime thing May 09 03:55:44 <[LGL34C]> Where can U reboot orange county. May 09 03:56:24 <[LGL34C]> IDE hard disk with bad sectors May 09 04:04:38 [LGL34C]: What does this have to do with Android?> May 09 04:10:18 <[LGL34C]> The compilation times from 2008 May 09 04:10:45 <[LGL34C]> Android can work fine May 09 04:11:01 <[LGL34C]> It needs some adjustments May 09 04:11:26 [LGL34C]: You asked something about IDE drives. This has nothing to do with Android. May 09 04:11:48 [LGL34C]: I would be slightly more understanding if you were from another country, assuming some of this is a language barrier; even this is unacceptable. You are in the United States so you must know English. So I can either assume you are one of the following: 1. Someone who acts like they know what they are talking about even though they don't 2. Someone with a mental disorder 3. Troll 4. Someone using a VPN from some May 09 04:11:48 other May 09 04:11:48 country May 09 04:13:32 <[LGL34C]> the sharepoint intranet failed May 09 04:13:52 [LGL34C]: Your mother failed to abort you May 09 04:14:05 So now please shut your hole. People have actual issues here May 09 04:14:07 <[LGL34C]> luna I can make you an account May 09 04:14:20 <[LGL34C]> you can adjust android with me May 09 04:15:05 LunarEclipse120: you must be new or something May 09 04:15:09 [LGL34C]: Stop calling me "luna". Call me by my full nick so I get pinged. May 09 04:15:26 shmooz: I am new to the dev channel; I have been in #android and the others for months. This guy is there too May 09 04:15:55 [LGL34C]: And no I will never work with you. You completely ignore everything I bring up. And you are mentally retarded. May 09 04:16:19 <[LGL34C]> no I saved your links May 09 04:16:20 git diff May 09 04:16:39 <[LGL34C]> but have not a fast internet connection May 09 04:17:03 [LGL34C]: Can you hear me? May 09 04:17:53 <[LGL34C]> no it is text only May 09 04:18:17 <[LGL34C]> is your microphone on? May 09 04:18:26 I can hear him yelling from another continent ;) May 09 04:18:49 Oh...my...god May 09 04:19:04 [LGL34C]: I mean can you see my messages? Can you answer me a question? May 09 04:19:35 <[LGL34C]> what question? May 09 04:19:56 [LGL34C]: Do you have any mental disorders or issues? May 09 04:20:26 <[LGL34C]> do you watch that movie hanna May 09 04:20:38 <[LGL34C]> or butterfly effect May 09 04:21:01 Mission complete, this guy is a definite troll May 09 04:21:06 <[LGL34C]> what level of mentat do you have? May 09 04:21:29 <[LGL34C]> I once had a mentat May 09 04:21:39 he completed his mission by trolling LunarEclipse120 May 09 04:21:50 <[LGL34C]> he was erased or broken May 09 04:21:56 shmooz: Depends on your definition of trolling May 09 04:22:35 <[LGL34C]> mentats dont have emotional outbreaks May 09 04:23:08 <[LGL34C]> but if he was running onva cluster file systembwhere did he get the cpu power May 09 04:23:40 CedricBeust can you help [LGL34C] aka [ADAM] who has been trolling for the past few days May 09 04:24:18 <[LGL34C]> cedricbuest make a bt stack tcpip capable May 09 04:24:28 <[LGL34C]> I can give you the codes May 09 04:25:01 CedricBeust: Please do, he has been doing it in #android and #android-root too May 09 04:25:03 <[LGL34C]> broadcom codes May 09 04:26:41 shmooz lol LunarEclipse120 is still here May 09 04:26:50 my ignore list is huge May 09 04:27:11 Weird that I was ignored May 09 04:27:15 I am generally tame May 09 04:27:24 a troll needs you to respond to him, and that's what LunarEclipse120 is doing May 09 04:28:41 <[LGL34C]> lmp 420e May 09 04:31:27 shmooz this channel needs more mods May 09 04:31:50 All of the channels do May 09 04:31:55 been an uptick of 'halp, my phone is dead and nobody in #android can help..." May 09 04:32:15 They have to be Google employees afaik May 09 04:34:30 <[LGL34C]> the pdanet+ doesnt install in wundows 5.1.3790 May 09 04:34:57 <[LGL34C]> says program too big May 09 04:35:06 Is kroot OP in here too? May 09 05:29:54 What would happen if an OTA update contained a system package with the package-name "foo.bar" and "foo.bar" is currently a third-party app signed with another key. Would the OTA update fail? Would the third-party app "foo.bar" be replaced or removed? May 09 05:30:30 surf2b1: So the foo.bar is in /data but the OTA flashed another to /system? May 09 05:30:38 yes May 09 05:31:13 I would think the /system would take priority and the duplicate /data would be removed May 09 05:31:26 However Gapps are in /system until there first Play Store update May 09 05:31:29 So I don't know May 09 06:55:28 Morn o/ May 09 07:24:21 hi! May 09 07:26:02 hello! May 09 07:26:52 ohayo May 09 07:27:55 how can I build the gradle plugin? first, where can I download it from? *I want to do my build of the version 0.7.0 May 09 07:28:13 *I mean the experimental android gradle plugin May 09 07:28:48 the gradle plugin? May 09 07:29:03 yes. the gradle plugin May 09 07:29:17 <_genuser_> hello folks. May 09 07:29:20 hi! May 09 07:29:21 hi folk May 09 07:29:32 <_genuser_> so AS doesn't just update itself. Just points you to the website? May 09 07:29:41 <_genuser_> http://tools.android.com/recent ? May 09 07:29:52 I've seen that happen before May 09 07:29:59 I close the dialog and Check for Updates again May 09 07:30:04 it works then May 09 07:30:09 <_genuser_> ok, I thougth previously it just updated itself. May 09 07:30:19 <_genuser_> yeah, I did that a couple of times closed it and check for update from help menu a couple of times. May 09 07:30:21 HunterD, gradle plugins are in AS repo, I'm not sure if experimental too though May 09 07:30:29 Android studio works for me, with no problems May 09 07:31:11 I just need to do some modifications to the gradle plugin and to understand more of what happens under the hood. for this I need the sources and a way to build the plugin May 09 07:31:23 <_genuser_> Odaym: ok one more time and it now updates itself. May 09 07:31:31 yea 3 - 4 times :P May 09 07:31:34 Mavrik: where is the AS repo? May 09 07:31:35 strange May 09 07:32:09 <_genuser_> Odaym: as long as it works. I dislike downloading stuff from links. May 09 07:32:16 guys how can i intercept a key pressed with an accessibilityservice? May 09 07:32:36 <_genuser_> Odaym: once I examine a URL and download something if it updates itself, it's (legit). if I go to a URL it could be wrong, (etc. etc. blah blah). May 09 07:32:39 <_genuser_> lol. May 09 07:38:30 can someone point me to the sources for Android Studio 2.1? where can I donwload them from? I am in fact only interested in the sources for the Android Gradle Plugin (experimental, 0.7.0) May 09 07:39:28 search online May 09 07:39:44 I do I do May 09 07:39:55 look how easy https://github.com/gradle/gradle May 09 07:40:05 21st century, wow wow May 09 07:40:20 1984 is coming May 09 07:40:42 is that for Android Gradle Plugin? May 09 07:41:02 No it's not :P May 09 07:41:07 it's just Gradle May 09 07:41:11 but hey it's a start! May 09 07:41:15 Odaym obvisouly didn't understand what do you want ;) May 09 07:41:19 :D May 09 07:41:29 the google query was "gradle source", now you should do "gradle plugin source" May 09 07:41:35 But seriously, the sources are like first hit on Google. May 09 07:41:39 worst case you do "gradle plugin android studio source" May 09 07:42:28 I have confidence that gradle works ok, my problems are with the Android plugin :D that one is the one that I want to understand/build with some small modifications May 09 07:42:38 <_genuser_> new AS does it name the projects a little odd? it does com.user.projectname.projectname May 09 07:42:52 <_genuser_> sort of odd, because I then have to go and rename the dang namespace. May 09 07:44:21 call me a n00b but I do not find them. the closest thing I found is this: http://source.android.com/source/downloading.html May 09 07:44:39 n00b with zeroes is reserved for the elite noobs May 09 07:44:40 but I need a way to download only the sources of the plugin May 09 07:44:50 *noob then May 09 07:45:10 what about this http://tools.android.com/build/gradleplugin May 09 07:45:19 "Building the Plugin" May 09 07:46:07 it seems the branches are closed? May 09 07:50:30 _genuser_, that's because you set com.user.projectname as package and then named application projectname May 09 07:50:33 it always did that. May 09 08:18:32 Guys, how can i override the key pressed in accessibilityservice? I cant event listen to them May 09 08:19:35 http://hastebin.com/aruxiquzoy.xml May 09 08:19:47 this is the xml that define my service May 09 08:20:19 @Override May 09 08:20:19 public boolean onKeyEvent(KeyEvent event) { May 09 08:20:19 Log.d(TAG, "KeyPressed"); May 09 08:20:21 return super.onKeyEvent(event); May 09 08:20:23 } May 09 08:20:29 this doens't return anything May 09 08:20:52 and i don't have any other service that filter the key May 09 08:25:17 return true May 09 08:25:24 so that it understands that you are handling it May 09 08:28:02 anyone know why if i have debugger on onPause would be called twice May 09 08:30:23 under what condition? May 09 08:41:37 <_genuser_> please ensure haxm is properly installed. how does one instlal this haxm? May 09 08:42:34 it's in your sdk extras director May 09 08:42:54 <_genuser_> Mavrik: I see, thanks. May 09 08:44:04 is there a way to hide nav bar from manifest? May 09 08:44:12 <_genuser_> Oddly, I don't see an extras. but there's a SDK Tools tab. May 09 08:44:17 <_genuser_> I saw the documentation mention the extras also. May 09 08:47:23 Mavrik do you use Android Annotations? May 09 08:47:24 the lib May 09 08:52:01 so it seems like i schedule an intent with an alarm, and it doesnt happen May 09 08:52:33 well, that's not a lot to go on May 09 08:54:31 is there a good math library with vectors and such? May 09 08:54:53 Mavrik or anybody else really, do you guys use this? http://androidannotations.org/ May 09 08:58:12 Odaym: Seems like a lot of this is solved with Kotlin instead. May 09 08:59:26 Odaym: I have to admit that I don't feel totally comfortable with the amount of magic in that library. May 09 08:59:48 it's not something new May 09 09:00:03 just want to know if it's the one people use when they think of annotations May 09 09:01:04 I used it awhile ago. May 09 09:01:11 But it did a bit too much May 09 09:01:20 don't you use annotations now? May 09 09:01:25 And the discrete libraries for each of those functionalities is usually better. May 09 09:01:47 Hello fellow devs, any suggestions how to open pdf file in the app? Pdf itself is located on the device. May 09 09:01:56 this talk got me hyped over them https://www.youtube.com/watch?v=Gd8v7D_9t-M&index=3&list=PLnVy79PaFHMXpPlgs1uUny8eb-PEfEQNn May 09 09:07:45 Anyone else having issues getting nullpointers printed to the stacktrace, since 2.0? May 09 09:08:35 All it seems to want to give is the memory error message May 09 09:15:08 fuck it May 09 09:15:13 if you dont use it, I ain't usin it May 09 09:15:24 if I fail in my career its your fault May 09 09:18:45 well this is interesting, canvas draws a black circle when I give it a paint with white color May 09 09:19:09 Color.WHITE or your own white? May 09 09:19:12 either May 09 09:19:22 but that's unpossibur May 09 09:19:27 indeed May 09 09:20:23 seems like Color.RED also ends up black May 09 09:20:25 I'm confused May 09 09:20:36 maybe you're setting it back to black somewhere May 09 09:20:41 nope May 09 09:21:08 it's a picasso transform though so I'm not sure if there's something weird going on afterwards May 09 09:21:54 you can give teh transform to canvas? May 09 09:22:28 usually I only use transform inside the Picasso statement May 09 09:22:53 but you create a canvas in the transform to draw on, right? :) May 09 09:23:09 depending on what you want to do of course May 09 09:23:18 yea never been in that specific situation May 09 09:23:29 i'd say it's the transform, try it bare without anything first May 09 09:23:31 ooooo, shit May 09 09:23:43 case of mondays apparently May 09 09:23:50 I have two too similarly named paints May 09 09:24:11 5 minutes wasted May 09 09:29:28 Zharf: Do you want line to be red, or the fill? May 09 09:29:56 what May 09 09:30:11 I solved my issue already May 09 09:56:05 there's no such thing as a permission for push notifications is there? May 09 09:56:17 there isn't May 09 10:34:08 hey guys is it possible to create a background service that when it sync's contacts it updates them in the devices mobile contacts May 09 11:14:57 I do getFragmentManager().beginTransaction().remove(fragment).commit() in the onDestroy of my Activity. Then when onCreate is called the next time the fragment still exists. How is this possible if I already removed it in onDestroy and how can I get the fragment to be properly removed such that the Activity can no longer perform operations on it? May 09 11:16:19 barq: if you put that code in your onDestroy you'll get an IllegalStateException May 09 11:16:39 you'll need to commitAllowingStateLoss May 09 11:16:39 hello. I'm building my first test with GCM. After creating the notification using notificationBuilder, how can i pass the received message back to the app when the notification is tapped? May 09 11:16:53 mchlsndrn: PendingIntent May 09 11:17:05 Notification.Builder.setContentIntent May 09 11:17:07 IIRC May 09 11:17:10 I don't get an exception in onDestroy May 09 11:17:33 thepoosh: thought so, thanks! but how do i add, for example, a string to the pending intent? May 09 11:17:42 http://developer.android.com/reference/android/app/Notification.Builder.html#setContentIntent(android.app.PendingIntent) May 09 11:18:07 barq: that's weird, any fragment transactions done after onDetach should throw May 09 11:18:15 mchlsndrn: read about intents May 09 11:18:18 and extras May 09 11:18:39 ok thanks! May 09 11:19:30 np May 09 11:19:47 Where would be a better case to remove the fragments? May 09 11:20:38 onDetach is a Fragment callback May 09 11:20:49 I am doing this from the Activity's onDestroy May 09 11:36:09 So if you end up with a complex nested if else statement series, is there not some better way or shorthand thing that makes it easier to read ? May 09 11:36:22 and code May 09 11:36:40 So, what are your guys' opinion about TYPE_SIGNIFICANT_MOTION? https://www.reddit.com/r/Android/comments/4idf14/app_check_if_your_device_supports_doze/d2xsfe1?context=10000 May 09 11:37:54 NeoFrontier the best way to get out of those is to understand exactly what's needed and just how many conditions really are there May 09 11:38:50 yeah ok Odaym May 09 11:39:10 sometimes you end up with redundancy in those May 09 11:43:46 Does Doze need the SMD or not? :S https://github.com/android/platform_frameworks_base/blob/master/services/core/java/com/android/server/DeviceIdleController.java#L928 May 09 11:49:40 anyone else unable to get nullpointers in the stacktrace? All I can get is the pesky "Fatal signal 11 (SIGSEGV), code 1, fault addr 0x4b4d1004 in tid 6034" May 09 11:49:48 seems to have started around 2.0 May 09 11:53:28 that would be native (ndk, c) problem May 09 11:54:15 well, that's what is says instead of printed an IllegalArgumentException (which is actually is) May 09 11:54:19 hey what up? May 09 11:55:01 Troffel, that just means you crashed some kind of non-Java code somewhere May 09 11:56:37 Mavrik, sure. But it's easy to reproduce, any nullpointer triggers it. Which is specifically Java-code May 09 11:57:02 or just throwing an exception d: May 09 12:01:22 Is there anyone in here that works for android? May 09 12:18:24 god this is frustrating, android studio can't print exception stacktraces. All it will give is Fatal signal 11 (SIGSEGV) May 09 12:19:14 hey May 09 12:20:15 Troffel,I try to learn android studio i hope it not hard and have any prob with my i hope:) May 09 12:22:51 perlsyntax: IntelJ is one of the best IDE I've ever used. May 09 12:23:13 perlsyntax: You'll be fine. May 09 12:23:38 wviana,I Hope it easy then other one i use. May 09 12:23:40 :) May 09 12:24:40 wviana,I was reading my android programming book over the weekend so there alot i like about android studio:) May 09 12:25:40 i mean the android studio 2.1 May 09 12:27:00 Now if google cloud test lab come out in google i/o 2016 i be set to go:) May 09 12:30:29 Hi, I have a TableLayout with 2 TableRows but the second row cells do not match up with the first. How can I get the cells to be the same size of the TableRow above it? May 09 12:31:00 why does androidstudio insist on installing the virtual device to my c drive May 09 12:31:26 when it and the sdk are both in another partition May 09 12:31:31 i dont have enough space on c May 09 12:38:47 I just found out that I have to work on Android watch May 09 12:38:48 ;D May 09 12:39:23 Hi all. Is it possible to use a GridLayoutManager on a RecyclerView where the first column is wrap_content and the others are equal (n - 1 / width) like the default behavior? May 09 13:08:17 Is there anyone here that can explain to me why web workers in API 19 and up seem to wait after a call to self.postMessage? May 09 13:09:56 Maybe a better question is "What time does this room warm up?" May 09 13:14:25 hello i want to make android app. then how can i do? May 09 13:15:51 yes May 09 13:16:13 could be this http://developer.android.com/training/index.html May 09 13:17:18 thanks Ashiren :) May 09 13:17:52 anyone here using Facebook's Infer tool? May 09 13:27:47 Has anyone done a Drag And Drop method where the view being dropped was positioned on the place where it was dropped? May 09 13:31:18 can you split a long word in a textview on multiple lines with '-' when the wordt is longer than the textview? like (abcdefg --> 'abcd-\nefg') May 09 13:38:59 you know how on a Mac when you have AS full screen and you open a dialog or something like you want to commit the files, you switch to another window and come back, that dialog is now in the background and you have to press escape to leave it? May 09 13:39:50 if you press F3 to show all apps, there's a button like minimise next to the workspace where AS is taking up, you press that and the whole workspace stops being fullscreen and you can see the dialog again without having to leave it May 09 14:00:59 is there some way i can check for GCM availability without having to compile the complete play-services SDK? May 09 14:10:38 why would you compile the sdk May 09 14:10:50 and someone already answered your question May 09 14:11:03 in particular, it's a first hit on google May 09 14:20:52 hi. i've just built my first app with the drawer layout using the Android Studio wizard. i've noticed the method onNavigationItemSelected() but i'm not sure how to implement the various sub pages. in app_bar_main.xml there's the line . how can i switch it to a different page via code? May 09 14:22:26 pfn, "compile 'com.google.android.gms:play-services:8.4.0'" May 09 14:22:40 that's inflates my app from a few KB to about 3MB May 09 14:22:55 don't include the full play services May 09 14:23:38 com.google.android.gms:play-services-gcm:8.4.0 May 09 14:26:58 ty Chainfire May 09 14:36:57 How can I capture the native thread ID of a web worker thread on KitKat? May 09 14:37:23 debug and pause May 09 14:37:49 so no way to do it programatically? May 09 14:39:13 The real problem i have is in figuring out whether or not web worker threads are actually native threads (as specified in the spec) or something emulating threads. May 09 14:39:43 I've noticed that every time I call self.postMessage(), the worker stops running. May 09 14:42:41 .... or at least it seems to. May 09 14:43:57 Either way, it's a problem because there are times when I need the main thread to wait while something is happening in a javascript worker. I'm beginning to wonder if this is even possible. May 09 14:44:05 is there somewhere a repository of vector drawables ready to use? i'm looking for something like the glyphicons equivalent for android ... the android wizard created a few for me (ic_menu_gallery, ic_menu_share, etc.) May 09 14:45:34 google for material icons May 09 14:47:52 nice so they are simply svgs May 09 14:48:03 whatup whatup May 09 14:49:59 anyone have any idea why my method annotated with an intdef is giving me a compiler error when I attempt to pass it into a method that required the intdef? May 09 14:53:19 pfn: i've found https://design.google.com/icons/ but it's unclear how to convert them from svg to android studio's format May 09 14:53:42 android studio supports svg? May 09 14:53:55 mchlsndrn: in android studio, go new->vector assest-> choose icon May 09 14:54:13 @mchlsndrn, you can download them directly as vector drawable May 09 14:55:44 pfn: where? i can't see the link in the page. there's an option to download svgs or pngs or webfont May 09 14:55:46 or they're available on github as VectorDrawable May 09 14:56:44 https://github.com/google/material-design-icons May 09 14:57:10 mchlsndrn: I believe you can click on the icons and download it in your preferred format (SVG/PNG). https://aww.moe/f6fdbg.png May 09 14:58:48 awesome May 09 14:58:52 take them from github May 09 14:59:02 that's what I do at leasr May 09 14:59:20 look for what I want on the website, and copy it from a local clone May 09 14:59:24 thanks. converting them from svg to xml would be annoying. the xmls are in the zip, great May 09 15:02:42 mchlsndrn: The easiest way is to right click the drawable folder and select New > Vector Asset May 09 15:03:30 that's even better! thanks a ton May 09 15:05:38 literally just said that May 09 15:05:40 lol May 09 15:07:46 orbyt_: you are right i missed it May 09 15:20:57 Hey people! Does it happen to you that the window menu (File, Edit, View, etc) doesn't work on Ubuntu after you launch the app? May 09 15:21:53 It just won't open. And if double click the window itself is resized May 09 15:24:07 How much does should android freelancer charge for a simple app? May 09 15:24:47 depends on your definition of a simple app I suppose? May 09 15:24:57 I am looking for something that can help me to learn 100$ per day May 09 15:25:55 dsardari1: i am looking for way to earn 50-100$ a day. And i am thinking should i learn android for this? May 09 15:26:52 Is there a good tutorial on how to make a good Cardview with Image, text and buttons? Full width image. May 09 15:27:26 Scarecr0w: are you new to android dev. and programming? May 09 15:27:27 jackhum: i think it's good to learn it regardless if you want to do mobile development. for money purposes only? might be better off just doing something else? May 09 15:28:05 dsardari1: oh. I really love programming. and apps May 09 15:28:17 jackhum: Programming - no, Android dev - yes sir im. May 09 15:28:40 dsardari1: i am thinking of jumping in this because i kind of have interest in programming May 09 15:29:29 Scarecr0w: I always have trouble understanding the java part of android May 09 15:32:24 if you don't understand the java part, how can you possibly understand the rest May 09 15:32:38 yeah, you need to work on java first May 09 15:34:58 I am unable to find a good book that help me to understand android using java oops paradigm May 09 15:40:35 is the NavigationView supported in Android 4.2? May 09 15:42:03 i'm getting a crash on a cheap tablet (medion E10315, android 4.2) when launching the application (which works fine on a nexus 5 / android 6): android.view.InflateException: Binary XML file line #16: Error inflating class android.support.design.widget.NavigationView May 09 15:45:10 of course it works May 09 15:48:34 any rx libs out for working with android services? May 09 15:57:54 Hey anyone know if google cloud test lab out of beta now it show in my google play console? May 09 16:01:05 With espresso testing, this line of code hangs forever: onData(withClassName(endsWith("RecentlyViewedCourse"))).inAdapterView(withId(R.id.inner_list)).perform(RecyclerViewActions.actionOnItemAtPosition(0, click())); May 09 16:06:19 orbyt_, i've created a class that emits the 'onServiceConnected' and handles bind/unbind/start/stop May 09 16:06:43 orbyt_, couldnt find anything 'ready' May 09 16:08:29 doesnt really sound like it improves anything though May 09 16:14:49 basically we have a long running service which is basically a music player and are using intents to pass around play/pause/stop actions May 09 16:14:57 this feels dirty May 09 16:15:45 bind then call service methods directly May 09 16:16:52 if there's some async work, then you can use rx instead of callbacks May 09 16:17:23 i'm no rx expert, but i've been working on a similar use case and that's my solution May 09 16:19:41 :) May 09 16:22:33 hi bitkiller May 09 16:23:10 hi May 09 16:23:38 :) May 09 16:24:05 I think cloud test lab will be comeing out soon i hope. May 09 16:24:28 never seen it in my gogole play console before:) May 09 16:24:52 https://code.google.com/p/android/issues/detail?id=187721 May 09 16:24:57 seriously, are they ever going to fix this shit? May 09 16:27:54 I don't see how this isn't a showstopper on windows... or does the gradle plugin no longer autogenerate main dex list? May 09 16:28:41 well my coworker running windows hasn't complained yet May 09 16:30:12 but do you multidex? May 09 16:30:14 and do you autogenerate maindexlist? May 09 16:31:37 yes and as of recently, yes May 09 16:31:56 for awhile we had a manual maindexlist going May 09 16:32:14 then plugin 2.1.0 added a filter option to the autogenerator so I deleted the manual list May 09 16:32:20 I wonder how that works, do you use the disable keep annotated workaround? May 09 16:32:28 if you disable keep annotated, then it would work May 09 16:32:35 I don't run windows May 09 16:32:42 but it's a generic build option May 09 16:32:45 not windows-only May 09 16:32:45 so I'm not even sure what keep annotated is May 09 16:32:51 if you disable keep annotated, it would work on windows May 09 16:33:31 --disable-annotation-resolution-workaround May 09 16:34:06 pfn just get a mac May 09 16:34:13 time for new computer :) May 09 16:34:16 I have 2 macs May 09 16:34:18 so stfu May 09 16:34:24 I support multiplatform May 09 16:34:29 haha May 09 16:34:45 and they're all 2015 or 2016 models May 09 16:35:06 * pfn can't even find where in the gradle plugin they do autogeneration of main dex list anymore May 09 16:35:07 all 2 of them are 2015 or 2016? :P May 09 16:35:30 damned if I know what year they're from, but probably 2015 May 09 16:35:42 I don't really care about them May 09 16:36:59 oh, interesting, it uses AndroidBuilder.createMainDexList now May 09 16:37:05 instead of the mainDexClasses helper May 09 16:37:19 no wonder they don't give a shit about the mainDexClasses script May 09 16:38:46 pfn: CreateManifestKeepList May 09 16:39:43 also it is really hard to figure out what tag they're on May 09 16:40:02 the master branch has a groovy version but whatever is deployed is not groovy May 09 16:40:24 master isn't what's in 2.x May 09 16:40:34 they're developing off master for some reason May 09 16:40:38 I'm implementing the new marshmallow permissions model and I'm having issues with getting the user's current location right after the user accepts the location permission May 09 16:40:42 and latest sync version to aosp is 2.0.0 May 09 16:41:05 so for marshmallow devices is there a way to get the location faster right after the user accepts the location permissions? May 09 16:41:30 is there a locatinrequest setting that doesn't require permissions access? May 09 16:42:11 no. why would there be? May 09 16:42:29 https://android.googlesource.com/platform/tools/base/+/gradle_2.0.0/build-system/gradle-core/src/main/groovy/com/android/build/gradle/internal/transforms/MultiDexTransform.java#243 May 09 16:42:31 meh May 09 16:46:53 missingno, why do you need a filter for the autogenerated list anyway? May 09 16:47:03 missingno, do you only want to include Application or something? May 09 16:47:38 I had too many activities for the main dex May 09 16:47:51 so I excluded all activities May 09 16:50:02 indeed May 09 16:50:31 I wonder why maindex doesn't just include Application-only by default and includes everything else... May 09 16:52:32 s/includes/excludes May 09 16:52:50 I suppose content providers must be kept May 09 16:53:00 since they can potentially be loaded before application class May 09 16:54:05 they are treated separately from the application May 09 16:55:00 I think the reason it includes everything is for 4.4 and below, where which dex your activity is in matters May 09 16:55:12 performancewise May 09 16:55:30 shouldn't really matter, but possibly May 09 17:06:19 hmm this service has a looped .postDelayed function that is sending a broadcast every second to update a seekbar for music playing May 09 17:06:38 thats gotta be wrong right May 09 17:06:49 why would that be wrong? May 09 17:07:05 * pfn wouldn't choose a broadcast, but it is ok if it's in a separate process May 09 17:09:10 pfn: sup? May 09 17:09:21 nothing in particular May 09 17:09:30 thepoosh how is it going over there? May 09 17:09:44 g00s: ok, we had a good talk today May 09 17:09:49 pm me for more May 09 17:11:05 g00s: https://play.google.com/store/apps/collection/promotion_3001fee_nominations_playawards_2016 May 09 17:13:17 thepoosh hey congrats May 09 17:13:35 how are the apps nominated ? May 09 17:14:08 fuck if i know May 09 17:14:12 just saw this now May 09 17:15:37 pfn: not sure why it would be i suppose but I feel like sending and intent via a broadcast every second isnt really what those components should be sued for May 09 17:15:39 used* May 09 17:15:58 depends on needs May 09 17:16:20 I would rather have a targeted broadcast every second than be required to use a bound service + message handling May 09 17:16:56 the one currently implemented is used to update the current playback time for music. Eg that little seekbar with the time till the end of the song May 09 17:17:44 nothing particularly wrong with doing it that ay May 09 17:18:30 pfn: thoughts on better alternatives? May 09 17:19:06 if it's same-process then use whatever mechanism you want to communicate May 09 17:19:58 yea think im gonna change it up a little. thanks May 09 17:23:18 s73v3r were you responding to my question about location/permissions? May 09 17:23:25 yes May 09 17:23:45 have you implemented location permissions on marshmallow? May 09 17:25:09 i have not May 09 17:56:36 are there any resources where I can browse android source code online? want to look at java.util.Calendar implementation May 09 17:59:11 check the repository May 09 18:00:38 If a class you extend implements an interface, the subclass does not implement that interface also? May 09 18:01:21 the subclass also implements it May 09 18:01:39 however, it can refer to the implementation in the super class May 09 18:02:35 Got it thanks May 09 18:17:36 hello, random question: May 09 18:18:00 is there another hypertext markup language, instead of our well known html? May 09 18:18:16 using the same purpose, but another sintax, commands, etc May 09 18:18:18 there’s XHTML, which is a more strict version May 09 18:18:40 I guess there’s also Markdown, but I don’t know if that’s what you’d be thinking of May 09 18:19:16 what if i want an intent service to start a new thread, is that ok? May 09 18:19:27 s73v3r: oh, it's enough :) May 09 18:20:22 i mean, the intent service handles messages in a queue, basically if i started a new thread, the intent is handled and it moves on to the next intent while the thread runs in the background, does that sound reasonable? May 09 18:20:32 gmail chat uses markdown May 09 18:20:41 *bold* May 09 18:20:46 /italic/ May 09 18:20:52 I think May 09 18:21:08 _underline_ May 09 18:33:53 Is there a tutorial on layouts for Cardview like this? https://goo.gl/mj1z0a ? Any sort of pointers are kindly appreciated. May 09 18:36:55 how can I convert an animation made in java into a live walpaper app? May 09 18:38:10 Scarecr0w: It’s just a layout. Nothing special May 09 18:44:14 Does anyone here use MPAndroidChart? May 09 18:47:38 Intruder777: github mirror? May 09 18:47:52 Pyuruku: got a link? May 09 18:48:11 https://github.com/android May 09 18:49:45 is adding android:process=":myservice" in the manny all thats needed to have a service run in a diff process May 09 18:51:40 Pyuruku: which one to pick if I'm looking for java.util.Calendar? May 09 18:55:58 guys, with accessibilityservice can i intercept POWER button? May 09 18:59:20 Hi there. You guys know where the Webview of an app save its database? May 09 19:01:14 orbyt_ yes May 09 19:01:28 Chainfire: ty May 09 19:01:39 but beware unexpected issues May 09 19:02:03 SharedPreferencesListener doesn't fire, you can't access globals, you can't access SQLite from both processes at the same time, etc May 09 19:02:05 like? May 09 19:02:21 mmk May 09 19:11:28 I wouldn't call those unexpected issues May 09 19:12:31 they would be unexpected to a first timer like him May 09 19:12:54 regardless, life is too short to argue semantics May 09 19:34:01 Hi . what is the best way to put list-like elements and static items like title ? Is recycleview with some different view holders ؟ or linearviews which be filled with items May 09 19:35:53 recyclerview May 09 19:43:29 If I have a master detail list type of application, where should the detail screen information live? Example: Messaging client. You click on a conversation, and it loads up a detail of your entire conversation. I WAS holding that list as a member in the activity and parceling it on rotation, but then I went to holding it as a static list. May 09 19:43:46 I now think that holding it as a singleton in Dagger1 may work as well. Any thoughts? May 09 19:46:42 hi I can't get my android phone to debug my app. I turned on dev options and set usb debugging on, but android studio keeps givine me the " Session 'app': Error Installing APK" error May 09 19:46:47 anyone know how to fix this? May 09 19:47:08 does plain adb work May 09 19:47:35 you mean on an emulator? May 09 19:47:47 yeah, at least, it doesn't give the same error May 09 19:47:57 the command adb, adb shell, adb devices etc May 09 19:48:05 but there was an issue with gl (I use genymotion) so I decided to switch to my phone May 09 19:48:07 lemme check May 09 19:48:15 maybe it doesnt see the device May 09 19:49:36 it says "??????[null]" May 09 19:49:45 but it recognizes a device there May 09 19:51:11 no permissions then May 09 19:51:28 for temporary solution - killall adb; sudo adb devices May 09 20:10:30 i can not create file in /data/ folder in my device programcally and by ES file explorer also i can not see db in /data/data/mypackgage/database please help me May 09 20:10:57 you need root privileges for that May 09 20:13:18 Ashiren : how can i do that ? May 09 20:14:48 https://stackoverflow.com/questions/4905743/android-how-to-gain-root-access-in-an-android-application May 09 20:15:13 but this will work on very few phones May 09 20:16:15 Ashiren : is there a good way to import sqlit db that support all phones ? May 09 20:17:14 sqlite db of other apps? no May 09 20:17:37 iresf, you should be able to access sqlite from assets folder, but you will have to drop to phone May 09 20:17:52 i would recommend converting sqlite to xml May 09 20:19:36 isass : i have created a sqlite db it work on emulator but it does not work on some android device May 09 20:20:11 what location are you copying to? some have write protected sd card, etc May 09 20:21:36 isass : /data/data/mypackagename/database/mydb.db May 09 20:21:39 File file = new File(GetApplicationDirectory() May 09 20:21:47 GetApplicationDirectory() + "/" + db_file May 09 20:21:57 should be accessible from all phones, since its the shared data directory May 09 20:22:24 looks like maybe you did not create "database dir?" May 09 20:23:06 isass : i have created database dir May 09 20:23:48 isass : when i use intrenal Sqlite db it works but when i use external db it does not work May 09 20:24:18 must be some access/copy issue because i have used similiar and had no problems on 5.0/4.4 etc May 09 20:31:35 isass : getApplicationDirectory () = getApplicationinfo.dataDir ? May 09 20:47:17 Hey, I have a permissions question: If a user manually disables a permission from app settings, is the user able to manually re-accept the permision from within a permission prompt inside the app or are they required to manually re-enable it from settings? May 09 20:47:17 by the time i get through my big nerd swift book , swift 3 is going to be out May 09 20:48:00 konk3r: I believe they have to go back to Settings. The prompt isn’t shown at all May 09 20:48:01 Because from playing around with it, accepting a permission after manually disabling it doesn't do anything May 09 20:48:16 The prompt is shown when requested, it just doesn't seem to have an affect May 09 20:48:22 konk3r yeah - i think thats been brought up before, DH answered that question May 09 20:48:40 at the summit May 09 20:48:47 Gotcha, so I should just show a prompt saying, "If you want to use this feature, go into settings and re-enable it" May 09 20:54:22 Is there a way of telling if a permission was denied via the prompt or manually disabled? May 09 20:55:15 unfortunately I don’t think there is May 09 20:57:52 i think thats when DH said some smartass thing like "your user probably doesn't care about your app anymore, so meh" May 09 20:58:37 konk3r its in the dev summit fireside chat if you want to fish it out May 09 20:59:27 konk3r marshmallow and higher permissions model or lower? May 09 20:59:33 higher May 09 21:00:01 iOS developers have had a pretty good way of dealing with this for a while: You simply pop your own dialog before you actually invoke the permissions dialog May 09 21:00:06 what do mean by manually re-accept? May 09 21:00:15 if they say yes on yours, then you continue showing the system dialog May 09 21:00:23 if they say no on yours, you don’t even ask for the permission May 09 21:01:09 how do I run on AS WITHOUT using Instant Run? May 09 21:01:28 s73v3r there is a preference to disable IR May 09 21:01:36 The run button has the “Instant Run” thingy next to it, but I don’t want to use it this time May 09 21:01:51 oh thats in the menu May 09 21:01:51 g00s: will disabling it run like it did on 1.5? May 09 21:01:59 IggyGee should May 09 21:02:12 s73v3r run -> clean and rerun app May 09 21:06:17 I haven't messed with instant run yet, might be one more thing that breaks AS, doh May 09 21:07:02 emulators r much faster on AS 2.x though May 09 21:07:43 but at what cost :( May 09 21:11:04 lexton its pretty buggy, they have a ways to go May 09 21:11:09 maybe ready i/o 2017 May 09 21:12:58 "SOFTWARE UPDATE DESTROYS $286 MILLION JAPANESE SATELLITE" May 09 21:13:09 should have let the carriers test it first ;) May 09 21:13:22 do you think creation a folder in /mnt for database.db is normal for supporting all phones ? May 09 21:13:51 Just Ship It ™ May 09 21:15:40 on Android M, is there a problem wiht assigning a RecyclerView’s LayoutManager before assigning the adapter or adding things to it? May 09 21:17:15 hi, i'm getting an error that dex cannot parse version 52 byte code to add sourcecompatibility 1.7, and i added it but still the same error.. why? May 09 21:18:15 s73v3r i set the layout manager before the adapter. isn't that normal ? May 09 21:18:27 no problems on M May 09 21:18:37 i thought so, but right now my layout manager is complaining about an Index Out Of Bounds exception May 09 21:19:06 which is even weirder, because it does call getItemCount, which should say there’s 0 items May 09 21:19:58 every example i looked at does LM first, adapter second May 09 21:21:05 Twirl, version 52 of bytecode is Java 8. May 09 21:21:10 do you think creation a folder in /mnt for database.db is normal for supporting all phones ? May 09 21:21:13 You'll need JDK8. May 09 21:21:21 iresf, what. May 09 21:21:23 No. May 09 21:21:25 O.o May 09 21:21:28 lol May 09 21:21:50 iresf put it in /tmp :D May 09 21:22:05 https://www.youtube.com/watch?v=umDr0mPuyQc May 09 21:24:03 g00s : do you know a good way to import an external sqlite db and then it works in all phones ? i think some device does not give us access to /data to copy sqlit db May 09 21:25:11 iresf http://www.sidesinspace.com/wp-content/uploads/2015/08/surprised-koala.jpg May 09 21:25:13 Mavrik: yea May 09 21:25:33 Mavrik: im probably compiling some package that has it May 09 21:26:02 Mavrik: i have jdk 8 in my machine May 09 21:26:13 Mavrik: idk if thats what you meant May 09 21:28:08 nvm, fixed it May 09 21:30:59 So I am trying to help out a buddy with a issue with his android app. His developer is no longer around. It uses a sqlite database and references the location of it by a absolute path. This seems to cause problems on some phones where the database cannot be created. May 09 21:31:28 What is the best way to handle that situation? Is there a helper method or a constant that can be referenced that would work better? May 09 21:32:14 I think there is a better way to handle this sqlite code, but it will take a bit to rewrite it all, so I am looking for a quick solution that we can push out as a temporary fix May 09 21:32:41 jexmex SQLiteOpenHelper should take care of that May 09 21:32:42 jexmex: use the built in methods to get directories May 09 21:33:54 that is what they are using but they use the absolute path. I will look more into the built in methods May 09 21:34:44 they went out of their way to be weird then May 09 21:34:49 s73v3r, you mean the built in methods of SQLiteOpenHelper or different built in methods? I have not really ever done android development May 09 21:34:59 kinda learning as I go right now May 09 21:35:00 the constructor for open helper takes the name of a db, thats it May 09 21:35:08 there are built in methods for getting directories May 09 21:35:08 ok May 09 21:35:21 I will look up the api page for it May 09 21:35:29 sqlite3_open_v2("/data/data/com.example.mmc.main/databases/mydb.sqlite", &handle, 1, NULL) failed May 09 21:36:17 they are actually extending SQLiteOpenHelper May 09 21:38:34 jexmex : it does not work on some device i have done a lot of work but i could not solve it May 09 21:41:25 and never in that time you ever tried to look at the beginner tutorials that explain that? May 09 21:50:52 Hello. I'm planning an application of Google voice interactions: https://developers.google.com/voice-actions/interaction/voice-interactions And I am wondering if this should work with android lollipop? May 09 21:54:14 Simply stated, do the google APIs for voice interactions and the like require marshmallow? Or is lollipop fine? Anyone know? It's surprising how unclear there documentation is on the topic, for the sake of seeming so minimal... May 09 21:54:50 check the api level of the voice interactor May 09 21:56:06 the api doc tells you these things May 09 21:56:10 Would I do that on developers.google.com, or is there another place to find that? May 09 21:56:20 it’d be on that site, yes May 09 21:56:58 http://developer.android.com/reference/android/app/VoiceInteractor.html May 09 21:58:42 Ah there it is 23 or higher. Thanks v much for the help, all May 09 22:10:50 Getting an exception saying it cant instantiate my intentservice because there is no empty constructor May 09 22:10:53 But there is May 09 22:11:43 public MyIntentService() { super("MyIntentServiceDescriptionOMG"); } May 09 22:11:48 Yep May 09 22:11:51 Maybe it has to be a static class May 09 22:11:56 Because its an innner class May 09 22:12:05 don't inner class a service May 09 22:12:20 Why May 09 22:12:40 Hi! I want to create an application that performs an action when the phone is connected to a specific wifi ssid. I would like the application to be listening to the wifi change all the time but the application itself will not be in foreground. I was planning on creating a BroadCastReceiver and launching a foreground service when the specific wifi is connected but my question is: will the broadcastereciever receive a broadcast even when the app May 09 22:13:16 feels dirty. but yes if you do, I imagine it would need to be static as Android needs to instantiate the class outside of your outer class May 09 22:13:28 Makes sense, thanks Chainfire May 09 22:15:39 hmm why isnt AS generating my .aidl files -.- May 09 22:17:23 onto> you'd normally use the CONNECTIVITY_ACTION broadcast for this, but they have significantly crippled it on Android N Preview May 09 22:17:29 (which does not bode well for the future) May 09 22:19:21 onto> perhaps WIFI_STATE_CHANGE receiver still works, but be sure to test it when your app is being battery optimized to background mode May 09 22:20:16 http://stackoverflow.com/questions/6362314/wifi-connect-disconnect-listener May 09 22:21:31 Chainfire: will it receive the broadcast when my app isn't launched yet (after a boot for example)? Or do I have to listen to the BOOT_COMPLETED broadcast and launch the app? May 09 22:22:00 those two used to work just when declared in manifest May 09 22:22:04 no need to launch app May 09 22:22:25 if i am incorrect a CONNECTIVITY_ACTION will not persist after reboot May 09 22:22:27 but the current direction Android is taking is that things like these will work less and less reliably May 09 22:22:57 so the answer is, you must test this to be sure May 09 22:23:13 Chainfire: Aha, ok. Thank you! May 09 22:23:15 ALARM_MANAGER, etc, would require app launch to re-listen May 09 22:24:05 lsass: Ah, thank you for the link. May 09 22:24:28 beware that several of the suggestions in that link *will*not*work*reliably* May 09 22:25:27 Chainfire: I'll keep that in mind. Will test everything. May 09 22:30:21 Hi May 09 22:30:38 why the hell is AS generating only 1 out of 2 aidl files wtf May 09 22:30:58 want help for NDK. Is this right channel for NDK May 09 22:32:31 I am having issue with TEXTREL with so file. Did lot of research on the net but unable to find solution May 09 22:56:42 Line of exception : checkDB = SQLiteDatabase.openDatabase(path, null, SQLiteDatabase.OPEN_READONLY); May 09 22:57:22 Exception message : unable to open database file May 09 22:57:29 anyone can help me ? May 09 22:57:53 dont you need a version? May 09 22:58:28 Android SDK version ? May 09 22:58:40 oh. are you extending "SQLiteOpenHelper"? May 09 22:58:56 dsardari : yes May 09 23:00:06 i'd use "getWritableDatabase()" or "getReadableDatabase()" instead of accessing it directly May 09 23:01:25 dsardari : in create() method ? May 09 23:03:12 whenever you need the db May 09 23:03:33 the "onCreate" callback already gives you the db May 09 23:03:58 general info: https://github.com/codepath/android_guides/wiki/Local-Databases-with-SQLiteOpenHelper May 09 23:05:21 dsardari : i do not have problem with that , my problem is only with external sqlite db on some devices May 09 23:07:13 any patterns for which devices? May 09 23:07:31 are you ever deleting the db? May 09 23:08:45 Is there a way to create a gridview adapter that is empty initially? I pull information down from the web so it's dynamic and different each time. No values to really add to the adapter initially until the asynctask kicks in but im getting errors about "storage == null" when initializing it with an empty string array May 09 23:09:20 nope. Try using a RecyclerView with a Grid Layout Manager May 09 23:09:26 or build the GridView dynamically May 09 23:09:51 please help me with NDK? May 09 23:10:03 dynamically? i;m doing the udacity android dev course. they were trying to get us to do a custom adapter for the project May 09 23:10:16 mun24: We can’t help if we don’t really know it ourselves May 09 23:10:50 problem started with marshmallow May 09 23:11:13 do not allow Text relocation in code May 09 23:11:27 in shared library I mean May 09 23:11:33 I’ve never worked with the NDK, so I can’t really help May 09 23:49:43 n00b to android and java, need advice... I'm working off of https://github.com/googlesamples/android-BluetoothAdvertisements and since 6.0 permissions changed so that it no longer supports scanning in the background, so presumably I'll have to refactor the advertiser service to no longer be a service. any suggestions on how to do that cleanly? I'm thinking just refactor AdvertiserService itself so it just becomes a class of static ... May 09 23:49:49 ... methods used by AdvertiserFragment directly? May 10 00:04:31 are there local alarms that can persist restarts? May 10 00:32:41 Can we add introductions to this channel? May 10 00:33:24 orbyt_: ? May 10 00:33:31 Like when I log in it could say "The illustrious orbyt_ has arrived"" May 10 00:33:36 cool huh? May 10 00:33:48 meh May 10 00:33:49 instead of "orbyt_ has joined" May 10 00:33:55 orbyt_: No May 10 00:33:59 u no like? May 10 00:34:22 orbyt_: 1. Don't think it is possible 2. Unprofessional May 10 00:35:08 this channel should have some sort of website May 10 00:35:41 with a pastebin and voluntary projects and etc... May 10 00:35:41 shmooz: I was building androidcove.com May 10 00:35:43 shmooz: http://developer.android.com May 10 00:35:57 It was actually really cool vB custom forum May 10 00:36:04 halted the project though May 10 00:36:07 I don’t think professionalism is that high up on the list of priorities for this channel May 10 00:36:21 Even had this irc channel embeded into the top of the forum May 10 00:38:15 Thought channels with one # are the official/dedicated channel. I might be wrong tho. May 10 00:39:21 These channels are affiliated with Google afaik May 10 00:40:37 it would be nice if it combined stuff like pastebin, stackoverflow , sourceforge type functionality and people can create tutorials or comment or help them May 10 00:41:22 shmooz: It was exactly that. Was a 4.4 vb forum, green themed May 10 00:41:33 orbyt_: coude embed code snippets eg May 10 00:41:38 could* May 10 00:41:44 and talk in the live chat May 10 00:41:50 or post longer topics like guides May 10 00:42:13 orbyt_: visual basic !? May 10 00:42:24 what no May 10 00:42:29 vbulletin May 10 00:42:30 what is vb May 10 00:42:34 in php May 10 00:42:40 bah, that is closed source crap May 10 00:42:44 use phpBB May 10 00:42:48 vb is great May 10 00:42:50 ew no May 10 00:42:50 it was widely used May 10 00:42:56 I've tried vb, it's crap May 10 00:42:57 it’s hardly crap May 10 00:43:01 phpBB is better May 10 00:43:03 its really not May 10 00:43:11 phpbb is literally the worst of the top 3 May 10 00:43:13 phpBB is not better than anything May 10 00:43:27 you just think it's good cause like oracle or cisco they want you to think that May 10 00:43:39 it's closed source stuff you have to pay for May 10 00:43:41 do what? May 10 00:43:45 oh fuck off with your “brainwashing” bullshit May 10 00:43:53 its not even owned by them lol... May 10 00:44:04 and it is extremely vulnerable, strust me May 10 00:44:11 im done May 10 00:44:14 and phpbb isn’t? May 10 00:44:23 it's open May 10 00:44:30 so? May 10 00:44:33 period May 10 00:44:39 . May 10 00:44:41 OpenSSL was open, and it had a huge vulnerability for several years May 10 00:44:49 doesn't matter what it has May 10 00:44:49 open doesn’t mean jack shit May 10 00:44:55 or what state it is in May 10 00:45:04 being open promises that you can fix it May 10 00:45:15 it doesn’t promise a thing May 10 00:45:33 or you can catch the bugs or vulnerabilities May 10 00:45:34 you have to have the skills to be able to identify there’s a problem, first May 10 00:45:45 and the time and willingness to do so May 10 00:45:45 there are billions of us May 10 00:45:50 so? May 10 00:46:05 OpenSSL went how long with the heartbleed bug? May 10 00:46:09 s73v3r: you simply don't get it, go get it May 10 00:46:20 no, I get it. May 10 00:46:32 i’m just not buying your panacea May 10 00:46:48 being open doesn’t mean anything if people don’t regularly audit the code May 10 00:46:51 I've been getting it since OpenBSD 2.0 May 10 00:47:07 and how often do you audit OpenBSD’s code? May 10 00:47:22 I have helped a few times in the past May 10 00:47:26 Is there a way to create an empty gridview adapter at all? like from an empty list on instantiation? May 10 00:47:29 when was the last time? May 10 00:47:34 and where’s the report? May 10 00:47:56 and to bring it back, when’s the last time you audited phpBB’s code? May 10 00:48:06 * orbyt_ *grabs popcorn* May 10 00:48:47 s73v3r: you keep showing you don't get it, everytime you open your mouth May 10 00:49:17 and you keep showing you’ve just drunken the kool aid every time you refuse to answer simple questions May 10 00:49:27 so I figured out my issue with sqlite. On some phones there are multiple user accounts, on those /data/data is restricted to admin accounts. Is there a way to get the data directory for the current user? May 10 00:49:32 I'm not going to argue about this May 10 00:49:55 further, what haven’t I gotten? All I’ve asked is when the last time you audited the code of these projects is, or when the last time someone else did, and where those reports are May 10 00:50:59 I could answer those stupid questions or you could find out for yourself May 10 00:51:07 you’re the one that made the claim May 10 00:51:24 further, what’s stupid about asking when you did the thing that you claim is a benefit? May 10 00:51:32 ? irc fight? May 10 00:51:37 you don't get the simple philosophy May 10 00:51:46 open vs closed May 10 00:52:04 no, i get it. but open doesn’t automatically mean better May 10 00:52:05 think! May 10 00:52:06 i cant help but think this is the nerdiest thing i've seen all month >.< May 10 00:52:26 I know its great May 10 00:52:29 funny how you’re the one saying, “think”, yet you’re asking people to blindly accept something May 10 00:52:50 I'm not asking people to blindly accept May 10 00:54:19 closed source is asking people to blindly accept May 10 00:54:21 yes, you are. you’re blindly saying one piece of software is better than the other, only based on the fact that one is open May 10 00:54:24 maybe both of you should take a break a breather from the internet for a few minutes? no reason to fight over stuff, life's too short May 10 00:54:33 i can test both pieces of software and find out which one is better May 10 00:54:49 no you can't May 10 00:54:54 yes, I can May 10 00:55:02 i install both pieces, and test them out May 10 00:55:24 BroadcastDepth: Its a good discussion on 2 philosophies. May 10 00:55:25 yeah test them out like a monkey May 10 00:55:28 holy shit app idea May 10 00:55:37 i test them out like a user May 10 00:56:35 you're clearly an idiot May 10 00:56:48 You both are acting like ones May 10 00:57:05 ^ he's got a point. you are both acting a bit childish lol May 10 00:57:11 just make up and move along :) May 10 00:58:18 i’m not the one hurling insults. May 10 00:58:19 for a channel like this you would not want a closed source paid forum that cannot be audited or fixed by the commnunity May 10 00:58:42 i would want whatever works best. if that’s open, great. if it’s closed, so be it May 10 00:59:10 and trying to argue that closed source is just as good as open shows that you can't audit and think noone else will May 10 00:59:32 i don’t have to think that. there’s plenty of evidence that says that they won't May 10 01:00:47 my google foo seems to not be so good May 10 01:03:00 anyone know the name of the app where you record a short audio clip on a topic and then someone responds in a timeline? May 10 01:03:10 100 percent is bad news, how do u expect anyone to make money? May 10 01:03:25 open source, what happened to earning for your hard work>? May 10 01:03:52 lsass: many open source contributors are paid May 10 01:04:03 hows that model go May 10 01:04:08 Once I got paid from helping someone on IRC May 10 01:04:10 hope ppl donate? May 10 01:04:13 They sent me CS:GO May 10 01:04:20 lol May 10 01:04:24 i was referring mostly to people who work for companies like Red Hat May 10 01:04:37 red hat gets paid for support licensing May 10 01:04:46 and documentation, maintenance May 10 01:04:52 yes, but their code is still open source May 10 01:05:02 jexmex: Have you tried getFilesDir()? May 10 01:05:04 but the money if for if u expect help May 10 01:05:08 which u most likely will May 10 01:05:19 lol May 10 01:05:33 props to red hat, but i think that is why the price tag is so high.. May 10 01:06:07 they’re not the only ones, just one of the more successful examples May 10 01:06:15 yes open source and making money are not mutually exclusive May 10 01:07:15 when i see alot of hard work for free, its concerning, idk why that is May 10 01:07:57 Am I missing something? Is there no helper method to get the current users data folder to store a sqlite db in? May 10 01:07:58 lsass because http://www.amazon.com/Software-Paradox-Rise-Commercial-Market/dp/1491900938 May 10 01:08:38 context.getFilesDir().getPath() returns Permission denied May 10 01:09:04 im all for community projects May 10 01:09:15 but i have noticed from experience, people being under credited May 10 01:09:26 or if not at all May 10 01:10:09 its a very broad subject. so i shall stop May 10 01:13:38 i just believe, open source is not social, because at the end, people need to eat. github is supposed to be community driven, but in reality its just a hub for people to rip off code to feed their own mouths. May 10 01:13:52 ^ May 10 01:13:56 jexmex: what version of Android are you developing for? May 10 01:14:50 lsass: it’s also a way of spreading the work. Lots of people need some of these little libraries that are made, so the testing and bugfixing get spread around May 10 01:15:48 i agree, its good to share, to an extent. May 10 01:16:03 and with that, I’m off to talk about beer. May 10 01:16:10 i mean, your in android-dev, May 10 01:16:24 just after contradicting himself, heh May 10 01:17:03 "testing and bugfixing get spread around"! May 10 01:17:28 lol May 10 01:18:04 but g00s i dont buy that book, commerical market is up, where those statistics from? just cause someone put it on amazon doesnt mean its true May 10 01:18:11 smart phone sales, up, android development, up May 10 01:18:25 smart tv sales up, May 10 01:18:27 roku sales, up May 10 01:18:31 arduino sales, up May 10 01:19:10 common sense says, when an 80 year old women owns 3 iphones, a smart tv, desktop and laptop, commericial is actually up May 10 01:19:53 commercial pc market is bringing different faces everyday May 10 01:20:23 wut May 10 01:20:28 nm :) May 10 01:20:34 ^ wrong May 10 01:53:30 If im in a method and I want to offload something quick to bg thread, is this bad practice: new Thread( () -> {...} ).start May 10 01:54:43 Good evening, Is there a way to make the banner image (scenery) full width, there seems to be a gap of 1px or something in the edge.. http://i.imgur.com/NEaQvRc.jpeg May 10 01:56:47 drose379 usually May 10 02:01:18 use a thread pool May 10 02:05:34 Why g00s May 10 02:06:12 or pfn May 10 02:06:33 because starting a thread is expensive May 10 02:07:42 drose379 you typically want some policy on how many of any type resource is created, in this case a thread. So the tread pool enforces that policy May 10 02:09:16 Hmm I see, what if there are no threads available May 10 02:09:20 And I need something done now May 10 02:10:03 then that goes into backpressure (rxjava) , etc May 10 02:10:26 Backpressure? May 10 02:10:46 does the scheduler / reactor / executor have the ability to create unbound # of threads, or is it limited to N threads, do jobs have to finish 1 after the other, etc May 10 02:11:15 Hmm May 10 02:11:22 Is this rxjava stuff? May 10 02:11:30 jsr166 and rxjava stuff May 10 02:11:37 Will check out May 10 02:11:40 Thanks May 10 02:12:16 drose379 you can look at the jsr166 Executors - thats with android May 10 02:12:27 for more goodies, you can look at rxjava May 10 02:12:39 and even more goodies, spring reactor May 10 02:12:53 i dont think spring reactor 2.5.0 works on android yet May 10 02:13:04 Got it, will check those out May 10 02:13:42 they had to remove lmax disruptor as dependency because that wouldn't work on android (uses java.unsafe stuff) May 10 02:16:02 Using Spring on Android? May 10 02:17:56 CedricBeust spring reactor is slated to work on android, yeah May 10 02:18:45 There's a difference between "It works" and "Why the hell would I do that to myself?" May 10 02:30:46 CedricBeust its just spring reactor core ... May 10 02:31:15 Phone dialer app (default).. you can hold 1 to speeddial voicemail, but not add speeddial to the others, when will someone fix this?!?!?! https://goo.gl/wzIZ27 May 10 02:31:50 favourites is fine if your already there, but not if you're already in the phone dialer app, plus retro backwards compatibility!! May 10 02:36:24 where can you look up email to the default Phone dialer app developers? May 10 02:37:34 Hey people! May 10 02:37:46 Is it possible to fake/change the location of your device? May 10 02:38:22 I need it to test my apps using a different location, and to install an app from google play that is not available in my country May 10 02:38:41 Mattx: Maybe the emulator May 10 02:38:53 the emulator is way slower than my phone May 10 02:38:58 I use my phone to develop May 10 02:39:18 Mattx: The new emulator has had mass improvments if you didn't try it yet May 10 02:39:42 nope I haven't May 10 02:39:45 I would, thanks May 10 02:40:09 what about installing apps from a not supported country? May 10 02:40:10 maybe change the Locale May 10 02:40:11 can you do that? May 10 02:40:32 i set locale in mine May 10 02:40:33 the locale doesn't include the country as far as I know May 10 02:40:35 manually May 10 02:40:53 hmn, I'm checking the language & input menu and I don't see any country option May 10 02:40:55 Mattx: Not sure about location; I know with the new one you can simulate phone call, sms, etc. And now it uses Intel HAXM so it is much faster I heard May 10 02:40:58 where is the "locale"? May 10 02:41:19 ur question is very broad May 10 02:41:48 I mean, where do you change the country? in "language and input" there's no option for that May 10 02:42:45 http://android.stackexchange.com/questions/44677/how-to-change-my-device-location-on-the-play-store May 10 02:48:14 could always download an apk **** ENDING LOGGING AT Tue May 10 02:59:59 2016