**** BEGIN LOGGING AT Mon Aug 29 02:59:58 2016 Aug 29 03:01:28 !win 3 Aug 29 03:11:11 question - i have a sqlite table with a fixed small amount of data ~200 rows, should i just query it and put it in a List<> so i can keep it around easily? Aug 29 03:11:35 it does not need to be searched or anything, just displayed to the user Aug 29 03:12:06 is your app slow? Aug 29 03:12:27 no Aug 29 03:12:36 if you don't have actual problem, leave it as it is. Aug 29 03:12:51 When you'll have problems, you know you can keep it in memory Aug 29 03:12:54 it is currently not implemented, i'm asking about how to implement Aug 29 03:13:45 Ah. Well, same concept: implement it in the easier way. Then if you have problems you can switch to the harder way. Aug 29 03:14:29 is it easier to load it and cache it? Do that. If you have memory problems, you'll change your code and read it from the db every time Aug 29 03:14:52 is it easier to read it from the db every time? Do that. If you have speed problems, you'll cache it. Aug 29 03:15:00 Sound good? Aug 29 03:16:31 hm ok Aug 29 03:16:34 probably easier to load and cache Aug 29 03:16:41 only 200 rows and will be accessed frequently Aug 29 03:16:48 yeah, do that then Aug 29 03:36:07 greves do it as long as you know, its probably bad habit ;) Aug 29 03:50:59 hmm. Aug 29 03:51:57 so basically the list is 200 words, which i want to be displayed in a listview but alphabetized, and each letter group should be in rows. so row 1: apple, ant, row 2: ball, banana. and each word should be clickable Aug 29 03:52:06 what kind of view/layout/adapter setup would that be? Aug 29 03:54:29 greves: how do you want to do it right now ? Aug 29 03:54:34 the rows should wrap, also Aug 29 03:55:01 marlinksi, i'm not entirely sure... i have a separate activity working well with a recyclerview, but that one is just a single long vertical list Aug 29 03:55:45 seems like it should be listview (horizontal) inside listview (vertical) or something? Aug 29 03:56:05 but then that would scroll horizontally, not what i want Aug 29 03:56:29 what about a list of string as entry for your list adapter ? Aug 29 03:58:14 Marlinski, am i correct that i need two adapters to make a horizontal list inside each vertical list element? Aug 29 03:58:43 greves: you can also have a string ? Aug 29 03:59:01 i'm not sure what you mean, what would be in the string? Aug 29 03:59:19 stringentry = "apple ant adorable ..." Aug 29 03:59:29 oh Aug 29 03:59:33 then how do i get the taps? Aug 29 04:00:52 how do i know whether user tapped on "apple" or "ant" ? Aug 29 04:01:35 ah Aug 29 04:01:59 you can use a spannable string Aug 29 04:02:11 and then a ClickableSpan Aug 29 04:03:18 look at the example that can create clickable URL in a TextView Aug 29 04:03:32 that is one solution, but it may be a bit cumbersome Aug 29 04:05:58 hmm Aug 29 04:06:10 i think i'd rather have them as buttons/objects so i can have the ID of each word when it gets clicked Aug 29 04:06:20 apple = 1, ant = 2, etc. those IDs are from the database Aug 29 04:07:42 I remember I did that once but can't remember how I done it huhu Aug 29 04:07:51 let me look in my git history maybe I will find it Aug 29 04:22:13 For making a custom app without the default android app look, what do people usually do? Is it best to just draw on the canvas? Aug 29 04:23:18 greves: Iok found it, used a GridView :) Aug 29 04:26:01 ClydeSlims: Depends. For things like games, it's all a single GL view. Aug 29 04:26:34 ClydeSlims: GLSurfaceView to be precise. Aug 29 04:29:51 loke__, No for apps not games. Couldn't you still make an app with the canvas? Or is that just making things too difficult and complicated? Aug 29 04:30:31 ClydeSlims: Sure you could, but just like a game, you'd have to manage everything manually. Also, nothing would integrate well. But, it is possible. Aug 29 04:31:08 ClydeSlims: games are apps too Aug 29 04:31:58 loke__, well for apps though, do most people just re-skin the default UI or something? Aug 29 04:32:18 ClydeSlims: What is it you actually want to achieve? Aug 29 04:32:54 ClydeSlims: games are apps though Aug 29 04:32:56 loke__, basically just wanted to make a small app that doesn't use the default android UI look. Aug 29 04:33:16 ClydeSlims: What do you want it to look like? Aug 29 04:33:27 ClydeSlims: you can also redraw the views using style Aug 29 04:33:29 ClydeSlims: just customize heavily the theme Aug 29 04:33:42 you can use images in place of regular controls like buttons etc Aug 29 04:33:42 Because the solution depends on just how big of a depature from the standard you aim for. Aug 29 04:34:17 Jdbye: Are there any good guides for this in particular that you know of? Aug 29 04:35:20 don't know Aug 29 04:36:21 Well I was thinking of just making the app use HTML and CSS but then I'm not so sure if that's the best idea, might be slower than the native UI. Aug 29 04:37:09 it should be fast enough Aug 29 04:38:05 anyone have an idea for playing 16 short but reasonable quality sound clips simultaneously? SoundPool keeps giving me memory errors above about 7 clips... Aug 29 04:39:21 ClydeSlims: Apache Cordova does just that Aug 29 04:39:29 gnyrfta: What's the use case? Aug 29 04:40:52 loke__: audio app - I've got 16 audio samples that sound good together Aug 29 04:44:25 gnyrfta: use AudioTrack Aug 29 04:44:37 gnyrfta: and change your nick to something decent Aug 29 04:44:47 loke__: thanks! Aug 29 04:45:23 gnyrfta: not me? Aug 29 04:46:00 arancio: sorry : P yeah, I mean u, Aug 29 04:46:33 arancio: that was just what I wondered, just wanted to check with someone before starting to learn AudioTrack Aug 29 04:46:34 arancio: Are SDK's like Apache Cordova, Phone Gap, Titanium etc. necessary to display HTML and CSS on android though? Aug 29 04:46:48 arancio, couldn't it be done without the need for a third-party tool? Aug 29 04:47:09 arancio: does gnyrfta mean something in your language that I don't know about? Aug 29 04:48:17 ClydeSlims: do you realize that you don't just have to display things on screen but you also need to interact with the rest of the system? If you want to do all by yourself, do it. I guess you'll end up duplicating the work of other people who is even more experienced than you. Aug 29 04:49:07 gnyrfta: it's just hard to read and to type. Is it an actual word? It looks like your cat walked on your keyboard Aug 29 04:49:46 Apache Cordova = Phone Gap Aug 29 04:50:32 arancio: Sorry I mean display and interaction as well. I've never used these third-party tools before. I was just wondering if its still okay to just use the native Android SDK to be able to display and interact with HTML/CSS Aug 29 04:50:41 arancio: how is gnyrfta harder to read than for example isthmus? theyre both combinations of letters Aug 29 04:51:29 arancio: I mean you'd need javascript as well, hm. Aug 29 04:53:27 gnyrfta: isthmus has not 3 consecutive sounding consonants Aug 29 04:56:48 arancio: Like, basically right now you can use HTML, CSS and JS with a webview straight from Android Studio without third party tools. I'm just a bit confused what these third party tools are actually doing differently. Aug 29 04:57:59 ClydeSlims: I told you. Interaction with the rest of the system Aug 29 04:59:32 arancio: Okay so basically cordova for example I'm assuming has javascript functions built into its library that interact with android system functions? Aug 29 05:06:53 ClydeSlims: yes, that the whole point. Otherwise it would be more like running a web app in your browser on your desktop computer. It's quite isolated from the rest of your system. Aug 29 05:08:53 arancio: ok Aug 29 05:16:22 arancio: bongiorno. How's the app development going? Aug 29 05:19:04 VerbalKint: buongiorno! :D Today I made a demo of my web api (ASP.NET Web API 2) interacting with the database (SQL Server) and deployed it on localhost Aug 29 05:19:46 by setting android:fitsSystemWindows="true" in my root layout, i can get my toolbar to draw under, rather than behind, the status bar, but it makes the status bar white. why is this? Aug 29 05:20:01 arancio: cool. Never dabbled with .NET stuff. Aug 29 05:20:35 if i use a CoordinatorLayout as my root layout, itll draw the status bar as my colorPrimaryDark, but tinted an extra shade darker, like theres two status bars :( Aug 29 05:20:43 VerbalKint: going to sleep now. Wish you many handred of thousand of euro in revenues today from your multilingual trivia app. Aug 29 05:20:53 hundred Aug 29 05:21:00 s Aug 29 05:21:06 arancio: thanks, bro. Good luck to you too :D Aug 29 05:21:10 well, need sleep Aug 29 05:21:11 :D Aug 29 05:21:46 Marlinski, still here? Aug 29 05:22:43 also, im using the same theme for this activity as i am in ones it does work correctly with Aug 29 05:23:50 hey , I want to replace textView inside a fragment,So as onCreateView alreadt returns a view , how do i change textview , so that return statement of onCreateView doesn't reset the text Aug 29 05:27:45 killer, could you elaborate? Aug 29 05:28:39 BAsically , I want to replace a textview inside a fragment with some other text Aug 29 05:29:28 I do know about setText , but i guess that works for activities only ? Aug 29 05:31:07 myTextView.setText("foo") should work, no problem Aug 29 05:35:20 Okay , looks like it works, i thought the return statememt in onCreateView won't allow it , thnx Aug 29 05:36:37 return is only the output of the method Aug 29 05:36:48 no problem :) Aug 29 05:37:04 greves: yes Aug 29 05:37:44 Marlinski, so you just used a gridview? i was thinking i should do RecyclerView with GridLayoutManager Aug 29 05:39:41 greves, what are you trying to accomplish? Aug 29 05:40:55 drinfernoo, SQLite database has 200 rows that have (id, word) columns. i want a display that has the words grouped by letter and displayed in a list, with section headers for the letters A, B, C. so: A / apple ant / B / ball banana, etc Aug 29 05:41:12 the words should be in a grid (horizontal + wrap) Aug 29 05:42:03 oh, i would probably use a recyclerview, but it might be easiest to use a library for the section headers Aug 29 05:42:08 theres a few out there Aug 29 05:44:07 what are all the different thing i need to make that work? i'm sort of new-ish to android so still learning all the classes... seems like i need a: 1. RecyclerView with a CursorAdapter inside? 2. GridLayoutManager with section headers? Aug 29 05:49:25 CursorAdapter doesn't work with RV Aug 29 05:52:43 greves, i dont really know anything about sql, but that does sound right to me. as pointed out, you may not actually be able to use CursorAdapter, but im sure theres a somewhat equivalent approach Aug 29 05:53:27 g00s, i have a different RecyclerView that uses a CursorAdapter internally, seems to work OK Aug 29 05:54:03 inside onBindViewHolder i just move the cursor to the position in the list, and call the CursorAdaptor's own bindView method Aug 29 05:55:23 but that one is just a plain vertical list, so i'm still not sure about section headers & horizontal / gridlayouts Aug 29 05:59:00 I've used this in the past, but it may not be exactly what you have in mind Aug 29 05:59:01 https://gist.github.com/gabrielemariotti/e81e126227f8a4bb339c Aug 29 05:59:54 that looks pretty good Aug 29 06:00:38 you have to add the sections manually? Aug 29 06:02:54 yeah, iirc Aug 29 06:03:12 may be tougher to use with dynamic data Aug 29 06:06:51 whoops lol Aug 29 06:10:14 is there any way to use retrofit to make a call of the form http://endpoint/blah?multiple[]=1&multiple[]=2&single=thing Aug 29 06:11:28 ive had a look at QueryMap but as I cant use duplicate keys the param is only ever added with the first value as the data structure itself prevents me from adding more. also note the stupid syntax on the api so i cant use Map> Aug 29 06:11:35 which flags in my theme should i check to make sure that my status bar is drawn with my colorPrimaryDark, and that everything draws below the status bar? Aug 29 06:16:13 drinfernoo, well thats why i'm wondering if it should even be using a Cursor because the data is not actually dynamic, it just needs to be loaded once at the start of the app Aug 29 06:17:07 greves: you can also just use ListView and every row would be a GridLayout Aug 29 06:17:08 guys, how can i solve the ' Supported devices : 0 ' problem ? Aug 29 06:17:54 yeah, actually i probably wouldnt even use a cursor i wouldnt think Aug 29 06:18:04 again, not experienced with sql at all lol Aug 29 06:18:36 greves: do you really need sql just to store 200 staticword ? Aug 29 06:18:50 greves: can't you put them in a file, or even directly in source code :) Aug 29 06:18:53 Marlinski, they are foreign keys from another table with lots of data ;P Aug 29 06:18:59 oh I see :) Aug 29 06:19:23 maybe i'll try listview / gridlayout first Aug 29 06:23:32 Has anyone here used Cordova? I've used Appcelerator Titanium but I'm not sure if cordova might be better Aug 29 06:24:07 Marlinski, GridLayout or GridView? Aug 29 06:24:45 Hey , I am trying to instantiate a database class from inside a fragment , but it gives an error , DBAdapter db = new DBAdapter(this); Aug 29 06:24:58 ListView needs fixed height, doesn't it? Aug 29 06:26:27 I think you want gridview Aug 29 06:27:20 well, goodnight \o Aug 29 06:29:14 greves: you give BaseAdapter to your GridView Aug 29 06:29:47 greves: ideally you would have inherited BaseAdapter with like WordListAdapter extends baseAdapter Aug 29 06:29:57 right Aug 29 06:36:21 guys i have saved my android sdk to ~/android-sdk, now weirdly , i have another sdk inside it, under ~/android-sdk/Sdk - How did that end up inside it ? Aug 29 06:37:32 just delete and reinstall, why do you care Aug 29 06:41:19 if I use api 24, then i can use java8 / lambdas in java code, but will the compiled code work on older devices ? Aug 29 06:41:34 i wanna try this code https://github.com/jhegedus42/SodiumTest Aug 29 06:41:39 it needs java 8 Aug 29 06:42:05 joco42: Yes, lambdas get compiled as annonymous classes, it will work Aug 29 06:42:15 cool, thanks PhpXp Aug 29 06:42:30 joco42: default interfaces won't work though, you have to use minSdk 24 Aug 29 06:47:33 hmm Aug 29 06:47:36 right Aug 29 06:48:08 so most of java8 wont work ? Aug 29 06:50:42 joco42: Uh, as far as I know, everything should work (except default interfaces) Aug 29 06:50:59 joco42: You can always try it in an emulator Aug 29 06:51:03 ok, good to know Aug 29 06:51:05 :) Aug 29 06:51:09 yeah Aug 29 06:51:33 that is what gonna happe Aug 29 06:51:33 n Aug 29 07:10:11 how can i stop coder's block Aug 29 07:10:17 when you havent relesaed an app for 2 years Aug 29 07:13:44 phil__: Do something simple and fun? Aug 29 07:14:53 its not that easy Aug 29 07:15:09 even "simple" apps take a lot of work! Aug 29 07:20:12 phil__: for me I just have to get started Aug 29 07:20:37 what do you mean Aug 29 07:21:55 sometime I just can't touch my app or start a new app as I feel overwelmed by the amount of work Aug 29 07:23:05 but then, I would just solve one issue Aug 29 07:23:22 just one little thing, implement one little feature, or create one simple activity Aug 29 07:23:35 and then I'm back on track Aug 29 07:25:15 Sometimes I find it helpful to switch gears and work on something else. Aug 29 07:25:29 yep Aug 29 07:27:26 hi im trying to learn SwipeFresh but I cannot find any simple github repo that shows me how to use it? Aug 29 07:28:03 you mean swiping down to refresh some contents ? Aug 29 07:28:39 yes Aug 29 07:29:12 droidace: not very simple, but you can see how I implemented it https://github.com/Marlinski/Rumble/blob/master/app/src/main/java/org/disrupted/rumble/userinterface/fragments/FragmentStatusList.java Aug 29 07:29:23 search for swipeRefreshLayout Aug 29 07:29:46 i've almost got this working now with a RecyclerView and GridLayoutManager Aug 29 07:29:58 droidace: here is the xml file https://github.com/Marlinski/Rumble/blob/master/app/src/main/res/layout/fragment_status_list.xml Aug 29 07:30:05 the final problem is figuring out given a cursor whether or not i need to add a section header Aug 29 07:30:09 greves: congrats! Aug 29 07:30:24 i can get a separate cursor with the ID numbers of items who should have section headers in front of them Aug 29 07:30:33 Anyone use the python wrapper of uiautomator? Aug 29 07:30:37 but i kind of need to merge them or something... Aug 29 07:31:05 thanks Marlinski Aug 29 07:33:21 hi Aug 29 07:33:28 when i change source in eclipse and run for android don't change previous .apk file Aug 29 07:33:59 arancio: fair point i guess, but not unusual for swedish, not to speak of czech.. but I will consider Akebono. Thanks for the help : ) Aug 29 07:35:42 when i change source in eclipse and run for android don't change previous .apk file Aug 29 08:04:56 Goddamn power outage's making me lose development time X_X Aug 29 08:05:38 At least I have this 3G modem USB thingy Aug 29 08:06:24 sup VerbalKint Aug 29 08:06:46 raoul11: waiting for the power to come back Aug 29 08:07:03 raoul11: you? Aug 29 08:08:04 finishing another activity Aug 29 08:08:08 Hi, i'm trying adb reverse tpc:8082 tcp:8082 and it throws error: cannot bind to socket, is there a way to fix this? Aug 29 08:08:12 1500 more to go ): Aug 29 08:08:22 VerbalKint: Power outage? Where are you at? Aug 29 08:09:00 so close... if i can just figure out how to know when a row requires a section header, i'll have this working Aug 29 08:09:17 what do you mean section header ? Aug 29 08:09:18 i know intuitively, its "when the letter changes from A to B" Aug 29 08:09:51 well, the cursor has ~200 rows, and there are 26 letters, so my RecyclerView has 226 (approx) elements Aug 29 08:10:18 the "extra" 26 elements will show as a full-width header for each section Aug 29 08:10:47 greves: I thought that you would have one GridView per row Aug 29 08:10:57 so all the A would be in a Grid, all the B in another Aug 29 08:11:04 Marlinski hmm. Aug 29 08:11:16 right now i have RecyclerView with a GridLayoutManager Aug 29 08:11:29 so everything is packed in one single Grid ? Aug 29 08:11:36 you don't have ListView anymore ? Aug 29 08:11:58 raoul11: 1500? :O Aug 29 08:12:06 im exaggerating Aug 29 08:12:10 but its endless Aug 29 08:12:46 loke__: in a neighborhood on the outskirts of my city, so crappy service Aug 29 08:13:00 Marlinski, no listview, just a single RecyclerView with a GridLayoutManager Aug 29 08:13:16 raoul11: what would be the realistic approximation? Aug 29 08:13:20 greves: how are you going to draw a section header for every letter ? Aug 29 08:13:32 i keep saying two weeks Aug 29 08:13:32 Marlinski, that's my question ;P Aug 29 08:13:46 huhu, well I would figure it to be easier with a listview :) Aug 29 08:14:05 i basically have two layouts, layout/word.xml and layout/letter.xml, so i just want to pick one and inflate in the RecyclerView.Adapter Aug 29 08:14:32 maybe just move the cursor back one element and compare the first letter Aug 29 08:14:34 but how will it fill the entire row ? Aug 29 08:14:48 also you won't be able to wrap/unwrap with this Aug 29 08:14:55 raoul11: no, I mean about the number of activities Aug 29 08:15:02 Marlinski, that's already done with GridLayoutManager.SpanSizeLookup Aug 29 08:15:23 Marlinski, what do you mean wont be able to wrap? GridLayoutManager wraps automatically Aug 29 08:15:28 about 5 more Aug 29 08:15:42 VerbalKint: What country? Aug 29 08:15:49 greves: ok then, well try it, sorry I don't know much GridLayoutManager Aug 29 08:15:51 loke__: Romania Aug 29 08:15:58 Marlinski, ok thanks Aug 29 08:16:06 VerbalKint: Interesting. Is power outages commin there? Aug 29 08:16:08 common Aug 29 08:16:18 loke__: nope Aug 29 08:16:36 loke__: happened a couple of times this year Aug 29 08:17:09 VerbalKint: that's pretty common, imho Aug 29 08:17:21 loke__: and it's mainly because my supplier doesn't give a crap about upgrading their stuff in order to keep up with the growth of the neighborhood Aug 29 08:17:48 * loke__ can remember experiencing 2 power outages in the last 20 years. Aug 29 08:18:03 (in the two different countries that I've lived during that time) Aug 29 08:18:51 loke__: lol Aug 29 08:19:46 VerbalKint: I presume you live in an old neighbourhood? I recall heading about a lot of infrastructure problems in rumania back in the 90's and earlier. Aug 29 08:19:55 Romania even Aug 29 08:20:09 loke__: Rumania? Where are you from? :P Aug 29 08:20:46 loke__: quite the opposite. 16 years ago there were only corn fields here. Aug 29 08:20:49 VerbalKint: I'm from Sweden. But live in Singapore since a long time back. And yeah, I typoe'd your country's name. I'm sorry about that. Aug 29 08:21:36 Romania is spelled "Rumänien" in Swedish, so I think that's why I typoed the way I did. Aug 29 08:22:16 loke__: neah, I don't care about you typoing the name. I know that Rumania is how western countries used to call this country. Aug 29 08:22:28 loke__: was just curious from which one you come from :D Aug 29 08:22:35 VerbalKint: I'm sure that's where the swedish name of it comes from. Aug 29 08:24:40 loke__: they changed it to Romania for political and cultural reasons. Official history books say that we're the descendants of an ancient people called "Dacians" (which we're wiped out) and Roman colonists while we were under their occupation. Aug 29 08:25:10 Oh, that's where the car name comes from? Aug 29 08:25:35 loke__: yeah Aug 29 08:25:41 I'm downloading android studio and I don't want android studio to download all of the SDK's/NDK's because I already have those on my computer. How do I point it towards the SDK/NDK folders? Aug 29 08:27:44 * loke__ just realised that Bran Castle is not the site of the fimiling of Nosferatu Aug 29 08:27:56 It was actually filmed in Slovakia. Aug 29 08:31:58 Older Romanian dictionary definitions of "rumân": peasant, Middle Age name given to southern Romanian serfs Aug 29 08:34:03 loke__: oh wait, there's this wiktionary article https://en.wiktionary.org/wiki/român Aug 29 08:34:46 loke__: note the "re-Latinization" in quotes :D Aug 29 08:44:50 But enough of my silly tangents :D Aug 29 08:50:13 anyone using linux for android dev? Aug 29 08:50:20 as base / main OS? Aug 29 08:52:39 of course Aug 29 08:52:44 probably many people Aug 29 08:53:08 err seekbar and minval Aug 29 08:53:59 CodFection: Yep, EOS here Aug 29 08:54:28 I wanna ask if it would be better to use VM (linux) for android dev or dual boot. Aug 29 08:54:47 hi Aug 29 08:55:09 CodFection: I guess the only answer is what are you more comfortable with Aug 29 08:55:39 Marlinski: I am confortable with vms but not sure if they will be slow for android dev Aug 29 08:55:49 i5 laptop Aug 29 08:56:01 CodFection: Depends what you use to dev Aug 29 08:56:09 I've got some display issues with my quick/power widget fpr the app I'm developing. I've placed a file called widget.xml into res/layout directory. This file has a relative layout parent, if ypu want I could paste it on a pastebin service. I'm trying to figure out why the widget is bad displayed (I mean size and items). Aug 29 08:56:19 xarkes: mostly into testing Aug 29 08:56:42 this is widget.xml: http://pastebin.com/dRZfUwyi, and this the screen with my widget: http://m.imgur.com/QtmHmX4 Aug 29 08:56:56 How could I fix the xml in order to get the widget like the top widget either the bottom widgets? (as size and content size/position and visibility) Aug 29 08:57:08 Any ideas? Aug 29 08:57:38 CodFection: Try with a vm, configure it as you want and if it's too slow install a dual boot Aug 29 08:58:20 xarkes: what linux distro are u using? Aug 29 08:58:24 I have my device sharing the internet in hotspot, and connected to it with my laptop, how do I find the device ip address? Aug 29 08:58:41 I use arch but many people don't like it, give it a try if you have the time to install and configure it Aug 29 08:58:55 CodFection: for developping I would suggest ArchLinux Aug 29 08:59:18 it's very up to date with latest firmware and AUR makes it so easy to install third party software Aug 29 08:59:25 Marlinski: I am not sure if pacman would have the packages I need.. Aug 29 08:59:27 unofficial* Aug 29 08:59:42 CodFection: did you look on AUR ? Aug 29 08:59:46 Marlinski: are you using arch as your main OS? Aug 29 08:59:49 CodFection: there are packages manager like yaourt which fetches packages from the AUR Aug 29 08:59:50 yes Aug 29 09:00:07 yup I did but people in #archlinux tell me yaourt might not be safe Aug 29 09:00:21 Marlinski: what DE ? Aug 29 09:00:28 CodFection: https://github.com/Marlinski/dotfiles Aug 29 09:00:39 I use android-studio to develop Aug 29 09:00:45 (on android) Aug 29 09:00:56 on arch right? Aug 29 09:01:03 nice. Aug 29 09:01:08 yes Aug 29 09:01:13 i3? Aug 29 09:01:43 why are you concerned about your cpu Aug 29 09:01:48 indeed, but that will be out of topic, you should ask arch related question to #archlinux Aug 29 09:02:16 xarkes: because its i5 ( dual core and 4 cores with hyperthreading) Aug 29 09:02:37 anyone knows how to find my computer's ip address from the device that is giving me hotspot? Aug 29 09:03:11 As Marlinski said it's becoming out of topic, but the best thing you could do is to give it a try Aug 29 09:03:37 thanks Marlinski. I was not sure if arch would provide comfort in android dev. thanks for clarifying. I might just go for it. Aug 29 09:03:52 huptoka: you mean your wifi Ip ? Aug 29 09:03:56 nvm found it Aug 29 09:03:59 or routeur IP Aug 29 09:04:00 ok :) Aug 29 09:05:13 I'm downloading android studio and I don't want android studio to download all of the SDK's/NDK's because I already have those on my computer. How do I point it towards the SDK/NDK folders? Aug 29 09:05:22 installing android studio** Aug 29 09:06:22 Ah nevermind it apparently tells me to choose to install it Aug 29 09:21:45 Hello. I have a brandless DVR and 2 cameras connected to it. I want to try to get live feed from the dvr to an android app, but I'm not sure how to start. Does anyone have any leads? Aug 29 09:22:58 what is dvr? Aug 29 09:23:11 this is android dev Aug 29 09:23:18 please take that question to the relevant channel Aug 29 09:23:38 Kamihan: ##hardware perhaps Aug 29 09:24:26 Kamihan: if your dvr has a server with web interface, you can open Android chrome browser to it Aug 29 09:25:43 i have Realm Object which contains RealmList of other RealmObject Aug 29 09:25:47 squ: it does, I'll try that, ty Aug 29 09:26:07 do i need to the other RealmObject set PrimaryKey? when they are just 2 strings Aug 29 09:26:32 and those 2 string will be repeatable Aug 29 09:26:32 hi Aug 29 09:26:39 it looks like linked list, is it Ashiren? Aug 29 09:26:42 I'm using gson to get my object from json string Aug 29 09:27:00 my problem is das my string has a parent key which gson should not parse Aug 29 09:27:09 squ: huh? no Aug 29 09:27:17 { user: { id: 0, name: test }} Aug 29 09:27:30 i have Article object, which contains List of Paragraph Aug 29 09:27:37 Paragraph has type and data Aug 29 09:27:38 the user part should be skipped and just its attributes should be used to creat a User.class object. Aug 29 09:27:44 somebody an idea how I can solve this? Aug 29 09:28:56 CodFection: Have you use Arch before? Aug 29 09:29:11 in vm markyosullivan Aug 29 09:29:24 why? markyosullivan. I still suffer during installation Aug 29 09:38:11 Marlinski, works perfect now :D time to figure out how to do the onClickListeners... haha Aug 29 09:39:41 ...is anyone aware yet of a way to unlock the N5X bootloader without being able to boot android Aug 29 09:39:59 I'm dying on the inside Aug 29 09:40:06 Huskehn, fastboot oem unlock? Aug 29 09:40:21 I locked it. Aug 29 09:40:27 CodFection: From what I've heard about Arch it just seems like it'd take a while to set up compared to other distros Aug 29 09:40:43 doesn't matter what distro you want to use, whatever you enjoy using Aug 29 09:40:51 yea true markyosullivan Aug 29 09:40:59 what distro do you use markyosullivan for android dev. Aug 29 09:41:05 I'm using Elementary OS and I think it looks great which is why I like using it Aug 29 09:41:15 Huskehn, locked in in what way? Aug 29 09:41:19 elementary looks beautiful Aug 29 09:41:26 Huskehn: It is beautiful Aug 29 09:41:28 markyosullivan: as your main OS? Aug 29 09:41:33 My dev OS Aug 29 09:41:36 oh I was in here yesterday Mavrik, this phone is dunzo Aug 29 09:41:36 nice. it looks like macOS. Aug 29 09:41:37 Elementary is nice yeah. Aug 29 09:41:37 I have Windows for games Aug 29 09:41:45 so you dual boot markyosullivan ? Aug 29 09:41:48 Yep Aug 29 09:41:51 cool. Aug 29 09:41:54 thanks :) Aug 29 09:42:09 Dual booting is great, best of both worlds Aug 29 09:42:13 I was running 6.0.1, and I grabbed the OTA for Android N and flashed it in TWRP. then my phone got stuck in a bootloop. so I tried clearing cache and other things, and then I had the brilliant idea to lock the bootloader Aug 29 09:42:41 Huskehn, so what? Unlock it again. Aug 29 09:42:47 You don't need a running OS for that. Aug 29 09:43:22 ...but the bootloader doesn't allow it? Aug 29 09:43:37 C:\>fastboot flashing unlock Aug 29 09:43:37 ... Aug 29 09:43:37 FAILED (remote: oem unlock is not allowed) Aug 29 09:43:37 finished. total time: 0.004s Aug 29 09:43:51 There's a bit that has to be flipped by the OS if I understand correctly Aug 29 09:44:02 and that keeps you from unlocking it again Aug 29 09:45:58 it's "fastboot oem unlock" Aug 29 09:46:39 If you managed to do something as stupid as disabling oem unlock from GUI while having a 3rd party ROM on... you're SOl. Aug 29 09:46:52 yeah that's... yep. Aug 29 09:47:01 that is indeed what I did Aug 29 09:47:20 Well... you can try reflashing factory image. Aug 29 09:47:27 But you'll probably have to send it back for warranty. Aug 29 09:47:52 oh man. flashed every one. and a TOT file from xda. I already have an RMA open with Google Fi, but I have a flight tomorrow Aug 29 09:48:10 so I've been trying to fix it by screaming really loudly Aug 29 09:49:19 I've been trying to modify TOT/KDZ image for the phone to disable the lock. I'll probably break it more Aug 29 09:56:30 I think what I'm looking for is a FRP bypass since that unlocks the bootloader also? but it seems to be frowned upon to discuss that on xda Aug 29 09:57:35 RIP my N5X, we had a good two weeks Aug 29 10:04:29 greves: so how did you do it finally ? GridLayoutManager ? Aug 29 10:05:10 Marlinski, yes, then i needed to add a bunch of math to get the correct position in the grid Aug 29 10:05:55 cool Aug 29 10:08:53 now i just need to swap the fragment displayed in the viewpager when a word is clicked, and bob's your uncle Aug 29 10:13:33 arancio: I now managed to play a wav file using AudioTrack. If I try to play 2 simultaneous AudioTracks they seem to interfere with each other, do you (or anyone else) have any tips for where to find info on solving this? I've searched, but so far not found a solution. Aug 29 10:16:01 gnyrfta: please use the nick that you want. I was joking. Aug 29 10:16:28 gnyrfta: I think that you are supposed to mix your sounds yourself and feed the result in ONE single AudioTrack Aug 29 10:18:10 gnyrfta: I never used it myself. I read about it in "The busy code's guide to Android development" Aug 29 10:18:24 arancio: I do understand that ; ). Aug 29 10:19:30 arancio: ok, I'll try to see if I can get ahold of that text. I got the feeling it was something like that Aug 29 10:58:49 Hey all, I asked on #android but I was referred here. My problem is that whenever I run anything in Android Studio emulator, I cannot type with hardward keyboard. Soft keys work just fine. My setup is Studio 2.1.3, JDK 1.7.0_80, Xubuntu 16.04.1. Aug 29 10:59:42 Has anyone stumbled upon a similar incident? Googling hasn't given me a solution, I've tried vast amounts of various iBus tricks etc. Aug 29 11:01:25 I downloaded android studio and I'm trying to point it to JDK 1.8 but it keeps saying the directory isn't a valid JDK. Aug 29 11:01:33 I literally just installed it from here: http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html Aug 29 11:02:01 what is the best way to receive a callback on each view has been added in a activity? Aug 29 11:02:16 but the thing is the folder that it installed to is named: jre1.8.0_101 and not jdk1.8. Ah so confused... Aug 29 11:02:47 ClydeSlims: No, search for "ubuntu install java 8" and follow those steps, in order to install it using apt-get. Aug 29 11:03:23 ClydeSlims: http://www.webupd8.org/2012/09/install-oracle-java-8-in-ubuntu-via-ppa.html Aug 29 11:03:29 using windows Aug 29 11:03:35 ClydeSlims: Ah sorry Aug 29 11:04:40 ClydeSlims: you donwloaded the "exe" one right? Aug 29 11:04:54 I'm having a problem with EditText inside of TextInputLayout. Whenever I use setError on EditText the exclamation marks end up in weird places -> http://imgur.com/a/MO14h (it should be on EditText's right side). I'm using the latest android support 24.2.0. This issue does not occure in 24.1.1. Any ideas? Aug 29 11:08:20 minas114: Yeah. It installed to a folder called "jre1.8.0_101 Aug 29 11:08:37 which is weird because the previous version: 1.7.0 installed to a folder called "jdk1.7.0_79" Aug 29 11:08:50 and I can't use android studio as it is on my computer without jdk1.8, but alas :( Aug 29 11:10:35 ClydeSlims: Yeah, the jdk folder should be there as well. Aug 29 11:13:14 minas114, Ahh. I specified it to install to my Y:/ drive and it only installed the jre there. It installed the jdk on my C:/ drive. Weird. Aug 29 11:14:42 http://stackoverflow.com/questions/39204909/android-views-creation-callback Aug 29 11:17:02 Anyone? Aug 29 11:19:21 build/core/product_config.mk:234: *** Can not locate config makefile for product "falcon". Stop. any help with this error ? Aug 29 11:25:34 good afternoon people Aug 29 11:30:18 Hmm now I'm getting this error when trying to view a layout xml file: "Android Nougat requires the IDE to be running with Java 1.8 or later" - Android Studio Aug 29 11:31:00 It linked me to this link: https://developer.android.com/preview/setup-sdk.html which doesn't even work Aug 29 11:32:46 using API24 Aug 29 11:32:49 ClydeSlims: check which one it's using. It's somewhere in File menu Aug 29 11:33:05 minas114, I just changed it to 1.8 though. Aug 29 11:33:08 Hi, I'll try to repeat my question since noone had any ideas yet. I'm having a problem with EditText inside of TextInputLayout. Whenever I use setError on EditText the exclamation marks end up in weird places -> http://imgur.com/a/MO14h (it should be on EditText's right side). I'm using the latest android support 24.2.0. This issue does not occure in 24.1.1. Any ideas? Aug 29 11:34:21 ClydeSlims: maybe you only changed the one that is used for compiling the project, not the one that runs the IDE. Aug 29 11:34:40 ClydeSlims: I think you need to check the default java on your PATH. Aug 29 11:35:08 minas114, I'll try changing that. Also how do I change the IDE one? Aug 29 11:35:59 ClydeSlims: Okay, you said you did a change. Did you do it through "File - Project stucture" (something like that)? Aug 29 11:36:34 minas114, yeah that's where I did it. Aug 29 11:36:53 minas114, also in my PATH it's set to C:\ProgramData\Oracle\Java\javapath Aug 29 11:36:54 ClydeSlims: Alright. The "IDE" one is the one I described with the PATH variable. Aug 29 11:37:19 ok so go there, and there's a link. Right click - properties to see where it points to. Aug 29 11:37:37 minas114, errm right click what? I'm in my environment variables Aug 29 11:38:28 Should I remove that from my path and add this? "Y:\Java\jdk1.8.0_101\bin" Aug 29 11:38:35 No Aug 29 11:38:48 does anyone know how to handle firebase debug mode and production mode Aug 29 11:39:07 ClydeSlims: with file manager, go to that path: C:/ProgramData... Aug 29 11:39:23 and there will be java.exe *shortcut* Aug 29 11:39:25 yeah I'm there Aug 29 11:39:37 right click - properties Aug 29 11:39:43 yup Aug 29 11:39:48 1.7? Aug 29 11:40:07 Its target links to Y:\Java\jre1.8.0_101\bin\java.exe Aug 29 11:40:36 ClydeSlims: so it's correct. have you tried restarting the IDE? Aug 29 11:41:06 yeah, I also just changed the default android SDK location for the project so Ill try restarting it again Aug 29 11:43:10 hmm, "Gradle project sync failed" "Cause: failed to find target with has string 'android-24' in Y:\AndroidSDK\android-sdk-windows Aug 29 11:43:25 let me install it and see if that helps Aug 29 11:44:43 Is there any documentation about the subfragment lifecycle? I have the problem that onViewCreated of the parent fragment is executed before onCreateview of the child fragment even though I commit the child fragment in onCreateView of the parent fragment. Aug 29 12:06:02 Can't believe I have to do this https://stackoverflow.com/questions/16585557/extra-padding-on-textview-with-html-contents Aug 29 12:06:15 What the hell is wrong with this API? Aug 29 12:06:58 Probably the fact that TextView isn't built to show HTML content. Aug 29 12:14:12 hi, anyone knows how to prevent screen unpinning on a device with hardware buttons? Aug 29 12:15:18 (without rooting the device) Aug 29 12:17:23 What's "screen unpinning"? Aug 29 12:17:45 exiting the screen pinning mode Aug 29 12:17:57 when you enable pinning on a device and pin an app Aug 29 12:18:01 it becomes "locked" Aug 29 12:18:27 pressing back, home or recents pops a system toast saying screen is pinned Aug 29 12:18:51 to unpin it you have to press back+recents Aug 29 12:19:15 for enterprises google developped a special mode to lock the task tho Aug 29 12:19:33 which works the same except you're not meant to be able to unpin the app Aug 29 12:19:39 for kiosk mode apps like mine Aug 29 12:20:02 however, I'm still able to escape the app Aug 29 12:20:10 That sounds like a device bug. Aug 29 12:20:46 I wonder because, on device with software buttons, android is just "hiding" home and recents button Aug 29 12:21:12 not sure they really disabled them.. that would be silly but.. never know Aug 29 12:23:40 hi all - i am trying to get the BLE sample to work but its not picking up my device that needs to be paired Aug 29 12:29:19 hi fels; are you able to pair it with regular system bluetooth? Aug 29 12:29:45 bluk: what do you mean ? Aug 29 12:30:02 using the default way, via android menus Aug 29 12:32:10 bluk: just checked - yes it can see it and asks for password - Aug 29 12:32:16 14:32:45  I keep getting failed to find symbol Class, even though I have the module containing the Class as a dependency. How can I fix this? Aug 29 12:32:52 ok so it's not a system/hardware problem which is good news; however it doesn't give any lead to solve your problem then sorry :) Aug 29 12:36:24 bluk: is that for me or barq ? Aug 29 12:37:27 fels: you Aug 29 12:37:48 if the normal bluetooth would have failed, that would have meant it as probably another problem unrelated to your code Aug 29 12:38:31 No, I have a problem that a class in a lib is not found even though it is built first in the build process and is added as a dependency Aug 29 12:38:36 according to SO there are a number of problems in BLE and connection can take up to 45seconds Aug 29 12:38:51 fels, if you didn't check this maybe it can help http://stackoverflow.com/questions/17870189/android-4-3-bluetooth-low-energy-unstable Aug 29 12:39:26 bluk: thanks .. but that sucks :) on the manifest file there's a comment > http://pastebin.com/VuUMq408 what does that mean ? Aug 29 12:39:40 bluk: thank you Aug 29 12:40:52 it means that if you declare the mentionned tag, and try to install it on a non-BLE capable device, the app won't install stating that it miss the required feature Aug 29 12:41:04 Ahh android studio just keeps pulling errors on me: Error:(24, 13) Failed to resolve: com.android.support:appcompat-v7:24.2.0 Aug 29 12:41:15 Is this something I need to install via the SDK manager? Aug 29 12:42:08 Maybe it is a problem that I have several modules that depend on this java dependency? Aug 29 12:42:22 bluk: thanks Aug 29 12:42:42 app->lib1->lib2->java module Aug 29 12:43:04 barq: shouldn't be a problem if multiple modules have the same dependency Aug 29 12:43:10 the reverse would be a problem tho Aug 29 12:43:23 Do you need to add something additionally for transitive dependencies? Aug 29 12:43:24 if a module depends on 2 libs which share a common identifier Aug 29 12:43:39 then you would need to state the "full path" (not sure about terminology) Aug 29 12:43:40 As app also needs the java module Aug 29 12:43:54 aka com.libname.blah.Class Aug 29 12:43:55 ClydeSlims: think so. Try the Support Repository. Aug 29 12:44:25 Right now I added compile project(':common-dependency') to all modules that need it Aug 29 12:44:43 So it could be duplicated if transitive dependencies are resolved Aug 29 12:45:12 barq: you can try making a new project, with only that dependency, and see if you can access the class from there Aug 29 12:45:44 The dependeny is plugin type 'java' Aug 29 12:45:52 VerbalKint, it's already installed under "Extras" though. Rev. 36 Aug 29 12:45:57 The module that requires it ia plugin 'library' Aug 29 12:46:03 bluk: if it is connecting via normal bluetooth and I can see it in another BLE config tool does it mean the hardware is a ble hardeare ? Aug 29 12:47:01 fels: I don't think so; however you can check this, in the SO page I linked there's code to detect if device is BLE capable Aug 29 12:47:57 ClydeSlims: maybe your targetSdk and minSdk need to be adjusted Aug 29 12:48:57 bluk: the chop is > BDE-BLEM201 Aug 29 12:49:10 Well I changed it to API23 and on my activity_main.xml I'm getting rendering problems. Bah it seems nothing is working. Aug 29 12:49:28 oops > bluk the CHIP :) not chop Aug 29 12:49:31 okay this chip is BLE able for sure Aug 29 12:50:55 ClydeSlims: it should be defined in the manifest, not the layout Aug 29 12:51:13 or in build.gradle if you use android studio Aug 29 12:51:26 Well the rendering problems is this: "Android Nougat requires the IDE to be running with Java 1.8 or later" when I try to view the xml layout Aug 29 12:51:39 I can't seem to be able to view it, I can only edit the code, but I'd like to be able to view it. Aug 29 12:51:53 I've installed Java SDK 1.8 and pointed my project settings towards it. Aug 29 12:52:23 bluk: yes that's what I found too. just strange how i can't get the sample to connect ;( Aug 29 12:52:48 ClydeSlims: try to clean (if you're using eclipse) or rebuild project (if you using studio) Aug 29 12:53:59 bluk: Okay I'll try but I've restarted Android Studio multiple times after installing tons of stuff from the Android SDK Manager. Aug 29 12:54:50 bluk: Nope, still the same 'Rendering Problems' error. Aug 29 12:54:52 fels: at this point I'd try to check step by step to isolate the line of code that doesn't work as expected and investigate from there Aug 29 12:55:04 ClydeSlims: is your device on Nougat? Aug 29 12:55:19 bluk: No it's on lollipop. Aug 29 12:55:20 what is the difference between inflating a fragment as a layout and declaring a tag in a layout? Aug 29 12:55:29 bluk: But I mean I'm just trying to view the XML layout Aug 29 12:55:31 bluk: - I will try again thanks Aug 29 12:56:09 ClydeSlims: then try targetting api 21 or 22 depending on which lollipop you have Aug 29 12:57:05 bluk: Changed to both Api 22 and 21, "Rendering Problems: Missing styles. Is the correct theme chosen for this layout?" Aug 29 12:57:16 "Failed to find style 'textViewStyle' in current theme (4 similar errors not shown) Aug 29 12:57:17 " Aug 29 12:57:45 so the theme you used is exclusive to Nougat? weird but possible Aug 29 12:58:23 however it makes sense that in that case nothing was displayed Aug 29 12:58:35 bluk: I don't even know. I just installed android studio and made a blank hello world project. Aug 29 12:58:59 bluk: I mean it installs and runs fine on my device, I just want to be able to view the XML layout on my computer so I can add GUI easily. Aug 29 13:00:07 ClydeSlims: what happens when you click on res/layout/blah.xml ? Aug 29 13:00:41 only textmode works? Aug 29 13:00:53 bluk: You mean activity_main.xml? It opens up the layout editor and shows me this 'Rendering Problems' error Aug 29 13:02:17 bluk: Okay I managed to get it to work by rebuilding gradle or something it pointed me to. But what about the higher API versions? Eventually I'll get Nougat on a new phone and I'm not sure how to solve that other rendering problems error about Java 1.8. Aug 29 13:02:41 bluk: Or is it because I have the layout device set to "nexus 4", if I change it to a device that uses those higher APIs it should work? Aug 29 13:03:00 bluk: Ah nope. Aug 29 13:03:15 bluk: 'Android Nougat requires the IDE to be running with Java 1.8 or later' dang! Aug 29 13:03:36 higher APIs won't be a problem as theorically googles guarantee retrocompatibility to a certain extent Aug 29 13:03:59 so your API X code would run on API Y>X Aug 29 13:04:06 Yeshua of Nazareth, why is it so hard to make a textview that doesn't spawn 2 extra newlines for each

? Aug 29 13:05:19 in my gradle: minSdkVersion 15 targetSdkVersion 24 Aug 29 13:05:30 bluk: - the plot thickens :) - same app on a HTC device now finds the device ..... Aug 29 13:05:52 ClydeSlims: why target Nougat? 21 or 22 should be enough Aug 29 13:06:28 No reason not to target the latest version Aug 29 13:06:29 fels: good that tells you something Aug 29 13:06:42 bluk: Eventually when I get a device that runs Nougat I'd like to be able to use the latest SDK version.. Aug 29 13:06:52 fels: either the chip is flawed, or there's a system setting somewhere that interferes Aug 29 13:06:57 I just don't understand why it's complaining that I need Java 1.8 when I literally have it installed. Aug 29 13:07:11 ClydeSlims: again, you do not need to target api24 to be able to run on it Aug 29 13:07:16 Check Help > About it it's using java8 Aug 29 13:07:20 ClydeSlims: Nougat device will run your api21 code just fine Aug 29 13:07:21 bluk: But to view the layout I do Aug 29 13:07:40 Probably needs to set JAVA_HOME for it to pick it up Aug 29 13:07:52 SimonVT: in windows? Aug 29 13:08:03 Wherever Aug 29 13:08:31 ClydeSlims: also there's a possibility that when you created the project, using API24 as target, it created some dependencies that weren't rolled back when you then change to API21 target Aug 29 13:08:35 I had this problem Aug 29 13:08:50 bluk: doesn't that mean the device (LG) is flawed vs the HTC is ok ? Aug 29 13:09:10 fels: it could be, but also could come from the settings Aug 29 13:09:30 I don't get a thing guys. In a fragment, what's the container parameter of the onCreateView method? Aug 29 13:09:45 bluk: you mean settings on the LG device ? Aug 29 13:09:55 gdrc: there's one in onAttach(Activity) Aug 29 13:10:20 gdrc: The container (ViewGroup) you're adding it to Aug 29 13:10:38 but the container in a viewpager Aug 29 13:10:43 which has not child Aug 29 13:11:18 ah I just set JAVA_HOME in my system variables, unfortunately still not working, same error hm Aug 29 13:11:25 fels: yep, it's just a theory tho; however it seems more likely than a faulty hardware Aug 29 13:11:36 Not sure what you're saying. If the container is a ViewPager, then that's where the fragments view will be added Aug 29 13:11:49 ClydeSlims: try creating a new project with API21 or 22 target and see how it works Aug 29 13:12:01 bluk: thanks Aug 29 13:12:26 bluk: okay sec Aug 29 13:12:52 Find out why your IDE is not using java8 instead of targetting old versions Aug 29 13:13:01 Everyone else figured it out, I'm sure you can as well Aug 29 13:14:14 SimonVT, have I done screen supporting correctly now that I have a layout-sw360dp and one for tablets, then I have values files in hdpi, mdpi etc folders where I have values for how large ui elements should be in the layout. So buttons etc get their width/height from the correct value file depending on screen density. Sound correct ? Aug 29 13:14:51 SimonVT: so why ViewGroup rootView = (ViewGroup) inflater.inflate(R.layout.fragment_screen_slide_page, container, false); throws android.content.res.Resources$NotFoundException: Resource ID #0x7f030017 Aug 29 13:16:27 I don't know, check your layout and ensure the all resources are available on all platform versions and configurations Aug 29 13:17:05 bluk: Nope. Made a new project, set min sdk at 21, still the same problem when I try to view activity_main.xml in the layout editor: "Rendering Problems - Android Nougat requires the IDE to be running with Java 1.8 or later" Aug 29 13:17:42 Bernzel: Nope. You need a layout folder that gets used by default. Then have a layout-whatever for tablets or other stuff. Dimensions should be based on screen size, not density Aug 29 13:17:45 Something is very wrong. It's like it can't find my jdk1.8 in the IDE settings even though I have it set in my path variable in windows. I even made a JAVA_HOME system variable and set it to the 1.8 JDK path. Same problem. Aug 29 13:18:12 SimonVT: ClydeSlims you kept the targetSdk on 24, I meant *target* 21 Aug 29 13:18:24 SimonVT: thank you man. the layout was only declared of landscape mode. Aug 29 13:18:31 SimonVT: you should work for google Aug 29 13:18:33 but right it should still work Aug 29 13:18:36 ? Aug 29 13:18:50 SimonVT: my bad, wrong tab sorry Aug 29 13:19:20 I've got a customer reporting a bug, seems to be a device (Samsung J3) specific problem. The actionmenu popup on the Toolbar seems to ignore the applies popupTheme style. What's the best way of debugging this if I do not have access to the device myself? Aug 29 13:19:21 ClydeSlims: make a new project with targetSdk 21 (forget 24 for now, this is just a test) Aug 29 13:19:39 bluk: but I did that. All it asked for was min sdk and I set that to 21 Aug 29 13:19:52 lemme check Aug 29 13:20:07 Don't waste time targetting older platforms, get your IDE to use java 8 Aug 29 13:20:12 yeah definitely doesn't ask for 'target SDK', just 'minimum SDK' Aug 29 13:20:14 but how? Aug 29 13:20:24 I can't seem to make it find JDK 1.8 Aug 29 13:20:31 i'm a bit confused about ViewPager & master/detail & fragments... one of the fragments in my FragmentPagerAdapter is a recyclerview, i want to set an onClickListener for each item in the adapter that will show a detail fragment, how do i do that? Aug 29 13:20:40 Google it, see if others have had issues Aug 29 13:20:51 I have :/ Unfortunately can't find any solutions. Aug 29 13:20:57 Any that worked for me that is. Aug 29 13:21:01 Setting JAVA_HOME have always worked here Aug 29 13:21:06 my MainActivity is Aug 29 13:21:18 Maybe you set it wrong? Who knows, you haven't provided any information Aug 29 13:21:22 ClydeSlims: if you didn't, restart Studio after setting home Aug 29 13:21:30 SimonVT: Do you set JAVA_HOME to the JDK folder? Because that's what I did. Or do you set it to the bin folder in the JDK folder? Aug 29 13:21:36 and then the list fragment xml layout is simply Aug 29 13:21:38 bluk: Yeah I reset it. Aug 29 13:21:39 The jdk folder Aug 29 13:21:59 SimonVT: Yup, I set JAVA_HOME to the jdk folder and also included the jdk folder in my Path variable Aug 29 13:22:21 is there nowhere in the IDE where I can set this setting besides the project settings? Aug 29 13:22:27 in the path you put the bin folder right? Aug 29 13:22:49 bluk: yes. for JAVA_HOME I just put the JDK folder Aug 29 13:22:58 but for path I put the bin folder Aug 29 13:23:45 looks good then.. Aug 29 13:24:18 can you paste the exact error you get? Aug 29 13:24:41 SimonVT, oh yes of course. "Dimensions should be based on screen size, not density" so you mean that those values files I have that define ui sizes, should be catogerized by large, xlarge etc instead of dpi? Aug 29 13:24:48 looks like your studio is missing files Aug 29 13:25:04 "Rendering Problems Android Nougat requires the IDE to be running with Java 1.8 or later Install a supported JDK" Aug 29 13:25:13 Stick to either large, xlarge, etc, or swdp. Don't mix Aug 29 13:25:32 ok thanks Aug 29 13:28:00 What Java type do you use to represent the Datetime type from a database usually? Aug 29 13:29:50 ClydeSlims: what OS do you work with? on your comp Aug 29 13:29:58 bluk: Windows 10 Aug 29 13:30:06 arancio, ZonedDateTime from ThreeTenABP if possible. Aug 29 13:30:18 there's not much info on this error in windows Aug 29 13:30:26 I'd try to remove other JDK's Aug 29 13:30:49 so that studio has no choice but to use 1.8 Aug 29 13:31:13 Mavrik: thanks Aug 29 13:31:21 arancio, otherwise, Calendar Aug 29 13:32:32 Ah I think I'll just give up and use the old API layouts. Though I keep getting that weird 'failed to find style textView' error in the layout editor. Aug 29 13:33:17 ClydeSlims: this SO thread might help http://stackoverflow.com/questions/37933651/android-24-requires-jdk-1-8-or-later-to-compile Aug 29 13:33:55 ClydeSlims: I wouldn't give up, something seems definitely fuxed in the install Aug 29 13:34:02 means, more problems in the future Aug 29 13:35:15 can anyone help me out on line 136? https://dpaste.de/ZT7a Aug 29 13:35:19 also seems unrelated, but maybe win10 is blocking some of android studio downloads/permissions; maybe whitelist it, run as admin, etc. Aug 29 13:35:39 bluk: Yeah I don't know. I mean I installed it properly. I could try running as admin sec Aug 29 13:35:44 i think i'm headed in the right direction because its working well so far... snippet should be self explanatory i stripped down to basics Aug 29 13:36:33 bluk: Yeah no go same error. I've also tried everything in that topic you linked before, nothing worked. Aug 29 13:36:38 greves: line 136 is where you put the code that you want to run when the button is pressed Aug 29 13:36:39 goal is to have the button click open the detail view with the given `_id` Aug 29 13:36:42 Oh well, just gonna hope nothing else comes up when I'm using the old layout. Aug 29 13:37:00 ClydeSlims: at this point I would reinstall studio as admin Aug 29 13:37:08 bluk, yes i know - how can i change out the MyFragmentClass instance with some other fragment and that _id parameter? Aug 29 13:37:10 bluk: alright Aug 29 13:37:29 ClydeSlims: also, with other JDKs uninstalled before Aug 29 13:38:07 do i need a second activity or can i add it in the same activity? Aug 29 13:38:38 ideally i would like master/detail (left/right on tablet, swap on phone) Aug 29 13:39:11 i have AnotherFragment class and another_fragment.xml layout Aug 29 13:39:20 (which takes _id as parameter) Aug 29 13:39:55 omfg, I finally managed to get the damn bold text working and it took me only ~2 hours X_X Aug 29 13:41:34 greves: sorry I'm not sure about the big picture in your case; if you're just wondering how to replace a fragment with another there are plently of tutorials out there; you'd have to do a transaction but I can't help with that stuff, tutos would help you better Aug 29 13:41:44 it seems like most of the example code i can find always has a fragment container with an id, and calls FragmentTransaction#replace Aug 29 13:41:54 but i dont have a fragment container with an id, just a ViewPager with an id Aug 29 13:42:04 but can i use the ViewPager as the id to replace? Aug 29 13:42:48 bluk, i guess i'm trying to figure out what to do when my fragment container is a ViewPager and i need to do a transaction Aug 29 13:42:59 Spoke too soon X_X Aug 29 13:43:27 any native english speaker here? Aug 29 13:43:32 VerbalKint: I didn't have any problems putting bold text in html'es textview Aug 29 13:44:07 gdrc, yes Aug 29 13:44:24 greves: how's called in english who bite? Aug 29 13:44:35 "who bite" ? Aug 29 13:44:38 gdrc what language u speak Aug 29 13:44:48 greves: this looks related: http://stackoverflow.com/questions/7723964/replace-fragment-inside-a-viewpager Aug 29 13:44:58 gdrc: woof woof? Meow meow? Cucurigu? :D Aug 29 13:45:10 greves: you know, when you bite somebody with your teeth Aug 29 13:45:31 VerbalKint: no I mean, does a word like 'biter' exist? Aug 29 13:45:32 VerbalKint: is your problem the bottom lines that are added because of

? Aug 29 13:45:40 gdrc, yes...? Aug 29 13:45:57 bluk: yeah, I'm using that for making a newline Aug 29 13:46:20 bluk: after the

Aug 29 13:47:28 bluk: omg... Aug 29 13:47:48 bluk:
works. I didn't use it because the web developer in me didn't want to. Aug 29 13:47:55 SimonVT, so there's no reason to have width/height dimensions in values-folders then? Since they are suppose to be laid out after size, which I'm already doing with the layout? So I might as well hardcode the width etc in the layouts xml? Aug 29 13:48:24 VerbalKint: if you close with

then use the .trim() solution it still add blank lines? Aug 29 13:48:29 You don't want to duplicate every layout resource in every layout folder Aug 29 13:48:46 So sometimes you use dimensions to values to differentiate phone/tablet layout, sometime entirely new layout resources Aug 29 13:49:12 bluk: yeah Aug 29 13:49:59 VerbalKint: what if you omit the last

? Aug 29 13:50:20 not a reliable way to go, just wondering Aug 29 13:50:57 SimonVT, So I only need to have my layout files in the main layout folder? And have the other folder(s) empty? Aug 29 13:51:43 bluk: nevermind as this solution is better Aug 29 13:52:20 Yes, you only have multiple resources when they actually need to look different Aug 29 13:52:42 VerbalKint: future implementations might automatically add closing tags tho Aug 29 13:52:57 Any idea how to get okhttp3 with retrofit to ignore ssl certificate? Aug 29 13:53:17 or rather, accept all Aug 29 13:55:27 hi everyone Aug 29 13:55:33 can we write AGI script inside IVR key_pressed events with Elastix ? Aug 29 13:55:39 or can we collect dtmfs between call start < # > call end and at the end send them to the an API? Aug 29 13:55:44 or with another pbx-interface ? Aug 29 13:57:34 tirej: try #elastix-dev Aug 29 13:58:05 bluk, i am feeling alone at that channel Aug 29 13:58:26 sorry, but your question is too specialized -- not about android, so I doubt you'll find answers here Aug 29 13:59:03 also #elastix and #elastix-es Aug 29 13:59:06 bluk, pardon me it's my mistake :) Aug 29 13:59:20 haha i didnt noticed this channel was android-dev :) Aug 29 13:59:23 sorry Aug 29 13:59:23 How do Call gets converted to X in Retrofit code? Aug 29 13:59:23 no problem, hope you find some answers Aug 29 13:59:33 bluk, thanks Aug 29 14:00:19 arancio prolly with use of Jackson or gson or whatever you have there Aug 29 14:01:58 No, I'm talking about type safety. Client interfaces are declared with methods returning Call but the code that uses them uses X: https://futurestud.io/blog/retrofit-getting-started-and-android-client Aug 29 14:02:31 Sorry, I misread the code Aug 29 14:02:38 forget what I wrote Aug 29 14:17:45 Anyone? How can I make OkHttpClient accept all ssl certificates? Aug 29 14:21:13 andrewgk: To clarify: Are you using SSL and need the HTTPClient to accept your certificate? Aug 29 14:28:44 maybe i'm missing something - can i pass an entire Bundle to startActivity, or i have to manually set all the things on the Intent ? Aug 29 14:29:59 greves: myIntent.putExtras(myBundle); Aug 29 14:30:09 Both works Aug 29 14:32:28 ah missed that one, thanks Aug 29 14:47:46 Does android video streaming code work with live video streaming too? I made a simple app with a VideoView, where I set the views VideoURI to a video address, and it plays it. Is it possible to live stream the same way, by changing the URI? Aug 29 14:54:33 How do I catch internal server errors with Retrofit? Aug 29 14:55:33 Check the status code of the response Aug 29 14:57:40 Hi. my phone does not have NFC, what is the usual workflow with it? With an App using QR for something it's like this: open any qr-reader app -> Scan QR -> link to my website with extra arguments -> redirect to playstore -> install app -> scan QR code again -> profit. Aug 29 14:57:57 Are there universial NFC reading apps? Or does it even work without any app open? Aug 29 14:58:18 Does NFC have a standard for links at all? Aug 29 14:59:03 (extra arguments are used in my app for for the actual qr-identification) Aug 29 15:03:20 hello, when creating an AVD in Android Studio, I dont see Nougat as having google apis. only under x86 without google apis. i thought this was available now? Aug 29 15:04:54 how can i test in an emulator? Aug 29 15:05:08 only without the Google APIs? Aug 29 15:06:03 Do I *really* have to make separate app listing descriptions for en-GB and en-US? Aug 29 15:07:56 This is dumb Aug 29 15:08:57 SimonVT: Right. It was a silly question. Today I woke up but my brain didn't. Thanks. Aug 29 15:43:40 good afternooon Aug 29 15:49:14 fair afternoon to you too Aug 29 15:50:56 SimonVT again sorry, but from what I've been messing about with now, I have to have some sort of difference in ui sizes depending on which density the screen has. On xxxhdpi an ImageButton is looking good and on xxhdpi it's way to large, and since both these devices fall into the same size category, I have to make different width/height parameters depending on density? I can't see how else ? Aug 29 15:51:31 Hmm. Not all of my ratings are showing up on my app's page. Aug 29 16:04:57 Bernzel: use a scaled frame? Aug 29 16:05:22 or get screenscale Aug 29 16:06:32 also can place all images on a bitmap outside the screen and size that Aug 29 16:06:45 last works best anyways as in performance Aug 29 16:07:47 if you use a small button says 128*128 pixels and zoom in on a hd screen its obiousle looks like crap Aug 29 16:09:34 X-byte, so having different values folders to apply the size depending on density isn't a good idea? Aug 29 16:09:35 Ugh, where are those saints that will give you royalty free-free stuff without attribution required?! Aug 29 16:10:23 the image I'm talking about is created in Java and not in XML. Aug 29 16:10:33 i dunno what you are trying todo Bernzel Aug 29 16:10:54 use either the screenscale or resize to phones screensize Aug 29 16:11:07 or it wont work on all phones/tabs Aug 29 16:11:37 screenscales can be a real bitch Aug 29 16:11:54 they usually all have the same scale though.. Aug 29 16:12:34 use highresolution images, copy them to a bitmap and voila Aug 29 16:13:56 Bernzel: Different pixel sizes, not different dp sizes. Always use dp for layouts Aug 29 16:15:36 what works best for me is i draw all gfx on a non visible bitmap, place that in a scaled layout Aug 29 16:15:42 and refresh it when needed Aug 29 16:16:12 saves alot of redrawing so faster and always fits Aug 29 16:19:15 SimonVT, yes I do use dp for my layout. Take a look at my example : http://pastebin.com/ZVmJJqrv You suggest against doing that? That the xml on top is located in values-hdpi etc Aug 29 16:20:12 You don't need different sizes for different densities Aug 29 16:20:32 depends SimonVT Aug 29 16:20:40 http://stackoverflow.com/questions/39204909/android-views-creation-callback Aug 29 16:20:49 Not really Aug 29 16:20:56 if you use small images dev on a cheap phone Aug 29 16:20:57 how to get a callback on each view creation Aug 29 16:20:58 ? Aug 29 16:21:03 its not goona look nice Aug 29 16:21:05 ;) Aug 29 16:21:41 for buttons.. just draw a rectangle yourself Aug 29 16:21:42 then I have no idea how to handle the fact that the image that is being drawn on that layoutParams is bigger on lower density phones than on higher ones Aug 29 16:21:56 read ^ Aug 29 16:22:13 You of course provide drawables of different pixel sizes for different densities Aug 29 16:22:34 do you use images Bernzel ? Aug 29 16:22:42 But for layouts you use dp units which are scaled based on density Aug 29 16:23:12 thats what i sais SimonVT Aug 29 16:23:34 said* Aug 29 16:23:57 So I hardcode the size on that LayoutParam and have different sizes of the image instead? Aug 29 16:24:33 if you want the best quallity you use high res images Aug 29 16:24:37 https://developer.android.com/training/multiscreen/index.html Aug 29 16:24:42 and scale them to screensize Aug 29 16:25:03 so use 256*256 buttons and copy them to a bitmap Aug 29 16:25:17 scale the bitmap and looks sharp on all devices Aug 29 16:25:59 hm I get nullpointerexceptions when android tries to render my login screen Aug 29 16:26:40 streaming the gfx tilerendering ? Aug 29 16:27:41 nope Aug 29 16:27:44 http://pastebin.com/jMzC3PQW Aug 29 16:27:59 i have no clue how to tackle this Aug 29 16:28:16 try to render the screen before showing it Aug 29 16:28:30 how ? Aug 29 16:28:56 I wish Collections had a helper method like TextUtils does to check null and empty Aug 29 16:29:22 onstart evene before onshow? Aug 29 16:29:27 event* Aug 29 16:29:51 X-byte: mh. but that shouldnt happen, should it ? I mean. it s just a normal form Aug 29 16:30:01 a login screen to be exact Aug 29 16:30:12 why does it even crash ? Aug 29 16:30:31 after 4.4 or something android changed alot Aug 29 16:30:49 one of them was rendering/streaming gfx Aug 29 16:31:17 try to render the screen before showing Aug 29 16:32:08 same happens if you have images in your form Aug 29 16:32:17 i think they fixed that but i dunno.... Aug 29 16:32:32 all my forms are empty Aug 29 16:32:58 ok but how do I have an influence over rendering the screen before showing it ? Aug 29 16:33:35 like i said, i render all in a bitmap not vissible Aug 29 16:34:44 i would draw all onstart, when done copy the bitmap or whatever and show Aug 29 16:34:55 Yeah, don't do that Aug 29 16:35:04 Check the rest of the stacktrace, find out what widget is throwing it Aug 29 16:35:14 Then find out if you're using that widget wrong Aug 29 16:35:50 you never had issues with gfx when launching your app on previous android versions SimonVT ? Aug 29 16:36:11 i had to recode alot with the update to 5 Aug 29 16:36:39 I didn't Aug 29 16:37:07 hard to believe ;p Aug 29 16:38:26 But drawing to a bitmap is pointless, as it doesn't solve the issue Aug 29 16:38:32 It's also extremely wasteful Aug 29 16:38:50 i am not here to argue Aug 29 16:39:00 SimonVT: that´s the problem: I m not using the widget actually :) Aug 29 16:39:15 its all but wasteful, saves alot of repaints Aug 29 16:39:36 So a view you're not using it causing errors? Aug 29 16:39:39 older appz deved for 4.4 Aug 29 16:39:39 That's hard to believe Aug 29 16:39:48 wont work on updated os's Aug 29 16:39:58 Yes they will Aug 29 16:40:19 google is your friend Aug 29 16:40:37 SimonVT: I m using the view, but I dont do anything - it throws the exception when it displays it Aug 29 16:40:52 Well, maybe you're using it wrong Aug 29 16:40:53 anyhow, I have my problems to identify which widget is responsible Aug 29 16:40:59 it´s not visible in the stacktrace Aug 29 16:41:15 place it into a non visslbe bitmap tilerendering Aug 29 16:41:19 then try again Aug 29 16:41:38 Don't do that Aug 29 16:41:47 X-byte: tbh I dont see the purpose Aug 29 16:42:00 trust me Aug 29 16:42:04 no offense meant, and I really thank you but I dont see the point Aug 29 16:42:08 what do you have to loose Aug 29 16:42:09 lol Aug 29 16:42:13 I don’t see why you would do that either Aug 29 16:42:31 also it wouldnt solve any problem Aug 29 16:42:34 takes few ticks to recompile and try Aug 29 16:42:46 rather than wasting ages Aug 29 16:52:13 Hello! I am trying to make the google map move so that i could see all the markers and be zoomed in as much as possible. Is there some elegant solution to this or can somebody at least tell me what do zoom levels mean in meters? Aug 29 16:52:15 are there any legal implications to distributing an apk (not through the Play store) that reads diagnostic info (certain file paths, device specs, etc.)? Aug 29 16:52:31 is there a way to programmatically run commands as shell user (uid=2000) ? Aug 29 16:54:10 I got it fixed Aug 29 16:54:21 there was a form floating around which had no use Aug 29 16:54:35 and it was invisible in fact Aug 29 16:54:47 a form is not a bitmap Aug 29 16:55:02 but great it worked ;) Aug 29 16:55:15 in android: is there not something like a “main” class representing the app itself ? I want to know because I want to keep an instance of my backendconnector alive during a user session Aug 29 16:55:39 thanks x-byte :) Aug 29 16:55:42 tilerendering: the process represents your app Aug 29 16:55:49 Hello. I would like to port AOSP 7 to my device. My device (serranoltexx) is supported by CyanogenMod 13 Aug 29 16:55:55 as in linux process Aug 29 16:56:13 bluk: so in order to keep an instanceof my backendconnector alive during the time a user interacts with the app, how would I do that ? Aug 29 16:56:22 mimi89999: try #android-root. This is for app dev Aug 29 16:56:47 tilerendering: probably in a service Aug 29 16:56:48 tilerendering: there is the Application class Aug 29 16:56:53 You need to keep track of activities being visible yourself (e.g. using onResume/onPause) Aug 29 16:56:55 but a service would be the better option Aug 29 16:56:58 When building an app for Android TV and Mobile, can you/should you share code between the projects? Aug 29 16:57:11 eemgr: yes Aug 29 16:57:23 maybe not the activities/fragments, but definitely the other stuff Aug 29 16:57:29 I read that the interfaces should differ, but I just wanted to make sure no odd packaging happened that would give me class not found error Aug 29 16:57:33 okay thanks Aug 29 16:57:42 alright, service sounds “better” to me too, even though I have no clue in how android services differ from other services Aug 29 16:57:45 yeah, like my networking code should be recycled - is tehre a preferred plcae for it? Aug 29 16:57:48 is there a guide somewhere ? Aug 29 16:57:51 in the TV app or the Mobile app? Aug 29 16:57:55 there are events tilerendering Aug 29 16:58:07 small and compact guide on this topic would be greatly appreciated Aug 29 16:58:08 eemgr: you could make a library project, and share it between the two Aug 29 16:58:20 hm, true Aug 29 16:58:25 tilerendering:https://developer.android.com/guide/components/services.html Aug 29 16:58:32 onshow will also render the non visble forms Aug 29 16:59:16 best to code them all when needed Aug 29 16:59:27 or use a thread ;p Aug 29 16:59:45 dont calc gfx in a thread though Aug 29 17:00:25 tilerendering: although if the data you want to keep is just a few vars, I'd suggest making them static in your launcher activity Aug 29 17:00:46 they would get destroyed if you leave the app tho Aug 29 17:01:10 s73v3r: hm. looks good but quite expensive in terms of efforts to learn, understand, implement and then even manage/maintain. the other approach would be to have the backendconnector held in the application object, right ? Aug 29 17:01:55 because I get the impression that implementing it as a service is a bit of an overkill Aug 29 17:03:16 use mainthread to execute tilerendering , use your own to do whatever Aug 29 17:04:00 also readup on the events when your app excuted and before Aug 29 17:04:11 also closing ofcourse... Aug 29 17:05:01 O.O i can't put an apostrophe in a string resource. every time i escape it with \', gradle removes the backslash and tells me its missing! Aug 29 17:06:32 greves: you're probably editing the "baked" strings.xml. Open the original file in your project. Aug 29 17:06:47 VerbalKint, yeah that was it, just realized as you said it ;P Aug 29 17:07:05 greves: stuff like this makes me lose faith in Google Aug 29 17:08:03 I'm still waiting for a response on a screwed api project thingy Aug 29 17:08:10 tilerendering: no, it’s not Aug 29 17:08:26 this is a basic building block of android. you need to learn this Aug 29 17:08:32 oh no Aug 29 17:08:57 but cant I just keep 3 instances of backendconnector in the application object ? Aug 29 17:09:07 i wouldn't Aug 29 17:09:13 but it´s possible Aug 29 17:09:19 a service is made for just that purpose Aug 29 17:09:33 ok, how do I reference the application object ? Aug 29 17:09:40 and yes I ll read up on services Aug 29 17:10:10 well spoken s73v3r Aug 29 17:10:35 in his case tho, wouldn't static variables do the job fine? Aug 29 17:10:52 i see no reason why they shouldn’t go with the proper way Aug 29 17:10:55 a static backendconnector ? Aug 29 17:11:00 because he doesn't really need the service to *do* something in the background Aug 29 17:11:03 The purpose of Service is to let Android know that your app is doing something.. Other than that you might as well do it in Application Aug 29 17:11:14 just to hold some values Aug 29 17:11:33 bluk: well, it also performs rest api communication Aug 29 17:11:52 and non-rest api communication Aug 29 17:11:52 if you do all in the mainthread you are either coding a simple app or have no clue ;p Aug 29 17:12:12 if you need it to run while you leave your app then you'd probably better go with the service way Aug 29 17:12:34 if you need it alive only while in your app I see no reason to implement a service tho Aug 29 17:12:41 guys this is hugely being a pain in my butt, i dont know if anyone is up for it but i would really like to get my "Fast Scroll" to scroll smoothly. it *appears* smooth if there are ~1000 items, but with ~20 items it jumps 5% of the total height as each item goes up the view Aug 29 17:12:43 no I dont need that. except for maybe push notifications but I dont think I ll need a service running for my app just for push notifications Aug 29 17:12:50 and i can't see how to render the last bit of dy Aug 29 17:12:53 bluk this is my impression as well Aug 29 17:12:55 so that it appears smooth Aug 29 17:13:22 use events tilerendering Aug 29 17:13:25 eh Aug 29 17:13:43 its like the basic of coding Aug 29 17:13:56 X-byte: What are you even talking about... I don't see how anything you've said so far is even remotely useful Aug 29 17:14:19 [19:12] no I dont need that. except for maybe push notifications but I dont think I ll need a service running for my app just for push notifications Aug 29 17:14:33 isnt push a button an event Aug 29 17:14:57 Push notifications has nothing to do with pushing a button Aug 29 17:15:25 eh i give up ;p Aug 29 17:22:21 I'm trying to build an AOSP emulator image under Oracle java Aug 29 17:22:23 on Debian 8 Aug 29 17:22:34 to the best of my knowledge, all vestiges of my old OpenJDK java are gone Aug 29 17:22:36 go to #android-root. We’re app dev Aug 29 17:22:49 I'm not rooting anything Aug 29 17:22:53 i'm building an image for an emulator Aug 29 17:22:56 to use for development... Aug 29 17:22:59 sorry, that was too snippy sounding Aug 29 17:23:13 but still, we’re not the place for advice on building images Aug 29 17:23:19 building apps, sure Aug 29 17:25:13 any idea how to programmatically run commands as shell user (uid=2000) ? Aug 29 17:28:13 haha, that damn fab ... hilarious Aug 29 17:28:32 * g00s getting updates on anchor bug Aug 29 17:29:08 g00s, hm? Aug 29 17:29:11 bluk see run-as Aug 29 17:29:19 You mean https://code.google.com/p/android/issues/detail?id=220250 ? Aug 29 17:29:35 darken yeah ! Aug 29 17:29:45 What updates? Aug 29 17:30:12 darken if you star it , you get email updates (i'm sure you knew that) Aug 29 17:30:20 g00s, run-as needs a package, how would you specify shell here? Aug 29 17:30:22 ah that, okay. Aug 29 17:31:01 Hm I stared that, not getting any mail though O_o Aug 29 17:31:44 nvm turned it off unless I'm cc'd Aug 29 17:40:54 anybody want to take a crack at this? i have tried tons of things, but i can't quite figure out what the right formula should be to get the scroll to be smooth... the issue should be resolvable in FastScroller.ScrollListener > https://blog.stylingandroid.com/recyclerview-fastscroll-part-2/ Aug 29 17:41:25 as you can see right now everything is based on `int` so it's choppy for low number of items. i want to include the `dy` in the calculation somewhere so it will offset by a precise amount Aug 29 17:41:51 full class is at the bottom here: https://bitbucket.org/StylingAndroid/scrollingrecyclerview/src/470c1da307401c1a2af4564780c07486e23a6d76/app/src/main/java/com/stylingandroid/smoothscrolling/FastScroller.java?at=FastScroll&fileviewer=file-view-default Aug 29 17:43:40 i think maybe i need to keep track of the sum of DY between items or something Aug 29 17:43:48 and then reset it to 0 when an item leaves the screen Aug 29 17:44:31 thats cool, apple patent describes storing thief's biometric data like fingerprints Aug 29 18:03:19 H Aug 29 18:05:06 how can i get the proportion of the scroll past the most recent first element as a ratio of the LinearLayout height, using the actual amount of dp scrolled, which is based on the total recycler view height >.< Aug 29 18:05:10 seems impossible! Aug 29 18:05:29 g00s: I gotta leave soon; do you have pointers on using run-as to get shell uid? Aug 29 18:05:39 =) Aug 29 18:05:44 bluk sorry, kinda rusty Aug 29 18:06:15 okay my ghost will stay here in case you remember something useful Aug 29 18:06:23 thanks for the answer anyway Aug 29 18:09:20 like adb run-as? Aug 29 18:09:44 'whoami' or 'uid' ought to do it Aug 29 18:11:22 dragorn: I'm trying to programmatically run commands as shell user Aug 29 18:11:44 from an app Aug 29 18:12:10 running as your own user is trivial. I don't beleive there's a way to run as any other users (not on a stock system) Aug 29 18:12:16 it would be a significant security hole if there was Aug 29 18:12:25 adb can do it only because adb is a special special unicorn :P Aug 29 18:12:51 you can run-as apps with debuggable attribute but that's the only way I know Aug 29 18:13:06 however I'm not trying to run as any other app user, just the shell Aug 29 18:13:13 aka uid 2000 Aug 29 18:13:23 but that's already too much it seems :) Aug 29 18:16:45 anywyas really gotta go now; happy coding everyone, will be back later Aug 29 18:26:15 bluk: hey do you know how i can teh UUID of a ble device Aug 29 18:29:36 hmm https://commonsware.com/blog/2016/08/29/psa-drag-drop-behavior-change-Android-7p0.html Aug 29 18:41:29 g00s that has been driving me nuts Aug 29 18:43:54 missingno: don't worry. It's how you are usually. Aug 29 18:48:27 Guys, what is appszoom and why did they list my app on their website without my consent? Aug 29 18:50:22 What's their angle? Aug 29 18:51:03 trying to be a curator of apps, looks like Aug 29 18:51:49 Looks like a third party android market Aug 29 18:52:29 oh my god, they are distributing Aug 29 18:52:56 i looked up my app, and it has a price there , lol ... are they selling my app and taking the profit ? Aug 29 18:53:05 click it Aug 29 18:53:07 or are they just handing off to Play Aug 29 18:53:16 if they’re smart, that’s what they’re doing Aug 29 18:53:37 I got notified to this by an email sent by them Aug 29 18:53:38 eh you have to register, i can't be bothered Aug 29 18:53:53 what did the email say? Aug 29 18:54:06 s73v3r: a second Aug 29 18:55:55 VerbalKint: they make themself pay to "review" your app and promote it. Listing your app on their site is their first step to promote their service. Everybody can list your app anywhere without your consent. Aug 29 18:56:30 s73v3r: http://pastebin.com/Jzv2qkUv Aug 29 18:56:30 the icon, description, and screenshots on Play are still copyrighted Aug 29 18:56:44 arancio: so I get free publicity? Aug 29 18:56:59 better expressed: they make developers pay themselves to "review" their apps, etc. Aug 29 18:57:00 arancio: and they hope that I'll pay for reviews? Aug 29 18:57:08 basically yes Aug 29 18:57:19 if you don't care about promotion just ignore them Aug 29 18:57:20 Hah, bastards won't get a cent out of me Aug 29 18:57:32 i don’t know how much publicity you’ll get, as your app is probably going to be just as lost in their listings as it is in the Play store Aug 29 18:57:39 And I probably get a follow link :D Aug 29 18:57:55 They're making loads of money from the ads on their site Aug 29 18:58:11 I read that android app bloggers ask money for a review on their blog Aug 29 18:58:24 yeah, lots of them do it Aug 29 18:58:43 seems like its more marketing / listing Aug 29 18:58:53 nothing to see here , move on Aug 29 18:59:00 arancio: wait, there are bloggers that don't ask for money per review!? Aug 29 18:59:08 this is something like that but in the form of an app market / app directory Aug 29 18:59:15 :D Aug 29 18:59:27 arancio: where can I find these saints? :D Aug 29 18:59:32 I really don't know Aug 29 18:59:33 VerbalKint, there was a comparison of such paid reviews on reddit, a while ago, TL;DR it was not worth hit. Aug 29 18:59:38 its effing annoying that we had to have a public email listed on the play store page Aug 29 18:59:41 i believe there are, but they’re not going to review any app that gets put in front of them Aug 29 18:59:45 whats the difference between Log.w and Log.d ??? Aug 29 18:59:53 fels, warning, debug Aug 29 18:59:56 they’ll probably only review stuff that they come across themselves and like Aug 29 19:00:01 fels: warning and debug Aug 29 19:00:15 darken: thanks - I just want to write sometihing to console - Aug 29 19:00:27 Still kinda annoyed that they didn't ask for my permission Aug 29 19:00:31 Log.? writes to logcat, what console ? Aug 29 19:00:59 Is log cat a real cat? Aug 29 19:01:09 darken: like a cosole window - I am trying to get the UUIDs off my device Aug 29 19:01:10 arancio, sure, just like nyancat Aug 29 19:01:31 fels, logcat, then view it through android monitor in android studio Aug 29 19:01:54 VerbalKint, meh, at least better than it being pirated :) Aug 29 19:02:13 darken: impossible since it's free Aug 29 19:02:22 ads? Aug 29 19:02:32 s73v3r: yeah, AdMob Aug 29 19:02:39 pirates tend to take out ads Aug 29 19:02:40 VerbalKint, :') you said that, but when they take a free app inject apps and then redistribute it... :p Aug 29 19:02:49 or inject their own ads Aug 29 19:02:51 *inject ads Aug 29 19:02:54 https://www.youtube.com/watch?v=QH2-TGUlwu4 Aug 29 19:03:01 Goddamn bastards X_X Aug 29 19:03:23 I thought Google would better protect against this kind of stuff Aug 29 19:03:29 lol Aug 29 19:03:55 Hey, or they rip an open source app, screw the license change the name, but forget to change your admob id which you accidentally checked in. Then they at least make YOU some money :p Aug 29 19:04:21 darken: :D Aug 29 19:04:35 Wasn't a lot of money though, just a few cents :| Aug 29 19:41:05 how can i detect if a view is currently being moved? Aug 29 20:13:57 Are there known issues with the options menu on nougat? Aug 29 20:21:55 jfpoole http://i.imgur.com/pJZC5Bu.gifv Aug 29 20:22:15 g00s: ? Aug 29 20:22:23 \\ Aug 29 20:22:27 // Aug 29 20:22:29 :) Aug 29 20:23:10 jfpoole i haven't heard of anything. what happened ? maybe support lib thing ? Aug 29 20:23:33 The options menu doesn’t appear on our application. Aug 29 20:24:27 Might be a support library thing. We’re still building with the Android 6 SDK. Aug 29 20:30:56 What's the sense of shortening "development" in "dev" and the inventing the word "devving"? Aug 29 20:31:58 it’s faster to say Aug 29 20:32:04 and sounds cooler Aug 29 20:36:20 Anyone know a channel where they discuss hardware questions -- motors/arduino board/etc Aug 29 20:36:38 #sparkfun Aug 29 20:36:46 adafruit might have a channel too Aug 29 20:36:57 quiet! I'm progging! Aug 29 20:37:00 Alright, thanks. Aug 29 20:38:09 Hi, I'm about to remove all in-APP purchase from my app, and will offer customers refund if they liked, how will I be able to identify them? Aug 29 20:38:36 I'm one of them! Please refund here! Aug 29 20:38:47 "remove all in-APP purchase" sounds dramatic, its just to remove ads Aug 29 20:39:15 you’re removing ads from the app, and therefore also removing the IAP to remove the ads? Aug 29 20:39:50 Letones: there is an #arduino channel and an #hardware channel Aug 29 20:40:06 push an interim update which will determine, at startup, if they purchased the IAP. If so, have it send something to your server with the account and receipt for the IAP Aug 29 20:40:10 Letones: but I would start from #arduino Aug 29 20:40:12 #hardware seemed more like computer hardware but i'll try them. Aug 29 20:40:14 ok. Aug 29 20:40:45 s73v3r: no, I'm keeping the ads, but since app release, I had premium feature behind IAP, but since, I've made them all free, now i want to remove all IAP references from the app, Aug 29 20:40:55 Yeah, #hardware is where you as if your "mobo" can be "modded" to run your games faster Aug 29 20:41:04 where you ask Aug 29 20:41:42 s73v3r: for 7 people haha, anyway the dev console has order no., is it fair to assume they have that number too? Aug 29 20:42:36 they might. i think they get a receipt emailed to them from the Play Store Aug 29 20:43:17 haha which remind me, surely i bought something from the store before :p Aug 29 20:44:14 http://stackoverflow.com/q/39197342/387099 - folks here might be able to answer this. It's about setting up external tools in android studio Aug 29 20:47:42 to answer my own question, on purchase customer receive order no., which can be used to identify them for refund Aug 29 20:48:18 do you have all the order numbers from sales of your IAP? Aug 29 20:51:39 s73v3r: yes, all 7 of them :p ,they're in Google Payments Merchant Console->payment section Aug 29 20:52:02 or orders section Aug 29 20:52:10 cool Aug 29 20:52:45 i wouldn’t publicize that you’re offering refunds, though, or you’ll get a ton of people just claiming they bought it, and then arguing or threatening you Aug 29 20:54:10 I cant actually refund anyone who hasnt bought it, their is an actual button to refund specific orders, which is why I was asking for a way to identify who did/didn't Aug 29 20:54:36 that won’t stop randos from asking and getting upset when you tell them no Aug 29 20:54:43 lol Aug 29 20:56:36 yeah, I'm getting upset actually. I asked 16 minutes ago Aug 29 20:57:24 i'm trying to set up a CoordinatorLayout > AppBarLayout > Toolbar / Tablayout > ViewPager, so that my Toolbar will hide on scroll. changing from a linearlayout. now the top of my RecyclerView are covered up by the toolbar, how do i fix that? Aug 29 20:57:49 what should the root element of my fragment layouts be that i'm attaching to the ViewPager? Aug 29 20:58:16 Hi all:) Aug 29 20:58:33 sup perlsyntax hru Aug 29 20:58:42 good Aug 29 20:59:44 ..... this is so random. how am i supposed to find this? app:layout_behavior="@string/appbar_scrolling_view_behavior" Aug 29 21:01:04 perlsyntax: Hi! Aug 29 21:01:34 arancio: please contact me on the email provided with your order, and please include your order number in the email. Aug 29 21:01:42 arancio,Hi Aug 29 21:03:31 Makalak: I'm here to represent the legion of random idiots who will ask for a refund without any entitlement. Aug 29 21:04:12 I lost that email. I don’t have that account anymore Aug 29 21:04:22 arancio: you're doing a good job, keep at it :p Aug 29 21:04:46 also, i need you to paypal me the refund Aug 29 21:04:50 s73v3r: I'm afraid, according to google policies, issuing a refund is just not possible. Aug 29 21:04:57 bullshit Aug 29 21:04:59 paypal Aug 29 21:05:17 c’mon man, just do it Aug 29 21:06:08 on a more serious note, if you only have a handful of users that are eligible for refunds, I don’t think you’ll have much in the way of people trying to scam for refunds Aug 29 21:08:36 I dont think anyone will really bother, I removed the buy option when I unlocked all the feature, but keep the ads hidden from those who paid, so if they had any issue, they would have asked for it there an then... Aug 29 21:08:45 and that was 6 months ago Aug 29 21:09:02 you’ll be fine Aug 29 21:09:10 Makalak: what kind of app is yours? Aug 29 21:09:33 arancio: bus schedules Aug 29 21:10:52 arancio: https://play.google.com/store/apps/details?id=com.thunder07.dublinbus Aug 29 21:11:31 although I have a theming option, i should probably change the default colors Aug 29 21:15:07 Makalak: your web site is scary Aug 29 21:15:22 hahaha Aug 29 21:15:58 im not sure if i can unlist it Aug 29 21:16:31 i probably should, I accidently wiped it a while back and put this, completely forgetting about its listing in the store Aug 29 21:17:43 thanks for showing me your app Aug 29 21:17:56 I'm thinking of getting a less scary name too, ponylovers.net arancio? Aug 29 21:19:01 just a little less black would do the trick. It looks like a satanist site Aug 29 21:19:40 that would defeat the whole matrix thing though Aug 29 21:20:28 the matrix thing is a bit.. uncool Aug 29 21:21:15 as of the last comment, you no longer have any valid opinions Aug 29 21:21:25 I imagined little girls using your app to get a bus and being redirected to a secondary road without any bus stop. A black empty bus stops, the girls goes in, the bus moves and nobody sees the girls ever again. Aug 29 21:21:35 girl Aug 29 21:22:09 the publicity my app would get though, would be unreal Aug 29 21:22:31 Should I be able to find the Android system images at https://dl.google.com/android/repository/sys-img/android/sys-image2-1.xml because it's returning 404 right now? Aug 29 21:22:43 sory unreal but this is what happend when you use common words as your alias Aug 29 21:22:59 derp nvm typed the url wrong Aug 29 21:23:00 it's https://dl.google.com/android/repository/sys-img/android/sys-img2-1.xml Aug 29 21:24:54 No google apis yet for the Nougat images :( https://dl.google.com/android/repository/sys-img/google_apis/sys-img2-1.xml Aug 29 21:31:26 Hello guys can anyone help me find a good sample that would explain how to take images from camera or pick them up from gallery, that would work with 5.1+ devices and handle OOM errors. Aug 29 21:31:38 I am going round and round and can't seem to make it work. Aug 29 21:38:47 So I am trying to use variants to speed up my development process. Is there a way to use the applicationID set by gradle in the manifest file? like .permissions.MAPS_RECEIVE Aug 29 21:39:35 Or do I need separate sourceset with a different manifest? Aug 29 21:50:16 Okay I just can't shake this error: "Rendering Problems - Android Nougat requires the IDE to be running with Java 1.8 or Later Install a supported JDK" - this shows when I try to look at activity_main.xml layout editor Aug 29 21:51:36 the best way would be to do as it says Aug 29 21:51:48 the quickest way is to simply change the version of Android it’s trying to render as Aug 29 21:51:53 Using Windows. I've tried everything: repointing the project JDK to Java 1.8 JDK folder. Adding my JDK 1.8's bin folder to my path, adding a system variable JAVA_HOME and pointing it to the 1.8 JDK folder, reinstalling Android Studio as admin, etc. Nothing seems to work Aug 29 21:52:18 But why can't I render it as Android Nougat s73v3r? Aug 29 21:52:27 cause you’re not using 1.8 jdk Aug 29 21:52:34 I am though. Aug 29 21:52:48 not according to Studio you’re not Aug 29 21:53:03 s73v3r, yes but how else am I supposed to point it towards my JDK 1.8 folder? Aug 29 21:53:13 did you click the link in the error? Aug 29 21:53:25 The funny thing is, the link goes to a 404 page lol. Aug 29 21:53:33 https://developer.android.com/preview/setup-sdk.html#java8 Aug 29 21:55:12 fels: no idea, sorry for the delay I was afk Aug 29 21:55:36 ClydeSlims: sad to see your problem isn't solved; did you try uninstalling other JDKs? Aug 29 21:55:47 bluk: Uninstalling? Aug 29 21:55:54 yes Aug 29 21:56:01 bluk: They're just located to a folder on Windows Aug 29 21:56:09 http://stackoverflow.com/questions/36638657/run-android-studio-with-jre-1-8-or-later-version Aug 29 21:56:11 second answer Aug 29 21:56:12 they have to be instaled to be registered Aug 29 21:56:24 in your config panel you can uninsatll prevous JDKs Aug 29 21:56:42 not just delete them, cleanly uninstall to unregister them Aug 29 21:56:50 s73v3r, yup, did that. Aug 29 21:57:05 bluk: okay one sec. Aug 29 21:57:09 you set project structure to JDK 1.8? Aug 29 21:57:13 yes he did that Aug 29 21:57:41 bluk, Java Control Panel? Aug 29 21:57:45 he's on this issue since at least 4 hours now Aug 29 21:57:53 no, windows control panel Aug 29 21:58:43 The only thing labeled "Java" on the windows control panel just links to the Java Control Panel Aug 29 21:59:03 you'd have to go into the list of installed programs Aug 29 21:59:08 the whole list Aug 29 21:59:42 so I'm uninstalling Java SE Development Kit 8 Update 101 Aug 29 21:59:51 uh no Aug 29 21:59:53 keep that one Aug 29 21:59:57 uninstall jdk7 Aug 29 22:00:00 uninstall the previous one Aug 29 22:00:00 ok Aug 29 22:00:04 btw, you should have version 102 Aug 29 22:00:46 bluk: well should I just uninstall JDK 1.8 101 and install 102 then? Aug 29 22:00:56 might as well Aug 29 22:00:59 that may be safe yeah Aug 29 22:01:16 close android studio first Aug 29 22:01:31 you don't want to keep random files due to process using them Aug 29 22:01:42 ok ill do that now, funny thing is on my 'Java Runtime Environment Settings' for Platform '1.8' the path is set to Y:\Java\jre1.8.0_101 and not Y:\Java\jdk1.8.0_101 Aug 29 22:02:07 actually nevermind that makes sense lol Aug 29 22:02:07 yeah thats Java Runtime Environment Aug 29 22:02:11 :D Aug 29 22:02:34 iirc JDK includes JRE so you don't need it Aug 29 22:03:20 What do you guys think about using something like 'isMyFlagset()' vs 'hasFlag(MYFLAG)' Aug 29 22:03:53 hasFlag(MYFLAG) allows you to test multiple flags at once Aug 29 22:04:09 cuz you can hasFlag(FLAG1 | FLAG2 | FLAG3) Aug 29 22:04:20 whereas with a specialized method you'd need more code Aug 29 22:04:34 isnt JRE for running java in the browser? Aug 29 22:04:45 in my case FLAG is an enum but yeah hasFlag(Flag... flags) would still allow testing multiple flags, good point Aug 29 22:04:47 JRE is for all runtime process needing Java Aug 29 22:04:55 mostly for users Aug 29 22:05:00 JDK, mostly for developers Aug 29 22:19:23 bluk: Alright. Uninstalled all previous JDK's, installed JDK 1.8 102, directed JAVA_HOME system variable towards "C:\Program Files\Java\jdk1.8.0_102". That error seems to be gone! But now I have another error which I can exit out of on the layout editor: http://pastebin.com/7EuE5mXq Aug 29 22:19:31 bluk: thanks - was away - back now Aug 29 22:19:59 going to try invalid caches / restart Aug 29 22:20:02 invalidate* Aug 29 22:21:05 fels: welcome back :) Aug 29 22:21:18 Huh that's weird, all of the buttons aren't working on the layout editor. Can't change device, or API version Aug 29 22:21:47 ClydeSlims: maybe now that you have removed/reinstalled/purge all JDKs you should reinstall studio Aug 29 22:22:21 it must be full of obsolete references to missing libs Aug 29 22:22:21 bluk: I'll try. Aug 29 22:22:46 ClydeSlims: just to make sure, is the only *only* java thing installed on your system is jdk8 ? Aug 29 22:22:54 no jre, no jdk<8 or whatever? Aug 29 22:22:54 Right now yes Aug 29 22:22:59 good Aug 29 22:23:47 Java doesn't seem to be the issue any longer. Apparently that binary xml error is something google is currently trying to fix atm, but will have to reinstall android studio since none of the layout editor buttons were working Aug 29 22:24:17 well idk something feels broken still Aug 29 22:24:34 on my first studio install everything worked flawlessly, should be the same for you Aug 29 22:25:52 Also apparently API 24 has problems right now with Android Studio so I'll try lowering it to 23 after my studio reinstall. Aug 29 22:30:07 About Retrofit: the return type of the execute() method of a Call> object should be Response>, right? Aug 29 22:31:48 Android Studio doesn't seem to agree... Aug 29 22:33:36 There was a conflict between retrofit2.Response and okhttp.Response Aug 29 22:33:44 I feel so newbie Aug 29 22:36:18 I bare know what I'm doing and everywhere I look I see things that I should know but I don't Aug 29 22:36:27 barely Aug 29 22:43:03 bluk: That layout error still came up but it's apparently a problem Google is trying to fix. Changed API to 23 and it seems to be working. Thank you very much for your help. Aug 29 22:45:56 Guys, my Android app talks with my SQL Server database through a ASP.NET Web API!!!!!! Aug 29 22:46:00 My only question right now is, how do I get rid of the top bar that shows my app name? http://i.imgur.com/1WPxPoz.jpg Aug 29 22:47:05 ClydeSlims: http://stackoverflow.com/questions/23255373/remove-app-title-bar-android Aug 29 22:48:12 Thank you Aug 29 22:48:31 You're welcome Aug 29 22:48:38 Are you happy for my "success"? Aug 29 22:48:43 wasn't sure what the top bar was called Aug 29 22:49:11 mmm, is it difficult to connect ASP.NET code to an SQL database? Aug 29 22:49:25 or was the difficult part connecting the android app to the ASP.NET web code Aug 29 22:50:07 I had no clue how do it. So it was difficult. For a real Android developer it's daily bread Aug 29 22:50:27 What did you do? HTTP requests? Aug 29 22:50:55 or is there some library that does it? Aug 29 22:51:08 The Android device talks with the web api using Retrofit2 Aug 29 22:51:29 Retrofit2 uses OkHttp Aug 29 22:51:31 Very cool. I am proud. Aug 29 22:51:43 it's an HTTP request, yes Aug 29 22:51:50 Maybe I could use that if I want to connect to my PHP api Aug 29 22:52:05 yes, probably Aug 29 23:18:42 there is a com.android.tools.build.gradle 2.2.0-beta3 now Aug 29 23:19:11 hmm I guess that came with AS beta 3 Aug 29 23:23:46 ClydeSlims: glad it finally works Aug 29 23:36:14 Does anyone know if there’s a way to configure Firebase cloud messaging at runtime? Aug 29 23:36:21 The items of a ListView seems to be of fixed size. How do I make them enlarge to fix larger amount of text? Aug 30 00:06:47 o/ Aug 30 00:07:00 quick question, i hope lol Aug 30 00:07:08 (drinfernoo) i have added a library module along with an existing project in android studio, how can i set it up to go to a separate git repo from my main project? Aug 30 00:14:45 anyone ever dealt with that before? Aug 30 00:19:51 * drinfernoo is hearing crickets Aug 30 00:23:18 drinfernoo: no. We discussed the topic and collectively reached the conclusion that we never dealt with that before. Sorry. Aug 30 00:23:36 lol it's cool Aug 30 00:24:34 * arancio captures a cricket and eats it alive Aug 30 00:25:32 i prefer a nice cricket smoothie Aug 30 00:28:35 i feel like it's the reverse of what i normally see. i usually see libraries packaged with a sample app, but i actually want to take my two modules and split them into two separate repos, just having trouble finding the answer Aug 30 00:30:03 drinfernoo: what source management tool are you using? Aug 30 00:30:09 git? Aug 30 00:30:20 yeah Aug 30 00:30:47 i am not very familiar with command line git, but I'm just using the vcs functions in AS Aug 30 00:31:27 i also have the github client, but I've found that vcs in AS is better integrated into my workflow Aug 30 00:31:50 Then try asking in the #git channel. You can mention the intellij IDE since Android Studio is just a custom version of that IDE. You should have better luck. Aug 30 00:31:59 ah, good call Aug 30 00:32:21 but it's just a git problem mostly Aug 30 00:34:48 how's everyone's day? anybody making good progress? Aug 30 00:39:41 drinfernoo: I made some. Now I have to read more books Aug 30 00:45:46 need to refactor, suffering from smurf naming convention :( Aug 30 01:50:22 anyone have any experience with the new dispatchGesture method in AccessibilityService API 24 by chance? It's so new I can't find any good documentation Aug 30 01:53:16 when there is no documentation we just read the bytecode Aug 30 01:58:18 haha, I guess the real issue is that the source is out for API 24, but I'm still getting cannot be resolved on a bunch of stuff in the new source classes Aug 30 02:00:25 are there precompiled libs of ros (indigo) for android available ? Aug 30 02:00:38 err ... sorry, wrong win Aug 30 02:07:41 does anyone have the API 24 source downloaded into AS? Aug 30 02:09:35 hi all Aug 30 02:10:20 why when test the android app, on the emulator not see the app on the emulatorm why? Aug 30 02:10:48 yes dactyldev Aug 30 02:12:06 @hide annotation in experimental code got me before Aug 30 02:15:39 jak2000: care to reformulate your question? Aug 30 02:21:42 https://postimg.org/image/z4af1832d/ Aug 30 02:21:45 how to fix this? Aug 30 02:28:02 jak2000 your apps minSdk = 22 Aug 30 02:28:11 so you can't use api 21 emulator Aug 30 02:28:20 create api 22, 23, 24 emu Aug 30 02:28:21 Create a new emultator. That emulator runs an SDK which is older than the oldest SDK that you support in your project. So you can't use that to test your application. Just create a new emulator, typically with the target SDK you are using. You can create as many emulator as you want. Aug 30 02:30:20 Some of us emulate android in their mind, by the way. But not everybody in this channel is so skilled. Some use pencil and paper. Aug 30 02:30:58 Check your targetSdk and create a new emulator using that SDL. Aug 30 02:31:57 pepperoni: you may be interested in knowing that the Italian word is actually "peperoni" with only one "p" Aug 30 02:33:43 i do: right click the App directory, choose the "module setting" option, change the ADK Platform as what you need, Click Apply Aug 30 02:34:55 but when regenerate i get this error: "Error:(4) Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Widget.Button.Inverse'." and "Error:(33) Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Material.Button.Colored'." Aug 30 02:36:34 jak2000: those resources may not be present in the theme provided with the SDK you are using. I don't know the history of Android themes thus I can't be sure. Aug 30 02:39:56 arancio: can't say i really have anything to do with italy ... i just like pizza Aug 30 02:40:01 arancio: but thanks Aug 30 02:40:28 mmm arghhh thanks Aug 30 02:41:16 ugh, got to the airport and checked in 2 hours early, still missed my flight.... Aug 30 02:41:44 pfn: heh, i did the same a few weeks ago, they gave away my seat, overbooked the flight Aug 30 02:41:56 United is like the worst airline in the country Aug 30 02:42:03 but i digress Aug 30 02:42:16 pepperoni: the stuff you like on the pizza is called "pepper", the fruit of the "capsicum". "Pepperoni" is the American spelling for "peperoni" which is the Italian word for "pepper". Aug 30 02:43:37 pepperoni, I was in the airport and didn't hear the page... Aug 30 02:43:45 anyone familiar with adjusting fonts in android studio to make them bigger and more readable. ive tried with appearance and increased the font, but then the icons are covered up by the labels in Android studio Aug 30 02:43:56 is there somethgin a bit more accessible? Aug 30 02:44:18 pepperoni: and if you like pizza you have something to do with Italy: you happen to like a typical Italian food. Aug 30 02:44:48 winegoddess: getting closer to the screen? Aug 30 02:44:54 arancio: heh, that's like saying i have something to do w/ the romans because they made a type of pizza too Aug 30 02:47:22 pepperoni: romans could not do a pizza. They didn't have tomatoes Aug 30 02:48:06 not all pizza's have tomatoes :) Aug 30 02:48:30 but i am thankful for pizza Aug 30 02:49:10 compile sdk version: API 21, Build Tools Version: 23.0.3 how to change to 21? Aug 30 02:50:18 but the difference between pizza and other kinds of round flat bread used all around the world is the tomato sauce. "white pizza" is the exception. Aug 30 02:50:29 anyway, amerikans can's spell Aug 30 02:51:08 not to mention the kind of stuff you call "pizza" Aug 30 02:52:45 when you think about it, it's been around for a very long time, one culture has passed on a similar recipe to another, it always changes Aug 30 02:53:21 yes Aug 30 02:53:49 https://upload.wikimedia.org/wikipedia/commons/a/a3/Eq_it-na_pizza-margherita_sep2005_sml.jpg Aug 30 02:54:26 hey , I am reading the sqlite for android, return db.query(DATABASE_TABLE, new String[] {KEY_ID,KEY_DATE,KEY_CHICKEN, KEY_WEIGHT, Aug 30 02:54:26 KEY_EGGS,KEY_GRAINS,KEY_WATER}, null, null, null, null, null); Aug 30 02:54:33 in this statement what does five nulls means Aug 30 02:55:29 ahhhh, the margherita, my favorite Aug 30 02:55:56 i can tell you one thing for sure, very few places know how to make that one Aug 30 02:58:01 killer: that the query has not the corresponding parts: https://developer.android.com/reference/android/database/sqlite/SQLiteDatabase.html **** ENDING LOGGING AT Tue Aug 30 02:59:58 2016