**** BEGIN LOGGING AT Fri Dec 02 03:00:01 2016 Dec 02 03:11:58 mark4: what build system are you using? Dec 02 03:12:03 Also what NDK version? Dec 02 03:12:15 You're getting your system's sys/cdefs.h rather than the NDKs Dec 02 03:12:20 Which obviously doesn't work Dec 02 03:19:35 danalbert, what do y meanb what build systems Dec 02 03:19:41 im just doing an ndk-build Dec 02 03:20:02 ohhh it could be an env variable missing then! Dec 02 03:24:33 mark4: environment variable seems unlikely, but possibly a bad makefile? Dec 02 03:24:52 What NDK version and which compiler? Dec 02 03:24:57 no. the makefile was working just fine 6 months ago when i last built Dec 02 03:25:20 i can try ANY ndk version and i was using clang Dec 02 03:25:43 i can set any ndk version in the prokect.properties file yes? Dec 02 03:26:12 I don't really know what goes in project.properties Dec 02 03:26:27 Once you're outside Android.mk I don't know what goes on :) Dec 02 03:26:44 Wait, are you confusing NDK version and API level? Dec 02 03:26:51 how do i set the NDK version to use in the Android.mk or Application.mk ? Dec 02 03:26:56 You don't Dec 02 03:27:02 Which NDK version did you download? Dec 02 03:27:15 oh im on the latest version of everything Dec 02 03:27:28 android studio makes that simple Dec 02 03:27:40 Okay, so r13b then Dec 02 03:28:11 13.1.3345770 Dec 02 03:28:17 Yeah, that's r13b Dec 02 03:28:44 why google has to put 3 or 4 different version identifications on everything ill never know Dec 02 03:29:24 Major/minor/build number Dec 02 03:30:46 mark4: if you have a test case you can upload, could you file a bug? Dec 02 03:30:54 i still suspect build environment, why would an ndk-build be sucking in a system include otherwise Dec 02 03:30:54 Just poking around I'm not able to make that error come up Dec 02 03:31:21 probably because you have the right paths set lol Dec 02 03:31:31 Clang in r13 (and earlier) for some reason had system headers on the default include path, even for cross-compiled targets Dec 02 03:31:43 Thr clang in r14 (not released yet) has that fixed Dec 02 03:31:56 But it's still something that shouldn't affect normal use Dec 02 03:32:03 so this might be an ndk bug? Dec 02 03:32:12 Unless your NDK install is actually corrupt and you're missing some of the include files Dec 02 03:32:25 i can delete and reinstall Dec 02 03:32:27 lets check that Dec 02 03:32:32 Probably worth a shot Dec 02 03:32:53 ndk deleted Dec 02 03:33:19 re downloading Dec 02 03:33:27 You can run `ndk-build V=1` and it will show you the full compile command line Dec 02 03:33:37 aha cool! Dec 02 03:33:39 One of the arguments is `--sysroot some/path` Dec 02 03:33:51 erm i cant right now lol Dec 02 03:33:57 It should be `$NDK/platforms/android-$API_LEVEL/arch-$ARCH` Dec 02 03:34:08 Yeah, just something to try if reinstallign doesn't fix Dec 02 03:34:14 ya Dec 02 03:35:51 'NDK' sounds like a rap group. Dec 02 03:36:02 that was NWA :P Dec 02 03:40:12 -isystem /home/mark4/Android/Sdk/ndk-bundle/platforms/android-19/arch-arm/usr/include Dec 02 03:41:27 And presumably that/usr/include/sys/cdefs.h does exist? Dec 02 03:41:30 In file included from /home/mark4/Android/Sdk/ndk-bundle/platforms/android-19/arch-arm/usr/include/jni.h:27: Dec 02 03:42:14 there is no cdefs.h in that directory Dec 02 03:42:29 That would be your problem then Dec 02 03:43:28 cdefs.h only exists in ndk versuions 12, 13, 14, 15, 16, ,18, 18 and 19 Dec 02 03:43:30 none others Dec 02 03:44:01 actually Dec 02 03:44:06 its not failing to find cdefs.h Dec 02 03:44:12 its finding an error inside cdefs.h Dec 02 03:44:19 # if __GNUC_PREREQ (4, 6) && !defined _LIBC Dec 02 03:44:28 error: token is not a valid binary operator in a preprocessor expression Dec 02 03:44:46 google that error and the only things you will find are xcode related Dec 02 03:44:46 But it was an error in /usr/include/sys/cdefs.h Dec 02 03:44:51 Your host's Dec 02 03:45:05 (at least according to your posted error earlier) Dec 02 03:45:09 its saying /usr/include/sys/cdefs.h yes Dec 02 03:45:25 https://developer.android.com/ndk/downloads/index.html Dec 02 03:45:32 so why is it pulling in a system include, not an ndk include Dec 02 03:45:39 Try downloading the NDK from there and replacing ndk-bundle with that Dec 02 03:46:03 if you don't have platforms/android-19/arch-arm/usr/include/sys/cdefs.h Dec 02 03:46:21 Because if you don't have that, it sounds like the sdk manager failed to install Dec 02 03:46:27 all that does is overlay the page wiht an terms and conditions that flickers very very badly if i mouse wheel scroll Dec 02 03:46:34 and theres no "i agree" button Dec 02 03:47:03 https://github.com/android-ndk/ndk/wiki#current-stable-release Dec 02 03:47:18 yea there is. i just have to alt click my browser till the title bar is 3 feet off the top of the display and pull the lower border of it down to uncover the button Dec 02 03:48:00 however. pushing the button obviously activates a pupup window. i have ALL popup windows disabled for all reasons. no popups allowed at all ever for any reason Dec 02 03:48:17 ok nvm i got it to work. its downloading Dec 02 03:48:20 freeking PITA tho Dec 02 03:48:52 if i allow any popups the non porn, non wares sites i go to abuse it and spam the fuck out of me Dec 02 03:49:03 ANY popups, they abuse it. Dec 02 03:57:39 extracting the ndk zip file in the midnight commander. that mignht take a while :/ Dec 02 03:59:52 actually that was going to take hours. mc is extracting one file from the zip every 2 or 3 seconds. freeking stupid lol Dec 02 04:02:08 wow Dec 02 04:02:10 that built Dec 02 04:02:25 so the zip file downloaded by android stupidio is buggered up Dec 02 04:03:18 That's... interesting Dec 02 04:03:23 Because they're the same zip file Dec 02 04:03:41 then the sdk manager is doing a selective extract or a selective copy after extraction Dec 02 04:03:48 http://tools.android.com/filing-bugs Dec 02 04:03:58 i know they download into /tmp and extract into /tmp and then copy into the target directory Dec 02 04:04:08 that in and of itself, is a MAJOR MAJOR stupid thing to do Dec 02 04:04:18 some systems put /tmp in ram Dec 02 04:04:32 you cant extract a 2345245 gig zip file into a ram drive Dec 02 04:05:35 Something along those lines is the first thing I would assume went wrong. Ran out of space on /tmp while extracting or something Dec 02 04:05:38 actually, i am using the canary version of studio, maybe i should test again with the stable one Dec 02 04:05:50 I'd really expect that to say that it failed though Dec 02 04:05:52 no i dont have /tmp in ram Dec 02 04:05:53 Yeah, try stable Dec 02 04:06:07 and yea it does tell you when it runs out of space in ram :) Dec 02 04:06:10 And definitely file a bug if it turns out it's just a problem with canary Dec 02 04:06:21 Other wise it'll just be a bug in stable in a couple months :) Dec 02 04:06:26 lol Dec 02 04:11:10 hang on gotta log out and back in again. Dec 02 04:11:20 which is better than having to reboot :P Dec 02 04:39:05 so while stable AS is downloading i copied the ndk project directory from laptop2 to laptop 1. i have the ndk fix installed here too Dec 02 04:39:14 the build gives me Dec 02 04:39:22 home/mark4/Android/Sdk/android-ndk-r13b/toolchains/llvm/prebuilt/linux-x86_64/bin/clang: error while loading shared libraries: libtinfo.so.5: cannot open shared object file: No such file or directory Dec 02 04:39:22 make: *** [obj/local/armeabi-v7a/objs/naf/naf/a4.o] Error 127 Dec 02 04:39:42 that shared library is inside the clang libs dir Dec 02 04:41:07 err it was a minute ago. now im not finding it Dec 02 04:41:37 aha because i used locate the first time and find . -name the second time Dec 02 04:41:44 locate finds it. find does not :/ Dec 02 04:41:45 lol Dec 02 04:42:08 the file IS in there Dec 02 04:42:56 except theres still something wrong with my build tools i guess Dec 02 04:43:36 on the machine where the build works i have lldb 2.0 and 2.2 installed. on the one it does not work on i have 2.2 and 2.3 Dec 02 04:44:26 all versions have that file Dec 02 04:45:20 will see what happens when i download the 2.2 AS and delete my entire sdk dir and reinstall Dec 02 04:48:24 ok so i moved my sdk out of the way and now android stupidio cant install the sdk because thers no sdk Dec 02 04:48:26 wtf Dec 02 04:49:16 nvm Dec 02 04:49:26 i figured it out. freeking obfuscated buried bullshit Dec 02 04:53:54 Anybody have experience placing a user's present location within a Tab Fragment? Dec 02 04:55:45 mark4 quack! Dec 02 05:07:07 <_genuser_> so Worf dated Deana on st-tng? Dec 02 05:07:22 <_genuser_> must have ignored the memory. Dec 02 05:12:33 _genuser_: Worf? Deana? Dec 02 05:12:45 home/mark4/Android/Sdk/ndk-bundle/toolchains/llvm/prebuilt/linux-x86_64/bin/clang: error while loading shared libraries: libtinfo.so.5: cannot open shared object file: No such file or directory Dec 02 05:16:08 Warning:(74, 6) java: inDither in android.graphics.BitmapFactory.Options has been deprecated Dec 02 05:16:22 lol so that fix was kinda not valid after all. not that it worked :P Dec 02 05:23:19 mark4: Cool! Dec 02 05:23:37 I'm logging this IRC session Dec 02 05:23:47 I'll print it out and hang it on the wall Dec 02 05:23:52 well, the walls Dec 02 05:24:04 time for some ascii art Dec 02 05:49:41 hey guys, im having trouble getting a bottomsheet to appear over the toolbar, any ideas? Dec 02 05:49:51 I tried adjustign elevation, but it doesnt seem to be working Dec 02 05:53:06 boomber: Aren't they *not* supposed to overlap the app bar? In any case, it's hard to say without seeing code. Dec 02 05:53:30 i want it to overlap the app bar Dec 02 05:53:39 and right now it is, but its appearing behind the app bar Dec 02 05:55:33 heres the code https://gist.github.com/JelloRanger/a944e70698da15c0c3787aebb4f8c49c TacticalJoke Dec 02 05:59:34 scanelf -qT libnaf.so reports no text relocations. avd wont load the library because it has text relocations :/ Dec 02 06:23:31 <_genuser_> Melatonina: st-tng Dec 02 06:25:40 _genuser_: are you a trekkie? Dec 02 06:30:05 <_genuser_> who isn't? Dec 02 06:30:08 <_genuser_> heh Dec 02 06:36:06 * TacticalJoke isn't. :s Dec 02 06:36:35 * _genuser_ hits TacticalJoke Dec 02 06:36:45 <_genuser_> more than a couple of times! Dec 02 06:37:38 I'm trying to conceptualize an xposed module to hook into the ambient display triggering, read the package the triggering notification is from, and then possibly prevent ambient display from triggering if the package matches a defined one. Can someone help me pick apart DozeService.java to find the right place to hook? I'm not sure where the best spot would be, especially somewhere I can Dec 02 06:37:38 read the package name of the notification Dec 02 06:37:44 https://github.com/android/platform_frameworks_base/blob/lollipop-release/packages/SystemUI/src/com/android/systemui/doze/DozeService.java Dec 02 06:40:22 _genuser_: I'm not. Dec 02 06:42:41 <_genuser_> it's just like that with any show, suppose. Dec 02 06:43:13 like what? Dec 02 06:43:34 <_genuser_> I'm saying it's like that with any show, some people like it and some don't. Dec 02 06:43:53 <_genuser_> I can't give you an example that applies to you, you'll have to decide on your own what you like or dislike. Dec 02 06:44:20 I don't like TV shows Dec 02 06:44:43 <_genuser_> well there you go. you dislike them all! Dec 02 06:44:54 I watch them or listen to them while I do things but I don't like them Dec 02 06:46:32 <_genuser_> yeah, like when I draw, I'll put something on in the background. Dec 02 06:47:53 If I'd watch a Star Trek episode with a quarter of my brain focused on it, I'd turn it off Dec 02 06:49:31 <_genuser_> ugh, now you're just being mean! Dec 02 06:49:37 <_genuser_> heh. Dec 02 08:37:41 does anyone of you have knowledge ybout the Firebase Authentication? Dec 02 08:37:52 I never used it so i want to ask what I should use to generate a custom token Dec 02 08:38:52 so lets assume i have some app and some server. The app sends its credentials to the server and the server approves it. Then the server generates an OpenID token and signs it. But for that i need to pass in some sort of identifier which I need to keep track of Dec 02 08:39:13 Can I use the instance ID of the app for creating this token or would this create some sort of insecure loopback? Dec 02 08:40:04 i am not sure what to make out of it https://firebase.google.com/docs/auth/admin/create-custom-tokens Dec 02 09:01:31 iLembus, when you figure it out, put it out on Github for the rest of us to see Dec 02 09:24:02 home/mark4/Android/Sdk/android-ndk-r13b/toolchains/llvm/prebuilt/linux-x86_64/bin/clang: error while loading shared libraries: libtinfo.so.5: cannot open shared object file: No such file or directory <-- im getting this again and i cant fix it. i dont know wtf is causing it Dec 02 09:25:20 Hi all. I'm poking around trying to get Daydream / VR mode to launch on an unsupported device; this is what I've gathered so far https://www.reddit.com/r/daydream/comments/5g2ecx/forcing_unsupported_devices_to_work/ Dec 02 09:26:14 Would anyone care to weigh in? I'm trying to learn more about PackageManager.hasSystemFeature and what makes it tick Dec 02 09:39:11 ok this is messed up bullshit squirly gnu dev tool crap. -Wa,adhlnms>foo.lst and i get only the listing for my ask code. if on the other hand i remove the >xyzzy part and do an ndk-build >foo.lst i get the asm listing for every c wrapper file and my asm sources Dec 02 09:39:27 ask / asm Dec 02 10:11:49 http://sprunge.us/FicJ?xml here's my layout file. Dec 02 10:12:08 I'm being told by errors that I need to supply a layout_width attribute on line #2 Dec 02 10:15:18 kevr: hello Dec 02 10:15:55 cristian_c: hello Dec 02 10:16:11 kevr: I think fill_parent is obsolete Dec 02 10:16:25 you should use match_parent Dec 02 10:16:52 match_parent does the same thing. Dec 02 10:16:57 I mean, error-wise Dec 02 10:17:23 ok, but fill_parent is obsolete, btw Dec 02 10:18:36 right on Dec 02 10:22:14 kevr: I see in your paste you've alreast set layout_width Dec 02 10:22:54 indeed Dec 02 10:24:23 strange Dec 02 10:25:01 kevr: try to delete also layout_height and look at what errors appear Dec 02 10:25:03 yeah i don't get it Dec 02 10:25:56 cristian_c: same thing Dec 02 10:26:08 perhaps its something with the TableLayout Dec 02 10:26:32 kevr: so you app is not updated Dec 02 10:26:39 i'm using sdk 25. Dec 02 10:27:10 if it doesn't show the layout_height error too, it's not updated Dec 02 10:27:21 what Dec 02 10:29:25 kevr: you have deleted also layout_height line, but logcat doesn not show the related error Dec 02 10:29:26 i'm using android 7 with sdk 25 Dec 02 10:29:55 it should do, instead Dec 02 10:30:04 yeah, but how does that correlate to it being outdated Dec 02 10:34:14 just to clarify, i was able to compile fine just minutes ago on a LinearLayout Dec 02 10:35:08 kevr: how are ypu testing the changes; exactly? Dec 02 10:35:13 *you Dec 02 10:35:42 I'm recompiling them, deploying a debug version to my phone and running them Dec 02 10:36:19 kevr: and have ypu deleted the previpus version, before replacing with the changed one? Dec 02 10:36:23 oh shit Dec 02 10:36:27 -,- Dec 02 10:36:35 lol no sorry that was a reaction to myself Dec 02 10:36:37 yes Dec 02 10:37:07 ... Dec 02 10:40:03 ah Dec 02 10:40:11 the issue was the https:// in the schema url instead of http:// Dec 02 10:42:30 kevr: :/ Dec 02 10:43:03 :( Dec 02 10:54:15 kevr: ah, ok Dec 02 10:54:28 so it didn't recognixe the tags Dec 02 10:54:43 because the schema vorrect urò was not specified Dec 02 10:54:48 *recognize Dec 02 10:55:05 *correct Dec 02 11:49:40 having trouble getting Marshmallow image to work in AVD emulator. Kitkat one works perfectly, not sure where I am going wrong Dec 02 15:01:34 hi all, is there a way to evoke the "task remove" behavior programmatically, so that all activities/services will have their "onTaskRemoved" callback invoked? Dec 02 15:16:13 hello, could someone help me with getting JNI code debugging to work? Dec 02 15:17:04 I can step into a native method, but lldb doesn't load any debugging symbols, so no variables, no source code, etc. Dec 02 15:17:16 Hello, is there any good documentation about permissions? Dec 02 15:17:38 the .so is not stripped Dec 02 15:17:47 I know this: https://developer.android.com/reference/android/Manifest.permission.html Dec 02 15:17:49 but the .so inside the built apk always is Dec 02 15:17:53 but it's not good Dec 02 15:18:09 it doesn't explain well what each permission does Dec 02 15:18:54 itamz, i've only used ndk-gdb, not lldb, but it has a -sym argument for pointing at debugger symbols Dec 02 15:20:11 thebishop: hm, I'm launching it from android studio using the hybdrid debug option, I'll look around for where I can pass extra arguments Dec 02 15:23:41 hey guys, I have a question: I have a set of radio buttons, and if I want them to be mutually exlusive I have to put them into a radiogroup, right? but what if I want the radio buttons to be on the same activity but not in the same viewgroup? Dec 02 15:27:17 any idea what Retrofit means by : java.lang.IllegalArgumentException: URL "posts" does not contain "{token}". (parameter #1) ? Dec 02 15:32:22 You have a token paramter without adding it to the path? Dec 02 15:32:24 You have @Path("token") Dec 02 15:32:46 omarramo: Then you have to manually disable the other ones Dec 02 15:40:17 oh ok sorry my mistake! Dec 02 16:31:33 hey I am lookign at a new application and it looks like a custom built framework and other weird oddities. Where should i begin ? does android studio make a class diagram / flow chart or export java docs ? Dec 02 16:32:06 something to get my head started since documentation on our wiki is null Dec 02 16:33:01 ohh and if you think fragments were a mess before.. just wait till you see the facade class around the base fragment class ( fun FUN FUN ) Dec 02 16:33:36 I'm glad you are having fun at work Dec 02 16:34:38 it is Friday Dec 02 16:34:41 fun fun fun Dec 02 16:34:47 ;) Dec 02 16:35:13 Friday should be paid half the salary then Dec 02 16:35:33 You dress casual, have fun. It's not a real day of work Dec 02 16:36:39 dress casual is pointless unless i can were flip flops Dec 02 16:36:46 it is all about the feet for me Dec 02 16:40:55 Buy some $160 patent leather flip-flops then Dec 02 16:47:46 Hmm, downsizing primary drive to ghost to SSD. I'd like to move all my SDK stuff to a secondary drive. Any advice to assist in this? Or advice against it perhaps? Dec 02 16:48:02 Nah it'll be fine Dec 02 16:48:08 I'd like to move both the android-sdks folder and the AppData\Local\Android folder Dec 02 16:48:21 just cut and paste the folders then relink in the IDE? Dec 02 16:48:33 Copy and paste, but yeah that's about it Dec 02 16:48:44 Don't cut and paste large sets of files you'd like to keep Dec 02 16:48:56 ...cuz if something goes awry... whoops Dec 02 16:48:56 by cut and paste I mean robocopy! Dec 02 17:22:34 hi everyone Dec 02 17:22:58 why some devices do not return sim number ? Dec 02 17:23:22 how to solve this without set phone number ? Dec 02 17:48:17 iresf: What about devices that don't have SIM number? Why do you need it? Dec 02 17:49:52 Lvl4Sword : i wrote a code to get sim number ( phone number ) but it returned null Dec 02 17:50:13 my devices is huawei Dec 02 17:58:13 Yes, it's not always available. iirc it depends on the sim card Dec 02 17:59:10 If you absolutely need it, just ask the user to enter it Dec 02 18:05:49 rxjava 2.0.2 Dec 02 18:08:02 g00s : rxjava 2.0.2 Dec 02 18:08:03 ? Dec 02 18:08:30 Hello. I have imported a 3rd party lib into my Android Studio project. It is causing build failures stating that an attribute has already been defined with incompatible format. How can I fix this? Dec 02 18:11:28 okhttp with websockets support Dec 02 18:12:00 bitkiller: ? Dec 02 18:12:37 xrandr: You have two dependencies defining the same attribute name. One of them needs to rename its attribute Dec 02 18:14:22 SimonVT: my 3rd party lib is coming from a gradle compile statement. I can't change the attribute. And I think it is conflicting with a built in android attribute. "mode" Dec 02 18:14:53 Can't conflict with framework attributes. Maybe a support library attribute? Dec 02 18:15:01 Either way the library needs to be updated Dec 02 18:15:55 SimonVT: it may be.. Dec 02 18:16:28 Should always prefix your attributes Dec 02 18:17:24 aapt2 will have proper namespacing Dec 02 18:17:27 SimonVT: ok. Also, I have a android studio error stating Unregistered URI. Any way to suppress that? Dec 02 18:17:47 Maybe alt+enter has a way Dec 02 18:18:03 JakeWharton: \o/ Dec 02 18:19:20 JakeWharton is it namespacing, or just allowing devs to mark attributes as private? Dec 02 18:19:31 you can already mark them private Dec 02 18:19:52 ok missed that Dec 02 18:20:37 https://developer.android.com/studio/projects/android-library.html#PrivateResources Dec 02 18:32:27 * xrandr wants to cry. Downloaded a github version of the library. Now it's complaining that SDK Build Tools revision (17.0.0.0) is too low for project ':SlidingMenu'. Minimum required is 19.1.0. Where can I change this? Dec 02 18:38:13 Should be able to just click the error. Dec 02 18:38:21 17 is quite low though Dec 02 18:38:36 Im currently using 24 Dec 02 18:40:40 SlidingMenu is outdated, use DrawerLayout from the support library Dec 02 18:43:09 Miika--: Is there some specific permission you want to find or learn more about? Dec 02 18:44:18 hmm, checking to see if keys are stored in hardware is android 6.0+? oh well, I guess I have a 6.0+ only feature... Dec 02 18:44:34 Depends on what keys Dec 02 18:45:39 there are apis for checking is arbitrary keys exist in hardware prior to android 6.0? :P Dec 02 18:48:05 anyway, being able to use non-extractable keys means I can remove the google drive/account requirement from one of my apps Dec 02 18:48:15 SimonVT: i'd have to change a lot of code to use DrawerLayout. Is there a way to just use the Sliding Menu 3rd party lib instead? Dec 02 18:50:04 Sure, just copy it into your own project Dec 02 18:50:27 isn't there a slidingmenu aar... Dec 02 18:55:05 pfn: the aar file is what is causing the duplicate attribute entries Dec 02 18:55:28 then fix the build tools as your error suggests Dec 02 18:55:34 SimonVT: just copy the package over? Dec 02 18:56:07 and yes, just renamme the attribute Dec 02 18:56:07 Everything. Or spend an hour switching to DrawerLayout Dec 02 18:56:11 and easier to just use drawerlayout Dec 02 18:56:44 isn’t there newer drawer thingy that came out around the release of 6 or 7? Dec 02 18:57:38 NavigationView, which is just some subclass of drawerlayout or something Dec 02 18:57:48 It's just something to put in a DrawerLayout Dec 02 18:57:58 or is it meant to be put into drawerlayout Dec 02 18:58:02 * pfn shrugs, haven't used directly Dec 02 18:58:19 Lets you use menu resources to inflate the drawer menu Dec 02 18:58:45 that’s it. I think someone was asking about how to do that in here a while ago Dec 02 19:02:41 I have the following method: https://paste.ee/p/9thUo Dec 02 19:03:01 It currently returns a Subscription, which allows the user to unsubscribe from the device. Dec 02 19:03:23 This, of course, does not let me propagate errors back to the caller Dec 02 19:03:39 How can I do that? Dec 02 19:04:22 Would it be best to return the observable and let the caller subscribe, and then unsubscribe when needed? Dec 02 19:06:16 The issue then, is it will return an RxBleConnection, which is part of RxAndroidBle, and I dont want to return 3rd party classes. Dec 02 20:56:22 hi all— i want to develop an app that pulses the full screen through specified colors at specified frequencies (so you can trip out while viewing the phone through a set of VR goggles). would a good ol' fashioned java app manipulating a surfaceview be sufficient to achieve this? (i haven't done much android dev in ~5 years) Dec 02 20:57:45 lol Dec 02 20:58:04 yep that should be sufficient Dec 02 20:58:49 akgerber kaleidoscope ! Dec 02 21:00:07 g00s: if you pulsate colors your brain will make those patterns itself! it's cool AF, my friend made goggles that did it with microcontrollers and LEDs a few years back, so i wanna try to make an app of it Dec 02 21:00:31 TIL Dec 02 21:01:02 https://www.youtube.com/watch?v=yjFKPIjhVH4 Dec 02 21:01:04 those were the days Dec 02 21:19:53 s73v3r: hello Dec 02 21:44:22 woot, got my nexus 9 back Dec 02 21:44:32 accidentally left it on the plane last week Dec 02 21:44:54 too bad they can't find my USB C cable and little backpack Dec 02 21:45:37 fortunately you didn't left a Samsung on a plane. You would be in Guantanamo now Dec 02 21:45:45 haha Dec 02 21:51:22 lost three items on three different flights... Dec 02 21:54:22 great, now there's traffic leaving SFO Dec 02 21:54:50 when is there not? Dec 02 21:55:20 s73v3r: I've tried to change the relativelayout with a linear layout Dec 02 21:55:50 s73v3r: but the slight imageview is disappeared Dec 02 21:58:10 the knock off IR ing I got in Hong Kong for $0.50 works great in the CD slot Dec 02 22:01:11 https://www.amazon.com/gp/aw/d/B00QXCV486/ref=mp_s_a_1_1?ie=UTF8&qid=1480716026&sr=8-1&pi=AC_SX236_SY340_FMwebp_QL65&keywords=iring+aauxx Dec 02 22:01:22 it was only 3 HKD Dec 02 22:11:24 all this videos about android -> php/mysql use WAMP and phpmyadmin Dec 02 22:11:58 makes me kinda anxious, i can just use my own mysql database without using phpmyadmin right? Dec 02 22:14:36 what? Dec 02 22:18:34 hexagonSun_, yes Dec 02 22:19:08 hexagonSun_, I do Dec 02 22:19:33 im supposed to connect my app to an external mysql database, i've been watching a few videos, but they all use wamp, postman, php and stuff like that, i don't any of those since i'm working on linux :p (and i have no previous experience) Dec 02 22:20:11 hexagonSun_: usually databases are behind a web API to protect them Dec 02 22:20:22 Ologn do you have a reading resource i could use? or could you simplify a few steps in? i'm kinda lost in the php/json kinda thing, i've got apache and my mysql databse on, i just haven't "connected" them Dec 02 22:20:40 hexagonSun_, I use LAMP. For P I've used Python, Perl and PHP, depending.... Dec 02 22:21:04 hexagonSun_: you can implement the web API in php. I'm using C# / ASP.NET Web API and SignalR. You can do it in Python or javascript and with other languages Dec 02 22:21:20 hexagonSun_, just make one or two static JSON files, point to them, and then later on you can hook it to the proper PHP or whatever URL Dec 02 22:21:53 All your PHP or whatever has to do is mimic exactly those particular static JSON files, for a different URL Dec 02 22:21:58 Ologn yeah i have to do that, the pointing Dec 02 22:22:17 s73v3r: any ideas? Dec 02 22:22:39 but i'm starting actually, i have my mysql database, now i should implement the php web api and then point to the json? is that the step sequense? Dec 02 22:22:52 I mean my scripts go from http://whatever.com/api/1.json or 2.json to http://whatever.com/cgi/thing.php?id=1 or ?id=2 etc. Dec 02 22:22:53 simple Dec 02 22:23:03 Do it however you want Dec 02 22:23:40 Do a MySQL and PHP to generate the JSON Dec 02 22:24:14 Or you can have static JSON test files and do just the Android end, and then change the one Android method pointing to the URL later Dec 02 22:25:37 okey, thanks Ologn i'm gonna dive in Dec 02 22:26:09 just to be sure tho.. JSON is actually some sort of "return" from my php files (srry im actually this noob) Dec 02 22:27:03 hexagonSun_, just like PHP can generate an HTML file, your PHP will generate a JSON file Dec 02 22:27:15 hexagonSun_, there are open APIs out on the web you can test against Dec 02 22:27:23 Ologn, Wikipedia's for one Dec 02 22:28:03 the other day i was recommended retrofit, is that what you're talking about? i srsly entered the website and couldn't understand much haha but i'm still trying to make sense of it :p Dec 02 22:31:01 this sound cool https://github.com/mevdschee/php-crud-api Dec 03 00:49:05 does anyone knows if we can put custom arguments on a fragment's xml? Dec 03 00:51:38 C0bra5: what does it mean? Dec 03 00:52:18 basically extra custom arguments like android:textSize but using some custom stuff from attrs.xml Dec 03 00:53:02 those are called custom attributes Dec 03 00:53:15 I have no idea Dec 03 00:53:29 but if you want to google, google for "attributes" not "arguments" Dec 03 00:54:46 i'm on the second page... already Dec 03 01:02:05 Hello, any hint how to implement a clickListener to items in a RecyclerView ? seems there is no standar way Dec 03 01:04:32 there isn’t a standard way. Dec 03 01:04:43 generally you attach the click listener to the individual items Dec 03 01:05:41 hello can we use the bluetooth api on the androidWear so that I can send command for example wear to pc and not passing through the phone with dataItem, Node and Message. Dec 03 01:06:34 i don’t see why not. Dec 03 01:06:41 give it a try. you’ll still have to pair Dec 03 01:07:54 C0bra5 see Fragment#onInflate Dec 03 01:09:09 s73v3r: code that functionality when declaring theClass extends RecyclerView.ViewHolder implements ***** {} ? Dec 03 01:10:02 pretty much Dec 03 01:10:36 ok thanks :) Dec 03 01:22:46 g00s turns out the linter was just trolling me all along, now it works like a gem.... Dec 03 01:22:53 * C0bra5 goes nuts Dec 03 01:25:58 RecyclerView.SimpleOnItemTouchListener works, but do not act with a simple tap, just when fling :-/ Dec 03 01:26:23 i don’t think that’s what you want Dec 03 01:27:01 you are right Dec 03 01:27:25 just... a..... single..... tap...... why god? why? :'( Dec 03 01:27:43 you put your click listener on the view when you create it Dec 03 01:28:54 ok... will try again, thanks s73v3r you are a kind person :) Dec 03 01:39:52 can anyone tell me why when i build with clang i get libtinfo.so.5: cannot open shared object file: No such file or directory Dec 03 01:56:21 why does textAppearance exist Dec 03 01:56:27 it's like, a second style but for text Dec 03 02:03:03 well... finally work adding a setOnTouchListener() inside "itemView" of RecyclerView.ViewHolder Dec 03 02:15:55 How do I update an activity design in Android Studio to not show the action bar? I've modified the activity in the AndroidManifest.xml file with the appropriate theme, and I have also modified the theme property of the activity in the design window, but it still shows the action bar. Though, the app properly does not display it. Dec 03 02:36:16 How to create a "tool class"?, I mean, a class with static methods if those methods usually needs Context instance to operate. An example: an array with fixed texts, but those texts are translatable, can I create static methods like "getItemFromMyList( int idItem)" ? Think a class with a lot of those static methods, Have I to add a "context" instance in method firm ? or create a global variable who hold context instance ? Dec 03 02:39:57 Static methods can't access class variables so you'd have to pass a context to each argument Dec 03 02:40:41 Or rather pass a context as an argument to each function Dec 03 02:41:01 this is my code: http://paste.opensuse.org/54023872 Dec 03 02:42:21 ok, so now I need to create a fixed array of listadoTallas variable and do not instantiate it anytime static method is called Dec 03 02:45:15 https://developer.android.com/guide/topics/resources/string-resource.html#StringArray <-- seems my solution Dec 03 02:49:35 but are they translatables? Dec 03 02:49:37 :-/ **** ENDING LOGGING AT Sat Dec 03 03:00:00 2016