**** BEGIN LOGGING AT Fri Dec 13 03:00:00 2013 Dec 13 03:31:13 anyone have experience with modifying the lock screen? (not widgets) Dec 13 03:33:40 g00s: looks like AS is just IJ with two plugins, similar to what the adt eclipse bundle was Dec 13 03:34:03 i'm having a look at the code at the moment and IJ doesn't actually "come" with AS, just when you download it they smash the two android plugs in with the bundle Dec 13 03:34:17 Eeeeeee: is it even possible to make lockscreen app? Dec 13 03:34:31 ;) Dec 13 03:35:27 yes gonna have to dip into the source code though apparently Dec 13 03:35:57 bankai_ O.o i thought they changed more than that Dec 13 03:36:05 nope Dec 13 03:36:36 i should ask somebody on adt-dev, whats the difference Dec 13 03:36:41 going forward, etc Dec 13 03:36:45 tools/adt/idea Dec 13 03:36:50 adt-branding android-designer icon-robots.txt Dec 13 03:36:51 android android-gradle-jps native Dec 13 03:36:51 had a bug, and they said it was caused by svn plugin that comes with IJ. my thought was... ok so don't ship with that plugin?! Dec 13 03:37:15 i have almost all the plugins disabled except gradle and android Dec 13 03:37:35 there is an IntelliJ vs Android Studio FAQ but it still leaves things unclear: http://blog.jetbrains.com/idea/2013/05/intellij-idea-and-android-studio-faq/ Dec 13 03:37:35 do they really add extra? Dec 13 03:38:23 insight from the svn plugin bug was, they're not changing IJ much nor do they want to Dec 13 03:39:50 was the IJ plugin patched ? Dec 13 03:39:52 hmm. anyone know if the 4.4.2 branch is broken? I just did a clean sync and I am getting errors saying that certain .mk files cannot be found Dec 13 03:39:54 bankai_ i never used the adt bundle; i thought that was stupid :| Dec 13 03:40:00 wpa_supplicant Dec 13 03:40:11 sleepster: #android-root Dec 13 03:40:14 sleepster: this channel is not for system dev Dec 13 03:40:15 I believe they disabled it by default, but wasn't sure it is was google's doing or idea Dec 13 03:40:22 bankai_: #android-root isn't for system dev either Dec 13 03:40:37 #android-system-devs Dec 13 03:40:47 oh I just need help with getting aosp to build :) Dec 13 03:40:52 4.2 and 4.3 work Dec 13 03:40:57 4.4 works too Dec 13 03:41:11 xda forums maybe Dec 13 03:41:30 sleepster: when you want to buy cheese, do you go to the record store and say "oh, but I just want some cheddar"? Dec 13 03:45:26 hm, ui question. so lets say you had a complicated form, i was going to split it into 3 or 4 tabs. this all gets saved into the db as a single row at the end. would you make these form pages fragments or plain views (one would be a list) Dec 13 03:46:41 * g00s is terrible at ui Dec 13 03:49:45 I have bought cheese at record stores many times Dec 13 03:50:49 Richard Cheese ? Dec 13 03:50:58 lol Dec 13 03:51:01 shmoooz listens to Richard Cheese :D Dec 13 03:51:46 g00s: if the form is all related to one action, maybe use a framelayout&show each part of form as needed? Dec 13 03:51:51 only becomes ui question on tablets, and i would say yes it improves ui Dec 13 03:54:22 CRO standard is to lock future forms though.. to discourage user from realizing how long/complex form is until they've already invested enough time to prevent bounce Dec 13 03:55:14 conversion rate optimization rather Dec 13 04:01:18 canvs2321: is there something dicky about the client you use or do you purposefully put ampersands in your text with no spaces? Dec 13 04:01:32 i've noticed it a lot, just curious Dec 13 04:04:01 it's mIRC, can you show me it? or ahh ampersands means 'and'? Dec 13 04:04:36 &i like to use them&i love lamp Dec 13 04:05:05 canvs2321 change your nick to '&' :D Dec 13 04:05:12 :) Dec 13 04:05:37 c&vs2321 Erroneous Nickname Dec 13 04:09:56 apologies for the newbieish question -- i'm attempting to extend ArrayAdapter, but i'm confused by the fact that ArrayAdapter itself takes a List as an argument to its constructor, but there aren't any overrideable constructors that also take a List Dec 13 04:10:32 ah, scratch that, there is one Dec 13 04:11:14 constructors aren't overridable at all. you always have to chain to one of the super constructors Dec 13 04:12:08 right, sorry, wrong choice of words Dec 13 04:13:37 what was the problem you were getting? Dec 13 04:14:33 i'd overlooked the fact that there was a superclass constructor that took a List, though there was only one that took T[] Dec 13 04:15:05 now that i've found it, i created a constructor with a matching signature in my derived class and just passed the arguments along Dec 13 04:15:12 about to test it out :) Dec 13 04:15:12 ah, i see Dec 13 04:16:56 (my backing array is an ArrayList, to which i'm adding/removing elements in the parent Activity) Dec 13 04:51:49 g00s, why would I want to use an appserver for this, this would just be local mdns discovery Dec 13 04:52:23 g00s, hmm, clustering framework, still not useful for how I'd want to implement it Dec 13 04:55:39 but yeah, local mdns is good enough, for mobile data, I'd just register presence through some middleman, like appengine Dec 13 04:55:59 is it a poor idea to use an activity as a sensoreventlistener if i intend to continue to collect data when the screen's off? Dec 13 04:56:26 i'm going for quick and dirty right now, by the way; i realize the activity will be destroyed if the user navigates away from it Dec 13 04:57:42 I wonder if gmail will eventually get tired of me calling myself every 30 seconds while test my app :) Dec 13 05:01:51 hi guys, anyone know how to include .jar file for android studio? Dec 13 05:01:57 i don't know how to add it Dec 13 05:02:04 g00s just saw this twitter article.. these people complaining are retarded Dec 13 05:02:06 i' am trying to add ksoap 2 Dec 13 05:02:13 hi Eeeeeee Dec 13 05:02:37 hey weren't you the guy asking for an android book? Dec 13 05:02:45 Eeeeeee, yes me Dec 13 05:02:53 Eeeeeee, i got the book android programming for dummy Dec 13 05:02:54 lol Dec 13 05:03:00 nice Dec 13 05:03:07 btw, how to include .jar in android studio? Dec 13 05:03:24 g00s you seeing this? Dec 13 05:03:34 Eeeeeee, i'm following this. http://www.codeproject.com/Articles/304302/Calling-Asp-Net-Webservice-ASMX-From-an-Android-Ap Dec 13 05:03:53 i'm not sure how to add to android studio Dec 13 05:04:52 Phong_: if it's anything like intellij, you'd throw the jar in your 'libs' folder, then open file->project structure... Dec 13 05:05:00 http://lmgtfy.com/?q=adding+library+to+android+studio+ Dec 13 05:05:24 its different with gradle depending on your version of android studio Dec 13 05:05:24 select the libraries entry on the left, then press the '+' button and browse to your 'libs' directory in your project, select the jar, accept the prompt that asks if you want to add it to your module, and you're set Dec 13 05:05:36 ah, yeah, don't know how it works with gradle, sorry :\ Dec 13 05:07:42 if i hit + it gives me 3 options too choose man Dec 13 05:07:50 dont Dec 13 05:07:52 do what he said Dec 13 05:08:11 except the add to your libs folder part Dec 13 05:08:18 3 options: maven, file, module (dependency) Dec 13 05:08:25 oh, it doesn't work that way in android studio, huh? Dec 13 05:08:34 it did for a small period of time Dec 13 05:08:48 they changed it mid preview and it really was a pain Dec 13 05:09:06 diphtherial, not sure how to add yet Dec 13 05:09:11 but new way makes it easier Dec 13 05:09:12 it gives me 3 options Dec 13 05:09:49 http://stackoverflow.com/a/16639227 Dec 13 05:09:52 as Eeeeeee mentioned, my advice was for intellij and not for android studio, which i unfortunately can't get to run right now :\ Dec 13 05:10:04 follow that code specifically phong Dec 13 05:10:23 that comment specifically*** Dec 13 05:11:11 Its the mutha flippin' matrix transforms Dec 13 05:11:18 * explodes drops the bass Dec 13 05:11:45 don't pm me Dec 13 05:11:48 will you Teamviewer to me? Dec 13 05:12:19 no, and don't use this channel until you've exhausted all other resources ie google Dec 13 05:15:32 This function reassigns values to an android.graphics.Matrix when things happen (addScale, addRotation, addTranslation) and notifies things that draw that use this matrix. Dec 13 05:16:07 the value of "this.rc" is definitely changing… The drawings scale up and down and translate like they're supposed to, but they don't rotate? Dec 13 05:16:34 I'm certain that this is the order of operations required to properly rotate; Dec 13 05:18:32 actually I am not certain Dec 13 05:21:28 Eeeeeee, i think i got it:) Dec 13 05:21:46 Eeeeeee, instruction are bad ass Dec 13 05:22:13 Eeeeeee, don't know why usually people write instructions are so bad, that only the writer will mostly understand. Dec 13 05:25:34 documentation is like sex Dec 13 05:25:44 even if its bad, at least its there Dec 13 05:27:08 and sometimes doing it yourself is a better depending on how bad it is Dec 13 05:27:34 LOL Dec 13 05:27:38 haha Dec 13 05:28:35 it's like they tell you to push a button to start the engine...when there are 10 buttons.. Dec 13 05:29:43 i follow that instruction to go to protect stucture,, and they forgot to do the prestep first...before going into it Dec 13 05:29:44 lol Dec 13 05:29:48 was just thinking that analogy didn't cover masturbation, but hey i guess going it alone is sometimes better than bad documentation Dec 13 05:29:49 no wonder i can't add Dec 13 05:29:52 not i go tit Dec 13 05:29:55 got it* Dec 13 05:30:35 don't do the project structure steps**** that's why I said follow that comment specifically, the "answer" above it is outdated and wrong Dec 13 05:32:28 errrr Dec 13 05:32:38 sorry, i think that comment is outdated as well Dec 13 05:32:58 Eclipse is still the supported, released, maintained development platform Dec 13 05:37:26 don't know what version you're using, but in later versions the process changes where you omit the project structure step completely.. if it worked then you're good to go Dec 13 05:52:27 is there a relatively painless way to make a listview row blink for a little while? i'm currently just coloring its background gray, but it'd be nice for it to change abruptly to some color, then fade to white, and repeat that every few milliseconds Dec 13 05:52:50 (it's kind of a 'pending' notification, before it moves on to the next element in the queue) Dec 13 05:54:42 diphtherial: you could maybe set a drawable background, and animate the color change in the drawable? (ie an animation xml drawable) Dec 13 05:55:28 ah, that's a great idea :) Dec 13 05:57:52 not really sure how to write an animation that just fades from a solid color to white, then somehow repeats from the top endlessly Dec 13 05:58:08 (unless animations loop by default, in which case i just need it to fade from the solid color to white) Dec 13 05:59:40 seems like i'll be using objectAnimator Dec 13 06:02:22 i'm not sure offhand either, but as I recall you can loop images into a drawable xml as an animation ... most things that can take an image reference can take a #RRGGBB color, too Dec 13 06:02:33 so the first thing I'd try would be that, I think Dec 13 06:05:42 diphtherial: http://stackoverflow.com/questions/2614545/animate-change-of-view-background-color-in-android Dec 13 06:05:48 close to what I was guessing could be done Dec 13 06:06:22 ah, neat :D Dec 13 06:22:08 Is there any way to send app requests without using the WebDialog in the Facebook Android SDK? (I'm quite sure this is the wrong channel, but if someone has already done it, please help) Dec 13 06:24:10 transition animations apparently don't loop, so i ended up using an animation list drawable, which unfortunately doesn't blend nicely between the colors :\ Dec 13 06:34:29 https://www.coursera.org/course/androidapps101 Dec 13 06:58:55 i thought that disabling a listview would disable the views (e.g. buttons) contained within its item views, but it doesn't seem to; should i just iterate through the item views and disable the buttons, etc. manually? Dec 13 07:02:20 diphtherial, i find that eclipse is much easy to use Dec 13 07:02:31 i finally did uninstalled android studio Dec 13 07:59:09 not sure if this is true, but it seems like my listview is only instantiating the views from the underlying adapter that are visible Dec 13 07:59:27 is there some way to force it to keep everything that's available from the adapter as a view in the listview? Dec 13 08:04:57 no Dec 13 08:05:11 you could stop using the convert view Dec 13 08:05:40 pfn does the Settings app import pem or does it need to be pkcs12 ? Dec 13 08:05:54 don't know, haven't tried Dec 13 08:06:10 how does qicr handle ssl and certificates , etc ? Dec 13 08:06:20 but, for user certs, it should be pkcs12 Dec 13 08:06:32 hm Dec 13 08:06:39 pfn: was that directed at me? Dec 13 08:06:44 it accepts all and displays the fingerprint when connecting Dec 13 08:06:54 oh Dec 13 08:09:11 basically, i have a list of items that i'm iterating over with some delay between items in the list being activated Dec 13 08:09:44 i'm storing the current index to keep track of it as i move through the thing, but the index becomes invalid if the list is too long to be displayed on the screen and i scroll a bit (i assume because the earlier items are becoming unloaded) Dec 13 08:09:58 yes, because of the recycler Dec 13 08:10:03 is there some other way that i should be referring to elements in the list? Dec 13 08:10:12 keep that data in your model somehow Dec 13 08:10:38 oh maybe i need to use DER Dec 13 08:10:44 fuck this is confusing Dec 13 08:10:50 what's DER Dec 13 08:11:40 pem/der/pkcs7/pkcs12, etc Dec 13 08:11:42 I have a few java only books. i'm wondering how much of java programming is relevant to android programming... does everything cross over, or should i get a book on java that's specific to android? (not interested in java outside of android) Dec 13 08:11:54 der is a binary format for certs Dec 13 08:12:12 all Java programming is relevant Dec 13 08:12:18 k Dec 13 08:12:25 minus gui and some javax stuff Dec 13 08:12:27 no time waste? Dec 13 08:12:30 ok Dec 13 08:12:31 Eeeeeee most android book suck, so … a java android book would probably suck too Dec 13 08:12:31 without it you're gonna have a baaaad time. Dec 13 08:12:40 but even gui concepts translate Dec 13 08:12:56 eg the event dispatch thread Dec 13 08:12:59 are you (still) using scala for android, pfn? Dec 13 08:13:02 very true g00s Dec 13 08:13:03 yes Dec 13 08:13:08 how's that working out? Dec 13 08:13:14 great Dec 13 08:13:21 grrrrreat ! Dec 13 08:14:00 getting a bit sick of java. Dec 13 08:14:12 btw g00s did you see phong earlier, he bought a book and actually got started (kinda) Dec 13 08:14:23 Eeeeeee my usage of java in android is pretty basic, plus maybe anonymous inner classes. most of the 'you need to know this shit' is in the concurrency department Dec 13 08:14:31 is there some way for me to retain the mapping between the list and my index? i still need to get at the view that corresponds to some entry Dec 13 08:15:03 Eeeeeee heh … we'll see :D Dec 13 08:15:08 lol Dec 13 08:15:08 storkme, Java is not enjoyable to work in Dec 13 08:15:09 until next year ... Dec 13 08:15:12 i'm starting to wonder if i should embed a unique id in the class that's associated with my arrayadapter (right now it's just a String, but i guess it'll have to be some compound type since the strings aren't unique) Dec 13 08:15:37 yeah, nto really gonna argue with that. Dec 13 08:15:45 you could. or maybe use a Pair Dec 13 08:15:56 ArrayList> Dec 13 08:16:56 that sounds reasonable, albeit i was hoping to avoid having to deal with unique ids, as the elements are steps...it'll mean that i'll have to clean up the ids after steps are removed and keep track of the max when steps need to be added Dec 13 08:17:25 oh, i just threw that out there Dec 13 08:17:28 also, not sure what to do if the step i want to highlight doesn't have a corresponding view (i.e. the view it would have is offscreen) Dec 13 08:17:49 it's a good idea; it'll just take more effort, heh :) Dec 13 08:18:25 lynda java essential training it is Dec 13 08:20:13 is there a common pattern to prevent users from pressing any buttons while some other process is at work? i noticed in googe play if im quick enough i can open multiple windows or change layouts when i shouldnt be able to Dec 13 08:20:47 Eeeeeee wut Dec 13 08:22:03 if lets say you star an asyncTask how would you prevent the user from pressing any other button before its finished Dec 13 08:22:15 sry thinking out loud. lynda.com video tutorial. screw the book route Dec 13 08:22:24 without using some ghetto master lock on absolutely everything Dec 13 08:22:36 ghetto master lock has a nice ring to it, though Dec 13 08:22:44 some kind of ultra-secure lock, maybe Dec 13 08:23:26 rhcake you can't prevent users from pressing, say Home Dec 13 08:23:41 not the system buttons. just others in your app Dec 13 08:23:54 how about an uncancelable progress dialog? users love those. Dec 13 08:24:01 lol Dec 13 08:24:01 >_> Dec 13 08:24:04 it's a pity that there isn't some kind of recursive enable/disable so you could disable all the subviews of some view Dec 13 08:24:10 yeah Dec 13 08:24:17 you could always write one.. Dec 13 08:24:34 and then open source it so people don't say the same thing you just did Dec 13 08:24:41 indeed. sorry, just started developing android apps again today, so i'm still feeling out what it can and can't do Dec 13 08:25:06 feels like this should be addressed in the api. grouping buttons to prevent parallel action Dec 13 08:25:34 traversing a view hierarchy is pretty straightforward: in root layout, foreach view children: is it a viewgroup? recurse. does it implement 'clickable'? setenabled(false). Dec 13 08:25:54 how many views do you have to disable anyway :o Dec 13 08:26:49 pfn uh, sorry to bug you again, maybe you know - was importing user certs only possible from 4.3 like this says ? https://support.google.com/nexus/answer/2844832?hl=en Dec 13 08:27:58 dumbass Dec 13 08:28:09 i'm using it on a 4.1.1 emu so of course not Dec 13 08:28:12 :? Dec 13 08:37:21 I love developers who duplicate the list they already have in their ArrayAdapter, who don't use the ViewHolder pattern, and who stores a pointer to their activity instead of using getContext()... Dec 13 08:37:59 oh, KeyChain is Api 14 Dec 13 08:38:19 maybe they're noobs and you should cut them some slack :( Dec 13 08:39:41 storkme: the ones I've taken over the code for are "pro" consultants who charged a premium ... so not in this case, otherwise sure everybody has to start somewhere Dec 13 08:39:58 oh :( Dec 13 08:40:31 honestly, i think android is a weird thing. it must be so confusing, i see everybody attempt to do the same thing N different ways … Dec 13 08:40:48 almost every android app code i inspect is 'unique' Dec 13 08:40:56 like, holy shit they did waaa Dec 13 08:41:08 as mickey rourke said Dec 13 08:41:10 soft govno Dec 13 08:41:12 its as if there aren't codified patterns Dec 13 08:41:55 like right now, i'm using RxJava for stuff, but you could use Handler, or Otto, or Green Robot, or ... Dec 13 08:42:08 so much pain, so many placebos Dec 13 08:42:08 g00s: I believe iOS is even worse Dec 13 08:43:10 g00s: I agree though, why do we all have to find ways to do async image loading, network+json handling etc etc Dec 13 08:43:22 g00s, because there is always more than one way to do it Dec 13 08:43:24 because everyone's requirements are different Dec 13 08:43:44 that is the case with just about every single software project Dec 13 08:43:47 JakeWharton: sure, but nobody wants image loading on main thread when you flick that list Dec 13 08:43:50 not using retrofit? diaf. Dec 13 08:43:51 not just android Dec 13 08:43:59 sensible defaults Dec 13 08:44:38 snowpong: what about memory caching strategy, disk caching, authentication, transformation, content provider support, etc... Dec 13 08:45:21 how about request priority, thread pool size, remote image resizing services, placeholders, error states, transitions on load Dec 13 08:46:43 thumbnails, remote view support, local asset loading, bitmap options support, sprite sheet support Dec 13 08:47:20 JakeWharton: there are always different requirements - but, at the moment the vanilla Android developer has an unnecessarily rough start Dec 13 08:47:22 when you try and wrap all those use cases up in a single library you end up with a train wreck API that's over complicated and nobody wants to use Dec 13 08:47:47 well, that was my motivation for Picasso. Picasso.with(this).load(url).into(imageView); Dec 13 08:47:49 mhm that does sound like android Dec 13 08:47:59 JakeWharton: I think you and others have proven the Google default API can be surpased? Dec 13 08:48:03 thats why the reuse should happen at the pattern level, not the library level. there could be a library with an opinion that has some knobs to turn ... Dec 13 08:49:43 anyhow Dec 13 08:50:47 i think many things are difficult on android when they involve concurrency, just because of what happens when things get done .. context do away? activity gone? etc etc Dec 13 08:51:03 easy to use, concise API, vast feature set. choose two. Dec 13 08:51:26 more realistically, it's a triangle and you just have to find your place in it with a balance of the three Dec 13 08:51:59 g00s: how is RxJava btw? Any benefits from what you've used before? Dec 13 08:52:05 g00s: that can be easily solved Dec 13 08:52:42 thread pool for work (network, DB, etc.), immutable UI model updates from wire/disk/db format on a single background thread, UI updates from immutable model on main thread Dec 13 08:52:52 who needs concurrency when your UI and model are single-threaded Dec 13 08:53:35 * pfn likes futures vs rxjava Dec 13 08:53:48 snowpong i like it a lot - works well for the case of coordinating events and asynchronous streams. i made a little RxService like an INtentService, but which sends results back to the observer (fragment, etc) Dec 13 08:54:15 i made little event bus with BehaviorSubject Dec 13 08:54:18 "little" Dec 13 08:55:24 g00s: I was wondering if it deals with issues where you have multiple network calls, and only want to know the result from all of their combined operations (fetch user, read some info, fetch something else etc) Dec 13 08:56:03 it does, quite easily Dec 13 08:56:12 snowpong yeah, thats what it shines at Dec 13 08:56:59 g00s: JakeWharton: so, any major drawbacks? Dec 13 08:57:07 object allocation is a bitch Dec 13 08:57:22 JakeWharton: how so? Dec 13 08:57:32 snowpong another library that can do that , i think, is Spring Reactor - but i haven't played enough. it had 2 weird dependencies Dec 13 08:57:44 it creates a ton of intermediary objects Dec 13 08:57:55 it's a functional pipeline therefore objects represent the input and outputs of every step Dec 13 08:58:02 not to mention its internals are less-than-steller Dec 13 08:58:09 stellar Dec 13 08:58:23 so, based on an offset into the original array, can i somehow find out which, if any, view in a listview is associated with that offset? Dec 13 08:58:30 the other major drawback is that it's a completely opinion-less library Dec 13 08:58:37 without having to somehow store the offset as an id in the array objects, preferably Dec 13 08:58:39 you can do everything 10 ways and it'll work in all 10 Dec 13 08:58:57 and without having to iterate through the listview's children looking for an id Dec 13 08:59:16 MS has a Rx best practices thing which is worth looking at Dec 13 08:59:30 JakeWharton: About that injecting into POJOs from earlier (read: 10hrs ago?), I basically want to inject https://developer.android.com/reference/android/content/Context.html#getExternalFilesDir(java.lang.String) into the "I/O Manager". Dec 13 09:00:16 No matter if i inject the Context or the File directly, someone's gotta have a Context. And the class handling I/O is pretty far down abstraction lane. Dec 13 09:00:45 How would you solve this or how do you handle injecting into POJOs in general? Dec 13 09:01:24 module takes the application into its constructor Dec 13 09:01:55 @Provides @Singleton @ExternalFileDir File provideExternalFileDir() { return app.getExternalFilesDir(); } Dec 13 09:02:43 in the Application's onCreate, ObjectGraph.create(new MySweetAppModule(this)); Dec 13 09:03:12 I'd still need ((MyApp) getApplication()).inject(this) somewhere in the to-be-injected class, no? Dec 13 09:03:43 sure Dec 13 09:03:48 or just pass the ObjectGraph around Dec 13 09:04:42 Heh, then I'd pass the ObjectGraph around instead of the Context. Dec 13 09:05:27 Why make me write that instead of @Injectable, btw? Dec 13 09:06:38 dependency injection still confuses the hell out of me. Dec 13 09:06:39 what would @Injectable do? Dec 13 09:06:44 Hi, is there anyway to reset the TextViews to whatever is on XML files? without doing a setText ? Dec 13 09:07:35 totic: not really, no Dec 13 09:07:42 pfn do you think Akka has a useful place in Android development? i thought it was purely for Scala use … just read it can be used from Java. Dec 13 09:07:43 I wonder if Mortar could be useful to me if I don't use Flow. I'm just not exactly sure how to use multiple modules in one App without at one point having an instance of ALL THE THINGS. Dec 13 09:08:54 JakeWharton: I was thinking ((MyApp) getApplication).inject(this);, but that's currently in my BaseActivity. Whereas I'm not sure if I should have that many entrypoints. (Maintaining that list is meh) Dec 13 09:11:01 is it just me or does it get a bit annoying adding all of your classes into the `injects` param of your @Module Dec 13 09:12:45 just you. takes literally 2 seconds Dec 13 09:13:03 btw, whats is going on with volley? i don't hear about it any more Dec 13 09:13:14 shitty documentation Dec 13 09:13:18 maybe everyone is secretly using it for great gain Dec 13 09:13:20 exactly the same thing that was going on the year before the I/O talk Dec 13 09:13:37 i am using it Dec 13 09:14:10 storkme they should probably put it in the support lib, or as a separate lib in the sdk manager or something. do you still have to grab it from repo ? Dec 13 09:14:13 it sat in AOSP for a year with tiny boring changes, then there was the I/O talk, and now it's sitting in AOSP with tiny boring changes Dec 13 09:14:25 hm Dec 13 09:14:48 well then :) Dec 13 09:15:31 JakeWharton: Ok, to finish this, when I have a POJO, there's no way around either passing down a Context or ObjectGraph down to the POJO, right? Dec 13 09:15:46 you could use constructor injection Dec 13 09:15:53 ? Dec 13 09:15:55 I'm using it from repo g00s yeah Dec 13 09:16:23 JakeWharton: maybe I'm just doing DI wrong.. my `injects` list is getting a bit huge. Dec 13 09:16:35 annotate the Foo constructor with @Inject, all params are now dependencies, @Inject Foo foo anywhere you want Dec 13 09:17:36 So if I had @Inject Foo(Bar bar) I'd have to have a @Provide provideBar() {}? Dec 13 09:18:41 no Dec 13 09:18:47 you don't have to do anything else Dec 13 09:19:29 Then how would dagger know how to satisfy the dependency? Dec 13 09:19:47 it calls the constructor Dec 13 09:20:06 But there is no constructor for Context. Dec 13 09:20:25 I'm not sure I'm following you wrt my example. Dec 13 09:44:16 this whole recycling listview items thing is highly problematic for me right now Dec 13 09:44:42 is there some way to disable it? Dec 13 09:44:58 lol Dec 13 09:45:11 why is it a problem Dec 13 09:45:28 why exactly are you interested in the offset? Dec 13 09:46:32 diphtherial thats the whole point of listview :) if you want a view for every single thing, just put it in a ScrollView. probably not going to like the result ;) Dec 13 09:47:08 if you mean for reasons of efficiency, i'm putting something like ten items max in this listview Dec 13 09:47:30 meh, maybe ListView is too much hassle then :) Dec 13 09:47:48 scrollview would look the same, then? does it have the whole view-binding deal that listview has? Dec 13 09:48:00 nope Dec 13 09:48:03 i still do need to display the contents of an array somehow...ah, meh Dec 13 09:48:05 just .. views Dec 13 09:48:45 my significant other is watching me pensively from bed, waiting for me to complete this silly app :x time is of the essence Dec 13 09:48:58 actually, i think it's ok; as long as it doesn't crash i think she'll be happy Dec 13 09:49:52 diptherial what bad in ViewHolder way ? Dec 13 09:50:02 for(int i=0; i chuck your linearlayout in a scrollview.. Dec 13 09:51:08 yeah, sounds easiest Dec 13 09:54:05 diphtherial, there's a "has transient state" flag to prevent recycling Dec 13 09:54:20 diphtherial, even tho I do warn you... if recycling is a problem, you're doing something VERY wrong Dec 13 09:55:52 but for 10 items ... Dec 13 09:56:01 since its bounded, i say no to ListView Dec 13 09:56:22 but thats cool to learn about Mavrik :) Dec 13 09:56:48 look for array adapter backed linear layout Dec 13 09:57:03 is that a thing? Dec 13 09:57:11 i swear i saw a library a while back Dec 13 09:57:23 just trying to find it Dec 13 09:57:23 scary Dec 13 09:57:32 naw its nice Dec 13 09:57:42 adapters are a great pattern for MVC Dec 13 09:58:15 https://github.com/frankiesardo/LinearListView Dec 13 10:00:48 Hi all, how can I disable/ hide option menu? if I set "setHasOptionsMenu(false);", it doesn't work Dec 13 10:02:02 Hello how i can see csv file which extracted from apk file, its binary file, is there any idea? Dec 13 10:02:44 a csv isn't binary Dec 13 10:03:25 yeah i think its something different, so i am asking:d Dec 13 10:03:56 emr um, is this your app :| if not, then this isn't the place to ask Dec 13 10:04:14 emr: we're on to you Dec 13 10:04:22 g00s: Call interpol Dec 13 10:04:29 :O Dec 13 10:05:10 no it isn't mine:) Dec 13 10:05:13 DarkSlay3r how many nicks in here you have never seen say anything at all :) interpol is probably here already Dec 13 10:05:23 just try to reverse eng.:) Dec 13 10:05:43 g00s: Don't be an amateur, they can't break cover Dec 13 10:05:52 was the csv stored in the assets directory? Dec 13 10:06:01 CallumTaylor: yes Dec 13 10:06:05 if it is, it doesn't get compile so you can just rename the apk to .zip and extract it Dec 13 10:06:11 the assets folder should be there in-tact Dec 13 10:06:47 i already unzipped apk but there is binary csv files, which i try to look in Dec 13 10:07:16 emr you know you can open csv in notepad Dec 13 10:07:23 emr, use apktool to extract its resources Dec 13 10:07:44 assets folder doesn't get compile Dec 13 10:07:53 DarkSlay3r: no no something binary not actually csv file Dec 13 10:07:59 oles: alright trying Dec 13 10:08:02 thanks everybody Dec 13 10:08:08 its impossible (if the csv was packed in already as binary) for the csv to be a binary file after compiling to an apk Dec 13 10:08:46 hm Dec 13 10:10:29 http://richardfaber.com/work/mockup/clans/assets/csv/ Here is the files which i'm talking about Dec 13 10:10:41 btw i'm not richard faber:d Dec 13 10:11:59 the CSV must have already been compiled before the APK was made then Dec 13 10:12:36 or encrypted Dec 13 10:12:46 CallumTaylor: so it is possible to de-compile Dec 13 10:12:48 CallumTaylor: None of those are correct Dec 13 10:12:55 It must have been encrypted Dec 13 10:13:02 i said that Dec 13 10:13:03 >.> Dec 13 10:13:06 :d Dec 13 10:13:35 CallumTaylor: No you didn't Dec 13 10:13:40 ya i did Dec 13 10:13:40 thanks DarkSlay3r CallumTaylor Dec 13 10:13:47 i got the point Dec 13 10:13:53 No problem emr Dec 13 10:13:58 but you made the app right? so you would already know this Dec 13 10:14:03 Your thanks are gladly accepted Dec 13 10:14:06 unless you lied to us Dec 13 10:14:15 CallumTaylor: He must have lied to us Dec 13 10:14:34 no i said that it isn't mine:d Dec 13 10:14:37 g00s: Call interpol Dec 13 10:14:44 arhahrg Dec 13 10:14:46 :d Dec 13 10:14:50 "hello, interpol? hi, this is g00s' Dec 13 10:15:02 06:05:11 PM - emr: no it isn't mine:) Dec 13 10:15:23 touché Dec 13 10:15:26 :dd Dec 13 10:15:39 emr: the black helicopters will be arriving soon Dec 13 10:15:47 I recommend you put out some cookies Dec 13 10:16:04 and milk. Interpol likes milk Dec 13 10:18:12 holly molly:) Dec 13 10:18:22 with tea or without tea, only milk Dec 13 10:20:11 hey, is there a way to ensure that my activity remains active even if the screen is off? i'm especially concerned about it not properly responding to Handler-registered events Dec 13 10:20:32 this is just a research tool for my own use, so it's ok if it eats a lot of battery Dec 13 10:21:01 diphtherial: wakelock Dec 13 10:21:15 i've already attempted to acquire a wakelock; should i not be releasing that when i pause? Dec 13 10:21:44 diphtherial: Don't release Dec 13 10:23:09 only release in onDestroy Dec 13 10:32:37 WHELP Dec 13 10:32:45 18 HOURS OF CODING Dec 13 10:32:53 CANT FIX THEM BUGS FAST ENOUGH Dec 13 10:33:02 COPIOUS AMOUNTS OF REDBULL LATER Dec 13 10:33:19 need more cocaine Dec 13 10:33:22 ^ Dec 13 10:33:30 Indeed Dec 13 10:33:32 redbull is for children. Dec 13 10:33:36 I need education Dec 13 10:33:41 red bull is for ametures Dec 13 10:34:34 yeah, truly strung out coders use heroin Dec 13 10:34:58 its funny how when we call it a bug, our bosses think its a pest problem and not our fault Dec 13 10:35:14 CallumTaylor: Oh, i beg thee to bless me with your wisdom Dec 13 10:35:35 they pat you on the back 'go get that bug and set him straight!' Dec 13 10:35:52 your boss might be stupid Dec 13 10:36:01 does he have pointy hair Dec 13 10:36:05 shmooz: A friend called me and told me their computer crashed and i said oh, it must be a bug in windows Dec 13 10:36:09 hey its not me, it's the stupid bug Dec 13 10:36:19 and the girl said yeah we got ants must be them Dec 13 10:36:46 rofl Dec 13 10:39:26 Plese is there an android app for news feeds that avoid repetition of the same news among feeds Dec 13 10:39:26 ? Dec 13 10:40:54 that doesn't sound like a dev question Dec 13 10:41:28 shmooz: False! Dec 13 10:41:34 Everything is a dev question Dec 13 10:41:48 bePolite: The might be... depends on how much you donate Dec 13 10:42:42 DarkSlay3r: I don't understand the donation part Dec 13 10:44:26 this water bottle says "Deep protected well, ontario CA and/or Los Angeles CA municipal water supply" Dec 13 10:44:29 uuh dafuq Dec 13 10:44:42 deebo: is having pointy hair a symptom of stupidity or the other way around ? <--- now there's a dev question Dec 13 10:44:57 it comes from the wand Dec 13 10:45:19 any Ideas please? Dec 13 10:47:51 try #android Dec 13 10:48:13 CallumTaylor: There already Dec 13 10:48:28 great Dec 13 11:11:26 has anyone successfuly integrated burstlysdk into an android app? Dec 13 11:14:53 is it real to get View object, which was clicked in ListView? I mean exact this View object, which was tapped. Like ImageView for example. And is it real to check it from lv.SetOnItemClickListener() ? Or I need to bind setOnClickListener for ImageView in Adapter? Dec 13 11:23:55 yo shmooz Dec 13 11:24:05 wassup my fella Dec 13 11:26:25 somebody pang? Dec 13 11:50:42 Hello. Im havig some trouble loading a native lib in eclipse Dec 13 11:50:44 https://gist.github.com/cfeckardt/01f68832b08400080975 Dec 13 11:50:46 Hi guys, when i create new project in android studio it gives me IDE error, can someone help me ? I need to code a lot, and tihs things really are taking some serious time which can be spent more efficiently , Can't deserialize target data of key 'IdeaAndroidProject'. Given class loaders: [PluginClassLoader[org.jetbrains.android, 10.0]] Dec 13 11:52:14 i'm trying out a code example i've found to learn from it... getting a "network on main thread" exception, but isn't this considered a new thread? handler.postDelayed(new Runnable() { Dec 13 11:56:36 CallumTaylor: I'm trying to do database Dec 13 11:56:51 Should i create one when the activity starts and call it from there Dec 13 11:57:47 i having trouble understanding how exactly the data gets passed around Dec 13 11:59:39 passed around.. how do you mean Dec 13 12:01:07 DarkSlay3r: sorry was in a meeting and had to shut off IRC Dec 13 12:02:32 Should i create one when the activity starts and call it from there Dec 13 12:02:33 i having trouble understanding how exactly the data gets passed around Dec 13 12:03:00 for? Dec 13 12:03:56 yo DarkSlay3r you called me? Dec 13 12:06:53 Bless me with your wisdom Dec 13 12:07:06 SQLite is confusing me Dec 13 12:07:20 sqlite is a pain Dec 13 12:07:23 what's the issue? Dec 13 12:07:54 I am not sure how i'm supposed to implement it Dec 13 12:07:59 2 secs Dec 13 12:08:06 i've created the class for the table and stuff Dec 13 12:08:22 now i'm supposed to create a new object in my activity Dec 13 12:08:38 but i'm not sure how i'm supposed to pass it around to the fragments Dec 13 12:08:54 will creating a new database object create a new table? Dec 13 12:09:47 https://gist.github.com/scruffyfox/7943376 Dec 13 12:09:56 i've found this approach to be the nicest Dec 13 12:10:06 so i have a bunch of models that get populated from the queries Dec 13 12:10:18 in terms of passing it to another activity, implement parcel able in that model Dec 13 12:11:12 (note that @Getter just generates boilerplate code for a standard get method) Dec 13 12:11:22 https://www.google.de/url?sa=t&rct=j&q=&esrc=s&source=web&cd=1&ved=0CDIQFjAA&url=http%3A%2F%2Fplay.google.com%2Fabout%2Fdeveloper-content-policy.html&ei=eviqUv7vGKmM7AaKsoDIDg&usg=AFQjCNFVLUDFwC2khgBM3NKrpPJ2iAl0eg&sig2=IFUWlDCpJxigtUgshwYBYg&bvm=bv.57967247,d.ZGU&cad=rja can someone paste me the text in english here? I'm searching for the passage about the advertisingid and the users limited ad tracking setting, but I cant find it in the german translation Dec 13 12:11:22 which I get automatically when opening this page Dec 13 12:12:25 change browser language setting Dec 13 12:13:32 hm... but why is this missing in the german version? are there different policies in germany about the adveritsing ID? Dec 13 12:13:47 especially the part that says that the developer has to respect the users setting? Dec 13 12:14:03 CallumTaylor: Thanks Dec 13 12:14:09 I'll try that Dec 13 12:15:44 Eeeeeee: changing browser language doesnt help at all Dec 13 12:17:40 DarkSlay3r may also be of use https://github.com/satyan/sugar Dec 13 12:17:43 CallumTaylor i'm currently reading tutorial on contentprovider and keep reading that it's the better way to deal with database content. Is there a reason you don't implement one? Dec 13 12:18:16 to be honest I haven't really dove into content providers Dec 13 12:18:21 ohcibi http://pastebin.com/u7bkKaMh Dec 13 12:18:44 Eeeeeee: thanks... Dec 13 12:18:49 Hello againUnable to load my native library. Relevant Gist: https://gist.github.com/cfeckardt/01f68832b08400080975 Dec 13 12:19:15 it seems that google doesn't translated it into german already Dec 13 12:19:27 that doesn't sound right at all Dec 13 12:20:12 it is one thing i need to look at as everything is moving more for content providers nowadays Dec 13 12:21:29 hello Dec 13 12:21:56 does latest SDK supports C++? Dec 13 12:21:57 ohcibi keep in mind there might be different policies albeit only slightly, so probably good idea to find it Dec 13 12:22:00 So basically i'm an idiot for not just using a content provider with my db Dec 13 12:22:12 one of my co-workers and I have just decided that JakeWharton 's birthday needs to be celebrated as a religious holiday, does anyone know when it is? Dec 13 12:22:13 karab44: you don't want to use C++ Dec 13 12:22:13 no Dec 13 12:22:26 Ankhwatcher: It's always his birthday Dec 13 12:22:27 DarkSlay3r: hehe why? :) Dec 13 12:22:29 not at all Dec 13 12:22:30 Eeeeeee: i doubt that germany will have less strict privacy policies than usa Dec 13 12:22:34 content providers AFAIK is just another way to query a database Dec 13 12:22:37 When you use actionbar sherlock Dec 13 12:22:37 more strict Dec 13 12:22:44 in my example I have individual methods to get the data Dec 13 12:23:03 a content provider is just a better structured way of getting the same data from an sqlite database Dec 13 12:23:14 CallumTaylor: Apparently you need it to be able to share data with the system Dec 13 12:23:29 EU having that cookie policy and all, not sure if its the same but just saying IANAL you should probably find the appropriate text Dec 13 12:24:09 Does SDK natively supports c++ for now or do I need NDK addon? Dec 13 12:24:20 you will always need to use the NDK Dec 13 12:24:23 the SDK is java Dec 13 12:24:28 thanks mate Dec 13 12:24:31 On a more or less unrelated note is anyone using: https://github.com/derekbrameyer/android-betterpickers I need to make a date picker to take month and year and this one looks good. Dec 13 12:24:51 karab44: Don't use C++ because you like it better Dec 13 12:25:38 and content provider modifies data on different threads, so if data may update while being viewed it's better Dec 13 12:25:44 DarkSlay3r: this may be worth looking at http://mobile.tutsplus.com/tutorials/android/android-sdk_content-providers/ Dec 13 12:26:02 I've been following the Vogella tutorial Dec 13 12:26:13 That's why i'm confused to hell Dec 13 12:26:15 the one i'm looking at now: https://thenewcircle.com/s/post/1375/android_content_provider_tutorial Dec 13 12:26:24 yeah just saw that Dec 13 12:26:25 it is making a lot more sense than all the other tutorials Dec 13 12:26:37 lots of words, not enough pictures Dec 13 12:26:45 what... Dec 13 12:26:47 lol Dec 13 12:26:50 lol Dec 13 12:26:59 Does anyone here have recent familiarity with dpi changing? Not per app, but whole framework? Dec 13 12:29:13 DarkSlay3r: Java is awesome and I will use it whereever I can but where I can't I will use c++ Dec 13 12:29:35 karab44: developer.android.com/tools/sdk/ndk/index.html Dec 13 12:30:07 Read paragraph 2 Dec 13 12:30:34 btw i love tutsplus (and these authors are definitely legit) but for future reference they'll pay almost anyone for tutorials regardless of whether it's coded/explained well Dec 13 12:30:59 how to log out from google play? Dec 13 12:31:14 ... Dec 13 12:31:28 Um... click logout? Dec 13 12:31:42 click the x for this channel and ask somewhere else? Dec 13 12:32:05 DarkSlay3r: I read paraghraph 3 Dec 13 12:32:31 he said paragraph 2 Dec 13 12:32:31 i meant the account that is logged in in google play on a device.. I dont mean how to log out from their website Dec 13 12:32:47 karab44: They mean stuff like physx engines Dec 13 12:32:54 exactly Dec 13 12:33:03 only answering cause i did this recently and is hard to find out, go to accounts, google account, menu button, remove account Dec 13 12:33:04 Who wants to code buttons? Dec 13 12:33:05 Then awesome Dec 13 12:33:26 alt+f4 for awesome Dec 13 12:33:32 seriously Dec 13 12:33:46 Eeeeeee: on android 4.2.2 I only have "synchronize" here... I saw the remove option on a 2.3.4 device but not on a recent one Dec 13 12:34:56 going through all my fragments wrapping the root layout in a scrollview. Dec 13 12:34:57 ohcibi: Wipe google services framework Dec 13 12:35:15 hm no, I just had to click on the account one more time.. Dec 13 12:35:41 I thought I was already on the accounts view, but the title of that view lead me to another view were the delete option exists in the menu Dec 13 12:35:51 nice Dec 13 12:36:17 you've sufficiently wasted our time by not googling thanks for that Dec 13 12:36:31 Eeeeeee: i can fix that Dec 13 12:36:35 let me google it Dec 13 12:36:43 google: time machine Dec 13 12:37:12 i think this channels title should have "have you tried googling it first?" in it Dec 13 12:38:13 or i make a bot that google's new users (based on nickname) questions and based on the amount of search results found post the first link in channel Dec 13 12:41:42 Eeeeeee: calm down... it was you who wasted your own time by beeing pissed of about nothing... Dec 13 12:41:56 on a friday... 8-) Dec 13 12:42:35 Is anyone familiar with making dpi changes permanent? Dec 13 12:43:16 I only checked my 4.2 device and started typing a long message about how to solve it, but your right I should just ignore these questions all together Dec 13 12:44:18 friday the 13th even Dec 13 12:45:33 hm... how to actually disable the advertisingID from a device? i now removed the google play account but there is still an advertising ID... i'd like to test the use case were there is no advertising id Dec 13 12:46:38 #android Dec 13 12:47:38 ohcibi, test your app on emulator without google play services Dec 13 12:48:53 Mavrik: already done, boss wants to test the situation when the user is not logged in (according to the ad-id docs this could happen) Dec 13 12:49:32 ohcibi, there's like 3 error responses you can get from the request. Dec 13 12:49:51 that's it Dec 13 12:49:58 Mavrik: uhm, by "responses" you mean the exceptions? Dec 13 12:50:03 http://developer.android.com/reference/android/os/UserManager.html#isUserAGoat() Dec 13 12:50:08 this would help Dec 13 12:50:10 if you have to try that, use Genymotion and factory reset it Dec 13 12:50:34 or latest version, no google apps Dec 13 12:51:01 if thats what ad id is even based on, I wouldn't think so Dec 13 12:55:17 Doiii Dec 13 12:55:33 I need to grab the bytes from a bitmap to save them directly due to awesome Parse API Dec 13 12:55:52 I can do: final ByteBuffer buffer = ByteBuffer.allocate(bufferSize); Dec 13 12:56:17 but bufferSize is unknown; getAllocationByteCount() if for sux0rz (API 19 only) Dec 13 12:56:29 and getByteCount() returned a value too small Dec 13 12:56:45 i thought byte buffers grow? Dec 13 12:56:53 and the param is just the initial size Dec 13 12:56:57 java.lang.RuntimeException: Buffer not large enough for pixels Dec 13 12:57:03 :/ Dec 13 12:57:07 ikrr Dec 13 12:57:14 try counting the pixels? Dec 13 12:57:19 width * height * 4 Dec 13 12:57:36 at least i think it's 4 Dec 13 12:57:38 it may be 8 Dec 13 12:58:26 wait, does getByteCount return EACH PIXELS number of bytes? Dec 13 12:58:30 Returns the minimum number of bytes that can be used to store this bitmap's pixels. Dec 13 12:58:40 or is that for ALL those sexy pixels Dec 13 12:58:41 hmm Dec 13 12:58:43 not sure Dec 13 12:59:13 Well there is an easy way to test that Dec 13 13:01:18 shit son Dec 13 13:01:24 did it work? Dec 13 13:01:37 nope Dec 13 13:01:40 (╯°□°)╯︵ ┻━┻ Dec 13 13:01:44 final int bufferSize = scaled.getByteCount() * width * height; Dec 13 13:02:19 haha Dec 13 13:03:04 explodes, you want bitmap.getRowBytes() * bitmap.getHeight(); Dec 13 13:03:23 which is the number of bytes in the bitmap Dec 13 13:04:51 I see. Dec 13 13:05:08 Note that this refers to the pixels as stored natively by the bitmap Dec 13 13:05:16 (getRowBytes) Dec 13 13:05:59 Trying it now Dec 13 13:06:01 DOING IT LIVE Dec 13 13:06:04 that is what you want if you want to get the total number of bytes in the raw bitmap Dec 13 13:06:15 if you would prefer it compressed, use bitmap.compress Dec 13 13:06:28 The problem is that the bitmap is already compressed Dec 13 13:06:44 not if you're using a Bitmap object :) Dec 13 13:06:48 the pixel data will still be the same size Dec 13 13:06:52 0000oooo00000 Dec 13 13:07:36 so a 5kb JPEG and 15kb JPEG with the same width and height will be the same size in Bitmap terms Dec 13 13:07:49 provided you decode using the same format eg RGB_565 Dec 13 13:08:15 Gotcha Dec 13 13:08:17 ok cool Dec 13 13:14:31 Heya guys, quick question - I am trying to translate animate a rather simple view... it's a fragment with a gridview inside of it that shows images, nothing more to it Dec 13 13:14:36 but when it animates, god it's slow Dec 13 13:14:57 Anything I can do to actually improve animation speed on this? Dec 13 13:18:37 why is it going slow? Dec 13 13:18:40 any theories? Dec 13 13:22:58 Still getting that error about the buffer not being large enough. Dec 13 13:25:17 dubya tf m7 Dec 13 13:49:08 Hmm http://imgur.com/intb1Hh,N6NgHds Dec 13 13:49:15 The first image was saved with the iphone Dec 13 13:49:18 the 2nd with android Dec 13 13:49:41 the first was saved with quality 95 and looks far better than the android at 98 Dec 13 13:50:14 it is also 59KB vs 129KB Dec 13 13:50:28 Bitmap.compress(suck=true, quality=95) Dec 13 13:51:48 Do Android support ogg? Dec 13 13:53:32 Kake_Fisk not nativly I think Dec 13 13:53:41 oh :( Dec 13 13:53:42 yes, absolutely natively Dec 13 13:53:45 oh :p Dec 13 13:53:55 All versions even? Dec 13 13:54:07 has *always* done so - and it certainly *was* recommended for things like game audio because it was lower latency/load Dec 13 13:54:33 That is very good to hear, thanks :) Dec 13 13:55:33 Kake_Fisk: for the record, http://developer.android.com/guide/appendix/media-formats.html Dec 13 13:55:44 oops Dec 13 13:55:49 Ouu, thanks Dec 13 13:55:59 I'm assuming you mean ogg vorbis, since you can technically put other stuff in an ogg container :) Dec 13 13:56:56 Yeah, I do think so Dec 13 13:59:41 What does this do in practice? synchronized (surfaceHolder) Dec 13 13:59:58 Does it make sure the current drawing loop is finished before doing changes? Dec 13 14:05:20 https://www.eff.org/deeplinks/2013/12/google-removes-vital-privacy-features-android-shortly-after-adding-them Dec 13 14:05:49 Eeeeeee: ho hum Dec 13 14:06:05 Eeeeeee: ... IIRC, AppOps was never "released" properly at all Dec 13 14:06:18 that is, you had to do tricks in order to find it all Dec 13 14:06:48 i swear you guys work for google Dec 13 14:06:49 Google told us that the feature had only ever been released by accident that it was experimental, and that it could break some of the apps policed by it. We are suspicious of this explanation, and do not think that it in any way justifies removing the feature rather than improving it Dec 13 14:07:06 Eeeeeee: my opinion is that the feature was *never* released Dec 13 14:07:31 p_l: I concur Dec 13 14:07:34 it's akin to finding a binary that was mistakenly unstripped of debug symbols and claiming it to be a feature Dec 13 14:08:01 given that there was no way for apps to react to being blocked, it was obviously unfinished or internal Dec 13 14:08:19 Eeeeeee: also, such functionality is available in multiple alternative ROMs Dec 13 14:08:49 i'm just posting a link. lets not make it a big deal or anything Dec 13 14:09:08 it's eff that makes a big deal out of it Dec 13 14:10:03 you don't think the explanation is suspicious? Dec 13 14:11:17 Eeeeeee: it was never exposed, or announced, in any public way Dec 13 14:12:11 yeah, it would be some kind of a deal if it actually were a user-facing feature at any point in time Dec 13 14:12:39 Sombody used the picasso lib before? Dec 13 14:12:55 FrancescoV: I have Dec 13 14:13:08 the EFF can want it as much as they like... they could sponsor the development of a public version for open source Android builds... but that doesn't mean Google has withdrawn privacy features Dec 13 14:14:22 jaynewstrom: If the image can't be loaded (url doesn't exist, image not available), you can set an error image resource. But can you do another path if there is an error? (onError listener or something else) Dec 13 14:14:30 let me guess this feature allowed you to limit google apps as well? Dec 13 14:14:45 Eeeeeee: any app, probably Dec 13 14:14:55 Eeeeeee: the thing is, it was *never* released Dec 13 14:14:56 so now we're getting around to the real reasons Dec 13 14:15:04 just checking Dec 13 14:15:30 Eeeeeee: if it was released, it would have shown in menu, in system preferences, *somewhere* Dec 13 14:15:32 FrancescoV: yes Dec 13 14:15:53 hmm google definitely needs to make that offical. Dec 13 14:16:06 Picasso.Builder builder = new Picasso.Builder(context); builder.listener Dec 13 14:16:14 so no way to indivually control permissions? Dec 13 14:16:49 XXCoder1: nothing in AOSP itself Dec 13 14:16:54 i honestly think if you install an app you should live with the permissions it requested in the first place.. but google apps come preinstalled Dec 13 14:17:33 Eeeeeee: problem comes in when something is excellent app, bundled with bad ad system that constantly downloads Dec 13 14:17:43 hey, knows anybody a reference, where the graphical process chain is explained from activity to screen? i'm trying to figure out, what methods and objects are involved, if for example i call textview.setText(...) and how the system gets notified to redraw screen Dec 13 14:17:45 as an example Dec 13 14:17:47 Eeeeeee: what comes in preinstalled depends on vendor. Google devices are unique in actually offering a straightforward way of getting rid of any of them Dec 13 14:18:27 otoh, you can't remove HTC's spy daemon without complex process of getting rid of all checks ;) Dec 13 14:18:28 yeah thats what I like p. kill off (in least disable) built in crapware Dec 13 14:19:19 only way to truly stop that is to change privacy laws Dec 13 14:20:21 in case of Nexus: download AOSP, build for your device, fastboot oemunlock, fastboot flash new rom, device with nearly only what you wanted (radio fw is illegal to modify in many countries) Dec 13 14:21:45 yeah Dec 13 14:21:59 I wonder if samsung now uses some new spy system since old one was discovered Dec 13 14:24:16 does the android system itself phone home? Dec 13 14:24:39 in least for google sych yes Dec 13 14:24:42 otherwise dunno Dec 13 14:25:00 that requires user input Dec 13 14:26:15 AOSP itself? not Dec 13 14:26:42 anyone know how long the google GCM servers stores messages that cannot be sent b/c the recipient device is offline? Dec 13 14:26:46 p_l: do you know if anyone external has actually done a full audit of AOSP code? Dec 13 14:27:14 Leeds: nope. This can be asked about any amount of stuff, though :D Dec 13 14:27:19 the reason for ganking the feature is plain as day then, and i don't know why you guys are so quick to jump to defend Dec 13 14:27:34 alexfu: 4 weeks, AFAIK, with no TTL set Dec 13 14:27:43 Eeeeeee: it's not a fucking feature Dec 13 14:27:52 running the android sdk update manager and im trying to install the documentation for the android sdk api 19. it gets part way through the download then aborts Dec 13 14:27:54 every time Dec 13 14:27:55 i'm repeating terms used in the article Dec 13 14:28:01 Eeeeeee: it's not plain as day. it would first need to be actually a feature, not something you needed special tricks to access Dec 13 14:28:08 Eeeeeee: the article is misleading Dec 13 14:28:11 the article from an advocacy organisation Dec 13 14:28:22 Eeeeeee: imagine that. The authors can have their own agenda as well Dec 13 14:28:32 as well as who? Dec 13 14:28:33 you guys? Dec 13 14:28:45 Or, much more common, they might have been misinformed from their own sources Dec 13 14:28:52 as well as Google Dec 13 14:29:09 thank you Dec 13 14:29:14 Eeeeeee: there's *plenty* of shit things to blame Google for - this is not one of them Dec 13 14:29:16 which is what I suspect, because EFF in general isn't given to tabloid style Dec 13 14:30:06 wtf. actually it does not abort. it downlods, installs. completes and tells me i have one item left to install = the item i just installed Dec 13 14:30:40 oh its just google being stupid nvm, just quit out of the manager and come back in and now the manager sees it as installed Dec 13 14:31:56 How good is Head First Android as a book? Anyone tried it? Dec 13 14:32:07 hey i could give two fucks that google wants as much information as possible about everything, so would I. Let's call this what it is though, and not try to start questioning the source of the information.. which if it were anyone but eff I would too Dec 13 14:32:48 Eeeeeee: I trust Dianne Hackborn over EFF when it comes to technical matters - and I do not think she is one to toe the party line Dec 13 14:37:24 i have two machines, each with an android dev system installed and intellij idea. ive set up the project structure on both but when i select the the android sdk on one its reported as api level 19 but on the other its reported as android 4.4 platform. why are they being reported differently? Dec 13 14:37:32 Is it still possible to offer your app to process videos for say youtube like it was in 2.2 and 2.3 when you browsed to youtube and it offered a list of apps that can open youtube videos. Dec 13 14:37:58 How do you register your app to be offered to used every time they open youtube Dec 13 14:38:14 Intents Dec 13 14:38:29 hi, i have one service which should be accessed by multiple apps. i started with the bound service route but it seems i have to deploy the service class with every app. is that so? my ideas was to have a single app with the service and the other apps could use the service from the single app? how is it done the right way? Dec 13 14:38:50 p_l: I figured as much can you link me a resource Dec 13 14:38:54 with an example Dec 13 14:41:58 seems i can specify the interface for the service on the binder as the return value. is that the way to go? Dec 13 14:44:46 m1hael: I believe to use a service between multiple apps you have to define an AIDL interface Dec 13 14:44:54 m1hael: and include that in each app that talks to it Dec 13 14:45:11 m1hael: I've avoided having to do so, so while I use services fairly heavily, I haven't gone down that particular rabbit hole yet Dec 13 14:46:17 neredsenvy: google for creating intent filters for specific websites. Dec 13 14:46:37 I think it was "ACTION_BROWSE" or something like that with matching the URL Dec 13 14:48:15 dragorn: thanx for the reply. i think i try using an interface which is shared via a library. if that doesn't work i think i'll give AIDL a try. Dec 13 14:48:34 m1hael: I don't think you have an option, i'm 99% positive it has to be done via an aidl interface Dec 13 14:49:15 dragorn: oh. ok. thanx Dec 13 14:49:22 dragorn: =( Dec 13 14:49:47 m1hael: check the service example docs on the developer site tho Dec 13 14:50:09 dragorn: just doing that right now Dec 13 14:50:26 m1hael: i'm pretty sure it has to be aidl for multi-app use; might save you going down the wrong path if I'm right Dec 13 14:50:28 dragorn: android docu is quite good Dec 13 14:51:42 yeah it's not bad Dec 13 15:02:28 https://gist.github.com/anonymous/6ea3bcbb6af72947e9f5 This is my intent filter however when I boot my app nothing happens Dec 13 15:02:34 I mean when I visit Google.com Dec 13 15:02:37 or Google.si Dec 13 15:02:46 My app is not shown Dec 13 15:04:47 neredsenvy: you have wrong action and category Dec 13 15:05:22 action.MAIN and category.LAUNCHER is for launcher to display your app in app drawer Dec 13 15:06:04 p_l: Yes I want to keep that but I also want to respond to url like for example http://google.com Dec 13 15:06:59 you need to add a *new* tag, with Dec 13 15:10:58 https://gist.github.com/anonymous/1df38f04c78139312cfa I have it like this but freaking thing wont respond Dec 13 15:12:43 neredsenvy: are you trying to trigger it by typing the url in browser? Dec 13 15:13:08 if so, it won't work, because intent is not fired when doing that Dec 13 15:13:16 it is fired if you follow a link in web browser, iirc Dec 13 15:15:07 Ahh Dec 13 15:15:23 if i set my intent filter ie data to youtube.com Dec 13 15:15:34 will it respond if i click on youtube.com/grgirjgirjgirjgi Dec 13 15:15:36 link ? Dec 13 15:27:11 anyone used sugar orm? The docs make it seem fairly pleasant to deal with Dec 13 15:27:45 my "i don't want to do this" is fighting with my "don't trust fancy magic" opinions :P Dec 13 15:29:11 hey guys... I have a fragment who has a reference to a viewpager inside of my activity... now, I call the device gallery to pick an image, but when I return the app crashes on the fragment's onCreateView as the viewpager is null. Dec 13 15:29:37 How should I be handling this? The adapter that supplies the fragment in question does set the viewpager to the correct view Dec 13 15:30:10 I've already set the fragment's setRetainInstance to true Dec 13 15:36:55 I'm having issues with a ListView selector, state_selected is not being used? Dec 13 15:44:24 Guys, can be camera be streamed via FTP ? like streaming currecnt recording from camera, if not mandatory it dont need to be even saved as file, just directly sent . Someone ? Dec 13 15:45:51 You'd have to do it manually Dec 13 15:45:54 technically, yes, if the receiving server writes the files reliably, you could append to a file Dec 13 15:45:56 it is certainly possible Dec 13 15:46:21 some servers might be even coerced to write into a FIFO, I guess Dec 13 15:46:26 Although I wouldn't suggest just doing it through FTP, may run into connectivity issues Dec 13 15:47:28 anyone here use intellij idea community edition? Dec 13 15:47:33 Your best bet would be some sort of upload session token, cache the video on your device and then get a session token to start uploading. Make sure to allow the server to tell the device where you left off Dec 13 15:47:52 don't trust that a connection will be always on (even with wifi) Dec 13 15:47:54 why will it not use the AVD i already created? every time i try to run or debug my app it wants to create a new avd Dec 13 15:48:02 it wont use any avd IT did not create Dec 13 15:48:24 had same issue on eclipse Dec 13 15:51:06 how can i get IDEA to use the AVD i already have? Dec 13 15:52:55 I440r: click on the select box for the project and select edit configurations, select "show chooser dialog" there... Dec 13 15:53:17 Eeeeeee: now blame him for not having googled this 8-) Dec 13 15:54:19 So listview selectors are terrible? Dec 13 15:54:30 and don't really work? Dec 13 15:54:44 ohcibi, the select box for the project? dont know what/where that is Dec 13 15:55:15 I440r: left of the "play"-button Dec 13 15:55:17 his question directly involves development, your question was how i do this on android phone Dec 13 15:55:25 +do Dec 13 15:55:32 aha Dec 13 15:56:03 I440r: its also availble from the "run" menu Dec 13 15:56:25 anyone here familiar with idegen? I'm trying to get aosp in eclipse Dec 13 15:56:39 emulator: ERROR: Unable to load VM from snapshot. The snapshot has been saved for a different hardware configuration. Dec 13 15:56:41 grr Dec 13 15:56:49 so Dec 13 15:56:52 in this specific activity Dec 13 15:56:56 onbackpress isn't being called Dec 13 15:56:59 I440r: genymotion Dec 13 15:57:00 nor is onKeyDown with the back button Dec 13 15:57:07 the menu button triggers onKeyDown normally Dec 13 15:57:31 huh, intellij 13 doesn't seem to read classes from build output for code completion/syntax checking anymore (e.g. bin/classes) Dec 13 16:08:11 how can I wrap Fragments inside a ViewPager in a ScrollView programatically? (I really don't want to have to go through a bunch of fragments adding a scrollview as the root layout) Dec 13 16:12:23 Anyone know what font this is http://cl.ly/image/1Z3e2o413H1f? cc JakeWharton Dec 13 16:12:41 which app? Dec 13 16:12:49 Square Register Dec 13 16:13:22 I think it's the same that Evernote sues in their Chrome extension as well Dec 13 16:13:25 *uses Dec 13 16:14:11 isn't there a site that lets you send snippets and returns the font? Dec 13 16:14:23 what the font Dec 13 16:14:46 ....yeah we are trying to figure it out Dec 13 16:16:12 judging from their website, it's their own font Dec 13 16:16:15 DarkSlay3r: the site you're talking about is "what the font" Dec 13 16:16:16 https://squareup.com/jp/public-fonts/sqmarket/sqmarket-light.eot Dec 13 16:16:24 that's one i pulled from their css Dec 13 16:16:40 dragorn: i was joking Dec 13 16:16:51 DarkSlay3r: ah hah :P Dec 13 16:19:15 CallumTaylor: awesome, thanks! Dec 13 16:24:36 how do i find the correct current version of play-service in my gradle build in this line? Dec 13 16:24:37 compile 'com.google.android.gms:play-services:4.0.30' Dec 13 16:35:40 f2prateek: our own Dec 13 16:41:44 anybody know where the ART source is? Dec 13 16:42:21 hm; https://android.googlesource.com/platform/art/ Dec 13 16:50:17 my phone is running 2.3.4 but the update manager does not seem to offer 2.3.4 as an api option Dec 13 16:50:20 wth? Dec 13 16:50:34 i can install 2.3.3 but not 2.3.4 what gives? Dec 13 16:50:44 was 2.3.4 an API bump? Dec 13 16:50:59 just because it's a new version doesn't mean new APIs were introduced Dec 13 16:51:07 oh Dec 13 16:51:15 well 2.3.3 is fine, was just confused.. Dec 13 16:51:16 2.3.3-2.3.7 were all API 10 Dec 13 16:51:21 aha Dec 13 16:54:41 dragorn: you were right. AIDL is the way.# Dec 13 16:57:32 android:alpha="200" <--- switched back to api lvl that my phone supports and now this is unrecognized Dec 13 16:59:13 ive not edited the sources at all, i just changed config to see if it would compile for android 4.x. switched back to an api my phone supports and BAM no longer compiles Dec 13 16:59:58 no resource identifier found for attribute 'alpha' in package 'android' Dec 13 17:04:33 it gets worse. if i delete that line i get "Unable to execute DX" plus 21 other errors Dec 13 17:04:37 wth? Dec 13 17:11:31 can someone tell me why i have no resource for android:alpha any more? Dec 13 17:13:03 api level? Dec 13 17:13:25 alpha is like 11+ or something, neh? Dec 13 17:15:08 how can i have been previously using api level 11 in an apk thats already running on a device that runs api level 10 only Dec 13 17:15:28 if you dont make any api11-calls Dec 13 17:15:45 if im refering to an api level 11 property thats not the same ? Dec 13 17:18:36 im not getting it. how can an APK i already have installed on my phone that RUNS no longer be buildable because the API level of my phone is 10 and my sources require at least 11? Dec 13 17:19:05 the api level you compile against is the feature sets you get. If you then define a lower level API as the minimum level, you must make sure you don't call API features which don't exist in the lower API Dec 13 17:19:42 or you must use a support library to provide them; in other words if you want to target down to 2.3 you'd set your compile api level to the latest, but then include the support v4 library and route all calls through it Dec 13 17:20:19 Hi, anyone know where I need to create the value for "@integer/google_play_services_version" in the Google play API? Currently just hardcoding a value of 4030500 (as recommended by some people) but I want to just create the integer until Google fix the lib Dec 13 17:20:20 Only the manifest minimum api level defines what devices you can install and try to run on. After that it's your problem to not do something that api rev can't do Dec 13 17:20:41 dragorn i did not add any special libraries to my project before. NOW i cannot get android:alpha to be recognized Dec 13 17:20:49 when i build i mean Dec 13 17:20:56 I440r: I have no idea what android:alpha is offhand Dec 13 17:21:05 Or what you're compiling under Dec 13 17:21:35 because i have set the api level 10 (same as my phone) and alpha is an api lvl 11 thingie Dec 13 17:21:44 alpha is a property in my layout Dec 13 17:22:44 I440r: if you want ot use that attribute then you can't use api level 10, then Dec 13 17:23:08 ok. so how can my phone use that attribute? Dec 13 17:23:16 it can't - it probably just ignores it Dec 13 17:23:27 because it does in the apk thats already installed on it and no it does not ignore that attribute Dec 13 17:23:41 then that attribute isn't api level 11 only. Or your phone isn't api level 10. Dec 13 17:24:05 my phone is running 2.3.4 Dec 13 17:27:14 these sources used to build and run on my phone just fine. i just reinstalled the android sdk and java 1.6 and intellij idea. now the sources wont build because android:alpha is an unknown Dec 13 17:27:21 Your only options are use api 11, or don't set alpha on api 10. Dec 13 17:27:46 If you HAVE to support old devices you can make a separate layout file for that api level that doesn't use alpha Dec 13 17:28:03 I don't see any way it could have worked, so I suspect it wasn't doing what you think it was doing Dec 13 17:31:06 building against android 4.x results in an apk file that my phone cannot parse Dec 13 17:35:16 why am i getting "unable to execute DX" when i change to the apis for 3.2.x ? Dec 13 17:35:27 this is totally screwed up Dec 13 17:39:37 ive set my min api to 11. ive set my sdk to 2.3.3. i build Dec 13 17:39:41 i get unable to execute DX Dec 13 17:40:12 WHY is it unable to execute DX and what is DX? Dec 13 17:44:27 Curious about your experience, how long has it generally taken for an app that you uploaded to the Play store to be searchable? Dec 13 17:53:05 yo peeps, whats up Dec 13 17:53:55 how to I provision a Samsung S4 phone for development? Dec 13 17:54:12 buy one Dec 13 17:54:19 lol Dec 13 17:54:54 how to provision an ANdroid 4.0 phone for development? Dec 13 17:55:19 somehting about clicking something 7 times??? Dec 13 17:56:10 speaking of buying phone, is 64GB HTC one used is worth 400$ Dec 13 17:58:00 deleted my project files, cleard out everything related to the project other than its sources from the tree. created a new project on that tree Dec 13 17:58:03 go to build and Dec 13 17:58:22 cannot find symbol: class R Dec 13 18:00:09 Does intellij 13 CE perform better than android studio? Dec 13 18:01:19 IrishGringo: settings -> about phone -> touch build number (should be the bottom item) 7 times Dec 13 18:01:30 no idea if that's what you do for an S4, though. Dec 13 18:01:40 has anyone here sucessfully loaded AOSP in eclipse? Dec 13 18:04:40 Hey Guys got a question for SimpleDateFormatt Dec 13 18:09:04 you don't load aosp in eclipse Dec 13 18:10:29 I have 10 new entry in my listview added dynamically from an edittext with a todays date 12-13-2013 i cant figure out why tomorrow all the dates will read 12-14-2013 i want each entry to keep the date it was entered on and not changes any ideas? Dec 13 18:10:43 <|0xD34D|> BrutusBoots: idegen generates .classpath also Dec 13 18:11:21 here is my code http://pastebin.com/ku48gPNg Dec 13 18:13:36 next question.... how to get an unprovisioned phone to get Lat/long? I am on wifi... Dec 13 18:16:01 GPS does not in general rely on phone. Dec 13 18:16:05 It may be faster. Dec 13 18:16:21 Go outside, and leave the phone in maps for 12.5 minutes with a good view of the sky. Dec 13 18:16:30 See if it picks it up. If not, there is an issue. Dec 13 18:16:57 i think it has something to do with WiFi... or a network setting Dec 13 18:17:23 i need help. my project is totally screwed up. ive tried everyting including deleting my project files and recreating them, uninstalling google API's and reinstalling them, nothing works Dec 13 18:17:28 im getting Unable to execute DX Dec 13 18:17:42 and googling this error doesnt give me any help that i understand Dec 13 18:19:07 update adt Dec 13 18:19:09 update your sdk Dec 13 18:19:14 particularly build-tools Dec 13 18:19:17 problem solved Dec 13 18:19:20 nope Dec 13 18:19:25 problem NOT solved Dec 13 18:19:35 yes, problem solved Dec 13 18:19:38 but if you insist it isn't Dec 13 18:19:42 well, have fun not working Dec 13 18:19:50 i uninstalled the android sdk manager. i uninstalled ALL API"S Dec 13 18:19:52 i reinstalled Dec 13 18:19:53 same error Dec 13 18:19:59 you uninstalled apis Dec 13 18:20:02 you say nothing of build tools Dec 13 18:20:02 problem ****N****O****T**** doilved Dec 13 18:20:04 nor updating adt Dec 13 18:20:07 solved Dec 13 18:20:11 but at this point, since you can't follow directions Dec 13 18:20:16 you can't really be expected to write code Dec 13 18:20:19 so, now I'm gonna ignore you Dec 13 18:20:20 /voteban I440r Dec 13 18:20:41 michalrus, you figure out that you need to use javacOptions for -Xlint:deprecation yet? Dec 13 18:21:08 pfn, yes! I've not checked it yet, but you surely are right. Dec 13 18:21:38 pfn, thank you. <3 Dec 13 18:22:07 pfn, I was going to thank you after I get back to this android project. Dec 13 18:28:28 any ideas out there??? http://stackoverflow.com/questions/20573286/android-simpledateformat-date-changes-on-new-day/20573364?noredirect=1#20573364 Dec 13 18:28:42 yes im using shared Prefs Dec 13 18:35:25 laughter increases productivity http://i.imgur.com/6mfXaBL.jpg Dec 13 18:38:13 Can we determine the ringing state of an outgoing call? Dec 13 18:44:32 How do I uncheck the "always use this device" for the "Select Android Device" screen? Dec 13 18:47:20 uninstalled all packages installed in the sdk update manager. reinstalled ONLY the tools and the 3.2 api. i still get "Unable to execute DX" Dec 13 18:47:33 therefore as stated before this does NOT fix the issue Dec 13 18:48:25 hey all ... quick question. in logcat, I see " -" ... is the first number the pid and the second the tie? Dec 13 18:48:34 tid* Dec 13 18:50:56 Error: Android Dex: [project] Unable to execute DX Dec 13 18:50:59 I440r: did you clear the user based directories it creates to store your settings ? Dec 13 18:51:27 yes Dec 13 18:51:33 i removed ~/.android Dec 13 18:54:55 is there supposed to be an executable called DX on my system? Dec 13 18:55:00 yes Dec 13 18:55:02 in build-tools Dec 13 18:55:06 there is no such file. executable or otherwise Dec 13 18:55:09 i have those installed Dec 13 18:55:14 but since you choose to ignore Dec 13 18:55:15 no file called DX anywhere Dec 13 18:55:19 then that's your fault it's not working Dec 13 18:55:28 i have the freeking build tools installed Dec 13 18:55:30 yes, it's there android-sdk/build-tools/x.x.x/dx.bat Dec 13 18:55:33 but since you are always right Dec 13 18:55:37 yes, I am always right Dec 13 18:56:01 17.0.0 18.0.1 18.1.0 18.1.1 19.0.0 Dec 13 18:56:02 and dx for linux Dec 13 18:56:05 i have ALL those installed Dec 13 18:56:06 19.0.0/dx* Dec 13 18:56:09 it's there Dec 13 18:56:15 then why is it trying to execute something called DX Dec 13 18:56:20 that wont work if its called dx Dec 13 18:56:27 it just says DX Dec 13 18:56:47 well the file dx exists in all installed versions of the tools Dec 13 18:56:53 why is it unable to execute DX Dec 13 18:56:59 then run dx manually and see what happens Dec 13 18:57:05 gradle spits out the commandline it uses Dec 13 18:57:23 just says error, no command specified Dec 13 18:57:26 dx runs fine Dec 13 18:57:28 run it with verbose Dec 13 18:57:41 dont think im using gradle Dec 13 18:58:03 run it with gradle first, then, or update android studio to the newest version Dec 13 18:58:24 i dont have android studio. i have intellij community edition Dec 13 18:58:25 v 13 Dec 13 18:58:44 I440r: did you delete a directory called .AndroidStudioPreview ? Dec 13 18:58:54 dont have that directory Dec 13 18:58:57 that is also a user settings dir for android studio Dec 13 18:58:59 i have never installed the android studio Dec 13 18:59:11 set the path to the android sdk properly in android studio? Dec 13 18:59:11 i dont use android studio or eclipse Dec 13 18:59:13 oh, its IntelliJ ? Dec 13 18:59:14 er, intellij Dec 13 18:59:30 ill switch to android studio when its been finalized Dec 13 18:59:40 any tips on getting okhttp with gradle? Dec 13 19:00:48 storkme, add the maven dep, of course Dec 13 19:00:50 trivial... Dec 13 19:01:00 com.squareup.okhttp:okhttp:1.2.1 Dec 13 19:01:01 That's all : compile 'com.squareup.okhttp:okhttp:1.2.1' Dec 13 19:02:06 neat. Dec 13 19:02:18 thanks Dec 13 19:04:24 could it be related to the "OpenJDK 6 is not supported. Please use Oracle Java or newer OpenJDK" message i get when i launch IntellIJ? Dec 13 19:08:19 So I've heard oauth 2 is not really that great (more complicated and less secure), so would it be more wise to use oauth 1.0a? Dec 13 19:08:58 or if we are using ssl connections exclusively does it matter? Dec 13 19:10:24 oauth is for authentication (e.g. 'am i who i say i am'), ssl connections are for transport layer encryption (e.g. stop the average joe from snooping on our data) Dec 13 19:10:28 apples, oranges Dec 13 19:10:34 I understand that Dec 13 19:10:53 sorry I misunderstood Dec 13 19:11:12 I didn't word the question all that well either Dec 13 19:11:14 think I jumped the gun a little, there. Dec 13 19:11:28 but I think I've figured it out Dec 13 19:11:42 I don't know all that much about Oauth, but 2 is a higher number than 1.0, that's gotta count for something. Dec 13 19:11:45 no tht error was not it. "eselect java-vm system" fixed that IDEA error message. that did not fix the unable to execute DX problem Dec 13 19:12:19 there has been a lot of talk how oauth 2 is less secure than 1, they tried to change too much and politics sort of got in the way of it Dec 13 19:13:30 i vaguely remember that Dec 13 19:13:48 i could be more insecure only because its more difficult to get right Dec 13 19:13:51 *it Dec 13 19:14:05 i remember that one fella walking out of the working group Dec 13 19:14:26 yeah Dec 13 19:15:23 does the build tools that are being used depend on the API level selected? Dec 13 19:15:37 or will it always use the highest build tools version? Dec 13 19:18:43 I440r: You only usually have 1 set of build tools. They have nothing to do with API level as far as I know Dec 13 19:21:41 i uninstalled all but 19 and that didnt fix the problem Dec 13 19:25:17 i440r did you resolve the "OpenJDK 6 is not supported. Please use Oracle Java or newer OpenJDK" problem? Dec 13 19:25:49 yes. i ran eselect java-vm set system 3 (i.e. sun-java 1.6) Dec 13 19:26:04 it ws set to idedtea-bin crap Dec 13 19:26:24 which i would LOVE to purge from my system but then i wluldnt be able to run the android update manager Dec 13 19:27:16 why am i not able to execute DX ? Dec 13 19:27:23 :/ Dec 13 19:27:59 if i build against api level 19 i dont get that error Dec 13 19:28:03 problem is thats USELESS to me Dec 13 19:28:24 i have an api lvl 10 phone im using to develop this Dec 13 19:28:47 building against api lvl 19 results in an apk that wont even PARSE on my phone Dec 13 19:29:20 install oracle java 7 sdk Dec 13 19:29:41 I440r: you using ant ? ? Dec 13 19:29:52 no thanks. im not fighting with the android tools to get them to work with java 7 Dec 13 19:29:59 il use sun-jdk not oracle-jdk Dec 13 19:30:03 ... Dec 13 19:30:06 Looney not sure Dec 13 19:30:09 k good luck with your problem then Dec 13 19:30:13 ok Dec 13 19:30:31 why would you have to fight with them to get them to work Dec 13 19:30:40 you said earlier error about out of date java Dec 13 19:30:42 if you are then I fixed the DX crappy error with help of good SO folks :-) Dec 13 19:30:43 Eeeeeee, google does not support java 7. just because you can smash that square pet into yur round hole does NOT mean i shuld do so too Dec 13 19:30:50 you said just now you're using out of date java Dec 13 19:30:51 solution is trivial Dec 13 19:31:06 they support it Dec 13 19:31:13 change your targetSdkVersion to 19 or perhaps anything 16+ Dec 13 19:31:27 not fully, but it's supported Dec 13 19:31:33 Looney and how am i suppsed to run the resultant apk on my phone? Dec 13 19:31:44 just try it, you seemed to have tried everything else Dec 13 19:32:05 well, you will have a minSdkVersion supporting your phone ;-) Dec 13 19:32:07 so install 4.4 api? Dec 13 19:32:19 Looney i have that specified in my manifest yes Dec 13 19:32:35 hang on i have to go jump ,muy car lol Dec 13 19:32:53 I am using API 17 Dec 13 19:32:59 its working fine Dec 13 19:33:13 with my ver 19 build tools Dec 13 19:33:36 when i get back ill install 4.4 and try Dec 13 19:34:49 Anyone know how I can throttle the network connection with genymotion? Dec 13 19:35:02 Hey guys, I'm having a problem with my listView array adapter. I first do a check in getView to see if the view is null, and then I have another check if its not null. It seems like it's getting cached somewhere though, because some parts of the adapter are failing. Dec 13 19:35:05 Any ideaS? Dec 13 19:35:07 ok, what else do you have installed Dec 13 19:36:39 eghdk: erm, are you using a viewholder? Dec 13 19:37:43 'getting cached somewhere' ? Dec 13 19:37:51 I want to fix height of my edittext to one line only Dec 13 19:38:00 for aesthetis purposes Dec 13 19:38:07 singleLine=true Dec 13 19:38:10 what option do I have Dec 13 19:38:12 ok Dec 13 19:38:17 great storkme Dec 13 19:38:39 I hate to be 'that guy' but if you had googled for like "android edittext single line" that probably would have been the first result Dec 13 19:39:01 ok :-( Dec 13 19:39:10 just sayin' Dec 13 19:39:36 you have all the right to say so as you answered faster than Google :-P Dec 13 19:39:50 :p Dec 13 19:40:49 didn't work out but I had wrap_content in width option :-( Dec 13 19:42:55 I liked Eclipse better :| Dec 13 19:43:11 that might be stockholm syndrome talking Dec 13 19:43:27 me? Dec 13 19:44:02 i want to know the psychology behind people knowing they can Google it, but asking anyway. Is it the need to get an answer from a live person or what? Dec 13 19:44:22 I still prefer eclipse over android studio, but android studio's layout editor seems a lot nicer Dec 13 19:44:57 android studio seems very hefty (eclipse is no lightweight either, but AS still feels more bloated) Dec 13 19:46:24 wow first person ive heard say that Dec 13 19:46:26 Maybe they spent hours or days goggling it and havent found the answer... just maybe Dec 13 19:46:51 you could get an answer posted by the author of a popular book in the industry, or.... some anonymous person on irc Dec 13 19:47:46 the people i'm talking about are the ones where you google their exact question as asked, and the first link gives you the answer Dec 13 19:47:48 ok, I still have two line edittext due to my hint url Dec 13 19:48:16 AS bloated with what? Dec 13 19:48:54 so, trying 20 dp Dec 13 19:49:47 bloated with what jonc Dec 13 19:50:54 ok, so using 45dp as height did the trick for <3 Dec 13 19:51:55 I'm trying to increase the total space available on my 4.4 emulator (I keep getting INSTALL_FAILED_INSUFFICIENT_STORAGE when I try to install my app), but nothing I try increases the total space beyond 197MB Dec 13 19:52:05 I've added -partition-size 1024 as a launch argument to the emulator, but it does nothing Dec 13 19:52:34 same for adding disk.dataPartition.size=1024MB to the avd ini Dec 13 19:52:35 jonc intellij idea is about 500 billion lightyears ahead of eclipse, it might not be lightweight but its NOT a monster, eclipse is a $*^$&*! monster Dec 13 19:52:55 any suggestions for actually increasing the amount of total space on my 4.4 emulator? Dec 13 19:53:21 See I haven't had many issues with stability / memory with eclipse, but I constantly have lockups and weird issues with android studio Dec 13 19:53:41 jonc: try IntelliJ itself instead. Stable as a rock Dec 13 19:55:21 wonder if using haxm makes any difference Dec 13 19:56:01 jonc, Me too. I had to force-close it twice. It's not stable so it's expected though. Dec 13 19:56:16 I'm thinking of using intellij with the plugin Dec 13 19:56:23 on windows? Dec 13 19:56:41 Yes Dec 13 19:56:56 i've had crashes but nothing that would make me switch Dec 13 19:57:01 on linux though Dec 13 19:57:07 blargh. working with IAP is almost as bad as not getting paid ... onActivityResult is being called before the purchase is made, and the intent is null. Dec 13 19:58:32 It works well for android dev, the layout editor alone is worth it Dec 13 19:58:42 but for straight java I'll stick with eclipse Dec 13 20:02:09 hwrd|work: What do you mean viewHolder? Dec 13 20:02:39 it's weird, everything I read says to add a "-partition-size" argument to the emulator with a large value like 1024, but it just ignores it without printing out any error Dec 13 20:03:21 eghdk: This: https://www.google.com/search?q=the+world+of+listview Dec 13 20:03:23 no matter what I try, the size of /data is always 197MB Dec 13 20:03:31 when building against api level 19 i no longer get the error i was getting before Dec 13 20:03:39 but the resultant apk will not install on my phone Dec 13 20:03:44 problem parsing apk file Dec 13 20:03:52 so api level 19 is totally useless to me Dec 13 20:05:35 ok maybe not. Dec 13 20:05:46 just changed the min api lvl in my manifset to 10 Dec 13 20:05:49 now it compiles and installs Dec 13 20:06:02 erm nope Dec 13 20:06:18 i select install. it starts to install. then i get "Application not installed" Dec 13 20:09:21 well uninstall the old one, install the new one. installed fine. runs fine but the dispay is all messed up Dec 13 20:09:24 blargh Dec 13 20:09:47 think this is my problem now but not sure Dec 13 20:11:00 well, the 4.4 emulator image is definitely buggy Dec 13 20:11:19 it doesn't set the data partition larger than 200MB, no matter what settings you change Dec 13 20:11:28 i was not running on the eumlator, let me try that Dec 13 20:11:46 and I've noticed some really weird redraw glitches Dec 13 20:11:53 esp. with scroll views Dec 13 20:12:04 just suddenly stops drawing view changes Dec 13 20:14:09 ok i CANT run the emu Dec 13 20:14:25 i say "Debug" and it just pops up an "Edit configuration" window Dec 13 20:14:45 with 438659862598642597236485624 things under it that i know nothing about Dec 13 20:24:38 ok with my game, when running it in an AVD it works fine Dec 13 20:24:51 but when i run it on my physical hardware the display is messed up Dec 13 20:29:16 To be honest, if you have a physical device, it's better to always use that instead of an emulator, unless you really need to check in a specific resolution. Dec 13 20:29:38 the app wont run on my device. not correctly Dec 13 20:29:55 Something is wrong with the app then :) Dec 13 20:30:04 no shit :P Dec 13 20:30:16 its built against an api the phone wont support Dec 13 20:30:22 it wont build against any other api Dec 13 20:30:32 Yeah, that would be a problem Dec 13 20:31:09 Unless you need some feature in a later API, just match whatever your phone has? Dec 13 20:31:20 it SHOULD build agasint api 10 Dec 13 20:31:26 but that gives me unable to execute DX Dec 13 20:31:34 it wont build Dec 13 20:31:58 You using Eclipse (the Google bundle?) Dec 13 20:32:05 no Dec 13 20:32:25 i wouldnt use eclipse if both george soros and bill gates offered me their entire personal fortunes Dec 13 20:32:26 Just install that - it's a doddle, and works out of the box Dec 13 20:32:43 not in a million years will i EVER install eclipse on this system Dec 13 20:33:01 I've been using Eclipse for years - works fine for me. Odd glitch, but nothing major Dec 13 20:33:02 the problem isnt my ide Dec 13 20:33:08 oh? Dec 13 20:33:13 try turning off folding Dec 13 20:33:16 GLOBALLY Dec 13 20:33:20 for all file types Dec 13 20:33:21 you cant Dec 13 20:33:32 you can only turn off folding for a SPEFIFIC FILE Dec 13 20:33:39 Do you want help, or do you just want to rant? Dec 13 20:33:39 and if you close it and reopen it... folding is back Dec 13 20:33:52 eclipse is not helo Dec 13 20:33:54 help Dec 13 20:34:00 * helo ! Dec 13 20:34:05 Fair enough, good luck Dec 13 20:34:07 i use IDEA 13 community edition Dec 13 20:37:03 i need this to build against api level 10 Dec 13 20:37:19 this whole "unable to execute DX" thing is BULLSHIT Dec 13 20:37:27 g00s, if you like actors then akka is great Dec 13 20:37:47 in Android, actors don't really have a place, imo Dec 13 20:45:00 Android Dex: [retrorpg] java.nio.BufferOverflowException Dec 13 20:45:13 i also get that error plus 4756284652 more after the unable to execute dx thing Dec 13 20:46:35 try build tools 18 Dec 13 20:47:29 sounds like an intellij bug Dec 13 20:47:38 it may be Dec 13 20:47:46 or you don't have api10 installed Dec 13 20:47:48 except it just built with tools 18 Dec 13 20:47:50 ! Dec 13 20:47:57 i do Dec 13 20:48:04 its a build tools 19 problem Dec 13 20:48:19 build tools 19 wont build an api lvl 10 app Dec 13 20:48:21 or something Dec 13 20:49:06 i must built against api lvl 10 Dec 13 20:49:07 just fine Dec 13 20:49:18 then use 18 Dec 13 20:49:37 well. i deleted the line in my layout that referenced android:alpha and then it built just fine Dec 13 20:49:44 let me run it on my phone first, see if it works there now Dec 13 20:52:19 heh no it still looks messed up. that might be MY bug tho Dec 13 20:52:30 hrm let me try on a different avd and see if it gets the same problem Dec 13 20:53:23 ty for suggesting using 18 btw Dec 13 20:53:29 i consider that THE fix Dec 13 20:54:48 app runs fine in a 4.4 avd still even built against api lvl 10 (which one would expect). creating a new avd.. .. Dec 13 20:56:11 ok, thanks pfn (akka) Dec 13 21:03:20 grumble, android studio. Dec 13 21:03:46 every time i try and do anything like build or run it tells me: Access is allowed from event dispatch thread only. Dec 13 21:04:10 is there an IDEA support channel on this network? Dec 13 21:05:06 freeking stupid IDE wont let me change the size of the font Dec 13 21:05:10 oh shit App Ops was totally removed in 4.4.2 ? Dec 13 21:05:24 whats app ops? Dec 13 21:05:41 .... <-- my source code looks like this. FREEKING unreadable Dec 13 21:05:42 https://www.eff.org/deeplinks/2013/12/google-removes-vital-privacy-features-android-shortly-after-adding-them Dec 13 21:06:03 micro miniature font size and editing font properties is grayed out Dec 13 21:06:29 storkme never saw that one before O.O Dec 13 21:07:27 that pisses me off (App Opps) Dec 13 21:07:29 ugh and mouse wheel zoom does not work in IDEA either Dec 13 21:07:41 what are app opps? Dec 13 21:07:42 I440r christ, you still trying to install your ide ? Dec 13 21:07:48 no its installed Dec 13 21:08:04 it just doesnt allow me to select any fonts other than the one IT has chosen Dec 13 21:08:09 I440r: mouse wheel zoom works for me (ctrl+mouse wheel) Dec 13 21:08:15 and i cant select the font size other than the one IT selected Dec 13 21:08:17 tried that Dec 13 21:08:27 JesusFreke, you using IDEA community 13? Dec 13 21:08:35 in linux Dec 13 21:08:39 currently, ultimate 12, in linux Dec 13 21:08:49 oh i cant afford ultimate Dec 13 21:08:58 I think I have ultimate 13 at home, but don't remember trying zooming specifically Dec 13 21:09:12 are you using darkula? Dec 13 21:09:21 i have that selected because blinding wall of white annoys me Dec 13 21:09:21 yes Dec 13 21:09:43 where do i get more themese? Dec 13 21:09:45 themes Dec 13 21:09:52 I'm sure google can tell you :) Dec 13 21:09:58 lol Dec 13 21:10:00 if you ask it nicely Dec 13 21:10:10 you might have been a faster answer if you knew Dec 13 21:10:16 btw i dont use google as a search engine Dec 13 21:10:21 i use startpage.com Dec 13 21:10:26 which will also know Dec 13 21:11:54 jetbrains only tells you how to select from between the TWO themes that are installed Dec 13 21:12:03 it doesnt tell you where to get MORE themes lol Dec 13 21:13:10 Does anyone know a good example of handling throttling on content observers? Dec 13 21:14:56 lasserix i guess you could look at the cursorloader code Dec 13 21:15:14 ahh this is not for use with cursorloader but good idea, thanks Dec 13 21:15:27 just checking the observer grep now :) Dec 13 21:18:47 i wonder if its in asynctaskloader instead Dec 13 21:19:00 they have some flag catching Dec 13 21:19:04 but it looks like the case Dec 13 21:19:13 reall what i would like to see is a monokai theme for IJ Dec 13 21:19:33 does not seem to be one. once you select a theme ALL settings for that theme such as font, font size are LOCKED Dec 13 21:19:49 they are hard coded into the theme and not settable once you have selected that theme Dec 13 21:19:51 freeking stupid Dec 13 21:20:23 I440r: I think you're supposed to make a copy of the theme Dec 13 21:20:32 in my case i am doing both reading and writing operations onNotifyChanged, just trying to coordinate it (original data set is single buffered for now). idea was to postDelayed (actual update) unless updateRequestCount > someNumber Dec 13 21:20:39 the installed themes aren't editable, but you can copy it and edit the copy Dec 13 21:21:43 ugh yea that worked. save the theme AS.. then edit the saved version of it Dec 13 21:21:46 blargh Dec 13 21:22:11 Makes sense to me Dec 13 21:22:13 * JesusFreke shrugs Dec 13 21:33:58 is there a better way to erase an array than to loop through x/y and set array[x][y] = 0 ? Dec 13 21:34:06 i.e. does android/java have a memset? Dec 13 21:34:23 Arrays.fill Dec 13 21:34:32 tho idk if that works for multidimensional arrays... Dec 13 21:35:06 ill rtfm that Dec 13 21:35:20 ++ Dec 13 21:35:41 it wouldn't work, you'd have to loop over it Dec 13 21:35:48 ok you have to fill each row separatly Dec 13 21:35:55 and it isn't really multi-dimensional... that's just an array of arrays Dec 13 21:35:57 slow... Dec 13 21:36:24 if you want fast multi-dimension, make an array[x * y] and index on array[x + y * width] Dec 13 21:36:44 java arrays ugh >_< Dec 13 21:36:51 lol Dec 13 21:37:03 and for that matter, bitmaps are all flat arrays mapped in such a manner Dec 13 21:37:27 its a 17 by 15 array. doing for(x = ....) for ( y= ....) { } and setting each element to 0 wont take that long Dec 13 21:37:48 and the erase operation only happens after each player movement Dec 13 21:40:37 I440r the wall of white theme is great in the morning to wake you up, its like light therapy :D Dec 13 21:41:09 hello good afternoon every1 :) i'm just trying to do something that should be simple but overlooking something I'm sure. I'm simply trying to backup my modem manually via adb... Dec 13 21:41:25 lol Dec 13 21:41:28 evil stab stab Dec 13 21:41:37 have my usual sd card in phone and tried dd if=/dev/block/mmcblk0p2 of=/sdcard/modem.bin bs=4096 from adb shell but comes back as "error device not found" Dec 13 21:41:41 any ideas ? Dec 13 21:41:57 then the device isn't there to dd :p Dec 13 21:42:02 find the right device, or permissions Dec 13 21:42:24 its odd i can go where the block in /dev manually Dec 13 21:42:30 and can go to sdcard Dec 13 21:42:51 so its there it just doesn't see it as there when command is ran Dec 13 21:42:58 i did under su too Dec 13 21:43:40 huh Dec 13 21:43:46 just because it's in /dev doesn't mean it exists Dec 13 21:43:56 ahh Dec 13 21:44:01 that might be my mistake then lol Dec 13 21:44:21 that command was for Galaxy S4 I337 mine is Galaxy S4 I337z Dec 13 21:44:25 so is android studio/gradle supposed to run android projects, or just build/install them? Dec 13 21:44:32 slightly diff model so i thought maybe same dev/block for modem but maybe not Dec 13 21:44:48 any idea how to find which dev/block is the modem for my version of Galaxy S4? Dec 13 21:44:52 build install Dec 13 21:44:54 why would it run Dec 13 21:45:06 isn't that kind of desirable? Dec 13 21:45:22 well, if you consider an emulator to be running it, then sure Dec 13 21:45:23 it runs Dec 13 21:47:03 I believe you can configure it to install and run on a connected device, not just the emulator. Dec 13 21:48:33 this whole thing fucking weirds me out. Think my AS install is broken, or something. Dec 13 21:49:30 install on all the devices ! Dec 13 21:50:33 is it not desirable to have a button that you can just hit and it'll build&install&run on connected devices? Dec 13 21:50:50 it does , doesn't it O.o Dec 13 21:51:35 oh, run configurations only has a radio box Dec 13 21:51:47 i thought gradle could do it, or will be able to do it Dec 13 21:52:01 maybe available as a gradle task to click on Dec 13 21:52:28 i have enough trouble keeping adb connected to ONE thing Dec 13 21:52:45 I might have been being an idiot, I selected my project from the dropdown instead of one of the gradle tasks, this seems to have done the trick.. Dec 13 21:55:18 if you just want to run it, you could script something that looks at adb devices Dec 13 21:55:30 and installs and runs it on everything Dec 13 22:00:38 how much harder is google going to push using my full name on youtube, ffs Dec 13 22:01:58 "We'll ask you later" i.e every damn time i try to use anything on youtube Dec 13 22:03:28 desmin88 simple solution: stop using youtube Dec 13 22:03:38 stop using all the google things Dec 13 22:03:42 oh shit :O Dec 13 22:03:57 lol Dec 13 22:04:12 well, i only use android and gmail atm Dec 13 22:04:39 google took youtube and kinda turned it into shit Dec 13 22:04:43 the only thing the web based gmail has going for it is the awesome spam filter ; otherwise it sucks Dec 13 22:05:17 but the android gmail is very nice ;) Dec 13 22:05:37 TGIF - cheers Dec 13 22:06:53 i wish more big android apps were open source so i can see how they do stuff Dec 13 22:07:45 desmin88 calendar, email, and iosched are good examples; but yeah a dying breed Dec 13 22:08:31 desmin88: You've got to admit it's drastically reduced the 12 year old trolls on YouTube comments. Most people just sign up with fake names now though (me included :) ) Dec 13 22:08:40 eh Dec 13 22:08:43 its just annoying Dec 13 22:08:48 if i dont want to use my name, shut up about it Dec 13 22:09:02 Smashcat i thought the 12 year old trolls contributed the best comments, i mean wasn't thay why people read them in the first place ? Dec 13 22:09:16 g00s: tbh the most hangups i get when making my app is organizational aspect and structuring Dec 13 22:09:22 did anyone ever take youtube comments seriously ? Dec 13 22:09:28 and w/o good open source apps to learn from i've been winging it Dec 13 22:09:51 g00s: Well for me the "your mum iz fat", "no you're mum is fat", "no your mum is fat" bullshit got old, real fast Dec 13 22:10:44 Smashcat: thats jus cuz ur mom is fat lol Dec 13 22:10:55 hehe Dec 13 22:10:57 g00s: The funny trolls are usually adults. Kids generally have a fucking pathetic sense of humour. Dec 13 22:11:33 your life will probably be better if you youtube.com -> 127.0.0.1 Dec 13 22:20:15 hello Dec 13 22:21:20 is it safe to store like username and password in Application-based class to be accessible from every activity? Dec 13 22:21:28 which reminds me, i better turn of auto showing images in web gmail Dec 13 22:22:57 too much porn. same issue here. Dec 13 22:25:21 o_O Dec 13 22:26:57 under: Usually better to store an access token after authenticating with login/password Dec 13 22:28:53 Smashcat, what do you mean? I have to interact with a web service Dec 13 22:30:15 under: Auth schemes like outh2 issue a token after a successful login. That token can then be shared to other apps/processes so they don't need to know the login/pass Dec 13 22:30:24 what is sequoyah about? Dec 13 22:32:26 Smashcat, ok, to do that, does the web service need to support the token or this is irrilevant? Dec 13 22:33:20 under: Yeah, it depends on the webservice - I would think any modern one would support it though. A lot of them use either oauth or something similar now Dec 13 22:33:45 (ie, Facebook, Twitter, Instagram etc) Dec 13 22:34:04 OAuth ftw Dec 13 22:34:13 Google uses OAuth too fwiw Dec 13 22:34:22 Ah yeah, of course :) Dec 13 22:34:22 I don't know if the webservice supports tokens Dec 13 22:35:23 The webservice I use doesn't even use HTTPS Dec 13 22:35:50 under: Heh, that's a bit worrying if you're sending login details across in plain text Dec 13 22:36:31 Yeah but I don't care, it's not my problem :) Dec 13 22:36:51 Haha, famous last words :) Dec 13 22:37:21 Right, better do some xmas shopping... Dec 13 22:37:25 later Dec 13 22:40:11 He didn't answer me :D Dec 13 22:45:24 Interesting. Dec 13 22:45:52 What? Dec 13 22:52:36 hey what tool for android for backing up modems and whatnot creates files like *MULTI_CERT.tar.md5 .etc ? Dec 13 22:53:01 #android-root for that Dec 13 22:56:31 thx Dec 13 23:18:02 any ideas why android audiotrack in genymotion acts different than in for example samsung galaxy s3 ? Dec 13 23:18:26 are there some compatibility issues? Dec 13 23:47:39 Hey I have a video streaming app whose encoding thread is bogged down by GC pauses caused by s3 uploading via aws-sdk. Are there ways to stop one thread's GC pauses from affecting the other thread? e.g: separate processes? Dec 13 23:47:57 no Dec 13 23:48:05 but you can trigger the GCs manually Dec 13 23:48:38 hmmm, thanks Dec 14 00:01:47 JakeWharton whats the story behind the name 'hugo' Dec 14 00:01:59 it uses aspect weaving Dec 14 00:02:04 hugo weaving Dec 14 00:02:07 hugo Dec 14 00:02:17 aspect weaving.. ill have to google that Dec 14 00:02:28 it's byte code rewriting Dec 14 00:02:33 using AspectJ Dec 14 00:03:10 ah Dec 14 01:48:49 is there a way to pragmatically answer the phone from an android app? Dec 14 01:49:07 ie phone is ringing and some condition in the app happens so the phone is answered Dec 14 01:53:34 Hello. I'm trying to build GCC for android, but I got an error upon make: configure: error: cannot compute suffix of object files: cannot compile. I can provide the config.log and/or the flags that were used. Also, I was not using the NDK if that matters. I'm new to the whole cross-compiling thing. Dec 14 01:54:19 aspectj -- people still use that? Dec 14 02:21:04 hello! how can i resolve the fact there is an error caused on the phone that dumps endlessly into logcat so that i can't read the logcat to find the (associated) error the phone error is causing my app? Dec 14 02:24:02 learn to grep? Dec 14 02:25:20 not everyone uses linux Dec 14 02:31:58 XXCoder, everyone with android does Dec 14 02:33:24 well yes but not if guys trying to do analysis on windows pc Dec 14 02:37:03 grep IS awesome though lol Dec 14 02:39:05 low and behold, http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/find.mspx Dec 14 02:45:40 apache zookeeper looks pretty cool Dec 14 02:46:29 "London Christmas tree powered by a Brussels sprout battery" well, finally somebody found a legit use for those awful things Dec 14 02:50:55 brussel sprouts are good. Dec 14 02:51:32 i dont even think wrapping them in bacon could redeem them Dec 14 02:55:05 ha! Dec 14 02:59:27 with butter and melted cheese mmmmmmmmm Dec 14 02:59:34 hm, genymotion crashed and now it won't start up again (blank screen) **** ENDING LOGGING AT Sat Dec 14 02:59:59 2013