**** BEGIN LOGGING AT Wed Mar 30 02:59:58 2016 Mar 30 03:01:33 Yeah, in another life I’ll go and dig into the source and try to figure out what exactly caused the error, maybe convert it to Parelable Mar 30 03:01:56 Experiment Mar 30 03:01:57 lol Mar 30 03:02:03 what is this for? Mar 30 03:02:34 things I can’t say :/ Mar 30 03:05:35 I want to buy a domain Mar 30 03:05:45 then buy one Mar 30 03:05:47 how do I pick one? rustyshackleford.com is already taken Mar 30 03:05:58 shacklefordrusty.com Mar 30 03:06:44 first-lastname.com? Mar 30 03:07:29 .me is cheaper Mar 30 03:07:47 but that is boring and uncreative Mar 30 03:08:27 shustyrackleford.com Mar 30 03:09:01 ustyrayacklefordshay.com Mar 30 03:10:15 hyphenate it, but then you have to explain the hyphen Mar 30 03:15:03 go for a a set of the characters in your name Mar 30 03:15:14 rustyhackleford Mar 30 03:17:06 buy "haveyouevereatchickerbefore.com" Mar 30 03:17:14 *chicken Mar 30 03:17:40 quit Mar 30 03:18:54 fail Mar 30 03:33:16 I'm using simplexml with retrofit to parse my xml responses Mar 30 03:33:56 if I declare a field as boolean, it handles "true" and "false" perfectly Mar 30 03:34:24 how do I make it so that "0" is false and "1" is true? Mar 30 03:34:27 craigslist add, android dev $20/hr lol Mar 30 03:34:36 just $5 above minimum wage Mar 30 03:34:40 in california :D Mar 30 03:34:50 custom converter, inject into the constructor, something else? Mar 30 03:35:54 california minimum wage isn't $20/hr Mar 30 03:36:01 er, isn't $15/hr Mar 30 03:37:02 g00s: hook me up with that ad? Mar 30 03:37:29 i've seen ones that offer money once the idea takes off, etc Mar 30 03:37:34 split it 50/50 lol Mar 30 03:37:45 convertible notes n stuff Mar 30 03:37:53 i had someone make that proposition to me.... i backed away very quickly Mar 30 03:38:00 pfn you are in California, right ? http://www.usatoday.com/story/money/2016/03/28/california-raises-minimum-wage-15-hour/82348622/ Mar 30 03:38:10 yeah, by 2022 Mar 30 03:38:21 1 dollar a year for 5 years, starting in 2017 Mar 30 03:38:34 do more than just read the headline Mar 30 03:38:42 thats how they get you every time! Mar 30 03:38:58 farken carrots mate.... Mar 30 03:40:04 wonder if android will be around 20222 Mar 30 03:40:10 lol 2022 Mar 30 03:40:24 windows phone's gonna have taken over Mar 30 03:40:51 by 2022 i'd think, phones would be gone as 4" rectangles with screens Mar 30 03:41:28 we need better sidekicks Mar 30 03:41:41 but still battery wont hold ` day Mar 30 03:41:43 1day Mar 30 03:42:12 hopefully by 2022 we would be off lithium ion batteries as we have now Mar 30 03:42:31 and 65k method limit Mar 30 03:42:38 that will still be there, sadly Mar 30 03:44:56 SF minimum wage will be $15 in 2018 Mar 30 03:45:18 AT&T is offering its home Internet customers who sign up for U-verse a way to get unlimited data with no caps. This can come in the form of a couple of different options. Mar 30 03:45:20 that's kinda nice Mar 30 03:45:52 not sure how anyone can live on 15 in SF Mar 30 03:47:00 that covers your rent Mar 30 03:47:09 pfn i noticed t-mo might offer data only plans, have you ever seen that before ? Mar 30 03:47:09 Android dev, 20/hr.. “it’ll only take about 5 hours" Mar 30 03:47:30 seen what? data-only? or that tmo news Mar 30 03:47:36 data only Mar 30 03:47:45 I don't know about in the US Mar 30 04:09:08 is there a way to expose a constructor to my test cases but not the rest of my application? Mar 30 04:15:22 RustyShackleford: Not really, you can use the @VisibleForTesting annotation to flag such cases Mar 30 04:16:32 does the annotation do anything? Mar 30 04:16:41 show a compile warning or something? Mar 30 04:16:52 or its just for other developers to see Mar 30 04:19:37 I could also make it package private Mar 30 04:21:48 No it doesn't Mar 30 04:22:06 Putting the tests in the same package is the usual way but not always an option Mar 30 04:23:34 http://gizmodo.com/the-maker-of-java-is-seeking-9-3-billion-from-google-1767905244 Mar 30 04:23:37 HOLY FUCKING SHIT Mar 30 04:23:44 wow Mar 30 04:23:53 getting dsperate Mar 30 04:46:11 I thought oracle gave that one up Mar 30 04:46:19 haven't heard anything about it in a few years Mar 30 04:50:59 I thought SUN made java Mar 30 04:52:42 oracle is the hogger of java not maker Mar 30 04:53:23 oracle has bought sun Mar 30 04:53:25 so... Mar 30 04:53:52 languages should be forced to go public when they become popular, so that it can't be closed and controlled by a corporation Mar 30 04:54:17 public owned Mar 30 04:54:26 why? Mar 30 04:54:28 thats retarted Mar 30 04:54:40 you can't see why? Mar 30 04:54:42 well.. I dont understand one thing Mar 30 04:54:49 there's JSR group and google is in it Mar 30 04:55:28 so a company makes a technology thats good, and it therefore becomes popular, so you suggest they shouldnt see profit from their work? Makes sense /s Mar 30 04:55:58 they shouldn't see creating a language as a product to profit on Mar 30 04:56:12 oracle makes that from the start ;) Mar 30 04:56:16 if they expect the language to become popular and used worldwide Mar 30 04:56:23 same with dn afaik Mar 30 04:56:28 suing ;) Mar 30 05:18:07 rms is somewhat right about that java trap... Mar 30 05:18:11 sadly Mar 30 05:20:26 oracle makes a shitton of profit off of java already Mar 30 05:20:29 services and products Mar 30 05:20:42 the language and api should never be subject to that Mar 30 05:24:41 What Java trap? Mar 30 05:30:00 hi all, i have a problem regarding the camera as it is not opening. I just ported a rom Ressurection remix for mtk6582. Every other bug is fixed. but this one is left. anybody here to help? Mar 30 05:32:34 anybody here? Mar 30 05:38:11 Norsky: you might want to check the channel topic Mar 30 05:45:08 hi! Mar 30 05:45:22 I need some help with the experimental gradle plugin Mar 30 05:45:58 what is the difference from ldLibs.add("log") and dependencies {library "log" linkage "static" } ? Mar 30 05:46:17 *difference between Mar 30 05:52:45 what is ldLibs used for? where can I find out more about how to use it? Mar 30 05:56:18 can ldLibs.addAll() be replaced with dependencies {library "some_lib" linkage "linkage_type } ? Mar 30 06:00:51 CedricBeust, what google is going through with oracle Mar 30 06:03:30 hi all Mar 30 06:04:09 is there a way to disable scrolling in a listview while maintaining the ability to have touch events? Mar 30 06:15:24 Hi guys, I'm using a fragment with edittext at the bottom of the fragment. I have windowSoftInputMode = "stateHidden|adjustPan". the first time edittext is selected, the view moves up, but the second time edittext is selected, the view doesn't move and the keyboard comes on top of the view. Any idea what could be the issue? Mar 30 07:07:00 hey y'all Mar 30 07:07:27 -_- anyone familiar with JSON and posting images by url ? Mar 30 07:08:09 i got a JSON which contain bits of info that i construct an image url from it and i want to display it in android, but not sure how? Mar 30 07:08:28 so you have image url Mar 30 07:08:47 i got an Asyntask to retrieve the JSON and construct the image url from it, which changes : http://pastie.org/10778871 Mar 30 07:09:34 use Picasso or Glide to load image from url into imageview Mar 30 07:09:45 yeah but i was only able to post it as textView so far as addresses, and from there kind of stuck, started to learn how the Universal Image Uploader works, but got stuck ? Mar 30 07:10:05 so you want upload image or download Mar 30 07:10:45 download it (well only display it on the phone ) Mar 30 07:11:11 several of them depedning on the JSON Mar 30 07:11:29 I just installed LeakCanary and I got a Leak notification due to a Toast, [http://dpaste.com/1YX3S8V] I don't even have a toast in my activity o.O Mar 30 07:11:50 as i said use picasso or glide. there is one-liner to get url into imageview Mar 30 07:13:13 astroduck: https://github.com/antoniolg/androidmvp/issues/9 Mar 30 07:13:45 Show some code from you Activity, there must be a Toast somewhere Mar 30 07:14:06 You are leaking context somewhere Mar 30 07:14:54 SplashActivity? :s Mar 30 07:15:15 Don't judge me Mar 30 07:15:16 yeah but the obstacle i am facing is how do i convert the textViewImagesList.setText(result); at the end of the AsynTask ? Mar 30 07:17:18 convert to what Mar 30 07:19:09 g00s: ! Mar 30 07:19:13 go to sleep man Mar 30 07:19:22 yes :) Mar 30 07:19:26 gnight Mar 30 07:19:30 night Mar 30 07:22:32 well, conver it to a list of url, since now i am just getting a string . Mar 30 07:24:02 barq: Here's SplashActivity [http://dpaste.com/1XR9CJQ] Mar 30 07:24:51 and BaseActivity just contaiins functions to add Requests to Volley request queue and end them in onDestroy, nothing fancy Mar 30 07:25:38 Try removing mContext and use getContext() when needed Mar 30 07:26:12 Ashiren, ill try something ... brb Mar 30 07:26:23 mContext = SplashActivity.this; o.O Mar 30 07:27:13 Your Activity leaks, because you hold a reference to is via that line ^and when you have a config change LeakCanary complains Mar 30 07:28:04 But its not a static member, why would it cause a leak Mar 30 07:28:36 Any functions that I pass mContext to finish without storing that reference anywhere Mar 30 07:29:34 I made that variable because its an old (and weird) habit Mar 30 07:30:51 if you need context use getApplicationContext() Mar 30 07:35:09 Ashiren: switched to application context, still got the same leak message Mar 30 07:35:21 oh Mar 30 07:40:29 Ashiren kind of got it working for only one pic, need to figure out how to display several ... thank you. Mar 30 07:53:26 astroduck: Because your context still references the Activity after it is destroyed. Mar 30 07:54:48 barq: you mean the mContext object? Mar 30 07:55:06 yes Mar 30 07:55:18 No, I removed it as well, it still leaks Mar 30 07:55:39 I do similar thing in many other activities, none of them leak Mar 30 07:56:43 What did you remove? Mar 30 07:57:34 The mContext object and switch from mContext to getApplicationContext() everywhere in this activity Mar 30 07:57:53 Please show the updated code Mar 30 07:59:10 barq: Here it is: http://dpaste.com/10NR8JZ Mar 30 07:59:53 But why does LeakCanary say Toast, there is no toast Mar 30 08:00:22 Still exactly the same trace from leakcanary? Mar 30 08:01:08 Yes Mar 30 08:01:38 Maybe an sdk leak, I would file an issue here https://github.com/square/leakcanary/issues Mar 30 08:01:53 Then others may be able to help as well Mar 30 08:02:30 The AsyncTask looks a bit dangerous, have you tried without it? Mar 30 08:03:33 I'll try making it static and also the Runnable Mar 30 08:03:52 hi! where can I find documentation on the android gradle plugins? (stable and experimental ones) Mar 30 08:04:42 Be careful with anonymous inner classes Mar 30 08:04:49 I had a bunch of leaks in my app due to those Mar 30 08:33:32 astroduck: Any luck? Mar 30 08:41:15 barq: Sorry, was afk for a second, removed handler and made AsyncTask static, used eventbus to start next activity for now, but I still got the leak with same message. Source: http://dpaste.com/176FSBG Mar 30 08:42:47 You're still passing context to the AsyncTask, though Mar 30 08:44:19 barq: Its Application Context Mar 30 10:13:22 why when i make pragmatically invisible a view inside a father relativelayout also the father become invisible? Mar 30 10:17:20 skin1980, what? Mar 30 10:17:50 i have a relative layout and inside it a scrollview and a view that should overlay all Mar 30 10:18:15 relative ( scroll - overlayview) Mar 30 10:18:32 the overlayview is big as relative Mar 30 10:19:05 when i set myview.setvisibility(view.GONE) also the background disappear Mar 30 10:19:19 i mean the scrollview Mar 30 10:20:13 pastebin your layout Mar 30 10:21:16 http://pastebin.com/xp3J6tqy Mar 30 10:22:19 Zharf: the last relative should cover all and i want make it visible or invisible within my activity Mar 30 10:27:05 your ScrollView height should probably be match_parent Mar 30 10:28:56 that doens't fix the issue Mar 30 10:29:03 unluckily Mar 30 10:31:07 Zharf: when i set the view visible all the layout become white and not black as it should Mar 30 10:37:11 skin1980, works for me Mar 30 10:37:24 lol Mar 30 10:37:32 thats something in my code then Mar 30 10:38:16 Zharf: can i ask u a thing more Mar 30 10:38:42 I just did http://877b90578d8a022d.paste.se/ as a quick test on your layout Mar 30 10:38:51 it flashes black Mar 30 10:39:02 ok Mar 30 10:39:18 if i save the contentview state Mar 30 10:39:55 ...well... how can i save the contentview state .... load a different contentview layout ... and then restore back the 1st Mar 30 10:42:47 well since the stuff you have there looks like settings of sorts, you should probably save the values somewhere, like sharedpreferences, and then load them back in onResume from said sharedpreferences, or something Mar 30 10:44:23 thanks for the suggestion Mar 30 11:17:35 is it possible to create simple java library with org.json dependency from android.jar as provided scope ? Mar 30 11:17:56 or I need to create android library Mar 30 11:22:48 Hey I got two questions about Picasso. http://pastebin.com/DUCh9AtF I'm trying to cache three images. First, can I load them all at once? Or do I have to make three seperate .load()/.fetch() calls? Second, when cached, how do I access the images from another activity? Mar 30 11:30:37 is there a quick and easy way to produce a pop-up or a toast from shell (adb, ssh) ? Mar 30 11:31:09 no Mar 30 11:32:17 how to call tasker from shell ? I could set a tasker function to produce the pop-up; but I don't know how to call tasker from shell Mar 30 11:49:49 gaps is require for gps on genymotion ? Mar 30 11:54:38 Hi all. Is it possible to detect if a Fragment is child of a ViewPager? Mar 30 11:56:58 Yes Mar 30 11:56:59 Sec Mar 30 11:57:25 As the currently viewed fragment? Or in general? Mar 30 11:58:26 You should be able to do it via the adapter easily enough Mar 30 11:59:00 on a Fragment class instance. I need to know when a Fragment becomes visible, attacted to an Activity or ViewPager Mar 30 11:59:17 override setIsUserVisible Mar 30 11:59:23 Inside the frag Mar 30 12:00:18 I use something like that but how can I know if the Fragment is in a ViewPager if the view isn't created yet. setMenuVisibility is called before onViewCreated Mar 30 12:00:30 https://stackoverflow.com/questions/10024739/how-to-determine-when-fragment-becomes-visible-in-viewpager Mar 30 12:01:00 setMenuVisibility was a workaround because setUserVisibleHint() was broken Mar 30 12:01:13 I meant setUserVisibleHint() before, note setIsUserVisible Mar 30 12:01:18 not* Mar 30 12:03:05 oké but if you use setUserVisibleHint. You know when the fragment is visible. But still, you don't know if the Fragment is used inside a ViewPager or not Mar 30 12:04:30 Make a method inside the adapter of something like public boolean isVisibileByTag(int tag){return position==tag} Mar 30 12:05:10 Can't you use viewpager OnPageChangeListener? Mar 30 12:05:19 Seems like you're over complicating this... Mar 30 12:06:08 I'm developing something to use in my BaseFragment. And make something work for Fragments inside a ViewPager and without a ViewPager as parent Mar 30 12:07:23 Can't be done via an interface? Mar 30 12:08:56 How would you do this? Mar 30 12:09:44 like you have FragmentA class and 2 instance, instance1 is used in a ViewPager and instance2 is added to an Activity. How can you know the difference with an interface? Mar 30 12:11:22 sec Mar 30 12:13:02 Anyone got some insight on loading multiple images at once with Picasso? Can I load them all at once from one instance of Picasso or do I have to load them each seperate? Mar 30 12:17:30 why gps does not work on Genymotion ? Mar 30 12:19:04 FrancsecoV, gimme a few minutes, will make you an example Mar 30 12:20:47 NoirvAvlaa: ok, thanks!! Mar 30 12:30:05 why does not work gps on Genymotion ? Mar 30 12:33:01 hi all. how do i disable TalkBack for soft keyboard in my app only? or get soft keyboard View at least? Mar 30 12:34:12 FrancsecoV, this is a very fast code example, but is this the kind of thing you're after? Mar 30 12:34:14 https://github.com/Contract16/ViewPagerFragmentDetection Mar 30 12:39:05 NoirAvlaa: I see, well, the only problem is that this isn't really a good solution for making something for a BaseFragment. makes all the Fragment creations must be set the parameter Mar 30 12:39:39 So you want some fragments to be detected in viewpager, some in a window, and some in both or none? Mar 30 12:40:20 Because if that's the case then I think you may need to rethink your design? Mar 30 12:42:29 No, I'm creating something to easilly use a FloatingActionButton in an Activity and make the Fragment decide what kind of FAB it must be (icon etc.). So every time a Fragment is visible, the FAB of the activity must be updated Mar 30 12:45:05 Oh Mar 30 12:45:05 Yeah Mar 30 12:45:11 Interface Mar 30 12:45:30 Define an interface inside the fragment Mar 30 12:45:33 Implement it in the activity Mar 30 12:46:18 Will update that code, sec Mar 30 12:52:49 FrancsecoV, updated it Mar 30 12:53:50 FrancsecoV, Replace the onClickListener with setUserVisibleHint() and use mListener in there to pass data back to the activity Mar 30 12:54:19 You can implement the listener in a base fragment and extend it and it'll work fine Mar 30 12:56:01 NoirAvlaa, thanks a lot! I can't check the code right now but I will tonight. Thanks for the help! Mar 30 12:56:13 It's in the same repo mate Mar 30 12:56:24 I just updated it to include the interface Mar 30 12:58:58 I know but I have a meeting right now Mar 30 12:59:06 :) Mar 30 13:23:58 Any ideas on fading out a button when it's clicked? Mar 30 13:30:17 Bernzel: what's the issue, onClick gets the View clicked in the method call Mar 30 13:32:30 thepoosh: no issue. I just wanted to hear what methods are being used to accomplish it. I found a decent way of doing it now though. Mar 30 13:32:55 there are built in ways to animate views Mar 30 13:34:26 Indeed, I simply create an Animation and .startAnimation() on my elements I need to fade out. Works pretty good Mar 30 13:49:36 thepoosh: I could use some help with finding out when the animation is done though. Line 76: http://pastebin.com/ZDeXvq6M I can receive a flag when animation is done. But this .hasEnded() must be checked continuously somewhere I believe? Mar 30 13:50:13 Since the method it's in will execute once without the animation being finished by then. So I need to check .hasEnded somewhere else Mar 30 14:00:05 sup boys Mar 30 14:03:50 Bernzel, check this, it could be what you need: http://pastebin.com/g2xz9t9m Mar 30 14:03:59 Bernzel: http://developer.android.com/reference/android/view/ViewPropertyAnimator.html Mar 30 14:04:08 you need to use withEnd Mar 30 14:04:22 *withEndAction Mar 30 14:04:55 Thanks I'll give it a crack Mar 30 14:07:27 <[7F3DEA92]> Can I install Roboto mono on Windows? :o Mar 30 14:08:16 thepoosh: sorry for continuously asking. But your code brought up another topic I've been wondering about. It requires API level above 14 and I support down to API 11. Do you check which build the user is running and use different sorts of methods depending on which API they run? Mar 30 14:10:53 I see I can add Annotations to the method, but I can't see this being a sustainable solution Mar 30 14:17:17 Bernzel, yes you check and use appropriate methods Mar 30 14:18:52 Cool thanks, NoirAvlaa Mar 30 14:19:11 Bernzel, if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.ICE_CREAM_SANDWICH) {}else{} Mar 30 14:19:49 NoirAvlaa: But I will still need to put Annotations ("@TargetApi") on the methods to make the error vanish? Mar 30 14:20:01 Not if you wrap it like that Mar 30 14:20:16 Oh, yeah if it's on the method call Mar 30 14:20:56 if statement for the actual handling of it though Mar 30 14:21:04 Gotcha , thanks Mar 30 14:24:56 What happens if your own code calls a method annotated for a version that is greater that the running api version? Mar 30 14:27:36 hello,im using an asynctask with doInBg and onProgressUpdate, it seems while onProgressUpdate is running, doInBg still continue to work Mar 30 14:28:06 i need to stop doInBg method(bg thread) , untill onProgressUpdate(main thread) completes its work Mar 30 14:29:52 any suggestions ? i've had a look java.util.concurrency, for instance semaphore countdown latch or smt, can i get what i want from these ? Mar 30 14:32:03 A further explanation of my question here: http://hastebin.com/kiruxewuza.java Mar 30 14:32:56 sci-fic: thats not really possible without ugly hacks. Mar 30 14:34:40 truckcrash: it will run the method Mar 30 14:34:43 or try to Mar 30 14:35:06 TargetApi annotation is only for code analysis purposes Mar 30 14:35:27 so you will get a warning everytime you call it if you dont check the api version Mar 30 14:35:46 so when a function is called that does not exist in that api is called, and exception of some sort is thrown? Mar 30 14:35:56 yep Mar 30 14:36:11 Do you happen to know what type of exception it is? Mar 30 14:36:34 I got a design question for you guys Mar 30 14:37:12 So say my app allows users to create and save X, and when X is saved on the device, X is also saved to the server Mar 30 14:37:19 thepoosh: btw , the view I'm animating is the one in the constructor of my onClick method to the button & textview that should animate. So when animating that view, nothing happens since the button and textview has no relation to the view in the constructor. So do I need to add a relation with my ui elements to the view of the click method ? Mar 30 14:37:36 truckcrash: NoSuchMethodError Mar 30 14:37:45 But sometimes, the backup to the server will fail, so when the backup fails, I put the X in a local db table, to be backed up later Mar 30 14:38:19 Now im trying to figure out the best time to query the to be backed up queue and try to save to server again Mar 30 14:38:19 In android Studio... I want to include a README.md file... Ideally at the Root. is there a Best Practice for this? Mar 30 14:38:54 jvrodrigues, ok thanks. Mar 30 14:38:55 Did anyone see that? Mar 30 14:39:22 drose379: maybe a syncadapter would be useful in this case? Mar 30 14:39:44 Never heard of that but maybe, Id like to tell you about what im doing now though Mar 30 14:40:14 Basically whenever a certain activity opens, I open a new thread with a runnable and query the local DB, if any X's in the table, I attempt to save to server Mar 30 14:40:21 But I feel like this is wrong Mar 30 14:41:20 you can also add a sync button or something Mar 30 14:41:33 where you query everything on the table and sync with the server Mar 30 14:41:40 I want it to be done without the user really having to worry about it though Mar 30 14:42:11 This will work, but im affraid the user may open the activity, the thread will start, then they will close it and re-open it for some reason, then I will have 2 of the same threads running Mar 30 14:42:17 hum, I would probably just sync everything everytime the app opens or the user updates the data Mar 30 14:42:37 So every time the app opens as opposed to every time an activity opens? Mar 30 14:42:42 or the user swipes to refresh or something Mar 30 14:42:47 activity also works I guess Mar 30 14:43:18 Isnt it a risk that the user will open the activity, close it and then re-open it though Mar 30 14:43:24 hello Mar 30 14:43:30 Resulting in multiple of those same background threads running Mar 30 14:44:16 i'm having some troubles on a application that disapeard i dont know how but the folder of the installation is there Mar 30 14:44:20 how can i run it? Mar 30 14:44:41 drose you can control that Mar 30 14:44:48 maybe using a manager of sorts Mar 30 14:44:54 im not a big fan of managers though Mar 30 14:45:05 How would you do this? And how would a manager work Mar 30 14:45:32 well a singleton class that delegates network calls Mar 30 14:45:37 and makes sure only one happens at a time Mar 30 14:45:53 True I would only need that for this one call though Mar 30 14:46:16 Hmm Mar 30 14:46:40 Zharf: Hi, i solved my issue using ViewSwitcher Mar 30 14:47:23 Any other way you can think of jvrodrigues Mar 30 14:47:39 static boolean on activity? Mar 30 14:47:54 Hmm true, yeah why not Mar 30 14:48:41 i had tried am start but i cant find the class id for the application i looked in the XML Manifest for the app anyone wanna take a look? Mar 30 14:48:46 Thanks jvrodrigues Mar 30 14:48:53 no worries Mar 30 14:49:21 rngmasterz99: I think you are in the wrong channel Mar 30 14:49:26 you had an app installed that disappeared? Mar 30 14:49:44 im in android-dev right? Mar 30 14:49:45 or the source code of your app disappeared from your pc? Mar 30 14:49:58 the app installed Mar 30 14:49:59 yes, android-dev, not android-IT Mar 30 14:50:22 we build apps, we dont maintain devices Mar 30 14:50:25 well i dont know the channel but do you know a way to get this app runing again? Mar 30 14:50:31 I have no idea Mar 30 14:50:36 never happened to me really Mar 30 14:51:26 or how do i run an app from terminal? Mar 30 14:51:52 wait, do you have the apk? Mar 30 14:52:13 i do Mar 30 14:52:27 adb install path/to/apk? Mar 30 14:53:25 i think i cant install this app again when i try the playstore it gives me the error 110 i already did the clear cache things and nothing resolve it Mar 30 14:53:59 and when i try install from the terminal emulator with pm install .apk it gives me an error Mar 30 14:57:02 doing adb install isnt the same thing as installing it from the terminal emulator? Mar 30 15:03:18 Hi. i'm using a viewpager with a TabLayout. The problem is that when the activity that contains the twos starts, the tablayout starts from the right and the first element that is active at the start, is hidden. I've a screenshot here: http://imgur.com/ZR1CeeP Mar 30 15:07:58 rngmasterz99, terminal app on device doesn't have permission Mar 30 15:08:12 adb has adb permission Mar 30 15:09:11 rngmasterz99, if you want to install on-device, you must am startactivity -a VIEW -d file:///apkpath Mar 30 15:11:29 pfn i have root terminal Mar 30 15:11:55 so you claim Mar 30 15:11:57 pfn root uid 0 on terminal Mar 30 15:12:10 pfn im going to try that thanks Mar 30 15:15:37 pfn startactivity unknown command Mar 30 15:16:03 am Mar 30 15:16:22 pfn yes i did that Mar 30 15:16:54 #android-root, not interested in supporting a root issue Mar 30 15:17:48 i got root im using virtual box Mar 30 15:18:07 with android 4.4 Mar 30 15:18:58 i think it has to have a space Mar 30 15:19:01 start activity Mar 30 15:19:52 pfn now it says unable to resolve intent whats that mean Mar 30 15:20:58 jvrodrigues: what u mean by ugly hacks ? an infinite loop maybe ? Mar 30 15:24:02 pfn unable to resolve intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10000000 pkg=activity } Mar 30 15:28:34 Not sure there are any Libgdx people here, but I used this algorithm: http://pastebin.com/LpQiChrq to crop images to circles (much like instagram's profile images). I wonder if I can adopt this method into vanilla Android in some simple way. I'm not sure how Pixmaps corresponds to let's say an ImageView Mar 30 15:30:04 sci-fic: yes Mar 30 15:30:12 does anyone know why i am getting this error using Universal Image Loader ; http://pastebin.com/emRFyScp Mar 30 15:30:26 it the UIL only works when i pass it one address, through JSON, but when i try to create a an ArrayList from that JSON that contains several address and pass the ArrayList to the UIL i get this error Mar 30 15:30:34 UIL doesn't support scheme(protocol) by default ? Mar 30 15:32:42 I am having an issue trying to debug an app on a phone. Can anyone help ? This is the error : java.io.IOException: An existing connection was forcibly closed by the remote host Mar 30 15:39:11 how can i know the activity class of a app Mar 30 15:49:48 Hi. i'm using a viewpager with a TabLayout. The problem is that when the activity that contains the twos starts, the tablayout starts from the right and the first element that is active at the start, is hidden. I've a screenshot here: http://imgur.com/ZR1CeeP Mar 30 15:50:10 Sorry for resending the message, but i got connection problems Mar 30 15:53:11 LucaS05: mind posting the code Mar 30 15:54:25 orbyt_: this is the code where i set the tabLayout http://pastebin.com/FmamBsRa Mar 30 15:54:52 i'm using the android.support.design.widget.TabLayout view Class in the XML Mar 30 15:54:59 I've got Bug using RecyclerView with Databinding. On an Tablet Emulator All Items are binding. Mar 30 15:55:50 LucaS05: post your layout Mar 30 15:56:21 orbyt_: http://pastebin.com/g9Aggbkn Mar 30 15:57:22 Anyone tried this library? https://github.com/lopspower/CircularImageView Mar 30 15:57:29 I'm building an app and I'm trying to replicate the activity setup as it looks like here https://youtu.be/BlkJzgjzL0c?t=9m47s My question is, if I load data on every onStart isn't that wasteful? Mar 30 16:00:30 LucaS05: You sure you dont have something else setting the current tab? It works fine for me. Try manually setting the selected tab. Setting your tablayout to width=match_parent would probably make more sense for you. Mar 30 16:01:16 orbyt_: i will try the layout_width now Mar 30 16:03:24 I've got Bug using RecyclerView with Databinding. On an Tablet Emulator All Items are binding. Has someone experience using Recyclerview with Databinding Mar 30 16:04:34 orbyt_: you got it! Thanks. The problem was the layout_width="wrap_content" Mar 30 16:22:18 bash is coming to windows :O Mar 30 16:26:49 "Ubuntu users will be able to run Ubuntu simultaneously with Windows. This will not be in a virtual machine, but as an integrated part of Windows 10." Mar 30 16:26:50 huh Mar 30 16:29:10 no more shitty, shitty windows command line? Mar 30 16:29:15 * g00s checks to see if april 1 Mar 30 16:29:28 rip ubuntu Mar 30 16:29:36 doubt it Mar 30 16:29:41 s73v3r details fuzzy, i guess its not barcolna but some kind of container Mar 30 16:29:49 s73v3r: just a wish ;) Mar 30 16:29:57 g00s: what’re they talking about now regarding Age of Empires? Mar 30 16:30:00 something with steam? Mar 30 16:30:10 Does someone have experience with implementing Google Calendar Api on Android? Mar 30 16:30:26 nope Mar 30 16:30:27 is the preferred method to ues the API directly? or to use Calendar Provider and sync that with Google Calendar? Mar 30 16:30:44 logicp: I think it’s to use the Calendar Provider Mar 30 16:30:52 s73v3r: first unity, then mir now windows ? srsly ? Mar 30 16:31:05 reaaaaaally..! Mar 30 16:31:18 I've been meddling with the Google api .. Mar 30 16:31:32 Any reason why I should call adapter.notifyDataSetChanged instead of creating a new adapter and setting it? Mar 30 16:31:44 I suppose Provider syncs up with Google Calendar so long as it's setup on the device Mar 30 16:31:45 logicp: they might not be using Google calendar Mar 30 16:31:53 Is there a big market to gain by making my app compatible with < 11 API ? Are there really people using such old software? Mar 30 16:32:08 Bernzel_: Check out your users, but probably not Mar 30 16:32:15 good point.. this was more of an educational experiment for myself Mar 30 16:32:32 logicp: however, the content provider is pain, because the shitfuckers at Samsung decided to be cute Mar 30 16:33:20 sheeeeit... well then i suppose I'll be back here asking more questions ;) Mar 30 16:35:11 http://blog.jetbrains.com/kotlin/2016/03/kotlins-android-roadmap/ Mar 30 16:35:25 "but we plan to work together with the Google team to either resolve the issues or provide workarounds on our side. " thats nice Mar 30 16:37:55 hm interesting too "lambdas in Java 8 on Android are not at all free, and one should probably think twice every time and choose between good code and performance. In Kotlin, the need for such compromises is greatly reduced, and you can use lambdas as much as you need to express the ideas in your code." Mar 30 16:38:21 g00s: where is that from? Mar 30 16:39:23 http://blog.jetbrains.com/kotlin/2016/03/kotlins-android-roadmap/ Mar 30 16:39:26 thepoosh ^^^ Mar 30 16:40:08 work with google = file issues on tracker that never get resolved Mar 30 16:43:55 although, this is something that should have done by scala, a similar post Mar 30 16:44:30 as for what jetbrains is referring to, lambdas work like how retrolambda implements them Mar 30 16:44:49 kotlin does their own thing unless interop requires it Mar 30 16:49:30 the question is how are lambdas in java8 Mar 30 17:14:12 Do you know some material about android Canvas ? I'm going to create a custom Pin with circles, I haven't found that much material on d.android.com Mar 30 17:15:38 wviana reto had a good chapter about 2d drawing in his book Mar 30 17:15:49 but yeah, dunno about official docs Mar 30 17:16:01 g00s: reto ? Mar 30 17:16:09 reto meier Mar 30 17:16:55 wviana, hmm, what kind of material do you need? Mar 30 17:17:01 What's unclear? Mar 30 17:18:14 Mavrik: Actually it's one of the first things that I'm going to draw by myself. I did something like that in to my cluster pins, but copping other codes. Mar 30 17:19:32 wviana the old legacy ApiDemos had some good stuff Mar 30 17:19:37 in samples Mar 30 17:20:01 that makes the most sense documenting 2d graphics API : show picture, show code, rpeeat Mar 30 17:20:06 *repeat Mar 30 17:21:31 wviana, canvas.drawCircle Mar 30 17:21:49 android canvas behaves more or less like any canvas on other platform & programming langues Mar 30 17:49:38 * beanbag- bbl getting some peppermint altoids to sooth his throat Mar 30 18:12:13 "getprop ro.product.device" <= how do I do that? is that info be acquired with the aapt command? Mar 30 18:17:17 cybrNaut: http://stackoverflow.com/a/21099766/1056359 Mar 30 18:17:29 cybrNaut: Wrong channel. Try #android-root Mar 30 18:18:58 g00s: have you seen this? Mar 30 18:18:58 http://techcrunch.com/2016/03/30/be-very-afraid-hell-has-frozen-over-bash-is-coming-to-windows-10/ Mar 30 18:19:12 yeah ... Mar 30 18:19:24 thepoosh if i read correctly, not just bash but most ubuntu linux Mar 30 18:19:29 does this mean cygwin will be dropped? Mar 30 18:19:46 i like the UNIX file systems Mar 30 18:19:51 will its just ubuntu, cygwin is something else but yeah Mar 30 18:19:54 thepoosh: ah, thanks! Mar 30 18:19:57 and kinda hope FAT and NTFS will be dropped Mar 30 18:20:04 oh, no i doubt that Mar 30 18:20:12 why? Mar 30 18:20:23 and doubt what? Mar 30 18:20:24 this is for developers mostly Mar 30 18:20:56 i think that having a folder named "Program Files (x86)" Mar 30 18:21:07 is an abomination Mar 30 18:21:10 lol Mar 30 18:21:17 yeah, I don’t see MSFT dropping NTFS for anything, unless they for some reason resurrect WinFS Mar 30 18:21:19 spaces and special chars Mar 30 18:22:08 ms and ubuntu are working on a container tech but its not done yet Mar 30 18:22:25 there should be a filesystem where you can use unicode emoji for filenames Mar 30 18:22:55 s73v3r: i hope you die Mar 30 18:23:07 in the best way possible Mar 30 18:23:08 then I could have a swift file named :D.swift, with func :), func :O, and func :( Mar 30 18:23:21 :`( Mar 30 18:23:48 thinking about the cool file name Mar 30 18:24:02 would be nice if windows, ubuntu, and OS X could just use ZFS :D Mar 30 18:24:14 ZFS is nifty Mar 30 18:24:17 :(){ :|:& };: Mar 30 18:24:23 i think i’ve seen a ZFS FUSE driver for OS X Mar 30 18:24:24 and then running ls Mar 30 18:25:05 g00s: http://api.ning.com/files/kV4MbYiv7oQbQEv9*WlARRS0C5nPlQnz3S4MaNC7ezOqFqgpOE6QWHErjfNQHWlyky1wuonyztau-JXfOBNe2jMDq7FM9TgA/1082063965.jpeg Mar 30 18:25:07 this is you Mar 30 18:25:29 thepoosh lol Mar 30 18:26:46 there is a ZFS replacement that's compatible with linux licensing Mar 30 18:26:49 forgot what it was called Mar 30 18:30:22 g00s: and here is the reason i fucking hate r/android-dev: http://imgur.com/p9BUafC Mar 30 18:30:37 they link to invalid imgur links? Mar 30 18:31:06 worked for me... Mar 30 18:31:19 second time’s a charm, i guess Mar 30 18:31:31 thepoosh what part about that, hipster, rxjava ? Mar 30 18:31:37 thepoosh: you don’t like rxjava? Mar 30 18:31:38 yes Mar 30 18:31:57 i don't care about it that much but i hate the hipster hype around it Mar 30 18:32:02 i like rxjava but only use it in a few places Mar 30 18:32:09 hes one of the major contributers tho.. Mar 30 18:32:11 i think some went crazy and tried to rx all the things Mar 30 18:32:24 orbyt_: ? Mar 30 18:32:26 like UI widgets, etc Mar 30 18:32:36 thepoosh: artem Mar 30 18:32:38 just wait until the have RxMVP Mar 30 18:32:50 thepoosh: its called nucleus Mar 30 18:32:56 ;) Mar 30 18:33:07 please tell me you're joking Mar 30 18:33:12 ^^ This guy, this guy fucks Mar 30 18:33:13 no its great Mar 30 18:33:36 i guess the spring react core is android compatible Mar 30 18:33:36 :S Mar 30 18:33:45 https://github.com/konmik/nucleus Mar 30 18:34:09 also waiting for Quasar port to android, thought that would be here now Mar 30 18:34:20 anyone know how to use the ConnectivityManger to list networks available? Mar 30 18:34:41 rtfm + stackoverflow Mar 30 18:35:05 thepoosh you dawg, i'm putting a bottom sheet in my nav drawer ... Mar 30 18:35:06 unfortunately how it should go doesn’t appear to be working Mar 30 18:35:32 lol Mar 30 18:35:43 i heard you like drawer Mar 30 18:36:14 lol yeah Mar 30 18:37:53 thepoosh i think you do too, but google wouldn't give you guys a break :D Mar 30 18:37:57 admit it ! Mar 30 18:38:05 lolz Mar 30 18:38:16 if only i could get my drawer on Mar 30 18:39:28 so nothing on getting the list of available networks using the connectivity manager? Mar 30 18:39:49 .getAllNetworks isnt working? Mar 30 18:40:23 don’t know; wasn’t using that. i’ll try it Mar 30 18:40:34 i was using requestNetwork Mar 30 18:41:12 s73v3r: http://stackoverflow.com/a/18741306/1056359 Mar 30 18:41:27 thepoosh: can’t use that Mar 30 18:41:46 WifiManager doesn’t let you connect, and stay connected, to a network with no internet connection Mar 30 18:42:19 we’re currently using WifiManager, and the problem is that after a little bit, Android will switch from the network we set to another one because it detects there’s no internet connection Mar 30 18:49:25 s73v3r: http://stackoverflow.com/a/7527380/1056359 Mar 30 18:50:12 how does that stop the system from switching networks after a little bit? Mar 30 18:51:00 s73v3r thepoosh have you guys read any good tech books lately ? Mar 30 18:51:10 haven’t been looking, no Mar 30 18:51:27 g00s: i listen to fragmented Mar 30 18:52:08 do you guys do anything outside android? i think s73v3r you do iOS also right ? Mar 30 18:52:30 i don't really Mar 30 18:52:42 interested in many things but work full time ++ in android Mar 30 18:53:42 there's stuff outside of android?! Mar 30 18:54:12 :D Mar 30 18:55:22 man thats awesome, so windows is running unmodified ubuntu ELF binaries w/o an emulator or container Mar 30 18:55:51 "real time translation of Linux syscalls into Windows OS syscalls." Mar 30 18:56:03 security issues ahead :) Mar 30 18:56:13 no one will ever have to use the shitty CMD prompt again Mar 30 18:56:29 and with Affinity Designer coming to Windows, maybe time to give up my MBP Mar 30 18:56:54 sadly a lot of embedded shit still only runs on windows Mar 30 18:56:59 like tools from texas instruments, etc Mar 30 18:57:08 wait, Affinity Designer is going to Windows? Mar 30 18:57:17 s73v3r seems all the Affinity tools are Mar 30 18:57:35 i missed out on the sales they had at the beginning of the year Mar 30 18:57:36 s73v3r and Affinity guys are also working on an Adobe Lr DAM tool Mar 30 18:57:48 so, you see what they did there ... Mar 30 18:58:21 vector tool (designer - Ps), raster (like Ps), and Photo DAM tool, linux and windows Mar 30 18:58:26 going hard after Adobe Mar 30 18:58:36 oops, Adove vector is Ai Mar 30 18:59:11 everyone is Mar 30 18:59:39 i think those 3 tools are trifecta though Mar 30 18:59:45 lots of companies going after one piece Mar 30 18:59:58 i don't know of anyone going for all 3 Mar 30 19:00:47 you have Sketch , doing vector only ... Mar 30 19:00:59 like like Phase One doing something like Lr , only Mar 30 19:01:20 interesting times :D Mar 30 19:03:48 Does anyone know of any other services liek TestFairy? Mar 30 19:17:30 Android Studio 2.0 RC 1 and Emulator 25.1 RC 1 are now available in the Beta channel. Mar 30 19:18:21 anyone know how to stop the ConnectivityManager from switching networks? Mar 30 19:18:40 to use AS 2.0 RC, do I need all the things in SDK manager under Tools Preview Channel ? Mar 30 19:20:56 I love how the docs constantly have methods taking stringy constants, but don’t bother to link to the list of them. Mar 30 19:21:37 yeah Mar 30 19:47:32 Sorry i asked this earlier but does anyone know of any other services like TestFairy? Mar 30 19:52:54 hi, is there somebody who knows apt at low level? I wonder how it is to make it understand things like "'@style/Theme.AppCompat", it's `-I' option only seems to work for the android platform jar Mar 30 19:57:14 sorry, aapt, hehe Mar 30 19:58:01 I have some sort of timing issue.. I hit one webservice from my android app to login then give back a guid, than another and I pass the login guid.. but something's going wrong, it's like a timing issue maybe .. it seems like the db isn't updated by the time I call the second webservice, but not sure Mar 30 19:58:11 I know that's highly localized Mar 30 19:59:32 the only way it works, is if I hit a breakpoint in my server code Mar 30 19:59:41 and allow the op to complete before passing back to android Mar 30 20:02:53 even though kind of vague, any tips would be appretiated Mar 30 20:03:32 sounds like you have to fix your server code to not return the uid until the database is solid Mar 30 20:03:40 you can't count on clients to guess timing correctly Mar 30 20:05:12 hey I want to try out android studio preview N Mar 30 20:05:23 Can an app support N and KitKat? Mar 30 20:06:48 target newest sdk. minsdk is for the minimum version you want to support Mar 30 20:08:02 oh. just like that huh Mar 30 20:08:03 lol Mar 30 20:08:22 yep. just like that. Mar 30 20:08:27 Hey does anyone know how to sync a sqlite database with a mysql database? Mar 30 20:14:05 http://pastebin.com/FRw7dm2U ok what have i done wrong? Mar 30 20:16:02 target should be number Mar 30 20:16:24 use 23 not 'N' Mar 30 20:16:35 although 'N' is 24 its just preview yet Mar 30 20:16:54 as well compileSdkVersion isand android-N x_x Mar 30 20:17:36 Ashiren, Well its' just an empty project generated by android studio Mar 30 20:17:38 it put the N there Mar 30 20:17:55 I just wanted to know if I could run on N and KitKat Mar 30 20:17:59 the AS did? oO Mar 30 20:18:21 Yea I didn't put N there Mar 30 20:18:24 maybe this is some new fancy feature Mar 30 20:18:37 anyway, i dont understand the question. N and Kitkat? Mar 30 20:19:25 more importantly Mar 30 20:19:29 what candy will N be Mar 30 20:21:44 I'm not sure. I was just building an empty project to look at dynamic layouts and decided to try preview N... now I realize I don't have a emulator to run it. Mar 30 20:22:32 ...what are the N options. only one I can think of is Nutalle, an that is name-brand Mar 30 20:22:59 "Nutalle" - spelling is fun Mar 30 20:23:39 Oh it had something called instant run too Mar 30 20:25:08 Well I think you have to use N for that. Mar 30 20:25:42 You dont need to use N to try instant run Mar 30 20:25:59 but it is still quite buggy. I ended up turning it off until it is more stabel Mar 30 20:26:05 more trouble than it is worth yet Mar 30 20:26:14 stable* Mar 30 20:29:31 isnt Kitkat name brand too Mar 30 20:29:52 is this still an issue? "Your compile SDK version must match the support library's major version" Mar 30 20:31:01 guanche yes Mar 30 20:32:29 dragorn: thanks for the tip Mar 30 20:32:57 I found it was a really stupid glitch.. the timestamp was set at the same time as the password guid, so it expired in no time Mar 30 20:33:04 that's why sometimes it works, sometimes it doesn't Mar 30 20:33:05 guideX, in theory you should be able to do a db commit and be ok, just don't return your guid until the commit returns Mar 30 20:33:06 oh Mar 30 20:33:07 interesting Mar 30 20:33:08 so I increased the time Mar 30 20:33:08 so to have the latest config how should it be? I have sdk tools 24.4.1, and platform/build tools 24 rc1 Mar 30 20:33:15 that's a good thing to find at least Mar 30 20:33:23 makes more sense than the db being slow unless you had a real crap db backend :) Mar 30 20:33:32 well even with a slow db, it should block Mar 30 20:33:36 until the db is done Mar 30 20:33:49 but pretty funny actually Mar 30 20:34:16 so I just did timestamp + 1 day (doh) Mar 30 20:34:25 and android 22/23 plaftorm Mar 30 20:36:47 is it possible to only request permissions in the manifest on specific android versions? Mar 30 20:36:58 I don’t think so.. Mar 30 20:37:28 what is it you’re trying to do? Mar 30 20:37:32 tricknology, ugh, alright. because of a bug in 6.0 i have to request WRITE_SETTINGS which is a hefty one. it's already fixed in 6.0.1, but i don't want my app to crash for marshmallow users Mar 30 20:37:43 You can always bypass that part of code by chekcing the build version Mar 30 20:38:06 and change uses-permission to uses-feature and set the required flag to false Mar 30 20:39:01 thebishop: http://developer.android.com/intl/es/guide/topics/manifest/uses-feature-element.html Mar 30 20:40:48 Ashiren, Kitkat was a promotional partnership. Not saying it wont happen again. but I think a generic lolly is more likely Mar 30 20:41:08 no Nutella?! Mar 30 20:42:19 tricknology, looks like this could do it for me too: uses-permission-sdk-m Mar 30 20:43:10 thebishop, yes, you can specify maxVersion in uses-permission Mar 30 20:43:19 thebishop, that's documented in the marshmallow permissions stuff Mar 30 20:43:51 pfn, thanks, this is a bummer (especially because i yanked the code after 6.0.1 fixed the bug), but the workaround seems OK Mar 30 20:43:55 thebishop, I suppose if it only happens on 6.0, you can bet that most vendors will go on 6.0.1 Mar 30 20:44:15 pfn, yeah but i'm seeing that the Galaxy S6 is just getting 6.0.1 after having 6.0 for a few months Mar 30 20:44:26 so there's probably enough people affected that i can't sleaze past it Mar 30 20:50:58 not that hard to if (...) but still annoying enough that there is no separate api level Mar 30 20:51:02 just always request the permission :p Mar 30 21:00:34 pfn, i'm finding ES File Explorer helpfully informs the user that my app might be dangerous because it requests WRITE_SETTINGS Mar 30 21:00:55 so if i could limit that to only 6.0 users, helpfully fewer people get scared Mar 30 21:01:04 *hopefully Mar 30 21:12:29 hi can any one help me ? I want to have custom spinner with different background and different arrow img . How can I change the arrow img Mar 30 21:15:58 The Android Developers Samples page mentions that they’re all on Github. So why the holy fuck do they not have a link to Github on that page? Mar 30 21:18:43 is it the worst sin to have back buttons in my app Mar 30 21:18:49 yes Mar 30 21:18:55 ok, thought so Mar 30 21:18:55 what kind of back button? Mar 30 21:19:04 like "go back" and it takes you back to a previous step Mar 30 21:19:11 or navigation Mar 30 21:19:13 keep in mind that there’s one on the device already, and there’s one in the action bar Mar 30 21:19:21 so why would you want to have yet another? Mar 30 21:19:31 I'm just not sure how to use it yet, when I hit the android back button, the app closes Mar 30 21:19:44 so learn Mar 30 21:19:47 ok Mar 30 21:20:03 guideX: not always. Mar 30 21:20:04 the arrow in the tb is an up button, not the same as the devices back button Mar 30 21:20:12 in some cases an in-app back button can be useful Mar 30 21:20:18 for example, during steps of a setup Mar 30 21:20:33 in ,net, there's an event (on_exit or something) I can do something like e.Cancel = true; and it will cancel exiting the program, and then handle the rest myself Mar 30 21:20:37 looking to do something like that Mar 30 21:20:37 the guidlines specify even that you might want to provide "next" and "previous" buttons Mar 30 21:20:49 guideX: that exists in Android, too Mar 30 21:20:53 ah ok cool Mar 30 21:20:54 onBackButtonPressed Mar 30 21:21:02 great, i'll try that Mar 30 21:21:24 guideX, are you doing fragment transactions? are you adding to the backstack? Mar 30 21:21:47 truckcrash: i'm hiding and showing layoutelements Mar 30 21:21:52 ewwww Mar 30 21:21:53 and then no no backstack Mar 30 21:21:56 dont’ do that Mar 30 21:22:00 hrm ok Mar 30 21:22:09 if you’re gonna do it with views, remove and add Mar 30 21:22:12 don’t hide and show Mar 30 21:22:33 that’s just a recipe for pain trying to debug why some view is showing or not showing Mar 30 21:22:36 I do something like "HidePanels();" which hides all, and then show the one I want to show Mar 30 21:22:44 don't Mar 30 21:22:45 ok Mar 30 21:23:16 If you’re gonna do it with views, which is perfectly fine, just add and remove views Mar 30 21:23:25 don’t keep views around hidden Mar 30 21:23:34 this will also help you loads with your layouts Mar 30 21:23:47 sorry, LinearLayout Mar 30 21:23:50 nothing worse than trying to edit someone’s layout where they have a thousand views, and most of them start out hidden Mar 30 21:23:51 not layoutelement Mar 30 21:23:57 doesn’t matter Mar 30 21:24:00 ok Mar 30 21:24:11 guideX also see TransitionManager Mar 30 21:24:23 make each screen it’s own view Mar 30 21:24:33 you’ll thank us later when you’re trying to edit this Mar 30 21:24:43 I'm sure I will :) Mar 30 21:24:59 I'm scared to show this code to anyone lol, it's probably pretty bad Mar 30 21:25:08 oh well, i'll improve Mar 30 21:25:42 guideX, dont be afraid. Everyone started somewhere. and one of the best ways to learn is from your mistakes Mar 30 21:26:28 ah ok thanks Mar 30 21:46:59 thebishop, ES File Explorer is worthless Mar 30 21:47:06 thebishop, particularly those warnings Mar 30 21:47:25 doesn’t sound like he’s the one worried about them, but his users Mar 30 21:47:33 pfn, i find the app useful personally, not for the warnings. but the warnings are alarming Mar 30 21:47:44 the warnings are useless Mar 30 21:47:52 useless, and terrifying Mar 30 21:47:52 app is useful, but ever since ES added those features, it's gone to shit Mar 30 21:48:11 basically, whoever acquired estrongs added crapware into it Mar 30 21:48:21 those warnings are among the crapware Mar 30 21:48:27 trying to upsell their own malware shit Mar 30 21:48:30 i dont doubt that, but this is how the app works by default Mar 30 21:48:43 and i still install it on my own devices (for now) Mar 30 21:48:58 makes it look like *my* app is a virus or something Mar 30 21:52:55 what warnings? Mar 30 21:56:06 developer settings : show layout bounds never fails to dissapoint Mar 30 21:56:16 well , except when it doesn't work but usually it does Mar 30 21:57:05 oops, i guess i meant "never disappoints" lol Mar 30 21:58:24 Does anyone care to look at some of my logic between my Activity and my "Repository" It's an implementation of something I learned yesterday on here, but I feel like there could be some issues, and would LOVE if anyone could take 2 minutes to look at the code. ~80 lines long Thanks http://pastebin.com/TStvjrb9 Mar 30 22:03:04 eghdk: the synchronized in rebuildConvoList looks a bit dodgy Mar 30 22:03:15 eghdk: depending on where you call it from Mar 30 22:04:35 Yeah, I guess I'm still not sure how I'd handle new conversations being added to the list and all. And how to stop the list from being rebuilt... ever... damn time onStart or when an update is pushed, the reality is, convos will be added and removed often Mar 30 22:05:29 well, one option is to use a contentprovider Mar 30 22:05:33 eghdk: Don’t initialize your convos list to null. initialize it to an empty list. It’ll save you lots of pain later Mar 30 22:05:35 Maurits-: Also, I think I can take the synchronized out. Initially, I only wanted it because I didn't want anyone from the main thread messing with my list, then I remembered about the Collections.unmodifiableList method Mar 30 22:06:00 s73v3r: Thats another thing I couldn't quite decide. Thanks I'll take the advice and make it empty. Mar 30 22:06:18 anytime you can avoid having null, take it. Mar 30 22:06:18 I think contentprovider is usually more trouble than it's worth Mar 30 22:06:29 but here you get a lot of this stuff for free if you use it Mar 30 22:06:49 s73v3r: Never heard it put that way. I'll avoid the null here. Mar 30 22:07:19 eghdk https://en.wikipedia.org/wiki/Null_Object_pattern Mar 30 22:07:43 Maurits-: Implemented one before, not my cup of tea, but yeah I know a contentprovider with a couple of other components, like loaders, are good (apprently), but everyone (apparently) hates their api. Mar 30 22:07:50 g00s: Thanks will read up on that. Mar 30 22:08:20 eghdk there are vocal opponents, but their demise has been greatly exaggerated :D Mar 30 22:08:32 g00s: ? Mar 30 22:08:44 ! Mar 30 22:08:57 eghdk: well, here you'll just spend a lot of time reimplementing all this stuff Mar 30 22:09:15 don't know whether you want the activities to observe the convolist as well Mar 30 22:09:21 guess you do Mar 30 22:09:59 Well, I want the activity to be the correct representation of what's in the database, without making a ton of DB querries and rebuilding the list constantly. Mar 30 22:10:50 So eventually, on some other thread (For example I have a MessageDownloadService) where it will make an insert of update of a convo, and now I need to tell my UI about. Mar 30 22:11:09 MessageDownloadService is an IntentService? Mar 30 22:11:15 Maurits-: Yeah Mar 30 22:11:56 right, I would just check whether doing it through the database is prohibitively expensive in terms of performance Mar 30 22:12:06 no need to optimize this if it turns out not to be necessary Mar 30 22:13:19 if it does turn out that way you're going to need proper locking on the repo class Mar 30 22:13:27 I'm forseeing my issue being, I have 100 convos, MessageDownloadService retrives a new message, and has to create a new convo db entry. Who tells my ConvoRepository it's out of date, and how does it handle rebuilding the list vs just adding a new entry to the list. Mar 30 22:13:48 well, if you use a contentprovider you'll get that for free Mar 30 22:13:59 but you could just post a message to your event bus Mar 30 22:14:42 but that's what I mean, kind of Mar 30 22:15:16 Anyone have any opposition to what I'm doing of constantly creating a new adapter when the data is rebuilt? Mar 30 22:16:25 also, I just noticed the convorepository is not a singleton Mar 30 22:16:40 so you're hitting the database anyway for every onStart, for every activity Mar 30 22:16:46 eghdk: you can make it a bit sexier if you add the data Mar 30 22:17:13 oh wait Mar 30 22:17:19 the dependency injection, n/m Mar 30 22:17:23 Eplebit: Can you elaborate? Mar 30 22:17:49 i've been looking at the data-binding repo and the last commit in master is 9 months old Mar 30 22:18:35 for a beta api, that seems odd Mar 30 22:21:20 bitkiller i wouldn't be surprised if the repo is out of fdate Mar 30 22:22:14 g00s, you mean, things happening 'behind the scenes'? Mar 30 22:22:39 bitkiller yeah, its happened before where the latest support lib code wasn't pushed to aosp Mar 30 22:23:42 they are pretty undisciplined. d.android.com doesn't even have stuff from the latest support lib ... Mar 30 22:23:59 like dealing with a bunch of kids Mar 30 22:24:51 justJanne still there ? Mar 30 22:24:57 yup Mar 30 22:24:59 yeah, and stuff like the sample projects being 1-2 major android releases out of date Mar 30 22:25:03 quite frustrating Mar 30 22:25:15 :) Mar 30 22:25:22 justJanne in your nav drawer, you put some things in the overflow menu ... how many items are in there ? Mar 30 22:25:41 where did the "Instrumentation Tests" dropdown go? it's not in Build Variants anymore Mar 30 22:25:41 g00s: eh, I am still debating that. Mar 30 22:25:44 in AS2.0 Mar 30 22:25:46 Last question with my code sample is that onStart will rebuild my list every time. If my list takes a second to rebuild and the user comes into the app, instantly rotates, I'd have two threads going off and retrieving data from the database, does anyone see any issue I should worry about with that? Mar 30 22:25:47 between 1 and 3 Mar 30 22:26:11 Also, I’ve complained dozens of times about Google shitting on the open source community that they built their mobile OS on. Mar 30 22:26:15 justJanne i'm trying this: nav drawer has recyclerview with connections, and bottom sheet with NavigationView inside of it Mar 30 22:26:22 Seriously, the whole open source community should just use GPL. Mar 30 22:26:24 all in the drawer Mar 30 22:26:44 Companies taking things, taking effort, and applying the triple-E strategy are pure cancer Mar 30 22:26:51 g00s: hmmm Mar 30 22:26:53 so it actually kinda looks like that mp4 you showed me yesterday, except you can draw the NavigationView in the bottom sheet down Mar 30 22:26:55 eghdk: you can have animations and such on updates Mar 30 22:27:04 s/draw/drag Mar 30 22:27:24 missingno: where did the "Instrumentation Tests" dropdown go? I think both types of tests are integrated in one now, so you can have better refactoring. They talked about it being experimental at the dev summit. Mar 30 22:27:26 eghdk: looks sexier than just setting a new adapter Mar 30 22:27:55 eghdk are you setting a new adapter each time a message comes in ? Mar 30 22:28:44 oh wow that is amazeballs Mar 30 22:28:56 g00s: The convo object isn't tied to messages so no. But I'm going to take this same pattern and apply it to my messages list, so eventually yes, it's going to be setting a new adapter for each message... which already sounds terrible. Mar 30 22:29:08 missingno ... you just said amazeballs ... Mar 30 22:29:45 wow even google has a definition for it Mar 30 22:29:45 extremely good or impressive; amazing. Mar 30 22:29:46 "the atmosphere was nothing special but the food was amazeballs" Mar 30 22:29:47 g00s: It's just that I have this repository that holds the list, and someone has to tell it "specifically" which database item was added, which I'm not sure is the right thing to do... or to just query the whole db again. Mar 30 22:30:09 http://www.urbandictionary.com/define.php?term=Amazeballs Mar 30 22:30:28 who's perez hilton Mar 30 22:30:31 an idiot Mar 30 22:31:44 eghdk yeah dealing with streaming data is tricky Mar 30 22:31:53 streaming vs batch are often different paradigms Mar 30 22:32:13 in my case i have numerical data so i have compute stats on read and write Mar 30 22:32:22 g00s: Okay, well at least I'm not trying to solve a "non-tricky" problem and I'm just stupid. hahaha Mar 30 22:32:37 I have an AsyncTask which I call cancel(true) for in onDestroy() method in my Activity, however I find that onPostExecute runs anyway ingoring cancelling. Any idea why can it happen? Mar 30 22:33:19 AlexBerdnikov see docs for thread.interrupt Mar 30 22:33:32 So I have classic error when onPostExecute runs the code breaking the app after config changes... Mar 30 22:33:34 AsyncTask is basically just a Future Mar 30 22:34:22 g00s: YEs, but its thread has to be interrupted on cancel(true) as far as I remember Mar 30 22:34:43 AlexBerdnikov: any reason why you run it in onDestroy rather than onStop? Mar 30 22:34:51 AlexBerdnikov: iirc onDestroy is not guaranteed to be called Mar 30 22:35:21 AlexBerdnikov interrupting a thread is usually bad design Mar 30 22:35:42 and it won't do anything anyhow unless that thread is blocked Mar 30 22:36:05 if you have code just doing stuff and not checking the interrupted status, nothing magical happens Mar 30 22:36:58 g00s: I know, but I'm working on the app created a few years ago and I have to add some stuff there. I have no time to redesign it, I'm working with what I have :( Mar 30 22:37:39 Maurits-: Well, neither onStop() Mar 30 22:38:57 Maurits-: I need to stop AsyncTask work on normal configuration change, so I don't care about cases when it migth be just killed by OS Mar 30 22:39:51 well, the other thing is that it's not very nice to have activities continue doing background work Mar 30 22:39:57 but that's another issue entirely Mar 30 22:41:02 I'd just set a flag on the asynctask telling it whether the activity is still alive Mar 30 22:41:22 onPostExecute, you just return if it's false Mar 30 22:41:39 if you can't change the design it seems like the most straightforward solution Mar 30 22:42:29 g00s, Maurits-: http://stackoverflow.com/a/2624569/608160 Here Romain Guy mentions the technique where he cancels the asynctask on config change and it works just fine. Mar 30 22:47:23 AlexBerdnikov see answer from hackbod http://stackoverflow.com/questions/3357477/is-asynctask-really-conceptually-flawed-or-am-i-just-missing-something Mar 30 22:48:37 AlexBerdnikov: could you pastebin your asynctask code and how you cancel it? Mar 30 22:50:52 AlexBerdnikov hackbod is dianne H incase you are wondering Mar 30 22:50:52 g00s: Any last thoughts on rebuilding my list on rotation every time? Issues I potentially see are that I might have two threads rebuilding the list at the same time, and also that I lose the state of the listView. Mar 30 22:56:27 g00s: Romain is the guy that created asyncTask? That's what I'm getting from reading that stack overflow comment section... Mar 30 23:24:25 I have this line in my build.gradle: `androidTestCompile 'com.android.support.test:runner:0.5'`. Gradle sync is failing with this error: Error:Conflict with dependency 'com.android.support:support-annotations'. Resolved versions for app (23.2.1) and test app (23.1.1) differ. Is there a new version of the test:runner? Or should I just downgrade support-annotations to 23.1.1? Mar 30 23:28:38 Maurits-: Here's the code I'm experiencing the troubles with http://pastebin.com/5aQY67d9 Mar 30 23:32:52 And onPostExecute runs anyway even after cancel(true) is called. I tried to call cancel(false) and check it with isCancelled() in doInBackground() but no effect as well Mar 30 23:41:14 hello, I'm using Sqlite in android studio as part of my school project. I was wondering if anyone knows if it is possible to perform a query that will return records from a table based on the order they were entered into the database, i.e. first in first out, or is it a case that databases just don't keep track of row numbers Mar 30 23:41:55 I opened my database using a program called sqlitebrowser and it gives the impression that the row numbers are actually tracked, it has them numbered, 1, 2, 3 etc Mar 30 23:43:20 sqlite guarantees monotonically increasing ROWIDs Mar 30 23:44:55 that sounds promising.. Mar 30 23:46:15 Does anyone use docker-machine for docker containers and use the Intel HAXM android emulator? New to android and it won't start the emulator without me stopping virtualbox (which docker machine is using for docker) Mar 30 23:47:03 jmfurlott known bug with virtualbox interfering with haxm Mar 30 23:47:12 at least on OS X :D Mar 30 23:47:37 g00s: :( Mar 30 23:47:43 if you don't run vbox its ok, but after you run it once .. the end Mar 30 23:47:55 what do you mean? Mar 30 23:48:02 I have docker/virtualbox running for my backend Mar 30 23:48:10 and am trying to develop with the emulator for the backend Mar 30 23:48:16 jmfurlott is this OS X? Mar 30 23:48:18 ya Mar 30 23:48:34 yeah, i don't know where the bug is listed Mar 30 23:48:56 how bad of performance do you think running Android Studio in a Ubuntu vm would be? Mar 30 23:49:11 i have no idea sorry Mar 30 23:49:12 or is there a better way to just run the emulator Mar 30 23:49:49 not running the emulator? Mar 30 23:50:59 I haven't got my android phone yet meh Mar 30 23:51:15 it works with the ARM emulator but its just so slow Mar 30 23:56:27 i guys, how can i clear the keyboard after user clicked send Mar 30 23:57:18 my app keeps the same text user typed Mar 30 23:57:23 in the keyboard Mar 31 00:00:29 maguire: Don't you have _id column in your table? Mar 31 00:06:34 Why do I always get this every time I install android studio on a new system?: Please ensure JAVA_HOME points to JDK rather than JRE. Mar 31 00:07:52 cause you don’t set JAVA_HOME to the JDK? Mar 31 00:11:44 Hi I'm new to Android development. I wonder if anyone has a recommendation for framework.. Thanks!!! Mar 31 00:12:01 s73v3r, I've installed openjdk via a package manager, though. Mar 31 00:12:03 I have a secondary thread that I start in an activity's onCreate method. How can i stop that thread just before i move to the next activity (right before an intent)? thread.stop() is deprecated... Mar 31 00:12:22 hizzard: android studio Mar 31 00:12:36 Thanks!!! Mar 31 00:12:59 glad to help! Mar 31 00:13:08 And also, I wonder how is android studio better than eclipse? Mar 31 00:13:55 hizzard: It’s not eclipse Mar 31 00:15:35 Nottapesahc: android studio isn’t a franmework Mar 31 00:16:34 okay... I'm not entirely sure what is going on... I'm just kind of want to try some new things, and not sure where to start. Mar 31 00:16:45 just download Android Studio Mar 31 00:16:55 eh, whatever Mar 31 00:17:57 Anyone know of good resources for unit testing Android? Looking for something tutorial driven where you build an app and test as you go. Mar 31 00:18:03 Sure, thanks! Mar 31 00:18:30 br4ve-trave1er: There is a Google Code Lab where you do that Mar 31 00:18:37 the link escapes me, though :( Mar 31 00:18:52 Any easy or cool way to show activity on my local git installation? looking at seeing if I can get like a github-esque commit history where you can see activity per day and stuff. Mar 31 00:19:24 you can look at the git log. there’s tons of info there Mar 31 00:20:05 s73v3r, https://codelabs.developers.google.com/codelabs/android-testing/index.html found it! thanks Mar 31 00:20:30 cool Mar 31 00:21:36 s73v3r++ Mar 31 00:29:08 Hello Mar 31 00:29:53 I can try to do something like snapchat anyone here know moment ?? Mar 31 00:33:23 When the screen tilts, it seems like the whole app resets Mar 31 00:33:26 I need to google this Mar 31 00:34:43 like when you turn it on it’s side? Mar 31 00:34:48 yeah, that’s what it does Mar 31 00:35:20 yes, when the orientation changes Mar 31 00:35:29 so you must remember what state, ok Mar 31 00:46:21 where can I find documentation for Timber's format strings? Mar 31 00:48:35 http://developer.android.com/reference/java/util/Formatter.html Mar 31 00:48:43 this maybe? Mar 31 00:49:48 I'm not sure how to do networking on Android. So I have a networkAsync class and I can do network requests in it just fine. Except I don't know how to deal with it in my main thread. I want do for example do a "http get" and then depending on what kind of data I get back I want to do different things in the main thread. But the only way I've seen so far is onPostExecute() Mar 31 00:50:41 Ideally I'd simply have a 'communication' class, where I simply do: communication c = new communication(); result = c.login(); Mar 31 00:50:47 and then on the main thread do stuff with that result. Mar 31 00:50:47 Hello Mar 31 00:50:50 yup. Its a frontend for String.format Mar 31 01:05:57 how do I make the auto-complete only insert the amount of text I need? I keep going to the start of the line, it start auto-completing and then it enters the entire string. I just want it to complete the portion that I need Mar 31 01:10:33 When I set an AppName as the following \& I don't see anything on the device. It seems like I need to escape the \ but I can't find any reference to that here: http://developer.android.com/guide/topics/resources/string-resource.html#FormattingAndStyling Mar 31 01:12:04 Hello people, I've an Assignment to create small android app. They mentioned as a note "You must eclipse only". May i ask what's the difference between using Android Studio / Eclipse Mar 31 01:12:09 is there any differences ?! Mar 31 01:24:00 Hello folks, wondering if anyone will take pity on me and help me figure out why I'm getting errors when attempting to build code in Android Studio. Mar 31 01:24:37 Error message in question is: "Module 'app' is not backed by gradle" Mar 31 01:44:37 when viewing my XML layout in AS, in the gutter there is a green / yellow / red line ... what does that mean ? Mar 31 01:54:18 screenshot or it didn't happen Mar 31 02:10:08 Hey Mar 31 02:10:32 Where can I find mockups for mobile devices using Material Design? Mar 31 02:14:27 svg mockups Mar 31 02:14:32 or png Mar 31 02:16:21 use sketch Mar 31 02:16:34 and find a library of material design components Mar 31 02:16:38 or make your own Mar 31 02:20:17 Sketch doesn't support Linux Mar 31 02:20:55 I will use inkscape to prep the images, but I would like some images to start with Mar 31 02:21:14 pfn seems to be depth. deepest is always red, next deepest orange, then yellow, then green , blue, purple Mar 31 02:28:44 rgb-one http://www.dadapixel.com/blog/2016/3/28/why-im-investing-time-in-learning-android-rather-than-prototyping-tools Mar 31 02:37:01 I'm using AS 2.1 Preview 4 and gradle 2.1.0-alpha4 but I get this error: Error running VSP Player: This version of Android Studio is incompatible with the Gradle Plugin used. Try disabling Instant Run (or updating either the IDE or the Gradle plugin to the latest version) Mar 31 02:37:43 Gonna invalidate/restart Mar 31 02:38:02 I'm tying to setup a galaxy tab emulator in android studio... but as the instructions guide me I can't find... "available packages" in the new AVD... Mar 31 02:38:05 Anyone help? Mar 31 02:38:34 Did you already download some system images? Mar 31 02:40:31 explodes, me? Mar 31 02:42:27 hey Mar 31 02:42:43 i am using google's play location Mar 31 02:42:45 services Mar 31 02:42:59 but keep having the app crash when i click on the back button Mar 31 02:44:12 TinFury: yes Mar 31 02:44:20 jude_: what is the stack trace? Mar 31 02:44:21 yea I downloaded something Mar 31 02:44:45 addon_galaxy_tab_samsung_electronics_8.zip (53.41MB) Mar 31 02:44:50 hello Mar 31 02:44:50 #TinFury: are you in Android Studio? Mar 31 02:44:55 Yes Mar 31 02:45:06 TinFury: Ah, I'm not sure how to use addons, sorry Mar 31 02:45:11 Does anyone here have experience with libgdx? Mar 31 02:45:13 k np Mar 31 02:45:20 hehe Mar 31 02:45:23 here is is Mar 31 02:45:24 https://dpaste.de/uY7B Mar 31 02:45:27 and the code Mar 31 02:45:29 is here Mar 31 02:45:50 I'm fixing with context in Android. I am trying to do the following: http://pastebin.com/zx3N8gxy Mar 31 02:45:57 https://dpaste.de/7a3w Mar 31 02:46:07 but I can't call MainActivity.loginUpdateUI(result) because it's not static Mar 31 02:46:26 but I can't make it static, since then I can't launch those activities because my context (this) does not work Mar 31 02:50:48 jude_: try removing mGoogleApiClinet.connect() from onStart, you're calling mGoogleApiClient.connect() in onResume, which means .connect() is called twice the first time your activity start Mar 31 02:51:38 jude_: Is there a "mGoogleApiClient.isConnected()" or "mGoogleApiClient.isConnecting()" ? if so, make a check for that before you call mGoogleClient.disconnect() Mar 31 02:52:37 hey everyone just got the galaxy s7 edge, and having problems , im trying to connect as usb debugging Mar 31 02:52:41 i already enabled developer mode Mar 31 02:52:48 but it seems the driver is not installing for usb debugging Mar 31 02:52:54 is there somewhere i need to geti t from? Mar 31 02:52:56 thanks let me try tha Mar 31 02:53:37 cpt-oblivious: you'll need some way to tell your Activity that the login succeeded (obviously) - In your Communictation constructor, I might suggest (to keep things simple) to keep a WeakReference to your main activity. Mar 31 02:53:56 what do you mean? Mar 31 02:54:05 I k now if the login is successfull based on the return value Mar 31 02:54:32 if the login is unsuccessfull the result string will be -1 Mar 31 02:55:11 g00s, yes, using instant run crap makes prototyping easy Mar 31 02:55:22 g00s, people should just do that, but designers don't code, so that isn't quite so easy Mar 31 02:55:42 cpt-oblivious: http://pastebin.com/0Unsxzmn try this. Notice on line 11 that .getUsername() is no longer static Mar 31 02:56:29 cpt-oblivious: notice also how the WeakReference to MainActivity works; it means "if the MainActivity is no longer available, don't hold on to a reference to it, so that it can be garbage collected" Mar 31 02:56:42 thanks Mar 31 02:56:44 pfn: Do you use AS canary? Mar 31 02:56:47 i now have this error Mar 31 02:56:48 https://dpaste.de/r6gK Mar 31 02:56:49 how is that possible? Isn't the main activity always there unless the app dies? Mar 31 02:56:52 had it for a while Mar 31 02:56:55 especially Mar 31 02:56:57 explodes, no, AS sucks Mar 31 02:57:00 when i click the back button Mar 31 02:57:08 cpt-oblivious: it is not if you open a new activity. Mar 31 02:57:19 cpt-oblivious: or if you minimize the app. Mar 31 02:57:25 I see Mar 31 02:57:28 let me try this, sec. Mar 31 02:57:35 jude_: that is not the full stack trace Mar 31 02:57:45 pfn: Kind of. What do you use? Mar 31 02:57:51 intellij Mar 31 02:58:28 Haha Mar 31 02:58:58 sorry Mar 31 02:59:00 https://dpaste.de/VrRe Mar 31 02:59:23 jude_: dang. that is strange Mar 31 02:59:42 what happends is i have an intent that fires Mar 31 02:59:52 the mao Mar 31 02:59:57 mapactivity **** ENDING LOGGING AT Thu Mar 31 02:59:58 2016