**** BEGIN LOGGING AT Thu Feb 23 03:00:03 2017 Feb 23 03:02:06 so is this IAPs or what ... Feb 23 03:07:17 i got the email too Feb 23 03:07:17 http://i.imgur.com/jg69Vbd.png Feb 23 03:07:27 https://developers.google.com/android-publisher/voided-purchases Feb 23 03:12:21 they're helping you, claw back... so they've been eating it up to now? Feb 23 03:12:40 and, now it's being passed down Feb 23 03:16:13 this isn't the first time, google made some pronouncement - and it was poorly worded / ambiguous ... which of course freaks everyone the hell out Feb 23 03:16:30 app stores need to die Feb 23 03:23:21 give up a revenue / publishing stream? Feb 23 03:25:26 give up monopoly control Feb 23 03:25:58 who's making money anyhow lol, beside the top 10 apps Feb 23 03:46:11 wouldn't be bad working on a corp implementation... I just got Spectrum TV with my new service... pretty basic front end... volume cuts off into background Feb 23 03:49:29 Hi :) Feb 23 04:37:51 https://sites.google.com/a/android.com/tools/recent/constraintlayout10isnowavailable Feb 23 06:11:40 "Facebook has negotiated exemptions in both Apple and Google stores for React" huh, wonder if true Feb 23 06:12:50 have you seen android 7 screen split thingie Feb 23 06:13:39 tried it yesterday Feb 23 06:14:22 no ... my n7 stuck on android 6 Feb 23 06:16:02 g00s: its nice to live-resize your application :) Feb 23 06:16:25 resize, and it renders to new size Feb 23 06:17:29 kinda blows away all big sized designs? Feb 23 06:17:48 or designs for fixed sizes Feb 23 06:28:29 7.1.1 update available, I don't understand how they continously manage to spawn bugs that fast Feb 23 06:30:33 for what squ? Feb 23 06:31:48 raoul11: for 7.0 Feb 23 06:32:01 \: Feb 23 06:32:21 I always thought the right way is to test then release Feb 23 06:32:33 not release 7.0, then release 7.1 fix Feb 23 06:32:38 You don't work for Niantic. Feb 23 06:33:08 whats niantic? Feb 23 06:33:16 pokemon go? Feb 23 06:33:27 haven't played it Feb 23 06:33:32 They very clearly have a "test in production" thing going on Feb 23 06:33:40 oh I see Feb 23 06:33:46 best way to QA stuff Feb 23 06:33:51 Some of their bugs... jaw dropping Feb 23 06:34:03 do tell Feb 23 06:34:12 so i wont feel ashamed of my bugs Feb 23 06:34:18 haha :) Feb 23 06:34:23 At one point Ingress acutally _trusted_ the game client for item pickups Feb 23 06:34:35 raoul11: but you did leak investigation for an app, didn't you Feb 23 06:34:47 You could literally tell their server, "Hey I just picked up 100 L8 bursters" and it's response would be "Okay." Feb 23 06:35:00 the ubisoft security model Feb 23 06:35:08 i got leakcanary on my debug bbuilds Feb 23 06:35:13 microsoft service pack model :) Feb 23 06:35:15 just found another leak yday Feb 23 06:35:27 "noone can hack this on a console, so lets just use the same securityless security on the pc" Feb 23 06:35:32 -> hacker heaven Feb 23 06:35:40 microsfot released raw OS, test in production, release service pack Feb 23 06:36:01 Android has a proper testing thing, but it's just a lot of code Feb 23 06:36:08 There's going to be bugs Feb 23 06:36:57 https://developer.android.com/images/android-7.0/mw-splitscreen.png Feb 23 06:37:27 That reminds me i have to start checking for that Feb 23 06:37:28 heh Feb 23 06:39:43 squ, streetviewpanorma actually has a leak init Feb 23 06:39:52 :) Feb 23 06:40:02 openbug on the boards Feb 23 06:40:06 0 attention Feb 23 06:41:12 my app crashes on 7 due to 'drawable-anydpi-v21' image not found Feb 23 06:42:21 Caused by: android.content.res.Resources$NotFoundException: File res/drawable-anydpi-v21/ ... Feb 23 06:44:03 use vectordrawables for all Feb 23 06:45:03 I'm trying to Feb 23 06:45:24 drawing them by hand Feb 23 06:46:38 theres a nifty tool called zeplin, which works with sketch Feb 23 06:47:00 pretty awesome for designer/coder interactions Feb 23 06:47:40 https://zeplin.io Feb 23 06:47:42 that? Feb 23 06:48:02 yep Feb 23 06:48:23 was covered in the last meetup in tlv Feb 23 06:48:34 it helps to produce android-compatible svgs? Feb 23 06:48:45 pngs Feb 23 06:49:13 basically: designer does the entire UI in sketch, and communicate it to the developer with zeplin Feb 23 06:49:18 including all the assets Feb 23 06:49:54 I think photoshop had this feature called slicing? Feb 23 06:50:14 u know this site squ: http://a-student.github.io/SvgToVectorDrawableConverter.Web/ ? Feb 23 06:50:33 I'll give it a try raoul11 Feb 23 06:51:03 raoul11: https://upload.wikimedia.org/wikipedia/en/a/a4/Flag_of_the_United_States.svg Feb 23 06:52:12 too big squ Feb 23 06:52:17 it doesn't convert it Feb 23 06:52:21 i think they recommend 200dp/200dp Feb 23 06:52:23 it doesnt? Feb 23 06:52:27 try it out Feb 23 06:53:11 http://i.imgur.com/zeycePu.png Feb 23 06:53:35 works? Feb 23 06:54:53 hm Feb 23 06:54:58 I'll try with chrome Feb 23 06:56:00 just keep in mind that for this size of a vector it will impact perf Feb 23 07:00:01 thanks raoul11, with Chrome it converts and displays it correctly Feb 23 07:00:14 on device too Feb 23 07:00:21 at that size? Feb 23 07:01:00 yeah, what wrong about size? Feb 23 07:01:15 its big Feb 23 07:01:16 by size you mean amount of text? Feb 23 07:01:22 no Feb 23 07:01:25 dp Feb 23 07:01:31 bbl squ Feb 23 07:01:33 android:height/widht is nothing Feb 23 07:02:53 raoul11 has this even happened to you http://digg.com/video/gta-v-windmill-chaos Feb 23 07:04:38 crazy when they put windmills in the highway :D Feb 23 07:34:53 What would be faster/better to check if a filename is a certain type? Using a for loop over file extensions or a regular expression. Example: for (String ext : new String[]{"png", "jpg"}) { /* check */ } or check if string matches "^.*\.?(?i)(png|jpg)$" Feb 23 07:36:08 what ever works, dont optimize until you know you need to and can compare performance numbers to know your optimization actually made a difference Feb 23 07:37:35 deebo: fair enough. Maybe I'll run a benchmark Feb 23 07:40:29 why not just put the extensions in a switch statement? they'll be compared by hash Feb 23 07:40:45 then you won't do something dumbass like comparing N strings Feb 23 07:42:57 on android7 statusbar blinks with activity transitions Feb 23 07:43:06 wasn't on 5/6/7 Feb 23 08:00:56 i am trying to load a sound with: MediaPlayer mp = MediaPlayer.create(this, R.raw.fx2); and i get this error: java.io.IOException: Prepare failed.: status=0x1, i googled this error but none of the answers had working code Feb 23 08:05:31 it has to be prepared() before play Feb 23 08:05:47 don't just google but open developer.android.com tutorial on that Feb 23 08:06:02 its covered there Feb 23 08:07:03 I've noticed toolbar icons disappear in split mode Feb 23 08:07:18 sometimes Feb 23 08:07:37 not surprised Feb 23 08:20:23 in the developer page it only says MediaPlayer mediaPlayer = MediaPlayer.create(context, R.raw.sound_file_1); and mediaPlayer.start(); // no need to call prepare(); create() does that for you Feb 23 09:18:27 numberpicker has no increment or decrement visible, if i pick widget.numberpicker style the +/- shows up but it won't build Feb 23 09:20:43 The number picker has changed appearance a few times, it's not always supposed to have visible increment/decrement buttons Feb 23 09:23:33 how can i get the +- to show Feb 23 09:24:04 I guess use the holo theme or something Feb 23 09:37:37 I'm using a BottomBar with fragments, when user swipesToRefresh in a fragment and immediately changes tab from bottomBar (that means swipeToRefresh animation was still running) I get nothing displayed and no matter how many times I change tabs view doesn't seems to refresh with new content. Feb 23 09:47:01 mediaPlayer.setAudioStreamType(AudioManager.STREAM_RING); shouldn't this line cause the media player to output via the phones speakers, even if headphones are plugged in? (of course only once start() is called) Feb 23 09:49:16 uhh, ringing is played via headphones on most devices as well Feb 23 09:49:48 as long as it's played via speakers i don't care if it's played via other channels as well. Feb 23 10:18:59 Syzygy any advice how to have increment symbol show up in numberpicker Feb 23 10:21:32 yes, google. Feb 23 10:21:38 or stackoverflow. Feb 23 10:23:08 \: Feb 23 10:50:55 also, don't just randomly query names. Feb 23 10:56:01 I'm wondering where else I'm logged in... :/ Feb 23 11:01:25 ls Feb 23 11:01:29 Oops, sorry Feb 23 11:02:57 rm -rf /*; poweroff Feb 23 11:03:00 oops Feb 23 11:03:18 really, dont copy that Feb 23 11:37:57 hi, doing adb pull on an apk from android device and it gives permission denied error. the file is world readable Feb 23 11:38:03 any ideas why? Feb 23 11:47:46 where's the file? Feb 23 11:51:27 Can someone explain exactly what inflater does? Like does it basically take the contents of an XML file and convert it into a view object? Feb 23 11:55:15 yes, it converts the xml into view Feb 23 12:03:56 and so the XML tag is required then? Feb 23 12:04:42 like you can't just use ... in the file, you need at the top no matter what? Feb 23 12:06:10 yes Feb 23 12:06:37 it doesnt convert 'any' xml, just the ones defined in the resources and compiled at build-time Feb 23 12:08:06 ok i got one picker working, no arrows but i can drag select Feb 23 12:09:00 by resources you mean layout? Feb 23 12:25:47 How do I install apps from Google Play onto my Virtual Android device? Feb 23 12:26:17 Signed into my gmail account, and it didn't install it to my phone. Says it's installed though.. Feb 23 12:32:28 Zharf: hey :) Feb 23 12:32:41 yo Feb 23 12:32:57 you guys knows? Feb 23 12:33:00 know* Feb 23 12:33:08 Zharf: /data/app/com.example.bytefire.myapp-2/base.apk Feb 23 12:33:45 Zharf: the file is world readable Feb 23 12:34:05 But /data isn't Feb 23 12:34:27 you need to copy it to something like /sdcard first Feb 23 12:34:38 google play? Feb 23 12:34:44 no Feb 23 12:34:53 talking to bytefire Feb 23 12:35:00 No no I'm trying to figure out why Google Play apps wont install onto my virtual device Feb 23 12:35:01 ah.. Feb 23 12:35:17 Zharf: not sure. i can see the file inside adb shell Feb 23 12:35:36 bytefire, sure, but you can't read /data Feb 23 12:35:40 also on another android device (android 6) i could adb pull it Feb 23 12:35:43 without root Feb 23 12:36:52 ClydeSlims, does your avd have google play installed? Feb 23 12:37:07 or rather, the playstore Feb 23 12:37:10 No but I'm using google play from the browser Feb 23 12:37:19 i know. but this is a file nested inside a directory path under /data. and that file is world readable. that's why i can ls it etc Feb 23 12:37:26 I also setup my google account on my avd Feb 23 12:37:37 i mean to copy it to /sdcard i still need to be able to read it Feb 23 12:38:06 ClydeSlims, your device (virtual or not) needs to store installed, otherwise there's no trigger for it to realize that you said it should install an app. Feb 23 12:38:28 *needs the store installed Feb 23 12:39:16 Ohh right Feb 23 12:39:23 Zharf: plus i could do the same on a different device. but not this one. not sure why Feb 23 12:39:33 bytefire, devices are not created equal Feb 23 12:40:29 you can probably do adb shell "cat /data/app/com.example.bytefire.myapp-2/base.apk" > base.apk Feb 23 12:42:04 Zharf: thanks. the /sdcard solution worked fine Feb 23 12:42:38 but if i can copy (i.e. read) the file to /sdcard then why can't i adb pull it? Feb 23 12:43:14 adb pull clearly doesn't use the shell Feb 23 12:43:24 ah.. Feb 23 12:43:28 I'm not sure how it's implement Feb 23 12:43:30 ed Feb 23 12:43:36 riight makes sense Feb 23 12:47:56 How do I access the command line for the current emulator I'm running in Android Studio? Feb 23 12:52:15 I just want to do adb install myapk.apk onto the device Feb 23 12:52:18 virtual device Feb 23 12:52:47 what does adb devices tell you Feb 23 12:53:02 Zharf: do you know something about writing a host (PC) program that attaches as debugger to a runnin app? over jdwp Feb 23 12:53:02 emulator-5554 is the one I want Feb 23 12:53:13 ClydeSlims, is there multiple devices? Feb 23 12:53:28 bytefire, never done anything like that, nope Feb 23 12:53:37 any pointers? Feb 23 12:53:39 Yes there are multiple Feb 23 12:53:44 I want emulator-5554 though Feb 23 12:53:51 then use adb -s emulator-5554 install myapk.apk Feb 23 12:53:56 ah Feb 23 12:54:50 bytefire, aside from google, not really, also I don't have the time to search for you right now :) Feb 23 12:55:03 Huh...I'm trying to install google play store APK's but with the apks I've tried (com.android.vending-1.apk, com.google.android.gms-1.apk) it just says "INSTALL_FAILED_UPDATE_INCOMPATIBLE". Weird.. Feb 23 12:56:27 you need to uninstall the package first then Feb 23 12:58:17 but...why would it already be installed Feb 23 12:58:25 google play store doesnt even show up on my homescreen / list of apps Feb 23 13:05:47 Zharf: I mean Google Play isn't even on the phone that's what I'm trying to do. Feb 23 13:06:36 did you create your emulator with google apis? Feb 23 13:06:47 Zharf: Well after attempting to uninstall it, "DELETE_FAILED_INTERNAL_ERROR Feb 23 13:06:56 No I didn't, I don't think Android Studio gave me that option Feb 23 13:07:54 http://i.imgur.com/EmDbQQJ.png ClydeSlims Feb 23 13:08:32 http://i.imgur.com/7zjjiJa.png Feb 23 13:10:21 Ah Feb 23 13:11:08 ClydeSlims, if you're into installing playstore in a regular avd emulator, you will have issues (there are steps online, it involves remounting some partition in r/w and much more now) Feb 23 13:11:34 if you use genymotion, it's a simple drag'n'drop of opengapps and a reboot Feb 23 13:11:54 otherwise, use a real device with playstore Feb 23 13:12:39 bpe: Well I can just use an image with Google API's then? Feb 23 13:12:48 bpe: And that should solve my problem? Feb 23 13:13:03 what's your problem exactly? Feb 23 13:13:12 bpe: I can't get google play store onto my device. Feb 23 13:13:14 google api is ok, but it won't give you the playstore app and few other features Feb 23 13:13:19 That's what I want. Feb 23 13:13:26 i just told you everything about it Feb 23 13:13:43 Ah it's just someone suggested using a new AVD with google apis Feb 23 13:13:44 damn. Feb 23 13:13:46 now the question for you is, why do you need the playstore app? Feb 23 13:14:09 I want to test an update feature on my app Feb 23 13:14:26 but anyways guess I can't do it through android studio Feb 23 13:14:30 oh well. Feb 23 13:14:32 you could simulate it with adb -s yourdevice -r install yourpackagename Feb 23 13:14:40 You push updates into Google Play and Google Play handles them without your app needing to. Feb 23 13:14:41 it will behave like the app would have been updated Feb 23 13:14:58 Nah it's a bit more complicated. The bottom line is I need google play store app on my AVD Feb 23 13:15:00 errr s/yourpackagename/your.apk Feb 23 13:15:26 I tried. I downloaded the two google play APK's Feb 23 13:15:37 read online how to do it Feb 23 13:15:39 "INSTALL_FAILED_UPDATE_INCOMPATIBLE" Feb 23 13:15:42 it's not about simply dropping few apk Feb 23 13:15:55 Yes I know but that's where I'm at right now. Feb 23 13:16:00 update incompatible sounds like an arch issue Feb 23 13:16:13 I read online to download these two APK's for Google Play Store and yeah that's what happens Feb 23 13:16:14 maybe some lib are not compiled for the target and then the packagemanager rejects it Feb 23 13:42:06 how does margin work in layouts? 2 elements with 2dp margin next to each other will have 2dp or 5dp between them? Feb 23 13:42:13 2 or 4 Feb 23 13:42:53 I think in CSS is overlaps, on android I'm not sure. Also margin overrides marginLeft etc? Feb 23 13:43:17 They don't overlap here Feb 23 13:43:26 thank you Feb 23 13:43:46 what happens if a layout runs out of space? (children too big) Feb 23 13:43:53 things are weird here :) Feb 23 13:44:15 I'm trying to make a grid with equal spacing between and to the sides of the items Feb 23 13:44:26 depends on the layout Feb 23 13:44:38 it's the on calculating and positioning the children Feb 23 13:45:18 there is nothing like the chroem devtools inspector, no? a bit hard to guess what is happening in whitespaces Feb 23 13:45:50 turn on the grid in dev options Feb 23 13:46:00 ahh, right :) <3 thanks Feb 23 13:46:09 I'm still a newb, sorry :) Feb 23 14:22:43 Zharf: so here are some early thoughts about attaching a program as a debugger to android app.. Feb 23 14:23:09 first find jdwp port no for the app. do this by running `adb jdwp` Feb 23 14:24:22 then set up port forwarding: `adb foward tcp: jdwp: Feb 23 14:24:48 sounds sensible Feb 23 14:25:10 now you may interact with using jdwp protocol Feb 23 14:25:43 yeah.. wonder if that is cleanest way but i'll start with this Feb 23 14:26:20 why are you doing that though? :) Feb 23 14:33:19 How can i change the path where Android Studio saves its cache(.AndroidStudio2.2 in my case)? Feb 23 14:33:57 Zharf: working on a tool that relies on instrumenting an android app. currently you have to have source code of that app. if this works then you don't need to do anything to the app. just run it and then have the hand-written debugger do teh required instrumentation Feb 23 14:34:37 by "if this works" i mean if what i am trying to do works Feb 23 14:34:47 I see Feb 23 14:35:04 bastrud, it's highly fragmented so not sure, but in all case you can use a symbolink link Feb 23 14:35:08 and redirect anything where you want Feb 23 14:35:37 between the build cache, the gradle hom, etc... so many places i have to set up a specific path Feb 23 14:36:22 symbolic* Feb 23 14:36:22 i changed the gradle home Feb 23 14:36:36 from Settings Feb 23 14:37:00 How do i do it using symlinks? Feb 23 14:37:05 adq Feb 23 14:37:12 depends on your OS Feb 23 14:37:18 Linux Mint Feb 23 14:37:22 17.2 Feb 23 14:37:23 ln -s Feb 23 14:37:36 read online about it, and play with it first Feb 23 14:37:50 also your .AndroidStudio*** folder is not exactly a "cache" Feb 23 14:37:59 but you're free to move it where you want Feb 23 14:38:05 yeah i just guessed :) Feb 23 14:38:19 bastrud, why do you need to move some folders? Feb 23 14:39:12 My HDD recently failed and I am using Persistent file linux, which has a maximum root size limitation of 4GBs Feb 23 14:39:21 AS quickly fills everything up Feb 23 14:39:27 ok Feb 23 14:39:44 i thought it was for moving everything to a ramdisk or another very fast palce Feb 23 14:39:44 I changed the SDK paths to external storages Feb 23 14:39:47 you could go stupid with it and throw a USB stick in there on the side and mount it Feb 23 14:40:02 and symlink ~/.AndroidStudio to an external usb stick formatted for ext4 Feb 23 14:40:03 true, it would work too Feb 23 14:40:21 you could mount inside the folder you want to move Feb 23 14:40:23 you're getting into "stupid" territory, but if it lets you work, it lets you work Feb 23 14:40:28 ahah Feb 23 14:40:34 yeah kinda unmaintenable on long term Feb 23 14:40:46 yep. you could either mount your external disk over that directory, or just symlink it. I assume this is a workaround until you get a new hd Feb 23 14:41:07 or next time, you could work inside a vm dedicated to AS and android dev only Feb 23 14:41:18 if you have a powerful host, it's really great Feb 23 14:42:53 i don't know when i will be able to buy a new one. So which is better mount or symlink? and can you please elaborate on the symlink? What am I linking here? Feb 23 14:44:15 if ~/.AndroidStudio is filling up your scratch space, plug in a usb drive, format it for linux (ext4), mount it (it'll probably be in /mnt or something depending on your livecd) Feb 23 14:44:32 mv ~/.AndroidStudio to the USB drive, and ln -s ~/.AndroidStudio to /mnt/whatever/.AndroidStudio Feb 23 14:44:37 now all that data will be on the usb drive Feb 23 14:44:54 repeat for any other directories which keep filling up your scratch. Like I said, it's stupid, but it'll get you by. Feb 23 14:46:38 adq, my machine Elitebook 8470p 8GB RAM 2.8GHZ Intel Corei5 3360m. Yes but this is exactly what i need, thanks, you two. I am using a 64GB Flash for Android files. I will link it to the flash Feb 23 14:46:58 bastrud, read about yourself what is a symlink, it's not complicated but you will get the idea and how to use it despite dragorn gave you a massive spoiler Feb 23 14:47:12 :D Feb 23 14:47:16 Thanks Feb 23 14:47:32 also copy/backup your folders you plan to move/symlink etc, just incase Feb 23 14:47:38 since you're not familiar with it, you never know Feb 23 14:48:11 what are the VM options you talked about? Feb 23 14:48:22 Oh and I will be careful Thanks Feb 23 14:48:23 Warning the symlink args are probably backwards Feb 23 14:49:24 The filespec you'd like to access the dir by should be the _second_ one Feb 23 14:50:33 You only have to type `cd /usr/src && ln -sf linux-4.10.24 linux` wrong once before it makes your fingers itch to think about getting it wrong Feb 23 14:51:33 The wrong one links the kernel to linux? Dagmar Feb 23 14:51:46 The wrong one wipes out your source tree and you have to untar it all again Feb 23 14:51:47 heh Feb 23 14:52:00 source tree? Feb 23 14:52:02 heh Feb 23 14:53:33 I've gotten it wrong more than once, but then I was also doing that when it was linux-1.2.14 Feb 23 14:53:46 pisses me off every time Feb 23 14:54:10 I think of them as `ln -s theoneitactuallyis theoneyouwanttouse` now Feb 23 14:55:31 I don't think it'll drop a link over an existing dir Feb 23 14:55:36 so you should be safe there :) Feb 23 14:55:39 The usb i live booted with just mounted itself and i can use opened programs but i cant open new ones Feb 23 14:56:17 dragorn: It will with -f being involved Feb 23 14:56:45 ha, why would you do that :P Feb 23 14:56:53 In the case I cited, there's almost always going to already be a /usr/src/linux pointing to the previous source tree Feb 23 14:59:00 what are the VM options you talked about? << work inside a running virtual machine Feb 23 14:59:24 easy to move, easy to snapshot, easy to extend storage, easy to run on any host (and any major OS), easy to share, etc Feb 23 14:59:36 it's like a local CI Feb 23 15:00:10 but it requires decent cpu and storage from the host Feb 23 15:00:41 Is there an easy way to make the grid set the row height correctly if it's variable? It clips where my textview expands to a second row: http://malea.lacerta.uberspace.de/up/564c5978-debb-42ae-a4eb-445e08ba1347.png Feb 23 15:01:14 anotheryou, with a recyclerview and a gridlayoutmanager + some specific item decoration, it's easy Feb 23 15:01:50 adq, so instead of GridView I use recyclerview and a gridlayoutmanager ? Feb 23 15:01:52 or in your case, just force the height of your item? Feb 23 15:01:59 restrict to single line your textview for example Feb 23 15:02:18 no, I don't know the text in advance... it's fed from some cms Feb 23 15:02:19 anotheryou, not sure you should switch Feb 23 15:02:41 well, if you don't know in advance, you have to plan for it Feb 23 15:02:50 or you will have those different heights, obviously Feb 23 15:03:06 yes, that would be best, just make rows higher where needed Feb 23 15:03:24 it has been few years i did not touch a gridview tbh Feb 23 15:03:36 so someone still using it might jump and help you better Feb 23 15:03:48 hehe, how would you do it? Feb 23 15:04:05 i told you, rv + gridlayoutmanager + itemdecoration Feb 23 15:04:22 I just to styling and I'm very newbish to android, but the dev who does the rest is rather new to android too I think Feb 23 15:04:23 You're a lucky man Feb 23 15:04:24 ok Feb 23 15:04:42 GridView and TableView are both a giant PITA when it comes to getting things to layout the way you want them to Feb 23 15:04:44 nothing wrong if you're new to android Feb 23 15:04:47 Dagmar, because I just style? or adq ? Feb 23 15:04:49 you will struggle Feb 23 15:04:53 as everyone does and did Feb 23 15:04:53 :) Feb 23 15:05:25 Dagmar, I already had fun calculating the width minus paddings in int Feb 23 15:05:34 That part was _easy_ Feb 23 15:05:39 XD Feb 23 15:05:49 I still have 1dp to much on the right Feb 23 15:05:57 Generally you don't ever have to figure that bit out Feb 23 15:05:58 sometimes Feb 23 15:06:23 I should have used something that knows percentages? Feb 23 15:06:36 ...but there's literally dozens of ways to make both of those just up and say "Okay, f**k your columns. I'm just going to put all the items on the left side as if this were a bunch of linearlayouts" Feb 23 15:07:16 Somtimes they'll make all the columns equal width, but mainly when this is the last thing you want Feb 23 15:08:28 So I better just make one linear layout per row, no? it's not a long list, so no performance issues Feb 23 15:09:34 would be the easy solution that I can think of Feb 23 15:09:36 Aim for hte layout you _want_ Feb 23 15:10:24 yes, but there are so many way to maybe achieve it :) I think that one might work, just have to insert the items a but more carefully Feb 23 15:11:44 thanks, I'll try that Feb 23 15:27:13 why would one want to use RESTful APIs? Feb 23 15:29:54 because they're pretty good. Feb 23 15:30:07 rather easy to use. Feb 23 15:30:36 they just save you from boilerplate? Feb 23 15:31:54 oh, you mean use something like an API lib rather than calling an url directly? Feb 23 15:32:15 i think? i'm referring to a job offer i got Feb 23 15:32:27 " Familiarity with RESTful APIs to connect Android applications to back-end services" Feb 23 15:32:51 basically being familiar with retrofit ;) Feb 23 15:32:59 probably. Feb 23 15:33:00 ok so learn that, thanks adq Feb 23 15:33:16 it's one of the top choice for dealing with REST api on android Feb 23 15:33:31 and it's deserved Feb 23 15:33:49 I've used Parse, as a backend before. Is it a similar concept, just you control the backend and use retrofit isntead of the in house api? Feb 23 15:34:05 no idea, i only talked about the android side Feb 23 15:34:10 gothca Feb 23 15:34:11 what you use on the other side, i have no idea Feb 23 15:34:15 mikeymop, also try something like postman to set off some rest calls manually, so you can also learn how to debug them. Feb 23 15:34:42 Syzygy__: https://play.google.com/store/apps/details?id=com.sourcestream.android.restclient&hl=en Feb 23 15:34:45 this guy ^? Feb 23 15:35:25 I guess stuff like that also works, but I was talking about this https://www.getpostman.com/ Feb 23 15:37:50 thanks! Feb 23 15:38:54 I recommend you also get familiar with JSON, since that's the most commonly used thing to send data around via rest afaik. Your job offer might say something like xml though, then try sending/receiving that instead) Feb 23 15:41:03 I set up ActivityLifecycleCallbacks in my app class, and in onPause and onDestroy, I restart my activity (yes this would normally be a pretty shitty thing to do, but it's ok in my case). it's immediate for onDestroy, but takes quite almost 10 seconds for onPause. Any idea how i can speed that up? Feb 23 15:46:32 by profiling first and knowing what takes this incredible amount of time Feb 23 15:55:28 OptionalPendingResult opr | take another min or two to effin connect Feb 23 16:18:00 Hey, does anyone know of a good fast way to switch themes runtime? I would prefer not to recreate the entire activity if at all avoidable. Feb 23 16:21:35 themes requiring recreating activity Feb 23 16:21:43 and recreating an activity isn't particularly expensive or hard Feb 23 16:28:21 pfn: Is it possible to fade between themes by recreating the activity? I didn't think that would be possible, so I wanted to avoid recreation. Feb 23 16:28:40 you can set an activity transition perhaps for recreating Feb 23 17:10:51 pfn: Ah, ok I got that to work wonderfully! Thank you! Feb 23 17:11:19 you're welcome, and how were you able to set the transition, just overridePendingTransition prior to recreate? ezpz Feb 23 17:17:50 When using onBackpressureBuffer, will I use less memory using model A, or B? http://pastebin.com/mQ41HYkK Feb 23 17:18:11 Not that getObservable() is called from several downstream subscribers. Feb 23 17:18:49 I'm wondering if it is black and white that a single shared buffer will be more memory-responsible than several bufferes Feb 23 17:25:50 are you able to measure it? Feb 23 17:30:34 Hi Guys ;d Feb 23 17:30:52 hello ? Feb 23 17:31:15 anyone here? Feb 23 17:31:55 there are. we just don’t have anything to say Feb 23 17:39:35 is there a list of mediaplayer states somewhere? when I try to start playback, nothing is played and I get this in my log. stop called in state 0, error (-38, 0) Feb 23 17:44:30 ugh, 30% of devices are running on unsupported android versions? If I use material stuff that's not supported by the compat library I need to rebuild the "native material" look myself, right? Feb 23 17:44:44 like bottom-tab/navigation-bar thing Feb 23 17:44:49 hey guyss Feb 23 17:44:54 that'sall in appcompat regardless Feb 23 17:44:55 yup Feb 23 17:45:14 or, you could set your minSDK high enough that it doesn’t matter Feb 23 17:45:18 pfn, the bottom bar is? Couldn't find it in the overview. Why do plugins for it exists than? Feb 23 17:45:29 libraries, not plugins Feb 23 17:45:31 s73v3r, I need good coverage, I can't drop 30% of users Feb 23 17:45:33 because it doesn't belong in framework Feb 23 17:45:40 I'm trying to build a new app for setting up group meetings... Feb 23 17:45:40 pfn, right Feb 23 17:45:56 anotheryou: do you have data on your users? Feb 23 17:46:03 pfn, I could just hope that my audience has more... exactly, not yet Feb 23 17:46:05 and who is making you money Feb 23 17:47:00 s73v3r, actually the users will not make the money and coverage is important. It's an app for some company that's not supposed to make money itself, just replace esrvice personal Feb 23 17:47:02 service Feb 23 17:47:27 how to programming using canvas , effective ? Feb 23 17:47:45 so... i want it to be whatsapp-like in terms of authentication... like - you have a group of people identified by their phone number, and they can choose dates... Feb 23 17:48:00 s73v3r, I can just hope that the clients clients are those with the new phones :) Feb 23 17:48:14 so i wonder how would you implement such an authentication system. Feb 23 17:48:24 s73v3r, it's visitors of restaurants. I might be lucky Feb 23 17:51:34 codeman, https://developer.android.com/reference/android/graphics/Canvas.html until you come back with a decent question Feb 23 17:52:00 Lavan_, get the users phone number and do the rest on your backend? Feb 23 17:52:48 Syzygy , interesting, but how can i verify their numbers? Feb 23 17:54:16 hey all Feb 23 17:54:27 Lavan_, have you not ever used any system where they verify phone numbers? Feb 23 17:54:27 so I got this crash today from Fabric: http://pastebin.com/fihyatxx Feb 23 17:54:29 the same way... Feb 23 17:54:40 pfn , no Feb 23 17:54:42 don't know how to go about finding the source :/ Feb 23 17:55:07 the user canceled a play-services dialog Feb 23 17:55:10 it crashed, kaput Feb 23 17:55:18 The same way other apps doe it. I think whatsapp sends an sms from their backend with a code that is read by their app that somehow and verifies through that. Feb 23 17:55:50 hmm thanks pfn Feb 23 17:56:06 oh haha line 8 Feb 23 17:56:24 yes, reading is helpful Feb 23 17:56:30 so i need to like send from not-the-user phone an sms the the user phone? Feb 23 17:56:50 it'll cost me lots of money, wouldn't it? Feb 23 17:57:01 there are lots of services that do this Feb 23 17:57:06 it doesn't cost an excessive amount of money Feb 23 17:57:56 what are common sms prices?... especially international. Feb 23 17:58:42 i don't really know... international should be very expensive Feb 23 17:58:58 it's not done internationally Feb 23 17:59:03 might be .20$? lets say 10000 users, that's 2000 bucks. Feb 23 17:59:04 all the services have local points of presence Feb 23 18:04:18 so there is no way to do it for free? Feb 23 18:05:16 check out Digits Feb 23 18:05:21 it’s part of Fabric Feb 23 18:05:38 nothing is free man, and if the service you use is free they probably monetize the data you provide to them Feb 23 18:05:54 i hate those services requiring a phone number to auth or anything Feb 23 18:20:25 thanks guys Feb 23 18:20:34 I'll look into this fabric thing Feb 23 18:29:18 http://tools.android.com/tech-docs/new-build-system/2-5-alpha-gradle-plugin Feb 23 18:31:14 Oops: Fatal Exception: java.lang.OutOfMemoryError: OutOfMemoryError thrown while trying to throw OutOfMemoryError; no stack available Feb 23 18:31:50 Xzibit: "So I hear you like OOM Exceptions? So we put some OOM to go with your OOM" Feb 23 18:35:20 lol Feb 23 19:06:37 adq looks nice , i like the UI http://audulus.com/ Feb 23 19:06:56 doesn't try to be photorealistic Feb 23 19:10:26 * raoul11 g00ses g00s Feb 23 19:10:37 hey raoul11 Feb 23 19:10:45 hi buddy Feb 23 19:11:16 so i'm thinking at i/o 2017 xav is going to get up, tell us gradle plugin is getting faster, so us some charts, and tell us to look out for things in the next year Feb 23 19:11:25 pretty much what he's been doing for the last 3 years lol Feb 23 19:11:51 i spotted a poosh Feb 23 19:12:00 but not just any poosh Feb 23 19:12:11 which started the whole world pooshing Feb 23 19:12:19 but thepoosh was on me Feb 23 19:12:43 how is it going thepoosh Feb 23 19:12:56 ok, excited about constraintlayout? Feb 23 19:14:02 thepoosh hmm ... Feb 23 19:14:11 there he is Feb 23 19:14:16 1.0 came out today Feb 23 19:14:18 hi there Feb 23 19:14:19 how did the chop go? Feb 23 19:14:36 everything is in order? Feb 23 19:14:44 not as fun as far as parties go Feb 23 19:14:48 i think so Feb 23 19:14:51 lol Feb 23 19:14:55 whats his name Feb 23 19:15:07 thepoosh are you using CL with the gui editor or by hand (xml) Feb 23 19:15:36 didn't use yet, our tech lead said we can't use it while in beta Feb 23 19:15:42 so we should be using it now Feb 23 19:15:49 raoul11: Roi Feb 23 19:15:58 naice, good name Feb 23 19:16:08 with alef/ain? Feb 23 19:16:14 ain Feb 23 19:16:35 chopper did a good job? Feb 23 19:16:39 didnt cut too much? Feb 23 19:16:45 don't know Feb 23 19:16:49 wasn't looking Feb 23 19:16:57 do i seem crazy to you? Feb 23 19:17:07 donno what ill do on that day Feb 23 19:17:19 probably get shitfaced from rum prior Feb 23 19:27:41 What is a good way to go about testing for OOM? Feb 23 19:54:58 reflection! junit! robocop! 1,000 extraneous Log.d() messages Feb 23 19:55:01 you don't test for oom Feb 23 20:01:36 lol http://i.imgur.com/2QA2SXv.gifv Feb 23 20:03:44 lol g00s Feb 23 20:03:55 want another pandagif Feb 23 20:04:26 that panda is persistent ! Feb 23 20:04:30 sure Feb 23 20:04:58 http://i.imgur.com/0vs7ne8.gifv Feb 23 20:05:02 Hello, can anyone help me solve this most strange thing it ever happened to my android device? Here is the thing. I just bought a new sim card, i call my wife with the new simcard to her phone wich is NOT connected to any dataplan or wifi, just to phone service, and instead of arriving a call from a new number not known, she recived a call that says is from "my current google account". How can it be posible? Then i check her pho Feb 23 20:07:01 thats more for #android channel Feb 23 20:07:07 I did the test with both mobiles in my hand, i still have them in my hand to check anything u can point me to check, my wife phone still not connected to the internet but the Whatsapp contact is there in her contact list with the whatsapp icon, Name:my email account, Phone number: the just bought phone number. Feb 23 20:07:13 raoul11 love those panda masks Feb 23 20:07:13 ohh ok, i swap channel Feb 23 20:20:01 g00s, this is my signature in a few forums http://i.imgur.com/0xMss0I.gif Feb 23 20:41:30 hi! another n00bish question; how would i prevent my toolbar being overlapped by a fragment? Feb 23 20:42:11 the fragment uses layout_width & height match_parent Feb 23 20:42:59 and action bar is not the parent, so i guess that’s why it’s happening Feb 23 20:43:16 toolbar* Feb 23 20:45:52 ah it was caused by the textview between toolbar and fragment... Feb 23 20:47:34 In Android Studio how would I make a project read a values.xml that I've copied into app/res/values? At the moment it's ignoring the file and I can't find any menu or dialog to change that Feb 23 20:56:55 why do I get this error: Could not find class 'android.graphics.drawable.RippleDrawable', referenced from method android.support.v7.widget.AppCompatImageHelper.hasOverlappingRendering ?? its only on one activity I get this, but not on the other ones Feb 23 20:57:46 this is my xml: http://pastebin.com/Q7cnKSsh Feb 23 21:00:01 Does anyone know if you can trigger a webhook at the click of a button in Fabric Feb 23 21:00:08 adq looks nice , i like the UI http://audulus.com/ << indeed, you know modular is hype again among audio producers, hw (with eurorack, moog reedition etc) as sw Feb 23 21:00:10 basically I want to press a button to create an issue in Jira.. Feb 23 21:26:23 i have a fragment inserted by my layout Feb 23 21:26:30 can i update this from the main activity? Feb 23 21:26:37 update how Feb 23 21:27:02 the fragment shows an array Feb 23 21:27:17 i want to change that array and display the new one Feb 23 21:27:38 sure. Just have the activity call a method on the fragment, giving it the new array Feb 23 21:28:14 how would i do that? Feb 23 21:28:28 exactly as I said Feb 23 21:28:38 R.layout.fragment1.method won’t work i guess :) Feb 23 21:28:39 the activity calls a method on the fragment, passing it the new array Feb 23 21:29:49 i’m asking because the frame is not created by the activity but by the layout Feb 23 21:30:13 how would i access the instance of the frame in the activaty? Feb 23 21:30:15 you should be able to get a reference to it like any other ui thing Feb 23 21:30:40 and if that doesn’t work, then maybe switch to putting the fragment in the other way Feb 23 21:32:15 you can also use the fragmentmanager’s findFragmentById method Feb 23 21:32:17 final GameInfo gameInfo = (GameInfo) findViewById(R.id.fragment1)? Feb 23 21:34:48 can’t cast View to GameInfo... Feb 23 21:35:03 use findFragmentById on FragmentManager Feb 23 21:46:29 can’t cast Fragment to GameList... Feb 23 21:48:13 is GameList the fragment class name? Feb 23 21:49:47 hi Feb 23 21:50:05 hi Feb 23 21:50:13 I've implemented a an appwidgetprovider/broadcast receiver for a widget Feb 23 21:50:17 so, I've populated onUpdate method and I've added onReceive method Feb 23 21:50:33 unfortunately, though I've placed some log call in logcat, visual changes in my widget are not displayed Feb 23 21:50:53 in particular, onUpdate log message ia not displayed anymore in logcat Feb 23 21:51:35 I pastebin java code: http://pastebin.com/RDNC1Gyq Feb 23 21:52:09 any ideas? Feb 23 21:54:32 s73v3r: yeah Feb 23 21:54:41 so what’re you doing? Feb 23 21:54:55 gameList = (GameList) fragmentManager.findFragmentById(R.id.fragment1); Feb 23 21:56:47 pastebin your layout and your fragment Feb 23 21:57:52 http://pastebin.com/Cxjw0FzT Feb 23 21:58:41 hold on... Feb 23 21:58:44 Fragment f = getSupportFragmentManager().findFragmentById(R.id.fragment_container); Feb 23 21:58:45 if (f == null) Log.d("Fragment", "null!!!"); Feb 23 21:58:46 if (f instanceof OnePlayerFragment) { Feb 23 21:58:48 ((OnePlayerFragment) f).setScore(view, score); Feb 23 21:58:49 } Feb 23 21:58:49 ? Feb 23 21:58:54 (sry for long paste)… Feb 23 21:59:14 that part there seems to be unrelated Feb 23 22:02:07 right… same problem ofcourse Feb 23 22:03:05 sounds like you’d be better off doing the other version of adding fragments, where you add them in code using fragmentManager.replace() Feb 23 22:03:35 well, that’s possible too, but what the hell is going wrong here? Feb 23 22:03:46 why won’t it cast…. Feb 23 22:04:10 i don’t know Feb 23 22:04:39 you do get a fragment back, right? Feb 23 22:04:50 s73v3r: because GameList does not extend from Fragment? Feb 23 22:05:08 it’s extending from ListFragment, which extends from Fragment Feb 23 22:05:32 remove the cast for now, and then step through it. What do you get back? Feb 23 22:05:37 inspect it in the debugger Feb 23 22:11:18 import android.support.v4.app.ListFragment; Feb 23 22:11:33 the class i used had android.app.ListFragment... Feb 23 22:11:51 that would be your problem Feb 23 22:12:12 change everything to use support fragments, and you’ll be golden Feb 23 22:13:49 android studio doesn’t show any red lines anymore so I guess I’m ok :) Feb 23 22:47:34 well, next question… ArrayAdapter adapter = ArrayAdapter.createFromResource(getActivity(), R.array.Games, android.R.layout.simple_list_item_1); Feb 23 22:47:45 is using static items from R.array.games Feb 23 22:48:18 but i want R.array.Games to be filled from java code Feb 23 22:48:38 so do that instead Feb 23 22:48:46 just give it an array of Strings Feb 23 22:49:01 R.array.Games should be a int textArrayResId Feb 23 22:49:39 So with String[] blabla, blabla could functio as a int textArrayResId? Feb 23 22:49:56 well i guess so… reading it myself :) Feb 23 22:50:29 nope... Feb 23 22:50:45 Found java.lang.String[] found, required int Feb 23 22:51:15 of course, niekniek Feb 23 22:51:15 https://developer.android.com/reference/android/widget/ArrayAdapter.html Feb 23 22:51:28 i think you need to put it in the Constructor of the ArrayAdapter Feb 23 22:51:29 createfromresources is just a basic boilerplate Feb 23 22:51:38 you'd better learn how to make a custom adapter Feb 23 22:51:57 because those premade adapter suffers quickly or, are rarely sufficient Feb 23 22:52:54 (nor flexible) Feb 23 22:53:06 well adq, this seems sufficient in my case, I just don’t get what a textArrayResId is Feb 23 22:53:14 it's an integer Feb 23 22:53:20 representing an array in xml Feb 23 22:53:24 int: The identifier of the array to use as the data source. Feb 23 22:53:32 this xml array usually contains few items (string) Feb 23 22:53:43 i know Feb 23 22:53:47 but do i create one in java code Feb 23 22:53:53 it's not what you want since you said you want to populate your array from java code Feb 23 22:54:15 niekniek: look at the constructors to ArrayAdapter Feb 23 22:54:32 there are a few that take lists of objects Feb 23 22:54:39 rtfm but again, you're not learning much with those premade arrayadapter Feb 23 22:54:47 go custom adapter Feb 23 22:54:53 it's more than just a must Feb 23 22:55:05 meh. for now I think it’s fine Feb 23 22:55:18 Hell, many times with RecyclerViews, I wish they still had the premade adapters Feb 23 22:55:24 it won't be painful as it is already lol Feb 23 22:55:47 i was overwhelmed the first times too Feb 23 22:55:54 now it's trivial af Feb 23 22:56:37 T: The objects to represent in the ListView. Feb 23 22:56:56 i know, but there are some times where I just want to put an array of strings on the screen, and to me, the amount of work to write an adapter to do that seems too big for the time I have at the time Feb 23 22:57:15 niekniek: That’s where you’d give it the List of Strings, or whatever it is Feb 23 22:57:16 what does that mean? memory addresses? Feb 23 22:57:24 yeah, i can only agree on that s73v3r but imho it comes from java Feb 23 22:57:26 no. It’s a List Feb 23 22:57:27 km of code per day Feb 23 22:57:31 yes, kilometers Feb 23 22:57:58 niekniek, you need to read about java generic type and such Feb 23 22:58:00 s73v3r: i know it’s a list but what will be displayed? Feb 23 22:58:06 that will help you for understanding this "T" Feb 23 22:58:11 it’s going to call .toString() on each itme Feb 23 22:58:13 item Feb 23 22:58:42 ah like that Feb 23 22:58:49 lemme try... Feb 23 23:08:56 grrr Feb 23 23:08:57 ArrayAdapter adapter =new ArrayAdapter(this, R.array.Games, android.R.layout.simple_list_item_1, Arrays.asList(gameList)); Feb 23 23:09:21 trying to use this constructor ArrayAdapter(Context context, int resource, int textViewResourceId, List objects) Feb 23 23:09:23 how much Java experience do you have? Feb 23 23:10:23 also, if this is in your fragment, a Fragment is not a Context Feb 23 23:11:01 s73v3r: i’ve been ok, but I haven’t been using Java for years... Feb 23 23:26:51 Hey, how do I start my app under Systrace? Feb 23 23:30:01 s73v3r, i still do it via the old DDMS Feb 23 23:30:18 but i'm afraid of the recent deprecation/future removal Feb 23 23:30:30 especially since the correspondant tools are not ready yet Feb 23 23:31:05 i’m trying to analyze my app’s startup, specifically regarding threads Feb 23 23:31:40 not sure ytou need systrace, traceview should be sufficient for that Feb 23 23:31:47 again the old one Feb 23 23:32:09 because the new one is not able to display multiple threads at same time... also suffer highly from UI (i'm not an ant) and UX Feb 23 23:32:13 but how do I start it with the app? Feb 23 23:32:39 you can start it if your application class is already running, otherwise you can call traceview from java code Feb 23 23:32:44 there is start and stop function Feb 23 23:32:48 BUILD SUCCESSFUL Feb 23 23:32:49 Total time: 7 mins 34.837 secs Feb 23 23:32:51 :( Feb 23 23:33:09 usually ppl don't look application class (since for most it's empty) and only care of activity being created and stuff Feb 23 23:33:38 so if you have nothing or do not care about profiling application class creation, you can just destroy your activity, start the trace, then launch your activity to profile it Feb 23 23:36:39 that might work Feb 23 23:36:53 that what i do most of the times because i'm so lazy Feb 23 23:36:58 i kill the activity using ADB, and then send the intent for Launcher Main? Feb 23 23:37:05 and don't want to add start and stop trace call in code + adb pull from somewhere Feb 23 23:37:30 idk what kill activity via adb will do Feb 23 23:37:50 but just having your activity destroyed and your application class still there (thus not killed) is sufficient for most use-cases Feb 23 23:38:06 if you want to start capturing before launching this activity Feb 23 23:39:19 really I want to see the entire picture of the app on cold start Feb 23 23:39:40 there are tools online too Feb 23 23:40:00 like https://nimbledroid.com Feb 23 23:40:19 i tested it but monthes ago, they do some profiling for cold start & stuff Feb 23 23:40:21 we used to use those, but then they wanted money Feb 23 23:40:28 but nothing as precise as what you have locally available Feb 23 23:40:33 and also without any control Feb 23 23:41:00 might make sense for CI Feb 23 23:41:04 not sure otherwise Feb 23 23:41:21 ppl caring of fixing issue discovered by a profiler should be able to profile Feb 23 23:41:38 yeah, but they need to start somewhere Feb 23 23:41:50 they start where the most ppl are, at hello world Feb 23 23:41:59 this is why there are so many shitty official youtube video tutorial of android dev Feb 23 23:42:16 explaining "things" in 10 minutes which would require just a little amount of text Feb 23 23:42:39 i'm so triggered, ttyl :) Feb 23 23:43:12 (i admit, the colt video on perf matters are raising the bar, at least) Feb 23 23:43:17 videos* Feb 23 23:54:21 Hey Feb 23 23:56:41 I cannot root my note 4. N910V I followed the instructions to the T from xda. I downgraded to lollipop version pa1. And tried all other builds. I used kingroot and Kingo root APK versions and windows versions multiple times can someone please help or point me in the right direction Feb 23 23:57:32 Please read the channel description Feb 24 00:34:16 So it's not just me ??! *whew* "Since the end of 2008, the working age population has increased by over 20 million. However, the number of those employed has increased just 8.9 million."... Feb 24 00:35:10 my code sucks, but no ones that bad ;-) Feb 24 00:50:01 static classes/methods and stuff are initialized before Application.onCreate, right? Feb 24 01:04:47 hey guys, what's the syntax of a .java file to include in an NDK app to force the order of libraries loading with dlopen? Feb 24 01:15:04 ESphynxOnTheGo: https://github.com/KeepSafe/ReLinker Feb 24 01:48:45 you're gone s73v3r.. but you should know that it is loaded when the class is initialized. Feb 24 01:49:05 so after Feb 24 02:07:56 Hey all! I'm working on an app for myself and I'm having an issue with the text "jumping" around in a textview. I've basically made a stopwatch with a textview displaying the time(updates every 50-100ms) and when I try to use a different font, every time a digit changes all the text shifts a little. Feb 24 02:08:31 It does not do this using the default font(roboto if I'm not mistaken) Feb 24 02:10:42 HaSH: AIUI, the ASCII digits don't have to be the same width. Feb 24 02:11:20 AIUI? Feb 24 02:11:25 As I understand it Feb 24 02:11:28 Ah. Feb 24 02:11:54 That seems to be the issue, the individual digit spacing changes. Feb 24 02:13:08 I tried playing with letterSpacing but have no luck. **** ENDING LOGGING AT Fri Feb 24 03:00:00 2017