**** BEGIN LOGGING AT Thu Apr 07 02:59:58 2016 Apr 07 03:23:59 god, I lvoe protify, experimenting is so damn fast Apr 07 03:28:44 mm looks good, nice video Apr 07 03:38:43 bankai_ not as good as this vid http://digg.com/video/heavy-metal-pina-colada-song Apr 07 03:38:47 :D Apr 07 03:39:28 i should be smarter than to click on something with the word "digg" in it Apr 07 03:39:59 g00s: awesome! Apr 07 03:40:23 bankai_ come on, you can trust me :) Apr 07 03:41:47 https://vid.me/TzEL meh, detection is all over the place Apr 07 03:43:32 g00s: epic! Apr 07 03:52:35 LOL. We are using wearable 1.0.0 at work Apr 07 03:52:46 current version is 8.4.0 Apr 07 03:55:04 oh yeah, forgot about wearables :P Apr 07 03:55:28 yeah i don't see why they bother Apr 07 04:09:28 nice waving pfn :] Apr 07 04:10:59 RustyShackleford, current v is wearable:1.3.0 Apr 07 04:11:11 8.4.0 is for play wearable services Apr 07 04:11:59 and you better stay on 8.3.0 until few weeks at least, because of typic mismatch issue with play services not up to date Apr 07 04:12:55 adq i have 8.7.0 Apr 07 04:13:03 wonder when they will announce it Apr 07 04:13:07 lol Apr 07 04:13:14 waiting for magnus to go crazy Apr 07 04:18:04 adq, it'd be better if the box actually matched the wave... Apr 07 04:19:10 looks like latency Apr 07 04:19:26 it's not, just too much noise and it's hard to detect skin Apr 07 04:19:35 I mean, there is some latency Apr 07 04:19:40 but that's not why it doesn't match up Apr 07 04:19:56 ahh some stuff should be detected as moving but are not? Apr 07 04:20:00 color issue? Apr 07 04:20:39 partially a failure of skin detection, and partially a failure of motion detection Apr 07 04:21:04 i thought it was because of the light above Apr 07 04:21:16 but i have no idea :p Apr 07 04:21:38 there's no good method for skin detection without a calibration step :-/ Apr 07 04:25:30 JakeWharton Butterknife is on the thoughtworks tech radar :P Apr 07 04:26:40 dagger and okhttp are also Apr 07 04:27:38 retrofit was on last year Apr 07 04:28:07 what a weird list Apr 07 05:15:28 Is there a reason why when using Kotlin+Dagger2+GoogleApis(GCM), the module providing the GCM items would not get its factories built? Apr 07 05:17:34 cannot resolve symbol "GoogleApiModule_ProvideAnalyticsTrackerFactory" is the error I get. There are no errors in the module from what I can tell Apr 07 05:18:04 just seems like it's skipping them but I can't figure out why Apr 07 05:24:21 does anyone have some examples of Custom Event Listeners? Apr 07 05:26:12 .. Apr 07 05:26:23 ... Apr 07 05:26:55 .... Apr 07 05:27:32 ..... Apr 07 05:34:59 ------ Apr 07 05:51:51 ................. Apr 07 06:00:54 the irony Apr 07 06:00:55 http://i.imgur.com/qQZB0XZ.png Apr 07 06:01:10 Microsoft VS Code Apr 07 06:15:50 How can I measure a item's width in onBindViewHolder of a recyclerView? Apr 07 06:15:57 I'm always getting 0 Apr 07 06:16:17 recyclerview items layout_width="match_parent" Apr 07 06:16:41 I just want to calculate each item's width in onBindViewHolder Apr 07 06:38:07 Hey guys Is there such thing as "slicing" in android? like on a number or string you have start:stop:step? Apr 07 06:40:02 Demon_Jester: java has arrays, and you can slice arrays... so, yes? Apr 07 06:40:22 ok I will look into it. Apr 07 06:47:54 I am getting this error - "A/OpenGLRenderer: Error: Ambient Vertex Buffer overflow!!! used 480, total 320". Not able to find a way to fix this Apr 07 06:48:09 Using circular reveal and fragments Apr 07 06:52:19 Demon_Jester: like in python? Apr 07 06:52:53 Demon_Jester: use the collection classes over arrays imo Apr 07 06:53:38 wyoung, yeah similar to python. I was looking at python syntax, and say int(num[6:],16) not sure what the 16 was meant to be. Apr 07 06:53:58 base 16 Apr 07 06:54:03 hexadecimal Apr 07 06:54:46 You can use python on android :) Apr 07 06:54:46 wyoung, oh so it slices it at range 6 and turns the rest from 6 onward to hexadecimal? Apr 07 06:55:04 Demon_Jester: no, it assumes 6 and onwards is already in hexadecimal Apr 07 06:55:17 wyoung, well I wanted to convert python script to android app. Apr 07 06:55:26 wyoung, just small project. Apr 07 06:55:34 Demon_Jester: just call it in Android using jython :) Apr 07 06:56:12 It will increase your app's size by about 3 - 5 Mb though Apr 07 06:58:04 wyoung, I am stubborn, and rather not use jython though. :/ Apr 07 06:58:32 python <3 Apr 07 06:58:49 wyoung, but anyways, int(num[6:], 16) does it mean that it converts the first 6 in hexadecimal? Apr 07 06:59:08 wyoung, I mean I use python myself, I am working on auto torrent downloader with schedule. Apr 07 06:59:10 Demon_Jester: no, it expects the first 6 to be in hexadecimal already Apr 07 06:59:21 torrents :\ Apr 07 06:59:26 wyoung, I thought you said the last 6 earlier? Apr 07 06:59:42 wyoung, or does it do the last of it in hexadecimal? Apr 07 06:59:45 Demon_Jester: no, 6 and onwards Apr 07 07:00:10 myoung, oh ok. Apr 07 07:00:22 wyoung, oops Apr 07 07:00:42 Demon_Jester: try it and see :) --> >>> int('0123456789ABCDEF'[6:], 16) Apr 07 07:00:44 444691369455 Apr 07 07:01:23 wyoung, its odd that you are doing it in 0-9,A-F Apr 07 07:01:35 that's a valid hex number :) Apr 07 07:01:49 wyoung, do'h Apr 07 07:02:05 >>> '0123456789ABCDEF'[6:] Apr 07 07:02:05 '6789ABCDEF' Apr 07 07:02:09 wyoung, mybad.. I usually don't mess with hexadecimals. so this is still new to me. Apr 07 07:03:38 >>> '{0:x}'.format(int('0123456789ABCDEF'[6:], 16)).upper() == '0123456789ABCDEF'[6:] Apr 07 07:03:41 True Apr 07 07:46:27 Hi all, does somebody know how you can make an Activity transition like this one? https://material-design.storage.googleapis.com/publish/material_v_4/material_ext_publish/0Bzhp5Z4wHba3RXRFb0tRZEZDUUU/animation_meaninfultransitions_considerations_do.webm Apr 07 07:55:31 tinyurl or gtfo Apr 07 08:03:33 FrancescoV: http://developer.android.com/training/material/animations.html Apr 07 08:04:35 https://www.google.com/design/spec/animation/meaningful-transitions.html# Apr 07 08:04:42 Ping_2_Ur_Pong: Thanks for the link, but I'm looking for a pre lollipop solution Apr 07 08:05:53 you're going to need to write a custom animation then. Start at looking at ObjectAnimator Apr 07 08:06:24 oh wait activity transition... hmm.. Apr 07 08:07:20 Animator Apr 07 08:26:15 anyone awake? Apr 07 08:27:29 everyone Apr 07 08:28:10 gordon_: care to look at something and tell me if you think it is looks decent? Its not done, but I need another set of eyes. Apr 07 08:28:21 sure Apr 07 08:28:34 if it's not too big :D Apr 07 08:29:00 http://imgur.com/nRorpPV Apr 07 08:29:34 I know I need to fix a butt load of stuff with the graph, its not even 10% done, but straight gutteral opinion, look ok? Apr 07 08:30:30 Ping_2_Ur_Pong: what did you use for the graph? Apr 07 08:30:45 surfaceview and canvas Apr 07 08:32:03 cool Apr 07 08:32:06 why, it bad? I kind of dislike that the lines change so harshly instead of smoothly. Apr 07 08:32:38 I can fix that later though. Apr 07 08:32:38 not at all, I was wondering if you rolled your own, or used a library that's all Apr 07 08:32:44 my own Apr 07 08:33:02 * Ping_2_Ur_Pong has been in linear algebra hell for the last day. Apr 07 08:34:04 looks great, well done. I would loose the black though on the cards Apr 07 08:34:11 any thoughts, ugly... bad spacing, should change color scheme? Honestly I need to present the final to a company as a pitch to work on their product so it has to look great. Apr 07 08:34:29 Yea I have been thinking about that, but I need another color. Apr 07 08:35:00 The outside rim is black and changes based upon the weather of the day so I thought black would be decent as a intermediary. Apr 07 08:36:07 come on internet don't fail me. Throw stones! Apr 07 08:38:52 I think the colour changing outside may be a bit gimmicky Apr 07 08:39:15 in my experience, people like clean and simple Apr 07 08:39:33 you already have around 6 colours Apr 07 08:39:44 that is probably 3 too many Apr 07 08:39:49 hmm... That's very true Apr 07 08:39:58 * Ping_2_Ur_Pong nods and goes for simplicity Apr 07 08:40:08 Material says 2-3 colours Apr 07 08:41:16 * Ping_2_Ur_Pong nods. I just hate the idea of having the high and low temp the same color and I love my baby blue. Apr 07 08:41:41 Hmm... Apr 07 08:42:17 I think this looks cleaner Apr 07 08:42:18 http://imgur.com/YOOMMwO Apr 07 08:42:37 and maybe bring the graph down to sit above the cards Apr 07 08:42:51 and loose the black Apr 07 08:43:16 yea that space between them is like wtf is that for. Apr 07 08:43:47 hmm... Apr 07 08:44:29 * Ping_2_Ur_Pong looks at Palette Apr 07 08:45:27 Have you seen this http://www.materialpalette.com/ Apr 07 08:46:08 no, I am loving it though, tyvm Apr 07 08:46:48 omg that is so awesome Apr 07 08:46:57 no probs, when you select the two colours, use the palette it gives you for everything, fonts, backgrounds, the lot Apr 07 08:47:23 that way you will create consistency throughout the app Apr 07 08:49:28 * Ping_2_Ur_Pong bows profusely that was just bookmarked Apr 07 08:53:28 piothat should be nice Apr 07 08:53:39 I'd get more material colors Apr 07 08:53:54 there are interesting generators for that Apr 07 08:54:13 ah the_fog has send you one Apr 07 08:54:16 so I'm off Apr 07 08:54:31 piothat??? Apr 07 09:56:23 hey guys, correct me if i'm wrong. I've been playing around with ContentObserver for quite some time. Now that I looked at Reactive, im just wondering, is the concept similar to what ContentObserver does? Apr 07 10:15:20 Hi there. Apr 07 10:17:01 I am scratching my head over perserving programatically created buttons within activity. When I go back to fragment and then back to activity where I earlier created buttons programatically,.. buttons are gone. I assume I should save those buttons somehow when ditching activity and going back? Apr 07 10:17:42 What would be the best way to save programatically created buttons? Apr 07 10:22:43 frojnd: savedInstanceState? Apr 07 10:27:25 the_fog: Can you give me an example of how can I save button? Apr 07 10:30:03 the_fog: mean I know how to save an integer.. don't know how to save a button Apr 07 10:31:18 anyone familiar with facebook sdk 4 ? no idea why my app retrun null accesstoken after calling AccessToken.getCurrentAccessToken() Apr 07 10:33:45 morning guys!, time to deal with "software" made by "software" "arquitects" Apr 07 10:39:16 hi. i'm trying to make a collapsable app bar on api 19. Here my xml: http://pastebin.com/wgDKA82E i want the TabLayout to stay fixed at the top. The problem is that the appbar doesn't collapse Apr 07 11:05:43 Is it normal that rendering of italic text in textviews is broken? Apr 07 11:06:07 Like, a text like "jjjjjjj" in italic cuts off part of the first j Apr 07 11:06:38 do you have padding? Apr 07 11:06:39 justJanne: it's probably an issue with the padding Apr 07 11:07:02 either use clipPadding false or remove the paddin Apr 07 11:07:20 ^^^ Apr 07 11:07:41 pooosh poosh? Apr 07 11:07:48 logcat: ? Apr 07 11:07:59 nevermind, I've mistaken you for someone else Apr 07 11:08:12 that's ok, we can still be friends Apr 07 11:08:17 :) Apr 07 11:10:06 logcat: but shouldn't the textview just move all of the text a bit to the right instead? Apr 07 11:10:48 no, that's not how it works Apr 07 11:11:20 meaning, you need enough sp space Apr 07 11:11:53 sp (text) means that the parts that are out of the centre space are clipped Apr 07 11:12:16 https://www.google.com/design/spec/layout/units-measurements.html#units-measurements-scaleable-pixels-sp- Apr 07 11:14:17 justJanne: maybe android:includeFontPadding related ? Apr 07 11:14:57 I'll look into that, thanks. The page doesn't load on dialup anyway Apr 07 11:29:07 i've the reciclerview greyed out in my preview. Is it normal? Apr 07 11:30:17 LucaS05: i think it's because there is no information to show Apr 07 11:30:24 is it enabled? Apr 07 11:30:39 what do you mean enabled? Apr 07 11:31:01 If there is anyone here who can give me some direction as to how to go about embedding USB sound in an app. ie drivers in the app. Please do. Apr 07 11:31:20 I see Lolipop has it built in natively. Apr 07 11:31:34 But I would like my app to take control over as many aspects of the usb sound as possible. Apr 07 11:31:49 ( and would like it to work on some earlier devices also ) Apr 07 11:40:02 Its so quiet now. I hope its not something I said... ;) Apr 07 11:41:10 NeoFrontier: well, that's not really possible. Apr 07 11:41:22 Most of that requires either root or complicated hacks. Apr 07 11:41:35 Android's USB handling isn't very great. Apr 07 11:42:20 There is an USB audio recording app on google play. I have tested it, works fine @ justJanne Apr 07 11:42:56 Hmm, reverse engineer them to understand how they do it? Apr 07 11:43:06 Afaik, you can't control most of the USB stack. Apr 07 11:43:35 The app did not even ask for root permission. Apr 07 11:44:08 and yeah i've already looked at the apk of that app, its using some native libraries. Apr 07 11:44:11 of course. Apr 07 11:50:48 Can I get back press events in a background service which is not bound with any activity? Apr 07 11:53:15 arunl: you cannot Apr 07 11:53:27 by definition a service has no connection with user interfaces Apr 07 11:54:09 I wouldn't like an app to be able to intercept any back button events either Apr 07 11:54:40 if you absolutely want to do that from your own app just delegate it to somewhere Apr 07 11:55:21 Maurits-: every activity has onBackPressed Apr 07 11:55:27 If I'm using a window overlay with a background service, I'm getting touch events. However, I want to listen to back press button event. Is it not possible? Apr 07 11:55:40 Hi, can I change my developer options from command-line (using root if required)? Apr 07 11:55:47 thepoosh: I have come across a few apps, which does this Apr 07 11:56:00 arunl: if you are catching touch events, one of them is back Apr 07 11:56:17 just look at the ducumentation for KeyCode Apr 07 11:56:22 or is it KeyEvent Apr 07 11:58:07 Hmm, I'll take a look. Thanks Apr 07 12:12:41 do i need to reload screen programamtically if i change language change option Apr 07 12:13:57 astroduck: you can take a look at https://android.googlesource.com/platform/system/core/+/master/rootdir/init.usb.rc properties can be toggled with setprop Apr 07 12:16:30 makeSceneTransitionAnimation glitching like hell with surfaceview Apr 07 12:16:36 ^ https://vid.me/cmaT Apr 07 12:34:45 hi guy, someone know change width barChart on MpAndroidChart library with multiDataset Apr 07 12:45:08 What's the best approach to make ListView expand to all available space? Apr 07 12:45:49 aatish910: how do you mean Apr 07 12:47:28 thepoosh, I have a listview with exactly 7 items. Only half of the screen is occupied. Apr 07 12:47:45 What exactly does the log message "AndroidRuntime START com.android.internal.os.ZygoteInit" imply? I keep seeing this message in the logs even though the phone is not rebooted Apr 07 12:48:26 barq: zygote is the process that creates all android processes Apr 07 12:48:39 aatish910: that sounds like you shouldn't be using a listview Apr 07 12:49:00 I thought so, but why is it started at random times? Apr 07 12:49:29 thepoosh, I thought of that but each of those 7 items contain 3 textviews i.e. 21 different IDs Apr 07 12:49:42 thepoosh, Wouldn't that be tedious? Apr 07 12:50:43 aatish910: why not PreferencesFragment Apr 07 12:50:46 ? Apr 07 12:50:50 with a custom layout Apr 07 12:52:05 thepoosh, that sounds like overkill Apr 07 12:57:12 I have some imageview placed out in a layout. I would like to have a click event on them to bring them up in fullscreen, covering everything else behind. Should I simply create a new Imageview with the same drawable and make it fill the screen? Or is there a smarter way? Apr 07 12:57:56 aatish910, if it is 7 items Apr 07 12:58:02 logcat: Or use this? https://github.com/android/platform_packages_apps_settings/blob/master/src/com/android/settings/DevelopmentSettings.java Apr 07 12:58:11 it isn't overkill, thepoosh solution sounds good Apr 07 13:00:53 astroduck: sorta, you will need to do what this line does https://github.com/android/platform_packages_apps_settings/blob/master/src/com/android/settings/DevelopmentSettings.java#L1890 , Apr 07 13:07:39 Anyone any ideas when we can expect the bottom navigation getting added to the SDK? Apr 07 13:07:50 bottom navigation? Apr 07 13:08:00 https://www.google.com/design/spec/components/bottom-navigation.html# Apr 07 13:08:35 They announced this but have not released any components Apr 07 13:09:21 There are some 3rd party libraries with varying ways to implement, but it would be nice to have the official spec Apr 07 13:19:13 Hi. Should I request focus for STREAM_NOTIFICATION to play a melody which lasts 2 seconds? Apr 07 13:45:31 Can I take a poll Apr 07 13:45:55 Who agrees that code quality directly translates into quality of the final product Apr 07 13:47:08 Never! Apr 07 13:47:57 What Apr 07 13:49:45 Too vague of a question to answer Apr 07 13:49:48 huh, whats code quality? :) Either it works or not^^ Apr 07 13:50:41 great products have a shitty code base Apr 07 13:50:52 Idk just got an email from some marketer guy saying "Writing quality code will make you broke" Apr 07 13:52:14 drose379, I'm going to be earning a fortune soon then! Apr 07 13:52:40 By writing shitty code? Apr 07 13:52:47 :P Apr 07 13:53:06 this guy is bugging the crap out of me Apr 07 13:53:34 but writing shitty code doesn't give you great products :) Apr 07 13:55:55 Agreed Apr 07 13:56:11 Writing sloppy code can get results faster, but maintenance will be hell. Apr 07 13:56:53 All in all, do clients care about code quality Apr 07 13:57:12 Id say yes, because clients care about product quality, and product quality is directly related to code quality Apr 07 13:58:25 Hi all. How does android studio manage jni/ndk libraries? I've built a native library, and put it in app/jniLibs/armeabi. The APK produced, however, has libraries for other architectures as well. I didn't build these. Where does it get them from? Apr 07 13:59:34 should i install both android studio and stand alone sdk tools inorder to start development. http://developer.android.com/sdk/installing/index.html Apr 07 14:01:28 Just android studio ninja82 Apr 07 14:03:20 thank you Apr 07 14:04:48 fullstop, um, it just grabs whatever is available in default paths Apr 07 14:04:51 i am targetting android 4. will it be a problem if i install android studio. Apr 07 14:05:25 Mavrik: I highly doubt that those libraries are anywhere else on my system, but I'll look. Apr 07 14:06:46 Hi. Anyone have experience in using .setFlags(FLAG_SECURE, FLAG_SECURE); to prevent apps showing their content on the overview screen? It doesn't seem to work on galaxy s6 (5.1.1). Does anyone have another approach for hiding app content from the overview screen? Apr 07 14:06:57 also can i update android sdk to 7.0 if i install android studio Apr 07 14:07:21 hi. i'm trying to make a collapsable app bar on api 19. Here my xml: http://pastebin.com/wgDKA82E i want the TabLayout to stay fixed at the top. The problem is that the appbar doesn't collapse Apr 07 14:15:19 ... busy in android-dev today ;) Apr 07 14:20:33 LucaS05 what api version are your targeting and what version of the support library have you imported? Apr 07 14:24:34 LucaS05 what api version are your targeting and what version of the support library have you imported? Apr 07 14:25:13 richa_: this is my gradle: http://pastebin.com/xjTEuaQ0 Apr 07 14:27:45 i've targetSdkVersion 22 in it Apr 07 14:31:59 I can't really offer you a solution i'm afraid, the layout 'pin' I guess is preventing gestures on the appbar Apr 07 14:34:41 richa_: ok. are there any problems in the gradle file? Apr 07 14:35:49 I was able to use it to get the rendering engine to draw your layout for me Apr 07 14:36:19 but as I dont have any content for it I can't really offer a solution (there's no reason for it to expand, for me) Apr 07 14:36:50 just thinking outside the box, but cant you apply a gravity tag to the parent container instead of a 'pin'? that may allow collapsing Apr 07 14:37:05 That may not be exactly what you are looking for though Apr 07 14:43:16 Hi. Apr 07 14:43:38 somebody help me? Apr 07 14:43:40 richa_: i will test that Apr 07 14:44:47 Orishi: have you tried turning it off and on again? Apr 07 14:44:58 Leeds: classic fix Apr 07 14:46:01 my problem is whit this code: http://pastebin.com/rJJf4a0u Apr 07 14:46:50 I get the id of the class but i want get the value in position indicated Apr 07 14:47:27 richa_: i need a collapsing one because i need to insert text into the appbar, so it is initially tall and then it collapse on scroll Apr 07 14:48:33 Orishi, what is the "value" at the position? If the class that's inside it does not override .toString() to return a string bespoke to that class, then you will only ever get the instance ID Apr 07 14:48:58 all objects inherit the method .toString()... does not mean that all objects are capable of been strings Apr 07 14:50:47 richa_:ok, but how do I get the value? , Sorry I'm just learning programming Apr 07 14:51:28 do you know what type of object is in the collection? Apr 07 14:52:06 Orishi, need more context Apr 07 14:52:06 is an String Apr 07 14:52:31 why are you doing toString on a string ? Apr 07 14:52:47 ... a redundant operation Apr 07 14:54:00 try String item = (String) adapter.getItemAtPosition(position); instead, the fact it is a generic type list(?) may have some cause Apr 07 14:54:23 this code to create adapter: http://pastebin.com/Twu9PqZk Apr 07 14:55:48 If you get a CastException then it is not Strings that are inside the list Apr 07 14:56:26 richa_: when try String item = (String) the app stop Apr 07 14:57:51 Did you get a Casting Exception? Apr 07 14:58:30 yes, ava.lang.ClassCastException: android.database.sqlite.SQLiteCursor cannot be cast to java.lang.String Apr 07 15:00:13 so, your list consists of SQLiteCursors, not Strings Apr 07 15:01:22 A SQLiteCursor is like a handle/pointer to a sql query returned data set... quite far from a "String" Apr 07 15:01:30 I suggest you read up on using SQLite in Android apps Apr 07 15:01:34 ok, then as I get the value of the cursor Apr 07 15:01:53 The cursor could contain many values across many rows Apr 07 15:03:17 then the search on google ist 'how to get value from SQLie Cursor' ?? Apr 07 15:03:41 yes, that would answer your specific problem Apr 07 15:03:49 but I suggest reading more on SQLite in Android as a whole Apr 07 15:04:03 Thank you, I apologize for my bad English; Apr 07 15:04:16 its okay :) Good look with programming in the future! Apr 07 15:04:23 *luck... Apr 07 15:13:08 Hi Apr 07 15:13:42 Is there a way that I can only make my APP available in a certain state Apr 07 15:14:07 Using licensing or another method Apr 07 15:14:44 no Apr 07 15:14:56 Darn Apr 07 15:15:16 the android store only permits restrictions based on country Apr 07 15:15:33 if you were feeling devlish (and a little bored) you could code a location wall into your app ;) Apr 07 15:15:49 Ok Apr 07 15:15:59 (but the serious answer is, no) Apr 07 15:16:03 So that when GPS returns 0,0 people won't be able to use the app even in the correct state? Apr 07 15:16:12 It's dumb, don't do geoblocking. Apr 07 15:16:17 Agreed Apr 07 15:16:44 Ok cause my app is for an emergency system we are building in utah Apr 07 15:17:34 People downloading an app instead of dialing 911....? Apr 07 15:18:01 I will explain our system Apr 07 15:18:12 It is not for 911 Apr 07 15:18:21 sure, its pretty quiet in here right now anyway Apr 07 15:21:28 Q: is there a programatic way to access the history of installed apps? Apr 07 15:21:48 stabilo: I see you made it ;) Apr 07 15:22:34 hi there is any professional support anywhere? Apr 07 15:24:13 how our system is going to work is we have amateur radio's set up with Geophones and the Geophones will get Buried in the ground along the Wasatch fault and when an earthquake is detected the Geophones will transmit the seismic data over the Amateur Radio Network down to the master amateur radio that is in my room and then that will get sent through a Packet Radio over Bluetooth to my server and then from my server will get Apr 07 15:26:28 xan_IT, What kind of support are you looking for? I hear victoria's secret is quite supportive. Apr 07 15:27:16 truckcrash: XD Apr 07 15:27:34 truckcrash need info about https://developer.android.com/reference/android/telephony/TelephonyManager.html#hasCarrierPrivileges() Apr 07 15:27:45 im emply of a carrier Apr 07 15:27:48 employ Apr 07 15:28:31 Ask your actual question, If anyone knows the answer, or knows where you can go to find the answer, they will hopefully reply to you Apr 07 15:29:14 So that's how the system works Apr 07 15:29:33 richa_ Apr 07 15:30:10 truckcrash i think is very restricted question. very hard Apr 07 15:30:29 jvwjgames excellent, sounds like quite an interesting problem Apr 07 15:30:30 the Three Stooges would make better teammates than some of these people Apr 07 15:30:44 nothing like doing the same tedious task for the 4th time Apr 07 15:31:06 xan_IT, Maybe people will not know the answer to your question, but if you don't ask it, they certainly will not know the answer. Apr 07 15:31:09 in carrier app i use open mobile API with success but i cant use new API from 5.1. i receive false from hasCarrierPrivileges Apr 07 15:31:12 had some resources uploaded to our dev servers, poof they're gone Apr 07 15:32:09 And the alert signal is just my server connecting to GCM and sending out the push notification Apr 07 15:32:31 truckcrash i use this irc room a lot and always receive answer. thx to all. but this time i think the only solution is a provessional help from google Apr 07 15:32:43 i work for a carrier Apr 07 15:32:54 sometimes, when I look at company's app, it makes me sick Apr 07 15:33:16 it's said to not rewrite app Apr 07 15:33:21 but in this case... I'm not sure Apr 07 15:34:02 somehow our finished product works okay. No idea how lol Apr 07 15:34:13 xan_IT, ok, sounds good. Apr 07 15:35:46 google doesent have a professional help? i need to talk to someone that know that argument Apr 07 15:37:32 could always pop along to the next dev summit or IO ;) Apr 07 15:37:53 yeah, I could build a hello world + appcompat project with maven which actually runs on the phone Apr 07 15:38:05 if I wanted to convert hex to a plain integer at a certain point to the end of my hex string, would this be right? character.digit(hexstr.charAt(6), 16)? Apr 07 15:41:48 Does anyone have any ideas on how to stop apps showing content on the overview screen for platforms which dont support FLAG_SECURE window params correctly? (Looks at you, galaxy S6!) Apr 07 15:45:00 hi there, I cant find simulator image for 5.0.1 in my Android SDK manager. Does it exist at all? Apr 07 15:45:23 The tester is prevented from taking a screenshot, as expected from the FLAG_SECURE window falgs, but the app content is still displayed in the overview screen Apr 07 15:45:34 it's a samsung but Apr 07 15:45:34 The internet has very little help on this Apr 07 15:45:35 nag them Apr 07 15:45:37 s/but/bug Apr 07 15:47:11 it's been a while since I was that busy Apr 07 15:50:53 Goodbye, thanks!!! Apr 07 15:53:09 Quit Apr 07 15:55:13 How many of you use anti-virus software on your dev machine Apr 07 15:55:35 lol, anti-virus software is itself a virus Apr 07 15:56:02 na i disagree, just bloated and a memory hog Apr 07 15:56:05 not malicious Apr 07 15:56:27 yeah, I'm jk, all you need really is an adblock and a scanner when you get paranoid like malwarebytes Apr 07 15:57:35 and don't be downloading pdfs from russian websites + reading them in adobe reader :D Apr 07 15:57:54 out of curiosity g00s...why? Apr 07 15:58:00 g00s: * Apr 07 15:58:09 PDF has a large attack surface Apr 07 15:58:17 Adobe products suck at security Apr 07 15:58:26 russians can hack your ssn through pdf files confirmed Apr 07 15:58:55 I'm more concerned about malicious code that can infect directly from the browser. I rarely download anything I dont know the source of. Apr 07 15:59:20 orbyt_ disable auto pdf rendering in your browser too :D Apr 07 15:59:38 g00s: Not really talking about pdf's either lol Apr 07 15:59:59 'malicious code that can infect directly from browser' Apr 07 16:00:33 was that a question? Apr 07 16:04:44 so, apparently the google playstore api does not offer any programmatic access to the history of installed apps. is that correct? Apr 07 16:06:25 what google playstore api? Apr 07 16:07:44 Hello guys :) Apr 07 16:08:26 Hello :) Apr 07 16:09:09 I would like to allow users to draw numbers on the screen, any libraries I could use to do text recognition ? Apr 07 16:11:20 Leeds: i meant play services Apr 07 16:11:21 .. Apr 07 16:14:31 waiting for Work Services Apr 07 16:15:05 hey Apr 07 16:15:20 playing with scene transition anim -__-" Apr 07 16:15:26 it's full of hacks Apr 07 16:16:44 anyone knows a "trick" to keep the fading edge effect of a horizontalscrollview, even when scrolled at beginning or end? Apr 07 16:18:55 not that i'm aware off, except putting a gradient on top of the view and disabling fading edge Apr 07 16:19:57 yeah, probably will have to do it manually Apr 07 16:21:05 adq you might like this https://news.ycombinator.com/item?id=11445902 Apr 07 16:21:20 but gradient is a good keyword to get started, thanks^^ Apr 07 16:22:04 you can use a custom shape drawable with a linear gradient inside for that Toubsi, idk how they do the fading edge Apr 07 16:22:12 but i think in both case you end up with overdraw anyway Apr 07 16:22:39 tldr g00s :p Apr 07 16:22:47 g00s, https://vid.me/QPDu chaos.. Apr 07 16:23:09 adq actually that was the tl;dr of Jeff Raskin's book lol Apr 07 16:23:10 (and i disabled surfaceview temporarily, because... it goes nuts with surfaceview) Apr 07 16:23:21 g00s, ohh i opened the medium link Apr 07 16:26:01 yes will do that instead, thanks adq Apr 07 16:26:59 If I have a listView with an adapter, and I need a List for that adapter should the Repository I implement return an UnmodifiableList? Apr 07 16:27:10 because for my flashlight it looks akwward if it is only on one side sometimes^^ Apr 07 16:36:33 i have a very annoying problem where i start a notification with an action to start an activity and as soon as i call notify, the activity is started! why!? Apr 07 16:38:13 Anyone have a bulletproof way of interacting with SQLite and a listView? I want to make sure when something new is added, it gets inserted into the DB first, and then it get's updated on my listView Apr 07 16:39:35 support lib 23.3.0 Apr 07 16:40:13 .0 = new goodies and brokenness :D Apr 07 16:40:25 best attitude NA Apr 07 16:40:47 i am sure you guys know the answer, i just need your good will :) Apr 07 16:40:56 eghdk: erm.. insert into the sqlite database and have the listview use a cursor? Apr 07 16:41:11 cursor based adapter Apr 07 16:43:24 wonder if night mode actually works now Apr 07 16:44:10 g00s: was it broken then? i never bothered trying it out Apr 07 16:44:33 eghdk: ContentProvider and ContentObserver? Apr 07 16:45:03 Napalm yeah, setting the mode didn't cause the configuration change to pick up the new theme under -night qualifier Apr 07 16:45:36 so once it was set in the app (like from Application.onCreate()) you had to kill the app for changes to take effect Apr 07 16:45:37 you had to call Activity#recreate if i remember correctly Apr 07 16:45:58 right, but changing it to night or day manually had no effect Apr 07 16:46:03 ah Apr 07 16:46:19 setDefaultNightMode() needs to cause a configuration change Apr 07 16:47:10 and the BottomSheetDialogFragment was fuckered too, if you rotate the device it would show up with a new displacement off the bottom. maybe that was fixed Apr 07 16:47:25 and BottomSheet.setState() didn't really work well either Apr 07 16:47:32 BottomSheetBehavior rather Apr 07 16:47:39 g00s, kill? recreate() problem solved Apr 07 16:47:48 pfn you don't understand the problem Apr 07 16:47:59 recreate didn't solve it Apr 07 16:48:21 anywho chris said he would fix it Apr 07 16:48:26 * pfn shrugs Apr 07 16:56:02 Napalm: I'm trying to use the repository pattern so that my code is testable. Apr 07 16:57:28 eghdk were you reading https://medium.com/@krzychukosobudzki/repository-design-pattern-bc490b256006 Apr 07 16:59:38 Hey guys, creating 9-patch png wth an online tool, but for some reason whenever I drag the png files into my project it wont compile, anyone know why? Apr 07 17:00:45 drose379: why dont you use the tool that comes with the sdk? Apr 07 17:00:51 Where can I find it Apr 07 17:01:21 drose379: draw9patch in the tools dir Apr 07 17:02:31 i get really inconsistent behaviour Apr 07 17:02:35 with notificaiton contentintent Apr 07 17:04:17 Napalm: ok I have the .9.png files, can I just drag these right into the respective drawable folders? Apr 07 17:04:26 yes Apr 07 17:04:35 Hi Apr 07 17:04:37 Cool, thanks Apr 07 17:05:15 I keep on get errors when my server keeps on trying to send notifications to GCM Apr 07 17:05:27 Napalm we could have written that 1.4million dollar TSA app and be taking vacation somehwhere ... Apr 07 17:05:33 They never arrive to my phone Apr 07 17:05:39 whats this? Apr 07 17:05:52 that app that shows arrow to right or left for security Apr 07 17:06:04 srsly? Apr 07 17:06:12 Napalm: Error:Execution failed for task ':app:mergeDebugResources'. Apr 07 17:06:13 > Crunching Cruncher idee_logo_white_1.9.png failed, see logs Apr 07 17:06:42 drose379: your off your shrinkResources Apr 07 17:06:44 Napalm http://www.geek.com/apps/tsa-paid-1-4-million-for-randomizer-app-that-chooses-left-or-right-1651337/ Apr 07 17:06:46 ithink thats the one Apr 07 17:06:53 in your gradle script Apr 07 17:07:14 What one Apr 07 17:08:33 android support revision 29.0.0 out Apr 07 17:09:24 adq they have to catch up to chrome version numbers ! Apr 07 17:09:33 no clue, i would like a changelog Apr 07 17:09:47 g00s: thats nutso Apr 07 17:09:59 Hello everyone, i am trying to use ActivityRecognition.API but it’s giving me serious issue, Is there any other way i can track if a user is still or moving in Android? Apr 07 17:10:25 g00s, already discussed this tsa thingy on another channel, the app is 350k iirc, if you think about tempering protection and audit Apr 07 17:10:31 spykins: issues like what? you cant get it to work? Apr 07 17:10:34 + cost of licenses, cert etc, it might make sense Apr 07 17:10:49 it's not a app to generate random for choosing a color Apr 07 17:10:59 (however i'm not a fan of TSA at all, but i'm not a US citizen) Apr 07 17:11:23 i'm waiting for donald trump to say he could do it with $10 Apr 07 17:11:28 these articles are just biased from the core to the title Apr 07 17:11:46 i just plucked the first one from google search Apr 07 17:12:25 does it run on ipad or android lol? :) Apr 07 17:12:29 Napalm: It doesn’t work on every device Apr 07 17:13:20 Napalm: It stops in OnConnected and doesn’t call the service Apr 07 17:13:43 adq: lol… I think it runs on windows phone too Apr 07 17:13:49 AS 2.0 stable is out Apr 07 17:13:54 Android Studio 2.0: Now available as a *stable* release. Instant Run, faster builds, new emulator, and much m... Apr 07 17:14:08 ---> *stable* Apr 07 17:14:33 http://android-developers.blogspot.fr/2016/04/android-studio-2-0.html Apr 07 17:15:11 can i check if already set a specific alarm before setting it? Apr 07 17:16:19 android studio 2.0 is out Apr 07 17:16:21 ah Apr 07 17:16:24 i was late Apr 07 17:16:55 wonder if instnat run works now ;) Apr 07 17:17:26 whoandroid 2 Apr 07 17:17:29 *whooooo Apr 07 17:17:34 FINALLY Apr 07 17:19:10 g00s: they updated the support library docs https://developer.android.com/tools/support-library/index.html Apr 07 17:19:35 Napalm cool thx, i'll update this reddit link Apr 07 17:19:38 ahh some changelog Apr 07 17:21:59 interesting, just bug fixes (thats ok). wonder why it isn't 23.2.2 though Apr 07 17:23:58 new API Apr 07 17:24:04 not breaking, but new Apr 07 17:24:09 Added AppLaunchChecker Apr 07 17:24:47 "Fragment.onRequestPermissionsResult() is now delivered to child fragments." \o/ Apr 07 17:25:30 gonna try if the bottomsheet fixes work Apr 07 17:27:28 adq i dont see 201826 or 202396 Apr 07 17:27:35 Say I am binding a View, with butterknife, and I want to also bind a view inside of that view I just bound, is there a way to do that? Apr 07 17:28:01 Oh, I can call bind on the container view objecet Apr 07 17:28:14 as view you mean what ? a java class or layout you're including ? Apr 07 17:28:23 Layout, but I think I've got it Apr 07 17:28:35 just do it regular way Apr 07 17:28:36 should work Apr 07 17:28:44 Thats what I think im doing Apr 07 17:29:45 confirmed bottomsheet fixed with fitsystemwindow and peekheight Apr 07 17:33:51 I have a nexus 6, where when my app gets installed on it, a string with the name "App Restrictions" gets set in the shared preference file. This doesn't happen on any other phones i've tried with. Does anyone know where this comes from ? Apr 07 17:35:02 adq yeah .setState() worked Apr 07 17:35:19 no need to use post anymore? Apr 07 17:35:33 no need Apr 07 17:35:45 thx, cool Apr 07 17:36:03 it worked for me anyhow :D Apr 07 17:38:02 so with AS 2, i guess you're supposed to use gradle-plugin 2 - but i don't see that in maven central Apr 07 17:38:16 maybe i should wait a day for these things to settle Apr 07 17:38:55 ah indeed, no need post, just tried it Apr 07 17:41:12 hum they did not remove this log in fragmentmanager: FragmentManager: moveToState: Fragment state for [...] not updated inline; expected state 3 found 2 Apr 07 17:41:21 still there as Log.w Apr 07 17:48:14 ah gradle plugin is 2.0 on jcenter Apr 07 17:48:23 i guess i should probably switch Apr 07 17:49:08 Hello Apr 07 17:49:14 g00s: seriously? you were still using mavenCentral? Apr 07 17:49:22 lol Apr 07 17:49:25 With NDK, I'm using 2 libs : my principal one, and one from my engine. When I install the application on my phone, no problem Apr 07 17:49:39 but on the emulator, I have a lib missing (my engine .so) Apr 07 17:49:47 whats wrong with maven central? ;) Apr 07 17:50:01 How can I add my lib to ndk Apr 07 17:50:33 yeah g00s, just bookmark this url: https://jcenter.bintray.com/com/android/tools/build/gradle/ Apr 07 17:50:38 and check from time to time to see gradle v Apr 07 17:51:21 Gaulois94, did you compile your lib for the ABI (arch) of your emulator, probably x86? Apr 07 17:51:43 the emulator is an armeabi v7 Apr 07 17:51:56 do the compilation for armeabi alone works ? Apr 07 17:51:58 ok well, same Apr 07 17:52:41 i'm using this chain most of the times arm64-v8a armeabi-v7a x86 x86_64 Apr 07 17:52:57 it takes too much time to compile for all platforms x) Apr 07 17:53:12 yeah just exclude the one you don't test Apr 07 17:53:15 Maybe I'm doing wrong with my Android.mk Apr 07 17:53:35 maybe you should give us an error message or something Apr 07 17:53:39 I have only add my library with -l $path the the so$ Apr 07 17:53:55 Sorry,the error : Caused by: java.lang.UnsatisfiedLinkError: Cannot load library: link_image[1936]: 36 could not load needed library 'libengine.so' for 'libtactics.so' (load_library[1091]: Library 'libengine.so' not found) Apr 07 17:53:58 (from logcat) Apr 07 17:54:21 And my Android.mk : http://sprunge.us/SdWi Apr 07 17:54:38 i assume you verify the apk embed the .so since you said on the phone no pb Apr 07 17:55:07 Napalm but the build-tools are still RC in the sdk manager Apr 07 17:55:12 adq: i expect he's missing the abi for the emulator Apr 07 17:55:33 well i gave him the chain Apr 07 17:55:38 cause i have no clue Apr 07 17:55:39 g00s: what? Apr 07 17:55:54 How can I verify it embeded it well ? Apr 07 17:56:18 arch command can probably tell you something Apr 07 17:56:24 Napalm i still have RC for android sdk built-tools and platorm-tools Apr 07 17:56:45 but you should know for which arch you are compiling which lib, check the logs Apr 07 17:56:54 g00s: erm.. no idea what your talking about Apr 07 17:57:07 Gaulois94: open the apk in any zip app Apr 07 17:57:07 Napalm in the sdk manager Apr 07 17:57:08 or your application.mk is you'r using one (the APP_ABI var) Apr 07 17:57:23 g00s: yes Apr 07 17:57:26 even `file' can tell you which arch are embedded iirc Apr 07 17:57:30 Napalm are we waiting for stable built-tools for gradle plugin 2.0 ? Apr 07 17:57:45 do i need to install RC for gradle plugin 2.0 ? Apr 07 17:58:58 thanks Napalm Apr 07 17:59:02 g00s: i dunno, not tried AS 2.0 yet.. not even RC.. important project on atm and didnt want it all to break and go to hell. but my sdk-tools went to 25.1.1 todaym, others are plat-tools 23.1 and build-tools 23.0.3 Apr 07 17:59:47 It is embeded. I'm compiling for another target Apr 07 17:59:51 i'm on canary g00s, i don't see anymore the point of staying on stable since few months, in case of problem i can always switch to the stable on the side Apr 07 17:59:56 (maybe armeabi isn't compitable with armeabi-v7a) Apr 07 18:01:02 Hello everyone, I need help with ActivityRecognition. I don’t know if I a, using well. It calls onConnected but it doesnot call the service.. http://ideone.com/83zq3J Apr 07 18:01:33 Gaulois94, what does cat /proc/cpuinfo reports as architecture in your emu? Apr 07 18:01:41 Same error... The lib is in the directory 'libs/armeabi-v7a' of my apk Apr 07 18:01:46 and compare with the output of `file' against your .so Apr 07 18:01:56 woo AS2 is out :D Apr 07 18:02:16 yeah but i don't have avd running maybe it's running arm v8 Apr 07 18:02:27 Processor : ARMv7 Processor rev 0 (v7l) Apr 07 18:02:41 CPU architecture: 7 Apr 07 18:03:18 then i have no idea especially if it runs on a phone as you said Apr 07 18:03:23 another avd bug :)) Apr 07 18:03:29 maybe ^^ Apr 07 18:03:37 Well time to eat, see you ^^ Apr 07 18:05:25 yes, build tools is rc Apr 07 18:07:41 have anyone used javamail to send a gmail? Apr 07 18:17:16 Another thing, My apks (one for the code, the other for the resources / assets) do 1 MO. I have 600 MO left on my phone and I can't install it Apr 07 18:17:21 Do you have a clue ? Apr 07 18:18:09 hey guys, i'm trying to make a collapsable AppBar. Here is my code: http://pastebin.com/x0EJWeLp but it doesn't collapse Apr 07 18:18:20 What's wrong? Apr 07 18:18:25 Gaulois94: same reason, it wont install unless you have a compatible abi Apr 07 18:19:12 Napalm: sorry, the error was insuficient storage space Apr 07 18:19:47 Gaulois94: its probably related. check logcat to make sure Apr 07 18:32:52 Well, I'm trying to use the option 'prebuilt shared libraries' but I have some undefined reference (which I don't have with -l options). Here is the Android.mk : http://sprunge.us/UORA Apr 07 18:32:57 Any idea ? Apr 07 18:40:50 For some reason I have a RelativeLayout with a wrap_content for height and width (line 8) and it's occupying the same dimensions as its parent, despite the views in it being a fixed size... https://bpaste.net/show/a2e64449b235 Apr 07 18:43:52 this isn't standard behavior, right? Apr 07 18:43:56 eemgr, it's probably because of android:layout_alignParentBottom="true" Apr 07 18:43:56 which pull the whole stuff to the bottom Apr 07 18:44:09 how else can i place it in the bottom right? Apr 07 18:47:36 can't point AS 2 to standalone SDK install Apr 07 18:47:43 location box is disabled Apr 07 18:49:46 'Please specify SDK location' with disabled controls, classic google Apr 07 18:50:12 Hi all Apr 07 18:50:15 :) Apr 07 18:52:37 I'm working on some android library code, and am stuck with some makefile problems. I'm hoping someone here can help. In Android.mk, I have a library (BUILD_SHARED_LIBRARY) with LOCAL_MODULE := usb1.0. There is a second shared library that needs to reference the first one, but I get the error "cannot find -lusb1.0.so". Is there a way to print the paths it is searching in for that library? Apr 07 18:52:47 Has anyone try the new android studio 2.0? Apr 07 18:52:52 no Apr 07 18:53:03 TomAtTanvas, first of all, get rid of dots and numbers in the name. Apr 07 18:53:07 g00s: Yes, I have read that. Apr 07 18:53:33 pfn,It just came out today:) Apr 07 18:54:20 Mavrik: Done. Same error, but LOCAL_MODULE is now usbprebuilt, and I changed the reference in the second library. Now I get the error "cannot find -lusbprebuilt.so" Apr 07 18:54:36 ok, now do you include the Android.mk files in proper order on top level? Apr 07 18:54:38 But it never shows how to go about using that list and adding to not only the database, but adding to the list. Apr 07 18:54:45 Also you can use V=1 to get verbose output Apr 07 18:55:02 Is it best practice to insert a predefined myDB.db into /raw/ folder and then just read and edit from there ?? Apr 07 18:56:15 sponge-tmp, that's not gonna work, because it'll get packed into APK (which is a ZIP file) Apr 07 18:56:20 so you won't be able to just write to it Apr 07 18:56:29 You'll have to copy it out to files and then open it there. Apr 07 18:57:50 Mavrik: Ok, it seems we're making some progress now. It seems that TARGET_ARCH_ABI is an empty string and is messing with my paths. That should be a defined variable, yes? Apr 07 18:58:09 hmmm, yeah it should Apr 07 18:58:45 Mavrik: ok thanks. Apr 07 19:00:42 How to make sure, that data is only inserted once, when the app initially starts ? Apr 07 19:00:50 inserted into sql db* Apr 07 19:00:56 Um. Apr 07 19:01:01 Check if it's already there? :P Apr 07 19:01:46 like this?: if database exists, dont insert data, else, create db and insert data ? Apr 07 19:02:54 Mavrik: Ok, using NDK-build seems to be much more successful, I'm actually trying to compile this within the aosp tree (so not using ndk-build directly), but at least it seems to be somewhat compiling now. Seems the linux headers are not available in ndk-build Apr 07 19:04:36 offtopic: are dell latitude laptops good? Apr 07 19:05:31 Mavrik: From what I can determine, linux/uinput.h should be a valid header in NDK builds, but its not being found. Is there a directory that needs to be explicitly set, or are my makefiles messed up somehow? Apr 07 19:08:32 TomAtTanvas, uinput.h certanly isn't part of standard NDK includes Apr 07 19:08:36 so you'll have to set include path. Apr 07 19:11:16 kk. Thanks. I am actually not really building an app, this is part of a kernel module I'm building, but getting this built with ndk-build is a start at least. Apr 07 19:14:50 Finally I installed it ! Apr 07 19:15:09 Well now do you know why ndk-gdb won't work for avd ? (it uses to work on devices) Apr 07 19:16:48 The error : http://sprunge.us/PIfE Apr 07 19:22:39 shit, i guess we're back to build starting up a bunch of jvms again Apr 07 19:24:47 5 running jvms Apr 07 19:27:29 Hello Apr 07 19:33:15 hey guys, i'm trying to make a collapsable AppBar. Here is my code: http://pastebin.com/x0EJWeLp but it doesn't collapse Apr 07 19:33:21 What's wrong? Apr 07 19:36:08 I have an Espresso test where I'm calling perform(click()) and no button registers a click, but Espresso doesn't fail to find or perform the click. Apr 07 19:36:34 Perhaps racing with handler assignment? Apr 07 19:39:30 hi all I'm trying to modernize a fork of QuickBible, created my own fork on github. I want to move the app's download location from the general memory location returned from "getExternalStorageDirectory" to the newer and better (from what I've read) app-specific "getFilesDir()". As far as I understand, the latter function is in Context, while the former in Environment. My problem is, I get an error message "cannot reference non-sta Apr 07 19:39:31 If I read the documentation correctly, this means I have to somehow getApplicationContext().getFilesDir(). However, that method is not resolvable here, for reasons I do not understand. Could anyone point me in the right direction? The line I want to change is line 11 of this one: https://github.com/arnotixe/androidbible/blob/develop/Alkitab/src/main/java/yuku/alkitab/base/util/AddonManager.java Apr 07 19:42:03 arnotixe, java basics, getApplicationContext() is a method on context Apr 07 19:43:04 pfn: thanks. However, even if I put "import android.content.Context;" up there, it still says it's static? Apr 07 19:43:54 more java basics, importing doesn't mean you get the method Apr 07 19:44:05 theres no context there.. Apr 07 19:44:05 it's an instance method on Context, thus you must have an instance of a Context Apr 07 19:44:46 Would I need to pass the application's Context to the getYesPath() as a parameter, changing the definition to getYesPath(Context appcontext) and make the call getYesPath(getApplicationContext()) ? Apr 07 19:45:27 yes Apr 07 19:46:28 pfn: oh. I will have to rewrite lots of code then, because the function is called from many places and other functions... Apr 07 19:46:49 Is there some other method of getting "my app's private data folder" in that function? Apr 07 19:51:26 So I have MainActivity, and my DBHelper. My main activity basically says "hey DBHelper, can you delete message with id of 4". DBHelper deletes it. So now... how do I tell my UI that it's been deleted? Should the DBHelper tell the Repository that it's been deleted, or should my repository be the one that calls my DBHelper.delete(int)? Apr 07 19:51:46 Stupid question, does avd support opengl es 2.0 ? Apr 07 19:56:17 I'm asking because I have this error : E/EGL_emulation( 1181): tid 1181: eglMakeCurrent(931): error 0x3009 (EGL_BAD_MATCH) Apr 07 19:56:26 Gaulois94, you can try Genimotion for that. If I recall correctly, two years ago avd didn't have support for 2.0. Apr 07 19:56:37 now, I don't know honestly. Apr 07 19:57:07 Okay Apr 07 19:57:20 Genymotion* sorry Apr 07 19:57:23 I'll try another version of android (API 23 vs 19 actually) Apr 07 19:57:30 Gaulois94, what was the solution for your arch/ABI problem? Apr 07 19:57:35 then go towards genymotion Apr 07 19:57:42 genymotion should support opengl2 Apr 07 19:57:48 adq: using System.loadlibrary in my src/Main.java Apr 07 19:57:56 I only used for libtactics.so Apr 07 19:58:07 but not for the others (on my phone didn't need them...) Apr 07 19:58:17 weird, nice to know Apr 07 19:58:44 Well, I need for my main lib Apr 07 19:58:54 but didn't know I need also for the prebuilts Apr 07 19:59:37 what does it mean when an API method has the annotation @hide in it’s Javadoc? Apr 07 19:59:40 And indeed, virtualbox supports opengl xd Apr 07 19:59:45 s73v3r, not a public api Apr 07 20:00:28 yet the method itself is declared public Apr 07 20:00:31 nice! I built an apk with appcompat via makefile! Apr 07 20:01:27 s73v3r, it's not a public api Apr 07 20:01:47 now I would need to know how to debug from the command-line if possible at all Apr 07 20:01:52 so @hide will prevent that method from being exported? Apr 07 20:02:15 now I can use emacs and a propper build system, instead of the crappy and slow ide Apr 07 20:02:20 s73v3r, for the framework to filter it out Apr 07 20:02:44 that explains why I can’t call it, I guess Apr 07 20:03:25 ugh, so they basically just dropped vectorDrawables unless you use app:srcCompat Apr 07 20:03:26 stuff that goes into android.jar gets @hide stripped out Apr 07 20:04:30 building with make is for suckers Apr 07 20:04:42 and you would use jdb from the commandline Apr 07 20:05:08 :D Apr 07 20:12:04 s73v3r: @hide is a very old concept for modules in java. Now replaced with jigsaw soon to better control module exports. Apr 07 20:12:21 But everything pfn says holds true for Java < 9 Apr 07 20:12:44 jigsaw is cool ... Apr 07 20:18:54 suckers? hehe Apr 07 20:20:58 so - now that we have to go back to regular PNGs for stuff like drawableLeft, how do i turn that back on again ? Apr 07 20:23:19 first thing I'll do is to try to remove every xml file, but the manifest, which it seems to me is required Apr 07 20:23:57 turn what on? the vector compat for those attributes? or you mean the rasterization Apr 07 20:24:06 rasterization Apr 07 20:24:11 rasterization, remove the attributes that stopped it Apr 07 20:24:13 * pfn shrugs Apr 07 20:24:21 wut Apr 07 20:24:41 I remember it being on by default Apr 07 20:24:42 * pfn shrugs Apr 07 20:24:44 google it Apr 07 20:25:00 at least I set mine up to be on by default Apr 07 20:25:17 and disable it with useSupportVectors or set minSdk > 21 Apr 07 20:25:30 already have minSdk=19 Apr 07 20:25:36 don't want to drop all vectors Apr 07 20:35:45 is there a possibility for in-app scripting/coding? say for example tap into some javascript engine at runtime, with some end-user written code? Apr 07 20:37:09 yes Apr 07 20:37:15 holy fucking shit http://thenextweb.com/dd/2016/04/07/google-facebook-uber-swift/ Apr 07 20:39:54 " Some low-level Android APIs are C++, which Swift can not currently bridge to. " orly, thought swift could do that Apr 07 20:39:57 s73v3r ^^^ Apr 07 20:41:18 then what google should do, is say "you have 1 year to rewrite your app in swift, or it gets removed from play' and bam, fresh start Apr 07 20:41:31 2 billion turds flushed down the toilet Apr 07 20:45:07 pfn: cool ok thanks Apr 07 20:46:25 "sources tell The Next Web that Google’s current mindset is that Kotlin is a bit too slow when compiling." Apr 07 20:46:50 Maybe, but you save so much time by not writing class after class after class after getter after setter Apr 07 20:47:17 My app rebuild in Kotlin was so much more enjoyable than the last rewrite in Java Apr 07 20:47:31 Pretty sure Google moving Android to using Swift would be a pretty bad PR move. Apr 07 20:48:12 Artichokeslam yeah but kotlin doesn't solve the problem companies have, using 1 code base for android, *ios*, and server side. Apr 07 20:48:27 that seems to be the impetus of Fbs interest fta Apr 07 20:49:16 otoh MS has been very open with c# stuff , wonder why that wasn't mentioned Apr 07 20:53:54 g00s Yeah, that makes sense. Thankfully, that's not a problem for me Apr 07 20:55:00 i've noticed in general, google seems to antagonize MS more than Apple, i guess thats one reason they wouldn't go c#. although they did use typescript in angular2 Apr 07 20:59:24 google has done what? Apr 07 20:59:26 no such thing Apr 07 21:00:50 lol Apr 07 21:01:06 That swift article :D Apr 07 21:01:28 I guess Go fortune telling has gone out of style. Apr 07 21:11:34 where to upload pictures to show here in irc ? Apr 07 21:11:41 screeonshots* Apr 07 21:11:58 some people use imgur etc Apr 07 21:12:47 canvs2321: ty Apr 07 21:13:02 there are probably others, that one i just remember name of Apr 07 21:15:05 Ok so I got this DialogFragment, which is using a custom xml. But on the screenshot, it does not fill the complete box. http://imgur.com/GczIvDC Apr 07 21:15:17 How to get rid of the outer box? Apr 07 21:15:41 is that the space for title? can you show your xml as well for that fragment Apr 07 21:15:53 sure mom Apr 07 21:15:57 ty son Apr 07 21:16:50 canvs2321: thx dad http://pastebin.com/P0hNBEu6 Apr 07 21:17:27 i am working on an android app that will receive a fixed-size byte array where each byte corrosponds to the x,y of where the pixel will be rendered and contains the hex of the color of the byte over the network and render it Apr 07 21:17:31 how should i render it? Apr 07 21:17:48 afaik a canvas isn't the best idea if im going to be updating 30 times a second Apr 07 21:18:20 sponge-tmp, what's in @drawable/button_shape does it have any top margin? Apr 07 21:19:09 canvs2321: http://pastebin.com/AMNRYYRv Apr 07 21:19:16 no margins Apr 07 21:19:22 that space up top just reminds me of AlertDialog having a title, i havent messed with DialogFragment to see it's workings Apr 07 21:20:20 are you loading your fragment into a container, or is it in your xml? Apr 07 21:20:46 mhh. ok could be, but still there is also space in the lower corners left and right (because of the corner radius) Apr 07 21:21:11 I have a class where I can register for events via an interface. When my activity stops I want to degregister from these events. What's the best way to do this? Apr 07 21:21:15 yeah, i figured you did that outline to see the space taken, so that isn't your doings? Apr 07 21:21:40 cantstanya: im doing View v = inflater.inflate(R.layout.dialog, container, false); so i guess i use a container ? Apr 07 21:22:50 also setting container to null brings the same results Apr 07 21:24:03 sponge-tmp, check this out http://stackoverflow.com/a/14747028 see if anything there helps Apr 07 21:24:49 there's also a setStyle no frame stuff etc...i haven't messed with DialogFragment, so i may be of no help Apr 07 21:28:25 canvs2321: ok I will check that out. gotta leave now. Thx for the help! Apr 07 21:28:41 np. gl Apr 07 21:46:29 Is there a library where you can have a labelled edit text? Apr 07 21:46:37 Labelled how? Apr 07 21:46:45 I just tried out a labelled spinner and I'm not sure if it's the best approach Apr 07 21:46:52 text view essentially right over it Apr 07 21:46:55 I'll show you a picture Apr 07 21:48:28 http://i.stack.imgur.com/0z4cl.png Apr 07 21:48:34 From and To in that picture Apr 07 21:48:44 They're the labels for the spinner Apr 07 21:50:36 Can't just make one? Apr 07 21:50:40 Seems fairly simple... Apr 07 21:51:15 Hey, I am on android studio 1.5.1, Why I cant upgrade to 2.0 internally? Apr 07 21:51:17 http://imgur.com/nK84OBU Apr 07 21:51:31 It's just trying to get it to look exactly the way it's supposed to, library would be quicker :) Apr 07 21:52:43 If you don't need to use a library then you really shouldn't Apr 07 21:52:53 It adds more code to your app that you can't manage Apr 07 21:53:03 ie. Fix if it goes wrong Apr 07 21:53:19 Good point, something which I didn't take into consideration Apr 07 21:53:49 markyosullivan: I don’t think those are edittexts Apr 07 21:53:51 It looks like it's just a linear layout with the textView above the editText, I think I've seen a material doc guide about laebls Apr 07 21:54:04 Yeah they're spinners but I'm wanting to try out an edit text instead Apr 07 21:54:17 editText which opens a Date Picker whenever I click on it Apr 07 21:54:29 why do that instead of doing the floating edit text thing that’s built in? Apr 07 21:54:33 oh Apr 07 21:54:55 It's because I want it consistently there, not just appearing whenever you click on the editText Apr 07 21:54:59 Do you want people to be able to type into it as well? Apr 07 21:55:09 i still don’t know if i would make it an edittext if you don’t want people to actually type in it Apr 07 21:55:09 No, just to open a DatePicker so they can select a date Apr 07 21:55:13 it's for my booking app Apr 07 21:55:19 Then tbh don't use an EditText Apr 07 21:55:29 How would they know to click it though? Apr 07 21:55:36 Just use a TextView and style it to look like one, it'll save you the effort of stopping people getting focus on it Apr 07 21:55:39 the downward arrow Apr 07 21:55:44 textview.onClick Apr 07 21:56:17 Is it easy enough to style it like a spinner Apr 07 21:56:18 ? Apr 07 21:56:29 drawable right as arrow down Apr 07 21:56:35 yup Apr 07 21:56:40 Ah Apr 07 21:56:44 Just use a drawable image Apr 07 21:56:47 i would be willing to bet that’s what they did in that screenshot you showed Apr 07 21:57:07 Okay, I tried out a labelled spinner earlier and I can only populate it with array values Apr 07 21:57:58 right. Apr 07 22:00:43 can someone please tell Apr 07 22:00:55 Hey, I am on android studio 1.5.1, Why I cant upgrade to 2.0 internally? Apr 07 22:00:55 http://imgur.com/nK84OBU Apr 07 22:01:00 markyosullivan, something like this Apr 07 22:01:01 http://pastebin.com/DjbWuv4Z Apr 07 22:01:29 LegendThinker, no idea mate, you tried checking the channel in settings? Apr 07 22:02:10 NoirAvlaa, didn't got you Apr 07 22:02:13 markyosullivan, that "mDob" should be another "textView" :P - I just altered some code I did previously Apr 07 22:02:16 Yeah that's what I think I need, it's more the design side of things I'm a bit unsure about, even in that picture I linked it looks like they're using spinners for it? Apr 07 22:02:34 but i'm sure whenever you click the spinner it'd open a date picker Apr 07 22:02:47 LegendThinker, in settings you can choose the download channel and check for an update in there, have a look there and see if it's correct Apr 07 22:03:03 The spinner? Apr 07 22:03:06 Like the arrow? Apr 07 22:03:21 No even just the arrow, there's a faint line underneath where the date would go Apr 07 22:03:25 *not even Apr 07 22:03:33 Oh, that's just styling though? Apr 07 22:03:44 It's easy to change that for a TextView? Apr 07 22:04:00 Yeah, it's just a view Apr 07 22:04:07 Create a custom drawable and set it to the background Apr 07 22:04:12 1 sec Apr 07 22:04:37 So the custom drawable would be the length which I desire and then I'd just set the background to whatever one I want? Apr 07 22:04:49 I've never done that before, seems a strange way of doing it Apr 07 22:05:01 Is there not a way to disable the focus from happening when you click the EditText? Apr 07 22:05:14 1 sec Apr 07 22:05:19 okay Apr 07 22:06:51 Ok Apr 07 22:06:52 So Apr 07 22:07:07 You define a custom drawable in res/drawable like so: Apr 07 22:07:07 http://pastebin.com/3wzCEiRa Apr 07 22:07:12 Then you set that to the background Apr 07 22:08:00 The top item with "colorBackground" is the colour of the line at the bottom Apr 07 22:08:16 The other is the colour for the rest of the view, so set that to the same as your background Apr 07 22:08:55 If you want it to change colour depending on focus then you make 2 files like that, then create a third drawable file which has a selector in and references them in "state="focused" etc Apr 07 22:10:41 sorry Apr 07 22:10:54 'state_focused="true"' Apr 07 22:11:14 I've never done that before, I find it quite strange and I just add a new XML resource to the drawable folder? Apr 07 22:11:21 Yeah Apr 07 22:11:45 So essentially in this file, you're creating a rectangle with no dimensions specified Apr 07 22:11:59 then whenever you add it to the layout, it'll fill the length you set it too? Apr 07 22:12:26 Here's (someone else's) example of this with a button instead of a textview, but the implementation is the same: Apr 07 22:12:27 http://stackoverflow.com/a/14024007/5973827 Apr 07 22:13:27 Thanks for helping out, I'm going to test that after I get this forget password feature working, wasn't expecting to find out how to do it so quickly! Apr 07 22:13:34 How do you adjust the size of the line? Apr 07 22:13:49 Like it'll be frustrating if it doesn't completely cover the text above it Apr 07 22:14:11 "android:bottom="1dp"" Apr 07 22:14:16 That's the size of the line Apr 07 22:14:34 Or do you mean the width? Apr 07 22:14:36 width :) Apr 07 22:14:48 That'd be more tricky Apr 07 22:14:50 sorry apologies for not wording that right Apr 07 22:14:59 That's what I was worried about Apr 07 22:15:08 This implementation so far would make the line as wide as the textview Apr 07 22:15:26 I think that should work Apr 07 22:15:32 dates will be the same length Apr 07 22:15:37 07-04-2016 Apr 07 22:15:42 08-04-2016 Apr 07 22:15:43 etc Apr 07 22:15:44 :) Apr 07 22:15:47 :) Apr 07 22:16:55 What about for animations, hows that work? Apr 07 22:17:04 It's something I've never tinkered with Apr 07 22:17:27 what^ Apr 07 22:17:52 I'd suggest finding a good resource with some tutorials to work through Apr 07 22:18:26 Animations are simple enough for simple effects, but working through some tutorials will get you to grips with them faster than one of us trying to explain over irc :p Apr 07 22:18:37 orbyt_ am I one of the only people to not do animations? Apr 07 22:19:07 of course not, but your question was just very broad Apr 07 22:19:17 That's true, I guess what I was wondering is if the animation files are contained within drawable folder as well Apr 07 22:19:26 the docs has a surpisingly good overview: http://developer.android.com/intl/es/guide/topics/graphics/prop-animation.html Apr 07 22:19:29 or something entirely different Apr 07 22:19:51 markyosullivan, nope, res/anim Apr 07 22:20:03 But yeah, refer to docs :) Apr 07 22:20:10 I'm going to have to mess about with it sometime I'm not busy Apr 07 22:20:23 it depends. You can define property animations in xml. Apr 07 22:20:29 and use res/animator Apr 07 22:20:31 it's not needed for the project I'm working on atm, just seen something cool earlier today on MaterialUp Apr 07 22:20:44 One of those fancy app intros Apr 07 22:21:31 orbyt_ / NoirAvlaa what have you guys done with animations? Anything cool/ Apr 07 22:22:08 Just fades and slide in/out mainly :p Apr 07 22:22:34 lots of stuff Apr 07 22:23:38 NoirAvlaa that's probably the sort of stuff i'd do with it. orbyt_ what would be the coolest thing you've animated? Apr 07 22:25:24 markyosullivan: coolest? i guess a 3d globe. most practical? Did some animations that mimicked Periscopes heart feature. Apr 07 22:27:19 that's pretty awesome orbyt_ Apr 07 22:27:31 knowing animation would definitely be useful Apr 07 22:27:41 as would Dagger 2, RxJava, MVP :( Apr 07 22:27:44 Some dau Apr 07 22:27:45 *day Apr 07 22:27:58 I'll get round to them eventually Apr 07 22:28:59 not as difficult as people make them out to be. pm me if you have any questions. Apr 07 22:31:31 Thanks! Apr 07 22:34:31 "If you need to restart your app after a crash, do not launch it from your target device. Restarting your app from your target device does not apply any of your code changes since the last cold swap or incremental build." Apr 07 22:35:05 that makes sense - i'll screw that up out of habit though Apr 07 22:38:16 What's that quoted from g00s? Apr 07 22:38:39 markyosullivan http://developer.android.com/tools/building/building-studio.html Apr 07 22:38:39 Has anyone noticed if AS 2.0's emulator is faster or slower than Genymotion? I've been using it the past while Apr 07 22:39:11 Instant run any good g00s? :) Apr 07 22:39:21 markyosullivan can't tell yet :D Apr 07 22:39:28 i haven't tried it Apr 07 22:40:51 I'm waiting for the debian package to be updated before trying AS 2.0 :) Apr 07 22:45:05 markyosullivan who is the deb maintainer ? Apr 07 22:50:50 there is a deb package of AS? Apr 07 22:55:50 only shows a single dl package for linux Apr 07 22:56:02 of AS that is Apr 07 22:56:47 g00s a guy called Paolo Rotolo Apr 07 22:57:00 not sure if I spelt his surname right Apr 07 22:57:20 nope, I did :) Apr 07 22:57:31 https://twitter.com/PaoloRotolo Apr 07 22:57:33 that guy Apr 07 22:57:35 markyosullivan: That sounds like a magnificent name Apr 07 22:57:46 I agree! Apr 07 23:06:10 Bit of an off topic question: anyone relocated for a job recently? Apr 07 23:06:38 Got an offer cross country and they emailed the offer letter, if I sign and return it is it "binding" in any way Apr 07 23:06:49 what country? Apr 07 23:06:52 us Apr 07 23:06:56 no Apr 07 23:07:15 no its not binding? Apr 07 23:07:20 admittedly, I’m not a lawyer, but I’m going to bet money that the letter states that it is “At-Will” employment Apr 07 23:07:24 orbyt_: nope, I live in the same place Apr 07 23:08:00 is an offer letter an employment contract? Apr 07 23:08:11 orbyt_: you get a moving allowence? Apr 07 23:08:12 Well, its on the other side of the country so want to protect myself just incase i move and something happens Apr 07 23:08:43 Leeds: I mean its an offer letter from the ceo Apr 07 23:08:58 ive already informally agreed to the position Apr 07 23:09:00 orbyt_: is an offer letter an employment contract? Apr 07 23:09:05 i have no idea Apr 07 23:09:23 well, is it a contract, or a letter stating intent, or what? Apr 07 23:10:41 Leeds: its an offer outlining the details of employment, relocating assistance, etc.. with a line for me to sign and return Apr 07 23:11:54 sounds a bit like a contract to me... Apr 07 23:13:09 orbyt_ . Does it outline any penalties should you now do what it states? Apr 07 23:13:46 well the only time it mentions the word contract is when it states that i can terminate at will Apr 07 23:13:53 letter of intent, but unlike pro athletes not binding Apr 07 23:13:58 Gryd3: not sure Apr 07 23:14:06 lol. you should be sure. Read it Apr 07 23:14:15 well i meant im not sure what your asking Apr 07 23:14:40 Oh... read the paper and see if there are any penalties if you terminate the contract, don't meet expectations, etc.. Apr 07 23:15:03 so at will Apr 07 23:15:51 Gryd3: no its at will Apr 07 23:15:54 also, if you're really bothered, find a friendly lawyer, buy her a drink (or a bottle of something nice) and get her to give you an off-the-record opinion Apr 07 23:15:57 Kind of hard to call it a contract if there is no penalty, reward, or leverage that can be used against either party should the contract be broken xD Apr 07 23:16:40 rather than asking online randoms, who haven't even seen the document Apr 07 23:16:42 Yeah... I don't know how many lawyers moon-light as Android Devs ;) Apr 07 23:16:46 Yea im not really worried, I just want to protect myself incase I spend the money to relocate and something weird happens Apr 07 23:16:56 Leeds: aww cmon, your not randoms =p Apr 07 23:17:09 orbyt_ . It does not sound like you have any protection though if it can be cancelled at will xD Apr 07 23:17:18 Yup, makes sense. Apr 07 23:17:27 It should be ' if you do this, then we do this ' Apr 07 23:17:29 that is one of the risks of relocation... it's pretty common around here for companies to claw back paid relocation expenses if someone quits in the first X period Apr 07 23:17:41 or ' if you don't do this, you loose this or we do this to you ' Apr 07 23:18:10 i'll just have to ask them if we can come up with some kind of agreement on "protection" Apr 07 23:18:12 otherwise it's a useless piece of paper Apr 07 23:18:22 alright thanks Apr 07 23:19:37 sup orbyt_ Apr 07 23:19:46 hiya Apr 07 23:19:53 Hows it goin Apr 07 23:20:22 good mate, thanks Apr 07 23:21:28 Good Apr 07 23:22:21 Anyone ever have a Java class miss the C icon? Apr 07 23:22:25 (in AS) Apr 07 23:22:43 I can't open it, really weird Apr 07 23:23:07 Restarted AS and it's back Apr 07 23:23:08 screenie? Apr 07 23:23:13 then nvm Apr 07 23:23:13 that is so odd Apr 07 23:23:28 I've never experienced that before lol Apr 07 23:24:38 I'm starting RxJava this weekend and want to introduce it in my application in the SearchActivity. Does anyone have any pointers with Rx? Thanks in advance. I'll be starting with Dan Lews Grokking Rx posts but let me know if theres anymore MUST watch/read things. Thanks Apr 07 23:26:42 congrats on the job orbyt_ btw :) Apr 07 23:27:05 Take it is as an Android dev? Apr 07 23:27:31 eghdk, good luck with it, it seems very useful and it's something I want to look at! Apr 07 23:41:38 markyosullivan: no iOS Apr 07 23:42:13 (͡ ͡° ͜ つ ͡͡°) Apr 07 23:42:18 orbyt_: Are they not giving a relocation bonus? Apr 07 23:42:22 or allowance? Apr 07 23:42:49 yea, basically I have a set limit and I can tally up my costs and ask for reimbursment Apr 07 23:43:03 but nothing upfront Apr 07 23:44:16 haha! Apr 07 23:44:33 Have you had many Android jobs before? Apr 07 23:44:55 Does anyone know the difference between a floating label and a dense floating label? Apr 07 23:44:56 https://www.google.com/design/spec/components/text-fields.html#text-fields-labels Apr 07 23:46:29 looks like a Dense floating label has less padding, so everything is closer together Apr 07 23:47:42 So it'd be when the editText isn't active? Apr 07 23:49:21 no, i think it’d be more for if you want to pack things in tighter Apr 07 23:53:23 seriously, the SDK is still 32-bit only? Apr 08 00:09:50 Thoughts on the update of android studio? Apr 08 00:12:49 Does this date picker look okay - https://scontent-lhr3-1.xx.fbcdn.net/hphotos-xfa1/v/t34.0-12/12957321_10154080649017288_963560907_n.png?oh=f9738b65cf0ef186b5868cbebc066faf&oe=57095DA0 Apr 08 00:13:10 It looks weird or something to me Apr 08 00:13:16 I like the new side navigation bar. Pretty damn convenient Apr 08 00:13:25 markyosullivan: tinyurl or gtfo Apr 08 00:13:32 markyosullivan looks out of place Apr 08 00:13:32 dude that things longer than my arm Apr 08 00:13:53 that and "free tables" & 8 not being lined up looks bad Apr 08 00:13:55 jug6ernaut, move it to the right? Apr 08 00:14:50 It's not lined up? I thought it was directly above the free tables Apr 08 00:15:11 markyosullivan i think its more that it is only taking up a portion of the width of the screen, where everything else tries to be symmetric Apr 08 00:15:14 for the date picker Apr 08 00:15:17 This is the other date picker (the library I used) https://scontent-lhr3-1.xx.fbcdn.net/hphotos-xfa1/v/t34.0-12/12957395_10154080649047288_812265200_n.png?oh=01ad0647ff1cbbd6330dc7ffeac28fcc&oe=57094782 Apr 08 00:15:38 markyosullivan its directly between free table, but not over the center of them both Apr 08 00:16:03 * Ping_2_Ur_Pong is either going to start /ignoring everyone that posts multi-line links or he is going to have to script out a tinyurl bot because this shit is friggin enfuriating. Apr 08 00:16:04 I thought it'd look better in between Free and Table? Apr 08 00:16:05 between free & table* Apr 08 00:16:26 I tried it dead in the middle and it looked out of place Apr 08 00:17:14 Ping_2_Ur_Pong, was showing people on Facebook from a screenie from my phone, was easier than uploading from my phone to Facebook, to TinyURL :\ Apr 08 00:17:22 Ping_2_Ur_Pong kinda feel bad for u tbh Apr 08 00:17:34 Well by people, I mean two guys on messenger lol Apr 08 00:17:48 weechat takes a shit on multi-line urls. Apr 08 00:18:05 markyosullivan i think the best option would not not have the date picker and the output (list) on the same screen Apr 08 00:18:15 select date, that then animates load to the list Apr 08 00:18:15 Really? Apr 08 00:18:24 with an edit button that then brings up the date picker Apr 08 00:18:49 but Apr 08 00:18:50 I was thinking about bringing up a date picker whenever you click on the textView Apr 08 00:18:52 * jug6ernaut is no designer Apr 08 00:19:10 but the thing was bugging me was the look of the text view, it just seems out of place Apr 08 00:19:18 but whenever I have Date on it's on, it looks fine Apr 08 00:19:24 well, not as bad for sure Apr 08 00:20:08 I wasn't sure how to incorporate a date picker into this screen, I need it so users can book on multiple dates not just the current date Apr 08 00:20:16 i also feel your wasting the action bar area Apr 08 00:20:22 with "app" lol Apr 08 00:20:31 lol placeholder name :) Apr 08 00:20:41 Wait, I can remove that Apr 08 00:21:17 How do you remove the text from the action bar? Apr 08 00:21:18 Anyone else have the Android Studio 2.0 update? The overview button the docker doesn't seem to be working for me. Anyone else experience something similiar? Apr 08 00:21:20 thats not what i meant Apr 08 00:21:43 Do you mean making use of quick buttons on the right hand side of the action bar? Apr 08 00:21:47 i mean u could use the action bar / extended action bar to handle date picking or just date when minimized Apr 08 00:22:06 Ping_2_Ur_Pong 2.1x Apr 08 00:22:09 I'm not sure if I follow Apr 08 00:22:16 Do you have an example? Apr 08 00:22:26 1 sec Apr 08 00:22:36 Do you mean making use of the menus you can create on the right hand side of the action bar? Apr 08 00:22:41 jug6ernaut: I missed what you mean Apr 08 00:23:14 im using android studios 2.1... Apr 08 00:23:48 markyosullivan https://crazyaboutandroid.files.wordpress.com/2015/05/ezgif-4141796323.gif Apr 08 00:24:01 where the expanded view allows you to edit date or launch date picker Apr 08 00:24:37 jug6ernaut: huh? 2.0 was just released today Apr 08 00:24:45 Ping_2_Ur_Pong yup Apr 08 00:24:52 2.1x is still in preview Apr 08 00:25:05 2.0x has been in preview/beta for months Apr 08 00:25:27 any cool new features in 2.1x? Apr 08 00:25:29 jug6ernaut so an option to select date would appear when you pull down the view? Apr 08 00:25:47 markyosullivan where that gif has a button on the left side, for you you could have a edit button on the right side that is only visible when expanded Apr 08 00:25:53 markyosullivan yeah Apr 08 00:26:03 Ping_2_Ur_Pong Jack & Jill Apr 08 00:26:16 though without annotation processor support its pretty much worthless for me Apr 08 00:26:48 finally got my work to accept AutoValue and now i cant use it for fear that jack/jill wont support annotation processors Apr 08 00:27:37 jug6ernaut, it's a cool idea, I just fear people wont be able to find it Apr 08 00:27:59 markyosullivan after loading the list always start with the tool bar expanded Apr 08 00:29:17 if you provided extra information in the expanded view they will be naturally moved to expanded it if the current list doesnt meet ether needs Apr 08 00:30:19 jug6ernaut: corporate place? Apr 08 00:30:34 RustyShackleford yeah Apr 08 00:30:36 my pitch for genymotion is not going well. The security team is super concerned about VirtualBox Apr 08 00:30:46 (but VMWare is fine of course) Apr 08 00:30:55 RustyShackleford with AS 2.0 no need for genymotion ;) Apr 08 00:31:03 is it that much better? Apr 08 00:31:16 I tried it a while back, i'll have to revisit. Launched today right? Apr 08 00:31:38 yeah Apr 08 00:31:41 & yes it is Apr 08 00:31:45 its all i use now Apr 08 00:31:59 i've been using the old stock emulator at work Apr 08 00:32:03 it is unbearable Apr 08 00:32:06 lol Apr 08 00:32:07 yeah Apr 08 00:32:09 f-that Apr 08 00:32:35 luckily AS is approved to be self updating at my work, so i always have the latest version Apr 08 00:32:44 tho i only use the current stable for prod stuff Apr 08 00:32:54 it takes like 3 months for them to package someting Apr 08 00:32:57 but the 2.x emulator has worked back to 1.5 Apr 08 00:33:12 we've been using the portable AS installation Apr 08 00:33:24 its better to apologize later than to ask for permission Apr 08 00:33:39 easier, anyway Apr 08 00:34:06 lol Apr 08 00:34:07 well Apr 08 00:34:13 im on osx, so its all portable lol Apr 08 00:34:22 very jealous Apr 08 00:34:39 we get a laptop thats appropriate for email, web browser, microsoft word Apr 08 00:34:58 :S Apr 08 00:35:11 18 minute full compiles. Tried on an iOS dev's laptop and its done in 4 Apr 08 00:35:22 damn Apr 08 00:35:25 they think they're saving money Apr 08 00:35:35 and how big is ur app? our is huge and its like ~1.30s Apr 08 00:35:44 35k methods Apr 08 00:36:00 thats like a base app with app compat lol Apr 08 00:36:14 I don't have a line count. We're about 75k methods including dependencies Apr 08 00:36:31 How do you find the method count? Apr 08 00:36:37 plugins Apr 08 00:36:40 RustyShackleford: don't you hit the dex count limit? Apr 08 00:36:47 Would that not slow down AS? Apr 08 00:36:52 markyosullivan no Apr 08 00:36:56 yes we're over the dex count Apr 08 00:36:56 it just reads your dex files Apr 08 00:36:59 markyosullivan: https://github.com/mihaip/dex-method-counts Apr 08 00:37:05 RustyShackleford we are way over that Apr 08 00:37:10 not sure on the count tho Apr 08 00:37:16 how many methods and what kind of app? Apr 08 00:37:18 also, I never thought about loading the toolbar expanded jug6ernaut :) Apr 08 00:37:35 :) Apr 08 00:37:36 I might stick with the labelled textView / EditText / Spinner Apr 08 00:37:45 Not got long left to work on this project Apr 08 00:37:49 Final year uni project -_- Apr 08 00:37:58 RustyShackleford not sure, and probably better for me not to say :) Apr 08 00:38:29 I can't believe that the Uni takes like a percentage of ownership if you sell your final year project Apr 08 00:38:43 most colleges have that clause Apr 08 00:38:52 It's pretty messed up, I've practically done this entire project without any input from the uni Apr 08 00:39:05 the advisor didn't give much advice Apr 08 00:39:20 fight it Apr 08 00:39:28 Knowing that clause makes me just want to open source it and let everyone use it Apr 08 00:39:50 * jug6ernaut does that with all of his stuff regardless these days Apr 08 00:39:54 really? Apr 08 00:40:15 I'd be tempted to try and see if there'd be restaurants interested in this kind of software Apr 08 00:40:15 yeah, but i havent worked on an app in a long time, just libraries Apr 08 00:40:37 You on GitHub? Apr 08 00:40:43 (silly q probably lol) Apr 08 00:40:57 ofc Apr 08 00:41:36 I wonder if I used a library of yours :D Apr 08 00:42:11 doubtful Apr 08 00:42:14 Send your profile over, I might find something useful which I could use in this project or a future one :) Apr 08 00:42:14 non are that popular lol Apr 08 00:42:28 One of mine got a lot of stars, I have no idea how Apr 08 00:42:35 github.com/ <- username Apr 08 00:42:38 Ah Apr 08 00:42:42 excellent :) Apr 08 00:43:51 Woah Apr 08 00:43:59 That debugdrawer looks awesome Apr 08 00:44:16 i like it lol Apr 08 00:45:08 Now there's tag shortcuts on top of the XML's...handy Apr 08 00:45:25 I'll keep an eye out for your work :) Apr 08 00:45:27 Onlogn ? Apr 08 00:45:39 anyway, thanks for the tips guys I'm off for a couple hours Apr 08 00:45:46 adios Apr 08 00:45:49 time to get some sleep Apr 08 00:45:53 jug6ernaut, with Android Studio 2.0, the XML's now have layout and view shortcuts on top Apr 08 00:47:43 dont follow lol Apr 08 00:50:04 You'll see if you load AS 2.0 and click on an XML and look at the top Apr 08 00:50:25 Onlogn ive been running it for months Apr 08 00:50:35 maybe im just used to it already Apr 08 00:50:56 tried 2.0 two months ago maybe Apr 08 00:50:58 it was buggy Apr 08 00:51:03 nice and smooth now? Apr 08 00:51:16 rock solid tbh Apr 08 00:51:43 It has been OK so far for me but I just started using it today Apr 08 01:17:29 If I have a view at the bottom and I want to animate it up from off the screen Apr 08 01:17:49 Should I set its bottom marign to -height and then animate its bottom attribute Apr 08 01:18:00 I guess I'll just try Apr 08 01:54:37 this guy looks happy "yeah, got my AS 2 and other goodies!" http://imgur.com/qPxr0bj Apr 08 01:55:14 lambs always look happy Apr 08 01:55:18 and goats are always crazy Apr 08 01:58:15 oh no i guess that one has bottle jaw Apr 08 01:58:17 :( Apr 08 02:16:13 Wow, AS is taking a while to index my app Apr 08 02:47:31 do you feel like the gradle daemon makes a difference? Apr 08 02:47:36 I don't really notice at all Apr 08 02:54:35 nopd Apr 08 02:54:49 gradle daemon saves a miniscule amount of startup time Apr 08 02:56:33 Am I wrong in not liking Gradle one bit? Apr 08 02:59:11 loke: better than eclipse Apr 08 02:59:32 RustyShackleford: Anything is better than Eclipse. Apr 08 02:59:35 Does anyone still use eclipse? Apr 08 02:59:38 is there a better alternative that gradle? **** ENDING LOGGING AT Fri Apr 08 02:59:58 2016