**** BEGIN LOGGING AT Tue Jan 31 03:00:02 2017 Jan 31 03:03:19 Hello, I have an external library that extends View, out of the box the extended view handle touchs events, there is a way to implement a GestureDetecture and add it for custom touchs events handling, I have one that try to "disable" default behaviour returning false in every *Touch Jan 31 03:04:01 *Touch*Event overrided methods, but still can't bubble up the event to parent view, what can I try ? Jan 31 03:14:46 Total time: 49.472 secs Jan 31 03:14:46 with proguard Jan 31 03:15:06 take ~10seconds without --- oops \n Jan 31 03:15:48 noida: I installed your plugin but I can't do what I want Jan 31 03:18:40 pmercado: What is your goal? You want to subclass View and handle a touch event but also let the touch event bubble up to parents? Jan 31 03:19:09 http://imgur.com/a/xGBfl without & with Jan 31 03:19:14 not much diff :( Jan 31 03:20:50 pmercado: It would easier to answer if you state the ultimate goal here. Jan 31 03:21:08 Well, library provide a class, I do instance of it, that object is a View and capture events and is possible to add a GestureDetector Jan 31 03:22:22 I want to "disable" (?) events handling of the View and pass that event to parent, because parent have another logic for those events Jan 31 03:22:40 if you return false, you let it handle by other stuff and do not consume the event Jan 31 03:22:48 maybe you want to return true, depending on the case Jan 31 03:22:54 (don't block event DOWN) Jan 31 03:22:56 pmercado: Maybe the parent should override onInterceptTouchEvent and return `true`: https://developer.android.com/training/gestures/viewgroup.html Jan 31 03:23:18 or read more about how touch event are propagated first Jan 31 03:23:49 ultimately, you can do everything with the dispatch call Jan 31 03:24:10 thanks guys :) Jan 31 03:26:29 orbyt_ Melatonina thanks very much! Jan 31 03:26:41 Excuse the delay in my reply please we had a guest at the door Jan 31 03:26:42 I'm trying to compile libpcap (which is native C code) into my app. Can Android Studio compile libpcap and make libpcap.so, or do I need to compile it myself externally? Jan 31 03:27:10 Melatonina: The current version might be a bit buggy on linux. Thank you so so much for trying it out! I really appreciate that! Jan 31 03:27:53 Time for me to get some shut eye, thanks for the chat this is a really awesome community you folks have here! :) Jan 31 03:28:13 night dude 👊 Jan 31 03:28:42 maybe it's not designed to do what I wanted Jan 31 03:28:45 Good night Jan 31 03:32:13 Oh by the way Melatonina users are my driving factor. I can't believe I stepped away and left you hanging Jan 31 03:32:21 What are you looking for? I would love to hook you up Jan 31 03:34:44 noida: don't worry. Have a good sleep. We'll talk about it tomorrow! :) Thank you very much Jan 31 03:35:11 :) see you! see you cap! Jan 31 03:54:56 I'm trying to compile libpcap (which is native C code) into my app. Can Android Studio compile libpcap and make libpcap.so, or do I need to compile it myself externally? Jan 31 04:04:15 How do you all prefer to implement tabs in your app? library or just raw TabLayout/ViewPager? Jan 31 04:05:01 I use TabLayout + ViewPager. What kind of library are you considering? Jan 31 04:14:06 https://github.com/neokree/MaterialTabs I had used this a year or two ago but it's abandoned now Jan 31 04:14:24 Have a greenfield project that is starting up so that's why I was wondering Jan 31 04:14:35 I'll go with a default implementation Jan 31 04:15:56 liuwenhao, go tablayout+viewpager+fragmenstatepageradapter or fragementpageradapter Jan 31 04:16:20 avoid those doomed libs Jan 31 04:21:54 hi Jan 31 04:32:37 So what happens when we call ListView.setAdapter( // any adapter ) Jan 31 04:32:59 Like, in the ListView code, what is it doing when we give it an adapter Jan 31 04:33:07 I tried reading the source code but it didnt do much for me Jan 31 04:33:19 Not much until it comes time to get the information for a listview item Jan 31 04:33:35 Dagmar: it just holds the adapter there until it is time to display items? Jan 31 04:33:41 Yeah Jan 31 04:34:01 Then what about when the list is ready to display items Jan 31 04:34:26 _Then_ it will use the layout from the adapter Jan 31 04:34:36 So it calls getView? Jan 31 04:34:44 How does it know what position etc to pass to the getView Jan 31 04:34:47 drose379 it gets the view/details you want to show in listview and sets it into the listview Jan 31 04:35:08 Hit up slidenerd's tutorial video on it and it'll make sense Jan 31 04:35:24 I'm just wondering what happens under the hood really Jan 31 04:35:32 The recyclerview and friends are quite confusing until you've seen their little gears ticking over in slow motion Jan 31 04:35:51 I've been working w/ recyclerview for a while and know how they work Jan 31 04:36:00 I'm just wondering what happens in .setAdapter() Jan 31 04:36:40 Is it responsible for keeping track of the convertView and the index being passed to getView()? Jan 31 04:37:23 drose379 are you going for certification? Jan 31 04:37:36 No, just something I'm wondering Jan 31 04:37:56 sub_zero: do you know what I mean Jan 31 04:40:29 Anyone know? Jan 31 04:41:47 drose379 i don't know that much deep. Jan 31 04:42:30 sub_zero: I guess the basic gist is that the view stores the adapter and uses it to pull views at X position currently visible Jan 31 04:42:33 Sound right? Jan 31 04:42:34 drose379: Yes, it keeps a list (or some lists) of views to reuse, and hopes to provide one as `convertView`. It also knows the correct position. Jan 31 04:42:45 TacticalJoke: ! Jan 31 04:42:48 How are you? Jan 31 04:43:00 I'm good. Haven't seen you in forever. Jan 31 04:43:13 Yeah, what you been up to? Jan 31 04:43:22 Still working w/ Android stuff? Jan 31 04:43:36 Yeah, but busy with life. :s Jan 31 04:43:47 Makes sense, I been busy w/ school Jan 31 04:43:55 Are you here regulawrly? Jan 31 04:43:56 Are you doing computer science? Jan 31 04:43:58 Yeah. Jan 31 04:44:02 Comp Sci yeah TacticalJoke Jan 31 04:44:31 I'm gonna head off TacticalJoke, hopefully chat w/ you tomorrow Jan 31 04:44:37 Thanks for the help sub_zero Jan 31 04:44:40 drose379: To *really* get to know the framework, you can run the emulator, attach the debugger, and step through the framework source. Jan 31 04:44:50 I am a electronics guy :D Jan 31 04:44:57 Yeah, thats a nice idea Tac Jan 31 04:44:59 TacticalJoke: Jan 31 04:45:01 drose379 don't mention Jan 31 04:45:01 That can make the imperceptible very simple. Jan 31 04:45:28 Though asynchronous stuff is sometimes hard to pin down. Jan 31 04:45:30 Exactly, it seems like a simple concept though, just pulling the views at index X from the adapter Jan 31 04:45:31 As always. Jan 31 04:46:11 Later TacticalJoke Jan 31 04:46:14 Not pulling views from the adapter — pulling views from its own list(s). Jan 31 04:46:26 I mean the recycling thing. Jan 31 04:46:30 See you later! Jan 31 04:46:37 Well the adapter is used to populate the lists cells Jan 31 04:46:40 Yeah? Jan 31 04:46:59 The adapter creates the new views, yeah. ListView keeps some of these for reuse (usually). Jan 31 04:47:17 And the views get pinned inside the ListView Jan 31 04:47:21 Or RecyclerView Jan 31 04:48:09 Yeah, they get added to an internal array/list of some kind, in the typical scenario. Jan 31 04:48:23 Got it Jan 31 04:48:25 Thanks TacticalJoke Jan 31 04:48:29 Talk soon hopefully Jan 31 04:48:32 Later Jan 31 04:59:57 i am a bit confused for saving a date as a text or as a integer in database because i gotta compare it everytime with the current date and time of my mobile,please help Jan 31 05:03:38 Coordinators: solving a problem you didn’t even know you had" ... because i don't Jan 31 05:08:43 sub_zero: I think this may be right: http://stackoverflow.com/a/18193192 Jan 31 05:11:11 HMM NOPE Jan 31 05:28:49 Correct me if i'm wrong, but if I use an AlarmManager and a PendingIntent to fire off an event to a BroadcastReceiver, then call an api and save data in a local DB, then I can avoid using a Service, correct? Jan 31 05:29:30 I'm essentially wanting to make an api call and save some data one a day or so. Jan 31 05:29:45 hello,I'm Android Devloper Jan 31 05:29:52 I'm new here Jan 31 05:30:59 so we should sing a welcome song for you? Jan 31 05:31:26 i'm not singing... Jan 31 05:31:26 no Jan 31 05:46:26 * liuwenhao sings Jan 31 05:50:11 * g00s sings "its the end of the world as we know it ..." Jan 31 06:10:44 Instant Run requires that the platform corresponding to your target device (Android 1.0) is installed. Jan 31 06:10:52 well the device definitely isn't running 1.0 Jan 31 06:13:23 instant ruin* Jan 31 06:13:33 g00s: morning Jan 31 06:13:38 is it that bad Jan 31 06:14:02 hey thepoosh Jan 31 06:14:12 what's the news? Jan 31 06:14:47 uhh ... support lib .1 bugfix release Jan 31 06:15:35 looks like I need FUSE in my kernel Jan 31 06:15:58 ? Jan 31 06:16:04 seriously? Jan 31 06:16:06 does instant run require compile or targetSdk == whats on device ? Jan 31 06:16:25 my n7 only has android 6 Jan 31 06:16:36 i have targetSdk=7 or something tho Jan 31 06:16:44 not that i know of, but if you force compile on api 21 and above Jan 31 06:16:50 it should even be faster Jan 31 06:16:52 due to ART Jan 31 06:17:07 right but i can't update my n7 past android 6 Jan 31 06:17:31 * g00s was hoping google would have come out with new tablet Jan 31 06:17:47 it requires api 21 min Jan 31 06:19:06 i would prefer something with less bugs than more faster Jan 31 06:19:45 I am using Realm and calling copyToRealm() when saving RealmObjects. However, when logging the number of items in the db, I keep getting the same number. Why might this be? Jan 31 06:25:09 when i am retrieveing values from the database then its showing autoincremented values in every column whereas i have used autoincrement on only one column,why its happening? Jan 31 06:26:20 How do I fix "Lambda coming from jar file need their interfaces on the classpath to be compiled" ? Jan 31 06:31:20 g00s: there is an emulator for a tablet named Pixel C Jan 31 07:23:53 hi Jan 31 07:24:56 i want to insert one column in my sqlite database so can i directly insert that row in createTable query or i have to run a new query? Jan 31 07:39:31 gui_: create table is for creating, INSERT is for inserting Jan 31 07:39:50 you can wrap it in db.startTransaction and db.endTransaction Jan 31 07:46:06 thanks Jan 31 08:12:54 * raoul11 thepooshes thepoosh Jan 31 08:14:02 well good morning sleepyhead Jan 31 08:20:18 raoul11: http://imgur.com/R3YtLkd Jan 31 08:20:23 this is my life now Jan 31 08:21:09 I'm trying to use the NDK but it is picking up 4.8 while my version is 4.9, how can i fix it? Jan 31 08:21:30 some people wanna watch the world burns thepoosh Jan 31 08:22:15 I really don't understand his logic Jan 31 08:22:34 doing "select * " but afraid of allocating one object Jan 31 08:22:36 :S Jan 31 08:24:24 i overslept today thepoosh Jan 31 08:24:29 woke up 2 hours l8 Jan 31 08:24:54 https://youtu.be/5uDS-SM-65A Jan 31 08:26:43 kek Jan 31 08:26:45 Hi all. I would like to create a library project which has multiple modules (myCompany:Views, myCompany:Permission, ...) Any tips before I start? Jan 31 08:26:59 this is brilliant Jan 31 08:39:20 FrancescoV: welcome back, publish each module as it's own dependency and use all of them in the main library project Jan 31 08:40:03 https://medium.com/@eliaslecomte/publish-an-android-library-on-jcenter-a37770dc9570#.ibtywm7dx Jan 31 08:40:43 thepoosh, can you have a 'android application' module too in the project to test the modules? that would be great Jan 31 08:41:23 absolutely Jan 31 08:43:13 thanks! you can still use single module dependencies? Jan 31 08:57:09 http://i.imgur.com/lIdep86.png finally got same style across many API Jan 31 08:57:41 some little parts are ridiculously expensive to get it right across all API... -_- Jan 31 08:57:43 Good people! Anyone done full database encryption? I'm thinking of using SQLCipher https://www.zetetic.net/sqlcipher/open-source/. Is this a good pick? Is there anything better? Jan 31 09:08:10 propagandhi: SqlCypher is almost the only choice Jan 31 10:15:23 adq, yep, seems like removing .idea and .iml from my project and reimporting it fixed my issue in IDEA Jan 31 10:15:31 \o/ Jan 31 10:22:20 adq: I worked some to fix up the layout from last week Jan 31 10:22:42 just a sec Jan 31 10:27:52 adq: http://imgur.com/oqik4fi Jan 31 10:29:33 better, but still padding of divider between genders and connect does not match the edittext line Jan 31 10:30:01 also the space between your icons, notice the distance from birthday cake to gender icon Jan 31 10:30:09 not the same distance as between the others, etc Jan 31 10:30:18 i'm picky i know Jan 31 10:30:47 and use another image for the clipped bubble on top, because almost white on white does not show it well Jan 31 10:30:48 etc Jan 31 10:31:17 How can I add app shortcuts without setting minsdk as 25. Jan 31 10:31:32 i think it's forbidden, or you mean "tile"? Jan 31 10:32:08 hello Jan 31 10:32:53 any one can help ? Jan 31 10:33:31 it depends what you will ask, if you plan to ask something Jan 31 10:33:50 So, I have an API call that gets called on onCreate, as an AsyncTask, how can I get that asynctaxk to update the value in a textview AFTER the asynctask has completed? At the moment, it's updating with the call to the asynctask Jan 31 10:35:15 i would use retrofit if i were you, and cannot answer about asyntask i avoid it like the plague since 2010 Jan 31 10:36:33 i need to add vanniktech emojis to holo irc app Jan 31 10:37:15 OK, I'll look into that adq Jan 31 10:37:32 I have seen that banded around a few times, maybe I'll convert all my AsyncTask to retrofit if I can get this one working :) Jan 31 10:38:05 adq: Was `i think it's forbidden, or you mean "tile` for me? I am talking about this: https://developer.android.com/guide/topics/ui/shortcuts.html Jan 31 10:38:31 oh right astroduck, i thought like dropping shortcut on the homescreen Jan 31 10:38:43 no clue for those "shortcuts" you mention, haven't yet played with it Jan 31 10:39:27 Why is dropping shortcuts forbidden? Jan 31 10:39:33 adq ?? Jan 31 10:40:23 no idea man Jan 31 10:41:16 no one can help in that ? Jan 31 10:47:40 sdousley, you'd do it in onPostExectute in the asynctask Jan 31 10:47:50 execute* Jan 31 10:48:39 looks like no one will help me :( Jan 31 10:50:26 astroduck, sorry for the confusion, originally shortcut were icon on the screen, and some abused to drop link ads and other apps unrelated, but those shortcut you talk about for api 25 are obviously not the same thing nor forbidden Jan 31 10:50:34 i just tested a static shortcut and it works Jan 31 10:51:13 astroduck, http://imgur.com/a/MhzPB Jan 31 11:53:59 whatitis: Thanks for that, I got it working in there now :) That was a lot quicker than implementing retrofit (which I still plan to move over to at some point) Jan 31 12:33:17 hello Jan 31 12:33:32 I'm trying to use a different Dagger2 configuration for my androidTest(s) Jan 31 12:34:38 but if I understand correctly I have to inject the fields using DaggerProductionComponent.create().inject(myObj) in prod classes and DaggerTestComponent.create().inject(myObj) which doesn't work out for me Jan 31 12:35:29 how can I have the different classes used in different scenarios (normal apk vs androidTest apk)? I tried using multiple AndroidManifest.xml files but then it couldn't find resources such as mipmap icon etc Jan 31 12:35:39 any help would be appreciated Jan 31 12:42:11 these are not ok http://stackoverflow.com/questions/26939340/how-do-you-override-a-module-dependency-in-a-unit-test-with-dagger-2-0 Jan 31 12:42:13 too complicated Jan 31 12:43:26 If you create custom attributes, can you give is some kind of 'priority'. Like I have a custom attribute which sets the textcolor to white, but I can't override it when using: android:textColor="@color/white" Jan 31 12:43:29 any advice on this? Jan 31 12:45:04 Alternatively, is it possible to create build config for androidTest apk? Jan 31 13:17:13 Do you ever get this feeling that the google team which designed Android went out of their way to make doing the simplest things as hard as possible? Jan 31 13:21:32 I have been on this for two days now, and I still didn't find a solution i like. I'm trying to "swap" the camera for a mock camera that just plays a video for some app that is very heavy on JNI. I've started rewritting our camera view, it relies on addCallbackBuffer and setPreviewCallbackWithBuffer, ok... so I need to also have some MockCamera to handle those. now i'm knee deep in google's native code trying to figure out how these shared buffers wo Jan 31 13:22:11 O.o Jan 31 13:22:48 That sounds like you're trying to do things the hardest way possible. Jan 31 13:23:11 It feels like I am doing things the hardest way possible, yes! Jan 31 13:23:30 if I read the " wo" at the end as ", whoa" it sounds more interesting Jan 31 13:25:19 anyonebutme, anyway, is there a reason why don't you hide the native camera behind a proxy object that's mockable? Jan 31 13:25:34 the hardware-related stuff can't just be easily replaced in the framework Jan 31 13:27:37 Mavrik, if i understand what you are saying, that is what I am trying to do exactly, but this "proxy object" also needs to handle the shared buffer and a bunch of callbacks, onPreviewMatObtained for example. Jan 31 13:40:12 I'm actually thinking of dropping this approach altogether, and just "hot swapping" the frames as they arrive to our native calls, taking the images from a video using something like MediaMetadataRetriver.getframeAtTime() and and then saving a video of the frames after they have been processed by us. This will probably bring about a lot of other problems. Jan 31 13:41:24 As in, the camera shoots the "I've got an image event", we start all the processing we do, then in the last second swap that frame for one from a video. Jan 31 13:42:19 Neither of those methods are clean. Jan 31 13:43:59 I don't understand the complications all that much Jan 31 13:44:11 Why not "record" an order of method calls with frame data and everything Jan 31 13:44:13 Store it into file Jan 31 13:44:19 And then make a mock that replays that exactly? Jan 31 13:47:53 I'm not sure I understand what you're suggesting, how do i "record method calls with frame data"? Jan 31 13:48:42 Write a piece of code in your current app that will dump data you'll use as inputs for your tests. Jan 31 13:48:58 Then make a mock that instead of opening the camera, loads those files and feeds them into the tested code. Jan 31 13:49:02 Isolate code as necessary. Jan 31 13:50:48 Hello Jan 31 13:52:28 is there some way to specify the network interface to be used by an app programmatically? Jan 31 13:54:27 looks like you can just bind to an ip on that interface Jan 31 13:55:59 Marvik: Yes, I will probably do something similar, change the thread that handles the camera events, to a video playing thread, and shoot up all the events from there. Jan 31 13:56:03 thanks. Jan 31 13:58:16 I'd look at java.net.NetworkInterface.getNetworkInterfaces Jan 31 13:58:24 and start from there Jan 31 14:00:31 yea.. looks good. Thanks chek. Jan 31 14:16:38 raoul11: HAI Jan 31 14:16:50 HI BUDDY Jan 31 14:18:43 what Jan 31 14:18:49 are different versions of adb incompatible with eachother Jan 31 14:20:27 alright there must be some way to get android studio to stop running adb on its own Jan 31 14:30:54 chek: no Jan 31 14:30:58 adb is the same Jan 31 14:32:44 hi all Jan 31 14:34:13 what kind of android device is needed if I want to write an app to be able to have very high precision GPS coordinates? should I buy some kind of sdk or software for my android app, to create more precise coordinate with using sensor fusion or what? Jan 31 14:34:15 alright Jan 31 14:34:36 are there any hardware requirement I should look for in an android device? Jan 31 14:34:39 You need a phone with a _good_ GPS reciever implementation. That's all. Jan 31 14:34:58 Dagmar: are there any open source or paid gps receiver implementations? Jan 31 14:35:14 Dagmar: what are good or best to be implemented in an app? Jan 31 14:35:19 Uh... you are completely missing hte point Jan 31 14:35:31 No amount of your software is going to improve the accuracy of GPS on the phone Jan 31 14:35:59 Have your friends install "GPS Status & Toolbox". That basically serves as a "debug view" of what's going on with the GPS reciever Jan 31 14:36:20 Dagmar: I thought on software just because the navigation systems try to correct the gps signals Jan 31 14:36:28 It's simply a function of _how GPS works_ that the figure about how accurate the location fix is _will_ actually be correct Jan 31 14:37:00 nowadays phones have GPS and GLONASS (russian 'GPS') Jan 31 14:37:29 greyline: They can make assumptions based on physics and common sense, like, you're not making any sharp left turns off a bridge, and your car certainly didn't decellerate by 60mph in 2 seconds unless whether or not GPS is running really isn't an issue anymore Jan 31 14:37:32 also recently european 'GPS' has launched and few very recent phones support 3 systems Jan 31 14:37:39 that would increase accuracy Jan 31 14:37:45 but still this is hardware problem Jan 31 14:38:02 To represent a GPS reading as a _single point_ is basically window dressing so that you can understand it Jan 31 14:38:22 Ashiren: support 3 systems? what 3? and what are those devices? Jan 31 14:39:05 Newer phones can get this down to within a few meters, and that's as good as you're likely to see Jan 31 14:39:46 and sometimes those gps navigation units get it wrong Jan 31 14:39:47 gps, glonass, galileo (recent). there is few years old of test gps vs gps + glonass, inside/outside etc http://electronicdesign.com/test-amp-measurement/real-world-drive-tests-declare-verdict-gpsglonass Jan 31 14:40:01 like for instance when you drive on a road which isn't mapped in the database it uses Jan 31 14:40:20 All three are running up against the limitations of what can be done in a portable device Jan 31 14:40:24 the technical accuracy i believe it cannot go below 3m Jan 31 14:40:27 there's quite a bit of distance before it decides you're not actually at that road you turned off of Jan 31 14:40:56 so i wouldnt perform surgery using gps accuracy Jan 31 14:41:32 or maybes whats your usecase Jan 31 14:41:52 Ashiren: surgery exactly :D no, I'm just kidding Jan 31 14:42:59 Ashiren: and how can I know about a phone that it uses galileo, glonass, normal gps for gps positioning? Jan 31 14:43:19 Ashiern: They might be able to get more accurate data, but we're butting up against sample rate limits mainly Jan 31 14:43:37 greyline: By looking up it's specs on someplace like GSMArena Jan 31 14:43:47 well, check out the phone specifications Jan 31 14:45:20 galileo is in testing phase, not all satellites launched yet Jan 31 14:46:04 And in any case, trying to get readings from all three will only be a very marginal improvement Jan 31 14:47:42 The phone will either have a good implementation or it won't. Having both GPS and GLONASS capability is nice, especially if you're nearer to the poles, but a crap antenna or substandard arrangement of components on the phone tends to have a bigger impact Jan 31 14:48:06 i.e., crap GPS recievers will always suck, and are common in older (>5yr) phones Jan 31 14:48:32 Some cheapass phones that are brand-new _still_ give terrible performance Jan 31 14:49:09 ...but if your GPS reciever says you're within 60m of a specific location after having "seen" four satellites, the odds that it is wrong are very, very small. Jan 31 14:50:05 (60m is a pretty big circle... My GS5 regularly gets down below 20m unless I'm indoors) Jan 31 14:50:57 The fiance's GS7 narrows that circle even further Jan 31 14:51:54 anyone with some illustrator experience? Jan 31 14:52:06 need some advise how to shape a shape /: Jan 31 15:01:43 raoul11: hi. I used it intensively in past Jan 31 15:03:21 Melatonina: http://i.imgur.com/xtyvXwP.png i want to remove the two areas below the bubble, and joining the new shape Jan 31 15:05:16 raoul11: I can't see how the shape is made. Could you pick the "direct selection tool" (A key, all-white arrow) and select the whole thing? It should cause all control points to show up Jan 31 15:05:27 http://i.imgur.com/keHqevg.png join this new path into the big rectangle Jan 31 15:06:06 i'm querying the sms content and trying to figure out if the message was sent by the owner or not Jan 31 15:06:23 Melatonina: http://i.imgur.com/KxDKlGf.png Jan 31 15:06:55 i've noticed that person is null if it's your message Jan 31 15:07:03 but i also believe it's null if the person doesn't exist in your contacts Jan 31 15:07:39 raoul11: sorry but I don't understand how the semicircular shapes are made. Do you want to remove those? Jan 31 15:07:51 yes Jan 31 15:07:54 with the arc tool Jan 31 15:08:07 from the lowest anchor point to the rectangle anchor points Jan 31 15:08:22 and i want to unite that new paths afterwards Jan 31 15:08:29 can you select them with the direct selection? Jan 31 15:08:32 just them? Jan 31 15:09:10 otherwise you should send me the file, because I don't really understand the shape. Sorry Jan 31 15:09:25 I need to inspect it Jan 31 15:09:51 hi, i need to request Android Device Verification API quota increase. Looking for pointers as to how to request it? Jan 31 15:10:29 anyone have any ideas Jan 31 15:15:21 To implement a server socket into android app, will I need to use Java Threads? I think its not suited for AsyncTask because it runs for short period but an example I found still suggests using it Jan 31 15:15:48 purplex88, probably Jan 31 15:15:51 Like this one here: https://github.com/codepath/android_guides/wiki/Sending-and-Receiving-Data-with-Sockets Jan 31 15:16:21 Uses a while loop in doInBackground ^ Jan 31 15:16:22 raoul11: ? Jan 31 15:16:28 nah Jan 31 15:16:31 giving up on life Jan 31 15:16:34 thanks anyways Jan 31 15:19:13 i'm not doing it like that Jan 31 15:20:25 If its ok to put while(true) in doInBackground I might but seems like abusing AsyncTask in some way Jan 31 15:20:39 raoul11: I'm here, if you want. I was curious to see how the shape was made. Jan 31 15:21:01 rectangle plus triangle - unite Jan 31 15:21:11 made the arc with an arctool Jan 31 15:21:35 writing an sms app seems crazy difficult Jan 31 15:23:06 aspire: would you like to use java threads? Jan 31 15:23:30 yeah, i'm creating an android app that uses sockets and i'm just using a thread Jan 31 15:24:07 but if server needs to post to UI it may need AsyncTask? Jan 31 15:25:24 via publish Jan 31 15:25:44 just update it on the ui thread Jan 31 15:25:50 i think theres a method runOnUiThread(Runnable) Jan 31 15:26:08 aspire: via java thread? Jan 31 15:26:21 doesn't matter where you call runOnUiThread Jan 31 15:26:26 just as long as you have a context Jan 31 15:26:31 ah Jan 31 15:26:45 so pass your activity or whatever into your connection class Jan 31 15:27:28 i want to be more clear about whether to use asynctask or not here and why not.. Jan 31 15:27:48 you don't need to Jan 31 15:29:20 raoul11: http://www.filedropper.com/bubble_2 Jan 31 15:30:49 cheers man Jan 31 15:32:22 raoul11: maybe editing that will be easier... I made a rectangle with rounded corner, then I created the side of the pointed part, mirrored, joined, joined again to close it. Then I snapped placed it on the border of the rectangle and united the shapes with the pathfinder tool. You should still be able to edit the control points with the direct selection tool Jan 31 15:32:44 aspire: i heard theres a lot of thread management to do if you use java threads e.g. sync between threads, communication, termination but in my case i just want a server thread, and just post messages on ui. Jan 31 15:34:20 h8 desgining icons Jan 31 15:35:24 I like it Jan 31 15:38:49 as I just learned asynctask may have memory leaks therefore not good for long running tasks. Jan 31 15:39:00 so my next step will be i guess to review threads in java. Jan 31 15:41:08 purplex88, for your use case it doesn't even matter lol Jan 31 15:41:15 purplex88: the memory leaks come from having a reference to the activity context in an asynctask Jan 31 15:41:22 avoid that, and you're ok Jan 31 15:42:45 aspire: but server is long running task, no? Jan 31 15:43:13 sure, but you only need 1 thread for it Jan 31 15:43:15 purplex88: AsyncTask is a Thread with ability to deliver the final result of a computation on the main thread. Jan 31 15:43:31 i don't understand what you're trying to do tbh purplex88 Jan 31 15:43:37 are you hosting a server in your android app or what Jan 31 15:43:46 now i guess i may need many threads Jan 31 15:44:07 e.g. sending a file downloads from server Jan 31 15:45:02 "sending a file downloads from a server" is not a sentence Jan 31 15:45:35 serving a bunch of file download requests on threads Jan 31 15:45:57 well, look at this: https://github.com/koush/AndroidAsync Jan 31 15:46:35 if that doesn't help with your problem I don't know what to say because you can't describe what you want to do Jan 31 15:48:17 Melatonina: what does it do in brief? Jan 31 15:48:46 :( Jan 31 15:49:00 he can't write and can't read either Jan 31 15:49:05 lol Jan 31 15:49:16 nothing funny about it Jan 31 15:49:18 can't read thousand lines of code Jan 31 15:49:34 with no description Jan 31 15:49:35 there's a description with example Jan 31 15:49:57 examples Jan 31 15:50:09 use the scroll bar in your browser Jan 31 15:50:31 yes sir Jan 31 16:10:41 purplex88, what are you doing Jan 31 16:10:52 is your android app the server or the client Jan 31 16:16:08 Hi Jan 31 16:18:10 i am having date and time stored in the database in the form of string,now i need to compare it with date and time of my phone everytime ,so what should i use? Jan 31 16:32:32 ?? Jan 31 16:32:35 i am having date and time stored in the database in the form of string,now i need to compare it with date and time of my phone everytime ,so what should i use? Jan 31 16:38:34 i am having date and time stored in the database in the form of string,now i need to compare it with date and time of my phone everytime ,so what should i use? Jan 31 16:44:08 you should first be ensure that the locale and timezone matches on both the timestamp you plan to compare, then it's a simple subtraction between the two long timestamp Jan 31 16:44:14 s/be// Jan 31 16:47:29 adq and how the app will keep on running in background? Jan 31 16:49:34 no idea, totally unrelated to what you asked Jan 31 16:49:44 avoid running stuff everytime Jan 31 16:51:14 adq how it is unrelated, its like an alarm , so how will i bang up the buzzer at correct time if i don't allow the app to run in background? Jan 31 16:51:34 everytime i tell you something, you add more details lol Jan 31 16:51:49 i have no idea anyway Jan 31 16:52:01 oh you never made such app Jan 31 16:52:03 ? Jan 31 16:52:25 idk what you mean by "such app" Jan 31 16:52:35 (expecting more details incoming) Jan 31 16:52:55 i already told you enough Jan 31 16:54:31 date and time in database, i need to compare it with mobile's date and time, and this process need to be run everytime to play the buzzer at right time Jan 31 16:55:38 so why don’t you just do that? Jan 31 16:55:55 Or, better yet, use the built in alarm functionality Jan 31 16:56:21 i don't know to do this Jan 31 16:56:27 how* Jan 31 16:56:42 look up the alarm manager Jan 31 16:56:55 oh ok Jan 31 16:59:44 s73v3r will it work even if user exits from the app? Jan 31 17:00:15 the alarm manager is a system service. It will wake up your app when the alarm goes off Jan 31 17:00:21 think of any morning alarm app Jan 31 17:00:26 that’s what they are using Jan 31 17:00:40 oh cool then Jan 31 17:00:49 thanks buddy Jan 31 17:01:06 adq thanks to you too for listening up :D Jan 31 17:01:39 what does "describeContents" do in a Parcel object? Everything I can find says it's necessary, no-one seems to implement it to do anything at all... ? Jan 31 17:03:45 even the android docs :( Jan 31 17:04:53 MarkRS, if you look at javadoc Jan 31 17:05:07 it only has one flag - CONTENTS_FILE_DESCRIPTOR to mark that the contents includes a file descriptor Jan 31 17:05:15 yes, so I see Jan 31 17:06:20 I only just managed to find that, Google gave no reference to it, it was a link in a blog. Jan 31 17:06:29 so that's the only thing it can describe? Jan 31 17:06:44 huh? Jan 31 17:06:57 It's right there in Parcelable javadoc? O.o Jan 31 17:07:10 that's the only thing it's used for? To show there's a file descriptor in the parcel? Jan 31 17:07:21 yes Jan 31 17:07:35 Ok. thanx. Jan 31 17:07:49 I couldn't believe that was all it did without asking. Sorry to intrude Jan 31 17:33:19 On the bright side, if one doesn't mark it as containing a file descriptor, one rather quickly learns why it's there Jan 31 17:33:27 <_genuser_> hello peopel Jan 31 17:33:43 <_genuser_> I have the AS installation complete. project builds fine. adb.exe is nowhere to be found on teh system. Jan 31 17:33:54 <_genuser_> in %sdk% directory dir /s adb*.* returns nothing. Jan 31 17:34:29 Fun thing... did you install any other stuff from the SDK manager? Jan 31 17:35:44 Generally you need to install the "Android SDK Platform Tools" which may not have been enabled by default Jan 31 17:36:18 It's the second thing in the list shows by the Standalone SDK Manager Jan 31 17:36:44 _genuser which OS? Jan 31 17:37:49 and what is the path of the sdk directory? Jan 31 17:38:12 <_genuser_> Syzygy_: win7 %userprofile%\Android\sdk\ Jan 31 17:38:50 So tell it to install the platform tools. Jan 31 17:39:00 This isn't the first time this has come up Jan 31 17:40:16 <_genuser_> for all of my many many many AS installations it _is_ the first time it has come up. Jan 31 17:40:26 <_genuser_> but I'll go look for platform tools. :) Jan 31 17:40:55 that's not a fullpath, but It'll do i guess. Jan 31 17:41:37 god damn it, building completley freezes up this notebook. Jan 31 17:42:11 <_genuser_> ah, that one install it failing. Jan 31 17:42:19 <_genuser_> platform-tools fails ( Download interrupted: Unexpected HTTP Status 416 ) Jan 31 17:42:31 Well, ok that should solve it then. Jan 31 17:42:32 <_genuser_> behind corporate proxy, I believe that's the reason. Jan 31 17:42:40 <_genuser_> let me google it now to find some solutions. Jan 31 17:45:17 It can randomly fail for other annoying reasons. I wondered how people were having trouble with this until it happened on my laptop Jan 31 17:45:30 ...and I'm sure as hell not behind an overly restrictive corporate firewall Jan 31 17:46:19 I want my new notebook T_T Jan 31 17:51:06 <_genuser_> Dagmar: it's odd. but it's saying http status 416. A lookup on that says something about a Range request-header. Jan 31 17:51:28 <_genuser_> I'd blame it on the interwebs but our company laptops are setup to some of the oddest setups. Jan 31 17:51:38 Well, the short form is that it's not downloading for whatever reason Jan 31 17:51:47 <_genuser_> everything as user. no admin right. Everything you want done on it, just craps. Jan 31 17:51:51 <_genuser_> lol Jan 31 17:51:54 Do ya'll transparently proxy unencrypted web traffic? Jan 31 17:52:27 It could easily be a broken transfer failing at resuming through the transparent proxy. That would explain why a range request was even involved in the first place Jan 31 17:52:36 ...or it might be something broken in Google's CDN Jan 31 17:52:51 <_genuser_> it's all set to auto configure in IE. I don't know specifically about transparent proxying. Jan 31 17:53:09 Well, it's _always_ set to autoconfigure in IE (much to my amusement on a number of occasions) Jan 31 17:53:14 ...but this shouldn't be involving IE Jan 31 17:53:53 I'd beat on the standalone SDK manager again in a few minutes and see if the problem has resolved itself Jan 31 17:54:19 <_genuser_> "Download finished with wrong size. Expected 2984662 bytes, got 2984063 bytes." Jan 31 17:54:22 <_genuser_> just lolz Jan 31 17:54:27 Or possibly do a whassit... `ipconfig /flushdns` I think that clears the DNS cache and then restart AS and give it another whack Jan 31 17:54:38 Yeah that sounds like a CDN problem actually Jan 31 17:54:53 <_genuser_> probably not a bad idea to give it a few min. Jan 31 17:54:56 Flushing DNS might get you a different node Jan 31 17:55:03 <_genuser_> instead of adding to the traffic. Jan 31 17:55:11 If you're using OpenDNS there that always adds to the fun Jan 31 17:55:14 <_genuser_> hmm, let me flushdns too. Jan 31 17:55:27 it's probably your company proxy corrupting the request Jan 31 17:55:41 why don't you ask ppl responsible for this issue in your company instead of here? Jan 31 17:55:46 <_genuser_> lol, requested operation requires elevation Jan 31 17:55:53 since, you probably need the sdk to work on the job they assigned to you Jan 31 17:55:54 I used to work for Vanderbilt University and you'd think people were being asked to set themselves on fire from the way they reacted to the idea of Apple iTunes downloading slowly Jan 31 17:56:22 _genuser_: A reboot is going to clear the DNS cache whether it likes it or not. ;) Jan 31 17:57:12 <_genuser_> adq: short version - nobody cares. Even if it's for work, nobody knows. IT support is in the cloud (India). And this is something my boss wants me to do in case he likes it and can sell it to mgmt. As is, mgmt would just have a diarhea hearing about something technical they can't translate to "recurring revenue Jan 31 17:57:12 OpenDNS tends to break geoip routing of DNS and people using OpenDNS then wind up in the "we don't know where the hell this is" pool, which frequently means they wind up downloading stuff from hosts in weird and overloaded places Jan 31 17:57:27 -_- Jan 31 17:57:40 <_genuser_> Dagmar: heh, I'll just reboot it. Jan 31 17:57:46 My general response to your problem is "I'll use my own damn laptop" Jan 31 17:57:48 <_genuser_> adq: I understand your logic tho. Jan 31 17:57:53 it's not my logic Jan 31 17:58:10 Vu had this crazy idea that we all had to use Windows, since they'd "standardized" on Microsoft Office. Jan 31 17:58:17 I'm like, "I AM A UNIX ADMIN" Jan 31 17:58:21 <_genuser_> adq: your point that I should ask the work support to provide the tools needed for hte job. Jan 31 17:58:30 my point is don't go to a bakery to ask for meat Jan 31 17:58:35 I set their laptop to dualboot and mainly used my own laptop Jan 31 17:58:36 this is the wrong place Jan 31 17:58:50 Sometimes, you just have to work around the stupid Jan 31 17:59:07 <_genuser_> adq: actually, I just mentioned it here incase someone's seen it. and some helpful folks jumped in. I'm not asking/demanding from anyone to even respond to this. Jan 31 17:59:22 stop justifying you lol Jan 31 17:59:32 well, you can continue i cannot stop you anyway Jan 31 18:00:12 <_genuser_> adq: alright, I responded to you nicely. You're just coming into a conversation, making an accusation, then being a dick about it. Jan 31 18:00:19 <_genuser_> there's no justification, you're just being stupid. Jan 31 18:00:28 <_genuser_> so yes, let's stop talking about it with you. Jan 31 18:00:28 not sure who is what Jan 31 18:00:40 _genuser_: I was digging around for anotehr way to get the things... In _theory_ you should be able to go here http://www.androidpolice.com/2017/01/05/google-makes-adb-fastboot-platform-tools-available-without-full-sdk-android-studio-download/ pick the Windows link, and get a zip file you can just drop into place Jan 31 18:00:56 I am looking inside the thing now (it's 3.4Mb) and it contains adb Jan 31 18:01:21 source.properties says it's 25.0.3 Jan 31 18:01:45 ...which (also just checked) is the latest version Jan 31 18:01:48 <_genuser_> Dagmar: nice. this might do the trick. Jan 31 18:02:09 It should. the thing used to be bundled with android studio, but that was when AS was creeping up on being a damn 2Gb download Jan 31 18:02:18 I'm not saying they're wrong for unbundling Jan 31 18:02:46 <_genuser_> I'm fine with a long download that gets everything installed one shot. you know leave it un-managed install for a few minutes and then you're set. Jan 31 18:03:28 I find it a little irksome when I can't cache the bits and pieces locally, and they're forever changing Jan 31 18:04:02 That 1.8Gb download would invariably be obsolete (basically requiring downloading a bunch of stuff again) in about 10 days Jan 31 18:04:21 A shame there's no way to cache HTTPS Jan 31 18:04:34 <_genuser_> Dagmar: eh, it shows the launching adb dialog, so soudsn like it will take it. Jan 31 18:05:20 THe big thing I was looking at was possibly screwing up AS's inventory of components, but it looks like AS is keeping things simple there Jan 31 18:05:21 <_genuser_> yeah, true that. the long update times can be tough. But to be honset, I update like once in 6mo. Jan 31 18:05:55 I tend to code based on what AS will let me get away with rather than what I'm "supposed" to do, so I run into actual funky android behaviours on the regular Jan 31 18:06:13 I start to submit a bug report... and there's already a patch in the pipe Jan 31 18:07:48 I can forgive numerous little bugs when they're rapidly patched Jan 31 18:08:09 Computer Associates can bite me Jan 31 18:08:15 <_genuser_> guess I'm the type who keeps the distance from dev teams for products I use. Jan 31 18:08:44 <_genuser_> I just assume if they were gonna fix it, they would. If not, why hassle them. (probably misses the point of filing bugs to notify them in the first place) Jan 31 18:11:51 CA has a special amount of hate from me for shipping an ISO for a product with a high four-digit licencing cost that contained _symlinks to shared libs_ in the original filesystem and thusly would not install (period) unless you accepted all the default options Jan 31 18:12:23 ...and then taking a month to even admit there's a problem with this, and eight months before they could bother releasing a new ISO. You don't want to know what the description in the changelog said Jan 31 18:14:04 <_genuser_> lol, be thankful they have a changelog. Jan 31 18:14:21 <_genuser_> our company doesn't even believe in vcs, much less release notes, changelogs. Jan 31 18:17:57 I blew 14 hours on the phone with their tech support people listening to really stupid questions from people who didn't even have a Linux server available to replicate the issue Jan 31 18:18:28 If your company does that, keep your resume fresh Jan 31 18:18:56 <_genuser_> I did dust it off recently and went for an interview a year or so ago. Jan 31 18:19:41 <_genuser_> and wow starting at a new place takes quite a bit of staying up to date. Staying at one place isn't good for marketability. Jan 31 18:42:58 https://gist.github.com/Syzygy2048/bff656a86a681b7246f2ab04df797f57 any idea why this would NOT close the dialog? Jan 31 18:46:55 Perhaps cityDialog doesn't actually hold a reference to the fragment? Jan 31 18:47:18 It should _probably_ also be coming last in that snippet Jan 31 18:49:38 Could also be that you're never apparently calling onCitySelected Jan 31 18:50:40 I know onClickListeners will reliably call onClick, but I don't know about this thing you're referencing Jan 31 18:52:04 The listener is getting called, breakpoints on the dismiss line do trigger. Jan 31 19:02:28 what's .onCityLoaded(city) do? Jan 31 19:02:51 reopen dialog? 😊 Jan 31 19:04:30 missed breakpoints, walk the debugger in and find out? assuming java dbg does what all other ones do Jan 31 19:04:55 hm i have 2 very similar linear layouts with left and right textview. seems when right textview is editable then the left is no longer vertically centered Jan 31 19:04:57 f10/step kinda6tjing Jan 31 19:27:50 Hi! Jan 31 19:31:11 I'm trying to access data/data through adb shell but I can't Jan 31 19:31:35 I get the error message "opendir failed, Permission denied", what I can do to enter? Jan 31 19:34:47 Iarfen: try to type 'su', super-user Jan 31 19:34:52 get root Jan 31 19:40:14 is there a way to draw something on a screen without java? like to write a program that will draw a circle on top of everything. probably through X11 it could be easier? Jan 31 19:42:15 just use java and use the Android SDK Jan 31 19:42:37 you’ll save yourself a ton of headache than trying to cobble something together that was never meant to do what you’re trying to make it do Jan 31 19:43:25 garit https://android.izzysoft.de/applists/perms#SYSTEM_ALERT_WINDOW Jan 31 19:45:27 but can i get access to a API not through java, or some other big framework? Jan 31 19:45:31 no Jan 31 19:45:47 i’ts a java API Jan 31 19:50:51 Well, there is always XServer if you already have an application that just needs to run on Android within a short timeframe, but I would recommend re-writing it in Java anyway. Jan 31 19:58:02 reading up on data binding, looks cool! https://developer.android.com/topic/libraries/data-binding/index.html Jan 31 20:00:20 Hi! Jan 31 20:00:28 garit: su gives "command not found" Jan 31 20:00:48 Iarfen: get root then Jan 31 20:00:55 garit: how? Jan 31 20:01:02 #android-root Jan 31 20:01:09 if it's your app, or it's debuggable, you can use adb run-as Jan 31 20:01:13 its unique for each phone Jan 31 20:01:15 er, adb shell run-as Jan 31 20:01:29 adb shell run-as foo.bar.baz.woozle /bin/sh Jan 31 20:04:53 pfn: how I can go root with that? I don't understand Jan 31 20:05:01 you dn't go root Jan 31 20:05:13 the point is that you don't need to for your own app, or a debuggable app Jan 31 20:06:56 is someone well known with the Dutch business system? Jan 31 20:07:06 pfn: I need to enter the filesystem to see if my app has created a file that it should have created :D Jan 31 20:07:13 adb shell run-as Jan 31 20:07:16 I just gave you the solution Jan 31 20:07:18 you don't need root Jan 31 20:21:26 Anybody know what's the horizontal scrolling view used in the Wear 2.0 Timer app? Jan 31 20:21:56 It's a subclass of FrameLayout with horizontal scrolling, but it isn't HorizontalScrollView :/ Jan 31 20:22:04 it's all obfuscated :( Jan 31 20:24:45 a recycler view or viewpager Jan 31 20:25:06 * pfn shrugs Jan 31 20:26:06 RecyclerView doesn't extend from FrameLayout Jan 31 20:26:33 And I thought using a recyclerView inside another one is bad Jan 31 20:27:23 hmm could be navigationView Jan 31 20:27:50 nvm but something similar I guess Jan 31 20:27:50 Nesting scrolling views has been supported for a while now Jan 31 20:27:55 with custom items Jan 31 20:28:20 SimonVT ah, my bad then. I shall give it a try with RecyclerView then :D Jan 31 20:28:20 thanks Jan 31 20:29:22 Afzal, i think it's wearablerecyclerview (plus maybe a SwipeDismissFrameLayout) Jan 31 20:30:13 not sure for SwipeDismissFrameLayout because it does not seem to behave like it should, which is allowing to swipe the nested container until its end to dismiss but allowing to dismis if you take the swipe on the edge Jan 31 20:30:15 adq, WearableRecyclerViews are inside that layout. Jan 31 20:30:27 but yes, it's all inside a SwipeDismissFrameLayout Jan 31 20:30:33 oh hmm Jan 31 20:30:46 one sec, lemme show you the hierachy Jan 31 20:30:48 2 sec i'm in front i can check it Jan 31 20:30:52 ah exactly what i was going to do Jan 31 20:32:39 fyi it's the deskclock process Jan 31 20:34:08 yup, had to boot up the avd again Jan 31 20:34:13 lol they use the deprecated wearablelistviews Jan 31 20:34:16 -s Jan 31 20:34:42 Afzal, http://imgur.com/a/1BkPD Jan 31 20:34:52 it's even worse than i thought, but it's simple and works Jan 31 20:34:58 lol yeah Jan 31 20:35:02 they totally don't use the 2.* features Jan 31 20:35:25 so that TimerLengthPickerLayout extends some class that extends FrameLayout Jan 31 20:35:36 that's the class that handles the horizontal swiping Jan 31 20:36:01 yeah i can check it too, but i'm a bit lazy Jan 31 20:36:10 and scaling each WearableListView which is exactly what I'm going to use lol. WearableRecyclerView doesn't have some snapping things Jan 31 20:36:12 you can pull the apk from the emu and apktool it to see the layout and what it extends Jan 31 20:36:18 the class i mean Jan 31 20:36:21 lol already there man Jan 31 20:37:11 guys, what's the alternative to CursorAdapter for RecyclerView? Jan 31 20:38:04 it's all obfuscated adq, I understood a little but that class is pretty big Jan 31 20:38:06 oh well Jan 31 20:38:10 maybe later Jan 31 20:38:17 it's probably a regular viewgroup or view Jan 31 20:38:28 they do that for all the custom view they provide, or in internal Jan 31 20:38:48 but which one idk ^^ Jan 31 20:39:27 you could do the same thing with a custom OffsettingHelper and a wearable recyclerview and few items, each item taking the whole screen Jan 31 20:40:15 Yeah Jan 31 20:41:02 For now, I'm just gonna use wearable recycler view and different screens Jan 31 20:41:12 hopefully they open source this app later on Jan 31 20:41:19 i doubt it Jan 31 20:41:20 google: holding back the possibilities Jan 31 20:41:36 Opportunity for a library one day Jan 31 20:41:37 if you're lucky, you will have the decompiled class readable later on in the support wearable lib Jan 31 20:41:49 i had to copy/paste few of them because they make everything private and/or final Jan 31 20:41:53 yeah IF they put that class in the wearable support lib Jan 31 20:41:56 which is really annoying sometimes, though i understand Jan 31 20:42:02 because this one looks specific to this app Jan 31 20:42:12 there's a string called CwClock or something in that class Jan 31 20:42:38 really you could imagine one wearablerecyclerview for the horizontal scrolling Jan 31 20:42:44 and each item got a vertical one Jan 31 20:42:46 yeah trying that atm Jan 31 20:42:49 for the vertical scrolling of the number Jan 31 20:42:50 let's see Jan 31 20:43:20 it does not clash with swiping because they restricted the width on the vertical recyclerview (on each item of the horizontal one) Jan 31 20:43:37 remember they had a mode called greedytouchsomething Jan 31 20:43:43 idk if it's still working or even available Jan 31 20:44:25 maybe you don't need that pattern navigation, they advice to keep it much simpler than 1.*, which i like Jan 31 20:44:32 (i mean i like it now) Jan 31 20:45:02 Afzal, https://www.google.com/design/spec-wear/system-overview/vertical-layouts.html Jan 31 20:45:09 they love to make 180° U-TURN Jan 31 20:45:21 the previous do is now don't Jan 31 20:45:38 oh there's a snap helper Jan 31 20:46:09 adq lol right? They have a 2D picker guide :D Jan 31 20:46:27 tbh i like the direction it's going now Jan 31 20:46:29 gridviewpager Jan 31 20:46:41 but i'm not that optimistic for end-users Jan 31 20:46:55 which are the ones who matter for a platform adoption Jan 31 20:46:57 not the dev Jan 31 20:47:22 yeah, I think one could still use the 2d thing but just keep it less complicated Jan 31 20:47:42 also i found lot of issues, they are launching it with many problems ^^ Jan 31 20:48:08 but i believe their team is very too little Jan 31 20:48:41 they really need more ppl, and not only for "communicating", if doc were much better and class consolidated without edge cases and weird behavior Jan 31 20:48:46 they would need less resource to communicate Jan 31 20:49:13 anyay, easy to say ;) Jan 31 20:49:31 i hope we will see more round screens, even on bigger devic Jan 31 20:49:38 it's too fun to not play with it as a dev Jan 31 20:49:49 and designers will love that too Jan 31 20:53:20 mhm Jan 31 20:53:25 yeah and more silver bezels Jan 31 20:53:42 do not like Huawei watch compared to my old LG Watch Urbane Jan 31 20:53:45 that one looked cool Jan 31 20:54:58 they're joking with us Jan 31 20:55:05 most have the same hardware and same specs Jan 31 20:55:13 they just change the wrist and cases around it lol Jan 31 20:55:14 with the high res 480x480 screen and OLED screen I thought Huawei was the best one Jan 31 20:56:16 I just done like the black bezel on mine Jan 31 20:57:10 dont* Jan 31 21:07:37 trying to use robolectric, since I hate running tests on my phone (so damn slow), everything I'm doing works well except the run tests with coverage fails Jan 31 21:08:09 is that a known thing with an easy fix? Jan 31 21:11:54 well shit. WearableRecyclerView tried to be smart and does a CircularOffsetHelper automatically >_< Jan 31 21:13:37 weird, it does not for me Jan 31 21:14:12 on round watches Jan 31 21:14:17 on square, it's fine Jan 31 21:15:35 adq is there a newer version of wearable support lib? Jan 31 21:16:03 first, what version are you using? Jan 31 21:16:33 son of a gun, there's a beta1 Jan 31 21:16:41 it never told me >_< I was at alpha3 Jan 31 21:16:56 son of a gun there's a beta 2 Jan 31 21:16:59 beta2 Jan 31 21:17:14 it won't told you if you don't update your sdk repository Jan 31 21:17:16 that explains the missing classes and methods compared to the documentation :/ Jan 31 21:17:18 tell* Jan 31 21:17:33 but you better watch the G+ community Jan 31 21:17:37 yeah I probably didn't, was away on vacation for 3 weeks Jan 31 21:17:38 usually they make announcements there Jan 31 21:17:40 eheh G+ Jan 31 21:17:44 G+? Jan 31 21:17:49 :') Jan 31 21:17:55 I stopped opening that website after they switched to pinterest layout Jan 31 21:17:58 everyday i checkout myspace Jan 31 21:18:16 hahaha Jan 31 21:18:21 i prefer to not start on this topic lol Jan 31 21:18:23 I check r/androiddev Jan 31 21:18:25 i don't understand. Jan 31 21:18:28 that's usually good enough for me Jan 31 21:18:37 lot of noise on reddit Jan 31 21:18:40 true Jan 31 21:18:57 + upvoting by massive amount of ppl does not make something good because many like it, same for downvoting Jan 31 21:19:01 it's highly biased there Jan 31 21:19:09 yet another MVP stuff there Jan 31 21:19:10 I dunno. G+ made it hard to visually traverse your feed Jan 31 21:19:13 because of two columns Jan 31 21:19:31 yeah i don't understand but.. i cannot do to anything aobut it Jan 31 21:19:41 just know that announcement about wear stuff are usually there first Jan 31 21:19:51 wait Jan 31 21:20:03 first are some journaliste, like 1 month in advance, before even the dev Jan 31 21:20:16 then G+, than it spreads a little, then the official blog Jan 31 21:20:17 etc Jan 31 21:20:18 :') Jan 31 21:20:21 true Jan 31 21:20:22 sorry Jan 31 21:20:47 and there are so many places that we end up with high discrepancies again Jan 31 21:21:00 (we talked about the navigation pattern, official doc are still totally out of date) Jan 31 21:21:08 my god forsaken WearableRecyclerView is stuck to the left of the screen :/ Jan 31 21:21:11 lol Jan 31 21:21:15 all the freaking gravities are center Jan 31 21:21:18 careful with swipedismisslayout Jan 31 21:21:20 layout_gravities Jan 31 21:21:27 there's no swipeDismissLayout yet Jan 31 21:21:29 it took me few hours to get right with it Jan 31 21:21:37 oh Jan 31 21:21:39 why? Jan 31 21:21:45 isn't it just edge swiping? Jan 31 21:21:46 because it's very weird Jan 31 21:22:03 on the contrary, not a single issue with the wearablerecyclerview Jan 31 21:22:11 also with all these generated layouts, it's kinda hard to tell how deep in the hierarchy you really are :/ Jan 31 21:22:13 since it works like an RV (it inherits form it anyway) Jan 31 21:22:22 so does WearableListView :p Jan 31 21:22:40 yeah they recommand to avoid to have too many depth in view hierarchy Jan 31 21:22:51 but by default it's already crazy n+a_lot Jan 31 21:23:58 there we go Jan 31 21:24:08 not nearly as good as my wearable list view looked :( Jan 31 21:28:48 guys, where's the AOSP code here? https://android.googlesource.com/ Jan 31 21:29:11 woaa just had a nasty bug Jan 31 21:29:32 audiorecord not released after some crash... side effect on opengl after relaunching the activity & stuff Jan 31 21:29:40 tombstone on glcontext, crazy Jan 31 21:30:22 as soon as i shortcircuited the thing, called an explicit audiorecord.release at the stat of the app, then removing this extra call and restarting the app, everything is back to normal Jan 31 21:30:25 -_- Jan 31 21:46:37 Anyone know of any apps that uses some sort of expandable list that goes 2 levels deep? I've got a requirement for very dynamic content being represented this way and it seems a bit weird to me. Jan 31 21:48:27 any reddit app? Jan 31 21:49:54 Best open source reddit app I can think of is slide Jan 31 21:50:09 And by best I mean feature complete...the code is quite messy Jan 31 21:50:17 dsardari: what about the demo app of some tree view library? https://github.com/bmelnychuk/AndroidTreeView Jan 31 21:53:20 https://techcrunch.com/2017/01/31/google-open-sources-chrome-for-ios/ Jan 31 21:54:32 Yeah was thinking something non-thread/conversation related. Jan 31 21:55:44 I'll check out slide thouh, thanks. Jan 31 22:00:35 are the macOS sierra -> ADB issues fixed? Jan 31 22:02:07 seem to be Jan 31 22:04:57 s73v3r okay then I must embark on that adventure this weekend Jan 31 22:05:07 i’ve done it Jan 31 22:07:31 how do I determine what foreground activity is currently running on a second screen, if any? Jan 31 22:07:42 <_genuser_> s73v3r: seems like you've done something for your employer today.... Jan 31 22:07:49 What adb issues Afzal? Jan 31 22:08:11 orbyt_ read about disconnections and stuff when Sierra was released last year Jan 31 22:08:54 Oh, was it a common issue a year ago? Jan 31 22:09:07 from what I read, yes Jan 31 22:09:22 it was issues both on the OS and in Android Studio from what I understood back then Jan 31 22:09:32 since then, I'll been telling App store that I'll update tomorrow :p Jan 31 22:13:09 <_genuser_> Afzal: pfft still chasing issues from last year... not fast enough man. Jan 31 22:13:26 _genuser_ just ignoring the source of issues :p Jan 31 22:13:40 gave up on that update life :( Jan 31 22:13:50 Still at AS 2.3 beta 2 Jan 31 22:14:06 only learned today that wearable support lib had a beta 2, was stuck at alpha 3 Jan 31 22:14:20 lol, this is what happens when I don't join this channel often Jan 31 22:14:48 <_genuser_> Afzal: lol, I just avoided wear altogether. Jan 31 22:14:59 _genuser_ lol unfortunately I can't :p for now Jan 31 22:15:10 <_genuser_> I mean, tap icon, replace with another icon, tab that one, replace with another label. pfft. Jan 31 22:15:11 it's gotten slightly better Jan 31 22:15:17 <_genuser_> get a damn phone people!! Jan 31 22:15:21 hahaha Jan 31 22:15:22 true Jan 31 22:15:50 <_genuser_> I kinda liked the oversized samsung watch (probably using tizen or maybe some android version). Jan 31 22:16:07 but seriously, what the f is up with this wearable Recycler view. Why isn't it centering the damn items Jan 31 22:16:13 <_genuser_> But they discontinued it. At least it had some color to it and some possibilities with it. Plus it had a sim slot and bluetooth for earpiece. Jan 31 22:16:31 <_genuser_> I'm just trying to get my AS working under corporate proxy drama. Jan 31 22:16:36 <_genuser_> and no admin privs on the box. Jan 31 22:16:58 <_genuser_> I have a somewhat messed up 2.2.3 installed. Jan 31 22:16:58 lol wow Jan 31 22:17:03 that is messed up Jan 31 22:17:34 <_genuser_> lol, the sdk manager couldn't even download the sdk. had to disconnect from vpn and then load it on myhome connection. Jan 31 22:17:42 <_genuser_> then some stuff just wouldn't load like platform-tools. Jan 31 22:18:29 :/ Jan 31 22:18:46 it's not an android dev shop right? Jan 31 22:22:43 <_genuser_> Afzal: C#, but my boss is trying to make new things happen and pitch it to mgmt. Jan 31 22:22:50 ah Jan 31 22:22:51 <_genuser_> he's also into anything IoT. Jan 31 22:23:10 <_genuser_> I am afraid to mention to him that IoT is already the catchphrase of yesteryear. It's IoE now. Jan 31 22:23:14 use your phone hotspot :D Jan 31 22:23:15 <_genuser_> Internet of Everything. Jan 31 22:23:23 hahaha Jan 31 22:23:45 stupid ass catchphrase. Internet on/of everything is not efficient enough Jan 31 22:23:48 <_genuser_> basically cisco is pushign the new terminology. Jan 31 22:24:12 we need to do more local home server things, like how Raspberry Pi is used in some places Jan 31 22:24:19 <_genuser_> well the internet is already the internet of connected things. Jan 31 22:24:24 <_genuser_> connect more and you still have the internet. Jan 31 22:24:38 <_genuser_> how can it all of a sudden become the internet of things, whereas before it was what? internet of "only somethigns". Jan 31 22:24:44 haha Jan 31 22:24:52 <_genuser_> it's like REST. Jan 31 22:25:06 how come? Jan 31 22:25:07 <_genuser_> some guy did graduate thesis in 2000 describing how the internet worked then. Jan 31 22:25:20 aha Jan 31 22:25:22 <_genuser_> some doofus took it in late 2000s and marketed it heavily. Jan 31 22:25:40 <_genuser_> and now RESTful API is a thing. Damnit, it HAD to be restul because sessions weren't really as easy to manage. Jan 31 22:25:54 heh Jan 31 22:26:05 <_genuser_> so it was this stateless bastard child of somebody's understanding of how the internet worked. (a grad student). Jan 31 22:26:12 <_genuser_> and now damn professors are teaching from it. Jan 31 22:26:17 <_genuser_> talk about inbred hicks. Jan 31 22:26:21 When I was first learning to develop a rest API, I had to read all that shit 4 years ago Jan 31 22:26:39 it's still not stateless though Jan 31 22:26:52 i mean, the server is Jan 31 22:26:57 but hasn't that always been the case? Jan 31 22:27:02 <_genuser_> "The term representational state transfer was introduced and defined in 2000 by Roy Fielding in his doctoral dissertation" - https://en.wikipedia.org/wiki/Representational_state_transfer Jan 31 22:27:09 read the cookies from the client Jan 31 22:27:35 <_genuser_> well it wasn't as much stateful back in 2000. YOu gotta remember IIS sessions were a heavy thing on teh resources. Jan 31 22:27:56 oh okay, I've only done IIS in very limited capacity (shtml :D) Jan 31 22:27:58 <_genuser_> it would dedicate a thread per session, etc. etc. stateless was the way to go. With actually storing state in form vars, etc. or in URL as get params. Jan 31 22:28:25 <_genuser_> as the technology improved. some marketing guy didn't get the memo. Picked the term from 2000 and started (ab)using it. Jan 31 22:28:27 wow Jan 31 22:28:28 <_genuser_> and BAM! Jan 31 22:28:39 <_genuser_> now people are going backwards to make stateless api blah blah. Jan 31 22:29:16 <_genuser_> I think it's kinda nice and coincidental that it works out well with the mobile platform where you can even drop server connections and maintain session cookies or vars client side. Jan 31 22:29:45 <_genuser_> my favorite was from grad school. software architecture class. Jan 31 22:30:01 <_genuser_> "there are many architectures you can use". (strike #1). Jan 31 22:30:10 <_genuser_> "such as: client-server" Jan 31 22:30:17 <_genuser_> "object oriented" (strike #2). Jan 31 22:30:32 <_genuser_> object oriented what? that's not even a complete thought. Jan 31 22:30:45 <_genuser_> and this book was written by THREE!!!! PhD professors. Jan 31 22:31:39 <_genuser_> so teams made app servers. applet servers. Jan 31 22:31:52 <_genuser_> and the devs bending over backwards to make all those stateless Jan 31 22:32:20 <_genuser_> ok ok, joking session over. heh, back to android Jan 31 22:34:26 as it turns out Jan 31 22:34:45 a fucking button cannot, by itself, in an item layout, tell the parent its layout_gravity Jan 31 22:34:53 and that's why the damn thing wasn't cetered Jan 31 22:35:03 soon as I added a parent LinearLayout, it worked Jan 31 22:35:09 <_genuser_> heh, I never understood the layout_gravity vs. gravity. So each time I do layout, I look up the documentation. Jan 31 22:35:13 <_genuser_> and then fidget with it until it works. Jan 31 22:35:41 layout_gravity = gravity of this element in the parent, gravity = gravity of child elements Jan 31 22:35:57 <_genuser_> ah, I think I remember now. Jan 31 22:40:33 you need a phd to understand that Jan 31 22:40:35 * adq runs Jan 31 22:41:10 adq, WearableListView allows focusing on every item Jan 31 22:41:22 WearableRecyclerView, does it allow that somehow? Jan 31 22:41:30 it's like a traditionnal recyclerview Jan 31 22:41:34 :/ Jan 31 22:41:57 you cna look the decompiled code, there isn't much added to it Jan 31 22:42:19 if you are fluent with RV adapter & other related thingy, it should not be problem at all Jan 31 22:44:05 fucking finally Jan 31 22:44:07 it works Jan 31 22:44:09 not as well Jan 31 22:44:09 Afzal, http://imgur.com/a/Gr7kx despite this was for showing a bug (surfaceview became tansparent after a swipetodismiss being cancelled) you can see it in action Jan 31 22:44:12 but it fucking works Jan 31 22:44:15 phews Jan 31 22:44:44 adq setCenterEdgeItems for allowing focus to each element Jan 31 22:45:10 hmmm Jan 31 22:45:29 but setCenterEdgeItems is just for having a gap on top of the list to center the first item, and same at bottom for the last item Jan 31 22:45:35 it even shrinks yup Jan 31 22:45:38 pretty much Jan 31 22:45:40 not aware it has anything to do with focus, but maybe it does it for you Jan 31 22:45:54 it allows snapping to them in the middle Jan 31 22:45:58 with the snap helper Jan 31 22:45:58 it won't shrink (scale) if you don't use an offsethelper with scaling Jan 31 22:46:15 i'm also using it on square screen and i disabled that Jan 31 22:46:20 because it make no sense to follow the curved path Jan 31 22:46:24 and scale it at same time Jan 31 22:46:26 "The Internet of Everything (IoE) brings together people, process, data, and things..." Jan 31 22:46:28 yeah i'm using the offsethelper I got from the CurvedLayout guide :d Jan 31 22:46:39 yeah if you call super, it will probably do it automatically Jan 31 22:46:45 i strongly recommand again you look the decompiled code Jan 31 22:46:51 nah b Jan 31 22:46:51 in this part, there is a lot being done Jan 31 22:46:53 this is it Jan 31 22:46:57 but if it works, it's good Jan 31 22:46:58 this is good enough lol Jan 31 22:47:01 k Jan 31 22:47:09 thanks!! Jan 31 22:47:15 np i did nothing Jan 31 22:47:25 for suggesting the snapHelper and the OffsettingHelper Jan 31 22:47:32 (hint: you will have issue with centering on the screen with the flat tire ;)) Jan 31 22:47:44 it will be offset and does not behave like the app launcher Jan 31 22:47:50 they released something not quite exactly as what they did Jan 31 22:48:01 haha fuck the flat tire! :p Jan 31 22:48:10 yeah, it's something i don't understand Jan 31 22:48:19 it's like adding more fragmentation on purpose Jan 31 22:48:20 <_genuser_> get a phd , lol. Jan 31 22:48:30 chill man Jan 31 22:48:42 <_genuser_> thougth you were joking with me earlier about phd. Jan 31 22:48:56 i was but i disagree with your view Jan 31 22:49:13 i'm not on a quest about a word being coined by a student becoming some buzz/bullshit word Jan 31 22:49:20 it's not even his fault lol Jan 31 22:49:25 also nothing wrong with phd Jan 31 22:50:24 <_genuser_> nah, it wasn't the studnet's fault. I just like pundits taking something old when run out of stuff and peddling it as somethign new. Jan 31 22:50:50 <_genuser_> the student did his part, researched and formalized some part of the web process (but it was more applicable to those times). Jan 31 22:52:01 just to be clear, based on what you said to me earlier because you were frustrated that you cannot set up your own dev environment on your computer company (which, i feel you tho) was enough, i almost forgot Jan 31 22:52:51 <_genuser_> heh to clarify, I had just mentioned the error in here and someone chimed in with a helpful answer. I hadn't really spend any length of time on it to be frustrated yet. Jan 31 22:53:16 <_genuser_> but when I mentioned that you thought I was justifying it. And I snapped in response. Jan 31 22:53:20 <_genuser_> anyway bygones and all that. Jan 31 22:53:34 <_genuser_> I don't mind someone joking around now and then. Jan 31 22:53:41 "The Internet of Everything (IoE) brings together a zillion tiny wireless devices with software adaptable brains that find humans fascinating and love talking amongst themselves on the subject"... melatonina 😮 Jan 31 22:54:23 <_genuser_> capella: so nanoprobes.... Jan 31 22:54:42 <_genuser_> did the borg start as "internet of everything"? Jan 31 22:55:22 So sad. I hope they have a better discussion topic. It would be a big IRC channel where computer talks about humans, instead of the other way around Jan 31 22:55:33 Hi, I have question about Google play and dev app Jan 31 22:55:33 computers talk Jan 31 22:56:24 I converted site to Android app What permissions from site owner I need to be able to post legally on Google Play Store ? Jan 31 22:57:14 <_genuser_> guess that's more of a legal question. Do you have site owner's permission to wrap his site in your app and present it as your own? Jan 31 22:57:29 you need to have a proof that's the site owner allows you to make an app based on the content of the website Jan 31 22:57:34 <_genuser_> or is it sort of a "wrapper" that presents itself as a wrapper and might not be a concern. Jan 31 22:57:39 because scrapping was forbidden few years ago from the policy Jan 31 22:57:46 s/from/in/ Jan 31 22:58:08 <_genuser_> ah, there I didn't even know about scraping being forbidden. Jan 31 22:58:14 Yes, site owner wants app on Google Play Jan 31 22:58:41 They're not really fans of "website as app" in general Jan 31 22:58:44 whats recommended way to have free app with ads and pay app thats same but no ads? two different apps, or in-app purchase ? Jan 31 22:58:53 use in-app Jan 31 22:58:54 you make iot devices like that Futurama episode with the Banach-Tarski duplicator?? Jan 31 22:58:57 <_genuser_> so probably then include an about that says included with permission. Jan 31 22:59:03 this will avoid you to have to deal with 2 separate apps and packagename Jan 31 22:59:05 wait, that can't be right Jan 31 22:59:11 <_genuser_> but I agree with others, I dislike website wrapper in app solutions. Jan 31 22:59:34 They're a big source of _crap_ in the app store Jan 31 22:59:54 an enormous amount even Jan 31 23:00:21 hi, i am having problems with HAXM, i installed kvm and is running Jan 31 23:00:25 clone apps too, seem to grow faster than being taking down, tho they published some efforts are paying recently (but we cannot verify that) Jan 31 23:00:42 haxm is for win or osx Akuw, kvm for linux Jan 31 23:00:53 Yeah, but owner wants app and I only doing my job :) Jan 31 23:01:07 then it's ok MileM Jan 31 23:01:12 Well, HAXM is for Windows on Intel. Genymotion is for Windows with AMD Jan 31 23:01:19 in case you have a notice infrigement, you can have the owner backing you Jan 31 23:01:38 i understand in linux i have to use kvm Jan 31 23:01:48 genymotion is not only for windows nor amd Jan 31 23:01:53 it's just virtualbox under the hood Jan 31 23:01:54 kvm is installed, so what can i check to know what happen Jan 31 23:02:44 adq: Well, it's the "thing" for Windows/AMD because it does hardware accelleration on AMD Jan 31 23:03:52 Dagmar: what can i check to know what happen, i check all about kvm and is running ok Jan 31 23:04:07 Without it your options are basically unvarnished VirtualBox which is probably the crap-slowest form of virtualization available Jan 31 23:04:13 aww, there's no good way to recreate an android.app.Presentation Jan 31 23:04:22 Akuw: Are you on Linux? Jan 31 23:04:38 Ok, as I understand I only need to put in Description of app the site owner is agrees that the app uses the site? Jan 31 23:06:10 Akuw: Specifically, _what distro_ are you on? Jan 31 23:06:14 No, you’ll need proof if google asks Jan 31 23:06:31 ubuntu Jan 31 23:06:33 but, why don’t you give the app to the site owner, so they can upload it under their account Jan 31 23:07:04 What is proof? He don't want to buy License for posting app-s in Google Play Jan 31 23:07:20 Akuw: Okay then... This mostly tells you exactly what to do then. https://github.com/uw-it-aca/spacescout-android/wiki/1.-Setting-Up-Android-Studio-on-Ubuntu#install-intels-kvm-for-better-avd-performance Jan 31 23:07:50 I've no idea why they call it "Intel's KVM" on that page tho' Jan 31 23:08:02 Intel has almost nothing to do with it Jan 31 23:08:20 If your CPU supports virtualization extentions, KVm will just "figger it out" by itself Jan 31 23:10:17 s73v3r what kind of proof I need to get? Jan 31 23:10:28 honestly, I don’t know Jan 31 23:11:38 google won't ask for proof until someone issues a takedown request Jan 31 23:11:46 at which point, you can forward to the site owner Jan 31 23:11:48 Can I get banned if post app? I search all day for this proof and nothing... Jan 31 23:12:16 Ok, it means I can upload app to Google Play without problems Jan 31 23:24:29 Dagmar: The Emulator tab has disappeared from the Run Configurations. Jan 31 23:24:43 the guide you pasted talk about that Feb 01 00:19:12 Hey Melatonina! What was you were trying to accomplish with nativeshot yesterday? I can hopefully implement it in version 2 :) Feb 01 00:22:32 noida: Oh, I had a program that crashed and closed its windows before I could read the error message. The messages was visible for few seconds. I attempted to use nativeshot to take a screenshot of it but I could not. As far as I can tell the only way was using the 5 seconds delay but it was not practical for my purpose. I guess having a screen shot app in the browser is not the best thing unless you want to take browser screenshots. I needed a Feb 01 00:22:32 screenshot with hotkeys. I used something else. Feb 01 00:22:57 Ah Feb 01 00:23:21 What is your operating system? Feb 01 00:24:10 I have a global hotkey in there right now. On win/linux it is "Print screen" on mac it is Cmd + 3. But I agree I need to make it outside of the browser. Thats what version 2 is about. Using electron. And just use a small connector to take advatnge of the browser marketplace. Feb 01 00:24:56 Windows 10 Feb 01 00:25:09 For some reason "Print screen" was not working Feb 01 00:25:27 Oh cool me too! Ah possibly its a bug thanks for that test! I will look into it :) Feb 01 00:25:34 it should copy the screen shot in the clipboard anyway Feb 01 00:25:52 it should be a OS feature Feb 01 00:47:01 different ListView LinearLayouts in my custome BaseAdapter dont have same vertical spacing Feb 01 00:47:07 dunno why this TextView isnt veritcally centered Feb 01 00:47:21 its almost exact same layout except the right TextView is editable Feb 01 00:47:34 Welome to the wonderful world of "WTF Android" Feb 01 00:51:17 can i just use one layout with say mutually exclusive ImageView, TextView and Switch? where i only want to use one of the 3 at a time? the problem i have is even when unused programatically they shift the one that is used to left/right. so instead i try using 3 different layous that are the same other than the last item being either a TextView ImageView or Switch Feb 01 00:52:27 This sounds like a job for... THE VISIBILITY ATTRIBUTE Feb 01 00:53:10 cool ill try that thanks Feb 01 00:53:22 (MyThingie) thingie = view.findViewById(R.id.somethingy); followed by thingie.setVisibilty(GONE); makes it like the thingie was never there. .setVisibity(INVISIBLE) makes it actually invisible Feb 01 00:53:56 They mmight be View.GONE or something, but AS will auto-complete them correctly for you Feb 01 00:54:41 ...although if you're generating that programmatically you can just not addView to the container the one you don't need. Feb 01 01:47:22 til : "Cosun Groups" is a smartphone related thing : https://www.wsj.com/articles/a-default-in-china-spreads-anxiety-among-investors-1485513181 Feb 01 01:47:50 Is $ANDROID_SDK_ROOT supposed to be the same as $ANDROID_HOME (where the Sdk/ folder lives?) Feb 01 01:48:40 athan: Lemme guess... you just installed AS? Feb 01 01:50:07 You don't normally need to worry about setting anything like that... it's taken care of *ahem* when the relevant pieces are installed by the SDK manager. Feb 01 01:50:20 This doesn't always happen in the first go 'round. Feb 01 01:50:25 It's easy enough to fix tho Feb 01 01:52:53 Dagmar: Yeah :) I actually just set the variable as per my intuition and it "just worked"[tm] - a bundle error was thrown after deployment of the "app"(R), but it's still a good result. Thank you for your advice! Feb 01 01:53:37 You might want to poke around in the SDK manager and make sure you have the build tools, platform tools, and the SDK tools installed (they're the first three showing in the standalone SDK manager) Feb 01 01:53:49 It appears that various things can screw up and break one or more of those pieces downloading Feb 01 01:55:06 hrm, right on. Yeah I've got to dig a lot more into the android workflow. Can you suggest a guide or book or something that does a nice bird's-eye-view of the development process? Feb 01 01:55:33 Hrmm... Not off the top of my head, although they've got links to videos in the official docs Feb 01 01:55:55 right on :) Feb 01 01:56:04 * athan must... let... other people search for me :x Feb 01 01:56:10 I think I watched a couple of those and went straight to slidenerd videos on Youtube after that, but I've used a bunch of different languages and so forth in the past Feb 01 02:28:43 gahh, my custom views stopped rendering in the android studio layout editor. App runs fine but I can't preview any layout changes without actually running it. Feb 01 02:32:25 that lovely moment when realize you can increase the minSdkVersion Feb 01 02:42:44 I dunno what to do except try an earlier version of android studio, this is just killing my productivity. Feb 01 02:46:22 <_genuser_> so realtime messaging to apps on your phone, anybody done that? Feb 01 02:47:12 <_genuser_> like let's say something as realtime as SIP endpoint messaging. like if you're talking on hangouts/whatsapp voice chat. (the session messaging is all realtime or as close as possible). **** ENDING LOGGING AT Wed Feb 01 03:00:01 2017