**** BEGIN LOGGING AT Thu Sep 19 02:59:59 2013 Sep 19 03:01:31 Can someone please guide me along making an adapter for a ListView? Adapter#getView should return a Switch toggle which needs to have one value associated with it. There should be one toggle for each contact. Sep 19 03:02:19 This is my code so far: http://pastebin.com/Hpx863ii Sep 19 03:12:30 <^cheeky> Bitwise: final Switch s = convertView == null ? new Switch(parent.getContext()) : (Switch) convertView; ? Sep 19 03:12:54 ^cheeky, Creates a new Switch toggle element if it doesn't already exist. Sep 19 03:13:49 <^cheeky> Switch .. hmm new to me Sep 19 03:14:06 It's just an on/off toggle Sep 19 03:14:19 <^cheeky> so in your layout for the switch you are creating programatically then ? Sep 19 03:14:37 Yes, I'm not sure how else to do it. Sep 19 03:16:17 <^cheeky> you could try creating a custom view for each item, in your list and use an adapter to be the bridge between the activity and thedata model Sep 19 03:18:49 <^cheeky> bbl or brb ,, need food Sep 19 03:21:29 <^cheeky> Bitwise: i not really sure, but usually you create a layout file for an item in your list, then you inflate it in getView then wire it up that way, but there are people here who def no whats correct Sep 19 03:21:34 <^cheeky> going to eat Sep 19 03:21:54 Ahh, thank you. :-) Sep 19 03:25:56 <^cheeky> Bitwise: errm .. didnt do anything nor it didnt even work .. i am using a listview to i can show code if you want and you can ask questions, i can answer with what ever knowledge i have. Sep 19 03:45:27 make otapackage -j16 error Debian Jessie http://ubuntuone.com/45oVizBM2MkbizadvYxjCl Sep 19 03:56:12 bed ttyl Sep 19 04:02:10 Anyone know if the Tegra profiler works on non-tegra devices? Sep 19 04:03:29 ah, isn't nevermind Sep 19 04:14:18 hmm, does motoblur do something weird with button sizes? Sep 19 04:16:54 <^cheeky> pfn: i confused traceview, with hierarchy viewer : Sep 19 04:16:56 <^cheeky> :/ Sep 19 04:29:43 A Google User on Sep 18, 2013 at 1:50 PM Sep 19 04:29:44 Auto-translated from German Sep 19 04:29:44 Top IRC client with some new imei against AndChat Sep 19 04:29:51 weird, that's a new review, but it still shows up as google user... Sep 19 04:29:58 (review count went from 127 to 128) Sep 19 04:32:07 pfn, You need to get up to my level :P Sep 19 04:32:17 ? Sep 19 04:32:26 level of reviews Sep 19 04:32:38 <^cheeky> reviews .. where ? Sep 19 04:32:41 um, ok Sep 19 04:32:48 just playing of course Sep 19 04:35:49 <^cheeky> its so painful to code for android on a cor2dou chipset :/ Sep 19 04:35:52 <^cheeky> :( Sep 19 04:36:09 so time to upgrade pc Sep 19 04:36:10 ^cheeky, You're telling me, I'm coding on a AMD E450 Sep 19 04:36:22 It takes me a minute or two to recompile when changing one file Sep 19 04:37:19 <^cheeky> i mean eclipse is all right with it Sep 19 04:37:24 <^cheeky> buut , AS no way Sep 19 04:37:45 <^cheeky> doable but AVD , takes ages Sep 19 04:52:23 heh, even the Atom image for 4.2 is sluggish in an AVD on a fast system :) Sep 19 04:53:43 <^cheeky> i can be patient .. but on a laptop .. comp overheats and starts frying my thighs soo yay !!! Sep 19 04:54:04 that's why they tell you not to put them on your lap :P Sep 19 04:55:15 <^cheeky> hell of a oxyMoron that is heh Sep 19 04:58:13 Any idea why when I scroll up in my ListView with each row being a single Switch toggle element, the toggle reverts to off even though I'm 100% saving my settings? Sep 19 05:00:02 <^cheeky> Bitwise: where are you saving or adding it to bundl e Sep 19 05:03:48 ^cheeky, http://pastebin.com/qGZG28M1 Sep 19 05:05:59 they're not really laptops anymore, that's why they call them notebooks Sep 19 05:06:15 it's not really meant to sit on your lap Sep 19 05:11:22 <^cheeky> Bitwise: Switch holder is your one class? Sep 19 05:11:31 Yes. Sep 19 05:11:34 <^cheeky> you might need update your data Sep 19 05:11:45 <^cheeky> notifychange thingy Sep 19 05:11:49 <^cheeky> ahh brain fart Sep 19 05:11:53 <^cheeky> whats it called Sep 19 05:12:04 <^cheeky> onNotifyDatatsetChanged Sep 19 05:12:15 <^cheeky> possibly ? Sep 19 05:12:20 hit enter a few more times Sep 19 05:12:21 <^cheeky> you have a of finals Sep 19 05:25:04 hello Sep 19 05:37:52 blender 3d is lots of fun Sep 19 05:38:11 i tried to use it, but it was way over my head lol it did look very handy though Sep 19 05:39:05 bankai_ :) i asked them if anyone used it for 2d, but it doesn't seem to have anything like svg export (natively) … maybe some plugin somewhere ... Sep 19 05:39:44 i thought maybe i could use it for some android assets Sep 19 05:40:42 g00s: the print screen button ;) Sep 19 05:40:54 JesusFreke :D Sep 19 05:41:15 should be useful for 3d goblin background for my enterprise / scientific app :P Sep 19 05:41:41 but some of the stuff people make with it is pretty amazing Sep 19 05:42:01 JesusFreke how is smali 2.0 going :) Sep 19 05:42:44 released b6 over the weekend Sep 19 05:42:59 If nothing major comes up, it will probably be 2.0 final Sep 19 05:44:24 woohoo Sep 19 05:44:47 JesusFreke any fun / interesting challenges that you learned something new from ? Sep 19 05:45:43 hmm. I recently learned that I can play didgeridoo for an hour straight, but that I probably don't want to play for much longer than that. Sep 19 05:52:09 if anyone has iosched 2013 on their phone still… does it still work? i hacked it up to run on the emulator but it doesn't show any content in the tabs Sep 19 05:52:37 it doesn't run on my froyo device , hence the hacking to run on the emu with play services :P Sep 19 05:58:33 My friend and I are having a conversation and he's wondering if Android uses dbus Sep 19 06:00:06 hm, well i don't see a package for it in the repos Sep 19 06:00:28 but i may have overlooked something Sep 19 06:07:01 Android doesn't use dbus Sep 19 06:07:06 no reason to Sep 19 06:13:11 pfn: D-Bus was used in BT stack Sep 19 06:13:15 not sure if it's used anymore Sep 19 06:13:29 p_l, ah, I vaguely remember that Sep 19 06:14:52 g00s: I can see content in iosched'13 Sep 19 06:15:23 p_l oh, thanks … do you have google+ account ? Sep 19 06:15:34 g00s: yes Sep 19 06:15:43 thats what i removed from the app, i think thats where its pulling the feed / content from. Sep 19 06:15:45 stupid me Sep 19 06:15:50 p_l ok , thanks Sep 19 06:15:54 (since day one or two, actually :P) Sep 19 06:16:08 it was so simple last year, just an http request :( Sep 19 06:17:10 g00s: the "stream" tab in iosched used G+ Sep 19 06:17:40 hm, it doesn't seem to pull up any tracks, scheduled, classes, anything at all. Sep 19 06:17:42 and iirc aggregated g+ content tagged apropriately Sep 19 06:17:44 must all be tied to google+ Sep 19 06:17:49 ok Sep 19 06:17:50 g00s: or you broke something more :P Sep 19 06:17:59 heh, probably - also Sep 19 06:18:17 p_l thanks for checking Sep 19 06:24:23 <^cheeky> hello Sep 19 06:28:20 ^cheeky h .. e .. l .. l .. o :) Sep 19 06:29:19 <^cheeky> haha ok i get it i am sorry i guess i have a disability , or its just showing brain processing and there is bug that while processing i still do the .... Sep 19 06:32:14 <^cheeky> g00s: do you always use asnyc task classes or do you use handler and messages to do the threading Sep 19 06:32:48 i never use AsyncTask Sep 19 06:33:36 either HandlerThread, or more recently RxJava Sep 19 06:33:50 for those Future> situations ;) Sep 19 06:33:51 <^cheeky> why not ? if you don't mind me asking and i am really interested to know please Sep 19 06:34:28 <^cheeky> future list situations as in, Sep 19 06:35:18 well, here is the one and only place i would use it … when you need to do something off the main thread, in an activity, and it doesn't matter whether it finishes. like an async query from the db. so actually i use asynctask because i use loaders indirectly, but thats about it Sep 19 06:36:03 but , often things are more complicated, like you have to kick of async task #1 and feed the result to async task #2 - which is poor design Sep 19 06:36:08 ping-pong between threads Sep 19 06:36:23 thats when RxJava becomes useful Sep 19 06:36:34 in a service i just tend to use HandlerThread Sep 19 06:37:22 where i would not use it, is in an activity doing something that needs to happen … and the thread could outlive the activity Sep 19 06:37:53 but its more a theoretical concern, but i still avoid it Sep 19 06:40:38 <^cheeky> hmm .. so am i wrong in not using a handlerThread, to fetch urls ? Sep 19 06:40:49 you can use an IntentService Sep 19 06:41:03 those are nice, and … use HandlerThread under the hood ;) Sep 19 06:41:08 <^cheeky> thats my next lesson i am gonna read Sep 19 06:41:13 for more to read, see http://mttkay.github.io/blog/2013/08/25/functional-reactive-programming-on-android-with-rxjava/ Sep 19 06:41:53 <^cheeky> Writing concurrent programs (that are correct) is hard. :( Sep 19 06:42:54 i think android makes to more difficult; just the nature of complex lifecycles of all these components Sep 19 06:43:14 and having concurrent things happening / coordinating between them Sep 19 06:43:15 <^cheeky> and finally when i thought i was getting it Sep 19 06:43:39 maybe in android 5 they will get rid of all the callbacks :) Sep 19 06:43:42 begin() Sep 19 06:43:43 end() Sep 19 06:43:48 there you go ;) Sep 19 06:44:38 with phones having 2 - 4G memory, this crap simply isn't needed any more (throwing away each activity, etc). they need to move towards a more desktop-centric paradigm, like BB - apps starts, app ends - app can start daemon, or not Sep 19 06:45:02 the lifecycle for a BB app is extremely simple Sep 19 06:45:07 well, its basically like a desktop app Sep 19 06:45:36 <^cheeky> oh man i have to much to learn !!! Sep 19 06:45:40 <^cheeky> thank you Sep 19 06:45:40 but now we are working withing a framework designed around constraints of running java on devices with 256mb of memory Sep 19 06:47:13 ^cheeky read the link i gave, see AsyncTask part Sep 19 06:47:23 <^cheeky> i am reading it Sep 19 06:47:26 <^cheeky> :) Sep 19 06:47:58 if you do use asynctask, outside of loaders, do it this way http://stackoverflow.com/questions/3357477/is-asynctask-really-conceptually-flawed-or-am-i-just-missing-something Sep 19 06:48:04 see hackbod's answer, she knows :D Sep 19 06:48:41 its tricky to get right with screen rotations, etc. so be careful. at least go into knowing there be monsters there Sep 19 06:51:42 <^cheeky> i know there are monsters out there yet i am a fool, coz in my head i guess, umm some how want to learn it. its like me being a mermaid and wanting to walk on land ahhahahahaha Sep 19 06:51:55 ^cheeky lastly, read the code for AsyncQueryService in the Calendar code. its an interesting pattern Sep 19 06:51:58 <^cheeky> oh man it 3 am !!! Sep 19 06:52:24 <^cheeky> g00s: i will and thank your for the reads :) Sep 19 06:52:30 np Sep 19 06:53:06 when i started android in 2010, i think this channel had like 10 "how do i … asynctask … configuration change" questions per day Sep 19 06:53:12 i guess everybody igured it out :) Sep 19 06:53:22 or just locked their screens to one way haha Sep 19 06:53:36 or used loaders, since they remove lots of pain there Sep 19 06:54:03 now everybody is having problems with AS XD Sep 19 06:54:44 <^cheeky> As == Android studio Sep 19 06:55:17 yes Sep 19 06:55:55 <^cheeky> so far i haven't had any monster come out and devour me .. YET Sep 19 06:56:25 <^cheeky> with AS Sep 19 06:56:30 if you rotate your phone with you app running, that usually conjures up a monster Sep 19 06:56:46 <^cheeky> well actually my code works lol Sep 19 06:57:03 terrific ;) Sep 19 06:57:12 <^cheeky> i think :/ Sep 19 06:57:14 <^cheeky> :( Sep 19 07:00:50 hiho.. how can i listen for Preference clicks in a PreferenceFragment? Sep 19 07:02:08 <^cheeky> g00s: .. i know i am not paying your or anything but .. if you have time .. let me know if i am tarded, but my code works .. here just for my learning i used handerThread class and async ,my next move is to learn Intent services and loaders as you mentioned Sep 19 07:02:15 <^cheeky> g00s: http://pastebin.com/khJNtiTK Sep 19 07:02:19 i know there's onSharedPreferenceChanged to listen for changes but not to listen in "clicks" Sep 19 07:03:04 <^cheeky> some one else here told me some really valable info as well when learning this stuff, thank you for this # existing Sep 19 07:03:09 <^cheeky> and many others :) Sep 19 07:35:22 oh man, hit a hellacious bug in AS full screen on mac Sep 19 07:52:31 you mean iOS itself? thats a feature Sep 19 07:58:50 <^cheeky> g00s: whats the bug jamming up /? Sep 19 07:59:25 i'm just noticing a lot of UI bugs in AS Sep 19 07:59:37 this one is terrible , requires force quit Sep 19 07:59:49 If you start AS full screen mode, and then go to run your app Sep 19 07:59:50 <^cheeky> Eeeek Sep 19 07:59:59 this process takes a long time, maybe 10s of seconds Sep 19 08:00:09 <^cheeky> you mean in preview mode / Sep 19 08:00:09 <^cheeky> ? Sep 19 08:00:45 if you switch to another desktop, say the one with your emu bacuse you want to see your app :P then AS pops up a Device Chooser dialog on that desktop … but selecting it switches focus back to the full screen desktop - but THAT desktop is unresponsive Sep 19 08:01:17 so you can't interact with the device chooser or the full screen window Sep 19 08:01:19 force quit Sep 19 08:01:43 if you run, and just sit tight, and it shows the dialog in the same desktop as the full screen AS Sep 19 08:01:46 everything is fine Sep 19 08:01:55 kjeldahl still using emacs for android :P ? Sep 19 08:03:22 g00s: For straight up Android, yes. But I'm also working on a libgdx game and I haven't dared messing with the build process there yet, so for libgdx I'm still wearing the Eclipse diapers... :-) Sep 19 08:04:09 kjeldahl can you post the link to your blog post? i lost a bunch of bookmarks when i updated FF Sep 19 08:04:16 * ^cheeky wished he attained the knowledge thats been discussed here Sep 19 08:05:49 One of these? https://github.com/mariusk/android-with-emacs https://plus.google.com/107657528816470202239/posts/NrrjDbkVwGY http://kjeldahl.net/d7/node/34 Sep 19 08:06:33 kjeldahl yes, thanks Sep 19 08:06:34 github is/will be most current though Sep 19 08:07:16 my machine just doesn't have enough kutzpah to run AS with gradle, its way too slow Sep 19 08:08:00 * g00s is up the proverbial creek Sep 19 08:08:48 <^cheeky> system specs ? at least its not a core2dou :P Sep 19 08:09:10 Those Java IDEs are just weird. Why should restarting a compilation process take any time at all? When I do that in emacs, it just kills everything instantly and restarts. And lots of other stuff. But auto imports etc usually work better in the IDEs. BUT, those are mostly important in the beginning. Sep 19 08:09:18 <^cheeky> i wonder if it might be my hdd, but alas AVD would need more cores to make it buttery smoth Sep 19 08:09:21 <^cheeky> (smooth Sep 19 08:09:24 ^cheeky yeah i have a core2 duo Sep 19 08:09:30 <^cheeky> whaat no way Sep 19 08:09:32 4G ram Sep 19 08:09:53 <^cheeky> you bluffing :P Sep 19 08:10:10 no, 2009 Macbook Sep 19 08:10:39 i've thought about ditching textual for weechat for a measly 50mb ram Sep 19 08:10:48 its "tight" Sep 19 08:11:24 <^cheeky> Os fingerprintin Sep 19 08:11:36 ^cheeky genymotion on my POS is buttery smooth, its awesome Sep 19 08:12:13 kjeldahl yeah. we're spoiled with emacs / vim. i'm used to things happening instantly Sep 19 08:14:04 <^cheeky> people using vim/e-macs , really intrigues me, and have so much more respect for them, i am so spoilt with were introduced programming with , IDE such as eclipse textmate etc.. Sep 19 08:18:49 I remember being spoiled by Turbo Pascal 1.0 - the IDEs at the time were a LOT faster than the cmdline stuff. Today, not so much (IDEs mostly just call the cmdline stuff with lots of overhead). Sep 19 08:20:33 I find Eclipse a bit scary though; when stuff does not work correctly, one usually have to try a combination of "refresh" and restarting Eclipse, and often that just fixes thing. That's scary if you ask me. Sep 19 08:20:42 A non-deterministic build process. Sep 19 08:20:51 AS + gradle is the slowest thing i've ever seen. i feel like i'm using a commodore 64 and swapping disks to run GEOS Sep 19 08:21:32 yeah, Gradle is terribly slow Sep 19 08:21:54 when i run it from the command line in daemon mode its fine with me Sep 19 08:22:02 Regarding gradle; yeah, java and/or java-based build tools generally sucks bigtime, also for unknown reasons. Feels like we've learned nothing. Sep 19 08:22:29 but from AS … i wonder if AS is using gradle in daemon mode or not Sep 19 08:22:35 it feels like not Sep 19 08:22:45 kjeldahl yeah :*( Sep 19 08:29:39 is there something to set in AS so that i don't get a dialog each time i run asking what emu to use / start ? Sep 19 08:30:02 pretty much always running on the same emu Sep 19 08:34:57 ah yes, there it is Sep 19 08:36:30 there we go, had to select genymotion as device rather than emulator Sep 19 08:36:38 or i could have used their plugin, meh Sep 19 08:37:18 kjeldahl do you think emacs is keeping pace and evolving at a good enough pace ? Sep 19 08:37:50 i thought the 7.4 release of vim was lamesauce; so much baggage that needs to get fixed like even having a decent plugin manager Sep 19 08:38:00 although i use pathogen its ok Sep 19 08:38:46 try vundle Sep 19 08:39:01 Tim Pope is going to be mad Sep 19 08:39:06 :) Sep 19 08:39:12 g00s: Not really, but it's still miles ahead of most "alternatives". It could do with a backend refresh, but it's a BIG backend.. ;-) Sep 19 08:39:15 even weird bugs in netrw Sep 19 08:39:15 i dont think so 8-) Sep 19 08:40:09 g00s: Part of the reason it's struggling is that anything "java" mostly have to be "jacked in" to java stuff. Which it isn't of course. Not sure if that's a disease on the emacs or java side though. Sep 19 08:40:11 hi, i have made an application which using GPS location (like requestLocationUpdates(LocationManager.GPS_PROVIDER, 30000 ... ) when i'm strarting that app, the requests are by 30 seconds, now when i'm starting another app which using GPS, interval now is smaller - by few seconds. How does that function works? Does it overwrite some Android OS's settings and make interval of last used app? Sep 19 08:42:07 ohcibi using vim for android ? Sep 19 08:42:51 g00s: no... i use eclipse for java stuff, and I hate that there is no easy way to use vim like key bindings in eclipse like it is in xcode Sep 19 08:44:07 There is a plugin for emacs that jacks into eclipse which I haven't tried yet, but it looks good. Uses the emacs autocomplete stuff in emacs, but it gets populated from calls to eclipse. Might be worth looking into. Sep 19 08:44:08 i can't run the latest xcode they put out today, but 4.6 was .. pretty nice Sep 19 08:44:20 hm i'm just installing it Sep 19 08:44:21 kjeldahl yeah the eclim one Sep 19 08:44:24 (probably not if your system is resource constrained like g00s' is) Sep 19 08:44:43 i hoped it ran eclipse headless in some smaller footprint mode Sep 19 08:44:51 but it seems to be a full on eclipse Sep 19 08:44:51 kjeldahl: well i dont want to restart the emacs-vim war, but i'm no emacs user, so this is not an option for me 8-)) Sep 19 08:44:53 ugh Sep 19 08:46:12 the thing with xcode it is its not using a vim-session which must somehow connect to xcode but adds vim-like keybindings directly to xcode... autocompletion with a dedicated IDE is way better than with vim itself and as long as i can move end edit as am used to its fine Sep 19 08:46:24 maybe i should get a VPS on digital ocean or something to push my gradle builds O.o Sep 19 08:46:49 i know of eclim and it looked intresting to have the eclipse autocompletion in vims autocompletion, but the setup was complicated and I didnt get it to work lateley.. Sep 19 08:47:05 oh no Sep 19 08:55:57 Yeah, the setup for emacs wasn't completely trivial either, so I haven't tested it myself either. Sep 19 09:06:54 heya peeps Sep 19 09:13:14 Anyone here know how I could access files within an APK ? The supplier of our App is being stupid and are seriously telling us they cant send us the eula file. We as a company can't have their EULA in our product. Sep 19 09:14:42 SrRaven-work, apk files are just zip files Sep 19 09:15:46 Ok, so they should be somewhere ? Sep 19 09:16:45 should be unless it is packed in to a file inside of it somewhere Sep 19 09:16:48 the eula isn't necessarily a file Sep 19 09:16:55 it might just be a hardcoded resource string Sep 19 09:17:21 pretty fascinating http://www.businessinsider.com/sex-and-politics-at-google-its-a-game-of-thrones-in-mountain-view-2013-9 Sep 19 09:18:03 dumb question,whats the best way to get the apk from the store? Sep 19 09:22:29 SrRaven-work, install the app, then copy the apk out of the installed apps folder to your sd card and get it off there Sep 19 09:22:35 you need root tho Sep 19 09:22:59 hmm,dont have root Sep 19 09:23:08 neither do all work phones (company policy) Sep 19 09:23:27 sux Sep 19 09:23:41 install it on a non-company phone that has root Sep 19 09:24:03 When company policy gets in the way of doing work, then just say so and let the people in charge of the policy deal with it. :-) Sep 19 09:24:31 kjeldahl is right about that; tech solutions to political problems are brittle Sep 19 09:31:41 raziel I will soon, I use a n4 so most times I dont even need root Sep 19 10:37:54 I'm trying to use nanohttpd in my android project in Eclipse but have no clue how to import it and use it in an existing project Sep 19 10:38:02 any hints? Sep 19 10:41:26 back and still waiting for some tips on how to use nanohttpd in an existing android project in Eclipse Sep 19 10:51:01 dokma: can't you use the built-in HttpServer package? Sep 19 10:51:25 or well, package is httpserver, class is HttpServer? I haven't checked if that's on android though Sep 19 10:51:57 from the source I've seen using that class it's just useless for me Sep 19 10:52:04 I need to do it in a few lines Sep 19 10:52:15 just receive a GET request and send an SMS Sep 19 10:52:24 and I have to do it today Sep 19 10:52:35 so I imported an external class folder Sep 19 10:52:42 and now I'm trying to use it Sep 19 10:53:46 useless? That is a bit harsh, but whatever. Sep 19 10:54:08 in general you drop a jar you wish to use in the libs directory under the project Sep 19 10:54:34 ADT is supposed to pick it up from there -- may need hitting F5 key to do it. I wouldn't embed foreign code as a class folder. Sep 19 10:54:43 the jar is just cleaner Sep 19 10:58:27 Heya guys - I have an asynctask, in its postexecute I call a response handler interface, from which I create a handler and hit a postDelayed Sep 19 10:58:32 well, that postDelayed never gets fired Sep 19 10:58:36 (The activity finishes in the meantime) Sep 19 10:58:41 could that be the cause? Sep 19 10:58:51 sounds probable Sep 19 10:59:03 sounds digestable. Sep 19 10:59:07 I think I am hungry. Sep 19 11:05:22 alankila, there are no jars in nanohttpd just a bunch of java files Sep 19 11:05:43 dokma: okay, if they don't have a distribution as jar then just copy the files into your project or whatever Sep 19 11:05:51 so I added an external class folder:/home/vlatko/workspace/nanohttpd/core/src/main/java/ Sep 19 11:06:14 ahhh... I see Sep 19 11:06:24 you could build a jar though if you like. It's just a zip with manifest and class files in it, and the jar command can create the default manifest Sep 19 11:07:04 though it's been a while since I built java sources by hand Sep 19 11:08:51 dokma: create a new directory e.g. vendor and add it as a source-folder... you dont need to compile and pack it as jar and you can even jump directly into the implementations of the methods youre using Sep 19 11:09:24 other way would be to add an extra project to your workspace which you can then reference in the build paths settings of your project, but thats out of my knowledge Sep 19 11:10:30 ohcibi, where do I add stuff as 'source folder' ?? Sep 19 11:10:42 dokma: right-click->build path->add as source Sep 19 11:10:44 it's a right click on the directory icon Sep 19 11:11:10 dokma: "Use as source folder" Sep 19 11:12:48 anyway the project is probably a maven project so you should be able to produce the jar using mvn too... Sep 19 11:12:49 <^cheeky> i have been up from yesterday Sep 19 11:12:57 <^cheeky> errm sorry Sep 19 11:12:58 though I don't know what the invocation is. I never use mvn. Sep 19 11:14:43 Hi everyone Sep 19 11:14:58 I'm trying to use a ToggleButton Sep 19 11:15:24 initially, I had a LinearLayout, vertical orientation, with one imageButton and a TextView Sep 19 11:15:40 I moved to a single toggle button Sep 19 11:15:44 and I have that working Sep 19 11:16:03 but only switching between two images Sep 19 11:16:19 I would like to have image+text on checked, and just image on unchecked Sep 19 11:16:26 how may I achieve this? Sep 19 11:16:51 the xml I have with the selector code doesn't seem to allow any additional parameters like Image, TextView blocks Sep 19 11:17:24 also, when switching to ToggleButton, the images become distorted - no "keep ratio" working Sep 19 11:17:59 where may I obtain more info on how to format the togglebutton content and add multiple elements there? Sep 19 11:20:38 how would I go about firing my handler despite the fact my application finished? Sep 19 11:20:45 my activity* Sep 19 11:20:58 make the handler static and destroy it in its runnable? Sep 19 11:23:05 What is that important work that the handler must do? And aren't you already in the UI thread, why can't you just do the work directly? Sep 19 11:24:47 It's kind of a hacky workaround for an issue with the internal api for my app. Sep 19 11:25:06 The thing is, I have to share an image to FB... that image has been uploaded in an earlier step to amazon's S3 and our internal servers Sep 19 11:25:38 now, amazon takes anywhere up to 15 seconds to process the image, so while I do have the URL of the image to share on FB, it's not necesarily available and the FB sdk throws a tantrum in that case Sep 19 11:25:57 so I simply wait for 15 seconds between the internal upload and the facebook share Sep 19 11:26:09 it all happens in the background so it's seamless to the user Sep 19 11:26:21 but the moment the user clicks on "share" the share activity is finished Sep 19 11:26:27 I did a bit of refactoring now through, lemme check... Sep 19 11:28:08 nohing... even with a static handler and calling the postdelayed before the activity finishes, it doesn't get called. Sep 19 11:28:29 well, you could consider structuring the delayed work as an alarm Sep 19 11:28:47 whether user is elsewhere by that time or not shouldn't matter, the alarm will bring a context that can execute it, and the intent can encode the details of what to share. Sep 19 11:29:16 Thought about it, but I believe an alarm is overkill in this case. Sep 19 11:30:19 well then I suspect you would want to consider IntentService maybe as the sharing system. You can upload, just go Thread.sleep(15000), then do the FB query. Sep 19 11:30:40 that limits the rate of uploads for imagery to 4 per minute but I imagine it would suffice for all users Sep 19 11:31:51 I imagine android keeps an IntentService alive if it can while it is processing something still. Sep 19 11:33:04 I did try Thread.sleep() on the asynctask Sep 19 11:33:08 Need to mention for the record that I dislike time delays like this. They are never a part of properly thought out system, especially just a single fixed delay like that. Sep 19 11:33:10 but that shit didn't seem to work either. Sep 19 11:33:18 I know. Sep 19 11:33:27 But there is no way for me to tell when amazon finished processing the image Sep 19 11:33:43 it hands out an URL. you could poll it, ... Sep 19 11:34:23 I guess? Sep 19 11:34:32 thought about it, haven't tried it yet Sep 19 11:35:10 screw it, let's see what happens Sep 19 11:52:27 those of y'all using retrofit is there a hacky way to cancel a request? cc JakeWharton Sep 19 13:19:31 Hey there! Sep 19 13:20:31 If my app needs to open a link, how can I set it up so that there's only one instance of my app running? SingleTask seems to not work if the activity I registered in the intent filter is not on top of the current app task's stack. Sep 19 13:22:42 e.g. how does it work that a web browser can always open a link? How do I prevent such an intent from being dropped? Sep 19 13:23:36 so... i cleared google play's cache; I just uploaded a new apk, about 25 minutes ago... Is it normal for it not to show up in google play search? Sep 19 13:23:42 it only disappeared after i cleared the cache Sep 19 13:26:05 welp, its not the cache, its happening for a coworker too Sep 19 13:31:38 otiose: It usually takes a couple of hours to propagate, but if it's just an update the old one should still be visible. Sep 19 13:31:49 yes, its just an update and now its invisible Sep 19 13:31:59 for what its worth, I put in 2 pretty quickly after each other Sep 19 13:32:08 Ok, this is a funny one - I want my adapter's getItem to return items of type T, so I declared class MyAdapter Sep 19 13:32:20 Secondly, I set my adapter via a setMyAdapter() method Sep 19 13:32:26 Must be your "clear cache" step then... Shouldn't affect others I guess. Sep 19 13:32:33 which can be called from one of two MyBaseClass classes Sep 19 13:32:40 extension classes* Sep 19 13:32:47 its affected everyone who deleted the app first Sep 19 13:32:50 how can I tell setMyAdapter() which one to use? Sep 19 13:34:11 otiose: I guess that's outside the normal update procedures anyway. I haven't looked into what actually happens with updates, so I'm of no help to you with this. Sep 19 13:35:13 yeah im not sure whats happeneing Sep 19 13:35:26 it still shows up by the URL so it might just be the search that got screwed up Sep 19 13:52:22 Hey boys, i've been struggeling with a spped issue, when using EntityUtils.toString(httpResponse.getEntity(), HTTP.UTF_8); it seems like it's taking it's time to get done reading from the input stream (i've tried other similar ways of getting the data) any other way of getting a string faster than this method? Sep 19 13:53:36 A string with length ~16000 is 40ms, and a string with length 230000 is a whopping ~500ms Sep 19 13:54:07 230000 is about 200kb data Sep 19 13:56:46 how do you expect to get it faster? Sep 19 13:56:58 on many phones, it can take seconds to get 200kb of data Sep 19 13:57:20 can your app predict the future? Sep 19 13:57:29 Mine can Sep 19 13:58:20 My app predicts that Qualcomm drivers will suck for a long time Sep 19 13:59:34 I don't know how to (or if i can) get it faster, thats why i'm seeking advice Sep 19 13:59:47 MroiZo: what kind of network?... Actually, disregard that. Learn and embrace the fact that unless you control the whole of the network and it's all wired, you can't expect anything :> Sep 19 13:59:48 you cannot Sep 19 13:59:51 you can only stream it Sep 19 14:00:04 MroiZo: what you can do is design for minimum round-trip etc. Sep 19 14:00:48 hmm, isn't this: HttpResponse httpResponse = httpClient.execute(request); the actual internet request? Sep 19 14:01:29 no Sep 19 14:01:51 ~400KB/s is what I'd almost call "best case scenario" on a phone. Sep 19 14:02:28 If you're bored, you can try profiling it to find out for sure it's data transfer that's taking so long. Sep 19 14:03:05 http://en.wikipedia.org/wiki/Fallacies_of_Distributed_Computing <--- useful to have printed :) Sep 19 14:04:14 hmm, i'm not exactly sure about the difference between HttpResponse httpResponse = httpClient.execute(request); and getting the response from the inputstream (EntityUtils.toString(httpResponse.getEntity(), HTTP.UTF_8);) then... can some one explain, or link to some material about it? Sep 19 14:04:53 read the docs and see what it says Sep 19 14:05:02 execute just means send the request Sep 19 14:05:07 getEntity means read it Sep 19 14:05:09 apparently Sep 19 14:05:14 what else would you expect Sep 19 14:06:07 okay, thanks i'll spend some more time reading up on it. Sep 19 14:17:45 hi, i have 2 png equal, just 1 is rotate of 90° of 2, i can do this with xml ?? i dont wont 2 png Sep 19 14:18:30 i just wont a xml drowable that rapresent a rotation of 90° of a png drowable Sep 19 14:18:47 anyone can help me? Sep 19 14:21:21 xan_IT: http://stackoverflow.com/a/8716798 Sep 19 14:22:31 crf Sep 19 14:25:25 kakazza thz Sep 19 14:25:36 Hello! Sometimes i receive not valid json from web api. Usually i parse it using gson. How i can solve problem of not valid json (before or during parsing)? Sep 19 14:28:29 xgear: I think you should ensure that web api always returns valid JSON Sep 19 14:30:20 akhkharu: this validator ( http://jsonformatter.curiousconcept.com/ ) fails validation of json (when it is unparsable) Sep 19 14:31:29 I definitely know that api not always returns valid json. Sep 19 14:32:02 xgear: that's really strange. Must be a bug in the API? Sep 19 14:32:10 maybe Sep 19 14:32:16 but i cant fix it Sep 19 14:33:00 Should i pre-process data before parsing or gson have some features to solve it? Sep 19 14:34:18 xgear: try to play with this param http://google-gson.googlecode.com/svn/trunk/gson/docs/javadocs/com/google/gson/stream/JsonReader.html#setLenient(boolean) Sep 19 14:34:51 if it won't help, try to do some regex pre-processing before parsing Sep 19 14:35:02 otherwise just catch an exception thrown and ignore this JSON Sep 19 14:35:29 regex pre-processing is a bit hackish IMHO, so it's better to avoid it Sep 19 14:36:06 who cares? catch the exception when parsing and return an error condition Sep 19 14:36:54 "otherwise just catch an exception thrown and ignore this JSON" my current behaviour Sep 19 14:37:21 what are you expecting to do instead? Sep 19 14:37:24 magic? Sep 19 14:37:26 "regex pre-processing is a bit hackish" and pain in the ass Sep 19 14:38:31 "magic?" Of course! Because i am developer :D Sep 19 14:39:51 The new play store beta controls are pretty nice. Sep 19 14:41:09 How do I setup my release build to run from android studio? I can do it from the command line, everything works. I just want to know how to set it to use my release build config Sep 19 14:45:02 What do you guys use for bug tracking? Sep 19 14:58:20 Hello everyone Sep 19 14:59:30 \away Sep 19 14:59:46 SrRaven: Crashlytics Sep 19 15:03:40 hello Sep 19 15:04:12 if I fired up /system/bin/surfaceflinger and can see the logo glowing, is there another binary I can run as easily in order to get the graphics environment set up? Sep 19 15:04:26 (yes, I do insist on that scenario) Sep 19 15:05:19 Hi everybody, i'm working with ActionBar Sherlock. In my manifest I set the theme to DarkActionBar (everything work) then i switch to the Light theme and launch an activity but it crash :s Sep 19 15:09:51 hey all. Im building AOSP and Ive added a native library that I expose through JNI to my app Sep 19 15:10:08 question is if its possible to make the library functions run as system? Sep 19 15:10:20 or can it only run in the context of the app that calls the functions? Sep 19 15:10:45 it runs in the context of the app Sep 19 15:10:58 but if you're building in AOSP, then what's stopping you from giving the app system? Sep 19 15:11:34 Chainfire: the app is system, but it still doesnt have root permissions the same way, say a native daemon you run as system would Sep 19 15:11:47 system != root Sep 19 15:11:57 Ive written a native daemon too that runs every 30 seconds, and that runs as root Sep 19 15:11:58 if you want root, you need root Sep 19 15:12:01 Chainfire: yeah, my bad, sorry Sep 19 15:12:05 been a long day :)= Sep 19 15:12:23 the highest apps run as is system, so no, you can't run the library code as root Sep 19 15:12:36 Chainfire: ah, thats depressing :) Sep 19 15:12:37 if you're building a firmware, start your daemon from init Sep 19 15:12:45 Chainfire: yes, Ive done that Sep 19 15:13:03 Chainfire: but I need the daemon to be able to somehow communicate with my Android app Sep 19 15:13:15 use a named socket or whatever Sep 19 15:13:35 let the daemon create it, Java code (you don't even need to write native code for this) can connect to said socket and talk to the daemon Sep 19 15:13:58 Chainfire: nice, thanks for the tip. Do you have any good guides or something for that? Sep 19 15:14:16 not really. The construct is already used in AOSP though, not sure where Sep 19 15:14:19 maybe rild ? Sep 19 15:14:23 Ill look into it Sep 19 15:14:34 I think Java code communicates with the ril daemon using a socket like that Sep 19 15:14:55 I should have checked this before spending an entire day writing that library and all the associated JNI code, >_< Sep 19 15:15:17 what's done is done Sep 19 15:15:28 indeed Sep 19 15:15:55 can the system library communicate with the native daemon somehow though? Sep 19 15:16:01 using sockets as well? Sep 19 15:16:25 or visa versa I suppose :) Sep 19 15:16:26 not "as well", that's what you use it for Sep 19 15:16:32 what else were you going to use it for ? Sep 19 15:16:46 well, let me rephrase Sep 19 15:17:20 since the system library functions run in the context of whatever calls it, the native daemon (running as root) can call the functions and have them run as root too, right? Sep 19 15:18:43 a library is a library. If you load it from your deamon and call it's functions, they shall run in the context of the daemon Sep 19 15:18:52 Chainfire: thanks! Sep 19 15:20:10 Hi everyone , I am using eclipse Memory analyser (MAT) for finding memory leaks in my app.But i am confused in using that tool Sep 19 15:20:32 harsha_, be specific Sep 19 15:22:06 Anyone know where I can find an example of a custom adapter for a multiple choice listview? Sep 19 15:22:23 why would you need an example adapter... Sep 19 15:22:54 Chainfire: thanks for your insight. One last question, which is probably also rather basic. If I make my daemon open a socket and let my android app connect to it and communicate that way, is it possible to prevent non-system apps from doing the same? Sep 19 15:23:18 pfn:I am running it using ddms and iam unable to analyse the memory leaks using histogram and dominator tree. Sep 19 15:23:59 I'm not sure if it's supported from Java but you can securely exchange credentials over sockets with kernel enforcement. A different and maybe better solution is maybe only just accepting one socket at a time, and have your java service always be connected. that way nobody else can connect anyway Sep 19 15:24:10 harsha_, "unable to" what does that mean Sep 19 15:24:14 pfn i just want to see how it all fitst together, extending CheckableRelativeLayout and implementing checkable Sep 19 15:24:17 but to be honest, you're just going to have to read the docs on sockets both native and java, and see whatever you can come up with :) Sep 19 15:24:21 you can run tls over domain sockets Sep 19 15:24:22 so i dont waste ages getting it wrong Sep 19 15:24:37 Chainfire: thanks! I will see what I can work out! Much apprecaited Sep 19 15:24:39 and you also get peer-credentials (i.e. euid/egid) over unix domain sockets Sep 19 15:24:39 AppreciateD* Sep 19 15:24:47 yeah, I need to get home now Sep 19 15:24:50 have a good day all :) Sep 19 15:27:47 can emulators not normally make webservice calls? Sep 19 15:28:04 sure they can Sep 19 15:28:41 thanks, im making a get call to yahoo.com and the emulator is just hung Sep 19 15:29:15 but it didn't just hung Sep 19 15:29:26 go on Sep 19 15:30:08 that's your cue to go on Sep 19 15:31:17 can you elaborate? Sep 19 15:31:44 no, because you need to Sep 19 15:31:57 oh Sep 19 15:37:48 this is my first app, how long does webservice calls normally take to lets say yahoo.com? Sep 19 15:38:02 42 Sep 19 15:38:26 immediately? Sep 19 15:38:39 pfn: my question is more about how to use MAT. I'm navigating screens in my app, starting from the home screen. Once I come back to the home screen - I took the heap dump and started analyzing it using MAT. I see many live objects (using Histogram and Dominator Tree). Now, I navigate to gc_roots of Live objects and try to find culprit. I want to know if this is the right way to attack memory leaks. Sep 19 15:38:57 harsha_, depends on what you suspect is leaking Sep 19 15:39:07 if you're debugging an OOME, start by looking at histograms Sep 19 15:39:21 if you're leaking activities, start with an oql searching for your specific activity classes Sep 19 15:40:10 and if it's an OOME and you're looking at histograms, once you've determined some big memory users, use oql to find large usages of that type Sep 19 15:40:42 then find references up to the gc root Sep 19 15:42:50 if I create a local domain socket like this: http://www.gnu.org/software/libc/manual/html_node/Local-Socket-Example.html Sep 19 15:43:01 is it easy to communicate with it from Java? Sep 19 15:43:02 pfn: thanks, I see a lot of leaks in activities. I have no idea about oql. I will spend some time on it and get back if I have any queries. Also, when should we use a dominator tree? Sep 19 15:43:28 often use it to walk the memory allocation tree until you see a large drop in memory usage Sep 19 15:43:29 harsha: Hi Sep 19 15:43:34 it indicates objects that are holding a lot of memory Sep 19 15:44:40 harsha_, this is not android-specific, you should google how to use mat to debug memory leaks Sep 19 15:44:51 same techniques apply regardless of whether it's jvm or dalvik Sep 19 15:45:25 pfn: sure, I will. Appreciate the inputs Sep 19 15:45:56 ok I think it works, thanks pfn Sep 19 15:51:58 anyone know if there's a way to import /one/ self-signed certificate as trusted system-wide? i know how to add a CA, and i know how to code custom validation functions, but i don't know how to get my self-signed cert trusted by an app i didn't write Sep 19 15:52:55 https://www.google.com/shopping/product/15653649804871859577?q=3.5mm%204%20Position%20to%202x%203%20Position%203.5mm%20Headset%20Splitter%20Adapter%20-%20F/M&rlz=1C1CHKZ_enUS436US436&bav=on.2,or.r_cp.r_qf.&bvm=bv.52288139,d.eWU,pv.xjs.s.en_US.xLLRitWY30w.O&biw=1264&bih=652&dpr=1&tch=1&ech=1&psi=Nh07UvDTKpGG9QT20IHYBQ.1379605815675.3&sa=X&ei=SB07Uri6FovU9gSwroG4Cg&ved=0CO4DEPMCMAA&prds=scoring:tp Sep 19 15:52:58 ooh, I need this Sep 19 15:53:28 (i would rather avoid creating my own CA cert and importing that through settings) Sep 19 15:53:42 MeanderingCode, settings -> security -> trusted credentials? Sep 19 15:54:06 pfn: does that work for single-certs? i thought it was only for CA certs Sep 19 15:54:11 dunno, try and see? Sep 19 15:54:18 evil mitm hacker you :p Sep 19 15:54:30 :) Sep 19 15:54:51 funny, as mitm is what i'm trying to /avoid/ w/o expense of money ;P Sep 19 15:55:47 saywhat Sep 19 15:57:04 what Sep 19 16:04:26 well that seems to have worked. (though android thinks it's a CA cert....so my webhost could give the private key to someone who could then sign things my device would trust...but the big dogs would likely compromise a more widely-trusted CA :P) Sep 19 16:04:44 MeanderingCode, that's simple, give it the criticality not-ca Sep 19 16:05:09 hopefully, android should honor it Sep 19 16:07:04 pfn: you mean gen a new cert w/ an option that puts that in? Sep 19 16:07:13 MeanderingCode, yeah Sep 19 16:07:20 thanks for the tip Sep 19 16:07:45 (reality is: i probably won't get around to it until i get around to setting up my own CA, anyway :P ) Sep 19 16:08:47 setting up your own ca is trivial in any case Sep 19 16:08:59 just a couple openssl commands Sep 19 16:16:27 so, I'm looking at these two R files in eclipse, let's call them pkg1.R and pkg2.R Sep 19 16:16:39 they both have id.map, and they're the same Sep 19 16:17:12 but, when I try to access the id in my app, they're aren't the same at runtime Sep 19 16:18:57 If I want to use a gradient as an actionbar shadow, where/how do I define the size of it? Sep 19 16:19:31 Do I have to wrap my shape/gradient into something that can specify a height? Or how do I do this? Sep 19 16:20:11 I mean, I could set the actionbar's windowcontentoverlay to a png drawable, but then it wouldn't be in dp. Sep 19 16:36:13 mmathis, that should be impossible, clean Sep 19 16:38:30 mmathis, probably more a case of constants getting inlined Sep 19 16:39:37 it's also possible that these are bein called from different contexts, but I'm not sure how that would make pkg1.r.id.map be different in two places Sep 19 16:39:47 I need to take more time to learn this framework... Sep 19 16:40:43 in different contexts? eh? Sep 19 16:41:09 if they're different contexts, that should not be an issue at all Sep 19 16:41:40 I guess that's kind of old thinking, because I thought it was having trouble finding layouts because of contexts Sep 19 16:41:44 but yeah Sep 19 16:41:48 it makes absolutely no sense Sep 19 16:42:00 huh? Sep 19 16:42:07 finding layouts has nothing to do with contexts Sep 19 16:42:14 unless you're in a completely different application package Sep 19 16:42:25 maybe configurations, if you're using resource discriminators Sep 19 16:42:39 I'm just grasping at straws here Sep 19 16:42:52 the ids are only off by 5, I should just add a +5 to it and be done Sep 19 16:43:00 if only Sep 19 16:49:14 it's inlined Sep 19 16:49:16 clean Sep 19 16:49:19 I have Sep 19 16:49:21 so many times Sep 19 16:58:30 Hi! Anyone know how the URI is supposed to look when trying to refer to a custom XML dokument? Trying to parse som XML files in my android project. ( The Xml files are located in the project) Sep 19 17:05:49 Is it normal behavior for an ImageView with ScaleType set to centerDrop to not scale an image up? Sep 19 17:07:37 I've got an imageview that's set to match parent, and center crop, but the source image is smaller than the screen Sep 19 17:07:40 what does centerDrop say? Sep 19 17:07:56 sry, should've been centerCrop Sep 19 17:08:14 "Scale the image uniformly (maintain the image's aspect ratio) so that both dimensions (width and height) of the image will be equal to or larger than the corresponding dimension of the view (minus padding). " Sep 19 17:08:40 Hi, is it possible to have a ListView with items that update only when the rows are visible if that makes sense? Sep 19 17:08:42 The width of the image is being set to the width of the ImageView, but the height is not Sep 19 17:08:53 In order to conserve memory Sep 19 17:09:09 CocoStorm, the items don't update unless they're visible Sep 19 17:09:38 pfn: I see, thanks Sep 19 17:09:55 ChainsDD, dunno then Sep 19 17:10:12 Me neither... Sep 19 17:45:55 this might be a silly question, but im wondering where i can get the source for different governors/schedulers Sep 19 17:46:03 preferable the x series Sep 19 17:46:12 google is failing me! Sep 19 18:07:02 In Android Studio, how do you build the project? By default, the AndroidManifest.xml is in the main app folder, not the root project folder. Sep 19 18:12:59 Hola Sep 19 18:13:05 romainguy, ping Sep 19 18:25:52 Hey guys, I'm seeing an issue where progressbar spinners are 'wobbling', rotating around the wrong point. Seems to go away if I recompile but it randomly shows up. Has anyone seen this? Sep 19 18:26:25 o_O Sep 19 18:27:03 Custom drawables? Sep 19 18:27:39 Strange things can happen with drawables and incremental builds and whatever they do Sep 19 18:27:49 hmm interesting Sep 19 18:27:52 Just remember to do a clean build before publishing Sep 19 18:28:10 so its probably not something to worry about? Sep 19 18:28:16 Nah Sep 19 18:28:22 cool, thanks Sep 19 18:28:27 I've mostly had 9patches not being 9patches until I rebuild Sep 19 18:29:11 Wouldn't be surprised if other drawables could break as well Sep 19 18:30:04 Cleaning solves so many stupid problems. Sep 19 18:30:06 #fuckeclipse Sep 19 18:30:27 This is in Android Studio but other see it in eclipse as well Sep 19 18:30:56 I don't use eclipse Sep 19 18:31:37 cleaning is fixing my problems ;_; Sep 19 18:32:22 SimonVT, I do Sep 19 18:32:34 But I also ues Android Studio Sep 19 18:32:46 I use Eclipse for work/school/more serious stuff because I'm more familiar with it Sep 19 18:32:52 on the side though I've been trying to give Android Studio a chance Sep 19 18:33:02 I still give al tutorials on Eclipse because it's easier that way Sep 19 18:41:37 SimonVT does AS use gradle in daemon mode ? it seems so much slower than the command line, not sure whats going on Sep 19 18:43:57 g00s: You're sure you're not being memory constrained, i.e. experiencing swapping? It's been a few releases since Google basically said stop fiddling with the gradle settings in AS, we've fixed it for you... Sep 19 18:44:40 (one big ass java process versus two..) Sep 19 18:44:40 kjeldahl ok, thats good to know. yea , i have a *little* bit free Sep 19 18:44:53 ah, ok, i was looking for another process Sep 19 18:45:20 I mean AS+gradle versus just gradle. :-) Sep 19 18:45:29 :) Sep 19 18:47:46 Brian|CS i was hoping the last 22.1 ADT update would have gradle support. i wonder if they are even working on it Sep 19 18:48:07 imagine being a poor engineer at google working on the ADT, knowing everybody hates your stuff Sep 19 18:49:04 Well, you _could_ be working on mysql for Oracle.. ;-) Sep 19 18:49:05 if it was up to me, i would remove 90% of the stuff in the ADT (visual manifest editor? lol - its just a form) and keep it robust and simple Sep 19 18:49:33 kjeldahl :) Sep 19 18:50:00 kjeldahl or at zend on PHP Sep 19 18:50:09 well, people actually like that stuff Sep 19 18:50:22 at least in some places you would be a hero Sep 19 18:50:46 If it was up to me, Google would properly document their build process and supply the basic tooling, and allow _most_ build systems to work with Android. Sep 19 18:51:07 yeah, i think i would have first worked with the maven guys Sep 19 18:51:27 since that seems to be the defacto stuff in java land still Sep 19 18:52:38 but still, remembering the little of what i did on maven plugins, i don't know how you could do variants and publish multiple kinds of artifacts Sep 19 18:52:43 but maybe that all changed Sep 19 18:54:39 I remember I used to hate make and makefiles, but after looking at the java build tools I kind of miss make (yeah, I understand why the java build process is different). Sep 19 18:57:06 ant set the clock back from make Sep 19 18:57:55 shouldn't have been called a "dependency" checker, for sure. Sep 19 19:07:09 excuse me.. ive seen a sherlock example which has for example android:layout_height="?android/dropdownListPreferredItemHeight" but the ressource does not exist. Is this a Sherlock Ressource? Sep 19 19:07:59 res/style/... Sep 19 19:08:46 hi I have published app to playstore in alpha. how do I get its direct link and send to testers ? Sep 19 19:11:14 The Item is in the Sherlock abs__themes.. but i cannot access the styles? Sep 19 19:12:15 are you sure it's not ?attr/ instead of ?android/ ? Sep 19 19:12:40 ?attr didnt work either.. Lint told me that the attr does not exist Sep 19 19:12:59 Well, sherlock is linked as module in android studio (and working to access the src files) Sep 19 19:14:51 misterli, ignore the error as long as it builds Sep 19 19:15:08 it works fine even though the ide is confused Sep 19 19:15:13 Gradle throws an error and stops building Sep 19 19:15:46 Gradle: No resource found that matches the given name (at 'background' with value '?attr/activatedBackgroundIndicator'). Sep 19 19:15:48 for example.. Sep 19 19:17:10 kjeldahl, AndroidBuilder.java practically documents the process Sep 19 19:17:27 how did you add abs? Sep 19 19:17:40 and if you're using gradle why not appcompat Sep 19 19:18:07 I have added the AndroidSherlock as Module in Project-Structure. That's it Sep 19 19:18:52 Imported as module and put it into depencies. Didnt change anything in the gradle settings or build files but it worked. Just the ressources cannot be found Sep 19 19:19:23 how did you add it as a module Sep 19 19:19:37 android studio does not support apklib Sep 19 19:20:02 Android studio -> settings -> Project structure -> + add the folder of ActionBarSherlock. Went into my Project tab, "+" again and put it between Android 4.2.2 Platform and Modul Source Sep 19 19:20:14 And it worked. Just ressources could not be find. Theme. Sherlock was found in Manifest Sep 19 19:20:25 Scope is "Provided", not Compile Sep 19 19:20:42 hi guys, i got an app that has 3 fragments and a service that updates elements in the first fragment, but it crashes when i got to the last fragment. Can i get the service to pause while fragment 1 is not shows? or is there something else i should do? Sep 19 19:20:50 misterli, just use appcompat Sep 19 19:21:02 it's far less headache on android studio Sep 19 19:21:58 what differs appcompat from using sherlock as module? Sep 19 19:22:59 it just works Sep 19 19:23:10 rather than not, like you're experiencing Sep 19 19:23:15 appcompat is just a support-library, isnt it? Sep 19 19:23:35 and there's no reason to use abs anymore now that appcompat is out Sep 19 19:23:44 misterli, d. android. com Sep 19 19:23:55 search for ActionBarActivity Sep 19 19:24:03 okay, ill take a look, thanks (: Sep 19 19:24:10 There's no reason to use either. Sep 19 19:24:11 Does it support styles too like abs does? Sep 19 19:24:17 yes Sep 19 19:24:31 minSdkVersion=14 Sep 19 19:24:48 of you're looking to neglect 33% of the market, sure Sep 19 19:25:00 wtf.. JakeWharton, you are the developer of the current sherlock release, arent you? Sep 19 19:25:09 just seen your name in the dev git Sep 19 19:25:09 it's painless if you don't need any api from 11+ Sep 19 19:25:15 JakeWharton: i'm curious - you've said minSdkVersion=14 a few times - do you mean, just don't support lower versions? Sep 19 19:25:26 kbs: yes Sep 19 19:25:28 kbs, that's exactly what he mrans Sep 19 19:26:15 the sooner everyone stops writing apps for gb, the sooner it goes away Sep 19 19:27:03 appcompat looks great, thank you Sep 19 19:27:28 pfn: Yeah, I looked at it _briefly_ earlier, but thanks for the reminder. I'm not sure reading source code calling Andoid specific java methods is enough to get the other build systems on board however. ;-) Sep 19 19:27:36 btw.. is it a good idea to use android studio these days? It seems to have lots of bugs... I just use it because it does a very easy export Sep 19 19:27:48 Jake! I wondered, do you use Butterknife at work? Sep 19 19:29:07 I'm not sure if I want public methods just to remove a bit of boilerplate. Sep 19 19:29:52 kakazza: you don't have to make them public, you can make them package private Sep 19 19:30:05 Fair enough. Still. Sep 19 19:30:16 yeah. It is nice though. I use it Sep 19 19:30:29 And IntelliJ complains about unused functions. "handleFoo is never called" Sep 19 19:30:39 I tend to get rid of all/most warnings. Sep 19 19:30:52 Do you just ignore them, jaynewstrom? Sep 19 19:30:54 As does inscrutable things. its a very confused ide ;) Sep 19 19:31:05 Yeah, I was thinking about writing an annotation for that. Sep 19 19:31:17 @SuppressWarnings ;p Sep 19 19:31:20 kjeldahl, that's easy, use it as a library Sep 19 19:31:41 half of the build process is written entirely in jav Sep 19 19:31:43 a Sep 19 19:31:47 pfn: Ah, so I can call it from perl? ;-) Sep 19 19:31:48 yeah, but I feel an annotation would document it better Sep 19 19:32:06 kjeldahl, sure, if you have a Java bridge Sep 19 19:32:08 That is an annotation. Sep 19 19:32:20 right... Sep 19 19:32:21 * kjeldahl pukes Sep 19 19:32:23 iirc, there's Inline::Java in perl Sep 19 19:33:45 pfn: Anyway, didn't mean it was impossible (you've proved it isn't already), just a bit hard. It's on my todo list; mixed language programming and building for Android (Kawa+Java). Sep 19 19:39:58 kakazza: for two apps, yes Sep 19 19:40:53 "It runs within application context so you don't need root permisions" Sep 19 19:41:01 What is the meaning of this ? Sep 19 19:41:10 "application context" ? Sep 19 19:43:30 ? Sep 19 19:44:33 JakeWharton: In the rest you just deal with the boilerplate? Because I'm surprised you use it at all at Square, the website for Butterknife is written in a very strange tone. Sep 19 19:44:45 well it's my project, not the company's Sep 19 19:45:28 i was wondering if somebody could help me with my problems https://groups.google.com/forum/?hl=en#!topic/android-building/s9nrZBZEsdI https://groups.google.com/forum/?hl=en#!topic/android-building/dHii8IzBptY Sep 19 19:45:35 it has more utility now than when the project started Sep 19 19:45:54 i wrote it because people wouldn't stop asking for view "injection" in Dagger which makes no sense Sep 19 19:47:10 Yeah, the Butterknife website reads exactly like that. Sep 19 19:47:19 somebody asked about opening DOC files on android yesterday http://thenextweb.com/google/2013/09/19/google-makes-quickoffice-for-android-and-ios-free-for-all-bringing-microsoft-office-editing-to-the-masses/ Sep 19 19:47:28 So I wondered if you just delivered to make people shut up or if you actually use it yourself. Sep 19 19:47:46 it was a joke, and it turned out there was a tiny bit of utility in it Sep 19 19:47:51 heh Sep 19 19:48:06 g00s: yay now everyone can lock up all their important information in proprietary formats! Sep 19 19:48:39 What I didn't get was this part: "By default, both @InjectView and @OnClick injections are required" Sep 19 19:48:47 What exactly is meant by required? Sep 19 19:49:15 You mean the View ID is required to exist. Sep 19 19:49:24 Not that the Annotation itself is required to be there. Sep 19 19:50:14 kakazza: yes Sep 19 19:50:47 for instance if you use multiple layout files for different screen sizes and you have one view in one of those layouts but not another Sep 19 19:51:32 Yeah, I figured as much. The wording put me off a bit. Sep 19 19:52:29 Anybody encounter MPEG4Writer's "Missing codec specific data" error when attempting to mux audio? Sep 19 19:54:31 What's the recommended way to handle an orientation change in a WallpaperService? Sep 19 19:55:16 why is it so hard to create a SurfaceView inside a table, programmatically? :( Sep 19 19:56:37 why is it so hard? Sep 19 19:56:40 so far I was only able to create SurfaceViews from existing layout.xml and calling findById()... Sep 19 19:57:03 XXCoder, because I-ve been for hours trying toc reate it with no success :( Sep 19 19:57:13 I have created a table with a rsingle row Sep 19 19:57:18 with 3 text views inside Sep 19 19:57:21 and a surface view Sep 19 19:57:26 the text views are added Sep 19 19:57:30 the surfaceview is not Sep 19 19:57:39 hmm it supports surfaceview? Sep 19 19:57:50 the table? Sep 19 19:58:04 yeah Sep 19 19:58:13 I can create a table with several SurfaceViews if I set it with layout.xml Sep 19 19:58:20 works great Sep 19 19:58:50 so it works as loaded from xml but not when made programically? Sep 19 19:59:02 XXCoder, exactly Sep 19 19:59:16 XXCoder, I am doing something wrong for sure, but cant figure out what Sep 19 19:59:26 interesting. I wonder what difference is. Sep 19 20:00:42 huh, and update sdk tools 22.2.1 already Sep 19 20:00:43 XXCoder, I mean, when I use the layout.xml I just call findViewById() to get references to the SurfaceViews. When I dont have layout.xml I create the objects SurfaceView myself Sep 19 20:00:54 something must have been pretty broken from yesterday for a quick update Sep 19 20:01:22 gmag, code? Sep 19 20:01:39 alexfu, ok, I am pasting it, gimme a sec Sep 19 20:05:43 alexfu, http://paste.ideaslabs.com/show/MGe0LGFaTK Sep 19 20:06:04 alexfu, it has a lot of commented code, it is the code that works when reading from layout.xml Sep 19 20:08:49 alexfu, the output when I run that code is "Cell1Cell2Cell3". There should be a surfaceview in between Cell2 and Cell3 Sep 19 20:09:11 Hi guys Sep 19 20:09:55 hello Sep 19 20:10:30 I'm creating a button to select some photos from gallery, I've used Intent.ACTION_GET_CONTENT as Intent, but I can only select one photo. Is there any way to let user to pick more than one photo?? :S Sep 19 20:10:33 thanks in advance Sep 19 20:12:19 Sepho: not if you want to support older devices Sep 19 20:12:24 I build my own Sep 19 20:13:37 My idea is to support android2.2 and above Sep 19 20:13:50 Yeah, that's what mine is. Sep 19 20:13:53 gmag, are you doing anything w/ it. it doesnt look like you are Sep 19 20:14:02 It does kind of suck though. Lots of stuff to handle... Sep 19 20:14:12 shit :( Sep 19 20:14:23 Bitmaps are shit... Sep 19 20:14:36 loading/decoding from disk is slow Sep 19 20:14:54 make sure you sub sample your images Sep 19 20:14:59 another sdk updae? Sep 19 20:15:40 I think I will look for an open library Sep 19 20:15:49 Sepho: if you ever need help with it, feel free to ping me. Sep 19 20:16:09 I wasn't able to find anything that did it well. If you do let me know though. I would be interested to read over the code Sep 19 20:17:01 gmag, are you sure that it's just not collapsed? I would open up HiearchyViewer and see if where the SurfaceView is Sep 19 20:17:06 alexfu, there is a method, onPrepared() that is called when the Surface is created. The creation of the surface should be done upon SurfaceView instantiation Sep 19 20:17:28 alexfu, what is HierarchyViewer? Sep 19 20:17:39 alexfu, something in eclipse? Sep 19 20:18:02 gmag, it's a tool, part of the DDMS Sep 19 20:18:36 alexfu, I am going to play with then Sep 19 20:19:07 thanks jaynewstrom :) Sep 19 20:21:59 alexfu, very nice tool indeed. But I can see only my table with a row with 3 textviews, there is not surfaceview. I am probably missing some step to create the surfaceView, instantiating it and waiting for onPrepared() to be called seems not to be enough Sep 19 20:23:22 gmag, its no where else in the entire hierarchy? Sep 19 20:25:15 alexfu, it isn't. Sep 19 20:25:55 alexfu, I digged all the hierarchy Sep 19 20:28:00 alexfu, I believe I am missing something in the creation of the SurfaceView. Because I think that is the step that is done behind the scenes when I call findViewById() to load the SurfaceViews from layou.xml on my other application Sep 19 20:28:32 kakazza: yeah i wrote that sentence really late at night immediately before a release Sep 19 20:28:48 alexfu, in other words, when I use the layout, there "someone" creating the SurfaceView object for me, and then i just ask for a reference to it Sep 19 20:29:09 Thought so. Sep 19 20:34:57 gmag, try adding the surfaceview to a ViewGroup and add the ViewGroup to your table Sep 19 20:35:44 alexfu, ok, I'll be right back with feedback Sep 19 20:41:46 kjeldahl, why kawa and not clojure? Sep 19 20:42:52 optional no-dynamic bullshit Sep 19 20:42:57 I guess that makes it more of a candidate for android Sep 19 20:43:29 kjeldahl, well, kawa should be easily built in sbt, just add a simple compile dependency Sep 19 20:44:18 kjeldahl, of course, you'd have to implement incremental/dependency building yourself Sep 19 20:45:56 kjeldahl, and for that matter, you can have java depend on kawa code, but not vice versa Sep 19 20:46:36 pfn: Kawa is more compact, less overhead. Type interference and optional static typing. Similar to Clojure, BUT have you have built anything for Android with Clojure? I have. Kawa is much better right now. Sep 19 20:46:51 kjeldahl, yeah, the optional no-dynamic bullshit makes it better Sep 19 20:47:06 pfn: re sbt, what about mixed language kawa/java? ;-) Sep 19 20:47:08 no-dynamic-bullshit Sep 19 20:47:28 kjeldahl, well, because the compiler itself doesn't know kawa, you can only build it pre or post java code Sep 19 20:47:35 and because of that, you can only have one-way dependencies Sep 19 20:49:27 pfn: Yeah, that's the problem I guess. But both kawa and java makes class files, so in theory it's possible, right? Sep 19 20:49:31 if the kawa compiler can handle java code as well, then that's a somewhat easy solution, let the kawa compiler handle it Sep 19 20:49:43 Not likely. Sep 19 20:49:58 the problem is chicken-egg, so you can only have one direction Sep 19 20:50:06 you either compile kawa first, or java first Sep 19 20:51:09 Yeah, it started dawning on me last time I looked at the build tools. It's liveable I guess; java first, then kawa. I consider java "low level" compared to kawa, so that should suffice. Sep 19 20:51:25 then it'd be somewhat easy to do Sep 19 20:51:39 with sbt you mean? Sep 19 20:51:44 just make the package step of sbt depend on the kawa compile step, and the kawa compile step depend on java compile Sep 19 20:51:46 alexfu, intersting, I get an exception. I am using a Linearlayout to hold my SurfaceView, and I get this exception: http://codepad.org/aaYGzquv If I put a textView inside the LinearLayout, and remove the SurfaceView, I get no exception Sep 19 20:51:51 kjeldahl, yes Sep 19 20:52:21 So adding a custom command line compiler into sbt and have a java compile process as a dependency is easy? Sep 19 20:52:33 gmag, is there more? Sep 19 20:52:36 kjeldahl, to me it is... heh Sep 19 20:52:49 hi Sep 19 20:52:52 might be a little bit of a struggle for the non-familiar, of course Sep 19 20:53:14 what is the easiest way to implement TLS 1.2 on Gingerbread and up ? Sep 19 20:53:27 well, it's pretty standard.. "kawa -C file1.scm file2.scm ..." pluss some output options of where to put the class files. Sep 19 20:53:33 alexfu, no :( I am not an expert with eclipse, I just right click on the top of the stack and "copy stack" and pasted it Sep 19 20:53:55 Why does setVisibility on a ProgressBar object have no effect?... Sep 19 20:54:14 i have it initially set to view.gone in the xml Sep 19 20:54:29 when i apply an animation i set it to visible, and once the animation is done, i reset it to gone Sep 19 20:54:35 however its never set to visible Sep 19 20:54:50 alexfu, should I get more information anywhere else? Logcat does not print any message regarding the exception, I can guarantee, I am reading logcat with "adb logcat", I do not trust much on eclipse logcat output Sep 19 20:56:01 kjeldahl, give it a try Sep 19 20:58:26 alexfu, I think I will give up... :( I wanted to make my application to create SurfaceViews dynamically but I am not sure how possible it is to do that... I guess I am creating several layout.xml files and use one or the other depending on input arguments Sep 19 20:59:28 alexfu, unless you have something in mind of course Sep 19 20:59:58 gmag, nope. im not sure Sep 19 21:01:49 pfn: Thanks, will do. And I know who to ask when I get stuck. ;-) Sep 19 21:02:16 im having a really hard time changing the tab text color of actionbarsherlock. I have no idea how to do it.. Sep 19 21:02:25 alexfu, thanks a lot for the help. Good night guys Sep 19 21:07:53 I can't see the last item in my ListView when I scroll all the way to the bottom. I'm trying to use a linear layout. It works with a relative layout but then the other elements look all messed up.Any ideas why? Sep 19 21:10:04 oh, i guess that sdk 22.2.1 was for lint blowing up Sep 19 21:11:14 never heard of lombok, interesting Sep 19 21:13:22 oh yeaaah, i have Sep 19 21:13:45 i wonder if this could also be used on android Sep 19 21:13:50 in apps Sep 19 21:14:17 lombok... meh Sep 19 21:14:25 look at credits for lombok :p Sep 19 21:14:35 generate boilerplate for content providers maybe ? Sep 19 21:14:47 yeah Alex ? Sep 19 21:14:49 hehe Sep 19 21:15:01 wth is a lombok Sep 19 21:15:28 (I lived in a city section called lombok once, but...) Sep 19 21:15:28 Chainfire http://www.ibm.com/developerworks/library/j-lombok/ Sep 19 21:15:36 something lint uses Sep 19 21:15:49 oh interesting Sep 19 21:18:23 I can't see the last item in my ListView when I scroll all the way to the bottom. I'm trying to use a linear layout. It works with a relative layout but then the other elements look all messed up. Any ideas why? Sep 19 21:19:00 your children are linearlayouts/relativelayouts? Sep 19 21:19:23 oh i thought Alex Ruiz worked on this Sep 19 21:19:32 but Tor and pfn did Sep 19 21:19:51 ? Sep 19 21:19:53 tor? Sep 19 21:19:55 pfn worked on Lombok? Sep 19 21:20:08 Hey guys, so I have some JSON objects like so http://pastebin.com/6EkK4C8U and I want to check the location element for each one and store it in an array. I have tried doing it like this but it keeps returning null http://pastebin.com/HNQGJVQE Why is this? Sep 19 21:20:14 no, I didn't, I wrote something that whatshisface used as a basis Sep 19 21:20:15 for lombok Sep 19 21:20:25 zwitzerloot Sep 19 21:20:33 lombok is an island in Indonesia Sep 19 21:20:38 and so is java Sep 19 21:20:50 Tor Norbye Sep 19 21:20:57 nseidm1, My bad. It was actually a GridLayout. I changed it to LinearLayout and it works.. Sep 19 21:20:59 How about Sumatra next? Sep 19 21:21:05 Oooh, trivia Sep 19 21:21:59 http://www.hanhuy.com/pfn/java_property_annotation Sep 19 21:22:16 I wrote that, and zwitzerloot ran with it Sep 19 21:22:55 my street was called the sumatrastreet lol Sep 19 21:23:08 stop bringing up memories. Sep 19 21:23:17 lol :P sorry Sep 19 21:23:24 all these coffee names Sep 19 21:23:28 * pfn ponders another shot of espresso Sep 19 21:23:45 quit coffee feel better :P Sep 19 21:24:00 I don't need to quit coffee to feel better Sep 19 21:24:06 have some kopi luwak Sep 19 21:24:15 no, I don't want ratshit coffee either Sep 19 21:24:33 in fact, i need more coffee to feel better Sep 19 21:26:57 anyone know how to retrieve auto backup or picasa photos from gallery intent Intent.ACTION_GET_CONTENT Sep 19 21:27:11 so once everyones had their coffee would it be possible to check my question :) Sep 19 21:29:36 Ran it through a debugger? Sep 19 21:29:47 To check what's inside the JSON object/ Sep 19 21:32:21 kakazza, I keep getting a JSON exception no value for location whenever I check Sep 19 21:37:27 when dealing with AccountManager.getAuthToken signature that takes an Activity context, where does that Activity have to come from? Sep 19 21:37:41 Can I use the existing activity? Sep 19 21:37:50 Alternatively, what should I do with the intent that gets returned when an AccountManager.getAuthToken call is made without a context? Sep 19 21:37:51 knapper_tech, sure, it's for starting an activity for result, I think Sep 19 21:38:15 pfn: use the intent to start an activity? Sep 19 21:38:49 knapper_tech, no, it uses yourActivity.startActivityForResult Sep 19 21:38:50 most likely Sep 19 21:39:05 so handle the getAuthToken result in onActivityResult() Sep 19 21:39:41 anyone? :S Sep 19 21:40:34 CocoStorm, you need a good question to get a good answer Sep 19 21:41:01 pfn: can I use the current activity context when calling getAuthToken? Sep 19 21:41:07 knapper_tech, probably Sep 19 21:41:48 pfn, I see, what did you not understand? Sep 19 21:42:18 pfn: when I call it this way, i get some nasty NPE. i'll paste Sep 19 21:43:15 slow day ;-) so I've bundled up my small weekend project into github. Basically, better layout for text - at least for some definition of "better." https://github.com/kbsriram/typesetview - be kind, alpha code, comments and feedback would be great, etc. Sep 19 21:43:25 ugh, org.json Sep 19 21:43:28 not interested in reading Sep 19 21:43:32 CocoStorm, use a debugger Sep 19 21:43:47 pfn http://bpaste.net/show/133873/ Sep 19 21:44:44 knapper_tech, what version? Sep 19 21:45:16 4.0.4 Sep 19 21:45:35 it's a kivy app, uses PythonActivity as Main Sep 19 21:45:50 no idea what kivy is Sep 19 21:46:17 mAccount is null Sep 19 21:46:19 whatever that means Sep 19 21:46:25 alright Sep 19 21:46:51 whcih line did you spot that one/ Sep 19 21:46:52 on? Sep 19 21:47:56 pfn: did you get that from a debug somehow? Sep 19 21:49:52 https://code.google.com/p/android/issues/detail?id=959 someone please tell me this was fixed but they forgot to mark it fixed... Sep 19 21:50:18 knapper_tech, no, activity source Sep 19 21:51:51 which line did you look at? Sep 19 21:51:57 the line that it points at in the stack Sep 19 21:51:58 which else Sep 19 21:55:03 pfn: Top of the stack grace you mean? Sep 19 21:55:05 trace Sep 19 21:55:37 pfn: not sure how you got to mAccount being null Sep 19 21:57:12 Guys, I've downloaded this project: https://github.com/luminousman/MultipleImagePick Sep 19 21:57:22 but I don't know how to use it on my own project Sep 19 21:57:36 because it's a android project too... any idea? :( Sep 19 21:58:34 Sepho: are you using eclipse or android studio? Sep 19 21:58:52 hey jaynewstrom ! ecilpse Sep 19 21:59:04 you have to add it as a library project Sep 19 21:59:26 http://developer.android.com/tools/projects/projects-eclipse.html#ReferencingLibraryProject Sep 19 21:59:30 Can I add a project (I mean, not .jar file) as library project? Sep 19 21:59:40 yes Sep 19 21:59:48 wop, thanks!! Sep 19 22:04:22 delete the assets director Sep 19 22:04:32 and the other one that has a question mark by it Sep 19 22:04:34 then it should build Sep 19 22:09:21 knapper_tech, look at the stack trace, look at referenced source file Sep 19 22:10:46 Hey guys, so I have some JSON objects like so http://pastebin.com/6EkK4C8U and I want to check the location element for each one and store it in an array. I have tried doing it like this but it keeps returning null http://pastebin.com/HNQGJVQE Why is this? Sep 19 22:13:23 how are you serialising this JSON object? it doesn't look quite right Sep 19 22:17:42 bankai_, what do you mean Sep 19 22:18:11 how did you create that JSON data? Sep 19 22:19:10 bankai_, facebook graph api Sep 19 22:19:28 it dumps objects like that not in an array ? Sep 19 22:20:21 bankai_, http://pastebin.com/F7YasBUg Sep 19 22:20:33 that's a better example Sep 19 22:23:09 best way is to use GSON, create a 'data' object and deserialize the array and iterate through that Sep 19 22:24:09 bankai_, Oh, there's no other way similar to how I'm trying to do it? Sep 19 22:25:10 there are other ways, but that's the easiest and cleanest IMO Sep 19 22:25:28 will make it easier to maintain later if fields are added as well Sep 19 22:25:42 I see, I've never used GSON before Sep 19 22:25:55 it's not difficult to pick up :) Sep 19 22:26:15 awesome :) Sep 19 22:32:45 pfe I'm using sdk version 8, can only find GrantCredentialsPermissionActivity.java in folders for 14, 17, 18 Sep 19 22:43:23 knapper_tech, aosp, not in your local sources, although I suppose it'd be there, too Sep 19 22:44:31 is anyone familiar with the facebook sdk for android? Sep 19 22:45:49 Hello developers! Do you use any tools to estimate profit (~daily downloads) which a particular app makes in the play store? Sep 19 22:46:02 pfe Found issue. Looks like fix is committed...not sure how to get at it Sep 19 22:46:07 https://code.google.com/p/android/issues/detail?id=23421 Sep 19 22:46:52 you can't, you use a workaround Sep 19 22:49:38 yeah.. Sep 19 22:50:31 pfn: so back to what to do with that intent... Sep 19 22:50:38 you can't do anything with it Sep 19 22:50:59 use the workaround prescribed on the bug Sep 19 22:51:04 I can get an intent back whenever I call the getAuthToken without providing a context Sep 19 22:51:26 In my callback, I get a bundle that has only an intent, no auth token Sep 19 22:51:45 it's for twitter. i'm logged into twitter, but not sure if that's everything I need Sep 19 22:53:07 ahoy Sep 19 22:55:20 i'm trying to parse "ContactsContract.CommonDataKinds.Event.START_DATE" and I can't reproduce a case with the year missing. Does anyone know what SimpleDateFormat.parse() returns for the year when parsing "--MM-dd"? Sep 19 22:55:26 will it be 1900? Sep 19 22:55:52 hm, this question might be better asked in #java i suppose Sep 19 22:57:04 rigid, 1970 Sep 19 22:57:31 anyone knowledgable with HTTP? Sep 19 22:57:35 upd: really? Sep 19 22:57:40 and possibly networking on android? Sep 19 22:57:59 rigid, test it ? :) Sep 19 22:58:02 or better yet, is there a #http room somewhere? :| Sep 19 22:58:12 when i'm erasing the date in my adressbook, it replaces it with the current year. When I choose to use year 0, it gets set to 1900 Sep 19 22:58:53 upd: :) probably the best way, you're right Sep 19 22:59:23 I feared that would give me just one use case and it might not be standardized across android Sep 19 22:59:53 but I guess SimpleDateFormat always behaves the same way across releases Sep 19 23:00:36 This parsing operation uses the calendar to produce a Date. All of the calendar's date-time fields are cleared before parsing, and the calendar's default values of the date-time fields are used for any missing date-time information. For example, the year value of the parsed Date is 1970 with GregorianCalendar if no year value is given from the parsing operation. Sep 19 23:00:37 :D Sep 19 23:01:43 Pyuruku, what is your problem Sep 19 23:02:03 So I have a HTTP server spooling up in my app to provide video to other stuff Sep 19 23:02:15 everything is working fine for android 4+, but android 2.x is failing Sep 19 23:02:25 ive tracked the error down to writing data to the outputstream Sep 19 23:02:31 currently, the client will request a video Sep 19 23:02:48 i will respond with a 200 ok, and since no range was specified Sep 19 23:02:54 i will begin to write the entire file to the output stream Sep 19 23:03:01 the failure occurs while writing to the output stream Sep 19 23:03:11 after about 5 mb of data written, it suddenly stops Sep 19 23:03:18 and hangs Sep 19 23:03:24 Pyuruku: could you Sep 19 23:03:24 i get an ANR, etc etc Sep 19 23:03:25 not write Sep 19 23:03:27 your Sep 19 23:03:29 question like Sep 19 23:03:30 this? Sep 19 23:03:44 evanc, you would prefer a giant paragraph? Sep 19 23:04:00 Pyuruku: a well-formed sentence or two, yes Sep 19 23:04:04 and what is a return code ? Sep 19 23:04:18 Anyway, i had the idea to limt the amount of data written to 4 megabytes to see if it would even accept the data io was giving it Sep 19 23:04:40 is there an android studio channel Sep 19 23:04:44 it did, and i can see stills. it even skips just fine. However i noticed that it continually requests data with a range specified now (which didnt happen before) Sep 19 23:04:53 upd im returning 200 OK Sep 19 23:05:34 so im providing correct data, i just cant write out the entire file, and the client isnt asking for a specific range. am I jumping ahead of myself in this exchange? IE i should acknowledge that the file exists before i try to send it off Sep 19 23:05:39 acidjazz: not that i know of. i think androiddev is appropriate enough Sep 19 23:06:01 cant figure out how to add a support library via projec tstructure Sep 19 23:06:25 exchange as it currently sits: GET file -> 200 OK Sep 19 23:06:46 im thinking it might be something more like GET file -> 200 OK -> GET file range 0-1024 Sep 19 23:06:53 all i get is this http://imgur.com/PA9RwDa Sep 19 23:07:19 umm Sep 19 23:07:26 there should be more.. Sep 19 23:07:56 i know right Sep 19 23:08:24 you have a valid project open, right? Sep 19 23:09:04 Pyuruku, yes send it in chunks Sep 19 23:09:22 yeap Sep 19 23:09:26 made it in AS desmin88 Sep 19 23:09:42 upd i do send it in chunks if the client is specifying the range header Sep 19 23:09:43 i would say reinstall AS lol Sep 19 23:09:52 the problem is that the initial request doesnt specify a range Sep 19 23:10:06 and i do not control these clients Sep 19 23:10:15 desmin88: i think it might be because i moved my sdk folder Sep 19 23:10:23 probably Sep 19 23:10:26 desmin88: AS puts it in AppData which is not browsable by their tree Sep 19 23:10:33 so i couldnt add the v4 support lib via the tree Sep 19 23:10:57 umm Sep 19 23:11:06 maybe ill grep the source for that folder lurking anywhere else Sep 19 23:11:07 AS put it in my root folder for the AS install Sep 19 23:11:18 what OS Sep 19 23:11:27 oh i see what ur saying Sep 19 23:11:33 so just customize my install folder Sep 19 23:11:40 yeah Sep 19 23:11:59 example: http://gyazo.com/aff62de3e4969ae8b1f0ac2011209cdd Sep 19 23:12:06 yea cuz appdata is a hidden system folder Sep 19 23:12:23 which is not viewable by any AS java tree Sep 19 23:12:34 im gonna uninstall and install in c:\work Sep 19 23:12:44 SSD :) Sep 19 23:12:46 fair enough Sep 19 23:12:56 wonder if ill get faster compile time Sep 19 23:12:59 Pyuruku, i will gues, the 4mb works becouse it fits in 4096, but if the client does not specify a range, then you are doing something wrong, read how http protocol work, probably you must specify the total size of packet, so the client knows how many request has to made Sep 19 23:13:31 i put AS on my ssd and ultimately just ended up putting it on my hdd, not a big enough difference Sep 19 23:14:18 and also there is usually serveral get file -> 200 OK requests as you said before, it helps if you use some sniffer like wireshark to actually see how data looks like Sep 19 23:14:32 desmin88: w/ cmopile time? Sep 19 23:14:35 now i good to bed gn. Sep 19 23:15:01 acidjazz: compile time is really negligible imo Sep 19 23:15:24 i have a crucial m4 and compile time is already short enough for me to not put it on there Sep 19 23:17:37 it adds up if you do the math Sep 19 23:19:41 eh Sep 19 23:19:43 not worth it Sep 19 23:19:45 for me Sep 19 23:30:17 ssd is the best ever Sep 19 23:30:27 and yueah, putting AS on ssd will make no difference Sep 19 23:30:31 Hey guys. I downloaded a .jar file. How do I put it's classes into the /src direction as "com.jjoe64.graphview" ? Sep 19 23:30:38 directory* Sep 19 23:30:41 you don't put it in source Sep 19 23:30:42 it's a jar Sep 19 23:30:44 you put it in libs Sep 19 23:30:47 pfn: AS? Sep 19 23:30:53 android studio Sep 19 23:31:01 it'll help with loading time, that's it Sep 19 23:31:11 putting your project on ssd would be good, though Sep 19 23:31:19 git grep, status and commit in crazy fast times Sep 19 23:31:23 I used to have a directory "src/com/jjoe64/graphview" Sep 19 23:31:33 I accidentally deleted it... Sep 19 23:31:39 how do I put the package back in there? Sep 19 23:31:39 yes, I have a SSD from Jan, it's very fast Sep 19 23:32:01 I need sata3 in my pc Sep 19 23:32:06 ssd too fast for sata2 Sep 19 23:32:09 wilornel: Simple, just grab it from an earlier revision from your git repository. Sep 19 23:32:18 You do have backups and use version control, right? Sep 19 23:32:20 yes Sep 19 23:32:30 I have ssd on sata2 Sep 19 23:32:35 my pc isn't as crazy fast as it could be :-/ Sep 19 23:32:36 then I upgraded my pc Sep 19 23:32:47 there is huge difference Sep 19 23:32:49 what's the new hotness for better-than-desktop spec chipset/socket now? Sep 19 23:32:59 lga2011? Sep 19 23:33:03 last intel of course Sep 19 23:33:46 I've a Ivy Bridge CPU, it's fantastic Sep 19 23:33:50 dont get haswell no matter what you do. Sep 19 23:33:56 why? Sep 19 23:34:05 amd fan? Sep 19 23:34:09 no Sep 19 23:34:12 im an intel fan Sep 19 23:34:15 Yeah, I also run on Ivy Bridge. <3 Sep 19 23:34:24 i just think haswell is a terrible line of cpus Sep 19 23:34:28 hello Sep 19 23:34:32 why? Sep 19 23:34:42 1 sec Sep 19 23:34:53 kakazza: I'm not using git with this project yet Sep 19 23:35:08 That was a mistake. Sep 19 23:35:27 You start with git. Sep 19 23:35:37 'git init', doesn't hurt. Sep 19 23:35:44 grdc: Okay I'm back, someone was at the door. Sep 19 23:35:46 btw I don't like AMD so for me there's no alternatives and If I buy a computer, I don't buy old hardware Sep 19 23:35:47 kakazza: hm... true Sep 19 23:35:47 git init, git add . Sep 19 23:35:48 git commit Sep 19 23:35:49 gdrc ^ Sep 19 23:35:57 cvs checkout Sep 19 23:35:58 kakazza: but I never modify that package.. Sep 19 23:36:06 And as pfn said, you use the .jar file in /libs, you don't put it into /src Sep 19 23:36:09 gdrc: I don't like AMD either. However I have a couple reasons to dislike haswell. Sep 19 23:36:18 kakazza: Now, all I need to do is the two steps I did two months ago to import the .jar into the project Sep 19 23:36:31 kakazza: I had the .jar in /src and it worked perfectly fine Sep 19 23:36:43 desmin88: We are interested in these reasons. Sep 19 23:36:47 wilornel, learn to do it right Sep 19 23:36:54 im getting there hold on lol Sep 19 23:36:58 now, if I import the .jar, it will appear under: com.myproject.graphview.graphview Sep 19 23:37:07 now, if I import the .jar, it will appear under: com.myproject.graphview* Sep 19 23:37:16 what I need is: com.jjoe64.graphview Sep 19 23:37:48 poutine: oh you Sep 19 23:38:32 kakazza gdrc: Basic reasons are as such. VRM's were moved on chip. 14nm makes it so it runs incredibly hot. Higher TDP than ivy bridge. C7 low watt idle is crap, requires an expensive PSU to even be used. Sep 19 23:38:58 In benchmarks, haswell is wildly all over the place and scores under, equal, and slightly above ivy. Sep 19 23:39:26 so how do I get my package to appear under com.jjoe64.graphview? Sep 19 23:39:26 This is the opinion of a pc enthusiast btw, not just your average pc user Sep 19 23:39:27 expensive psu? Sep 19 23:39:32 needs new features? Sep 19 23:39:37 not a standard atx cpu? bummer Sep 19 23:39:57 An ENTHUSIAST zomg. Sep 19 23:40:05 ikr?! Sep 19 23:40:25 Nilium, is shit working right for you now? I think I'm up to 1.0.6 now, I fixed some bugs in library projects+local-jars Sep 19 23:40:33 That's like saying you don't just like riding bikes fuck you're also wanted in sweden for doing dirty things to them Sep 19 23:40:57 I haven't tried the cache fix, so it's technically working fine Sep 19 23:41:02 ok Sep 19 23:41:25 pfn: C6/C7 states supposedly save power (and money) by dropping to super low idle power consumption, but require expensive psu's to do so because the chip needs fine amp regulation that most PSU's dont offer. Sep 19 23:41:43 I see Sep 19 23:41:48 how do I modify a package's name in the Java Build? Sep 19 23:42:01 Decided to set a personal deadline of saturday to release my silly live wallpaper, so I'm trying to avoid doing anything that isn't moving toward that Sep 19 23:42:12 A package's name? Sep 19 23:42:19 Nilium: lol @bike Sep 19 23:42:55 Overall, I think haswell just isn't a good tock for intel. Sep 19 23:43:19 I see, well, my psu is probably decent, I have some seasonic 760W Sep 19 23:43:39 bubble butt, bubble bubble bubble butt. Sep 19 23:44:06 it's some 80plusgold or whatever Sep 19 23:44:08 Has anyone memory mapped an asset file with MappedByteBuffer? Sep 19 23:44:53 pfn: While that is a good psu, it doesn't support c7 state Sep 19 23:45:04 http://www.intel.com/reseller/psu_selector/ Sep 19 23:45:51 you changed the package name of graphview to com.example.road.GraphView Sep 19 23:45:51 think about it Sep 19 23:45:58 you think about it Sep 19 23:46:02 that was the error I was getting: https://gist.github.com/kovek/6567432 Sep 19 23:47:17 oh well, who needs low power state Sep 19 23:47:23 I never put my desktop into low power ;-) Sep 19 23:47:42 it was a major marketing point for intel that flopped lol Sep 19 23:50:24 desmin88: which column on the intel psu are we supposed to look at for C6/7 support? Sep 19 23:51:02 mchou: min load Sep 19 23:51:03 12v Sep 19 23:51:36 why can't the class be found? It is in my library Sep 19 23:56:54 desmin88: how much of a price premium can one expect of C6/7 psu vs. one that doesn't support it? Sep 20 00:02:53 hm, the facebook app for iOS 7 is a total rewrite from the ground up. Sep 20 00:03:01 sounds like lots of work Sep 20 00:04:16 facebook considers iOS an entirely new OS under the hood, so they went that way. Sep 20 00:04:30 * g00s is always interested in hearing these stories of big software projects Sep 20 00:05:40 "Facebook built an entire system for creating alternate versions of the native app within the native app. The team could then turn on certain new features for a subset of its users, directly, and measure the results. Starting in early 2013, the team put together a system of "different types of Legos — that we can reconfigure really easily ... and see the results on the server in real time." Sep 20 00:05:50 i wonder if the android version is like this also Sep 20 00:06:05 interesting! Sep 20 00:09:06 what i find most interesting - i wish i could be a fly on the wall and listen in to the discussion of refactor vs rewrite - and listen to the various arguments around ROI & economics Sep 20 00:10:59 one line: java.lang.ClassNotFoundException: com.jjoe64.graphview.compatible.RealScaleGestureDetector. Why does it say that if I imported the .jar into my Java Build Path/libraries? Sep 20 00:12:52 wilornel make sure you have the right scope; maybe 'runtime' ? Sep 20 00:12:59 maybe you have it at compile or something Sep 20 00:13:44 ugh.. I really don't know what you mean.. I just restarted working on an old project... Sep 20 00:14:04 I used to have the library under com.jjoe64.graphview Sep 20 00:14:11 I deleted it accidentally Sep 20 00:14:36 how do I put it back into the /src folder? Sep 20 00:14:40 mchou: back, sorry. the issue is they have low wattage cpus that can support c6/c7 for a modest price but if you want c6/c7 and want enthusiast grade psu's it costs a pretty peny Sep 20 00:14:45 ant? gradle? eclipse? AS ? Sep 20 00:14:52 eclipse Sep 20 00:15:03 put the jjoe64 jar in libs Sep 20 00:15:06 ^ Sep 20 00:15:09 uh … i kinda forgot the rest Sep 20 00:15:14 i think the ADT picks it up Sep 20 00:15:25 I did put it into the libs Sep 20 00:15:26 desmin88: low wattage meaning <350W total rating? Sep 20 00:15:35 It doens't show up in /src Sep 20 00:15:36 go to project properties, libraries or something, and make sure its there Sep 20 00:15:46 wilornel why would it show up in src? Sep 20 00:15:48 its a jar Sep 20 00:15:53 jar goes in libs/ Sep 20 00:15:55 btw the file is graphview-3.1.jar Sep 20 00:16:01 yeah but it contains classes I need Sep 20 00:16:12 and ? Sep 20 00:16:15 terrific Sep 20 00:16:32 and the only way for my project to access those classes is if its files are ordered as com.jjoe64.graphview Sep 20 00:16:38 i think he wants the jar to appear in his src tree as editable class files Sep 20 00:16:42 i think jjoe64 used to distribute as source maybe Sep 20 00:16:44 desmin88: oops, nm. misread your answer. CPU not PSU :) Sep 20 00:17:01 desmin88: that's exactly how it before I deleted the package... Sep 20 00:17:06 how it was* Sep 20 00:17:17 mchou: i mean't low wattage psu's sorry. Sep 20 00:17:21 lol Sep 20 00:17:33 mchou: If you go that intel link, set min load to yes Sep 20 00:17:36 then sort by wattage Sep 20 00:17:44 desmin88: k, thx Sep 20 00:17:49 youll understand what i mean Sep 20 00:17:51 okay, it's in libraries in Java Build Path. Sep 20 00:18:00 now, why does it say it cannot find the class? Sep 20 00:18:16 did u import it Sep 20 00:18:21 hmmm Sep 20 00:18:25 Nope? Sep 20 00:18:38 ? Sep 20 00:18:40 really? Sep 20 00:18:41 Nope. Sep 20 00:18:48 import the classes youre using? Sep 20 00:18:49 I did not import it Sep 20 00:19:07 "cannot find the class" Sep 20 00:19:28 I don't see why nobody mentionned importing the class... Sep 20 00:19:32 are Sep 20 00:19:33 the .jar* Sep 20 00:19:36 no Sep 20 00:19:36 no. Sep 20 00:19:51 "import com.jjoe64.graphview.XXX;" Sep 20 00:20:41 are you following Sep 20 00:21:13 i was joking at first but if you didnt import the classes you need to use then.... Sep 20 00:21:28 then it's pretty dumb, yeah Sep 20 00:21:45 my joke or you Sep 20 00:21:51 I am Sep 20 00:21:58 ok Sep 20 00:22:14 you're not supposed to "import" the classes when they are under /src, right? Sep 20 00:22:39 :/ Sep 20 00:22:56 I used to have the package under /src Sep 20 00:23:01 unless im not reading what you're saying right Sep 20 00:23:04 and it worked without having to import it Sep 20 00:23:16 you're using a class from this library, graphview, Sep 20 00:23:22 or whatever Sep 20 00:23:25 in your project Sep 20 00:23:27 mhm Sep 20 00:23:30 and not importing the classes you need to use Sep 20 00:23:36 like Sep 20 00:23:50 can you please type a full sentence before hitting enter Sep 20 00:24:00 "import com.jjoe64.graphview.GraphView"? Sep 20 00:24:08 bankai_, only if you ask nicely :) Sep 20 00:24:19 yeah, that used to work before. I did not have to Sep 20 00:24:37 wilornel: Just import the classes you need to use.. Sep 20 00:25:06 alright now I'm getting some other error. Seems like it works Sep 20 00:25:14 your welcome. Sep 20 00:25:18 thanks Sep 20 00:25:57 bankai_: What is your aversion to not using full sentences? Sep 20 00:29:17 either way, been looking for a pet project app to make. Anybody know places to get ideas? Sep 20 00:29:26 books? Sep 20 00:29:30 just make a project... Sep 20 00:30:30 pfn: yes but what would it be, im unimaginative and cant think of any ideas Sep 20 00:30:50 browse the play store, find something you like, but sucks, make it better Sep 20 00:31:00 browse the itunes store, find an app that's there but not on android, make it Sep 20 00:31:16 hmmmmm Sep 20 00:32:29 it works! Sep 20 00:34:13 …. profit ! Sep 20 00:35:50 So, i'm sending out blanket applications now that Google officially turned me down Sep 20 00:36:05 Any suggestions on places to apply for internships? :O Sep 20 00:37:01 google hasnt even responded to me Sep 20 00:37:07 but this is google uk Sep 20 00:37:15 Ah Sep 20 00:37:25 Facebook listed London this year as a choice for location preference :O Sep 20 00:37:35 I kinda wish I had listed it, although who knows if I'll even get that far in the process lol Sep 20 00:39:44 possibly Sep 20 00:41:48 this thing where AS shows the actual string, instead of @string/xxx is bugging me. how do i turn it off? i keep thinking i fucked up and need to add a resource Sep 20 00:50:56 5 applications, thats probably enough for today Sep 20 00:51:35 Brian|CS you wrote 5 apps !?!? :O Sep 20 00:51:48 in one day ! \o/ Sep 20 00:52:24 lol Sep 20 00:52:25 no Sep 20 00:52:27 internship applications Sep 20 00:52:28 xD Sep 20 00:52:35 oh, slave labor :( Sep 20 00:55:48 question to AS users: i really dont to get the real-time feedback of errors in my project like I used to with plain intellij or eclipse. for example, if I delete a class, which is referenced, nothing even changes to red squigglies. anybody know whats going on ? Sep 20 00:56:27 i would expect a bunch of red suigglies because now the project is broken (missing the class) Sep 20 00:57:42 ur a tilde Sep 20 00:58:57 when I do Build -> Compile project, that fails, and shows an error in the console. if i click on it, it shows be the busted file referencing the removed class - AND ONLY THEN do red suigglies start showing up Sep 20 00:59:13 s/be/me Sep 20 01:01:45 hi guys, is it possible to get other types of data from an intenent other the strings? i got a hashmap from an xml file i would like to get back. or should i just send the xml-string back? Sep 20 01:03:07 cHarNe2 usually its bad form to put more than a few flags / primitives / url in an intent Sep 20 01:03:32 it would be more idiomatic , if you passed a pointer / uri to your hashmap for the other activity to pick up Sep 20 01:03:47 or key, Sep 20 01:04:14 hmm, ok Sep 20 01:04:35 i think there is a FAQ on d.android.com about how to pass complex objects in intents Sep 20 01:04:42 or there used to be Sep 20 01:05:49 would it be smarter to just pass the xml back as a string? and do the rest in the activity? Sep 20 01:06:23 hm, probably not Sep 20 01:06:40 ok Sep 20 01:06:44 stuff it somewhere Sep 20 01:07:07 some data structure, and let the other activity know how to get it Sep 20 01:07:22 huh, thats gone from the FAQ Sep 20 01:17:15 well, ill prolly figure something out :) Sep 20 01:22:48 Can anyone tell me if there's something wrong with this as a list-item background selector? Sep 20 01:22:50 https://github.com/AfzalivE/MI-Chat/blob/master/android-app/src/main/res/drawable/message_item_background.xml Sep 20 01:23:16 For some reason, the item bg is always painted, even if the item is selected, the selected colour is behind Sep 20 01:23:23 (behind the default background) Sep 20 01:29:17 i didnt know you could have multiple drawables Sep 20 01:29:18 neat Sep 20 01:31:33 anyone can help with intents? Sep 20 01:33:25 mark06: what do you need help with? Sep 20 01:38:30 I'm just an end user with trouble, bugs on Android and/or some apps Sep 20 01:38:54 the problem is: http://android.stackexchange.com/questions/53244/why-does-a-syncme-shortcut-run-only-once Sep 20 01:52:00 what about these upcoming AMD APU's that combine CPU and GPU like the one that will be in PS4, aren't those better than Intel ? Sep 20 02:10:11 shmooz: the graphics part of the apus are better than the intel igpu, but not the cpu part Sep 20 02:22:19 any ideas about tls 1.2 and android ? Sep 20 02:48:55 Why is the name of my application the same as the main activity? Sep 20 02:49:21 @string/app_name and @string/title are definitely defined correctly. Sep 20 02:57:24 Bitwise: I don't quite follow Sep 20 02:57:31 join #ketochat Sep 20 02:57:35 fucck **** ENDING LOGGING AT Fri Sep 20 03:00:00 2013