**** BEGIN LOGGING AT Sun Apr 03 02:59:58 2016 Apr 03 03:13:39 not all Apr 03 03:52:08 Heya, am i missing something here? Android Studio is refusing to preview layout files until I use a JDK >= 1.8 but as you can see i have that covered: http://i.imgur.com/N5HiPmj.png Apr 03 04:19:27 Hey Apr 03 04:19:32 hey Apr 03 04:22:35 rgb-one: I have a package I decompiled and I would like to know where does is the main func because there are many files, how can I know that? Apr 03 04:24:31 holdsworth: One way is the name of the file is the same as the project/application name Apr 03 04:25:29 holdsworth: If you are using an IDE then the file with the run sign beside it, The IDE will find the main file for you Apr 03 04:25:48 run icon beside it* Apr 03 04:26:36 Or you could look for other words synonymous with main Apr 03 04:26:42 like Driver.java Apr 03 04:26:53 or something like that Apr 03 04:28:51 rgb-one: wouldn't it be defined in the android manifest? Apr 03 04:29:10 I am not using an IDE, I am using the command line mostly :) Apr 03 04:38:03 I don't reallt know anything about Android, what I recommended was general Apr 03 04:38:29 yeah thanks :) Apr 03 04:45:19 I found it thanks Apr 03 04:48:25 weird.. if I use notifyDataSetChanged() in a method, it works well (but sadly refreshes all list items); if I use notifyItemRangeChanged(0, items.size()), it is supposed to do the same as notifyDataSetChanged, yet it somehow causes the next notifyItemRemoved(position) to mess up (the item is removed from RecyclerView and then appears again - unclickable and not in getItemCount anymore) Apr 03 05:42:12 is that because it should be (items.size() - 1) ? Apr 03 05:42:22 divStar, ^ Apr 03 06:32:03 I can't quite put my finger on it, but there is something fun about watching your tests run with no hiccup. That combined with watching monkey run makes me smile. Apr 03 06:56:48 when do I choose a buildType versus a productFlavor? Apr 03 06:58:16 yonatankoren: i know its a late reply but check this out https://unsplash.com/ Apr 03 07:13:13 divStar: hey, still having RecyclerView issues? Apr 03 07:13:52 RustyShackleford: if you have to ask.. then you want to be using productFlavor Apr 03 07:24:20 Hi Apr 03 07:24:36 * dave0x509 yawning Apr 03 07:28:22 Napalm: why's that? Apr 03 07:29:06 So I'm working on mocking out all the network calls for unit testing purposes Apr 03 07:29:32 and I'm thinking it might be nice to have a debug build of the app that uses those same mocked calls Apr 03 07:41:01 how do I add more system images in android studio? Apr 03 08:02:32 if I make a separate build flavor, can I create separate implementations of classes? Apr 03 08:12:54 Is there some ARM debugger tools for Android device drivers? Apr 03 08:13:29 Or do you need some custom tools written for that exact chipset? Apr 03 08:13:47 Not sure of the state of JTAG in phones Apr 03 09:25:15 Yo guys, how can I choose correct tools to compile a kernel source for my phone? Apr 03 10:44:59 can somebody gives me a hint, I have a TextView on app_bar_nav_drawer which is created from android-studio, however when I access NavDrawer class and try to findViewById(R.id.tvUsername) and try to setText("onit"); I get null pointer exception, any ideas? How can I find correct view? Apr 03 11:03:37 Caused by: java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.CharSequence android.widget.TextView.getText()' on a null object reference Apr 03 11:05:37 Show your code Apr 03 11:06:11 Probably your id does not exist or you are doing findViewById in the wrong place Apr 03 11:06:58 well id does exist, since android studio auto shows it Apr 03 11:06:59 sec Apr 03 11:10:05 hmm, ok got some progress, when I call it inside of onCreate() method it fails, when I call it inside onNavigationItemSelected() method, it works, but text is not changed onCreate() method, dunno why Apr 03 11:10:44 Have you debugged? Apr 03 11:10:59 Where are you doing the findViewById? Apr 03 11:11:38 barq, http://pastebin.com/qbNRK3RN Apr 03 11:11:45 24 line Apr 03 11:12:04 What line is the rror Apr 03 11:12:06 error Apr 03 11:12:26 Caused by: java.lang.NullPointerException: Attempt to invoke virtual method 'void android.widget.TextView.setText(java.lang.CharSequence)' on a null object reference Apr 03 11:12:26 at com.xshellz.android.xshellz.NavDrawer.onCreate(NavDrawer.java:60) Apr 03 11:12:42 basically 24th line in my pastebin Apr 03 11:12:56 Line 24 can't be the error Apr 03 11:13:04 I can bet it has something to do with fragment Apr 03 11:13:16 oh sorry, its 26 Apr 03 11:13:18 thats the error Apr 03 11:13:34 Show your xml Apr 03 11:14:36 of activity_nav_drawer Apr 03 11:14:41 http://pastebin.com/upmYkCki Apr 03 11:15:22 I don't see any TextView in that xml, or is it in the include? Apr 03 11:15:32 yeah its in include Apr 03 11:15:40 Show the include please Apr 03 11:16:11 http://pastebin.com/zVEmPpPC Apr 03 11:16:46 I don't see any TextView in there either. Apr 03 11:16:50 its in nav_header_nav_drawer.xml Apr 03 11:17:19 You are searching for it in the activity, though, in activity_nav_drawer Apr 03 11:17:24 to paste that? Apr 03 11:17:29 hence why null is returned by findViewById Apr 03 11:17:32 well how to search it in nav_header_nav_drawer.xml ? Apr 03 11:19:30 hmm I think I should inflate Apr 03 11:19:31 sec Apr 03 11:21:23 yeh inflation helps Apr 03 11:21:29 this helps alot http://stackoverflow.com/questions/33560219/in-android-how-to-set-navigation-drawer-header-image-and-name-programmatically-i :) Apr 03 11:22:46 solved :) Apr 03 11:24:35 Good. Apr 03 11:31:31 hmnm, barq how can I pass view from onCreate() to custom method in the same class? Apr 03 11:31:36 I keep getting null pointer again :( Apr 03 11:53:36 Hi all how are you? Apr 03 11:59:57 perlsyntax: aight Apr 03 11:59:59 and you? Apr 03 12:00:26 nvm solved again :P thanks for help barq Apr 03 12:01:44 thepoosh,I doing good do some reading hope to get my project done still waiting on google i/o 2016. Apr 03 12:02:22 perlsyntax: you're entering the contest? Apr 03 12:05:12 thepoosh,What contest? Apr 03 12:05:35 the io contest Apr 03 12:05:35 i didn't know there was one. Apr 03 12:05:58 oh i don't think so i not that good. Apr 03 12:06:23 thepooth,Are you? Apr 03 12:06:33 perlsyntax: http://android-developers.blogspot.co.il/2016/03/announcing-2016-android-experiments-io.html Apr 03 12:06:53 nah man, I'm a full-time employee from Israel, no IO for me Apr 03 12:08:22 thepoosh,I watch it online:) Apr 03 12:09:46 guys Apr 03 12:09:54 I just can't get the speed calculated... Apr 03 12:09:59 (GPS) Apr 03 12:10:06 anyone here who could help me? Apr 03 12:10:32 you need to calculate the sqrt between 2 distances Apr 03 12:10:34 i think Apr 03 12:12:03 thepooth,I wish i had the money for google i/o Apr 03 12:12:21 same here Apr 03 12:13:48 thepooth,I hope for the google test lab to come out by then.Would be good for me with out a android device:) Apr 03 12:14:07 thepoosh, sqrt with gps isn't going to be accurate :) Apr 03 12:14:14 (Also doesn't GPS report speed?) Apr 03 12:14:14 sorry thepoosh bad typeing. Apr 03 12:14:47 Mavrik: you probably know more than I do, I barely have XP in GPS play Apr 03 12:14:57 I'm the 3rd party integration guy Apr 03 12:15:00 :P Apr 03 12:15:21 I didn't work much with it as well, but did try to calculate speed with sqrt method Apr 03 12:15:26 As it turns out earth it round. Apr 03 12:15:34 And there's this "spherical geometry" thing :P Apr 03 12:15:47 Mavrik: that's why you get alt as well Apr 03 12:16:07 Location.distanceBetween() does help though Apr 03 12:16:29 Which would help with speed calculations, even though as I said, IIRC you get speed from location provider as well Apr 03 12:17:32 http://stackoverflow.com/a/6200487/1056359 Apr 03 12:18:55 Yop. The question of course being if all implementations do that or just report 0 ČP Apr 03 12:19:02 :P Apr 03 12:19:31 Mavrik: I still remember my college degree Apr 03 12:20:08 they had some SQRT for distance in a 3 dimensional space Apr 03 12:20:16 but I sucked in linear algebra so... Apr 03 12:20:58 guys how can i load a resource ( drawable - style ) from external apk? Apr 03 12:21:20 skin1980: you can only from an AAR or gradle dependency Apr 03 12:21:25 or external source Apr 03 12:21:29 not from jars Apr 03 12:22:12 whats aar? Apr 03 12:22:50 http://stackoverflow.com/questions/23915619/android-archive-library-aar-vs-standard-jar Apr 03 12:24:11 tnx a lot Apr 03 12:46:07 I have a generated file that needs to end up in src/main/res/raw. I build it outside Android. Android studio builds and runs it properly into the unit tests, but seemingly gradlew doesn't. Ideas? Apr 03 12:48:12 thepoosh, Mavrik http://pastebin.com/2KmyqFUg Apr 03 12:48:55 output is in a comment Apr 03 12:49:15 SuperTyp: what? Apr 03 12:49:22 both of us said we know nothing about this Apr 03 12:49:31 why ask us and not stackoverflow? Apr 03 12:49:57 I did already look up SO but the answer I found to my question didn't work Apr 03 12:50:09 however, I thought you might find something wrong in my code Apr 03 12:51:44 ask your own question Apr 03 12:52:18 thx anyway gus (Y) Apr 03 12:55:49 An application with a asynctask works fine as a separate application. However, when making its main activity part of another application I get "Can't create handler inside thread that has not called Looper.prepare()". The culprit according to SE is that I should call from the main thread and not a worker thread. I tried putting the asynctask inside a handler, I'm a bit confused. I've tried the fix mentioned in the post but then I get Apr 03 12:55:49 errors about only one looper per thread is allowed. Apr 03 13:09:43 What is the current recommended http library? Apr 03 13:25:57 I get "Target must not be null." on line 99 : http://pastebin.com/M1ArqMT0 and I don't understand why. The imageViews must have been created by the time downloadAndAttachImages() executes? Apr 03 14:51:52 why i am getting negative values from this ? Calendar.getInstance().getTimeInMillis() Apr 03 14:52:08 it should be current time in miliseconds Apr 03 14:52:18 you did not set a date to your cal Apr 03 14:52:38 use System.currentTimeMillis() Apr 03 15:00:29 adq thanks now i need to convert it to Integer. do you know how ? Apr 03 15:00:40 it's a long Apr 03 15:06:13 (first time using firebase) update value on site, go to refresh app, its already up to date, WTF Apr 03 15:10:52 anyone got AS 2.0 emulator working on linux? Apr 03 15:11:05 RC1 was released and i updated and emulator wont run Apr 03 15:51:26 Hi Apr 03 15:53:38 I'm using the google maps direction api with Retrofit and the GSON converter to create objects. My question is, as the api returns Steps which have a different "travel_mode" i.e "WALKING" or "BUS" I wanted to use the factory pattern to create a different step object depending on the travel_mode Apr 03 15:54:00 Is this possible? Apr 03 15:58:12 Hello guys, I want to change the look of a spinner only when in active state (when a use wants to select an item). But if I change the layout of an item, it changes also when in normal mode. How can I change it only when spinner dialog pops up? Apr 03 15:58:20 I hope you understand what I mean. Apr 03 16:18:00 Hey guys, I'm working on a screen filter application https://github.com/raatmarien and I have a question about aligning preferences horizontally Apr 03 16:18:17 I want the user to be able to automatically turn the filter on and off at set times Apr 03 16:18:44 so I have a custom TimePickerPreference based on a DialogPreference for the on time and the off time https://lut.im/UaOa44bFeL/nJrle8zRHvaQfXVL.png Apr 03 16:19:16 But since these are related, I would like to have them horizontally next to each other with a divider between it Apr 03 16:19:28 is this possible at all? Apr 03 16:19:43 My settings activity uses a PreferenceFragment Apr 03 16:20:08 Should I just write a custom layout emulating two preferences next to eachother Apr 03 16:20:33 and use that as a custom Preference? Apr 03 16:22:09 I really need help with his: http://pastebin.com/M1ArqMT0 I get "Target must not be null" on line 26. I don't understand how the "images" can be null. Apr 03 16:24:04 What gives you "Target must be null" Bernzel_ ? Apr 03 16:24:07 The compiler? Apr 03 16:24:38 yeah Apr 03 16:24:43 no Apr 03 16:24:49 logcat sorry Apr 03 16:24:54 aha Apr 03 16:24:59 can you provide a stacktrace? Apr 03 16:25:40 raatmarien: yes! just a second, lizard is puking all over the floor Apr 03 16:25:51 lol Apr 03 16:39:08 has anyone seen a collection of useful CoordinatorLayout behaviors ? Apr 03 16:39:38 for example, when you scroll content, bottom navigation hides - that seems like a reusable behavior for anything on the bottom Apr 03 17:19:57 I rooted my nexus 5 and now wondering what's the pt of it Apr 03 17:36:58 #android-root Apr 03 17:38:59 horny-sama: listen to our good sir pfn Apr 03 17:41:03 g00s: is it just me or is AW the exact same as last week? Apr 03 17:42:36 Is this valid? "CREATE TABLE foo (id INTEGER PRIMARY KEY NOT NULL UNIQUE ON CONFLICT REPLACE);" Apr 03 17:42:46 in SQLite* Apr 03 17:43:12 astroduck: #sqlite Apr 03 17:43:38 thepoosh: Well, I thought its android so I'd ask here :P Apr 03 17:43:44 thepoosh heh, uh maybe dunno Apr 03 17:44:05 sqlite is sqlite, not android Apr 03 17:44:34 thepoosh what have you been up to this week Apr 03 17:44:40 thepooshweekly Apr 03 17:44:46 g00s: we are 2 weeks late on a version Apr 03 17:44:53 so tons of overtime Apr 03 17:44:57 but the update is cool Apr 03 17:45:19 but snapchat just released something that is very similar to our upcoming version Apr 03 17:45:23 so that sucks balls Apr 03 17:45:24 why does your management keep screwing up ? Apr 03 17:45:56 well, 2 of our guys gave a 6 man day assessment instead of 2 week Apr 03 17:46:21 so... Apr 03 17:46:24 i am not late Apr 03 17:46:29 i hate being late Apr 03 17:46:36 but there is a major refactor Apr 03 17:47:08 why are you guys giving assessments ? :D Apr 03 17:47:19 tell your management they need to stop relying on fortune telling Apr 03 17:47:33 i give good assessments Apr 03 17:47:44 and I'm getting better as time goes by Apr 03 17:47:55 but there is a new structure Apr 03 17:48:22 and there are sprints defined by feature and not by client Apr 03 17:48:31 and that kinda messed the hell out of timing Apr 03 17:48:34 brb Apr 03 17:50:54 hello Apr 03 17:52:02 ohai Apr 03 17:52:51 hello every body Apr 03 17:52:52 i cant use from android studio because of my low facility of my system can i use atom editor as it shows in this link Apr 03 17:52:53 https://www.youtube.com/watch?v=SNURJuxSdO0 Apr 03 17:54:41 please help me to find a good alternative tools for android studio and eclipse Apr 03 17:55:20 what is your PC Apr 03 17:55:43 i have a fujitsu laptop Apr 03 17:56:03 with 4 Gb ram a cirei3 cpu Apr 03 17:56:06 long ago i used eclipse, now android studio is the thing Apr 03 17:56:12 i am on ubuntu 14.04 Apr 03 17:56:35 that atomic editor looks like some game engine's editor? Apr 03 17:56:59 my system is freezed on gradle when i run it Apr 03 17:57:02 cirei3 cpu ? Apr 03 17:57:15 core i3 Apr 03 17:57:19 Hi guys! What is the purpose of _COUNT column in android.provider.BaseColumns? Rerefence says it holds a jumber of total rows in the table but I just don't get it, why you might need to hold this nuumber in every row? Apr 03 17:57:29 Or I just read it wrong... Apr 03 17:57:33 i have 4G and Core 2 Duo, and still manage with Android Studio ... Apr 03 17:57:41 if i can, you can too :D Apr 03 17:57:59 i dunno what is problem maybe for my platform Apr 03 17:58:06 i am on ubuntu Apr 03 17:58:07 you may not be able to use chrome + lots of tabs though Apr 03 17:58:18 well gradle is slow overall, whats is you ram usage Apr 03 17:59:18 i didnt attention to my ram usage Apr 03 17:59:26 linuxlove try building first from the command line. that will give you good idea of max speed Apr 03 17:59:48 sometimes the first one takes long , if it needs to d/l stuff or warm up daemon Apr 03 17:59:52 but i changed setting to work oofline with gradle Apr 03 18:02:11 g00s, are you familiar with atom editor? Apr 03 18:02:11 could you take a look at this link please ?https://www.youtube.com/watch?v=SNURJuxSdO0 Apr 03 18:02:32 linuxlove thats not atom editor Apr 03 18:03:13 Atomic editor Apr 03 18:03:20 != Atom editor from github Apr 03 18:03:31 back Apr 03 18:03:48 thepoosh think we'll see AS 2 this week ? Apr 03 18:04:05 i only have one hope: that it doesn't need more memory than AS 1 :D Apr 03 18:04:07 who knows, I've been using the beta version Apr 03 18:04:19 it's quite the killer Apr 03 18:04:22 you mean 2.0 RC ? Apr 03 18:04:28 or 2.1 ? Apr 03 18:04:35 2.1 Apr 03 18:04:45 it took 2.1 GB Apr 03 18:04:48 today Apr 03 18:04:54 freezes a lot Apr 03 18:05:00 ugh Apr 03 18:05:16 yeah Apr 03 18:05:17 sorry Apr 03 18:07:58 Hi!! Apr 03 18:08:22 Which GUI library for Android is a good one? Apr 03 18:08:39 Iarfen: can you explain that question? Apr 03 18:08:49 if not, my answer is com.android.support.v7 Apr 03 18:08:56 aka appcompat Apr 03 18:09:05 I need a GUI that works well on Android, iOS and Windows Apr 03 18:09:32 oh my Apr 03 18:12:24 Iarfen well xamarin is now free Apr 03 18:12:30 from what i understand anyhow Apr 03 18:14:02 otherwise i guess you'll need something like cordova :( Apr 03 18:14:37 phonegap Apr 03 18:16:01 i'm trying out recyclerview.setExpandedposition(position) at onResume() but it isn't working, any ideas? Apr 03 18:21:22 thepoosh do you think you guys will use the bottom nav stuff ? Apr 03 18:21:46 not in the near future Apr 03 18:21:57 but we'll probably use bottom sheet Apr 03 18:22:25 yeah i'm using that now, but its a little buggy Apr 03 18:22:52 hmmm Apr 03 18:22:58 what version are you using? Apr 03 18:23:02 23.2.1 Apr 03 18:23:14 its just a behavior for coordinatorlayout Apr 03 18:23:35 i dunno, CL is pretty powerful and its kinda cool what it does ... Apr 03 18:23:46 but seems like a poor / shitty implementation of Qt signal / slots Apr 03 18:23:54 hmmm Apr 03 18:23:57 this is what happens when engineers aren't familiar with prior art Apr 03 18:24:34 one thing that kinda sucks about CL to use layout_ attributes you need it to be the immediate child of CL Apr 03 18:25:25 i need to see it some more Apr 03 18:25:35 then maybe try implementing something with it Apr 03 18:25:46 did you implement custom behaviours? Apr 03 18:25:50 you could probably write a small book about CL Apr 03 18:26:05 no, i didn't impl any myself although i was going to Apr 03 18:28:18 ah looks like somebody already did it https://github.com/aurelhubert/ahbottomnavigation/blob/master/ahbottomnavigation/src/main/java/com/aurelhubert/ahbottomnavigation/AHBottomNavigationBehavior.java Apr 03 18:35:34 I'm not totally sure how build flavors work Apr 03 18:36:05 I'm thinking of making a mockData flavor. All network requests will be mocked out by providing a different implementation of an okhttp3.Interceptor Apr 03 18:36:48 I could write all my tests for this mockData flavor, and it might be useful while developing. Always having static data Apr 03 18:37:04 um... would I be usng flavors correctly? Apr 03 20:03:34 which class would i use for a video session where i'm trying to detect faces live? CameraCaptureSession seems to be the one I want. Apr 03 20:17:55 the google mobile vision demo Apr 03 20:19:26 g00s, since you're so obviously familiar with prior art, why don't you write something better Apr 03 20:19:29 thought so Apr 03 20:22:08 bottomsheet != bottom nav Apr 03 20:31:58 I need to decide on my package name before I put a beta in the play store Apr 03 20:32:08 problem is: i'm super uncreative lol Apr 03 20:32:19 do you own the domain associated with your package name? Apr 03 20:33:09 You should, but it's not a requirement. Apr 03 20:33:32 is com.google.my_awesome_app appriopate? Apr 03 20:33:48 i see some people use com.github.packagename Apr 03 20:34:20 i mean com.github.username.packagename Apr 03 20:34:48 but yeah, I should just buy a domain, then use the package name for all my future projects Apr 03 20:35:24 RustyShackleford: could use github pages as well Apr 03 20:35:46 i don't intend to have a website associated with this project Apr 03 20:38:32 I need something cutting edge like cutco or interslice Apr 03 20:40:15 Too bad someone's already taken http://www.sharp.com/ Hell, not even the http://www.sharpusa.com/ company. Apr 03 20:42:33 nobody got the simpsons reference lol Apr 03 20:42:46 oh wait i know, flancrestenterprise! Apr 03 20:44:10 https://github.com/EnterpriseQualityCoding/FizzBuzzEnterpriseEdition Apr 03 20:45:45 is there a class that makes this easy? take a picture at a regular interval and perform a function on each picture? Apr 03 20:45:57 Ashiren: hah haven't seen that in a while Apr 03 20:50:41 TIL about View#cancelPendingInputEvents() Apr 03 20:52:08 Hey Apr 03 20:52:27 My prieview in android is coming out with the right resolution. Apr 03 20:52:41 I'm setting it but it's just not sizing anyone have any clues... this is a new installation Apr 03 20:52:44 my computer crashed. Apr 03 20:54:51 RustyShackleford: I got it but thought the Japanese reference was just as funny (not much, lol). Apr 03 20:57:51 The panama papers are crazy. Apr 03 20:57:53 Ok.... this gets weirder.. Apr 03 20:57:59 wrong channel Apr 03 20:58:02 FUCK THIS LAPTOP Apr 03 20:58:27 Ok so my text is too large on the preview.... on the android emulator...... but text size is ok on actual device. Apr 03 21:00:31 TinFury: maye the device is set to make fonts smaller Apr 03 21:00:38 check the settings Apr 03 21:00:51 check the setting on the device.. Apr 03 21:01:00 Everything was working and all were the same Apr 03 21:01:05 Before my computer crashed. Apr 03 21:09:02 justJanne still there ? Apr 03 21:09:09 yup Apr 03 21:09:37 justJanne this is what i wound up doing. its not themed yet though Apr 03 21:09:40 http://imgur.com/a/3nasg Apr 03 21:10:28 interesting solution. Apr 03 21:10:31 i may switch the linear progressbar to a radial one, and on large devices use SlidingPaneLayout instead of NavigationDrawer Apr 03 21:10:41 I’d have put the devices to the bottom, though Apr 03 21:10:47 that way, all the icons can peak out Apr 03 21:11:21 justJanne yeah i have tried both, maybe i'll do that. but since its the most common destination i put them first, settings was least important so on bottom Apr 03 21:11:25 but yeah, still thinking about it Apr 03 21:12:46 the NavigationView is just in a CoordinatorLayout + bottom sheet behavior Apr 03 21:29:30 OK I fixed that... now in android studio API 23 will show a preview of layout.... All other API's show nothing. Apr 03 22:10:33 can I use build varients to provide two implemenations of the same class? Apr 03 22:11:06 a CustomClass for each flavor, same interface but a different implementation? Apr 03 22:15:16 yes Apr 03 22:15:27 see u2020 for example Apr 03 22:19:55 Does Androids implementation of String.subString(...) create a new string ? Apr 03 22:29:27 pfn: not sure how this works. Lets say I only provide another implementation of CustomClass Apr 03 22:29:42 will it use the implementation for all my other classes from the main flavor? Apr 03 22:37:33 RustyShackleford, see u2020 Apr 03 22:38:06 pfn: sure i'm looking through the project. Apr 03 22:38:23 lol top comment https://www.reddit.com/r/Android/comments/4d5siz/sunday_rantrage_apr_03_2016_your_weekly_complaint/ Apr 03 22:39:19 seems like a yes but I suppose i'll have to try it for myself Apr 03 22:41:30 wth the Taliban had an app on Play Apr 03 22:43:16 g00s: I wonder what features that includes Apr 03 22:43:22 self destruct? LOL Apr 03 22:43:42 okay that was in poor taste Apr 03 22:45:25 "Suicide bombings have never been easier, thanks to the new Taliban app! Just install it from the play store and have a blast" Apr 03 22:45:56 RustyShackleford: welcome to the list Apr 03 22:47:07 i was probably on the list already anyway Apr 03 22:48:38 LOL, imagine if batteries had storage capacity of a gallon of gasoline. Apr 03 22:49:06 All the hardware protections to prevent this pocket-sized car battery from killing you. Apr 03 22:49:43 Actually, not even. More like several times that many car batteries for a gallon of gas. Apr 03 22:49:55 gasoline is extremely flammable Apr 03 22:50:16 I learned this one 4th of july after quite a bit of alcohol. Not my brightest moment Apr 03 22:50:36 LOL, try charcoal starting fluid Apr 03 22:50:36 the combustion engine didn't give you any hints? Apr 03 22:50:37 1/4 gallon of gas made flames that were 10 feet high lol Apr 03 22:50:44 That's a fun experiment my uncle tried Apr 03 22:50:59 Tree above the grill had dried leaves. Mom wasn't exactly impressed. Apr 03 22:51:28 Well that's not totally true... you need air too. Apr 03 22:51:37 ;) Apr 03 22:52:25 An almost empty can being more dangerous isn't just an urban myth. Apr 03 22:52:39 It's precisely how fuel-air weapons work. Apr 03 22:52:49 * alphamule makes a spud cannon Apr 03 22:52:56 :) Apr 03 22:53:03 those are fun Apr 03 22:53:06 hair spray Apr 03 22:53:16 Oh wait, #Android-Dev Apr 03 22:53:21 you wouldn't think it could launch a potato 1.5 city blocks Apr 03 22:53:25 Not #hardware-dev Apr 03 22:53:42 explosions are relevant in any channel Apr 03 22:53:53 You wouldn't think it would scare the shit out of your neighbors 2 blocks away. haha Apr 03 22:54:06 Since only 1.5 blocks... Apr 03 22:57:05 Hey, I am debugging a bluetooth accelerometer in my app and I really suck at visualizing angles... Is there any lib that can help me draw some shape in 3d with euler rotation without messing with opengl? Apr 03 22:58:02 All I need is to rotate a 3d arrow/vector... I don't want to mess with UV/meshes/matrices/rendering engines Apr 03 23:00:26 look for some vector math calculators Apr 03 23:01:12 rotation matrices visualizer, something like that Apr 03 23:01:53 dimitrovskfi, in OpenGLES, isn't that just glRotate? Apr 03 23:02:21 Ologn: No idea, never used opengl... Do I need a separate activity for opengles view? Apr 03 23:02:33 http://developer.android.com/reference/android/graphics/drawable/RotateDrawable.html Apr 03 23:02:50 http://developer.android.com/reference/javax/microedition/khronos/opengles/GL10.html#glRotatef%28float,%20float,%20float,%20float%29 Apr 03 23:03:04 isn't rotatedrawable 2d? Apr 03 23:03:33 glRotatef is 3d Apr 03 23:03:39 You can also use a complex number library and just use the textbook equations. Apr 03 23:05:25 dimitrovskfi, download the API Demos app on Play, or look in android samples and compile it yoursekf Apr 03 23:05:44 Go to graphics -> opengles Apr 03 23:05:52 It has lots of rotation examples Apr 03 23:10:37 Ologn: Can I put glsurfaceview inside relativelayout? Apr 03 23:12:22 dimitrovskfi, yes Apr 03 23:31:46 hah, how long is it since I logged into Google Wallet? I sold 3 copies of my app last year and I didn't even know! Apr 03 23:34:08 lol Apr 03 23:34:19 u dont get email reports? Apr 03 23:35:28 maybe gmail marked them as spam :) Apr 03 23:35:44 that would be something lol Apr 03 23:38:26 my merchant account is screwed anyway - I registered it as in the UK, back when you could only sell apps from a few countries, but my business entity and I are actually in Hong Kong... I make an effort to avoid being a UK taxpayer, I'm not going to start again for $3 in apps Apr 03 23:38:49 hey, how come you can't upload video on a form-upload? Apr 04 00:01:42 CedricBeust how is kobalt going Apr 04 00:02:14 Great, getting better every day :) Apr 04 00:13:27 CedricBeust will you introduce it to your workplace as replacement for whatever they have now ? Apr 04 00:25:18 in my project I can reference design library's @dimen/design_navigation_max_width from the support lib, but its not in its list of public values. how is that possible .. Apr 04 00:25:52 g00s pretty sure public value just effects auto complete Apr 04 00:26:03 if i remember right from the android backstage where they talked about it Apr 04 00:26:22 or...that they arnt enforcing it yet Apr 04 00:26:26 * jug6ernaut cant remember Apr 04 00:26:29 ah ok thx Apr 04 00:30:20 i'm playing with immersive mode (sticky), i'm afraid users can be easily lost and don't remember they have to swipe from the top of the screen to below to make the nav bar appears to leave Apr 04 00:33:51 adq for some reason why I tried it, i didn't get that helper / learning overlay they show Apr 04 00:34:02 it did for me, but once Apr 04 00:34:10 yeah should just be once Apr 04 00:34:18 but i can't seem to ever get it Apr 04 00:34:26 maybe it depends on the device API Apr 04 00:34:38 6.0 , dunno Apr 04 00:34:45 i got it on 6 Apr 04 00:43:35 https://imgur.com/5RcxnbF Apr 04 00:43:45 I've always wondered if this person works on the Gmail team Apr 04 01:18:04 Gallery2 app depends on 'com.googlecode.mp4parser', but I can't figure out which version Apr 04 01:18:10 any advise? Apr 04 01:23:23 pfn: I guess you spent some time with android sources. May you advise on how to find app dependency's version? There is 'mp4parser' dep in Android.mk inside Gallery2 source dir. But no version info Apr 04 01:32:49 vigilancer, it's bundled in aosp Apr 04 01:33:15 pfn: where can I find it? Apr 04 01:33:50 maybe there is some common place for bundled dependencies in aosp sources Apr 04 02:06:56 vigilancer: $AOSP_ROOT/external/mp4parser Apr 04 02:09:26 lear2grep Apr 04 02:09:38 <- learN to write Apr 04 02:16:14 adq: backfire :P Apr 04 02:16:21 :') Apr 04 02:16:30 adq: but yeah you're right.. lol Apr 04 02:39:53 is there an easy way to get a Application context from anywhere? Apr 04 02:40:13 public static MyApplication getContext() Apr 04 02:43:16 well obviously you can get it from a regular context ;) Apr 04 02:43:34 which tend to wind up almost everywhere anyhow :D Apr 04 02:54:30 not this class. I suppose I can figure out how to pass it one Apr 04 02:55:02 i have two build flavors, mockData and realData. The realData flavor doesn't need a Context in this class, but the mockData one does Apr 04 02:55:20 can I use IntrumentationRegistry outside the test package maybe? Apr 04 02:58:42 Anyone familiar with Android so input subsystem? I have a USB keyboard dock for my tablet and it has a track pad on it that I want to disable but there seems to be no simple way to do it in software. **** ENDING LOGGING AT Mon Apr 04 02:59:58 2016