**** BEGIN LOGGING AT Wed Mar 08 03:00:03 2017 Mar 08 03:03:21 lankanmon, use onPostExecute() Mar 08 03:04:19 lankanmon: You can perform actions on the UI thread there Mar 08 03:04:50 Thanks! Mar 08 03:19:25 trying to style this datepicker but can't seem to get the top grey portion to be black http://imgur.com/a/sOHXv Mar 08 03:30:51 Nougat made it to 2.8% \o/ Mar 08 03:41:38 r0ute: is there a certain way to get the contents of: String result to the outside of a try catch? Mar 08 03:42:09 I need to return result; but result turns red because it is not available outside of the try catch Mar 08 03:43:18 lankanmon: Paste an example of your code to a paste bin. It's not easy to understand what you mean from what you've said. Mar 08 03:44:32 r0ute: http://pastebin.com/BusidqQh Mar 08 03:44:57 your variables aren't scoped correctly Mar 08 03:46:11 Try changing 'String result = total.toString();' inside the try to 'result = total.toString();' Mar 08 03:46:33 You are re-declaring the variable inside the try so it is not accessible outside of it Mar 08 03:48:02 Thanks I think that worked Mar 08 03:48:15 no longer getting an error Mar 08 03:48:25 now if only i can get this to actually work Mar 08 03:49:26 That's always a bonus :) Mar 08 03:49:36 Yeah for sure Mar 08 03:50:00 What's not working? Mar 08 03:50:18 I am trying to get plaintext from that url and output it to a textview Mar 08 03:51:54 And what part of that process isn't working? Mar 08 03:52:23 java.net.UnknownHostException: Unable to resolve host "lknnet.com": No address associated with hostname Mar 08 03:52:41 after connection is opened Mar 08 03:53:00 the url works fine when i visit it via browser on device Mar 08 03:54:05 Have you specified the INTERNET permission in your manifest? Mar 08 03:54:23 yes Mar 08 03:54:40 I have Mar 08 03:56:34 r0ute: you know what... it appears that it is no longer visible in the chrome browser on the device Mar 08 03:56:53 Sounds like a networking issue then. Make sure wifi etc is all working ok Mar 08 03:56:54 but i can view it on my pc, so is there something wrog with the phones DNS? Mar 08 03:57:06 Disconnect and reconnect wifi for a start Mar 08 03:57:24 google works Mar 08 03:59:26 restarted wifi... seems to work now Mar 08 03:59:36 Thanks a lot! Mar 08 04:00:11 no problem Mar 08 04:37:59 hm, when i do 'sdkmanager --list' it doesn't show me ConstraintLayout (1.0.2) in the "updates available" section, although it does show in the master list Mar 08 04:39:03 i hope google gets rid of all these downloaded maven repositories soon, so lame Mar 08 04:44:25 is there a way to tell sdkmanager "get me the latest ConstraintLayout" w/o me explicit;y specifying the version ? Mar 08 05:41:41 Hi guys, I'm experiencing a strange behaviour with AVD on Ubuntu operating system with the latest updated Mar 08 05:41:56 the AVD starts and stops immediately Mar 08 05:42:11 anyone experienced the same so far? Mar 08 06:05:47 anyone there? Mar 08 06:17:50 thunderbird6760_: sorry now sure the answer to your question Mar 08 06:17:55 not sure* Mar 08 06:21:36 is anyone familiar with how the camera apis work? I've have a situation where calling setPreviewDisplay displays something entirely different from setPreviewTexture. I'm not sure how they are fundamentally different from one another except the way the image data is managed Mar 08 06:22:00 ok Mar 08 06:22:22 no issues toblorone Mar 08 06:25:32 man i'm so pissed toblorone changed their triangle in their chocolate Mar 08 06:25:53 oh yeah, they're so ugly now Mar 08 06:26:24 oh its toblerone :D Mar 08 06:26:40 yeah, name already taken ; ( Mar 08 07:03:22 thepoosh ! Mar 08 07:04:06 * raoul11 thepooshes g00s Mar 08 07:06:17 hey raoul11 Mar 08 07:06:25 hi buddy Mar 08 07:06:28 lol, now i know what its like to be pooshed Mar 08 07:06:40 oh hi there peeps Mar 08 07:06:56 what's news? Mar 08 07:07:15 i'm wondering how i can abuse this https://developers.google.com/web/updates/2015/07/interact-with-ble-devices-on-the-web Mar 08 07:08:27 heh Mar 08 07:09:46 thepoosh whats news there ? Mar 08 07:10:13 tired AF Mar 08 07:10:18 other than that all is good Mar 08 07:10:19 i think Mar 08 07:12:11 a bit sick thepoosh /: Mar 08 07:12:43 but my rx+retrofit+mvp is working nice Mar 08 07:12:49 TOTALSEGREGATION Mar 08 07:37:40 doh google is acquiring kaggle ... nooooooo Mar 08 07:37:48 NOOOOOOOOOOOOO @ Mar 08 07:38:48 whats that? Mar 08 07:39:50 its a programming content for data science Mar 08 07:40:07 you get problems and have to write something to solve a data science problem Mar 08 07:40:29 like, maybe a problem is write classifier for handwritten text Mar 08 07:41:39 \: Mar 08 07:54:12 hi all Mar 08 07:54:17 so,solitaire for devs? Complete a pointless exercise? Mar 08 07:54:50 impress no one, get no job? do not pass go? Mar 08 07:55:00 where to find how Dialer access microphone in code? is this in system app or kernel? Mar 08 07:58:08 capella a good kaggle score can get you a job Mar 08 07:58:46 ah well, I guess recruiters are good for nothing these days Mar 08 07:59:36 The real reason we think we need h1b, no one knows how to hire devs Mar 08 08:01:01 Hey guys Mar 08 08:01:17 I have a really tricky situation Mar 08 08:01:21 g00s i wouldnt pass a whiteboard test if my life depends on it Mar 08 08:01:36 does anyone know of a way to output human interface like output on android from backends? Mar 08 08:01:57 i need to develop something that gets RFID data to an application / any application as input Mar 08 08:02:04 much like a bluetooth keyboard would Mar 08 08:02:33 * capella won't do challenge coding either Mar 08 08:03:37 i was looking into kaggle just for fun, they have training data sets for you to use Mar 08 08:03:45 told the last guy who interviewed me: pc or gtfo Mar 08 08:03:52 in more or less words Mar 08 08:04:27 raoul11 did you see this https://theoutline.com/post/1166/programmers-are-confessing-their-coding-sins-to-protest-a-broken-job-interview-process Mar 08 08:04:33 yeah Mar 08 08:04:37 thepoosh linked me to it Mar 08 08:05:00 finally tbh, its like going out of the closet of devs allover Mar 08 08:05:01 g00s: I even posted my own one on facebook for this Mar 08 08:05:25 I told Thumbtack I'd help them, but they made a coding test a blocker, I told them the same (nu-uh) Mar 08 08:05:52 out of memory coding tests are retarded Mar 08 08:05:54 capella was it whiteboard or take home ? Mar 08 08:06:04 i'd to a take home Mar 08 08:06:04 "write a rest client from memory" Mar 08 08:06:07 Didn't ask Mar 08 08:06:10 well, no. Mar 08 08:06:37 g00s: this was my response to this Mar 08 08:06:38 Hi, my name is Yishai and I've been and Android developer for the past 6 years, still look up stackoverflow every time I need to make the keyboard show "next" Mar 08 08:06:57 lol Mar 08 08:07:01 i know that yishai Mar 08 08:07:04 he no good Mar 08 08:07:13 he love you long time! Mar 08 08:07:19 too boo koo Mar 08 08:07:28 Gotz 5 years of moz commits and Bugzilla history, employer who's too lazy to read code, can't judge me Mar 08 08:07:55 capella: "you don't know me!!!" Mar 08 08:08:38 heh yah... turn the tables, can't work for lazy people Mar 08 08:08:50 Have you guys got any opinions on my previous question? I'd very much like to hear from someone with more android experience wether its possible to output keyboard data via a background service (through a com-like interface) to any active edittext and or browser window and such Mar 08 08:09:04 raoul11: also this for international women's day: https://hbr.org/2013/08/why-do-so-many-incompetent-men Mar 08 08:09:28 so far i've ran into policy problems and the last time i had to do it for a barcode reader i just coded a softkeyboard that handled the intermediary data Mar 08 08:09:52 but thats not optimal having to swap out the keyboard on the device and / or having an extra step there Mar 08 08:10:32 did u get that on woman tech makers il thepoosh ? Mar 08 08:11:07 viliny output chars from your service to your app like a remote input probably Mar 08 08:12:01 capella: the "my app" in this case is done by a different company, i've heard the "tags" c#, javascript, azure and hotmail so i have to assume they are doing something xamarin related over there Mar 08 08:12:23 they threw their hands up for this "low level" coding of implementing the device dll's to a native android app Mar 08 08:12:40 sorry, hotmail was ment to say something else -- html Mar 08 08:12:47 I try to run android studio with my phone but it doesn't show up. I have enabled "Developer mode" on my phone and it's connected. Is there anything I can try? Mar 08 08:13:01 zajt, enable debugging perhaps? Mar 08 08:13:20 Viliny: I added debug{ debuggable true } in build.gradle Mar 08 08:13:24 Didn't work Mar 08 08:13:27 on the phone Mar 08 08:13:32 viliny "your app" I mean package Mar 08 08:13:37 enable usb debugging Mar 08 08:13:52 Zajt, developer options -> USB Deugging Mar 08 08:14:00 Zajt: "USB debugging" is an option within developer options - you need to enable them both Mar 08 08:14:01 if it is connected, u gonna see output on your adb console Mar 08 08:14:07 yeah it wasn't activated there raoul11 and Viliny . Gonna try to run it now :) Mar 08 08:14:25 worked now! thanks guys!! Mar 08 08:14:29 * raoul11 Leeds Leeds Mar 08 08:14:57 * Leeds dimsums raoul11 Mar 08 08:15:19 capella: i'm not entirely sure i follow, but what remains is a scenarion where the endpoint of the output can be anything Mar 08 08:15:28 mhm dimsums.. Mar 08 08:15:33 good to hear Zajt Mar 08 08:15:49 Viliny said it first, i was riding on his wave.. Mar 08 08:16:54 The device manufacturer for the RFID hardware DOES HAVE an application that allows "HID" use of the module, but it's in beta or something and we may try it out on limited play shop allowance Mar 08 08:17:12 im trying our political connection to that company to gain access to the source code Mar 08 08:18:04 talking about a half a million hardware deal to start with here so hopefully that works out, but im really bummed i haven't been able to find a working way to emulate this sort of hid functionality on my own Mar 08 08:19:15 rfid with id is fine, but Android security applies, sending textEvents cross apk is Mar 08 08:19:35 yes, android security i think is my biggest problem here Mar 08 08:20:07 but these android devices are coming from a factory that we have leverage on, gaining root access is not out of the question either if it comes to that Mar 08 08:21:03 are you providing manufacturer functionality? OS level hacks/custom solutions are easiet Mar 08 08:21:56 im saying i could organize root access to the devices, we are our countrys official distributor and im pestering them daily on firmware changes Mar 08 08:21:56 but I'm still confused about your imagined hardware api Mar 08 08:22:53 manufacturer 'A' has rfid hardware, manufacturer 'B' does not, i want to combine them via OTG and a USB-module that has RFID Mar 08 08:23:32 then to save grey hair from customer 'C' and their affiliated programming house 'D', enable all of this to work within any application such as a HID keyboard would Mar 08 08:23:50 raoul11: I saw a friend post it Mar 08 08:23:55 and it was very interesting Mar 08 08:24:10 although not exactly filled with information Mar 08 08:25:24 I can't see how your app would force input indiscriminately Mar 08 08:26:16 me neither unfortunately Mar 08 08:26:29 i know bluetooth devices can do that, but this way i haven't found a solution Mar 08 08:26:32 nor why it'd want to Mar 08 08:27:05 attack reader to phone, bring phone over RFID-tag, receive EPC to application Mar 08 08:27:18 application has no functionality and just dumbly expects input Mar 08 08:27:18 OS level api but the app has to code to it Mar 08 08:27:30 Is there someting wrong with this XML code: http://pastebin.com/F9sp0j0s ? I just added EditText, TextView and Button but it only shows: http://imgur.com/a/Dk71I on my phone Mar 08 08:30:57 Zajt: a quick lazy glance would suggest you haven't set any containers for the elements Mar 08 08:30:58 You'd want to avoid spoofed char device attacks, like someones flash posing as a real keyboard and generating commands during mount Mar 08 08:31:14 capella: absolutely, but this is a really specific environment Mar 08 08:31:43 Viliny: Alright should I remove android.support.design.widget.CoordinatorLayout and use LinearLayout instead? Mar 08 08:32:09 erm, not sure Mar 08 08:32:19 but you should position everything with surround containers for sure Mar 08 08:33:01 my guess is the first element is taking all the screenspace and throwing everyhing else outside of the screen because theres no rules on how to neatly distribute available screen space to certain elements Mar 08 08:33:49 if you are using android studio, theres a IDE that allows you to see your xml design as a simulated phone screen, no? Mar 08 08:34:27 Viliny: alright don't know which of all the code that was there from beginning that causes it though Mar 08 08:34:33 yeah but I use my phone instead Mar 08 08:36:18 Zajt: im not talking about an emulator though, just the general graphics designer Mar 08 08:36:55 oh ok that one isn't working for me. So I will need trial-and-error :) Mar 08 08:38:03 Zajt: heres the menu of a inventory program i made for a fireworks manufactorer for example: Mar 08 08:38:04 https://www.dropbox.com/s/iz1nkpgnjy3wp7y/Capture.PNG?dl=0 Mar 08 08:38:24 I have a crash in a public static field that does not happen if the field is set to private static. Here's the (decompiled) code https://gist.github.com/Syzygy2048/9bb4ca8352387bfbeae09f1f7a41bf3b the crash occurs in line 11. Mar 08 08:38:51 If the Gson field is set to private everything is working correctly. Mar 08 08:41:17 Zajt: any luck? Mar 08 08:42:13 Viliny: I changed to this XML-code http://pastebin.com/tN61PFDS and the design looks like https://puu.sh/uzkgB/a99806f85e.png Mar 08 08:42:30 But when I run the app with my phone, I still get this: http://imgur.com/a/Dk71I Mar 08 08:43:06 yeah that doesn't look great Mar 08 08:43:18 how do you want the stuff to display? Mar 08 08:43:19 Is there some wrong in like MainActivity.java then or? Mar 08 08:43:42 no no just your general positioning, this is all in the layout file Mar 08 08:44:19 Viliny: Like this: https://puu.sh/uzkq5/82cb15f0d0.png Mar 08 08:44:28 i have a moment if you want we can do teamviewer and try out some positioning Mar 08 08:44:40 But shouldn't I be able to see this: https://puu.sh/uzkgB/a99806f85e.png ? Mar 08 08:44:44 yeah we can do teamviewer Mar 08 08:45:42 won't run on an iphone no matter what you do though :) Mar 08 09:06:43 hi, i want to load a native library inside an app's context. but i want to do that without modifying the app's code. is there a way to do so? Mar 08 09:07:11 i'm looking at `am instrument`. can it help? Mar 08 09:36:44 anyone? Mar 08 09:39:50 bytefire: i hear you but to me that sounds unlikely, someone else might know better though. Mar 08 09:47:14 heh Mar 08 09:51:32 Viliny: thanks for getting back. Mar 08 09:51:42 i have found this: https://developer.android.com/reference/android/test/InstrumentationTestCase.html#runTestOnUiThread(java.lang.Runnable) Mar 08 09:52:17 bytefire: what are you actually trying to do? Mar 08 09:54:16 bytefire: im not a very experienced android developer yet, but what kind of scenario involved loading librarys to an application like that? Mar 08 09:54:27 involves* Mar 08 09:54:47 Leeds: load a lib (.so file) inside an app's context. it's a tool that requires the app to load that lib. at the moment you have to modify app's code to insert System.loadLibrary("mylib.so"); Mar 08 09:55:09 Viliny: it's a tool for android apps Mar 08 09:55:15 what tool is it? Mar 08 09:55:30 why does that matter? Mar 08 09:55:35 it's debugger Mar 08 09:55:54 that's orthogonal to the query here Mar 08 09:58:49 bytefire: Simple way would be to either modify the code (decompile, smalii modding), or hooking the process with an xposed module Mar 08 09:59:04 Diffcult way would be dll injection: https://www.evilsocket.net/2015/05/01/dynamically-inject-a-shared-library-into-a-running-process-on-androidarm/ Mar 08 10:18:41 I'm using 'adb shell' to log into my device and then issue the command 'adb install -r aw.apk' but it says 'device not found'. The reason I'm doing this is because I'm testing that install command so I can use it in an app which should be able to update itself. Mar 08 10:18:47 Any ideas why its saying 'device not found' Mar 08 10:26:59 You're executign adb install /in/ the adb shell? Mar 08 10:27:23 Yes because in real life, it will be the app executing that command. Mar 08 10:27:37 don't, though. Mar 08 10:27:41 I'm just checking the command works from within the device. Mar 08 10:28:08 adb install will connects to a remote device and install the package on it Mar 08 10:28:33 doing it /On/ the device would result in the device trying to connect to /another/ device and installing the package on it Mar 08 10:28:40 Ah. Ok. Seems that this answer is wrong then. http://stackoverflow.com/questions/26926274/install-android-apk-without-prompt/26926336#26926336 Mar 08 10:29:58 I've also tried 'pm install' but get Failure [INSTALL_FAILED_INVALID_URI] Mar 08 10:32:21 Ah. Seems it was the apk file I was testing with. Sorted now. Mar 08 10:32:25 Thanks for the help. Mar 08 10:33:28 Is it possible update an app while it's in-use and then get the app to restart, or do i need a seperate app to do the update? Mar 08 10:33:36 separate* Mar 08 10:34:33 An app is usually killed before the update is applied Mar 08 10:35:48 Ok. I'll write an updater then. Thanks for the help. Mar 08 10:39:46 this new command line sdkmanager google has made is utter crap Mar 08 10:40:14 it cuts off text at the same column widths even in very large terminals Mar 08 10:40:23 impossible to tell what the packages actually are about Mar 08 10:42:35 Hi,what are the various platforms where we can make games for android? Mar 08 10:43:23 what do you mean 'platforms'? Mar 08 10:43:40 i think he means frameworks Mar 08 10:43:46 I think so too Mar 08 10:44:16 yeah frameworks Mar 08 10:44:18 sorry Mar 08 10:44:30 libgdx, andengine, unity3d(2d) Mar 08 10:45:49 unity3d supports only c#? not java Mar 08 10:46:16 yes Mar 08 10:46:37 not noly c#, javascript and some others too, but not java Mar 08 10:46:58 its more of like standalone environment than framework Mar 08 10:47:10 ok Mar 08 10:47:18 what about libgdx? Mar 08 10:47:56 do we have a framework like unity for java? Mar 08 10:48:13 libgdx is java Mar 08 10:48:19 libgdx is what you're after Mar 08 10:49:46 well cool then Mar 08 10:50:23 but the games made in unity are of better graphics,is it so? Mar 08 10:50:55 it all depends on your (or your team) graphics skills Mar 08 10:50:59 unity offers assets store Mar 08 10:51:05 Roughy: thanks! and sorry i've been away Mar 08 10:51:37 Roughy: reading about dll injection. does that require device to be rooted? Mar 08 10:51:50 Probably Mar 08 10:52:32 right. and i didn't understand your other suggestion - hooking process with an exposed module Mar 08 10:52:52 btw, i am working with non-rooted devices Mar 08 10:52:55 ok thank you :) Mar 08 10:53:25 The Xposed framework is a ... thing you can flash that hooks into the vm, allowing you to hook specific methods and run your code in their context Mar 08 10:53:34 So not an option for you then Mar 08 10:53:42 hmm right Mar 08 10:53:58 Roughy: do you know about Instrumentation? Mar 08 10:55:03 < Ashiren> it all depends on your (or your team) graphics skills <-- this is why I don't make games :p Mar 08 10:55:09 ashiren can libgdx plugin be installed in android studio or i have to us e eclipse? Mar 08 10:55:12 use* Mar 08 10:55:19 bytefire: After spending 10 seconds skimming the documentation, yes. Mar 08 10:55:24 Zharf excuse :D Mar 08 10:56:20 nah, games are easy to make, but I don't know anyone with any graphics skills Mar 08 10:56:22 :) Mar 08 10:56:56 Roughy: given my very limited background in android, you've probably grapsed more than i have in past 1 hour Mar 08 10:57:14 wonder if Instrumentation can help.. Mar 08 10:57:31 Zharf nothing is easy, nothing is difficult , it all depends upon in what you are interested in ! Mar 08 10:58:50 bytefire: Let me clear something up. You say you cannot modify the app code. I interpreted this as you wanting to inject a library into an app you do not have the source for Mar 08 10:59:20 sub_zero, it all depends on experience Mar 08 10:59:35 sub_zero: afair they support android studio and idea as well Mar 08 10:59:38 well experience is a plus point Mar 08 10:59:38 Is this actually a case of wanting to inject hte library without mucking about with the app ocde, e.g. you have the source and can modify the manifest and stuff, just not the main activity code Mar 08 10:59:43 I have plenty of ideas for games, but the best I could do is make squares and triangles for graphics :p Mar 08 11:00:18 u got free spritesheets allover Mar 08 11:01:09 zharf hahaha Mar 08 11:05:08 unfortunately they already made that game, it's called ibb&obb Mar 08 11:05:39 though it also has circles... I might be able to do those if I try real hard Mar 08 11:06:05 join #webpack Mar 08 11:13:58 Roughy: so this is a tool for end users who have their source code which they modify at the moment, to load the lib. to make it easier, i want to load the lib without them having to modify their own code Mar 08 11:14:31 Roughy: i don't know how instrumentation works but i thought it installs a separate app Mar 08 11:14:47 and that app then controls the debuggee Mar 08 11:15:00 ... without modifying debuggee Mar 08 11:15:12 is that right? Mar 08 11:32:09 Not a separate app I don't think, but a separate context Mar 08 11:32:54 Although it looks like you can indeed use it to inject code in the target app context Mar 08 11:34:55 Also, when you say lib you mean native lib right? Mar 08 11:36:45 Roughy: yes native lib Mar 08 11:38:42 Roughy: what do you mean by separate context? Mar 08 11:40:27 Roughy: under tag of app manifest, you can set target package name: https://developer.android.com/guide/topics/manifest/instrumentation-element.html Mar 08 11:40:28 Looks like they /do/ run in the same process though Mar 08 11:40:41 riight Mar 08 11:40:49 any links? Mar 08 11:41:03 https://books.google.no/books?id=rREPBAAAQBAJ&pg=PA770&lpg=PA770&dq=instrumentation+android+same+process&source=bl&ots=k5FzJctgKB&sig=6yuUrZ2rl1DzcIC22IsUw5QWykQ&hl=en&sa=X&redir_esc=y#v=onepage&q=instrumentation%20android%20same%20process&f=false Mar 08 11:41:09 ty :) Mar 08 11:41:16 Just for that bit of information thoug Mar 08 11:41:34 sure Mar 08 11:41:57 "However, the rest application itself runs in a separate thread in the same process as the application under test" Mar 08 11:41:58 also i can't find much info about how instrumentation works under the hood Mar 08 11:42:10 i see.. Mar 08 11:43:54 so that would require source code of target app Mar 08 11:44:53 a better solution! Mar 08 11:45:24 You can provide a java/android library that defines a new application in the same package as the target application Mar 08 11:46:04 I'm pretty sure that's what's going on here: https://github.com/amitshekhariitbhu/Android-Debug-Database/blob/master/debug-db/src/main/AndroidManifest.xml Mar 08 11:46:43 hmm checking.. Mar 08 11:46:44 Albeit with a provider, but you get the idea Mar 08 11:48:08 Guys, i have my app done to release. But is it possible if i do EV Code signing and use it from my website (instead of getting married with Google Play app store), i want to only release it in Google app store when my app get popular and get some investment ? Mar 08 11:48:58 The reason is my app will have constant updates so my prefer way was my website in begin instead of app store for live Mar 08 11:49:37 Roughy: that's very interesting! let me dig into it Mar 08 11:50:34 IamTrying, you can host it on your own website but your users will need to turn on the setting to allow app installs from unknown sources Mar 08 11:50:49 makes more sense to put it on the play store Mar 08 11:52:26 Jabo: Excellent. Cause my app will be having constant code change modification and my users are in Twitter who will crash it and spam / stress test me. Therefore i wanted to avoid to put it in App store in day 1, instead make sure its well crash tested first via my site and then when i am confident bruce lee mode. then i put it in real world App store? Mar 08 11:54:43 ah yeah, that makes sense as if it keeps crashing they'll leave you bad reviews Mar 08 11:57:47 Jabo: absolutely. which is very bad for starter. instead of that i release all my nightly to the WebSite and appreciate there crash Mar 08 11:58:16 once all those are tested well and i am fully confident / happy with my release, then i finally go to Google real world App store. Mar 08 11:58:20 thank you Mar 08 11:58:24 very clear now. Mar 08 11:59:47 you might want to sign it with the same key Mar 08 12:00:37 It would have been nice of Google. If they really understand our situation of starters. And made an "Canary" play store. to have fully tested before moving to "Life" app store. so that the users get almost same release experience instead of putting BAD/Dirty remarks to let the starter project fail. Mar 08 12:00:46 OK - i have EV Code signing Ashiren Mar 08 12:01:13 can i use it ? its purchased from GlobalSign for my .exe (Windows), .pkg (for OSX) and iOS stufff. Mar 08 12:01:22 i am not sure if i can use it also for .apk ? Mar 08 12:01:40 i dont know what is it Mar 08 12:02:20 Ashiren: signing the executeable with your company/name details so that it does put a sign about you. "you are verified publisher" Mar 08 12:03:00 i bought recently 3 year EV code signing for all my .exe , .pkg, .dmg, .deb, .rpm 's Mar 08 12:03:08 sounds like general stuff Mar 08 12:03:24 OK - i will then put it on .apk files and put that file in main 'nightly' release Mar 08 12:03:39 for apk you sign with your own release key Mar 08 12:03:48 otherwise the system wont allow to install your app Mar 08 12:04:20 even for debug there is automatically generated debug key Mar 08 12:04:34 OK - i have to then read more about it. Mar 08 12:04:42 so its not EV code signing which i thoguht i can use Mar 08 12:10:14 Roughy: that still requires user to change their app manifest Mar 08 12:11:07 Negative. I'm using that library and all it takes is adding it to the list of gradle dependencies Mar 08 12:11:16 granted, I'm not 100% sure it works the way I think it does Mar 08 12:11:51 Roughy: okay. but that still means modifying and compiling the code Mar 08 12:12:00 is that right? Mar 08 12:12:56 Roughy: here's an alternative i've been working on.. using JDWP over ADB, put a breakpoint on the app. then when the breakpoint is hit, execute System.loadLibrary() and then resume the app Mar 08 12:13:41 although that doesn't require recompiling the code, it does have a little problem: where to put breakpoint Mar 08 12:13:49 every app is different Mar 08 12:13:50 ah, so even having the user add a code dependency is too much, we're talking injecting into a pre-installed app? Mar 08 12:14:28 Roughy: no. i think changing gradle deps is better than modifying the code Mar 08 12:14:43 but even better is to not modify code either Mar 08 12:14:52 as in no recompile Mar 08 12:15:30 with jdwp that may be possible but question is where do we set the breakpoint Mar 08 12:22:06 Does the target app not have to have debugging enabled for that to work? Mar 08 12:33:25 Can someone recommend a guide for styling? Docs are nice but some basics would be good for things like: existing support libraries, do i have to generate and ship material icons with my app myself?, explaining weight=1 with width=0, how to structure for nice animations etc Mar 08 12:36:01 or how layout positioning actually works (margins not moving in to each other, how to layer stuff on top of each other) Mar 08 12:36:14 i figured out most, but it was all a hustle :) Mar 08 12:40:54 If Android Studio can stop editing my constraint layout, that Mar 08 12:41:01 *that'd be great Mar 08 12:41:25 This weird thing keeps updating constraints and margins. Is there a way to stop this madness? Mar 08 12:44:13 Oh this f**king piece of s**t did it again. Why is it doing it? God! So irritating Mar 08 12:44:39 > Using constraint layout Mar 08 12:44:42 Well there's your problem Mar 08 12:45:10 It is good, works great, but this editor thing is stupid. Layout itself works great Mar 08 12:45:59 ConstraintLayout makes my brain hurt Mar 08 13:31:58 guys, i'm having a problem trying to install 32-bit libs for android studio on ubuntu Mar 08 13:32:04 You guys said GridView is no good. How would you build a more flexible 2 collumn layout? My items have variable height, but each row should stay aligned. like this: http://malea.lacerta.uberspace.de/up/838fc309-9c00-44a3-82b6-7dc45fa6e21a.png Mar 08 13:32:50 anotheryou, try recyclerview + a stagger grid layout manager Mar 08 13:32:50 I'd prefer if I did not have to wrap each row in a layout Mar 08 13:33:05 when i try to install, them apt-get (and aptitude) only allow it if i accept removing a bunch of packages i need (ubuntu-desktop, coreutils and a bunch of others) Mar 08 13:33:38 bpe, I do not want the staggered thing, I want to keep rows aligned Mar 08 13:33:55 anyone know the solution for this? Mar 08 13:34:46 Enthralled, haven't seen anything like that, I suspect you've got something misconfigured but I don't have a good guess as to what. Mar 08 13:35:10 yeah, i guess... someone already used this PC Mar 08 13:35:23 do you think a fresh ubuntu install would solve it dragorn ? Mar 08 13:35:27 if you tried to replace the desktop binaries that would happen; 32 and 64bit libs can completely coexist though Mar 08 13:35:34 pIt would be hard for a fresh install to be that fucked up Mar 08 13:35:35 Roughy: > Does the target app not have to have debugging enabled for that to work? Mar 08 13:35:37 yes Mar 08 13:35:39 aha Mar 08 13:35:45 anotheryou, doesn't just gridlayoutmanager do that for you? Mar 08 13:35:59 bpe, Zharf, my problem is the corner-case of the 2row name, which needs bo be accomodated for Mar 08 13:36:05 anotheryou, then s/stagger// Mar 08 13:36:07 yeah if doing a clean install is an option, throw 16.04 or 16.10 on there and have fun; otherwise I'm sure it's fixable but you'll hav eto do some digging Mar 08 13:36:17 yeah, ok Mar 08 13:36:20 thanks Mar 08 13:36:24 ...and use the _repo_ to install Android Studio Mar 08 13:36:35 ah, good idea Mar 08 13:36:37 Zharf, have to check that out, just used gridview without any manager (I'm still a noob :) ) Mar 08 13:36:40 is there an official repo? Mar 08 13:36:52 anotheryou, recyclerview + gridlayoutmanager Mar 08 13:37:22 Zharf, why recycler and not a normal linearlayout? Mar 08 13:37:32 anotheryou, because I assume you want a list of things Mar 08 13:37:34 just for Performance? or more ? Mar 08 13:37:37 No there is no official repo, however, if you actually Google for it, the third thing that comes up is https://paolorotolo.github.io/android-studio/ Mar 08 13:37:39 yes :) Mar 08 13:37:42 recyclerview then Mar 08 13:37:52 recyclerview is like listview but better Mar 08 13:37:56 Zharf, for performance? or layout? Mar 08 13:38:00 Both Mar 08 13:38:33 oh ok. if it was just performance I'd rather not refactor until it's somehow working, but if it changes layout I'll refactor right away :) thank you Zharf and Dagmar Mar 08 13:38:37 If you feed just 150 items to a ListView it will take a _noticeable_ amount of time for it to render Mar 08 13:38:46 This does not happen with a Recyclerview Mar 08 13:39:10 I guessed that part, yes (luckily not as long my lists) Mar 08 13:39:13 Being that RecyclerView has all the various parts abstracted out, it's also a lot easier to fix the layouts Mar 08 13:40:04 The only time you should be using ListViews anymore is if you are basically guaranteed to never have more than a screenful of stuff in it Mar 08 13:40:20 ok Mar 08 13:40:23 i.e., it's a short, simple list and nothing else Mar 08 13:40:50 I think you're thinking ScrollView? Mar 08 13:41:23 because it makes oh so much sense to use a scrollview with less than a screenful of anything Mar 08 13:41:44 I don't see any use for ListView at all with RecyclerView being a thing Mar 08 13:42:06 I've got a _very_ short term calendar function which will never have more than seven dates on it Mar 08 13:42:16 there's no point in expanding that beyond a ListView Mar 08 13:43:04 I don't see the point, recyclerview is just easier to use in all cases Mar 08 13:43:10 but whatever floats your boat :p Mar 08 13:43:12 Seven items Mar 08 13:43:20 The code would be substantially more complex than the list Mar 08 13:43:46 It would almost be more logical to simply populate seven TextViews in a LinearLayout Mar 08 13:44:06 well yes Mar 08 13:44:45 I don't see how recyclerview would be more complex than listview in that case in any case Mar 08 13:45:42 That's because you're too busy not actually acknowledging that the list in question is only a list because it's a sequence of seven fuckin' items Mar 08 13:45:51 RecyclerView also makes my scrollview obsolete, right? Mar 08 13:46:01 listview and recyclerview are the same thing Mar 08 13:46:04 anotheryou: Not obsolete so much as it already handles the scrolling Mar 08 13:46:10 just different implementations to provide a list for you Mar 08 13:46:45 Dagmar, ok, so I keep the wrapping scrollview Mar 08 13:46:45 Using unnecessarily complex code is one of the great coding sins Mar 08 13:46:56 anotheryou: No you just dont' need to with RecyclerView Mar 08 13:47:21 ah ok, that's what I though Mar 08 13:47:28 If it's longer than the display area, RecyclerView handles scrolling all by itself Mar 08 13:48:05 Dagmar, you're not making a good case though, you just insist on your view without providing any examples of why you think the way you do... like always Mar 08 13:48:27 I did provide an example. A very specific example. Seven damn times. Mar 08 13:48:35 Literally. Seven times. Mar 08 13:48:44 They're chronological. Mar 08 13:49:00 no you didn't, your explanation scenario can be implemented using a listview, recyclerview or a scrollview+linearlayout+textviews in equal amount of complexity Mar 08 13:49:07 There is nothing to be gained by escalating that into a RecyclerView Mar 08 13:49:13 Not one damn thing Mar 08 13:49:15 there's nothing to be lost either Mar 08 13:49:19 Yes, there is. Mar 08 13:49:21 like what Mar 08 13:49:24 1. The time it takes to type all that Mar 08 13:49:27 2. READABILITY Mar 08 13:49:44 3. All the extra stuff that comes along with RecyclerView that will never, ever trigger Mar 08 13:49:55 ...because it's a short freakin' list of TextViews and nothing more Mar 08 13:50:20 you need to provide an actual code example of what you're talking about, I don't see any meaningful difference in implementations Mar 08 13:50:30 The main reason I even bothered to use a ListView in the first place is because it's a _list_ Mar 08 13:50:35 No, I do not Mar 08 13:50:38 anotheryou, I think Dagmar mixed up ScrollViews and ListViews :) Mar 08 13:50:43 then don't argue Mar 08 13:50:54 anotheryou, or he's deliberately trying to misguide you :) Mar 08 13:50:58 if you're not prepared to defend your point, don't argue Mar 08 13:51:09 If you can't visualize seven timestamps in chronological order and figure out how to turn that into code without massive mental expenditure, you're not qualified to have this conversation Mar 08 13:51:09 >>> The only time you should be using ListViews anymore is if you are basically guaranteed to never have more than a screenful of stuff in it Mar 08 13:51:09 [14:40:20]. Mar 08 13:51:10 recyclerview is a also a *list* Mar 08 13:51:11 (not true) Mar 08 13:51:56 Dagmar, I can easily do that in a very simple way in any of the three methods, that's not an issue, I just don't see how you manage to make the recyclerview appear as if it's a huge waste of time when it's really much easier to use than listview Mar 08 13:52:44 Requiring multiple classes would be one screamingly obvious reason Mar 08 13:53:15 That a ListView can be populated with a simple for loop would be another Mar 08 13:53:36 Dagmar, why the hell are you talking about. Mar 08 13:53:38 you're using your listview incorrectly... Mar 08 13:53:46 And yet it works Mar 08 13:53:49 Semantics of RecyclerView and ListView are completely the same when it comes to data. Mar 08 14:08:35 Why can't I change the colour of the title text in android.support.v7.widget.Toolbar? Mar 08 14:08:48 I've tried using XML and doing it programmatically in onCreate, but the text stays white Mar 08 14:11:30 is there a ubuntu PPA for android studio? Mar 08 14:13:59 Redrield, you can do it in code using toolbar.setTitleTextAppearance or in xml by creating a style that has titleTextAppearance Mar 08 14:14:43 setTitleTextAppearance requires the TextAppearance style as well though Mar 08 14:15:53 Redrield, or you can use app:titleTextColor="@color/whatever" too :p Mar 08 14:16:11 assuming you're using the support library toolbar Mar 08 14:16:25 if not then replace app with android Mar 08 14:16:31 Zharf: That second thing is what I'm using at the moment Mar 08 14:16:40 I've tried app:titleTextColor and android:titleTextColor and they don't work Mar 08 14:17:41 https://guides.codepath.com/android/Using-the-App-Toolbar#using-toolbar-as-actionbar hmm... I haven't tried it myself ... yet :p Mar 08 14:24:22 what can I say... "works for me" Mar 08 14:24:34 pastebin your layout? Mar 08 14:49:11 https://gist.github.com/Redrield/2762a96b75145f105f9b8236bd80b209 Mar 08 14:55:05 hello everyone. i've just noticed today that "AVD Manager.exe" does nothing on my system. I've tried uninstalling android studio, cleaning up in the %username% folder,reinstalling and still it does not work. any clues? Mar 08 14:55:50 Dont' try to run it manually Mar 08 14:56:10 i can still get updates via android studio but it lacks the granular control Mar 08 14:56:17 Run it from the little icon in Android Studio, or read the docs Mar 08 14:56:35 well even in android studio, in the settings page of the sdk stuff, the link "launch standalone" is gone Mar 08 14:56:43 Melatonina: are you here? Mar 08 14:57:08 Dagmar: which little icon sorry? Mar 08 14:58:13 thepoosh: hi! Mar 08 14:58:52 what's up? Mar 08 15:00:15 thepoosh: learning spring boot security and how to use Auth0 in this context. How are you? :) Can I do something for you? Mar 08 15:01:14 cool, I played with firebase auth and with some ad SDKs Mar 08 15:01:26 Dagmar, with recycler view I can only show a list of simmilar items, right? I have a few headlines or deviders in between, how would I insert them? Mar 08 15:01:28 mchlsndrn: The one under Tools->Android->AVD Manager Mar 08 15:03:06 anotheryou: See also ItemDecoration. It's actually a thing. Much less hassle than manually keeping track of offsets Mar 08 15:03:17 You guys have any advice on migrating material design icons to in-house stuff? Our UI designer gave me 16px SVGs with no padding. Mar 08 15:03:54 You got SVGs tho, right? Mar 08 15:04:05 Dagmar, ah sorry, tried to simplify the problem. My deviders do contain dynamic images and texts :/ Mar 08 15:04:12 Like, _actual_ vector data and not some deranged PNG file wrapped in an SVG page? Mar 08 15:04:21 Yeah. Do you guys typically add your own padding per ImageView? Mar 08 15:04:27 Lol. Yeah it's an SVG. Mar 08 15:04:58 dsardari: what's the problem? You can scale the vector drawable and add padding in the container view Mar 08 15:05:15 ImageView, ImageButton, whatever it is Mar 08 15:05:17 Yeah I'm failing to see a problem here Mar 08 15:05:26 I don't put padding in my icons Mar 08 15:05:38 I usually get handed freaking JPGs someone made in Photoshop Mar 08 15:05:57 Not really a problem necessarily. Wondering what you guys did. So far I've used material design icons with the assumption that there was inherit padding. Mar 08 15:06:23 So I'll have to put padding on the views and scale like you guys said. Mar 08 15:06:36 Well, the design guidelines talk a bit vaguely about using a bounding box for the actual artwork so there's room for shadows Mar 08 15:07:05 Dagmar, ah, found something on stackoverflow about viewTypes Mar 08 15:07:12 Yeah, the content-area in here: https://material.io/guidelines/style/icons.html#icons-system-icons Mar 08 15:07:48 Dagmar: yes, like i said, that one works. but i wonder why the "launch standalone" option is now gone. i am on AS 2.3 Mar 08 15:08:00 Largely it seems like that's a clue you either pick up on the first time around, or you pick up on the second time around after you spend a few hours trimming 1px off the edge of 1,000 images or so Mar 08 15:08:37 mchlsndrn; Probably because it requires some arguments to be passed to it that you clicking on doesn't make happen. Mar 08 15:09:32 Someone? Mar 08 15:11:00 I didn't see your question Redrield. What's up? Mar 08 15:11:16 Btw, thanks for the feedback mel and dag Mar 08 15:12:32 I'm trying to change the colour of the title text on a Toolbar, but the text is remaining the same Mar 08 15:12:49 I've tried app:titleTextColor, android:titleTextColor, basically everything I can think of Mar 08 15:12:49 https://gist.github.com/Redrield/2762a96b75145f105f9b8236bd80b209 Mar 08 15:14:05 Dagmar: i don't understand what you mean. arguments passed to it? it used to work before. i just checked remotely with another workstation at work and there i am able to run it. it's on AS 2.2 and now i'm updating it to AS 2.3 Mar 08 15:14:32 It works just fine when you launch it from within AS Mar 08 15:15:20 dagmar: not sure if we are talking about the same thing. i am referring to the standalone sdk manager. not the settings page inside AS Mar 08 15:18:06 They probably removed it for being obsolete Mar 08 15:18:25 Click "Show Package Details" and you'll see essentially the same data, and there's still the command-line tool Mar 08 15:18:43 Melatonina: here is one for you: https://redd.it/5y7583 Mar 08 15:18:46 btw i just noticed something on the workstation with the standalone working: in the environment variables there's ANDROID_SDK_HOME which points to c:\android, which is a small folder containing a folder ".android" and 5 files: adb.exe, adbwinapi.dll, adbwinusbapi.dll, analytics.settings and fastboot.exe Mar 08 15:18:49 until you find something for me Mar 08 15:19:40 It's not an anomaly. Launching a standalone SDK manager from within the normal SDK manager wasn't an option with 2.3 when it was still Canary Mar 08 15:19:54 Dagmar: too bad, i liked it better than AS, which i use rarely because i build android apps using other tools, so i use mostly the sdk alone Mar 08 15:20:08 So use the CLI Mar 08 15:20:42 i don't like CLIs. selecting stuff from a list is faster. i'll stick with the settings page in AS then. too bad Mar 08 15:21:02 I've yet to find a time when it's been useful to manually select that stuff Mar 08 15:22:13 The options that get taken always seem to boil down to selecting the highest platform in stable, and then telling it "get the latest *arf!*" Mar 08 15:22:15 well by default the sdk manager used to download lots of stuff that i didn't need Mar 08 15:22:28 it was easy to spot exactly what and unflag it Mar 08 15:22:32 Now it does much less of that Mar 08 15:22:46 I haven't had to forcibly toss out Wear APIs and so forth in a while Mar 08 15:23:12 yea seems like the settings page works properly :D Mar 08 15:23:18 Not that I have a thing against them, but they're damned annoying when I am not coding anything for them and I have to wait for them to update anyway Mar 08 15:23:35 Redrield, could you attach the gahwhywontyoujustwork style definition as well? Mar 08 15:25:54 https://gist.github.com/Redrield/2762a96b75145f105f9b8236bd80b209 Mar 08 15:25:54 If all else fails, I've found a way to get around it Mar 08 15:25:57 same Mar 08 15:25:58 anybody has any experience with paintCode? Mar 08 15:25:59 Doesn't look as nice, cause I have to get rid of the toolbar, but it at least works Mar 08 15:27:16 Redrield, use android:textColor in the style Mar 08 15:27:49 trying to find a way to fix the bg color on the selected date using a custom style for the datepicker, http://imgur.com/a/sOHXv, anyone have an ideas? Mar 08 15:27:50 That doesn't even compile Mar 08 15:28:14 Fails with something about the attribute not being found in the parent Mar 08 15:28:14 Or something of the like Mar 08 15:28:22 also make the parent @style/TextAppearance.Widget.AppCompat.Toolbar.Title Mar 08 15:28:45 then it's pretty much identical to mine Mar 08 15:33:14 if that doesn't work then what's your application style inheriting? Mar 08 15:36:24 Getting an error when I try to load the app now https://gist.github.com/Redrield/c7682b1ee6e0246c180ab92bc20503e6 Mar 08 15:38:54 And still not working Mar 08 15:39:14 I'll just go to the ActionBar only design, I didn't really need this anyways Mar 08 15:40:29 well, if you want... I'll get off then Mar 08 15:41:16 Thanks for trying to help Mar 08 16:07:05 raoul11: hi hi hi Mar 08 16:12:17 thepoosh: I saw the reddit. :) Using gestures is so normal for me (I don't it that much, anyway) that I fail to see what's so strange. It's always useful to see yourself with somebody else's eye Mar 08 16:13:15 Melatonina: have you seen the family guy clip with the Italian cutting in line? Mar 08 16:13:20 that was amazing to me Mar 08 16:13:59 Melatonina: https://youtu.be/OZ94n9RTXhk Mar 08 16:15:26 yeah, I google it now Mar 08 16:15:31 :) Mar 08 16:16:09 http://www.hanen.org/Helpful-Info/Articles/The-Importance-of-Gestures.aspx Mar 08 16:19:16 http://www.huffingtonpost.com/vanessa-van-edwards/20-hand-gestures-you-shou_b_8034618.html Mar 08 16:25:29 we finns rarely, if ever, use hand gestures when talking Mar 08 16:25:51 I haven't seen anyone use any of those listed Mar 08 16:26:10 outside of videos done by non-finns Mar 08 16:26:52 Curious that the omit the universal turn signal Mar 08 16:30:41 Can I help android breaking a word at the correct position? It does "deve-loper" it shall do "devel-oper". (i hate doing german ui) Mar 08 16:31:14 for word-breaks on line-breaks Mar 08 16:32:44 oh, and putting the "-" at the end of the line would be helpful too Mar 08 16:32:44 hm Mar 08 16:34:14 It doesn't? Mar 08 16:34:35 Maybe this is a deutche language thing? Mar 08 16:41:46 anotheryou, the usual rule to break a word is between syllabus Mar 08 16:42:07 for what you want you probably have to handle it yourself manually Mar 08 16:42:32 you're already lucky it breaks correctly your work tbh.. Mar 08 16:42:35 word* Mar 08 16:42:39 dat lapsus Mar 08 16:43:42 Manually add a soft-hypen? Mar 08 16:43:48 hyphen even Mar 08 16:43:50 is onEditorAction reliable to detect key presses? Mar 08 16:43:51 Roughy, yes, possible? Mar 08 16:43:51 https://en.wikipedia.org/wiki/Soft_hyphen Mar 08 16:44:04 Assuming textviews respect them Mar 08 16:44:47 adq, "hinzufügen" became "hinzuf-ügen" sillables are "hin-zu-fü-gen" ... I now hardcoded hyphen and line-break Mar 08 16:44:54 trying to detect enter click on the emulator, keyboard works (but calls twice for some reason, ACTION_DOWN|ACTION_UP returns false for some reason), but emulator keyboard doesnt Mar 08 16:45:09 Roughy, given that it does not even place a hyyphen, I doubt it does soft hyphens nicely Mar 08 16:46:16 gesundheit Mar 08 16:48:18 seems to work here Mar 08 16:48:25 adds the hyphen and everything Mar 08 16:52:01 always displays the hyphen though, even when not borken Mar 08 16:52:41 https://code.google.com/p/android/issues/detail?id=25755 Mar 08 16:52:44 (ノ゚ー゚)ノ┻┻ Mar 08 16:55:42 Now I know everything about Finns: https://finland.fi/life-society/a-guide-to-finnish-customs-and-manners Mar 08 16:55:50 Almost Mar 08 16:57:08 Using a zero-width space works quite well, albeit with no visible hyphen Mar 08 17:04:29 torille Mar 08 17:33:26 vault 7 Mar 08 17:47:38 How do I add space just in between in a linear layout? Do I have to use marginRight=10 and than chop of -10 marginRight at the parent? Mar 08 17:50:31 What do you mean "just in between" ? Mar 08 17:51:33 Roughy, this http://malea.lacerta.uberspace.de/up/95aec1d8-0d52-44ab-8d75-437a0f0d5251.png Mar 08 17:52:11 but if I set marginRight on the children I get: http://malea.lacerta.uberspace.de/up/815198b3-323d-43e4-ade6-da396844905a.png Mar 08 17:54:15 linearlayout supports a divider Mar 08 17:54:26 Or just don't set margin on the last item Mar 08 17:54:40 yeah, but that sort of thing is annoying for programmatic layouts Mar 08 17:54:44 SimonVT, i insert items programatically Mar 08 17:54:51 case in point Mar 08 17:54:54 pfn, I'll check that out Mar 08 17:55:03 Annoying, sure, but doesn't stop you Mar 08 17:55:10 But yeah, divider is another option Mar 08 18:01:20 pfn, oh, divider has no space when I use weight on the children Mar 08 18:01:23 I assume Mar 08 18:01:33 it shows 1px wide maybe Mar 08 18:02:53 did you set the divider size? Mar 08 18:03:17 no, just padding Mar 08 18:04:02 padding should be sufficient, and show the given size Mar 08 18:04:21 what did you set as a divider Mar 08 18:04:31 it must be a drawable Mar 08 18:04:43 I used a color... Mar 08 18:04:44 i.e. create a transparent rectangle shape Mar 08 18:04:44 ok Mar 08 18:04:50 how silly, hehe Mar 08 18:06:53 I'm having a hard time adding Loadable Kernel Module support to my ROM. I enabled it as well as some modules, but whenever I try to load modules with insmod I get one of two errors, "bad address" and "unknown symbol". What can cause these errors? Mar 08 18:07:22 dougquaid: try #android-root or XDA. We’re app dev here Mar 08 18:07:50 Thanks Mar 08 18:10:58 basic question time. what is the preferred way to coninuously animate something on a (surface)View? Mar 08 18:12:06 How difficult is it to add a feature in and application that allows users to edit a video? For example, allow them to extract ~20 seconds out of a video. Mar 08 18:14:15 japro Look up ObjectAnimators and property animation. Mar 08 18:14:44 If you have to ask (i.e. you have no idea where to even start), it's probably pretty hard Mar 08 18:14:49 Can anyone help me with adding and removing a layout from an accessibility service? - http://stackoverflow.com/questions/42675668/how-do-i-add-and-remove-a-layout-programmatically-from-an-accessibility-service Mar 08 18:16:02 need a tablet to display front facing camera stream and have ability to record 3 sec clips with manual button press. would i need to develop native app or can I use web frontend languages? Mar 08 18:16:53 orbyt_, thanks, i'll have a look at that Mar 08 18:18:23 SimonVT I know it is possible, but the feature is not an absolute requirement, and am trying to determine whether the time cost will be worth it. Mar 08 18:29:38 Is it possible to animate tab text color when a tab is selected without causing the tabs animation to stutter? Mar 08 18:38:03 If you use an animation to change it it shoudln't stutter Mar 08 18:41:05 Does anyone know if there is a PPC/Power Architecture version of Android? I see for instance http://www.androidppc.com/ but looks like it was last updated in 2010. But there are some COM using NXP P4080 Power Architecture CPUs for instance which look interesting Mar 08 18:41:17 Dagmar: I'm using an argb value animator and it's most certainly stuttering. Is there another kind of animation that I have to use? Mar 08 18:47:06 Is this on the device or emulator? If device, which device? Mar 08 19:05:26 genii, officially, no. Mar 08 19:05:52 Mavrik: OK, thanks Mar 08 19:16:50 hi which part of SDK manager updates adb.exe? Mar 08 19:18:02 the same part of sdk manager that updates everything else Mar 08 19:18:47 My adb.exe is version 1.0.26. I can't get it to a newer version Mar 08 19:19:21 do you have need of a newer version? Mar 08 19:20:00 yes, my device always shows offline if I do adb devices Mar 08 19:20:22 tried killing server and revoking usb debugging and etc., all don't work Mar 08 19:21:50 Does adb.exe belong to 'SDK build tools', 'SDK platform tools', 'SDK tools' Mar 08 19:22:04 it’s one of the last two Mar 08 19:22:20 platform tools Mar 08 19:23:16 My platform tools is 25.0.3. SDK manager doesn't say there is new version Mar 08 19:23:55 yet there exists adb version 1.0.32 downloadable online Mar 08 19:24:42 then download it? Mar 08 19:25:53 It's available at xda developer site I don't know how official is it. And I don't know if I can just replace my existing adb.exe and not break anything else Mar 08 19:26:49 backup the existing one Mar 08 19:26:59 if it doesn’t work, revert Mar 08 19:28:52 Get something like dependecy walker ( sort of like ldd for Windows) and check adb.exe for shared libraries. If it doesn't have any, you can replace it without an issue Mar 08 19:30:21 wth - why is every version of ConstraintLayout broken out into a separate package in sdk manager ... unlike say, support lib or google repository, which just gets a bumped revision # Mar 08 19:30:47 i mean, why then isn't there a ConstraintLayout repo that just gets bumped rev #'s as they add artifacts Mar 08 19:31:34 panda81 i have 1.0.36 :P Mar 08 19:36:37 because google sucks at artifact management Mar 08 19:36:43 they still haven't fixed broken sha1 signatures Mar 08 19:37:03 g00s: actually I think I have some path issue or two adb.exe installed. If I'm inside of my sdk\platform-tools directory and type adb version, it does give me 1.0.36 Mar 08 19:40:08 google] $ find m2repository -name '*.sha1' | xargs -n 1 xxd | grep "da39 a3ee 5e6b 4b0d 3255 bfef 9560 1890" | wc -l Mar 08 19:40:12 1305 Mar 08 19:40:14 .... Mar 08 19:40:41 https://code.google.com/p/android/issues/detail?id=232567&sort=-modified&colspec=ID%20Type%20Status%20Owner%20Summary%20Stars%20Modified Mar 08 19:40:45 not even looked at by google... Mar 08 19:40:54 * danalber1 looks Mar 08 19:41:12 why is there an adb at c:\windows\adb.exe Mar 08 19:41:19 panda81, because you installed something bad Mar 08 19:42:23 only thing I can think of are device drivers Mar 08 19:42:27 of course, a lot of this blame is on gradle for not verifying sha1 signatures Mar 08 19:42:32 device drivers don't install adb.exe Mar 08 19:42:39 it just accepts md5 Mar 08 19:43:54 pfn: your bug is triaged now Mar 08 19:44:05 Feel free to bother me whenever stuff sits unnoticed Mar 08 19:44:10 danalber1, thanks Mar 08 19:44:20 b.android.com is like 90% spam, so sometimes things slip through the cracks Mar 08 19:44:23 the artifacts themselves are wrong Mar 08 19:45:00 i hope soon google puts support lib, play repo, constraintlayout, in online m2repo that doesn't have to be downloaded as packages Mar 08 19:45:03 rather, the .sha1 inside the zip files are wrong Mar 08 19:45:17 g00s, as soon as they stop requiring acceptance of the "android sdk license" Mar 08 19:50:57 pfn: Okay, thanks, wasn't sure. I sent it to our PM and she's tracking down the owners for it Mar 08 20:17:35 if i have a bullet object and a player object colliding, the bullet has isTrigger set and is using OnTriggerEntered(Collider collider) {...}, does the player being hit need to use OnTriggerEnter as well or OnColliderEnter? Mar 08 20:18:41 that's up to your design Mar 08 20:29:26 For the stuff on the asset store. Can you download it to third-party folders? Like if I find a pack or asset I like, can I save it to an external hard drive or a asset dump folder? So I have them all in one place for future projects. Or do you have to store them with the project only Mar 08 20:33:41 Uggg, is there any truely good way to handle data in Android x) It's somehow more awkward than dealing with data on a website... and yet it's all local :| (unless I'm missing something) Mar 08 20:34:08 handle *what* data Mar 08 20:34:33 data that comes from basically any network location. Mar 08 20:34:54 then it's not local.... Mar 08 20:34:56 oops mt. wrong channel Mar 08 20:35:16 Exerosis, retrofit Mar 08 20:37:06 What I mean is, the process of caching, persisting, and keeping data up to date. It's quite a pain. Mar 08 20:37:13 InfiniteWaves: I'll take a look :P Mar 08 20:37:29 Ah, so it's a LinkedIn for Ph-dweebs? https://arstechnica.com/business/2017/03/google-is-reportedly-buying-data-science-community-kaggle/ Mar 08 20:37:40 persisting and keeping up to date isn't much of a pain, depends on how you want to persist, though Mar 08 20:37:59 ph-dweeds hahahaha Mar 08 20:41:30 pfn: IK it's not THAT big of a deal, but it's messier then it should be due to the awful lifecycle approach. Mar 08 20:41:48 the lifecycle doesn't affect data persistence Mar 08 20:44:32 danalbert, ah, it's nice to see some action on it, thanks Mar 08 20:45:08 pfn: np, like I said, ping me if things fall through the cracks :) Mar 08 20:46:22 pfn: It affects caching quite a bit, and also makes it sort of a pain transferring data between activities and fragments. It's really all the reflection and lack of control that gets to me personally. Mar 08 20:47:26 there's plenty of control, use the right components to do the right work Mar 08 20:47:33 you aren't restricted to existing solely within the activity lifecycle Mar 08 20:49:10 pfn: IK, and I'm sure with more time it will all become more natural. However if you ask me it's a very messy framework, the fact that you have to avoid the activity lifecycle seems like a problem. Mar 08 20:49:21 not particularly Mar 08 20:49:24 you use the right thing for the right job Mar 08 20:49:33 you don't shoehorn everything into an activity lifecycle because it's there Mar 08 20:54:33 Even though that’s what every shred of sample code out there tells you to do Mar 08 20:54:53 It's useable, but it's still totally against everything java. Mar 08 20:55:56 so is a lot of Android Mar 08 20:56:06 Yea, most of it seems to be lol. Mar 08 20:56:46 I don't see why Google hasn't done something about it yet. Not like they lack the money or skill. Mar 08 20:57:20 eh, the lifecycle is fairly reasonable Mar 08 20:57:22 they’re kinda locked in at this point Mar 08 20:57:32 and given the goals of the api originally, it fits fairly well Mar 08 20:57:44 and remember, the skills people they have now are the ones that came up with this in the first place Mar 08 20:58:33 Why? They could release a new SDK but keep support for the old one for a while. Might even make android a competitive tool for IoT devices too. Mar 08 20:58:41 s73v3r: Oh right good point :| Mar 08 20:58:55 Exerosis: that is a crazy amount of work Mar 08 20:59:05 and your app wouldn’t run on anything that currently exists Mar 08 20:59:29 (It could, if the devices got updates… but we all know how that works out in Android land) Mar 08 21:00:11 I mean, i'm sure it would take a fairly long time to implement, but I feel like it would be in there best interests. Mar 08 21:01:17 and during that time, they don’t get to improve stock android, so it falls behind iOS Mar 08 21:01:37 Or at least make a variant of the current SDK that takes advantage of a more object oriented approach. Mar 08 21:01:48 not really possible Mar 08 21:02:26 :( RIP developers. Mar 08 21:03:15 the approach is object oriented, except there is no direct reference between activities Mar 08 21:03:38 there's no direct coupling between any android components Mar 08 21:03:41  pfn what approach? Mar 08 21:03:59 general android API Mar 08 21:04:16 ah Mar 08 21:04:59 pfn: Is there a reason for that? If you just directly coupled things you could handle basically everything with simple logic, avoiding the recreation of views and activities on configuration change and what not. Mar 08 21:05:22 Exerosis that's something the system has to control Mar 08 21:05:54 basically all these overridden methods are present because the real initialization is controlled by the system/framework Mar 08 21:06:01 Afzal: Why? We end up being the ones to tweak it anyway... Mar 08 21:06:20 battery management is one reason Mar 08 21:08:28 memory management was the huge reason Mar 08 21:08:35 ^^ true Mar 08 21:09:05 interesting, though, how Services are functionally different from Activities, they could've designed them to just be a headless Activity Mar 08 21:09:25 well, it's a headless context Mar 08 21:09:31 whereas an activity isn't a headless context Mar 08 21:09:33 it's still a context Mar 08 21:09:39 effectively same thing Mar 08 21:09:43 right but you can't start two instances of the same service, can you? Mar 08 21:09:49 Well why not just propagate such a signal up from a base app class to each subsequent controller requesting that they be destroyed/disabled. Mar 08 21:09:51 right Mar 08 21:09:52 you can start two instances of the same activity Mar 08 21:09:59 not side by side Mar 08 21:10:07 there's little reason to start up 2 instances of a service, though Mar 08 21:13:51 well yeah but it's interesting how that's designed Mar 08 21:14:20 there's little reason to start two instances of the same activity as well since one of them is gonna be out of focus anyway Mar 08 21:14:38 and no point in starting the same activity again for result to the other instance lol Mar 08 21:19:58 actually, there is Mar 08 21:20:01 Exerosis, it's a bit easier to understand if you remember that Android was designed for 500MHz ARMv5 with 192MB of RAM and that JVM was significantly slower back then :) Mar 08 21:20:09 because activities contain lots of internal member state Mar 08 21:20:18 if you use a single instance, you'll get clobbered hard Mar 08 21:20:58 even if it were pure in the framework, you know app developers will have a ton of state in an activity Mar 08 21:21:09 iOS people do that :P Mar 08 21:21:13 and that practically prevents using a single instance programmatically Mar 08 21:22:20 hmm Mar 08 21:24:07 IDK, I'm sure this is probably the best way. But it does have the potential to cause misery. I'm use to creating standalone java servers/apis so the messy clunkiness goes against everything IK. Mar 08 21:24:25 I wouldn't agree it's the best way... but it is what it is :) Mar 08 21:24:35 Java 6 didn't help with its limitations on composition Mar 08 21:25:31 Yea... honestly the whole thing reminds me of windows haha. Mar 08 21:28:11 So what's the C# of Android? Kotlin? Mar 08 21:28:15 :P Mar 08 21:28:26 Kinda Mar 08 21:28:28 actually nvm it's still the same interface Mar 08 21:28:46 Eh IDK that Android has a C# yet. Mar 08 21:29:05 Dart? :P Mar 08 21:29:21 it's a damn shame that Qt isn't open source anymore Mar 08 21:29:22 wtf Mar 08 21:30:35 C# of Android is C# via Xamarin Mar 08 21:30:40 ^ Mar 08 21:30:43 Kotlin of Android is Kotlin Mar 08 21:30:55 Swift of Android is... ? Mar 08 21:30:55 Melatonina haven't tried Xamarin yet Mar 08 21:31:03 Melatonina: Very true... Mar 08 21:31:08 and it looks like my first foray into Xamarin is gonna be desktop apps Mar 08 21:31:09 and Kotlin is more similar to F# than to C# Mar 08 21:32:08 kotlin is not more similar to f# Mar 08 21:32:37 anyone remember j# Mar 08 21:32:46 Exerosis, if you're used to java ee, android is pretty much par for the course Mar 08 21:33:00 pfn: why not? Mar 08 21:33:17 because kotlin is not a functional language Mar 08 21:34:25 pfn: Not really... Mar 08 21:34:32 f# is not a functional language either. It supports functional programming, just like Kotlin. C# supports functional programming too, btw. Mar 08 21:34:34 kotlin is similar to f# in that it has a very rudimentary pattern match Mar 08 21:34:42 J#? How about ADA or Pascal? :p Mar 08 21:34:46 that's about where the similarities end Mar 08 21:35:03 Exerosis, absolutely, components in java ee are completely segregated, except from a central lookup provider Mar 08 21:35:12 heh "memberberries" Mar 08 21:37:39 pfn: Yea but it's still not as bad x) You still don't have things disappearing and reappearing as they do in Android. Mar 08 21:38:07 sure you do, beans can go down and up and you could potentially lose access to them Mar 08 21:38:39 you're also comparing a server architecture to GUI framework Mar 08 21:38:51 Fair enough... well I guess it really comes down to liking whatever you use most... Mar 08 21:39:02 That's true x) Mar 08 21:39:21 the programming model will be drastically different regardless of how similar you'd try to make it Mar 08 21:39:49 stuff like GWT tried to make it a single programming model, it doesn't really work Mar 08 21:43:13 Yea I guess I basically just need to get good, and maybe less picky while I'm at it. Mar 08 21:44:05 Eventually I'm sure I'll find a data loading strategy that I like as well. Mar 08 21:47:24 what's relatively painful is the lack of good abstractions for sqlite on android Mar 08 21:47:33 but there are workable alternatives Mar 08 21:49:30 I've never really liked SQL based anything TBH... Mar 08 21:50:34 ugh, google store support is like a robot or indian or something... Mar 08 21:51:15 either we're chatting with a bot, or it's an outsourced chatcenter... Mar 08 21:51:22 feels terrible either way Mar 08 21:52:27 I gave up on reporting google play services bugs Mar 08 21:52:37 because there's just no place to do it Mar 08 21:52:38 wtf Mar 08 21:55:20 or bugs for any of Google apps Mar 08 21:55:25 it's just /dev/null :P Mar 08 21:56:34 lol Mar 08 21:57:05 I reported it in the AOSP tracker, go redirected to the Google Play support forums, posted it there and go redirected to another place Mar 08 21:57:08 gave up Mar 08 21:58:19 NDK project at least has GitHub bug tracker where they answer :P Mar 08 21:58:34 hey guys, can anyone help me with a layout related question? I would like to know if the solution presented on this accepted on the next stackoverflow question is still the best option? http://stackoverflow.com/questions/37437161/dealing-with-recyclerview-nestedscrollview-and-cardview Mar 08 21:58:55 because it feels like creating 2 viewholders a overkill to this issue Mar 08 21:59:06 but I can't find a solution Mar 08 22:02:59 nothing wrong with creating 2 viewholders Mar 08 22:02:59 ndk plugin is also open source :D isn't it? Mar 08 22:03:03 creating classes is cheap Mar 08 22:04:52 it seems like a simple thing to do and using an entry for a recycler view seems too much for it Mar 08 22:04:57 but ok, thanks =) Mar 08 22:09:32 pfn: callcenter/chatcenters are often outsourced Mar 08 22:12:29 you don't talk to Google, they talk to you!... heh, it seems today's pace is so rapid that software support is no longer a problem... ignore it and it depreciates as obsolete immediately vs fix it Mar 08 22:14:17 i also gave up submitting issue tickets :( Mar 08 22:14:32 Yes. That's why people used to use book to learn how to program something, then centralized web documentation and now StackOverflow. Even programming languages and platforms are trash. Mar 08 22:14:44 look like we should ping mr. albert everytime we submit issues, since he's hanging out here now Mar 08 22:16:05 who is mr. albert Mar 08 22:16:07 dan Mar 08 22:16:15 but i would not like that if i were him lol Mar 08 22:17:05 well, it looks like he's our irc devrel Mar 08 22:17:09 Eh. As long as it keeps you folks happy Mar 08 22:17:12 which is refreshing Mar 08 22:17:17 :D Mar 08 22:17:26 yeah, been a while since a google dev showed up here Mar 08 22:17:28 just don't abuse him Mar 08 22:17:39 There are a couple others lurking here, but I won't out them ;) Mar 08 22:17:39 last time they were here, I was still using mIRC on Windows I think Mar 08 22:17:53 I'm sure they are, but they aren't active Mar 08 22:17:56 or at least semi-active Mar 08 22:18:20 wasn't this channel started by AOSP devs? Mar 08 22:18:45 i was alone for monthes if not years on #renderscript with one of their team member Mar 08 22:18:51 but "he's gone now" Mar 08 22:19:04 lol romainguy used to hang out here too Mar 08 22:19:05 I remember now Mar 08 22:19:15 yeah, in the android french channel too Mar 08 22:19:24 a handful used to Mar 08 22:19:30 he left irc then it seems Mar 08 22:19:30 mhm Mar 08 22:19:34 the good ol days Mar 08 22:19:38 maybe they're all idle in their slack community Mar 08 22:19:43 (i remember a leak few monthes ago) Mar 08 22:19:43 maybe there's a secret slack thing now Mar 08 22:19:44 yeah Mar 08 22:19:49 leak?? Mar 08 22:19:51 whoa Mar 08 22:19:57 yeah Mar 08 22:20:10 what kinda leak? Mar 08 22:20:21 information released a bit earlier Mar 08 22:20:25 ah Mar 08 22:20:26 i don't even remember about what it was exactly Mar 08 22:21:01 also depending on the field/community, it's pretty easy to reach them Mar 08 22:21:12 for example, ian lake is pretty active on android wear community (in G+) Mar 08 22:22:19 100% dodge ling is so annoying Mar 08 22:22:21 oops Mar 08 22:22:23 i'm sure if you detail an interesting performance troubleshouting enough (and decently), colt mc anlis would jump too Mar 08 22:22:28 etc Mar 08 22:22:34 G+ Mar 08 22:22:42 man, I wish G+ had a better less cluttered interface Mar 08 22:22:47 I would use it if it did Mar 08 22:22:48 it's.. obnoxious Mar 08 22:23:01 i only use it because i don't use facebook and twitter i think lol Mar 08 22:23:19 3 panes does NOT make it easy to traverse through the stream Mar 08 22:23:33 that's not the only issue unfortunately Mar 08 22:25:47 Hi everyone, I am currently trying to compile an android project including an external C++ library (libIrrlicht to be clear). The library was built using the ndk-build, but once compiled, if I add it to the gradle of my project, I get the following error: Mar 08 22:26:39 skipping incompatible /libIrrlicht.a when searching for -lIrrlicht Mar 08 22:26:49 you need the .so files Mar 08 22:26:51 cannot find -lIrrlicht Mar 08 22:26:59 JNI links via shared objects not static libs Mar 08 22:26:59 Probably only have libs for some ABIs Mar 08 22:27:09 dragorn: only the static library is built… Mar 08 22:27:14 (afaik anyhow) Mar 08 22:27:17 Static libs are fine Mar 08 22:27:26 OK good :) Mar 08 22:27:32 danalbert, really? I've never seen it do anything but dlopen to load .so files Mar 08 22:27:40 indeed, I probably linked it only for armeabi Mar 08 22:27:41 Can't call them from JNI, no, but this is about linking them into a .so Mar 08 22:28:25 Well, I assume if he's trying to use it from an android app he needs .so :P but yes, I suppose if he was then making a .so for JNI integrating an external .a that would work Mar 08 22:28:33 what does `file' against your .a return you as architecture? Mar 08 22:28:41 might be a wrong mix Mar 08 22:28:54 danalbert: in fact, I don’t know how to build the project for multiple architectures Mar 08 22:29:03 Irrlicht, or your project? Mar 08 22:29:10 sorry, not the project, Irrlicht Mar 08 22:29:24 there is a very short android.mk Mar 08 22:29:35 Got a link to the project? Mar 08 22:29:43 doesn’t even specify the armeabi compilator Mar 08 22:29:49 danalbert: sure, juste a minute Mar 08 22:30:39 danalbert: project here => https://sourceforge.net/p/irrlicht/code/HEAD/tree/branches/ogl-es/ but I’ll give you the .mk directly Mar 08 22:31:06 danalbert: build files here https://sourceforge.net/p/irrlicht/code/HEAD/tree/branches/ogl-es/source/Irrlicht/Android/jni/ Mar 08 22:32:43 long hours = ...; if (hours > 0) { if (hours < 1) ... } // wtf Mar 08 22:33:20 do sensors turn off when you unregisterListener? Or does the system only unsubscribe your app from the sensor data? Mar 08 22:33:20 if hours == 0 :') Mar 08 22:33:33 oops Mar 08 22:33:35 or is it like an cold observer pattern? Mar 08 22:33:37 a** Mar 08 22:33:47 is there an example somewhere of an app that reads a bluetooth stream and does something with that data? Mar 08 22:34:04 Enthralled lots, using BLE or spp? Mar 08 22:34:33 Afzal, spp Mar 08 22:35:05 Enthralled https://github.com/akexorcist/Android-BluetoothSPPLibrary/blob/master/library/src/main/java/app/akexorcist/bluetotohspp/library/BluetoothService.java Mar 08 22:35:20 thanks Afzal Mar 08 22:35:42 yeah, np, it's a library so you could use it too but I've linked to the service in the code that handles the connection Mar 08 22:35:59 Anyone know of any good key value store libraries? The biggest requirement is that they have a getAll method. I love Hawk but it lacks that method. Mar 08 22:36:27 mhm Mar 08 22:36:37 how much key-value data are you storing? sharedpreferences is fine for small-ish datasets Mar 08 22:37:57 This falls under the smallish category. Mar 08 22:38:32 The library is honestly just so I don't have to think about serializing it. Mar 08 22:39:03 danalbert: I’m sad, even when keeping only the android.productFlavor for armeabi, the library keeps being incompatible Mar 08 22:40:33 guite: that project doesn't build for me Mar 08 22:40:58 danalbert: compilation error with size_t ? Mar 08 22:41:07 just a little diff needed Mar 08 22:41:20 (I need to tell them) Mar 08 22:41:20 allocating an object of abstract class type 'irr::io::CAndroidAssetReader' Mar 08 22:41:49 danalbert: yes Mar 08 22:42:01 line 36 of CAndroidAssetReader.h Mar 08 22:42:15 put s32 instead of size_t as return type Mar 08 22:42:32 then correct CAndroidAssetReader.cpp for this function Mar 08 22:42:43 line 39 in the cpp Mar 08 22:42:53 I think maybe this port isn't the most reliable choice :) Mar 08 22:42:56 write s32 instead of size_t Mar 08 22:43:20 danalbert: no it works, they have a demo sample I run on my phone Mar 08 22:43:42 but when it comes to use irrlicht in an Android studio project… it fails :'( Mar 08 22:44:45 You tried setting abiFilter to armeabi? Mar 08 22:44:56 hmmmm… where ? Mar 08 22:44:59 in Irrlicht ? Mar 08 22:45:13 In your gradle file Mar 08 22:45:39 http://stackoverflow.com/q/32487192/632035 Mar 08 22:46:27 danalbert: this is in my build.gradle https://bpaste.net/show/c7f0f9be69f5 Mar 08 22:47:54 Yeah, try removing the 64-bit ones. Irrlicht still doesn't build successfully for 64-bit with the changes you made Mar 08 22:49:40 danalbert: OK I think this was the missing stuff Mar 08 22:49:52 I got another error now but not the skipping library Mar 08 22:51:21 cannot find symbol mGLView.setPreserveEGLContextOnPause(true) Mar 08 22:52:05 danalbert: if you have any idea right now it’s good, but if you don’t, never mind :) Mar 08 22:52:14 danalbert: thanks, I think this was the problem Mar 08 22:53:09 np Mar 08 22:53:28 and project compiled \o/ Mar 08 22:53:33 thank you so much :) Mar 08 22:53:53 danalbert: do you know if there is a way for compiling Irrlicht for other platforms ? Mar 08 22:54:07 Nope Mar 08 22:54:37 OK thanks anyway :) Mar 08 23:06:49 Do you guys use Fabric for crash tracking? Mar 08 23:13:09 I do Mar 08 23:34:09 Does Android provide something out of the box for me to know when the searchview action view is up? I want to swap in a search result fragment when the user clicks search Mar 08 23:34:43 My hunch is I’m going to have to set up a view lifecycle listener and respond to it being attached to the window Mar 08 23:58:44 Assume I have 4 Views, 2 have onTouchListeners and the other 2 have code to handle the drop. While one onTouch is busy, the other view doesn't handle the touch, how can I implement this? Mar 09 00:00:28 so you want to be able to drag both views? Mar 09 00:00:56 I think he wants to disable dragging both views Mar 09 00:02:35 s73v3r: yes, while the user is dragging one view, he/she should be able to drag the other view Mar 09 00:09:05 you’d have to post your code, but if I remember right, once one view has claimed the onTouch event, another view can’t take it Mar 09 00:09:25 so in that case, you might have to bump your onTouch handler to the containing view Mar 09 00:09:59 s73v3r: connection dropped, if you answered, didn't get the answer :/ Mar 09 00:10:13 s73v3r: you’d have to post your code, but if I remember right, once one view has claimed the onTouch event, another view can’t take it Mar 09 00:10:14 [4:09pm] s73v3r: so in that case, you might have to bump your onTouch handler to the containing view Mar 09 00:11:20 gimme a few moments Mar 09 00:26:56 @ClydeSlims you cant override the onBackPressed() function Mar 09 00:27:02 you can* Mar 09 00:28:00 public void onBackPressed() { Mar 09 00:28:00 if (false) super.onBackPressed(); Mar 09 00:28:00 } Mar 09 00:42:28 s73v3r: sorry took some time, here is the code: https://github.com/s0ullight/MultiTouch Mar 09 00:42:57 wow. i didn’t need the whole project ;p Mar 09 00:43:02 can you point to the file in question? Mar 09 00:43:15 don't worry, it's a test app Mar 09 00:43:22 there is a single activity :P Mar 09 00:45:56 i’m pretty sure you cannot have two views respond to the same event Mar 09 00:46:18 so what you’re going to need to do is enclose those views in another view Mar 09 00:46:36 have that view respond to the event, and look at the pointers to determine where to move what Mar 09 00:46:54 https://developer.android.com/training/gestures/multi.html Mar 09 00:47:11 seems rather counterintuitive Mar 09 00:47:14 but alright Mar 09 00:47:18 another approach Mar 09 00:47:22 i don’t know if it’ll work Mar 09 00:47:51 extract the drag listener out to it’s own class, and give the same listener to both buttons Mar 09 00:48:23 you’d have to do the same thing with the pointers in the Event that you’ll have to do in the approach I suggested above Mar 09 00:49:52 what about this: inside the onTouch method on button 1, set another onTouchlistener for button 2? Mar 09 00:50:32 Hey guys, I got the async task to work well. Now I need to run the task every x mins but the documentation says that async tasks can only run once. How do I achive this? Mar 09 00:51:04 I am currently triggering it onCreate with new TestAsync().execute(); Mar 09 00:51:04 s0ullight: I don’t like that approach. Cause you’ll have to do the same thing for button 2 on button 1 Mar 09 00:51:18 lankanmon: you can set a timeout in onPostExecute() to call the task again in x seconds Mar 09 00:51:20 and it requires buttons to screw with the state of other buttons Mar 09 00:52:56 lankanmon: lookup postDelayed() Mar 09 00:53:49 s73v3r: care to elaborate? Mar 09 00:53:55 no Mar 09 00:54:11 ok :D Mar 09 00:54:35 r0ute: Alright ill look into it... Mar 09 00:58:50 r0ute: So do i put something like handler.postDelayed(this, 1000*60*30); within my onPostExecute()? Mar 09 00:59:25 lankanmon: check your PM's **** ENDING LOGGING AT Thu Mar 09 03:00:02 2017