**** BEGIN LOGGING AT Sat Dec 26 02:59:58 2015 Dec 26 03:15:00 plz any help Dec 26 03:15:42 fucking logcat is useful about 2% of the time for me. i run my app, it crashes, i get FUCK ALL in logcat. NOT A FUCKING THING Dec 26 03:16:16 ive been trying to fix a fucking bug for 3 days and the only nfucking thing i have is printf and 98% of the time i dont get a fucking think in logcat Dec 26 03:29:10 Using Picasso to load images in my recyclerview in onBindViewHolder(). If I load with just Picasso.with.load.into, my views show up, but if I add .fit() and .centerCrop, none of my views show up in the recyclerview Dec 26 03:29:21 any ideas why? Dec 26 03:31:44 mark4: Try breakpoints? Dec 26 03:32:42 Also, if you don’t get anything from logcat, it’s entirely your fault: log more Dec 26 03:34:08 in my assembler code? Dec 26 03:34:28 no. im sending shit to logcat. its just almsot always NOT displayed Dec 26 03:35:10 run app, app pukes out 50 or more logcat messages but crashes... none of the logcat messages were processed before the crash therefore none will be processed after it Dec 26 03:35:26 its like queue up messages.. oh it crashed, flush queue Dec 26 03:35:45 all the fucking debug printfs are in the data that just got flushed or something Dec 26 03:36:56 Ill-advised or mistaken usage of a core class (java.* or javax.*) Dec 26 03:36:57 Any ideas plz / Dec 26 03:37:00 ? Dec 26 03:37:03 What's this error about, never come across it before Dec 26 03:38:16 I try do dump phonesubinfo from My App, But i got error msg like this " permission denial can't dump phonesubinfo from from pid=4907 uid 10064 " Dec 26 03:38:37 So how I can call dump phonesubinfo from My App ? Dec 26 03:48:49 Any Help plz ? Dec 26 03:52:24 How I can Run dump iphonesubinfo from my app ? Dec 26 03:52:32 What I need to set ? Dec 26 03:56:21 Can any one help me to get imei from ndk plz ? Dec 26 03:58:49 Um so a general RecyclerView question...the items im loading in my rv are ImageViews with a specified width/height of 150 each. In my onBindViewHolder() im logging the viewholders dimensions with viewholder.imageview.getWidth() etc...why are both dimensions printing 0? Dec 26 03:59:18 shouldnt they be the same dimensions I specified in the items layout? Dec 26 04:19:11 tools:showIn="@layout/activity_my” <—— what is “showln”? Dec 26 04:22:29 jackcom: pretty sure it allows you to edit an included layout in the design tab Dec 26 04:22:55 yeah i don’t know Dec 26 04:23:17 i think that http://developer.android.com/training/basics/firstapp/starting-activity.html is very confusing to me Dec 26 04:23:22 how can i do? orbyt_ Dec 26 04:23:43 jackcom: do what Dec 26 04:23:55 there is another tutorial? Dec 26 04:24:07 jackcom: dont know what your asking mate Dec 26 04:24:22 android tutorial Dec 26 04:51:30 Any One with NDK PLZ ? Dec 26 05:00:35 http://www.amazon.com/Android-Programming-Nerd-Ranch-Guide/dp/0134171454/ref=sr_1_2?ie=UTF8&qid=1451106025&sr=8-2&keywords=android Dec 26 05:00:40 this book is good? Dec 26 06:53:52 do you root your personal phone? install custom roms? Dec 26 07:15:36 i always root my phones Dec 26 07:22:40 roms? i'm getting very tired of touchwiz Dec 26 07:22:48 and verizon/samsung bloatware Dec 26 07:33:09 tools:context=".QuizActivity"> <—— what it is mean : .QuizActivity Dec 26 07:35:21 what is ‘.’? Dec 26 07:44:58 the 'root' of your app's package Dec 26 07:45:33 you could use full 'path; like omg.lol.QuizActivity Dec 26 09:06:06 SEVERE: Error executing command: /usr/local/android-sdk-linux/build-tools/23.0.2/aapt remove /home/savadkuhi/selen/selendroid-test-app-0.17.0.apk META-INF/ANDROIDD.RSA Dec 26 10:17:08 i forgot why should i init adapter in onCreate? or it does not matter? Dec 26 10:55:51 hello Dec 26 10:57:00 'ello. Dec 26 10:57:20 I'm trying to stop my activity from rotating. Dec 26 10:57:45 I got android:screenOrientation="portrait" Dec 26 10:57:45 android:configChanges="keyboardHidden|orientation|screenSize" in my manifest Dec 26 10:58:01 And @Override Dec 26 10:58:01 public void onConfigurationChanged(Configuration newConfig) Dec 26 10:58:01 { Dec 26 10:58:01 Dec 26 10:58:07 in my activity.. Dec 26 10:58:21 But it still rotates. Dec 26 10:59:04 Anyone got any ideas how to stop it from reloading/rotating? Dec 26 11:04:50 is it ok to use version specific layouts? .. Dec 26 11:04:58 i was planning to use different styles for pre and post android 5.0 Dec 26 11:05:34 more like material theme for android 5 and above.. and holo otherwise Dec 26 11:12:53 According to the documentation at http://tools.android.com/tech-docs/new-build-system/build-system-concepts, sources in any flavor can reference each other. But, I'm seeing the opposite is true. What's going on? Dec 26 11:19:43 Hi everyone. I am having problem with the AS APK Generator ... I can not seem to even attempt typing in a password.. it keeps on saying " Cannot load key store : Keystore was tampered with, or password was incorrect " Dec 26 11:19:58 im pretty sure I am typing the right password Dec 26 11:20:06 Well I can not even choose one soo Dec 26 11:22:49 pratham, I don't see why not. I personally stick with material design for all versions of android, but I do have some version specific overrides in one of my apps, namely the use of a shadow drawable to address the lack of elevation in versions prior to lollipop Dec 26 11:25:08 I didn't know its possible to use the Material theme in all versions.. or do you use some external library rymate? Dec 26 11:27:55 The app is not published yet. Could I get away with creating a new API Key? Dec 26 11:28:07 I mean AOK key Dec 26 11:28:11 APK -.-` Dec 26 11:28:39 pratham, google provides a support library that backports some material design components to android 4.4 and below http://developer.android.com/tools/support-library/features.html#v7 Dec 26 11:29:12 cart_man, should be fine, just don't lose the APK key again :p Dec 26 11:29:16 hmm, I see, someone just told me that. Dec 26 11:29:52 but it misses some things Dec 26 11:30:40 so you were saying that the support library doesn't have the shadow in material design needed to depict elevation? right? and your implemented that yourself in older versions? Dec 26 11:31:06 yeah Dec 26 11:31:59 I see :) thanks for mentioning it rymate Dec 26 11:32:20 rymate1234: Well actually I do have the password. I just dont know why it does not work Dec 26 11:33:28 cart_man, yeah, I don't either Dec 26 11:33:35 unless the keystore got corrupted somehow Dec 26 11:34:15 rymate1234: Ok but can I just remove the current APK on the App profile and replace it or will that be a no go? Dec 26 11:35:03 I honestly wouldn't know Dec 26 11:35:09 never had this happen before :/ Dec 26 11:50:31 Ghez Dec 26 11:50:36 Its not that my password was wrong Dec 26 11:50:47 was the master keystore -.- ...FML Dec 26 12:03:34 hello, how can i make statement in the xml? Dec 26 12:17:08 jackcom, what do you mean? Dec 26 12:17:43 danijoo: python make statement as ‘//‘ and xml? Dec 26 12:17:54 what do you mean with statement Dec 26 12:18:25 python make statemet as ‘//‘ or ‘/*….*/’ Dec 26 12:18:38 how xml make statement? Dec 26 12:18:41 do you mean a commeny? Dec 26 12:18:43 comment Dec 26 12:18:50 yeah Dec 26 12:18:52 comment Dec 26 12:18:57 not statement Dec 26 12:18:58 ok Dec 26 12:19:30 http://bfy.tw/3S3p Dec 26 12:21:09 Dec 26 12:21:12 thanks Dec 26 12:21:30 thats not correct but you are welcome :p Dec 26 12:21:43 what is it then? Dec 26 12:27:45 -- Dec 26 12:40:56 Hey everyone. Would anybody happen to know if there's any agreed on travel distance for a material design bottom sheet to hide on an up-to-down motion? Dec 26 12:41:16 Like, a percentage of screen, of the sheet itself or something? Dec 26 13:05:40 mixedCase, dont think so. if yes, is in the official material design guidelines Dec 26 13:17:22 Unfortunately not. I pulled a equation out of me arse and I'm going to roll with that, but this would be something nice to have in the spec. Dec 26 13:18:22 Hi, im trying to figure out how i can properly filter intents by mimetype when the scheme is http. Any idea? using in combination with doesnt seem to work :/ Dec 26 13:50:43 do apps work on kindle tablet the same? Dec 26 14:03:06 hi all Dec 26 14:06:48 guys what that could mean? Dec 26 14:06:48 Error:Cannot set the value of read-only property 'jniFolders' on task ':android:packageDebug'. Dec 26 14:45:49 i have an listview Dec 26 14:46:08 how i can set data to the onclicklistener Dec 26 14:46:10 ? Dec 26 14:46:31 the listener is an anonymous class, no? Dec 26 14:46:48 pass it through the constructor? iirc java has no concept of lexical closures, right? Dec 26 14:47:11 i dont know what you mean Dec 26 14:47:20 i dont really good speak english Dec 26 14:47:28 can i paste the full code? Dec 26 14:47:55 fps, of course it does Dec 26 14:48:06 moment, i paste the code Dec 26 14:48:26 snooky: you can access a local variable declared as final in the surroiunding scope Dec 26 14:48:33 http://stackoverflow.com/questions/362424/accessing-constructor-of-an-anonymous-class Dec 26 14:48:40 pfn: i misremembered :) Dec 26 14:48:42 http://nopaste.linux-dev.org/?907611 Dec 26 14:49:32 line 161 tempdata2[1] i need on onclick Dec 26 14:51:15 note that you might get lifetime problems anyways. the activity might go away while the asynctask is still running Dec 26 15:06:33 when i click on the listview element the tempdata[2] must go to the new activity Dec 26 15:09:51 http://paste.ofcode.org/eGTSRPEmmBqvnWFekxKPff <—— i don’t know ‘QuizActivity.this’? Dec 26 15:11:43 Can the original Nexus 5 run 6.0? Dec 26 15:12:45 yes Dec 26 15:13:19 pfn: help me Dec 26 15:13:27 pathPattern is driving me nuts -.- why does .nomedia match pathPattern="*myending" doesnt make sense Dec 26 15:32:27 path pattern doesn't work for local files Dec 26 15:32:37 read the docs Dec 26 15:33:22 well, I suppose it can Dec 26 15:33:29 if you set * for host Dec 26 15:40:39 I'm trying to use a NotificationListenerServer, but onListenerConnected() is never being called. Dec 26 15:41:03 I'm new to Android development, so it's probably something obvious Dec 26 15:41:28 I'm calling `startService(new Intent(this, NotificationListener.class));` Dec 26 15:42:36 can anyone help? Dec 26 15:43:07 onStartCommand() is being called, but not onListenerConnected() Dec 26 15:44:10 your app doesn't have permission to listen? Dec 26 15:44:37 I put `android:permission="android.permission.BIND_NOTIFICATION_LISTENER_SERVICE"` in the manifest Dec 26 15:44:48 in the service tag Dec 26 15:47:20 you need to enable the listener from settings Dec 26 15:47:36 how? Dec 26 15:47:36 and you don't start service a notification listener yourself Dec 26 15:47:44 I don't see it anywhere Dec 26 15:47:51 you don't? Dec 26 15:47:56 how does it get started, then? Dec 26 15:48:08 settings > sound & notification > notification access Dec 26 15:48:21 the system starts it if your listener is enabled in settings Dec 26 15:48:26 ohhhh Dec 26 15:48:41 everything I read was outdated, I guess, and said it was under "Security" Dec 26 15:48:55 changes depending on platform Dec 26 15:48:59 and oem Dec 26 15:49:21 you usually should launch it from your app as part of setup, the settings intent Dec 26 15:49:32 I don't know what it is for notification listener though Dec 26 15:50:42 look at intents in android.provider.Settings Dec 26 15:51:16 what do you mean? Dec 26 15:51:20 "as part of setup"? Dec 26 15:51:24 where's that? Dec 26 15:55:28 as part of your app's initial setup when you launch it Dec 26 15:56:03 prompt the user to enable your service and launch that intent Dec 26 15:56:11 where does that go? Dec 26 15:56:15 again, I'm very new to this Dec 26 15:56:27 the setting I pointed you to Dec 26 15:57:13 what do I do with that class? Dec 26 16:17:44 Hello. Dec 26 16:17:57 ohai Dec 26 16:18:16 Anyone knows if using Cordova and a self-signed SSL certificate on the server, whether I would get a security prompt on the client or not? Dec 26 16:18:52 More specifically, I am using the ionic framework (which in turn uses Cordova). Dec 26 16:18:54 you don't get security prompts Dec 26 16:19:02 just failure Dec 26 16:19:20 So even worse than what happens on Chrome for windows, for example? Dec 26 16:32:10 I thought I was getting a detective show called The Professionals, but oh well I guess I'll binge watch a season of a cooking competition show called The Professionals ;) Dec 26 16:35:28 masterchef the professionals? Dec 26 16:35:35 yes Dec 26 16:35:43 good stuff Dec 26 16:35:45 with chef Marco Dec 26 16:36:10 yeah I'm hooked, can't stop watching lol Dec 26 16:46:31 Rashad, Cordova is not chrome Dec 26 16:46:48 I understand. Dec 26 16:48:04 so, i guess generally speaking, it would not be possible to have a collapsing toolbar scenario when the main content to scroll is a PreferenceFragment ? (listview not implementing nested scroll things), etc Dec 26 16:49:18 g00s, extend and implement nested scroll yourself Dec 26 16:49:32 or relegate yourself to it collapsing only on 21+ Dec 26 17:14:44 pfn in cheesesquare app , the viewpager gets app:layout_behavior="@string/appbar_scrolling_view_behavior" ... is the ViewPager then handling the nested scrolling behavior, or the RecyclerView in the VP ? Dec 26 17:15:47 (The ViewPager has several fragments which have RecyclerViews) Dec 26 17:23:48 appbarlayout handles. scrolling behavior Dec 26 17:24:19 coordinatorlayout intercepts nested scrolling callbacks Dec 26 17:26:06 well, to be clearer, the behavior is what handles scrolling Dec 26 17:30:10 pfn so the CoordinatorLayout sees the scrolling, and then tells the child - ok go scroll by this amount ? Dec 26 17:30:18 (NestedScrollingChild) Dec 26 17:30:35 no, it tells the behavior that a scroll or view changed Dec 26 17:30:50 the behavior acts upon it Dec 26 17:32:53 in the case of appbarlayout, the behavior tells it to expand or collapse Dec 26 18:09:41 what is all this about? http://pastebin.com/yVm4Dt9A Dec 26 18:30:44 why would my main activity not be on the dex path? http://pastebin.com/yVm4Dt9A Dec 26 18:46:50 Anyone know what kind of tiem frame / eta there is for publishing to Android TV? Specifically the review time. Dec 26 19:01:34 drinfernoo using multidex ? Dec 26 19:05:07 g00s, i was trying to enable it just in case, but ive been getting that error intermittently whether i have it on or not Dec 26 19:05:35 i turned it off and did a clean build and was finally able to get back to my app Dec 26 19:12:39 next question, i have two floating action buttons (yea i know), but no matter where i touch, they get ripples Dec 26 19:12:51 in the whole fragment Dec 26 19:13:07 why? Dec 26 19:17:56 also, i havent assigned touch listeners to anything Dec 26 19:18:08 theyre inside a coordinatorlayout if that matters Dec 26 19:26:43 drinfernoo lol 2 FABs, is 2 too many :D Dec 26 19:27:35 3 Dec 26 19:27:52 g00s: Got my new laptop. Quad-core i7. :D Dec 26 19:27:59 Extremely high resolution, though. Hard to get used to. Dec 26 19:28:07 TacticalJoke which one !? Dec 26 19:28:16 An HP running Windows 10. Dec 26 19:28:50 nice TacticalJoke , now i'm the only one left with slow computer :P Dec 26 19:29:33 This has only 8GB RAM, but I've heard it should be enough for Android Studio and such (which I'm installing right now). Dec 26 19:32:14 what inch and resolution Dec 26 19:34:39 g00s, ive heard that but its my use case lol Dec 26 19:35:35 drinfernoo why not do split action bar, like Google Keep? i can't ever think of a good reason for 2 FABs, EVARRRRR Dec 26 19:36:47 Ashiren: A 15.6" screen with 1920x1080. Standard resolution, I guess, but new to me. Dec 26 19:38:11 someone hasn't used a retina display Dec 26 19:38:20 or 4K Dec 26 19:40:07 I'd like a 4k display, but being limited to 30hz sucks Dec 26 19:40:44 I. want to try out that dell ultrasharp that's like 2440p, and see how it affects my limited gaming Dec 26 19:40:46 FHD in 15.6" is ok, more would be meh Dec 26 19:43:13 Oh, 1440p, u3415w Dec 26 19:43:17 so.tempting Dec 26 19:53:37 is it worth it to install custom roms? I'm just nervous about things not working correctly Dec 26 19:53:55 I'm considering that or just a factory reset. My phone has gotten so much slower Dec 26 20:03:56 hi guys Dec 26 20:04:07 why there is nothing for ATT galaxy s6 phone? Dec 26 20:26:31 g00s: Things are quite a bit faster. The emulator is still not snappy, though (even with HAXM). Dec 26 20:43:38 RustyShackleford, your phone will be faster, but more of because you basically did a factory reset. Unless you are looking for a specific feature, speedwise there isn't much benefit changing to a custom ROM. Clean up your storage, remove apps that run constantly that you don't need. Dec 26 21:21:47 hi there , How can I load very tall images into imageview efficiently ,like 9GAG? Dec 26 21:23:09 is it OK to have a CoordinatorLayout inside another Coordinator Layout (not directly) - in order for this fragment to work correctly it needs a CL, but I don't want to assume the parent has one Dec 26 21:26:01 TarekMA: try library, Picasso or Glide, for that Dec 26 21:26:45 Ashiren: How Picasso will help ? Dec 26 21:27:37 i assume using library dedicated for images is better than rolling own solution Dec 26 21:29:46 Ashiren ok but AFAIK picasso will lode the whole image Dec 26 21:34:22 TarekMA: you could also try this https://github.com/davemorrissey/subsampling-scale-image-view Dec 26 21:36:32 Ashiren thank you so much :) Dec 26 21:37:03 g00s, lolwut Dec 26 21:44:49 Something I'm not understanding about tasks. If I have application A sends an intent to application B which starts a new activity, by default, is that in application's A task, or does that begin a new task? Dec 26 22:09:03 hello Dec 26 22:19:04 can you use Immersive Mode with CollapsableToolBar? Dec 26 22:19:28 i guess everything in the AppBarLayout should hide Dec 26 22:31:15 odd use Dec 26 22:41:19 hey g00s Dec 26 22:58:58 Hi, doing a coursera course in android, So It requires I start an activity by pressing a button. My question, is there a way to do it which does not require an extra permission flag? Dec 26 22:58:59 http://pastebin.com/knPZE6A4 Dec 26 23:11:15 can you formulate a uri as a join? is that possible? Dec 26 23:12:08 I want all rows in ContactsContract.CommonDataKinds.Phone and for each if there is a match in ContactsContract.CommonDataKinds.Email add it to the row Dec 26 23:13:36 okamis_: what extra permissions did they demonstrate? Dec 26 23:14:18 morenoh149: Calling startActivity() from outside of an Activity context requires the FLAG_ACTIVITY_NEW_TASK flag. Dec 26 23:16:11 don't see that here https://developer.android.com/reference/android/Manifest.permission.html Dec 26 23:17:44 http://stackoverflow.com/questions/3689581/calling-startactivity-from-outside-of-an-activity Dec 26 23:18:02 my bad assuming a permission flag Dec 26 23:18:37 Given this is a beginner course Im quite sure they expect me to start the activity without using flags Dec 26 23:19:00 Thank you for the help, I know where I can find the solution im looking for Dec 26 23:24:53 is it necessary to put a "return" statement after called "finish()"? Dec 26 23:26:21 gopar: is it a void method? Dec 26 23:26:49 morenoh149, yups Dec 26 23:27:24 morenoh149, but it's being called in the middle of the method (in an "if" statement) not at the end of it Dec 26 23:30:51 using flags is not an advanced technique Dec 26 23:31:02 its very much beginner material Dec 26 23:31:44 but, using a service is beyond the scope of a beginner, and probably noyifications, common sources of starting an activity that way Dec 26 23:32:31 gopar, finish does not stop execution Dec 26 23:32:47 gopar, only flow control operqtors may do that, including return Dec 26 23:33:07 pfn, gotcha. sweet thanks for the answer \o/ Dec 26 23:34:29 anyone know why an ImageButton was used over a FloatingActionButton for the FAB in the Plaid app? Dec 26 23:58:12 right so if i'm using Dagger 2 what's the proper way to override my main (production) Module with a mocked Module for testing purposes? do I need to create a new Application + manifest for it? Dec 27 00:00:01 guess I need to read up more on how Dagger 2 works internally Dec 27 01:11:06 hi Dec 27 01:11:25 where is the soft boot feature implemented Dec 27 01:11:48 i want to remove it from my android build Dec 27 01:25:43 oh wow, PreferenceFragmentCompat is based on RecyclerView \o/ Dec 27 01:32:22 how would i determine the size in characters (both x and y) of a textview? Dec 27 02:03:23 Hello all Dec 27 02:03:37 Who knows all about NFC Dec 27 02:19:07 hope this is the right chan, i have a c++ process [c++11,14] on linux that I'd like to port to android. thoughts? Dec 27 02:22:52 pepperoni take a look at crystaX which supports c++11,14 https://www.crystax.net/en/android/ndk Dec 27 02:23:22 i haven't done c++ in the context of android, so i can't say much more than that though Dec 27 02:24:09 g00s: thnx, it's a start Dec 27 02:24:12 either way, fun times ahead :D Dec 27 02:29:14 crystax looks interesting, thnx for that link **** ENDING LOGGING AT Sun Dec 27 02:59:59 2015