**** BEGIN LOGGING AT Sun Dec 18 03:00:00 2016 Dec 18 06:03:14 Hello, is there a way to make a link on a website, when browsed with an android device, open the play store app on the device ? Dec 18 06:03:34 I see that from within an android app you can use market:// Dec 18 06:03:55 to make the Play Store app open instead of prompting the user. Dec 18 06:07:44 Ah ok using market works on the website. Dec 18 06:07:50 thanks for reading. Dec 18 08:31:04 guys. I create a vpn connection in my app. I wonder how I can detect if VPN is completely up(because my app need to do someoperations via VPN too). Dec 18 08:31:52 I tried to get NETWORK_CHANGE broadcast, and then check if tun interface is up. Dec 18 08:32:13 but it is not stable on different versions of andrid. Dec 18 08:58:57 hi folks, how can I inspect the web app javascript code that was opened by captive portal browser client? I tried typing chrome://inspect in my laptop, it found the device and showed it as Pixel but the links below it like inspect are not there Dec 18 09:04:58 I am currently implementing a feedback form in our app. When a user submit feedback an email should be sent to our support team. I also want the possibility to attache a screenshot. What are some easy ways to achieve this? Any good services or can I implement this myself with a custom created gmail account? Dec 18 10:28:42 anyone with remote config knowledge? is it possible to point to a string resource id in the defaults? Dec 18 11:01:34 Real simple question, I've got an app that needs something external... they give me a jar file as some kind of SDK Dec 18 11:01:41 how do I load this into Android Studio? Dec 18 11:02:44 Google how to add a jar dependency with gradle Dec 18 11:03:41 Thanks SimonVT :) Dec 18 12:02:07 Hi, I'm learning android development and I try to write an application with a socket. After a few minutes (I think it's random) the cpu jump to 80-100% usgae, the trace show me that JDWP. takes 99.9% of the JDWP thread which is the only thread I can see in the thread dropdown menu Dec 18 12:02:50 In a quick google search I found out that JDWP is Java Debug Wire Protocol, why is it taking 100%, is it really what takes the whole cpu or is it something else that it hides? Dec 18 12:38:19 i have a listview inside a cardview and want to make it expand. how can i do this? atm when i set my listview to VISIBLE via code, the cardview does not expand with it Dec 18 13:44:39 I have a domain name and I use mailgun to send email from my domain. But I would like to receive emails to a gmail address as well and when I send from that email i want the domain name to be the sender, isnt this possible? support@gamename.com => gamename@gmail.com, i send from gmail and user gets a mail from support@gamename.com. Dec 18 13:50:16 wrong channel Dec 18 13:51:27 hey every body , im using cmake instead of android.mk (for using ndk) but i dont know how to add zlib with cmake as like as we add it in android.mk like this : LOCAL_LDLIBS :=--lz Dec 18 13:51:36 do you now what i should do for this ? Dec 18 15:20:59 Okay, I'm a noob. I'm working on a Google Maps-based app that has custom cluster icons. I have figured out how to override DefaultClusterRenderer. In onBeforeClusterRendered() I load an icon (black with transparent background) that I want to change the color of and write a text on top. How do I do that? Dec 18 15:21:32 So I guess this question has nothing to do with Google Maps, really, it's just changing the black pixels of the icon to another color and draw text on top. Dec 18 15:21:46 First, should I load the icon from the resources as a Bitmap or a Drawable? Dec 18 15:21:54 I'm so confused about this. Dec 18 15:23:14 Should I just load the icon as a Bitmap and loop through all the pixels? Dec 18 15:23:29 Or is there a nicer way to do this? Dec 18 15:57:19 kdehl: what about editing the icon in Photoshop? Dec 18 16:01:19 has anyone every worked with expandablelistviews in cardviews? Dec 18 16:01:31 can't seem to get it working properly Dec 18 16:09:08 KukOrkan: better if you talk about your actual problem Dec 18 16:10:34 the listview isn't expanding Dec 18 16:10:43 even though the data source is not empty Dec 18 16:11:08 im assuming theres something wrong with my xml, but i can't figure it out Dec 18 16:11:41 I found a solution. Dec 18 16:11:46 http://stackoverflow.com/questions/30967961/android-maps-utils-cluster-icon-color Dec 18 16:14:25 KukOrkan: I've not used ExpandableListView, but I've heard so many negative things about it. I think most people just implement the expand functionality themselves. Dec 18 16:15:56 with a normal lsitview? Dec 18 16:16:42 Yeah. Dec 18 16:18:39 Note that you *have* to do this if you switch to RecyclerView. (Though you don't have to switch to RecyclerView.) Dec 18 16:21:22 alright ill look in to it Dec 18 16:21:56 It could be as simple as setting a `collapsed` flag on a clicked icon, followed by calling Adapter.notifyDataSetChanged. Dec 18 16:22:01 s/icon/item/ Dec 18 16:28:14 hi, TacticalJoke Dec 18 16:28:20 Hai. Dec 18 16:33:52 hi Dec 18 16:34:58 I've got a widget composed by a linearlayout , and inside it there are an imagebutton and an imageview. I've set a minimal padding currently, but it's not displayed with same tickness at both four sides. Here is the screenshot: imgur.com/a/vN5hS Dec 18 16:36:09 This is the xml layout code: pastebin.com/dbqayQTW Dec 18 16:36:31 cristian_c: Your links aren't clickable here. Dec 18 16:37:03 TacticalJoke: I've tried and I can open them in android Dec 18 16:37:16 I try to write the full url Dec 18 16:37:43 cristian_c: You need "http://" or something. Dec 18 16:37:44 http://m.imgur.com/a/vN5hS Dec 18 16:37:51 I don't think what you're posting actually qualifies as URIs. Dec 18 16:38:09 http://pastebin.com/dbqayQTW Dec 18 16:38:40 Why top and left sides are bigger than bottom and right sides (I've set android:padding property in ImageButton, though)? Dec 18 16:38:46 Maybe the amount of padding you're setting isn't compatible with ImageButton. What happens if you try different values? Dec 18 16:39:25 TacticalJoke: at first I didn't set any paddng, then I've set 10dp and I've noticed this issue Dec 18 16:39:59 TacticalJoke: I've thought that if I increase the padding the strange effect could result amplified/multiplied Dec 18 16:40:12 cristian_c: Did you try it? Or did you just think about it. :D Dec 18 16:40:36 TacticalJoke: ok, I try to increase the padding over 10 dp Dec 18 16:40:39 Predictions need to be tested. Dec 18 16:40:48 ok, right :) Dec 18 16:41:18 TacticalJoke: what values do you suggest as compatible? Dec 18 16:41:37 cristian_c: Everything you think of. Dec 18 16:42:01 ok Dec 18 16:42:58 The background you're setting could also be problematic. Dec 18 16:44:22 TacticalJoke: uhm, why? :O Dec 18 16:45:29 TacticalJoke: it's rounded also on the right side Dec 18 16:46:08 I've been going round in some cirlces with this, my HttpURLConnection is having an issue that I can't seem to catch, it's just "null". I've refactored my code to get it all into one function to see if I could figure out what was going wrong but still nothing. Can you guys have a look at my function? Dec 18 16:46:13 http://pastebin.com/hnQujea3 Dec 18 16:46:16 TacticalJoke: and I've not encountered this issue when I've tried with a linearlayout contaning button+imageview approach Dec 18 16:46:27 if I go to the URL in the browser it works fine Dec 18 16:46:35 TacticalJoke: so, it seems strange when I use imagebutton Dec 18 16:46:40 I've put the output from the log at the bottom as well Dec 18 16:47:13 TacticalJoke: I've not encountered the issue also with double relativelayout approach too Dec 18 16:47:40 ktechmidas: You're suppressing the exception stack trace. Dec 18 16:48:03 You're just getting a `null` message which isn't telling you what's going on. Dec 18 16:48:38 TacticalJoke: mmmmm, maybe you are right Dec 18 16:48:47 ktechmidas: Never suppress exceptions like that. At the very least, say something like `throw new AssertionError(e);`. Dec 18 16:49:08 TacticalJoke: How do I get the stacktrace? Sorry I "borrowed" this code... which is probably why it isn't working Dec 18 16:49:30 Log.getStackTraceString(e)? Dec 18 16:49:38 Replace `Log.e("ktech", "Exception: " + e.getMessage());` with `throw new RuntimeException(e);`. Dec 18 16:49:46 but it's strange why left side is different than right side, though Dec 18 16:50:13 Thanks, lemme try Dec 18 16:50:40 cristian_c: You just gotta simplify everything until you find the issue. Dec 18 16:50:53 It's so much easier for you to do that than ask on IRC. :S Dec 18 16:51:13 For example, remove the background entirely. Replace ImageButton with ImageView. Change padding values. Dec 18 16:51:18 TacticalJoke: what tests could I do? Dec 18 16:51:22 ah, ok Dec 18 16:53:04 TacticalJoke: seems what I've got is "Java.lang.IllegalStateException: Could not execute method for android:onClick" - Yet it starts to run it, because it logs out my URL... Dec 18 16:53:21 is there something I should know about doing a http request after a button click? Dec 18 16:53:24 full trace: http://pastebin.com/JmNYpvpc Dec 18 16:53:37 NetworkOnMainThreadException Dec 18 16:53:44 You can't do network calls on the main thread. Dec 18 16:54:40 Ah, let me try to revert some changes, I did have it in an async task originally but I was trying to simplify it all to try to identify the issue Dec 18 17:09:16 TacticalJoke: thanks, all good now! Dec 18 18:48:54 It's a refactoring sunday here! Dec 18 18:48:58 Happiness Dec 18 18:53:46 i have a list view inside a cardview, which responds to visibility changes via an onclick listener. the listener works, however the list doesn't expand all the way Dec 18 18:53:51 this is what it looks like right now: https://a.pomf.cat/dielna.png Dec 18 18:53:58 any idea what could be wrong? Dec 18 18:55:07 what is the card view height? wrap_content? Dec 18 18:55:25 no, match parent Dec 18 18:57:27 the cardview was in a nested_scrollview, seems to be working if i remove the scrollview. any idea how to get it working with? Dec 18 19:00:17 probably it somehow doesnt adjust to the new height Dec 18 19:00:31 so umm, scrollview -> cardview -> listview? o.O Dec 18 19:02:19 yes, i want the whole page to be scrollable, which will have cardviews, in which those cardviews can be expanded (listview showing) and collapsed Dec 18 19:06:47 nevermind, seemed to have found my solution: http://stackoverflow.com/questions/32881222/listview-not-expanding-inside-nestedscrollview Dec 18 19:33:14 I have a question about what rest framework that fits well with retrofit2 as api for php ? :) at the moment I use Slim2 Dec 18 19:49:52 does anyone use capnproto on android? Dec 18 19:53:18 hi Dec 18 19:54:21 while creating a nested linearLayout in main linearlayout the gravity on a button inside nested layout is not working Dec 18 19:57:07 do you weight more than usual? It's not the gravity. It's all the desserts and cookies you eat while programming! Dec 18 19:57:15 weigh Dec 18 19:58:23 autrilla: whatever server side framework for web APIs of your choice is perfectly good Dec 18 19:58:58 are you drunk? Dec 18 20:00:25 Melatonina: you mean Jonathan- Dec 18 20:00:26 no. And I'm not psychic either. You should describe your problem: expected and actual behavior of the views Dec 18 20:00:46 autrilla: sorry. Yes Dec 18 20:00:57 Jonathan-: that was meant for you Dec 18 20:09:28 Melatonina: my problem at the moment is that with slim2 and retrofit2 I am getting 404 page then posting the login / password Dec 18 20:10:08 "then posting the login / password"? Dec 18 20:10:36 Jonathan-: 404 could depend on DNS or routing issues Dec 18 20:11:08 Jonathan-: an error definitg the Retrofit interface could cause that Dec 18 20:11:23 Jonathan-: a wrong base URI could cause that Dec 18 20:11:25 etc. Dec 18 20:13:36 No the baseurl is right Dec 18 20:13:40 https://nopaste.me/view/89419726 Dec 18 20:13:45 thats the logcat Dec 18 20:14:05 and the same url is working in Postman Rest api client Dec 18 20:16:11 Melatonina: should I make screenshot of my postman? Dec 18 20:16:15 so you can see Dec 18 20:17:22 is the interface definition correct? Dec 18 20:17:46 is the web server or self-hosted service receiving the request? Dec 18 20:19:00 yes just a sec Dec 18 20:21:44 Melatonina: As you can see here in my postman screenshoot: https://www.dropbox.com/s/5ctix6i2qyv2voa/Sk%C3%A6rmbillede%202016-12-18%2021.17.01.png?dl=0 Dec 18 20:23:40 ok. You should check the other things I mentioned Dec 18 20:24:02 what other things? Dec 18 20:24:31 the ones I mentioned above Dec 18 20:25:42 if the interface def is correct? Dec 18 20:48:45 Hello, im trying to develop a PKGBUILD which need atleast one of the dependency out of 3. im my case, my library depend on (libepoxy or libgl or libgles) [in the sequence of more prefered from left]. how to specify the requirement. Dec 18 20:48:52 ? Dec 18 21:02:03 that looks like arch linux Dec 18 22:39:10 rxjaba 2.0.3 Dec 18 22:47:07 http://thewirecutter.com/reviews/our-favorite-mechanical-keyboards/ Dec 19 01:01:20 is it possible to write a middleware for android camera ? Dec 19 01:59:41 hi guys, how recommend me to manage the user registration and login ? is PHP recommended for server side? i works mainly with python but PHP is ok too. **** ENDING LOGGING AT Mon Dec 19 02:59:59 2016