**** BEGIN LOGGING AT Mon Sep 05 02:59:59 2016 Sep 05 03:01:51 :) Sep 05 03:10:56 Arancio: btw it reminded me of a game produced during Ludum Dare events Sep 05 03:11:23 you probably never played it, if you want to give it a go, it's named "Reap" Sep 05 03:17:01 bluk: I can see why it reminded you of that game. I guess the style is different enough. I'll work some more on it. Thanks again. You are very kind Sep 05 03:31:56 so has anyone started using rxjava 2 ? Sep 05 03:36:21 i wonder if this forthcoming oreilly rxjava book is 1.x or 2.x Sep 05 03:52:28 g00s: ask Tomasz Nurkiewicz or Ben Christensen "Tomasz can be reached on Twitter @tnurkiewicz and on his blog at www.nurkiewicz.com." Sep 05 04:25:15 i love those macbook heating problems <3 Sep 05 04:30:17 gordon_: why do you love them? Sep 05 04:31:01 google: sarcasm Sep 05 04:34:05 I don't need to google sarcasm Sep 05 04:34:31 yeah, it fianlly compiled :D Sep 05 04:34:32 15 mintues Sep 05 04:35:04 if you have a mac you can make a hackintosh yea? Sep 05 04:35:18 ummm Sep 05 04:35:25 it doesnt make sense Sep 05 04:35:40 I mean.. hackintosh is OSX on normal PC Sep 05 04:35:54 yep so for compiles you can run it on fast hw Sep 05 04:36:22 myke: this is the fastest macbook available now :P Sep 05 04:36:28 with 16gb of memory Sep 05 04:36:30 but probably not fastest pc Sep 05 04:36:47 well... normally it works fine Sep 05 04:37:03 but when I work at my room without air conditioner Sep 05 04:37:19 it's probably too thin, so heating problems are expected Sep 05 04:37:26 so macbooks are sarcastic when they heat? Sep 05 04:37:26 not sure what all the remote compile options are, MOE has one but i haven't used it Sep 05 04:37:50 it says 54 degrees but I think it drops frequency Sep 05 04:37:53 macs have had heating problems since the original mac Sep 05 04:38:01 bad design Sep 05 04:38:05 Arancio: eh... I'm sarcastic about my love towards macbooks ;) Sep 05 04:38:06 tradeoff Sep 05 04:38:13 form over function Sep 05 04:38:20 myke: I know Sep 05 04:38:34 wish they would give me thinkpad instead of macbook at work Sep 05 04:39:34 i have both a pc ultrabook and a macbook air now Sep 05 04:39:36 :-) Sep 05 04:39:37 both have their benefits Sep 05 04:39:43 and neither is best Sep 05 04:39:56 although the macbook is way better for normal laptop use Sep 05 04:40:39 How do you know what's the latest verstion of a library that you can use? Sep 05 04:41:00 which version of com.android.support:recyclerview should I use, for example? Sep 05 04:41:00 Arancio: you mean in the sdk dir? Sep 05 04:41:09 i had that same question earlier Sep 05 04:41:40 so far all i know how to do is look at the version in the pom filename itself Sep 05 04:42:34 don't library get downloaded from a repository by gradle? Sep 05 04:42:38 libraries Sep 05 04:42:45 it does Sep 05 04:42:49 but it's downloaded to folder Sep 05 04:42:58 except the support library wants you to get it thru the sdk Sep 05 04:43:00 I mean, for android deps from google (i.e. sdk manager) Sep 05 04:43:13 at least with the gradle setup i'm using Sep 05 04:44:12 I think I must finally read all those chapter about Gradle that I skipped in the Android books that I read Sep 05 04:44:17 chapters Sep 05 04:44:40 for example my support-utils is 24.2.0 but the sdk manager says "36" Sep 05 04:45:22 what? Sep 05 04:46:53 gordon_: I read few books about Android development but I skipped all Gradle chapter because I'm easily bored Sep 05 04:47:02 gordon_: I guess it's time to read them Sep 05 04:47:18 I was taking about '36' number ;) Sep 05 04:49:17 in the graphical sdk manager, for android support repositor (and all the extras) there's no API value and just "rev" Sep 05 04:50:58 myke: the versions in are in the m2 repos Sep 05 04:51:35 myke: check /extras/android/m2repository Sep 05 04:51:59 but how does the rev in the sdk manager map to those? Sep 05 04:52:31 rev is the revision of the distribution it has nothing to do with those.. those versions are of the packages in the m2 repo Sep 05 04:52:35 check the folder Sep 05 04:58:37 I'm following a RecyclerView tutorial. This one: http://www.androidhive.info/2016/01/android-working-with-recycler-view/ Sep 05 04:59:10 When I start the application the view looks ok. But when I scroll the list, all item expand so that each one fills the whole screen Sep 05 04:59:19 What is happening? Sep 05 04:59:51 Arancio: your layout you inflate has match_parent height :P Sep 05 05:00:27 Napalm: yeah, I thought of that 1 second after writing the message. Sep 05 05:00:29 oic, there's a build for each api you have installed, and separately some of them also have versions Sep 05 05:01:08 Napalm: yes, that fix solved the problem. Thanks Sep 05 05:12:28 People publishing tutorials containing wrong code on the interwebz... Why? Sep 05 05:12:48 is there a good way to disable swiping on a viewpager? Sep 05 05:13:57 drinfernoo: http://stackoverflow.com/questions/9650265/how-do-disable-paging-by-swiping-with-finger-in-viewpager-but-still-be-able-to-s Sep 05 05:16:27 problem with that link is that it doesnt allow child views to get touch input :( Sep 05 05:17:51 actually, i may have figured it out lol Sep 05 05:49:06 Any way to get around the 'Screen overlay detected' message that you get when say, a facebook messenger chat head is on the screen Sep 05 05:49:15 but you want to request permission to use the GPS in your app. Sep 05 05:52:03 how do I give a native executable permissions to open the framebuffer? (I'm running it as root, it dies with E/FramebufferNativeWindow( 1835): couldn't open framebuffer HAL (Operation not permitted)) Sep 05 05:52:53 and, does surfaceflinger have sole rights over the framebuffer? Sep 05 05:53:09 I think you'll break a lot of stuff if you try to make direct writes to the FB. Sep 05 05:53:16 Just like with xorg. Sep 05 05:53:37 It will either not work or cause surfaceflinger to crash / corrupt in some way. Sep 05 05:55:19 Most likely what will happen is SF will just immediately draw over whatever changes you've made. Sep 05 05:55:25 my application crashes w/ selectConfigForNativeWindow() failing, and ^^ coming up in the logs Sep 05 05:55:46 I'm not accessing the fb directly from the application... Sep 05 05:56:13 (ie during egl config setup) Sep 05 05:58:15 I wonder what happens if you send SIGSTOP to the surfaceflinger process. :-) Sep 05 06:00:40 it restarts iirc Sep 05 06:00:43 there's a watchdog Sep 05 06:00:48 jjuran__: it keeps running Sep 05 06:01:02 yeah you prolly need to send it a SIGKILL Sep 05 06:01:10 SIGSTOP doesn't kill it Sep 05 06:01:25 w/ SIGKILL it resurrects Sep 05 06:01:30 yeah Sep 05 06:01:35 because of aformentioned watchdog Sep 05 06:01:57 I'll probably have to disable something from the init.rc to make it go away Sep 05 06:02:06 when systemui glitches out i do "su; ps | grep temui; kill " Sep 05 06:05:16 who have the experience of handle csrf Sep 05 06:08:02 hello.. i'm not sure if this is an android studio issue or what but i get really strange behavior sometimes - right now for instance everything using `findViewById(R.id....)` is returning null, even though i have called `setContentView` and the IDs exist in my XML file Sep 05 06:08:20 is something messed up in the build process and i need to clean / rebuild or....? Sep 05 06:10:43 greves: Have you enabled hot reload? Sep 05 06:10:51 "instant run" I think they call it. Sep 05 06:11:19 there is a little lightning bolt icon on the run or debug icon when i run it Sep 05 06:11:28 and when the lightning bolt shows i think it does a hot swap Sep 05 06:33:11 now its trying to cast my NestedScrollView to Toolbar, when the R.id is clearly correct for both the Toolbar and the NestedScrollView Sep 05 06:33:16 how do i prevent this kind of thing? Sep 05 06:37:56 tx: okay, without sf running too, my application cannot access the fb (or pick an egl config)... Sep 05 06:38:40 I'm thinking it's some permissions flag I need to trigger somewhere Sep 05 06:40:12 translating my wallpaper app now... Sep 05 06:45:57 it makes development extreeeeeemely difficult when i dont know whether my code is wrong or it just didn't get reloaded... Sep 05 06:46:38 i am just testing now, so for example i have a textview with text="Foo", but when i changed it to text="Bar", the app is still showing me "Foo" even after a clean & rebuild Sep 05 07:10:39 any idea how to resolve /bin/bash: arm-linux-androidkernel-strip: command not found. I'm trying to compile nougat Sep 05 07:12:19 #android-root Sep 05 07:15:16 Has anyone had issues with really blurry canvases on webviews before? Sep 05 07:15:33 Trying to show a custom map library (JS) in a WebView and it's super super blurry Sep 05 07:15:41 is it a hardware acceleration thing? a scaling issue? Sep 05 07:15:48 I've tried with hardware layers on and off. Sep 05 07:26:57 Nope, not an acceleration thing Sep 05 07:27:01 convince it's some sort of scaling issue now. Sep 05 07:40:04 I have a byte array. I make changes to it in one thread. The other thread is running a while loop and reading from this variable continuously - it takes Sep 05 07:40:19 1-2 seconds before the change is registered in the other thread. Sep 05 07:40:44 why does this happen and any ideas about how to pass a change faster between threads? Sep 05 07:42:23 volatile Sep 05 07:43:01 also changing/reading shared variable without synchronization and whatnot in both threads sounds flawed by design Sep 05 07:44:21 ashiren: thx for answering. what do you mean by volatile? Sep 05 07:46:01 actually im not sure how volatile exactly works Sep 05 07:46:11 its keyword like static, private or final Sep 05 07:46:23 i.e. public static volatile variable Sep 05 07:46:55 afaik it should tell threads immediately the variable changed Sep 05 07:47:03 so thread wont cache it locally Sep 05 07:47:29 ashiren: cool, will search for that Sep 05 07:47:43 ashiren lol - "It's probably fair to say that on the whole, the volatile keyword in Java is poorly documented, poorly understood, and rarely used. To make matters worse, its formal definition actually changed as of Java 5." Sep 05 07:47:55 gnyrfta: https://shipilev.net/blog/2016/close-encounters-of-jmm-kind/ Sep 05 07:49:14 myke: thx! scary article Sep 05 07:49:47 hi everyone Sep 05 07:49:59 has anyone used signalr ? Sep 05 07:50:02 gnyrfta: the most stressful thing i've read all year, i had to stop several times Sep 05 07:50:19 but it does a great job explaining in detail how all that works and the one right way to do it Sep 05 07:50:26 myke: haha : ) Sep 05 07:50:27 i am having issue with connection except with wifi Sep 05 07:50:41 like 3g or etc. Sep 05 07:50:52 ok, that does sounds like a good paper to get through though.. Sep 05 07:50:57 gnyrfta: i'd check if what you're doing is one of the pitfalls or wishful thinking entries Sep 05 07:51:10 JMM is not intuitive, it's not how C works Sep 05 07:51:45 ok, thanks, needed a place to start, so thats great. Sep 05 07:57:15 'nother day, 'nother Java-induced torture Sep 05 07:57:39 (: Sep 05 07:58:12 raoul11: hey Sep 05 07:58:21 hi buddy Sep 05 07:58:30 hows goes? Sep 05 07:59:10 raoul11: managed to get on the 4th row on the store if you search "history culture quiz" :D Sep 05 08:00:20 that usually depends on your location Sep 05 08:00:28 raoul11: damn, it's the 11th row Sep 05 08:00:34 lol Sep 05 08:00:44 Remembered that it's lower than that Sep 05 08:00:48 it was Sep 05 08:01:43 ull get there Sep 05 08:02:24 Well, absolutely no marketing done, so it's no wonder Sep 05 08:02:49 Need to polish it Sep 05 08:11:20 How do I get an instance of the main_activity.xml View that I am setting in my Activity with setContentView(R.layout.main_activity)? Sep 05 08:12:07 Is the easiest thing to give it an id in XML and findViewById()? It should just seem simpler if setContentView() returned the id. Sep 05 08:12:20 no, I mean returned the View. Sep 05 08:14:59 A simple getContentView() would have been equally helpful. Sep 05 08:16:22 Zta77, you can give setContentView a View though Sep 05 08:17:34 Ah, so I can inflate it myself. That's too tricky isn't it? I don't have a parent to give the inflater so I will most likely mess something up? Sep 05 08:18:00 findViewById(android.R.id.content) returns a FrameLayout, presumably what's wrapping my own ContentView. Sep 05 08:18:54 Zharf: Ah, the docs state that it should be simple. I'll try it, thanks =) Sep 05 08:27:29 Zharf: Thanks, that appears to work =) Sep 05 08:28:03 :) Sep 05 08:28:22 hello Sep 05 08:28:29 I've overridden setContentView(int layoutResId) in my BaseActivity so that is does contentView = getLayoutInflator().inflate(layoutResId, null); setContentView(contentView); } =) Sep 05 08:29:14 im trying to get this demo from the android development page to work in android studio, how do i go about? https://developer.android.com/training/basics/activity-lifecycle/starting.html Sep 05 08:43:07 huh Sep 05 08:46:29 i'm making a turnbasedgame where, when it's my turn, i'd like to display some continuous animations on the playing field. Currently i have a custom View, and animating it is pretty slowish. When it's not my turn, i dont want to animate anything. What if I were to use a SurfaceView, would it be constantly updating the view (unnecessarily)? Thinking about battery impact here Sep 05 09:06:18 I;m new in android and Android Studio IDE Sep 05 09:06:40 how can I see the documentation of a class from android studio? Sep 05 09:09:28 I' getting this error: java.lang.IllegalStateException: Derived class did not call super.onSaveInstanceState() Sep 05 09:09:56 but the stacktrace doesn't point to my code. how am I suppose to understand which classes throw the exception? Sep 05 09:12:42 find all onSaveInstanceState overrides and see which one doesn't have a super call Sep 05 09:14:32 you mean of my custom views? Sep 05 09:22:43 so your custom view overrides onSaveInstanceState and doesnt call super? Sep 05 09:25:15 Guys how do I disable the autocorrect feature from one of the layouts? what is the XML option? Sep 05 09:25:49 xcolors: Ctrl + B when your cursor is over the class you wish to inspect Sep 05 09:28:47 thank Zharf Ashiren :) Sep 05 09:33:24 hello can someone help me get this demo to run in android studio, how do i go about? https://developer.android.com/training/basics/activity-lifecycle/starting.html Sep 05 09:40:33 blippyJon: theres no demo there? Sep 05 09:40:45 the one you can download Sep 05 09:40:57 the one at the top of the page Sep 05 09:41:02 on the right side Sep 05 09:41:43 What part are you having issue with? Sep 05 09:42:18 oh boy Sep 05 09:42:27 that demo is for eclipse isnt it Sep 05 09:42:28 or command line Sep 05 09:42:45 is it? Sep 05 09:42:49 oh okay Sep 05 09:42:59 well i have trouble with getting it to run Sep 05 09:43:06 but it seems to be for eclipse so Sep 05 09:43:07 I have my app set to portrait mode, but what will happen if someone with a Nexus 10 tablet uses my app for example, which is oriantated in landscape by default? Sep 05 09:43:09 If there's no build.gradle, then it's like for eclipse Sep 05 09:43:13 Should open a bug report for that Sep 05 09:43:13 oh ok Sep 05 09:43:27 thanks anyway Sep 05 09:43:37 once again the doc is outdated Sep 05 09:43:43 well maybe not doc but the example Sep 05 09:44:05 how do i leave a bug report? Sep 05 09:44:19 nevermind i found it Sep 05 09:45:16 Bernzel, if you force it to portrait then your app will only be shown portrait Sep 05 09:46:59 Zharf, ok thanks! Sep 05 09:51:08 Zharf, is it enough to have android:screenOrientation="portrait" on the .MainActivity's tag? Or do I need to apply it to all my activites tags in the manifest? Sep 05 09:52:18 all activities have their own setting on that so yes Sep 05 09:52:30 ok thanks again Sep 05 09:52:34 you need to put it on all of them if you want it to always be in portrait no matter what the user does Sep 05 09:55:16 can i upload some youtube video downloader app on play store? Sep 05 09:55:28 I guess not Sep 05 09:56:37 ok, so not on playstore. should i need to hide my identity then as the developer of the app? Sep 05 09:57:31 up to you Sep 05 09:57:35 i mean is it illegal to make such app? or can i? because there are already apps like tubemate (not on playstore tho) Sep 05 09:58:14 well probably this kind of app would be down in instant Sep 05 09:58:28 since all this time they still didnt made youtube app play in backgorund Sep 05 10:00:15 If it's against youtube terms of service, it'll be removed eventually. Maybe not immediately, but as soon as someone who cares notices (like with any app that uses 3rd party data without permission). Sep 05 10:00:36 Tho with google services, it's likely to be noticed before it's approved Sep 05 10:01:06 shit :'( Sep 05 10:06:40 how do i make sure that the request made to my REST API is from the android app i made? Sep 05 10:06:50 what are the ways to check that? Sep 05 10:07:10 an api key Sep 05 10:07:18 a secret key Sep 05 10:09:15 squ: Even then, there is no way to be sure of that. Sep 05 10:09:27 why so? Sep 05 10:09:29 That should have been to vb0, but he seems to have left. Sep 05 10:09:51 client has api_key Sep 05 10:09:53 squ: Because your Android application is not secure. Any request made from it, can be forged from a different source. Sep 05 10:09:55 and secret_key Sep 05 10:10:48 squ: Right, but extracting a key from an Android application isn't hard. Sep 05 10:10:58 The only thing that is secure is what's on your server. Sep 05 10:11:17 sorry, i got phone call and got disconnected Sep 05 10:11:18 loke: this is unrelated Sep 05 10:11:30 yeah, ik that :/ Sep 05 10:11:38 squ: Hopefully, because otherwise vb0x3f has a problem :-) Sep 05 10:11:56 vb0x3f: you will be need a secret_key and api_key at client side Sep 05 10:12:31 the rest api call is encoded with those Sep 05 10:12:44 Just set &fromapp=true in the url Sep 05 10:12:45 but like i said, anyone can get that secret key by reverse engineering and make request to my api Sep 05 10:12:55 vb0x3f: Exactly what are you attempting to do here? Bascially, there is no way to ensure that _only_ your Android application will be allowed to make certain calls. Sep 05 10:13:25 SimonVT: that was lame, anyone can know that by intercepting that network and make custom requests Sep 05 10:13:34 vb0x3f: But if you just want to change behaviour, depending on source, just do what SimonVT said. Or add a header or somehting. Sep 05 10:13:52 vb0x3f: They can always do that anyway. There is no way you can protect against that. Sep 05 10:13:56 Yes, just like anything you do in your app Sep 05 10:14:24 vb0x3f: what kind of reverse engineering are you talking about Sep 05 10:14:28 vb0x3f: Your server side has to consider the android application to be completly insecure. So the same security measures have to be taken as when you design a normal browser application. Sep 05 10:14:46 what about oauth2 ? anyone ever used? i searched my problem and many people suggested to use that Sep 05 10:15:11 Some apps embed a signing key in their app and sign every request. But ultimately the key is somewhere in the app and can be extracted (although not as easily), and used to fake requests Sep 05 10:15:13 vb0x3f: Oauth is about ensuring the identity of a _user_. Not of a device. Sep 05 10:15:36 squ: i mean if i store some secret_key in my app, they can decompile my app using apktool and see the key Sep 05 10:15:54 vb0x3f: Yes, for example. That's one way. Sep 05 10:16:10 And then they put it on the internet and made a third party API to your application. Sep 05 10:16:17 (as has happened countless times) Sep 05 10:16:26 ^exactly, that's what i don't want to happen Sep 05 10:16:34 vb0x3f: Well, there is no way to prevent that. Sep 05 10:16:51 vb0x3f: Unless you have a completely secure device, like a Playstation. But even _they_ get cracked :-) Sep 05 10:17:12 vb0x3f: You should design your application so as to not have to rely on that. Sep 05 10:18:29 vb0x3f: But you also have to consider the sensitivity of the data you're dealing with. If it's a game, for example, it might not be a big deal. However, I work in banking where such things _are_ a big deal, so YMMV. Sep 05 10:19:10 yeah Sep 05 10:19:52 vb0x3f: That said, the tiem it takes from a game is released until its highscroe list is filled with 99999999999 entries is usually counted in milliseconds, so even for games it's an issue. Sep 05 10:21:08 And the prevalence of Pokemon-Go-paying bots should also tell you that it's not possible to protect yourself against that. If it was, you'd expect Niantic to have implemented that method already. Sep 05 10:22:20 I suggest improving the app to be better instead of losing time with such pointless "protection". Sep 05 10:22:33 Some people will use your API from other software. Big whoop. Sep 05 10:23:04 Instead of wasting time with them, invest in improving the business case and expanding your customer base. Sep 05 10:24:08 i just wanted to know that for knowledge, i'll still make the app Sep 05 10:25:10 but what about other apps, like some chatting app. whatsapp, kik? they have api too, how do they secure it? i mean people make modded apps of them but not some other app that uses their api Sep 05 10:26:04 People have of course used their API. Sep 05 10:26:37 Again, stop wasting time with pointless stuff. Sep 05 10:26:45 okay Sep 05 10:31:31 Greetings humans robots and other. Sep 05 10:32:14 NeoFrontier: 01101000 01100101 01101100 01101100 01101111 Sep 05 10:32:34 Is it going to be difficult to superimpose gps c0-ordinates or time stamps and other stuff in my app's video recordings ? Sep 05 10:32:55 Ah a human robot @ VerbalKint Sep 05 10:33:05 gtg, bye Sep 05 10:33:17 Is my taks to going to be a pain in the *edited* ? Sep 05 10:33:35 task* Sep 05 10:33:55 not taks, thats a cross link. Sep 05 10:34:11 in the neural pathways. Sep 05 10:35:35 Hello. Is there a standard way of checking the activity flow in an android app? like produce a flow chart of the activities Sep 05 10:38:00 The only thing to take in mind when optimizing for different densities is the resources, right? Keep lower-higher spec resources for the different densities, I should apply different values for padding in my layout based on density? Only for actual size of screen (sw-400dp etc) ? Sep 05 10:38:11 ZeNEX: there was such kind of inspector Sep 05 10:38:35 squ, please do inform me Sep 05 10:38:36 shouldn't* Sep 05 10:39:54 ZeNEX: probably this https://developer.android.com/studio/profile/hierarchy-viewer.html Sep 05 10:40:22 squ, Thank you very much Sep 05 10:40:24 https://developer.android.com/images/developing/hv_view_hierarchy_window.png Sep 05 10:45:29 How do I overshoot a fragment trasision? I'm adding a fragment and I'm specifying a custom transition similar to [link] except I'm using android:interpolator="@android:anim/overshoot_interpolator" but the animation seem to fallback to accelerate_interpolator. http://stackoverflow.com/questions/4817900/android-fragments-and-animation/17488542#17488542 Sep 05 10:47:30 It seems like overshooting isn't possible and therefore Android falls back to something else. Sep 05 10:55:23 what do you guys put in the drawable folder for when the app can't recognize hdpi etc, e.i Nexus 6 which is 560dpi , it runs from my vanilla drawable folder. Do you put the xxxhdpi resources in drawable just to get good quality in those cases? Sep 05 11:11:16 what gradle compile should I add to have PercentRelativeLayout ? Sep 05 11:12:50 its in support Sep 05 11:13:30 thanks Sep 05 11:19:43 what resource size ratio does a 560dpi res device need to take? I have it use xxxhdpi resources and it's working the thread like a whore, so it must fall in a lower category? Sep 05 11:22:49 Do you guys think that a background like this screams "amateur"? http://picpaste.com/pics/bg2-OkQrKRHL.1473074530.jpg Sep 05 11:23:47 its fine to me Sep 05 11:23:49 depends on how content is positioned Sep 05 11:25:21 app colors have to fit nicely https://material.google.com/style/color.html#color-color-palette Sep 05 11:26:04 never ask a programmer about colours or graphics Sep 05 11:26:13 looks totally fine Sep 05 11:26:16 :D Sep 05 11:26:22 could be ruined by what will be on top of it Sep 05 11:26:33 Thanks for the opinions :) Sep 05 11:26:37 hola Sep 05 11:27:05 adq: that will definitely happen Sep 05 11:29:31 tilerendering, sup bruh Sep 05 11:32:17 reminds me something - i saw similar backgrounds already hmm Sep 05 11:34:53 morfin: ? Sep 05 11:35:13 morfin: ? Sep 05 11:35:48 Can I move Android Studio to other computer without re-installing? Sep 05 11:37:28 morfin: you questioning my honor? COME AT ME, BRO! Sep 05 11:40:05 morfin: didn't steal it from no-one Sep 05 11:40:55 purplex88, probably since AS is a standalone zip, you might need to reimport config and other satelitte metadata here & there (including sdk and fixing his path if different) Sep 05 11:41:12 satellite* Sep 05 11:41:20 I think I've seen something similar in some homescreen wallpapers that come with some phones, but it's not exactly the same... it's just the style Sep 05 11:41:54 Well, you can do a google image search and you'll find that it's unique Sep 05 11:41:58 VerbalKint, i said similar not same :) Sep 05 11:42:03 yeah looks like delaunay triangles Sep 05 11:42:19 but i bet it's fake and not "delaunay based" Sep 05 11:42:37 adq: I just learned the concept from you :D Sep 05 11:42:45 read about it, it's interesting Sep 05 11:43:12 VerbalKint, no one's accusing you though, it's no that easy to make something entirely unique (concept wise) Sep 05 11:44:24 adq: standalone means it doesn't use registery to store settings? Sep 05 11:45:20 i'm not aware it uses the registry for storing settings Sep 05 11:46:01 hey ZeNEX Sep 05 11:46:06 it doesn't Sep 05 11:46:15 ZeNEX: well, trying to get my client/server sync done Sep 05 11:46:20 why Android NDK have that many stdlib implementations? Sep 05 11:47:25 tilerendering, nice haha good luck. I'm debugging this app it should be ready soon Sep 05 11:47:52 adq: how it is standalone zip if stores settings into other locations? Sep 05 11:48:47 https://developer.android.com/ndk/guides/cpp-support.html - 9 variants of stdlib seriously? Sep 05 11:48:49 it stores some stuff in your user folder in .android Sep 05 11:48:50 hello guys Sep 05 11:49:03 because it should be tied to the user Sep 05 11:49:12 why is it always users who have to find bugs in android software Sep 05 11:49:17 linuxlove, hi Sep 05 11:49:18 whyy Sep 05 11:49:32 why this shit doesn't work the way it should Sep 05 11:49:37 squ, because they don't have to pay for this shit Sep 05 11:49:53 is it possible to get location from GPS provider without connecting to internet or wifi (GPS IS ON) Sep 05 11:49:54 thanks ZeNEX - I really didnt expect it to be that hard to analyze Sep 05 11:49:54 I mean we, users of android sdk Sep 05 11:49:57 then its not really "standalone" Sep 05 11:50:04 so they let other do their job, until it goes below of threshold of satisfaction Sep 05 11:50:13 yes squ Sep 05 11:50:22 this is so frustrating Sep 05 11:50:26 I'm so mad at android Sep 05 11:50:27 i stopped reporting bug and submitting feedback so disgusted i was at some point Sep 05 11:50:30 morfin, because android's default one sucks and is pretty much useless for anything Sep 05 11:50:37 but "NDK libc++ is not stable" Sep 05 11:50:50 tilerendering, I get stuck all the time and think I won't be able to continue but somehow I always move forward so never think X or Y is hard, its just some things take more time than others. If you manage to break it down into smaller parts, everything is doable Sep 05 11:50:50 linuxlove: yes. thats why we have GPS Sep 05 11:50:51 why do I have to localize a bug and workaround it Sep 05 11:50:58 it's even worst now Sep 05 11:51:13 they ask you to provide a test sample sometimes Sep 05 11:51:20 why the hell some indian dumbfucks are putting that shit on our heads Sep 05 11:51:24 i even remember some tickets where they asked for unit test lol Sep 05 11:51:41 ZeNEX: problem is: everytime I come up with a solution, i get the feeling “there is simpler” “this has already been done by others 10000 times so there must be a best practice” and “this somehow doesnt seem right to me" Sep 05 11:52:03 morfin, also android's linker is/was utter crap so you'd end up statically linking them, I guess they fixed that in 4.3 Sep 05 11:52:32 tilerendering, you can't make everything perfect, you'll gain that with the years, try the best you can but don't think you'll make the ideal solution making everything simple Sep 05 11:52:43 hi gang Sep 05 11:52:56 sometimes you'll be forced to do it in a bad / complex way because of the way you did things previously Sep 05 11:53:00 look at this guy, Ankur Kotwal, and ask yourself, what could go wrong https://www.youtube.com/watch?v=Xtp3tH27OFs Sep 05 11:53:07 so optimistic Sep 05 11:53:10 and starting from scratch once you have a decent size of a project is a no-no Sep 05 11:53:26 learn from the mistakes you made and just continue foward Sep 05 11:53:54 g2g bye Sep 05 11:53:56 squ, closed the vid after 4 seconds Sep 05 11:54:14 ZeNEX: hm yeah but I feel I m close to a solution. anyhow, i ll pastebin my next draft for the problem - and maybe ppl here want to give feedback. I my drafts get pretty ok Sep 05 11:54:23 adq: burn after open :) Sep 05 11:54:25 cannot stand those `'"tutorials"'`, maybe it's good for a complete neophyte/beginner Sep 05 11:54:37 i hate those vids talking about code Sep 05 11:54:47 adq: it is introduction to new api, to replace old api Sep 05 11:55:13 is there any db able to store json objects + query them ? Sep 05 11:55:22 the only one i can stand are the one from colt mc anlis Sep 05 11:55:28 ones* Sep 05 11:55:36 turn json to string Sep 05 11:55:42 and "uncle bob" :3 Sep 05 11:55:56 save in sharedpref, read as string, parse as json, rinse repeat Sep 05 11:56:10 raoul11: querying for json attributes might become unhandy there Sep 05 11:56:11 one needs a lot of patience for android Sep 05 11:56:39 mhm Sep 05 11:57:09 but I wondered whether there are databases which do that Sep 05 11:58:58 squ, http://changingminds.org/images/kubler_ross.gif Sep 05 11:59:28 the road is long before acceptance :> Sep 05 12:00:04 haha, I know that one Sep 05 12:00:52 solid companies just don't do android copy of their software, only ios Sep 05 12:01:19 the reasoning is if our clients can afford our products, they can afford iphone Sep 05 12:01:24 i don't think you can make these kinds of generalities Sep 05 12:01:37 adq and squ: are you brothers? Sep 05 12:02:08 we're belonging to the 3-letters family, why? Sep 05 12:02:12 long before you all nicknames in irc were 3 letter nicknames Sep 05 12:02:29 I didn't know that Sep 05 12:02:49 obviously not Sep 05 12:02:49 why 3 letters? First name, middle name, last name? Sep 05 12:02:56 only facts in #android-dev Sep 05 12:03:00 :') Sep 05 12:03:22 yes, usually they are the initials Sep 05 12:03:45 Thanks for the explanation Sep 05 12:03:47 squ: a solid company can make cheap product too. Not all solid companies make premium or luxury products. Sep 05 12:05:12 squ: a solid company that makes low range products will want to target the segment of market with low range smartphones with their app. That could mean not only Android but older versions of Android. Sep 05 12:05:40 Hi gents I have a custom preference for numeric range values. http://pastebin.com/g2CEg4fH here's the code. On the same settings I have a checkbox. What I want is when checkbox is selected to display different range values. How can I achieve that? Some suggestions. Thank you. Sep 05 12:05:58 Arancio: not reading this, save your time Sep 05 12:06:10 squ: haha Sep 05 12:06:30 squ: what does that mean? Sep 05 12:07:08 wyoung: what's funny? Sep 05 12:08:21 djomlaPY: you want multiple checkbox with different ranges? like Age: [x] 0 - 10; [x] 10 - 20; Sep 05 12:08:30 why PercentRelativeLayout doesn't have padding percent? Sep 05 12:08:35 omg Sep 05 12:08:37 Arancio: squ made a funny Sep 05 12:09:01 squ: I have one numeric dialog but that has range by default from 10 to 100 Sep 05 12:09:20 but if user clicks (selects) one checkbox I want to alter range on that dialog Sep 05 12:09:42 wyoung: I said something that had sense, squ discarded it as bullshit and you find that funny? Sep 05 12:10:09 does "localize a bug" mean that you make multiple versions of the same bug in different languages? Sep 05 12:10:44 djomlaPY: you want this? https://developer.android.com/images/ui/dialogs.png Sep 05 12:11:06 djomlaPY: or this ? https://developer.android.com/images/ui/dialog_list.png Sep 05 12:11:39 VerbalKint: it's not amateurish. Depends on what on top of that background, though. Sep 05 12:12:33 squ: First one. But I already have it. Check pastern code ... what I also have is additional Checkbox next to it Sep 05 12:12:47 what do you want then Sep 05 12:12:50 if you have it Sep 05 12:12:52 libstdc++-v3 supports C++14 features? Sep 05 12:12:53 :) Sep 05 12:12:56 on Android Sep 05 12:13:10 squ: so when that checkbox is selected the range picker will alter it range. Instead of 0 to 100 I want it to be different range 50 to 70 (for example) Sep 05 12:13:43 djomlaPY: you want to populate item list dynamically ? Sep 05 12:13:57 (programmatically) Sep 05 12:14:03 squ: yes Sep 05 12:14:04 djomlaPY: why don't you just do it? add a listener for the checkbox event and change the min and max values of the range accordingly Sep 05 12:14:14 djomlaPY: what's your problem? Sep 05 12:14:27 godbless sharedpref. Sep 05 12:14:29 Arancio: It doesn't change them ... It needs to be reloaded somehow Sep 05 12:14:56 djomlaPY: that? :) Sep 05 12:14:56 mWidget.setMinValue(minValue); Sep 05 12:14:56 mWidget.setMaxValue(maxValue); Sep 05 12:15:46 squ: but that's done on creation? How can I call that again? (Sorry I'm quite new in this world) Sep 05 12:16:01 squ: you call that in the handler of the checkbox! Sep 05 12:16:06 sorry Sep 05 12:16:09 that was for djomlaPY Sep 05 12:16:10 Am I missing something, or does the support SnackBar API suck? Why can't I directly set its text color or pass a themed Context? Sep 05 12:16:17 djomlaPY: read about Dialog Builder https://developer.android.com/guide/topics/ui/dialogs.html Sep 05 12:17:31 squ: tnx will give it a go. Tnx. Sep 05 12:23:47 wheres thepoosh when u need him Sep 05 12:23:57 Arancio and squ ... it's working tnx Sep 05 12:24:09 what? Sep 05 12:24:15 what did you do Sep 05 12:24:33 squ: I used your nick instead of djomlaPY's Sep 05 12:24:55 no need to notify me about that Sep 05 12:25:13 sql: in numeric preference I've created a method to change min max values and on fragment I've created a listener on checkbox and when selected i get my numeric preference and set different set of ranges Sep 05 12:25:33 djomlaPY: good Sep 05 12:25:53 I didn't notify it Sep 05 12:26:04 notify about it Sep 05 12:27:42 i remember somebody said that Android stops cores to save the power Sep 05 12:28:05 but CPU-Z said me that ALL cores are stopped right now lol Sep 05 12:28:36 CPU-Z is a pathological liar Sep 05 12:30:22 hmm should native app really go trought Java API to tell "i have some job - do not suspend that core" Sep 05 12:36:14 squ: why are you so mean with me? Sep 05 12:36:23 I'm not Sep 05 12:36:29 sorry :) Sep 05 12:37:02 Arancio: here is a song for you https://www.youtube.com/watch?v=6CYrTa2GRNA Sep 05 12:37:27 Ok. No problem Sep 05 13:18:48 can we change the sttaus bar color for jelly bean? Sep 05 13:25:31 hi all. Does anyone know if you can refresh or edit entries in the storage access framework? specifically, it shows deleted files which are no longer on the system and it also has a recent items list that id like to clear Sep 05 13:43:58 cantstanya: you can ask to do a storage re-scan Sep 05 13:44:06 that will remove items that have disappeared Sep 05 13:44:12 er Sep 05 13:44:15 been deleted, rather Sep 05 14:08:24 Must... not... give up... designing my own... interface... Sep 05 14:09:33 pics Sep 05 14:11:05 tx: ? Sep 05 14:11:18 of your interface Sep 05 14:11:45 tx: it sucks right now Sep 05 14:12:03 tx: trying to find something that'll unsuck it Sep 05 14:12:33 black rectangle over it Sep 05 14:12:47 :D Sep 05 14:15:33 yeah Sep 05 14:15:35 pics tho Sep 05 14:15:36 share the suck Sep 05 14:18:07 tx: background, green variant http://picpaste.com/pics/bg3-M1QFYvDs.1473085073.png Sep 05 14:18:16 tx: for a trivia app Sep 05 14:18:40 That's uh, a very simple UI so far. Sep 05 14:19:35 tx: bro, it's MINIMALISM Sep 05 14:20:38 tx: it's not cheap, it's not simple, it's not amateurish! It's MINIMALISTIC! Sep 05 14:22:50 fun https://www.youtube.com/watch?v=Df-bMWONIYk Sep 05 14:24:35 I want to perform a set of operations in a transactional way: atomic would be enough (all or nothing): read tasks from datastore, make a number of changes to the database, then mark the tasks as done. the transaction should be all-or-nothing regardless of whether the system goes down or the application is terminated during its execution. Sep 05 14:24:40 how can I achieve this ? Sep 05 14:26:41 I guess I d just use db transaction demarcation Sep 05 14:34:25 By Jove, I'll be the first programmer to design something awesome or I'll die trying! Sep 05 14:44:36 tx: that has to be done with an API call though right? Sep 05 14:44:42 I can't do it as a typical android user? Sep 05 15:11:47 hey ..devs ( monday off ... if you got em ) Sep 05 15:12:21 I've been back and forth between these town StackOverflow qu's to solve my issue with setting up Google Auth/Login to app Sep 05 15:12:41 http://stackoverflow.com/questions/34370603/version-conflict-updating-to-8-4-0 && http://stackoverflow.com/questions/30772201/google-services-json-for-different-productflavors/34364376#34364376 Sep 05 15:13:14 I think I drastically don't understand what is goin on here. and ELI5yo on the topic Sep 05 15:14:14 its like fix one issue and then the other issue is the problem, and lost on the whole reason and what is even goiint on here really Sep 05 15:15:01 99 little bugs in the code.. Sep 05 15:18:31 hi everyone Sep 05 15:19:17 by "little blink" i mean it flickers once and that't is Sep 05 15:33:58 hi i'm newbie in android app development i need help i'm trying to run a app which need internet to connect to a google location api to get data in json i have added log tag in my client function but still there is neither a error nor it is running any help will be appreciated Sep 05 15:36:03 please help facing wall since last 2 days Sep 05 15:38:50 TERMINALi: pastebin your code Sep 05 15:39:31 and also your logcat Sep 05 15:39:59 Leeds, one sec Sep 05 15:40:32 Leeds, http://pastebin.com/gQM8bekn Sep 05 15:41:50 TERMINALi: Are your api keys correct? Sep 05 15:42:01 Make sure your using the proper key for your release type Sep 05 15:42:11 And make sure your manifest is correct Sep 05 15:42:19 orbyt_, map is visible it just am trying to do geocoding Sep 05 15:42:48 so what exactly is your issue Sep 05 15:43:00 which need internet hence i have passed a hardcoded string it must return result but it is not even running Sep 05 15:43:28 i tried putting method inside try catch block but still no joy Sep 05 15:45:46 anything wrong with my code as what ever i read 6.0 doesn't need internet persmission by user so i have added that in my manifest file Sep 05 15:46:15 "Check if there are any errors in the form" when trying to upload a new APK to Beta on Google Play, though, nothing indicates there is something wrong. Just wait and try again later? Or what may cause this if it doesn't show up in the upload window? Sep 05 15:46:51 Bernzel, it was for me ? Sep 05 15:47:24 TERMINALi, nope, it was a question of my own Sep 05 15:47:40 ohh sorry Sep 05 15:49:12 Bernzel are you promoting from alpha to beta? Sep 05 15:49:39 orbyt_, anything ? Sep 05 15:52:11 hi Sep 05 15:53:03 are there every body here? Sep 05 15:54:13 homa_, no one is here please help me Sep 05 15:56:07 just got here Sep 05 15:56:22 be careful Sep 05 15:56:36 raoul11, only beta Sep 05 15:56:43 purplex88, where? Sep 05 15:57:24 TERMINALi: android-dev Sep 05 15:58:31 purplex88, i'm on android-dev i guess Sep 05 15:59:51 TERMINALi: yep thats why we are able to talk Sep 05 16:00:18 please help then i'm a newbie? Sep 05 16:00:56 hithere Sep 05 16:03:02 I was having problem with signed app (debug versions was ok), where in forced debug I had this "unable to find class Sep 05 16:03:02 referenced in signature (Landroid/view/SearchEvent;)" - after many hours of searching - I have found http://stackoverflow.com/questions/22255513/cannot-instantiate-class-android-support-v7-widget-searchview Sep 05 16:03:41 where someone is recommending adding "-keep class android.support.v7.widget.SearchView { *; }" to proguard Sep 05 16:05:00 until this error I have not red much about proguard-rules and I do not want to end up with broken app because of it Sep 05 16:05:44 where is this mentioned on developer.android.com or anywhere else? Sep 05 16:05:50 TERMINALi: just ask the question here Sep 05 16:07:20 What else must be added to proguard-rules to avoid such behaviour? Sep 05 16:08:04 purplex88, already asked but for you here is the copy paste hi i'm newbie in android app development i need help i'm trying to run a app which need internet to connect to a google location api to get data in json i have added log tag in my client function but still there is neither a error nor it is running any help will be appreciated Sep 05 16:08:09 bolovanos: Do you have minifyEnabled -true? Sep 05 16:08:09 what source would you recommend to study on proguard topic? Sep 05 16:08:23 purplex88, http://pastebin.com/gQM8bekn Sep 05 16:08:52 markyosullivan, hi, in gradle - yes Sep 05 16:08:55 I found minifyEnabled -true caused a lot of issues for me, removing code when it shouldn't have so then my app was missing classes which were critical for the app working, thus causing my production build to not work Sep 05 16:09:02 try setting it to false Sep 05 16:09:09 see if there's any issues afterwards Sep 05 16:09:38 shrinkResources true - this doesn't mess up my app Sep 05 16:10:05 TERMINALi: but whats the error? Sep 05 16:10:44 error is it not running last i'm tried running it without maps in separate activity Sep 05 16:11:00 markyosullivan, ok - will - now I see that small notice there https://developer.android.com/studio/build/shrink-code.html "However, it's important that you do enable code shrinking on your final APK used for testing, because it might introduce bugs if you do not sufficiently customize which code to keep." Sep 05 16:11:13 but still AsyncHttpRH: Progress 221 from 1 (22100%) it is the last log i can see Sep 05 16:14:19 TERMINALi: i'm kind of newbie as well not much aware of networking stuff yet.. Sep 05 16:14:23 markyosullivan, thank you - have to do more research on that topic Sep 05 16:14:41 purplex88, its ok btw thanks Sep 05 16:16:58 markyosullivan, btw - are you using this? https://developer.android.com/studio/build/shrink-code.html#keep-resources Sep 05 16:26:16 Do you guys think that image resolution of 480x854 would be enough for a big chunk of smartphones? Sep 05 16:27:01 bolovanos: I looked at proguard stuff a while back and thought shrinkResources and minifyEnabled would be the best choices but then ran into issues with minifyEnabled whenever I introduced Retrofit 2.x to my app Sep 05 16:27:27 I'm sure if I spent the time to specify what classes to keep it would have been fine but I cba with that, users were using an app which was broken Sep 05 16:28:39 lol at proguard troubles :p Sep 05 16:28:53 libraries that depend on reflection ftw Sep 05 16:29:46 ftl you mean Sep 05 16:29:49 bloody awful Sep 05 16:31:55 pfn: you ever had proguard trouble? Sep 05 16:37:53 no, I don't use reflection Sep 05 16:38:10 and I proguard everything Sep 05 17:10:07 i've been playing with refactoring a pet app and been thinking about MVPVM instead of MVVM Sep 05 17:10:46 bitkiller: do you use MVVM in your application? Sep 05 17:11:42 i've seen some people on the web using the VM as a 'do everything' class. others use a presenter as the object that access business class and fills the VM Sep 05 17:12:00 Arancio, no. just playing to see how it goes Sep 05 17:12:14 well, not in this app Sep 05 17:13:08 Finished a project in which i tried to use, but i think i made some mistakes Sep 05 17:13:28 Arancio, do you use it? Sep 05 17:13:53 No. I used to use MVVM on C#/WPF. I would like to use it on Android. How do I use it? Sep 05 17:14:20 i started with the data binding api Sep 05 17:14:38 bitkiller how did you like the data binding stuff ? Sep 05 17:14:46 and searching for other people who use it Sep 05 17:15:19 g00s, no complete opinion yet Sep 05 17:15:19 bitkiller: thanks. I'll try it Sep 05 17:15:43 g00s, but feels good so far Sep 05 17:15:43 bitkiller did it affect your build times ? Sep 05 17:16:14 g00s, but i have to take care to not put too much view logic in the xml Sep 05 17:16:39 g00s, i don't think it affects build time too much Sep 05 17:17:00 good morning :) and happy labor day lol Sep 05 17:17:55 rxjava 2.0 rc 2 Sep 05 17:18:38 g00s plz tell thepoosh to stop by /: Sep 05 17:19:04 drinfernoo: It's a USA thing. The rest of the world celebrate a similar day May 1st Sep 05 17:19:49 every other day is capital day Sep 05 17:19:57 g00s, i would have to test the build time of different branches in this app Sep 05 17:20:14 g00s, cause there are lots of experiments Sep 05 17:20:44 g00s: lol Sep 05 17:21:01 bitkiller ok np Sep 05 17:21:29 yeah Arancio, but idk whos in the US lol Sep 05 17:21:30 g00s, now, probably the annotation processor is allocating lots of memory Sep 05 17:21:49 i have 8gb and it's swapping Sep 05 17:22:16 (ok, hundred and something tabs opened in firefox) Sep 05 17:23:29 bitkiller ah, i only have 4G Sep 05 17:25:36 hi all. what is a good book to learn android studio + java 8 to develop apps for my smartphone? Sep 05 17:26:18 freakky, do you know Java? Sep 05 17:26:36 well, back to the MVVM... i came to the mvpvm idea before knowing it exists Sep 05 17:26:51 looks a beautiful overengineering Sep 05 17:27:19 drinfernoo: i have java books yes Sep 05 17:27:27 i know some java Sep 05 17:27:29 freakky, https://developer.android.com/training/index.html Sep 05 17:27:31 i learned c/c++ at school Sep 05 17:27:38 drinfernoo: i want a real book Sep 05 17:28:18 back in 1998 when i wanted to learn java i started with the sun java tutorial Sep 05 17:28:26 I'm sure there are some, but i don't know where Sep 05 17:28:34 same here bitkiller Sep 05 17:28:36 ok thank you anyway :D Sep 05 17:28:42 ill try maybe java android for dummies? Sep 05 17:28:48 books are amazon Sep 05 17:29:03 freakky, Android changes so often that books would be tough to keep up with Sep 05 17:29:09 freakyy: android studio development essentials 6th edition Sep 05 17:29:32 you'd better take a book on latest java version or something else than android Sep 05 17:29:51 start copying some project, understand it and change it Sep 05 17:31:11 android studio has code samples for you to start with as well Sep 05 17:32:23 got this (tiny) book about java data struct i can recommend: https://books.google.fr/books?id=HuQoLslcbwEC Sep 05 17:33:19 very straight-forward, not advanced enough to cover big-o though Sep 05 17:33:42 ok thank you all :) Sep 05 17:33:58 seems a bit old adq Sep 05 17:34:10 yeah but basic data structure did not change Sep 05 17:34:51 basic... to not say fundamental Sep 05 17:38:04 how do I mark a transaciton for rollback/failed in android ? Sep 05 17:42:47 damn internet Sep 05 17:45:10 where do you go to see the build tools version inside of android studio? Sep 05 17:45:33 I'm trying to build a react native app and it defaulted to buildToolsVersion "23.0.1" Sep 05 17:45:36 but it says it can't find them Sep 05 17:46:37 When i'm looking at the Android SDK Build tools under the android SDK manager the version is blank Sep 05 17:46:40 then get them from the sdk manager Sep 05 17:47:18 is dagger where it's at for DI? Sep 05 17:50:21 i'm having a hell of a time wrapping my head around the Component bit Sep 05 18:11:12 Epic type in app description: "fowl play" :D Sep 05 18:11:15 *type Sep 05 18:11:52 I'm easily amused :( Sep 05 18:16:54 Anyone know how to pop at fragment from the backstack without having its pop or exit transition played? I just want it removed brutally. Sep 05 18:17:47 I added transition animation to its transaction when I added the fragment in the first place. I find the difficult to "undo" this transition. Sep 05 18:20:13 I have a activity with a fragment, which is replaced by another one when a button is pressed. I added the second one to the backstack. When i pop the backstack both fragments are shown on top of each other. What am I doing wrong? Sep 05 18:22:22 Zta: Have you tried ovveridePendingTransition or a similar method? Sep 05 18:22:31 I'm sure theres something to ovveride the animation Sep 05 18:22:34 override* Sep 05 18:22:47 orbyt_: I just found this, I'll try it: http://stackoverflow.com/a/11253987/2412477 Sep 05 18:29:07 what channel should I use for react native android questions? Sep 05 18:29:50 I'm getting an Unexpected Token error when I add: console.log('external log'); to my index.android.js Sep 05 18:38:12 if im using a builder pattern, is there a way to make certain builder methods required? Sep 05 18:39:30 throw an exception Sep 05 18:39:55 unless you want to integrate into the builder constructor parameters Sep 05 18:55:14 ok. thats what i figured Sep 05 19:22:39 how bad is it that i'm using openJDK instead of Oracle JRE/JDK? android studio recommends me to switch Sep 05 19:29:12 meh Sep 05 19:30:23 cool Sep 05 19:31:13 hexagonSun_: why do you want to use openJDK? Sep 05 19:33:22 Arancio to be honest i installed it a while ago and i vaguely remember that i couldn't quite install the java jre correctly... i don't even know what i ended up doing in this computer Sep 05 19:33:45 i am able to run my app tho, i assumed everything was ok Sep 05 19:34:50 hexagonSun_: are you part of the "Programming Without A Clue" movement like me? Do you attend PWAC meetings? Sep 05 19:35:08 i am the president Sep 05 19:35:45 honored to meet you Sep 05 19:36:38 cool, future xda mods Sep 05 19:57:44 Are there RecyclerViews able billions of items by only having a window of them in memory and downloading the rest on demand? Sep 05 19:57:50 able to handle Sep 05 20:00:40 g00s: http://serverfault.com/q/293217 Sep 05 20:17:24 Welcome back to everybody! Sep 05 20:28:56 setTimeout(function() { //change it back to original color $("#"+sequence[i]).toggleClass('off on'); }, 1000); that is not working, could someone help me?...how do you set something after 1 second of hold? http://codepen.io/juanf03/pen/wzBgZk?editors=1111? Sep 05 20:29:09 the problem is in the function displaySequenceOnBoard on the for loop Sep 05 20:30:10 the setting of that before the timeout works fine, the one that doesn't work is the one within that timeout Sep 05 20:33:00 wrong channel j4f-shredder Sep 05 20:33:10 I'm sorry Sep 05 20:33:11 really Sep 05 20:33:16 it's ok Sep 05 20:33:17 I wanted to post on the other tab Sep 05 20:33:19 :S Sep 05 20:33:43 thanks for understanding Sep 05 20:33:54 of course, no worry Sep 05 20:34:03 what does it mean when a Dagger component "exposes something to the sub graph" Sep 05 20:50:14 parco: what's the etymology of your IRC nick? Sep 05 20:52:01 parco: https://github.com/codepath/android_guides/wiki/Dependency-Injection-with-Dagger-2 Sep 05 20:53:22 Arancio such an obsession with nicks Sep 05 20:54:02 with words in general Sep 05 21:17:26 Is this channel also about android development itself (for the aosp, not for android programs) Sep 05 21:17:56 application development Sep 05 21:17:59 not really, see topic Sep 05 21:18:20 Yeah, well custom roms are not exactly AOSP related Sep 05 21:18:54 Often it's just "preinstall app X, do minor modifications here, add root access" Sep 05 21:19:15 oh duur Sep 05 21:19:26 It was so early inside the motd I didn't read it xD Sep 05 21:20:12 that's my favorite part, when ppl not sure to be at the right pla[...] i'm gonna stop here :p Sep 05 21:22:46 Yeah well, normally the (real) topic comes after all those links :D Sep 05 21:57:11 * bitkiller abandoned the MVPVM shit idea Sep 05 21:57:44 Model-View-Presenter-ViewModel? Sep 05 21:57:54 yep Sep 05 21:58:38 yay Sep 05 21:58:39 Hello guys, anyone ever used the function setPermissionGrantState from DevicePolicyManager? I have some questions about it Sep 05 21:58:41 idk what architecture im uaing Sep 05 21:58:45 using Sep 05 21:58:51 whatever works lol Sep 05 21:59:10 i call it the WTFW architecture Sep 05 21:59:12 MVPVM? Sep 05 21:59:21 Was that a joke? :P Sep 05 21:59:35 Add more layers until Android makes sense? :D Sep 05 22:00:00 Mavrik, not a joke. in theory it makes sense Sep 05 22:00:09 in Android, not for this app Sep 05 22:00:51 and probably for no app Sep 05 22:02:42 Hey all, how do I get android-23 to showup in my SDK folder? I tried to install it via SDK manager but it doesn't appear in AppData\Local\Android\Sdk\platforms Sep 05 22:04:25 does your sdk managger poinr threre? Sep 05 22:04:40 Hello guys, anyone ever used the function setPermissionGrantState from DevicePolicyManager? I have some questions about it Sep 05 22:05:34 i'm going back to the A(F)VMM (activity (fragment)-viewmodel-model) Sep 05 22:05:58 design patterns... sigh Sep 05 22:06:26 fvpinheiro: I'm sorry. You had a chance to ask only one question and you already used it. Sep 05 22:07:30 does ViewPager.getCurrentItem() start at 0 for the first page, and have PagerAdapter.getCount()-1 for last item? Sep 05 22:09:07 Are there RecyclerViews able billions of items by only having a window of them in memory and downloading the rest on demand? Sep 05 22:10:48 what? Sep 05 22:10:59 Why does function PermissionGrantState when used with DENIED just crashes the application it is being applied? Sep 05 22:11:15 drinfernoo, so it should be Sep 05 22:13:16 bitkiller, i think it actually starts at 1 Sep 05 22:13:21 that seems weird to me lol Sep 05 22:22:01 Hi, I'm having an issue where I can't connect my DB with SQLite, to my android development kit. Can you please guide me? Sep 05 22:25:55 Blink`: ok. First: place your hands on your keyboard Sep 05 22:26:26 Blink`: did that? Sep 05 22:27:38 And now throw the kb out the window? :p Sep 05 22:28:26 no, grab it and face-keyboard repeatedly Sep 05 22:28:28 fvpinheiro, doesn't the application throw an exception? It should. Sep 05 22:29:15 Blink`: describe what you did and what you get. To the other people. I don't know about SQLite Sep 05 22:34:06 Blink`: so? Sep 05 22:34:22 Arancio - There's nothing - Like.. It just won't connect the DB to my app Sep 05 22:34:36 I mean, if there's another way to connect the DB to my app, I'll do it Sep 05 22:35:32 Blink`: do you understand that people here is waiting to know exactly what way did you use? To actually see your code? Sep 05 22:37:01 Blink`: I sense a really unprecedented anticipation from the crowd here Sep 05 22:37:24 Sorry, I'm the middle person here trying to make sense of what is being fed to me Sep 05 22:37:37 But I told the bum to simplify it to me, got a 2 hour lecture about this and that Sep 05 22:37:51 All I'm getting told is "sqlhelper is not loading" Sep 05 22:38:29 Tell the bum to move his ass, pastebin his code and ask in first person. Is the bum shy? Sep 05 22:39:16 and please insert a finger in his/her eye, at least 2.5 - 3 cm deep Sep 05 22:43:53 Told him that, and did that. Sep 05 22:43:57 He responded with Sep 05 22:44:07 "Just ask for the easiest way to tie a sql db to an android app. So that you can use 2 keys to pull a 3rd table of data" Sep 05 22:44:17 As there is no code, as he just completed the DB Sep 05 22:44:38 He's not on his pc, from what I gather so i'm just the messenger Sep 05 22:47:21 Blink`: ok. Wish him good luck. Good luck to you too Sep 05 22:55:52 Arancio: correct Sep 05 22:56:38 Zharf, how do you setup where the SDK Manager is pointed at? I don't see anything in the options Sep 05 22:57:19 HoloPed, mine says "SDK path" at the top Sep 05 22:57:49 ha, true. I missed that. Can't be changed though Sep 05 22:57:59 but good enough I guess Sep 05 22:58:04 I'll just change Android Editor Sep 05 22:58:30 hey. anyone here using arch and if so how did you go about installing android studio ? Sep 05 22:59:37 when i used arch, i used to get it via yaourt Sep 05 23:02:23 So you won't send me a guide or etc, unless I show code? Sep 05 23:02:44 As that's all I'm after considering Google doesn't return any working solution Sep 05 23:03:09 inder_gt: that seems the most reasonable when. i guess i'll have to use aur even though im not really a huge fan Sep 05 23:03:26 bithon: you are supposed to love aur if you use arch :P Sep 05 23:03:46 i don't because i have everything i need in the official repo Sep 05 23:04:14 ya but a bunch of it isnt Sep 05 23:04:23 i stopped using arch and linux in general when i got a mac Sep 05 23:05:25 well mac sure is pretty, but i think arch is a better system because it gives you freedom to install whatever tools you want and only those tools without all of the junk that comes with pre-installed systems or pre-configured systems Sep 05 23:05:35 bithon, if you don't want to install aur you can just get the package by downloading the tarball Sep 05 23:05:40 then use makepkg Sep 05 23:05:47 *yaourt Sep 05 23:05:47 nah im cool ill get it from aur Sep 05 23:06:09 Blink`: https://developer.android.com/reference/android/database/sqlite/SQLiteOpenHelper.html https://developer.android.com/reference/android/database/sqlite/SQLiteQueryBuilder.html Sep 05 23:07:34 Blink`: I'm sorry your google is not working correctly. You should buy a new one Sep 05 23:09:46 Arancio: How would one go about purchasing and acquiring new Google ? Sep 05 23:13:12 bithon: it's easy. they go as if they would like to get lost. Right before they get lost they stop. Then they go ahead and really get lost. Sep 05 23:13:39 Arancio: My google worked, I just forwarded the links to him / her / unspecified Sep 05 23:13:45 Arancio: That makes so much sense, thank you for your assistance! Sep 05 23:14:08 Arancio - I understand you rolled of bed the wrong way this morning, and are acting up right now. But just so you know. It's okay, it'll get better. Sep 05 23:14:43 it needs to get better, it must! Sep 05 23:14:59 With that attitude, it will Sep 05 23:15:01 ;-) Sep 05 23:15:04 Blink`: at least you should thank wyoung! Sep 05 23:15:20 I was getting to it, as I have another question to ask him Sep 05 23:15:24 Don't rush courtesy. Sep 05 23:16:06 wyoung - I would like to thank you for taking the time to help out a mere person, but may I bother you for your time again? Sep 05 23:16:48 Blink`: sure but I am about to step out of the office Sep 05 23:17:38 It's a question that can be answered whenever - How does the link you provide enable me to load SQLHelper into android dev kit to link the db? Sep 05 23:18:08 Blink`: you want to access the database in your android application or in your IDE? Sep 05 23:19:08 In my android application sir. The database has been created, but when I try to link it with SQLite, it just doesn't load anything at all Sep 05 23:19:17 I viewed the database, and it's brimming with information Sep 05 23:21:01 * Arancio looks for brimming in the dictionary Sep 05 23:21:04 would anyone mind taking a look at this? in the Builder class, i set mKey to a value. when i follow it in the debugger, i can see it get set. however, later when i call getKey(), it returns "" :( Sep 05 23:21:06 https://github.com/drinfernoo/Gandalf/blob/values/library/src/main/java/gandalf/blango/com/gandalf/model/MultipleChoicePage.java Sep 05 23:21:30 * Blink` glares at Arancio Sep 05 23:22:04 Not my first language. I managed to google that word, though Sep 05 23:22:28 I apologise if it confused you. But feel free to ask me for a definition, I'm willing to help out a fellow person. Sep 05 23:22:32 runtime link? Sep 05 23:22:59 However, I would like to thank you and appreciate your effort to help out with such vague information. Sep 05 23:23:13 I'm only as good as the information I receive after all. Sep 05 23:23:32 no need to apologize for my lack of knowledge of the English language Sep 05 23:23:55 no need for you to apologize for that Sep 05 23:24:12 what are your language, Arancio? Sep 05 23:24:49 what is my language? My first language is Italian Sep 05 23:24:50 blink you're trying to do a runtime link and not understanding a failure code? Sep 05 23:25:17 capella-5x: he said "there is no code" Sep 05 23:25:26 A failure code does not appear kind sir, there is no code either. Sep 05 23:25:26 ah ok Sep 05 23:25:49 I just have a database, which I want to link using SQLite. But if there's another solution to that, that would be appreciated Sep 05 23:26:24 Sorry Sep 05 23:26:33 A database and a android dev kit Sep 05 23:27:33 So when I try to link the database to the android dev kit Sep 05 23:27:51 The SQLite does not load at all, which doesn't allow the database to be linked, if you get the gist Sep 05 23:28:20 Blink`: you didn't explain what you do when you try to "link the database to the android dev kit" yet Sep 05 23:29:05 That's the thing though, I don't know what my friend has done. WHich is why I'm enquiring here to find out what I'm supposed to do in order to link it Sep 05 23:29:17 you should understand that when you said you are "having problems" querying the database and then you reveal that there is no code, it means that you lied because no developer can have problem without writing some code first. You didn't write any code and would like people here to write it for you when there is plenty of tutorials on how to query SQLite on Android Sep 05 23:29:27 didn't realize intellij could do that but meh vwhy not Sep 05 23:29:38 Guys, why setPermissionGrantState with PERMISSION_GRANT_STATE_DENIED just crashes application? any ideas? pm me Sep 05 23:29:54 fvpinheiro: you got an answer before. did you check that? Sep 05 23:30:05 yes I did Sep 05 23:30:09 check return code docs Sep 05 23:30:15 and? Sep 05 23:30:16 I mean from Fighter19? Sep 05 23:30:26 I guess it was him, yes Sep 05 23:30:33 didn't help much Sep 05 23:31:22 Well >I< did not write any code, my friend may have, or may have not. I did not lie, nor did I intend to give off that impression. I don't want people here to write it for me, if that was the case, I would've Googled a crappy snippet and asked for help Sep 05 23:31:35 But thank you for providing me with a solution. Sep 05 23:32:29 does intellij provide a db ui tool? Sep 05 23:32:54 not in front of desk Sep 05 23:33:07 capella-5x: no, he didn't express himself correctly, I think Sep 05 23:34:45 so he can't communicate the question afaict Sep 05 23:35:15 ooh figured it out lol i forget to put mKey in the Parcelable code Sep 05 23:35:42 woot! Sep 05 23:35:59 yay! Sep 05 23:36:59 damn parcelables lol Sep 05 23:38:24 :) Sep 05 23:39:35 * Arancio would like to think he's been too harsh Sep 05 23:41:09 blink what do you mean when you say "dev kit" Sep 05 23:41:27 use this if you hate writing parcelables http://www.parcelabler.com Sep 05 23:41:37 capella-5x: he quit Sep 05 23:41:52 :( Sep 05 23:42:05 ok bye bye for now lol Sep 05 23:42:55 aeancio... "and that is why he fails" Sep 05 23:43:30 heh, so did my typing Sep 05 23:43:41 :D Sep 05 23:43:43 capella-5x so did your internet connection Sep 05 23:45:23 damn, so many books to buy ... Sep 05 23:45:41 all the manning ones i want won't be done until 2017 so thats probably waste Sep 05 23:46:50 i saw a video of android 7 running on rpi 3 w/play services, looked great ... Sep 05 23:46:56 and play store Sep 05 23:47:10 i think that will be what i do from this point on, when my n7 dies Sep 05 23:48:34 g00s sorry you can't ignore that? I can modify my behavior when visiting the parking lot otherwise Sep 05 23:49:07 * g00s confused Sep 05 23:49:22 I don't notice when you walk Jake ☺️ Sep 05 23:51:18 don't understand how you see my reconnect Sep 05 23:51:49 was it annoying you? Sep 05 23:52:05 can I make it better? Sep 05 23:52:10 something is wrong in this channel, today Sep 05 23:52:19 hahaha Sep 05 23:52:50 * g00s backs off Sep 05 23:52:50 * capella-5x playing with friend Sep 05 23:53:37 see what you walked into? Sep 05 23:59:44 Arancio: it's a concatenation of my first initial and a bit of my last name Sep 05 23:59:56 parco: thanks Sep 06 00:02:46 do you guys write unit tests for specific setters and getters? i feel like this is getting a bit crazy Sep 06 00:04:25 i googled, this is a cool answer: http://stackoverflow.com/questions/6197370/should-unit-tests-be-written-for-getter-and-setters Sep 06 00:04:50 lol Sep 06 00:05:07 if you have to. unit tests accessors, you're doing it wrong Sep 06 00:05:38 pfn, so i figured, unless the setters are doing more complex things. Sep 06 00:09:16 pfn 👍 Sep 06 00:10:47 but usually just establishing a base test that allows for later expansion as needed by bug correction works Sep 06 00:11:48 assuming one has a bug feedback process, there you go Sep 06 00:12:32 capella-5x: i'm practicing TDD, where you write failing tests first, then production code to fix them Sep 06 00:13:42 I let the solution code drive the test code, meh Sep 06 00:14:53 just need analysis up front... sometimes exploratory debug code gets incorporated Sep 06 00:19:02 hey why is android studio bitching about openjdk Sep 06 00:19:29 it says something like :“OpenJDK shows intermittent performance and UI issues.” Sep 06 00:20:12 and suggests i use oracle sdk Sep 06 00:20:26 why would i want to use non FOSS software is beyond me Sep 06 00:22:25 this was actually a serious question Sep 06 00:22:35 i'm not sure why it does'nt like openjdk Sep 06 00:23:03 openjdk and oracle "official" JDK aren't "exactly" the same. jetbrains have identified issues with openjdk and won't hack around them Sep 06 00:23:20 that's the crux of it, i didn't think it was still a problem after java 7, but evidently it is Sep 06 00:26:14 that sucks Sep 06 00:26:21 i don't want oracle stuff on this machine Sep 06 00:26:33 umm ... openjdk is oracle... Sep 06 00:28:15 no ? Sep 06 00:29:16 java is oracle Sep 06 00:30:05 "Is Oracle committed to OpenJDK? Sep 06 00:30:05 Yes. Oracle remains committed to OpenJDK as the best open-source Java implementation and we will continue to improve OpenJDK and welcome external contributors." Sep 06 00:30:26 i actually thought it was a community run project Sep 06 00:30:31 TIL Sep 06 00:30:40 bithon: now you have to de-install OpenJDK from your computer Sep 06 00:30:46 I wouldn't believe anything that has Oracle and "committed" in the same sentence . Sep 06 00:30:59 http://stackoverflow.com/a/11580321 Sep 06 00:31:30 apparently according to oracle OpenJDK is almost identical to Oracle JDK Sep 06 00:32:07 almost :) Sep 06 00:32:22 well crap Sep 06 00:35:03 pro vs volunteer? Sep 06 00:43:45 I'm taking a picture using the application on my phone. Why is the thumbnail always portrait even if I take a landscape picture? Sep 06 00:45:13 Sorry. It isn't Sep 06 00:46:08 hi, i'm trying to use the ndk and i'm a little confused about the relationship between standalone toolchain and arm architecture Sep 06 00:46:43 clearly with standalone i can target arm or arm64. if i target arm, can i still choose between armv5te and armv7a with -march? Sep 06 00:51:47 awesome native dev question Sep 06 00:52:49 heh, cheerleading, but not near a laptop Sep 06 00:55:44 in particular, i've noticed that with one of my dependencies, if i don't specify -march then it doesn't build (it errors with incompatible target). but i can set either armv7a or armv5te and it'll succeed. i have no idea of knowing what would happen at runtime with the produced output though Sep 06 00:57:31 hi is there a good way to make the actionbar items scrollable horizontally? Sep 06 00:58:20 see, now everytime I go outside and back I fear I bother g00s Sep 06 00:59:19 hm the gcc in the standalone reports --with-arch=armv5te Sep 06 01:01:51 what os version back or device are you after? Sep 06 01:03:07 im building a library that i intend to distribute for other devs Sep 06 01:03:14 but it is very heavy on floating point ops Sep 06 01:08:24 Is it bad UX to show a picture in a orientation matching the device orientation (so to maximize the size) regardless of the actual picture orientation? Sep 06 01:18:51 brian_ fine tuning! can you parallelize fp ops? or is that asking too much Sep 06 01:20:19 ah, im not looking to optimize it. i'm just trying to make sure i distribute a armv7a .so since armv5te can't use hardware fpu Sep 06 01:20:25 or at least that's how i understand it Sep 06 01:20:46 but it would seem prudent to distribute armv5te too in case the phone doesnt have armv7a Sep 06 01:22:06 correct Sep 06 01:31:12 except just about every single phone available is arm7, except for stuff 2.x and older maybe Sep 06 01:33:15 is it? that's good to know Sep 06 01:33:47 i'm still confused about how the standalone toolchains in ndk relate to arch. it seems like with the arm one you can pick either by using -march but i'm not sure if there's caveats to that Sep 06 01:34:42 I encourage knowledge at that level, assembler coders unite! Sep 06 01:51:42 After we figure out software, we get into how the electrons move 💪 Sep 06 02:06:35 why doesn't the device emulator provide support for camera input? Sep 06 02:07:02 It would be easy to ask for an image file to provide as fake input Sep 06 02:09:38 not really Sep 06 02:10:09 why not? Sep 06 02:10:15 it wouldn't at all simulate a camera, what you're asking for could be done by mocking the camera picture taking intent Sep 06 02:11:02 you can simulate a camera taking always the same image or you could provide a video in loop Sep 06 02:11:15 anyway it's easy to simulate a fake camera input Sep 06 02:11:29 yeah, no, it doesn't Sep 06 02:11:37 did I actually chase g00s off channel? :-( Sep 06 02:12:04 man, wifi dying on my 5x has sent data usage through the roof Sep 06 02:12:08 pfn: sure, not, why not? Sep 06 02:12:58 used 9gb already and 15 days left in plan cycle Sep 06 02:13:13 you are simulating a whole device but simulating a camera input would be out of question? Sep 06 02:13:33 Arancio, because it does nothing to help with testing focus, etc, anything you'd actually want to test if working g with camera Sep 06 02:13:54 stuff like cv is useless with a mocked camera Sep 06 02:14:16 Well, anything YOU would like to test Sep 06 02:14:43 anything anyone would want to test Sep 06 02:14:59 if anyone includes only you, that's true Sep 06 02:15:05 Arancio: I read somewhere that you can use a webcam to simulate ever since some new version... Though I don't really see the point, like pfn said. Sep 06 02:15:20 I would like to be able to "take a picture" without my application crashing Sep 06 02:15:36 clearly, you're right here, since mocking video in a loop is a feature offered Sep 06 02:15:42 I already gave you a solution Sep 06 02:15:50 and it has nothing to do with the emulator Sep 06 02:16:00 I actually dropped my phone data to 1g Sep 06 02:16:09 mock the camera intent and replace it with a photo picker Sep 06 02:16:30 this is irrelevant to the emulator Sep 06 02:16:48 I would appreciate a picture with random pixel instead of being forced to use my real device to test an app Sep 06 02:16:52 since this is what you're talking about crashing Sep 06 02:17:25 people could run they app in their heads too. No need to use an emulator. Sep 06 02:17:31 their Sep 06 02:17:44 just mock the device Sep 06 02:17:48 now you are misunderstanding logic Sep 06 02:18:13 anyway, keep asking for something no one needs Sep 06 02:19:26 no you are misunderstanding your needs for other people needs and ridiculing other people needs just because you don't share them. The only new thing that I got for this discussion is that you don't need that feature Sep 06 02:19:32 thank though Sep 06 02:21:54 so dramatic! :-p Sep 06 02:29:16 I'm getting this exception: Attempt to invoke virtual method 'android.content.res.XmlResourceParser android.content.pm.ProviderInfo.loadXmlMetaData(android.content.pm.PackageManager, java.lang.String)' on a null object reference Sep 06 02:30:08 on this line: photoURI = FileProvider.getUriForFile(getContext(), "com.example.android.fileprovider", file); Sep 06 02:30:14 file is not null Sep 06 02:30:36 Do i have to do something to make (6.0.1) run /system/etc/init.d/90userinit at boot ? Sep 06 02:31:21 WoC: is it a root kind of question? Sep 06 02:31:28 Nope Sep 06 02:31:48 Rather a Android start up question Sep 06 02:32:19 not an Android application development question, though, right? Sep 06 02:33:21 I see your point, sorry, any suggestions on where to go for Android System questions ? Sep 06 02:33:30 the problem in my code was that "com.example.android.fileprovider" was not the name I used in my manifest Sep 06 02:33:39 WoC: #android-root Sep 06 02:34:09 ok, ty. I dont see how its root related, but thanks Sep 06 02:34:35 WoC: give it a try. People goes there for that kind of questions usually Sep 06 02:37:30 Thanks Sep 06 02:38:02 You're welcome. Please spread around that I'm not a bad person as they say Sep 06 02:39:37 Heh, that's what we all say ;) Sep 06 02:39:45 -.- Sep 06 02:40:20 Do getting a preview and getting the whole picture file are mutually exclusive when taking a picture with an intent? Sep 06 02:41:01 I was getting the thumbnail. Now I passed the file to store the image and I'm not getting the thumbnail anymore Sep 06 02:41:01 Hmmm Sep 06 02:42:52 yes, they are mutually exclusive Sep 06 02:43:28 Guys, did you notice that today I answered several of my own question? I'm getting better at Android! Sep 06 02:43:30 does anyone know of an overview that explains all the different layout types? Sep 06 02:43:39 no, not really Sep 06 02:43:55 pfn: was that for me? Sep 06 02:45:46 greves: what's wrong with https://developer.android.com/guide/topics/ui/declaring-layout.html ? Sep 06 02:46:17 greves: I mean in addition to the fact that it's lacking in the illustration department... Sep 06 02:47:11 pfn: what was your "no, not really" referred to? Sep 06 02:47:52 Arancio, that doesn't explain what i mean... i'm saying, a comparison chart or examples of when to use / what features are included with: CoordinatorLayout, FrameLayout, LinearLayout, GridLayout, RelativeLayout, ScrollView, NestedScrollView, ..... etc Sep 06 02:47:58 there are so many layouts, i never know what to use Sep 06 02:48:32 I found the documentation lacking in that area too Sep 06 02:48:47 I guess the best is looking for specific tutorial on the interwebz Sep 06 02:48:51 for example, right now i want to have a recyclerview with a FAB and a collapsing toolbar that has a nice transition when FAB is pressed to fragment for adding a new item to the recyclerview Sep 06 02:49:39 transition to an activity, is that what you mean? Sep 06 02:49:41 should it be in a viewpager so i can get transition between fragments? a coordinatorlayout so i can get collapsing app bar? ... Sep 06 02:49:55 recyclerview and add new item are two fragments, same activity Sep 06 02:50:07 Anyway you'll have to break down your design in pieces and look for specific tutorials. Sep 06 02:50:47 strange design but I'm no authority Sep 06 02:50:59 what is a strange design? Sep 06 02:51:33 well, actually it would be same activity on the tablet, separate activity on the phone Sep 06 02:51:43 Ah, ok Sep 06 02:51:44 master > detail style flow Sep 06 02:52:04 I have no experience of that kind of design. Sorry. Ignore my opinion Sep 06 02:52:43 Anyway better if you look a specific tutorials. I found that even big books about Android never cover all layout options Sep 06 02:55:05 pfn: what was "no, not really" about? Sep 06 02:56:18 * pfn ponders having chicken and waffles again Sep 06 02:57:09 pfn: why are you pondering about chicken and waffles instead of telling me what was "no, not really" about? Sep 06 02:57:47 pfn: don't eat too much **** ENDING LOGGING AT Tue Sep 06 02:59:58 2016