**** BEGIN LOGGING AT Tue Jan 10 03:00:02 2017 Jan 10 04:38:39 When I created my project in android studio i chose for it to run on devices 4.0.3 and greater. But when I use devices with API 19 or less it crashes, and my minSdkVersion is 15 Jan 10 05:07:52 what's the stacktrace say Jan 10 05:15:57 hey guys i was testing creator.ionic.io and looks nice, someone know if exist some tool/gui like creator.ionic but that can be used offline? Jan 10 05:37:46 Hey does Picasso cache images in memory or on disk? Jan 10 07:06:58 Hi guys, I use a callback interface to communicate from my Fragment to my Activity. I use something like this in my Fragment: http://pastebin.com/L7uHg8wc does somebody know a way to do this once for all my Fragments? like inside a BaseFragment class? Jan 10 07:11:12 FrancescoV: you can do that in the base fragment as you're doing here Jan 10 07:11:30 * raoul11 thepooshes thepoosh Jan 10 07:11:35 and make sure that the activity implements the callback Jan 10 07:11:38 hi raoul11 Jan 10 07:11:43 going to TLV tonight Jan 10 07:11:56 ill alert the authorithies Jan 10 07:19:20 thepoosh, but I have like FragmentA & FragmentAListener interface, FragmentB & FragmentBListener interface Jan 10 07:22:58 FrancescoV: so you can't do that Jan 10 07:29:29 thepoosh, that's sad.. are you still using a callback interface for something like this or do you have another (modern) solution? Jan 10 07:31:20 FrancescoV: you can also make fragmentAListener and FragmentBListener implement the same interface Jan 10 07:31:27 and then abstract the listener as well Jan 10 07:31:50 but you should be aware that this pattern is not the best one for what you're doing Jan 10 07:32:09 and probably registering in the onStart and deregistering in the onStop is better Jan 10 07:34:26 thepoosh, thanks for the info! Jan 10 07:34:31 sure sre Jan 10 07:35:09 is this kind of oldschool programming style or not? Jan 10 07:35:16 FrancescoV: also, you can use any sort of MVP and make the presenter call methods in the activity as a result of a method call from the fragment Jan 10 07:35:55 I haven't used MVP before but maybe its a good idea to have a look at it Jan 10 08:18:49 <_vaibhavingale_> can we call the surface view from another apk? Jan 10 08:32:07 Can the APK detect if it was downloaded as Alpha, Beta or Production from Google Play Store? Jan 10 08:36:52 Zta77: no Jan 10 08:37:29 _vaibhavingale_: no, you can either use Intents or providers in order to touch someone else's code Jan 10 08:38:43 provided he made this available Jan 10 08:41:39 So, to properly have a large group of beta-testers test in-app purchases against a beta backend, I should in fact create two separate apps on Google Play e.g. com.example.myapp.beta and my production app com.example.myapp? Jan 10 08:42:28 hi Jan 10 08:43:23 homa_: Hi! =) Jan 10 08:43:32 hi Zta77 Jan 10 09:11:40 Where do I see all the warnings in my project? I get a list of all warnings and errors when the build fails, but when it completes I don't see a windows with warnings anywhere. Jan 10 09:11:53 ...in Android Studio Jan 10 09:12:56 I can see them in my Gradle Console but that view is crap. I want the table view. Jan 10 09:20:58 Zta77: if you set the build.gradle to fail on warning it will show you all of them Jan 10 09:21:05 there is also a "problems" tab Jan 10 09:22:30 How do I enable the Problems tab? Jan 10 09:24:33 My current hack is to make the build fail in purpose, then I get all the warnings Jan 10 09:24:49 :S] Jan 10 09:25:35 Zta77: in the lintOptions part of build.gradle Jan 10 09:25:51 add ignoreWarnings false Jan 10 09:26:00 and warningsAsErrors true Jan 10 09:26:08 and abortOnError true Jan 10 09:26:14 and run another build Jan 10 09:26:44 That part I can figure out. But I can't find a Problems tab. I see Messages, though. But again, this doens't show any warnings when the code builds. Jan 10 09:28:37 Never mind, I'll enable angry lint instead. This is basically what I want. Jan 10 09:29:00 Zta77: http://stackoverflow.com/a/17265000/1056359 Jan 10 09:29:08 that was a one minute search Jan 10 09:30:28 thanks Jan 10 09:30:49 :) Jan 10 09:30:59 may I request one search for me please Jan 10 09:31:24 squ: what can I search you for today? Jan 10 09:31:43 :) Jan 10 09:47:43 can you combine windowSoftInputMode adjustResize & adjustNothing ? like I want to keep one View inside my Activity in position and move another view with adjustResize.. Jan 10 09:50:28 FrancescoV: I always find keyboard issues frustrating. I don't think there's an easy anwer, but perhaps you could look into: 1) Add some views in a ScrollView so that it can resize when the keyboard pops up, and those views outside the ScrollView are either covered by keyboard or moved above keyboard. 2) CoordiantorLayour and behaviour events Jan 10 10:44:40 what sort of date object is this? "created_at": "2016-08-02T21:40:55.203812+00:00" Jan 10 10:57:13 raoul11: https://en.wikipedia.org/wiki/ISO_8601 Jan 10 10:57:59 yep thats it Jan 10 10:59:44 hi rao, hi squ Jan 10 11:00:09 good day Jan 10 11:17:30 what is best/most popular framework for javascript mobile apps ? Jan 10 11:20:01 react native Jan 10 11:26:27 hey fellas Jan 10 11:26:42 anyone have experience with ORMLite? Jan 10 11:27:20 I'm trying to have a table MedicationPill, which has in one of its fields Reminder, each MedicationPill can have many reminders Jan 10 11:27:46 I'm using @ForeignCollectionField for that member Jan 10 11:28:39 anyone tried this? Jan 10 11:30:28 kinda. what's your problem? Jan 10 11:32:59 So I'm trying to authenticate with google drive via oauth2, but everything just tells me that I need to create an oauth token. But not what to do with that token. In this sample application I can't even find where they use the Oauth token... Can someone tell me what I need to do with my token once I created it? Jan 10 11:33:58 you go to Google Developers Console Jan 10 11:34:07 and create an ouath2 token there Jan 10 11:34:10 on the web console Jan 10 11:34:13 I did create it. Jan 10 11:34:18 so now it has your package name Jan 10 11:34:21 now you can auth with it Jan 10 11:34:27 but how do I auth? Jan 10 11:34:32 from the code Jan 10 11:34:43 it will know that this package *can* go through and see the auth dialog Jan 10 11:34:48 listing emails available for authing Jan 10 11:34:53 otherwise you wouldnt get to that screen Jan 10 11:34:56 just keeps loading Jan 10 11:35:29 So it's enough that I created the oauth token and the client side requires nothing? Jan 10 11:35:50 just that you have the same package name as the one you used to create the hash which you gave the web console Jan 10 11:36:07 doesn't the client side require a user with a google account too? Jan 10 11:36:17 of course you have to have a user Jan 10 11:36:25 ahah a user is mandatory for sure Jan 10 11:37:09 so back to my question Jan 10 11:37:27 is *that* how you create a table which has a list of objects from another table as foreign key? Jan 10 11:38:11 yes Jan 10 11:39:01 cool Jan 10 11:39:06 I think. I'm also not that experienced with it. Don't forget to use http://ormlite.com/javadoc/ormlite-core/com/j256/ormlite/dao/BaseDaoImpl.html#assignEmptyForeignCollection%28T,%20java.lang.String%29 if you need to initialize it. Jan 10 11:41:24 Odaym, ah crap, I had a typo in my packaged name, refactored it, but apperently it didn't actually change my package name. So that might be the cause of my issue. Jan 10 11:41:36 yea for sure Jan 10 11:41:53 Thanks for the help, and btw, the account chooser still appears, but it returns RESULT_CANCELED if you use the wrong package name Jan 10 11:42:01 ah I see Jan 10 11:42:06 that's the Facebook one that doesnt even load Jan 10 12:05:46 should we use ContentProvider for application not sharing data Jan 10 12:06:03 who's we :P Jan 10 12:07:00 developers :P Jan 10 12:08:46 you mean should you use a Content Provider when you don't need to use Content Provider? Jan 10 12:09:06 yes Jan 10 12:09:16 but you don't need it, why would you use it Jan 10 12:09:23 when you need it, use it Jan 10 12:09:39 some existential shit right here Jan 10 12:10:37 for performance or cursor loaders Jan 10 12:10:38 :D Jan 10 12:11:33 i mean is it a best practice to use contentProvider Jan 10 12:11:39 you got a big smile from Mavrik Jan 10 12:11:43 something is very wrong it means Jan 10 12:12:34 rathodvikas10: you can make your own asyncloaders by extension Jan 10 12:12:38 check this video, https://www.youtube.com/watch?v=3d9BeWqlfTk Jan 10 12:12:39 rathodvikas10, it's best practice to use it when you need. Jan 10 12:12:42 It's not when you don't. Jan 10 12:12:52 ok ty Jan 10 12:12:59 works best with an orm library Jan 10 12:15:20 cool, apparently I don't have t o bother with constraintlayout since it's not available in sdk manager \o/ Jan 10 12:24:28 how can i properly navigate up to a parent activity? on the child activity, clicking the back button brings me to the parent but with all the views at default (which are set by loaders) Jan 10 12:27:17 is there a problem putting more than one TextInputEditText into a TextInputLayout? Jan 10 12:32:01 layout is for jumping up text Jan 10 12:35:47 yes, but my designer want's 2 of these tests in the same line Jan 10 12:35:55 I guess I'll make 2 Jan 10 12:35:56 :S Jan 10 12:36:03 do 4 Jan 10 12:36:25 1) edit 2) repeat Jan 10 12:36:33 yeah Jan 10 12:36:45 first attempt at this design lib Jan 10 12:37:00 does designer sees problem with that? Jan 10 12:37:32 nah Jan 10 12:37:38 it'll be fine Jan 10 12:37:45 I'm just trying to figure out how to use it Jan 10 12:37:52 he wanted 2 edits to jump up into 1 location? Jan 10 12:38:53 squ: http://imgur.com/yLeotV2 Jan 10 12:39:34 thepoosh: http://vpaste.net/CnYwE Jan 10 12:40:16 construction of 2 elements is single edittext Jan 10 12:40:39 doesn't make the hierarchy deeper? Jan 10 12:42:45 its from official tutorials :) Jan 10 12:43:08 thepoosh: http://vpaste.net/KBhPU Jan 10 12:43:52 for simplicity use the same color, but Hint color make darker (per guidelines ?) or designer thinks better Jan 10 12:43:54 so just 2 colors Jan 10 12:47:27 thepoosh: don't forget show what you got in the end Jan 10 12:47:28 :) Jan 10 12:51:30 working on it now Jan 10 13:01:40 hey Syzygy I did use assignEmptyForeignCollection() to start the collection for the parent object Jan 10 13:02:11 and inside I ran .add() to add the new objects to that collection and all that's fine, but the foreign object also has a foreign field inside, referring to the parent which it's foreign to Jan 10 13:02:46 so each Reminder has a medicationPill as its parent, now when I set that medicationPill parent Object to each Reminder, and then query for all reminders > medicationparentObject > I can only get its ID Jan 10 13:03:05 all else is null in that parent object, while in fact the parent object's properties are all initialised Jan 10 13:03:21 You might want to look at tutorials for that, I don't have my ormlite project available right now. Jan 10 13:03:36 In the worst case you could query the parent object by id. Jan 10 13:03:41 I think in Gray's answers on SO he says that only the foreignField_id generated by the library is set automatically, the rest is still null or unitialised Jan 10 13:03:50 that's true Jan 10 13:04:14 hey guys i was testing creator.ionic.io and looks nice, someone know if exist some tool/gui like creator.ionic but that can be used offline? Jan 10 13:08:15 no idea what you're asking SamSagaZ_ Jan 10 13:08:39 Odaym, ok Jan 10 13:08:45 :) Jan 10 13:08:57 try #ionic Jan 10 13:21:42 squ: http://imgur.com/zTnDhNB Jan 10 13:21:47 first iteration Jan 10 13:22:16 completely different from the first Jan 10 13:23:44 wut Jan 10 13:25:10 http://imgur.com/yLeotV2 Jan 10 13:25:19 oh, yes :( Jan 10 13:25:24 I suck at UI implementation Jan 10 13:25:32 but this is still only the first iteration Jan 10 13:26:24 zoom into cake icon Jan 10 13:26:26 :) Jan 10 13:28:48 first one's much better Jan 10 13:29:01 I mean second Jan 10 13:29:39 you still with the social app, thepootch? Jan 10 13:45:19 Odaym: yeah, still working @glide Jan 10 13:50:11 cool Jan 10 13:50:19 you guys saw this? https://kobiton.com/ Jan 10 13:50:29 like Google Cloud Test Lab Jan 10 14:11:57 how can i add an logo banner in my device settings Jan 10 14:12:05 ?!? Jan 10 14:12:37 i don't think you can Jan 10 14:12:49 last time i saw that was in 2011 with htc rom Jan 10 14:13:04 it was specific to htc only Jan 10 14:14:16 something that'll popup when you launch the device? Jan 10 14:14:19 instead of the Android one? Jan 10 14:14:47 Odaym: I've been thinking about pivoting to the windows mobile dept here Jan 10 14:14:59 adq, RR use this feature Jan 10 14:15:04 why in the world? Jan 10 14:15:15 master what you're already on Jan 10 14:15:44 been doing this for a while, need a break Jan 10 14:15:48 benlue, no clue what is RR but this channel is for app dev, what i mentionned about 2011 was to have a custom logo for your app in the settings Jan 10 14:15:49 maybe a new project Jan 10 14:16:00 i thought about trying iOS as a job, but my pay will suffer until I reach the same level I am with this pay Jan 10 14:16:10 not willing to do that, I got a wife to ...wifenize Jan 10 14:16:33 windows mobile is dead, until further notice Jan 10 14:17:20 Odaym: I got myself a wife to wefeneize and almost 3 kids to kidefy Jan 10 14:17:34 ah so you already did the thing Jan 10 14:17:38 I want to GET that wife Jan 10 14:17:40 still single Jan 10 14:17:51 yea you can afford to change and switch up Jan 10 14:18:14 oh, well, just got a mortgage Jan 10 14:18:18 not sure about my options Jan 10 14:18:19 :S Jan 10 14:18:30 Windows is probably dead by the majority, but I guess your company's Windows mobile department still have to make the Windows app Jan 10 14:18:42 I miss C# so much Jan 10 14:18:54 also, they are doing a mobile+desktop Jan 10 14:20:43 they (MS) are unifying all their form factor into a single entity Jan 10 14:20:54 but iirc it was officially (from MS themselves) dead Jan 10 14:20:58 (for the mobile part) Jan 10 14:21:06 yeah Jan 10 14:21:13 I don't care about the mobile part Jan 10 14:21:31 Odaym: I've been thinking about pivoting to the windows mobile dept here Jan 10 14:21:41 it's not the "MS" dept Jan 10 14:21:45 and not the mobile Jan 10 14:21:48 I was wrong Jan 10 14:21:51 lol not my words Jan 10 14:22:39 i'm "benchmarking" (not seriously but sufficiently) those dexOptions params Jan 10 14:22:44 and i see no differences at all atm Jan 10 14:23:28 does setText from code trigger an onTextChanged in the edit text's TextWatcher? Jan 10 14:23:44 seems no Jan 10 14:24:14 thepoosh: yay for C#! Jan 10 14:34:31 what is the default wallpaper location for Marshmallow/ Jan 10 14:35:30 /data/data/packagenameofyourwallpaper/ Jan 10 14:36:21 nothing in data Jan 10 14:36:39 in 5.0 it was in system/wallpapers Jan 10 14:37:09 adq, like this https://ujdaqa-sn3302.files.1drv.com/y3mB_JO2CBC8Ha0x3q-bWQAwI3OXRdjvX5qDk8JXKFmZHCOPmDK7LWZlaSJXMdGT_Fj43fofl7aCVgpl5iQcnC6ZFy9VyeDKyAW6EeeABdn-ZJIrqjYL9y25vI90EUhFYXM-m-gMB2s01wh8nb2wTk7lnzH8tbEm8eNiX1fOrjWvpo/Screenshot_20161126-180311.png?psid=1 Jan 10 14:37:23 i'm not going to click this link Jan 10 14:37:36 ReGi5tRaS, wrong channel then, this place is for app/wallpaper dev, not rom Jan 10 14:48:25 Hello everyone Jan 10 14:48:31 I've been trying to use webview in an android app Jan 10 14:48:36 I'm trying to start an activity and use overridependingtransition by clicking on a button in the webview Jan 10 14:48:44 but the animation seems to work once every 6 times or something Jan 10 14:48:49 any idea why ? Jan 10 14:51:05 AS/gradle is so fun: For faster builds, increase the maximum heap size for the Gradle daemon to at least 2560 MB (based on the dexOptions.javaMaxHeapSize = 2g). To do this set org.gradle.jvmargs=-Xmx2560M in the project gradle.properties. Jan 10 14:54:01 maybe it is oriented with the alignment of the galaxies Jan 10 14:54:04 it's like an eclipse Jan 10 14:56:22 i don't want to know ;) Jan 10 14:56:35 oh I was talking about zatchinabox's issue Jan 10 14:56:41 works once every 6 or so times Jan 10 14:56:59 well, it's quittin time Jan 10 14:57:02 /quit Jan 10 14:59:13 hey all, is there a way in ADB SHELL, to get a new IP address via the linux command line tools available in shell? Jan 10 14:59:47 my Android VM is having trouble getting a new IP from network, so thought I'd run manual on command line and then check with ifconfig. Jan 10 15:03:14 No one has ever stumble on that problem ? Jan 10 15:04:41 * raoul11 thepooshes thepoosh Jan 10 15:04:43 hi Jan 10 15:04:52 * thepoosh salutes Jan 10 15:05:15 thepoosh, image gallery inside a recyclerview item? Jan 10 15:05:29 posib le? Jan 10 15:06:00 yessir Jan 10 15:06:20 wait, mutiple images in a cell or a gallery of items displayed with a RV Jan 10 15:07:08 multiple images in one cell/item Jan 10 15:07:15 swipish Jan 10 15:07:34 wut Jan 10 15:07:40 don't understand the usecase Jan 10 15:07:55 one item/cell - multiple images u can swipe between Jan 10 15:08:05 i think that girl from genius covered it Jan 10 15:09:11 she covered nested scrolling Jan 10 15:09:17 and it's totally doable Jan 10 15:09:51 k ill bug u once i experiment a bit Jan 10 15:10:28 sure Jan 10 15:10:50 as long as the gallery does not scroll in the same direction as the RV, it should be trivial Jan 10 15:10:59 it doesnt Jan 10 15:11:14 swipes right/left and rv direction is top/bottom Jan 10 15:12:14 NestedScrollView is helpful Jan 10 15:13:18 also, each picture should take the entire cell/item width/height Jan 10 15:16:44 Do you guys know of any resources, where more than 2 phones connect over bluetooth? Specifically how they handle the UUIDs of the sockets? Jan 10 15:21:01 Hey everyone, I'm looking for a solution for passing data through an app installation, and had a few questions about the use of cookies Jan 10 15:21:32 Do cookies exist system-wide, or are they specific to the web browser app used? Jan 10 15:22:16 Ideally I'd have a browser link set cookies, and trigger app download/install Jan 10 15:22:35 And on registration within the app itself, it sends those cookie values back to our servers Jan 10 15:23:02 Does that sound like it would work? Are there any caveats for that use case? Jan 10 15:42:44 raoul11: you're coming to see me @google tonight? Jan 10 15:42:51 I'll bring my fancy dress Jan 10 15:43:08 as delightful as that sounds, thats a no Jan 10 15:43:18 YOU SUCK! Jan 10 15:43:22 kek Jan 10 15:43:46 going to the gym, then contemplate suicide and dinner Jan 10 15:50:30 thepoosh: can you please share a link Jan 10 15:50:45 to what? Jan 10 15:50:47 wanted to see you that time, but somehow missed the link etc Jan 10 15:50:56 to youtube Jan 10 15:51:00 or what Jan 10 15:51:06 sure Jan 10 15:51:08 sec Jan 10 15:51:51 squ: https://www.youtube.com/watch?v=QqmAXlrpmGs Jan 10 15:52:15 that Lesbian is there too? Jan 10 15:52:32 which one? Jan 10 15:52:34 and no Jan 10 15:52:38 zimmerman Jan 10 15:52:40 it's me and my boss Jan 10 15:52:56 forgot her surname Jan 10 15:53:02 ending with man Jan 10 15:53:02 :) Jan 10 15:53:08 Alice Jan 10 15:53:16 yeah Jan 10 15:53:18 where is she Jan 10 15:53:19 :) Jan 10 15:53:28 go to the websummit page Jan 10 15:53:56 you look to sexy near boss Jan 10 15:54:08 you like my balding head? Jan 10 15:54:14 more than his pony tail Jan 10 15:54:51 you make perfect balance to each other Jan 10 15:55:18 sad no lesbian on scene with you Jan 10 15:55:43 squ: you'll want to see a devils 3-way with me? Jan 10 16:00:13 wasn't Glide the image library Jan 10 16:00:35 how its video messaging app and image library at the same time Jan 10 16:01:28 (: Jan 10 16:01:35 thepoosh is a magician Jan 10 16:04:11 squ: different Glide Jan 10 16:04:18 one is bumptech Jan 10 16:04:21 other is glide.me Jan 10 16:06:55 if presentation had music playing in background, view counter could be better than 600 views from November Jan 10 16:07:10 Published on Nov 7, 2016. 597 views Jan 10 16:28:38 Morning. Is there any way, when debugging, to only step through project code - as opposed to framework code? For instance whenever a framework call is made running will resume until my own project code begins to execute again Jan 10 16:28:40 ? Jan 10 16:31:56 truckcrash: If you know the next place your code picks up at you could just put a breakpoint there and hit play Jan 10 16:32:37 this is some sort of checkbox in the debug view isn't it Jan 10 16:32:45 or maybe I'm thinking of Eclipse Jan 10 16:33:21 yiati, indeed this is true. I am looking at someone else's app though trying to understand it. so that solution wont work. Jan 10 16:33:37 missingno, I have not seen anything so far. I can take a closer look though Jan 10 16:34:19 truckcrash: Why would it not work? Jan 10 16:35:29 just don't step into when it goes outside of your app Jan 10 16:35:42 ^ Jan 10 16:35:45 the debugger is doing what you ask for after a breakpoint is hit Jan 10 16:35:54 so if you step into a framework call, this is working as intended Jan 10 16:35:56 adq, how do I get it to set a breakpoint every time it returns to project code? Jan 10 16:35:56 Stepover, instead of step into Jan 10 16:36:22 yeah step over Jan 10 16:36:39 truckcrash, i did not understand your question, are you asking how to set a breakpoint? Jan 10 16:36:53 that only works for calls into the framework. What happens when I reach the end of onCreate? I cannot step over into onStart for example Jan 10 16:37:28 i think you need to play a bit more with the debugger you will figure it out Jan 10 16:37:57 adq, sorry, no I understand breakpoints and stepping and general use of the debugger. Jan 10 16:38:08 best for you is to have surgical precision, and only set a breakpoint very close in your code to what you want to observe/debug Jan 10 16:38:10 Setting a breakpoint would work Jan 10 16:38:37 and I could certainly go about setting a breakpoint at every single point that framework code returned to project code Jan 10 16:38:47 but that would be labour intensive to set up Jan 10 16:38:59 you can always step out too Jan 10 16:39:17 if you feel that you want to get outside of a call Jan 10 16:40:40 If I keep using step-out after - for instance - an onCreate method, It will just navigate me up the the framework's application loop - then I have to navigate back down into my own code which is a pita Jan 10 16:42:04 All I am asking is if it is possible to automatically set breakpoints for _every_ time execution reaches project code Jan 10 16:42:04 How many possibly places can your code return back to after it finishes the framework call? Jan 10 16:43:13 Any of the lifecylce methods on all activities, fragments, services etc Jan 10 16:45:18 truckcrash: "Do not step into the classes" gives you a list of packages in "Preferences > "Build, Execution, Deployment" > "Debugger" > "Stepping" Jan 10 16:45:28 https://www.jetbrains.com/help/idea/2016.3/stepping.html Jan 10 16:46:21 If you're doing manual debugging though I would still do something like Base Activities/Frgaments/Services etc Jan 10 16:46:21 yiati, Ah thank you. I think that should work! Jan 10 16:46:31 then just put breakpoints where desired Jan 10 16:46:47 And/or logs Jan 10 16:47:14 Not a tons of places with inheritance Jan 10 17:04:23 Is there a way to start a beta test in the google store before releasing a production version? Jan 10 17:11:07 Syzygy, you just upload your apk in alpha or beta and publish it only there Jan 10 17:11:15 it's stated in the documentation Jan 10 17:16:24 hi Jan 10 17:17:51 Syzygy: There's not really any sense of prod vs stagin on the play store. Either it's up or not. Beta test will successfully filter out whoever you want though Jan 10 17:19:14 i am downcasting view into textview in a gridview.setOnItemClickListener but it is crashing my app while it was working for listview.setOnItemClickListener,why it is so? Jan 10 17:19:42 are you positive it’s a textview? Jan 10 17:20:18 yes Jan 10 17:20:32 post your stack trace Jan 10 17:20:50 class cast exception Jan 10 17:20:58 that’s saying it might not be Jan 10 17:21:03 post the whole stack trace Jan 10 17:21:22 ok wait Jan 10 17:21:25 and you’re sure the layout has been switched to a gridview? Jan 10 17:22:39 yes it is working fine Jan 10 17:22:51 but listener is crashing my app Jan 10 17:23:05 so that happens when you click on something Jan 10 17:23:29 yes when i click on any listview item my app gets crash Jan 10 17:23:53 We need a stack trace Jan 10 17:24:30 ok ok Jan 10 17:24:59 sub_zero: https://shop.spreadshirt.com/peterhoseyshirts/stack+trace+or+it+didn-t+happen+men-s+aa-A6739118 Jan 10 17:27:59 s73v3r http://pastebin.com/XAjT5GdH Jan 10 17:28:18 yeah, you’re casting the wrong view Jan 10 17:28:47 wrong view? Jan 10 17:29:01 yeah, you’re trying to cast a LinearLayout to a TextView Jan 10 17:29:32 so what should i do? Jan 10 17:29:42 look at your layout and your listener Jan 10 17:29:57 there’s a mismatch there Jan 10 17:30:59 if you need help with that, post your layout and your code Jan 10 17:31:23 ok wait please Jan 10 17:33:08 raoul11: I am so alone Jan 10 17:33:15 there are 100 women here Jan 10 17:33:17 ... Jan 10 17:33:19 and me... Jan 10 17:33:51 so you’re not alone Jan 10 17:34:12 hmmmm Jan 10 17:34:14 yeah... Jan 10 17:34:35 it is a metaphorical loneliness for the isolation he feels. Jan 10 17:34:45 i mean, you could talk to them Jan 10 17:35:00 nah, it's a meetup Jan 10 17:35:04 for women in tech Jan 10 17:35:06 s73v3r https://gist.github.com/anonymous/651d11fba17d168d02ff3eeb608bdbef Jan 10 17:35:22 and I'm here as part of the android academy community Jan 10 17:35:52 cool. so you have something in common to talk about Jan 10 17:36:04 sounds like an enjoyable event to me? Jan 10 17:36:09 sub_zero: take a closer look Jan 10 17:36:18 truckcrash: I really support the cause here Jan 10 17:36:23 so I'm happy to come over Jan 10 17:36:31 but it feel very uncomfortable Jan 10 17:36:32 what? Jan 10 17:36:37 what do you believe the View parameter is that’s being passed into your listener? Jan 10 17:36:44 thepoosh, fair enough. Jan 10 17:36:53 awkward nerds unite! (im one too) Jan 10 17:36:58 is it weird to use a PagerTabStrip midway in a page Jan 10 17:37:05 yeah... Jan 10 17:37:09 thanks buddy Jan 10 17:37:28 the awkwardness never goes away until you start talking to people Jan 10 17:37:35 view contains reference of the View ,the place where we click Jan 10 17:37:52 yup. and what’s the layout of that Jan 10 17:37:54 s73v3r: I am married with kids Jan 10 17:38:00 not very awkward in general Jan 10 17:38:03 Linear Jan 10 17:38:11 but this is a meeting by women and for women Jan 10 17:38:20 talking with someone is not a violation of marriage Jan 10 17:38:30 sub_zero: and yet you’re trying to cast that linearlayout to a textview Jan 10 17:38:41 thepoosh marrying kids is not illegal? Jan 10 17:38:51 god, you're all very good at misunderstanding Jan 10 17:39:17 oh Jan 10 17:39:19 thepoosh: i’m not telling you to try and pick anyone up. that kind of thinking is what tends to make things awkward, espeically at an event like that Jan 10 17:39:53 it's not awkward in any way other than me being the only guy in an all girl meetup Jan 10 17:41:48 I don't think that in and of itself is a reason to be awkward. They're all just people gathering to talk about tech things. ¯\_(ツ)_/¯ Jan 10 17:41:54 s73v3r thanks bro :) Jan 10 18:00:31 hello Jan 10 18:02:00 Is there a way to have two users on a windows computer and android studio but only one copy of the sdk? Jan 10 18:02:22 yes Jan 10 18:02:32 just keep ANDROID_HOME in a shared directory Jan 10 18:03:25 Right now does not matter what user i login as it asks me to update the sdk for both users. So right now i have two copies of the sdk on my hard drive taking more space Jan 10 18:03:48 meh Jan 10 18:03:55 hard drives are huge Jan 10 18:04:12 also, yasirfaheem_this is not an SysAdmin channel Jan 10 18:04:25 but if you keep the SDK in a shared dir it will work Jan 10 18:05:12 thepoosh - where do i find the android_home? Jan 10 18:05:28 in the environment variables Jan 10 18:05:31 which OS? Jan 10 18:05:31 it’s something you define Jan 10 18:05:50 windows 7 pro 64bit Jan 10 18:06:00 right click my omputer Jan 10 18:06:05 and chose manage Jan 10 18:06:20 there it has a environment variables Jan 10 18:07:03 oh ok Jan 10 18:07:08 will look there Jan 10 18:07:23 thanks for pointing me in the right direction Jan 10 18:18:13 anyone else get weird ClassCastExceptions on samsung devices Jan 10 18:18:24 like "class Foo cannot be cast to class Foo" Jan 10 18:18:34 it's like, yo Foo is Foo what is your prob Jan 10 18:19:22 ooo this is the vodafone s5 variant Jan 10 18:19:25 be strong thepoosh Jan 10 18:19:35 i got a stupid bug to fix Jan 10 18:19:39 raoul11: could've but you are not fucking here! Jan 10 18:19:46 ^^ Jan 10 18:25:09 Am I able to add any variables other than a text query to my top bar search widget? Jan 10 18:32:07 So I guess the cli sdkmanager is deprecated and not being worked on anymore? https://code.google.com/p/android/issues/detail?id=185638#c4 Jan 10 18:33:23 or is https://developer.android.com/studio/command-line/sdkmanager.html replacing "android sdk update" Jan 10 18:33:27 question mark Jan 10 18:33:54 not sure Jan 10 18:35:12 * yiati is so confused Jan 10 18:35:20 * yiati can't even Jan 10 18:38:03 thats odd Jan 10 18:39:02 just use android-sdk provided with android studio or standalone Jan 10 18:39:19 there is android executable that will manage versions and build tools and plugins Jan 10 19:17:37 i got an issue with SupportPlaceAutocompleteFragment -- it is a nested fragment inside another fragment, and for that i had to add it to the parent fragment with FragmentTransaction in the onViewCreated method. it works well, the setBoundsBias and the setOnPlaceSelectedListener are honoured, but the .setHint/.setText methods of that fragment raises a NPE Jan 10 19:24:59 pushing it further down to onResume seems to do the trick Jan 10 19:34:23 raoul11 there are a lot of rules you have to follow with nested fragments, some timing issues. i wouldn't use onCreateView to do that Jan 10 19:34:37 surprised you didn't get a illegal state exception Jan 10 19:34:50 but - sadly i forgot most of these corner cases Jan 10 19:35:45 try nesting the fragment in xml layout first Jan 10 19:38:08 working on some custom lint checks, but i can't get gradle to pick up updated lint code till I tell android studio to do a full rebuild Jan 10 19:39:31 alright, this is driving me batty. I started to work on it last night, but left before I got anywhere. How do I fix the preview window’s “Failed to find style 'typefacedTextViewStyle' in current theme” error? Jan 10 19:39:50 typefacedTextViewStyle is a custom attribute that is defined in the app Jan 10 19:42:24 Am I able to add any variables other than a text query to my top bar search widget? Jan 10 20:29:52 hey, can I run proguard from the command line to get it to spit out a list of classes that it would remove? Jan 10 21:05:22 How can I have a dynamically named menu item? Jan 10 21:37:49 MenuItem.setTitle is not working Jan 10 21:41:04 Im sure its working. Jan 10 21:41:47 Well, I've tested it and debugged it and the results don't appear on screen Jan 10 21:42:16 You'll need to show your code. Jan 10 21:42:32 OK Jan 10 21:42:51 menu.findItem(R.id.action_spoken_to).setTitle(getString(R.string.action_spoken_to, ReferencePickerActivity.currentBook.getBookName())); Jan 10 21:43:09 that is inside my activity's onCreateOptionsMenu Jan 10 21:44:12 that's all the code there is Jan 10 21:44:59 orbyt_: what am I doing wrong? Jan 10 21:48:15 My guess would be there may be an issue using the menu object to passed into onCreateOptionsMenu before its inflated Jan 10 21:48:34 You should really post a code snippet, not just paste it into chat Jan 10 21:49:17 orbyt_: I can post the onCreateOptionsMenu method Jan 10 21:49:46 Here it is: https://thepasteb.in/p/X6hBV9XXxowi3 Jan 10 21:52:37 Use pastebin, not some knockoff site please. Also, try setting a member variable in your Activity, and set the menu passed into onCreateOptionsMenu to it. Then in onResume, set the title as normal Jan 10 21:53:25 onResume? Jan 10 21:53:50 yes Jan 10 21:54:12 I don't know what that is Jan 10 21:54:57 noahmg123 All of the question you are asking are easily answered via google, please use it. Jan 10 21:55:32 I just don't know why it needs to be onResume, why not onCreate? Jan 10 21:58:27 noahmg123 I wasn't exactly sure when onCreateOptionsMenu was called in the lifecycle. It is apparently called before the end of onCreate() or the first time its displayed, depending on the Android version. I suggested onResume as an easy workaround to make sure there wasnt another problem. Jan 10 21:59:32 Well, wouldn't onResume run when the app is opened again even after the menu is loaded? That seems unnecessary Jan 10 22:00:57 noahmg123 It wasnt meant to be a finally solution, just debugging to make sure another issue wasnt the cause, as stated above. Jan 10 22:01:00 final* Jan 10 22:01:08 OK Jan 10 22:02:15 It did not work (I was just testing it) Jan 10 22:04:14 orbyt_: ^^ Jan 10 22:04:32 orbyt_: ^ ^* Jan 10 22:05:57 You are inflating the menu, correct? Jan 10 22:06:01 I'm getting permission denied to run a build in jenkins, but the file is world executable: Jan 10 22:06:03 java.io.IOException: Cannot run program "/home/build/devel/android-sdk-linux/build-tools/24.0.2/aapt": error=13, Permission denied Jan 10 22:07:04 noahmg123: onPrepareOptionsMenu Jan 10 22:07:45 orbyt_: all the code you saw in the previous paste is still there minus the settitle ine Jan 10 22:07:47 line* Jan 10 22:07:58 Melatonina: what do you mean by that? Jan 10 22:08:19 that's where you update your menu items Jan 10 22:08:48 ok. Jan 10 22:09:28 http://stackoverflow.com/a/27984263 Jan 10 22:10:59 dino82, check other binaries permissions nearby with `ls -l', error might be misleading about which binary needs perm Jan 10 22:11:08 or if you dare, strace it Jan 10 22:12:10 also update your build tools, 24.* is from few monthes ago Jan 10 22:25:31 ello, peeps Jan 10 22:28:57 hello Jan 10 22:29:14 Melatonina: that did not work Jan 10 22:31:28 it works for me Jan 10 22:32:07 is the title value correct before exiting that method? Jan 10 22:32:50 if the menu creation method called without the menu preparing method being called? Jan 10 22:32:50 Yes Jan 10 22:33:08 I don't know Jan 10 22:33:16 log Jan 10 22:33:20 OK Jan 10 22:33:24 wait Jan 10 22:33:35 Let me, first explain what is happening Jan 10 22:34:35 I have an activity that can act as different sections of an app. Whenever it is used, I want it to have a menu item. But I want that menu item to be slightly different each time Jan 10 22:34:47 In name only Jan 10 22:35:20 Melatonina: you get what I am saying? Jan 10 22:36:28 I asked my mom to help me understand. It's too difficult. Wait a minute Jan 10 22:38:21 Ok. My mom explained it to me. Jan 10 22:38:36 I now understand it Jan 10 22:38:44 So? Jan 10 22:39:07 I mean, this seems rather complicated Jan 10 22:39:24 No, it doesn't Jan 10 22:39:33 It does to me Jan 10 22:40:04 I've been working on this app for a bit and have not had to do anything like this Jan 10 22:40:56 I used menu 2 or 3 times and of them I had a toggle menu item that changed its name Jan 10 22:41:45 :P Jan 10 22:42:17 I've tried it at least 3 different ways now Jan 10 22:42:21 None have worked Jan 10 22:47:38 Ashiren: I definitely use the Android studio one when I'm developing myself but CI servers need CLI tools, and I was pointing out the apparent drop in support of the "android update sdk" tool, and was wondering if the "sdkmanager" CLI tool is supposed to succeed it Jan 10 22:52:05 noahmg123: make an application that does just that. Focus on it. It's very simple. Jan 10 22:57:59 Melatonina: I think I got it to work Jan 10 23:00:56 cool Jan 10 23:01:05 how did you do it? Jan 10 23:01:50 I moved the settitle line to before my search handler and somehow that worked Jan 10 23:11:28 noahmg123 or modify onresume and give your activity an enum state Jan 10 23:11:47 before returning to the activity, set its state Jan 10 23:11:54 atbe: well I already have it working now so... Jan 10 23:12:02 lol yeah, if the shoe fits. Jan 10 23:12:06 ;) Jan 10 23:13:00 Hey guys, good evening Jan 10 23:13:36 some of you guys know some good practice while sending passwords to a nodejs service Jan 10 23:14:28 nooneelse: SSL is a must of course Jan 10 23:14:30 my question is, should I hash the password before and send it to the server? But If I hash it before, how do I pass the salt to the server withou using plain text ? Jan 10 23:14:41 noahmg123: Yes, I'm already using a SSL server Jan 10 23:14:45 cool Jan 10 23:14:57 noahmg123: should I care abour hashing the password before sending it ? Jan 10 23:15:16 nooneelse: I mean, technically, it's better to hash it before Jan 10 23:15:30 and shouldn't the server already know your salting methods? Jan 10 23:15:49 noahmg123: yeah but I never did this approach before, I've searched over the internet (google, stackover..) but all the examples are using plain text Jan 10 23:16:07 Hm Jan 10 23:16:26 noahmg123: yeah the server knows it, but if I salt if before I must send or use the same salt secret to the server too right ? Jan 10 23:16:46 I'm thinking the server should know what the salt is already Jan 10 23:17:00 unless the salt is some time sensitive thing or random thing Jan 10 23:17:12 noahmg123: you should send passwords over https anyway Jan 10 23:17:33 Whatever you using to create the salt, use the same method on the server to check the hash Jan 10 23:17:53 noahmg123: hmm I got it, thanks Jan 10 23:18:35 nooneelse: unless it's random or time sensitive. who knows how long the request could take to get to the server Jan 10 23:23:32 noahmg123: do you have any architecture/article show some example ? Jan 10 23:25:45 anyone got any experience with recovery problems? Jan 11 02:14:49 lol https://medium.com/inloop/samsung-tablets-are-not-removing-application-files-after-uninstall-45cc22ace56a Jan 11 02:29:33 g00s: surprise surprise Jan 11 02:29:39 samsung has to be special snowflakes Jan 11 02:29:40 g00s, yeah lol so it on reddit earlier today Jan 11 02:30:13 amazing that by now, its not part of the CTS ? Jan 11 02:30:15 that means there is no CTS test for that too (since samsung usually got google apps) Jan 11 02:30:17 exactly Jan 11 02:30:22 is maybe it is, but it wasn't enforced / checked Jan 11 02:31:24 i remember when samsung messed up with the default sharedpref path too :') Jan 11 02:32:01 What is Android's proxy (e.g. the one set for a wifi spot) type? Jan 11 02:32:16 HTTP or SOCKS? or both can be supported? Jan 11 02:33:16 http iirc Jan 11 02:34:30 That seems unreasonable. Isn't Socks proxy more appropriate for global setting? Jan 11 02:35:28 Many Apps use other protocol than http Jan 11 02:36:12 I am talking about Wechat. I have problem to make it work through a proxy Jan 11 02:39:43 back Jan 11 02:42:13 So how could I Sockify an App, or globally? **** ENDING LOGGING AT Wed Jan 11 03:00:01 2017