**** BEGIN LOGGING AT Mon Dec 02 02:59:58 2013 Dec 02 03:08:24 To display a right orientated menu with actions (such as view, edit, delete, etc) when in horizontal layout on a tablet, would i use a ListView or a Menu and some how set the orination or a Fragment? Dec 02 03:09:21 orientation* Dec 02 03:55:00 Anyone here to help me on a simple login code? Dec 02 03:57:23 hello Dec 02 03:59:09 ankurk: what's the question? Dec 02 03:59:27 sross07: http://stackoverflow.com/questions/20318629/implementing-login-with-sqlite-in-android Dec 02 04:00:16 Why does gingerbread's marketshare continue to increase? Dec 02 04:00:31 Moreover tried with different code, here, http://pastebin.com/T24bX9Ty Dec 02 04:00:45 but whenever I click login, nothing happensn Dec 02 04:01:13 what's the error Dec 02 04:01:32 andre because nothing can catch gingerbread man ;) Dec 02 04:01:36 The one on SO, gives me so such table: TABLE_LOGIN Dec 02 04:01:48 and one on paste bin, gives nothing Dec 02 04:01:49 .... Dec 02 04:01:55 is that table in the database? Dec 02 04:01:57 AndrewYonadam: where are you getting that data? Dec 02 04:02:05 sqllite Dec 02 04:02:05 wonder if google's vulnerability reward program considers bypassing captcha a security flaw Dec 02 04:02:06 *AndreYonadam Dec 02 04:02:38 sross07: that's the thing, is there a way to check that? Dec 02 04:02:44 I have a doubt Dec 02 04:03:18 https://play.google.com/store/apps/details?id=com.xuecs.sqlitemanager&hl=en Dec 02 04:03:34 http://sourceforge.net/projects/asqlitemanager/ Dec 02 04:04:35 can you give me a second? Dec 02 04:04:52 moreover, is it possible to do a private chat? Dec 02 04:05:03 barbs: this is one source Dec 02 04:05:03 https://mixpanel.com/trends/#report/android_kitkat Dec 02 04:05:14 I found another source that also backs up that information Dec 02 04:06:34 sross07: looks database itself isn't there Dec 02 04:18:08 AndreYonadam: I might be reading it wrongly, but it looks like Gingerbread's market share is decreasing? Dec 02 04:19:00 barbs: ahh. No your reading it right I was reading it wrong. Dec 02 04:19:07 Confused GB for JB Dec 02 04:19:13 got worried for a second Dec 02 04:19:55 haha, me too! Dec 02 04:20:49 Do any of you guys know how to debug a system process, on AOSP, through android studio? Dec 02 04:30:25 Android Studio any good? Dec 02 04:32:13 I haven't used eclipse for android development, so I can't really compare Dec 02 04:32:23 But Android Studio feels pretty rough around the edges still Dec 02 04:32:51 I'm sure it'll get better though Dec 02 04:34:45 i like android studio Dec 02 04:34:57 but gradle has gave me a ton of bugs so far Dec 02 04:35:05 given rather Dec 02 04:36:20 after using eclipse for like 3+yrs, i finally got tired of all the BS after updating ADT and errors with eclipse, it forced me to try AS. I like so far, 0 crashes, where i was at a point with eclipse where it built up such a hate for me that it crashed every 5-10mins, then take 3mins to reload everything, just for it to crash again! eventually with latest ADT update i could use the Dec 02 04:36:20 properties manager :/ complete deal breaker Dec 02 04:36:23 maybe not bugs, but it seems all my problems with AS are caused by gradle needing some random fix that i have to google Dec 02 04:36:49 couldn't use properties manager* Dec 02 04:36:56 but honestly i think it's just cause I'm not familiar with gradle, and it's more of a convenience problem Dec 02 04:38:21 i don't get why they make you use eclipse to convert nongradle projects Dec 02 04:39:08 converted one manually. seemed pretty straight forward. just change structure, move files Dec 02 04:43:35 interesting that it uses gradle instead of ant or maven Dec 02 04:57:32 Is someone ehre able to help me with Services? Dec 02 04:57:38 I guess they have their reasons Dec 02 04:58:41 I cant find a good tutorial or anything around. Dec 02 04:59:03 have you tried the developer.android.com site? Dec 02 04:59:09 The very first place I tried Dec 02 04:59:11 not trying to sound like a dick Dec 02 04:59:12 lol Dec 02 04:59:17 Which is how I know what I want is a IntentService :D Dec 02 05:00:00 http://www.vogella.com/articles/AndroidServices/article.html Dec 02 05:00:09 Also looked there haha Dec 02 05:00:15 haha Dec 02 05:00:16 I like Vogella usually. Dec 02 05:00:19 me too Dec 02 05:00:23 havent read that one Dec 02 05:00:23 btw Dec 02 05:00:57 I have also looked at some CommonWares Guy source code. Dec 02 05:01:45 damnit Dec 02 05:01:52 oh the source Dec 02 05:01:58 have you tried one of the free books Dec 02 05:03:04 I need a service but just cannot implement one that does a job repeatedly for the life of me hahaha Dec 02 05:03:17 http://commonsware.com/Android/Android-3_7-CC.pdf#page=556&zoom=auto,72,148.2 Dec 02 05:06:03 is there a better way to wipe genymotion emulators than redownloading? Dec 02 05:06:15 Thanks :D Dec 02 05:06:21 apparently I keep corrupting them by trying to add google apps Dec 02 05:07:20 attempting factory reset just reboots it Dec 02 05:07:56 np keep in mind those are older books Dec 02 05:10:21 Yeah Dec 02 05:10:31 Don't think what he describes there is very helpful Dec 02 05:10:50 To be able to understand, it needs to be something closer related to what Im doing now. Dec 02 05:10:59 Or be able to apply it, if that makes sense? Dec 02 05:12:43 totally, maybe ask in here the specific problem/implementation you're facing, and somebody more knowledgeable than i am might help out Dec 02 05:13:13 Eeeeeee: you sure you got right version of gapps? Dec 02 05:13:38 like same android version Dec 02 05:13:39 ? Dec 02 05:13:48 just downloaded straight off stackoverflow Dec 02 05:13:54 yeah gapps have to match android versions Dec 02 05:14:04 btw nm on genymotion wipe, figured it out Dec 02 05:14:06 tbh I dont think Im too far off Dec 02 05:14:09 ya it's same version Dec 02 05:14:15 didn't know if you meant like device or something Dec 02 05:14:27 okay Dec 02 05:14:46 or i just keep getting forced close dialogs Dec 02 05:14:54 I have created a BootReceiver which gets the broadcast on boot. That starts of an AlarmManager every X hours (defined by user in preferences, default at 1), and I have an AlarmReceiver which starts the service. Dec 02 05:14:56 dunno if that's corrupted or not, but i didn't get them before Dec 02 05:15:06 repeative force closes seem to be wrong gapps Dec 02 05:15:09 or system is too small Dec 02 05:15:11 The service downloads some data, and stores into a database. Does that sound right? Dec 02 05:15:48 thanks XXCoder1 Dec 02 05:15:59 do you mean allocated hd space? Dec 02 05:16:17 like via virtualbox settings? Dec 02 05:16:18 yeah my epic I had to resize system to fit more modern android Dec 02 05:16:23 same for my touchpad, twice. Dec 02 05:17:12 no Dec 02 05:17:20 partition sizes Dec 02 05:17:33 that is high risk stuff since wrong way would brick device Dec 02 05:17:35 like Dec 02 05:17:43 1 gig wasn't enough? Dec 02 05:17:45 er nm Dec 02 05:17:50 400mb? Dec 02 05:17:59 not sure it depends on android Dec 02 05:18:06 4.3 Dec 02 05:18:11 touchpad I needed 500 mb for cm 10.1 and its gapps Dec 02 05:18:36 hmm some rom installs do resize stuff for you Dec 02 05:18:42 erm Dec 02 05:18:45 i'm on emulator Dec 02 05:18:52 btw Dec 02 05:18:56 ahh Dec 02 05:19:02 just bump size to 500 mb Dec 02 05:19:09 for /system Dec 02 05:20:42 hrm can't find option for adjusting hard drive in virtualbox Dec 02 05:21:10 yeah never had to do that so dunno Dec 02 05:21:18 (virtual device disk resize) Dec 02 05:21:21 gotcha, thanks man Dec 02 05:21:26 i'll google it from here ;D Dec 02 05:21:33 np man Dec 02 05:23:09 btw anthaas be sure to repost your question, we kinda spammed it out of existence :P Dec 02 05:23:24 Hahah, its cool. Dec 02 05:23:33 If someone answers they answer, if not the struggle will continue. Dec 02 05:23:38 Im just blagging it at this point... Dec 02 05:23:56 lol Dec 02 05:24:07 you familiar with stackoverflow I assume? Dec 02 05:24:14 Indeed. Dec 02 05:24:55 Hmmm Dec 02 05:25:03 I just ran my application Dec 02 05:25:05 And it didnt crash Dec 02 05:25:08 well you don't get points for being helpful here :D Dec 02 05:25:21 Now, Im not sure if thats because I am so crap that my code isnt actually doing anything Dec 02 05:25:25 Or because I havent actually broke it Dec 02 05:25:37 OR, I havent even declared my service/receiver in the manifest rihgt hahhaa Dec 02 05:26:05 check adb Dec 02 05:26:07 LOL Dec 02 05:26:11 NO IT WILL LIE! Dec 02 05:26:12 hahaha Dec 02 05:27:18 Wait Dec 02 05:27:33 "RECEIVE_BOOT_COMPLETED" Dec 02 05:27:41 ;D\ Dec 02 05:27:46 Does this also get received by the application if the app has just been installed/ Dec 02 05:27:51 or ONLY on boot? Dec 02 05:29:41 erm, you get the boot broadcast at boot time, not at a random time later when you've just been installed Dec 02 05:29:44 on boot of device not boot of app, if that's what you mean? Dec 02 05:30:00 hmmm Dec 02 05:30:50 I want the same service to start either on boot or on app first load then Dec 02 05:30:55 app load* Dec 02 05:30:58 not first laod Dec 02 05:31:59 Sod itttt Dec 02 05:35:22 honestly I just google people's problems to learn stuff, and attempt to provide subpar help if no one does. Dec 02 05:37:57 so know that these are just logical guess from reading dev tutorials Dec 02 05:38:08 Is there anyway I can display half a view? Dec 02 05:38:13 like half a webview Dec 02 05:38:33 kinda like in web dev. with a div at %50 width and overflow set to none Dec 02 05:38:50 just start the alarm manager on the main activity, set it at 2 minutes for now, check to see if it's download and putting into database Dec 02 05:39:39 Oooh Dec 02 05:39:43 I think I broke it in a good way :D Dec 02 05:39:52 Guys, I would really appreciate your help in this: http://stackoverflow.com/questions/20321564/unable-to-check-for-username-from-sqlite Dec 02 05:40:32 Here's the new link, http://stackoverflow.com/questions/20321564/unable-to-check-for-valid-login-from-sqlite Dec 02 05:41:41 Ankhwatcher: database is null Dec 02 05:42:00 doesn't 1 = username exists Dec 02 05:42:27 er sorry Dec 02 05:43:25 sorry... ankurk Dec 02 05:43:55 Leeds: Database is null? Dec 02 05:44:10 ankurk: database is null Dec 02 05:44:11 But I can see it using a SQLite app on my phone Dec 02 05:44:18 the variable Dec 02 05:44:20 that you call Dec 02 05:44:21 database Dec 02 05:44:23 is null Dec 02 05:44:25 when you try Dec 02 05:44:27 to call a method Dec 02 05:44:27 on it Dec 02 05:45:10 did you really need to say that on 7 separate lines? Dec 02 05:45:30 barbs: saying it twice on one line didn't seem to work, so I thought I'd try something different Dec 02 05:45:30 But I checked the table name Dec 02 05:45:54 lol Dec 02 05:46:00 it does the insert fine Dec 02 05:46:54 "java.lang.NullPointerException: Attempt to invoke virtual method 'android.database.Cursor android.database.sqlite.SQLiteDatabase.query(java.lang.String, java.lang.String[], java.lang.String, java.lang.String[], java.lang.String, java.lang.String, java.lang.String)' on a null object reference" Dec 02 05:48:08 ankurk: database is null Dec 02 05:48:18 WOOO Dec 02 05:48:24 I think I've worked it out for myself (the best way) Dec 02 05:49:22 Services are actually quite simple! Dec 02 05:49:35 nice work :) Dec 02 05:49:43 if you have to say null one more time Dec 02 05:49:53 i'm gonna null myself Dec 02 05:50:05 Sounds...erotic. Dec 02 05:50:07 then how can I insert into the database fine? Dec 02 05:50:09 that sounds like a nully challenge! Dec 02 05:50:56 Anthaas: jesus. Now I have the association of null with eroticism Dec 02 05:51:16 Haha. "Oh baby, I'm gonna null you into next week..." Dec 02 05:51:19 Love dirty talk hahaha Dec 02 05:51:38 Leeds says the database is null but I can insert into the table perfectly, http://stackoverflow.com/questions/20321564/unable-to-check-for-valid-login-from-sqlite Dec 02 05:51:38 Anthaas: ooh, talk Exceptions to me more, baby Dec 02 05:51:49 ankurk: do you know what a variable is? Dec 02 05:51:51 NoCondomException Dec 02 05:52:00 do you... no, I don't care - it's lunchtime Dec 02 05:52:03 OI! I DON'T CARE IF IT WAS AN ACCIDENT, THAT INDEX IS DEFINITELY OUT OF BOUNDS!!!! Dec 02 05:52:12 i tried to stay nulled, can't live without you guys apparently Dec 02 05:52:15 null me baby Dec 02 05:52:27 Anthaas, Leeds: Now I've got the vision of my CL use qualifying me for "kinky", and thus: "Excpetions? pfft, those are so vanilla, try CONDITIONS" Dec 02 05:52:51 p_l: it's always good to try{new_things();} Dec 02 05:53:02 Hahahaha Dec 02 05:53:04 I like that Dec 02 05:53:15 dammit Dec 02 05:53:46 I wonder what other people would make of this Dec 02 05:54:00 If we were kids, we'd get bullied a lot... Dec 02 05:54:24 http://www.youtube.com/watch?v=M7fchtEJpy8 Dec 02 05:54:29 I'm glad I didn't become nerdy til later in life Dec 02 05:55:13 Yeah, I don't think "Stick and stones may break my bones, but your intelligence throws a NullPointerException" will help your cause much... Dec 02 05:55:37 ankurk: seriously though - do you not understand either the error message or my 7-line explanation of it? Dec 02 05:55:39 ROFL Dec 02 05:56:23 I understand it fine, and thus it should be fully understandable Dec 02 05:56:51 yeah, I mean if Eeeeeee can understand it - and he's been nulling himself for the past 10 minutes! Dec 02 05:57:03 lol Dec 02 05:57:23 Because is referentially frustrated. Dec 02 05:58:09 I hate how every copyright clip on youtube is now someone recording their tv. how don't these enforcers not get how sharing their content (at least clips of it) benefits them Dec 02 05:58:39 it makes me instead not share the clip Dec 02 05:59:38 Leeds: I understood what you said but that is a rude way to tell someone who is just beginner Dec 02 05:59:42 er how do* Dec 02 05:59:58 ah-ha! now I'm rude... good, lunchtime Dec 02 06:00:01 i'm a beginner, I don't understand what he meant exactly Dec 02 06:00:11 but I know how to find the answer to what he was getting at Dec 02 06:01:58 it is rude Dec 02 06:01:59 yeah Dec 02 06:02:56 no this is rude: http://lmgtfy.com/?q=android+what+does+a+null+database+mean Dec 02 06:03:39 thanks for telling me Dec 02 06:04:50 Hi all, please advise what am I doing to run notification at a specified time. Run a service? Dec 02 06:06:32 Eeeeeee: it's also wrong, unfortunately Dec 02 06:07:07 yes it is, but you get my drift Dec 02 06:07:32 if you meant the google results that is Dec 02 06:07:52 no, I mean it's the wrong question Dec 02 06:09:00 I'm usually a better googler when I'm not just trying to be an asshole Dec 02 06:09:18 I've stopped trying - it's easier that way Dec 02 06:09:22 what's the right question to ask? Dec 02 06:09:42 What does null mean? Dec 02 06:09:57 "what is a variable?" would be a good start Dec 02 06:09:58 Hey guys, please advise what am I doing to run notification at a specified time. Run (defuera) Hi all, please advise what am I doing to run notification at a specified time. Run a service? service? doing to run notification at a specified time. Run a service? Dec 02 06:10:21 defuera: alarmmanager Dec 02 06:10:28 Ups.. Sorry writing from my phone Dec 02 06:10:36 Thx! ) Dec 02 06:11:09 But won't it will bi killed on restart phone? Dec 02 06:11:27 I ask because I'll Google it leeds Dec 02 06:11:34 Anthaas: there is tag mismatch error/ecxeption Dec 02 06:11:34 hey who here has worked at google? Dec 02 06:11:36 :-P Dec 02 06:11:44 defuera: then recreate it when the phone boots Dec 02 06:12:38 Oh... With service i guess.. Right?) Dec 02 06:13:10 no Dec 02 06:14:04 Damn Dec 02 06:15:36 With a BroadcastReceiver Dec 02 06:16:01 (Although that wasn't the question you wrote, so Leeds's "no" was perfectly correct and not pedantic at all :P ) Dec 02 06:16:10 lol love how leeds just gives an answer to their question, nothing more nothing less Dec 02 06:16:17 hey, I'm eating my lunch Dec 02 06:16:19 Same :P hahaha Dec 02 06:16:21 hahahaha Dec 02 06:16:23 Oooh anything nice? Dec 02 06:16:23 I could just stop answering Dec 02 06:16:39 honestly i've seen you help more people in here than anyone else Dec 02 06:16:56 Anthaas: bowl of broccoli and cauliflower right now... made with love, eaten with reluctance :) Dec 02 06:17:06 Sounds.... Dec 02 06:17:10 Vegan Dec 02 06:17:11 lol Dec 02 06:17:37 Honestly sounds like part of a meal, not a whole meal in itself. Dec 02 06:17:52 Im guessing you live in Eastern Asia somewhere though - I've seen that eaten a lot over there. Dec 02 06:17:53 eating broccoli casserole Dec 02 06:18:09 Broccoli with a twist - the twist is that some of it is cauliflower. Dec 02 06:18:22 can you tell his sign from his food choice as well? Dec 02 06:18:22 damn Dec 02 06:18:27 yeah, HK... got some pasta in the fridge, might pop out and get some junk food instead :D Dec 02 06:18:54 Pasta! Look at you! Livin' it up :P Dec 02 06:19:43 then I'm meeting my boss a bit later for posh tea and a chat with some lawyers in the lobby of a 5* hotel :P Dec 02 06:19:54 Thx guys that's all i needed, no less no more. Answering the question and not trying to guess what fella really wants is the best way to explain anything anything, imo-) Dec 02 06:20:00 "Sorry, I've already eaten - I'll just have a glass of water..." Dec 02 06:20:04 is the developer docs a really coarse read or is it just me Dec 02 06:20:31 Nahhh s'alright. Dec 02 06:20:35 There are a LOT worse. Dec 02 06:20:56 I like PHP's website. Dec 02 06:20:59 the reference docs are fine - for reference... the more tutorial/topic-oriented stuff has got a lot better over the past year or two Dec 02 06:21:04 Its like - everyone have a go, post, and discuss. Dec 02 06:21:21 i like the reference docs Dec 02 06:21:39 but i only get there from googling people's problems in here Dec 02 06:22:27 Right Ladies and Leeds - shower time before Uni Dec 02 06:22:35 In a bit, yo! Dec 02 06:23:11 maybe i should just grind it out and do the tutorials, maybe what i'm looking for isn't a tutorial Dec 02 06:23:33 What is it you are trying to do? Dec 02 06:23:48 learn android development :P Dec 02 06:23:56 Where are you up to? Dec 02 06:24:51 You should learn to do things in logical steps Dec 02 06:25:16 procrastinating. I think I got to building a simple user interface before giving up and going straight to building app Dec 02 06:25:37 Start with an activity. Get a layout with a text view. Change the text programmatically. Create a button, go to a new activity. learn about intents. learn about what they are used for and different flags that can be added to them Dec 02 06:25:56 etc Dec 02 06:26:04 yeah i'm passed that stuff Dec 02 06:26:06 Dont go "Right, this is an Activity. Now I am going to create Angry Birds" Dec 02 06:27:22 right, I'm going to go read some of the comments on crackberry - that always amuses me Dec 02 06:27:37 Hahaha Dec 02 06:28:21 Feels like Pinocchio Dec 02 06:28:26 "Im a real operating system" Dec 02 06:28:35 lol Dec 02 06:29:03 nah, that's sailfish and ubuntut Dec 02 06:30:00 i wish google would release an adequate linux distribution that wasn't chromeos Dec 02 06:30:47 er, why? Dec 02 06:31:08 given that chromeos is a customized Gentoo... :> Dec 02 06:31:27 there's also the internal Ubuntu fork Dec 02 06:31:40 I use ubuntu Dec 02 06:32:25 but I wish it didn't suck and had good apps Dec 02 06:33:13 an android for desktops, but not one where you're stuck in an internet browser Dec 02 06:36:02 p_l internal to who Dec 02 06:36:03 Google? Dec 02 06:36:16 You talking about goobuntu or something different? Dec 02 06:38:08 The vibrant developer community android has, but for desktop applications Dec 02 06:38:28 is what I meant Dec 02 06:40:13 Today is the first day in a long time that I have cut myself shaving. Dec 02 06:40:24 I am fully awake - I have been half asleep and had better shaves... Dec 02 06:44:03 Goobuntu? o_O Dec 02 06:44:06 That sounds interesting. Dec 02 06:45:06 didn't even know about it until I started trying decipher his suggestions Dec 02 06:47:15 Eeeeeee, Who's suggestions? Dec 02 06:47:38 p_l said "internal ubuntu fork" Dec 02 06:48:03 Oh, okay. Dec 02 06:48:03 Can anyone help me? I have a custom view class that's supposed ot draw when it detects a touch event but it doesn't work Dec 02 06:48:15 whether or not he was talking about goobuntu, that's how I found out about it Dec 02 06:48:44 Nice xD Dec 02 06:49:00 Still not a bad way to find out about new things. Dec 02 06:54:05 only problem is I guess it's not released other than internally Dec 02 06:55:44 Eeeeeee, This looks like it's as close as you'll get: http://lifehacker.com/the-goobuntu-desktop-1071893671 Dec 02 06:57:47 yeah Dec 02 06:58:03 I'm not interested in it for the eye candy :D Dec 02 06:58:10 I thought so xD Dec 02 06:58:11 but that does look awesome Dec 02 06:58:21 Yeah, it's a pretty cool setup. Dec 02 06:58:31 well, some of the configurations I heard of about goobuntu were pretty insane Dec 02 06:58:36 Eeeeeee, What do you think they modified internally that makes you so curious about it? Dec 02 06:58:39 (on google laptops) Dec 02 06:59:18 Saphiresurf: I don't think there's much modification outside of ensuring that their internal software works well Dec 02 06:59:25 I like following Google in general, so when I hear they have their own distro of ubuntu my interest is piqued Dec 02 06:59:28 Oh, okay. Dec 02 06:59:41 Eeeeeee, Fair enough :) Dec 02 07:00:17 I like the extra security aspect, and if they got rid of stuff ubuntu ships with, but other than that just a fan boy Dec 02 07:00:45 hey guys quick question. I am using writeUTF and readUTF, At the moment I am using multiple writeutf to send data to java server that reads the utf I sent and places them in order they are received Dec 02 07:00:58 what kind of insane p_l Dec 02 07:01:08 Eeeeeee: from what I heard about the instances on laptops, imagine the most locked down system ever, except you have root Dec 02 07:01:23 sounds awesome Dec 02 07:01:42 though AFAIK nowadays they have policy of not having any work data on computers outside work Dec 02 07:01:43 which so far it is working my for my jtable but i have a feeling it will send one part of data before another part of data and put it under the wrong column, is there a way i can "label" the UTF and put it under the correct column? Dec 02 07:01:55 p_l, That's interesting.... Dec 02 07:01:59 makes sense Dec 02 07:02:11 The secure except you have root thing. Dec 02 07:02:12 Demon_Jester: what the fsck are you talking about? Dec 02 07:02:17 The second part makes sense. Dec 02 07:02:36 Google Employees are turning into Secret Google Agents xD Dec 02 07:02:43 I guess that's how it has to be, though. Dec 02 07:02:56 like why even take your laptop out of google hq Dec 02 07:03:01 Err rather Dec 02 07:03:02 Assets Dec 02 07:03:04 leeds: hold on gonna try to explain this again... Dec 02 07:03:05 if it's that secure Dec 02 07:03:15 Which, I guess, in a way is exactly what an employee is :P Dec 02 07:03:30 lol saphire I've read about the NDA's i thought those were crazy Dec 02 07:03:37 Eeeeeee, Maybe you want to show it the world. Dec 02 07:03:38 but apparently you don't have to sign them if you're important enough Dec 02 07:03:45 Oh, that's cool :) Dec 02 07:03:48 Well Dec 02 07:03:57 Important enough or trusted enough? Dec 02 07:04:15 important enough Dec 02 07:04:27 Oh, okay :P Dec 02 07:04:31 i doubt they trust competitor ceo's Dec 02 07:04:44 or any non googler for that matter :D Dec 02 07:04:47 jk Dec 02 07:05:06 I guess it just matters ;P Dec 02 07:05:12 it was something like apple Dec 02 07:05:17 basically i am using one datainputstream to read my dataoutput stream and have it like this addRow(new Object[]{"random information",din.readUTF(),"randon information",din.readUTF()}); basically is that programming to have multiple reatutf life that or no? it puts the info i read in the correct columns. Dec 02 07:05:26 's coo or someone importannt that refused to sign it and they let him in anyway Dec 02 07:05:48 Eeeeeee, Oh, okay :P Dec 02 07:06:02 holy fuck i cant type this late at night. Dec 02 07:06:06 That's cool that they aren't very strict about it. Dec 02 07:06:48 it's pretty funny though, it has stuff like, you're not allowed to tell anyone where you even went that day, or to that effect lol. so your wife is like what did you do today? Ummm nothing lol Dec 02 07:07:15 rather that you went to google hq, not where you went that day Dec 02 07:10:18 um no just the opposite they are strict as shit. search google nda. bbl Dec 02 07:11:09 "I went nowhere. I was here all day. The eggs I bought magically appeared." Dec 02 07:11:09 Dunno, sounds like it just makes the person sound awesome to me. Dec 02 07:11:41 If I could make eggs magically appear in a fridge, even if that was my only power, I'd be pretty happy. Dec 02 07:12:09 hahahaha Dec 02 07:12:13 Would be kind of necessary to question where the eggs come from and whether I was breaking the laws of physics, but that's magic for you. Dec 02 07:15:06 anyone here know anyone that works/worked at google? Dec 02 07:16:59 i have to believe kroot does, and i'm sure there's lurkers in this channel that do. I'm only assuming though Dec 02 07:17:54 p_l probably does, but under nda he has to say stuff like "i've heard google does this" jk :P Dec 02 07:17:58 How to get all instances of calls to a method in eclipse? Dec 02 07:19:06 nm Dec 02 07:26:39 Eeeeeee: no, but I know people who are under NDA, and thus I know only the very tiny bits that don't break it Dec 02 07:29:36 I may or may not be under some version of their nda, and hinting that probably breaks it Dec 02 07:35:35 I think I also agreed to some of their crazy terms just to get a CR48. Which read something like "we own you now" Dec 02 07:36:34 Eeeeeee check out a book by Jason Lanier "Who owns the future" Dec 02 07:37:51 CR48? Dec 02 07:43:38 Is there any easy way to tell a adapter that its convertView needs to be invalidated ? Dec 02 07:45:24 I am swapping adapters in the common wares guy Merge Adapter, via a generalized adapter (that connects to the datasets) that appropiatly returns the getView on the merge adapter. Problem is, some rows have extra buttons inside, and since I am repositioning in the merge adapter, the convertView is still being used for the previous, non repositioned form. Hence, if there is a way to invalidate the convertView just for one "run" of the Dec 02 07:45:24 getView Dec 02 07:45:57 this book is looking awesome Dec 02 07:49:15 I always assumed this mass push to the cloud was just a reason for them to be able to filter through our data Dec 02 07:50:14 Does anyone know how do deal with GoogleCloudMessaging kicking back a "SERVICE_NOT_AVAILABLE" when i try to register my device? Everything was working until i uninstalled and reinstalled the app. Now it refuses to re-register. Dec 02 07:51:03 which I'm not sure if that has any relevance to his "siren servers" Dec 02 07:52:03 never seen a compsci guy look such like a creepy hippy Dec 02 07:53:10 he was also a jazz musician Dec 02 07:53:42 Anthaas, sorry they were chrome books google sent out to beta testers Dec 02 07:54:22 Eeeeeee: how to become a beta-tester to get a freebies :-) Dec 02 07:54:29 where does one sign up Dec 02 07:54:33 so am I ;) not professionally though Dec 02 07:54:44 :-P Dec 02 07:54:59 Ahh I see to anyone wondering the trick to clearing out convertview is to override getItemViewType Dec 02 07:55:00 a jazz musician that is Dec 02 07:55:23 speaking of this book, wasn't julian assange preaching that google is trying to enslave the world? Dec 02 07:56:00 lol Looney Dec 02 07:56:16 by chance :P Dec 02 07:56:28 good for you ;-) Dec 02 07:56:59 pretty sure it was from signing up for updates to chromeos Dec 02 08:08:14 Eeeeeee not sure what assange said, but that is somewhat talked about in "Digital Disconnect: How Capitalism is Turning the Internet Against Democracy" Dec 02 08:15:18 Whatever he said it was not as interesting as it sounded and was pure speculation iirc Dec 02 08:19:32 g00s Put both on my to read list (as well as creepy hippy's other one), but might take years to get around to them. Been trying to consume more positive mentality type content lately. Dec 02 08:19:36 "The success of the ad world, which literally built the Internet, is now all about rapid sale, rapid response,” said Jim Davidson, executive director of the Advertising Coalition, whose members include CBS Corp., the Walt Disney Company and Time Warner Inc. " Dec 02 08:19:48 literally Dec 02 08:21:11 i was just reading this http://www.theguardian.com/environment/earth-insight/2013/nov/28/war-on-democracy-corporations-spy-profit-activism Dec 02 08:21:32 Interesting, I'm probably more than 12 miles off shore and still have an lte signal Dec 02 08:21:40 speaking of negative mentality, the more I hear about bitcoin, the more I think it was released by an organization and not just some random programmer with good intentions Dec 02 08:21:49 wow Dec 02 08:22:25 currently in the waters between Maui and the big Island Dec 02 08:28:22 pfn: :) Dec 02 08:28:33 got pics? Dec 02 08:28:39 pfn you're in a beautiful area with so much to see … but on irc :| Dec 02 08:28:40 pics or it didn't happen Dec 02 08:28:51 turn your gadgets off ;) Dec 02 08:29:42 delivery by drone.. seriously amazon Dec 02 08:29:45 it's dark and not going to the bars Dec 02 08:30:22 g00s: he is in the middle of the night now Dec 02 08:31:54 pfn: what is a chance of meeting crab by the way to the bar? Dec 02 08:32:05 pfn anything going on with the volcano? got your flashlight :) ? Dec 02 08:32:19 thats on Kau though Dec 02 08:36:00 oops, thats about 300 miles away ::( Dec 02 08:37:06 g00s: shh.. he is probably busy with programming now :) Dec 02 08:41:30 Eeeeeee: they were just talking about that on the tele here :S Dec 02 08:43:43 bankai_: whole world is talking about it Dec 02 08:44:59 as a company you have to know you're releasing some pretty revolutionary products when all the articles reporting them have some version of "no we're seriously not joking" in the title Dec 02 08:45:52 either that, or you know you just got a whole bunch of press for something which isn't going to be technically, commercially, legally or logistically feasible for years Dec 02 08:47:10 lol I'll make the prediction now that they're gonna try to make it ridiculously well priced Dec 02 08:47:10 there's a mob in AU already using these things for deliveries Dec 02 08:47:18 and free when delivering kindles Dec 02 08:50:25 bankai_: there's a mob in Australia who also got a load of press - I don't think they're actually doing anything yet other than demos Dec 02 08:52:32 Commerce by drone is still illegal in the US I think Dec 02 08:52:53 it is Dec 02 08:53:07 til like 2015 according to congress Dec 02 08:53:08 what happens though when not just amazon, but walmart, target, your supermarket - and not just books or things but /everything/ is delivered by drone … i'd hate to imagine the sky beng so full of these things Dec 02 08:53:21 sigh .. sometimes android makes me sad Dec 02 08:53:31 has anyone used the setEmptyView() on a listview? Dec 02 08:53:34 They arrested some guys here trying to smuggle cigarettes into a prison by drone Dec 02 08:55:01 quad/octo copters seems to be pretty inefficient also Dec 02 08:55:28 i was reading about an optimized design that had one big propeller and 3 placed radially to offset the torque Dec 02 08:55:36 if you're gonna smuggle anything why cigarettes, but that explains how they were stupid enough to get caught Dec 02 08:55:54 g00s: most effective transport is zeppelin Dec 02 08:56:38 roughly, smaller the machine less effective it is Dec 02 08:57:16 hi Dec 02 08:58:20 im trying to implement ActionBar.TabListener but i'm getting "ActionBar cannot be resolved to a type" Dec 02 08:58:44 i set the minSdkVersion to 14 and target to 18 Dec 02 08:58:54 i have 1 layout with both the listview and the emptyview and i set it accordingly with .setEmptyView() but when the list is empty Dec 02 08:58:59 my friend was trying to convince me to start a business with him that would pollinate crops using quad copter "bees" Dec 02 08:59:00 the empty view never shows Dec 02 08:59:28 that'll happen ... fence surveys, etc Dec 02 09:00:03 arstechnica had an article where someone invented a drone to drop life preservers offshore Dec 02 09:00:56 Eeeeeee: if you are capable of doing all the maintenance (landing, recharging) you can sell software for that Dec 02 09:01:12 Eeeee that's not a bad idea Dec 02 09:01:35 and you'll get to travel a lot :) Dec 02 09:02:05 hey guys I was looking on how I would go about detecting network type, and came across this. http://stackoverflow.com/a/18583089/1884552 how would I receive the info to determine the network type? Dec 02 09:04:12 Eeeeeee: the best part is its an easy sell, since pollination rate = profit Dec 02 09:05:26 Eeeeeee i'm skeptical; not like biologists completely understand the system effects of bees and pollination Dec 02 09:05:31 we're pretty capable, but it would have taken a lot of funding and I don't think he understood how much code needed to be written to do it efficiently. It also seemed a little premature. Although the price he told me farmers are paying for bees really took me off guard Dec 02 09:06:16 Perhaps because of the recent mass bee die offs Dec 02 09:06:30 system effects, can you rephrase that? Dec 02 09:06:34 there is often a symbiotic relationship between pollinators and what they are going to Dec 02 09:07:36 and the bees co-exist with other parts of the system beside the plants Dec 02 09:08:12 hi everyone, I've been trying to save an image from my camera to my sdcard, everything works well except I can't find the image on my sdcard? I have added android.permission.WRITE_EXTERNAL_STORAGE and also android.hardware.camera to my manifest. Did I miss something? Dec 02 09:08:31 g00s: do you have actual example? Dec 02 09:08:44 *just curious, used to work in the wine industry before switching to codin Dec 02 09:08:47 File file = new File(Environment.getExternalStorageDirectory(), beer.getName()); Dec 02 09:08:51 using this line Dec 02 09:09:11 I wasn Dec 02 09:09:21 Greetings, folks! Couldn't anyone help me with my problem? I'm playing with Google maps, and markers are ok since they're markers, but I got one drown as a circle, how could I place it not in the top, but in the center of geo-point? Dec 02 09:10:03 I wasn't promoting that switching away from bees is the right move, but more of a last resort if shit hits the fan. We'd be holding the shovels Dec 02 09:10:12 lasserix i'll try to find something i saw on science daily; about the range of bees and what they go to is far more elaborate than previously understood Dec 02 09:10:38 Eeeeeee may want to show your friend "To Save Everything, Click Here: The Folly of Technological Solutionism" Dec 02 09:11:27 g00s: yeah i totally concur :) as far as eeeee's project goes though, even if you increasted fruitation rate by 25% you are increasing the gross harvest yield which just by the numbers, since a bad season can ruin a farmer, will be easy to market Dec 02 09:11:47 here is one example http://www.sciencedaily.com/releases/2013/01/130114092753.htm Dec 02 09:11:54 bees effecting bees :| Dec 02 09:12:12 Eeeeee you should also incorporate other aspects, since you have drones flying Dec 02 09:12:35 I was the one chasing the money. He was in it for changing the world Dec 02 09:13:13 g00s: that sad part is a lot of those system effects can probably be emulated by the right dispersion algorithm ;p Dec 02 09:13:14 More Than Honey https://www.youtube.com/watch?v=Wh_IRrBeu-0 Dec 02 09:14:19 which aspects if you care to elaborate? Dec 02 09:15:00 does anyone know a good resource about problems with specific devices? like a knowledge-db or something like that? I have media playing issues especially with one device at one anroids version and want to find out, if this is known or even special to our very device Dec 02 09:15:53 well for instance just take pictures while you are flying around Dec 02 09:16:32 aerial pictures can tell you a lot, like water deprived areas (since soil absorbtion is by no means constant) Dec 02 09:17:40 I actually thought the idea was good, but I might have been more close minded to how successful our attempts would be. Honestly seeing the reception to the idea here has motivated me Dec 02 09:18:53 Don't get discouraged since there are a lot of farmers, there's no way (one group) could quickly dominate but http://www.popsci.com/article/technology/drones-are-helping-make-delicious-wine Dec 02 09:19:09 lasserix oh yeah definitely, we were going to incorporate all kinds of stuff like that. Like detecting infestations of crops before outbreaks Dec 02 09:20:15 yeah it's pretty cool! definatly get into the wine industry, very happy place. met a lot of graduate chem engineers who got fed up working in their industry, switched to wine (fermentation, technically) because they found the work & life more satisfying Dec 02 09:20:34 (and lots of money per account/acer) Dec 02 09:21:00 err i mean when is the last time you ever heard of someone spending 2k on a bushel of corn Dec 02 09:21:49 haha Dec 02 09:23:02 i wonder if there is a relationship between bees and things like the light brown apple moth Dec 02 09:23:04 not to give corn a bad name, but i imagine it'd be easy to get more out of a vineyard of top quality spanning a couple acres than a farm spanning dozens of acres Dec 02 09:25:57 I want to interview farmers, prototype a manually operated copter, and see how feasible it was before moving forward. He had some weird programming based approach to determine how much ai would be needed. I think our differing approaches to how we should start the project put a cloud over it before it started Dec 02 09:26:51 wanted Dec 02 09:27:12 well ai is essentially an optomization of human labor Dec 02 09:27:27 so if you can get it working manually, worry about converting it to automation later Dec 02 09:27:38 ultimatly you could create the DIY kit for farmers Dec 02 09:27:51 which would be a cool way to couple tek and the stone age :) Dec 02 09:28:32 that was my thought process, and I didn't want to code up some program that was supposed to tell us how something operated in the real world Dec 02 09:28:58 and lean startup thinking Dec 02 09:29:59 g00s forgot to say this earlier: something tells me you read a lot lol Dec 02 09:30:09 :) Dec 02 09:31:19 does anyone here know anyone who works for google? Dec 02 09:31:37 2nd person to ask that today Dec 02 09:31:39 why? Dec 02 09:33:00 was probably me earlier Dec 02 09:33:02 -___- Dec 02 09:33:04 what library does apktool use for compressing and decompressing apk files? :-/ is it normal zip library? Dec 02 09:33:14 going to San Jose next week, was wondering if i could get a tour of campus Dec 02 09:35:05 yeah it was you nice name change Dec 02 09:35:14 was actually said 3 times today lol Dec 02 09:35:17 unless that was you too Dec 02 09:37:34 why would someone you met randomly on irc help make that possible Dec 02 09:38:26 i randomly got disconnected and didn't "Ghost" my name. -____- so it said "Lieutenant" was taken Dec 02 09:38:28 don't think so hepL3r Dec 02 09:38:29 is it possible that videoview cannot read my apps private files? although I use the videoview from inside my app? Dec 02 09:42:21 speaking of apktool, has their been any recent research on how many apps utilize proguard or other encryption? Dec 02 09:44:10 proguard can still be bypassed with some tricks, specially its obfuscation Dec 02 09:44:35 bypassed with a lot of manual work? Dec 02 09:44:36 I wanna code a simple tool which can modify apk contents Dec 02 09:44:55 not really Eeee, it depends where you want to reverse Dec 02 09:45:13 where? Dec 02 09:45:14 I still use IDA Dec 02 09:45:20 for apk files Dec 02 09:45:23 it rocks Dec 02 09:47:21 what do you mean where you want to reverse exactly? Dec 02 09:48:07 never heard of this tool Dec 02 09:50:15 thanks for the tip Dec 02 10:37:36 gah, is there a way to avoid requiring users to add "com.google.android.gms.version" to AndroidManifest.xml in library projects when using Play Services? Dec 02 10:39:55 Hi. I've just implemented the Navigation Drawer in my app following the official tutorial, but the content at the top of the drawer and in the main view is hidden behind the ActionBar. Any ideas what could be causing this ? Dec 02 10:48:13 anyone using travis-ci to build their android projects? Dec 02 11:01:43 msch, it's just a survey or do you have a specific question about travis? :P Dec 02 11:02:09 rciovati I want to set it up for my project and would love to see a working .travis.yml for the new gradle-based build system Dec 02 11:03:06 https://play.google.com/store/apps/details?id=com.wifi.hotspot Can someone with a PHD in psychology tell me how this app, that consists of just a button linking to your phones tether settings and a button linking to a read me file explaining how to setup tethering on your phone have 1,000,000 - 5,000,000 installs, and a 3.7 rating? Dec 02 11:03:17 msch, I used it with maven, sorry Dec 02 11:03:34 rciovati could you nevertheless gist the .travis.yml? Dec 02 11:03:59 argg Dec 02 11:04:04 dns at work died Dec 02 11:04:16 msch, https://github.com/octo-online/robospice/blob/release/.travis.yml Dec 02 11:04:22 so i only have access to irc that was connected before it died Dec 02 11:04:24 rciovati thanks Dec 02 11:05:29 msch, I guess you could manage to run it Dec 02 11:05:49 rciovati yep that looks good. I should be able to turn that into something that works for gradle Dec 02 11:07:04 use 208.67.222.222 lemonxah if you can Dec 02 11:07:24 or the Google's 8.8.8.8 Dec 02 11:07:46 DNS at workplace can suck big time Dec 02 11:08:14 is this guy a genius or are people really that stupid? Dec 02 11:08:42 msch, let me know if you manage to do that :) Dec 02 11:08:48 rciovati kk will do Dec 02 11:09:23 well, the my app will be a hit Dec 02 11:09:30 it does more than what you typed Dec 02 11:10:30 some comments read "works amazing etc etc" Dec 02 11:11:11 what's your app Dec 02 11:13:39 he has a pro version $2.59 5-10k installs, appears to do the same thing... I don't get it Dec 02 11:13:42 well there are market places where you can buy downloads and reviews Dec 02 11:13:51 ah Dec 02 11:14:01 well pro downloads are a bit tricky thing Dec 02 11:14:53 "If you don't like this app, Refund Guarantee! If you need refund, please mail us with the order number." --rofl nice. Dec 02 11:15:09 but people do it for pro apps as well? Dec 02 11:15:49 Eeeeeee, IHMO none of them two. Simply, enabling tethering is something the users want to do and they don't find the proper settings. Then, thet look for something in the playstore and they find that app. Dec 02 11:18:37 so users must look to the play store for help before even searching google? Interesting. It was actually a serious question although i know it sounded rhetorical Dec 02 11:19:38 but honestly the paid app just seems scammy Dec 02 11:20:06 only adding the option to go directly to the settings instead of having to click twice Dec 02 11:21:32 this guy has certainly filled an unmet demand Dec 02 11:24:03 Eeeeeee, yep I agree with that Dec 02 11:29:55 This definitely explains kindle's need for a mayday feature Dec 02 11:31:08 which I thought was the stupidest thing ever when I first saw it advertised. Turns out I'm the stupid one for assuming everyone knows how to google stuff Dec 02 11:52:13 what take more ressource ? Create scaled bitmap from big size to small size or from small size to big size ? Dec 02 12:30:26 Is it possible to programmatically show selection handles in a TextView/EditText? I am overriding focus/touch etc to avoid showing the system keyboard, but would still like to select text using handles. Dec 02 12:38:58 I am developing using Eclipse + ADT plugin, when I am creating a Android 3+ application with the support library, if I specify a theme do I need to copy the icons I wish to use? or is specify one of the default themes enough? Dec 02 12:40:45 The reason I ask is some of the examples / samples from the android developer site (the NavigationDrawer for example) has theme icons in the respective drawable directory. Is this only included to support Android less than 3? Dec 02 12:50:01 Did the contacts app in AOSP look similar to the one they have now before it was close sourced? Dec 02 12:58:47 <_biff> hi Dec 02 12:59:00 <_biff> how the hell could i create folder in eclipse on avd Dec 02 12:59:03 <_biff> i have no permission Dec 02 12:59:09 <_biff> how could i give Dec 02 12:59:23 <_biff> no i dont want to use command line solution Dec 02 12:59:31 <_biff> fuckiong android... Dec 02 13:02:45 <_biff> is somebodry here?:) Dec 02 13:03:54 am now Dec 02 13:04:16 um sudo mkdir Dec 02 13:04:22 use a command line you lazy mofo Dec 02 13:04:41 but you saw that coming didn't you ;) Dec 02 13:04:56 <_biff> [13:58] <_biff> no i dont want to use command line solution Dec 02 13:04:59 <_biff> :) Dec 02 13:05:04 oh I read it :D Dec 02 13:05:07 <_biff> why cant i give in the explorer Dec 02 13:05:13 <_biff> fucking permission... Dec 02 13:05:13 I don't use eclipse I'm sorry Dec 02 13:05:15 <_biff> i cant believe Dec 02 13:05:33 rumad? Dec 02 13:05:46 * Eeeeeee disappears Dec 02 13:05:47 <_biff> but i see the permission arelrwxrwxrwx Dec 02 13:05:49 <_biff> what? Dec 02 13:06:13 lol it's a common troll technique used online when someone is obviously frustrated Dec 02 13:06:17 RUMAD?!?1 Dec 02 13:06:34 hi guys Dec 02 13:06:49 have you googled it biff? Dec 02 13:06:51 hello Dec 02 13:07:16 i'll like to know how to customise the layout of each menu item in the action bar overflow menu Dec 02 13:07:30 i've been searching google for a while but can't find anything useful so far Dec 02 13:07:56 a link to an example will be appreciated Dec 02 13:08:01 <_biff> Eeeeeee what doi u think?? Dec 02 13:08:22 i would hope so, but you never know with some people coming in here asking Dec 02 13:08:56 _biff, what're you trying to do? Dec 02 13:09:12 <_biff> there is no solution what i cant believe adding permission (what i have i seeeee i haveeee lrwxrwxrwx!!!) Dec 02 13:09:25 <_biff> so i cant understand why cant i create a folder manually on avd sdcard Dec 02 13:09:46 "Actually, folders are packages in Java so your question doesn't really make any sense in a Java context. Dec 02 13:09:46 " Dec 02 13:09:47 <_biff> in eclipse Dec 02 13:10:00 why are you trying to create folder on sdcard Dec 02 13:10:24 <_biff> pffff.... what a kind of question this man:) Dec 02 13:10:41 <_biff> i wnt to do something ok?:) Dec 02 13:10:55 k gl Dec 02 13:11:30 <_biff> so why do is see rights lrwxrwxrwx... Dec 02 13:11:36 is number picker a slightly.. special widget Dec 02 13:11:41 under loved as a child ? Dec 02 13:11:58 never quite got the developer attention it deserved ? Dec 02 13:12:08 _biff, maybe your app doesn't have permission to write to external storage Dec 02 13:12:17 <_biff> app.. Dec 02 13:12:20 <_biff> janmayan77... Dec 02 13:12:28 <_biff> do u read my question? Dec 02 13:12:33 <_biff> janmayan77... Dec 02 13:12:40 <_biff> :) Dec 02 13:12:51 <_biff> there is no app... Dec 02 13:12:53 <_biff> :D Dec 02 13:12:57 i see Dec 02 13:13:13 <_biff> i wnat to create fodler manyually Dec 02 13:13:16 <_biff> in eclipse Dec 02 13:13:18 <_biff> in fiel explorer Dec 02 13:13:31 what error message do you get? Dec 02 13:13:31 this may be the wrong place for those questions then Dec 02 13:13:43 <_biff> ppfff.. Dec 02 13:13:43 <_biff> ok Dec 02 13:13:47 srsly Dec 02 13:14:08 <_biff> then where could i ask Dec 02 13:14:15 <_biff> in #bitcoin? Dec 02 13:14:20 <_biff> :D Dec 02 13:14:33 isavetimebynotusingthecommandline.com Dec 02 13:15:23 any ideas on how to apply custom layout to overflow menu items ? Dec 02 13:17:03 start eclipse with sudo? Dec 02 13:17:28 jan1337z: this is in the action bar ? Dec 02 13:17:32 that overflow ? Dec 02 13:17:43 http://developer.android.com/images/ui/actionbar.png Dec 02 13:17:44 3 ? Dec 02 13:18:13 janmayan77: Dec 02 13:18:15 sorry that was for you Dec 02 13:21:26 Dreyfax he was asking how to create a folder if you're talking to me Dec 02 13:23:07 android 4.0+ Dec 02 13:23:16 Thanks, i'll check it Dec 02 13:23:23 yes Dec 02 13:23:25 3 Dec 02 13:24:00 Is it possible to programmatically show selection handles in a TextView/EditText? I am overriding focus/touch etc to avoid showing the system keyboard, but would still like to select text using handles. Dec 02 13:26:05 @wmealing, when one clicks on the overflow options button there, i want to customise the layout of the overflow menu. e.g add icons to some menu items Dec 02 13:27:41 my app is for android 4.0+ Dec 02 13:45:08 janmayan77: ive done some basic action bar theming, but never added icons to it Dec 02 13:45:10 only set the color Dec 02 13:45:35 janmayan77: http://stackoverflow.com/questions/11982826/how-to-show-icons-in-actionbar-overflow-menu Dec 02 13:45:44 makes it look like you can though Dec 02 13:57:11 hello guys/girls can you tell me what's the best practice to handle multiple files download >= 4.0 Dec 02 13:58:10 tagrudev: http://developer.android.com/reference/android/app/DownloadManager.html Dec 02 13:58:53 I want the app to be blocked Dec 02 13:58:57 while doing this Dec 02 13:59:00 is it a good practice Dec 02 14:00:11 guys, where to store my global data? I need to access it from any place in my app Dec 02 14:10:22 tagrudev: I'm very skeptical of the fact that you want the app blocked during a download… But if that is that case you'd want to handle it like any other network call and probably use an intentservice Dec 02 14:11:05 TRomeo, I am open for suggestion Dec 02 14:11:14 maybe I can show something like a spinner while Dec 02 14:11:24 or a progress bar Dec 02 14:11:37 woozly: http://developer.android.com/reference/android/content/SharedPreferences.html if it's a small amount of data. Or you might want to use a ContentProvider if it's a lot of data Dec 02 14:11:41 the downloadmanager can't control the ui Dec 02 14:11:42 right Dec 02 14:11:52 is there any way to use adb over internet ? i use it on the same wifi network.. but never over the internet Dec 02 14:11:58 at least not directly I have to implement a receiver Dec 02 14:12:08 my ohone is rooted Dec 02 14:12:26 tagrudev: you can listen for events from the DownloadManager to control your UI, what are you using these files for? Dec 02 14:12:51 Stupid question, but in Android Studio why when selecting minimum required SDK 11 you lose the 4 support modes that were previously available at SDK 10? Dec 02 14:12:51 Tomasso: http://stackoverflow.com/questions/2604727/how-can-i-connect-to-android-with-adb-over-tcp Dec 02 14:12:59 TRomeo, generated maps Dec 02 14:13:02 than Dec 02 14:13:06 is it because they no longer need those support libraries? Dec 02 14:14:17 tagrudev: are they pngs? or some other format? Dec 02 14:14:30 other but that's not the problem Dec 02 14:14:36 that explains over wifi.. but not over the internet Dec 02 14:14:50 TRomeo, the problem is that they are 5 - 10 files (maps) Dec 02 14:14:52 I'm trying to implement a scrollable vertical list, where each "row" is actually a circle (+ text) that sits on a vertical path. As the user scrolls the list (= the vertical line/path), the circle + text that enters the center of the screen zooms in (kinda like a vertical carrousel). How would one go about doing that ? Dec 02 14:15:09 TRomeo, and the user actually can't do nothing without downloading the maps Dec 02 14:15:22 TRomeo, I just wonder what's the practice to halt him :) Dec 02 14:15:29 adb over 3g Dec 02 14:16:24 Tomasso: sorry I misread your question :) the sameprocess *shoudl* also work over internet, but it's going to be mind-numbingly slow Dec 02 14:17:39 tagrudev: I see :) Well you probably want to do the download in an intent service, and use a http://developer.android.com/reference/android/os/ResultReceiver.html to report back tot eh UI when the downloads are all complete Dec 02 14:18:15 you can use regular java threading to start all the downloads in parallel, and wait for them all to complete Dec 02 14:18:17 so the download manager is not an option Dec 02 14:18:38 yeah it doesn't seem to work for your use case Dec 02 14:19:19 so intent service and a result receiver Dec 02 14:19:25 and what about the actual download ? Dec 02 14:19:41 HttpClient? Dec 02 14:21:02 can i put kitkat on my m6 pro 3g ? Dec 02 14:21:24 TRomeo, I will consider this last time the httpclient didn't like the ssl certificate Dec 02 14:21:37 can i put kitkat on my pipo m6 pro 3g ? rockwell chipset ?? ? Dec 02 14:22:44 hd5770 those type of questions are for a different channel I believe Dec 02 14:22:55 try #android Dec 02 14:23:02 tagrudev: if you had trouble with ssl using httpclient, it's *probably* something wrong with the server you're downloading from Dec 02 14:23:10 and you'll have that issue with any download client Dec 02 14:23:27 unless you tell it to ignore ssl, which is a huge security no-no Dec 02 14:24:08 I don't want to ignore it Dec 02 14:24:57 so -> to sum up I should use Intent Service with HttpClient download in it that sends info to a ResultReceiver which controls the ui Dec 02 14:25:10 I love java programming Dec 02 14:27:22 dont be gay there is now sdk for my chip set is there Dec 02 14:28:49 really ? Dec 02 14:29:25 kindly fuck off? Dec 02 14:29:52 scum bags Dec 02 14:30:07 if me thinking of you like that makes me a scum bag Dec 02 14:30:09 yep, i'm a scumbag Dec 02 14:30:17 hd5770: this is the channel for developping apps for android, so you're in the wrong place here. Have you actually tried in #android? Dec 02 14:30:31 Also, naming yourself after a Radeon grapics card won't really help ;) Dec 02 14:30:36 HAHAHA Dec 02 14:30:50 * Leeds wonders what being gay has to do with using a crappy-tablet Dec 02 14:30:55 need some ice for that burn? Dec 02 14:31:48 Hey, I had one of those (actually a completely diffreent one) as well. It was nice until the screen broke after I dropped it :p Also, I was just happy with whatever Android version (4.0) that came with it. What would I expect for less than €100? Dec 02 14:32:25 I'm going to save up for a Nexus 7 sometime next year ;) Dec 02 14:32:28 Leeds: I too would like to know Dec 02 14:33:40 Ahahahahaha! Dec 02 14:33:47 The power! Dec 02 14:33:56 The absolute power Dec 02 14:34:03 ye\h itx hella faster than most other tablets on market hell of a lot cheepa to :) Dec 02 14:34:20 I'm serious as cancer, when I say that rhythm is a dancer! Dec 02 14:34:26 LOL Dec 02 14:34:31 now i see why your all so angry in here =) Dec 02 14:34:48 If you want a real tablet, get an iPa....dovjeorijve Dec 02 14:34:59 na i dont Dec 02 14:35:08 * DarkSlay3r was slapped into his keyboard Dec 02 14:35:09 hapopy with what i got :) Dec 02 14:35:09 hd5770: "you're" Dec 02 14:35:21 it's a contraction of "you are" Dec 02 14:35:25 maybe he means gay as in "happy"? Dec 02 14:35:50 Seriously though Dec 02 14:35:57 https://twitter.com/stupler/status/407517928083697664 Dec 02 14:36:00 oh god my sides Dec 02 14:36:01 is it so much to ask for a 4:3 android tablet? Dec 02 14:36:15 TRomeo, any lib doing this ? Dec 02 14:36:27 CallumTaylor: for the benefit of those of us behind firewalls Dec 02 14:36:32 what does it say? Dec 02 14:36:38 rofl callumtaylor Dec 02 14:36:48 its a twitter pic of people mis-spelling "wrapping" as "raping" Dec 02 14:37:05 "i can literally hear them raping presents :)" "you know raping my own Christmas presents..." Dec 02 14:37:07 yeah we do all the raping right before christmas Dec 02 14:37:18 I thought everyone raped the day before? Dec 02 14:37:26 tagrudev: OkHttp has some improvements on httpClient. There's also volley, but you probably don't want to use that because it stores the whole download in memory Dec 02 14:37:27 a lot of shops do the raping for you nowadays Dec 02 14:37:47 full-service they call it Dec 02 14:37:54 CallumTaylor: Hey mom! i can't seem to wrap this wiener right! can you help me? Dec 02 14:38:00 sure, honey! Dec 02 14:38:32 insert comedic humor there Dec 02 14:38:54 joke killed Dec 02 14:38:58 TRomeo, that's not an option Dec 02 14:39:20 Eeeeeee: my bad Dec 02 14:39:31 i guess it's not my day Dec 02 14:39:36 rofl jk Dec 02 14:40:13 TRomeo, any thoughts on that http://loopj.com/ ? Dec 02 14:41:04 anyone wanna give me a bitcoin? Dec 02 14:41:09 or a fraction? Dec 02 14:41:11 lol Dec 02 14:41:17 tagrudev: I've never used that one, not sure if it's good Dec 02 14:41:23 will code for bitcoins Dec 02 14:41:35 i'll show you how to mine, and then in 30 years you might have something to show for it Dec 02 14:41:43 seriously... will write poor code for bitcoin Dec 02 14:41:58 write code first get bitcoin on delivery Dec 02 14:42:10 100btc or no deal Dec 02 14:42:23 0.01BTC or no deal Dec 02 14:42:31 just show up at a football game with a "Hi Mom, Send Bitcoin" sign with a qrcode on it, like that last kid who got 24k in btc for doing that Dec 02 14:42:39 i have low standards Dec 02 14:42:52 omg that's awesome Dec 02 14:43:13 what did they zoom in on the qr code Dec 02 14:43:34 apparently redditer cleaned it up Dec 02 14:43:39 haha nice Dec 02 14:43:52 and he photoshopped his own qr code Dec 02 14:44:54 Why don't things like that ever happen to me Dec 02 14:45:46 177rqCDusu6SCDk12Pu7gMG5ezD2NW5vF8 Dec 02 14:45:51 send me bitcoins Dec 02 14:46:07 No. Dec 02 14:46:25 okay... Dec 02 14:50:38 there's something weird about that hi mom story Dec 02 14:51:10 Leeds: well i can tell you that it doesn't work here Dec 02 14:51:49 if I made a sign which said "Send me paypal: paypal@vmlinuz.org" I wouldn't expect for a moment that anyone would actually send me money Dec 02 14:52:10 * DarkSlay3r sends Leeds $1 Dec 02 14:59:09 ok so a man made miniature dolls of himself to send to prospecting clients Dec 02 14:59:12 DarkSlay3r: hasn't arrived :P Dec 02 14:59:39 Leeds: paypal said it wasn't a valid address Dec 02 14:59:50 dammit Dec 02 15:06:28 it's all about the culture Dec 02 15:07:33 the bitcoin donations Dec 02 15:07:40 Leeds: gamify it man Dec 02 15:07:49 EA makes like half a billion of of FIFA Ultimate Team Dec 02 15:08:21 it's kind of like when bums started writing signs that said "parents killed by ninja's. need money for karate lessons" everyone would shell out cash Dec 02 15:10:06 yet "military veteran need money for food" would get less Dec 02 15:10:28 Eeeeeee: because you see that all the time. people like novelty Dec 02 15:10:46 nah it's because i panhandle for a living Dec 02 15:10:49 lol jk Dec 02 15:11:03 I remember the first time I saw a sign in the US which said "hungry and homeless vet" - I was surprised, because I thought animal doctors generally made a decent living Dec 02 15:11:20 rofl Dec 02 15:11:26 that actually isn't a joke Dec 02 15:11:38 too bad it's funny Dec 02 15:11:45 are you british btw Dec 02 15:12:04 of course Dec 02 15:12:21 not cause of the name cause of your sense of you humor Dec 02 15:12:29 ITYM humour Dec 02 15:12:57 yep Dec 02 15:13:06 Leeds: http://weknowmemes.com/wp-content/uploads/2012/03/oh-wait-youre-serious-let-me-laugh-even-harder-240x180.jpg Dec 02 15:13:57 Leeds are you from leeds? Dec 02 15:14:05 of course Dec 02 15:14:11 makes sense Dec 02 15:14:11 Where is Leeds? Dec 02 15:14:15 somewhere up north Dec 02 15:14:29 aye, Yorkshire Dec 02 15:14:44 Is it close to Minnesota? Dec 02 15:14:52 lol Dec 02 15:15:06 :) Dec 02 15:15:12 probably like 3000 miles away Dec 02 15:15:14 it's *not* close to Minnesota Dec 02 15:15:34 Limo Driver in London: Would you like me to take the Chiswick roundabout through Hounslow and Staines? Dec 02 15:15:34 Aaron: What is this, fucking Middle Earth? Just take us to the airport, okay? Dec 02 15:15:53 Google Maps: "We could not calculate directions between Minnesota, USA and Almere." oops :p Dec 02 15:16:25 Eeeeeee: Good one Dec 02 15:16:56 okay, since when did google maps start listing *flights* in their directions??? Dec 02 15:17:04 Leeds: they never did Dec 02 15:17:09 afaik Dec 02 15:17:26 Almere: I just searched for Leeds to Minnesota, and it suggested airlines Dec 02 15:17:31 i thought google maps usually recommends Jet Skis to cross the atlantic Dec 02 15:17:38 Leeds: oh, nice :) Dec 02 15:17:43 they're rolling out maps Dec 02 15:17:53 "Your search for transit directions from Minnesota, USA to Almere appears to be outside our current coverage area. Please consult our list of participating public transit agencies." Dec 02 15:17:56 that are different for certain users i believe Dec 02 15:17:57 aahw Dec 02 15:18:24 so if leeds travels a lot, his maps may be different. at least if I understood it correctly Dec 02 15:18:32 There used to be a time where you had to go to the airport to find out what flights were available Dec 02 15:18:49 no flight for me, not even from Leeds to minnesota Dec 02 15:19:09 DarkSlay3r: hasn't changed much, I'd still go to schiphol.nl :p Dec 02 15:19:19 there was a time you could get shot in a bar while playing poker Dec 02 15:19:41 Eeeeeee: hasn't changed much, if your bar is located in Texas :p Dec 02 15:19:52 lol Dec 02 15:20:09 i'm in Louisiana Dec 02 15:20:35 Almere: Leeds to Schiphol is easy - direct on KLM :) Dec 02 15:21:16 guy on guy code: was in such a gangster bar i gripped my gun so tightly in my pocket it went off, and nobody moved. NOBODY MOVED Dec 02 15:21:27 anyone have problems with the x86 emulator causing performance problems if left open for long periods? Dec 02 15:21:50 had that problem with all i've tried Dec 02 15:22:19 when i leave it running overnight, the next day my system will frequently start locking up every few seconds Dec 02 15:22:29 lol Dec 02 15:22:40 helo: http://www.catb.org/jargon/html/D/Don-t-do-that-then-.html Dec 02 15:23:36 ehm, I've never had that problem Dec 02 15:23:50 My laptop always shuts down from overheating before the night is over :P Dec 02 15:24:20 yeah... plentiful ram has caused me to become lazy about closing programs Dec 02 15:24:41 Almere: I've had a similar problem Dec 02 15:24:45 there was a moment, not long ago, when I believed 4gb was plenty Dec 02 15:24:55 TRomeo: OkHttp and HttpClient are low-level HTTP clients. Volley is an abstraction that works with both (or any) HTTP client. Dec 02 15:25:06 Apples and oranges. Dec 02 15:25:08 then they started putting 2gb in phones, therefore also in phone emulator presets. *BOOM* and gone Dec 02 15:25:48 (I've changed all my (genymotion) vm's to 384mb, which is the default for the Nexus S, but not the Nexus 4 :p ) Dec 02 15:25:48 Almere: 4GB is plenty for mortal men Dec 02 15:25:52 local VMs can make testing pretty nice, but yeah - massive ram Dec 02 15:25:58 But we the master race Dec 02 15:26:05 DarkSlay3r: the avreage webbrowser can use over 1gb these days Dec 02 15:26:08 do not share the needs of man Dec 02 15:26:14 yeah phone i'm about to get surpasses my local server, almost my current desktop Dec 02 15:26:30 my phone has already more cpu that my first desktop Dec 02 15:26:33 Almere: And mortals need facbook and cats 3gb left to spare Dec 02 15:26:35 er does surpass desktop, at least cpu Dec 02 15:26:55 my phone has the same amount of ram as my 2nd desktop Dec 02 15:27:20 and my server has the same amount of ram as the Nexus 4 Dec 02 15:27:37 abnd I'm sure the Nexus 4 abd/or 5 has more cpu power Dec 02 15:27:40 My phone is better than my media center Dec 02 15:27:54 2.7ghz quad i believe Dec 02 15:27:57 my phone *is* my media center sometimes Dec 02 15:27:59 n5 Dec 02 15:28:10 my server is a Atom D525 :p Dec 02 15:28:14 1.8 dual Dec 02 15:28:18 (with HT :p ) Dec 02 15:28:50 but yeah, the N5 pwns it and has power left to pwn some more Dec 02 15:29:02 the cpu might even win from my laptop Dec 02 15:29:07 someone should port apache to android Dec 02 15:29:11 2.4ghz 1st gen i3 Dec 02 15:29:28 DarkSlay3r: there are plenty of HTTP server apps Dec 02 15:30:18 DarkSlay3r: meh, just root your device, compile stuff as-is, and write an app that just runs apache2ctl whenevr you touch 'start' :p Dec 02 15:34:38 is there like a blanket set of libraries most developers use on the majority of projects Dec 02 15:35:00 I try to use as little libraries as possible Dec 02 15:35:11 why? Dec 02 15:35:19 apk filesize Dec 02 15:35:23 ahh Dec 02 15:35:37 and why would I include a libraty if I dn't need the features? Dec 02 15:35:55 Eeeeeee, there are some standard ones most people use to make their lives easier Dec 02 15:36:02 Eeeeeee, depends on what your app does really Dec 02 15:36:36 ya, i meant regardless of functionality Dec 02 15:36:46 Retrofit/EventBus/Actionbarsherlock/AndroidAnnotations is my usual combo :) Dec 02 15:36:53 oh and OkHttp :) Dec 02 15:36:54 thank you Dec 02 15:37:04 if my app wouldn't have any functionality, then it would have no libraries :p Dec 02 15:37:09 with added sprinkling of Picass/Tape/DiskLRUCache if I need it :) Dec 02 15:37:51 there are some others for the side-drawer and Holo tabs pattern out there Dec 02 15:39:06 ^ Dec 02 15:39:10 I try to use android's own api as much as possible, and to use the support-v4 lib for older (2.3) devices Dec 02 15:39:15 thanks Dec 02 15:39:36 Mavrik: how large are your apk's? Dec 02 15:39:38 are you more of a purist, or do people pay close attention to size? Dec 02 15:39:51 Peetz0r, depends really, those are pretty much code-only libraries Dec 02 15:40:00 so they can be under 1M as well Dec 02 15:40:03 especially if proguarded Dec 02 15:40:26 Peetz0r, those libs do make my code easier to maintain and apps faster :) Dec 02 15:40:39 Eeeeeee: my previous phone, which was still my main phone earlier this year, had only 700-ish mb's of internar stirage, divided over /system and /data, so yeah, every bute counts Dec 02 15:41:13 Even google's own apps are bloated to the point that they make some older devices nearly unusable Dec 02 15:41:14 what version of android? Dec 02 15:41:35 that device came with 2.1, and has recieved a 2.2 upgrade Dec 02 15:41:45 but I run CM7.2 (2.3) on it bnow Dec 02 15:41:47 now* Dec 02 15:42:09 yeah my emulators seem to be malfunctioning when i add gapps to them because of space i believe Dec 02 15:42:44 yeah, usually the /system partiton size is chosen to be exactly as large as it needs to be, with space for nothing extra Dec 02 15:43:23 i think we are at a stage where manufacturers should begin to understand that 16GB should be the base size for memory now Dec 02 15:43:25 since cyanogenmod is smaller than the stock 2.2-with-Sense rom Dec 02 15:43:43 DarkSlay3r: I am *not* willing to pay for 16gb flash chips Dec 02 15:43:44 DarkSlay3r, there's practically no devices without a decently sized internal storage sold anymore Dec 02 15:43:50 thats what i was thinking, and am targeting >2.3 Dec 02 15:43:57 my main phone now has 4gb, which is enough for apps Dec 02 15:44:08 and it has a microsd slot for music and photos Dec 02 15:44:10 personally I don't bother with <2.3 devices, my company doesn't support pre-4.x anymore Dec 02 15:44:19 but (cheap) microsd cards are too slow to installa pps on Dec 02 15:44:23 really? Dec 02 15:44:42 Peetz0r: class 4? Dec 02 15:44:42 Mavrik: many low-end devices, also in 1st-world countries, still run 2.3 Dec 02 15:44:49 DarkSlay3r: dealextreme :p Dec 02 15:44:56 Peetz0r, not really Dec 02 15:45:03 Mavrik: yes, really Dec 02 15:45:10 I mean, alot of devices run it yes Dec 02 15:45:10 at least where I live Dec 02 15:45:21 not many people with those devices really care to open Play Store though Dec 02 15:45:21 Mavrik: You'll be surprised Dec 02 15:45:32 Lots of low end phones are still on the markey Dec 02 15:45:43 market** 1 - 2 gb internal Dec 02 15:45:57 1-2 GB is good enough Dec 02 15:46:04 since APK's are limited to 50MB Dec 02 15:46:12 and OBBs go to external storage anyway Dec 02 15:46:35 anyway, over all my/our published apps, none of them have more than 23% of users on phones older than 4.x Dec 02 15:46:52 and practically nobody on pre-2.3, even on apps where we still support 2.x Dec 02 15:47:10 'not more than 23%', do you mean 22,5%? Or what are the numbers? Dec 02 15:47:22 23% is still quite a lot Dec 02 15:47:34 22.93% is the max I have, most of the other are more around 19-20 Dec 02 15:47:40 i'd still say that's a sizable chunk Dec 02 15:47:47 depends how you look at it Dec 02 15:48:03 http://developer.android.com/about/dashboards/index.html Dec 02 15:48:04 if I have to compromise experience for people who actually bought an S3 to support 2.3.... not worth it Dec 02 15:48:07 19% is still a lot Dec 02 15:48:09 Pretty much matches the sampling there Dec 02 15:48:18 26.3% on gingerbread Dec 02 15:48:30 hello Dec 02 15:48:38 there's just alot of cool and useful stuff I can do with 4.x API's which just isn't possible at all on 2.x Dec 02 15:48:51 not to mention extensive development time thanks to bugs across 2.x devices Dec 02 15:48:51 you don't have to make your app perform worse on high-end devices to support low-end devices, that would be complete BS Dec 02 15:49:24 Peetz0r, there were numerous cases where there just wasn't a workaround for 2.x Dec 02 15:49:30 mostly related to video and camera handling Dec 02 15:49:31 Mavrik: gimme one example Dec 02 15:49:41 and graphics filtering + effects Dec 02 15:49:43 oh, I know next to nothing about camera handling :p Dec 02 15:50:04 Peetz0r, there is no way of knowing which video recording formats or resolutions a camera supports on 2.3 Dec 02 15:50:07 but I'm sure that there are workarounds (there always are), but yes, they might take a bit of an effort to use. Dec 02 15:50:22 and, of course, recording will fail if you set anything but exactly what the manufacturer expected Dec 02 15:50:35 testing all 2.3 devices just wasn't an option so we dropped support Dec 02 15:50:46 Bottom line, I don't think it's acceotable to leave 19%~23% of your users in the cold because they android version Dec 02 15:50:48 especially since we wanted to do OGL effects on played video which is also only possible on 4.x Dec 02 15:51:02 Mavrik: what's your app? is it free? Dec 02 15:51:03 Are any of you guys open to sharing the apps you've released? Or in PM if shy Dec 02 15:51:06 Wow nice JakeWharton, Hugo looks awesome https://plus.google.com/+JakeWharton/posts/2TEWb5chN7N Dec 02 15:51:13 that was too quick... Dec 02 15:51:14 Peetz0r, we have like 15 of them :) Dec 02 15:51:22 my personal ones are free yeah, but they also support 2.2 mostly :) Dec 02 15:51:49 I haven't looked at the code yet, but the example code looks very useful Dec 02 15:51:53 stalker-like speed! Dec 02 15:52:03 Mavrik: the one which does ogl effects on video :) Dec 02 15:52:05 combination of twitter and procrastination w00t Dec 02 15:52:07 Eeeeeee: https://play.google.com/store/apps/details?id=nl.haas_en_berg.rijksdriehoekscoordinaten Dec 02 15:52:20 that's my second app (the only one which I actually finished) Dec 02 15:52:20 Peetz0r, not publicly available yet :) Dec 02 15:52:24 thanks Dec 02 15:52:25 Mavrik: aahw Dec 02 15:52:33 Mavrik: but those other apps? Dec 02 15:52:37 the most popular is a weeked project I did 3 years ago for ride sharing Dec 02 15:52:43 https://play.google.com/store/apps/details?id=org.prevoz.android Dec 02 15:52:48 needs holo update badly :/ Dec 02 15:53:01 and complete rewrite since I was coding like a monkey :P Dec 02 15:53:02 is it spanish? Dec 02 15:53:08 nop, slovene Dec 02 15:53:10 ah Dec 02 15:53:16 doesn't help :p Dec 02 15:53:37 did some internal apps for some companies too, like sensor collection stuff for AI researchers and stuff :) Dec 02 15:53:56 I might inderstand a little bit of spanish, but slovene is different :) Dec 02 15:54:02 sweet Dec 02 15:54:06 g'luck :) Dec 02 15:54:06 thanks guys Dec 02 15:54:33 had always wondered what people work on in here Dec 02 15:54:53 work on all the apps Dec 02 15:54:58 was really surprised to see jake's name pop up earlier Dec 02 15:55:17 why? Dec 02 15:55:33 Does anyone know resources for monitoring application network performance? Looking more for blog posts and howtos instead of wrapped up libraries Dec 02 15:56:31 hamiltont___: ddms Dec 02 15:56:35 no clue, maybe cause I never went through the user list and being new is probably the only one i would recognize if i would have Dec 02 15:56:46 hamiltont___: and test it on low-end devices :) Dec 02 15:57:07 oh, this is cool Dec 02 15:57:14 Thanks Peetz0r Dec 02 15:57:32 Still open to other options if anyone knows others…I'm looking for a few "solutions" to compare Dec 02 15:57:51 hamiltont___: get a Galaxy Ace, it's cheap ans populair with kids these days. And it sucks, but that makes it good for testing Dec 02 15:58:10 I've got a few devices sitting around here :-) Dec 02 15:58:18 google's failing to translate slovene Dec 02 15:58:21 it can run 2.3 and 4.2 trough cyanogenmod, so you can test slowness on more versions :) Dec 02 15:58:42 Eeeeeee: I deny to read any machine translation anyway Dec 02 15:58:53 heh Dec 02 15:59:00 just write proper english, and leave it at that if you don't speak anything else Dec 02 15:59:29 My app is also just available in Dutch (my native language) and English (the native language of the whole planet :p) Dec 02 15:59:40 2 languages is enough Dec 02 16:00:12 (also, my app is built for the Dutch coordinate system, so offering it in any other language is kinda useless anyway) Dec 02 16:01:44 the map colors look different than normal Dec 02 16:01:57 or is that default coloring Dec 02 16:16:05 hello guys Dec 02 16:17:47 I have a problem with camera on my ics 4.1.1. When launching camera the 'unfortunetely gallery has stopped' message appears and camera vanishes Dec 02 16:18:25 Is it okay to launch a new AsyncTask from onPostExecute? Dec 02 16:18:37 not even one of two cameras work Dec 02 16:24:43 Yes, got signal again Dec 02 16:32:13 was wondering if it's possible to recreate an effect seen on the web often on android. Black and white picture and on hover/click will switch to color version Dec 02 16:34:49 Eeeeeee: how would you 'hover' something on a touch screen? Dec 02 16:34:59 (and no, the Galaxy S4 doesn't count :p ) Dec 02 16:37:49 or is the black/white -> color conversion the base of the question? Dec 02 16:37:59 lol good point on hold then Dec 02 16:38:22 Eeeeeee: that would be for people with trackballs Dec 02 16:38:33 or using a dpad or keyboard Dec 02 16:38:41 oh, my HTc WildFire actually has a trackball :D Dec 02 16:41:19 hi guys, Dec 02 16:42:54 in my layout file , i have a view whose layout_width is set in styles.xml. it worked fine for a while, then suddenly, my IDE (eclipse) started complaining that layout_width must be set in the layout file Dec 02 16:43:26 i'll like to set different values for layout width depending on resolution. is there an easy fix for this ? Dec 02 16:46:24 i think it may be a bug in eclipse.. it checks sometimes and it doesn't at others Dec 02 16:47:54 guys quick Dec 02 16:48:06 internationalization plugin Dec 02 16:48:13 i need something to manage languages Dec 02 16:48:47 I told them to get fucked when they asked to do non-standard internationlisation stuff Dec 02 16:49:09 Well what i told them was "Ok we can do that, extend the project by 3 months" Dec 02 16:50:52 hi Dec 02 16:51:21 google translate: go go go Dec 02 16:51:32 we had a client do that once, we made them do it again Dec 02 16:51:56 I mean something to manage the strings files Dec 02 16:52:06 oh i use google docs Dec 02 16:52:08 spreadsheet Dec 02 16:52:14 looking at rough xml code side by side is painful Dec 02 16:52:22 come on we shouldn't have to do that Dec 02 16:52:43 https://docs.google.com/spreadsheet/ccc?key=0AuGjDqCnvjEFdFI0bzF6VVNtSEZ2YnpmZHlZdzNlZkE&usp=sharing Dec 02 16:52:49 this is my spreadsheet Dec 02 16:52:53 we have a world class vm that garbage collects and we have to use a spreadsheet to manage strings? Dec 02 16:52:59 i then download as a TSV and run a small code to extract it Dec 02 16:53:11 I was in here a few days ago trying to get help with AsyncTasks and I think I'm still stuck. I have a task that takes an object, does an html call and updates the object based on the html response. I then need to update my db with the new object, and refresh a list on the screen. I am trying to keep the database operation out of the asynctask, but i'm not sure how to trigger it properly back in the Activity Dec 02 16:53:25 Well you dont *have* to use a spreadsheet Dec 02 16:53:33 no, but for me it works very well Dec 02 16:53:41 i have about 5-10 people help out with translations Dec 02 16:53:50 so they can all edit at the same time Dec 02 16:54:08 all translate from other languages that have also been translated (not just english) Dec 02 16:54:54 Pretty good solution i'd say Dec 02 16:55:21 https://gist.github.com/scruffyfox/7752607 Dec 02 16:55:30 this is what I run to covert it to strings_xx.xml Dec 02 16:57:37 although you do have all your capitilisation in the strings and not in your views etc Dec 02 16:57:42 tsk tsk Dec 02 16:57:56 CallumTaylor: you are awesome Dec 02 16:58:39 Dark-Side: its for the ICS style headers, text views don't support the auto capitalise xml property Dec 02 16:58:44 easier just to write it as caps Dec 02 16:59:49 They dont? Hmm maybe we shall fall foul of that later then, so far its been working alright Dec 02 17:02:40 http://developer.android.com/reference/android/widget/TextView.html#setAllCaps(boolean) Dec 02 17:02:42 api 14 :/ Dec 02 17:09:15 guys, why if I use NavUtils.navigateUpFromSameTask(this); it will call onCreate() again? Dec 02 17:09:31 I need to go back to previous activity, whitout calling onCreate() Dec 02 17:12:48 That's a bad sign Dec 02 17:13:05 you generally don't know whether your activity is being created or not at any given point Dec 02 17:13:11 since the user could have left your app entirely Dec 02 17:13:16 and come back later Dec 02 17:13:50 that said, normally, I would not expect onCreate if I am going back to an activity that is already "created" and is currently likely "paused" Dec 02 17:15:18 jaybobzin: okay! thank you. Dec 02 17:16:28 CallumTaylor: ah right, we're API 14 min so all is good Dec 02 17:16:42 i am now for the 3.0 of that app :) Dec 02 17:28:53 my path is set somewhere (says eclipse) i've checked .profile or bashrc, where else can i find it Dec 02 17:30:49 Is this a proper way to implement a favorite star and click history style change in a ListView adapter? (http://pastie.org/8523389#54) Dec 02 17:30:56 nm found it Dec 02 17:35:19 lads, look what I found on CL http://madison.craigslist.org/mob/4219669284.html Dec 02 17:40:22 uh oh Dec 02 17:43:38 looks like the classified got you excited Eeeeeee Dec 02 17:55:28 Does anyone know about using GCM with debug builds? Dec 02 17:55:32 Which keystore should/do I use? Dec 02 17:57:24 doesn't matter. Dec 02 17:59:32 Does anyone know how do deal with GoogleCloudMessaging kicking back a "SERVICE_NOT_AVAILABLE" when i try to register my device? Everything was working until i uninstalled and reinstalled the app. Now it refuses to re-register. Dec 02 17:59:51 yeah buddy Dec 02 17:59:52 Other device (which has registered) continues to work fine. Dec 02 18:00:19 hey i've never used eclipse. I just want to import existing code so I can then export Dec 02 18:00:22 But I can't get the phone to pull a new ID. Dec 02 18:00:25 having some difficulty Dec 02 18:00:38 export as gradle* Dec 02 18:00:52 hwrd|work: I use it with debug builds. I had a keystore and used that for registration. Dec 02 18:01:07 hwrd|work: Now the weird thing is, at no point do you need that API key to receive messages. Dec 02 18:01:19 Eeeeeee: oh... whaaaa haha Dec 02 18:01:25 hwrd|work: (the one that you generate for the Android App that requires the SHA1 key from the keystore) Dec 02 18:01:37 hwrd|work: For the backend, you'll need a "web" key. Dec 02 18:01:39 Yeah I guess I could just use adb to send an equivalent intent Dec 02 18:02:06 hwrd|work: to test it? Dec 02 18:02:07 it imported code the first time Dec 02 18:02:16 then i exited, and it won't let me reimport it Dec 02 18:02:51 Eeeeeee: Yeah, just to test it... I could just fake the intent that my broadcast receiver is looking for... I think Dec 02 18:02:57 At least, I should be able to Dec 02 18:03:17 ? Dec 02 18:03:17 Hi. Dec 02 18:03:22 hwrd|work: When i was doing my original testing, I used curl to send the JSON message to GCM which the app then would receive. Dec 02 18:03:22 you talking to me? Dec 02 18:03:36 hwrd|work: (before i had a backend working) Dec 02 18:03:58 Eeeeeee: Yeah. But I can't register with a debug key... because other people have different debug keys etc Dec 02 18:04:07 And I don't want to make like... one debug keystore Dec 02 18:04:20 err no clue what you're talking about Dec 02 18:04:33 Eeeeeee: i think he's got his nick complete wrong. :P Dec 02 18:04:37 i'm having trouble with eclipse, and importing Dec 02 18:05:05 Krampus: I did :-( Dec 02 18:05:21 Both of you guys are the worst shade of red in textual :-( Dec 02 18:05:21 hwrd|work: You're using the HTTP method, not the new CCS, yeah? Dec 02 18:05:43 red and sexual? Dec 02 18:06:02 Eeeeeee: usually it's the other way around. Dec 02 18:08:00 it's the perfect mixture of sexuality and violence http://i.imgur.com/5vKiCkG.jpg Dec 02 18:08:53 needs a shiny gleam on the teeth, and a CREST logo Dec 02 18:09:39 i'll be in my room Dec 02 18:09:50 ...PAINTING HOMO THINGS Dec 02 18:09:57 Eeeeeee: Anyway, I got what I was trying to get to work working... so thank you! Dec 02 18:10:00 Also Krampus Dec 02 18:10:08 Nicks should be right this time! :-) Dec 02 18:10:12 yeah no problem glad i could help Dec 02 18:10:26 let me swoop in here and take all the credit Dec 02 18:14:14 hwrd|work (btw unless you're talking about some other time, that was all Krampus helping you) Dec 02 18:15:54 is there anyone know how to change the spacing between items on the actionbar? Dec 02 18:15:56 hwrd|work: But yeah, curl is a lot easier than intent injection for verifying your GCM receiver works. Plus you're acutally testing that GCM itself is able to send messages, not just that your app can handle them when they come. Dec 02 18:16:54 I tried with http://stackoverflow.com/questions/9131954/is-there-a-way-to-reduce-the-spacing-between-the-action-item-icons-on-action-bar Dec 02 18:17:02 but it has no effect Dec 02 18:21:26 birthday's tomorrow Dec 02 18:21:41 nexus 5 overnighting :D Dec 02 18:22:13 Eeeeeee: I want one of those. But the price of admission is going to be something like $600 Dec 02 18:22:21 Eeeeeee: possibly closer to $1k Dec 02 18:22:36 eh? Dec 02 18:23:07 Eeeeeee: ~$150 to break current contract. ~$100 to set up wtih new provider. ~$350 for actual device. Dec 02 18:23:13 haha Dec 02 18:23:17 Eeeeeee: +$350 for another one. Wife tax. :P Dec 02 18:23:21 contract just ended so lucky me Dec 02 18:23:37 well net contract Dec 02 18:23:41 was all divided between providers Dec 02 18:23:42 lol @ wifetax X) Dec 02 18:23:57 ee you ever figured how to extend system in emulated android system? Dec 02 18:24:00 lol your wife's too tech savvy Dec 02 18:24:12 mine is up in june i think. My Evo died and i didn't have time to wait for repair turnaround since i need my phone for work. So Evo LTE (with no fucking LTE) and a 2 year contract. Dec 02 18:24:12 get her the cheaper one Dec 02 18:24:21 Eeeeeee: no, she just wants a new phone. I can probably get somethign cheaper for her. Dec 02 18:24:41 heh my contacts been epired for a bit. old phone Dec 02 18:24:57 hers is expired. Mine just has a few months. Probably more like $50 to break Dec 02 18:25:03 XXCoder1 lol I did, but for some reason vboxmanage wouldn't resize vdi files.. dunno why it was working for others Dec 02 18:25:11 despite them changing the contract many times. "Oh, that's not a material change." Dec 02 18:25:13 but that was definitely the problem, thanks again Dec 02 18:25:32 "uh, yes, yes it is. This is the legal definition of a material change." Dec 02 18:25:46 jeez Dec 02 18:25:48 lol there's the $99 ones they keep advertising Dec 02 18:26:05 I refuse to get new device till theres NEW keyboard android device Dec 02 18:26:50 XXCoder1: you'll probably be waiting awhile. :( I dig the physical keyboard, but i don't think the demand is there. Dec 02 18:27:00 yah Dec 02 18:27:08 oh.... I need to get this better more expensive phone because.. uh I'm a.. developer. yeah that's right! I'm a developer, only reason honey Dec 02 18:27:11 in least my epic as it stands rocks hard Dec 02 18:27:47 Eeeeeee: that was my excuse for a tablet. :) Dec 02 18:27:47 "yeah I need 2 tablets 7" and 10", new phone, so on because I'm a dev and need to test em! Dec 02 18:28:04 us developers we need the latest and greatest, I could get into why it matters, but it would just bore you Dec 02 18:28:07 "I want a tablet!" "...are you going to write code for it?" "...maybe?" "*look of disapproval*" "...no..." Dec 02 18:28:23 if it was me though I' require devs to use 2 years old devices Dec 02 18:28:30 no one tells you that developing gives you the ultimate excuse for always having to buy the best new phone Dec 02 18:28:31 Eeeeeee: well in my case, it was for a class, which means work will reimburse. Dec 02 18:28:31 so whatever programs made would be speedy lol Dec 02 18:28:48 lol Dec 02 18:29:11 "oh xt is too slow? code better!" ;) Dec 02 18:29:47 i actually got a tablet too before i knew i would get a nexus Dec 02 18:29:57 I love my nexus 7. Dec 02 18:30:00 also just got a kindle paper white Dec 02 18:30:02 I bought 32 gb touchpad for $200 Dec 02 18:30:15 got a 1st gen for cheap.. How much better are the newer ones? Dec 02 18:30:23 is it a huge difference? Dec 02 18:30:30 heh I love my nook simple touch. I owned it so hard, and added no refresh 2 Dec 02 18:30:38 Eeeeeee: i don't have a reference, but my understand is that yes, much better. Dec 02 18:30:40 dunno mines old too lol Dec 02 18:30:49 haha Dec 02 18:31:24 no refresh 2 = 1 bit color and does not blink refresh means page turns is very fast (and leaves slight "dirt" from last pages) Dec 02 18:31:47 you can literally play movie and games on nook simple Dec 02 18:31:57 I dont need to do that but could lol Dec 02 18:31:57 Eeeeeee: higher resolution, faster processor, more memory/storage, a second camera, and wireless charging. Dec 02 18:32:18 is camera much less crappy on new hp tablet? lol Dec 02 18:32:28 dang Dec 02 18:32:46 brother just got a nexus 10.. first time messing around with one. I was amazed Dec 02 18:33:06 I probably sound like an idiot, was like "omg... omg... OMG" Dec 02 18:33:46 sounded rather Dec 02 18:37:33 I wonder if theres no refresh hack for kindle paper white too lol Dec 02 18:38:51 what is that exactly? Dec 02 18:39:02 you know how it blinks each page? Dec 02 18:39:11 where the screen doesn't refresh and you see the character accents build up? Dec 02 18:39:20 yeah mine blinks like 3-5 Dec 02 18:39:23 nah it would clear away old stuff too Dec 02 18:39:28 but you can make it change per page Dec 02 18:39:30 Eeeeeee: considered the 10, but didn't want THAT much tablet. Dec 02 18:39:31 just will have bit derbis Dec 02 18:40:35 how much? Dec 02 18:40:45 http://www.theverge.com/2012/2/23/2818426/nook-simple-touch-no-refresh-eink-root Dec 02 18:40:49 i didn't know nooks had e-ink readers Dec 02 18:40:55 not enough to bother me reading Dec 02 18:41:05 really? I have nook and nook simple Dec 02 18:41:08 what's the purpose, save battery life? Dec 02 18:41:21 orginial nook I will keep forever since it has free 3g for life Dec 02 18:41:32 nice Dec 02 18:41:42 ebook reader lasts long time Dec 02 18:41:59 my simples at 3rd week without recharge with 1+ hour reading everyday Dec 02 18:42:00 i wish their were developer apps available for kindles Dec 02 18:42:07 i Dec 02 18:42:13 kindle is hard to hack and modify Dec 02 18:42:16 i've went through 2 keyboard kindles Dec 02 18:42:21 ya Dec 02 18:42:32 nook nah once rooted you can do whatever. very old android 1.2.1 though Dec 02 18:42:44 so if high enough api it cant be run on nook Dec 02 18:42:51 one from falling asleep, and who knows what. the other froze up, and since it's so hard to troubleshoot i couldn't do much about it Dec 02 18:43:52 btw have you found an efficient way to convert pdfs to epub/mobi? Without headers/page numbers? Dec 02 18:44:06 easy Dec 02 18:44:09 get calibre Dec 02 18:44:18 got it Dec 02 18:44:30 page numbers is biggest problem Dec 02 18:44:40 theres plugins I thinbk for stripping css and making your own Dec 02 18:45:56 tried using regex, but after converting to html the page numbers used the same selectors so couldn't target them really. Went through one book manually. never ever doing that again. Dec 02 18:46:07 page numbers dunno its included as text in pdfs maybe theres someone that made script to kill em off Dec 02 18:46:38 yeah when you has hundreds of books its really not festiable to go book by book manually. Dec 02 18:47:01 was gonna make a photoshop script that crops header and footer and cycle through entire pdf Dec 02 18:47:27 http://www.mobileread.com/forums/showthread.php?t=51930 Dec 02 18:47:33 but i hate switching to windows. thanks anyway. seems there should be something Dec 02 18:47:43 if it's straight off google i read it ;D Dec 02 18:48:09 oh sweet Dec 02 18:48:14 yeah i'll check this out, thanks Dec 02 18:48:16 yeah Dec 02 18:48:30 its still per book but faster than each and each page Dec 02 18:49:09 hmm other guy posted about pdfreflow Dec 02 18:49:16 it can kill off header and footer Dec 02 18:49:46 other one mobipocket creatopr Dec 02 18:51:31 Hello Guys. Anyone else here not able running openGLES Tutorial Code? (before the Matrix kicks in, simply get the BackScreen) Dec 02 18:51:37 test Dec 02 18:52:02 wonder if that test was success or not lol Dec 02 18:52:48 sweet yeah pdfreflow seems more complex, but rather stay in ubuntu then run wine or switch over Dec 02 18:52:59 yeah Dec 02 18:53:15 did you watch video in nook link? lol Dec 02 18:53:19 thanks btw Dec 02 18:53:24 np Dec 02 18:53:24 yeah it looks awesome Dec 02 18:53:35 way more features/options Dec 02 18:53:39 kindle seems bland now Dec 02 18:53:52 yeah kindle is capped so cant do much Dec 02 18:54:02 guys playing angry bird in nook now Dec 02 18:54:13 lol on e-ink? Dec 02 18:54:17 yep Dec 02 18:54:21 3:40 Dec 02 18:54:29 on capped bw so didn't watch much Dec 02 18:55:15 limited bandwith sucks Dec 02 18:55:21 i'm on unlimited Dec 02 18:55:51 t-mobile phone gets here tomorrow then i'm free Dec 02 18:56:35 cool Dec 02 18:56:43 my phones on this weird plan Dec 02 18:56:54 unlimited sms, data, so on, but 0 minute voice Dec 02 18:58:49 hi, i have a thread/runnable that fetches some strings from a website then sends those strings to the main activity via a handler and the mainactivity saves them in a database Dec 02 18:58:52 wow that's weird. I always wondered what the e-ink technology was capable of, other than text based utility Dec 02 18:59:08 If I'm relatively "novice" developer... with just basics. Should I learn start tinker around with the Android Studio ? Dec 02 18:59:20 i'm wondering how I should handle if the user leaves the app while it's still downloading the strings Dec 02 18:59:22 I just hpe eink tech stays alive long enough for better tech to come out. Dec 02 18:59:31 d.android.com bluesm Dec 02 18:59:41 hmm depends on how developed android studio is? Dec 02 18:59:52 i would recommend checking out android studio Dec 02 19:00:15 Eeeeeee: ? Dec 02 19:00:23 Eeeeeee: Why that link ? Dec 02 19:00:50 have you done the tutorials yet? Dec 02 19:01:35 I basically done even one little app... :). I know the basics... like lifecycle and resources, and dimensions. Basic stuff Dec 02 19:01:40 What's the suggested strategy for architecting this sort of code structure? is that good/bad? Dec 02 19:02:16 using a service i believe porten, that runs regardless of whether user leaves app Dec 02 19:03:20 bluesm ahh i gotcha, check out android studio. I wouldn't upgrade when it prompts you though Dec 02 19:03:23 stick with the stable version Dec 02 19:04:04 LOL http://lifehacker.com/5939425/play-playstation-games-on-your-rooted-nook-simple-touch Dec 02 19:04:38 XXCoder1 im sure it will i mean tablets just aren't good for reading if you're an avid reader Dec 02 19:04:50 Eeeeeee: But basically Android Studio is have full functionality. There is no things that I can't do in Android Studio that I could do in Eclipse + plugin? - like signing app, and such a features ? Dec 02 19:05:06 I just use my nook for reading basivally but its amazing how far we can go with a nook lol Dec 02 19:06:32 Sure you're right. But Google will be switching over eventually. That's what's behind my whole decision making process, and the UI seems laid out better. Use what you're comfortable with Dec 02 19:07:14 bluesm check out this tutorial I found recently http://www.ashokgelal.com/2013/01/writing-a-real-android-app-from-scratch-the-world-beyond-the-hello-world/ Dec 02 19:08:40 also another one i really liked https://github.com/spacecowboy/AndroidTutorialContentProvider Dec 02 19:09:19 yeah i'm going to get one of these nooks eventually Dec 02 19:10:04 just got 3 new devices, but you've convinced me so once i get bored with these def will check them out Dec 02 19:10:23 lol ok Dec 02 19:10:35 theres newer light up ones I didnt like how they looked Dec 02 19:10:43 the lght cover is so sensive Dec 02 19:11:06 sega http://www.ubergizmo.com/2012/09/nook-simple-touch-runs-a-sega-genesis-emulator/ lol Dec 02 19:11:27 btw you can install kindle on nook Dec 02 19:11:47 if you didnt have calibre you could still read kindle books no problem lol Dec 02 19:14:54 Eeeeeee: He tries to make an app from scratch ? Without ANY template ? Nice... Dec 02 19:16:18 eee https://www.youtube.com/watch?v=9fbD753xE-U this is how it looks like with no refresh hack 2, 1 bit color and very fast refresh. Dec 02 19:16:45 its emulator thats running bit slow Dec 02 19:17:11 still, pretty amazing since its almost running ps1 game full speed Dec 02 19:17:13 bluesm only tutorial I've found where he takes you through the whole process of adding different libraries/elements and has a lot of helpful advice. Keep in mind though that he hasn't finished the series yet. Tutorial is at 4-5/9 atm Dec 02 19:17:45 gettin vid unavailable Dec 02 19:17:48 Eeeeeee: What "atm" does mean ? Dec 02 19:17:55 at this time Dec 02 19:17:56 at the moment Dec 02 19:18:03 er yes lol Dec 02 19:26:14 Eeeeeee: aah you used fraction... :D Dec 02 19:27:16 Talkig about black/white and android, I just scanned my phone Dec 02 19:27:19 The result: http://i.imgur.com/ZKuRQiX.jpg Dec 02 19:27:25 it's greyscale. wtf Dec 02 19:27:49 The bok was next to the phone to confirm that the scanner was actually scanning in color :p Dec 02 19:27:52 book* Dec 02 19:30:44 Peetz0r, not all that strange. an lcd screen isn't going to behave the same as paper. if you could turn the scanner lamp off during the scan i bet you'd see something closer to correct. Dec 02 19:31:09 Peetz0r, any reason why you didn't just use the screen-shot feature? Dec 02 19:31:34 lol scanner no like your phone Dec 02 19:31:43 timemage: no reason, just playing around :p Dec 02 19:31:43 yeah can just do screenshot. Dec 02 19:38:20 Peetz0r that looks awesome. can you post the original color background? Dec 02 19:40:00 does it have depth and a bit of noise/texture or is that a side effect? the top and bottom looked like polished metal too that's awesome looking Dec 02 19:49:43 hello Dec 02 19:50:25 My camera doesn't launch on my android 4.1 tablet. How to check is my camera device is not broken? Dec 02 19:50:31 any ideas? Dec 02 19:50:46 Eeeeeee: it's the 30c3 wallpaper :) Dec 02 19:50:56 and the phone is a JiaYu G3 Dec 02 19:51:18 Eeeeeee: wallpaper: http://evelynschubert.com/30C3/wallpaper/ Dec 02 19:51:51 karab44: maybe try camera launcher app Dec 02 19:51:57 it makes camera run Dec 02 19:52:06 Eeeeeee: the phone: http://www.ejiayu.com/en/Product-8.html Dec 02 19:53:02 karab44: https://play.google.com/store/apps/details?id=de.uniquedroid.camlauncher.nexus.seven maybe Dec 02 19:53:04 okay, I have this unfameous" Unfortunately Gallery has stopped" error Dec 02 19:53:10 any time I try to launch camera Dec 02 19:53:21 ah thats bit more detailed Dec 02 19:53:41 XXCoder1: do I need any root? Dec 02 19:53:49 okay I'm on the way Dec 02 19:53:51 for that app no but its not worth it Dec 02 19:53:59 I thought you couldnt even run it Dec 02 19:54:05 ok :) Dec 02 19:54:20 I hope this works, otherwise it could be hw deffect Dec 02 19:54:22 using cyanogen? Dec 02 19:54:32 nope, stock vanilla software Dec 02 19:54:40 android version? Dec 02 19:54:46 4.1.1 Dec 02 19:55:00 hmm not sure if thats late enough but try freeze gallery Dec 02 19:55:06 then launch camera Dec 02 19:55:40 how to freeze gallery? Dec 02 19:55:49 its in settings / app Dec 02 19:55:56 find gallery in system apps list Dec 02 19:57:10 if your version has it, it will have "disable" button Dec 02 19:57:12 okay I can force stop or clear data/cache Dec 02 19:57:25 no uninstall update or disable? drat Dec 02 19:57:34 try wipe data/cache might be bad data Dec 02 19:57:48 disable is inactive Dec 02 19:58:00 force stop Dec 02 19:58:02 I tried to wipe data and even reflash brand software Dec 02 19:58:03 <|0xD34D|> you may want to use adb logcat to see what is really going on when it crashes Dec 02 19:58:14 see what happens to disable Dec 02 19:58:24 still inactive Dec 02 19:58:48 check with |0xD34D hes very good on fixing or in least discovering problems like this Dec 02 19:58:53 maybe I have to have substitute already installed Dec 02 19:58:58 hes like tier 3 tech support ;) Dec 02 19:59:43 okay so I will install this app you showed me and try once again with disabling standard gallery Dec 02 20:00:04 okay but what about camera app. I can not find it in "All apps" Dec 02 20:00:14 it's simply not there Dec 02 20:00:29 I dont think it shows up at all, but could be wrong Dec 02 20:00:30 it would be nice to clear data/cache from camera app Dec 02 20:00:43 that app is useless when you can launch camera (even if crashes) Dec 02 20:00:51 <|0xD34D|> it gets removed when there is no camera Dec 02 20:01:00 its for special cases where camera cant be launched normally Dec 02 20:01:08 <|0xD34D|> aosp actually checked for a rear camera so if you only have a FFC it will be removed Dec 02 20:01:43 okay but I have two cameras and none of them working Dec 02 20:01:52 it simply crashes Dec 02 20:01:56 <|0xD34D|> then you really should check what logcat says Dec 02 20:02:06 yes it says it's fatal... Dec 02 20:02:08 <|0xD34D|> it will provide you with more info than a dialog that says the app crashed Dec 02 20:02:21 yep Dec 02 20:02:24 <|0xD34D|> can you pastebin the logcat? Dec 02 20:02:25 E/AndroidRuntime( 1017): FATAL EXCEPTION: main Dec 02 20:02:29 okay I will Dec 02 20:02:33 <|0xD34D|> preferably more than one line :P Dec 02 20:03:05 <|0xD34D|> oh and you may want to take the conversation into #android instead of #android-dev Dec 02 20:03:17 http://pastebin.com/0RAVN5S1 Dec 02 20:03:29 hehehe Dec 02 20:03:47 i thouth #android is for software/users only Dec 02 20:04:17 <|0xD34D|> and this is for app development Dec 02 20:04:21 <|0xD34D|> are you working on an app? Dec 02 20:04:33 <|0xD34D|> or are you maybe modifying the ROM? Dec 02 20:04:47 this is software/hardware problem Dec 02 20:05:10 I have fatal exception I don't believe #android people are able to help Dec 02 20:05:36 <|0xD34D|> are you sure this is stock? Dec 02 20:05:49 <|0xD34D|> I see a lot of VM verify errors Dec 02 20:05:56 lots errors about audio too Dec 02 20:05:57 weird Dec 02 20:06:10 well, updated from official site Dec 02 20:06:34 let's say it is not very exclusive brand, maybe that's why Dec 02 20:06:51 <|0xD34D|> maybe it was a bad update Dec 02 20:07:08 yeah Dec 02 20:07:24 hmmm well it happens Dec 02 20:07:40 <|0xD34D|> because unless you modified the framework using smali/baksmali, you really should not be getting all those DVM errors Dec 02 20:08:27 hello Dec 02 20:08:49 how do i make a layout that i can show and hide within the program? Dec 02 20:09:12 |0xD34D|: what do you mean by saying smali/backsmali? Custom ROM? Dec 02 20:09:13 i need to make it so the user can set up certain perameters within the program before he can use it Dec 02 20:09:32 but it then hides itself when you actually use it Dec 02 20:09:42 <|0xD34D|> karab44: smali/baksmali is a tool that can decompile and re-compile apks and android .jar files Dec 02 20:09:55 sounds easy to do ficklepickle default one boolean setting to false Dec 02 20:10:02 if its false settings must be set Dec 02 20:10:08 it sounds like hacking Dec 02 20:10:15 #android for user support .. Unless you're developing an app this isn't the right channel Dec 02 20:10:15 "isSettingsSet" bool or something Dec 02 20:10:24 it's a remote control for a program Dec 02 20:10:27 <|0xD34D|> SimonVT: already said that but thanks Dec 02 20:11:01 you need to set up the ip adress of the jukebox (server on computer) and then it connects and you can press pause, play, etc Dec 02 20:11:16 Guys you looked into the logs. Is there possibility to check is this camera issue a HW or SW problem? Dec 02 20:11:32 it does sound like software issue Dec 02 20:11:53 Well, strike 2 then :) 3 and you're out Dec 02 20:12:04 and how do you unhide the layout at runtime? Dec 02 20:12:19 but somewhere low-level I believe, maybe driver level, because I checked skype and it doesn't work either Dec 02 20:12:52 Peetz0r yeah that looks sweet Dec 02 20:13:17 okay guys, thanks a lot! I will investigate it a bit more then. Dec 02 20:13:34 XXCoder1: |0xD34D| thank you :) Dec 02 20:13:49 np and I do suggest #android next time. im there too Dec 02 20:13:56 okay Dec 02 20:15:15 one more question Dec 02 20:15:19 no gtfo Dec 02 20:16:11 <|0xD34D|> nou Dec 02 20:16:25 hahaha just breaking your balls :) Dec 02 20:16:27 hate indulging these questions cause then they come back Dec 02 20:16:29 LOL Dec 02 20:35:21 anyone shed some light: The Google Play services resources were not found. Check your project configuration to ensure that the resources are included. Dec 02 20:35:56 wild guess: missing permissions in manfest or something Dec 02 20:36:00 have the google-play-services-lib added to libraries Dec 02 20:36:07 or maybe project library? Dec 02 20:36:09 ok Dec 02 20:36:28 well thats end of my guesses someone take over? :D Dec 02 20:37:12 yea added those relevant entries to manifest as well Dec 02 20:37:44 clean/rebuilt? Dec 02 20:37:50 yea Dec 02 20:38:03 something really stupid I'm overlooking i'm sure, just can't get around it Dec 02 20:38:34 i'm in the same boat right now Dec 02 20:47:56 fml, device didn't auto connect to wifi. looks like that error is...I dunno. not critical or existant. admob loaded fine when I toggled wifi Dec 02 20:48:10 even with that error still occurring Dec 02 20:53:24 * g00s awaits a new gradle plugin release that works with gradle 1.9 :| Dec 02 21:02:08 yeah, my Maps API v2 prohject also says "The Google Play services resources were not found." but everything works fine regardless Dec 02 21:02:16 just another error to ignore :p Dec 02 21:05:58 anyone know is java 8 lambdas requires a change to the jvm ? Dec 02 21:06:20 i've been having a lot of fun with RxJava lately, but without a shorthand for lambdas its kinda ugly Dec 02 21:06:47 i'm hoping not, so google can do something like with build tools 19, giving us some java 7 features Dec 02 21:07:20 but optional methods in interfaces is nice too ;) java adds some spiffy things :) Dec 02 21:07:30 * java 8 Dec 02 21:08:19 good day Dec 02 21:10:30 is java still being worked on? Dec 02 21:10:52 of course :) Dec 02 21:10:59 cool Dec 02 21:11:04 java 8 looks like the biggest improvement in a while Dec 02 21:11:45 Error retrieving parent for item: No resource found that matches the given name '@style/Theme.AppCompat.Light'. Dec 02 21:12:46 Fixed this error before, but forgot exactly what I did to accomplish it. Tried like 8 different fixes on stackoverflow Dec 02 21:13:39 Hello! Dec 02 21:13:45 would appreciate any input Dec 02 21:14:44 i guess one fix is minsdk=15 Dec 02 21:15:24 appcompat should have been delivered 2 years ago; i think its mostly moot now Dec 02 21:15:37 unless you have an existing app you're retrofitting Dec 02 21:15:44 with lots of users ;) Dec 02 21:20:14 installing android takes awhile Dec 02 21:20:23 or I'm just a noob nvm Dec 02 21:22:28 no I'm trying to import this appi found on github, literally just want to get it running Dec 02 21:23:07 remember solving this problem a million times just forgot exact steps to reproduce Dec 02 21:26:48 doesn't the android webview cache static resources like CSS and JS? I have Cache-Control: max-age=86400 set for all resources but it keeps refetching them Dec 02 21:27:32 cacheMode is LOAD_DEFAULT Dec 02 21:39:58 What's the best way to calculate volume from the given sampled data from AudioRecord? Dec 02 21:40:25 i bet alankila knows that if he is around Dec 02 21:44:35 is there a way to manually move the blue MyLocation marker in maps v2? Dec 02 21:45:24 why do you want to move it? :S Dec 02 21:46:46 wow cool Dec 02 21:47:16 hi Dec 02 21:47:33 i just read Dec 02 21:47:36 Apps and their ads must not display advertisements through system level notifications on the user’s device, unless the notifications derive from an integral feature provided by the installed app (e.g., an airline app that notifies users of special deals, or a game that notifies users of in-game promotions). Dec 02 21:47:52 what did they mean by in-game promotions Dec 02 21:50:49 javaDon: stuff you can buy in game Dec 02 21:51:42 i thought so Dec 02 21:52:23 they mean the equivalent of transactional based emails, as long as you're notifying the user of _your_ games promotion Dec 02 21:57:27 pfn: hey man Dec 02 21:57:40 pfn: just wanted to say thanks, i managed to make my project work :) Dec 02 21:58:03 pfn pfn is on vacation :) Dec 02 21:58:11 oops, steeve :) Dec 02 21:58:36 ahhh, well good for him :) Dec 02 21:58:52 thought he might want to check it out https://twitter.com/XBMCtorrent/status/407624150757670913/photo/1/large Dec 02 21:59:14 Go + CGO + SWIG, all of that on Android Dec 02 22:00:08 Eeeeeee check out http://modernfarmer.com/2013/12/spiders-fruit/ Dec 02 22:01:42 wow, haven't used SWIG in a long time Dec 02 22:01:56 bankai_ because I want my user to be able to use the phones location, or put in a zip code to search from if they are out of state Dec 02 22:02:37 why use that, steeve? Dec 02 22:02:47 seand: use what ? Dec 02 22:03:03 Go + CGO + SWIG, all of that on Android Dec 02 22:03:09 ah Dec 02 22:03:17 for my project, XBMCtorrent Dec 02 22:03:21 part of it is done in Go Dec 02 22:03:28 and it wraps libtorrent-rasterbar (C++) Dec 02 22:04:10 lots of people asked for Android support (since XBMC runs on OUYA and those Android set top boxes/tv sticks) Dec 02 22:04:19 and the downloader is done in Go + CGO + SWIG Dec 02 22:11:44 hello Dec 02 22:12:09 steeve looks sexy Dec 02 22:12:22 Is there a Workaround to still use some notificiation like "Toaster" inside of the openGL Thread? (or may I switch to a mainthread of a activity?) Dec 02 22:12:43 dcow: thanks, if you're into XBMC, check it out, XBMCtorrent: http://j.mp/xbmctorrent Dec 02 22:13:28 steeve I followed xbmc back when my xbox was my mediaplayer (= haven't checked up on it in awhile but you've convinced me I should Dec 02 22:14:08 dcow: still a bit involving, but definitely worth using Dec 02 22:14:49 i mean, XBMCtorrent now runs on Windows, Mac, Linux 32 & 64 bits, Linux ARM (raspberry pi) and now Android ARM Dec 02 22:14:56 all cross compiled from my Mac Dec 02 22:16:13 and on Linux and Android, it uses external link mode, which produces a unique binary Dec 02 22:16:13 steeve are you compiling an arm binary and then running it? (it's not an android "app") Dec 02 22:16:15 Go is awesome. Dec 02 22:16:28 dcow: it's a console binary yeah Dec 02 22:16:39 dcow: run from the Python addon running in XBMC Android Dec 02 22:16:56 btw, because i'm torrenting Dec 02 22:17:05 and lack of sparse file support on FAT32 Dec 02 22:17:09 i can't download to the SDCARD Dec 02 22:17:14 which is a big bummer Dec 02 22:17:35 do you know if I can loop mount a drive image without root ? Dec 02 22:17:39 ulikely i think :/ Dec 02 22:17:53 you need root to do a remount of the sdcard (I think) Dec 02 22:18:03 on regular linux, not possible Dec 02 22:18:21 dunno if android is much different, but I think you'll have to have root Dec 02 22:18:28 dcow: well, my strategy was to zerofill a file, mke.2fs it, and loop mount it Dec 02 22:18:44 you could always try Dec 02 22:18:45 g00s lol. I can picture the guys in some over dramatic vineyard war room that came up with this plan. No research, no experts, just pure fantasy. "we'll use, get this guys, spiders to take care of ALL our problems.. Larry: Tranchulas?? Fucking, no, Larry.. We need to be smart about this." Dec 02 22:22:53 dcow: if you have an OUYA and want to help, I'm looking for devs with OUYA to test it Dec 02 22:23:03 can you create non-gradle based projects in android studio anymore, or only import them now? Dec 02 22:27:03 Anyone use testflight? Dec 02 22:27:18 steeve OUYA> Dec 02 22:27:20 ?* Dec 02 22:27:30 dcow: game console on Android, runs XBMC nicely apparently Dec 02 22:27:47 steeve I'll take a look Dec 02 22:28:05 steeve my first order will be compiling xbmc for android Dec 02 22:28:50 ahaah Dec 02 22:28:56 oh I know this OUYA thing Dec 02 22:29:11 dcow: no need, buils exist Dec 02 22:29:31 dcow: nighly builds have libstagefright (hardware video decoding) even Dec 02 22:29:37 steeve just for fun. Dec 02 22:29:42 dcow: oh well :) Dec 02 22:29:47 steeve but yeah I'm seeing now that builds exist Dec 02 22:30:10 cool that they have it linking with libstagefright Dec 02 22:33:59 dcow: http://mirrors.xbmc.org/nightlies/android/ Dec 02 22:36:02 <[deXter]> Lol this icon theme is $241.. wtf? https://play.google.com/store/apps/details?id=kov.theme.tersus Dec 02 22:36:48 [deXter]: presumably so no one installs it. (see the description) Dec 02 22:37:18 <[deXter]> Still, it's a bit stupid, why not just remove the app from the play store? Dec 02 22:37:24 <[deXter]> Or give it away for free Dec 02 22:37:59 1) because then it won't show up in search results or old links to give people the new info and 2) I assume it's because they aren't allowed it, as implied by the description. Dec 02 22:40:08 anyone using the apk-downloader chrome extension? Dec 02 22:43:41 cm10.1 cannot modprobe scsi_wait_scan anyone know how to fix this? Dec 02 22:44:23 nevermind got it Dec 02 22:46:33 cm10.1 cannot modprobe scsi_wait_scan (compiled kernel and module) anyone know how to fix this? Dec 02 23:10:05 I'm having a really weird performance problem with TextView. Dec 02 23:11:49 Calling delete on the underlying Editable to remove the first line of text causes sendSpanChanged to be run for every single SpanWatcher Dec 02 23:12:39 Which in turn calls getSpans and causes tons of allocations, forcing the GC to run for ~50ms. Dec 02 23:36:48 FYI I did not set up those SpanWatchers, they are probably either TextView-internal or they come from the ClickableSpans that I'm using. Dec 02 23:38:12 I have 200 ClickableSpans, each on its own line in my 200 line TextView. Dec 02 23:39:01 deleting just the first line causes about 220 calls to sendSpanChanged Dec 02 23:39:59 kbwt: it sounds to me like it's working as intended. SpanWatcher.onSpanChanged is meant to be called when the location of span in question is changed.. and deleting the first line moves all subsequent spans Dec 02 23:40:09 Using the ADT virtual device application, can I create a virtual device based on the specs of a physical device I have plugged into a USB port? Dec 02 23:40:50 phix not automatically (to my knowledge) but there are good profiles already in place and if you know your specs you can just replicate that anyway Dec 02 23:41:01 Unfortunately, I don't know much about textview, and can't offer any advice on workarounds :) Dec 02 23:41:39 JesusFreke: Look at android/text/SpannableStringBuilder.java line 567 Dec 02 23:42:06 It looks to me like it should only be called if the Span is in the region that's being replaced Dec 02 23:44:18 The performance problem is so severe, my app is dropping frames constantly. If I increase the number of lines to 500, I get an ANR and the UI takes about 2 minutes to draw one frame. Dec 02 23:44:29 "if (spanStart > newReplaceEnd) {" Dec 02 23:44:50 if (nbNewChars != 0) Dec 02 23:45:04 pretty sure it is 0 when called from delete() Dec 02 23:45:35 oh Dec 02 23:45:37 no, it's negative Dec 02 23:46:15 well this pretty much renders SpannableStringBuilder completely unusable as a "circular buffer"-style TextView backend Dec 02 23:46:29 that's what it sounds like :) Dec 02 23:47:50 What can I use instead? Someone before me must have needed something like this before, pretty much anything that shows a log. Dec 02 23:52:00 what's more aggravating than being on hold? having to listen to static radio hold music Dec 02 23:52:47 Someone should create a pandora based on-hold music system or something Dec 02 23:53:10 "Please type the name of a pandora seed for your on-hold music listening experience" Dec 02 23:56:34 oh man that would be awesome Dec 02 23:57:28 or just one of those systems that one or two companies have where they call you back Dec 02 23:57:32 so you don't have to wait on the UI thread Dec 02 23:59:09 I don't understand what added all those SpanWatchers anyway. Dec 02 23:59:24 ClickableSpan doesn't look like it does anything by itself really. Dec 02 23:59:54 'grep -R SpanWatcher /opt/android-sdk-update-manager/sources/android-18/android/' doesn't show anything useful Dec 02 23:59:57 who watches the spanwatchers Dec 03 00:05:14 JesusFreke omg that's an awesome idea Dec 03 00:07:59 hard part would be getting big businesses to pay for it. the more people holding and not hanging up the more money spent on agent time. And certain companies like the one that i'm on hold with probably don't care Dec 03 00:18:44 hey. I'm trying to send a Message to a Looper in a background thread, but when I msg.sendToTarget() or bghandler.sendMessage(msg), it is executed on the UI thread instead Dec 03 00:25:00 Ge0rG O.o Dec 03 00:25:15 g00s: what? Dec 03 00:25:17 Did your handler do .getLooper() from your HandlerThread ? Dec 03 00:26:15 HandlerThread t = new HandlerThread() Dec 03 00:26:18 t.start() Dec 03 00:26:30 Handler h = new Handler(t.getLooper()) Dec 03 00:26:38 i think ;) Dec 03 00:27:53 * Ge0rG created the Handler in the constructor of the Thread, not in the run(). this is probably it Dec 03 00:29:04 yeah Dec 03 00:29:04 g00s: does t.getLooper() block until that looper is initialized? Dec 03 00:29:09 yes Dec 03 00:36:42 SpannableStringBuffer.delete calls SpannableStringBuffer.replace which calls SpannableStringBuffer.sendToSpanWatchers which ... loops over all the spans, then for each span calls SpannableStringBuffer.sendSpanChanged, which ... loops over all the spans to get only those that are SpanWatchers, and calls onSpanChanged for each one Dec 03 00:36:53 No wonder this generates tons of garbage Dec 03 00:38:57 seriously, the inner loop will allocate about 10000 arrays of SpanWatchers although my TextView is only 200 lines long. Dec 03 00:39:16 and contains only 404 Spans, total Dec 03 00:40:00 g00s: thanks very much Dec 03 00:40:09 Ge0rG yw Dec 03 00:40:11 though now the background thread is blocking the ui thread. funny Dec 03 00:40:39 for the short time of getLooper() blocking, thats probably harmless Dec 03 00:41:05 Ge0rG or you could try RxJava :) Dec 03 00:41:40 g00s: getLooper blocks forever :( Dec 03 00:41:53 oh, thats not right Dec 03 00:43:15 MyHandlerThread is initialized properly, its run() method is called and completes Looper.prepare(). but still, UI thread remains blocked Dec 03 00:44:13 forget to start() the handler thread ? Dec 03 00:44:31 g00s: nope, started it allright Dec 03 00:44:31 thats the only thing i could see causing getLooper() to block forever Dec 03 00:44:42 mSend = new IntercomSendLooper(mIntercom); Dec 03 00:44:42 mSend.start(); Dec 03 00:44:42 mSendHandler = new Handler(mSend.getLooper()); Dec 03 00:44:56 IntercomSendLooper is a subclass of HandlerThread Dec 03 00:45:16 shouldn't need to subclass HandlerThread Dec 03 00:45:53 g00s: I need to perform some initialization tasks in run() Dec 03 00:46:10 well, is your run() calling super.run () :) Dec 03 00:46:59 g00s: no, Looper.loop() Dec 03 00:47:15 try it Dec 03 00:47:22 instead of that Dec 03 00:47:53 i'd try to put init stuff in your new thread's ctor, but Dec 03 00:48:01 hope it works Dec 03 00:49:50 g00s: it is blocking init stuff, that's why it is in run Dec 03 00:50:06 not variables init, but rather hardware init Dec 03 00:52:52 g00s: super.run() is illegal after Looper.prepare(), now I'm putting the long-blocking stuff into onLooperPrepared Dec 03 00:53:05 and not overriding .run() at all Dec 03 00:53:08 ah, ok Dec 03 00:53:11 sounds better Dec 03 00:54:50 wow, f*cking with Looper can make adb hang Dec 03 01:06:33 i notice many google websites act unpredictably when using from VPN. for example, Play returns very weird search results, google+ gives 404 or urls Dec 03 01:06:56 and my vpn endpoint is in the same state, not another country :| Dec 03 01:07:19 hi g00s Dec 03 01:08:48 Anyone, I am curious, is it better to insert items one at a time into an array list in a different object or save entries into a temporary array list locally and pass the ArrayList to a different object for storing? Dec 03 01:10:33 hah Dec 03 01:10:41 oops - was scrolled up :) Dec 03 01:13:08 So I noticed this whole fragment thing has been added in the last release of Android Studio Dec 03 01:13:21 what "fragment thing"? Dec 03 01:13:22 Anyone understand it's purpose.. besides confusing me? Dec 03 01:27:31 Hi, i was hoping someone could help me by telling me what on earth is going on. I have a series of checkboxes in a list view, but I notice onCheckedChange is being fired when I scroll through the list. Why is it doing this? Dec 03 01:27:46 because you are calling setChecked in your adapter Dec 03 01:28:15 I need to rip the SpannableStringBuilder out of the Android source, to work around a bug. Dec 03 01:28:28 But it uses all sorts of internal stuff that isn't even documented... Dec 03 01:28:39 I can't just subclass it, because the bug is in a private method Dec 03 01:28:55 the API suck anyways. you can write a better one while you're there Dec 03 01:29:23 the public entry point touches all sorts of internal stuff, so I can't @Override that either Dec 03 01:29:51 JakeWharton, I'm calling setChecked from in getView(), but I followed the examples on stackoverflow to have an array that stores true/false depending on if its checked Dec 03 01:31:19 I still don't understand why setOnCheckedChangeListener / onCheckedChange would be called during scrolls though Dec 03 01:35:08 ir7466, why dont you paste some code in pastebin for review? Dec 03 01:39:56 lou_ - http://pastebin.ca/2488370 Dec 03 01:43:03 This is just, I don't even... Dec 03 01:44:09 TextView.getEditableText().delete(0, endOfFirstLine) does multiple-kilobyte memory allocations *at least* quadratically in the number of Spans Dec 03 01:44:16 ir7466, am thinking that this is your problem: taskChecked.setChecked(_itemChecked.get(position)); Dec 03 01:44:29 everytime that you scroll, getView gets called Dec 03 01:44:35 cubic even if you use SpanWatchers Dec 03 01:44:57 so instead of just calling delete to remove the first line from my TextView, ... Dec 03 01:45:07 lou_ I added that bit because it said to in http://stackoverflow.com/a/4804366/2884981 Dec 03 01:45:12 and because it gets called to refresh the rows as the list is scrolled, you get that setchecked routine being called Dec 03 01:45:29 I am forced to use this monstorsity: textView.setText(new SpannableStringBuilder(buffer, buffer.getSpanStart(spans[1]), buffer.length())); Dec 03 01:45:32 I understand ir7466; but, I think, that is your issue nonetheless Dec 03 01:45:39 I had the problem before though Dec 03 01:45:45 Which performs quite well! Dec 03 01:45:48 that's why I searched around Dec 03 01:45:52 I don't know what you intend to do; but, that seems to be the reason Dec 03 01:46:15 setChecked is outside the listener though Dec 03 01:46:30 sure; but, it's still inside the getView method Dec 03 01:46:34 I'm seeing onCheckedChanged() inside the listener being hit Dec 03 01:46:42 which is called when you scroll Dec 03 01:46:49 Summary: using delete() to remove the first line of a 500 line TextView (~1 span per line) will freeze up your device and get you ANRs while the GC is running Dec 03 01:47:00 but shouldn't onCheckedChanged only get called when the button is physically selected? Dec 03 01:47:06 and replacing the whole text by a substring of itself works fine Dec 03 01:47:28 it should; but, it can also be called when you run this line: taskChecked.setChecked(_itemChecked.get(position)); Dec 03 01:47:28 s/text/SpannableStringBuffer/ Dec 03 01:47:41 physical selection calls setChecked Dec 03 01:48:06 and no, it shouldn't only be called when physically modified Dec 03 01:48:36 ir7466, without that line of code, do you get the results that you want? Dec 03 01:48:45 without the setChecked? Dec 03 01:48:48 yes Dec 03 01:49:18 no, like I said it was doing this before. I only added the setchecked line because that stackoverflow article suggested it might fix the problem Dec 03 01:50:00 what was your previous problem? the same thing? Dec 03 01:50:01 if I remove it, I still end up with strange results caused by scrolling / checkbox states being changed Dec 03 01:50:05 yeah Dec 03 01:50:22 the only reason I added the setChecked line was in an effort to fix the issue Dec 03 01:51:00 for one, the way that you structured the getView is different from the way I do it; so, that' throws me off completely Dec 03 01:51:24 i'm happy to make any changes you suggest, i'm completely stumped Dec 03 01:52:28 ok ir7466, I will post the way am used to doing it. You will have to fill in the blanks from it because I won't have the time to explain line by line what am doing Dec 03 01:52:36 ok Dec 03 01:54:21 I have a feeling I've set up setOnCheckedChangeListener / onCheckedChanged incorrectly Dec 03 01:55:36 Can someone help me out here I keep getting a null exception Dec 03 01:55:47 even though I passed the variable and its even showing up in the console Dec 03 01:56:01 stack trace and code Dec 03 01:58:14 bankai_: Java: http://pastebin.com/29UJfGjb Dec 03 01:58:18 Stacktrace: http://pastebin.com/348juuPQ Dec 03 01:59:54 By default there is now a Fragment Layout? Dec 03 02:00:07 Sorry, that is back to what I was saying earlier Dec 03 02:00:12 AndreYonadam: would you post the guts of android.app.ActivityThread.performLaunchActivity Dec 03 02:00:37 lou_: that is an android framework class. It's not part of his application Dec 03 02:01:22 JesusFreke: what do you think of this line: com.techdigy.drawingderivatives.GraphScreen.plotPoints Dec 03 02:01:35 yeah, that's what you want to look at Dec 03 02:01:47 that seems to show a NullPointerException Dec 03 02:02:16 Here's my main activity http://pastebin.com/DngYAZEU Dec 03 02:04:48 I actually tried hardcoding a variable in there, and it still gave me a null pointer exception Dec 03 02:04:52 don't really know what's up Dec 03 02:05:38 AndreYonadam: the NPE is happening in GraphScreen Dec 03 02:07:04 JesusFreke: Could it be something with the path class that's causing the issue? Converting the double into a float? Dec 03 02:07:20 AndreYonadam: it's because you're trying to use a null reference :) Dec 03 02:07:47 look at the specific line mentioned in your stack trace, and find what things may be null there Dec 03 02:09:08 JesusFreke: I hardcoded the floats to drawpath2.moveTo(450f,309f); and it still gives me a null pointer Dec 03 02:09:14 for that same line Dec 03 02:09:23 AndreYonadam: the floats have nothing to do with it Dec 03 02:09:38 I just don't know if i am supposed to do the design stuff in the activity_main.xml or the fragment_main.xml Dec 03 02:09:39 AndreYonadam: you can start with a breakpoint in that method where it's failing and step through it to find the line of failure Dec 03 02:09:40 if that's the line mentioned in the stacktrace, then the only thing that could cause an NPE is if drawpath2 is null Dec 03 02:09:52 ahh Dec 03 02:11:19 Im gunna use eclipse lol, I thought this Android Studio could be cool cause its based on IntelliJ Dec 03 02:11:28 But this Fragment thing has me all lost Dec 03 02:11:42 lou_ JesusFreke I can't belive I wasted hours thinking it was the variable that I was inputing into the meathod that was causing a meathod and that it turned out to be the paint variable itself was never created. Thanks guys! Dec 03 02:13:03 Gentoon: Idk what you are referring to. I have been using AS for a while now and I don't have any issues\ Dec 03 02:15:29 Thanks guys. I think I learned a valuable leasson with this. Dec 03 02:15:37 I was having problems for hours. Dec 03 02:16:29 lou_: Start a new project in AS.. on the 4th screen do you see a text box called Fragment Layout Name? Dec 03 02:17:26 AndreYonadam: I've been there before. It's good that JesusFreke spelled it out for you. Dec 03 02:17:59 Starts with 2 tabs open MainActivity.java and FragmentMain.xml? Dec 03 02:18:51 Gentoo Dec 03 02:18:57 And activity_main.xml looks a lot different than usual Dec 03 02:18:57 Gentoon: I do see that Dec 03 02:19:23 it use tags Dec 03 02:19:53 Yes I am not used to this.. I am used to just using activity_main.xml Dec 03 02:20:01 making all my design changes there Dec 03 02:20:11 I do not understand wjat the new project template has done Dec 03 02:20:12 am guessing that it's prepping the new view structure to be a main bucket (Activity_Main) filled with FragmentView. This actually makes sense Dec 03 02:20:38 So I am to work in this Fragment? Dec 03 02:20:52 I don't think that you are forced to do so Dec 03 02:20:55 hello all - is this the correct channel for chatting about SL4A/Python for Android or is there a dedicated channel? Dec 03 02:21:01 not in the main_activity.xml Dec 03 02:21:14 but, it's telling us that we should start thinking that way Dec 03 02:21:20 But I do not even understand what is in the main_activity.xml code now Dec 03 02:21:32 these tags Dec 03 02:21:51 Forbearance: you could try, but i doubt anyone here can help. Ask #android guys they might know a more appropriate channel Dec 03 02:21:54 I liked the way it was setup before lol Dec 03 02:21:54 alright Gentoon, I shouldn't be doing this since am in the middle of something; but, let me look Dec 03 02:22:05 lou_: Thanks Dec 03 02:22:54 Gentoon: have you looked online for any news on this new structure? Dec 03 02:23:10 Seems it is setup to use some frame layout by default now? Dec 03 02:23:17 A little Dec 03 02:23:35 But I am just learning the basics, so a major change like this really screws me up haha Dec 03 02:25:02 okay bankai_. it seems as if the project is kind of old/unmaintained. I have it working 100% but there are some concerning warning messages... :P Dec 03 02:25:24 doesn't sound like 100% to me :P Dec 03 02:25:37 example Dec 03 02:25:41 None of the video tutorials use this new version with all these new changes Dec 03 02:25:56 WARNING: linker: libpython3.2.m.so.1.0 has text relocations. This is wasting memory and is a security risk. Please fix. Dec 03 02:26:18 same for a lot of modules. but my basic script which is all I really need works fine. Dec 03 02:26:29 Gentoon: the project is still being created. I haven't looked at it yet Dec 03 02:27:11 still, I don't think it's a good way to get your feet wet since most of the posts online may not be dealing with this yet Dec 03 02:27:39 I think, you are right to go to eclipse in the meantime until you get more experience in the environment Dec 03 02:28:34 I guess, I just like IntelliJ so much better Dec 03 02:28:58 If I could just wrap my head around this fragment thing Dec 03 02:32:03 I think the fragment is just a frame maybe? Dec 03 02:32:45 is there anyone here doing ANDROID and Google App Engine EndPoints? I am getting some errors as I Generate BackEnd EndPoint... "Gradle: module 'gae010-AppEngine' won't be compiled. Unfortunately you can't have non-Gradle Java module and Android-Gradle module in one project." Dec 03 02:32:50 you are familiar with fragments, right? Dec 03 02:33:29 also, to confirm... AppID and Project ID are the same thing? Dec 03 02:35:02 No I have not gotten that far into my tutorials.. Sucks they are now a fundamental part of any AS project it seems now Dec 03 02:35:09 So I will have to jump ahead I gues Dec 03 02:37:41 Gentoon: Fragments were in eclipse as well Dec 03 02:37:47 they have been around since Honeycomb Dec 03 02:38:04 Do not know what that has to do with anything I jjust said Dec 03 02:38:06 I think, you should get your head wrapped around that first. Dec 03 02:38:13 I just said that I have not learned them yet Dec 03 02:38:29 the project hasn't loaded for me and I have to leave soon Dec 03 02:38:55 didn't need to know them yet, but now that AS has changed and inclusded a fragment in the basic project template I gues I have to skip ahead in my lessons just to understand what they are Dec 03 02:39:14 It takes 3 seconds to start a new project.. Dec 03 02:39:21 are you using a 286 or something? Dec 03 02:39:23 man i keep running into these weird bugs with gradle that lands me on some desert thread on google groups with only a handful of other people. err Dec 03 02:39:25 My point that fragments isn't a fundamental part of AS, it has been a fundamental part of the Android OS since Honeycomb. Dec 03 02:40:02 No.. I have never used a Fragment in any eclipse project and have never seen them in any tutorial except for in the very last lessons Dec 03 02:40:11 You do not need them to create an app Dec 03 02:40:23 Gentoon: you don't; but, you should Dec 03 02:40:24 Now I need to understand tham to use As at all Dec 03 02:40:31 Thats great Dec 03 02:40:49 this has been the case for a while now. You need to spend the time learning about fragments Dec 03 02:40:53 I am just learning basics.. Don't believe in memorizing a million things before getting hands on, I learn hands on Dec 03 02:41:02 No you don't Dec 03 02:41:15 ok. have fun. am done for the night Dec 03 02:41:24 As just added this into the default project template with the last update Dec 03 02:41:37 that is why they arent in any of the video tutorials Dec 03 02:41:48 Yeah, you are a great resource lmao Dec 03 02:42:01 Anyone in here actually develop? Dec 03 02:42:18 I am starting Dec 03 02:43:07 Phonegap application Dec 03 02:43:11 hey, hate to interrupt, but is there anyone here that could take a look at a gradle stacktrace for me Dec 03 02:43:32 been fighting this shit for hours and i'm burnt out Dec 03 02:46:09 sorry ee, I had to google Gradle. I might be able to use it on this project. Dec 03 02:46:19 so thanks Dec 03 02:46:38 lol Dec 03 02:46:52 it's the new android studio build system Dec 03 02:47:17 but intellij still uses a different build system Dec 03 02:47:28 and it runs into bugs if you don't do stuff just right Dec 03 02:47:45 I have recently made the jump back into development using open source apps and the poor documentation is maddening Dec 03 02:47:46 heh, managed to gimp it by importing all required modules and calling os.system('clear') Dec 03 02:47:51 eat that, silly errors Dec 03 02:48:07 now I just have to hope that the 'security risk' is actually not a thing. living on the edge Dec 03 02:48:11 anyone doing Google Appengine EndPoints here with android? Dec 03 02:48:34 will eventually Dec 03 02:50:30 http://pastebin.com/q5TSeSRZ please if anyone could look at it, or suggest a way to start over to recreate the iml files.. This is an app I found on github and manually converted to gradle cause eclipse kept throwing errors Dec 03 02:51:52 i might have built the project a couple of times before remembering to add gen sources Dec 03 02:52:30 * Doofenshmirtz heads spins Dec 03 02:52:54 I've tried most of the SO fixes without luck **** ENDING LOGGING AT Tue Dec 03 02:59:58 2013