**** BEGIN LOGGING AT Sun Nov 15 02:59:58 2015 Nov 15 03:01:03 I just googled "best version control 2015" and one of the top results compares SVN, Git, and Mercurial. Nov 15 03:04:14 didn't include bitkeeper ? :D Nov 15 03:17:11 hello guys Nov 15 03:27:31 n00b question, so i apologize in advance Nov 15 03:28:07 is there a need for deep java knowledge to jump into android development? Nov 15 03:29:36 deep? no... some? definitely Nov 15 03:30:33 deep i meant more like real-world practice, as in theory java's oop is similar to other languages in it's basic concept Nov 15 03:31:53 i don't even know how to form the question ) Nov 15 03:31:58 is it hard? Nov 15 03:32:36 what you are asking is "do I need to know Java to write code in Java?" Nov 15 03:32:41 and the answer is "yes" Nov 15 03:33:50 yeah, i realize how stupid my questions must sound Nov 15 03:34:54 allright, considering java is not an issue, how much time +/- is needed so you can "get the hang of it" with android's sdk? Nov 15 03:40:35 n0r: The Java language is simple. Android development isn't so simple, though. It's hard to estimate how long it might take a person to get comfortable with. Nov 15 03:40:55 it^ Nov 15 03:51:00 does anyone have an easy to use example of detecting movement on a phone? every example i've tried doesn't work. i'm at the end of my rope here Nov 15 03:54:36 accelerometer and done Nov 15 03:57:58 i know to use the accelerometer but i can't find any examples that i can get working Nov 15 04:09:35 if you know how, why would you need examples Nov 15 04:13:19 Reading comprehension FTW. Nov 15 04:16:01 hi. are *all* the sources to v23 in $SDK/sources/android-23? e.g. can i build "android" from that dir alone? or should i be cloning the various repos 1 by 1, like github.com/android/platform_frameworks_base.git, ... Nov 15 04:19:33 maroloccio thats missing stuff, cant build from there Nov 15 04:20:38 those sources serve as (1) docs and (2) so you can debug into android code Nov 15 04:21:49 g00s_: thank you. that's how i have used them so far. "attach source" Nov 15 04:23:24 by the way.. (new question) i was looking for examples of proper use of SQLiteOpenHelper. where to look? i dug through $SDK/samples.. and the android studio importable projects.. anywhere else? Nov 15 04:24:12 ApiDemos has that, but you can also look at the iosched sources under provider/ i think Nov 15 04:25:19 yeah provider/ScheduleDatabase Nov 15 04:25:36 startResolutionForResult does this require UI ? Nov 15 04:25:58 can can resolution be done only programatically ? Nov 15 04:26:01 g00s_: the think that confuses me about ApiDemos is that they in samples/android-23/legacy/ApiDemos (legacy, makes me wonder whether they still represent best practices) Nov 15 04:27:20 maroloccio i remember back in 2010 discussing them, they weren't even best practice back then Nov 15 04:27:34 but for SqliteOpenHelper it should be clear Nov 15 04:28:00 what is best practice then, if is wasn't perfect in 2010 already Nov 15 04:28:28 maroloccio i just meant in general, not that class specifically Nov 15 04:28:58 whats best practice on android changes weekly like JS frameworks Nov 15 04:30:09 is best practice to use the openhelper? if so, which code illustrates how best to use it? (the whole managed cursor, etc. considering that it evolved over time as it was "start managing it" first, years ago.. then changed, then again) Nov 15 04:33:35 best practice is still to use openhelper Nov 15 04:38:52 This has to be one of the worst classes of all time: https://secure.php.net/manual/en/class.gender.php Nov 15 04:42:16 Reminds me of enum Boolean { TRUE, FALSE, FILE_NOT_FOUND } Nov 15 04:42:43 is_mostly_male ... lolwut Nov 15 04:42:48 haha Nov 15 04:43:34 I haven't read the Daily WTF in a long time. Nov 15 04:46:02 "Gender PHP extension is a port of the gender.c program originally written by Joerg Michael. The main purpose is to find out the gender of firstnames." Still so bad, though. Nov 15 04:49:17 so Snowden is advocating for ad blockers Nov 15 04:54:56 Does anyone have experience with HttpURLConnection API? Nov 15 04:55:06 I need some help with sending JSon data via the POST method Nov 15 04:55:39 here is the code https://paste.kde.org/pp31nkzem Nov 15 04:55:56 I am not able to connect to my localhost server Nov 15 04:56:58 I am using Genymotion Nov 15 04:58:09 New to android dev? Any recommended libraries for Local databases? on the phone Nov 15 04:58:29 gopar sqlite ? :) Nov 15 04:58:49 g00s_, ha yeah but are there any libraries that would sort of create an ORM? Nov 15 04:59:05 there are a few ORMs, i haven't use any though Nov 15 04:59:07 g00s_, or make life easier when dealing with DBs Nov 15 04:59:21 g00s_: can you look into my issue? Nov 15 04:59:44 candddyyymannnn i dont know much about HttpUrlConnection Nov 15 04:59:54 thanks Nov 15 05:00:20 g00s_: thanks for answering my questions earlier. Nov 15 05:00:27 yw Nov 15 05:01:07 TacticalJoke CedricBeust http://sdtimes.com/code-watch-the-best-programming-book-of-the-decade/ Nov 15 05:01:41 candddyyymannnn, isn't your HtppURLConnection supposed to call "connect()" or something? Nov 15 05:01:51 Interesting idea. Nov 15 05:03:44 gopar: i tried it with connect but it didn't work Nov 15 05:10:33 oh JakeWharton will like this https://store.digg.com/sales/brew-bar-soap-3-pack Nov 15 05:15:16 "program the same task in the manner of 33 different programming styles Nov 15 05:15:16 Read more: http://sdtimes.com/code-watch-the-best-programming-book-of-the-decade/#ixzz3rXBC91TN Nov 15 05:15:16 Follow us: @sdtimes on Twitter | sdtimes on Facebook"... uh Nov 15 05:15:34 darn it copy paste thieves Nov 15 05:15:37 scummy web site Nov 15 05:19:01 CedricBeust the reviews look good Nov 15 05:19:15 http://www.amazon.com/Exercises-Programming-Style-Cristina-Videira/dp/1482227371 Nov 15 05:19:20 What's copy-paste? I missed it. Nov 15 05:19:36 when you copy a phrase from website, and it pastes its URL and crap Nov 15 05:20:02 Oh. Nov 15 05:20:18 Yeah, I hate that stuff. Nov 15 05:22:05 iBooks does it on mac, and it's so, so awful when trying to get snippets for a book project >.> Nov 15 05:22:15 I don't need the full MLA citation, thanks very much Nov 15 06:27:58 I added some spinners to my app but sometimes when I select a spinner it jumps around on the page, it just scrolls way up. Is there anything I can do to stop this? Nov 15 06:28:37 sounds like you are doing something that results in a fling, maybe your touchscreen isn't good Nov 15 06:29:14 g00s_: well, that may be. But it only happens when I select an item from the spinner. Nov 15 06:30:23 speaking of spinners, what is the go to design choice when having users choose from a long list of predefined items? I have a submit activity where the user needs to specify a particular item with 25+ choices. Nov 15 06:30:24 What do you mean by "it jumps around on the page"? Nov 15 06:30:58 i was thinking either a spinner or a dialog with the options in abc order Nov 15 06:31:16 How about a ListView? Nov 15 06:31:32 inside the submit activity? Nov 15 06:31:51 TacticalJoke: So when I launch a specific activity, it automatically loads at the top of the page. I scroll down the page, and select a spinner (one out of about 5), after selecting one (almost instantly), I am brought back towards the top of the page. Nov 15 06:32:03 Then I have to scroll back down, select another, and then it does it again Nov 15 06:32:13 So you have Spinners within a ScrollView? Nov 15 06:32:17 Or a ListView or something. Nov 15 06:32:29 yes Nov 15 06:32:35 scrollview Nov 15 06:33:23 Hmm, I've heard people saying that Android doesn't handle scrolling Views in scrolling Views well. Nov 15 06:33:41 Though I've never really tried it. Nov 15 06:34:17 Well I can attest to that, then. Nov 15 06:34:37 Since you're now one of my data points, what is the solution to this problem? Nov 15 06:34:46 What if I did somehting super round-about, like setting the scroll view to the spinners after selecting each spinner Nov 15 06:34:51 That is my solution. Nov 15 06:35:02 lol Nov 15 06:35:15 I am a data point in what? Nov 15 06:37:10 Or, even better, somehow saving the position in which I have scrolled on the page upon each spinner being clicked. then setting it back to that position after an option is selected Nov 15 06:38:02 The previous description allowed for page jumping still Nov 15 07:20:01 is it possible to have NavigationView items have sub items ? Nov 15 07:20:21 like (A (1 2 3), B, C) Nov 15 07:21:19 this just seems to create another group of things https://github.com/chrisbanes/cheesesquare/blob/master/app/src/main/res/menu/drawer_view.xml Nov 15 07:27:29 meh i guess not Nov 15 07:41:25 hello Nov 15 07:41:32 can anyone help me with this? Nov 15 07:48:38 http://stackoverflow.com/questions/33717527/java-lang-stringindexoutofboundsexception-length-0-regionstart-3-regionlength Nov 15 07:48:47 can anyone help me with that? Nov 15 07:49:49 length == 0 Nov 15 07:53:32 then my problem lie in date picker then Nov 15 07:53:42 this is my code from date picker Nov 15 07:54:17 the problem lies with you having an empty string, fix that Nov 15 07:56:48 canves2321 : this is when i have setting up my datepicker Nov 15 07:56:50 http://prntscr.com/92xkrq Nov 15 07:57:23 this is my xml datepicker http://prntscr.com/92xkug Nov 15 07:57:36 and this is my code for Datepicker to pop up Nov 15 07:57:42 http://prntscr.com/92xktf Nov 15 07:58:14 when i click on pick Date (on date picker), the date should be able to placed in text view Nov 15 07:58:35 and when i try that the text view still empty Nov 15 07:58:39 too much Nov 15 07:58:43 your String is empty Nov 15 07:58:45 fix that Nov 15 07:58:57 yes that String text view in there Nov 15 07:59:51 why even though i have been clicked datepicker the date still not showing up in text view? Nov 15 08:00:30 debug the datepicker Nov 15 08:00:35 how? Nov 15 08:00:44 add a Log.X() in there or a breakpoint Nov 15 08:01:17 hmm, i see i try that Nov 15 08:24:32 This is an crash I am getting in Android studio, I'm hoping you guys could help me figure it out Nov 15 08:24:46 http://rifers.org/paste/show/4463 Nov 15 08:25:57 Thanks in advance Nov 15 08:28:22 Caused by: java.lang.ClassNotFoundException: Didn't find class "org.anddev.andengine.opengl.view.RenderSurfaceView" Nov 15 08:37:30 canvs2321 would you know why it didn't find that class? I did import that module and I followed the instructions exactly found here http://blog.guillaumeagis.eu/setup-andengine-with-android-studio/#comment-1431 and here http://www.makethegame.net/android-andengine/how-to-setup-andengine-with-android-studio/#comment-600 Nov 15 08:37:40 Could it be not reading a library path correctly or something? Nov 15 08:39:14 u set dependency properly? Nov 15 08:39:17 canvs232? are you still there? Nov 15 08:39:42 i try using log e and i got this problem in my code Nov 15 08:40:02 NullPointerException Nov 15 08:40:06 thisis the cause Nov 15 08:40:41 http://prntscr.com/92xt67 Nov 15 08:41:03 I am using Android studio, I think I set the dependencies properly I added the other code as a module Nov 15 08:41:31 if localBundle == null why do you think localBundle.getString would work? Nov 15 08:41:44 it's null Nov 15 08:42:14 it's highlighted in the code, most likely telling you it'll be null :/ Nov 15 08:43:24 you want, if(localBundle!=null){...} Nov 15 08:48:31 canvs2321: i'm using that already but when i try to click one of my button, they didn't do anything Nov 15 08:49:02 using it where Nov 15 08:49:16 the code u show you arent Nov 15 08:49:25 this i change it Nov 15 08:49:56 http://prntscr.com/92xv25 Nov 15 08:50:13 then my problem for "temp solved" Nov 15 08:50:20 but not for my button problem Nov 15 08:50:26 you are changing without understanding Nov 15 08:50:40 you need to play a test more, also read java Nov 15 09:54:59 I am getting an issue: "getGoogleAppId failed with status: 10" and I believe it is preventing me from using Google Play Services to interact with my android wearable. Any suggestions? Nov 15 09:56:18 drf1229: have you registered with a packagename on the google developer website? Nov 15 09:57:23 nope. how do I do that? Nov 15 11:12:04 Hi all Nov 15 11:26:04 g00s: I need a floatingToolbar :/ Nov 15 11:26:06 and you're not even paying attention Nov 15 11:30:52 damn new router hates irc traffic >:-| Nov 15 11:31:58 :U Nov 15 11:45:34 Anyone know how to prevent documentation popup on hovers from closing due to logcat? Nov 15 12:28:57 hi~ Nov 15 12:29:17 when i use "registerMediaButtonReceiver(RemoteControlReceiver)", it says "expression excepted", ? Nov 15 12:29:57 i cut the code from the Building Apps with Multimedia~ Nov 15 12:30:05 who know why? Nov 15 12:43:53 Arx``, o_O well you are just passing a classname Nov 15 12:58:28 Hi Nov 15 12:59:11 I am using double to handle large numbers. But even it cant handle numbers having more than 10 digits. What should I use for even greater numbers? Nov 15 13:01:03 rudolf_: http://stackoverflow.com/a/8754567/1738462 Nov 15 13:01:10 yes i just pass a classname Nov 15 13:01:48 I have this error: "getGoogleAppId failed with status: 10", and I believe it is keeping my app from interacting with Google Play services to exchange data with a wearable. Any suggestions? Nov 15 13:01:52 i cut the code from developer.android.com Nov 15 13:02:03 georgewhite, And for taking input, I have used an EditText and I am converting the string into double. Is this approach right? Nov 15 13:02:29 I would have thought so. Nov 15 13:03:17 georgewhite, for me? Nov 15 13:03:23 rudolf_: yes Nov 15 13:03:59 rudolf_: but beware, BigDecimals are somewhat slow and are incompatible with some of the java.math.* methods Nov 15 13:04:23 georgewhite, so there is no special thing to input numbers only? Does everyone use EditText? Nov 15 13:04:28 rudolf_: if it doesn't suit your needs, I'm afraid you're going to have to go to C or C++. Nov 15 13:05:05 rudolf_: I'm afraid I don't know enough to answer your question. Nov 15 13:05:21 rudolf_: but I presume so. Nov 15 13:05:56 Ok...thanks georgewhite Nov 15 13:06:05 rudolf_: you're welcome. Nov 15 13:07:54 If i want to make a image that is always is going to be appeared on top of the content. What should i do? I've tried .bringToFront method, but the method is not found and giving me red text. I've always tried FloatingActionButton, but it's kind of messy. Any thoughts? Nov 15 13:09:25 z-index? Nov 15 13:09:36 dersand: z-index? Nov 15 13:09:54 hi, guys, i have post my error at "http://www.auarx.top/google/audioerror.JPG", who can help me ~ Nov 15 13:09:58 dersand: http://stackoverflow.com/a/8754567/1738462 Nov 15 13:10:04 http://www.auarx.top/google/audioerror.JPG Nov 15 13:11:17 this is my manifest, RemoteControlReceiver and the am.registerMediaButtonEventReceiver(RemoteControlReceiver) Nov 15 13:16:04 i must ask a serious question Nov 15 13:16:29 I have used double but stil it is not able to handle 10000000000. Nov 15 13:16:56 Why? It isnot out of range of double. Nov 15 13:17:01 i am using a resource known as R.drawable.ic_launcher for a notification setSmallIcon, the is a jar which other applicaions bundle. on earlier versions i used another value Nov 15 13:17:27 rudolf_: why are you not using BigDecimal instead of double? Nov 15 13:17:34 on pre-5 os's i have a problem with that Nov 15 13:17:42 rudolf_, check https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html Nov 15 13:18:17 is there an absolute resource id for the launcher icon? Nov 15 13:19:15 georgewhite, I am going to use BigDecimal now. This is from my old code. Nov 15 13:19:26 rudolf_: I see Nov 15 13:20:23 Nick-S: it's defined in AndroidManifest.xml manifest Nov 15 13:20:57 Nick-S, no. but it seems like everyone is using ic_launcher since that is the default for the scaffold android creates Nov 15 13:21:08 georgewhite: i realized i put the bringToFront method outside a method and inside the class declaration. Thanks anyway Nov 15 13:21:17 is it a generated value? Nov 15 13:21:25 is it dynamic? Nov 15 13:21:42 no Nov 15 13:21:53 dersand: you're welcome Nov 15 13:21:58 thats just because the default launcher icon AS creates is ic_launcher.png Nov 15 13:22:04 you can name it however you want thogu Nov 15 13:22:28 oh so if i make a jar to be included and i want to reference the launcher i con there is no way i can do it Nov 15 13:22:39 correct? Nov 15 13:22:40 a jar? Nov 15 13:22:54 yes a jar, like a library minus the resources i guesss Nov 15 13:23:04 you cant put drawables in a jar and access them from android Nov 15 13:23:15 what you want is an aar Nov 15 13:24:56 yes i know i am trying to avoid it Nov 15 13:30:55 so all resources id's are generated as part of compilation process? Nov 15 13:31:06 maybe better say build process Nov 15 13:31:58 i have a custom view that i want to animate some shapes in. Do i need to constantly .invalidate() or is there another option? Nov 15 13:44:27 Nick-S, yes Nov 15 13:44:47 what are you actually trying to do? Nov 15 13:51:49 danijoo: present a notification Nov 15 13:52:08 using a jar a only Nov 15 13:53:27 use aars for android. Nov 15 13:54:57 danijoo: we believe our services are easier integrated as jars Nov 15 13:55:24 but even with aar, i would still need to have in code the launcher icon, will i be able to do that? Nov 15 13:55:31 in the aar code Nov 15 13:56:14 Nick-S, see PackageManager.getApplicationIcon method Nov 15 13:59:48 ooh!! Nov 15 14:00:10 but it returns a drawable Nov 15 14:00:21 and the setsmallicon only accepts id Nov 15 14:01:07 so it wont work Nov 15 14:02:10 not possible then Nov 15 14:02:31 let the library user provide an image Nov 15 14:02:36 thats a better approach anyways Nov 15 14:03:00 the launcher icons usually look ugly as notification icons Nov 15 14:03:36 ya Nov 15 14:03:45 well it depends launcher can be also perfect Nov 15 14:04:10 wouldnt build my library arround a "can" :p Nov 15 14:43:14 I am calling another activity within my app from my main activity. I created an intent and mentioned the class of the activity to be called. The name of that activity is "DisplayResult". In the layout folder, why are there two xml files with the names "activity_display_result" and "content_display_result" ? Nov 15 14:43:38 While for the main activity there is only one xml, "activity_main" Nov 15 14:58:30 So, i'm trying to inflate a view, but i'm getting "incompatible types. required android.view.View found null" Any idea, or should i provide more context? Nov 15 14:59:29 R.layout.some_layout_name. Is that the file name of the .xml i'm trying to inflate? without the suffix? Nov 15 15:03:34 show your code Nov 15 15:03:43 xml + java Nov 15 15:04:46 danijoo: http://i.imgur.com/PhoPGuv.png Nov 15 15:05:03 dersand, a menu inflater is not for inflating views Nov 15 15:05:16 sorry? Nov 15 15:05:41 replace getMenuInflater with LayoutInflater.from(context) Nov 15 15:06:05 a menuinflater is for inflating the menu shown in a toolbar. You need a layoutinflater if you want to inflate views Nov 15 15:06:54 worked, thanks! Nov 15 15:14:53 Can I catch number format exception while converting string to bigdecimal? Nov 15 15:15:09 have you tried? Nov 15 15:15:34 hi, is there a 2d slider control? something like a virtual joystick, but not for a game Nov 15 15:16:54 danijoo, I have not tried yet. Nov 15 15:17:02 dnano91, http://developer.android.com/reference/android/widget/SeekBar.html Nov 15 15:18:23 rudolf_, rhetoric question ;) Nov 15 15:18:51 ok..lemme try Nov 15 15:19:36 Im sure this is also covered in the javadocs of BigDecimal Nov 15 15:21:34 adq: i need a 2d version of it. with 2 axis Nov 15 15:22:17 you have to make your own then Nov 15 15:23:05 any view and point coordinates of the touch area is what you want somehow Nov 15 15:23:51 but you will have to make it fancy yourself, you probably need to create your own custom view Nov 15 15:25:28 Is there any way to set a parent layout to have a background with an alpha AND the child content is fully opaque? Nov 15 15:27:51 dersand, set a color with alpha as background Nov 15 15:28:21 danijoo how would i do that? Nov 15 15:28:41 ie #CC000000 is black with 80% alpha Nov 15 15:30:02 danijoo does the text/edittext/button look opaque? http://i.imgur.com/zgpowQg.png Nov 15 15:30:46 dersand, it looks like the default gray color of android Nov 15 15:41:20 hi Nov 15 15:41:36 Error:Execution failed for task ':app:preDexDebug'.> com.android.ide.common.process.ProcessException: org.gradle.process.internal.ExecException: Process 'command '/usr/lib/jvm/java-7-openjdk-i386/bin/java'' finished with non-zero exit value 1 Nov 15 15:42:06 i am new on android dev, following tutorial, when try to run i got that Nov 15 15:42:13 i am using on Debian Nov 15 15:47:27 Akuw, this is a result, not a cause Nov 15 15:47:36 read the error further Nov 15 15:47:40 search somewhere above that line for the real error Nov 15 15:48:07 well, at the same time, android studio doesn't show all errors by default Nov 15 15:48:18 it just shows crap like. what he pasted Nov 15 15:49:17 is that related with java ? Nov 15 15:49:38 becuase i see is talking about openjdk... Nov 15 15:49:48 but should be oracle java right? Nov 15 15:49:53 doesn't matter Nov 15 15:50:08 I use icedtea on Ubuntu without problem Nov 15 15:50:38 hooo ok Nov 15 15:50:50 danijoo, everything working ok still? Nov 15 15:52:08 Akuw, read the error logs or console. carefully, your problem is described fully there Nov 15 15:52:53 last time i used it, yes Nov 15 15:53:05 not using? not developing? Nov 15 15:56:49 not developing :( Nov 15 15:58:01 and when, its not something where protify can help me Nov 15 16:06:19 danijoo, it should still improve. build times though Nov 15 16:06:34 danijoo, eg, you can use protify:install or protify:run Nov 15 16:07:07 danijoo, which does the incremental install part, but without the state saving Nov 15 16:07:18 Im currently doing a lot of top level refractoring to make my ugly code from years ago easier to alter Nov 15 16:07:31 introducting dependency injection and stuff like that Nov 15 16:07:42 so its kinda always a full build Nov 15 16:08:09 but i use it whenever im working on something ui related :) Nov 15 16:08:31 Indeed, I usually do ~compile in those cases Nov 15 16:08:44 make sure my stuff is valid at all times Nov 15 16:11:06 i am getting 2 more erros Nov 15 16:11:07 emulator: ERROR: This AVD's configuration is missing a kernel file!! Nov 15 16:11:07 emulator: ERROR: ANDROID_SDK_ROOT is undefined Nov 15 16:13:29 sounds like it cant boot your emulator. Nov 15 16:23:57 Hey guys Nov 15 16:29:36 Is there a way to make navigationView menu items' text in the right side (rtl lang)? I don't want to mess with supportRtl="true". Tried to override layout file from design library but it didn't work. Nov 15 16:52:37 g00s: Nov 15 16:54:56 hey thepoosh Nov 15 16:55:38 thepoosh can you think of any apps that use SlidingPaneLayout? i think it was introduced in Google Now 2013, but when i went to look at the app I didn't see any evidence of it Nov 15 16:56:00 what's the issue with gmail? Nov 15 16:56:05 not good enough? Nov 15 16:56:24 thepoosh oh, beside gmail. gmail was using it for a nav drawer Nov 15 16:56:48 there was the initial implemetation in hangouts Nov 15 16:57:08 also its behavior is slightly different than normal, with that child pane either being completely open or closed, the default one doesn't do that afaik Nov 15 16:57:18 hm, whats going on androidweekly... Nov 15 16:57:35 will check later Nov 15 16:57:40 anything worth wile? Nov 15 16:58:09 g00s: hangouts 2 versions ago used SlidingPaneLayout Nov 15 16:58:30 don't see anything worthwhile Nov 15 16:59:29 Gen6+ requires Kernel 3.6 or later. Nov 15 17:00:02 g00s: :S Nov 15 17:01:49 thepoosh, did you give up? Nov 15 17:02:47 pfn: no, just got caught up with production disasters and sprint shit Nov 15 17:04:05 indeed Nov 15 17:05:46 thepoosh sprint shift ? :P i was reading scrum is the new waterfall or something like that Nov 15 17:06:49 thepoosh that umano SlidingUpPanel depends on nine old androids O.o looking through the issue tracker seems a little buggy too Nov 15 17:10:55 g00s: might be Nov 15 17:19:23 g00s, time to write your own Nov 15 17:19:42 g00s, should be easy with viewdraghelper Nov 15 17:20:46 KeepShare has a dependency on nineoldandroids... Nov 15 17:21:03 because of a backported circular reveal lib Nov 15 17:21:29 Gross! Nov 15 17:23:54 you have a highlight on 9oa? Nov 15 17:26:19 nineoldandroids Nov 15 17:26:27 not a trigger, lel Nov 15 17:32:15 is it possible NavigationView to have collapsable items (expanding then shows subitems)? i structured my menu.xml with nested but didn't seem to work Nov 15 17:43:12 g00s: AW was just sad for me Nov 15 17:43:20 but i saw something nice the other day Nov 15 17:43:56 thepoosh share ! Nov 15 17:45:14 g00s: https://vimeo.com/145042944 Nov 15 17:45:44 thepoosh oh yeah noticed that; did you guys use leakCanary ? Nov 15 17:46:15 we do periodically Nov 15 17:46:42 thepoosh have you had many issues with false positives ? Nov 15 17:46:57 on leakcanary? Nov 15 17:47:37 thepoosh yeah Nov 15 17:47:44 not that i noticed Nov 15 17:52:47 Hello Nov 15 17:52:51 <_wurzel> Hi, I'am trying to set up this android-for-work test-app on the newest version of android studio: https://github.com/googlesamples/android-testdpc Nov 15 17:53:34 <_wurzel> I am using the android emulator, since I do not own an android >= 5 device Nov 15 17:54:00 <_wurzel> But to use the app I have to do full disk encryption, which seems not to work Nov 15 17:54:27 Android emulator is anoying me too x) Nov 15 17:54:38 <_wurzel> I get E/Cryptfs: Cannot open block device Nov 15 17:55:04 <_wurzel> as far as I red on the internet, this is a common problem and there is no solution for it? Nov 15 17:56:03 <_wurzel> any suggestions? :-/ Nov 15 18:06:08 read this in documentation - Note: From API level 21 forward, GCM Network Manager uses the framework's JobScheduler. So what it use pre API 21 Nov 15 18:17:25 <_wurzel> @suhas_sm is this an answer to my post or to an older one? Nov 15 18:17:47 Nope Nov 15 18:17:52 I was asking :P Nov 15 18:17:58 <_wurzel> ah :-D Nov 15 18:18:09 What does GCMNetworkManager use pre api 21? Nov 15 18:18:34 suhas_sm, why? did you look at the code for JobScheduler? it's just a tiny abstract class Nov 15 18:18:53 just went through documenation Nov 15 18:18:59 will look at code Nov 15 18:19:20 what is the basis of your question? what do you need to know? Nov 15 18:19:21 is it easy to implement ? or requires lots of hours of coding ? Nov 15 18:19:26 ... Nov 15 18:20:03 GCMNetworkManager uses JobSchedulerApi for batching but this is only available post lollipop Nov 15 18:20:21 So how does it manage the same functionality pre lollipop Nov 15 18:20:27 ? Nov 15 18:20:29 that you have to implement yourself, or that that manager uses Nov 15 18:20:42 who cares if it is doing it for you Nov 15 18:20:51 heh Nov 15 18:20:55 what is your question Nov 15 18:21:10 where is your issue that you are coming across Nov 15 18:27:59 no issue Nov 15 18:28:12 i am about to implement GCMNM Nov 15 18:28:41 So was going through documentation and had this doubt Nov 15 18:28:50 doubt bout what Nov 15 18:29:05 Pre Lollipop implementation Nov 15 18:29:29 come back when have issues, and not just doubts Nov 15 18:29:40 sure :| Nov 15 18:30:37 or cookies Nov 15 18:30:46 ^ Nov 15 18:30:57 canvs2321-: Stop being such an asshole, it's a perfectly fine question Nov 15 18:31:07 Is it a bad practice to add a Java object of any sort, to some parameter of view in xml, to later read it using the onClickListener and get it through some paramter? Nov 15 18:31:10 how do you answer it then? Nov 15 18:31:19 If you don't know the answer, you don't Nov 15 18:31:34 There's no need to question his motives for asking the question Nov 15 18:32:24 there is always the need to question motives when asking questions. Nov 15 18:33:30 suhas_sm, GCMNetworkManager uses AlarmManager + a service in your app to schedule events pre-Lollipop Nov 15 18:33:34 I need to acces the variables defined in MainActivity class from the methods inside it. So, I can use this. , right? Nov 15 18:34:08 yer, or just variables Nov 15 18:34:15 You can directly use it Nov 15 18:34:17 or MainAcitivty.this. from inner classes Nov 15 18:34:43 rudolf_ short of using inner classes, as long as in scope you can access variables Nov 15 18:34:56 inside inner, you may need to make final outside Nov 15 18:35:20 ok..thanks Nov 15 18:48:27 No, Google said that Go is for the bachelor people that know a bit Java, a bit C. Easy to learn, simple to read in big projects, no complex structures so that every idiot with a CS degree can start immediately. "The key point here is our programmers are Googlers, they’re not researchers. They’re typically, fairly young, fresh out of school, probably learned Java, maybe learned C or C++, probably learned Python. **They’re not capable of understandi Nov 15 18:48:31 oops Nov 15 18:53:16 pfn :D Nov 15 18:53:39 * g00s wonders what came after "not capable of understand..." Nov 15 18:58:43 No, Google said that Go is for the bachelor people that know a bit Java, a bit C. Easy to learn, simple to read in big projects, no complex structures so that every idiot with a CS degree can start immediately. "The key point here is our programmers are Googlers, they’re not researchers. They’re typically, fairly young, fresh out of school, probably learned Java, maybe learned C or C++, probably learned Python. **They’re not capable of understandi Nov 15 18:58:45 gah Nov 15 18:59:07 http://reddit.com/r/programming/comments/3suio9/the_legacy_of_go/cx0xlrb Nov 15 18:59:29 deja vu Nov 15 19:00:08 only ASM is for REAL programmers ;) Nov 15 19:03:53 eh, no Nov 15 19:06:16 pfn: I have a ASM book that says that on the cover [FOR REAL PROGRAMMERS ONLY] Nov 15 19:06:47 books are often wrong and out of date Nov 15 19:07:17 I have a List and I want to implement search. What's the best way to do this in Android land? Nov 15 19:07:58 pfn "Go will be remembered as a monument to the power of marketing. "Hey look! With the resources of Google, even a shitty language gets lots of traction! This is some kind of breakthrough." Nov 15 19:08:11 where has this happened before ... Nov 15 19:08:24 List is just an implementation, what is the defining type? Nov 15 19:10:53 canvs2321-: ArrayList Nov 15 19:11:53 Can't you iterate through the list, or setup some kind of map? Nov 15 19:12:47 I could, I"m just unsure of how the best way to implement search would be Message.getText().contains(searchQuery)? Nov 15 19:14:13 you'd iterate the list to check .get(X).getText().contains(searchQuery) Nov 15 19:15:18 g00s, either, in 1995 plt was not advanced in the least Nov 15 19:15:28 s/either/eh Nov 15 19:15:51 well, a little, but they had far worse runtime implications Nov 15 19:15:53 eghdk, do you need partial search or exact search? Nov 15 19:16:32 contains seems partial Nov 15 19:17:25 as SimonVT says guess can't guess motive, have to use exact questions :P Nov 15 19:18:35 Mavrik: I think partial. So that if the user searched "app" they would see a message that contained "I like apples" Nov 15 19:19:38 I just feel like that's too easy? ya know. Must be missing something. I thought search was supposed to be harder than that. Nov 15 19:19:52 for (Message m : messages) { if (m.getText().toLowerCase().contains(searchQuery.toLowerCase()) } ? Nov 15 19:19:55 It's not fast. Nov 15 19:19:58 It does work tho. Nov 15 19:19:59 ^ Nov 15 19:20:06 fast tho if not huge list Nov 15 19:21:45 gonna have to iterate, if large list do it on a seperate thread and report back Nov 15 19:22:36 just if that list is associated with an adapter, make a copy first, as you'll get modifying data on seperate thread exception Nov 15 19:23:04 if you alter that list :/ Nov 15 19:32:02 Cool. Thanks guys. Also, I know I asked this 2 days ago, but what's everyones go to tool for performance testing or finding bottlenecks? Nov 15 19:33:06 Still same ones we listed there. Nov 15 19:33:19 should start with detailing your code, can use tools, but try to understand objects Nov 15 19:36:42 works for me. I always like asking some questions twice on different days. Different crowds sometimes give me different answers. Nov 15 19:39:02 a very asshole approach Nov 15 19:39:49 any idea why android prevents downgrading apps? (INSTALL_FAILED_VERSION_DOWNGRADE) Nov 15 19:40:19 and if i cam overcome that in AS Nov 15 19:40:27 squirrel, because there's no way to roll back upgrades Nov 15 19:40:49 bump your version code, problem solved Nov 15 19:40:54 hi, can anybody help me with resetting the view in my maze game app, where have to implement a backtracking algorithm that will solve the maze? ( since if i use view.invalidate(); setContentView(view);) my app crashes Nov 15 19:41:06 hi guys, if I am using android studio and I have a project with several modules that all run separately, for example one is a native Android app that gets some notifications through bluetooth and the other is a project I imported as a module, (in this case it is the open source game tervel) is there any way I can use the bluetooth information I get into the main module to control the separate game module? Nov 15 19:41:31 pfn: what do you mean roll back upgrades. i'm just trying to run an older commit Nov 15 19:41:32 They are listed as different configurations Nov 15 19:41:46 Mavrik: or canvs2321- easy to add the search bar or whatever in the toolbar? Nov 15 19:43:04 easy is subjective, as long as you have data and an onclick for a search you are open todo what you please Nov 15 19:43:45 just add an option to search, then upon selecting that option connect it to your data Nov 15 19:44:36 how do i stop a bitmap from being made all fuzzy when it is being scaled to fit a view? Nov 15 19:44:51 its being very heavily blured and i want no blur at all Nov 15 19:44:54 use a correctly sized bitmap Nov 15 19:45:08 the bitmap is a fixed size. the view is not Nov 15 19:45:15 10x10px is not enough Nov 15 19:45:16 there is the issue Nov 15 19:45:23 how do i stop the scaling operation from bluring Nov 15 19:45:31 stop the scaling Nov 15 19:45:39 no Nov 15 19:45:48 yes, you can't just create pixels Nov 15 19:45:50 the scaling needs to not BLUR Nov 15 19:45:58 use 9patch or big bitmap to scale down Nov 15 19:46:03 ^ Nov 15 19:46:07 otherwise ask CSI guys Nov 15 19:46:07 you CANT upscale an image if its too small without bluring Nov 15 19:46:18 bullshit Nov 15 19:46:38 enhance,enhance Nov 15 19:46:44 can somebody help me with my maze app ? implemented autosolving backtracking algorithm, but can't refresh the view after each movement/ in my manual solving method everything works with view resetting Nov 15 19:47:10 Bullet_93, invalidate Nov 15 19:47:30 seriously there is no reason why a scaling operation should blur unless its dithering during the scaling operation Nov 15 19:47:38 or aliasing or whatever Nov 15 19:47:42 i want it to NOT do that Nov 15 19:48:05 mark4, scaling to a larger image from a smaller would induce fuxing of new pixels to fill the larger space Nov 15 19:48:08 invalidated after every movement in the backtracking app, but i get a crash, and skipped 450 frames message in log Nov 15 19:48:09 mark4: can you show a picture Nov 15 19:48:11 1 pixle can be scaled to be 9 identical pixles Nov 15 19:48:24 that is blur Nov 15 19:48:27 Bullet_93: does the algorithm run in background Nov 15 19:49:14 no, will that solve the problem? Nov 15 19:49:27 canvs2321-, yes but that still does not REQUIRE dithering or aliasing. you can simply draw that ONE pixle into multiple larger pixles Nov 15 19:49:45 that is blur tho :/ Nov 15 19:49:47 how do i reset my view from a thread btw ? Nov 15 19:49:53 makin 1 pixel equal to 9 Nov 15 19:49:55 what kind of crash do you get Nov 15 19:50:06 Bullet_93: runOnUiThread() or use hanler Nov 15 19:50:10 handler Nov 15 19:50:25 no thats not blur thats simply scaling a pixel to fit a larger number of pixels Nov 15 19:50:38 blur is where pixles bleed into each other during scaling Nov 15 19:50:51 mark4, draw it manually, and disable antialiasing Nov 15 19:51:11 danijoo, how do you disable antialiasing Nov 15 19:51:36 myPaint.setAntiAlias(false) Nov 15 19:56:08 danijoo, how do you disable antialiasing Nov 15 19:57:04 the drawBitmap(xxx,r1,r2,null) now has p1 in place of null and i set anti alias and dither on p1 to false. Nov 15 19:57:10 its still bluring Nov 15 19:58:48 funny thing is it only blurs on newer devices. it does not blur at all when i run it on my old droid incred Nov 15 19:59:09 its like the newer versions of android ignore the paint Nov 15 20:08:49 mark4, setFilterBitmap(false), too Nov 15 20:09:20 see http://www.41post.com/4241/programming/android-disabling-anti-aliasing-for-pixel-art Nov 15 20:09:41 took me 2 tries on google btw.. Nov 15 20:14:19 Hey .. what is the best lib in android to make an alarm for a reminder with? The reminder should be able to launch months after being set? Nov 15 20:28:59 cart_man, you dont need a lib for that.. Nov 15 20:31:50 danijoo: Hmm ok but just a way to do it then? Nov 15 20:32:25 AlarmManager Nov 15 20:37:30 Do any of you use prototyping apps for building your UI before you actually implement it? If so, what tools do you recommend (for a solo dev) Nov 15 20:37:53 I recommend Pen & Paper. Im using it since years and it works pretty well Nov 15 20:38:25 Pen & Paper? What are the system requirements for that? Not sure if my pc can handle it Nov 15 20:38:36 :) Nov 15 20:38:52 :p Nov 15 20:39:31 Whats the difference between just JimHawking, it doesnt exist :P Nov 15 20:40:44 Always use support library version for components unless they don't exist Nov 15 20:41:01 there is no native version of viewpager iirc Nov 15 20:46:53 hi, my notification action icons look weird. also, is it possible to put 4 buttons there? http://i.imgur.com/N3ouCo2.png Nov 15 20:47:52 i used just some 100x100px png's as drawables, and they're being displayed like in the screenshot Nov 15 20:49:55 dnano91: what's weird about it ? Nov 15 20:50:01 there are probably guidelines for those sizes, but i can't find them Nov 15 20:50:30 i've noticed a bunch of android-specific icon guidelines have completely dissapeared Nov 15 20:50:59 (the material icon specs only talk about some things) Nov 15 20:51:24 shmooz: they are regular icons but as you can see in the screenshot they are being displayed too bing and not shown (only the gray circle) Nov 15 20:51:56 g00s, dnano91 http://iconhandbook.co.uk/reference/chart/android/ Nov 15 20:52:03 too bing ?? Nov 15 20:52:35 oh too big Nov 15 20:52:54 dnano91: I have your solution Nov 15 20:53:49 danijoo cool, but missing color / opacity Nov 15 20:54:20 it says white but i think there is supposed to be some alpha Nov 15 20:54:56 dnano91: you have to scale the images to 128x128 Nov 15 20:55:01 maybe 5+ does something there automatically Nov 15 20:56:13 dnano91: something like this ... Icon = Bitmap.createScaledBitmap(thumbs[currentPosition], 128, 128, false); Nov 15 20:56:37 where thumbs[] is an array of images Nov 15 21:00:07 shmooz: i have R.drawable's which don't go into that method Nov 15 21:00:43 danijoo: i tried resizing them to 88px (not shure which value from that site was relevant) and only thing it did was shrinking the gray circle a bit. Nov 15 21:00:53 g00s: i'll try removing the colors next Nov 15 21:01:03 Are you trying to generate icons for your app dnano91 ? Nov 15 21:03:26 drose379: yes. i have some .png's that i'm trying to use for the notification actions Nov 15 21:03:36 Oh I got just the thing for you Nov 15 21:03:39 One sec Nov 15 21:04:01 https://romannurik.github.io/AndroidAssetStudio/icons-generic.html#source.space.trim=1&source.space.pad=0&size=24&padding=8&color=33b5e5%2C100&name=ic_example Nov 15 21:04:13 Try that Nov 15 21:08:22 drose379: thanks. but for some reason i only get circles with the Color. Nov 15 21:08:39 oh, my fault :P Nov 15 21:08:42 time to show your actual code Nov 15 21:08:47 You need to adjust the Color Nov 15 21:09:04 dnano91, Theres a slider at the bottom where you adjust the color Nov 15 21:09:17 drose379: yes, i just found it Nov 15 21:09:23 Awesome, enjoy Nov 15 21:09:45 thanks :) Nov 15 21:11:01 oh, too bad. icons do have to be white just as g00s said. Nov 15 21:11:21 I use colored icons Nov 15 21:11:29 for notification actions? Nov 15 21:11:47 Oh, no haha Nov 15 21:13:14 TIL ProgressBar has a "secondary progress" property. Nov 15 21:13:22 Useful for buffering and stuff. Nov 15 21:15:12 Not sure how this fact eluded me for so long. Nov 15 21:17:02 Hi Nov 15 21:17:44 A question. I have a playlist that contains url adresses with .ts format. Is it possible to play them on android? Nov 15 21:19:43 see channel topic Peyam Nov 15 21:20:06 I find it funny that even if I have aapt says the XML isn't well-formed when building resources with non-standard ASCII. Nov 15 21:20:16 danijoo, is it a yes or no. becouse i see in some thread that it is possible and in some not Nov 15 21:20:48 Peyam: it depends on the device , some support some formats and some won't Nov 15 21:20:59 ive been in and out lately ;; does anyone have any easy tutorials on how to use the accelerometer to sense movement? Nov 15 21:21:15 all the tutorials ive found dont work Nov 15 21:21:15 for me atl east Nov 15 21:21:23 shmooz, I use exoplayer in my app. it s made for android 4+ Nov 15 21:21:26 Peyam, not the right channel to ask that Nov 15 21:21:43 danijoo, why not? its a android question Nov 15 21:21:57 this is no general android channel Nov 15 21:22:31 danijoo, it is a programming issue. Nov 15 21:22:55 thoguth you wanted to ask how to play them with a media player. nvm then :) Nov 15 21:23:07 Im making an app and I play streaming videos. I wana know if it is implementable Nov 15 21:23:17 aha okej :) Nov 15 21:35:31 vp.setOnPageChangeListener() is deprecated? what do people do instead now ? Nov 15 21:36:45 loook up what the alternative is Nov 15 21:37:25 Yeah, Google is just better for queries like this. You're wasting your time asking a bunch of people on IRC. :D Nov 15 21:37:51 you can just hover over it and pres ctrl-b Nov 15 21:37:56 A quick google gives not only the answer but thorough explanations, discussions, etc. Nov 15 21:38:00 the alternative is named in the source Nov 15 21:44:24 Hello, is there any way to make a boot.img from my phone? I tried making a boot.img using recovery and dd'ing the boot partition, but when I try to flash that same boot it says it's invalid. Nov 15 21:44:35 Basicall I have a zImage that I made and want to flash it Nov 15 21:44:47 lakiluki, read the channel topic Nov 15 21:45:01 oh, fuck, thanks Nov 15 22:37:24 The number of CPU cycles Gradle uses is too damn high. Nov 15 22:37:44 same for RaM Nov 15 22:46:08 TacticalJoke solution: write it in c/c++ :D Nov 15 22:46:25 or use sbt :p Nov 15 22:47:52 They should do a Kotlin rewrite, IMO. Nov 15 22:47:58 Though I have no idea of whether this will increase speed. :D Nov 15 22:48:12 they could hire CedricBeust :D Nov 15 22:49:00 http://beust.com/kobalt/home/index.html :) Nov 15 22:49:39 Thanks for the plug :) Nov 15 23:08:36 I've always said you need the most advanced game programming optimizers to create runtime engines for languages Nov 15 23:09:17 mama always says or u Nov 15 23:10:06 TacticalJoke, I guess in long term, bazel might replace gradle for android Nov 15 23:37:31 Anyone here relatively new @ droid dev want to work together to make something? I dont know what, looking for a learning experience. Nov 15 23:38:23 make something that works on rotation Nov 15 23:51:20 Is there an option to make android studio create Activitys that extend Activity and *NOT* AppCompatActivity? Nov 15 23:54:46 or you could just change one word in the generated file... Nov 15 23:55:48 phroa: It's also themes and stuff. Nov 15 23:59:01 gopar: Not sure. Maybe setting minSdkVersion to 21 via the wizard does it? Nov 15 23:59:06 I'm too lazy to try. :s Nov 15 23:59:43 TacticalJoke, minSdk is already set to 21 :p Nov 16 00:00:20 Maybe choosing to add no Activity does it? Nov 16 00:00:42 Though that doesn't meet your description. Hmm. Nov 16 00:06:17 Anyone have any thoughts on this layout? Too boring? : http://i.imgur.com/C25wCx9.png Nov 16 00:07:37 I don't understand that screen. Nov 16 00:07:53 There's a dog tab, a cat tab, and an other tab... and I can also select dog or cat. Nov 16 00:08:05 Yeah im in the process of getting rid of the tabs, pretend those aernt there Nov 16 00:08:12 Or enter text. Nov 16 00:08:17 What text would they enter? Nov 16 00:08:35 And why is there a FAB that seems to go right. Nov 16 00:08:57 Their zip, see the location icon Nov 16 00:09:18 The next icon goes to another activity to choose details about their search Nov 16 00:09:23 It seems weird, though: 1. ZIP code. 2. Dog. 3. Cat. Nov 16 00:09:45 1: Zip 2 : Dog OR Cat Nov 16 00:09:49 It reminds me of that `enum Bool { True, False, FileNotFound }` thing. Nov 16 00:10:31 Its the most basic info about the search Nov 16 00:10:42 When you click the fab, it shows more options, but they are not mandatory Nov 16 00:10:45 Oh, they have to select both and then click the FAB. I see. Nov 16 00:10:53 I thought that clicking a dog or cat moved us to the next screen. Nov 16 00:11:19 No, select either dog or cat, enter zip, move on with FAB click Nov 16 00:11:22 It was that "Click Icon" thing -- thought it had meant "dog or cat icon". Nov 16 00:11:46 Maybe a screen recording will be better for this Nov 16 00:13:44 drose379: I think a FAB is unusual there. Nov 16 00:13:51 It's normally a "NEXT" thing, I think. Nov 16 00:13:56 Like a text-only button. Nov 16 00:14:11 That FAB is for next Nov 16 00:14:24 Are you saying a Button would be better for next? Nov 16 00:14:53 Not sure, I guess. Just that I've never seen a FAB used for "next" before. Always a button or text view. Nov 16 00:15:13 I was thinking that too actually Nov 16 00:15:33 That's part of the reason I assumed that clicking a dog or cat took us to the next screen -- the FAB didn't strongly suggest "next" to me at first. Nov 16 00:15:59 I see, yeah Nov 16 00:16:06 Even with the > Nov 16 00:16:11 Icon ^ Nov 16 00:16:33 Yeah. From what I've seen of Android, a FAB is always "do stuff on this screen" and never "move to another screen". Nov 16 00:16:37 As far as I rememeber, anyway. Nov 16 00:16:59 remember* Nov 16 00:16:59 Im most likely gonna change that Nov 16 00:17:04 Thank you for looking Nov 16 00:17:25 Those images are cute. :D Nov 16 00:18:33 I would consider changing that EditText's hint to "Location" or something. "Enter" is redundant for an EditText. Nov 16 00:18:44 It's like a button with "Click" on it. Nov 16 00:19:00 Ha, good point there Nov 16 00:19:08 Will do that right now Nov 16 00:19:10 I guess, in your defence, you are suggesting they can click or enter. But it's probably better to clarify that by some other means. Nov 16 00:19:26 Oh yeah, they can click the icon and it will get their location...hmm Nov 16 00:20:01 Thats a tough one Nov 16 00:20:06 Maybe the icon could have the button background? (Or maybe it's okay as is; not sure.) Nov 16 00:20:33 Gonna get the functionality going and make a recording and we will see Nov 16 00:24:55 hi, does the android sdk offer support for java 8 functionality like streams? Nov 16 00:25:53 eindoofus, no Nov 16 00:25:55 eindoofus, never Nov 16 00:26:10 pfn, never? Nov 16 00:26:14 pfn, why never? Nov 16 00:28:01 because oracle Nov 16 00:31:42 pfn, well that's annoying. any talk of finding an alternative language? believe iOS is now supporting Swift Nov 16 00:32:05 figure android could do something similar Nov 16 00:32:20 Kotlin is the best bet. Nov 16 00:32:23 Soon to be 1.0. Nov 16 00:34:18 Anyone know a good website to get icons? Ive been using icons8 and its great but I cant get icons bigger then 100pixels Nov 16 00:34:44 TacticalJoke, interesting, this is the first time i'm hearing about it Nov 16 00:38:00 eindoofus: you can add stream library to android Nov 16 00:38:05 and add retrolambda Nov 16 00:38:20 but you know.. there are better solutions to this ; Nov 16 00:38:22 ;) Nov 16 00:38:29 eindoofus: This is good: https://medium.com/@octskyward/why-kotlin-is-my-next-programming-language-c25c001e26e3 Nov 16 00:39:51 eindoofus, there are plenty of better language alternatives that run on android Nov 16 00:40:18 eindoofus, scala, kotlin, and clojure are all massive improvements over java Nov 16 00:41:26 then there's always the javascript approach Nov 16 00:55:29 Is kotlin easy to learn coming from Java? Nov 16 00:55:48 Yeah, pretty easy. Nov 16 00:56:28 The site is good: https://kotlinlang.org/docs/reference/basic-syntax.html Nov 16 00:58:27 And you can try it online: http://try.kotl.in/ Nov 16 00:59:11 I will definitely take a look at it. I hear about it more and more on Twitter these days. Nov 16 01:17:09 hey guys. i'm trying to use the accelerometer to detect movement on the device, but my stuff doesn't actually do anything when i shake the device. can anyone take a look at my code and see what im doing wrong? http://hastebin.com/ebanurupax.avrasm Nov 16 01:17:13 i've been trying for ages Nov 16 01:20:42 hey Nov 16 01:20:48 if anyone has a moment, i'd love to have help Nov 16 01:21:22 i am attempting to change the directory of where an app checks for a file Nov 16 01:22:08 since it uses /mnt/storage/sdcard0 and i need it to check for /storage/extSdCard Nov 16 01:22:15 but changing the code is tough Nov 16 01:22:30 if anyone has time and wants me to spam their PM with all the information, by all means tell me, i'd love some help Nov 16 02:06:31 TacticalJoke, You still around? Nov 16 02:21:22 Yeah. Nov 16 02:25:03 Hey, was gonna show you a recording of what I've got from earlier Nov 16 02:25:07 Still not sure about a few parts Nov 16 02:28:57 drose379: If you had posted the video five minutes ago, we would be way further along right now. :D Nov 16 02:28:59 Has anyone here ever managed the list the contents of a file in /data/data with su? I've been trying to use new ProcessBuilder("su", "-c", "cat", "/data/data/foo/bar").start(); and reading the output with a BufferedReader, but I get blank output seemingly no matter what. Nov 16 02:29:12 Just recorded it TacticalJoke Nov 16 02:29:15 One moment Nov 16 02:33:10 TacticalJoke, https://vid.me/jjEz Nov 16 02:33:13 Sorry about the wait :D Nov 16 02:37:01 That's really neat. Nov 16 02:37:32 I think I'd make the "search breeds" thing an entire screen. Nov 16 02:37:40 Not just an AlertDialog? Nov 16 02:37:41 Then "male/female/whatever" thing could be a third and final screen. Nov 16 02:37:52 Yeah, I think so. Nov 16 02:38:06 Ok, I feel like the "male/female/whatever" stuff would be way too boring on its own though? Nov 16 02:39:13 I'll play with it Nov 16 02:39:20 Also, you could remove the progress dialog. Nov 16 02:39:30 You could have a progress bar on the "search results" screen until stuff has loaded. Nov 16 02:39:33 Though not a big deal. Nov 16 02:39:44 Yeah, something to try Nov 16 02:40:03 Any other comments about it overall? Nov 16 02:40:20 I still feel the same way about the FABs -- I think they should be text views. Nov 16 02:40:37 The cards at the end are brilliant. The little touches for male/female. Nov 16 02:41:00 Im thinking of changing the FABs to regular Buttons, yeah Nov 16 02:41:09 Cool, you like the cards Nov 16 02:41:11 You've come a long way, drose379. :D Nov 16 02:41:19 Ha, thanks Nov 16 02:42:05 Ok, I'm gonna head out for now, thanks for checking this out TacticalJoke Nov 16 02:42:22 If you think of anything else just ping me Nov 16 02:42:33 One idea would be a background with a pattern behind those cards. Like grey squiggly things. Though I'm not sure how easy it'd be to get or generate such a pattern. Nov 16 02:42:55 apps looking good drose379 Nov 16 02:43:04 Ive tried a bunch of stuff on the cards TacticalJoke Nov 16 02:43:08 Thanks orbyt_ Nov 16 02:43:15 It's not needed, though. Looks really neat already. Nov 16 02:43:44 I'll prob mess with it once I get closer to the app being finished, so far I think the solid colors work best from what I have tried Nov 16 02:43:49 Patterns may be something to look into Nov 16 02:45:12 Anyways, as always thanks a lot for the feedback guys Nov 16 02:46:02 For the multi-screen thing, I think I'd use Fragments with left/right swiping. Nov 16 02:46:16 Theres an idea, yeah Nov 16 02:46:19 I'd also be tempted to make the "Dogs & Cats" versus "Other" thing one screen. Nov 16 02:46:28 Though I'm not sure. Nov 16 02:46:32 So no tabs? Nov 16 02:46:35 It kinda feels weird having tabs at the start Nov 16 02:46:39 Yeah. Nov 16 02:46:47 Hmm, yeah Nov 16 02:47:04 And I definitely think the "pick a breed" thing is a screen of its own. It's kinda arbitrary to delegate that to a dialog. Nov 16 02:47:05 I think I'm gonna make that change actually Nov 16 02:47:19 Yeah, the alertdialog for that is a bit hacky Nov 16 02:48:43 Thanks again, I'll be afk for a few mins Nov 16 02:57:29 does anyone have any easy tutorials on how to detect phone movement? http://developer.android.com/guide/topics/sensors/sensors_motion.html doesnt work for me **** ENDING LOGGING AT Mon Nov 16 02:59:58 2015