**** BEGIN LOGGING AT Sun Feb 19 03:00:02 2017 Feb 19 03:04:45 pastebin the actual error, and at least some of the code which causes it... Feb 19 03:08:24 Here's the error: http://pastebin.com/9bPVSW46 If anyone can help that'd be lovely. Feb 19 03:33:02 Hello, how exactly do I start with android development? Feb 19 03:36:21 google "android studio tutorial" Feb 19 03:37:35 sweet :) ty Feb 19 03:41:20 xRob Feb 19 03:41:48 Udacity has a great android development course for beginners Feb 19 03:43:17 I'll check it out Feb 19 03:44:11 tassilo_tazz: That's some creepy robotic arm shit on their homepage Feb 19 03:44:20 LOL Feb 19 03:45:09 Is these courses free? Feb 19 03:45:39 Some Feb 19 03:45:51 All the Android Development ones are I believe Feb 19 03:48:53 How long will it take me to learn how to wear a hoodie inside on my computer in the middle of the night while typing green font in a terminal? Feb 19 04:03:38 xRob_, it's not that hard, really Feb 19 04:04:01 If you're running Windows, you can make Command Prompt fullscreen and change the text color to green Feb 19 04:04:15 Find some interactive terminal text editor, then run that Feb 19 04:04:22 Wear a hoodie and you're set :) Feb 19 04:04:53 Oh, and you have to wait until night. That'll probably be the most time-consuming part Feb 19 04:07:10 xRob_ HactarCE Real hackers use http://www.hackertyper.com/ Feb 19 04:09:59 xRob_: Android developer portal also has some tutorials and sample apps that you can refer and learn. It helped me a lot initially. Feb 19 04:12:24 hi, all! does anyone know anything about badge.permission.Read|WRITE permissions? they seem mysterious, having googled around a bit... Feb 19 04:12:54 i can't speak to this site's accuracy, but this seems like a neat source for otherwise scantily documented permissions: https://android.izzysoft.de/applists/perms?lang=en Feb 19 04:17:54 I've posted a few times in here about the desktop chat app i've been building...do you guys think it might be better implemented as plugins into existing editors rather then a standalone desktop app? Feb 19 04:18:50 Is there any major editors or ides that dont have a package/plugin system? Feb 19 04:22:27 orbyt_: i'm interested to know what you're chat app's about, if you feel like giving me the spiel :) Feb 19 04:22:57 treelzebub Imagine Slack, IRC, and StackOverflow had a baby. Feb 19 04:23:31 IRC and Slack is easy to marry. let me process the SO bit Feb 19 04:23:50 Slack recently added the "Threads" feature. is it sort of like that? Feb 19 04:24:26 treelzebub It provides inline access to documentation and user generated code. I should've probably added Dash for macOS to that description. Feb 19 04:26:23 i'm intrigued! is it open source by any chance? Feb 19 04:26:46 Why did I just d'ced >.> Feb 19 04:31:42 i like the idea. i'm trying to visualize how that might work on a mobile phone Feb 19 04:32:29 treelzebub This is a desktop app at the moment. Feb 19 04:33:15 ah, you did say that. so you're looking to make this an IntelliJ/Android Studio plugin? Feb 19 04:33:42 The question was if this might be better suited as a plugin for popular editors and ides instead of a standalone desktop app Feb 19 04:33:48 or you're asking, "should i build this as a standalone thing, or integrate with several IDEs" Feb 19 04:33:54 right. got it. Feb 19 04:34:59 i think it might be best to write the business logic in something consumable by plugins for IntelliJ and XCode/AppCode Feb 19 04:36:07 then if it takes off, you can support whatever you want because the guts of it are portable Feb 19 04:37:25 My hesitation with going the plugin route is that I then need to maintain quite a few separate plugin codebases. Additionally, if a user uses an editor that is not supported or does not have a plugin system, they would be out of luck. Feb 19 04:37:42 if you had asked in some #web or #data channel then i'd maybe offer different IDEs, i dunno ;) Feb 19 04:38:18 yeah, supporting IDEs adds complication, true fact. Feb 19 04:38:54 The plus side though is users dont need to have open another desktop app, as the plugin is just integrated with their editor. Feb 19 04:39:49 now that i think about it-- as an engineer, i don't want chat integrated with my IDE. that's lethal to concentration. right now, for me, Slack is the perfect way to respond to people when i have a second. Feb 19 04:40:02 Why is that? Feb 19 04:40:13 which part Feb 19 04:40:20 Why is it lethal? Feb 19 04:40:46 It would just be a sidebar or something you could hide Feb 19 04:40:59 well, notifications have to potential to be distracting. i don't expect shit other than expected errors to pop up while i'm in code land. Feb 19 04:41:15 and you didn't say it'd notify you-- i'm just thinking out loud :) Feb 19 04:41:51 i don't expect notifications from IRC or StackOverflow. i guess i'm curious about the Slack element. Feb 19 04:42:15 Well, think of it this way..your chatting about an issue your having with your code and getting help from others in the chat room. You would have to switch back and forth between your editor and the app. Feb 19 04:42:33 Where as if its side by side, well it becomes much easier Feb 19 04:44:50 Perhaps the best course of action is continue with a standalone app and add minimal plugin support as time permits. Feb 19 04:45:00 That seems like a good compromise. Feb 19 04:45:23 i guess i just don't feel too much disconnect between my tech-related chats and the code that i'm working on. the real interest that i have in what you're proposing is that it makes source documentation easier to reference, and maybe keeps track of Q&A history. i don't really care if it's integrated with my IDE. so i take back what i said a few mins ago. maybe desktop app is best. Feb 19 04:46:18 it does seem like a good compromise. either that or write it all in javascript and port it to every IDE in a webview :P Feb 19 04:52:50 Well thanks for your input treelzebub, it's appreciated. Feb 19 04:53:17 sure thing! i hope it becomes a thing. i'm interested! Feb 19 04:59:19 That's good to hear. We'll see where it goes ^ . ^. Feb 19 07:34:21 Hello Feb 19 07:44:32 my emulator's uselessly slow Feb 19 07:44:38 usefully? Feb 19 07:44:44 it just stays black and never boots it seems Feb 19 07:45:16 but it's a pretty old 800mhz quad core system Feb 19 07:45:42 oh I don't need to emulate if I run my app on my phone right? Feb 19 07:45:50 can usb it Feb 19 07:57:14 you're not going to get much emulation out of an ancient CPU like that, right Feb 19 07:57:26 but you can use a device instead, sure Feb 19 09:16:38 jaggz: I recently discovered that you can even install/run/debug your applications on your real device without USB, using WiFi! Feb 19 09:18:00 Really? Feb 19 09:19:20 Just read about it Feb 19 09:20:20 adb tcpip (port); adb connect (ip):(port)? Feb 19 09:20:30 That's it? Feb 19 09:21:11 yes Feb 19 09:23:25 don't forget to disable WiFi debugging when you finished. Someone silly could debug your ass while sip a coffee with your gf at Starbucks Feb 19 09:28:17 hi mela Feb 19 10:04:18 Melatonina, wait how do you disable wifi debugging? Feb 19 10:06:39 do I put my colors in colors.xml or styles? Feb 19 10:07:21 hi raoul11!1!!!!1 Feb 19 10:07:27 I'm new to this.. have a button that I want its bg color red when selected Feb 19 10:08:08 anyone using EventBus? getting No subscribers registered for event on a fragment that is the subscriber Feb 19 10:11:53 sorry, I use RxJava Feb 19 10:12:44 boo Feb 19 10:16:31 boo? Feb 19 10:19:52 Melatonina, how do I disable wifi debugging when I'm done? Feb 19 10:20:16 is it in my dev settings? (I don't have my phone on me right now) Feb 19 10:22:21 there is a "ADB over network" settings in the Developer settings Feb 19 10:22:36 http://stackoverflow.com/questions/4893953/run-install-debug-android-applications-over-wi-fi Feb 19 10:23:42 thanks Melatonina :) Feb 19 10:28:54 hello everyone Feb 19 10:29:14 I have icons in drawable folder Feb 19 10:30:13 How can I set the icon on google maps .icon(BitmapDescriptorFactory.fromResource(R.drawable.)) Feb 19 10:30:44 I mean how can I set the part dynamically Feb 19 12:02:08 Is it possible to create an emulator with dual sim cards? Feb 19 12:32:43 Anyone here from google able to help? Theres a bug in the developer console preventing me from publishing an app update. Feb 19 13:52:38 hello Feb 19 13:53:02 https://ideone.com/53kczi Feb 19 13:53:17 can someone tell me how to know which async task was called Feb 19 13:54:47 the one where .execute() was used Feb 19 13:56:43 and asynctask has getStatus Feb 19 14:55:55 hello? Anyone knows a tutorial to import framework-7 into android studio? Feb 19 14:58:31 i'd like to know how to import a qt form from qt to visual studio Feb 19 14:58:34 if it's possible Feb 19 14:59:34 um Feb 19 14:59:35 hm Feb 19 14:59:46 oh damn wrong channel :D Feb 19 15:00:25 was thinking qt would be cool on android, and idk if thats accomplishable in xamarian / c# or not Feb 19 15:26:55 Hey, is there a company that handles submissions of app to chinese app stores? reclaim of apps offered by stored by other publishers and such? Feb 19 16:19:25 hi about ads Feb 19 16:24:41 i want script that can pause logcat when user taps p and unpsause when user again taps p. this is possible Feb 19 17:11:02 above: it is possible, but I doubt that anyone has already done it for you. Have you tried using the AndroidStudio logcat window though? It pauses when you click the log with the mouse, and unpauses when you click the "scroll to bottom"-button. Feb 19 18:46:17 Anyone know how to scale a video in a VideoView to match the views size? I have the VideoView set to match_parent yet the video is still small, likely due to it trying to maintain the aspect ratio Feb 19 18:51:42 Overriding onMeasure did it, now to make it full screen while mainting aspect ratio... Feb 19 18:53:23 You may want to use a special layout Feb 19 18:53:41 to maintain the aspect ratio Feb 19 18:53:59 I may have one taken from the Interwebs Feb 19 18:54:36 Yea, I found something that kinda works, obviously most of the video is cut off though Feb 19 18:54:59 I wonder how Snapchat does this? Is it because all videos are recorded in the app, they already know the aspect ratio? Feb 19 18:55:44 widgets seem to preserve some properties such as text, checkedness, etc when destroyed and recreated Feb 19 18:55:55 do they also do this to event handlers and if so how Feb 19 19:01:31 If anyone experienced in BLE android dev give me a holler/message!:) Feb 19 19:16:36 F1nny Your better off asking your question in the chat. Feb 19 19:45:33 Hello, for small applications should I use MVP or MVVM? Feb 19 19:48:16 mvvm + coordinator Feb 19 19:50:41 Thank you Feb 19 20:02:12 Who here has done some programming using a joystick ? Feb 19 20:12:12 I did. In the '80s Feb 19 20:12:36 you mean program to use a joystick, or write code by using a joystick? :S Feb 19 20:12:54 Use the joystick to write the code. Feb 19 20:12:58 of course. Feb 19 20:13:01 ;) Feb 19 20:13:03 of course Feb 19 20:13:10 lol Feb 19 20:13:31 sounds like a shortcut to ragequit Feb 19 20:16:21 kempstone Feb 19 20:17:04 I think I need to speak to a game-controller pro. Feb 19 20:22:41 oh well will just have to figure it out. Feb 19 20:23:34 when using mvp, which layer is it acceptable to have knowledge of Context? I'm writing a simple app using mvp (to better understand it) and have read that the presenter should have no knowledge of anything related to android itself Feb 19 20:49:16 how do I reference a styles.xml color from a layout (content_main) .xml? Feb 19 20:49:31 actually, referencing a color from colors.xml Feb 19 20:51:18 @color/the_name Feb 19 20:54:52 KukOrkan: the view will have a reference to Context, obviously. This is a series of articles about MVP on Android with example implementation. Feb 19 20:56:38 Melatonina, thanks.. :) Feb 19 20:56:54 np Feb 19 21:00:15 KukOrkan: operations depending on Context should be provided from the View to the Presenter Feb 19 21:08:11 I am trying to put an object that uses an Executor internally into a Bundle, but appearently the Bundle class uses reflection instaid of parcelables to copy the object. However this leaves me Executor in a corrupt state after restoring the object from the Bundle. Is there a good way to avoid this? Feb 19 21:11:05 umm Feb 19 21:11:24 Bundle knows only primitives, Serializables and Parcelables Feb 19 21:12:16 things like Threads, Files, i/o stuff or Executors cant be sent via Bundle Feb 19 21:13:39 Yes, I figuered. But how do I ensure the old Executor is closed before saving to bundle and a new one is created after restoring. Feb 19 21:15:17 Melatonina, so the view should pass context to the presenter, the presenter (interface, not impl) itself should not contain any methods which take context as an argument? Feb 19 21:15:58 KukOrkan: no, the view should have an interfaces that provides all "services" that require a Context, hiding it Feb 19 21:17:07 Melatonina, hmm, ok. could you link to any examples? Feb 19 21:17:51 KukOrkan: the series of articles that I linked earlier are good Feb 19 21:18:27 Melatonina, i don't see any links Feb 19 21:19:18 KukOrkan: suppose you have to do Something that require a Context. Then the view should provide a method doSomething() which does it for the presenter Feb 19 21:19:52 KukOrkan: link http://www.tinmegali.com/en/model-view-presenter-android-part-1/ Feb 19 21:20:15 Melatonina, thank you Feb 19 21:20:49 np Feb 19 21:22:37 Ashiren: Are there no event handlers to make sure the Executors are recreated properly. Feb 19 21:30:03 Someone help me here, I am trying to put an object that uses an Executor internally into a Bundle, but appearently the Bundle class uses reflection instaid of parcelables to copy the object. However this leaves me Executor in a corrupt state after restoring the object from the Bundle. Is there a good way to avoid this? Feb 19 21:49:00 My first app in 5 years: http://pasteall.org/257712/java Feb 19 21:49:10 It doesn't seem to play the audio (that maybe it doesn't record)... Feb 19 21:53:02 then again, it's trying to record to /storage/emulated/0/myaudio.3gp Feb 19 21:53:12 is that a valid location? Feb 19 21:53:43 (ignoring that it's rude and sloppy) Feb 19 22:00:27 Oh now it doesn't record anyway Feb 19 22:14:27 didya ask for the permission? Feb 19 22:15:02 also, when you call a filepath 'clipPath' Feb 19 22:15:08 that's a bit confusing maybe Feb 19 22:30:21 Is there something similar like window.requestAnimationFrame(callback) for Android? Feb 19 22:34:39 actually there is a postOnAnimation method on views that provides that functionality Feb 19 22:38:06 I wanted to use the default DrawerLayout (from the example) for my app, but it always gets stuck or it can't even be pulled out. Any ideas what might be wrong? Feb 19 22:47:26 can notification be auto expanded (programatically), so you can see the actions without having to manually expand the notification? Feb 19 23:07:56 If anyone is experienced with custom views please take a look: http://stackoverflow.com/questions/42334019/creating-a-rounded-rectangular-countdown-timer Feb 19 23:08:14 I'm trying to essentially create a countdown timer that is a rounded rectangle Feb 19 23:08:50 With a circle, I can use .drawArc() and specify a degree, but am unsure how to recreate this functionality with a rect Feb 19 23:14:56 aww.. xorgate left Feb 20 00:16:14 Alright, I'm trying to learn how to do android things, and one of the things I'm running into is permissions. Feb 20 00:16:48 If I explicitly declare my permissions in the manifest, the app works fine. But if I try to use the Android M+ approach of asking for them at runtime, the dialog isn't shown and the code associated with it doesn't work. Feb 20 00:17:06 Even though my code is essentially a carbon copy of the code on the official tutorial for this sudbject Feb 20 00:17:10 subject* Feb 20 00:18:08 Are you running your app on a device that is M+? Feb 20 00:18:17 I'm running on a device with N Feb 20 00:18:37 Was the permission already granted? Feb 20 00:18:49 Not sure, the dialog didn't even pop up Feb 20 00:19:03 And some toast notifications that I set up to debug it when the permission was denied were being shown Feb 20 00:19:43 Are you doing it manually or using a permissions lib? Feb 20 00:19:58 Have you run the app with permissions before, then switch it? Maybe clear the cache on the emulator? Feb 20 00:20:17 Like I said I'm doing it the way that is shown in the official tutorial (https://developer.android.com/guide/topics/permissions/requesting.html) Feb 20 00:26:08 Redrield You really need to post your code. Also, the link you've mentioned does not contain any code examples. Perhaps you meant https://developer.android.com/training/permissions/requesting.html ? Feb 20 00:26:30 That would be it yes Feb 20 00:26:40 Sorry was just grabbing the first google result with some resemblance Feb 20 00:28:07 I would suggest clearing the application and it's data off the device and retrying. Also, this may be of use to you: https://github.com/codepath/android_guides/wiki/Managing-Runtime-Permissions-with-PermissionsDispatcher Feb 20 00:31:56 orbyt_ https://gist.github.com/Redrield/672e2ac912caea4093d261aed07efae2 Feb 20 00:32:02 Also I'll check that out Feb 20 00:43:24 What does this library mean by it'll generate a class on compile Feb 20 00:43:27 I can't even compile Feb 20 00:45:30 Redrield When you build your application it'll generate the class. Feb 20 00:46:01 If I build the application with the lines referencing the generated class commented out, it does nothing for the following compilation Feb 20 00:46:08 and the build fails because it can't find the references to that clas Feb 20 00:46:09 s Feb 20 00:47:46 Redrield You'll need to figure that issue out yourself, however as per your last question, you're requesting permission to vibrate the device Feb 20 00:48:06 This is not needed, VIBRATE is not a dangerous permission and is auto granted if added to the manifest. Feb 20 00:48:43 So would I just need to include it in my manifest? Feb 20 00:49:01 Cause without doing that, the app crashes with a SecurityException when I try to vibrate the device Feb 20 00:49:13 Yes, add it to your manifest. Feb 20 01:03:21 Other than the api level, what are some main differences between AnimationSet and an AnimatorSet? When should each be used? Feb 20 01:36:12 how would you get a file from your app to a linux box? Feb 20 01:38:09 paper tape Feb 20 01:40:45 you have many options - piping it over a stream, use a lib supporting your fav protocol, WS.... Feb 20 01:41:06 or adb if you just want a file your app has generated (unsure of context) Feb 20 01:43:57 meh, I guess I'll have to write a working auto resizing textview too Feb 20 01:53:54 Hello. Feb 20 01:54:25 What does one need to do to get Spoon to save screenshots? Feb 20 01:55:02 I am getting java.lang.RuntimeException: Unable to capture screenshot. Google is not helpful. Feb 20 01:55:48 bankai_, what's WS? Feb 20 02:43:14 web services **** ENDING LOGGING AT Mon Feb 20 03:00:00 2017