**** BEGIN LOGGING AT Sat Jul 23 02:59:58 2016 Jul 23 03:02:01 I am wondering when using repo what exactly is this url https://android.googlesource.com/platform/manifest for as opposed to the -b androidBranch or -b master ,...etc which is actually the codebase Jul 23 03:06:11 Because you have manifest files for each andrioid app one creates but this is for checking out Os code not app's so confused what exactly the manifest without specifying any -b or -b master is doing? Jul 23 03:16:55 droid2, repo manifest contains the list of all git repos for the branch you want Jul 23 03:17:14 if you don't -b you get master by default Jul 23 03:18:40 Ok so the first one is just to prepare repo command with a list of all the different url for the different branches and if you repo sync on that you get the master by default Jul 23 03:18:50 if i am understanding you correctly Jul 23 03:19:29 Because to me it seems like its downloading everything all the branches , masters ,...etc Jul 23 03:20:15 you always get all branches available in a git repo Jul 23 03:20:23 takes a very long time to download as well Jul 23 03:20:32 but you want have all the repos for the branch unless you specify the branch Jul 23 03:20:38 won't Jul 23 03:21:08 it's something like 70gb now Jul 23 03:21:15 wait so if you do repo init -u https://android.googlesource.com/platform/manifest then repo sync Jul 23 03:21:39 it gives you all the android code everything from first to current Jul 23 03:21:45 you get all git repos for master Jul 23 03:22:17 master for each android version 1 - 7 or so Jul 23 03:22:35 each of those repos will contain full history Jul 23 03:22:56 because thats way to much stuff i only really want version 6.0 so maybe i should cancel this and just download that branch Jul 23 03:23:18 you'll still be downloading everything Jul 23 03:23:36 then i don't get the structure of this andriod repo Jul 23 03:23:51 it always includes full history Jul 23 03:24:06 and why did they uses a wrapper script like repo when you could just uses git clone? Jul 23 03:24:29 because there are over 400 repositories Jul 23 03:24:39 why so many Jul 23 03:24:43 and not everyone needs to work on all of them Jul 23 03:24:54 because you don't want 80gb in a single repo Jul 23 03:25:44 why so much code or size this is bigger then the linux kernel.org repo's for a particular branch or version like 20MB on the order Jul 23 03:26:01 I guess i am really wierded out by the size Jul 23 03:26:16 of course it's bigger than Linux Jul 23 03:26:31 android is many times bigger than Linux Jul 23 03:26:32 why its bigger the netbsd Jul 23 03:26:52 netbsd doesn't include a gui Jul 23 03:27:01 why so big the os for a version isn't anywhere near the sizes Jul 23 03:27:06 pfn: > because you don't want 80gb in a single repo Jul 23 03:27:10 Git repo yes :P Jul 23 03:27:18 Other SC systems: eh Jul 23 03:27:22 80GB is not going to be on your ram of your phone Jul 23 03:28:12 Source code size != size of OS on phone Jul 23 03:28:46 Ok at any extent so confused with this one the repo probably contain not just the OS version code but maybe the IDE , tools ,emulators ,...etc as well Jul 23 03:29:17 Seems dump though to not have all this in a different repo and have only the OS versions in one repo Jul 23 03:29:18 Unless you're an expert and you understand the Android build system I would not play around with removing repos too much Jul 23 03:29:39 droid2, if you understand nothing, keep opinion to yourself Jul 23 03:29:42 Otherwise you may end up removing a repo that you need Jul 23 03:30:05 tilal6991, eh, I would really enjoy working with an 80gb repo in anything Jul 23 03:30:18 that's like the only thing that svn is good at Jul 23 03:30:41 Well all i want to do is git the andriod version 6.0 source code so i can build it and modify it i don't want anything else right now how do you do that plus i set quota say for this to 10GB space which should be more the enough Jul 23 03:30:42 being able to check out a subdirectory Jul 23 03:30:44 http://www.wired.com/2015/09/google-2-billion-lines-codeand-one-place/ Jul 23 03:30:48 pfn ^ Jul 23 03:31:20 droid2: I'm not sure you understand how Android works Jul 23 03:31:29 There is no one "OS" binary that you can build Jul 23 03:31:41 Android is many many pieces which fit together to form what looks like one system Jul 23 03:31:49 But really inside it's got thousands of parts Jul 23 03:31:53 tilal6991, whether it's a single repository or an amalgamation is unclear according to the article Jul 23 03:32:07 Oh I can confirm it's a single "repo" Jul 23 03:32:19 But ovbviously you don't store it all locally Jul 23 03:32:24 Why i can build apps just fine on it your right about the OS part little other then using fastboot , adb ,...etc tools with prebuilt images. Now i want to be the one that makes the prebuilt images Jul 23 03:32:31 tilal6991, you can confirm? Jul 23 03:33:45 Sure it's a monolithic repo Jul 23 03:34:06 There's nothing quite like it outside Jul 23 03:34:07 http://bgr.com/2015/09/18/size-of-google-source-code-lines/ Jul 23 03:34:14 Gives a better understanding Jul 23 03:34:17 Ok so is there anyway to download the source from the repo of just the andriod 6.0 OS and what you need to build it Jul 23 03:34:30 in a small amount of space Jul 23 03:34:36 droid2: no Jul 23 03:35:00 so you have to have 70GB or so to build any version of the android os? Jul 23 03:35:07 Yes Jul 23 03:35:11 thats ridiculous Jul 23 03:35:14 Welcome to Android :P Jul 23 03:35:22 Enjoy your building Jul 23 03:35:33 What may seem like a very simple OS is quite complex Jul 23 03:35:52 nothing ridiculous about it Jul 23 03:35:54 Ok but does that 70GB or so give you all the version so you can build any andriod version you want or just the branch Jul 23 03:36:14 I'm not sure you understand how git works Jul 23 03:36:15 some stuff is shared Jul 23 03:36:22 some will need to be downloaded Jul 23 03:36:31 You can do a shallow clone sure but that'll still download a lot more than you might expect Jul 23 03:36:46 you have 400 repos for aosp, different repos are used by different versions of android Jul 23 03:37:20 shallow clones are useless Jul 23 03:37:29 Oh I agree Jul 23 03:37:29 and offer insignificant space savings Jul 23 03:37:57 so then how does one know what he is downloading in terms of which versions he can make Jul 23 03:38:05 But if he/she just wants to build a single shot build and cares that much about space then worth the saving I guess Jul 23 03:38:12 depends on what you pass to -b Jul 23 03:38:18 droid2: the repo manifest decides that based on the -b flag Jul 23 03:38:29 you can only build the version you pulled with -b Jul 23 03:38:55 and your saying like -b android-4.0.1_r1 is going to be like 70GB Jul 23 03:39:01 any subsequent repo init -b and repo sync take relatively little time Jul 23 03:39:09 Or 70GB for all the masters for each version Jul 23 03:39:28 it's always 70gb one time for any version you request Jul 23 03:40:01 what is the 70gb holding if the branch -b android-4.0.1_r1 is only 20MB or so Jul 23 03:40:17 it's not only 20mb Jul 23 03:40:22 its like 50gb Jul 23 03:40:39 the additional 20gb are the deltas over the years Jul 23 03:41:15 andriod kernel is going to be on the order of linux kernel so no more then say 20 or 30 MB then you have userland programs, apps , gui env thats going to take up 70GB ? Jul 23 03:41:59 That seems ridiculous how would it even fit on the arm device ram Jul 23 03:42:09 when you build it Jul 23 03:42:10 droid2: OMG yes. How do we need to go through this Jul 23 03:42:23 * many times Jul 23 03:42:43 As I said above repo size != built binary size Jul 23 03:43:22 The final output imgs of the build are usually 1-2GB Jul 23 03:44:03 I am sorry i just find it real real real weird that the size is so big no other opensource or free project out there is that big gnu projects ... gnome , kde , binutils , grub , ...etc not even close windows project not even close , mac projects not even close Jul 23 03:44:43 Lol because no other full stack OS is open source and I doubt you've tried to build it Jul 23 03:45:14 Instead of comparing Linux vs Android compare Linux vs one repo of Android Jul 23 03:45:14 I get repo size would be bigger then kernel builds , os builds , tools builds but that much bigger 70GB wtf ok i am going to see where i can fit this and wait like a day or to before i can even touch it Jul 23 03:46:00 ya how does one uses just one repo of andriod? Jul 23 03:46:11 You do have to remember all the graphic assets are also there Jul 23 03:46:14 You can't Jul 23 03:46:34 And is that one repo of andriod going to hold all the codebase for the branch i want and tools need to build the branches kernel and os image Jul 23 03:46:36 As I said you need full checkout to get a piece to build Jul 23 03:46:58 If you want to OS imgs you're going to have to download the whole thing Jul 23 03:47:02 There's no getting around that Jul 23 03:47:14 The code to build the img doesn't live in any one folder Jul 23 03:47:19 It's everywhere in the whole tree Jul 23 03:47:23 Split across repos Jul 23 03:47:27 Ok very well i am going to have to find a place to but all this and wait for the download before i try make different targets with different versions/options Jul 23 03:48:14 anyway, for help building android see #android-root and xda developers Jul 23 03:48:20 Anyway tilal6991 curious do you know of any non-android projects that one need 70GB of space to download the source to build the project? Jul 23 03:48:26 we generally don't care about building android here Jul 23 03:48:35 droid2: Presumably Windows? Jul 23 03:48:37 and the answer is yes, obviously Jul 23 03:48:38 Also pfn is right Jul 23 03:48:51 Or Mac OSX or iOS Jul 23 03:48:51 windows does need anywhere near that Jul 23 03:48:59 To build to whole of Windows? Jul 23 03:49:02 mac doesn't either Jul 23 03:49:03 windows, OSX, all Linux distributions if you want to build everything Jul 23 03:49:03 Are you serious? Jul 23 03:49:09 linux doesn't either Jul 23 03:49:14 you clearly don't know Mac nor windows Jul 23 03:49:19 Linux is not a distribution! Jul 23 03:49:23 It's a kernel Jul 23 03:49:31 Stop comparing Linux to Android Jul 23 03:49:36 It's a tiny piece of Android Jul 23 03:49:55 *bsd don't either ... even though netbsd is pretty large not anywhere near android confusing because android is just for embedded devices so you think it would be less size code base Jul 23 03:50:10 BSD is not a distribution either Jul 23 03:50:13 android = Linux + gnome + bounties + grub + etc Jul 23 03:50:14 It's still a kernel Jul 23 03:50:17 conceptually Jul 23 03:50:30 andriod basically = linux + desktop manager + dalvik to run app's on Jul 23 03:50:46 + hardware HALs + all the apps Jul 23 03:50:56 There's a lot more there than you might think Jul 23 03:51:13 you clearly don't know android Jul 23 03:51:32 so maybe it the hardware HAL of all the different phone models that is taking up this ridiculous sizes Jul 23 03:51:50 The HALs are negligable Jul 23 03:52:08 The main consumers are the frameworks/base and frameworks/av and frameworks/av Jul 23 03:52:23 That's the graphics stack, the media stack and the display stack Jul 23 03:52:30 * frameoworks/native Jul 23 03:52:37 because the rest of the projects are parts of andriod you mentioned are definitely not that big just look at the individual codebases for each and add them up to get an approximation Jul 23 03:52:41 As well as that you've got optimised GCC prebuilts Jul 23 03:52:52 Which take up quite a lot of space Jul 23 03:53:30 O the actually framework api's for android that isn't seperate in a different repo other then the andriod os repo's Jul 23 03:54:04 Yes the SDK is generated from the code in frameworks/base mainly Jul 23 03:54:16 I would have thought thats distinct because the android kernel would have the functions each api /framework they tie into in user space Jul 23 03:54:48 Uhhhhhhhhhh I think you have a fundamental misunderstanding of Android Jul 23 03:54:52 O damn i see now that sucks they put the frameworks with the andriod os build Jul 23 03:54:55 That's not how it works at all Jul 23 03:55:11 Lol what are you even saying? Jul 23 03:55:18 You'd rather there be no UI? Jul 23 03:55:30 Or framework for apps? Jul 23 03:55:40 Because that's the code in frameworks/base Jul 23 03:59:12 well are you sure because i just look at the size of the folder after repo sync and i get it like 4.4 GB wheres this 70GB your yacking about Jul 23 03:59:25 That's one repo lol Jul 23 03:59:40 There's several more Jul 23 03:59:45 so what does one repo give you Jul 23 03:59:50 "sucks"? android kernel alone is useless Jul 23 03:59:57 Literally zero things Jul 23 03:59:58 it looks to be a complete os build Jul 23 04:00:09 there's never any reason to build the kernel. by itself Jul 23 04:00:18 unless you want to be kernel hacking Jul 23 04:00:29 well i am going to try makeing this one repo Jul 23 04:00:36 Have fun :) Jul 23 04:00:43 you can download the kernel repo and hardware specific bits alone Jul 23 04:00:46 and build it Jul 23 04:00:50 Not going to work Jul 23 04:00:57 but don't expect any help Jul 23 04:01:16 you'll need the build repo, too Jul 23 04:01:28 ^ is right - you have to have a fundamental understanding of Android system architecture to do that Jul 23 04:01:41 Even the people who work on parts of Android don't do that Jul 23 04:01:43 wait so whats this one repo it has a framework folder , dalvik , bootable ,... Jul 23 04:01:53 They build to whole thing and then incrementally build the part they work on Jul 23 04:02:32 That's not a repo. That's a collection of repos in one folder Jul 23 04:02:35 Folder != repo Jul 23 04:02:49 but its not 70GB its 4.4GB Jul 23 04:03:04 so what are you talking about this huge sizes is coming from Jul 23 04:03:09 Because you've presumably only downloaded frameworks/base? Jul 23 04:03:19 Which gives you a grand total of nothing Jul 23 04:03:27 BTW the souce code is not 70GB Jul 23 04:03:30 It's less than that Jul 23 04:03:41 But if you want to do a full build, it'll take up a lot more space Jul 23 04:03:41 frameworks/base is all I ever look at Jul 23 04:04:01 Because the binaries will take up several gigs themselves Jul 23 04:04:25 dunno, my android partition takes up about 80gb and nuking the build cuts down about 10gb Jul 23 04:04:31 so I call it 70gb Jul 23 04:04:37 Oh wow Jul 23 04:04:43 i also pull tools/base Jul 23 04:04:47 TBH I haven't built since early L days Jul 23 04:04:53 so that adds some to the basics Jul 23 04:04:53 So it's been a while since I looked Jul 23 04:04:55 so whats a full build is it the kernel build , framework build , and pops out an iso image Jul 23 04:04:58 Really adds that much? Jul 23 04:05:06 ISO image????????? Jul 23 04:05:11 What Jul 23 04:05:29 tools/base is all build tools, android sdk and android studio Jul 23 04:05:31 Look the img is the system partition which is everything Jul 23 04:05:33 so it's pretty big Jul 23 04:05:49 I am just curious if i figure out how to build the whole andriod os that give me an andriod os install image correct? Jul 23 04:05:51 Oh yeah fair enough. When I was building it was 40GB Jul 23 04:05:59 that i can fastboot Jul 23 04:06:05 Correct Jul 23 04:06:12 For that you need the whole source code Jul 23 04:06:18 You cannot cut corners Jul 23 04:06:57 you can make a kernel image that you could boot with fastboot Jul 23 04:07:12 But if they don't match your OS you'll bootloop Jul 23 04:07:13 so if i get all the repo's and have all the dependencies / tools then i should beable to just make target ... and somewhere in the output directory would be an image i can fastboot if i am understanding the high level of the build process Jul 23 04:07:20 Correct Jul 23 04:07:22 http://stackoverflow.com/questions/26761114/reduce-the-size-of-the-android-source-repository-repo-directory Jul 23 04:07:33 If you're really desparate for what the size of the tree is Jul 23 04:07:46 Probably out of date since pfn has the 6.0 numbers Jul 23 04:07:50 That is for 5.1 Jul 23 04:08:23 Ok so my thing is i don't want to just compile the kernel i want to build a whole andriod os for a particular target arch i want and get an image that i can fastboot Jul 23 04:08:41 So download the whole thing build the whole thing flash the whole thing Jul 23 04:08:45 Quite straightforward Jul 23 04:08:52 You're building a whole OS here Jul 23 04:08:58 Not some small app Jul 23 04:09:40 ok what repo urls do i need to get Jul 23 04:09:55 Do the commands which pfn suggested Jul 23 04:10:00 repo init and repo sync Jul 23 04:10:22 I did this repo init -u https://android.googlesource.com/platform/manifest Jul 23 04:10:34 and i can do this repo init -u https://android.googlesource.com/platform/manifest -b android-4.0.1_r1 Jul 23 04:10:40 You need a -b flag as well for android-6.0 which is probably what you want Jul 23 04:10:55 I don't think you want to build 4.0.1 lol Jul 23 04:11:04 Also no -b gives you master Jul 23 04:11:11 but what else do i need to do is there not one url that i can repo init to do the whole pull down of everything i need that 70GB Jul 23 04:11:15 Which I would advise against for a first time builder Jul 23 04:11:49 i know thay about the branch\ Jul 23 04:11:56 repo init -u https://android.googlesource.com/platform/manifest -b android-6.0.1_r55 Jul 23 04:12:03 repo sync -j8 Jul 23 04:12:09 Those are two commands you ant Jul 23 04:12:10 * want Jul 23 04:12:12 That's it Jul 23 04:12:25 Also after this is done please move this to #android-root Jul 23 04:12:36 This is really not the place for building advice Jul 23 04:13:02 how do you know the branch names in general so i know how to download different os versions when they appear Jul 23 04:13:10 You don't Jul 23 04:13:21 You go to the URL and check the tags Jul 23 04:13:42 ok and this repo init -u https://android.googlesource.com/platform/manifest -b android-6.0.1_r55 is going to be 70GB Jul 23 04:13:48 ? Jul 23 04:13:54 Well that's going to be a few MB Jul 23 04:14:04 repo sync -j8 will be the 70GB Jul 23 04:20:21 what is dd? Jul 23 04:35:32 what is dd command? Jul 23 04:36:21 man dd Jul 23 04:48:45 on a linux machine this is a stupid question how do you get Java SE 1.6 its not in the repo and openjdk version 6.0 does not work Jul 23 04:49:01 This is just oracle making it difficult or somebody out there is Jul 23 04:50:54 I see on the oracles archives they have like jdk-6u45-linux-i586.bin download but what the hell is bin i need a tar.gz or a .rpm or .deb Jul 23 04:53:24 what kind of shit is this how can you get the old java SE that would work with android os building Jul 23 04:59:34 droid2: for my personal curiosity, why would you need Java 1.6? Jul 23 05:00:12 Because i am getting the incorrect version of java when i make the android project Jul 23 05:00:22 Your version is: java version "1.6.0_39". Jul 23 05:00:22 The correct version is: Java SE 1.6. Jul 23 05:00:36 openjdk doesn't cut it Jul 23 05:00:41 apparently Jul 23 05:01:12 droid2: no, I meant why would you use 1.6 instead of 1.7 or 1.8 Jul 23 05:01:47 did you read the error above i tried seven as well with openjdk-7* it didn't work either Jul 23 05:02:05 unless you know what package i can apt-get to uses that will work Jul 23 05:02:08 ??? Jul 23 05:02:17 droid2: are you using Debian? Jul 23 05:02:27 sort of yes ubuntu Jul 23 05:02:45 14 Jul 23 05:03:33 droid2: http://www.webupd8.org/2012/09/install-oracle-java-8-in-ubuntu-via-ppa.html Jul 23 05:03:40 droid2: it's apparently a trustworthy repo Jul 23 05:03:58 droid2: the official wiki even links to it Jul 23 05:04:16 but this is version 8 not 6? Jul 23 05:04:40 how is that going to help me Jul 23 05:05:08 droid2: https://launchpad.net/~webupd8team/+archive/ubuntu/java Jul 23 05:05:20 see it more not the version but the fact it is oracle Jul 23 05:05:24 droid2: the repo has the oracle-java6-installer as well. Try that. Jul 23 05:05:35 o ok i will try that Jul 23 05:07:53 droid2: can you do me a favor? Can you tell me if the package works? :D Jul 23 05:10:24 thank you so far so good where the heck did you find that repo at Jul 23 05:11:06 you think they would make the downloads easier in the repo's but even on oracles site for linux its ridiculous for archived versions Jul 23 05:13:29 droid2: FOSS nutjobs think that Oracle's JDK is too "closed source" so many distributions have removed it from their repos Jul 23 05:14:22 ya kind of sucks but my next issue is http://pastebin.com/vSqjzEWP Jul 23 05:14:33 I seem to get that error when i issue make Jul 23 05:15:40 something with KeyedVector.h:193:31 Jul 23 05:15:55 droid2: have no idea about NDK stuff Jul 23 05:15:58 I am thinking a don't have something that i need Jul 23 05:16:45 This is that 4.4GB fold i have tried to make it Jul 23 05:36:05 Had to run the script before make that was my issue got a little further but get this error http://pastebin.com/fVw7aYPK Jul 23 05:40:48 droid2: sounds like you need to install the perl module package Jul 23 05:41:10 aptitude search "perl switch" Jul 23 05:41:27 i did and now i am back to this error Jul 23 05:41:28 frameworks/base/include/utils/KeyedVector.h:193:31: error: ‘indexOfKey’ was not declared in this scope Jul 23 05:51:49 //ssize_t i = indexOfKey(key); Jul 23 05:51:49 ssize_t i = this->indexOfKey(key) ; may do it, crossing my fingers Jul 23 05:52:31 could be the version of gcc thats the issue with the STL/ATL Jul 23 05:56:42 i would like to emulate the microphone by sending a sound clip to the phone somehow. is this possible? Jul 23 06:08:59 O crap its a never ending switches to this->SetState() from SetState() or uses a different version of gcc /build tools Jul 23 07:05:09 curious what does the device names manta , flo ,fugu , bullhead ,...etc corrospond to? Jul 23 07:05:27 in terms of your make and model phone Jul 23 07:06:03 trying to relate this info with the stuff you get under setup --> phone information Jul 23 07:10:29 is an "easy share action" going to be seen in the "share to" menu when i look at pictures? Jul 23 07:41:16 Does GoogleApiClient have a function to check if there's an internet connection? Jul 23 07:43:55 Hey, how do I use a custom layout but just put different strings in a listView Jul 23 07:44:22 as in I have a different layout, but only 1 string changes Jul 23 07:46:54 ah never mind, I found out how it works Jul 23 07:50:11 glad to be helpful Jul 23 07:51:22 VerbalKint not sure of a function but you can open a socket and try connecting to a known good site if you succeed then you have connectivity Jul 23 07:53:03 I didn't know you could pass the textview id Jul 23 07:53:19 But it seems I can't get the parameters right Jul 23 07:54:54 droid2: actually, there's a better way to do that, but I was wondering if GoogleApiClient had something integrated in it. Jul 23 07:55:02 droid2: currently using something like this https://stackoverflow.com/questions/9570237/android-check-internet-connection Jul 23 07:56:42 I think I don't get my context parameter right Jul 23 07:58:20 ya or ping google which is always up works as well Jul 23 07:59:58 can i receive a SEND intent (mimetype="image/*") in my service? Jul 23 08:01:20 Weird, so it worked, but my IDE was complaining for nothing... Jul 23 08:04:49 curious what is he baseband version in phone info for? Jul 23 08:06:04 Also is there a site that relates the android version with the kernel version been trying to figure out what hammerhead kernel corrosponds to for what android versions or in general a website to look this up quickly Jul 23 08:07:28 And is the build number = to android version + kernel version because maybe thats the way to go about it build number to kernel versions or something Jul 23 08:08:24 Anybody care to explain baseband version , build number how those relate to android version and kernel version Jul 23 08:08:54 I only care about kernel and andriod version every so kind of wondering Jul 23 08:10:54 the model number i also uses more to identify the hardware that the os's is running on but never really used baseband or build number that much or when you want to uses those over the other or why those number are important in android development Jul 23 08:16:29 can i make my service be a "share to" handler? i want to share pictures by sending their file path to my laptop Jul 23 08:25:46 Android studio definitely could use improvements when it comes to lambda suggestions. It currently doesn't suggest to change the signature Jul 23 08:38:21 gradle build taking 5 min.. Jul 23 08:38:37 i have a navbar with icons (buttons) what size is recommended for these? Jul 23 08:38:41 ive just created the project Jul 23 08:41:41 WOO CREATE PROJECT COMPLETED IN 10 MIN HHAAH Jul 23 08:44:31 pifon: optimum efficiency Jul 23 09:27:15 How do I check when Google Games' leaderboard and stuff exit and function? Jul 23 09:27:28 ConnectionCallbacks isn't enough Jul 23 09:34:14 Nevermind Jul 23 10:03:30 Oh man, think that I found a bug! Jul 23 10:03:44 Doesn't Google pay for people who find bugs? :D Jul 23 10:04:19 That or I screwed up something Jul 23 10:05:18 But it seems to me that since this happens only in Google services activities, it's a Google bug Jul 23 10:06:56 Hmm. If it's their bug, I can earn an easy 333$. Jul 23 10:13:53 Neah, think that I'm screwing up Jul 23 10:24:23 if I want to use a listadapter I have to create it myself? Jul 23 11:02:50 am using roughlike's bottom bar lib and when i run it there is a weird gap above my fragment,but if i add mBottomBar.useFixedMode() it isnt there but then the text is screwed up (it goes through the icons) for each of the tabs of the bar Jul 23 11:40:05 <_genuser_> so apparently AS doesn't report all teh errors at once? Jul 23 11:40:24 <_genuser_> I keep fixing reference to an object (moved package name) and it keeps "slowly" finding more instead of listing them all once. Jul 23 11:58:41 The default Android Studio and Gradle memory heap sizes are so big. Reduced them by a lot and I don't really see a difference in performance. Jul 23 12:00:07 I don't know how 4GB Windows users can have the patience to compile something when Android Studio is definitely swapped on the hard drive. Jul 23 12:56:37 4GB users have no business doing development in 2016 Jul 23 12:57:55 software is like a gas Jul 23 12:58:03 in 5 years, it will be 16 gb Jul 23 12:58:12 thats bad :) Jul 23 12:58:44 better hardware is no excuse for bad programming Jul 23 12:58:53 including the developers of the build system Jul 23 12:59:34 plus, I dont want to pay a "developer premium" for hardware I buy Jul 23 12:59:47 because all other use cases dont require 16 gb Jul 23 12:59:53 just developing does Jul 23 13:00:17 16 gb? what is this :) Jul 23 13:00:29 if i buy a new computer now i would get 64gb atleast Jul 23 13:00:51 i have bought a new one this year, with 32 gb Jul 23 13:01:14 total overkill for most ppl Jul 23 14:51:41 Anyone ever used Retrofit to upload a photo file in a Multipart-form request Jul 23 15:38:14 Hi guys! I have an IntentService that starts file uploading and shows notification in the system bar. Now I need an ability to upload multiple files in parallel. Should I create simple Service and bound to it and create my background threads, count them and then stop the Service once the last uploading/thread is finished? Or maybe I can implemnt it using unbound Service just adding passing parameters to the already running Jul 23 15:38:15 Service and start new threads in onStartCommand()? Jul 23 15:38:23 I'm a bit confused Jul 23 15:38:59 intent service is for one job at a time, not parallel Jul 23 15:39:31 doing what you described in the latter will work Jul 23 15:39:51 pfn: I know, I mean, I understand that IntentSevice doesn't fit for me anymore since I need to do more than one task Jul 23 15:40:02 So I want to replace it with somple Service Jul 23 15:40:20 But I'm not sure how to organize the threads in there Jul 23 15:40:27 Indeed, just pick an approach that works for your requirements Jul 23 15:40:37 jcip is a good read Jul 23 15:41:05 you can use an executorservice and detect when it's idle Jul 23 15:41:15 or any other threading mechanism Jul 23 15:41:39 I'm sorry, what's jcip? Jul 23 15:44:36 Dude Jul 23 15:44:42 AlexBerdnikov http://jcip.net/ Jul 23 15:44:45 :) Jul 23 15:45:36 casadogg, oh, thanks :) I read Effective Android Threading these days Jul 23 15:48:11 pfn: I have my own ApiCallManager class with a ExecutorService that runs my network calls. I just not sure whether I can manage with it using START_STICKY or I should create bound service and pass the commands directly through its methods Jul 23 15:48:53 So basically I'm just not sure whether I need a bound service or not Jul 23 15:55:02 you don't need a bound service Jul 23 15:55:20 sticky has a meaning, read it Jul 23 16:09:47 um Jul 23 16:10:46 So this is my build.gradle https://paste.indigotiger.me/qT4EaTwZ Jul 23 16:11:42 I just created the project, and I'm getting the error: Plugin is too old, please update to a more recent version, or set ANDROID_DAILY_OVERRIDE environment variable to "f3b10efab5ff1872cc8e9dc2558f4f04ca01eab0" Jul 23 16:25:03 Guys is it possible to print out a stacktrace inside a LOG.D("LogTag",StackTrace) Jul 23 16:25:05 ? Jul 23 16:27:21 JakeWharton: I'm lookig to upload a photo with retrofit, any reccomendations on the best way to go about this? Jul 23 16:28:38 pfn: thanks for advice! Everything works like a charm now :) Jul 23 16:29:21 pfn: I just implemented unbound Service with an ExecuterService Jul 23 16:29:35 cart_man: you generally dump a stack trace when you're handling an exception... Jul 23 16:30:10 Leeds: Yes but for now I would like to just dump it in a log Jul 23 16:30:30 hi Jul 23 16:30:39 anyone here working or worked with firebase notifications ? Jul 23 16:30:56 or gcm, its the same thing I believe Jul 23 16:31:19 Guys, is there a feature in AS refactoring stuff which can maka a local variable a class member? Like, I have somethomng like MyStuff stuff = new MyStuff(); And I want to make it private MyStuff mStuff; Jul 23 16:31:40 ? Jul 23 16:32:00 So I don't have to move and rename it manually Jul 23 16:33:23 Found it :) Jul 23 16:40:19 I am wondering what the different lunch options are fo aosp as opposed to full or mini for different things Jul 23 16:41:02 Also currently what archs are supported by android source code just x86/64 , arm , and mips Jul 23 16:41:36 O and maybe sparc Jul 23 16:44:09 pastebin/jbnx02ha i get this error if i try to build any Jul 23 16:44:37 pastebin.com/jbnx02ha Jul 23 16:45:41 so kind of wondering how i can check and resolve if i don't have the correct manifest file Jul 23 16:46:31 droid2: if this isn't for an app you're building, you're asking in the wrong place Jul 23 17:18:23 6950x on the way. thank you google Jul 23 17:22:37 huh Jul 23 17:32:02 if i have users reporting crashes on older android version but same phone model. is there an easy way for me to set my phone to their android version? Jul 23 17:32:08 is there a good way to debug this? Jul 23 17:32:16 considering that i don't physically have the phone with me Jul 23 17:34:25 why are they using an older version Jul 23 17:43:29 maybe the telecommunicaitons operator wont update them Jul 23 17:43:46 if the problem is device-specific, it is unlikely to debug it via emulator Jul 23 18:05:23 g00s: here? Jul 23 18:05:33 hey thepoosh Jul 23 18:05:43 I got attention of a google person Jul 23 18:05:45 https://www.reddit.com/r/androiddev/comments/4twno6/introducing_stack_overflow_documentation_beta/d5l6uc0 Jul 23 18:05:51 by dissing their documentation Jul 23 18:06:45 thepoosh yeah me too, seems like they are hiring tech writers Jul 23 18:06:59 this isn't the way things work though, tech writing is a role not a position Jul 23 18:07:46 there could be a small team of writers that set guidelines, goals, check cultural compliance, etc Jul 23 18:07:46 I actually know a tech writer or 2 Jul 23 18:08:10 I think the documentation is auto generated from the code files Jul 23 18:08:36 yeah i start to wonder if thats a problem when at android - scale Jul 23 18:09:09 are the docs for devs the same as docs for those working on the platform? should they be physically stored in the source files? etc Jul 23 18:09:34 i wonder how MSDN website handles this technically, it seems more like a wiki Jul 23 18:09:45 maybe some parts of the site get extracted from c# code, not sure Jul 23 18:10:39 I was told by a good friend that AOSP is probably has the best documentation site Jul 23 18:10:43 and MSDN is next Jul 23 18:11:08 you can now check that on github Jul 23 18:11:16 is the C# repo Jul 23 18:11:24 when i look up stuff on MSDN they have examples in there with method docs Jul 23 18:11:54 thats what i think needs to happen, you have a class like View and I think its 250+ pages of just a list of methods ... Jul 23 18:12:03 no examples, etc Jul 23 18:12:21 thepoosh yeah i'll check it out Jul 23 18:13:06 maybe my friend knows more about their doc toolchain Jul 23 18:13:54 thepoosh to do this right, i always felt there had to be carrot / stick Jul 23 18:14:13 ask around Jul 23 18:14:27 like at one company i was at, if the docs were poor, support guys report at the end of the month would show some area requiring lots of calls, attention, that - got billed to us haha Jul 23 18:14:41 and if they could not answer questions, then phone calls came to our desks Jul 23 18:14:51 so , we all worked hard to make sure docs were great :D Jul 23 18:15:14 now i can see, for a startup, that being overkill, but we're not talking about a startup Jul 23 18:15:57 thepoosh what else are you working on ? Jul 23 18:16:05 meh Jul 23 18:16:08 lol Jul 23 18:16:11 super secret things! Jul 23 18:16:19 so you are predicting tomorrow's AW :) Jul 23 18:16:50 i promise you that event the promising title will be a bad medium article written by a n00b Jul 23 18:17:00 actually haven't been doing too much android stuff in the past few weeks Jul 23 18:17:15 iOS? Jul 23 18:17:31 no, no ha Jul 23 18:18:56 sasser: why are they using an older version <-- because people use older version Jul 23 18:19:25 i can't use emulator because it relays heavily on hardware sensors Jul 23 18:19:35 it'd be very painful to test Jul 23 18:19:45 some of it also depends on gpu and hardware codec Jul 23 18:20:18 i would like to emulate the microphone by sending a sound clip to the phone somehow. is this possible? Jul 23 18:45:44 anyone knows how to forward or something a port to the android device via USB? One package requires to create a session in port 8082 and I tried ./adb forward tcp:8082 tcp:8082 as I would with a genymotion emulator but it didn't work Jul 23 18:46:14 same with reverse tcp:8082 tcp:8082 Jul 23 18:46:23 worked for tcp:8081 tho Jul 23 18:48:15 rxjava 1.1.8 Jul 23 18:58:43 Hey guys Jul 23 18:58:46 Can someone tell me Jul 23 18:58:58 Can someone tell me how to lookup a contact by phone number? Jul 23 19:21:06 my dumb device's package is trying to get it's own address (his address in the subnet:debug port) Jul 23 19:21:36 is there a way to point it in the right direction without having to change the code myself Jul 23 19:21:44 I mean, the code from the buggy package Jul 23 19:22:15 tried with ./adb forward tcp:8082 tcp:8082 -> te debug port and same with reverse, didn't work Jul 23 19:22:28 it's pointing to itself instead of my machine Jul 23 19:35:04 neat, it fixed itself automagically Jul 23 19:52:32 now I'm trying to access my vagrant machine's web server from my device and it's giving me trouble, it's refusing to connect at my local ip Jul 23 20:26:38 well, i just had to forward the port in the vagrantfile Jul 23 22:16:23 Is there are better ways to handle the backstack and fragments? I am trying to implement good fragment navigation but looks like this is impossible with android. Jul 23 22:16:27 ? Jul 23 22:20:44 curious i am getting this issue on a computer http://pastebin.com/5BXkxXnp Jul 23 22:21:27 i know what its from but is there anyway to resolve this to get the emulator working so i can test the and build the code Jul 23 22:22:54 update the sdk with the intel system image Jul 23 22:23:20 idk about the cpu issue Jul 23 22:24:47 how do you do that i understand the system cpu does support this feature but why the failed to create android virtual devices even though its going to be slower i don't care Jul 23 22:25:00 at least its something to debug with Jul 23 22:25:07 and build with Jul 23 22:26:25 open the sdk manager, either thru the studio or terminal type . android Jul 23 22:27:01 if the sdk isnt in your path you will need to navigate to the tools folder Jul 23 22:27:22 ok but i can bring up a list of emulators but i have that read issue in the right bottom corner saying svm not support...etc Jul 23 22:28:21 just not sure what i am looking for? Jul 23 22:28:21 i assume (maybe wrongly) that that will fix itself once updated Jul 23 22:28:54 updated to what i am using mini version around 4.xxx and marshmallow Jul 23 22:29:02 intel atom system image i guess Jul 23 22:29:53 have a screen shot of what your looking at so i know where i am looking at is it the ADM android download manager Jul 23 22:29:57 the manager will give you a list of available updates, i just install them all Jul 23 22:30:17 ok will try it Jul 23 23:26:22 ya tried that seems as i cann't get rid of those error or uses an of the system images for version 6.0 or latest marshmallow .... so it builds the apk file fine but now the only option i have is test it on the main phone each time this is very inconvenient though Jul 23 23:28:12 there must be a solution, you just need to get an answer from someone higher up the food chain then me lol Jul 23 23:29:46 Plus the only phones physically that i have for testing would be an old 2.3 version phone and i bet if i go back that far there was no need for all this hardware virtual acceleration Jul 23 23:30:34 ...etc Jul 23 23:31:06 your using the android studio? Jul 23 23:42:45 yes Jul 23 23:45:02 i see the issue one computer the linux i686 has cpuinfo for vmx so it supports on this machine but cann't uses it because don't have enough memory at the moment for it. So i am using the AMD machine which is x64. But i only see intel images no amd ones if that makes any difference definitely vmx is not support on the x64 would have thought it would have been Jul 23 23:46:39 So its either uses a 32 bit machine eventually with vmx support or try to figure out a work around for the x64 ? Currently i was choosing the latest 6.NX in the SDK manager but now i dropped back to just 6.0 marshmallow to see if that does anything good for me Jul 23 23:48:14 I also install a really reall old SDK because i have always my old old old android phone if i only need the bare essential sdk but most of the code would be not compatible exactly with the newest stuff anyway so kind of in circle how how to even thing of starting really its not the code so much as the configurations for different systems Jul 23 23:49:45 I have in the passed used the 32bit vmx os worked fine but at the moment not available because of other computing running now. So kind of want to just get the andrioid IDE up and running so i can develop app's for a few people to make there phone experience easier Jul 23 23:52:15 would have thought the x64 would be better suited but apparently not only maybe better suited if your building from source andriod not developing app's Jul 24 00:40:38 droid2, I don't want to read your newspaper question Jul 24 00:40:39 sorry Jul 24 00:41:02 GZIP that maybe :P Jul 24 00:53:37 <^v> how can i tell if my android emulator is using KVM? Jul 24 00:53:51 <^v> (i have it installed ant it works fine) Jul 24 00:53:58 <^v> (using AVD on AS 2.1) Jul 24 01:09:18 ok i am also wondering in SDK manager you can select any API from 1.0 to like API 24 ish or more. The other thing i am running into is i tried an old version api but realized i need an old tools Jul 24 01:11:05 The tools in SDK manager only go back to like 19 version so what happens if you have an old api 1.0 or device 2.3 you would probably need the right tool version as well because compatiblity flew out the window with the android project long ago. Jul 24 01:11:43 Not that its hard to fix in some cases i am just saying for old api don't you need old tools like what was api 1.0 tools where are they? Jul 24 01:13:27 Why don't they provide all the tools version like they do with all the sdk api versions to download? There not even in the extras Jul 24 01:14:27 And i am still trying different system images to get some kind of emulator on this machine so far nothing. Jul 24 01:57:25 Why did retrofit2 add the Cal to the Callback methods? Jul 24 02:48:56 To make synchronous and asynchronous calls more regular Jul 24 02:55:24 How do you mean CedricBeust Jul 24 02:55:53 Before, you had different method signatures depending on whether you wanted the sync or async version of the function. Call makes this more regular. Jul 24 02:56:49 I see, thank you CedricBeust Jul 24 02:57:36 Well, isnt sync just using the #execute method? Jul 24 02:57:41 And async is using #enqueue Jul 24 02:58:07 Yup. But now you only have one method signature on your proxy interface Jul 24 02:58:43 Proxy interface **** ENDING LOGGING AT Sun Jul 24 02:59:58 2016