**** BEGIN LOGGING AT Sat Jan 07 03:00:02 2017 Jan 07 04:21:48 https://www.twitch.tv/seebotschat Jan 07 04:22:00 Two Google Homes talking to each other Jan 07 05:03:49 Would be an effective strategy to detect memory leaks to run funcional tests repeatedly and measure/compare used memory ? Jan 07 05:04:26 The tests are coded in espresso, so it's kinda an end to end test and I expect to run them without interruption for 48hs Jan 07 05:05:02 It's just a test ase that never ends, and in the middle i teak used memory, and free memory Jan 07 05:23:45 hi Jan 07 05:24:28 how to remove that app name on the upper left side of the app? Jan 07 05:31:39 anyone there? Jan 07 05:31:44 here :D Jan 07 05:38:06 hi, I have a general question. what is the expected behavior for an app if a user has a subscription. should the user be able to login to that app on multiple devices Jan 07 05:41:58 should the user be restricted to the device they subscribed with only? Jan 07 05:48:20 how to remove that app name on the upper left side of the app? Jan 07 05:48:31 i mean when we name our project lets="abc" then it shows that name on upper left corner every time ,so how to remove it? Jan 07 07:33:25 how to remove the title bar in the android studio? Jan 07 07:33:30 i tried using android:theme="@android:style/Theme.NoTitleBar"> but its crashing my app Jan 07 07:38:33 anyone alive? Jan 07 07:38:36 kutto Jan 07 07:38:45 not sure Jan 07 07:38:57 can you help me ? Jan 07 07:43:09 aa Jan 07 07:43:09 a Jan 07 07:43:09 a Jan 07 07:43:10 a Jan 07 07:43:10 a Jan 07 07:43:10 a Jan 07 07:43:11 a Jan 07 07:43:11 a Jan 07 07:56:20 hey hello Jan 07 07:57:27 do i need to use google's in app payments feature to make purchases legally speaking? can i use my own api to make purchases? Jan 07 07:57:33 my backend is pci compliant Jan 07 08:21:06 i tried using android:theme="@android:style/Theme.NoTitleBar"> but its crashing my app Jan 07 10:37:57 I've given up on #android-root as far as AOSP goes, they are obviously unrelated Jan 07 10:38:22 there is no channel just for AOSP, so again, anyone here have experience with it? setting up the build environment specifically? Jan 07 10:40:51 try xda Jan 07 10:41:20 it has 4 people Jan 07 10:41:28 #xdadevelopers doesnt exist either Jan 07 10:41:46 they have a forum... Jan 07 10:41:53 hehe Jan 07 10:42:01 nah I was looking for an IRC channel Jan 07 10:42:13 this isn't the right one Jan 07 10:42:14 I'll join one of the google groups Jan 07 10:42:24 it is the right now actually Jan 07 10:43:27 try mailing lists Jan 07 10:43:33 yep Jan 07 10:43:39 this should be it https://groups.google.com/forum/?fromgroups#!forum/android-building Jan 07 11:16:12 is there a more grandiose way of building stringpath's than this: http://pastebin.com/YvqPYBvZ or is it fine ? Jan 07 12:21:55 Bernzel, if you do it often or want to reduce alloc in all cases, a stringbuilder (or a stringbuffer) would be better Jan 07 12:28:41 Pretty sure the compiler will just turn that into a StringBuilder anyway Jan 07 12:29:03 String#format might be better Jan 07 12:30:09 (but I really don't know) Jan 07 12:30:14 IDEA/AS has an inspection that'll suggest to use string concat instead of stringbuilder in cases where it's at least as efficient as stringbuilder Jan 07 12:30:57 because it thinks it looks nicer/is more concise Jan 07 12:31:54 not sure if there's an inspection going the other way, if there is I've never seen it Jan 07 12:32:07 Yeah. String concat should just be turned into a StringBuilder by the compiler if I remember correctly. It's the cases where you have loops that you might want to create it manually (since otherwise a new StringBuilder would be created every iteration) Jan 07 12:33:18 makes sense Jan 07 12:44:37 indeed Jan 07 14:47:40 Hello Jan 07 14:47:46 Can I rant here? Jan 07 14:49:47 always Jan 07 14:58:29 when does the rant begin AndroidNewb ? Jan 07 14:59:08 I was waiting for the confirmation Jan 07 14:59:18 I was wanna say I the best there is! Jan 07 14:59:23 *I just* Jan 07 14:59:33 I'm* Jan 07 15:00:17 I might not be the best Android dev. but I can bet you in different stuffs! Jan 07 15:00:31 *beat Jan 07 15:02:00 <_rm> cool Jan 07 15:02:03 Not typing though Jan 07 15:02:16 thats not really a rant isit Jan 07 15:02:38 more like a derped trollin attempt Jan 07 15:05:05 Everyone thinks there the best but they fooling themselves. Jan 07 15:05:34 then they make excuses why there not the best/ Jan 07 15:05:44 *their Jan 07 15:08:34 *they're Jan 07 15:08:34 I take ten red bulls and I'm the best! Jan 07 15:09:12 raoul11: good enough Jan 07 15:10:43 please continue Jan 07 15:11:11 That was it! :) Jan 07 15:11:19 end Jan 07 15:11:29 <_rm> great rant dude Jan 07 15:11:33 agreed Jan 07 15:11:47 thanks! Jan 07 15:15:17 Not the best at detecting sarcasm apparently Jan 07 16:01:46 I'm very interested in developing my first app which I was hoping to develop using a cross platform tool like appcelrator or ionic. Does this make sense as a reasonable place to start? Jan 07 16:05:22 Jinxed-: https://www.youtube.com/watch?v=Mx-AllVZ1VY Jan 07 16:05:25 question, for fcm push, does the api key when i post to https://fcm.googleapis.com/fcm/send have to match the app token which i want to push to? Jan 07 16:06:45 api key is a key to acess api Jan 07 16:07:17 idk about the token Jan 07 16:07:20 Jinxed-: Probably not a good move if you want to build up a resume. I'd recommend learning "the real thing" (Android or iOS if it's more your thing) Jan 07 16:08:23 CedricBeust, I'm not interested in building up a resume as much as building my first app as a proof of concept to possibily start company and hire real people to develop it further Jan 07 16:08:29 squ, access api in general? i was thinking if i have the token of some app, can i push to it using my own api key (not attached to that app)? Jan 07 16:09:44 I understand this as single api key may access multiple projects for account Jan 07 16:10:01 that and I dislike Java Jan 07 16:10:17 although value android > ios Jan 07 16:10:26 JodaZ: does each project has its own token? Jan 07 16:11:41 Jinxed-: Then use Kotlin Jan 07 16:12:26 squ, i don't know, i asume so, but if i sniff or otherwise get it, would i be able to push to it? Jan 07 16:12:50 I don't understand what you are trying to tell Jan 07 16:13:43 squ, see i sniff the token some app that is not developed by me transmits to its servers, can i now take that token and push to it using my own api key Jan 07 16:14:46 notifications are parsed by application Jan 07 16:14:56 and then displayed to the user Jan 07 16:15:06 lets asume i can get the format right Jan 07 16:15:23 will google deliver it or will it refuse because i am not the apps developer Jan 07 16:17:30 let's assume it'll refuse... Jan 07 16:17:42 ? Jan 07 16:20:38 squ, Do you have any experience with Flutter ... it is the first time I'm hearing about it Jan 07 16:21:10 no, I've just seen this video Jan 07 16:28:44 lol squ there are exactly 0 women in the audience Jan 07 16:28:59 :) Jan 07 16:29:08 one moment Jan 07 16:30:08 https://twitter.com/zimmeter Jan 07 16:30:15 here is android woman for you Jan 07 16:30:31 https://twitter.com/HillaryClinton/status/742070501032534017 Jan 07 16:36:05 hey guys, I am new to android dev (ive had couple of ios projects) and I am searching for a way to do something like a timeline (social feed) like instagram or facebook, should I go with table layout or list layout, or if you can tell me some out of the box tutorial how to do timeline i will be helpfull Jan 07 16:37:49 hello all. I would like to compile the contents of android-sdk/extras/android/m2repository/com/android/support/support-v4/23.4.0/support-v4-23.4.0-sources.jar into a jar file that I can place into the libs folder in my dependencies. How do I do that? Jan 07 16:37:49 Outside of something like XPrivacy, any way to restrict program access to the clipboard? Jan 07 16:42:18 Hi, why is it that when I set a button to android:enabled="false", then the button becomes invisible? Jan 07 16:42:22 is that normal behaviour? Jan 07 16:43:07 does anyone here use flutter? Jan 07 16:43:14 Faizan: Nope Jan 07 16:43:22 Wait whaat Jan 07 16:45:42 because I have a copy of the android-support-v4.jar that I was provided by a client, but the implementation of ContextCompat doesn't include checkSelfPermission in the API - so I need to update to API 23 of that support library. But there isn't a distributable JAR file available in the SDK manager, only the source jar. Jan 07 16:46:20 how can I compile those sorces into a distributable jar? (I am neither an android nor java dev, but am building an android extension for a project that requires the presence of that support library) Jan 07 16:46:45 s/sorces/sources/ Jan 07 16:50:30 Dagmar: Jan 07 16:50:30 http://pastebin.com/PxjwPiac Jan 07 16:50:40 do you see anything wrong that might be making that invisible? Jan 07 16:51:10 ah nvm Jan 07 16:51:29 I had a surface view underneath it, it's weird because other buttons were showing, only ones that had 0.5 alpha weren't Jan 07 16:57:28 _Some_ people wouldn't bother setting transparency in the layout, but would actually make it a part of the selector theme where it *should* be Jan 07 16:57:57 anyone? Jan 07 18:32:40 \o Jan 07 19:00:02 how to access reminders in android? Jan 07 19:00:07 i want users to set reminders in my app.... khaytsus Jan 07 19:00:11 i want users to set reminders in my app.... Jan 07 19:15:27 ?? Jan 07 19:26:41 I have read that atomic is for app prototyping... what do people do with these prototypes to turn it into the real app? Jan 07 19:28:23 DynamicFail: you start Android Studio and write the actual application Jan 07 19:28:37 Seems like a bit of wasted effort Jan 07 19:29:22 If the application is very simple yes Jan 07 19:29:39 but then the application itself is probably a wasted effort Jan 07 19:30:37 The prototyping tools are tools for helping a person or a group of people to think and communicate about their application Jan 07 19:31:19 DynamicFail: https://developer.android.com/guide/index.html Jan 07 19:31:22 I guess I get that Jan 07 19:31:30 DynamicFail: https://developer.android.com/training/index.html Jan 07 19:31:37 Seems like you would just use something like ionic Jan 07 19:31:38 DynamicFail: welcome in hell Jan 07 19:31:55 and prototype with a tool that you could actually then just build the app from Jan 07 19:33:02 I was king of leaning towards a crossplatform tool either iconic, flutter, or appcelerator for building my first app Jan 07 19:33:18 I don't want to do java and then have to do objective C Jan 07 19:34:06 more than that, they added new language Swift Jan 07 19:34:30 squ, who added a new language Swift? Jan 07 19:34:37 look it up Jan 07 19:35:17 DynamicFail: also have a look to Xamarin Jan 07 19:36:11 Melatonina, thanks for the suggestion. From my noob perspective it seems like appcelerator or Xamarin would provide best peformance on a platform that is well supported. Flutter seems like it has a ton of potential but is like at an alpha level Jan 07 19:36:19 my biggest fear is that I'm not a .NET developer Jan 07 19:36:45 C# is a beautiful language Jan 07 19:37:11 I'm most familar with C++/Python I have done some basic tutorials in Javascript,Ruby Jan 07 19:38:03 c++ is not used seriously by anyone Jan 07 19:38:53 Java and C# are in between C++ and Python. Jan 07 19:39:21 squ, I assume you mean in regards to the mobile app market Jan 07 19:39:52 I thought about F-35 development at the moment I typed it Jan 07 19:40:52 http://www.sigada.org/conf/sigada2004/SIGAda2004-CDROM/SIGAda2004-Proceedings/Keynote-Pam-Thompson.pdf Jan 07 19:41:48 DynamicFail: learning the platform will take you more time than learning whatever language you are going to use Jan 07 19:42:24 DynamicFail: I yet have to read my first Java book Jan 07 19:42:27 Yeah, I know.. it just takes so much time getting everything ready in the platorm to get start coding Jan 07 19:42:45 Ionic is appealing because there is alot of support out there Jan 07 19:42:51 if yer into python, check out #kivy DynamicFail Jan 07 19:43:14 How can I get a loading circle for my search activty? Jan 07 19:44:07 raoul11, thanks for the link. I looked at kivy before but honestly wasn't impressived. Even their gallery of example apps is underwhelming Jan 07 19:45:44 did you check https://play.google.com/store/apps/details?id=org.kognitivo.kognitivo DynamicFail ? Jan 07 19:45:57 DynamicFail: http://stackoverflow.com/questions/31986110/xamarin-vs-ionic-frameworks-pros-and-cons Jan 07 19:45:59 i did 2 apps with kivy (rewrote one with native though later on) Jan 07 19:47:20 DynamicFail: in particular http://stackoverflow.com/a/37154638 Jan 07 19:47:44 raoul11: why rewrite? Jan 07 19:48:16 Melatonina, raoul11 thanks for the links Jan 07 19:48:33 hey guys Jan 07 19:48:36 wanted to compare the same codebase on both platforms in terms of performance Jan 07 19:49:13 from my experience it's always better to go native than using alternative languages frameworks Jan 07 19:49:16 DynamicFail: you're welcome. Have a nice 2017 Jan 07 19:49:16 Melatonina, you have any views on appcelerator? Jan 07 19:49:33 DynamicFail: no, sorry Jan 07 19:49:47 I used Appcelerator & Titanium at work Jan 07 19:50:05 it's easy to develop if you know web technologies but like all frameworks, some plugins are paid Jan 07 19:50:07 raoul11: compared to what conclusion? Jan 07 19:50:43 that native is much much faster /: Jan 07 19:51:11 thing i found most difficult is calling native mehtods from python Jan 07 19:51:36 syntax was a bit too discouraging, and i had some issues implementing some 3rd party sdks Jan 07 19:53:33 does is really uses python? did python knowledge helped there? Jan 07 19:54:07 how much of actual python code relative to method calls Jan 07 19:54:23 all of it Jan 07 19:54:31 it runs entirely inside the python vm Jan 07 19:54:49 you dont really need to call native methods, as the platform does most if itself Jan 07 19:54:59 you got pre-made widgets for pretty much everything Jan 07 19:55:02 so its worth if DynamicFail wants to use python Jan 07 19:55:11 yep Jan 07 19:55:13 ok dinner break be back later.. thanks for the input lots of reading to do Jan 07 19:55:21 it also has a great community here on freenode Jan 07 19:55:23 plenty of time waiting for my dev computer to update Jan 07 19:55:32 and its cross platform Jan 07 19:55:55 so you can deploy to pretty much everything, with diff' compile methods Jan 07 19:56:24 i did some windows with the same platform Jan 07 19:56:24 that's theory most of the time Jan 07 19:56:42 check it /: Jan 07 19:56:51 idk Jan 07 19:57:11 not fan Jan 07 19:57:25 of python? Jan 07 19:57:34 yeah Jan 07 19:58:03 it was my main lang till i went native android dev Jan 07 19:58:40 I have a search activity that takes about 5 seconds to run the search. It doesn't switch to the results activity until it is done with the query. How can I make it go there immediately get a loading animation in there. Jan 07 19:59:07 noahmg123 https://github.com/81813780/AVLoadingIndicatorView Jan 07 19:59:22 if you dont want to use the native loading or dont wanna rewrite your own Jan 07 19:59:55 raoul11: I would like to use the native one Jan 07 20:00:14 and there is also the issue of making it go to the results activity automatically Jan 07 20:00:59 raoul11: sourceforge still holds my python app, uploaded in 2006 :) Jan 07 20:01:16 raoul11: thanks for the link but why not the native progress bar? Jan 07 20:01:35 noahmg123: are you using an AsyncTask? Jan 07 20:01:47 thought he might want a refreshing look Melatonina Jan 07 20:01:59 squ: whats was it? Jan 07 20:02:47 raoul11: gui app with wxPython Jan 07 20:02:51 Melatonina: I'm using the default search functionality Jan 07 20:03:13 you still do python squ? Jan 07 20:03:15 raoul11: wx was top popular cross-platform tool at that time Jan 07 20:03:30 i find it almost impossible to control two languages syntax at the same time Jan 07 20:03:31 raoul11: no I stopped after they released non compatible 3 Jan 07 20:03:36 kek Jan 07 20:03:46 I wouldn't call it "popular". I'd call it "the only" Jan 07 20:03:54 yeah, that transition to py3 was a bit silly Jan 07 20:04:09 Dagmar: there were others Tk, Qt, GTK Jan 07 20:04:21 tk sitll around Jan 07 20:04:38 but kivy is real more modern in the looks Jan 07 20:05:23 I built a crappy Python app this morning with tk actually. Jan 07 20:06:22 Tk is and always has been hideous, and GTK and Qt had no simple way to install or be maintained on Win32 then Jan 07 20:07:04 wX was universally slow, but it at least worked without resulting in a completely baffling installation on the other platforms Jan 07 20:08:24 some silly app i did for my windows with kivy: http://i.imgur.com/KF3es2k.png Jan 07 20:30:04 how can I get my search activity to open immediately? Jan 07 20:32:46 I don't know the search features of Android, sorry. Jan 07 20:36:01 that's ok Jan 07 20:37:35 did you see that RV talk yday Melatonina ? Jan 07 20:38:28 raoul11: most of it. Thanks. Most of it wasn't new to me but it contained many interesting tips. I'll finish it later today. Jan 07 20:39:37 raoul11: my problem was caused by a known bug in appcompat-v7 Jan 07 20:40:42 specifc to an api? Jan 07 20:42:08 I don't know how to answer to this question. I'll try to find the relevant StackOverflow Q&A Jan 07 20:42:11 1 minute Jan 07 20:47:06 raoul11: I can't find it. This is the problem but none of the solution were good for me: http://stackoverflow.com/questions/36535695/viewpager-with-toolbar-and-tablayout-has-wrong-height Jan 07 20:50:28 raoul11: what is that special layout that handles FAB buttons, snackbars and other special behaviours? I can't recall it's name. Anyway it gives special behavior to the TabLayout too. It makes the Toolbar collapse on swipe when a TabLayout is present. I had to drop it and that feature and use simpler layouts Jan 07 20:51:07 coordinator? Jan 07 21:01:29 raoul11: exactly, the CoordinatorLayout! Jan 07 21:02:39 raoul11: but I managed to have horizontal recycler views inside a vertical view pager Jan 07 21:03:25 raoul11: if you need an usable vertical view pager, ask me. It's slightly better than the best that you can find on the web Jan 07 21:21:21 anyone run into jdk issues with android studio on 16.10? I can't seem to get studio happy enough to start. openjdk-{8,9}-jdk are both installed, update-alternatives has everything pointing at 9. Commented out the "maxperfsize" lines in the configs as the recommended fix for that option being removed in jdk9 Jan 07 21:22:12 every time i try to launch it it throws errors on looking for tools.jar and says to make sure it's pointing to a JDK not JRE Jan 07 21:22:20 far as i can tell, it should be... Jan 07 23:33:21 svc power stayon true, and after that dumpsys power | grep mStayOn gives: mStayOn=false Jan 07 23:33:31 do I have to pay attention to something else as well? Jan 07 23:34:08 svc power stayon true does wake the screen up but it locks after 30 seconds... Jan 07 23:34:33 I thought svc power stayon true would unlock it and keep it on Jan 08 00:03:36 "Ransomware Spreading Onto Smart TVs" solution: kill your tv, ta-da ! Jan 08 00:43:32 Good evening. Jan 08 00:46:11 I'm working on two android apps that run on separate devices and communicate via TCP/IP. From googling I see that it should be possible to connect both devices via USB and open Android Studio debugging sessions to both devices simultaneously. Are there any gotchas? Jan 08 00:57:31 Hi,can I use broadcast receiver to listen this activity ( new Intent(android.provider.Settings.ACTION_BLUETOOTH_SETTINGS);) Jan 08 01:43:52 Hey all, could someone help me out and take a look at this xml http://pastebin.com/kJe87K4t? I finally got it laid out how I want but the problem is it no longer scrolls? What did I do wrong Jan 08 01:45:11 Basically trying to achieve this effect: https://github.com/florent37/MaterialViewPager but without having to use the library as it currently has 140+ issues lol. Jan 08 01:54:42 So I'm just wrapping up a register screen. Everything is good but I haven't implemented SQL protection. Is it standard protocol to implement within the android code or in the php code that actually sends the data to the server? Jan 08 02:02:21 keur: in your PHP code, use PDO and you're done Jan 08 02:05:47 MarkyC, Thanks :) Jan 08 02:10:39 i fixed it. idk how i fixed it but i did Jan 08 02:12:08 I have never seen something so accurate as a tweet once that said along the lines of "If you love oscilatting between feeling like a genius and a complete moron, programming is for you" Jan 08 02:12:10 lol Jan 08 02:14:13 maybe you are just bipolar Jan 08 02:15:58 it is a possibility Jan 08 02:16:48 depression and adhd have plagued me for the majority of my life. cant afford medical care though so just have to tough it out Jan 08 02:17:07 Scientific research shows that depressed people are more realistic than non-depressed people Jan 08 02:17:25 So maybe you are actually a moron Jan 08 02:17:38 lol Jan 08 02:17:43 :) Jan 08 02:18:07 I hope you get rich and can take care of your health Jan 08 02:18:36 Do you live in the States? Jan 08 02:22:22 It seems to me that all humans are seriously lacking in what we call "intelligence". Jan 08 02:23:05 especially on social media Jan 08 02:24:28 Good night people. Thanks for your support. Jan 08 02:25:23 TacticalJoke This is what excites me with the coming advances in brain-computer interfacing. In general, biological brains have limitations, but machine intelligence does not. Jan 08 02:25:38 Yeah, that stuff sounds really cool. Jan 08 02:28:45 SporkWitch: I like to keep a safe distance from Facebook and all that. :S Jan 08 02:30:07 Love watching it from a distance, though. Jan 08 02:30:13 Especially messy drama. Jan 08 02:33:08 Definitely in a "Wanting to watch the world burn" kind of way. Jan 08 02:47:21 Has anyone done used a Singleton class for the request queue in volley? Jan 08 02:48:20 The docs have you declare the context as static and, when we return the instance to the user, we check if context is null. Since it's static will the context automatically become null once that activity ends? **** ENDING LOGGING AT Sun Jan 08 03:00:00 2017