**** BEGIN LOGGING AT Wed Jun 08 02:59:59 2016 Jun 08 03:00:24 lol, twitter gets Material refresh ... Jun 08 03:00:29 i guess i don't feel so bad now :) Jun 08 03:01:50 is it just me, or is this retarded https://twitter.com/minsdkversion Jun 08 03:02:28 nah, that's awesome Jun 08 03:02:38 why ? Jun 08 03:02:54 just so simple. I've been following it for years. Jun 08 03:03:03 oh, so you are a lemming :) Jun 08 03:03:24 its not simple, its simplistic Jun 08 03:03:27 as far as novelty accounts go, I find it very amusing in its simplicity Jun 08 03:03:50 i mean, do people take it seriously? i hope not ... Jun 08 03:05:05 ̄ \_(ツ)_/ ̄ Jun 08 03:05:33 "Julian Assange: Google working closely with Hillary Clinton’s presidential campaign" Jun 08 03:05:46 lol, i tried searching for "crooked hillary" ... Jun 08 03:05:59 Note also: Working for all the other guys, too. Jun 08 03:06:04 Got money? Jun 08 03:06:15 Comcast wants to help you! Jun 08 03:13:56 We're all squirrels Jun 08 03:14:20 Chasing the nuts, I know... Jun 08 03:16:32 why would google support a shitbag like hillary ? Jun 08 03:18:42 https://s3-us-west-1.amazonaws.com/ov-file-archive/piece/45/5/707645.0.money3.jpg Plenty of reasons. Jun 08 03:19:21 Maybe her party promised to craft some computer-company-friendly laws. Jun 08 03:19:37 Or to hold back Hollywood's cartels Jun 08 03:19:42 hahahha Jun 08 03:19:53 hold back hollywood's what ? Jun 08 03:21:04 EFforts to stab themselves in the back? Jun 08 03:21:21 VHS is going to kill the movie industry! Jun 08 03:21:31 (LOL) Jun 08 03:21:50 Whatever, off topic? Jun 08 03:22:22 I figured the efforts to create laws that will sabotage their own future markets would be dead letters now but... meh. Jun 08 03:22:24 * freakyfidlers stares blankly at the dead channel Jun 08 03:22:31 nah i think its find Jun 08 03:22:37 http://rexcybertrix.blogspot.com/2012/11/sim-cloning.html OK, something more programming related. Jun 08 03:23:16 I must be naive. I just assumed they had some way to keep you from reading them or used a challenge-response algorithm by now. Guess not. XD Jun 08 03:24:21 Even worse, I think with enough money you can do that OTA. :/ Jun 08 03:24:45 Ah, reading the article. This is for old stuff. Jun 08 03:28:57 freakyfidlers google lobbies the US govt *a lot* Jun 08 03:29:37 It's considered imcompetence for anyone running a corporation not to, if they can afford to. Jun 08 03:31:31 alphamule, but supporting an individual who readily broke ts protocols for her own benefit and profit is ridiculous Jun 08 03:32:21 bing and duckduckgo show expected behavior on 'crooked hil ...' Jun 08 03:35:34 g00s, for better or worse i do get hilliary crooked when i type 'hilliary c' Jun 08 03:35:55 :D Jun 08 03:37:48 still it would be nice for the words crook and prison to automatically show hillary's wiki page Jun 08 03:39:22 freakyfidlers if justice treats her equally like snowden , she should be in prison :) Jun 08 03:40:05 if people like $100,000 hospital bills for a simple surgery and no vacation that's their prerogative, I don't understand it but that doesn't mean it's wrong Jun 08 03:40:33 rosten, what are you referencing ? Jun 08 03:41:05 single payer Jun 08 03:41:44 freakyfidlers: sorry, ignore that Jun 08 03:43:23 anyone know why you would do this: Jun 08 03:43:44 why ? Jun 08 03:44:33 not sure hey Jun 08 03:47:13 ah, can't use $ for inner classes in XML element Jun 08 03:47:24 so couldn't say Jun 08 03:47:44 in that case you would have to use and select a specific time period to search in Jun 08 04:22:34 I am sure you'll find it Jun 08 04:34:00 found it, thought it had more but ok https://medium.com/@hellotimmutton/combining-vector-drawables-with-day-night-theme-3b89e525475 Jun 08 05:02:13 g00s: im back Jun 08 05:02:22 which toolchain do I need for this?: https://github.com/chenxiaolong/DualBootPatcher/blob/master/docs/BUILD-Android.md Jun 08 05:04:00 hey Napalm . hm i asked a question a few minutes after i highlighted you, but my history doesn't go back that far ... Jun 08 05:04:21 trying to remember now, was bugging me Jun 08 05:04:49 i notice in a few gapps, you can collapse the AppBarLayout but never expand it again Jun 08 05:04:58 Napalm aha ! yes Jun 08 05:05:24 ok , well what a pita, i found a shitty way of handling that, have to change the scroll flags Jun 08 05:05:37 when item count = 0 Jun 08 05:05:57 Napalm do you have the play console app installed ? Jun 08 05:06:33 ah , nm. maybe it was another app Jun 08 05:06:38 Please answer my question ^^ Jun 08 05:07:16 tim241 off topic Jun 08 05:07:24 ok then :-( Jun 08 05:08:23 Napalm so, if you have just an AppBarLayout with scrolling flags, you could touch within the AppBarLayout bounds and scroll it up - and then you can't scroll it down again (you always bring down the Notification center) Jun 08 05:08:35 but i got around it, so no sweat. still kinda weird Jun 08 05:12:37 Question. I have a very very simple app I wrote with Java on PC, it just takes user input via JOptionPane.showInput Jun 08 05:13:15 JOptionPane.showInputDialog, runs a few operations on it, and spits out a response via JOptionPane.showMessageDialog Jun 08 05:13:39 Is there a way to convert this app to run on Android (Samsung Galaxy S4)? Jun 08 05:13:50 ke4nhw no Jun 08 05:13:53 ok Jun 08 05:13:57 g00s: so pessimistic Jun 08 05:13:59 the answer is yes Jun 08 05:13:59 but Jun 08 05:14:03 you only get to keep your java logic Jun 08 05:14:06 you'll have to use android widget stuff Jun 08 05:14:09 okay Jun 08 05:14:15 you need to (obviously) implement the UI / views in android Jun 08 05:14:17 yeah Jun 08 05:14:36 Is the source still Java? Jun 08 05:14:45 Or will I have to use a completely different language? Jun 08 05:14:47 Yes Jun 08 05:14:55 it's still java, you will not need to "port" it. Jun 08 05:15:51 Okay, what IDE would you recommed and where is a good tutorial or reference for programming Java for android? Jun 08 05:16:11 I currently have Netbeans, IntelliJ, and Eclipse Jun 08 05:19:24 you could make IntelliJ work with android plugin, but android studio is what most use Jun 08 05:20:30 Okay I'll look at that one, I assume it comes with all the necessary plugins and runtimes, and I can write and test on the PC and then install to android? Jun 08 05:20:51 I have found info about Java ME, is this the same thing? Jun 08 05:21:28 lol Java ME is extinct right ? Jun 08 05:21:37 well its not the same ;) Jun 08 05:22:31 I'm completely new to this so I really don't know. I just started writing some simple programs in Java and was wondering if Java or some form of Java can be used to write simple apps for my phone Jun 08 05:24:39 ke4nhw android uses java but it ends there, beside having java.util and concurrency stuff Jun 08 05:24:55 android framework apis won't look anything like java se Jun 08 05:26:06 of course there are some other things we have like jsr166, but the platform will feel different Jun 08 05:26:12 Sounds like a steep learning curve and a challenge... Sounds interesting. you say it uses java but I assume when you say it ends there, the code syntax will be completely different from se then? Jun 08 05:26:39 its java , so the syntax is the same Jun 08 05:26:46 the APIs are different Jun 08 05:27:01 i would start at the dev guides on d.android.com Jun 08 05:27:07 even better then, means I'll at least have one toe in the game Jun 08 05:27:08 and under the learning sectio Jun 08 05:28:42 ke4nhw: Despite what the people on ##java say, Android is Java for all intents and purposes. Look at Android as just another Android library Jun 08 05:28:52 Java library* Jun 08 05:31:21 Awesome at least I won't have to start from scratch then... I've got the website pulled up and I'm in the Training section. I think I'll work through most of these before I try reworking this app for my phone. Jun 08 05:32:20 Also, you don't have to use Java code to create stuff like 'tokenized' Java. Jun 08 05:32:29 But that's for later. Jun 08 05:33:30 Thanks everyone for the info, this will go a long way to helping me start writing for my phone. It'll likely be a while before anything of mine becomes publicly available. I made a note of that alphamule and I'll ask that one once I've gotten through some or most of the tutorials Jun 08 05:34:47 and yes, Java ME is extinct, don't even bother wasting a minute on it Jun 08 05:35:19 ME is for the $5 phone you threw out a few years ago Jun 08 05:35:19 thanks especially for the website and the IDE suggestion. I'll get android studio downloaded and start on the tutorials asap Jun 08 05:35:58 I'll be back with any questions if that's okay once I make a good stab at these tutorials Jun 08 05:36:06 Sure thing, good luck Jun 08 05:36:32 Thanks and I'll be talking to ya again soon I'm sure :) Jun 08 05:36:49 Are there any options for UI tests for multi-app environments besides UiAutomator? Jun 08 05:38:10 amazon has some Jun 08 05:38:22 orly Jun 08 05:39:18 na but really, there are a few options, here are some... Jun 08 05:39:31 http://selendroid.io/ Jun 08 05:39:39 https://github.com/RobotiumTech/robotium Jun 08 05:39:58 CedricBeust eric meijer thinks we're all screwed (programmers) Jun 08 05:40:13 Erik likes hyperbole :) Jun 08 05:40:19 ha Jun 08 05:43:36 tx: Is it possible two test two apps in one test with those frameworks? Jun 08 05:44:14 why do that Jun 08 05:44:25 just do the same test twice Jun 08 05:45:20 Navigate from one app to the other and back Jun 08 05:46:39 oh I see Jun 08 05:46:56 I am not too sure, I actually write up my tests using an emulator and touch events :P Jun 08 05:47:02 install the apps using adb Jun 08 05:47:17 (and take screenshots) Jun 08 05:47:21 automagically Jun 08 05:47:25 What framework do you use for the touch events and screenshots? Jun 08 05:47:43 input tap Jun 08 05:47:45 all adb Jun 08 05:47:49 part of my CI workflow Jun 08 05:48:08 all abstracted so that I don't actually see the adb command anywhere Jun 08 05:48:37 How easy is parsing the screenshots? Jun 08 05:51:43 you just have references shots Jun 08 05:51:49 cut off the top status bar Jun 08 05:57:24 hi guys I have a problem: http://pastebin.com/y8zDC2EE I am following this tutorial: https://github.com/chenxiaolong/DualBootPatcher/blob/master/docs/BUILD-Android.md please help me or pm me Jun 08 05:57:55 tim241 still wrong channel ;) Jun 08 05:58:23 sorry g00s Jun 08 05:58:30 we'll see Jun 08 05:58:36 android-root says I needed to ask here Jun 08 05:59:19 Looks like they forgot what their channel is about :) Jun 08 05:59:28 tim241: did you follow the instructions in that output you pasted? (search for "You should either") Jun 08 05:59:54 yes Jun 08 06:00:03 I followed it correctly Jun 08 06:00:24 export ANDROID_NDK_HOME=/home/tim/android-ndk Jun 08 06:00:24 is my ndk path Jun 08 06:00:52 tim241 i thought you were sorry ? :( Jun 08 06:01:12 i remain unconvinced Jun 08 06:01:20 but that's not what it says... why do you have _HOME there? Jun 08 06:01:38 that is the ndk directory Jun 08 06:01:46 that is why I did that Jun 08 06:02:02 what does line 419 say in that log paste? Jun 08 06:02:39 export ANDROID_NDK=~/my-android-ndk Jun 08 06:02:43 lemme try Jun 08 06:03:03 export ANDROID_NDK=~/home/tim/android-ndk Jun 08 06:03:15 don't tell us, tell your shell Jun 08 06:03:28 still same error Jun 08 06:03:34 :-( Jun 08 06:04:02 because you've added a ~ in front, but this is more of a shell/environment/unix question now than anything android-related. Jun 08 06:06:00 k Jun 08 06:06:07 I removed it and tried again Jun 08 06:07:15 it is building now Jun 08 06:07:17 thanks Jun 08 06:08:14 No one use Nexus 4 now? Jun 08 06:08:30 nope Jun 08 06:08:41 I use a galaxy core 2 Jun 08 06:11:52 sorry g00s Jun 08 06:15:16 I am going to build the apk Jun 08 06:15:20 thanks tm604 Jun 08 06:17:41 i m using galaxy s2 now :( Jun 08 06:17:58 but it is too late and display is not good Jun 08 06:18:16 what is galaxy core 2? Jun 08 06:18:20 tim241: Jun 08 06:19:32 yes? Jun 08 06:19:45 Samsung galaxy core 2 ^^ Jun 08 06:20:39 a phone jackcom Jun 08 06:20:40 give me link tim241 Jun 08 06:20:45 to what? Jun 08 06:20:58 i want to see core Jun 08 06:21:10 ow you want to see the phone or not? Jun 08 06:21:25 yes Jun 08 06:21:29 i want to see it Jun 08 06:21:30 now Jun 08 06:21:40 http://cdn2.gsmarena.com/vv/pics/samsung/samsung-galaxy-core-2-sm-g355h-1.jpg Jun 08 06:23:18 is that good jackcom Jun 08 06:23:20 ? Jun 08 06:23:41 oh it looks good Jun 08 06:23:46 ok Jun 08 06:23:48 when it come? Jun 08 06:24:03 it has an quad-core 1,2 Ghz and 706 mb of RAM Jun 08 06:24:10 it is out already Jun 08 06:24:14 jackcom, Jun 08 06:24:18 around 100 bucks Jun 08 06:24:25 706m ram lol Jun 08 06:24:28 too small Jun 08 06:24:38 for android it is good Jun 08 06:24:44 enough Jun 08 06:25:02 nexus 4 vs core 2, which is good? Jun 08 06:25:26 for the price? Jun 08 06:26:01 I would go with the motorola E has the same specs as the core 2 only 1 GB of RAM Jun 08 06:26:13 that is the differewnce actually Jun 08 06:26:52 motorola E Jun 08 06:26:53 ? Jun 08 06:27:39 http://www.gsmarena.com/motorola_moto_e-6376.php Jun 08 06:27:42 great Jun 08 06:27:55 it come at 2014, 5 Jun 08 06:28:16 256 ppi great Jun 08 06:28:37 lol only 4g storage Jun 08 06:28:39 too small Jun 08 06:31:14 1st world problems Jun 08 06:32:51 can't I add a domain name to HttpUrl's builder function? Jun 08 06:32:55 in OkHttp Jun 08 06:33:07 tim241: Jun 08 06:33:39 yes? Jun 08 06:34:07 storage is just 4G? lol Jun 08 06:34:27 so? I have external sd-card to phone memory so I have 32 GB Jun 08 06:35:37 I have a problem when I am trying to build the apk from this tutorial:https://github.com/chenxiaolong/DualBootPatcher/blob/master/docs/BUILD-Android.md : http://pastebin.com/Bgj18urc Jun 08 06:35:49 wow 768MB ram, thats bad :) Jun 08 06:35:57 there are way better dual sim phones available Jun 08 06:36:15 Please help me because this is not off-topic ^^ Jun 08 06:40:15 tim241: it kinda is off-topic, but not entirely Jun 08 06:40:25 ik but please help me Jun 08 06:40:33 I would love to see this work Jun 08 06:40:42 :-( Jun 08 06:41:05 . Jun 08 06:41:15 so, to start - you're sure you've got all the requirements installed and working? Jun 08 06:41:20 yes Jun 08 06:42:03 tested? built a native and NDK hello world app? Jun 08 06:42:11 true or not? https://imgur.com/ca4Pyt2 Jun 08 06:42:34 gordon_: i disagree Jun 08 06:42:42 I feel like gradle has some good features Jun 08 06:42:52 not as much as protify... Jun 08 06:43:00 thepoosh: hm? Jun 08 06:43:11 ?? Jun 08 06:43:12 no I built with an github source Leeds Jun 08 06:43:21 protify? Jun 08 06:43:30 watch it: https://github.com/chenxiaolong/DualBootPatcher/blob/master/docs/BUILD-Android.md Jun 08 06:43:33 tim241: so how are you sure your SDK/NDK are installed and working right? Jun 08 06:43:35 oh, it's pfn's build tool Jun 08 06:43:44 how do I check it then? Jun 08 06:44:10 thepoosh: ah, I know protify (using it) so that's why I was suprised someone here uses it Jun 08 06:44:26 good, good Jun 08 06:44:31 eventually, I didn't switch over to protify Jun 08 06:44:42 tim241: well, try building a hello world? Jun 08 06:44:46 because it wasn't compatible with our systems Jun 08 06:44:52 you should ;) Jun 08 06:44:54 which, y'know, is what I just suggested? Jun 08 06:44:59 how? I never programmed in java Jun 08 06:45:08 and I have the ndk but I dont have the sdk Jun 08 06:45:09 welcome to -dev Jun 08 06:45:12 ow wait Jun 08 06:45:15 I have it Jun 08 06:45:41 how do I open it then? Jun 08 06:46:02 you don't open it, you build something with it Jun 08 06:46:07 I installed it through terminal with: sudo apt-get install android-sdk Jun 08 06:46:13 how? Jun 08 06:46:17 argh, no Jun 08 06:46:27 ??/ Jun 08 06:46:43 (sorry ) Jun 08 06:47:04 install it properly... and at this point I'm going to wish you good luck and move on with my day Jun 08 06:47:43 how do I install it properly then? if I go to the site it flashes install through terminal and just reditect me Jun 08 06:47:45 ?? Jun 08 06:47:51 I have linux BTW Jun 08 06:48:00 Leeds, Jun 08 06:48:56 I will follow this then: https://www.youtube.com/watch?v=7YNaxsUPwZc Jun 08 06:50:37 or you could go to the Android Developers' site and click the download button Jun 08 06:50:44 meh Jun 08 06:51:41 I did but it is not downloading then Leeds Jun 08 06:51:58 I accepted the agremment and pressed agree and download Jun 08 06:52:22 consider this a good opportunity to practice your problem-solving skills... without me Jun 08 06:52:37 omg this is a site-problem Jun 08 06:53:31 wait: Jun 08 06:53:39 I dont have java Jun 08 06:53:41 LOL xD Jun 08 06:54:27 maybe that was the problem Jun 08 06:54:36 hithere Jun 08 06:54:49 hithere bolovanos ?? Jun 08 06:55:18 maybe that was the problem Jun 08 06:55:27 Leeds, or not? Jun 08 06:56:02 timmy?? Jun 08 06:56:15 yes? Jun 08 06:56:28 bolovanos, yes? Jun 08 07:06:10 is there any shortcut key in AS to view the .java file directly at left side inside project pane? Jun 08 07:10:47 SOMEONE? where can I download the sdk? Jun 08 07:10:59 from google, literally Jun 08 07:11:09 I searched cant find it Jun 08 07:11:19 I can only find android-studio Jun 08 07:11:32 then i don't think you can be helped Jun 08 07:11:37 with android-studio you got the sdk manager. Jun 08 07:11:42 ow so Jun 08 07:11:45 ok Jun 08 07:14:00 min2, not sure what you need, I am using alt+1, typesearch, enter; that is rather direct edit than previou which you might thing of, isn't it? Jun 08 07:14:35 finally Jun 08 07:14:43 I can download android-studio Jun 08 07:14:58 how much GB is it when installed? Jun 08 07:17:50 bolovanos, I have a big package structure and its too nested in project pane at left side... now I need to find my class in package structure and directly want to reach there Jun 08 07:20:47 min2, problem with typesearch in project pane is that it does only search in expanded structures Jun 08 07:21:13 I downloaded and unpacked the jdk but how do I point it? this is the error: Jun 08 07:21:32 http://pastebin.com/9SLwW1JB Jun 08 07:21:51 min2, if you know what you are searchinf for than ctrl+shift+f with proper settings Jun 08 07:24:50 am downloading the sdk now thanks Jun 08 07:28:45 I have an error when installing android-studio: Unable to run mksdcard SDK tool. Jun 08 07:31:57 tim241_: why are you installing AS rather than the plain SDK? Jun 08 07:32:05 thanks bolovanos Jun 08 07:32:09 as? Jun 08 07:32:23 ow I cant find the plain SDK Jun 08 07:32:28 Leeds, ^^ Jun 08 07:32:37 look harder Jun 08 07:33:18 does it matter if I install as or just sdk ? no because as will download and install SDK and I cant find it Jun 08 07:33:22 so :-( Jun 08 07:33:29 give me a link then Leeds Jun 08 07:33:49 no Jun 08 07:33:51 ok Jun 08 07:33:57 then I will just install as Jun 08 07:34:00 I'm trying to teach you to fish Jun 08 07:34:05 it does not matter anyway Jun 08 07:34:12 although I don't know why I'm bothering - or why you ar Jun 08 07:34:18 I knowhow to fish on internet Jun 08 07:34:51 Hi guys, how can i show the text while speaking in ACTION_RECOGNIZE_SPEECH? Jun 08 07:34:58 where will android studio install the sdk? Jun 08 07:37:09 min2, np Jun 08 07:43:00 Tim241, if you installed android-studio: click on tools/android/sdk manager, it will also show you your sdk location Jun 08 07:45:29 thanks Jun 08 07:50:53 Question: USing the NDK, reliable preprocessor to check if I'm compiling for arm64 ? Jun 08 07:55:58 Leeds, still same error after installing the SDK and pointing to the sdk Jun 08 07:57:51 k, this is weird. i was developing my app on the emulator, checked a few resolutions, all looking fine. now deployed to sgs4, and everything is alligned to the right Jun 08 07:59:24 wow android:supportsRtl="true" << Jun 08 08:01:22 I have an error when building an apk from this tutorial: https://github.com/chenxiaolong/DualBootPatcher/blob/master/docs/BUILD-Android.md I tried to reinstall the SDk no luck :-( error: http://pastebin.com/TM9szkWK Please help me Jun 08 08:07:01 Tomaz^W #ifdef __aarch64__ ? Jun 08 08:08:50 Chainfire: thanks! Jun 08 08:42:07 morning guys Jun 08 08:42:23 is there any react native app channel here in freenode? Jun 08 08:48:14 hello everyone, I can get to use AndroidHttpClient in my project… the documentation says it was added in API level 8 but I changed my minSDKVersion from 16 to 17 …. After sync, I still can’t access the class .. Can someone suggest how I can get this to work? Jun 08 08:52:40 spykins: it was deprecated and remove in sdk 23 Jun 08 08:54:39 Ashiren: Thanks, I am just watching a tutorial and I saw it. I have actually be using HttpURLConnection Jun 08 09:02:34 Ashiren: omg, just saw this question Jun 08 09:02:38 i have a bad feeling Jun 08 09:03:01 hi, im having a problem with a gridlayout's children: http://i.imgur.com/BtqUrnf.png | the image, label, and other images are added to a relativelayout, which is then added to the gridlayout. the cyan background is set for the relativelayout, so we can see that that relativelayout width's too big Jun 08 09:03:27 thepoosh: ? Jun 08 09:03:36 11:48 spykins: hello everyone, I can get to use AndroidHttpClient in my project… the documentation says it was added in API level 8 but I changed my minSDKVersion from 16 to 17 …. After sync, I still can’t access the class .. Can someone suggest how I can get this to work? Jun 08 09:03:40 this one Jun 08 09:03:56 i solved it didnt i Jun 08 09:03:59 I fixed the ERROR!!!! Jun 08 09:04:07 now I have an other error: Jun 08 09:04:13 raoul11: why are you adding imageviews to the relativelayout instead of to the adapter? Jun 08 09:04:16 Ashiren: :P Jun 08 09:04:39 http://pastebin.com/s7X7XgPJ Jun 08 09:04:42 please help me Jun 08 09:04:51 what adapter thepoosh ? Jun 08 09:05:20 each rel layout is suppose to be a cell in a gridlayout, each containing numerous elements Jun 08 09:05:26 all done dynamically Jun 08 09:13:02 the issue you have is tha tthe layout is too big for the cell size? Jun 08 09:13:06 *that the Jun 08 09:16:04 yes Jun 08 09:16:11 trying to use layoutparams on it Jun 08 09:16:15 but derping hard Jun 08 09:16:48 the layout cannot dynamically get smaller because you shoved too many things inside Jun 08 09:16:59 the sub views need to be dynamic inside for that Jun 08 09:17:04 wrap_content etc. Jun 08 09:17:05 i want it to wrap to the contents on it Jun 08 09:17:09 oh Jun 08 09:18:19 but i would have done so in xml, id set the width/height of that relativelayout as wrap_content Jun 08 09:20:21 you can do that with RelativeLayout.LayoutParams Jun 08 09:27:11 thepoosh, iv done some dirty hack with negative margins Jun 08 09:27:18 guess it works /: Jun 08 09:31:31 hi all Jun 08 09:31:51 k, that doesnt work on diff resolutions Jun 08 09:33:39 I've got what I think is a simple thing to do - On my start page I want o cycle through 3 full screen images - What is the correct and best way to do this ? Jun 08 09:44:23 Anyone know how to restore efs file on s3 Jun 08 09:47:40 https://www.youtube.com/watch?v=dK7_S3MP2Nc Jun 08 11:07:02 if i have a list view (e.g. list of reddit items) and details view (clicking on an item in the list to show more info). What's the recommended way to structure code? 2 activities or 2 fragments in same activity? Jun 08 11:22:21 I'd go with fragments, it will allow you to redesign for tablets more easily Jun 08 11:22:30 e.g. display details next to the list Jun 08 11:23:05 jonaskoeritz: that's the general case i see mentioned in the android docs too but i want to understand if there are any other benefits Jun 08 11:23:33 You can provide custom animations for transitions for example Jun 08 11:24:40 is there a good example / open source project that uses the fragment swapping way? i just want to see what the code looks like Jun 08 11:24:48 i want to get hold my old radio button in android app. how to do that? Jun 08 11:25:01 similar to question http://stackoverflow.com/questions/11052702/get-the-value-of-the-radio-button-that-was-selected-before-the-user-selects-a-ne Jun 08 11:25:57 anyone please... Jun 08 11:26:46 thug life Jun 08 11:28:30 so i load some html with script into webview. In that script i create global js object 'var thugLife = nShit;'. The question is how can i access that ibject later from android code? Jun 08 11:29:16 i tried 'webView.loadUrl("javascript: window.thugLife.doSome()")' Jun 08 11:29:23 but it does not work Jun 08 11:29:25 people? Jun 08 11:30:28 Please be patient...people might have to look that up too. Jun 08 11:30:34 can I call a button a textview object? Jun 08 11:30:37 has anyone tried interacting with the SmartLock prompt through uiautomator or espresso? can't seem to make either find the 'never' button.. or the dialog Jun 08 11:31:36 ondroed:does it work when you remove the leading space in your loadUrl before "window"? Jun 08 11:32:30 ondroed webView KitKat+ also has evaluateJavascript() as a method Jun 08 11:33:10 jonaskoeritz: no it does not - without space - same result Jun 08 11:33:43 actualy i have youtube player in iframe, and i want to get it current time Jun 08 11:34:22 so i want to call js: t = player.getCurrentTime(); android.currentTimeCallback(t) Jun 08 11:35:45 do you just call a function doing both or do you call js:player..;andr.. Jun 08 11:35:46 ? Jun 08 11:36:30 for now i just do webView.loadUrl("javascript:window.player.stopVideo()") Jun 08 11:37:31 Have you already tried window.evaluateJavaScript("player.stopVideo();", null);? Jun 08 11:39:09 compiling.... Jun 08 11:41:05 not work Jun 08 11:41:09 ;( Jun 08 11:41:30 are you able to get the console output of the webview? Jun 08 11:43:04 able Jun 08 11:45:38 question: if i resize an imageview/imagebutton with scale, how can i wrap_content to the new dimensions? Jun 08 12:01:33 raoul11: sounds like you need scaleType Jun 08 12:01:40 center_inside Jun 08 12:02:27 rgr tht Jun 08 12:02:32 used fit_center Jun 08 12:04:56 oh myyy Jun 08 12:08:41 thepoosh, still having a hardtime with this gridlayout Jun 08 12:08:56 cells are just too big Jun 08 12:09:04 sux for you Jun 08 12:09:50 -for+tobe Jun 08 12:19:00 android:id="@+id/textView" this line should generate an id called textView in R.java. Why cannot I find the ID? Jun 08 12:20:05 purplex88: what error are you getting? Jun 08 12:20:45 no error, I just cannot find 'textView' in R.java is it done at runtime? Jun 08 12:21:42 afaik R is generated in the default (i.e. your project) package, are you trying to access the resource from another package or subpackage? Jun 08 12:22:34 Ah, nevermind when I compiled the project I can see it there now. Jun 08 12:23:01 I thought it adds it to file on the fly as we write Jun 08 12:24:40 So, If I understand now @ references it and '+' adds it and id/ specifies the name Jun 08 12:25:20 Hi guys! What open source apps you can recommend as an example of good structured and architected android application? Jun 08 12:26:09 I'm especially interested in hardly networking ones Jun 08 12:26:27 purplex88: yes, you can only create it once with the plus sign afaik, access it in code using R.id.your_id and reference it in xml using the at sign Jun 08 12:28:04 purplex88: if in a different package/subpackage you have to import the resource file, import com.your.domain.R; Jun 08 12:29:27 rosten: What about the "android:"? its specified in multiple places such as "xmlns:android" and "android:id" Jun 08 12:29:59 that's the android namespace Jun 08 12:41:48 Can you define a layout depending on the height of a phone? Jun 08 12:42:54 I know you can do it with the width, just wondering if it's possible with the height as well. I'm developing an app for a Nexus 6P but it doesn't fit on a Nexus 4 and so would need a vertical scroll bar for the Nexus 4 and other similar phones. Jun 08 12:43:19 I don't see the point in adding a scroll bar for phones which are long enough Jun 08 12:44:23 rosten: any idea why it is required and is it defined elsewhere in file? Jun 08 12:48:19 Dealing with rotation is by far the worst thing I ever done in android. If it's a MVC as some people defend, it shouldn't kill the Activity. Jun 08 12:49:16 You could tell the system that you meant to handle screen changes for yourself by specifying android:configChanges="orientation|screenSize" in the  tag. Jun 08 12:49:26 This way your activity will not get dropped on rotation Jun 08 12:51:00 Hey, I am new to andriod development and need some help with an application I am trying to build. Could someone please help me out? Jun 08 12:51:11 sure Jun 08 12:52:18 jonaskoeritz: Thanks :) So I am trying to build a basic android app which can take photos very X seconds without the user clicking any buttons - sort of remotely. Jun 08 12:57:02 jonaskoeritz: Complicate scenarios is this the default approach (handle rotation by your self)? Jun 08 12:58:57 wviana: i dont understand your question Jun 08 12:59:46 I guess I need to take the plunge and convert from ant to gradle Jun 08 13:00:35 jonaskoeritz: It it common to use DIY to handle config changes when recreating activity need more than just put some values into a bundle ? Jun 08 13:01:07 I've tried to retain instance in my fragments. But didn't worked as well. Jun 08 13:01:25 savedInstanceState is the preferred way i think Jun 08 13:01:32 Will try the DIY for configuration changes. Jun 08 13:04:59 Here a have a activity that creates Layer objects (three of them) , than I put the Layers into a addLayer method. This method call the addLayer in the MapFragment and add the Layer::getView into the SideBarFragment by addView method. As I dynamic inflate/add views into the SideBarFragment, when it restores it hasn't the layer view, as far as it destroys the fragment. Jun 08 13:07:21 thats far too complicated to discuss in text only (without code), whats your native language? Jun 08 13:09:18 jonaskoeritz: Portuguese. I'm been so far from expressing what I'm trying to ? Jun 08 13:09:39 am I been * right Jun 08 13:09:55 wviana: i'm having a hard time understanding your exact problems. Lets talk in private Jun 08 13:54:23 What's the easiest way to connect an Android app to a pre-existing rest API Jun 08 13:54:45 Using a library Jun 08 13:54:48 like retrofit Jun 08 13:54:52 or many others Jun 08 13:58:19 yeah. at the least, okhttp or similar library, but there's stuff to automap json, etc, like retrofit Jun 08 14:03:38 dragorn: i was looking for autom json mapper didn't find naything - I ended up having to code JsonObject....took a while finally got it done Jun 08 14:03:58 fels, retrofit Jun 08 14:04:39 I looked at that just now dragorn based on tx comment - seems like it would have helped. :( Jun 08 14:07:02 i think there's a few other libs, they basically all plug into introspection in java Jun 08 14:24:27 tx dragorn do you not have to be familiar with RxJava to use Retrofit? Jun 08 14:24:36 no Jun 08 14:24:38 not at all Jun 08 14:24:46 not the last time I looked at it, no Jun 08 14:25:06 I looked at the example and it looked different to typical Java code I'm used to Jun 08 14:25:17 Sorry Jun 08 14:25:19 I meant Dagger 2 Jun 08 14:25:22 not Retrofit Jun 08 14:41:22 markyosullivan: There is not really any connection between RxJava and Dagger 2 either. The fact that it looks different to "typical Java code" doesn't really link anything to RxJava. Jun 08 14:49:11 I didn't mean RxJava Jun 08 14:55:56 hi, i have http://pastebin.com/QLnHThSB in my gradle, but i cant import com.android.support.test, can help me? Jun 08 14:58:00 t0th_-_: https://google.github.io/android-testing-support-library/docs/espresso/setup/ Jun 08 14:58:06 have you read this? Jun 08 14:58:13 yes Jun 08 15:00:29 seems like you're pointing to the wrong artifact Jun 08 15:00:38 said there runner:0.5 Jun 08 15:00:42 and not what you had Jun 08 15:00:59 also, are you applying the android plugin? Jun 08 15:01:33 thepoosh: Have you ever used the SDK without eclipse/android studio Jun 08 15:02:01 tx: not really, I like using my IDE Jun 08 15:02:21 Hm, I am having a bit of an issue ,I am trying to get the SDK installed on a CI runner we have here Jun 08 15:02:27 it never seems to save the SDK components Jun 08 15:02:32 just downloads them and forgets them Jun 08 15:03:41 well, that depends on the ci you're using Jun 08 15:03:52 I know we have a ci running our build machine and it's fine Jun 08 15:05:08 hmm Jun 08 15:05:22 the CI isn't really the issue, I can reproduce it without the runner executing the scripts Jun 08 15:05:30 (by running the scripts as the runner user by hand) Jun 08 15:05:47 after sshing to the CI machine? Jun 08 15:05:51 yeah Jun 08 15:05:56 (ofc) Jun 08 15:06:11 I will take another gander tomorrow at work. Jun 08 15:06:19 mmkay Jun 08 15:36:58 nice https://github.com/strooooke/appbarsyncedfab Jun 08 15:43:35 new android gradle book http://shop.oreilly.com/product/0636920032656.do Jun 08 15:43:56 says early access, think today its finished though Jun 08 15:44:27 been trying to get into reading more paper books Jun 08 15:44:42 finally just bought an actual book for the first time in idk how long Jun 08 15:45:17 not android related tho Jun 08 15:45:47 orbyt_ gotta keep fighting for that attention span ;) Jun 08 15:46:03 meh, i enjoy multitasking tho. and am very good at it Jun 08 15:46:24 its one of those things people think they are good at, but then get tested to find out they arent Jun 08 15:46:26 haha Jun 08 15:46:36 'i'm pretty good driving drunk too :)' Jun 08 15:46:43 ¯\_(ツ)_/¯ Jun 08 15:49:49 dragorn bluetooth 5 ... Jun 08 15:53:46 g00s, haven't looked really Jun 08 15:54:29 dragorn https://news.ycombinator.com/item?id=11860383 Jun 08 15:58:01 * pfn orders up a new ac Jun 08 16:32:59 Hi, I trying to implement an BottomSheetDialogFragment and the basic layout work. But if I swipe up, the bottomsheet does not expand. How to enable this?? (Android Support Libraries) Jun 08 16:35:44 I'm trying to make a lot of my plain old java methods testable. I'm starting to remove dependencies inside of the methods also, so now I have big argument lists (that's fine). But my real question is... at this point... every method that I'm working on making more testable is becoming a static method. Any thoughts on that Jun 08 16:39:47 How are you testing static methods? Jun 08 16:41:33 eghdk: it sounds like you’re approaching this from more of a method centric approach rather than an object or class centric approach Jun 08 16:53:42 barq: I'm testing static methods by putting things in and asserting what comes out. Example: A Calc class that just has static util methods for add, subtract and stuff. So I test putting two values in and asserting the rest Jun 08 16:54:08 pfn u on Jun 08 16:54:16 what Jun 08 16:55:01 http://prntscr.com/bdxqx2 Jun 08 16:55:12 im assuming thats what you were suggesting to do yesterday evening Jun 08 16:55:17 right?? Jun 08 16:56:40 no Jun 08 16:56:46 well shit Jun 08 16:56:53 orbyt_: Why jump through so many hoops? Why not have one project that’s just the SDK, and another project that’s just the sample app which uses the SDK as a jar or aar? Jun 08 16:56:55 it should be contained within the root project, not in a separate tree Jun 08 16:57:46 s73v3r: because lets say i make a quick update to the sdk. I would have to build the .aar and copy+paste it into my sample apps /lib directory Jun 08 16:57:57 ok. and? Jun 08 16:58:05 and this way i dont have to Jun 08 16:58:14 can’t be worse than these hoops you’ve been jumping through the past few days Jun 08 16:58:51 i test changes after almost every one Jun 08 16:58:59 so thats alot of copy+paste Jun 08 16:59:24 you can set up a script to copy the aar into the destination Jun 08 16:59:37 this issue is just from yesterday as they decided they wanted a different structure for the project lel Jun 08 16:59:45 eghdk: what testing framework Jun 08 16:59:45 i had a sweet workflow going before Jun 08 16:59:56 s73v3r: how is that better than my current solution? Jun 08 17:00:21 well, for one, you won’t have to spend 3 days setting it up Jun 08 17:00:25 barq: JUnit. Just trying to test my plain old java code for correctness. Jun 08 17:00:36 s73v3r: just said this was from yesterday Jun 08 17:00:48 you’ve been asking about this since monday Jun 08 17:00:49 and i just got into work Jun 08 17:00:52 about this? Jun 08 17:00:54 no i havent Jun 08 17:19:02 is it possible to manually find out reason for "your device is corrupt" notification ? it's very annoying, even if everything in CM works Jun 08 17:19:15 sry, wrong channel, disregard Jun 08 17:21:54 aww Jun 08 17:28:32 Protip: newrelic makes your build time 3x Jun 08 17:28:48 you can disable the code-rewriting it does in debug builds Jun 08 17:29:08 https://discuss.newrelic.com/t/disable-new-relic-for-android-debug-builds/34654 Jun 08 17:30:12 whats newrelic? probably dont need it ~ Jun 08 17:30:46 yeah never heard of it Jun 08 17:30:57 Network traffic monitoring Jun 08 17:31:28 so if i disable it ill build faster? Jun 08 17:31:30 woo Jun 08 17:31:49 You add it in yourself, though. SO if you don't have it this isn't going to help you Jun 08 17:31:58 ohhh Jun 08 17:34:30 hey, where does one go to report bugs in Android N? Jun 08 17:35:51 b.android.com Jun 08 17:36:55 https://developer.android.com/preview/bug Jun 08 17:37:26 ugh i hate adobe shitware Jun 08 17:55:49 markyosullivan: Ok, so you actually wondered if you needed to be familiar with Dagger 2 to use Retrofit? Either way, you don't need to be familiar with any of those libraries to use any other of them. Dagger 2 and Retrofit both use annotations to reduce amount of boilerplate code, Retrofit and RxJava both have loads of automagic thread handling (and Retrofit supports RxJava if you want that). Jun 08 18:06:48 For debugging purposes, I'd like to send my service some kind of signal to dump its current state to logcat Jun 08 18:07:12 is there a recommended approach for this? ideally, this signal should be able to be sent by command line Jun 08 18:07:54 so I don't have to minimize my app from the phone and therefore alter its state Jun 08 18:09:24 you can send an intent from the am cli tool Jun 08 18:09:27 sleepster, i remember seeing something about sending a broadcast using cli Jun 08 18:10:32 sleepster, what i said is the same as Leeds Jun 08 18:11:10 thanks for the help guys Jun 08 18:11:20 so I would just register the receiver in the service Jun 08 18:11:25 and then send it via command line Jun 08 18:11:56 yup Jun 08 18:13:13 I want to start programming Android apps - what materials, websites? Jun 08 18:13:31 d.android.com Jun 08 18:13:44 what have you actually searched for prior to asking? Jun 08 18:15:17 deodev: do you know Java? Jun 08 18:15:35 a bit - c# my primary Jun 08 18:15:56 you’d be better served by learning java first Jun 08 18:15:58 maybe you don't see sharp enough for java :D Jun 08 18:16:25 instantrimshot.com Jun 08 18:16:34 heh java is easy - almost same as javascript Jun 08 18:16:42 no Jun 08 18:16:48 er... what? Jun 08 18:16:50 lol Jun 08 18:16:54 it’s not hard, but it’s nothing like js Jun 08 18:17:18 s73v3r: ^^ Jun 08 18:17:43 its just java... Jun 08 18:17:52 what about apps Jun 08 18:18:05 apps are just... apps Jun 08 18:18:10 any library or stuff thats I must use? where is gui? Jun 08 18:18:35 have you done any research at all? Jun 08 18:18:36 there is no gui Jun 08 18:18:48 you just blit to the video buffer Jun 08 18:18:49 d.android.com Jun 08 18:19:08 what? what u mean no gui?? Jun 08 18:19:17 d.android.com Jun 08 18:19:19 i mean no gui Jun 08 18:19:21 go there Jun 08 18:20:04 really, go thee Jun 08 18:20:09 there, thou Jun 08 18:20:19 ok what os they use Jun 08 18:20:38 or here: google.com Jun 08 18:20:53 im ms guy mainly Jun 08 18:21:03 GO TO THE GOD DAMNED DEVELOPER SITE Jun 08 18:21:07 android studio is OS indipendent. Jun 08 18:21:09 just starting and Jun 08 18:21:23 AND YOU’RE NOT GOING TO THE GOD DAMNED DEVELOPER SITE Jun 08 18:21:27 im there - quiet your caps Jun 08 18:21:39 seriously, this is asked every fucking day Jun 08 18:21:48 did you do absolutely no research before asking? Jun 08 18:21:51 heh sorry Jun 08 18:22:05 please dont sass me Jun 08 18:22:26 then do your fucking basic research Jun 08 18:22:34 i see people complaining that this channel is anti-social... but man, look at that Jun 08 18:22:38 easier to ask Jun 08 18:22:44 no, it isn't Jun 08 18:22:49 if you deal with helpfull people Jun 08 18:22:50 this is a bit outdated but it can serve you https://colabug.gitbooks.io/intro-to-android/content/index.html Jun 08 18:23:03 s73v3r: Please calm down and watch your language Jun 08 18:23:13 you’re not asking for “helpful” people, you’re asking for people to do your work for you Jun 08 18:23:40 SimonVT: sorry. but we do honestly get this same stuff multiple times a day Jun 08 18:23:56 maybe it should be in the welcome message Jun 08 18:24:06 Sure, but please keep it civil Jun 08 18:24:26 english is not my first language, thus i've just learned a new word: layabout Jun 08 18:24:50 mine too its second lang Jun 08 18:25:02 primitive thou Jun 08 18:25:07 Nothing will help. Every developer knows to check the official documentation. But those aren't the people who ask Jun 08 18:25:27 haha, this conversation is just great Jun 08 18:25:39 im just lazy with those online spagetti courses Jun 08 18:25:42 "any library or stuff thats I must use? where is gui?" Jun 08 18:25:49 guys, where is gui!?!?! Jun 08 18:25:56 "how is babby formed?" Jun 08 18:25:59 then you have to deal with your laziness first Jun 08 18:26:02 lol Jun 08 18:26:12 on win I just use wpf or others Jun 08 18:26:20 on Android ??? Jun 08 18:26:25 use your brain Jun 08 18:26:27 and read Jun 08 18:26:30 d.android.com Jun 08 18:26:32 I guess they must write their own gui Jun 08 18:27:08 gooey? Jun 08 18:27:18 you figured out how to use an IRC client, so that's *somewhat* promising that you can read from a browser Jun 08 18:27:46 gooi Jun 08 18:27:52 Just started enjoing that IRC session Jun 08 18:28:27 how about xamarin studio? Jun 08 18:28:40 how about trucks? Jun 08 18:29:01 instead of android studio Jun 08 18:29:15 if you want to use xamarin, sure Jun 08 18:29:44 http://www.engadget.com/2016/06/08/apple-app-store-subscriptions Jun 08 18:30:11 I really hope they do some serious updates to the iOS and Mac App Stores Jun 08 18:30:20 then I hope that Google will shamelessly copy them Jun 08 18:30:26 apple sales dropping Jun 08 18:30:37 subscriptions for apps, with the revenue split changing to 85/15 after a year of continuous subscription Jun 08 18:30:39 they’re still at infinity billion dollars Jun 08 18:30:56 I work in an consulting shop that also does iOS/OS X development -- believe me, developers all want major changes, too Jun 08 18:31:25 lots of people are unhappy with the whole process, especially Mac App Store Jun 08 18:31:29 i wonder if these app subscription thingies are in response to places like Sketch and JetBrains moving to a subscription model Jun 08 18:31:59 have no idea what apple is doing - android looks better Jun 08 18:32:14 Ads in the appstore :x Jun 08 18:32:14 they're in need of fundamental fixes, you still can't charge for new versions without creating an entirely new app, for example Jun 08 18:32:15 store wise? They’re both doing about the same thing Jun 08 18:32:15 it's a way to turn users into a revenue stream rather than a big bang Jun 08 18:32:40 seems like a bad idea from a user PoV Jun 08 18:32:56 argentum: I have a friend who does a Mac application. He’d love to use the App Store, but it just doesn’t allow you to know your customers Jun 08 18:33:09 it doesn't allow a lot Jun 08 18:33:09 apple should add two more buttons on bottom lol Jun 08 18:33:29 it doesn’t let you do things like offer a discount for existing customers on an update Jun 08 18:33:42 the momentum on the Mac is clearly moving away from the App Store Jun 08 18:33:46 deodev: I think Apple is doing just fine having one button Jun 08 18:34:13 argentum just reading about app store 2.0, we'll hear more at wwdc Jun 08 18:34:28 argentum: considering how easy it is to just not use the App Store, they really need to revamp it on the Mac side Jun 08 18:34:32 yeah so far they are just removing stuff like earphone plug Jun 08 18:34:37 g00s you have more information than just the updated subscriptions? Jun 08 18:34:57 s73v3r argentum just http://www.theverge.com/2016/6/8/11880730/apple-app-store-subscription-update-phil-schiller-interview Jun 08 18:35:07 what i'd like is paid updates, on google play also Jun 08 18:35:28 amazing the gate keepers are so lame in these features Jun 08 18:35:31 agreed. Jun 08 18:35:49 greed will kill apple Jun 08 18:36:06 doubt it Jun 08 18:36:45 I would like to see the different app stores unified, so one could buy the app on OS X, and get the companion mobile app bundled with it Jun 08 18:37:10 MS wants to unify XBox and Win app strores Jun 08 18:37:16 i’d also like much better discovery Jun 08 18:37:44 * CPlusC wants to edit an apk file and rename application name and desctiption and edit some xml files and install this... elp to edit it Jun 08 18:37:45 sad to see windows phone really doing bad Jun 08 18:37:57 reminds me of being annoyed that I paid $60 to play Overwatch on my Xbox One but they want me to pay another $60 to play it on my PC Jun 08 18:38:01 CPlusC wrong channel, this is dev not reversing Jun 08 18:38:03 CPlusC: you can do that Jun 08 18:38:07 it just wont be signed Jun 08 18:38:11 also that etc etc Jun 08 18:38:47 azv4: If you only got it on steam Jun 08 18:38:54 you could play it with your xbox controller Jun 08 18:39:02 too bad steam and blizzard do not get along Jun 08 18:39:03 :( Jun 08 18:39:10 okay, how can i sign that? which channel can help me? Jun 08 18:39:15 Would be good to get big picture integration. Jun 08 18:39:20 maybe android-root Jun 08 18:39:28 but what you’re doing is incredibly sketchy Jun 08 18:39:46 trying to update an asp webpage as requested by my boss today, never touched any asp in my life, and Im ready to break stuff over my head Jun 08 18:40:40 azv4 welcome to android, you don't have to worry about breaking stuff because its already broken. so should be less stress Jun 08 18:40:52 g00s, :) Jun 08 18:41:00 I programmed asp Jun 08 18:41:06 lol Jun 08 18:41:13 asp.net or classic azv4 Jun 08 18:41:19 deodev, classic Jun 08 18:41:25 geez - thats old Jun 08 18:41:34 everything here is old Jun 08 18:41:44 u need to learn bit of vb5/6 Jun 08 18:41:46 I'm in the middle of learning VB6 also... Jun 08 18:41:54 azv4: don't fret Jun 08 18:41:58 I know a fair amount of VB6/VBA, not a ton Jun 08 18:42:01 but it is eazy Jun 08 18:42:04 that sounds like pain Jun 08 18:42:06 a week ago a friend of mine had to convert website that ran off an excel spreadsheet Jun 08 18:42:11 to something a bit more tennable Jun 08 18:42:31 I know how painfull it is - my last contract was nightmare with asp Jun 08 18:42:47 the Excel Macro is the worst thing that Microsoft has ever wrought upon this world Jun 08 18:43:21 go to any warehoure thats 20years old - you will se a twilight zone Jun 08 18:43:31 hm. excel macros are just functional programming brought to MBAs :) Jun 08 18:43:40 this job requires expertise in: Android Studio, JAva, XCode, Objective C, C#, VB.net, VB6, VBA, ASP classic, T-SQL, and a few I'm too annoyed to remember right now Jun 08 18:44:05 VB6 lol Jun 08 18:44:08 lol - u lead dev or what? Jun 08 18:44:08 what is VBA ? Jun 08 18:44:16 Visual Basic for Applications Jun 08 18:44:27 it is a scripting language Jun 08 18:44:34 Im c# master Jun 08 18:44:52 C# is one of my stronger languages, I'm pretty green out of school though Jun 08 18:45:05 and Im struggling so hard at this job, fortunately they are willing to allow me to learn on the job Jun 08 18:45:11 but I have zero internal support Jun 08 18:45:19 azv4: I’m guessing that, along with requiring expertise in every technology under the sun, it also pays peanuts? Jun 08 18:45:25 then dont take very complex work - you will destroy business - seen it Jun 08 18:45:47 best is MVC oe Rest Jun 08 18:45:54 s73v3r, yes, legal minimum healthcare, no PTO, less than 1/2 the industry median pay Jun 08 18:45:59 I love winapps too Jun 08 18:45:59 mvc or rest Jun 08 18:46:01 what Jun 08 18:46:03 that makes 0 sense Jun 08 18:46:17 when it comes to websites Jun 08 18:46:19 deodev: they’re not going to destroy the business, then. The business is going to destroy itself Jun 08 18:46:27 hehe Jun 08 18:46:52 webapi I meant Jun 08 18:47:23 though MVC has a lot of built in stuff Jun 08 18:47:49 azv4: If they’re paying shit, don’t feel bad about taking a long time to do things Jun 08 18:48:09 s73v3r, I don't feel real bad, but I get alot of heat from time to time Jun 08 18:48:17 but then he'll have bad references Jun 08 18:48:30 is <% asp or javascript? Jun 08 18:48:39 I dont even know wtf Im looking at here lol Jun 08 18:48:40 unlikely. most places don’t do more than confirm you worked from Day 1 to Day xs Jun 08 18:49:08 I need better job... Jun 08 18:49:15 bored of programming Jun 08 18:50:14 lately im interested in RE stuff Jun 08 18:50:19 ? Jun 08 18:50:28 reverse engineering Jun 08 18:51:09 I'm close to that point where a person is just so pissed off they don't even understand things they read Jun 08 18:51:32 dealing with users is harder than programming Jun 08 18:51:33 maybe start floating your resume around Jun 08 18:51:59 s73v3r, I'd love to, but I live in an area where only a couple programming jobs in the whole county Jun 08 18:52:10 remote work? Jun 08 18:52:12 s73v3r, and I can't really leave the area due to some circumstances Jun 08 18:52:23 s73v3r, you hiring someone to do remote work right now? Jun 08 18:52:40 I’m not, but there are places that are Jun 08 18:53:02 I have an Associates Degree and 15 months experience heh... Jun 08 18:53:06 im doing remote now Jun 08 18:53:16 pays shyte thou Jun 08 18:53:17 I fell like I'm dang lucky to even have this job Jun 08 18:53:26 don’t Jun 08 18:53:35 they hired you because they needed you Jun 08 18:53:56 it took them over a year to hire me after the guy I replaced left Jun 08 18:54:03 yes azv4 - have some higher self esteem Jun 08 18:54:09 they can't find programmers in this small town in this dead county Jun 08 18:54:11 doesn’t matter. they decided they needed you Jun 08 18:54:30 probably because many programmers are not working in small towns Jun 08 18:54:36 if anything, they were lucky to find you Jun 08 18:54:41 most of ceos are dumber than you think Jun 08 18:55:12 I don’t know if I’d say that. the management at their company probably knows exactly what they’re doing Jun 08 18:55:32 if those are women - they probably dont Jun 08 18:55:53 yeah, no. that kind of sexist crap isn’t welcome here Jun 08 18:56:11 it is not sexist Jun 08 18:56:19 yes, it was Jun 08 18:56:20 just experience Jun 08 18:56:24 lol Jun 08 18:56:30 if you looked up sexism in the dictionary, you’d see your statement there Jun 08 18:56:50 doesnt relate to reality Jun 08 18:56:54 whatever Jun 08 18:57:07 some women are super intelligent Jun 08 18:57:17 but most are not good for IT Jun 08 18:57:28 and I’ve had the exact opposite experience Jun 08 18:57:45 I’ve known women who are great for IT, but they leave because of people like you Jun 08 18:58:06 I've found most senior women in IT to be very competent but very difficult to get along with for some reason, probably more me than them, but I dont know Jun 08 18:58:10 Ive seen women destroy companies and fire people because of their ego Jun 08 18:58:14 I worked in IT for years before getting into programming Jun 08 18:58:20 and I’ve seen men do the same thing. your point? Jun 08 18:58:21 and stubborness Jun 08 18:58:33 in fact, i’ve probably seen more men do it Jun 08 18:58:36 women act on emotions - not logic Jun 08 18:58:41 IT= logic Jun 08 18:58:43 no more than men Jun 08 18:58:47 I would suggest going back to topic Jun 08 18:58:54 *cheer* Jun 08 18:58:57 thank you Jun 08 18:58:59 or that. that works better. :) Jun 08 18:59:08 o/ Jun 08 18:59:13 seems a bit extreme, but understandable Jun 08 19:00:37 I know many women who are programmers Jun 08 19:00:58 my favorite professor at college was a woman, and she was the best programmer I've met Jun 08 19:01:31 I’m not lying when I know several that would be good at it, or were good at it, and left because of the attitudes of people like him Jun 08 19:02:43 but, back to topic. let’s hope that any announced changes to Apple’s App Stores will quickly make their way to the Play Store as well Jun 08 19:03:07 My boss thinks this is a super easy modification. But I have to learn at least the basics of classic ASP and Javascript Jun 08 19:03:12 especially ones that make it easier to discover stuff, and easier to sell stuff Jun 08 19:03:49 I really wish they could come up with a truly unified mobile platform Jun 08 19:04:09 azv4: It might be easy for someone who knows the system, but like you said, you need to learn the system first Jun 08 19:06:20 IT is logic? IT is politics. Or, some sort of strange logic Jun 08 19:07:28 we've just been kicked out from a project because we did our part... too fast Jun 08 19:07:43 did it work? Jun 08 19:08:10 did you do it outside the scope of work in some way? Jun 08 19:08:10 doesn’t matter. by doing it too fast, they deprived the unit from additional revenue Jun 08 19:08:17 Anyone here familiar with RxJava? Got an interesting issue. First time using Rx, so I might be making a noob mistake. But basically I added a Thread.sleep() in one of my methods to see if my method call happens on the main thread or not and I got interesting results. http://pastebin.com/GzGVCbTC​ Jun 08 19:08:51 The result is that I don't expect any return to happen faster than 5 seconds, but if I type more than 1 letter, I get a response pretty much instantly. If I only type 1 letter I get a response in 5 seconds Jun 08 19:08:57 yep. they called a specialist consultant who said to the directors everything was right and standard Jun 08 19:09:44 middle management ignored and said they don't want us anymore Jun 08 19:10:42 laid off? Or sent to work on something else? Jun 08 19:11:19 we are consultant ourselves (me and my brother, incorporated) Jun 08 19:12:00 lol Jun 08 19:12:16 we've been hired by company X to integrate their system with SAP of company Y Jun 08 19:12:25 oh man, SAP Jun 08 19:12:35 * g00s runs Jun 08 19:12:41 i told here about it sometime ago Jun 08 19:13:57 but, they asked us if we had the official SAP secret society initiation Jun 08 19:14:54 and we answered we hadn't Jun 08 19:15:21 btw, they questioned almost with those words Jun 08 19:16:48 then hell fell upon us (even though the SAP master said we've been blessed by the SAP spirit) Jun 08 19:17:07 Anyone with RxJava experience able to help me out on convertin a onTextChangedListener? Code is http://pastebin.com/GzGVCbTC​ Jun 08 19:17:47 i'm seeing decent improvements with gradle 2.14 Jun 08 19:17:49 rc5 Jun 08 19:19:25 eghdk: pastebin says your paste was removed. maybe the link is wrong? Jun 08 19:20:33 I am reading that 'menu' is created by default in Eclipse but since I am using AS its not there. How do I add one? the tutorial doesn't mention it. Jun 08 19:21:47 mattro: Sorry http://pastebin.com/qnE8q8dt Jun 08 19:22:23 eghdk: sadly i don't really know anything about rxJava, but i just noticed your link Jun 08 19:22:31 Hahaha. Dang. Jun 08 19:22:36 Thanks though Jun 08 19:26:52 I wanna try to post in #java or something, but usually anything android related over there, and they just send you here. Is there any RxJava channels? Jun 08 19:33:47 is there any project, that would maintain signal and/or redphone without dependency on Google Play Services ? Jun 08 19:44:59 eghdk: according the the reactivex site there's a #reactivex on here on freenode Jun 08 19:45:35 http://reactivex.io/community.html Jun 08 19:46:23 thanks mattro You're 2 for 2. =) Jun 08 19:46:47 I think I figured out my issue though. My thread was getting interupted. First time I've ever seen that in 3 years of java dev. lol Jun 08 19:47:28 nice! Jun 08 19:49:37 anyone knows of a good place to buy the 5X (preferably < $280 US) ? 6p? Jun 08 19:51:50 i’ve created the following in androidm when i click on a button it animates and scales down to say 30% of its height, you click on it again and it increases back to original height, what i’m trying to do now is then when i click on the button and it decreases in height i want to links behind it to fade in, the only issue I can’t figure out how to display the links behind the button, any ideas? Jun 08 19:57:02 anyone familiar with the ndk? Jun 08 19:57:22 I have a library using native stuff and am trying to ditribute it via jitpack Jun 08 19:57:55 i know its hooked up correctly because i can see a test class from the library in my autocomplete, but none of the native methods work Jun 08 19:58:06 tryna figure out why Jun 08 20:00:15 orbyt: are you loading the library properly? Jun 08 20:01:23 well i can get it from jitpack so I guess? Is that what your asking? Jun 08 20:01:31 or loading the native part properly? Jun 08 20:11:27 the native part Jun 08 20:12:55 I'm not sure, how would i know if im loading it properly or not? Jun 08 20:53:20 anyone know how I can remove the xlarge version of an activity? Jun 08 20:55:05 remove? Jun 08 20:55:25 i mean, if you’ve got a special layout, you can just remove the file Jun 08 20:55:49 deleting it deletes the regular layout too Jun 08 20:56:01 is it a separate layout? Jun 08 20:56:02 theres an option Jun 08 20:56:12 to not delete variations of resources Jun 08 20:56:54 orbyt: are you calling System.loadLibrary("libName")? Jun 08 20:57:17 s73v3r: not sure. looks like this in android studio http://imgur.com/eFlg2Cu Jun 08 20:57:22 dsardari1: Jun 08 20:57:26 woops Jun 08 20:57:47 dsardari1: yes its at the bottom of every class Jun 08 20:58:29 what do you mean by bottom? Jun 08 20:59:05 deleting it outside of android studio worked. thanks Jun 08 20:59:22 dsardari1: i just mean its called at the bottom of the class Jun 08 20:59:39 theres a static {System.loadLibrary("bass");} Jun 08 21:02:18 hmm. yeah not sure then. Jun 08 21:03:57 well i pulled up the module locally and the methods are showing errors with Cannot reslove corresponding JNI function Jun 08 21:17:38 when debugging or running a app in android studio, how can you see what assets are being created by your app? Jun 08 21:18:04 I could not see anything in android studio like a file manager for the emulator or on the nexus 7 emulator as well Jun 08 21:22:35 you mean loaded? Jun 08 21:25:02 I have a sqlite database that gets created, but it does not seem to be populating the data, but I am not getting any log entries (not even verbose) but I was before. I cannot tell if there is an error happening or what. I wanted to see if my sqlite database was created properly Jun 08 21:29:57 jexmex, If there's an SQL error occuring on database create/fill query you must be able to see it in Android Monitor window in AS Jun 08 21:30:40 Also, I highly recommend you to use Facebook's Stetho library for debugging your SQLite database Jun 08 21:31:17 It's a very useful tool once you try it you'll can't work without it anymore Jun 08 21:32:38 ok, looking at it now Jun 08 21:42:49 Yes, I just started using Stetho a few days ago and it works like a dream Jun 08 21:42:56 I use it for my Realm database Jun 08 21:43:16 http://android-developers.blogspot.fr/2016/06/notifications-in-android-n.html Jun 08 21:43:24 hey adq Jun 08 21:43:26 Wish I had known about it sooner, Stetho has saved me quite a bit of time already Jun 08 21:43:30 we found the problem with the IAPs Jun 08 21:43:31 matt_j o/ Jun 08 21:43:42 great, what was it matt_j? Jun 08 21:43:44 turns out that "Go Live" needed to be pressed when dealing with partial rollouts Jun 08 21:43:57 I got logs back, I think it had something to do with the image update that I had to do I guess Jun 08 21:43:58 otherwise all changes don't take effect. At. all. Jun 08 21:44:06 it's BS IMO Jun 08 21:44:07 oh right Jun 08 21:44:19 i never used their stage roll features for alpha/beta Jun 08 21:44:22 IMO alpha builds should still function properly, but I guess not. Jun 08 21:44:24 well Jun 08 21:44:27 we only used it for Prod Jun 08 21:44:32 but it didn't matter Jun 08 21:44:45 that's good to know, thanks for telling us Jun 08 21:44:46 basically marketing started changing screenshots and we didn't want to hit Go Live Jun 08 21:44:58 and that was messing up the alpha/beta builds :( Jun 08 21:45:00 np Jun 08 21:57:28 Anybody ever got this error? libprocessgroup: failed to make and chown /acct/uid_10058: Read-only file system Jun 08 21:59:01 is there any good third party library for swiping items in recyclerview and getitng options? Jun 08 22:01:04 is there a straight-forward way to inflate a popup menu on top of another view like the material spec suggests? Jun 08 22:05:03 hello Jun 08 22:05:17 like this I mean, https://material-design.storage.googleapis.com/publish/material_v_8/material_ext_publish/0B_udO5B8pzrzdmJrQUk3aXd0RTg/components_menus_usage2.png the default popup menu puts it below or above the view Jun 08 22:05:18 looking for help in creating MTK Android FOTA builds Jun 08 22:05:37 I am able to build AOSP FOTA packages no prob.. Jun 08 22:05:45 but MTK seems to do things differently Jun 08 22:06:08 fmedina this doesn't seem to be the right place for that, this is strictly app development Jun 08 22:06:27 oh, sorry Jun 08 22:06:44 apologies Jun 08 22:07:02 memorion: that looks like the regular action bar/toolbar menu Jun 08 22:07:43 s73v3r yes, but I inflate a popup menu on an imagebutton and its not on top of it Jun 08 22:33:54 Hey there, got a question: I'd like to simply use a GradientDrawable, but i want to use it multiple times in a lot of views. To be as lightweight as possible i have used just a View. This has the problem, that if i change the color of one GradientDrawable the view's do not update. If i use FrameLayout this problem does not occur. Jun 08 22:34:03 What does View do differently then FrameLayout so that the setColors() method of the GradientDrawable does work on FrameLayout might be my first question? Jun 08 22:34:09 The second question is how much overhead is there in using FrameLayout over plain View? Jun 08 23:11:20 nothing, and framelayout has no overhead Jun 08 23:21:43 technically i use my device upside down, most apps work and orient themselves correctly - but some seem hard-coded to show a certain way which then appears upside down again :/ what is the cause of that ? Jun 08 23:22:19 are they handling orientation changes and screwing up ? Jun 08 23:22:37 a bunch of gapps btw Jun 08 23:24:07 they’re being lazy Jun 08 23:39:38 g00s, i believe it's common when portrait mode is forced without using the sensor Jun 08 23:39:59 err the contrary sorry, in landscape Jun 08 23:39:59 adq ah that makes sense .. lol google Jun 08 23:40:13 in portrait i never saw it tbh Jun 08 23:40:15 its in portrate Jun 08 23:40:23 *portrait Jun 08 23:40:39 cannot be worst than mounting the camera up side down :> Jun 08 23:41:26 adq so i see this when i have auto-rotate enabled, but if i lock portrait mode seems most are OK Jun 08 23:41:28 g00s, have you seen this behavior with regular app made with sdk (like with toolbar etc)? Jun 08 23:41:42 maybe with opengl or native app, probability to happen is higher Jun 08 23:41:45 adq the camera upside down ? no ... Jun 08 23:41:52 in any case just decompile the apk and check the manifest Jun 08 23:41:56 for example, google analytics is upside down for me Jun 08 23:42:17 oO Jun 08 23:42:57 g00s, what's your device and rom?? Jun 08 23:43:04 adq stock n7 2013 Jun 08 23:43:14 dang Jun 08 23:43:25 let's blame google as always then ;) Jun 08 23:43:45 only goes upside down when auto-rotate is enabled, but other apps are OK so yeah - we can blame google :D Jun 08 23:44:11 i like to have the power cord go away from me as its sitting on the desk Jun 08 23:44:20 i feel you Jun 08 23:45:17 the camera up side down was a semi-joke, remember nexus 5x Jun 08 23:45:57 it was a combination with the old camera api and how they mounted it Jun 08 23:45:57 you're holding it wrong! Jun 08 23:46:05 :') Jun 08 23:46:34 shmooz i'm not holding it :D Jun 08 23:54:26 ok so I got my app to show up in the open with list when the user clicks a mp3 or mp4 file from a file explorer Jun 08 23:55:04 but how do I receive the uri that points to the location of the file, so I can start playing it? Jun 08 23:55:16 that should be included in the intent Jun 08 23:55:58 I'm thinking I need some sort of receiver Jun 08 23:56:06 i believe there is a "standard" bundle extras key for file locations that you probably want to use Jun 08 23:56:27 yeah, you don’t need a reciever. it should all be in the intent Jun 08 23:56:57 well I didn't do anything in java code to receive the uri and start playing it, I did a intent-filter in xml only Jun 08 23:57:21 and so my app shows up, but when I click it the app starts but doesn't play the file Jun 08 23:57:29 so in the activity that receives the intent, you’re gonna have to look in the extras Jun 08 23:58:34 ok yeah get extras makes sense Jun 09 00:47:44 Are any of you using the Jack toolchain? Is it good/stable enough to be used in production apps yet? Jun 09 00:48:48 https://developer.android.com/preview/j8-jack.html specifically for native lambdas Jun 09 00:49:45 Wait nevermind, apparently you have to set minSdk to 23 to use it Jun 09 00:50:01 yeah jack is pretty bleeding edge Jun 09 00:52:37 dragorn nice and cool today Jun 09 00:53:38 liuwenhao, you can use lambdas with jack without minsdk 23 Jun 09 00:53:49 you only need min23 for default methods and some other things Jun 09 00:53:56 g00s, yeah today was nice; going to cali saturday so I'm trying to get a bunch of stuff done before then & it was really nice that it wasn't some stupid temperature Jun 09 00:54:07 default methods and repeatable annotations Jun 09 00:54:45 do method references work below 23 ? Jun 09 00:55:02 of course, they're just anonymous class instances Jun 09 00:56:11 * pfn isn't sure how it desugars exactly Jun 09 01:05:09 i really like how VS Code organizes its files on the left; its kinda like the regular tree view + Intellij Ctrl-E Jun 09 01:05:26 they still don't have tabs, but i guess they are adding them soon (old habits die hard) Jun 09 01:38:07 if I see the dot under the play icon that means instant run is enabled right? Cause as far as I can tell I shut it off and it came back even though it's off Jun 09 01:54:50 i have a textview containing 10,000+ words, and i want users to easily search through the text. is there a library that does something similar to chrome's "find in page" Jun 09 01:54:54 http://3.bp.blogspot.com/-lCrIpp9KR4k/Vh948ASCLTI/AAAAAAAABg0/xWXqyiIPl_c/s640/find-in-page-google-chrome.jpg Jun 09 01:59:53 not sure if textview is the right choice for that Jun 09 02:03:16 actually, im using recycleview Jun 09 02:03:34 textview is just sort of arbitrary example i guess to simplify my question Jun 09 02:17:27 Hi all -- is it bad practice to have an EventBus between your presenter and model data? It seems like a good solution to get data from the model but I want to make sure before I screw up this codebase Jun 09 02:17:44 in MVP, not MVVM Jun 09 02:18:15 I was thinking of using RxJava as an EventBus like https://medium.com/@diolor/rxjava-as-event-bus-the-right-way-10a36bdd49ba#.m6ckgk31a Jun 09 02:23:49 liuwenhao i think the challenge, is to replace the easy out of event bus with rxjava /pipeline/ ... if you just use BehaviorSubject or whatever its not much better, actually less convenient than something like eventbus Jun 09 02:25:29 so when people say rxjava > event bus, its more that the paradigm of creating a pipeline that is more local to explicitly include what needs to observer changes is better than multicasting to every part of the app Jun 09 02:31:17 Alright I will try to avoid that Jun 09 02:31:35 Thanks @g00s Jun 09 02:33:35 In my Dagger Module constructor, I take in a value that is determined at runtime. It's a common enough pattern in Guice, but in Dagger you don't explicitly instantiate your module anywhere Jun 09 02:33:47 How would I go about passing that value? Jun 09 02:35:02 ResidentBiscuit: dagger 1 I take it? Jun 09 02:35:14 Dagger 2 Jun 09 02:35:19 Should have specified that Jun 09 02:36:08 hmm, don't you instantiate the modules that need input when you instantiate the components? Jun 09 02:36:29 From my understanding, all you write for the components is the interface Jun 09 02:36:40 And Dagger builds the implementation Jun 09 02:37:01 You specify the modules in the @Component annotation Jun 09 02:38:40 ResidentBiscuit: I'm sure there are various ways to do it but I instantiate my components in my Application onCreate() Jun 09 02:39:53 for classes that don't have an inject constructor you need to inject them manually by getting a component Jun 09 02:40:27 like Android framework classes, you don't have access to the constructor Jun 09 02:44:32 The issue with that is the component builder is generated at compile time, I dont think I have any way to get a builder that will take my argument Jun 09 02:46:24 Er maybe I can Jun 09 02:46:46 hmm, not sure I understand, you declare module constructors to take the input you need and then pass those arguments as you pass the module when you build the component in the application oncreate() Jun 09 02:47:51 Yeah I was originally building the component like `MyComponent component = MyComponent.builder().create()`. I didn't realize I could `MyComponent.builder.myModule(new MyModule(arg)).create()` Jun 09 02:48:12 like this, in MyApplication onCreate(): Jun 09 02:48:13 mMyComponent = DaggerMyComponent.builder() .myModule(new MyModule(someArgument)) .build(); Jun 09 02:48:19 ah yes Jun 09 02:48:27 you got it :) Jun 09 02:48:41 Sweet, awesome! This component stuff is magic Jun 09 02:48:50 it's pretty cool stuff :) Jun 09 02:49:12 At first I thought Dagger was really awkward compared to Guice, but it's growing on me. The compile time sanity is great Jun 09 02:50:01 definitely :) Jun 09 02:50:23 It takes some mental juggling to re-frame your mindset about how modules are defined and then how are composed. Jun 09 02:50:32 If you've dealt with Guice before, that is Jun 09 02:51:25 I've spent the last ~6 months getting the hang of Guice at work, now I'm shifting to Dagger for android stuffs. Definitely a change of mindset Jun 09 02:51:54 Still haven't formed an opinion on which I feel is better, yet Jun 09 02:52:12 Guice feels simpler, but Dagger feels a lot safer Jun 09 02:52:22 Those were each their goals Jun 09 02:52:30 So success! Jun 09 02:53:04 Huzzah! **** ENDING LOGGING AT Thu Jun 09 02:59:58 2016