**** BEGIN LOGGING AT Wed Sep 28 02:59:58 2016 Sep 28 03:10:48 i set a sharedPref called "last_email" in one activity.. except when i go to the next activity and check if it exists it doesnt.. Sep 28 03:11:48 oh didnt comit Sep 28 03:11:51 commit* Sep 28 03:13:17 ^ #1 reason for failed sharedPrefs access Sep 28 04:01:28 /SET term_force_colors ON Sep 28 04:03:39 try it without the space ;) Sep 28 06:24:42 hey guys, does anyone know how google play's dev console handles abi splits? Sep 28 06:25:04 will the proper apk be used by google play when the user downloads my app? If so should I just upload every abi variant? Sep 28 06:39:38 "Snapchat launches first camera sunglasses". No, I think they're launching the first "Get-punched-in-the-face sunglasses". Sep 28 06:40:23 Lots of creeper tech lately Sep 28 06:41:25 Relevant: http://www.youtube.com/watch?v=qvCGqhShNnk Sep 28 06:41:57 i think google glass already holds that title Sep 28 06:44:10 myke: I'm aware that they're not the first to do this and there are sunglasses that do it more discretely, but it's still creeper tech Sep 28 06:44:32 You should have the legal right to punch someone in the face if they're recording you Sep 28 06:50:28 Why? Unless they publish, it's legal Sep 28 06:50:57 Arancio: because I don't want to? Sep 28 06:51:14 They might steal my soul Sep 28 06:51:28 You are born without a soul Sep 28 06:52:27 Arancio: my shaman would say otherwise Sep 28 06:52:37 Like all Romanians. You are a vampires Sep 28 06:52:54 You told me so yourself Sep 28 06:53:26 My internet is not working Sep 28 06:53:40 Arancio: just like all Italians are mobsters and/or jovial pizza restaurant owners Sep 28 06:54:12 o/ Sep 28 06:54:22 raoul11: hey Sep 28 06:54:59 Idiosyncratic: are you implying that SOME Romanians are actually vampires? Because SOME Italians are actually mobsters and/or jovial pizza restaurant owners Sep 28 06:55:12 Arancio: only those in politics Sep 28 06:55:17 raoul11: hello! Sep 28 06:55:20 buna Idiosyncratic Sep 28 06:55:26 hola Arancio Sep 28 07:00:02 raoul11: it's bună, you heretic. You get your tongue cut off here if you don't speak Romanian properly. Sep 28 07:00:53 raoul11: actually, my grandmother did used to scare me that priests would cut off my tongue if I would lie or misbehave. Sep 28 07:01:03 you make an effort, going into google translate, putting "hi" and saying the romanian equiv of it, and they still bitch Sep 28 07:01:07 i feel like Arancio now Sep 28 07:01:37 :-) Sep 28 07:04:28 And the Bulgarians actually did cut off the tongues of the Romanian priests that spoke whatever language they spoke other than "Slavone" when preaching in the Middle Ages. Sep 28 07:04:58 As part of the spreading of "proper" Christian Orthodoxism Sep 28 07:05:05 Sep 28 07:05:19 i only know romaniam from gypsies Sep 28 07:05:41 Ashiren: you actually know some words? Sep 28 07:06:08 no Sep 28 07:06:11 just how it sounds generally Sep 28 07:07:48 it sounds like Romulan but whiney Sep 28 07:08:03 romulan lol Sep 28 07:08:22 Ashiren: I'm not sure about this, but some if not most gypsies are bilingual Sep 28 07:08:58 Ashiren: they have their own language that we can't understand at all Sep 28 07:10:09 Idiosyncratic: news from google play? Sep 28 07:11:12 Arancio: before logging in, I had just come back from sliding down the mountain of money that I made with AdMob like Scrooge McDuck Sep 28 07:12:56 F admob Sep 28 07:13:02 Arancio: but I'm apparently climbing higher and higher in the Google Play searches Sep 28 07:13:16 raoul11: sucks compared to the other ad networks? Sep 28 07:13:29 their mediation Sep 28 07:13:34 stinks bad. Sep 28 07:13:54 Idiosyncratic: cool. You are becoming famous Sep 28 07:14:26 Arancio: I'm gonna buy off Donald Trump soon and have him as my puppet when his wins the election Sep 28 07:14:38 *when he wins Sep 28 07:14:54 The best part of Android development is when I can manage to put all the crap in an library and never look inside it again Sep 28 07:16:50 raoul11: ever use https://searchman.com/ for ASO stuff? Sep 28 07:17:14 used a bunch of em Sep 28 07:17:18 not sure bout searchman Sep 28 07:17:25 usually appannie Sep 28 07:18:31 raoul11: I'm supposedly climbing fast, but no organic downloads from Play :( Sep 28 07:18:54 raoul11: I blame the philistines. Won't you agree? :P Sep 28 07:19:25 Sorry if it's a crude joke :D Sep 28 07:22:51 Idiosyncratic: I started to use Kotlin yesterday Sep 28 07:23:45 Arancio: not sure if it's a good idea for me to stray from the officially supported Java Sep 28 07:25:21 Idiosyncratic: yeah, you corporate developers are more risk-adverse Sep 28 07:25:33 Arancio: lol Sep 28 07:28:42 I blame the Palestinians Sep 28 07:57:55 I'm getting this obscure message: "Error:Execution failed for task ':itemtouchrecyclerview:compileReleaseJavaWithJavac'. Sep 28 07:57:55 > Compilation failed; see the compiler error output for details." Sep 28 07:58:08 Where exactly should I look for compiler errors? Sep 28 07:58:58 Oh, I found it: "An exception has occurred in the compiler (1.8.0_102). Please file a bug against the Java compiler via the Java bug reporting page (http://bugreport.java.com) after checking the Bug Database (http://bugs.java.com) for duplicates. Include your program and the following diagnostic in your report. Thank you. Sep 28 07:58:58 com.sun.tools.javac.code.Symbol$CompletionFailure: class file for java.lang.invoke.MethodType not found" Sep 28 08:00:13 Now I have no idea of what's causing this problem with jack Sep 28 08:05:17 Idiosyncratic: stick to Java and specifically to Java 1.7. Fuck experimental languages and compilers Sep 28 08:05:27 Arancio: :D Sep 28 08:11:51 Idiosyncratic: I was using jack for compiler a handful of lambdas (you can't use the 1.8 libraries anyway unless you want to target only the latest Android API) and the compiler crashed. Sep 28 08:12:02 for compiling Sep 28 08:12:29 Arancio: hmm. Didn't even know about jack. :O Sep 28 08:12:53 Idiosyncratic: it's the new Android compiler. I compiled Java 1.8 Sep 28 08:12:56 compiles Sep 28 08:14:21 Arancio: no wonder it sucks Sep 28 08:14:45 Idiosyncratic: why should it suck? Sep 28 08:14:52 Arancio: because it's new Sep 28 08:15:14 Idiosyncratic: so your app is new and that's why it sucks? Sep 28 08:15:19 Arancio: :P Sep 28 08:16:33 Why do people say "app" instead of "application"? It makes people look retarded Sep 28 09:29:42 hi, id like to check translations in all Android App permission dialogs, is there a test app which can request all possible app permissions on runtime? Sep 28 09:39:16 Man, this Nasreddin guy was hilarious https://en.wikiquote.org/wiki/Nasreddin Sep 28 09:48:07 eggsgent: there will be as soon you write it and publish it on github Sep 28 09:53:51 savage Sep 28 09:56:28 Ashiren: ? Sep 28 09:56:39 nothing nothing Sep 28 09:57:03 Ashiren: oh, you're one of those Eastern Europeans :P Sep 28 09:57:49 You're from the UK, instead Sep 28 09:58:50 Arancio: hell no; wouldn't go there even if you'd pay me to Sep 28 10:00:00 hm? so what Sep 28 10:00:10 Ashiren: nothing nothing :P Sep 28 10:00:41 Ashiren: Idiosyncratic is a Romanian supremacist Sep 28 10:00:56 Arancio: oh yeah Sep 28 10:00:59 :D Sep 28 10:02:00 with the habit of looking for personal information from IRC Sep 28 10:02:23 Arancio: we're such a nationalistic people that we've elected an ethnic German just because he was an ethnic German Sep 28 10:04:13 thanks for the useless reply Arancio Sep 28 10:04:21 * eggsgent slaps Arancio around a bit with a large trout Sep 28 10:05:20 eggsgent: It wasn't useless. I was encouraging you. It must be few dozens of lines of repetitive code. Sep 28 10:05:32 Ok, most of the politically-active morons are ultranationalists, but they also have the most retarded self-hatred complex Sep 28 10:05:52 you assume that i know how to write or even copy paste that code Sep 28 10:06:24 i tried this channel in case someone would know of a test app for such purpose Sep 28 10:06:46 "We, Romanians, are little children and Americans and Western Europeans are demigods and if they say something then it's the absolute truth" Sep 28 10:07:28 i did find this, but without an apk im not going anywhere :( Sep 28 10:07:28 https://github.com/googlesamples/android-RuntimePermissions Sep 28 10:07:43 eggsgent: sorry, being this a development channel I supposed you were a developer Sep 28 10:10:30 sorry for calling your "do it yourself" reply useless :/ Sep 28 10:11:36 ahh right, this is developer channel Sep 28 10:11:52 we assume you can get the source code and build it Sep 28 10:13:50 eggsgent: best you can do is download Android Studio, don't get scared, install it, don't get scared, download that project from github, don't get scared, and build it. If you are lucky you may end up with the apk with little or no problems Sep 28 10:16:09 eggsgent: actually i built it for you, one time act of kindness, http://s000.tinyupload.com/index.php?file_id=13495625729318442256 Sep 28 10:16:29 it has camera and contacts permissions Sep 28 10:17:26 Ashiren: he wanted to check all permission dialogs Sep 28 10:17:40 :O Sep 28 10:17:47 :D Sep 28 10:21:20 wow, that was kind, i have Android Studio installed, but only use the bundled adb tool for spec testing Sep 28 10:23:29 (plot twist: i put malware in that) Sep 28 10:23:38 have i thought that or written that? Sep 28 10:23:52 ops Sep 28 10:24:38 unless it can do air jumps im ok Sep 28 10:37:33 Idiosyncratic: Don't Rumanian consider themselves East-Europeans? Where do you think you live, in Asia? Sep 28 10:41:35 Arancio: have you considered dropping all your Romanian stuff? Sep 28 10:42:56 Leeds: 1) I'm not Rumanian. It's not my stuff. 2) I don't consider anything mentioned by someone who called me idiot just because I asked a basic question about an Android device. Sep 28 10:47:28 Arancio: http://www.nato.int/invitees2004/romania/glance.htm Sep 28 10:47:45 Arancio: we're a "Romania is located in South-East Central Europe" country, bro Sep 28 10:47:58 Arancio: we're not savage mongoloids Sep 28 10:48:37 Idiosyncratic: you too? Sep 28 10:49:01 Leeds: well, since the channel's quiet :P Sep 28 10:49:44 And since Georgia is apparently European now, we're Central European Sep 28 10:52:07 Romanian Foreign Minister's speech to NATO in 1998: "As a Central European country, closely connected to South East Europe, Romania tried hard to respond to the challenges of regional" Sep 28 10:53:33 I'm surprised that NATO agreed to kiss our asses Sep 28 10:54:07 But really, kissing our asses is nothing when they can use us as cannon fodder Sep 28 10:54:18 Sep 28 11:16:02 Idiosyncratic: I consider East-Europe anything East of the Germany and of the Adriatic Sea. Sep 28 11:17:19 Idiosyncratic: there is no such thing as Central Europe. Either you are with us or you are with the USSR. Sep 28 11:17:20 :c Sep 28 11:20:58 hi guys Sep 28 11:21:09 Hi, DelphiWorld!!! !! !! ! !!! Sep 28 11:21:17 hi Arancio ! Sep 28 11:21:24 private String[] tabs = {@string/menu_home, @string/menu_cat, @string/menu_fav}; Sep 28 11:21:30 getting error identifier expected ? Sep 28 11:21:44 i am declaring tabs but getting the label from a string resources Sep 28 11:22:25 yeah, those @string/xxx aren't valid Java expressions Sep 28 11:22:39 so? Sep 28 11:22:47 how to get a value from string.xml? Sep 28 11:23:04 getResources().getString(R.string.menu_home) Sep 28 11:23:09 or something like that Sep 28 11:23:19 DelphiWorld: it's all explained here https://developer.android.com/guide/topics/resources/string-resource.html Sep 28 11:23:37 victorila & Arancio thanks Sep 28 11:23:47 Arancio: do i need to do anything else than to add all permissions to the androidmanifest.xml file? Sep 28 11:23:57 Sep 28 11:23:57 Sep 28 11:23:57 Sep 28 11:23:57 Sep 28 11:23:57 Sep 28 11:23:58 etc Sep 28 11:24:05 eggsgent: pastebin:P Sep 28 11:24:38 eggsgent: those will not generate any dialog box because they are granted when you install the application Sep 28 11:24:41 http://pastebin.com/AxYeyzgb Sep 28 11:24:51 eggsgent: run-time permissions are asked at runtime Sep 28 11:28:58 Arancio, see: Sep 28 11:29:01 private String[] tabs = {getResources().getString(R.string.menu_home), getResources().getString(R.string.menu_cat),getResources().getString(R.string.menu_fav)}; Sep 28 11:30:05 victorila: am i correct? Sep 28 11:30:30 String[] tabs = new String[] { ... }; Sep 28 11:30:41 DelphiWorld: don't you trust your compiler? Sep 28 11:30:56 Arancio: no, because i'm still opening the java door :) Sep 28 11:31:16 DelphiWorld: what does "opening the java door" mean? Sep 28 11:31:44 DelphiWorld, you can't do that because resources aren't initialized yet at that point of execution Sep 28 11:32:07 Arancio: i mean i'm still newby Sep 28 11:32:22 Zharf: and what Zharf said. I expected you to discover that soon Sep 28 11:32:28 Zharf, ok, i see. so how do i get it from a translatable string? Sep 28 11:32:54 initialize the array in onCreate (or some method that's called after that) Sep 28 11:32:56 are you writing this code in an Activity? Sep 28 11:33:02 yes Sep 28 11:33:10 what Zharf said Sep 28 11:33:14 i see Sep 28 11:33:15 will see Sep 28 11:33:27 You will see? Sep 28 11:33:36 That's an awesome news DelphiWorld! Sep 28 11:33:48 lol Arancio hahaha... Sep 28 11:35:58 ok so i place this on the create function Sep 28 11:35:59 private String[] tabs = {getResources().getString(R.string.menu_home), getResources().getString(R.string.menu_cat),getResources().getString(R.string.menu_fav)}; Sep 28 11:36:15 i dont think i'm correct Sep 28 11:36:16 minus the private Sep 28 11:36:28 you can declare private String[] tabs; Sep 28 11:36:29 Arancio: exactly i was thinking about the private Sep 28 11:36:38 and then initialize it in onCreate() Sep 28 11:36:57 tabs = new String[] {getResources().getString(R.string.menu_home), getResources().getString(R.string.menu_cat),getResources().getString(R.string.menu_fav)}; Sep 28 11:37:04 so the string can be on top right Sep 28 11:37:38 top right? Sep 28 11:37:44 What are you talking about? Sep 28 11:38:02 Arancio: this one: Sep 28 11:38:06 tabs = new String[] {getResources().getString(R.string.menu_home), getResources().getString(R.string.menu_cat),getResources().getString(R.string.menu_fav)}; Sep 28 11:38:12 should be on the create right or no Sep 28 11:38:40 Sorry I don't understand you Sep 28 11:38:49 that should be inside the onCreate() method Sep 28 11:38:54 yes Sep 28 11:39:01 but should i declare anything outside Sep 28 11:39:07 I told you Sep 28 11:39:25 you can declare the class member: private String[] tabs; Sep 28 11:39:25 i miss it Sep 28 11:39:35 if you need a class member Sep 28 11:39:59 otherwise you declare a variable inside the method (without private) Sep 28 11:40:09 I don't know what you need to do, so you have to decide Sep 28 11:40:25 its a global variable Sep 28 11:40:27 a class member Sep 28 11:40:37 just don't initialize a class member like you did because it won't work Sep 28 11:40:50 i understand Sep 28 11:41:09 good, compiled now at least Sep 28 11:41:14 adb install :P Sep 28 11:42:10 Can't you change nick? "DelphiWorld" really sucks. It's a sad nick. Sep 28 11:42:23 Arancio: ok ? Sep 28 11:42:33 ;) Sep 28 11:42:40 no, nicks ending in "dev" are sad too Sep 28 11:42:50 hahaha, why? Sep 28 11:43:02 Because people are people first, then developers Sep 28 11:43:18 so my nic start with tm :P Sep 28 11:43:25 tm is the abreviation of my name ;-) Sep 28 11:43:41 just "tm" is cool Sep 28 11:43:48 tmdev is sad Sep 28 11:44:04 ok done Sep 28 11:44:04 ;) Sep 28 11:44:27 ok Sep 28 11:44:34 It's passable Sep 28 11:44:53 dont forget to thank him dzlink /: Sep 28 11:45:02 raoul11: i always thank :-P Sep 28 11:45:29 dz = algeria Sep 28 11:45:41 link? Sep 28 11:45:51 hahaha Sep 28 11:45:54 internet provider Sep 28 11:45:58 :( Sep 28 11:46:06 You sound like a blind nerd Sep 28 11:46:55 is tm taken? Sep 28 11:48:41 ... Sep 28 11:48:50 * dzlink feeling much happy... translation works Sep 28 11:51:32 Your nick is important. It expresses who you are. Sep 28 11:52:09 thank so much Arancio for the HELP Sep 28 11:52:24 np Sep 28 11:52:25 i have a package of com.mycomp.myapp below all other classes live. now i rename it to com.mycomp.base somehow R is still in com.mycomp.myapp, what's going on here? Sep 28 11:55:53 xorgate_: did you rebuild everything? How did you rename the package? Sep 28 11:55:58 xorgate_: i had this issue last time. do it manualy and you're good ;) Sep 28 11:56:32 i renamed using android studio and everything related to resources was not renamed Sep 28 11:56:34 i renamed it in AS with refactoring, but the issue was that the packagename was inside the manifest Sep 28 11:56:59 Can anyone please tell me what this "menu" is called? http://imgur.com/a/mK48Z Sep 28 11:57:25 sliding menu? Sep 28 11:58:32 mann: navigation drawer Sep 28 11:58:46 Awesome. Thanks! Sep 28 12:02:00 ^ another sad nick ending in "dev" Sep 28 12:02:10 or io Sep 28 12:02:20 ^ Sep 28 12:02:33 what's sad in ending in "io"? Sep 28 12:02:36 .io is nice though Sep 28 12:02:48 thepoosh: get me .io domain plz Sep 28 12:04:26 raoul11: sorry, life hates me at the moment Sep 28 12:04:31 was awake until 3am Sep 28 12:04:33 Ashiren: don't you like my nick Sep 28 12:04:37 and woke up at 6:30 Sep 28 12:05:47 why buddy ): Sep 28 12:07:03 Hi Arancio, go fuck yourself. Sep 28 12:07:30 MikeWallaceDev: why are you angry with me? Sep 28 12:07:49 MikeWallaceDev: I commented on your nick not on you Sep 28 12:08:24 MikeWallaceDev: do need to say something like that to me Sep 28 12:08:28 no Sep 28 12:08:53 Who do you think you are to comment on people's names? Sep 28 12:08:55 MikeWallaceDev: I'm sure you are not a sad person Sep 28 12:09:40 MikeWallaceDev: 1) it's your nick and not your name 2) I'm nobody special. Everybody can do it Sep 28 12:09:45 My name is Mike Wallace. I've been devlopping for 35 years. I think my nick is awesome. Sep 28 12:10:08 MikeWallaceDev: sado Sep 28 12:10:33 Your name is awesome. Your nick, in my opinion, is not. You are more than 35 years of software development. Sep 28 12:10:33 i think so as well MikeWallaceDev Sep 28 12:10:46 both for the gfy and your nick Sep 28 12:10:48 * dzlink was translating to arabic Sep 28 12:10:53 HAHAHAHA Sep 28 12:11:38 Arancio, the point is, just leave people alone. Let them have any nick that they want. As long as it's not derogatory. Sep 28 12:11:50 lol Sep 28 12:11:59 Do we need to have these cringeworthy offtopic nondiscussions? Sep 28 12:12:09 * Arancio_hacker taking a travel to Arancio pocket... Sep 28 12:12:51 pduin: we're developers; we're supposed to be cringy Sep 28 12:13:05 hey Idiosyncratic ! Sep 28 12:13:08 lol Sep 28 12:13:14 Idiosyncratic, I think you mean elopers. Sep 28 12:13:20 DzLink: hey Sep 28 12:13:33 anyone know of any bluetooth remote control that would work nicely with android? Sep 28 12:13:41 MikeWallaceDev: you are entitled to use the nick that you want. And I'm entitled to have my opinions about other people nicks and express them. I didn't force you to change your nick. You overreacted Sep 28 12:14:04 And I'm allowed to tell you to gfy! :D Sep 28 12:14:22 Actually, no Sep 28 12:14:41 That's against the rules stated in the topic line Sep 28 12:15:09 If you value the topic line, please do stay on topic Sep 28 12:15:10 Hi, do you know some nice blog/snippet how to compile app without graddle/ant ? e.g. pure CMake, Makefile, bash Sep 28 12:15:28 MikeWallaceDev: please watch your language :) Sep 28 12:15:59 ^ Thanks Sep 28 12:16:01 Sorry Simon. Sep 28 12:16:41 last android studio use cmake for cpp but graddle (android plugin) remain to generate the apk etc.... Sep 28 12:17:40 i.e. i have pure c++/cmake project i'd would like to use only cross-toolchain (done) and pos build script to generate apk from bunch of .so Sep 28 12:17:53 post build script* Sep 28 12:18:34 gradle seems a little bit overwhelming to me... Sep 28 12:20:10 mizux, if the only reason why you don't want to use Gradle is because it appears overwhelming, then don't worry. It's actually easy to start. Sep 28 12:20:43 I remember feeling the same way Sep 28 12:21:05 And reading through pages and pages of Gradle doc, just to find out that I don't need most of it Sep 28 12:21:51 could someone share a gradle signing config? Sep 28 12:22:35 :( that's the point I already have CMake as a builder so embbed an other one just for "packaging".... Sep 28 12:23:16 SimonVT, <3 Sep 28 12:23:18 is there an auto casting shortcut in AS? Sep 28 12:23:46 auto casting shortcut? Sep 28 12:24:17 TextView zharf = (cast)... Sep 28 12:24:26 that part Sep 28 12:24:35 DzLink, I use the gradle properties file to hide my credentials, so my signing config looks like this http://pastebin.com/zjyb2EpR Sep 28 12:25:05 raoul11, alt-enter will offer casting as an option Sep 28 12:25:54 does dex and aapt have been removed from sdk/ndk ? Sep 28 12:26:09 doesnt seem to do it - pops up insert app indexing Sep 28 12:26:31 You might want to look into aapt2 Sep 28 12:26:32 MikeWallaceDev, thank. this should go in my build.gradle right? Sep 28 12:26:54 in the app module, yes Sep 28 12:27:30 raoul11, you have to type out the complete assignment first. Might not be the best way,but it works Sep 28 12:27:46 oh Sep 28 12:27:50 lets see Sep 28 12:28:02 i.e. I always forget to cast when i do a findviewbyid... Sep 28 12:28:20 yeah, it's more of a "oops, I forgot to cast" than a shortcut :D Sep 28 12:28:37 cheers MikeWallaceDev Sep 28 12:28:53 i usually start with the cast Sep 28 12:30:23 MikeWallaceDev: the signing should be indside android { ? Sep 28 12:30:41 yes Sep 28 12:31:10 but that is just declaring them, you also have to call it in buildTypes Sep 28 12:31:21 MikeWallaceDev: how to call it? Sep 28 12:31:23 buildTypes { Sep 28 12:31:23 release { Sep 28 12:31:23 minifyEnabled false Sep 28 12:31:23 proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.txt' Sep 28 12:31:23 signingConfig signingConfigs.release Sep 28 12:31:26 } Sep 28 12:31:36 damn, that was longer than I thought Sep 28 12:31:41 sorry about that Sep 28 12:31:42 :P Sep 28 12:32:14 note that I have a debug signing config which normally isn't needed Sep 28 12:32:27 find . -iname "aapt*" Sep 28 12:32:27 ./build-tools/24.0.2/aapt Sep 28 12:32:27 ./build-tools/24.0.2/aapt2 Sep 28 12:32:27 ./build-tools/19.1.0/aapt Sep 28 12:32:32 That is used for In-app buildign Sep 28 12:33:00 question: for android-19 app can i use build-tools 24.0.2 or do I need to use only build-tools-19 as well ? Sep 28 12:33:08 mizux, don't follow my lead here :D Try to avoid pasting in code/results like that Sep 28 12:33:21 sorry Sep 28 12:33:21 Hi guys, i have a custom Arrayadapter (Image+Textview+Switch), how can i add a onCheckedChangeListener? Sep 28 12:33:39 mizux: use 24.0.2 but chouse compile sdk 19 Sep 28 12:33:50 mizux, it's my bad man, I forgot how annoying it was when I did it :D Sep 28 12:35:47 MikeWallaceDev, see here: http://pastebin.com/WDcjwFkM Sep 28 12:35:49 any error? Sep 28 12:36:06 are you getting an error? Sep 28 12:36:12 what am I looking for? Sep 28 12:36:14 yeah Sep 28 12:36:22 is my cfg correct? Sep 28 12:36:35 : unexpected token: release @ line 5, column 24. Sep 28 12:36:48 storeFile file (e:/key/release.key) Sep 28 12:38:05 well, I see a space between file and "(" ? Sep 28 12:38:13 and forward slashes? Sep 28 12:38:22 MikeWallaceDev: the trick... it need to be inside "" Sep 28 12:38:32 you're on Windows right? Sep 28 12:38:40 yes Sep 28 12:38:48 ah, ok, makes sense. Sep 28 12:38:50 signed now Sep 28 12:38:51 it works Sep 28 12:38:56 super duper Sep 28 12:39:02 thx dude MikeWallaceDev Sep 28 12:41:51 now time for security... Sep 28 12:46:50 hi there Sep 28 12:47:50 trying to call Java script function from activity. webview.url("javascript:function()") doesn't work in Web view. Sep 28 12:48:30 there is a way to call activity function from Java script but any idea on vice verse? Sep 28 12:49:26 no method stated in official document. Sep 28 12:49:33 yeah you load the JS in the webview Sep 28 12:49:56 how? Sep 28 12:49:57 http://stackoverflow.com/questions/32076726/onpagefinished-javascript-webview Sep 28 12:50:19 I recommend that you use the gradle.properties file to store all of your credentials. ESPECIALLY if you are open source Sep 28 12:50:20 is there a way to declare the mobile "LANGUAGE" into a string? Sep 28 12:50:28 The file looks like this : https://ibin.co/2wdGP3bYrIFG.png Sep 28 12:50:34 MikeWallaceDev: that what i'm doing ;) Sep 28 12:50:44 My man. Sep 28 12:50:55 MikeWallaceDev: you scared me... Sep 28 12:51:02 I don't understand the language question? Sep 28 12:51:03 you send me a png file... but i'm *blind* ;) Sep 28 12:51:32 well... I sent it to the group :P Sep 28 12:51:36 MikeWallaceDev: i want to declare a string, for example called "lng" and initialise it with the mobile supported language Sep 28 12:52:10 that sounds like normal string resource usage.. ? Sep 28 12:52:28 Thanks xorgate. I am getting into now Sep 28 12:52:48 for example having your UI display "house" on an english phone and "maison" on a french phone. Correct? Sep 28 12:53:00 MikeWallaceDev: for example, your current mobile language is "english", i want to create a string called "lng", and auto populate it with that "en" Sep 28 12:53:03 Casa in Spanish! :D Sep 28 12:53:14 MikeWallaceDev: not translation! Sep 28 12:53:26 translation work perfect Sep 28 12:53:26 oooooh, you mean display the current language! Sep 28 12:53:38 That might be in the context? Sep 28 12:53:40 MikeWallaceDev: yep... Sep 28 12:53:45 I never looked, sorry Sep 28 12:53:50 but i want to assign it in a string Sep 28 13:43:22 any page that have languages codes? Sep 28 13:45:35 Hello, is it possible to do a java search with Android Studio ? With Eclipse i could search all uses of an objet (not a String research) ? Sep 28 13:49:00 mtR_, of course it is Sep 28 13:52:30 adq: good to know, how do you do this ? Sep 28 13:53:09 did you try the several search, like right click "find usage" (alt+F7 here), among many others Sep 28 13:54:26 Yeaah thats it. I was using ctrl alt F for all my searchs. thanks ! :) Sep 28 14:26:09 can anybody help with contentresolver and contentobservers in a service? (xamarin) https://www.reddit.com/r/androiddev/comments/54wj5o/xamarin_question_about_services_and_content/ Sep 28 14:42:48 can anybody help with contentresolver and contentobservers in a service? (xamarin) https://www.reddit.com/r/androiddev/comments/54wj5o/xamarin_question_about_services_and_content/ Sep 28 15:22:48 hi Sep 28 15:23:28 i am using @android:color/transparent and windowDrawsSystemBarBackgrounds true and android:fitsSystemWindows="true" in my drawer, works fine in main activity. In may second activitity the status bar are grey. How i can solve this ? Sep 28 16:01:56 i am using @android:color/transparent and windowDrawsSystemBarBackgrounds true and android:fitsSystemWindows="true" in my drawer, works fine in main activity. In may second activitity the status bar are grey. How i can solve this ? Sep 28 16:19:53 how to monitor cpu usage of the android application Sep 28 16:30:52 morning all. Sep 28 16:31:54 i am using @android:color/transparent and windowDrawsSystemBarBackgrounds true and android:fitsSystemWindows="true" in my drawer, works fine in main activity. In may second activitity the status bar are grey. How i can solve this ? Sep 28 16:33:04 Apply the same theme to that activity as well Sep 28 17:03:35 Settings alarms, how can I set an alarm for the same time as now, but in the next day Sep 28 17:07:12 current time + a day? Sep 28 17:07:59 orbyt_: yes Sep 28 17:08:14 I do this because I want to set alarm for the next day at the same time Sep 28 17:08:17 That wasnt a question Sep 28 17:08:41 Take the current time in millis and add a day Sep 28 17:08:56 or if your using Joda, im sure theres some kind of utility methods for it Sep 28 17:08:59 calendar.add(Calendar.DAY_OF_MONTH,1) Sep 28 17:09:33 System.currentTimeMillis() + 24 * 60 *60 * 1000 Sep 28 17:09:35 done Sep 28 17:10:06 crised: I used something similar to this method http://stackoverflow.com/a/23440985 Sep 28 17:10:57 Idiosyncratic: this trick should be fine calendar.set(Calendar.SECOND, 0); Sep 28 17:11:02 talking about time.. http://imgur.com/a/54VB6 :> love partially undocumented stuff since API 3 Sep 28 17:11:49 crised: oh, I thought you were asking about something else Sep 28 17:12:39 Idiosyncratic: my problem is that when the alarms trigger I automatically set an alarm for the exact hour:minute, problem is that android begins looping Sep 28 17:13:06 if I add ( Second,0) maybe it won't since that second already pass Sep 28 17:19:02 hey I'm about 1.5 months into android Dev, and I want to listen to stuff at work about it. things like IO sessions where I learn without really following a tutorials. Sort of like the podcast Fragmented but want more .. any suggestions Sep 28 17:19:43 dar10s: fragmented Sep 28 17:19:56 also realm has good stuff Sep 28 17:21:49 sometimes https://www.reddit.com/r/androiddev provides useful podcast links Sep 28 17:27:55 dar10s, maybe http://androidbackstage.blogspot.fr/ Sep 28 17:28:52 dar10s: also, try and listen to uncle bob if you get a chance Sep 28 17:28:58 his talks are amazing Sep 28 17:29:09 about general software design Sep 28 17:29:50 ohh yeah and Bob's your uncle.. he is great Sep 28 17:30:05 and this backstage looks great Sep 28 17:30:47 https://www.youtube.com/watch?v=o_TH-Y78tt4 Sep 28 17:33:02 anyone know of any open source apps that are working on chrome os? Sep 28 17:34:59 <3 uncle Bob Sep 28 17:53:32 hello Sep 28 17:54:01 the same is for others commands , che adb shell remains locked on the command Sep 28 17:55:03 man, this allo team is hardcore with their proguard Sep 28 17:55:05 how quit top from adb shell ? q or [ctrl]+c don't go Sep 28 17:55:19 Paul^_- try ctrl d Sep 28 17:56:39 don't go , I'm using android 4.4.2 Sep 28 17:56:51 just close the window Sep 28 17:57:50 I know , I often close the window , every time close window , ri-open , etc... Sep 28 17:58:26 top? Sep 28 17:58:27 q Sep 28 17:58:29 just q Sep 28 17:58:46 i may not be understanding the question Sep 28 17:59:02 he's saying q and ctrl c isn't working Sep 28 17:59:47 So did anyone watch the SpaceX ITS announcement? Sep 28 17:59:57 q don't go , [ctrl]+c , [ctrl]+d no Sep 28 18:00:14 Paul^_-: and no capslock? sounds like nothing is going thru Sep 28 18:00:41 nooooooo I'm a long time linux user, I use adb shell from bash Sep 28 18:00:43 orbyt_: just articles Sep 28 18:00:49 Musk, the Last Futurist Sep 28 18:02:45 ok I resolved , I switched to sh shell and ctrl+c don't go , with default k-shell ctrl+c go , q no Sep 28 18:02:56 very odd Sep 28 18:03:33 kshell :/ Sep 28 18:03:38 brah Sep 28 18:03:43 zshell is where its at Sep 28 18:03:49 zprezto or oh-my-zsh Sep 28 18:03:54 was just gonna say, should do zsh for completeness Sep 28 18:04:02 but somehow i suspect your fundamental problem isn't the shell Sep 28 18:05:16 i haven't messed with termux much, is it possible to run a sshd in it on a high port? Sep 28 18:05:24 maybe avoid adb shell altogether Sep 28 18:05:58 echo $SHELL ; lrwxr-xr-x root shell 2015-02-01 14:35 sh -> mksh Sep 28 18:17:14 How may I found all files of a icona application ? Sep 28 18:18:43 Paul^_- show your app code Sep 28 18:19:15 app code what ? the process id ? Sep 28 18:19:25 this channel is for app dev'n Sep 28 18:19:35 do u mean from ps command ? Sep 28 18:19:47 join #android or #android-root for ROMing or app reverse engineering Sep 28 18:19:53 no, we mean the actual code of your app Sep 28 18:20:32 Ok, excuse me. s73v3r I don't know what is the app code ? Sep 28 18:20:44 s73v3r I don't know what is the app code Sep 28 18:20:52 then you’re in the wrong channel Sep 28 18:21:12 ok excuse me. Sep 28 18:21:29 we’re talking about the source code of the app you’re developing. If you don’t know what that is, then you are not developing an app, and this is not the channel to seek help Sep 28 18:23:55 I amn't an adroid dev , I come from linux , I know mainly C , shell scripting , tcl and some java Sep 28 18:24:18 this channel is for Android app dev. you’re gonna want a different channel Sep 28 18:24:32 ok, thx by Sep 28 18:26:09 however to know files of an application is close with developing Sep 28 18:26:19 wrong channel Sep 28 18:27:26 what do you mean by files of application? Sep 28 18:29:30 I have a branded phone rooted , it has some uninstallable app. , so I thinked to delete they from adb shell as root ; to do this I need know exactly all files of one app. Sep 28 18:30:40 use Room Toolbox for that, https://play.google.com/store/apps/details?id=com.jrummy.liberty.toolbox Sep 28 18:30:53 for the rest info, join #android-root Sep 28 18:35:34 Has anyone run into a NPE like this when using maps? "Attempt to invoke interface method 'void maps.ad.y.o()' on a null object reference" Sep 28 18:36:51 Build without involving the minifier Sep 28 18:37:07 Then you will get a less incoherent error message Sep 28 18:37:22 Hopefully Sep 28 18:38:58 This is a debug build Sep 28 18:39:05 its not minified by default is it? Sep 28 18:39:18 maybe the maps are Sep 28 18:39:40 Depends on if you set it up to use the minifier with those. It'll make a translation doc, but that "ad.y.o" part is definitely minified Sep 28 18:40:15 Yea, the error only happens when i implement mapView.onResume() which is needed to load the map Sep 28 18:40:44 It doesnt crash if I remove the mapView.onResume(), but then obviously the map wont load properly Sep 28 18:40:51 https://code.google.com/p/gmaps-api-issues/issues/detail?id=5421 Sep 28 18:44:24 Tehre's just a bunch of things that can go wrong there. If you're lucky, part of the resst of the stack trace will have some hints Sep 28 18:44:38 woa, next Huawei watch is running Tizen Sep 28 18:45:52 I'm running into a weird problem. My activity stack looks like A -> B -> C where C is on top and running. When I want to exit out of C I call finish() on C activity. When C activity is defined in android manifest to run as its own process this all works fine. I go back to B as planned. When I remove the specification to run in its own process then when I call finish on it, I can see activity B for Sep 28 18:45:52 like 1 frame before I end up back at activity A somehow o.O Sep 28 18:46:01 anyone have any ideas why this would be happening? Sep 28 18:47:12 are you finishing activity b? Sep 28 18:47:17 If B & C are the same activity, finish() will do that Sep 28 18:47:44 what would make them the same activity? like name or something? they're different activity classes Sep 28 18:48:19 and no I'm not finishing b. If I was finishing b wouldn't the process specification not make a difference Sep 28 18:48:26 (at least I'm not intentionally finishing b) Sep 28 18:49:06 why would c be in seperate process? maybe show some code and some logcat info Sep 28 18:49:46 Dagmar: Thanks, that link helped me realize I hadn't implemented mapView.onCreate(), which seems to have been the issue. Sep 28 18:49:48 at first I did it to keep things cleaner. Its a Unity instance so putting it in its own process seemed to make sense as I figured it would clean up nicer to free reosurces and such when I end the activity Sep 28 18:49:59 now I want to remove it from its own process and I'm running into this problem :/ Sep 28 18:50:29 the thought of you wanting it to be cleaner could be the issue, if you have no idea what is happening Sep 28 18:50:53 what? Sep 28 18:51:12 how did you figure it would clean up nicer? Sep 28 18:51:30 freeing resources is simple by not referencing them Sep 28 18:52:00 show code tho Sep 28 18:52:37 because a separate process has its own memory space and given the nature of unity and how I"m going to launch the activity multiple times it made sense to ensure it was a cleaner exit Sep 28 18:53:17 you keep throwing in theory Sep 28 18:53:37 why do you think that utilizing androids available :process option in android manifiest is such an evil thing to do? Sep 28 18:53:44 you're acting like I made some huge mistake from the beginning Sep 28 18:54:09 nope, just that you keep saying you are doing things cleaner Sep 28 18:54:28 Sounds a bit like premature optimization Sep 28 18:55:03 premature optimization? it was smart thinking the onset. "hmm im gonna be killing this and opening it multiple times, would be cleaner to let it have its own memory space" Sep 28 18:55:05 Ther'es generally no need for you to be trying to explicitly put everything into separate processes unless they're really and truly supposed to be _running_ at the same time Sep 28 18:55:08 as long as not keeping a deep reference of objects, you'll always keep it clean Sep 28 18:57:14 Hello! I have a problem with Google Maps, it crashes in onCreateView on Android 4.4, but does not in Android 5.1.1. Stacktrace gives obfuscated names, so it doesn't help. Can it be the result of using vectorDrawables.useSupportLibrary = true? Sep 28 18:57:28 I didn't write the code for unity so I can't gaurantee they clean up things up as well as I would hope. I was just trying to take steps to ensure a clean exit and in practice it worked great Sep 28 18:57:28 See also https://developer.android.com/training/articles/memory.html#MultipleProcesses Sep 28 18:57:48 lorendan13, could be the use of proguard to obfuscate Sep 28 18:57:48 its not until now that I'm trying to reverse that decision (at the request of the client for the purpose of making analytics easier) that I"m running into this problem Sep 28 19:00:28 Well, as I understand it, the whole reason we have the Activity thing is so that Android can handle all the memory management stuff for us Sep 28 19:00:36 whatitis: I am not using proguard, at least as far as I know, but the NullPointerException is thrown deep in play-services-maps library Sep 28 19:01:07 Activity.finish() will definitely "kill" an activity, but it doesn't actually do anything much beyond calling the onDestroy() menthods until/unless Android decides it's time to free that memory up Sep 28 19:05:55 found it :D it was your mention of onDestroy() that make me figure it out. the UnityPlayerActivity overrides onDestroy and calls mUnityPlayer.quit() loops around and somehow kills the top activity. so it seems like something in the call chain on mUnityPlayer.quit() ends up killing the top activity even though it .. is .. the top activity haha Sep 28 19:06:59 and I can't run unity multiple times without the proper shutdown, even after killing the activity. looks like its a requirement of an embedded unity activity to run in its own process. which is likely part of the reason I made this choice to begin with Sep 28 19:08:18 I know you guys aren't experts on unity but asking these questions in here answers my questions of "is this normal android behaviors under certain circumstances" and when I know its not I can then look to the more specific spots Sep 28 19:08:28 so, thanks :D Sep 28 19:10:14 ...and that's one of the reasons I'm avoiding unity Sep 28 19:10:22 why? Sep 28 19:10:57 I run into enough underdocumented oddities in Android as it is. I don't need to complicate that with someone elses bugs Sep 28 19:11:01 I mean you have to weigh the pros and cons of anything. When you do contract works for clients who want VR stuff integrated into their existing android apps options are limited. Sep 28 19:11:35 eventually using something like Unity cuts down development time signficantly enough that oyu have time to deal with undocumented oddities Sep 28 19:11:56 you really shouldn't judge things like that. they're all tools in a toolbox. Right tool for the right job. Sep 28 19:12:09 but I don't know what kind of work you do, maybe it makes sense in your context Sep 28 19:12:21 Well, thankfully I'm not doing any 3D anything Sep 28 19:12:28 oh, then you definitely dont need unity Sep 28 19:12:30 :D Sep 28 19:12:49 I do contract VR and 3D programming work. Sep 28 19:23:33 many google apps, have an item somewhere (provide feedback) that takes a screenshot, includes logs, for sending over email as attachments - is there a small library for that ? Sep 28 19:31:36 Is there a way to tell android studio to build native applications using only one platform instead of all it nows, this would speed up testing quite a bit Sep 28 19:31:52 *knows Sep 28 19:32:34 perhaps some gradle tweaking Sep 28 19:32:42 i assume youre talking about cpu architecture Sep 28 19:33:24 yes, currently it builds arm/mips/x86/..., however currently I only test on one phone Sep 28 19:34:18 i.e. ndk.abiFilters.add("armeabi-v7a") will only build for arm7 (and compatible) Sep 28 19:36:06 g00s: Most distribution services (hockeyapp, fabric, etc) have that built in. you can still use it after release on the play store Sep 28 19:45:33 Hi there Sep 28 19:45:47 anybody has tried to use AAR file in Android.mk? Sep 28 19:46:53 Question: Sep 28 19:46:58 I always met "class not found" exception when use that. But I can find this class in libs/classes.jar in the AAR file. Sep 28 19:47:02 is there a way to make breakpoints work when using connectedCheck? Sep 28 19:54:10 Ashiren: nice, that did the job, now it only compiles for one architecture and it takes 12s instead of 50 =) Sep 28 20:05:31 I'm being told by my ide that MediaDataSource requires API level 23 Sep 28 20:05:54 is there any way before android 6.0 to play audio from memory (as opposed to directly from a file or url)? Sep 28 20:06:44 AudioTrack does that Sep 28 20:12:07 Mavrik: ah nice thanks Sep 28 20:12:15 "US Warns Samsung Washing Machine Owners After Explosion Reports" Sep 28 20:12:39 whats up with these guys Sep 28 20:12:44 hello @ all :-) Sep 28 20:12:53 They did it. Those maniacs, they actually did it. Sep 28 20:12:56 hrmmm...i have a mobile app is able to open other apps, but I can't find any defined deeplinks for any of the other apps...and I am pretty certain that most or all of them don't provide deeplinks - so how is the one app able to open the others? Is this possible without deeplinking? Sep 28 20:13:05 at this point, best to avoid samsung bubble gum Sep 28 20:13:05 I told them not to make applicances out of Note 7s. But they did it Sep 28 20:13:19 or is there some master registry of deeplinks for apps that I am not aware of? Sep 28 20:13:19 You maniacs! Damn you! Damn you all to hell! Sep 28 20:13:42 Docmarten: you do so through the intent system Sep 28 20:13:45 appliances? Sep 28 20:14:09 can that also be done via webViews using Cordova? Sep 28 20:14:28 not a clue Sep 28 20:14:38 you’d have to ask in a Cordova channel Sep 28 20:15:00 ok thanks...can you point me to the proper docs on the intent system Sep 28 20:15:02 you 'run' other apps by intents Sep 28 20:15:36 https://developer.android.com/reference/android/content/Intent.html Sep 28 20:15:50 thx Sep 28 20:15:55 intents are pretty vital in android syste so i bet cordova support them Sep 28 20:16:11 there are other ways to activate other apps, not only deep linking Sep 28 20:16:14 but actions too Sep 28 20:16:23 i.e. to take camera shot Sep 28 20:17:53 k....the app in question is opening other 3rd party apps, not inherent apps like text messaging or the camera. Sep 28 20:19:49 any app can "subscribe" to some action or deep link Sep 28 20:20:02 when you call the intent you have the app chooser to choose from Sep 28 20:20:59 is there a way of finding out what apps are subscribed to an action? Sep 28 20:21:47 dunno Sep 28 20:22:46 probably not Sep 28 20:23:26 so is there an official appcompat demo project floating around out there Sep 28 20:23:33 failing that, unofficial Sep 28 20:24:51 there really isn’t a way, unless the app developers specifically come out and say it Sep 28 20:25:30 generally, though, you’re going to just use the action intent, and the system will present a list of apps to the user Sep 28 20:56:22 Hi ! I'm playing with AcessibilityService. So far, I'm dettecting View with some text inside it (emails), and I would like to add a "button" in an "overlay" of those view, so I can perform some actions later Sep 28 20:56:37 I tried to add a view to the sourcenode, but it's forbiden (I can understand that) Sep 28 20:56:50 Hi! Welcome to #android-dev, your ticket number is #341543 Sep 28 20:57:03 ahah :) Sep 28 20:57:09 hi orbyt_ :) Sep 28 20:57:32 orbyt_: LOL Sep 28 21:01:39 blusky: so you're trying to add some kind of popup when you tap the email? Sep 28 21:02:24 https://developer.android.com/reference/android/view/View.OnLongClickListener.html Sep 28 21:04:07 fb|: when you tap a button added to view containing email Sep 28 21:04:19 but for now, I just want to add the button :D Sep 28 21:04:32 trying with a windowmanager for now, but no success Sep 28 21:04:39 not sure if this is how it's meant to be Sep 28 21:05:13 explain it in simple terms, you want your user to tap the email and then what's supposed to happen Sep 28 21:05:38 fb|: it should register the email to an internal database of the app Sep 28 21:06:05 well if you add an onClicKListener to the email textview you can just do textView.getText() Sep 28 21:06:17 that should work for EditText too Sep 28 21:06:35 if it's more like a submit form you add the onClickListener to the submit button Sep 28 21:07:02 oh sorry, it's for textview that are not in my app Sep 28 21:07:07 you should look for "Android login form tutorial" Sep 28 21:07:11 I'm using an accessibilityservice to detect that :) Sep 28 21:07:13 oh Sep 28 21:07:18 okay nvm then Sep 28 21:07:21 can't help you out with that Sep 28 21:07:25 I know how to setup a trigger for a button :) Sep 28 21:07:32 ^^ Sep 28 21:07:57 just for future reference man, it's better if you explain fully what you're trying to do so people have a better idea of what you've tried and are trying to do Sep 28 21:08:30 sorry if i was not clear enough, I thought I was, but it seems i was not :) Sep 28 21:08:32 my bad Sep 28 21:54:07 I'm having some trouble getting an Android project running in android studio. There are two applications inside the project, but when I try and make a run configuration, it only includes the top level and it errors since there is no AndroidManifest.xml for the top level Sep 28 21:54:49 How can I set up a run configuration for each of the projects individually, ignoring the top level? Sep 28 22:05:49 Can someone download https://github.com/lzyzsd/CircleProgress from jitpack and provide me with a zip of it? I'm on an android device and can't download it myself Sep 28 22:07:14 lolwut Sep 28 22:08:23 So, I'm using AIDE to develop an android app. I want to include https://github.com/lzyzsd/CircleProgress as a dependency for my app, however AIDE doesn't hae maven capacities. Sep 28 22:13:57 SDK build-tools 24.0.3 Sep 28 22:24:58 How does (8 & 0x02) == 0? Sep 28 22:25:55 cause 8 hex is 0x08 Sep 28 22:26:08 you’re doing a bitwise and Sep 28 22:29:43 I see thanks Sep 28 22:35:58 Hi. Wondering if I can get some help with MediaRecorder. Logcat gives me an IllegalStateException error when trying to start a recording, but I'm 90% sure I'm doing everything in the correct order according to the state diagram on the dev website. http://pastebin.com/u1J8ns7s Sep 28 22:36:44 s0ullight AIDE is kinda a toy, use desktop :P Sep 28 22:38:05 Faizan: you might wanna do the prepare async Sep 28 22:38:11 i think there's a method for it Sep 28 22:38:21 Asynctask? Sep 28 22:38:25 no Sep 28 22:39:08 maybe i'm just confused with mediaplayer Sep 28 22:39:28 I'll take a look Sep 28 22:39:36 But do you see anything wrong with the code I posted? Sep 28 22:39:44 Been trying to figure this out for ages now Sep 28 22:40:48 It's a "start failed" error, not a IllegalStateException error sorry. That was earlier :D Sep 28 22:40:54 g00s: it's quiet capable actually Sep 28 22:41:21 except when it comes to using libraries, apparently Sep 28 22:43:02 external libraries that is Sep 28 22:43:19 local and android support libraries work fine Sep 28 22:43:47 right, but external libraries are a pretty big part of it Sep 28 22:50:38 Has anybody here used MediaRecorder and could assist? Sep 28 22:50:59 g00s: when you add an external library to gradle on android studio. where is the source of this library downloaded to? Sep 28 22:52:43 there’s a respository in the gradle private files that it gets downloaded to, I believe Sep 28 22:52:51 it also gets copied into the build folder Sep 28 22:55:30 where exactly? Sep 28 22:58:20 if you expand “External Libraries” on the project view, open one of them, and right click and go “Reveal in Finder” (or whatever it says in Windows), it should show you Sep 28 23:03:34 s73v3r: thanks, worked Sep 28 23:18:55 So, Im working with BLE and am trying to use the gatt.readCharacteristics(characteristics) method on a characteristic Sep 28 23:19:18 Now, this method returns a boolean indicating a succesful operation or not Sep 28 23:20:15 The first line of that method in the android source is: (characteristic.getProperties() & BluetoothGattCharacteristic.PROPERTY_READ) Sep 28 23:20:39 woops: if ( (characteristic.getProperties() & BluetoothGattCharacteristic.PROPERTY_READ) == 0 ) return false; Sep 28 23:21:06 my .getProperties is 8, and PROPERY_READ is 0x02 Sep 28 23:21:13 so its 0 and returning false Sep 28 23:21:36 now, 0x08 indicates the characteristic doesnt have read permissions. How can i set them? Sep 28 23:22:00 Or...can I set them? Sep 28 23:24:50 android.permission.BLUETOOTH possibly Sep 28 23:27:10 bankai_: Thanks, but that's not related at all to this issue =^/ Sep 28 23:27:23 Thats just permissions for the app Sep 28 23:59:04 "Facebook, Amazon, Google, IBM and Microsoft Create Partnership on AI" Sep 28 23:59:14 welcome your new, old masters Sep 29 00:00:34 Partnership as in...? Sep 29 00:02:02 this is interesting quote from david karnok Sep 29 00:02:05 "Use Reactor 3 if you are allowed to use Java 8+, use RxJava 2 if you are stuck on Java 6+ or need your functions to throw checked exceptions" Sep 29 00:02:31 from the way it sounds, rxjava is like a 2nd class citizen Sep 29 00:05:05 3g is not my friend Sep 29 00:06:04 Can you afford to be that picky? =^) Sep 29 00:07:17 we don't have a choice on android. a year ago i tried getting reactor 2 running on android ... Sep 29 00:07:32 but that didn't work out, because it depended on LMAX disruptor Sep 29 00:07:42 which depended on sun.misc.unsafe Sep 29 00:07:47 which we didn't have Sep 29 00:22:10 that is an awesome class Sep 29 00:22:48 ive used it, abd the thread concurrency stuff is based Sep 29 00:27:45 What is Reactor 3? Can't find anything about it, too generic name Sep 29 00:29:14 Ah, never mind Sep 29 00:41:09 I added a lib to my project, in java files I can import stuff from it, but in an xml layout file adding something results in an unbound prefix error Sep 29 01:02:56 hi, i've got a bottom sheet Sep 29 01:03:11 however if i update a TextView with setText() i find it doesn't update Sep 29 01:03:25 the actual text on the object I can see does change, but the UI doesnt' seem to refresh Sep 29 01:03:33 if I change the orientation then it kicks into life Sep 29 01:03:37 what could this suggest? Sep 29 01:30:41 If I run coordinatorLayout.requestLayout(); it sort of fixes it but only when I load the "next" setText call Sep 29 01:30:50 ie. say i press button which triggers setText() Sep 29 01:30:59 nothing will happen even though coordinatorLayout.requestLayout(); is called after setText() Sep 29 01:31:06 but if i press the button again then it will start working Sep 29 01:38:24 have set a break point to make sure you're actually hitting the method that calls setText on the first button press? Sep 29 01:40:03 yep, it's definitely hitting Sep 29 01:44:25 i also have a setBackgroundResource to update an image, and that is updating fine. It's just the textview not updating Sep 29 01:53:17 I mean, its really hard to say without looking at your code but normally it should update immediately after the call. Sep 29 01:54:17 I would start systematically commenting out anything else your doing under the assumption that something is blocking the ui from refreshing. Sep 29 01:54:38 maybe if you comment out the image updating part and see if that makes it start working again. Sep 29 02:02:23 @fastAndBulbous: I sort of fixed it by adding a _bottomSheetCoordinatorLayout.requestLayout(); on the state change event Sep 29 02:02:39 i'm finding it's a little bit laggy, but good enough Sep 29 02:02:58 just out of interest, how hard is it to fade in a full view (like everything inside a linearlayout) Sep 29 02:03:07 i'm thinking that might hide the lagginess a bit Sep 29 02:32:59 Hello guys Sep 29 02:33:06 I have a few questions regarding to the SDK Manager Sep 29 02:33:25 There are multiple images on each system image Sep 29 02:33:33 How do I know which one do I have to download? Sep 29 02:34:00 lets say, there are the atom x86, ARM EABI Sep 29 02:34:48 How do I know which one is right for me? Sep 29 02:36:34 assuming you're on an x86 PC, you want to get the x86 image so you can virtualise it... otherwise it'll be really slow Sep 29 02:38:06 Leeds: And if Im in a 64 bits PC? Sep 29 02:38:13 Leeds: x86_64? Sep 29 02:38:27 yup Sep 29 02:38:38 Thanks Sep 29 02:43:59 hi Sep 29 02:45:19 How do I namespace XML `android:id`? - I've tried: `@+id/activity_name:email` and `@+id/activity_name/email` **** ENDING LOGGING AT Thu Sep 29 02:59:58 2016