**** BEGIN LOGGING AT Thu Jan 12 03:00:02 2017 Jan 12 03:09:11 "Latest Adobe Acrobat Reader Update Silently Installs Chrome Extension" lol Jan 12 03:11:19 TacticalJoke noooooo ! "An Asteroid Passed By Earth At About Half the Distance Between Our Planet and Moon" Jan 12 03:11:24 Giant Meteor 2016 missed ! Jan 12 03:11:58 Nooooooooo. Jan 12 03:12:59 "2017 AG13 would have caused minor damage if it hit Earth" , phew then its an imposter Jan 12 03:14:27 Reminder: The phrase "minor damage" is being used by astrophysicists in relation to a celestial event. Jan 12 03:15:00 This can frequently mean, "the damage will be barely visible from the moon" Jan 12 03:15:16 ...which doesn't exclude the leveling of medium-sized cities. Jan 12 03:16:44 As long as it's big enough to take out the planet. Jan 12 03:17:40 While im not as sadistic as some of you, ever heard of Gamma Ray Bursts? Jan 12 03:18:11 Any side of the planet facing the burst would be vaporised Jan 12 03:23:10 TacticalJoke recovering android developer http://i.imgur.com/zLBkDPA.gifv Jan 12 03:25:19 There should be a place where we can go and just act like that. Jan 12 03:34:51 I'm experiencing some weirdness with a TextInputLayout wrapping a TextInputEditText: getEditText() is always null, even after its layout (and the layout surrounding it) is inflated Jan 12 03:35:07 Is there some common mistake/pitfall I've fallen into? Jan 12 03:41:42 Probably have to wait for it to actually be rendered, first Jan 12 03:42:28 Dagmar: isn't the static inflate method enough? (inflate(Context, int, ViewGroup)) Jan 12 03:42:59 When I view children, I see it has 3 children, but none of them is an EditText Jan 12 03:45:22 Here's the code for my view: https://gist.github.com/MarkyC/1e2ef72079a46f8ec719ce1fd547728a Jan 12 03:52:52 MarkyC: The XML should refer to DateView, not TextInputLayout. Jan 12 03:53:14 You're creating a DateView, and then adding that XML layout as a *child* of the DateView. Jan 12 03:53:47 Unless I'm misunderstanding, you shouldn't be calling View.inflate at all. Jan 12 03:55:10 I'd expect `getEditText()` to return `null` because DateView doesn't directly contain an EditText (only indirectly, via the child TextInputLayout). Jan 12 03:55:22 TacticalJoke: ahhhh, good catch. my view_date.xml should only contain the TextInputEditText Jan 12 03:55:46 MarkyC: Why isn't view_date.xml referring to DateView? Jan 12 03:56:15 It should probably be ``. Jan 12 03:56:26 And you can remove the View.inflate call. Jan 12 03:56:55 It doesn't make sense for you to call View.inflate here. You're already being inflated. Jan 12 03:57:09 TacticalJoke: shouldn't fragment.xml contain ` Well, you're being inflated if you change things in the way I say (but not otherwise). Jan 12 03:58:52 So you're saying view_date.xml should look like , and fragment.xml should contain <...things><... more things>? Jan 12 03:59:13 What is `fragment.xml`? I'm not sure where that comes in. Jan 12 03:59:39 view_date.xml -> custom date view widget, fragment.xml -> a form containing this widget Jan 12 04:00:14 Hmm, I wonder why you have `view_date.xml` at all in that case. Jan 12 04:00:43 I intend view_date.xml to be the layout for the custom widget Jan 12 04:01:28 Could `fragment.xml` use `` then? Jan 12 04:03:20 I suppose it could, though I intend for DateView.java to have some logic for that specific view Jan 12 04:04:56 I guess I don't understand everything that's going on there. But you could certain say `` in multiple XML files if that makes sense. Jan 12 04:05:02 certainly* Jan 12 04:06:20 yes, that makes sense Jan 12 04:06:39 TacticalJoke: thank you sir Jan 12 04:07:04 http://www.kantarworldpanel.com/en/Press-Releases/Early-Holiday-Sales-Show-Growth-for-iOS Jan 12 04:07:45 "For Android, this marks the sixth consecutive period of decline in the US, at 55.3% of all smartphone sales, down from 60.4% in the same period a year earlier." Jan 12 04:19:21 Not sure if this is the place to discuss architecture, but how does everyone feel about the kickstarter android app? https://github.com/kickstarter/android-oss Jan 12 04:21:05 I think the code is very clean and readable on one hand, but I'm not sure I'd write an app this way in a large team environment Jan 12 06:48:44 Melatonina, I've been looking into it today, and it looks like you are right. Firebase (specifically firebase cloud messenger) is the way to go on this. Jan 12 07:30:28 HELP Jan 12 07:31:20 JOIN Jan 12 07:31:48 can anyone fix this question : http://stackoverflow.com/questions/41605196/not-taking-picture-when-a-send-sms-feature-is-turned-on-in-my-app ? Jan 12 07:37:17 can anyone fix this question : http://stackoverflow.com/questions/41605196/not-taking-picture-when-a-send-sms-feature-is-turned-on-in-my-app ? Jan 12 07:38:35 * raoul11 thepooshes thepoosh Jan 12 07:42:21 raoul11: SUP! Jan 12 07:42:39 fidellin with jackson Jan 12 07:43:34 do you do post-validation in glide for json2object parsing thepoosh ? Jan 12 07:43:49 post validation? Jan 12 07:44:18 like validating reuqired fields, type/null checking Jan 12 07:44:38 we have default values Jan 12 07:44:50 and for some things we crash if needed and raise all the flags Jan 12 07:45:05 mhm Jan 12 08:11:37 wtf github Jan 12 08:12:15 yeah. its down Jan 12 08:12:19 :(\ Jan 12 08:12:43 Hello. Im trying to reference the default android drawables from Java. Im trying to put them in an array, but android.R.btn_star wont resolve Jan 12 08:12:50 In XML its working fine Jan 12 08:13:57 actually android.R aint resolving at all Jan 12 08:14:57 github is back Jan 12 10:25:03 hey guys Jan 12 10:25:22 there's this task that I can't really wrap my head around Jan 12 10:26:05 say I have a Thing that I need to remind the user about, the user can choose to set Reminders for it, those Reminders can happen on Mon, Tue and Fri, at 9:30 AM, 4:30 PM and 5:00 PM respectively Jan 12 10:26:58 while creating this Thing object and its Reminders, do I create all the Reminders for it and check for them inside AlarmReceiver? If today is the day that the reminder was set, trigger the action, otherwise keep waiting for another Today event? Jan 12 10:27:12 so as not to cause the alarm action to trigger when the date for the Reminder is past due Jan 12 10:27:36 seems right Jan 12 10:29:14 you guys are probably still asleep if in the US Jan 12 10:29:19 You Ass of A Jan 12 10:41:54 Can anyone help me with adding to List array https://glot.io/snippets/em4074xfso Jan 12 10:42:33 what is the type of i Jan 12 10:42:54 int from for loop Jan 12 10:43:14 and what is the type of thislist.get(i) Jan 12 10:44:55 not sure, how to find out? Jan 12 10:45:01 using debugger Jan 12 10:45:11 there you will be able to see error message as well Jan 12 10:45:50 Object can not be converted to contactListInformation Jan 12 10:45:58 so its a object Jan 12 10:46:15 and the list is originally contactlistinformation. a class Jan 12 10:47:36 weird to see a class with an uppercase Jan 12 10:48:38 you sure you don't have somewhere ContactListInformation instead, and you're mixing up an (instantiated) object contactListInformation with its classname ContactListInformation Jan 12 10:48:42 be sure* Jan 12 10:49:07 Sourcey: https://www.youtube.com/watch?v=Y2GC6P5hPeA Jan 12 10:49:16 https://www.youtube.com/watch?v=Y2GC6P5hPeA&t=1320 Jan 12 10:49:19 22 minute Jan 12 10:49:29 take a 5 minute tutorial how to use debugger Jan 12 10:50:33 so is it 22 minute or 5 minute Jan 12 10:50:36 Its error before even running the app squ. red line in android studio Jan 12 10:50:53 Sourcey: comment these lines away and go into debug mode Jan 12 10:51:19 from there, you can evaluate code in live mode Jan 12 10:51:29 see errors and test Jan 12 10:51:34 what is thislist? what is fulllist? Jan 12 10:51:51 sounds like name typo Jan 12 10:51:52 you can see types of thislist and fulllist from there too Jan 12 10:52:38 at 26:55 he explains how to evaluate code in android studio Jan 12 10:53:18 it looks like a java 101 error Jan 12 10:53:22 but... who knows Jan 12 10:54:05 Ashiren: sorry, type in the pastebin example. thislist is non existing. What I'm trying to achieve is fullList.get(i) Jan 12 10:54:13 typo* Jan 12 10:54:36 Sourcey: do what asked please before pasting here Jan 12 10:54:48 wtf Jan 12 10:55:12 you literally want us to debug for you Jan 12 10:55:41 /ignore on his way Jan 12 10:56:36 what? Just asking for help. thought maybe it was a simple answer. Im new in Java. But nevermind Jan 12 10:58:01 you don't provide the exact error, you alter the code in your pastebin-like, you then change what is problematic compared to what you asked originally, you did not reply if it was a typo (still find suspicious this classname named like an object) etc Jan 12 10:58:06 but /ignore was a joke Jan 12 10:58:23 good luck :) Jan 12 10:58:27 meow Jan 12 10:58:52 :3 Jan 12 11:04:10 sdk tools 25.2.5 Jan 12 11:05:17 jar of dirt Jan 12 11:05:34 http://imgur.com/a/X2aR7 weird stuff going on Jan 12 11:05:59 no more eclipse support? Jan 12 11:06:10 that's not new, but it failed lol Jan 12 11:06:18 wtf is wrong with every update they make Jan 12 11:13:44 any viber app hackers here? :) Jan 12 11:14:24 viber? Jan 12 11:14:42 yeah, that big instant messaging app Jan 12 11:15:47 newbie--: how is this part of the channel? Jan 12 11:16:25 thepoosh: well, you know, app reverse engineering and debugging is essential and have a lots to do with android app development Jan 12 11:16:49 not in a million years Jan 12 11:17:02 so I was actually hoping a viber app developer was actually here and could explain how the obfuscate photos in the databases Jan 12 11:17:18 yeah... Jan 12 11:17:21 thepoosh: well, keep silent then and don't mess with my query, please. Jan 12 11:17:21 good luck Jan 12 11:17:29 what?! Jan 12 11:17:50 that is not how it works, do you have a programming question about android? Jan 12 11:21:57 Ashiren: here? Jan 12 11:25:15 newbie--: you may have better luck with #android or #android-root Jan 12 11:25:25 we dont do pure reverse enginering here Jan 12 11:25:57 http://dpaste.com/2D717XC How can this code gives me an error saying it has no action when i tell it the action with setAction on line 4 Jan 12 11:25:59 Ashiren: I need help with styles and themes Jan 12 11:27:25 huh Jan 12 11:28:32 I'm trying to make TextInputLayout and it's not working nicely Jan 12 11:28:41 not sure why Jan 12 11:28:43 :( Jan 12 11:29:49 thepoosh: show updated UI :) Jan 12 11:30:59 squ: 2 seconds Jan 12 11:31:01 last touches Jan 12 11:31:14 don't hurry Jan 12 11:31:41 can somebody look at my code? i cant figure out why is operating that way Jan 12 11:38:06 squ: http://imgur.com/jWoNyef Jan 12 11:39:18 tsousa: is it not compiling or crashing? Jan 12 11:39:39 it does compiling but they i get a null pointer when i try to read the action Jan 12 11:39:50 logcat? Jan 12 11:41:04 thepoosh: better if selected icon turn green too Jan 12 11:41:25 the green is bad Jan 12 11:41:28 I am trying to fix it Jan 12 11:41:45 thepoosh: have the styles code I pasted? Jan 12 11:42:03 it covers all the relevant properties for color Jan 12 11:42:27 should look like this Jan 12 11:42:28 http://imgur.com/a/sqVi0 Jan 12 11:42:37 can you repaste? Jan 12 11:42:42 if not I'll go and fine it Jan 12 11:42:51 but it's 3 days back of log Jan 12 11:48:23 thepoosh, typo on "femail" Jan 12 11:50:13 name lines are offset Jan 12 11:50:24 it's by design you genderphobe! Jan 12 11:50:28 i know Jan 12 11:50:40 because of the drawable Jan 12 11:50:44 I'll take care of that Jan 12 11:51:12 according to the design it shouldn't be part of the EditText in any case Jan 12 11:51:18 so I'll make it a view of it's own Jan 12 11:51:45 thepoosh: http://vpaste.net/KBhPU Jan 12 11:51:50 thanks! Jan 12 11:59:25 weird it just fixed itself? :/ Jan 12 12:00:17 anyway http://dpaste.com/2BQNG74 i have this code to send an alarm to my widget Jan 12 12:00:44 but when i change something i want to call that functions and the previous alarm gets canceled and the new is created Jan 12 12:00:49 but it is not creating the new Jan 12 12:01:04 i create a condition to check if the pending intent was present, but it is not working Jan 12 12:10:43 squ: Error: No resource found that matches the given name: attr 'foregroundTint'. Jan 12 12:10:45 :( Jan 12 12:11:53 why would an app have both classes.dex and classes2.dex, is that common? Jan 12 12:12:13 compile 'com.android.support:appcompat <...>' Jan 12 12:12:13 compile 'com.android.support:design <...>' Jan 12 12:12:13 compile 'com.android.support:support <...>' Jan 12 12:12:55 newbie--, multidex Jan 12 12:13:13 apps with over 64k methods? Jan 12 12:13:55 eeyup Jan 12 12:14:03 its quite easy to exceed the limit Jan 12 12:31:56 Does anyone know how to pair two Bluetooth devices programmatically? I feel like I have all the steps, but it does not work in the end. Even though I have the correct PIN, the phone says it was the wrong one. Jan 12 12:47:13 i have four buttons. i need to block 2 buttons. i enable the correct button and one of the other three. i cant help but feel that my solution is not the best http://dpaste.com/0CWY1B8 Jan 12 12:47:21 can someone recommend a better one Jan 12 12:47:28 that code is just for if the first button is the correct answer Jan 12 12:50:58 you're finding view by id at each switch Jan 12 12:51:01 find them outside Jan 12 12:51:05 use their references inside Jan 12 12:52:41 Hi. So what do you guys use for a vertical slider/seekbar ? Jan 12 12:55:02 Hi. Is it better to update data through an adapter, or directly and call notifyDataSetChanges()? Jan 12 13:00:32 Eduard_Munteanu: you should let the adapter call notifyDatasetChanged Jan 12 13:00:38 probably Jan 12 13:00:58 meaning, encapsulate all the data updates in the adapter and let it call notify by itself Jan 12 13:01:00 Ok, so the accesses should go through the adapter rather than directly. Jan 12 13:01:03 I see. Jan 12 13:04:35 Thanks. Jan 12 13:15:42 Hi. Is it better to update data through an adapter, or directly and call notifyDataSetChanges()? < search for diffutil and how it can dispatch efficiently + the second onbind method with its payload Jan 12 13:16:16 much better than calling notifydatasetchanged, especially if not everything needs to be refreshed Jan 12 13:48:58 Eduard_Munteanu: use notify Jan 12 13:49:27 update single item with: adapter.notifyItemInserted(row); for example Jan 12 13:49:45 adapter.notifyItemRemoved(i); Jan 12 13:50:37 Hm. Jan 12 13:50:39 https://github.com/squm/template_recyclerview/blob/master/ActivityProd.java Jan 12 13:50:46 https://github.com/squm/template_recyclerview Jan 12 14:24:32 Alright Jan 12 14:24:49 oh nvm, I should head to #android-root :P Jan 12 14:27:48 really starting to hate this autocomplete api Jan 12 14:29:22 raoul11: I am moving too slow Jan 12 14:29:24 it sux Jan 12 14:29:40 yer movin slow? am drowning in ma own filth here Jan 12 14:30:06 just had a shot of macallan Jan 12 14:30:16 so I got that going for me which is nice Jan 12 14:31:04 naice Jan 12 14:31:16 i shud get some as well, but got to drive to ikea later Jan 12 14:44:33 Hey everyone Jan 12 14:45:15 I have my phone plugged into my computer via USB, and I would like to somehow do some port forwarding so that localhost:3000 accessed on the phone will actually point at mymac:3000. Any ideas if that is possible? Jan 12 15:03:03 I assume 200mb is a bit much memory usage for a just started app with only one activity? Jan 12 15:04:55 squ: decided to go full in https://github.com/android/platform_frameworks_support/blob/master/design/res/values/styles.xml Jan 12 15:05:00 fuckers Jan 12 15:05:22 :) Jan 12 15:06:14 thepoosh: foregroundTint is not there Jan 12 15:06:27 yeah Jan 12 15:06:29 it's weird Jan 12 15:06:51 but in your system? Jan 12 15:07:03 woot Jan 12 15:07:05 not found? Jan 12 15:08:05 Jan 12 15:24:13 Can anyone please help me figure out what this exception is? http://prntscr.com/duqj7y Jan 12 15:25:58 parseDouble() argument is empty string Jan 12 15:26:58 empty string is not a number so it cannot parse it Jan 12 15:27:04 It says line 47, there is no code there Jan 12 15:27:17 disable instant-ruin Jan 12 15:27:33 or relaunch your project and be sure the code you run is the same Jan 12 15:27:43 I have tried that Jan 12 15:27:59 also i havce put the code in a try catch block but the catch block isnt running Jan 12 15:33:37 Hey guys. I'm having problems with some layout sizes for Nexus 5 and Galaxy S5. Both are xxhdpi and both have sw-360dp, but some DP margins are not the same. How can I address this issue? Jan 12 15:34:04 Hi. Where can I find out how the com.google.android.gms library is licensed? Jan 12 15:34:11 I was having the same issues using Nexus 5X, but I could resolve them using the values-sw410dp Jan 12 15:43:45 birk_, what do you mean "the same"? Jan 12 15:49:24 Mavrik: for example. I have an ImageView with marginEnd=60dp for Nexus 5 and the same marginEnd should be 45 for Galaxy S5 Jan 12 15:50:05 what do you mean "should be" Jan 12 15:50:13 why should it be 45? What are you trying to achieve? Jan 12 15:50:24 Is it the wrong aspect? Jan 12 15:50:29 Wrong physical size? Jan 12 15:53:33 Mavrik: I want to fill the entire screen, don't want "empty spaces". I've set the image to width match_parent, height is wrap_content, adjustViewBounds true. Then I set a side margin to allow the image to increase it's size Jan 12 15:54:06 Mavrik: I mean not the entire screen like match parent for width and height. But fill the remaining space on the screen Jan 12 15:59:29 I have a recycler view with about 2000 elements, per row, i load 4 of them, each element has an icon that needs to be loaded. Should I cache those icons somehow? Jan 12 16:00:52 birk_, hmm, I can't really picture the issue. Can you take screenshots on both phones Jan 12 16:00:54 ? Jan 12 16:01:04 <_genuser_> hello devs in the android land Jan 12 16:01:50 hi Jan 12 16:02:14 Unfortunately I'm dealing with node.js today. Not much in Android-land Jan 12 16:02:59 Mavrik: the problem as I can see is that both are sw-320 and both are considered xxhdpi, but the S5 is 432 DPI and Nexus 5 is 480. I'll change programatically the margins Jan 12 16:03:24 That sounds like you're doing something very silly and dumb Jan 12 16:03:33 Usually you shouldn't really care about those details Jan 12 16:03:37 Or even check for DPI settings. Jan 12 16:03:42 This is why I'm asking my questions Jan 12 16:03:57 Because I have a feeling you've approached the whole design wrong and you'll have issues constantly. Jan 12 16:05:32 I'll post the pictures Jan 12 16:06:15 Has anyone actually ever used the xxhdpi and the likes folders correctly? Jan 12 16:06:42 Mavrik: Nexus 5https://imagebin.ca/v/38e5Ww35Ow7n Jan 12 16:06:49 Mavrik: Nexus 5 https://imagebin.ca/v/38e5Ww35Ow7n Jan 12 16:06:58 Syzygy, yes. Jan 12 16:07:19 Mavrik: S5 https://imagebin.ca/v/38e5nAdj7ScV Jan 12 16:07:21 birk_, the issue is with the album art? Jan 12 16:07:27 yes Jan 12 16:07:51 it's a view_pager Jan 12 16:08:08 why not make a FrameLayout the size of the screen (width) Jan 12 16:08:22 and then use layout_align="center" on the ImageView with static size in dp? Jan 12 16:09:00 I've tried using static size, but got the same issue Jan 12 16:09:14 the sizes must be larger for S5 Jan 12 16:10:24 Use multiple dimens files Jan 12 16:10:44 birk_, why? It's a problematic requirement Jan 12 16:10:58 A 150dpx150dp image is going to be roughly the same physical size on all devices Jan 12 16:11:18 If you have a bigger screen, the margin will be a bit bigger Jan 12 16:11:30 let me check again Jan 12 16:11:30 Which is expected isn't it? Jan 12 16:11:37 The idea is you have to test it for each device. Using the layout editor for quick adjustments Jan 12 16:11:39 Your image has a certain size in px Jan 12 16:11:45 And the S5 has bigger DPI Jan 12 16:11:56 Girafferson, god no Jan 12 16:12:13 There's better things to do in life than designing your UI in a way that has to be tested on each and every Android device O.o Jan 12 16:12:25 Make it flexible and leave space for different screen configurations. Jan 12 16:12:28 I want the image to be the biggest possible size, that's the problem Jan 12 16:12:34 There's nothing wrong with having multiple values folders. Jan 12 16:12:37 <_genuser_> 10:03 < Mavrik> That sounds like you're doing something very silly and dumb Jan 12 16:12:41 <_genuser_> ^whoa somebody got the Trump bug Jan 12 16:12:43 to fill the space that the player buttons don't use Jan 12 16:12:44 I would probably just make it work in constraintlayout tho Jan 12 16:13:25 where should I put my image drawables if they're only available in one size? I had issues with the regular drawable folder and hat to put them into drawable-xhdpi Jan 12 16:13:47 Syzygy, do you want OS to resize them automatically? Jan 12 16:13:55 or are they always displayed in same pixel size? Jan 12 16:14:40 Mavrik: resize them automatically Jan 12 16:14:57 birk_, ah, so make the ImageView the size of the space you want it to fill, add a bit of static margin and then set scaletype to centerInside? Jan 12 16:15:10 Syzygy, why don't you pre-resize them first? Jan 12 16:15:42 Mavrik: could be Jan 12 16:15:59 birk_, basically you really want to avoid dealing with per-device numbers Jan 12 16:16:00 Mavrik: would still have an issue with different screen sizes, also no graphic tools available Jan 12 16:16:15 Hey guys. What's the best subversion for Android Studio? Jan 12 16:16:32 Syzygy, I don't understand what you're saying... there's bunch of tools that can help you with that? O.o Jan 12 16:17:07 Mavrik: could you recommend some? Jan 12 16:17:23 Can I add extra filters to my search widget? Jan 12 16:18:06 Anyone? Which svn do you guys prefer? Jan 12 16:26:51 where should I put my image drawables if they're only available in one size? <- drawable-nodpi Jan 12 16:27:07 but except on specific use-cases, you should not do that Jan 12 16:33:00 always use git Jan 12 16:40:50 adq: what would a no-dpi use case be an how does it differ from just using the drawable folder? Jan 12 16:41:38 do you even rtfm sometimes Syzygy? should be self-explanatory, it's a place where you put image independent of any dpi Jan 12 16:42:28 and it's -nodpi not no-dpi Jan 12 16:42:48 yeah, i asked the question and then thought (and did) that I should google it. Jan 12 16:42:51 quoting the official doc: "Resources for all densities. These are density-independent resources. The system does not scale resources tagged with this qualifier, regardless of the current screen's density. Jan 12 16:42:51 " Jan 12 16:43:00 maybe someone got a solution: placesautocomplete fragment -- i want to set an ontextchanger listener and set the hint as well. it seems that when this fragment is clicked, it opens up another fragment that does the actual search/display Jan 12 16:43:32 the textwatcher isnt returning anything, not does the hint follows to that new fragment edittext box Jan 12 17:05:40 Kisenosato Yutaka is a sumo wrestler from Ibaraki, Japan. Jan 12 17:15:14 squ: cool story bro Jan 12 17:15:39 http://www.japantimes.co.jp/tag/kisenosato/ Jan 12 17:16:24 ok but why are you talking about him here? Jan 12 17:16:46 Is there a connection with Android development? Jan 12 17:20:56 Maybe he's an android developer Jan 12 17:21:03 You never know Jan 12 17:28:06 Hi! Does anyone know if it's possible to change the duration of the power button long press on a rooted android phone? I know it's possible to remap the keys under /system/usr/keylayout/, but is it possible to change the duration of the long press that displays the reboot/poweroff menu? Jan 12 17:35:20 is it possible to create a activity with two fragments side by side but only open the second one when i click in something in the first fragment? Jan 12 17:36:59 apidae: Have you tried looking around the android source code? Jan 12 17:38:39 tsousa: I think the master/detail template on android studio does something similar if not that Jan 12 17:39:53 hey all, just curoius.... if i have a native Anrdroid app and only want to display part of a page in html, is that possible? (since Im using a CMS which has a WYSWYG editor to create dynamic bolded/italic/etc content that you then pass to Android app via web service) Jan 12 17:40:18 you can put a WebView on screen and display your content there Jan 12 17:41:33 s73v3r: can a WebView be displayed for only a certain area? I was debating asking my android dev to try a WebView but wasnt sure if WebViews are only for full screens, and not just minimal parts as you need in the app (like in a questionnaire app, displaying 'question text' which is html... rest would be native radios/checkboxes/etc) Jan 12 17:41:45 it’s just a view Jan 12 17:42:19 although if all you’re looking for is to do bold, italics, etc, maybe you don’t need to use that Jan 12 17:42:27 Hi. What's the best practice to send a Long object to another activity? Jan 12 17:42:53 mohsen_: serialize it to a long datatype and pass it in the bundle Jan 12 17:43:14 monk12: but yes, you should be able to make the webview whatever size you need. it doesn’t have to be fullscreen Jan 12 17:43:28 g00s, https://www.reddit.com/r/androiddev/comments/5njt23/android_dev_rage_catharsis_therapy_decided_to/ :') Jan 12 17:43:32 s73v3r: You mean convert Long to 'long' datatype and pass that variable? Jan 12 17:43:38 yeah Jan 12 17:44:12 s73v3r: can that webview dynamically expand as needed? cause my 'question text' that would be displayed in that field, could be 1 or 2 or 3/etc lines long. I wouldn't want to declare a hardcoded height for example. Jan 12 17:44:35 it can. Jan 12 17:44:53 adq quantum tab :) Jan 12 17:46:20 Girafferson: do you have any suggestion where to start? I was hoping it would be some kind of configuration file Jan 12 17:47:42 apidae, wrong channel, try #android-root or xda or somewhere else Jan 12 17:52:43 adq: #android-root and somewhere else weren't very helpful, that's why i came here Jan 12 18:09:56 Hello. My Preview panel keeps auto-closing when I click in the editor. How do I stop that. Jan 12 18:17:33 I'm trying to build an app from the command line, I get this error: ":processDebugResources Position 24 : Error parsing XML: mismatched tag". Is it complaining about the android-manifest.xml? Since the xml file having the problem is not specified. Jan 12 18:22:54 mohsen_: try adding the debug or info flags to it Jan 12 18:33:09 s73v3r: This is with the --info flag: http://ptpb.pw/2Koj Jan 12 18:33:47 looks like it might be the manifest. Jan 12 18:34:00 have you looked at the manifest? the editor should tell you if you have bad tags Jan 12 18:36:11 s73v3r: This is my manifest: http://ptpb.pw/q9IY Jan 12 18:36:58 not found Jan 12 18:37:48 s73v3r: http://ptpb.pw/q9lY Jan 12 18:38:09 have you opened it up in Studio? Jan 12 18:38:33 s73v3r: No, I'm using atom Jan 12 18:38:38 open it in studio Jan 12 18:39:02 and have you added the debug flag to your build line? Jan 12 18:39:24 no just ./gradlew build --info Jan 12 18:40:08 so try debug Jan 12 18:41:50 s73v3r: Do you need the log with --debug? Jan 12 18:41:59 Do I have to paste it? Jan 12 18:42:06 no, you should just read it Jan 12 18:46:22 When is it good practise to put strings in the string resources file? Jan 12 18:46:56 almost always Jan 12 18:48:23 why? Jan 12 18:48:32 s73v3r: Installing studio, isn't this possible without studio? Jan 12 18:48:54 possibly, but why wouldn’t you want to use the tools designed for this very thing? Jan 12 18:51:34 s73v3r: I tend to keep things simple: http://wiki.archlinux.org/index.php/Arch_Linux#Simplicity Jan 12 18:51:59 cobbling together a bunch of ad hoc tools instead of using the purpose built thing isn’t keeping things simple Jan 12 18:52:10 I think it's nice to use the terminal for android tools. and using git and such. But when it comes to trying to use the android compiler, android lint, etc etc. It's easier to just use studio Jan 12 18:54:54 s73v3r: not a bunch really, only the sdk and atom Jan 12 18:56:30 Most of the information I've gotten for running gradle in the command line was from stackoverflow Jan 12 18:58:25 yes, it's possible to do android development without android studio, just takes some work to get everything together Jan 12 18:58:32 but you're better off running android studio Jan 12 18:59:30 I've tried to do tutorials and such from the gradle website. There's a book you can download from gradle.org called android recipes, but I've still found stackoverflow to be a better source of information Jan 12 19:01:44 Girafferson: It's straight forward, I look for stackoverflow among the results 80% of the times I google something programming-specific Jan 12 19:02:52 is google still working on the experimental gradle plugin ? Jan 12 19:03:02 And there is also a stackoverflow question 80% of the times Jan 12 19:03:09 looking at the versions, its not clear Jan 12 19:03:33 neat, the native parts of shadowsocks for android is written in go? Jan 12 19:03:46 mohsen_: Yeah at this point a have a corner on one of my monitors specifically for stackoverflow lol Jan 12 19:04:06 s73v3r: Okay, android studio digged out the xmls that were causing the problems, but it's weird that gradle doesn't specify which xml file exactly is producing the problem. Jan 12 19:04:30 usually it does. Did the debug not show it? Jan 12 19:05:25 which file was causing the issue? Jan 12 19:05:51 4 layout files Jan 12 19:05:59 :D https://ptpb.pw/vCtL take a look please Jan 12 19:06:16 This is the log with --debug and --info, I couldn't file the specific files, see if you do? Jan 12 19:08:14 /home/mohsen/Android/Sdk/build-tools/25.0.0/aapt package -f --no-crunch -I /home/mohsen/Android/Sdk/platforms/android-19/android.jar -M /home/mohsen/Projects/Atr/build/intermediates/manifests/full/debug/AndroidManifest.xml -S /home/mohsen/Projects/Atr/build/intermediates/res/debug -A /home/mohsen/Projects/Atr/build/intermediates/assets/debug -m -J /home/mohsen/Projects/Atr/build/generated/source/r/debug -F /home/mohsen/Projects/Atr/build/intermediates/re Jan 12 19:08:15 sources/resources-debug.ap_ --debug-mode --custom-package com.perfume -0 apk Jan 12 19:08:18 run that from the commandline Jan 12 19:08:21 you get your error Jan 12 19:10:14 how difficult Jan 12 19:10:42 mohsen_: the processDebugResources is a gradle task if I'm not mistaken. So you should be able that specific task on gradle with debug output or something Jan 12 19:11:07 mohsen_: Which is the task that was failing. That's why it wasn't showing you which file Jan 12 19:12:27 I see, I'm not good at gradle, I have to learn it. Jan 12 19:13:23 Me neither. I just joined the gradle irc but it's pretty dead. I've been going to java meetups lately. Everyone uses gradle. It's really good to know Jan 12 19:14:48 hello Jan 12 19:15:07 I'm trying to compile a project and receiving the following error: http://community.openfl.org/t/unable-to-compile-for-android/8645 Jan 12 19:15:23 Please let me know if I'm missing any library: http://130.255.75.240/websites/myarchives/android4.jpg Jan 12 19:16:21 mohsen_: Here's the stackoverflow post I've had to go to many, many times. This got me started into the gradle world https://stackoverflow.com/questions/28999124/resolved-versions-for-app-22-0-0-and-test-app-21-0-3-differ Jan 12 19:21:28 I just noticed it was written by commonsware. He has a really great book on android dev. Not sure if it dives into gradle Jan 12 19:38:00 xpheres: I've never used NDK, nor do I know what project this is. but the command is arm-linux-androideabi-g++ and the invalid option is -std=c++11. I would start with that. I'm sure that command has a --help which will show the valid options Jan 12 19:42:15 mohsen_, there's a log with the error output of aapt somewhere as well Jan 12 19:42:19 dunno wtf gradle hides it Jan 12 19:42:21 or android studio Jan 12 20:08:07 hey all Jan 12 20:08:12 anyone ever seen anythign like this before? Jan 12 20:08:13 http://pastebin.com/jNt8KG6F Jan 12 20:08:36 The offending line was "private final String TAG = MyClass.class.getSimpleName().toString(); Jan 12 20:08:44 never ever seen that before Jan 12 20:10:36 private final String TAG = this.getClass().getSimpleName(); Jan 12 20:10:39 I'm using it Jan 12 20:14:37 hi Jan 12 20:15:01 I need help to find out why I can not compile, please check my post: http://community.openfl.org/t/unable-to-compile-for-android/8645 Jan 12 20:17:10 cc1plus: error: unrecognized command line option "-std=c++11" Jan 12 20:17:20 I've been searching for my error "cc1plus: error: unrecognized command line option "-std=c++11"" and find the solution of installing g++ :https://stackoverflow.com/questions/14674597/cc1plus-error-unrecognized-command-line-option-std-c11-with-g Jan 12 20:17:20 (21:16:41) xpheres: but I installed last g++-5 Jan 12 20:17:28 Tricknology, unlikely to be the "offending line" Jan 12 20:17:29 what else can I do? Jan 12 20:18:11 well that's the source of the error, in the stacktrace in my relevant part of code :/ Jan 12 20:18:32 xpheres: arm-linux-androideabi-g++ Jan 12 20:18:34 what is it Jan 12 20:18:36 should I install g++ fpr arm? Jan 12 20:18:37 I took it out and it runs fine lol Jan 12 20:18:39 weird.. Jan 12 20:18:43 ahhh Jan 12 20:18:54 Tricknology, huh, it's not in the stack trace Jan 12 20:19:05 Tricknology, you ran into a 1-time service connection crash Jan 12 20:19:05 should I install g++-5--arm-linux-gnueabi? Jan 12 20:19:13 I guess Jan 12 20:19:14 the removal of the line and working is coincidental Jan 12 20:19:32 I hope this works Jan 12 20:19:55 xpheres: can you use g++ to output to architecture? Jan 12 20:19:56 I'm installing it Jan 12 20:20:16 squ I'm compiling with openfl Jan 12 20:20:23 openfl can compile to many targets Jan 12 20:20:32 and one is android Jan 12 20:20:34 you are not controlling the command line Jan 12 20:20:46 no... is a script Jan 12 20:20:49 ok Jan 12 20:21:26 problem persist Jan 12 20:21:32 it did not work Jan 12 20:21:51 can you run arm-linux-androideabi-g++ ? Jan 12 20:22:28 it says I must install "sudo apt-get install gcc-arm-linux-androideabi Jan 12 20:22:28 " Jan 12 20:22:45 I'm going to do it Jan 12 20:22:50 do it man Jan 12 20:23:56 problem persist Jan 12 20:23:58 http://www.openfl.org website looks fantastic Jan 12 20:24:11 doesn't mention anything about g++ compiler and -stdlib parameters Jan 12 20:24:15 xpheres : why do u want to install arm-linux-androideabi ? Jan 12 20:24:24 iresf I have no idea Jan 12 20:24:32 I want to compile for android with no success Jan 12 20:25:05 did you look at gcc-arm-linux-androideabi --help? Jan 12 20:25:08 Tricknology, have you tried without the .toString()? Jan 12 20:25:34 xpheres: can you run arm-linux-androideabi-g++ ? Jan 12 20:25:34 still it's not really recommended to do that if you want to do it properly, make a decent Logger class Jan 12 20:25:40 gcc-arm-linux-androideabi not found Jan 12 20:26:05 the help I mean Jan 12 20:26:21 xpheres: can you run arm-linux-androideabi-g++ ? Jan 12 20:26:43 arm-linux-androideabi-g++ Jan 12 20:26:43 arm-linux-androideabi-g++: fatal error: no input files Jan 12 20:26:43 compilation terminated. Jan 12 20:26:58 and with -std=c++11 Jan 12 20:27:06 and give it empty file Jan 12 20:27:21 xpheres : install JDK + android sdk and android Studio manually on distru linux then it will install all prerquirties package Jan 12 20:27:36 iresf everything installed check here: Jan 12 20:27:56 http://community.openfl.org/uploads/default/original/2X/4/431aa643eb27a7f4d466f0d015e3dd1512dd20e7.jpg Jan 12 20:27:56 xpheres: do you follow Jan 12 20:28:02 what is your distro ? Jan 12 20:28:11 Ubuntu Jan 12 20:28:52 arm-linux-androideabi-g++ -std=c++11 Jan 12 20:28:52 arm-linux-androideabi-g++: fatal error: no input files Jan 12 20:28:52 compilation terminated. Jan 12 20:28:59 give it empty file Jan 12 20:29:14 could you give me an example? Jan 12 20:29:54 type: touch empty.cpp Jan 12 20:29:59 ok Jan 12 20:30:27 xpheres : do u want to use NDK Jan 12 20:30:28 ? Jan 12 20:30:39 arm-linux-androideabi-g++ -std=c++11 empty.cpp Jan 12 20:30:39 /usr/lib/gcc/arm-linux-androideabi/4.7.4/../../../../arm-linux-androideabi/lib/crtbegin_dynamic.o(.text+0x30): error: undefined reference to 'main' Jan 12 20:30:39 collect2: error: ld returned 1 exit status Jan 12 20:31:01 that means -std=c++11 is recognized Jan 12 20:31:01 iresf ndk is required to compile to android target from openfl as long as I know Jan 12 20:31:28 oh ok then i have no idea sorry Jan 12 20:31:33 ok Jan 12 20:31:41 xpheres: openfl is using another g++, not the one you installed Jan 12 20:31:43 I'm searching for a solution since yesterday don't worry Jan 12 20:31:50 ah Jan 12 20:51:22 xpheres: you can overwrite openfl binary with link to your new installed binary Jan 12 20:52:13 for that do: find -name "arm-linux-androideabi-g++" Jan 12 20:52:14 hi squ, I'm going to test the solution provided here: http://community.openfl.org/t/android-build-failed/8420/2 Jan 12 20:53:14 "~/.lime/config.xml" has the path for g++? Jan 12 20:53:30 then change that path to new binary you just installed Jan 12 20:53:50 :) Jan 12 20:55:32 downloading and seting up the path to the last ndk did not work Jan 12 20:56:07 xpheres: try ‘find’ Jan 12 20:56:37 what does that command? Jan 12 20:56:52 it will print what it found Jan 12 20:57:03 it found thounands from folders Jan 12 20:57:09 thousand Jan 12 20:57:17 I guess openfl is bundled with g++ compiler Jan 12 20:57:41 and my suggestion is to replace it Jan 12 20:58:06 this is the content of config.xml Jan 12 20:58:06 http://pastebin.com/vGV2kYB9 Jan 12 20:58:22 how should set up the path to g++? Jan 12 20:58:32 xpheres: try ‘find’ Jan 12 20:58:40 find printed thousands from folders Jan 12 20:58:46 I don't understand how it works Jan 12 20:58:47 find -name "arm-linux-androideabi-g++" Jan 12 20:58:51 ok Jan 12 21:00:12 I don't know where is openfl folder Jan 12 21:00:42 I found it Jan 12 21:01:29 find /home/xpheres/haxelib/openfl/4,5,2 -name "arm-linux-androideabi-g++" Jan 12 21:01:31 no results Jan 12 21:02:01 -name "arm-linux-androideabi-g*" Jan 12 21:02:05 xpheres : ask in #ubuntu Jan 12 21:02:05 :) Jan 12 21:02:35 squ that command just shows > Jan 12 21:03:06 find -name "arm-linux-androideabi-g*" Jan 12 21:04:16 you kinda just want to develop games in flash and have no idea of unix utilies at all Jan 12 21:04:38 I just want to learn haxe language Jan 12 21:04:50 I get it Jan 12 21:05:46 did it find anything/ Jan 12 21:05:52 no Jan 12 21:46:55 Android Studio seems to automatically be closing files once I open a few more. Anyone know what that's about? Jan 12 21:51:10 Chainfire: closing? Are you sure that their tabs aren't just hidden? There is a drop down for tabs that don't fit in the bar, at the right. Jan 12 21:56:45 Does GoogleMaps/Location/LatLng or whatever else surrounding GoogleMaps and gps-coordinates really not have a inbuilt move_GPS_Coordinate(meters,direction); function? Jan 12 21:58:21 it seems like something really basic, but complex enough for common peasants like me to not know how to do... Jan 12 22:19:18 Chainfire, there's a max tabs setting for the editor Jan 12 22:20:17 Chainfire, Settings -> Editor -> General -> Editor Tabs -> Tab limit Jan 12 22:54:23 capella: welcome back Jan 12 22:55:02 shhhhh... did they see? Jan 12 22:55:07 :-p Jan 12 23:09:43 Gogland, what do go devs use atm ? Jan 12 23:13:43 pfn> thanks Jan 12 23:13:54 that shit has been annoying me for months Jan 12 23:14:54 "Gogland" is the worst product name of all time. Jan 12 23:15:10 it's only a temp name isn't it? Jan 12 23:15:57 iirc they asked ppl to vote for that name on github or somewhere near :' Jan 12 23:16:04 Chainfire: I helped you too... Jan 12 23:16:52 your answer was wrong! you are the weakest link, goodbye! Jan 12 23:17:49 my answer was not wrong Jan 12 23:17:59 Android Studio doesn't close files Jan 12 23:18:15 Ahh, yeah, maybe it's temporary. I do think JetBrains comes up with bad names though. I dislike even 'Kotlin'. Jan 12 23:18:34 if it didn't close files, why would the option pfn pointed at under settings configure after how many tabs it closes files? Jan 12 23:18:40 Though it's pretty normal for names of programming languages to suck. Jan 12 23:19:03 Chainfire: you are really stupid and impolite. Bye! Jan 12 23:19:08 oO Jan 12 23:19:19 Melatonina can't take being wrong Jan 12 23:19:57 :') Jan 12 23:20:04 when the files are too many for the tab bar they are NOT closed, you silly people Jan 12 23:20:13 they are just not listed in the tab bar Jan 12 23:20:18 they are listed in the drop down Jan 12 23:20:21 nope Jan 12 23:20:24 yes Jan 12 23:20:26 wrong, once again Jan 12 23:20:28 not anymore Jan 12 23:20:32 there is a limit to how many go into overflow Jan 12 23:20:43 it's all in the settings, nothing complicated to understand Jan 12 23:20:47 they must have changed that threshold recently Jan 12 23:21:12 Melatonina you are trying to apply logic to something Android related. You should really be careful with that. Jan 12 23:21:49 Upgrade to the latest Android Studio, and check the setting pfn mentioned. It exists, it applied, and it was exactly the issue I was having. Jan 12 23:23:12 there are few regressions with tab compared to like 1 year ago, when you _close_ a tab or move it from a side to another, the editor does not bring back the last used tab on the respective side and that makes me very sad Jan 12 23:23:32 even if i have "activate most recently opened tab" checked Jan 12 23:23:57 and also this quantum tab state behind the overflow menu :' Jan 12 23:24:01 The fact that they have a tab limit at all seems like a massive hack. Jan 12 23:24:14 it's so hungry in ram Jan 12 23:24:17 It's easy to just keep a list of strings in memory (and lazily load if appropriate). Jan 12 23:24:22 Probably something to do with its major memory use, yeah Jan 12 23:24:23 i agree Jan 12 23:24:27 That's what web browsers do. Jan 12 23:24:39 Chainfire: Even 1,000 file names is nothing. Jan 12 23:24:43 10,000 is nothing. Jan 12 23:24:56 to be fair, Chrome with a few 100 tabs open also eats all my 64gb of RAM Jan 12 23:25:09 :o Jan 12 23:25:16 64GB? Jan 12 23:25:26 Hmm, that sounds a bit odd, even for memory-hungry Chrome. Jan 12 23:25:48 what games do you play? Jan 12 23:26:04 Yes, I was wrong. Sorry Jan 12 23:26:12 with a few vm, AS, chrome with a lot of tab, gradle, etc Jan 12 23:26:13 I guess some of the sites I frequent have some issues if you leave them open for weeks... Jan 12 23:26:17 you easily reach 20GB Jan 12 23:26:30 Mariu I enjoy minesweeper now and then Jan 12 23:26:31 (if you give more than the default settings to AS & gradle & co) Jan 12 23:26:45 Chainfire damn Jan 12 23:26:50 I think not restarting Chrome for weeks can cause issues. :E Jan 12 23:26:51 See, I have no problem admitting when I'm wrong Jan 12 23:27:09 shit+esc and chrome will tell you which tabs take what in ram & cpu Jan 12 23:27:17 it's easy to spot the culprits Jan 12 23:27:21 I'm not sure that's appropriate, adq Jan 12 23:27:27 it gives a hint Jan 12 23:27:42 that's a nice trick, though Jan 12 23:28:40 if ppl want to use less ram with their browser, they have to use another browser and sacrifice the sandboxing model of chrome and many critical features Jan 12 23:28:56 there are few extensions which can froze tabs until you're in front but i never liked them Jan 12 23:29:13 IMO, having hundreds of tabs open is a user error, in any case. Jan 12 23:29:19 i would not trade chrome sandboxing for more ram Jan 12 23:29:20 I say this as an ex-tab-hoarder. Jan 12 23:29:37 I would say error is a bit harsh Jan 12 23:29:47 there is nothing wrong with 100 tabs Jan 12 23:29:57 otherwise it would not even be allowed Jan 12 23:30:27 I don't think Chrome is designed to be used in that way. We're supposed to use bookmarks. Jan 12 23:30:43 Of course, Chrome isn't going to outright stop people from doing this (why would it?). Jan 12 23:30:52 i've got issues with bookmarks, it's a real hell here :( like > 2000 not sorted Jan 12 23:30:56 I'll be the judge of what I'm supposed to do, thank you :) Jan 12 23:31:12 Chainfire: Enjoy having 64GB of RAM eaten, then. Jan 12 23:31:23 unused ram is wasted ram Jan 12 23:31:38 adq: On Android, sure. Not sure about Windows, etc. Jan 12 23:31:44 I wonder how much RAM Star Citizen eats Jan 12 23:31:49 In any case, Chainfire was complaining about this above. Jan 12 23:31:51 windows has a very decent ram management Jan 12 23:31:55 they even compress ram in ram Jan 12 23:32:05 I wasn't complaining about it, I was simply comparing. Jan 12 23:32:26 Referencing, even. Jan 12 23:32:56 * quick escalation * how we went from "tab" in AS to "tab" in browser and ram Jan 12 23:33:40 adq: If someone has 100 tabs open and they look at all 100, sure, that's not wasted RAM. But if they look at only 10 over the course of two weeks, and 90 are using RAM that's needed elsewhere, that's wasted RAM. Jan 12 23:34:01 It's not always the case that used RAM is unwasted. Jan 12 23:34:04 :) Jan 12 23:34:07 Chainfire is your 64GB machine a gaming platform? Jan 12 23:34:13 we're so caricatural sometimes Jan 12 23:34:56 Mariu nope Jan 12 23:35:25 TacticalJoke, http://www.commitstrip.com/en/2016/12/22/terminal-forever/?setLocale=1 almost related, almost :p Jan 12 23:35:50 I game sometimes, but it's mostly used for devving, browsing, and photo and video editing. I usually need to run a few VMs as well. Jan 12 23:39:39 I have 32 GB for emulators and other VM and Android Studio Jan 12 23:40:17 My Firefox has about 2 hundred tabs open and takes 5 GB Jan 12 23:41:56 Later this year I will buy the other 32GB Jan 12 23:42:22 I always end up changing machines because I can't find the RAM chips when I need them Jan 12 23:44:21 shouldn't be too much of an issue nowadays I think? Jan 12 23:44:28 progress in desktop land has been slow Jan 12 23:44:37 I got this machine I think over 3 years ago Jan 12 23:44:49 64gb is still the max today, CPUs aren't much faster either Jan 12 23:45:02 https://support.google.com/googleplay/android-developer/answer/7271173 so it's new, we can see order in dev console now Jan 12 23:45:06 (max for non-pro boards, that is) Jan 12 23:45:07 orders* Jan 12 23:45:58 oh hell yeah Jan 12 23:46:10 and you can go to orders through the URL Jan 12 23:46:16 guess I can refund again Jan 12 23:46:23 that has been nigh impossible for about a year :X Jan 12 23:46:40 never had an issue with wallet to refund Jan 12 23:46:53 it's always a customer request tho ;( Jan 12 23:47:08 I've had massive issues with them Jan 12 23:47:08 wonder if they ask for a refund after ordering a coffee sometimes... Jan 12 23:47:19 it seems to have degraded on a schedule, hehe Jan 12 23:47:43 yeah, people write me emails weeks later about 0.99 purchases they no longer want Jan 12 23:47:52 same, even year(s) later Jan 12 23:48:08 and never provide the order id Jan 12 23:48:09 I wish Google just gave us developers the option to refund-on-uninstall, no questions asked, up to two weeks after purchase Jan 12 23:48:35 so i have to search with their mail, lucky for them usually they don't have multiple accounts so i find it (despite it's obfuscated, search will reveal order with the mail in query) Jan 12 23:48:44 Chainfire: what is your application about, if I may ask? Jan 12 23:48:57 google for chainfire Jan 12 23:48:58 :p Jan 12 23:49:06 I have an auto-reply to people explaining how to get their order id Jan 12 23:49:15 Chainfire seems like people to request refunds and keep the app. its quite ridiculous the lengths people will go to rip you off 3 dollars Jan 12 23:49:16 I don't even see their original emails, only their replies to my auto-reply Jan 12 23:49:33 sasser, i think they don't recognize the value and the work behind an app Jan 12 23:49:47 and it's really problematic, and because of all those major famous free apps monetizing their private data Jan 12 23:49:48 this has absolutely decimated the number of emails I receive... Jan 12 23:49:55 had a few requests from lawyers.. i was instantly like. hm Jan 12 23:50:05 how stereotypical Jan 12 23:50:13 after shareware model was killed, and in-app model is now the hype, everything changed Jan 12 23:50:34 and it looks like subscription model is now growing Jan 12 23:50:41 pfn: I didn't know he was famous with the same nick he uses here. I'm googling pfn now Jan 12 23:51:00 * pfn isn't famous Jan 12 23:51:08 I know who you are :) Jan 12 23:51:21 you're famous in #android-dev! :) Jan 12 23:51:25 if everyone paid 3 dollars for useful apps it would help the developer and its divided fairly. i like the concept and believe in investing. its a same the limitations of some shareware without funding Jan 12 23:51:30 "The PFN Mobile App will help you grow closer to Jesus on a daily basis." Jan 12 23:51:41 shame* Jan 12 23:52:07 lol Jan 12 23:52:19 sasser sure people will try to rip you off for 3 dollars, but I rather let them have it than having to spend 5 minutes on their drama Jan 12 23:52:58 would be interesting to have stats on big apps about the refund rate and ratio Jan 12 23:53:05 race to the bottom is aweful though Jan 12 23:53:18 I will soon be in the app market for 10 years Jan 12 23:53:25 it was significantly easier to make money years ago Jan 12 23:53:29 agreed Jan 12 23:53:42 pfn: google says you are known to the world as "Mr. Scala for Android" Jan 12 23:53:59 so you are famous too Jan 12 23:54:03 Melatonina is a digital stalker :3 Jan 12 23:55:08 ahhh they finally pushed the release notes for 25.2.5 too Jan 12 23:55:28 https://developer.android.com/studio/releases/index.html Jan 12 23:55:48 oops Jan 12 23:55:52 https://developer.android.com/sdk/RELEASENOTES.html Jan 12 23:56:17 ok i'm tired.. https://developer.android.com/studio/releases/sdk-tools.html Jan 12 23:56:22 ttyl Jan 12 23:56:36 0 info almost Jan 13 00:04:52 Chainfire have you seen increase in bad behavior (refunds, drama, etc) ? Jan 13 00:05:38 Chainfire: thanks for SuperSU mang. Jan 13 00:05:50 didn't know you lurked here. Jan 13 00:06:19 lol looking up, Melatonina had no idea who s/he was talking to. maybe 'she' because 'nina' ? Jan 13 00:07:18 g00s not really Jan 13 00:07:29 I think relatively, it may even be less than in the past Jan 13 00:07:32 g00s: I talk to everybody in the same way. Jan 13 00:08:02 then again, that autoresponder it weeding out a large percentage, so I can't really be sure Jan 13 00:08:16 Yeah, I talk to everyone the same way too. Even if Chainfire is some superstar, it's still a user error to have hundreds of tabs open. :D Jan 13 00:08:17 I only installed that end of 2015 Jan 13 00:10:13 Chainfire i was hoping for paid upgrades in Play, by now i assume it won't happen Jan 13 00:10:31 one of those things that can be easily abused by devs Jan 13 00:10:53 but hey, market economics ... people can choose another product Jan 13 00:11:13 i like the simplicity of not having IAP, and just let Play handle everything Jan 13 00:11:40 but its pretty impossible to make money when there is only one transaction for that user ever Jan 13 00:13:08 heh, first BSOD in probably half a year Jan 13 00:19:46 Chainfire have you been exploring any new technologies, outside mobile ? Jan 13 00:20:37 not really. did some VR stuff, got some patents out of it, but the corp I did it for never got their funding handled. Jan 13 00:21:14 AI looks interesting to me, but I feel that before I can get a hang of it, all innovation will be in the big corps only, due to the massive datasets and processing power needed to get anywhere Jan 13 00:21:49 Chainfire did you see the video from qualcomm, tensorflow running on android ? Jan 13 00:21:58 nope Jan 13 00:23:04 Chainfire: why don't you make yourself hired by a big corp? Jan 13 00:24:09 I'm in Europe, don't really want to move to the US (now that I've been there dozens of times, not sure why I ever thought that would be nice), office politics are the devil, and I like working from home in my bathrobe :) Jan 13 00:24:19 haha, here here. Jan 13 00:24:23 * tx is self-employed. Jan 13 00:24:48 Chainfire hasnt been dished yet Jan 13 00:25:39 dished ? Jan 13 00:26:23 g00s just read the article, interesting stuff Jan 13 00:40:14 Hi. I have a full screen application, and I've hidden the soft back/home keys (e.g. on a nexus device), but when I select a menu item or something in my app, these soft keys reappear. How can I stop this from happening? Jan 13 00:40:39 Faizan: clear the focus Jan 13 00:40:55 http://pastebin.com/jFUSpYvy - fwiw that's my code used to hide the nav etc Jan 13 00:41:13 How do I go about doing that? Jan 13 00:43:04 where are you calling it? Jan 13 00:43:40 I call it as soon as my activity starts, so onCreate() Jan 13 00:44:04 might need to stick it in onWindowFocusChanged as well Jan 13 00:44:11 my experience is with the SearchView. If I programmatically set the value of the query when I create the menu, the edit text of the search view gets the focus and the soft keyboard is displayed. So I setQuery() and clearFocus(). Jan 13 00:45:12 hi, what's the best way to handle many insertions into a sqlite database quickly? i will be inserting ~20 rows per second over a ~2 hour timespan Jan 13 00:45:13 That prevents the soft keyboard from being displayed Jan 13 00:45:46 i want to know the best way to do this that will be relatively nice on battery life and without major interruptions Jan 13 00:45:52 Right okay Melatonina Jan 13 00:46:01 I'm gonna try this onWindowFocusChanged() thing Jan 13 00:46:11 bankai_: right now it's crashing saying requestFeature() must be called Jan 13 00:48:01 Nisani: http://www.techrepublic.com/blog/software-engineer/turbocharge-your-sqlite-inserts-on-android/ Jan 13 00:48:32 Faizan: was my suggestion not appropriate? Jan 13 00:48:48 Melatonina: the problem is I have around 4-5 menus plus other buttons Jan 13 00:48:50 it's a camera app Jan 13 00:49:15 And if I understand correctly, I would have to do it for each button Jan 13 00:49:52 why does Android shows a soft keyboard when you show a button? Jan 13 00:50:04 I don't understand what's happening in your application Jan 13 00:50:22 Never happened to me Jan 13 00:50:36 Melatonina: Not keyboard. Navigation keys. Jan 13 00:50:49 Oh, ok. Jan 13 00:50:52 Sorry Jan 13 00:51:01 Melatonina: I'm using SYSTEM_UI_FLAG_HIDE_NAVIGATION and from docs: "The navigation bar returns to view as soon as the system receives user input. As such, this mode is useful primarily for video playback or other cases in which the whole screen is needed but user input is not required." Jan 13 00:51:36 Faizan, https://developer.android.com/training/system-ui/immersive.html Jan 13 00:51:36 I think what bankai_ said is right: you have to reset those flags in Activity.onWindowFocusChanged (when the parameter is `true`). Jan 13 00:51:58 Faizan: exactly what Zharf suggested. I'm using Immersive Mode Jan 13 00:52:02 Zharf: I'm also using IMMERSIVE_STICKY flag - I've fixed it using onWindowFocusChanged(), but unsure if it's the best method Jan 13 00:52:12 Faizan: in that mode you have to swipe to get the navigation buttons Jan 13 00:52:13 Faizan: The documentation tells you to use this method. Jan 13 00:52:15 View.SYSTEM_UI_FLAG_IMMERSIVE_STICKY); - I have that as a flag Jan 13 00:52:32 last time I tried it I dind't need any tricks, it's just as the page explains it Jan 13 00:52:42 if you need tricks, you're either running samsung or doing something wrong Jan 13 00:52:44 Yeah Melatonina - the problem wasn't to get the navigation buttons back, is was to make them dissappear again after user input was finished Jan 13 00:53:05 From the page Zharf just linked to: "Implement onWindowFocusChanged(). If you gain window focus, you may want to re-hide the system bars." Jan 13 00:53:17 Yeah I've done exactly that now Jan 13 00:53:41 Like they say, read the manual Jan 13 00:53:42 thanks guys Jan 13 00:54:13 Note that you should be able to (if I'm not misremembering) remove that call from Activity.onCreate now. Jan 13 00:54:44 So I've put my code in a method called setupScreen(), which sets immersive mode etc, and in onWindowFocusChanged(), I call that method - that sounds about correct right> Jan 13 00:55:48 Yeah TacticalJoke that should be possible, but I'm using requestWindowFeature() in that method too, and that can only be called before the layout is inflated, so I call setupScreen() before inflating the content, with a true boolean so that it can execute the full screen code Jan 13 00:55:55 There's probably a much better way of doing this but yeah Jan 13 00:57:09 http://pastebin.com/sm7VZWgn that's basically how I've done it if you're interested TacticalJoke Jan 13 00:57:32 Couldn't you call requestWindowFeature() in onCreate() and the `getWindow()` stuff in onWindowFocusChanged()? Jan 13 00:57:45 Uhhh eah Jan 13 00:57:48 I'm stupid lol Jan 13 00:58:10 Activity.onWindowFocusChanged should be called right after Activity.onCreate. Jan 13 00:58:30 Though I could be misremembering; it's been ages since I've thought about this stuff. Jan 13 00:58:37 We'll find out in a second :) Jan 13 00:59:06 Uh it works, but there's a 2 second delay or so Jan 13 00:59:12 Oh, hmm. Jan 13 00:59:20 Which doesn't look too great Jan 13 01:00:14 I guess you'll have to call that method in both places. But I don't see the point of that `calledOnCreate` thing -- why not just say `requestWindowFeature(Window.FEATURE_NO_TITLE);` in Activity.onCreate? Jan 13 01:00:28 Yeah I just did that I mean Jan 13 01:00:38 but there was a 2 second delay in hiding the navigation bar etc Jan 13 01:00:41 Chainfire: do you have a domain of expertise, aside Android internals? I mean something that you like to write applications about Jan 13 01:00:47 I guess because onWindowFocusChanged() is called a few seconds after Jan 13 01:00:59 Chainfire: but are not IT topics in themselves Jan 13 01:01:02 Ah I get what you mean Jan 13 01:01:13 so call both the method and requestWindowFeature(...) in onCreate Jan 13 01:01:22 Right. Jan 13 01:01:41 yeah agreed, that makes sense Jan 13 01:03:20 Thanks for the help again Jan 13 01:03:40 i have a project that depends on JSON,XML files to populate small app with listview anyways should i parse them live or cache them on server via php then download them wtih Download Manager and parse them Jan 13 01:03:42 ??? Jan 13 01:03:48 FWIW, it might help to make the method name more specific (`goFullScreen` or something like that). Jan 13 01:04:59 mx8manger: Aren't you parsing them in both cases? I don't understand. :E Jan 13 01:05:33 i dunno i don't want to make a pressure on the server Jan 13 01:05:33 I have an ActivityUtil class with static methods like setFullscreen() or setImmersiveMode() etc. Jan 13 01:06:42 mx8manger: What's the difference, though? Would they be compressed in the "cache on server" case but uncompressed otherwise? Jan 13 01:07:49 actually i've though of zip compress them so when app download if download or network issue happend never upadte the app with missing data what do you think its a sample for ajob and i have lless than a week Jan 13 01:08:13 i spen 2 weeks woking on Control Panel to Feed the APp and I dont want to SPOIL it Jan 13 01:08:45 mx8manger: I don't understand the problem description; sorry. Maybe someone else does. Jan 13 01:09:06 Good night, mates Jan 13 01:09:49 i'm not your mate Melatonina Jan 13 01:10:04 he’s not your buddy, guy Jan 13 01:10:17 I thought you would reply something like that Jan 13 01:11:19 I wanted to give you a chance to be mean with me Jan 13 01:11:30 Melatonina stfu Jan 13 01:11:37 mx8manger of course it will stress server, may need to upgrade server. Jan 13 01:11:41 Melatonina: You are a lollipop head. Jan 13 01:12:43 g00s: you too Jan 13 01:13:05 :) Jan 13 01:13:10 you think,well its a sample they can run it on more than 10 devices BEFORE the apps stops with warning lol Jan 13 01:13:24 tx: I'm not literally a lollipop head. I can't google any other meaning Jan 13 01:15:43 Anyway, good night, ... well, good night. Jan 13 01:15:48 Melatonina: xox. Jan 13 01:40:38 hello everyone! Jan 13 01:41:43 I need help i want to know if it is possible to open a mobike hotspot up on my phone the same way the google home app does with chromecast when you first set it up Jan 13 01:42:26 because i have a unlimited plan my carrier blocks it but the google home app can turn it on and it is fully functional Jan 13 01:44:13 anyone? Jan 13 01:48:26 is there any point to storing a firebase token in a user's database, or just save it on the device Jan 13 01:50:01 Mr-Pink: yes Jan 13 01:50:24 it may be very difficult, but it should always be *possible* so long as your vendor isn't violating the GPL Jan 13 01:50:34 @luke-jr how would i do it? Jan 13 01:50:43 i am new to programming Jan 13 01:50:47 modify the code to remove the carrier limit Jan 13 01:50:52 no idea where that would be Jan 13 01:51:06 CyanogenMod/LineageOS seems to just unconditionally allow tethering out of the box.. Jan 13 01:51:16 i know i can do it to the build file but i want an app to do it Jan 13 01:51:30 i jave a galaxy s7 edge snapdragon Jan 13 01:52:12 no stable root right? Jan 13 01:59:34 b33f Jan 13 02:28:44 "I find I'm getting crankier in reviewing computing literature in my old age." lol Robert Glass, awesome **** ENDING LOGGING AT Fri Jan 13 03:00:01 2017