**** BEGIN LOGGING AT Wed Apr 02 02:59:59 2014 Apr 02 03:00:08 and this what they did with new x1 carbon keyboard Apr 02 03:00:10 is just a joke Apr 02 03:01:06 i've got last years carbon x1 Apr 02 03:01:08 and it's fantastic Apr 02 03:01:15 gordon_: I have x230 with i5 Apr 02 03:01:18 i'm... not so excited about the new keyboard on this years Apr 02 03:01:50 dragorn: it's part of "let's drag everything down to apple's level because that's what random dude on the street said when ambushed by marketing dept" Apr 02 03:02:28 dragorn: I was comparing new macbook air and x1 Apr 02 03:02:34 air got faster ssd Apr 02 03:02:41 Are you guys happy using X1? Apr 02 03:03:31 * p_l is happy with his X230, after adding memory and SSD. Only the screen, eh...) Apr 02 03:04:38 sensen: I'm pretty much linux-only and a long-time thinkpad fan. I love my 2013 x1. Apr 02 03:37:58 Is there any situation where code from one activity will run concurrently while another is open Apr 02 03:38:16 sure, why not Apr 02 03:40:26 are these edge cases or is that an actual feature? I can't find any resources for such a circumstance Apr 02 03:40:44 they are bugs that you introduce Apr 02 03:41:25 activity, or app. absolutely, for app. you could probably get a callback into a dead activity. And then there's multi-activity platforms like whatever hacks samsung has for dual-app Apr 02 03:48:52 it's easy to get callbacks into dead activities Apr 02 03:59:01 Somebody has experience working with GCM Upstream messaging feature? Apr 02 04:17:47 How do you detect if the home key was pressed (versus the power button or back button). Apr 02 04:19:07 i dont think you can Apr 02 04:19:15 you just get onPause(), which happens from a bunch of things Apr 02 04:19:51 back button is easy Apr 02 04:19:54 there's onBackPressed Apr 02 04:20:08 home, power, task-switch, etc. only result in onPause Apr 02 04:20:14 and the rest of the rigamarole Apr 02 04:20:55 emem, and for that matter, you shouldn't be caring which of those events occurred Apr 02 04:21:49 well, here's the thing. When a users hits the home button and then come back to the game, everything is just as it was. Great. But when they hit the power button, everythings messed up. Apr 02 04:22:00 Not sure why they're being treated differently. Apr 02 04:22:10 your surface probably got destroyed Apr 02 04:22:24 there's variations on what happens when you press home vs. power, etc. Apr 02 04:22:33 detect the situation correctly and adjust Apr 02 04:23:15 so you can't independently treat home differently than power, yet they do different things? Apr 02 04:23:55 the side-effects are different, and treating them differently would be meaningless Apr 02 04:24:02 detect what happened, and adjust accordingly Apr 02 04:24:13 knowing that it's home vs. power off doesn't change what you need to do Apr 02 04:24:22 it'd just result in some hacky code that wouldn't work right in all situations Apr 02 04:25:27 well, I got your first part down. "Detect what happened" All the enemies on the screen respawn in random locations and the level automatically moves up. Apr 02 04:25:40 "Adjust accordingly" that should be fun. :) Apr 02 04:26:05 "i'd like the model that comes with the soft door handle" http://i.imgur.com/Pe1igMk.jpg Apr 02 04:26:11 if you want, you can register for the screen_off broadcast Apr 02 04:26:14 but it really won't help you Apr 02 04:26:14 pressing home though and everyone is just as they were Apr 02 04:26:33 it won't /change/ the problem you're facing Apr 02 04:31:03 the screen_off broadcast if it truly detects when the screen is off, could fix the issue. Why do you think it would not? Apr 02 04:31:24 emem: you're probably hitting a situation, as mentioned, where it destroys your surface or something. Unfortunately, that will also happen in a low memory condition or any number of other things probably Apr 02 04:31:27 you must remember that home/power isn't the only way to escape an activity Apr 02 04:31:42 emem: so hacking it to ONLY work in power off means it'll break if they hit home, open a browser, and the system cleans up to make more ram, or something Apr 02 04:32:07 emem: so just fix that you have to save more state and see if you're recreating more of your system on resume and you'll probably be better off Apr 02 04:34:29 how would detecting that the screen turned off fix your issue Apr 02 04:36:28 oh chromecast. why are you so awesome and yet so shitty Apr 02 04:39:17 g00s: :) Apr 02 04:39:34 where is button Apr 02 04:40:35 if you start an sqlite transaction but don't mark it as successful and then begin another transaction again, are the actions from the previous transaction discarded? Apr 02 04:40:46 according to the standard beginTransaction() method i mean Apr 02 04:40:49 for sqlitehelper Apr 02 04:41:20 generally what a transaction does Apr 02 04:42:57 I can't tell if you've finished responding or not :/ Apr 02 04:45:39 interesting, there is no way to dynamically register a broadcast receiver for a specific class (not Intentfilter) Apr 02 04:46:07 gotta love the symmetry there Apr 02 04:46:24 ? Apr 02 04:46:35 sendBroadcast(new Intent(this, MyClass.foo)) not possible Apr 02 04:46:49 broadcasts must have an action Apr 02 04:46:51 so i think the real problem in my implementation is that I'm making the super smart move of doing an internet in a transaction Apr 02 04:47:01 MyClass.foo is a targeted broadcast Apr 02 04:47:12 doing an internet? Apr 02 04:47:29 doing an internet OP Apr 02 04:51:09 Hello, anyone know of sites showcasing beautiful UI patterns, specifically for listview? Apr 02 04:51:19 *UI examples Apr 02 04:51:57 depends what you class as "beautiful" ;) Apr 02 04:52:32 the app ive been working on looks somethingbetween 1.5-2.3 Apr 02 04:52:42 i have some ideas to bring it up to date Apr 02 04:52:52 lasserix add cards to all the things and make the text 50% grey Apr 02 04:52:53 but now just trying to figure out how to style the listiview Apr 02 04:52:59 and light Apr 02 04:53:03 and super condensed Apr 02 04:53:05 :) Apr 02 04:53:06 g00s being serious? Apr 02 04:53:12 only kinda Apr 02 04:53:15 hehe Apr 02 04:53:17 yeah i hear you Apr 02 04:53:19 anyhow, there is cardslib Apr 02 04:53:24 if that suits you Apr 02 04:53:34 don't use black, that means you don't know shit about color Apr 02 04:53:56 i was going to add that as user preference Apr 02 04:54:08 basically i have a list view that will eventually be expandable type Apr 02 04:54:34 i finally rolled the entire thing as a preallocated linearlayout (since I know the max rows, makes it very, very fast now) Apr 02 04:55:02 and now just trying to spruce it up, since the app has taken low priority at the same time we just launched in on the store (sigh) Apr 02 04:55:25 lasserix: What's the app? :) Apr 02 04:55:59 Dont know if i am comfortable sharing that at this time :P Apr 02 04:56:13 it's a porn app ... Apr 02 04:56:25 but we did just get a review on techcrunch... Apr 02 04:56:36 lasserix: When you are, then. Apr 02 04:56:49 bankai_au: Lol.. Apr 02 04:57:29 yeah that difficult part is now they have a new project, so even though we just released the app, i can't give it the attention it deserves now that we have people commenting / user feature request etc so I got to do it all on my own time Apr 02 04:57:39 lasserix: Did you send TC news tip to get a review? Apr 02 04:57:53 I dunno, that was over my head Apr 02 04:58:10 we just went from 50 downloads to a couple hundred in two days :) Apr 02 04:58:45 the product owner / pm isn't scheduling further development time on it ? Apr 02 04:59:03 seems the world is some huge dilbert cartoon Apr 02 04:59:04 we have forked a project that has highest priority Apr 02 04:59:10 hehe yeah very much so Apr 02 04:59:12 Well, getting in the news usually will give you a bit of traction. It'll last a few days. Apr 02 04:59:41 i just have a lot of polish i wanted to do, but they see no value in that since we aren't technically a consumer end app company or anything Apr 02 04:59:46 if you get any traction, and the idea is good, you'll have a competitor right away Apr 02 04:59:51 so … gotta keep moving Apr 02 05:00:05 totally, just they have b2b plans not b2consumer Apr 02 05:00:21 g00s: I agree. Keep moving. Apr 02 05:00:21 i se Apr 02 05:00:39 Yeah so basically it'll mean ill do all that stuff on my own dime Apr 02 05:00:43 heh Apr 02 05:00:56 It's really awesome to get some good reviews though! Apr 02 05:01:45 Anyways did anyone know -- there used to be that site-- that showcased like the best of the best of good android UI style apps? Apr 02 05:03:03 Not sure about best of the best, but these are useful to me: http://www.androidviews.net/ http://www.androiduipatterns.com/ Apr 02 05:03:18 g00s been doing anything interesting lately? Apr 02 05:03:42 thanks sensen Apr 02 05:04:24 lasserix hm, just reworking an old froyo app for api 14 Apr 02 05:05:01 oh cool, 14 has some cool stuff Apr 02 05:05:49 the new bluetooth stuff in 4.1 is giving me headaches Apr 02 05:06:09 i guess 4.1 is not so new, which is even less excuse to be headache inducing Apr 02 05:07:08 oh yeah i remember you posting up bluetooth blues the other day, is the point of utilizing blue tooth just convience? Apr 02 05:08:12 lasserix nah, its the point of the app Apr 02 05:08:38 its not really a good api to play around with unless you have lots of devices to test Apr 02 05:08:39 ahh Apr 02 05:08:53 a few years ago, google did say the emulator was going to get BT support Apr 02 05:08:57 but … google Apr 02 05:09:18 anyhow, that wouldn't even help … needs to be different chipsets Apr 02 05:09:54 are you doing phone to phone or phone to periphral? Apr 02 05:10:02 phone to peripheral Apr 02 05:10:27 same peripheral works fine on my old phone, is trouble on my n7 2013 Apr 02 05:10:37 it does connect eventually, once that happens its all good Apr 02 05:11:13 ahh cool Apr 02 05:11:46 seems like N7 is having problem with SDP of this device Apr 02 05:14:01 have you seen those bt tile locators/ Apr 02 05:14:41 yeah Apr 02 05:14:53 over the interwebs :) Apr 02 05:19:14 it would be nice if java had static locals like C++ Apr 02 05:19:44 why Apr 02 05:21:04 because only that function uses it :) Apr 02 05:21:20 and its silly to init each time the function is called Apr 02 05:21:31 so i put it class scope Apr 02 05:21:40 for everyone to see ;) Apr 02 05:22:13 I'd rather avoid static Apr 02 05:22:15 although, only recently c++ static init was thread safe; used to be a ball of hurt Apr 02 05:22:29 gordon_ its basically an immutable EnumSet Apr 02 05:23:16 couldn't you use static factory method and just run that as the parameter to you method? Apr 02 05:23:38 omg factories already ! Apr 02 05:23:50 lasserix :D Apr 02 05:23:56 i dunno that's what they're called ive come to understand Apr 02 05:24:49 depends on the library Apr 02 05:24:55 tfu, usage Apr 02 05:33:06 apricity is a wonderful word. Apr 02 05:33:09 oops Apr 02 05:40:12 static locals... might as well use a class to encapsulate it Apr 02 05:43:13 soI noticed that calling notifyDatasetChanged doesn't foce my ListView to redraw Apr 02 05:43:26 that was very disappointing Apr 02 05:44:23 I have an AsyncTask processing the data in the adapter and manipulating the data to show current information, and in the onPostExecute call notifyDatasetChanged Apr 02 05:44:29 but the list didn't update Apr 02 05:44:59 am I now forced to put all that in the fragment/activity and set the reset the data to the adapter every time instead of doing this in the adapter? Apr 02 05:50:42 poosh which adapter you using? Apr 02 05:51:11 or you should post up your code Apr 02 05:51:21 sounds like a call is being made in the wrong place Apr 02 05:51:26 it _should_ work Apr 02 05:51:51 unless you are using the simple adapter, then i think you have to manually use the convience methods of add / remove or wahtever on the list /adapter Apr 02 05:53:38 lasserix: using a BaseAdapter Apr 02 05:53:48 my own one, extending BaseAdapter Apr 02 05:54:32 but what I mean is, that the model tier of MVC (the adapter) cannot tell the View tier (ListView) that the dataset has changed Apr 02 05:54:38 and that is pissing me off Apr 02 06:01:28 thepoosh: sounds like you are doing it wrong Apr 02 06:02:13 yeah, should work Apr 02 06:03:01 +think modifying the adapter backing data of ui is a no/no too. but you only get caught if manipulating off thread when adapter is notified to update Apr 02 06:03:08 off ui* Apr 02 06:07:06 canvs2321: yeah, pretty much dicided I'm taking the processing out to the activity/fragment instead Apr 02 06:07:16 thaught notifyDatasetChanged will take care of that Apr 02 06:07:21 i was wwrong Apr 02 06:07:23 :S Apr 02 06:07:31 I'm still but a young paduan Apr 02 06:13:41 it should Apr 02 06:13:54 post your code? Apr 02 06:28:14 notifyDataSetChanged() works 100% Apr 02 06:28:19 if it's not updating, you're doing it wrong Apr 02 06:32:03 pfn: how can I be doing anything wrong? I change the dataset, call this and put a breakpoint in getView Apr 02 06:32:13 and it's only called after I start scrolling Apr 02 06:32:25 and not when I call notifyDatasetChanged Apr 02 06:32:32 I didn't override the method Apr 02 06:32:45 so the only logical conclusion is that you're wrong Apr 02 06:34:18 yep, I'm wrong Apr 02 06:34:23 notifyDataSetChanged doesn't work Apr 02 06:34:26 yep Apr 02 06:34:28 it does Apr 02 06:34:28 the whole of google is trolling you Apr 02 06:34:35 what?! Apr 02 06:34:43 what are you talking about?! Apr 02 06:35:05 thepoosh: just post some code Apr 02 06:36:30 I can't, company code, but basically, it's an AsyncTask that in the onPostExecute calls mData = result; notifyDatasetChanged(); Apr 02 06:36:40 and the listview doesn't redraw automatically Apr 02 06:36:52 actually, when I think about it it kinda makes sense Apr 02 06:37:09 the poosh just obfuscate the code Apr 02 06:37:22 ie strip all but the adapter, rename your variables Apr 02 06:37:24 np Apr 02 06:37:51 but id guess mdata is not pointing as a correct reference Apr 02 06:38:00 also, you might want to deep copy whatever it is before you push it Apr 02 06:38:10 I'm extracting the AsyncTask to the fragment that holds the listView and will call also invalidate() Apr 02 06:38:22 only way i can see notifyDatasetChanged not working, is you didn't set the adapter on the listview Apr 02 06:38:29 heh Apr 02 06:38:35 it's already set to the listview Apr 02 06:39:31 hey people, how you doing? I'm trying to run a sample app on Android Studio but when I import the project, all "import android.*" references are red Apr 02 06:39:38 You're not updating the list your adapter has a reference to, you're just setting some variable in your fragment to a new list Apr 02 06:39:42 Where can I add the basic android libraries? Apr 02 06:40:25 I lose it on this ide, I can't find a damn thing sigh Apr 02 06:40:43 the list is not pointing to the pointer but to the actual dataset? Apr 02 06:40:55 I see this in the android souce "Invokes DataSetObserver.onChanged() on each observer. Called when the contents of the data set have changed. The recipient will obtain the new contents the next time it queries the data set. " Apr 02 06:41:05 and it makes sense that only after a scroll it will update Apr 02 06:41:10 which is what I'm seeing Apr 02 06:44:24 No, it doesn't make sense that it only updates after scrolling Apr 02 06:44:36 so I don't understand what is happening Apr 02 06:45:08 ListView will query the adapter on the next drawing cycle when notifyDataSetChanged is called Apr 02 06:48:19 here is the base code of my AsyncTask that is a member of the adapter class Apr 02 06:48:20 http://pastie.org/private/dmlji20ibslo8qz3jm5h1w Apr 02 06:48:48 all the methods here manipulate mData which is the ArrayList that defines the dataset Apr 02 06:48:57 if more code is needed I will post it Apr 02 06:49:28 the debugger showed that notifyDatasetChanged was called, but getView was only called after I started scrolling Apr 02 06:49:59 this could mean that on my devices (for now Samsung based devices) the cycle isn't called until a user touch Apr 02 06:52:46 are you spawning a new thread inside your AsyncTask? if so that could result it problems if thread hasn't completed before you onPostExecute Apr 02 06:53:19 And you're sure the dataset is updated before you call notifyDataSetChanged? Apr 02 06:53:32 You really should do both the same place Apr 02 06:54:16 canvs2321: I am not spawning a new thread in the asyncTask, just using the executor. Apr 02 06:54:51 executor as in seperate non blocking thread? Apr 02 06:54:56 SimonVT: most of the time I'm am not changing the items in the dataset, but updating them with an Iterator Apr 02 06:55:12 canvs2321: the AsyncTask built in executor Apr 02 06:55:20 aka doInbackground Apr 02 06:57:17 sorry, disconnected, did I miss anything? Apr 02 06:57:28 i'm saying in your doInBackground you do all those methods you call in your switch block til returned? Apr 02 06:57:58 yes, it's all synchronous Apr 02 06:58:37 Updating == changing Apr 02 06:59:01 Also, only update the dataset on the main thread Apr 02 06:59:02 SimonVT: no, changing single values in the objects Apr 02 06:59:07 never creating new objects Apr 02 06:59:29 Is the object different after you're done? Then it changed Apr 02 07:00:12 is calling setNewField(newData) changing to a new object? Apr 02 07:00:19 that sounds not correct Apr 02 07:00:47 .. Apr 02 07:00:52 Nevermind Apr 02 07:02:43 anywat, for now, I'm extracting this to the fragment and dealing with it from there Apr 02 07:04:04 I have a trivial question about Android web development I'm fairly sure you've heard a million times.... : It's awesome that the Android webbrowser scales down my website. It's not so great that it also decides that it wants to word-wrap my text lines way too soon. So what's the trick to prevent it from doing that? Apr 02 07:04:50 anyone update to java se 8 :? Apr 02 07:04:54 updated* Apr 02 07:05:01 what does it matter Apr 02 07:05:03 you can't use it on android Apr 02 07:06:29 just wondering if there are any issues with development Apr 02 07:06:50 i suppose the jre / jit could have improved over 7 making the ide a little snappier Apr 02 07:07:01 maybe bring those gradle builds down from 22 sec to 20 sec Apr 02 07:07:07 :D Apr 02 07:07:20 g00s: how's your dog? Apr 02 07:07:31 jake is doing fine, thanks :D Apr 02 07:07:37 snuggled in a ball here Apr 02 07:07:48 no issues with development Apr 02 07:07:55 just set your source/target compat to the right versions Apr 02 07:08:16 tagrudev what platform ? Apr 02 07:09:30 g00s, ubuntu Apr 02 07:09:36 k, nm Apr 02 07:15:27 g00s: did you end up brushing his teeth? Apr 02 07:15:47 oh no, thats for a pro :) Apr 02 07:16:05 he'll have to go under, so i'm kinda not excited being that he's kinda old (12) Apr 02 07:16:14 tagrudev, retrolamda? Apr 02 07:16:30 re: why you'd want java 8 Apr 02 07:16:32 alex_PP are you using retrolambda ? i was curious about it Apr 02 07:16:39 not yet Apr 02 07:16:40 kinda nervous too Apr 02 07:16:46 on my list of stuff to try Apr 02 07:16:52 just not had time Apr 02 07:16:54 it sounds slow Apr 02 07:17:00 means installing java 8 Apr 02 07:17:13 even though lambda in C# is awesome Apr 02 07:17:22 alex_PP, just digging Apr 02 07:17:30 (that is the only version of lambda I know...) Apr 02 07:22:03 I'd rather avoid something like retrolambda... Apr 02 07:23:34 gordon_ yeah, its based on some shaky assumptions Apr 02 07:23:46 although, now that the impl is finalized .... Apr 02 07:24:14 but i don't like using tooling / libs that change the "texture" of my design in a way, where if it breaks, i have to back out of a lot of shit Apr 02 07:24:28 well Apr 02 07:24:31 what can I say ? Apr 02 07:24:50 that android sometimes is threated like sh* ? :) Apr 02 07:24:51 the retrolamda site has some good discussion on how it works Apr 02 07:25:08 oh, and then there is the gradle plugin, one more thing to break Apr 02 07:25:12 * g00s passes for now Apr 02 07:26:28 alex_PP is the canary :) Apr 02 07:27:44 hmmm Apr 02 07:27:56 i feel pretty vulnerable now Apr 02 07:28:42 one of our android teams got bitten by androidannotaions, now everyone's very sceptical of anything that isn't core Apr 02 07:29:57 i think its like how investors have different personalities; some are more risk takers Apr 02 07:30:45 in enterprise, usually one had to get approval of libraries by some governing function Apr 02 07:31:15 sounds beaurocratic and icky, but serves a purpose Apr 02 07:31:48 many of these android libraries - they are pretty funny to me Apr 02 07:31:57 just like web dev is such an pile of crap ... Apr 02 07:32:03 everybody tries to make android easier Apr 02 07:32:17 but all the libraries become worse than the original problem Apr 02 07:33:07 just like there is a new JS mvc framework every week Apr 02 07:33:29 but its just lipstick on a pig Apr 02 07:33:38 imho XD Apr 02 07:34:43 all it takes is one bad egg ;) Apr 02 07:34:53 and you aren't shipping XD Apr 02 07:35:53 my screen is full of g00s Apr 02 07:36:22 ewww Apr 02 07:36:31 Hi guys. I've a dialogfragment which basically ask the user the username he want to add to the DB. How can I pass my database DAO to that dialogfragment? Apr 02 07:36:45 goos = Growing Object-Oriented Software XD Apr 02 07:36:57 sounds dirty Apr 02 07:37:09 hydroponically Apr 02 07:37:23 *asks Apr 02 07:37:48 bankai_au also "The Global Ocean Observing System" and there is a conference EuroGOOS Apr 02 07:38:06 i came across these reading about IoT and climate change Apr 02 07:38:16 thepoosh: did you solve? Apr 02 07:38:33 working on it Apr 02 07:38:50 extracting the processing to the fragment Apr 02 07:38:57 * pfn wonders how many apps g00s has shipped written in java :p Apr 02 07:39:06 "one egg and it isn't shipping" Apr 02 07:39:07 :p Apr 02 07:39:17 bad egg :) Apr 02 07:39:25 same difference Apr 02 07:39:31 you encounter a lot of bad eggs, apparently Apr 02 07:40:13 yeah, the system i was lead dev on handled all shipment for latin america; 1 hours of downtime was millions lost Apr 02 07:40:21 for DHL Apr 02 07:40:40 i hour of downtime, CEO pays visit Apr 02 07:42:16 thepoosh why dont you pass your change to the onpostexecture, then copy it to your dataset backing the adapter then call notifydatasetchanged? Apr 02 07:42:44 and didchange == false when you pass null Apr 02 07:43:27 * capella hates when all the bosses suddenly know your name Apr 02 07:43:32 also why are you explicitly using a thread in your async task? Apr 02 07:43:42 because doing it wrong++ Apr 02 07:43:53 if you're going to do that, why not just handle this yourself using a handler and a threadpoolexecutor Apr 02 07:44:00 because most of the time I manipulate the data itself and not change it (i.e. change an internal member) and I don't want to set everything from sctach Apr 02 07:44:07 300 patches and you're nobody ... one goof and you're *that* guy Apr 02 07:44:22 thepoosh that's not how they work Apr 02 07:44:35 "manipulate the data itself" = change it Apr 02 07:45:10 well, presumably, when millions are at risk, you have a pretty good qa/staging test-suite Apr 02 07:45:27 pfn: or you wish to have Apr 02 07:45:29 and if you don't.... you'll get one pretty quickly Apr 02 07:45:38 doesn't matter, if you goof, and they don't budget a good setup Apr 02 07:45:42 well, it's really not your fault Apr 02 07:45:46 and if they fire you, well, fuck them Apr 02 07:46:10 unless they're paying you some shitton amount of money to keep a $millions/hr system running Apr 02 07:46:39 ie if i have a b c d e f g where they are counting numbers ( a = 1 b = 2, etc etc) and i either have some "outside change" where the entire set becomes m n o p -- its no different -- than if i change a = 2 because if the UI needs to reflect EITHER change then it will have to redraw itself Apr 02 07:46:53 (if they are paying/budgeting the shittons, then it is your fault) Apr 02 07:47:09 i have not seen a smart list view that only swaps out a row, but the fact is it'll have to relayout itself out anyways Apr 02 07:47:54 so anyways i would recomend you simply try changing onPostExecture param to Hashset Apr 02 07:48:02 then push that hashset into your adapter dataset Apr 02 07:48:07 then call notifydatasetchanged Apr 02 07:48:28 lasserix did i miss a pastebin? i didn't remember seeing any code Apr 02 07:48:34 (passing the hashset from doinbackground), pass null if there is no reason to notifydatasetchanged Apr 02 07:48:38 http://pastie.org/private/dmlji20ibslo8qz3jm5h1w#16,23,30,74,78-79 Apr 02 07:48:52 oic Apr 02 07:49:01 also your use of threads in this async task seems out of place Apr 02 07:52:55 passing a thread into an AsyncTask Apr 02 07:53:25 yes, this is just bizarre Apr 02 07:53:30 thepoosh start over :) Apr 02 07:54:00 g00s: it's not a java thread Apr 02 07:54:04 maybe asynctask isn't the right tool Apr 02 07:54:14 it's the internal name for a chat in the chatting application we're writing Apr 02 07:54:17 it stuck Apr 02 07:54:19 crappy name Apr 02 07:54:30 think of it as "chat" instead of "thread" Apr 02 07:54:33 :S Apr 02 07:54:37 ahh Apr 02 07:54:38 sorry for the confusion Apr 02 07:54:38 okay Apr 02 07:54:40 ok Apr 02 07:54:49 usually I change the name to chat when I post my code Apr 02 07:54:53 the poosh Apr 02 07:54:57 fucking product team Apr 02 07:54:58 :S Apr 02 07:55:04 mActionChangeList and mPresenceChangedList Apr 02 07:55:06 what is this? Apr 02 07:55:16 change list is the data set backing the adapter and changedlist is the dirty map? Apr 02 07:55:41 it changes the avatars for the chat Apr 02 07:56:14 the order and some background colours for different actions Apr 02 08:01:08 lasserix, g00s, canvs2321, pfn: thanks for all the help, I managed to fix this, now I need some more work on getting db calls off the UI Apr 02 08:04:07 why can't i install this app on my nexus 4? Apr 02 08:04:07 https://play.google.com/store/apps/details?id=com.appturbo.appturboUK Apr 02 08:04:16 it says "no eligible devices for app install" Apr 02 08:05:04 smart_ptr: click the install button, it'll tell you that it's not available in your country Apr 02 08:05:26 smart_ptr: love your name Apr 02 08:05:40 Leeds: the install button is greyed out, thoug Apr 02 08:05:48 though * Apr 02 08:06:09 well, that'll be why, almost certainly - on mine, the button is there but I can't choose any devices Apr 02 08:06:19 oh you made it work Apr 02 08:06:26 okay, I guess :) Apr 02 08:07:48 thepoosh: here's another way of doing what you were trying to do http://pastebin.com/iVkBS2wg Apr 02 08:08:38 taking a look now Apr 02 08:08:51 Leeds: is it you who has an idea how we might circumvent this restriction for testing? Apr 02 08:09:30 lasserix: looks interesting, will have a deeper look later Apr 02 08:09:47 its very rough Apr 02 08:09:59 but essentially that's what the async task is doing Apr 02 08:10:20 the handler part is basically what transfers doinbackground (the run method of the runnable) to the UI thread by sending it as a message Apr 02 08:11:14 Usually you'd want to use a singlecachedthreadpool or something instead of reinstantiating a thread (async tasks use cached thread pools) but that's the idea Apr 02 08:11:16 you can read more about it Apr 02 08:12:02 http://developer.android.com/training/multiple-threads/index.html Apr 02 08:12:37 that tutorial is a little more comphrensive for doing slightly more complicated tasks but that's essentially it Apr 02 08:13:15 hi Apr 02 08:13:22 thanks Apr 02 08:13:52 you might also want to either override notifydatasetchanged and make it synchronized if you end up using multiple threads to change adapter or pushing them into an atomic buffer that the adapter can read from Apr 02 08:13:58 is there an opensource lib for draw math function (like sin(), log(), etc) on cartesian plane ? Apr 02 08:14:41 virtx: http://stackoverflow.com/questions/424752/any-good-graphing-packages-for-android Apr 02 08:14:48 lasserix: notifyDatasetChanged will throw if not called from the UI thread Apr 02 08:15:55 nice thanks Apr 02 08:16:23 joe64 is nice if you can use it Apr 02 08:16:26 *jjoe64 Apr 02 08:16:27 thepoosh: oh in that code the UIIHandler is created on the UI thread, hence lives in its space so as long as you pass a message to the handler, the handling of that message is called in the main thread and thus calling notifydatasetchanged from handlemessage wil be garunteed to be called from the main thread Apr 02 08:16:48 just make sure you obtain your messages from the UI thread looper / its handler Apr 02 08:16:55 sure Apr 02 08:17:32 Message msg = Message.obtain(UIHandler) Apr 02 08:18:34 i've gotten into the habit of rolling execution tasks in runnables so i never have to do anything on the main thread :) Apr 02 08:19:06 why use a message Apr 02 08:19:08 just pass it a runnable Apr 02 08:19:21 UIHandler.post(myrunnable) Apr 02 08:19:35 (which implicitly creates a message with the runnable as the body anyway) Apr 02 08:19:42 creates=obtains Apr 02 08:20:59 * g00s wishes Message arg1, arg2 were longs, so they map nicely to sqlite keys Apr 02 08:21:16 you wish a lot of things Apr 02 08:21:16 ohh pfn didn't know Apr 02 08:21:18 cool thanks! Apr 02 08:21:30 bankai_au ;) Apr 02 08:21:47 bankai_au so much of the APIs are boneheaded Apr 02 08:21:57 right now i was trying to acually build a runnable super class that can save it's state so it can be returned as the callable, so it'd be possible to pause the runnable execution but let the thread terminate Apr 02 08:22:10 don't use longs for keys :p Apr 02 08:22:19 do you really even have a long number of items in your db? Apr 02 08:22:21 on android? Apr 02 08:22:23 and then resume it if you had to swap out the priority of what's being executed Apr 02 08:23:00 i use longs for timestamps, which are keys in a temporal db Apr 02 08:23:57 and you're passing these keys in Messages? Apr 02 08:24:01 ok Apr 02 08:24:02 g00s do you know of any example code efficiently using CharArrayBuffer from android.database in conjuction with a non-string generating retrieval datastructure for pulling mass amounts of text type out of sqlite databases? Apr 02 08:25:23 somewhere you always end up having to call ****ing toString at some point, which is making me think the only way to handle bulk retrieval of text type out of sqlite databases on android is to use nio char buffers Apr 02 08:25:49 if anyone knows of such an example i would be very appreciate! ;p Apr 02 08:26:33 lasserix so are you storing a large text blob in sqlite ? Apr 02 08:26:33 huh Apr 02 08:28:41 uhh Apr 02 08:28:43 yeah Apr 02 08:28:48 err Apr 02 08:28:51 not large text blob Apr 02 08:29:00 lots and lots of blurbs Apr 02 08:30:48 basically imagine you are going to iterate over 10000 objects, each with 10 strings, corresponding to 10000 rows in some table: apparently the cursor.getString(col_index) creates a transistory string which, when iterating on numbers like that, causes massive gc hiccups Apr 02 08:31:14 *ephemeral trash = transistory Apr 02 08:31:17 :) Apr 02 08:31:20 Can in app purchases bought on the Android version of an application be transfered on the iOS version of the same application and vice versa? Is there any legal barrier? Apr 02 08:32:08 lasserix yeah, you may try some technique for off-heap storage Apr 02 08:32:15 cff no that was shot down last year by the US Supreme Court in the famous case of Waldo Versus Google Apr 02 08:32:50 Apparently, google owns waldo inside and out and he can't liquidated on the apple store as a result Apr 02 08:32:58 lasserix: and the verict was what? that I can transfer in app purchases back and forth ? Apr 02 08:33:09 s/verict/verdict Apr 02 08:33:25 g00s: yeah that's what I am trying to figure out Apr 02 08:34:15 cff I have no idea, just pulling your leg Apr 02 08:34:32 aham Apr 02 08:34:48 Who should I talk to? Google Play support? Apr 02 08:38:14 hurrah, over 80% of Android users is now on ICS. Time to drop GB support. Apr 02 08:38:59 \o/ Apr 02 08:39:19 oh, myke isn't here. he wouldn't be happy Apr 02 08:43:18 hello guys, another andengine question, I have timer handler which I entity.register then I want pause and unpause, so I do entity.unregister then entity.register again. But after second register onTimePass goes 3-4 times then stop. Why is that? Apr 02 08:44:11 Does someone know of an app that has good integration of facebook social plugin? I am needing to implement it in the app I'm working on, but it's troublesome on quite a lot of levels. Apr 02 08:45:59 i hear the fb apis are quite a pita Apr 02 08:48:57 g00s, the problem with the social plugin, is that you have to use the HTML version through a WebView. This is something that should appear in a listView together with other content as well. It is almost working now, except that the input field and soft keyboard is behaving weird. Apr 02 08:52:23 Does anyone has a clean solution to get my DAO accessible over the whole application, or at least in one of my fragment? Apr 02 08:56:02 Hi all, I got an error like: Can not perform this action after onSaveInstanceState with executing: getFragmentManager().popBackStack();, what can be the solution for this? Apr 02 08:56:52 FrancescoV: you are adding you fragments in the wrong place Apr 02 08:57:20 lasserix, so what is the wrong place? Apr 02 08:57:47 or better, what is the right place? Apr 02 08:57:53 http://www.androiddesignpatterns.com/2013/08/fragment-transaction-commit-state-loss.html Apr 02 08:58:14 bankai_au rxjava 0.17.3 :) Apr 02 08:59:05 lasserix: thanks :) Apr 02 09:02:14 can somebody help me get more info out of the debugger in eclipse? Apr 02 09:02:35 my app is accessing a cursor which has already been closed, but I never actually close cursors directly (they're all managed by CursorLoaders) Apr 02 09:03:25 so I have a breakpoint set on all exceptions, caught and uncaught, but the debugger shows me the variables of some weird thread and I can't even see what the closed cursor is... Apr 02 09:03:33 are there any tutorials about how to find my way around here? >_> Apr 02 09:05:08 What is better, using 2 ssds to make 1 fast ssd, or put windows on one ssd, and data on the other Apr 02 09:05:40 adb logcat... http://pastebin.com/VfdpTWW6 Apr 02 09:06:19 * Adlai has the IDs of all cursors used by the app, is trying to use the debugger now to find the ID of the offending cursor so he can see where the leak came from Apr 02 09:06:59 sorry wrong channel Apr 02 09:07:22 AlexPortable> put them in RAID1 Apr 02 09:15:50 Has anyone encountered this problem with Android NDK code: "F/GAbi++ ( 5630): Pure virtual function called!" ? Apr 02 09:17:08 * Adlai hasn't Apr 02 09:18:12 so, this is my stack... http://pastebin.com/KgY3cpNL any idea how I can get the memory address at which the exception happened? Apr 02 09:18:28 ie, the memory address of the cursor that's already been closed Apr 02 09:26:36 My app works on my emulator on the nexus S, I have a Nexus 5 that I want to run it on, can someone please take a look at my log quick and see if you understand the problem? http://pastebin.com/h7NkRvrk Apr 02 09:39:46 anyone about/ Apr 02 09:39:48 ? Apr 02 09:42:25 if anyone is about could you please take a look at my logcat, trying to get it working on my nexus 5 device, http://pastebin.com/WgG2gXRH Apr 02 09:43:18 * Adlai glances Apr 02 09:43:42 ... nope, no clue :( Apr 02 09:48:18 thanks for looking, anyone else got any idea why this wont work on my actual device? http://pastebin.com/WgG2gXRH Apr 02 09:51:40 hey Apr 02 09:52:42 hi Apr 02 09:53:19 Do I need to declare the nested class DialogFragment inside my activity, to be static? Y? Also, i need to call a function in my activity from the DialogFragment class Apr 02 09:54:12 I read on web abt memory leaks...Bt I dont understand how does that affect my case Apr 02 10:10:49 anyone who bought the foxit pdf sdk? Apr 02 10:15:57 Click66: no, but there's a trial Apr 02 10:16:54 can someone please be kind enough to help me sort out why this is working on my emulator but not on my phone, here is the code and logcat, basic program http://pastebin.com/WgG2gXRH Apr 02 10:17:13 smart_ptr: I know but I'm just curious about the real price :-) Apr 02 10:17:57 amazwon: why do you call onResume in your oncreate?:s Apr 02 10:19:01 not sure im just learning atm, guessing its the wrong thing to do?? Apr 02 10:21:46 amazwon: I think it's not necessary because Android calls this methods when it needs to :p Apr 02 10:27:58 is there some common pattern or guide on how to organize apps os that each change propagates itself backwards and updates all the relevant acitvites Apr 02 10:28:11 some other pattern than just checking all possible changes in onResume Apr 02 10:34:41 Can someone please be so kind as to helping me get my code to work, it works on the emulator, just not on my device. http://pastebin.com/9zCmGQLp Apr 02 10:42:51 Can someone please be so kind as to helping me get my code to work, it works on the emulator, just not on my device. http://pastebin.com/9zCmGQLp Apr 02 10:50:00 guys any help with this ? http://stackoverflow.com/questions/22808300/andengine-gles-2-resumed-timerhandler-stop-unexpectedly Apr 02 10:59:47 Can someone please be so kind as to helping me get my code to work, it works on the emulator, just not on my device. http://pastebin.com/9zCmGQLp Apr 02 11:12:16 Hello, when creating an extra for an intent, should I define the variable in the calling code or the receiving code? Apr 02 11:18:10 ok, my app works on the level 18 emulator, however, doesnt work on the level 19 emulator, i have got the app set up as target sdk as level 19, anyone know of any quick fix solutions this may be? http://pastebin.com/9zCmGQLp Apr 02 11:31:18 Hello, Retrofit Question: I want to resend the same request if it fails with a 401 (after I logged in the User again, of course). How can I get the request that retrofit formed for me? Apr 02 11:37:25 When onResumeFragment is triggered, all my fragments from the backstack are gone, what can be the problem? I have added some fragments before with addtobackstack Apr 02 11:56:59 I need an example of webview with postdelayed, I was looking and find nothing Apr 02 12:23:34 Is there an IRC Channel for Google App Engine? Apr 02 12:23:47 Because the Google tutorial is pretty confusing :S Apr 02 12:26:05 read the topic Apr 02 12:27:10 datandroiddude: you can try /list Apr 02 12:28:11 datandroiddude: https://developers.google.com/appengine/community Apr 02 12:34:18 Hello, Apr 02 12:38:27 I am working on some image recognition in real-time, and I have a problem with devices, that use digital zoom; You get preview frames from the camera in whatever format comes out of the hardware camera, when you zoom, the image frame is zoomed, but when you get to digital zoom, the camera preview on the screen is zoomes, but the frame you get into the PreviewCallback class does nto match what is displayed on the screen. Is there a way, to translate that data to Apr 02 12:40:22 or perhaps - is there a way to get the digital zoom scale and offset data from Android? Has anybody ever come across any of that stuff? Apr 02 13:06:38 how to filter logs just for my app in android studio? Apr 02 13:08:16 latest android studio has an option top right of the adb logs Apr 02 13:13:46 I need an example of webview with postdelayed, I was looking and find nothing Apr 02 13:20:06 Hi :) Apr 02 13:20:41 hi Apr 02 13:21:07 Q: where can i ask about possibilities to run picuntu on tablet like goclever tab r106? Apr 02 13:22:59 Why is Google Maps free? Apr 02 13:23:07 as in beer Apr 02 13:24:35 because Google typically doesn't charge for end-user services? Apr 02 13:24:50 Why not? Apr 02 13:25:03 because it's like facebook Apr 02 13:25:13 They steal enough information from users and give it to advertisers and make enough money they don't need to charge for end-user services? Apr 02 13:25:31 yup Apr 02 13:25:40 steal? Apr 02 13:25:46 they even know where you live Apr 02 13:26:18 razor1101, facebook doesn't kow where i live :) Apr 02 13:26:32 i have a foolproof method of ensuring that facebook doesn't know Apr 02 13:26:39 i dont have a facebook account Apr 02 13:26:40 :) Apr 02 13:26:54 lemonxah: you might be surprised what they know about you Apr 02 13:27:14 lemonxah: that's a disadvantage for facebook Apr 02 13:27:25 lemonxah: don`t worry, you have there account, you just don`t use it officially ;) Apr 02 13:27:33 but then they have your phone number Apr 02 13:27:52 how can they have my phone number? Apr 02 13:28:02 oh yeah Apr 02 13:28:04 nvm Apr 02 13:28:08 whatsapp Apr 02 13:28:13 forgot about that Apr 02 13:28:20 ima just stop using whatsapp then Apr 02 13:31:09 lemonxah: too late Apr 02 13:31:27 also, FB was caught making "shadow accounts" based on information from other people Apr 02 13:31:43 as for Maps - Maps brings traffic for ads *and* there are commercial offerings for Maps Apr 02 13:31:51 it might be too late for them to not have my phone number Apr 02 13:32:06 but its not too late to stop using it cause they might make money with it or what ever Apr 02 13:32:32 the free access for end users (in case of Maps) brings brand recognition and customers for commercial offerings Apr 02 13:33:28 lemonxah: you don't need a facebook account for it to know where you live Apr 02 13:33:48 lemonxah: if you have friends that take photos and you've been tagged they already know where you live Apr 02 13:33:53 also, the biggest leak about your location is your grocery shopping, at least in USA Apr 02 13:33:59 lemonxah: or if the rumors about shadow accounts are true they already know Apr 02 13:34:02 cff i have no friends that take fotos Apr 02 13:34:14 infact i have no friends that actively use facebook Apr 02 13:34:37 lemonxah: https://startpage.com/do/search?q=facebook+shadow+accounts Apr 02 13:35:03 they already know you email address probably Apr 02 13:36:53 p_l: right, supermarkets know more about you than you might think Apr 02 13:37:18 cff: iirc, in USA, there are some 3 companies that aggregate all that data Apr 02 13:39:14 you ask them about a postcode, for example, and you get back statistics about population, demographics, brand preferences, favourite products, predicted earnings, etc. Apr 02 13:39:49 ok I will supply the ideas, someone else can build the app Apr 02 13:39:55 and we will split the profit Apr 02 13:40:02 anybody here good at android dev? Apr 02 13:41:11 jiraffe: good luck buddy ;) Apr 02 13:41:26 ideas are a dime a dozen Apr 02 13:41:34 jiraffe, most everyone here is good at android dev but PLEASE read the topic Apr 02 13:41:43 jiraffe: ideas are free Apr 02 13:41:43 "No bots, and no advertising please, jobs or otherwise" Apr 02 13:41:49 ah Apr 02 13:41:50 profit isn't Apr 02 13:41:51 jiraffe: and worthless Apr 02 13:43:14 Hey, this might be a bit basic, I want to design a layout which has a few 'lines' first line is a TextView (with the text name) and to it's right, an EditText, next line some other lable, and to it's right a spinner.... how do i do that and make it look good? relative layout? Apr 02 13:43:16 even great ideas are worthless. Apr 02 13:43:33 why Apr 02 13:43:36 if you had described me flappy bird 1 year ago I would have easily ditched it Apr 02 13:43:58 jellybee: that sounds easy to do using a linear layout Apr 02 13:44:17 or candy crush. or clash of clans. or whatever. Apr 02 13:44:23 jaynewstrom: but i need to put to elements in each line, how do i do that with linear layout? Apr 02 13:44:28 two*\ Apr 02 13:44:36 Does the CONNECTIVITY_CHANGED action include mobile data or wifi connection or both? Apr 02 13:44:44 nest horizontal orientation in vertical orientation. Apr 02 13:44:53 so you would have nested linear layouts Apr 02 13:44:54 can't I just pay someone to make the app? Apr 02 13:44:59 Talking about android.net.conn.CONNECTIVITY_CHANGE Apr 02 13:45:08 thanks jaynewstrom Apr 02 13:45:12 nested linear layouts is too expensive if those are listview entries Apr 02 13:45:16 I need an example of webview with postdelayed, I was looking and find nothing Apr 02 13:45:22 if its a one time paint its kind of ok Apr 02 13:45:40 jiraffe, you can pay someone to make the app that is easy Apr 02 13:45:42 just not in here Apr 02 13:45:46 dont advertise jobs Apr 02 13:45:53 jiraffe: yes, but job advertisements are not allowed in this channel. The rest was aggravated (for a reason) complains about typical "idea guy" Apr 02 13:45:57 lemonxah: ok. can I ask a few questions Apr 02 13:46:19 asking questions is fine but dont ask (who will build this for me) Apr 02 13:46:20 lol Apr 02 13:46:37 what does this sentence even mean "The rest was aggravated (for a reason) complains about typical "idea guy"" Apr 02 13:46:41 ... Apr 02 13:46:52 that does not read well Apr 02 13:49:34 jiraffe: p_l meant "complaints" not "complains" Apr 02 13:49:50 oh Apr 02 14:08:36 anyone worked with kernel PM? Apr 02 14:08:48 PM being power management Apr 02 14:16:40 Anyone knows something about PDF? Apr 02 14:16:51 Click66: adobe? Apr 02 14:17:28 Leeds: Yes adobe pdf :) I'm curious how do you display a PDF on Android and then figure out where the user clicked in the pdf on which word? Apr 02 14:17:46 no, I meant that Adobe probably know something about PDF Apr 02 14:17:46 I see many libs doing that to highlight a word but reading the pdf spec I don't know how they do it? Apr 02 14:17:55 aa ok :D Apr 02 14:20:38 Why does eclipse create and fragment and activity xml for a new activity? Apr 02 14:20:51 (not the main activity) Apr 02 14:24:11 because its an activity? Apr 02 14:24:17 Hey, just wondering if anyone has created an android application that doesnt require a view before? OR which they have been able to hide? for taking a photograph? Apr 02 14:25:19 you might have to explain that.... Taking a photograph? From their own app you mean? Apr 02 14:25:59 yeah, like my app takes background photos (part of a pricavy study) in the emulator i have taken photos, however on my nexus 5 i cannot Apr 02 14:26:08 http://pastebin.com/q7zqpcZB Apr 02 14:33:37 yeah, like my app takes background photos (part of a pricavy study) in the emulator i have taken photos, however on my nexus 5 i cannot Apr 02 14:33:38 http://pastebin.com/q7zqpcZB Apr 02 14:43:43 rgr: I mean, when eclipse made my project originally, i only got one XML file for the main UI. Apr 02 14:44:04 now when I made another activity in the project, I got 2 xml files. Apr 02 14:44:47 The fragment is a relative layout with a text view "hello world" Apr 02 14:45:04 the xml for the activity is a FrameLayout. Apr 02 14:45:06 fragmenttransaction.commit isn't allowed after onsaveinstancestate right? I can fix the error by using commitAllowingStateLoss but how can I use commit? I have some troubles with commitAllowingStateLoss Apr 02 14:45:50 Why do I need both? Apr 02 14:50:13 FrancescoV: Just don't do fragmenttransactions after onSaveInstanceState Apr 02 14:51:37 because each activity has it own layout one woulr guess... Apr 02 14:57:06 I want to read the updated value of a shared preference from a different activity. It seems to always read the old value for me and never updates after a .commit(). Any ideas? I already tried StackOverflow. Apr 02 14:57:38 SimonVT, but how can i ignore the instancestate? (no experience with it), my activity is closed and reopends after nfc detection, which has problems with fragmenttransactions after reopening the activity Apr 02 14:57:57 either you didn't actually update, or you're not reading when you think you're reading Apr 02 14:58:34 colintheshots, using the same id? Apr 02 14:58:46 my app takes background photos (part of a pricavy study) in the emulator i have taken photos, however on my nexus 5 i cannot Apr 02 14:58:47 http://pastebin.com/q7zqpcZB Apr 02 14:59:18 go ask stackoverflow Apr 02 14:59:24 no one really cares to help you here Apr 02 14:59:37 When I make a build with gradle, my app name keeps coming out as "Android" -- from what I see in Google I think gradle is supposed to pull the app name from strings.xml and that is as it should be (I think). Apr 02 14:59:53 palithius, it pulls it from manifest Apr 02 14:59:57 your manifest is wrong then Apr 02 15:00:01 thanks pfn Apr 02 15:00:13 that has nothing to do with gradle Apr 02 15:01:41 pfn: huh? what do you mean about no one cares? Apr 02 15:02:00 colintheshots, multiple conversations Apr 02 15:02:29 pfn: okay. understood. I think I have a good hint what went wrong anyway in my case. Just foiled by caching. Apr 02 15:02:53 network caching, not pref caching. Apr 02 15:03:14 some people just ask the same thing over and over, by copying and pasting, and expect someone to answer Apr 02 15:03:23 and copying and pasting with the same stupid typo Apr 02 15:05:42 FrancescoV: Ignore saved instancestate..? Just commitAllowingStateLoss if you don't care about state.. If you do, don't perform transactions after onSaveInstanceState Apr 02 15:09:02 SimonVT, I need to know the state, need to remove a SupportedMapFragment for handling duplicates and received events with otto Apr 02 15:10:22 don't commit after onSaveInstanceState then Apr 02 15:12:37 hello Apr 02 15:13:15 hello Apr 02 15:13:29 pdf, so when I detect nfc and want do do something with it, I'm not allowed to do any commit? Apr 02 15:13:40 When I try to bind this service http://pastebin.com/j1hn2TQk using this code http://pastebin.com/6bZJ6LAU it will not bind. Apr 02 15:15:32 My application tag in my manifest has a proper label attribute, but I still get "Android-release.apk" from gradle Apr 02 15:15:44 FrancescoV, I don't know wtf you're doing, but sounds like you're doing shit completely wrong Apr 02 15:15:49 From what I am reading only the app name is picked out from the applications' label attribute Apr 02 15:15:55 wtf does nfc have to do with any of this Apr 02 15:16:12 palithius, who cares what the apk is named Apr 02 15:16:15 here is my Manifest: http://pastebin.com/eTW9Wz9K Apr 02 15:16:26 app is closed. app onresume automatic, opens new fragment and flow goes on Apr 02 15:16:41 anyone Apr 02 15:16:42 MDTech-us_MAN, you haven't registered your service Apr 02 15:16:43 ... Apr 02 15:16:51 I am building an alert dialog and then calling show on it. Does anyone know why it shows twice in that case? Apr 02 15:16:53 what do you mean? Apr 02 15:17:13 pfn: ^ Apr 02 15:17:16 mybackgroundservice isn't in manifest Apr 02 15:17:27 Tobbi, because you're calling show twice Apr 02 15:17:31 well... I changed the name Apr 02 15:17:40 for some reason Apr 02 15:17:45 then fix it Apr 02 15:17:52 but I have the correct name in code Apr 02 15:17:57 pfn: I am not... Apr 02 15:18:01 Tobbi, but you are Apr 02 15:18:20 Tobbi: Show me teh codez! Apr 02 15:18:21 What is this? I should know how often I am calling show, right? Apr 02 15:18:30 clearly you don't Apr 02 15:18:41 if it's showing twice, then it's getting called twice Apr 02 15:18:55 pfn is on quite a charge Apr 02 15:19:15 codeguru: This is the code (and I am definitely only calling this method once): http://pastebin.com/Hpj1s9w9 Apr 02 15:19:20 What are some of the more decent sqlite wrappers? Apr 02 15:19:20 pfn: refresh the manifest paste plz Apr 02 15:19:20 palithius, the apk name is pulled from the project name in gradle Apr 02 15:19:50 Tobbi, and I bet your logcat messages show twice Apr 02 15:20:00 Tobbi: Where do you call buildRequestDialog90? Apr 02 15:20:25 s/90/() Apr 02 15:20:48 codeguru: In a bluetoothService Handler when receiving a specific character / String via bluetooth. Apr 02 15:21:40 Tobbi: I'm with pfn on this. You are likely calling show() twice...albeit indirectly. Apr 02 15:21:54 probably because buildRequestDialog() gets called twice Apr 02 15:22:09 codeguru: And that's what I checked, It's only called once. Apr 02 15:22:27 I added a debug statement and that only gets executed twice in that method. Apr 02 15:22:30 eeh once Apr 02 15:22:57 the logcat message is only shown once? Apr 02 15:23:13 hmm...dunno, then Apr 02 15:23:24 codeguru: Yes, it is. And that's the odd thing about it. Apr 02 15:25:14 should say so Apr 02 15:27:30 pfn: thanks, that worked Apr 02 15:33:50 Could someone walk me through the lifecycle of a restored activity, especially concerning fragments? When do their methods start executing with respect to the methods of the parent activity? Apr 02 15:35:34 see lifecycle Apr 02 15:35:40 NVM... found what I was looking for. :D Apr 02 15:35:58 yawn, bugfixing Apr 02 15:36:30 The restored part is a bit undocumented. It appears as if everything executes at the same time. It's the number-one source of most of my bugs. Apr 02 15:47:32 Hi everyone, me and a friend are trying to write a simple application that is a mobile interface of a website. In order to do so we need to send a POST request to an xmlrpc server Apr 02 15:48:06 We googled a lot and found different tutorials and most of them relies on this project https://code.google.com/p/android-xmlrpc/ Apr 02 15:48:16 Just doing this tut here, http://developer.android.com/training/camera/cameradirect.html , just wondering for the first part do I need to declare the camera object? Apr 02 15:48:18 holy hell people still actually use full fledged xmlrpc? Apr 02 15:48:53 By the way we couldn't fin out how to send the xml functions which are like this one http://pastie.org/8988984 Apr 02 15:50:13 sonOfRa: yep, we're not the web designer of that website =) Apr 02 15:51:21 *designers Apr 02 15:54:21 Hello, I was wondering where can i find list of supported languages for Text To Speech API? http://developer.android.com/reference/android/speech/tts/TextToSpeech.html Apr 02 15:54:31 cippaciong: https://code.google.com/p/android-xmlrpc/source/browse/trunk/XMLRPC/src/org/xmlrpc/android/XMLRPCClient.java Apr 02 15:54:41 reading the code, you simply callEx(String method, Object[] params) Apr 02 15:54:57 method being the methodname, params being the parameters Apr 02 15:57:35 how do you open Camera on a seperate thread using the onCreate()? Not sure what this means Apr 02 15:59:10 Hey anyone use foursquare in any of their android apps? I'm about to rebuild the foursquare search list for Food/Nightlife/Coffee/etc but didn't know if anyone has or knows of a library that already does this. (I'm aware of the FoursquareSDK but that doesn't have any views to my knowledge) Apr 02 15:59:24 sonOfRa: I'll give it a try right now Apr 02 16:03:08 Anyone recommend ORMLite or is there something that is a bit cleaner? Apr 02 16:03:45 nothing much, I've used greendao which is faster, but not really cleaner Apr 02 16:05:07 can someone please give me some advice in a private message? Learning android atm and just would like to clarify a couple of things Apr 02 16:08:33 sonOfRa: There is something I don't understand where you say "params being the parameters" Apr 02 16:08:38 in this case "1" Apr 02 16:08:59 what is the parameter? "num_post" or "1"? Apr 02 16:09:42 no idea. That was just a quick look at the code Apr 02 16:09:53 I didn't write that library, nor do I ever plan on using xmlrpc, sorry Apr 02 16:14:31 also, is that even real xmlrpc? From what I (darkly) remember, it's supposed to be <$TYPE>val Apr 02 16:16:12 the num_post thing should probably be inside a or of some sort. Consult the xml-rpc specification for more information. If your web service is doing something that looks like XMLRPC but ISN'T XMLRPC, it's time to replace that web service Apr 02 16:19:45 Mavrik, thanks, I'll look into it some, thanks Apr 02 16:21:57 sonOfRa: That was our problem too, the presence of those num_post, offset, etc Apr 02 16:22:23 Then the case is clear. Replace your broken webservice Apr 02 16:22:32 then start writing an android app against a not-broken webservice Apr 02 16:22:34 By the way, I tried to replace them with and sent a request using curl and it worked Apr 02 16:22:57 oh, then where did the num_post even come from? Apr 02 16:24:16 Who was it in here saying they used an event bus for all communication? Apr 02 16:24:23 We got them from the web developer of the website who told us all the available methods Apr 02 16:26:49 sonOfRa: I have to go back home now, thank you very much for the help Apr 02 16:28:35 no problem. Go ask the web developer about the broken XML he gave you and see if you can clear things up a bit. Apr 02 16:33:07 @JakeWharton, have you tried retrofit with Android Runtime? Apr 02 16:34:52 I am contemplating refactoring a pretty large project to use an Event Bus and to change the networking over to retrofit Apr 02 16:38:39 I'm trying to prevent a double title change when navigating using the navigation drawer, because when I go to a new screen both the switch back to local context (from the drawer closing) fires, as well as the new screen's title. this looks kind of clunky. is there a good way to prevent this? (http://stackoverflow.com/questions/22816806/prevent-multiple-action-bar-title-changes-when-navigating-with-the-navigation-dr?noredirect Apr 02 16:51:43 Hello, everyone! What's the current discussion topic? Apr 02 16:52:08 Android development Apr 02 16:52:14 :-) Apr 02 16:52:37 Any specific topic in it? Apr 02 16:54:32 I am wondering why everyone is silent in this channel! Apr 02 16:54:33 can somebody help me with GridView and LayoutInflater? they're not playing nice together. Apr 02 16:55:01 specifically, I'm getting: java.lang.UnsupportedOperationException: addView(View, LayoutParams) is not supported in AdapterView Apr 02 16:55:16 TiruBokka: you came at wrong time Apr 02 16:55:32 the first rule of IRC is that an answer to a question can come three days later :P Apr 02 16:56:32 Adlai, what's the minimum api level in your project? Apr 02 16:56:42 TiruBokka: 15 Apr 02 16:56:57 Adlai: You're missing the third parameter of #inflate() Apr 02 16:57:18 Are you calling addView on a gridView? Apr 02 16:57:49 * Adlai pastes some code... Apr 02 16:58:26 first of all, I'm using https://github.com/the4thfloor/MultiCursorAdapter Apr 02 16:59:12 (I originally had a SimpleCursorAdapter, but I need to include data from multiple cursors) Apr 02 17:01:14 What are you inflating using LayoutInflater? Apr 02 17:01:20 * Adlai tries to get irl help Apr 02 17:09:56 New to the developer console... After I link an app (while still unpublished), can I test it and if needed replace the linked app? Or have 2 or 3 different versions linked? Apr 02 17:09:57 hi Apr 02 17:11:29 Shouldnt the background setting here work for old devices? In layout-v11/fav_row.xml I have set background to ?android:attr/activatedBackgroundIndicator, but that doesnt work for pre 11 or something Apr 02 17:11:29 http://pastebin.com/mTKPBjgb Apr 02 17:11:53 birbeck: yes Apr 02 17:12:46 @JakeWharton and no issues? This is my first time to play with retrofit, so maybe im doing something wrong Apr 02 17:13:08 but ART is crashing as soon as i do UserService service = restAdapter.create(UserService.class); Apr 02 17:13:09 Hi JakeWharton, nice to see you! Apr 02 17:13:37 I am a big fan of ABS Apr 02 17:13:42 hey guys. When I register at the android developer console, will my apps be published under the name of the google account or can I set a name? Apr 02 17:14:05 birbeck: with what exception? Apr 02 17:14:21 Busk, you can (and should) create a new account to distribute your apps Apr 02 17:14:29 TiruBokka: glad to hear it. and hopefully you have already (or plan to) stop using ABS and go minSdkVersion=14 soon Apr 02 17:14:54 birbeck: May I ask why that's so important? Also, can I (still) set the name of the Company publishing the app manually? Or is it taken from the google account? Apr 02 17:16:43 @JakeWharton NPE Apr 02 17:16:59 from? Apr 02 17:17:18 I can't get the full stacktrace right now, but i believe from ART Apr 02 17:17:38 Busk, because if something goes wrong with your apps, you can lose your whole google account Apr 02 17:17:57 JakeWharton: With dialogs like this, am I better off including it in my main fragment's code, or as a separate frag? https://www.dropbox.com/s/j8c4x7gr0m9fy80/Screenshot%202014-04-02%2009.52.27.png Apr 02 17:17:58 birbeck: That makes sense. Thanks for the info! Apr 02 17:17:58 Busk, you can set your business name separately Apr 02 17:17:59 has anyone used the camera using a dummy preview before? Apr 02 17:18:08 birbeck: Okay, thanks a lot :) Apr 02 17:18:10 hey Apr 02 17:19:24 how can I have my width specified as a equation of device Deivce width or Parent width...for example like (device width - 100dp) in XML Apr 02 17:19:39 what am I forgetting? the android:background doesnt seem to work Apr 02 17:21:15 I am from Spoors Technology Solutions, India Apr 02 17:21:45 We were using ABS earlier... now we switched to Appcompat library from Google Apr 02 17:22:13 @JakeWharton, not NPE... A/art﹕ art/runtime/thread.cc:1011] No pending exception expected: java.lang.ArrayIndexOutOfBoundsException: length=4; index=4 Apr 02 17:22:23 TiruBokka: for what purpose? Apr 02 17:22:34 Adlai, looks like you're not supposed to use gridView.addView() directly. Apr 02 17:22:42 A/art﹕ art/runtime/runtime.cc:203] Runtime aborting... Apr 02 17:23:23 You will need to set the adapter, and let the adapter supply the views to the grid view Apr 02 17:23:42 emtoionull, to minimize the dependencies! :-) Apr 02 17:24:29 TiruBokka: to support lower versions basically, right? Apr 02 17:24:38 Replacing one dependency with another minimizes dependencies Apr 02 17:24:47 yes Apr 02 17:25:35 TiruBokka: Ok...If I don't intent to put my apps on lower devices...will it still be useful to use Appcompat? Apr 02 17:25:43 Technicallly no, but it does minimize the dependency on number of library providers.. :-) Apr 02 17:26:20 TiruBokka: Ok...thnx,, Apr 02 17:26:39 TiruBokka: I just started with android dev, a month back Apr 02 17:27:09 Appcompat is useless if you are targeting honeycomb or later Apr 02 17:27:35 Ok Apr 02 17:27:45 TiruBokka: do u knw how can I have my width specified as an equation of device Deivce width or Parent width...for example like (device width - 100dp) in XML Apr 02 17:28:45 you can't. Apr 02 17:29:11 emotionull: the closest you can do is a percentage of the parent Apr 02 17:29:21 either implement your own viewgroup (faster) Apr 02 17:29:21 or use paddings, margins, etc. Apr 02 17:29:21 or use an empty view if you really can't do it any other Apr 02 17:29:32 why would you want to do that Apr 02 17:29:56 you shouldn't have to do that if you make your layout correctlyh Apr 02 17:30:33 You should be able to achieve it using padding and/or margins Apr 02 17:31:23 or you could place a dummy view of 100dp width, and let the other views take up rest of the width by specifying weight Apr 02 17:32:02 Anyone here use Otto? I have a question about the naming conventions for the listener functions, does it have to be "handle(ObjectType message)"? Apr 02 17:32:32 or does it only do it by method param type? Apr 02 17:35:49 developing for android wear requires appcompat, a lot of stuff in google play services requires appcompat, the navigation drawer uses it, etc Apr 02 17:37:07 Not possible to use list_pressed_mystyle.9.png from mdpi into ldpi? Apr 02 17:37:30 I copied list_focused and list_pressed into ldpi and I try to use @drawable/list... Apr 02 17:37:41 jonc-1: can be anything Apr 02 17:38:22 JakeWharton, thanks, after reading a couple of examples I found it is based on the object type passed in correct? Apr 02 17:52:59 correct Apr 02 17:55:31 hi Apr 02 17:55:40 i have this situation http://blog.stylingandroid.com/archives/1203 Apr 02 17:55:45 menuitem with actionLayout Apr 02 17:56:05 in my layout actionLayout i have a close button to close this layout, Apr 02 17:56:11 Do you really have to add 5 achievements to publish a game??? Apr 02 17:56:25 how i can do to close this actionLayout and return to initial actionbar Apr 02 17:56:35 hi can i force the app to load in landscape mode Apr 02 17:57:18 jonc-1, just param type, simply Apr 02 17:57:24 thanks Apr 02 17:57:24 yup Apr 02 17:57:27 thank you Apr 02 18:07:58 How do I call a public class from another class without making it static? Apr 02 18:09:12 you don't call non-static methods on a class Apr 02 18:09:16 you call it on an object Apr 02 18:09:38 if you don't know the difference I strongly suggest getting a Java/OOP book and getting those concepts clear before dealing with android Apr 02 18:11:03 mean't to say call a public method in one class from another class Apr 02 18:12:26 doesn't make a difference... you call methods on objects not classes Apr 02 18:17:00 Xposed: I want to make modification in com.android.systemui.statusbar.phone.QuickSettings. Is there a way that I'll can access its private variables? Because i can't cast param.thisObject to com.android....QuickSetings Apr 02 18:17:38 yoavst, reflection if you REALLY have to Apr 02 18:18:01 yoavst, but remember to do error checking because private fields can just change without reasons across versions of ANdroid Apr 02 18:18:28 ok. But is there another way? Apr 02 18:19:39 Using Otto, does anyone here use it to broadcast when the activity is resumed, stopped, created? If so, how to differeniate between the different ones? Just create a wrapper object per state? ie. class OnCreatedActivityMessage {public Activity createdActivity;}? Apr 02 18:19:40 it exists in 4.2 and 4.4.2, so it should work Apr 02 18:20:01 I have this tiny activated_background that I use on a list, http://pastebin.com/EE7mayQu , but how come holding on list items show a blue color on a device with 4.2.2 and grey on a device with 4.4.2? Apr 02 18:20:05 yoavst, how many ways of accessing fields that are clearly marked as "should not be accessed" do you want? Apr 02 18:20:41 reflect the field, set it as non private, then call it Apr 02 18:21:23 holding a button on the 4.2.2 device will also show a blue color, while on the 4.4.2 its just a lighter grey. I'm assuming this is related? Apr 02 18:21:24 Mavrik: The problem is that I can't even cast it to QuickSettings Apr 02 18:22:45 Quacked: Well, it looks different because they changed how it looks Apr 02 18:22:53 yoavst, I suggest you read up on what reflection is because what you just said makes no sense in that context :) Apr 02 18:23:13 SimonVT, one device is cyanogenmod 10 and the other is cyanogenmod 11 Apr 02 18:23:19 Quacked, highlight coloring was changed from 4.3 to 4.4 Apr 02 18:23:30 Mavrik, oh Apr 02 18:23:31 if you actually look at your device Apr 02 18:23:45 you'll notice that even top icons were recolored form blue to gray :) Apr 02 18:24:34 whats a good way of changing it to grey for the 4.2.2 device in my case? Apr 02 18:25:08 Quacked, defining your own Apr 02 18:25:24 oh, I think I was missing a state_pressed and state_focused line Apr 02 18:25:30 :) Apr 02 18:26:52 hmm Apr 02 18:27:02 shouldnt this do? Apr 02 18:28:45 hmm, try just state_pressed without focused Apr 02 18:29:45 I have Apr 02 18:30:28 and a list_pressed_mystyle.9.png in drawable-hdpi, mdpi, xhdpi Apr 02 18:31:58 which is grey :) Apr 02 18:34:16 something weird going on.. I changed the drawable to a color and it worked Apr 02 18:34:26 i have this situation http://blog.stylingandroid.com/archives/1203, in my layout actionLayout i have a close button to close this layout, how i can do to close this actionLayout and return to initial actionbar ? Apr 02 18:34:27 thanks Apr 02 18:35:25 so for some reason the 4.2.2 device wont use the list_pressed_mystyle.9.png Apr 02 18:44:23 alright so when I create an instance of a class inside a method so I can run a method from another class and I get the error: Can't create handler inside thread that has not called Looper.prepare(). Here's the code: http://pastebin.com/bQ881AHi Apr 02 18:44:42 joeschmoe, you have to create a handler on a Looper thread Apr 02 18:44:42 Any thoughts on where I went wrong? Apr 02 18:44:45 if you don't, handler doesn't work Apr 02 18:47:14 OK, I'm completely lost on that. How do I create a handler on a looper thread? Apr 02 18:50:34 joeschmoe: http://developer.android.com/reference/android/os/Looper.html Apr 02 18:51:12 Although, I suspect your real problem is that your subclass extends Handler when it doesn't need to Apr 02 18:52:16 Otto dispatches events on the same thread that post was called from? Apr 02 18:52:27 it's confined to the main thread Apr 02 18:53:15 canvs2321-: here? Apr 02 18:53:23 Thank you Apr 02 19:12:55 why dont some email apps allow me to attach a file from app private memory? Apr 02 19:16:13 so, where I work now, they are trying to implement a caching mechanism to store REST calls and its response for future use. The idea is to always load from the cache first (even when online) and then firing the actual REST call, if success, then update the view with the new data Apr 02 19:16:37 is that something you guys use, or have seen around? I am not sure if I like this design... Apr 02 19:26:33 use a transparent cache Apr 02 19:26:41 a response cache Apr 02 19:28:22 hello Apr 02 19:28:27 pfn, any example? we are using: http://loopj.com/android-async-http/ Apr 02 19:28:39 ^ nice lib Apr 02 19:29:41 I don't use libs needlessly Apr 02 19:30:08 ask the maintainer of your lib how to cache Apr 02 19:31:40 there are a couple different http apis built into android. iirc, android-async-http internally uses the one that doesn't support cacheing. Apr 02 19:32:10 there was some talk of switching to the other one. that may have happened already in the latest development versions. Apr 02 19:33:55 i came here to ask why it's impossible to post anything on the android developers google group Apr 02 19:34:15 i'm a professional android developer. i've posted about five questions in the past year, only to have all of them disappear into the ether. Apr 02 19:35:55 do you guys use a service for your rest clients? Apr 02 19:36:12 i don't Apr 02 19:37:10 no need, right? Apr 02 19:39:47 well. you can handle it properly without using a service. so you don't have to. but there are definitely some gotchas if you don't use a service Apr 02 19:40:20 i suppose it would depend on whether the lifetime of the rest client is logically the same as the lifetime of an activity Apr 02 19:41:54 yeah. you just want to be sure you don't leak activities on long running requests. Apr 02 19:44:44 I see… good point Apr 02 19:44:47 thanks guys Apr 02 19:44:53 right. android-async-http can associate requests with a context and cancel pending requests for that context. Apr 02 19:45:35 you'd do that in an activity's ondestroy. but for longer-lived clients, you can't use the application context because application has no ondestroy lifecycle callback. Apr 02 19:45:41 that's when you'd want to use a service. Apr 02 19:49:20 Hey, does anyone know of a condition where an ANR occurs but the UI is still responsive? The system is reporting me an ANR in a service and I'm suspecting blocked binder threads calling into AIDL to be the cause. Could this be true? Apr 02 19:51:04 Hey, what do you think of the singletons? Why should we use them? Why not? If yes then when? And when not? I heard it's overall bad design idea. Apr 02 19:52:27 @pleed: is the service running in its own process? Apr 02 19:54:39 kjkrum: I have one running in the same, and another running in a separate Apr 02 19:55:09 @furai: that's like saying a hammer is overall a bad tool. it's only a bad tool if you need a screwdriver. Apr 02 19:56:38 Furai: singletons are great. you just have to make sure you use them properly. and they are scoped correctly. just because you have a singleton doesn't mean it has to be an application lifetime singleton Apr 02 20:01:39 Someone complained that instead of disallowing a menu option, I should show a different nav drawer for different user types. The problem is that I need to make a network request to know which role a user has AND the drawer view is separated from the controller. Is there any good way to avoid playing with fire by setting up the controller and then having the view change when the network response arrives or vice versa? Apr 02 20:01:40 The two things need to be linked. Apr 02 20:03:05 pleed: does this shed any light on your problem? http://developer.android.com/guide/components/processes-and-threads.html#ThreadSafe Apr 02 20:04:45 kjkrum: no, I knew about that. Wondering if an ANR could happen when binder threads take too long in a service binder interface though. Apr 02 20:05:32 Anyone know of a way to install the HTC USB drivers for adb on Windows without installing the entire HTC Sync Manager? Apr 02 20:05:45 kjkrum: Because even if this would be the cause of a problem, up to my understanding an ANR would just occur if a client which called into the binder was actually a ui thread. Apr 02 20:07:12 @pleed it seems like it could cause an ANR. i think binder methods are expected to return quickly regardless of whether the caller is a UI thread. have you tried adding logging to see how long the calls are taking? Apr 02 20:08:25 ipc is not expected to return quickly Apr 02 20:08:30 kjkrum: not yet, it's a big app so I first wanted to narrow down the possible causes. I'm going to do that now. Apr 02 20:09:15 pfn: So you're saying even if it takes 60 seconds to serve an ipc call, it would not cause an ANR in the serving application? Apr 02 20:09:22 no Apr 02 20:09:33 I'm saying if it takes 60 seconds do not fucking do it on the UI thread Apr 02 20:09:42 and ipc calls are never expected to be fast Apr 02 20:09:54 pfn: Service binder is called in binder threads anyway Apr 02 20:10:36 pfn: Let's assume the client calling into binder is NOT the ui thread, but the service binder interface takes 60 seconds to respond - could this cause an ANR? and if yes, where? Apr 02 20:17:35 the client calling the binder is not going to block, regardless. aidl methods do not block. Apr 02 20:17:44 I have an issue with the CustomDialog using a DialogFragment, I can inflate my view - but I cannot seem to attach an event listener to any of the views without causing an exception: http://pastebin.com/zBLDQMKC Apr 02 20:18:54 kjkrum: that's definitely not true. Apr 02 20:19:18 kjkrum: aidl methods do block and I've used this several times Apr 02 20:21:03 pleed: you're right. so in your app, the thread calling the AIDL binder is *not* the ui thread... right? it blocks, but that should not cause a ANR. Apr 02 20:24:01 pleed: and on the service side, the request will be handled by a worker thread from a thread pool. what i'm suggesting is that you cannot do anything blocking or long-running in these pool threads, because they are a limited resource. this might be the cause of your ANR. Apr 02 20:25:57 kjkrum: Okay I'm checking that. Apr 02 20:26:08 Regarding the question from above: yes Apr 02 20:28:49 so is the android developers google group just dead? nothing i post there ever shows up. and i find it hard to believe that all the android developers in the world only post about 5 new topics per day. Apr 02 20:30:21 hey guys, whats the cause for this in eclipse: i made a comment-line in which i made three tab-intends at Computer A. After importing the project at Computer B its just 2 tab-intends Apr 02 20:34:37 kjkrum, I can't speak for everyone, but I have never used it personally. Apr 02 20:34:49 adkins, do you have it set to insert spaces or tabs? Apr 02 20:37:35 jonc-1: tabs Apr 02 20:41:26 so is this where people generally bring their android support questions? is there an active forum anywhere? the android subforum on java-forums.org has always been pretty dead. Apr 02 20:42:03 kjkrum, it seems to be that way, yes. Apr 02 20:42:14 pleed, sure, but if your binder method call goes over a binder and takes 60 seconds to return of course it's an anr Apr 02 20:42:23 kjkrum: StackOverflow Apr 02 20:42:26 and aidl methods block, of course Apr 02 20:43:06 I have, what I think is an odd situation. Without having android:configChanges in my manifest, I am not getting any lifecycle events on my activity (i know because I have simple log statements on all my lifecycle events) Apr 02 20:43:07 google sure doesn't seem to be taking this android thing very seriously... Apr 02 20:43:25 any ideas why that might be? Apr 02 20:43:30 kjkrum, uh, does microsoft have any "forums" for microsoft tech? no Apr 02 20:43:33 it's all 3rd party Apr 02 20:43:47 they must not take this windows thing, .net thing, etc. thing seriously Apr 02 20:43:56 you have msdn for reference, and that's it Apr 02 20:44:01 they have a comment section, but no one uses that shit Apr 02 20:44:05 sorry no lifecycle events when I rotate Apr 02 20:44:13 i wouldn't know; never been a M$ developer. but Sun and Oracle always had their own forums. Apr 02 20:44:21 sun doesn't have their own forums Apr 02 20:44:27 well, they do, but it's garbage, no one uses those Apr 02 20:44:28 same with oracle Apr 02 20:44:38 Microsoft has the technet forums, no? Apr 02 20:44:52 anyone used Volley before? https://android.googlesource.com/platform/frameworks/volley/ Apr 02 20:44:56 And social.microsoft.com Apr 02 20:45:10 they do, but it's really not that great Apr 02 20:45:19 and for that matter, there are the android-developers google groups Apr 02 20:45:21 plus pages, etc. Apr 02 20:45:42 the android-developer google group seems to be broken; that's why i came here Apr 02 20:45:45 kjkrum, 400 people in a chat room is not that bad. The most helpful group I have seen besides #php is #hhvm Apr 02 20:45:59 yeah, but this isn't 1985... Apr 02 20:46:22 broken? looks like it works... Apr 02 20:46:24 but I never use it Apr 02 20:46:27 I hate discussion groups Apr 02 20:46:51 try posting something to it. it never shows up. Apr 02 20:47:01 pfn, they seem to send all new posts to /dev/null :) Apr 02 20:47:24 the group is moderated. i think the moderators are asleep at the keyboard. or google fired them and forgot to assign their task to someone else. Apr 02 20:48:25 google doesnt pay moderators. is up to the founder. Apr 02 20:49:26 You could make your own Google Android Group :3 Apr 02 20:50:00 yes, but would google list it as the official place to get support? Apr 02 20:50:25 #google Apr 02 20:50:34 maybe when its proven and isnt inundated with nonsense. Apr 02 20:50:40 i've seen oss projects from lone coders that are better supported than android... Apr 02 20:51:04 kjkrum, how was their documentation? Apr 02 20:51:08 bullshit. The android development tutorials etc are pretty damn comprehensive and p to date as is their sdk documentation. Apr 02 20:51:42 rgr are you saying that the Android Developers google group is a third-party group, not Google's own creation? Apr 02 20:53:47 kjkrum, look, there are lots of places to get support - as kakazza sai - StackOverflow, this #channel, the documentation. Apr 02 20:55:09 I'm testing google play services in an app and it keeps saying "failed to sign in. please check your network connection and try again" Apr 02 20:55:33 larryl, how did you test your network connection? Apr 02 20:56:00 email and browser work Apr 02 20:56:16 This is a device you are testing it on, not an emulator? Apr 02 20:56:20 correct Apr 02 20:56:50 I haven't got to work with Google Play Services yet, it is on the todos, otherwise I would help if I could! Apr 02 20:57:11 I noticed not many people have experience with it. Apr 02 20:57:19 which is suprising Apr 02 20:58:01 I know eh? The high scores & sign in & cloud db are what interest me the most thus far. Apr 02 20:58:30 yeah leaderboards are very popular with ios, but not android Apr 02 20:58:49 As well as achievements! Apr 02 20:59:12 Do you have a pastebin of your code? Apr 02 20:59:30 I just read today that it looks like you need at leas5 achievements to publish your game, does that sound right? Apr 02 21:00:28 Where did you read that? Apr 02 21:01:11 on the developer console Apr 02 21:02:03 Interesting, it makes sense that they would want over 5 achievements to show that you are using it as a feature on your play store listing. Apr 02 21:04:08 How long have you been developing for android? Apr 02 21:05:10 4 weeks Apr 02 21:08:19 Sweet! How are you finding it thus far? Apr 02 21:55:55 how do I clear my application's stack except for the visible activity? Apr 02 21:56:10 I want to make sure that any activity started is fresh Apr 02 21:56:46 nvm, i think this might work: Intent main = new Intent(this, A_Activity.class); Apr 02 21:56:47 main.addFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP Apr 02 21:56:47 | Intent.FLAG_ACTIVITY_NEW_TASK); Apr 02 21:56:47 startActivity(main); Apr 02 22:02:09 sounds pretty good http://wmpoweruser.com/microsoft-introduces-universal-windows-apps/ Apr 02 22:04:49 g00s: updated IJ and i'm in gradle version hell! Apr 02 22:05:10 bankai_au try AS :D Apr 02 22:05:18 shove it up your arse :P Apr 02 22:06:08 i keep getting java.lang.UnsupportedOperationgException with absoultely no details... it's almost like calling gradle is throwing these errors. i blame you! Apr 02 22:07:04 was it 13.1.1 ? Apr 02 22:07:16 yes Apr 02 22:07:38 thats what AS is using now, it has its struggles yes ;) Apr 02 22:08:02 humm ok, so what did you do, do you remember? Apr 02 22:08:08 besides swearing and bitch, coz i've done that Apr 02 22:08:56 i don't think i got that error specifically Apr 02 22:09:09 com.android.tools.build:gradle <-- which version are you using ? Apr 02 22:09:21 google+ page has a list of current belly aches Apr 02 22:09:26 apparently my gradle plugin is 1.9 Apr 02 22:09:27 latest Apr 02 22:09:30 1.11 Apr 02 22:12:50 querying ContactsContract.CommonDataKinds.Phone is the same as querying Data with mimetype = Phone ? Apr 02 22:14:25 bankai_au oh /plugin/ yeah, 0.9.2 or something Apr 02 22:14:36 gradle itself i use 1.11 Apr 02 22:14:44 i think my sdk is out of date too *sighs* this is why i don't update things Apr 02 22:14:58 Does anyone have any good suggestions about a Custom Preference List to choose a theme? Apr 02 22:16:08 g00s: you doing win mobile stuff as well ? Apr 02 22:16:20 i'd definitely like to Apr 02 22:16:56 just need a better machine, or a windows box. maybe more ram and a VM Apr 02 22:17:03 afaik their tools need to run in windows 8 Apr 02 22:17:25 oh gross :( Apr 02 22:20:15 from what i'm told the sim is great, like iOS Apr 02 22:21:05 i suspect the reason why the sims a are good is because the resemblance of the underlying OS to the stuff running on the device ;) Apr 02 22:50:38 i really do like the iOS sim Apr 02 23:02:12 bankai_au try RxCocoa yet? Apr 02 23:02:25 yes, i have Apr 02 23:02:39 and it's kinda what prompted my q the other day about unit testing Apr 02 23:04:20 i had to make all my http connections sync to start with, coz it's easier to deal with them that way, which provides an added benefit for unit testing Apr 02 23:14:54 capella http://msdn.microsoft.com/en-us/windows/dn632015 Apr 02 23:16:09 mmm ... they call it javascript (vs ecmascript) Apr 02 23:28:11 this is awesome http://www.cnet.com/news/this-is-how-an-engineer-feels-when-hes-surrounded-by-idiots/ Apr 02 23:28:46 whats stopping you ? geometry :) Apr 02 23:38:12 that's amazing g00s Apr 02 23:44:37 g00s: great link ;) Apr 02 23:51:26 dear Android devs, I beg you for a moment of your collective time and wisdom. I have a navigation drawer where I have the following xml: https://friendpaste.com/6gkiAuChCt53GMZ3lOI2T0 Apr 02 23:51:54 I'm trying to make it so the drawer can be scrolled up and down (note the ScrollView) since I plan to contain a few lists Apr 02 23:52:15 a few lists Apr 02 23:52:28 i dunno anything about nav drawer, but maybe CWAC mergeadapter Apr 02 23:52:50 Could do that. At the moment, I have only one list Apr 02 23:53:08 my problem is before adding the scroll view, it all looked correct Apr 02 23:53:36 I added many items to the list to make it overflow the screen rez and suddenly the list area became the scrolling part...not the whole nav area...so I inserted the ScrollView Apr 02 23:53:47 (items below the list weren't showing up) Apr 02 23:54:03 but once I added the scroll view, the list is now only as tall as one element Apr 02 23:55:14 so ads a listview with match_parent, cwac mergeadpater, and you're done, right ? Apr 02 23:57:31 well no Apr 02 23:57:43 I have a listview with wrap_contents and it isn't wrapping contents Apr 02 23:57:54 it isn't showing the non-list items like the logos and whatnot Apr 02 23:58:08 you arent supposed to use listview with wrap content Apr 02 23:58:12 from what i remember Apr 02 23:58:17 maybe I could make it all a list, including the logos and non-list-things...then just have them be different xml Apr 02 23:58:38 Yeah. I figured that. Someone said that was the solution yesterday and it did seem to work when my list had 3 items Apr 02 23:58:44 but it didn't seem normal Apr 03 00:00:49 hm, newest rxjava integrates with Quasar Apr 03 00:00:58 lightweight threads http://docs.paralleluniverse.co/quasar/ Apr 03 00:01:08 uh, uses ASM - not gonna work on android Apr 03 00:01:36 ewww Apr 03 00:05:48 helpme, i want to add update button on my app, so when app launch show toast message update or no, when update it's db will sync with new db, i have MainActivity but i'm confused how to add data on the String url = "http://10.0.2.2:8080/sample1/" + "webservice1.php?user=1&format=json"; Apr 03 00:06:37 i see on here http://www.codeproject.com/Articles/267023/Send-and-receive-json-between-android-and-php Apr 03 00:07:02 which bit confuses you ? Apr 03 00:12:32 bankai_au : this my code http://pastebin.com/nLj5s7pt i'm confused about the url? how to add my database data on the url, in my db i have table question,answer,etc and have many some rows... Apr 03 00:13:15 maybe how to parse my db with json Apr 03 00:15:33 use something like spring or retrofit, then map your data to java objects with gson, iterate through your data and write to the db Apr 03 00:16:26 … profit ! Apr 03 00:16:50 book for beginner android development? Apr 03 00:17:00 try big nerd Apr 03 00:17:19 although, if a new android is released at i/o its quickly out of date Apr 03 00:18:05 hm big nerd ranch currently supports up to 4.2, the latest android version is 4.4 ? Apr 03 00:19:05 hm, what is the lowest version of android i should support? Apr 03 00:19:08 Hi, anyone know if there's a way to bypass the permission dialogue when attempting to access an external USB device (Android is host)? The problem is that despite the documentation, Android forgets permissions between boots, even if user has checked to remember them. This is on Android 4.2.2 Apr 03 00:19:12 4.0 Apr 03 00:19:55 bankai_au: i dont understand, maybe you have a link completed tutorial? Apr 03 00:20:08 creatorb1: i'm giving you tools, not a spoon Apr 03 00:20:38 i can tell you guys are bros now Apr 03 00:23:39 bankai_au: (y) yess :-D i don't need spoon, maybe type of sample...because I still have not got an your description..... Apr 03 00:26:19 creatorb1: you're asking a question that requires a flow of many actions Apr 03 00:26:25 Damn, looks like there's no way to avoid that popup unless I root the device, and use some hack to run it as a system service. Apr 03 00:26:52 creatorb1: google the following: "retrofit android" "gson" "android sqlite" Apr 03 00:30:14 bankai_au: okee bro, i will try it now... i hope i can solve it, been almost a month I have not been able to do it :-/ Apr 03 00:30:27 which part is causing problems ? Apr 03 00:33:21 im trying to open a mp4 link from a webview and I want it to open native player, right now it pops up a complete acton dialog, is it possible to bypass this dialog? Apr 03 00:34:22 bankai_au: part of parse my database with json.... Apr 03 00:34:46 creatorb1: that sentence makes no sense Apr 03 00:36:38 bankai_au: i mean convert Apr 03 00:37:37 still not sure what you're talking about. You're having problems storing your json data in a db or dragging data out and formatting json ? Apr 03 00:42:47 bankai_au: ok, i mean i want to add update button on my app, but i'm confused how to build it, i dont know dragging data out for formatting json and get new data on my app Apr 03 00:43:56 use retrofit to get your data from your WS Apr 03 00:44:35 once you have your data, map it to java objects with GSON, then iterate through your now java objects and write them to the database using the sqlite db helpers Apr 03 00:44:53 i'm not sure what kind of answer you want asking such a big open ended non-specific question Apr 03 00:52:09 java.net.SocketException: recvfrom failed: ECONNRESET (Connection reset by peer) --- anyone ever get that error people say issue with the server or the device, I tried restarting the server and closing the app and re-opening it... not sure what else to do Apr 03 00:53:41 Hi all. Got an animation question. I start a view, and use android:fromYDelta="-100%" android:toYDelta="0%" in an animation XML to get the view to slide down from the top of the screen. When I expand the view and use that same line to also give it a drop down, it moves the entire viewgroup down from the screen, not just view that I use startAnimation on Apr 03 00:54:08 LoneSoldier728: is this your app? Apr 03 00:54:14 yeah Apr 03 00:54:22 the request is never making it to the server Apr 03 00:54:37 getting that back from retrofit as an error Apr 03 00:54:38 My question is: Is this because Ydelta is set before the animation starts? And if so, could I give the animation the updated Y delta to work with? Apr 03 00:55:14 that is much lower than Retrofit Apr 03 00:55:36 I know it is not a retrofit issue it has to do with the address maybe Apr 03 00:56:12 I have one idea that might be the reason to this issue Apr 03 00:56:42 yep Apr 03 00:57:06 it is my S3 CORS config because it has a * it sees every request incorrectly hm Apr 03 01:03:51 bankai_au: ok, i will to learn more again...but if I want to call my data in the database server, whether create like this http://api.androidhive.info/contacts/ =-O Apr 03 01:07:38 whoa whoa, CORS applies to Android sockets? Apr 03 01:12:04 so android update project -p . produces local.properties, however, my local.properties doesn't contain ndk.dir, does anyone know where that is supposed to come from? Apr 03 01:15:24 Wavesonics, manually Apr 03 01:15:38 pfn, thats what i had been doing, which sux... Apr 03 01:15:45 b/c it's an auto-generated file Apr 03 01:15:55 so it'll get overwritten Apr 03 01:16:03 this is a problem on say, a build server... Apr 03 01:16:11 it gets merged Apr 03 01:16:25 local.properties is not supposed to be checked in? Apr 03 01:16:30 no Apr 03 01:16:35 oh Apr 03 01:16:39 u mean that command merges Apr 03 01:17:55 pfn, well thats neat, thanks! Apr 03 01:18:13 sure seems like it should read the NDKROOT envvar and populate it via that like it does with the SDK root Apr 03 01:23:00 if you have the environment variable set you shouldn't need it in properties... Apr 03 01:25:47 I'm calling from inside an exec task in gradle, which doesn't seem to get env vars set, but it does real from local.properties Apr 03 01:25:59 anyway, if you agree i created an issue to star :P https://code.google.com/p/android/issues/detail?id=68078&thanks=68078&ts=1396488303 Apr 03 01:33:57 if env isn't set for exec, then it wasn't set for gradle Apr 03 01:34:59 well that aside, does it make sense to have to manually edit a file that explicitly tells you not to manually edit it? Apr 03 01:35:17 seems to me like it should be populated in a consistent way Apr 03 01:37:01 ndk isn't handled by standard sdk tools Apr 03 01:37:09 so yes, it makes sense Apr 03 01:37:26 I don't remember it saying do not edit, just don't check in Apr 03 01:37:46 and the env is where it should be picked up from Apr 03 01:38:52 ah, well somone agrees w\ me, the issue was picked up :P Apr 03 01:40:32 It wasn't picked up, it was triaged into a component Apr 03 01:40:51 and no, android update project doesn't read from env Apr 03 01:41:21 it just takes the base dir of the android command Apr 03 01:56:44 Is there any way to get Eclipse to build an app when the manifest includes a permission that's only available to an app in the /system dir? () Apr 03 01:56:57 Currently won't compile due to the "error" in the XML Apr 03 02:27:38 Is there a way to make a ListView's height be the height of each item? Apr 03 02:28:05 IE Can I make a ScrollView which contains a ListView? I tried android:layout_height="wrap_contents" but that isn't working out so well Apr 03 02:28:31 a list view is already a scroll view, basically Apr 03 02:28:54 Right. Well, my goal is to have a ScrollView with many different things. Not all are list items Apr 03 02:29:00 there are logos in there and the such Apr 03 02:29:10 but portions of it will be lists Apr 03 02:30:12 you can have more than one type of view in a listview Apr 03 02:30:20 that would work better Apr 03 02:30:40 I was hoping to avoid that. But I might do that Apr 03 02:31:02 it seems odd to have some list items which are like 3x the height with an image and are completely different Apr 03 02:31:06 but it's possible to do Apr 03 02:31:13 if you have a listview that's the size of everything it contains, you may as well just have a linearlayout as all the biews will be inflated togather Apr 03 02:33:51 Someone unblock me please from #android, cant join there for ages maybe someone place automatic reload and i am getting always blocked. By the way, how can i activate the 4G in my Samsung Galaxy S4 ? Apr 03 02:33:53 hey how would one bring a imageview in front of everything else Apr 03 02:34:00 I connected 4G Sim card but its not working. Apr 03 02:34:30 IamTrying: wrong channel, don't know, don't care Apr 03 02:34:45 bankai_au, * Cannot join #android (You are banned). Apr 03 02:34:56 that's nice, doesnt' make this the channel to ask Apr 03 02:35:25 Why? not i am paying Android give me Android official phone number to contact them then. bankai_au Apr 03 02:35:56 You cant just put me in banned for stupid reasons? and also keep me as client. Apr 03 02:36:17 this channel has nothing to do with #android Apr 03 02:36:17 I have issues i need to ask and share, that does not mean they have to ban every day. Apr 03 02:36:19 you're upset because someone from another channel banned you and no one in this channel can help you? Apr 03 02:36:34 i can see why you were banned Apr 03 02:36:47 this is about android app development. no-one here a) does phone support or b) has any ability to unban you from some other channel we're not affiliated with Apr 03 02:37:10 Selling products officially but no contact or available support center for Android how can i ask my issues then? bankai_au Apr 03 02:37:31 ring your carrier.... Apr 03 02:37:35 The place where i can ask, there they ban me, because i am asking my issues related to Android. Apr 03 02:37:39 how would one insert into a SQLite db off the main UI thread? Apr 03 02:37:50 IamTrying: why do you think we're a support channel for something you bought, or that we've sold you anything? We have nothing to do with #android. Go hassle the freenode admins or something. Apr 03 02:37:50 Mango_Man just do it ? Apr 03 02:38:11 Anyway thanks. 4G not working was my issue i thought someone can check why am i ban, and how long it will take to unban? Apr 03 02:38:14 haha g00s Apr 03 02:38:36 Mango_Man: yeah what g00s said more or less. Just do it. If you need multiple write sessions to your DB put it in a service or something and use that to broker it Apr 03 02:38:56 IamTrying: you don't like to read peoples responses, do you. welcome to /ignore. Apr 03 02:39:04 dragorn, #android has someone very specific i guess, who completely putting me for no special reason in ban list. last time it was open and then suddenly without any warning again they ban me. Apr 03 02:39:06 g00s dragorn so just insert? no threading at all? Apr 03 02:39:12 hello Apr 03 02:39:17 When I try to bind this service http://pastebin.com/j1hn2TQk using this code http://pastebin.com/6bZJ6LAU it will not bind. Apr 03 02:39:21 here is my Manifest: http://pastebin.com/eTW9Wz9K Apr 03 02:39:29 Mango_Man: well you can't have multiple simultaneous write at the same time Apr 03 02:39:35 hey g00s u available? Apr 03 02:39:41 jareddlc no Apr 03 02:39:52 k Apr 03 02:40:11 Mango_Man: and you'd probably want to take care of threading, yes. If you implement an external thread or service you'd probably want to make sure it's concurrent-safe. Apr 03 02:40:24 dragorn: what do you mean? i thought sqlite writes were already thread safe Apr 03 02:40:36 * dragorn shrugs Apr 03 02:40:37 omg concurrency :(( Apr 03 02:40:43 Or that. Up to you I suppose. Apr 03 02:40:46 JakeWharton i enjoyed reading this, haha XD https://twitter.com/JakeWharton/status/385898996884971520 Apr 03 02:40:51 Personally I'd throw writes into a synchronize Apr 03 02:40:59 and save myself the trouble down the line Apr 03 02:40:59 i was going to ask, what apis he does use, thinking its a null set Apr 03 02:42:44 Mango_Man perhaps look at ./aosp/packages/apps/Calendar/src/com/android/calendar/AsyncQueryService.java Apr 03 02:42:52 dragorn: if i have only one thread writing to the db at any given time, that thread *can't* be the UI thread, because it'll be janky? Apr 03 02:42:54 and its accompanying helper for one way to do it Apr 03 02:43:07 g00s: thanks, will take a look :) Apr 03 02:43:19 thats just one way there are many Apr 03 02:43:30 which makes android dev kinda like perl, everybody has their own idea Apr 03 02:43:51 anyone here use a the HC-05 Bluetooth serial module with android? Apr 03 02:44:03 jareddlc: I've used similar Apr 03 02:44:20 jareddlc: they're all wonky clones of eachother Apr 03 02:44:25 was is a hc-05 chip? Apr 03 02:45:03 ahh, jakewharton says to avoid sqlite entirely...maybe i should have went with json serialization Apr 03 02:45:06 dammit Apr 03 02:45:18 dragorn: and wher eu able to get 2 way comm? Apr 03 02:45:29 Mango_Man bwahaha Apr 03 02:45:40 jareddlc: they're all clones of eachother. Find me a canonical definition of a hc-05 and I'll show you a dozen with mildly different firmwares and pinouts claiming to be the same thing. Apr 03 02:45:44 But yes, it wasn't much trouble Apr 03 02:45:47 http://kismetwireless.net/gitweb/?p=kisbee.git;a=tree;f=android/Kisbee/src/net/kismetwireless/android/kisbee;h=712dd85e330e7c2833a29232ea33251c9b0d1456;hb=HEAD Apr 03 02:45:56 I hate it all. Schema migrations, content providers, content values, uri matchers, cursors, column interfaces, sql builders. <-- i agree Apr 03 02:46:01 there's the code. the firmware for the other device is elsewhere in that tree. Apr 03 02:46:18 thx dragorn i'll poke around Apr 03 02:46:20 and now i go to bed Apr 03 02:47:36 excuse my language: fuuuuuck, i just spent a week learning/implementing everything bankai_au said Apr 03 02:47:42 Mango_Man: did I say that? Apr 03 02:47:56 bankai_au, hear hear Apr 03 02:48:13 JakeWharton: yes, in g00s's twitter link https://twitter.com/JakeWharton/status/385898996884971520 Apr 03 02:49:59 yeah, schema migrations scare the fuck out of me Apr 03 02:50:06 so brittle, so much to go wrong Apr 03 02:50:24 1 -> 2 , 1- > 4 , 2 ->4 , combinatorial explosion Apr 03 02:51:19 g00s, DROP ... ; CREATE TABLE ... Apr 03 02:51:24 easy peasy Apr 03 02:51:26 yeah !!!! Apr 03 02:51:32 "1 star" Apr 03 02:52:04 g00s: 1 -> 4 = 1->2, 2->3, 3->4 ? Apr 03 02:52:24 sensen that is the right way Apr 03 02:52:55 one thing that sucks with sqlite is the incomplete support for ALTER TABLE Apr 03 02:53:02 if i recall, you can add a row Apr 03 02:53:08 thats about it Apr 03 02:53:44 Ah, yeah. Altering table is a pain in the ass. I ended up recreating the table when I needed to change the column type. Apr 03 02:54:07 Why Android is not making sound ? is the loud speaker broken or its Android BUG? Apr 03 02:54:18 but one thing i have found nice so far, is mvstore + protobufs Apr 03 02:54:41 When i connect head phone i can hear sound. But without head-phone no ring tone, nothing works no sound. Apr 03 02:54:56 IamTrying hey jellybrains, wrong channel Apr 03 02:55:27 g00s, BUG report for Android also wrong channel here? Apr 03 02:55:33 yeah Apr 03 02:55:36 WOW Apr 03 02:55:55 god bless Android thanks and sorry to disturb you guys Apr 03 02:55:57 yeah WOW, can you believe app developers don't care about your random issues with your phone? outrageous! Apr 03 02:56:02 did you understand, this is programming and not end user support ? Apr 03 02:56:15 have you tried turning it off and on again? Apr 03 02:56:26 go to the defect tracking system and submit a bug like everybody else with a brain Apr 03 02:56:33 g00s, i did not knew it, Android developers are so lazy then. Do not want to hear BUG reports in developer channel! you surprised me. Apr 03 02:57:07 bankai_au, YES i did rebooted few times but its same Apr 03 02:57:20 i was making fun of you Apr 03 02:58:12 g00s: Interesting! It even has encryption support. Apr 03 02:58:27 its very interesting; in memory off-heap storage too Apr 03 02:58:45 counted b-trees for index addressing **** ENDING LOGGING AT Thu Apr 03 02:59:59 2014