**** BEGIN LOGGING AT Sun Jun 12 02:59:58 2016 Jun 12 03:05:37 https://en.wikipedia.org/wiki/Levenshtein_distance More my speed. :/ Jun 12 03:06:03 Imagine being an actual computer scientist. Haha Jun 12 03:06:09 Turing et al Jun 12 03:09:42 i prefer Hamming distance Jun 12 03:11:39 * g00s prefers bacon distance Jun 12 03:15:30 Ymmmm, bacon Jun 12 03:18:27 I was thinking of releasing a semi-useful tool. It creates CRC16 lists of groups of bytes in a file. Say, every chunk of 1024 bytes. You then have a file that is mostly the same, but is a patched "ROM image" (or bitmap [actual image] or whatever). You create a sort of histogram, and then depending on which file has the most similar set of checksums, you 'vote' on the likely original Jun 12 03:18:27 ROM image. Jun 12 03:18:44 A general purpose tool though. Jun 12 03:19:01 Just the most useful if you're trying to identify patched games. Jun 12 03:19:36 I could see other less controversal uses for it. Jun 12 03:20:51 (Apply this algorithm to pixels in a PNG file to find least-edited versions) Jun 12 03:21:51 Hmm, watch it already be patented XD Jun 12 03:22:39 I guess everyone who read that description is a suspected infringer then in future projects. ;) Jun 12 03:22:52 Yeah, joking. Jun 12 04:29:55 http://www.vartmp.com/blog/2016/06/11 Jun 12 05:54:59 Ologn lol, who wrote that ? Jun 12 05:55:22 g00s, me Jun 12 05:55:31 ha ! Jun 12 05:55:50 docs are a disgrace Jun 12 05:56:12 I mean, five sections down the example they give is deprecated Jun 12 05:56:25 I bet if I investigated I'd find an example higher up Jun 12 05:56:45 use public void onAttach(Context context) Jun 12 05:56:58 Yaa, I did that...that was an easy one Jun 12 05:59:45 For tabs I had some ancient thing I was using LocalActivityManager on Jun 12 06:00:00 lol yeah old Jun 12 06:00:02 Then it said do it with ActionBar. But then that was deprecated too. Jun 12 06:00:21 So then it said do it another way. But there are lots of deprecations all over that as well. Jun 12 06:00:38 And if you use FragmentPagerAdapter, it sets its own tag Jun 12 06:00:56 which is "android:switcher:" + viewPagerId + ":" + index according to internal code...bleh Jun 12 06:01:20 yeah, i know what you mean - thats a pos too Jun 12 06:01:37 i think that page you mentioned also talks about the split action bar haha :D Jun 12 06:04:26 I mean the thing is, it works with LocalActivityManager. So the only reason to change it is to do it right. But how the hell do you do it right, when everything is deprecated. Even if the tab part is right, it necessitates fragments and pagers and junk and those are deprecated and broken. Bleh. Jun 12 06:04:46 these clowns at google , keep giving presentations about 'meaningful motion', material blah blah - i'm like dude, just update your docs. i don't want to see how you did it - because it should be obvious from there. still waiting for grown ups to manage that thing Jun 12 06:05:00 It's not that it will be impossible for me to do Jun 12 06:05:27 Ologn check out the cheese square app on github, there is a pager in there Jun 12 06:05:27 It's just a hell of a hassle just to use something simple like tabs properly...and a lot of things are like that Jun 12 06:05:41 well at least not they gave us tabs ! Jun 12 06:05:52 for a while they were deprecated but there was nothing in the support lib Jun 12 06:06:02 you had to copy and paste some crap from a sample app on their website Jun 12 06:06:11 s/not/now Jun 12 06:07:50 I posted it to /r/androiddev. Someone said "They're getting beginners used to deprecated code early." Jun 12 06:07:58 haha Jun 12 06:12:37 I want to populate ListView with data from my database. I know that it's better to do it from another thread using (for example) AsyncTask. There is a method "doInBackground" in AsyncTask where i must start working with database and where i must finish working with database, right? So, if i cannot pass Cursor out of that method, should i put retrieved data in a buffer first (String array) and then pass that buffer further? Jun 12 06:57:44 oddalot: if you ask me testing is worth it even for one man. how else would you know if you broke something with a change? Jun 12 06:58:02 you'd have to notice it all by yourself. vs having a team of people who are dedicated to noticing when things break Jun 12 06:58:32 I wish I'd have espresso tests.. Jun 12 06:58:43 yeah Jun 12 06:58:45 looking forward to new recorder in android studio Jun 12 06:58:55 when my app gets to the point where I can add tests I'll add them Jun 12 06:59:03 I've got kind of a rolling spec here lol Jun 12 06:59:20 it's always rolling spec my friend Jun 12 06:59:22 it's so early on that nothing is really finished, but I'm just trying to crack out one feature at a time Jun 12 06:59:33 still stuck on the first one Jun 12 06:59:34 haha Jun 12 07:00:13 I make a multiple iterations over it though and tidy up ui and sloppy code it's nice... I do have some unit tests in there too Jun 12 07:00:22 for the more complicated moving parts Jun 12 07:00:37 mvp ? Jun 12 07:01:01 I have mvp in mind I really just want like 2-3 features to be *mostly* working and to look really polished Jun 12 07:01:14 after that it's feature iteration Jun 12 07:01:45 so it's "I <3 MainActivity" pattern ;) Jun 12 07:04:59 what I mean by mostly working is that I've already cut a few "must haves" and demoted them to "nice to haves" until I can figure out some technical issues Jun 12 07:05:30 I've got a few activities already Jun 12 07:05:56 the main part of the app for v1 will probably be like 2-3 activities Jun 12 07:06:33 maybe 4 if you include the about screen Jun 12 07:07:51 grekkos: what kind of app are you making? Jun 12 07:08:33 I'm working on an app geared towards studying japanese Jun 12 07:08:59 wakarimashita :-) Jun 12 07:09:06 yeah Jun 12 07:09:16 I'll let you know if I ever get to release it Jun 12 07:09:24 it's like my weekend project so I only put a few hours in every week Jun 12 07:09:29 gambare ne Jun 12 07:11:14 azassu ;D Jun 12 07:19:50 does anyone know how to detect when the keyboard is being shown? or when it gets dismissed Jun 12 07:39:49 I should not work with Cursor in onPostExecute()? Jun 12 07:40:15 only in doInBackground()? Jun 12 07:47:53 Call something like Cursor#getCount in doInBackground, then you can work with it in onPostExecute Jun 12 07:51:12 SimonVT, ?? Jun 12 08:33:44 hi guys Jun 12 08:33:55 I have a small question. Jun 12 08:34:25 how small is it? Jun 12 08:34:39 Let's assume that a class has an Interface as member variable(like even handlers.) Jun 12 08:34:53 Now I want to make this class parelable. Jun 12 08:35:07 now I should handle these memeber interfaces Jun 12 08:35:08 ? Jun 12 08:35:20 can I handle them at all? Jun 12 08:36:35 any idea? Jun 12 08:41:29 there is a function "writeStrongInterface()", which I guess it may do what I need. but I don't know how I should get this interface back. Jun 12 08:55:02 hello? :) Jun 12 10:41:46 my activty is leaking because of static refernce of an object so is it good practice to null that static object ondestroy Jun 12 11:13:13 hi Jun 12 11:13:59 The thing is that I want to make a playlist. you press on a item it slides to left and a new playlist come back. if you press on return the old playlist show comeback Jun 12 11:47:03 is it possible to port the RenderWare engine to android? Jun 12 12:17:28 Possible? Yes. Probable? No. Jun 12 12:25:37 Hey all:) Jun 12 12:30:26 Hey all:) Jun 12 12:33:00 hey there spudowiar Jun 12 12:33:15 hey there perlsyntax Jun 12 12:43:23 spudowiar,Well i try to find some good plugin for for photoshop cc for android.But i hope it save me money doing it on my own.:) Jun 12 12:44:59 spudoiar,How are you? Jun 12 12:45:08 spudowiar Jun 12 12:46:21 Good thanks Jun 12 12:46:24 You? Jun 12 12:47:35 spudowiar,Well i good but alot to learn with photoshop and waiting for my photoshop book to come in.:) Jun 12 12:47:47 :) Jun 12 12:48:07 spudowiar,There more work then i thought with android. Jun 12 12:48:13 :) Jun 12 15:44:07 Can someone explain to me the difference between Firebase and Google Appengine? Jun 12 15:50:26 appengine is a general purpose Web hosting Jun 12 15:51:26 I'm having trouble getting the android databindings to be generated... I followed the steps on the developer site, but they must be lacking some crucial step. Anybody think they can help me? Jun 12 15:51:38 fireball is specific purpose backend services Jun 12 15:51:43 firebase Jun 12 16:04:40 pfn: Firebase is specific for mobile app backends? Jun 12 16:26:15 for some Web as well Jun 12 16:26:20 pfn: can I use Firebase to write a web app? a server backend for multiplayer? Jun 12 16:26:56 it's not a general purpose backend Jun 12 16:27:04 read the docs to see what it can do Jun 12 16:30:15 anyone has experienced with native code compile flags? i'm looking at a library that's using -mfloat-abi=softfp and i'm wondering if i could get a significant speed benefit by switching to -mfloat-abi=hard Jun 12 16:30:44 is softfp generating software floating point arithmetics or just generated software calling convention and then the linker converts it to calls to the fpu Jun 12 16:31:18 DrBenway, it's just the calling convention and hardfp support waas just dropped completely from NDK Jun 12 16:31:40 that would be why android studio is throwing me some weird errors Jun 12 16:31:47 DrBenway, https://android.googlesource.com/platform/ndk.git/+/master/docs/HardFloatAbi.md Jun 12 16:32:13 thanks Jun 12 16:32:18 that totally answered my question Jun 12 16:32:35 I remember there being some bugs from using hardfp Jun 12 16:33:11 the name just makes it sounds like i'm getting software floating point which would be horrible for performance (i remmeber back int he days when arm chips didn't have a fpu) Jun 12 16:33:11 I think it was also mentioned in the NDK in an art world IO session Jun 12 16:33:38 DrBenway, yeah it's a horrible name :/ Jun 12 16:35:16 pfn: so writing a multiplayer backend (simple one) is not doable with firebase? Jun 12 16:40:12 Hey im following this simple tutorial --> " https://examples.javacodegeeks.com/android/core/hardware/camera-hardware/android-camera-example/ " . But for some reason my initialize(); gives the following error -> " error: cannot find symbol initialize(); " Jun 12 16:41:34 Is there any real danger in closing AS while gradle is running aside from potentially having to rebuild the project again? http://i.imgur.com/CwiODd6.png Jun 12 16:42:20 sd512: I have done it tons of times Jun 12 16:43:00 cart_man, ok thanks Jun 12 16:46:12 hello, i cant seem to understand this error message: Error: Activity class {com.kaina.silentadmin/com.kaina.silentadmin.MainActivity} does not exist. Jun 12 16:46:23 activity is present in androidmanifest Jun 12 16:49:39 Hey im following this simple tutorial --> " https://examples.javacodegeeks.com/android/core/hardware/camera-hardware/android-camera-example/ " . But for some reason my initialize(); gives the following error -> " error: cannot find symbol initialize(); " Jun 12 16:53:13 cart_man: Then you don't have a method called initialize Jun 12 16:53:31 SimonVT: Yes but does it not come standard with onCreate() ? Jun 12 16:53:33 michael33: Check that both package and name matches your class Jun 12 16:53:46 Uh, what? No? Jun 12 16:53:57 d.android.com can tell you framework methods Jun 12 16:54:01 Everything else you need to create Jun 12 17:01:51 SimonVT: where? Jun 12 17:02:23 In your activity Jun 12 17:02:53 this? package com.kaina.silentadmin; Jun 12 17:05:47 Yep, like that Jun 12 17:06:31 i had that Jun 12 17:06:40 starting to think theres something wrong with my androidmanifest Jun 12 17:07:39 if someone could take a peek for me -> http://pastebin.com/ymCz63WN Jun 12 17:09:10 is there anyone here that can help me install android on a virtual environment? Jun 12 17:09:26 I am really having different issues on different attempts Jun 12 17:09:43 I have not yet successfully installed it and started the gui Jun 12 17:10:33 ToAruShiroiNeko, just https://developer.android.com/studio/run/managing-avds.html & https://developer.android.com/studio/run/emulator.html or try genymotion or other vm Jun 12 17:11:07 I am trying to install it on a qnap nas Jun 12 17:11:10 or hyper v Jun 12 17:11:48 I used geny before, its great but this is for use in longer durations to see endurance of stuff Jun 12 17:12:05 https://github.com/eliseomartelli/Cancello so this app has just one button, is it possible to hack it so it has more,..like just copy-paste functionality...sam functionality multiplied :)...Like I know nothing about android developement so far sadly...just trying to ask if its doable with copying snippet/example code inside? :) Could someone be willing to help Jun 12 17:12:12 I want to run it and forget about it for a while Jun 12 17:13:45 I am using http://www.android-x86.org/download isos, is this wrong? Jun 12 17:15:11 So I have MainActivity.java which launches a foreground service and ForegroundService.java which is said fg service. How can I make it so a click on the fg service notification bar will bring the MainActivity.java to the front? Jun 12 17:16:36 Or if I have a timer running in the Foreground Service, how can I periodically check that MainActivity.java is running, and if not, launch it? Thanks! Jun 12 17:17:49 ToAruShiroiNeko, sorry this is an app developer channel, hyper-v is problematic with HAXM Jun 12 17:17:57 so avd won't work with hyper-v, atm Jun 12 17:18:18 you can try with visual studio emulator of MS Jun 12 17:18:29 they require hyper-v Jun 12 17:19:58 and recently they added inception to hyper-v, so you can run something requiring hyper-v inside a vm supporting hyper-v Jun 12 17:20:41 http://www.alteridem.net/2014/08/19/using-android-x86-as-an-emulator-in-hyper-v-for-windows/ <- is this a lie? Jun 12 17:21:18 I dont see a "sda1 Linux Virtual Disk" I see a "sda1 unknown Virtual Disk" Jun 12 17:23:40 this is an app developer channel Jun 12 17:24:28 i've run successfully android visual studio emulator for app developement purposes many times without any trouble Jun 12 17:24:38 your article is like 2 years old Jun 12 17:26:55 still nothing on my problem Jun 12 17:27:01 error 3 activity does not exist Jun 12 17:27:22 Your manifest looks fine, michael33 Jun 12 17:29:10 michael33, android.software.device_admin << isnt it because you need to allow in device administration your app to run Jun 12 17:29:20 (in the settings of your device) Jun 12 17:29:35 if it's not allowed, it will prevent your app to run iirc Jun 12 17:30:19 usually, you have a unique prompt when you install it, but if you dismiss it you have to remember to go there to enable it Jun 12 17:30:31 (which is very cumbersome for regular users) Jun 12 17:32:14 IS this still true: http://www-cs-students.stanford.edu/~silver/gae.html ? google appengine bashing Jun 12 17:32:52 I don't recall getting a prompt to enable device admin on install Jun 12 17:33:34 The system prompts the user to enable the device admin application. How and when this happens depends on how the application is implemented. Jun 12 17:33:39 ^ https://developer.android.com/guide/topics/admin/device-admin.html Jun 12 17:34:11 maybe they changed, it was a year ago and before i used it Jun 12 17:34:23 would not be suprised that the documentation is not up to date if it's the case Jun 12 17:57:31 heres what happens: open up project -> Run -> app crashes on phone -> Run -> Cant find MainActivity class Jun 12 17:57:57 activity does not exist Jun 12 17:58:22 Maybe show us the mainfest file michael33 Jun 12 18:00:56 here it is -> http://pastebin.com/ymCz63WN Jun 12 18:06:23 http://stackoverflow.com/questions/37777253/backend-choice-for-mobile-app Jun 12 18:06:32 please comment if you have ideas ^^ Jun 12 18:09:05 hi, in https://developer.android.com/studio/index.html, it says the requirement is "JDK 8". but it doesn't say whether I should use oracle jdk 8 or openjdk 8. which one should I use? I heard google switched from oracle to openjdk in news. thanks a lot. Jun 12 18:12:43 dfdf: I don't think you can expect any sort of good answer to that question on SO. It might even get closed for being too broad. Jun 12 18:13:49 Thorbear: OK, it is worth a try. Is there a better place to ask? Jun 12 18:15:54 Well, there are forums (I don't know any though) and there is IRC, like here. Otherwise I don't really know, I just know that questions like that often end up without answers, or closed, on SO. Jun 12 18:26:07 Especially when they're utterly misguided -_- Jun 12 18:26:15 But we had that debate already here : Jun 12 18:52:32 I am new to android development. I want to ask when we access data from api. Is their any sequence of steps I can follow Jun 12 18:52:53 check out retrofit Jun 12 18:53:06 retrofit? Jun 12 18:53:12 the library Jun 12 18:53:44 without library? Jun 12 18:54:04 Why without library? Jun 12 18:54:16 its tricky Jun 12 18:54:32 I was following udacity course Jun 12 18:54:53 they way they do it its out of my level I guess Jun 12 18:54:58 as I cant understand it fully Jun 12 18:55:10 How do they do it there Jun 12 18:55:11 I always miss some steps Jun 12 18:55:35 first they made me add http request Jun 12 18:55:43 and the internet permission etc Jun 12 18:55:52 could be HttpURLConnection or something Jun 12 18:56:02 yes httpurlconnection Jun 12 18:56:32 can you tell me how to fetch and parse data from api? Jun 12 18:56:43 http://api.themoviedb.org/3/movie/top_rated?api_key=efabdfbcb0d2e31fd4af751728b4fe5e Jun 12 18:56:49 like from here Jun 12 18:56:59 damn mitake Jun 12 18:57:02 mistake* Jun 12 18:58:16 without libraries then the url connection from reading from http and jsonreader for parsing jsons Jun 12 18:58:22 I want to fetch poster_path from here Jun 12 18:58:52 libraries make it much easier? Jun 12 18:59:03 can you give me an example? Jun 12 18:59:19 well retrofit would do 2 of those things - read from http and parse json into POJO object Jun 12 18:59:58 or a 'crude' way would be to use regular expression to extract poster_path Jun 12 19:00:17 no I want to avoid regular expression for now Jun 12 19:01:23 Ashiren: can you roll back a transaction if an error is thrown? Jun 12 19:01:26 I know you can in pp Jun 12 19:01:32 php* Not sure if you can with sqlite Jun 12 19:01:58 Ohh, maybe you just never setTransactionSuccessful Jun 12 19:02:43 i dont use sqlite that muhc Jun 12 19:02:51 No problem Jun 12 19:29:12 is it possible to clear the location that fused location API is providing. this is to test a scenario when API is unable to provide any location Jun 12 19:31:22 I have an android library in which a line of code is marked by Android Studio as "Missing permission required by BluetoothLeScanner.startScan [..]" even though I have declared BLUETOOTH, BLUETOOTH_ADMIN and ACCESS_COARSE_LOCATION permsissions in my app's manifest and the library's manifest. It compiles without errors. Any idea how to get rid of this AS error? Jun 12 19:34:41 never mind, turns out I've put them in the wrong place of the manifest Jun 12 19:35:05 why is it you always find the answer just after the point when you ask people for help even though you've been stuck on it for ages... Jun 12 19:52:42 afternoon all Jun 12 20:35:11 hey guys, so I have an idea for an app and I know C++ and Java. But I really don't like java. Is there a way to program an android app in C++ and still use android libraries for notifications? Jun 12 20:38:12 NDK Jun 12 20:40:25 can I make the entire app in C++? Jun 12 20:44:07 well i heard you can at least most of it Jun 12 20:44:14 but never really dug into it Jun 12 20:44:36 ij Jun 12 20:44:38 *ok Jun 12 20:44:56 Ill try it out Jun 12 20:50:01 you can write java entirely from c++ Jun 12 20:50:04 jni Jun 12 20:57:26 I hope things get better with cpp in AS 2.2 Jun 12 20:57:33 lol Jun 12 20:58:16 Why do you need to provide ions for achievements? Jun 12 20:58:37 barq, been playing with it, looks hopeless : Jun 12 20:58:39 :P Jun 12 20:58:45 I just want the achievements inside the game, are the leader boards for a game public on the web if you use GPGS? Jun 12 21:00:01 I use Eclipse for it S: Jun 12 21:00:41 I did an experiment with the experimental plugin in AS, that went ok Jun 12 21:00:51 building is not the issue Jun 12 21:01:07 editor support is..... let's stop here. Jun 12 21:01:28 Editor support is good. Jun 12 21:01:48 Bunch of bugs at configuring the project though which CLion doesn't have. Jun 12 21:02:00 oO you must be the lucky one Jun 12 21:02:34 Our main project doesn't work with any of the three ways of building NDK :P Jun 12 21:06:39 no ndk build? Jun 12 21:07:44 Cmake passes in toolchain file that doesn't support libc++ and cannot be overriden. Jun 12 21:08:13 ndk-build builds the project on a single core (which is fun when building it on 8-cores takes 10 minutes) and then doesn't import includes into editor properly. Jun 12 21:08:20 Really? Libc works with ndk build Jun 12 21:08:37 Experimental plugin is experimental and can't be referenced from stable plugins. Jun 12 21:08:58 (At least not 2 months ago when I last tried.) Jun 12 21:09:23 barq, yes, really. They shipped an old obsolete one and it's hardcoded. Jun 12 21:09:32 Yeah, ndk build takes a long time but works Jun 12 21:09:35 So even our custom toolchain file properly setting it can't be used. Jun 12 21:09:52 How big database can you do something like "for all users get the highest score and return the 10 highest scores" ? Jun 12 21:10:11 And: "rank all users by score and return this players position"? Jun 12 21:10:18 Any Jun 12 21:10:26 would 100000 or 1 million users be a problem with memory or time? Jun 12 21:10:42 What's the complexity of your query? Jun 12 21:10:47 not sure. Jun 12 21:11:01 i store for each users a few scores Jun 12 21:11:17 it is a puzzle game, so highest nbr puzzle solved. opponents beat and lost Jun 12 21:11:25 puzzles solved of certain categories Jun 12 21:11:57 then for example: "rank all users and get this users rank" and then maybe X players do that simultaenously Jun 12 21:12:33 seems pretty simple to implement, maybe using GPGS is just unnecessary and lockin? Jun 12 21:12:35 Mavrik: what do you mean by: "they ship"? Who ships? CSV they not ship something less deprecated? Jun 12 21:12:49 Google. Jun 12 21:13:02 See $ANDROID_SDK/cmake/android.toolchain.cmake file. Jun 12 21:13:16 It's the same one as from the android-cmake repo which is out of date for several years. Jun 12 21:13:56 Is this just libcpp or libc too? Jun 12 21:14:13 I said libc++. Jun 12 21:14:28 You don't have to explicitly link libc :) Jun 12 21:14:31 I know you did hence my question Jun 12 21:15:29 So you can't debug your native code? Jun 12 21:16:22 Not with AS, no. Jun 12 21:16:44 Eclipse? Jun 12 21:17:29 Doesn't matter I guess if your don't debug on the device Jun 12 21:17:46 Debugging on the device is slow for c Jun 12 21:23:09 Eclipse is just not an option :D Jun 12 21:24:44 How do you do it? Jun 12 21:26:12 replace binary with wrapper script? Jun 12 21:27:56 Just attach lldb from console :) Jun 12 21:28:12 Or write a gtest test and run it on the desktop with CLion/XCode Jun 12 21:38:39 Yeah, gdb via cmd Jun 12 21:39:42 Does GPGS mean lockin? Jun 12 21:40:03 it seems so and it is not providing things that are hard to do... Jun 12 21:41:08 but without appengine or gpgs you dont have notifications right? Jun 12 21:41:19 then your app needs to poll your server instead? Jun 12 21:42:57 Your question make no sense in context. Jun 12 21:50:16 Mavrik: for example, you make a request in your app for playing a multiplayer game. You'd want the server to notify you when it is available rather than having to poll for it. Those kind of notifications are available via GCM (google cloud messaging) only right? Jun 12 21:50:35 GCM is only availeable via google servies right? Jun 12 21:50:37 On new Androids yes. Jun 12 21:51:09 is polling a server a terrible option (battery)? Jun 12 21:51:10 There are fallback implementations but they have issues with Doze features usually. Jun 12 21:51:15 Yes, yes it is. Jun 12 21:51:18 Doze? Jun 12 21:51:27 So I must use GCM? Jun 12 21:57:26 hi all. I've somehow become infected with malware on my galaxy 10. Every time I go to http://wikipedia.org/ in firefox, something is redirecting me to either a "http://park.above.com/" site or a 'http://click.adimmix.com/' site. I'd *really* like to figure out what/how it's doing this. however, backing up/extracting the firefox app only shows these files listed at the bottom of this pastebin which actually reference thes Jun 12 21:57:55 I ask here because I thought android followed a sandboxed model Jun 12 22:07:28 Mavrik, you can't do ndk-build -j 8? Jun 12 22:07:44 Mavrik, iirc, all non recognized options are passed to make Jun 12 22:19:06 jbwiv_, this is a developer app channel, it's not with so little info that you can figure out, your infection could come from compromised apk you side-loaded to compromised site you visited to etc... Jun 12 22:30:25 are the built in emulators better then genymotino now? Jun 12 22:30:29 i still havent used them Jun 12 22:52:28 why would my app crash on an avd but be fine on a device and genymotion?? Jun 12 22:52:41 it crashes with a dexpathlist error citing a ndk component Jun 12 22:52:53 is there an issue with avds and the ndk? Jun 12 22:53:47 orbyt_, are the architectures all the same? Jun 12 22:54:20 fairly certain...let me try a different avd Jun 12 22:56:49 Well if Application.mk APP_ABI is set to all temporarily and still doesn't work, that dispels that as the problem Jun 12 23:06:49 hmm Jun 12 23:06:53 ran fine on x86 Jun 12 23:07:02 N5 marshmellow Jun 12 23:07:17 gonna retry _64x Jun 12 23:07:59 and crashes on x86_64 Jun 12 23:08:01 wtf Jun 12 23:08:05 how weird Jun 12 23:15:42 is there something like cmd-e (recent files) but only showing open files ? (in Intellij) Jun 12 23:18:48 i have a long chain of rx calls doing a variety of things on first launch. When this chain completes, I want a way to basically announce that the loading is done to anyone using this library. Whats a good way to do this Jun 12 23:21:01 and this doesn't work for me https://www.jetbrains.com/help/idea/2016.1/navigating-between-files-and-tool-windows.html Jun 12 23:21:09 keeping ctrl pressed, arrow keys don't work Jun 12 23:49:52 guys ever hour or so i want to check if a network is available and then fire off a post request if needed. I would assume alarm manager would be the go to for this correct? Jun 12 23:51:07 Jobscheduler Jun 12 23:51:15 but i'm not sure if you get network Jun 12 23:53:20 orbyt_ here is good overview http://www.xda-developers.com/how-android-n-will-improve-battery-and-memory-management/ Jun 12 23:53:30 yes, xda ;) Jun 13 00:16:51 It would be cool if you could make it so that a method could only be called from a certain class Jun 13 00:18:07 For a singleton, call the create method only from the Application class, and instance everywhere else Jun 13 00:21:04 no, the called shouldn't know about the caller Jun 13 00:21:19 but it can if you want Jun 13 00:22:03 with getStackTrace and getClassName Jun 13 00:23:15 drose379 you could try to narrow the scope using packages Jun 13 00:23:46 put the singleton and the application class in the same pkg, have create package scoped Jun 13 00:25:21 Interesting idea g00s Jun 13 02:24:43 can anyone help me figure out why my app has 2 icons in the app drawer instead of just one? they both have the same caption Jun 13 02:32:13 you have two launchable activities in your manifest? Jun 13 02:33:45 or 2 different packages Jun 13 02:35:17 I don't have 2 launchables I don't think -- like I don't see the repetition in there, what do you mean by 2 packages? Jun 13 02:35:20 in the manifest itself? Jun 13 02:36:04 https://gist.github.com/hk0i/bbf10aa06499640e99c5f1494652f5d9 Jun 13 02:36:15 grekkos try "adb shell pm list packages | grep mything" Jun 13 02:37:09 g00s: just one package comes up Jun 13 02:37:19 it's the one i'd expect to see Jun 13 02:37:41 i'm wondering if it has to do with the search activity Jun 13 02:50:18 I start a SecondActivity from the MainActivity, and the started one invoke setContentView(new SecondLayout(this)); In the SecondLayout I have click events for two buttons. When i click on the save button the SecondActivity should close and app return to MainActivity. Instead the whole app closes. Jun 13 02:50:40 In the SecondLayout class I use an inflater, does it has to do with that? Jun 13 02:51:11 In other places in the app I create activities similarly and finish from them works. **** ENDING LOGGING AT Mon Jun 13 02:59:58 2016