**** BEGIN LOGGING AT Tue Mar 06 02:59:58 2012 Mar 06 03:00:30 anyone know if there is a built-in function to draw multi-color/style text to the canvas (such as a spannablestring) withotu having to manually decode and draw each separate styled text segment? Mar 06 03:04:27 any idea why adb wouldn't see my device? shows up under lsusb... Mar 06 03:04:45 have adb driver? Mar 06 03:05:03 and usb debugging enbled? Mar 06 03:05:03 you might need to tell it about the specific product id or whatever it is Mar 06 03:05:05 enabled Mar 06 03:05:15 t0mless: i'm on linux, and yah, USB debug enabled Mar 06 03:05:22 wearpants: its bcuz ur using ubun2. every1 nos windows r best4 development Mar 06 03:05:26 did you enable it in your udev rules? Mar 06 03:05:56 or did you try running adb as root - just to test? Mar 06 03:06:09 "adb kill-server ; sudo adb devices" Mar 06 03:06:10 yup, ran as root Mar 06 03:06:17 dont do dat ur fone wil hahk u Mar 06 03:06:31 http://androidfails.com Mar 06 03:06:31 c Mar 06 03:06:35 d0h, works now, Mar 06 03:06:45 WARNING PLZ!!!!!!: Mar 06 03:06:46 ALL ANDROID HAVE VIRES!!! RLY BAD STEAL UR PASSWRD!!!!!!!!!!!!!!!!!!!!!! Mar 06 03:07:17 Leeds: thanks, seems that the server needs to run as root Mar 06 03:07:18 aaaaaand that's the ticket to the ignore list Mar 06 03:07:18 anybody can kick or ban or mute this guy? Mar 06 03:07:23 Leeds could Mar 06 03:07:24 i can Mar 06 03:07:31 thanks :) Mar 06 03:07:39 think it was past his bed time anyway. Mar 06 03:07:56 i'm sure he'll be back on another nick Mar 06 03:07:57 lol that site is hilarious Mar 06 03:07:58 lol, that's nothing, u should try anonops sometime ;-) Mar 06 03:08:08 wearpants: it's up to you - you can leave it running as root (the easy way) or fix your permissions (the hard way)... you only need to run adb devices once as root to leave the daemon running as root... I do it the easy way :) Mar 06 03:08:13 it did make me laugh Mar 06 03:08:27 Leeds: out of curiosity, what's the hard way? Mar 06 03:08:47 wearpants: udev rules, permissions, etc. to get your non-root user direct access to the USB port Mar 06 03:09:06 Leeds: ic... Mar 06 03:09:10 * wearpants opts for lazy ;-) Mar 06 03:14:10 Hm... what are all the make targets for AOSP? is there an easy way to list all of them? Mar 06 03:21:21 ok, let's hope I don't brick this thing ;-) Mar 06 03:22:16 if you think about it, it would be a very stylish paper weight Mar 06 03:22:32 shurane, I think there's a help option once you run envsetup Mar 06 03:22:36 my note wouldnt make a good paperweight Mar 06 03:22:40 it would cover the whole page Mar 06 03:22:55 haha, I am thinking about picking up a Padfone if it comes to ATT Mar 06 03:22:56 or, it would be the best paperweight Mar 06 03:23:16 i have big hands, so it works for me Mar 06 03:25:31 aww that's a clever little piece of technology, isn't it ? Mar 06 03:34:16 well, it booted ;-) Mar 06 03:39:52 DrPenguin: would you bother with the keyboard dock ? Mar 06 03:40:00 bankai_: I would Mar 06 03:40:10 whee, i can haz root Mar 06 03:40:16 I have a keyboard right now for my Xoom, but that keyboard dock would be a better touch Mar 06 03:40:18 DrPenguin: i've never seen this before, looks really funky Mar 06 03:42:12 Hah i have sams teach yourself C++ on my kindle library Mar 06 03:42:15 don't remember buying that Mar 06 03:43:52 I'm looking to remove some of these vendor apps; thoughts on adb uninstall vs. titanium backup's freeze? Mar 06 03:44:03 wearpants: #android-root Mar 06 03:51:19 what are some good apps for macs Mar 06 03:51:30 there's none .... Mar 06 03:51:43 what are the least shitty apps for macs Mar 06 03:51:45 JakeWharton: good apps for macs? what kinda apps Mar 06 03:51:51 JakeWharton: don't you have a solaris machine? :P Mar 06 03:52:15 my server is Mar 06 03:55:33 i don't know what kind of apps Mar 06 03:55:47 a non-shitty terminal since the default is ugly Mar 06 03:55:52 anything Mar 06 03:55:57 that makes a mac not suck so much Mar 06 03:55:59 * t0mless does not use macs Mar 06 03:55:59 rxvt-unicode Mar 06 03:56:05 did you get one for work? Mar 06 03:56:14 yes Mar 06 03:56:21 bootcamp, put linux onit Mar 06 03:56:22 Ohhh ok, yeah I was trying to figure out what you were talkin about. I dunno, why dont you try grabbing another terminal and just compile it from source? Mar 06 03:56:34 doesn't bootcamp only support windows7? Mar 06 03:56:41 otherwise you have to use some other method? Mar 06 03:56:51 pretty sure I put windows xp on boot camp before, not sure if it even supports linux Mar 06 03:57:00 but I thought it was just the mac bootloader to let you dual boot Mar 06 03:57:02 the bootcamp utility is just there to aprtition your disk and install the OS and configures the mac boot loader Mar 06 03:57:29 t0mless: you can install Linux on it, but bootcamp alone ownt do it, you need an alternate boot loader or have Linux boot your mac drive Mar 06 03:57:36 JakeWharton: you can configure your own color scheme for the default terminal app pretty easily in preferences, i prefer the simple black background white text of the Pro theme personally Mar 06 03:57:41 in the past, ive used rEFIt for dual booting ubuntu Mar 06 03:58:32 ah yeah Mar 06 03:58:35 you just have to quit and restart it Mar 06 03:58:38 alright Mar 06 03:58:39 time for dinner Mar 06 03:59:01 I actually have an OS X VM on my linux box, it doesnt run too bad.. doesnt have the latest drivers but its still pretty good Mar 06 03:59:58 I have an osx vm that i haven't tried to boot in a while.... Mar 06 04:00:40 i tried OS X in a VM and it just didn't want to install :( Mar 06 04:00:42 Mines 10.7.. but I might boot it and put on 10.5.. after Leopard the direction OS X in made me go wee Mar 06 04:00:45 err.. eww Mar 06 04:01:37 you can disable some of the more annoying changes in lion Mar 06 04:01:46 i'm putting off mountain lion though Mar 06 04:01:56 Oh I already did, I disabled some of the graphcial window stuff it does Mar 06 04:02:08 just wish I could have unity mode working in it Mar 06 04:05:12 hello Mar 06 04:05:48 im having an issue with "Class File Editor" and "Source not found" for a simple tabhost activity. I have permission, manifest fine, order of libs to build, project cleaned Mar 06 04:05:53 I cant figure out what to do.... Mar 06 04:06:17 I add the android jar location and then it says Instrumentation class is not part of it Mar 06 04:06:33 the source attachment does not contain the source for the file Instrumentation.class. Mar 06 04:08:20 https://market.android.com/details?id=com.aide.ui Mar 06 04:08:36 wabz: whoa fuck Mar 06 04:09:15 whoa Mar 06 04:09:23 Now thats an app Id pay money for Mar 06 04:10:35 any of you guys make 2d games? Mar 06 04:10:56 no but why do you need the source of Instrumentation.class? Mar 06 04:10:58 I make all the games Mar 06 04:11:05 MAKE ALL THE GAMES! Mar 06 04:11:06 wabz: yea no clue!? Mar 06 04:11:13 Meh, this java book shows you how to build a minesweeper clone in swing, but doesnt really break down individual elements very well. Mar 06 04:11:17 DrPenguin: have you played penguin wars Mar 06 04:11:29 hkhalid: duh, i am the grand general Mar 06 04:11:37 DrPenguin: I dobt believe you Mar 06 04:11:39 Saban: thats what I have found from A LOT of gui tutorials Mar 06 04:11:48 hkhalid: then that sounds like a perosnal problem Mar 06 04:11:52 Installing a gui editor now Mar 06 04:12:42 damn...I have my first activity as a splash screen, and then when it calls my tabhost activity, it force closes asking me for source of Instrumentation.class Mar 06 04:12:46 I cant do anything! Mar 06 04:12:59 hmm.. wabz, did you make AIDE? Mar 06 04:13:50 hkhalid: what are you trying to do? ive done Tab hosts before and havent had this issue Mar 06 04:16:29 DrPenguin: I have an app that just makes a tabhost....just like the online tutorial, I did the same thing for this app, but for some reason it loads first activty fine...and then it calls the activity to load the tabhost, and it just force closes...and says Class File Editor and goes into debug mode Mar 06 04:16:37 its really...really simple Mar 06 04:16:48 but cant figure out what the hell this class file editor source not found thing is Mar 06 04:16:50 can you show me this "online" tutorial and your stack trace? Mar 06 04:16:56 I have Android.jar I gave it the location Mar 06 04:17:11 my logcat errors = stack trace? Mar 06 04:17:31 the stack trace is the unwinding of your apps stack when you get the force close Mar 06 04:17:46 ah where I can go forward with f7 and all that ? Mar 06 04:18:05 uh I dunno? its a section of red text in logcat in the ddms section.. Mar 06 04:18:28 ok one min Mar 06 04:18:46 Eclipse is running under 1.6, but this Java project has a 1.7 Java compliance level, so WindowBuilder will not be able to load classes from this project. Use a lower level of Java for the project, or run Eclipse using a newer Java version. Mar 06 04:18:47 frown Mar 06 04:24:01 saban, do you need help? Mar 06 04:25:12 GoogleFu'd it Mar 06 04:25:39 idk if that means you got it or not Mar 06 04:25:56 I managed to figure it out Mar 06 04:26:04 good work :D Mar 06 04:26:12 and then hit a dead end with WindowBuilder, it feels unwieldy Mar 06 04:26:34 can't help much there, never used WindowBuilder Mar 06 04:26:48 whats your deadend though Mar 06 04:28:57 Basically adding anything to the design makes it snap to exact locations, feels like theres no play in how to arrange things Mar 06 04:30:12 Maybe this is just how Swing works though? Mar 06 04:35:19 When can I use findViewByIdon a widget that's in a view for an AlertDialog? I tried calling it after builder.create() ran, but it still doesn't find anything Mar 06 04:36:16 vadi2: show the code Mar 06 04:36:27 it might be yourObject.findViewById(..) Mar 06 04:36:32 you have it call it using your view Mar 06 04:37:01 vadi2: so your making a custom layout for the Alert Dialog? Mar 06 04:37:13 Yeah Mar 06 04:37:21 View hm Mar 06 04:37:30 vadi2: show the code and we can help you homie Mar 06 04:37:31 That could be it, I was trying activity Mar 06 04:37:32 assuming your inflating it, the resultant View is what you call findViewId from to get an individual view in it Mar 06 04:37:46 Yeah, ok Mar 06 04:38:37 That was it, thanks :) Mar 06 04:38:41 ^^ Mar 06 04:38:43 vadi2: np Mar 06 04:39:00 DrPenguin and I team up for success. Mar 06 04:39:09 We are like Zan and Jane Mar 06 04:39:22 or like cheech and chong Mar 06 04:39:31 except we're productive lol Mar 06 04:39:37 or Gloop and Gleep Mar 06 04:43:12 i can't get my damn widget to fill parent width wise Mar 06 04:54:01 Hm... when I input data in my AlertDialog and press either the positive or negative button, the on-screen keyboard stays Mar 06 04:54:12 Should I be hiding it myself? Mar 06 04:57:59 i'm seeing a bunch of logcat entries with a memalloc tag which are mapping and unmapping buffer http://pastebin.com/zFhGr21x all of these are caused by my application Mar 06 04:58:53 I dont know what I'm looking for Mar 06 04:59:42 Does anyone know if using the MifareUltralight class to read and write data in an nfc tag will be done as ndef formatted msgs? Mar 06 05:00:04 AbelianHorizon: is your app using any libraries or anything like that Mar 06 05:00:40 ABS Mar 06 05:01:33 does ABS cause logcat spitting like this? Mar 06 05:01:41 I don't think so Mar 06 05:01:50 Jiminy, trying to make the layout i want in WindowBuilder for swing = headache. Mar 06 05:02:02 AbelianHorizon: is this on a particular device? Mar 06 05:02:05 do you get this in the emulator, too Mar 06 05:02:15 i should probably check that Mar 06 05:02:51 *waits for emulator to load* Mar 06 05:09:13 readme: yeah that was just the rom im on, thanks Mar 06 05:09:27 np Mar 06 05:13:57 damn, that sucks that widgets dont support edittext Mar 06 05:15:35 Does anyone know if using the MifareUltralight class to read and write data in an nfc tag will be done as ndef formatted msgs? Mar 06 05:18:14 QubeZ: you can create a custom dialog, though its not quite the same Mar 06 05:18:45 QubeZ: personally i'd be a bit annoyed if I had to bust out the keyboard for a widget Mar 06 05:18:53 ya, i want users to edit directly on the widget... i dont want to popup something Mar 06 05:19:02 facebook/twitter Mar 06 05:19:03 make your own kb? Mar 06 05:19:10 QubeZ: just theme your TextView to appear as an EditText Mar 06 05:19:25 readme: *nod*, i'll just point them to the screen/activity when they tap it Mar 06 05:19:48 actually, I use edittext in the widget and it still shows up. Not sure why its not erroring at compile time Mar 06 05:20:02 but you're right, better just to point the user to the right activity Mar 06 05:24:03 fortunate that so few people seem to really understand usability Mar 06 05:24:15 leaves opportunities for those who are willing to go the extra mile. Mar 06 05:24:23 readme: what do you mean? Mar 06 05:24:33 QubeZ: every time I use software I find something to gripe about Mar 06 05:24:42 hehe like entry on widget? :) Mar 06 05:24:45 but on the bright side Mar 06 05:24:48 no not your idea Mar 06 05:24:51 i think that's cool actually Mar 06 05:24:53 you should do it Mar 06 05:25:18 having a tiny keyboard in a widget could be fun, if you can manage to fit it nicely Mar 06 05:25:35 tiny keyboard? thats not what i want to do Mar 06 05:25:43 What was the reason for the inclusion of the edit text? Mar 06 05:25:51 to allow for quick add of tasks via my widget Mar 06 05:26:01 are you making a todo app? Mar 06 05:26:12 www.todomapr.com Mar 06 05:26:20 going to Market in a few days after Beta is over Mar 06 05:27:17 you should rehash that with some more real estate specific terms Mar 06 05:27:23 I bet you could be very successful with it Mar 06 05:27:53 it looks great Mar 06 05:28:17 web service will be out later this month... pseudo real-time push notifications (via c2dm) so husband/wife can share tasks, project teams can delegate etc.. Mar 06 05:28:37 thanks, spoke with Google and they seemed to like it (some of their tech and sales staff contacted me) Mar 06 05:28:44 I was looking at todo apps today, and the one I liked most is any.do Mar 06 05:28:48 i had them look over the app to make sure im not breaking any terms of maps api lol Mar 06 05:29:07 also talk to the android developer relations guys to get it featured Mar 06 05:29:09 readme: any.do is beautiful, i really like it. Inspiration for our 2.0 UI in a few months. Mar 06 05:36:34 fuck Mar 06 05:36:42 it was my xml that was force closing the app Mar 06 05:37:02 * hkhalid puts on cube 2 for QubeZ Mar 06 05:37:22 good movie, Cube 1 was best though Mar 06 05:37:34 QubeZ: you made that neato app? Mar 06 05:37:38 i loved the concept Mar 06 05:37:44 hkhalid: which one? Mar 06 05:37:48 the ide Mar 06 05:38:06 the ide? whats that? Mar 06 05:38:27 develop android apps w/in android Mar 06 05:38:32 my mistake Mar 06 05:38:51 no, i didn't write any IDE Mar 06 05:38:56 does Google have money to make a IDE for Android or they cant afford it? Mar 06 05:39:05 Why didnt they put any money into it? I hate this shit Mar 06 05:39:05 lol Mar 06 05:39:14 eclipse is a pos ya Mar 06 05:39:16 i still use it though Mar 06 05:39:29 haven't moved to IDEA... might try it on a weekend Mar 06 05:39:36 really cheapo move on thier behalf lol Mar 06 05:40:08 Personally, I'm glad if the challenge deters lollers who can't spell "their" from polluting the marketplace. Mar 06 05:41:11 oh my god, freecandy's mind halted where he couldnt understand what I meant! pity on you man lol Mar 06 05:41:27 I sense fnord from you.... Mar 06 05:42:07 hey guys Mar 06 05:42:16 you are the type of guy who would choke up on trying to understand someone from another country and make fun of thier accent instead of getting the message Mar 06 05:42:22 you have any tutorials/tips on android logging? Mar 06 05:42:29 like what library do you use? Mar 06 05:42:36 or any pitfalls or words of advice? Mar 06 05:45:24 anyone worked on nfc stuff here? Mar 06 05:46:36 not me Mar 06 05:46:37 why? Mar 06 05:47:05 Does anyone know if using the MifareUltralight class to read and write data in an nfc tag will be done as ndef formatted msgs? Mar 06 05:47:17 chups, thats why :P Mar 06 05:49:14 help, i was using android lost, it seem to broken my pin lock function.. now when i set pin, and try to unlock with the same pin(4digit) it kept saying wrong althought i was correct. any solution? Mar 06 05:50:06 twitergal, is it rooted? Mar 06 05:50:14 yea Mar 06 05:50:40 it was working fine all the while, untill an hour ago, i tried using android lost to unlock the phone through the site Mar 06 05:50:53 and things start acting weird.. unlock is impossible via keypad. Mar 06 05:51:18 ok i havent used android lock Mar 06 05:51:21 i tried setting manunally via setting, and try unlock again with the same pin. it kept saying incorrect Mar 06 05:51:34 did u try installing anything new for android lock to work? Mar 06 05:52:24 im using default android pin lock Mar 06 05:53:14 did u try seeing what the error message is? Mar 06 05:53:27 logcat and see if u can find out what the actual reason why u are unable to open it is Mar 06 06:14:43 I need a programmatic web browser to retrieve some info from a website that hasn't implemented any API. And this site messes up with javascript so I cannot use traditional HTTPRequest. Is it possible to use some kind of "silent webview" to achieve this? Mar 06 06:16:49 you might just need to be a bit more flexible with your httprequest Mar 06 06:21:43 oh yes, take it off Mar 06 06:21:48 oops, xsend Mar 06 06:22:09 yes, I guess I should try to figure it out. I could do some stuff sniffing packets with wireshark and seeing what really was being sent. As the page is made with JSF it has a lot of crap below Mar 06 06:22:36 you know, cryptic IDs and that kind of things Mar 06 06:23:07 but I got stuck in a place where I'm missing something and get a "Permission denied" Mar 06 06:23:30 is that from your adb logcat? Mar 06 06:23:51 can we have a copy of your logs please Mar 06 06:23:54 no no, something from tomcat Mar 06 06:24:16 page-scraping from within an app? ew :/ Mar 06 06:24:32 I know, I wish it would have some api Mar 06 06:25:08 *I wish it had, sorry for my poeer English Mar 06 06:25:17 *poor haha Mar 06 06:25:24 make sure the site you're scraping is ok with it, btw. dynamic page generation for an unknown number of way-above-normal clients may get your UA banned :) Mar 06 06:25:59 yeah, it seems like they might not want people scraping... Mar 06 06:26:02 FerchoLP: is it well-formed xhtml? Mar 06 06:26:09 what site is it? Mar 06 06:26:27 is there an onphone equivalent to wireshark? Mar 06 06:26:35 haha it's this site: http://individuos.claro.com.ar/ Mar 06 06:26:52 it has a login form, that works ok without javascript Mar 06 06:27:04 inside the site, there are some regular links that also work ok Mar 06 06:27:23 but then there is some javascript+jsf+jquery crap that I can't get to work Mar 06 06:27:50 I could make it work with HTMLUnit but obviously not from an Android app but from a regular java project Mar 06 06:27:50 FerchoLP: if you have a valid dom and it's a well-formed xhtml document, you can probably rip it apart with a sax parser Mar 06 06:28:15 and then, from there, generate whatever dynamic bits they require Mar 06 06:29:05 even if it works with jquery? Mar 06 06:29:19 that'd be the "dynamic bits" Mar 06 06:29:42 if the site's ok with the scraping, their web team would probably be willing to help you out. just saying :) Mar 06 06:31:38 I don't think so, that site is from the largest mobile phone network operator in the country. they won't even listen Mar 06 06:32:02 FerchoLP: and if they get hammered with your app, they'll just ban it. also not a good thing. Mar 06 06:34:11 I'm ok with that, I'm just doing it in my spare time. Morover, the app does not scrap all the time. It can calculate info by itself, like Droidstats, and scrap time to time to synchronize Mar 06 06:34:26 and make info more precise Mar 06 06:35:09 just saying: Sin perjuicio de ello, CLARO en cualquier momento, sin invocación de causa y sin previo aviso, podrá suspender o terminar el acceso que el USUARIO tenga a todo o parte de este sitio; sin que ello genere derecho a reclamo o indemnización alguna. Mar 06 06:35:52 I know that, the actually already change their site once Mar 06 06:35:58 *changed Mar 06 06:36:44 but it's likely that there will always be one site working because there are some services they offer you can only manage online Mar 06 06:36:52 but yeah. screen scraping sucks. many sites make it hard to do, just because their dynamic pages are so "heavy" Mar 06 06:38:44 yea it sucks :/ Mar 06 06:41:57 well, I'm leaving. Thanks for your advices :) Mar 06 06:42:29 good luck Mar 06 06:43:42 how can I add a depressed divider into my layout? Mar 06 06:44:01 i've seen people do black / colored ones... but not something where its creased Mar 06 06:56:09 hello Mar 06 06:56:19 Hi guys, newbie question. I'm trying to log a webserv response that catch into an InputStream object... which class can I use to get the response string? Mar 06 06:56:39 to show it Mar 06 06:56:40 i have x86 4.0 on a tablet, but can't find a way to save dumsys Mar 06 07:00:47 when i try dumpsys > dumpsys.txt the terminal returns the error can't create dumpsys.txt Read-only file system. How to remount the file system as writable? The 'Email to" option also does not work, because? the terminal output for dumpsys is too large to be emailed? Mar 06 07:04:34 have it output to a writeable directory? Mar 06 07:05:56 damn you and your sensible suggestions Mar 06 07:06:20 :p Mar 06 07:06:31 I've been procrastinating greatly today with online version of dominion Mar 06 07:08:49 from the widget, is it wise to integrate ASyncTask internet tasks that are interactive? For example, in my app, the user adds a task like "target" then hits add... i do a query to find locations. Is this wise to integrate into a widget? Mar 06 07:09:10 I'm trying to allow users to quick add via widget but then it adds alot of complexity to the widget that is in the app already. Mar 06 07:09:33 or is it better to pass the data as an intent and do all of the work in the activity itself? Mar 06 07:11:55 QubeZ: Sounds like you just need multiple AsyncTasks Mar 06 07:12:11 One to add a task, then one to query locations Mar 06 07:12:38 i know about the concurrency, im curious more on the design of a widget... whether its wise to add that stuff into a widget or just hand it in my activity in the app Mar 06 07:12:53 is this for the homescreen? Mar 06 07:12:59 ya, widget Mar 06 07:13:42 QubeZ: out of curiosity, what would happen if you took the widget and trashed it when the task was running? Mar 06 07:13:55 Just being a widget doesn't necessarily mean it is only for the homescreen ;P I don't know best practices for Homescreen development. Mar 06 07:13:58 maybe it's better to use an IntentService and wait for a broadcast Mar 06 07:14:16 did you hear a quack? Mar 06 07:14:29 readme: no clue Mar 06 07:19:49 i can't for the life of me figure out why my widget doesn't take up the entire width of the screen Mar 06 07:20:16 i set minWidth to what I need the min to be but then im my layout i add fill_parent Mar 06 07:25:08 oh i need sleep, nevermind Mar 06 07:25:39 help, i was using android lost, it seem to broken my pin lock function.. now when i set pin, and try to unlock with the same pin(4digit) it kept saying wrong althought i was correct. any solution? Mar 06 07:27:00 #android-root Mar 06 07:27:02 this is a developer chan Mar 06 07:27:17 or just #android too Mar 06 07:27:38 any body from egypt Mar 06 07:55:38 Shouldn't ImageView.setColorFilter(0xFFFF0000, Mode.Multiply) make my image red-ish? Mar 06 07:56:16 depends on what you are multiplying that colour with Mar 06 07:57:04 white Mar 06 07:57:14 white multiplied by red is white Mar 06 07:57:32 I'm a bit confused. Mar 06 07:57:39 change your blending mode Mar 06 07:57:46 white is everything. adding more to everything gives you everything. Mar 06 07:57:53 Doesn't it do [Sa * Da, Sc * Dc]? Mar 06 07:57:56 yes Mar 06 07:57:59 and white is 1,1,1,1 Mar 06 07:58:23 Then, if I do [1,1,1,1] * [1,0,0,1], shouldn't I be getting [1,0,0,1] ? Mar 06 07:58:50 it's additive multiplication :) Mar 06 07:59:14 it shouldn't give you less than you started with. Mar 06 07:59:33 So it does color + multiplicationResult ? Mar 06 07:59:39 (clamped to 0..1) Mar 06 08:00:56 I found that SRC_ATOP works well Mar 06 08:01:03 that's what I used in Android's launcher app Mar 06 08:01:12 to colorize shortcuts/widgets when you move them over the trash Mar 06 08:01:41 Meh, I'm unable to get it colored even with SRC_ATOP :-( Mar 06 08:02:23 Am I doing it right? http://pastebin.com/1hSj4d5F Mar 06 08:02:35 ah no Mar 06 08:02:41 the color filter doesn't apply to the background Mar 06 08:02:48 Ouch! Mar 06 08:02:55 is setShadowLayer a good way to add glow to TextView? Mar 06 08:02:59 you need to call setImageDrawable() Mar 06 08:03:02 tmoskowite: yes Mar 06 08:03:16 tmoskowite: TextView has attributes to specify a shadow already Mar 06 08:03:17 @romainguy_ thanks Mar 06 08:03:23 ryden: your multiply might work Mar 06 08:03:34 but I remember it didn't give good results Mar 06 08:03:53 Multiply should surely work like shining a coloured light on a coloured object. Mar 06 08:03:59 I will use SRC_ATOP then, thank you so much everyone. Mar 06 08:04:09 Guest17756: yep, add wouldn't have worked with white Mar 06 08:04:11 a red light on a white object giving you red reflection, etc. Mar 06 08:04:20 (that'll teach me to answer questions so late :)) Mar 06 08:04:40 Gumboot: sure, but Android doesn't use a full-fledged lighting engine :)) Mar 06 08:04:43 hm. i was recalling multiply being additive-only. that'll teach me to try to help on irc while doing $work :) Mar 06 08:04:59 @romainguy_ I am using a OnTouchListener to apply glow when touched by user Mar 06 08:05:19 I meant to phrase that as a question, really. Either leading with 'I thought' or finishing with ', shouldn't it?'. Mar 06 08:05:38 tmoskowite: my bad, it's called setShadowLayer() on textview too Mar 06 08:05:40 seriously Mar 06 08:05:45 I need to go to bed /o\ Mar 06 08:06:11 sleep is good Mar 06 08:06:19 Yes. Everyone should sleep strictly regulated hours so I don't get confused about time zones. Mar 06 08:06:23 No! Back to your code monkeying! Mar 06 08:06:30 Tue Mar 6 22:06:29 LINT 2012 Mar 06 08:06:38 Gumboot: that should help your confusion! Mar 06 08:06:59 LINT? Mar 06 08:07:09 obsolete timezone Mar 06 08:07:30 00:06 Irssi: process 0 (TZ=Pacific/Kiritimati date) terminated with return code 0 Mar 06 08:07:30 Is that the time zone you end up in if you try to run static analysis tools on your code and fix all the errors? Mar 06 08:08:15 i actually have a more bizarre timezone aliased, too Mar 06 08:08:17 Mon Mar 5 18:08:17 Etc/GMT 2012 Mar 06 08:08:23 00:08 Irssi: process 0 (TZ=Etc/GMT+14 date) terminated with return code 0 Mar 06 08:08:50 * Gumboot is in the 'have breakfast and go to work right now' timezone. Mar 06 08:09:07 i'm in the "this patching needs to finish so i can sleep" timezone Mar 06 08:10:19 I'm in the "I am at work but have to finish my coffé to wake up" Mar 06 08:10:55 you accedentally forgot the Mar 06 08:11:03 s/e/i/ Mar 06 08:13:09 "havi"? Mar 06 08:28:53 hey guys, anyone working w Android tablets? Mar 06 08:29:03 from time to time Mar 06 08:29:10 I want to find out what's a good dev setup Mar 06 08:29:21 and what version? 4.0 looks tight! Mar 06 08:29:30 4.0.3 on my acer iconia Mar 06 08:29:40 cool Mar 06 08:30:13 any experience w auraslate - http://www.auraslate.com/ Mar 06 08:30:30 looks like they are shipping the source code etc with flashable ROM Mar 06 08:30:38 but no return policy Mar 06 08:48:44 http://www.auraslate.com/ Mar 06 08:48:49 xsend Mar 06 08:55:54 chups: xsend? Mar 06 09:29:34 how to check whether a column exists in a sqlite db? Mar 06 09:34:53 Talking about querys, how can i just fetch .jpg and .png in a managedQuery()? Mar 06 09:35:59 Duke_Puke: you can store as blob or you can store the files on disk and store the absolute path in db Mar 06 09:37:12 shipit: I want to get the images from MediaStore Mar 06 09:38:43 According to the designer, the tab-bar I'm implementing must be 51dp of height.. and this has to be set in the code, according to the internet. Now, how do I calculate the pixels based on what phone you're running the app on? Is there some fancy class that can do the calculations for me? Mar 06 09:39:17 anyone here know how to setup a android dev setup on Ubuntu 10.04 LTS ? the guide on the android site isn't working properly anymore. I was reading it deals with the RSA hack months ago and have not been fixed for the usage guide yet Mar 06 09:39:23 Duke_Puke: MediaStore is a provider, when you query with content uri, it returns the uri for image files Mar 06 09:39:36 Duke_Puke: it doesn't return the data itself Mar 06 09:40:03 Duke_Puke: assuming you're talking about this: http://developer.android.com/reference/android/provider/MediaStore.Images.html Mar 06 09:40:31 shipit But it returns id's for images of other fileextensions than .jpg and .png Mar 06 09:40:36 lwizardl: not everyone here runs ubuntu, so elaborating upon "isn't working properly anymore" may be helpful. Mar 06 09:41:06 Duke_Puke: ah! I think I encountered that too. A lil rusty here :) Mar 06 09:42:34 Duke_Puke: if you want to simply display them, then maybe ImageView.setImageURI() is helpful to you Mar 06 09:42:51 otherwise there's a way to obtain the absolute path Mar 06 09:43:52 http://stackoverflow.com/questions/3401579/get-filename-and-path-from-uri-from-mediastore Mar 06 09:46:52 shipit I've done exactly like the top comment on stackoverflow, but it seems to be puting more images in the Cursor that is not readable by a imageview so i end up wiith 7 black thumbnails in my gridView wich all (when clicked) cause the application to crash Mar 06 09:47:37 the thumbnails are not visible? Mar 06 09:48:06 i'm not too sure understand the concept of Context's fully.. Is there a difference between getApplicationContext().getSharedPreferences and this.getSharedPreferences() in an activity? Mar 06 09:48:08 shipit: nope Mar 06 09:49:28 also: i want to ship initial data in the apk of our app. it seems one way is to zip the file up and ship it in assets/ and then decompress to external storage on first run... Mar 06 09:49:36 shipit: The thumbnails are not visible but created(hence clickable), they lead to a nonexsisting image Mar 06 09:49:52 but since the data is pretty much all compressed anyways (mostly images) the extra zipping step is a waste of CPU time Mar 06 09:49:53 shipit: or a non poenable image Mar 06 09:49:57 openable* Mar 06 09:50:14 so is there something like tar available, too? which just creates an archive without an extra compresion step|? Mar 06 09:50:52 Duke_Puke: hm, lemme look for another method to obtain filepath of image from uri Mar 06 09:51:04 Duke_Puke: I've done something similar long time ago Mar 06 09:51:16 btw - you're on 2.2? Mar 06 09:51:26 shipit that would be of great help, thank you :) Mar 06 09:51:38 SDK 2.2? Mar 06 09:52:41 no, the OS version or API level Mar 06 09:52:43 tapas: if they aren't compressable, they'll be stored uncompressed and won't take the extra cpu to decompress Mar 06 09:53:24 shipit: Sorry thats what i meant. Um yes aslong as i dont go past 2.2 I'm happy Mar 06 09:53:42 Drakonite: there's still an extra codebook lookup step, no? Mar 06 09:54:09 Drakonite: oh, i think you're right.. Mar 06 09:54:23 tapas: should be flagged as uncompressed in the TOC of the archive Mar 06 09:55:05 real issue is that the system has to process from the start of the archive to the start of the file before it can read it IIRC Mar 06 09:59:27 Duke_Puke: I looked at my code, I'm using the SO solution :/ Mar 06 09:59:44 what's the exception you're getting? Mar 06 09:59:53 shipit i tried that but it would just crash Mar 06 10:00:12 can you pastebin that part of your code? Mar 06 10:00:14 shipit two seconds gonna check Mar 06 10:00:48 hm... I'm pondering writing a simple util (for windows) to allow double clicking an APK to upload to a device via ADB, and maybe capture logcat as well. On scale of taco to skateboard, how useful does that sound? Mar 06 10:01:34 Drakonite: use linux and a shell script? ;D Mar 06 10:01:41 Drakonite: much easier ;D Mar 06 10:01:46 no Mar 06 10:01:56 shipit: CurosrIndexsOutOfBoundsException Mar 06 10:02:04 I do development as a living, I need an OS that people actually use. Mar 06 10:02:09 Duke_Puke: ah! Mar 06 10:02:49 Duke_Puke: that's unrelated to image url itself, and this is when you click the thumbnail, right? Mar 06 10:02:55 shipit do you have a pastebin of the SO soulution Mar 06 10:02:56 Drakonite: aww c'mon dude Mar 06 10:03:00 Drakonite: the fun part is the drivers Mar 06 10:03:00 and despite usually having a cygwin terminal open, I'd prefer not having to go through the same nonsense with adb all the time Mar 06 10:03:01 I'm trying to add a content provider to my manifest, but pretty much no matter what I put for the name attribute, I get a classnotfoundexception at runtime. I'm using the full class path, and I've quadruple checked that there's no typo. I'm at a loss for what else to try... Mar 06 10:03:03 quite a bizarre reasoning... I do development as a living and I use an OS that lets me be efficient Mar 06 10:03:11 Drakonite: don't most people just use eclipse for that? or adb? Mar 06 10:03:16 (if your target is e.g. "beta testers") Mar 06 10:03:22 storkme: sane people Mar 06 10:03:37 i do development for a living and for some reason i still use windows :/ need to do something about that Mar 06 10:03:51 sam: The people I sell my software/games to don't use Linux, which makes it rather difficult to develop and test products and sell them to them using Linux Mar 06 10:04:09 there's nothing wrong with using Windows... it's wrong to use it for the wrong reasons Mar 06 10:04:16 storkme: I don't use eclipse. Big PITA. using adb on cmd line is a bit of a pain after a while Mar 06 10:04:17 how does that even remotely relate to android? Mar 06 10:04:42 Drakonite: I really don't understand... developing and testing aren't the same Mar 06 10:05:00 Duke_Puke: this is what I use, https://gist.github.com/1138617 Mar 06 10:05:05 the people I sell my software/games to don't even use a computer Mar 06 10:05:25 Duke_Puke: but your crash is coming from something else AND the first problem is thumbnails not displaying Mar 06 10:05:59 sam: I do far more than android dev. a lot of stuff (most?) I do is either specifically targeted at windows or uses external tools that are windows only Mar 06 10:06:09 shipit: All the other thumbnails is showing but then it adds a addition of seven black ones Mar 06 10:06:31 grrr github pages is not applying my layout Mar 06 10:06:53 Duke_Puke: -- oh now that's completely different idea than what I thought so far Mar 06 10:07:27 Drakonite: ack, I have the same problem (Playstation or Xbox SDKs that only work well on Windows) Mar 06 10:07:32 Drakonite: but my Windows box runs a Linux virtual machine that I use for problems Windows can't solve; it's very handy Mar 06 10:07:36 Duke_Puke: you're seeing seven (7) extra thumbnails from the Cursor returned by the MediaStore? Mar 06 10:07:48 and those are causing the crash Mar 06 10:07:53 nothing wrong with windows... Interix MISTER-SIR 5.2 SP-9.0.3790.4369 x86 Intel_x86_Family15_Model4_Stepping1 Windows Mar 06 10:08:06 shipit: Oh sorry i should have been clearer yep, wich should relate to my imageadapter having a problem Mar 06 10:08:41 lewellyn: can that run zsh? Mar 06 10:08:52 yes Mar 06 10:09:16 I should try it one day Mar 06 10:09:24 lol Mar 06 10:09:31 sam: worse is Wii, that don't even tend to work in 64bit windows. Let's use a VM to run windows on windows because of crappy drivers! I'm glad I'm away from that mess >_< Mar 06 10:09:31 rise against cover of Anyway You want it Mar 06 10:09:38 just came on pandoa Mar 06 10:09:38 Duke_Puke: can you paste the code for the Cursor? Mar 06 10:09:45 Journey meets Rise Against = win. Mar 06 10:09:57 Drakonite: haha I'm glad my standards ruled out the Wii :) Mar 06 10:09:57 "Version 4.2.5.7 of zsh for Interix." Mar 06 10:10:01 shipit: Let me send my file in pastebin http://pastebin.com/F1TUDwRS Mar 06 10:10:20 shipit the cursor is beeing loaded at line 37 Mar 06 10:10:43 39* Mar 06 10:12:02 Duke_Puke: y, I see taht Mar 06 10:12:05 Hm... I'd like my AlertDialog not to auto-hide when it's positive button is clicked, it needs some remote validation first (it does have a cancel button). I attached an OnKeyListener to it, but it doesn't seem to be called. What is an OnKeyListener exactly for? Mar 06 10:12:18 is there a way to programatically navigate back to the main activity of an app? Mar 06 10:12:26 sam: heh. it took less than one project and I was over the wii, before it had even hit stores -- I virtually ran screaming back to PS2 dev. Somehow ended up in charge of setting up and maintaining the wii dev envs though :-/ Mar 06 10:12:48 Duke_Puke: does the exception happen at line 61? Mar 06 10:12:52 ew :/ Mar 06 10:13:47 shipit let me check Mar 06 10:14:10 something liek "pop the activity stack until you reach this one activity"? Mar 06 10:15:11 just intentionally starting the activity calls onCreate() which is not what we want :D Mar 06 10:15:37 I get the impression no one is interested then Mar 06 10:15:37 ah ok, this seems to be it: Mar 06 10:15:39 Catalog.getInstance(getApplicationContext()); Mar 06 10:15:39 * Drakonite shrugs Mar 06 10:15:44 http://developer.android.com/reference/android/content/Intent.html#FLAG_ACTIVITY_CLEAR_TOP Mar 06 10:17:08 Drakonite: looks like most ppl here are on a terminal w aliases/autocomplete for adb :/ Mar 06 10:19:18 shipit: it'd at least be nice if there was a simple "adb run_this_thing_instead_of_just_installing" command Mar 06 10:19:54 just uninstall it when you're done? Mar 06 10:20:12 Drakonite: like this? http://www.android.pk/blog/general/launch-app-through-adb-shell/ Mar 06 10:20:16 I know I could write a script to parse the manifest, figure out the activity, and then make multiple calls to adb to install and then launch... but feels like I might as well make a more windows friendly app if I'm doing this in winodows anyways Mar 06 10:20:55 shipit: yes, but without having to specify all those options :P Mar 06 10:21:25 I make simple scripts for each project that contain the commands, but it seems like something that should be wrapped up and autodetected Mar 06 10:21:44 Drakonite: I end up having an alias eg adb install && launch_apk Mar 06 10:22:15 shipit: I'm horrible at debugging. But it seems like the problem is first encounterd in the intent when the image is trying to get loaded Mar 06 10:22:19 yep, but then launch_apk has to be customize for every project Mar 06 10:22:37 bit of a pain, and even more so when installing apk to test projects for other people Mar 06 10:23:53 Drakonite: your solution is useful especially when switching between projects, introspect the manifest and bam! install/launch apk Mar 06 10:24:12 I would stick the script in my PATH Mar 06 10:24:14 :) Mar 06 10:24:33 shipit: I think there are two issues, one, adb should just support that itself, and two, making a user friendly app for other use cases Mar 06 10:24:55 no one sounds too interested in the latter though, so I may not bother making it polished at all Mar 06 10:28:20 shipit: Does the "like ?" work to filter out in a managed query? Mar 06 10:28:28 or iis my projection to large Mar 06 10:28:56 stupid ass brain not working late at night Mar 06 10:29:19 _layout doesn't work for jekyll... I was like wtf why isn't this working! Mar 06 10:29:28 default.html is in _layout..... oh shit Mar 06 10:29:40 f2 + _layouts + enter Mar 06 10:29:43 Fixt! Mar 06 10:29:52 Duke_Puke: I think the extra thumbnails are either corrupted or stale, so try switching out the thumbnail uri to MediaStore.Images._ID Mar 06 10:30:44 Duke_Puke: the cost of scaling actual images to thumbnails size is not that much Mar 06 10:31:07 Duke_Puke: so basically in line 47 Mar 06 10:31:18 and also line 40 Mar 06 10:31:27 and line 37 Mar 06 10:32:15 shipit: Line forty wat should i put instead of EXTERNAL_CONTENT_URI? Mar 06 10:32:15 hi Mar 06 10:32:45 Duke_Puke: line 40 should be MediaStore.Images.EXTERNAL_CONTENT_URI Mar 06 10:32:49 shipit or should i just trade Thumbnails to Media Mar 06 10:32:56 notice that I removed "Thumbnails" Mar 06 10:33:33 shipit: But then i must add Media instead of Thumbnail Right? Mar 06 10:34:24 shipit So the line would look like MediaStore.Images.Media.EXTERNAL_CONTENT_URI, and MediaStore.Images.Media._ID Mar 06 10:34:47 Duke_Puke: yes Mar 06 10:34:54 I think that should work Mar 06 10:35:05 shipit: THAT WORKED Mar 06 10:35:11 awesome! Mar 06 10:35:31 f'ing thumbnails provider! Mar 06 10:35:43 shipit: i owe you. You've been a great help thanks :D Mar 06 10:35:57 Duke_Puke: np, g'luck, we've all been there :) Mar 06 10:36:38 shipit: Hehe, thanks. Have a nice day :) Mar 06 10:36:50 you too :) Mar 06 10:37:21 shipit BTW, is there a simple command to check if there are any new images in the sdcard like a refresh command or something Mar 06 10:38:50 Duke_Puke: I would do - getContentResolver().registerContentObserver(uri, true, myContentObserver); Mar 06 10:39:08 shipit: Thanks a lot :D Mar 06 10:39:32 Duke_Puke: alternatively if you extend your ImageAdapter from a CursorAdapter, it'll update whenever there is a new image on the sdcard Mar 06 10:40:38 shipit is there any major changes in doing that or can i just change BaseAdapter to CursorAdapter? Mar 06 10:42:01 Can I increase the launch timeout? On this slow S1, I have to give it about 20 attempts before one makes it in before the timeout Mar 06 10:42:12 (0 applications running) Mar 06 10:42:49 Actually CursorAdapter requires the cursor instance and you have to override two methods - bindView() and newView() - pretty simple, but not just replacing BaseAdapter with CursorAdapter Mar 06 10:43:40 do i need to write something in the two overridemethods? Mar 06 10:47:24 Worked it out, you can increase the timeout Mar 06 10:51:42 btw: when do get shared preferences saved? Mar 06 10:51:52 when you commit, I think. Mar 06 10:53:25 hmm.. i must be doing something wrong then.. Mar 06 10:53:54 ooh.. if i change some of my code and reinstall the apk. will it get a new sharedpreferences? Mar 06 10:54:04 or will the shared preferences survive acrosss app versions? Mar 06 10:59:49 tapas: sharedpreferences persist across upgrades Mar 06 11:03:38 ok, thanks.. Mar 06 11:07:44 is there a way in eclipse to add the build date to the strings.xml? Mar 06 11:15:02 how can I translate keyEvents into unicode character while using NDK only? Mar 06 11:42:28 When using a simpleadapter, the items in the list have to be of Map type? Mar 06 11:54:09 Does this channel provide support for Android Development through Titanium SDK? Mar 06 11:58:57 how can I make a notification vibrate only if the system is set to vibration? Mar 06 12:18:10 hi Mar 06 12:18:57 hi Mar 06 12:19:48 I get unsupportedoperationexception when i use view.inflate Mar 06 12:21:39 great, netsplit Mar 06 12:23:31 Rizon and freenode are having netsplits now Mar 06 12:23:32 hmm Mar 06 12:23:57 any help on how I could read the files at /proc/net/? specifically netstat and snmp? Mar 06 12:33:41 good afternoon! Mar 06 12:34:34 does someone now how to change the dragdrop functionality in 4.0.3 to not append a new item to the end, but instead place it where you drop it? Mar 06 12:34:52 using linearlayout atm Mar 06 12:41:05 question, if i extend HashMap, can i no longer use my getName(); method? it seems to return null but if i do .get("name") it works Mar 06 12:44:08 hi! any app developer out there with some time to spare help a mortal? Mar 06 12:53:15 hello Mar 06 12:54:15 how do i get the content inside the onClick method ... ? for setting this up AlertDialog.Builder grrr = new AlertDialog.Builder(????); Mar 06 13:07:44 whats with all the connects / disconnects today Mar 06 13:11:04 Bear10, it's pretty much standard Mar 06 13:11:17 first time i see it like this heh Mar 06 13:13:37 Bear10, it's always like this Mar 06 13:25:02 good afternoon! Mar 06 13:25:30 Does anybody know how can I read the files at /proc/net/ from android? specifically netstat and snmp? Mar 06 13:26:16 why do you want to do that Mar 06 13:28:03 I want to count the UDP packets that have been sent/received by my phone Mar 06 13:28:41 could you please provide any help? Mar 06 13:30:29 http://pastebin.com/XWJ709ni <-- java.lang.SecurityException [...] from null [...] requires null Mar 06 13:30:38 has anyone ever gotten this before? Mar 06 13:35:07 mo Mar 06 13:48:05 Hey guys, I need your help please Mar 06 13:49:02 I'm trying to figure out how to put a canvas in my main activity XML layout Mar 06 13:49:38 nevermind my problem. declared the same activity twice in my manifest. Mar 06 13:54:20 oi Mar 06 13:55:06 how can i clear the sharedPreferences of an app? Mar 06 13:56:44 dunno about clearing but i'd guess that setting all of your values to null would achieve the same result Mar 06 13:57:16 uhh I am pretty sure there is a reset Mar 06 13:57:22 Editor.clear Mar 06 13:57:26 yeah Mar 06 13:58:33 are special permissions required for RingTone.play()? Mar 06 13:59:18 can someone help me the XML? I used to have only a canvas which I called from the code, now I've added buttons so I'm trying to do the layout from the XML, but I don't know how to call the canvas from there? Mar 06 14:00:39 sasson: er... Mar 06 14:01:06 sasson: what has a canvas? What does your custom view subclass? What is your layout like? Mar 06 14:01:28 sasson: you might want to have your activity register onClickListeners to the buttons, and let their onclick be to request a redraw of your subclass Mar 06 14:01:36 p_l, any good android development boards u know Mar 06 14:01:59 and for others also Mar 06 14:03:07 erwt panda, beagle, imx Mar 06 14:03:41 right now (until eagleboard comes out) I think panda is the king Mar 06 14:04:19 beagle has more existing community support, but panda has more power Mar 06 14:04:29 and most of the beagle expansions etc work with the panda Mar 06 14:05:22 ron_frown, rate me betwn pandaboard and beagleboard Mar 06 14:06:32 thanks lov, before we take care of the buttons... I'm looking into the canvas, which is just a a bunch of points I'm drawing on black background Mar 06 14:07:08 up until now the layout was just the canvas (hardcoded) now it will be canvas and 2 buttons on the bottom of the screen Mar 06 14:08:04 the canvas is just bade of bitmap bacground and points I'm drawing ontop of that Mar 06 14:08:36 I am making an app that has two GUI requirements. First, I have a toolbar that needs to be able to flip sides dynamically for either left handed people or right handed people. Second, I also want the toolbar to be a slide out type drawer/panel that expands when an arrow is clicked. I am developing for Android 3.0+ and understand that Fragments might be an answer to this problem, but I have never worked with Fragments, so I don't know if this would be Mar 06 14:08:37 best option without digging in. Any suggestions? Mar 06 14:10:12 What's the best approach to accomplishing these requirements? Mar 06 14:11:10 Right now I am using a relative layout, but it is pretty cumbersome to dynamically flip a layout Mar 06 14:14:12 erwt what? Mar 06 14:14:35 ron_frown, which one should i buy Mar 06 14:14:45 panda or beagle Mar 06 14:14:59 what do you want to do with it Mar 06 14:15:33 see i want to build my own android OS , customize it Mar 06 14:15:44 dlaroche: fragments are backported down to API4 or something IIRC. You could check out http://actionbarsherlock.com/ too. Mar 06 14:15:48 for my os Mar 06 14:16:25 ron_frown, want to build my own android OS Mar 06 14:17:12 either would be fine... panda is faster Mar 06 14:17:32 I build android os variants and I use panda es Mar 06 14:17:43 sasson: right, I VERY strongly recommend that you play around with layouts regular views before you start to worry about this Mar 06 14:17:49 wow ron_frown Mar 06 14:17:49 Mikellip: would Fragments be a better approach to accomplish this? Mar 06 14:17:51 sasson: that way, you'll be a little more familiar with how android works with UI Mar 06 14:18:16 ron_frown, In panda are there any variants Mar 06 14:19:20 there is pandaboard, and pandaboard es Mar 06 14:19:26 the es is probably all you will find now Mar 06 14:19:31 dlaroche: I'd use Fragments. Actionbarsherlock can simplify things for you though. Mar 06 14:19:34 but its way better, so thats the one I'd get Mar 06 14:19:36 174 Mar 06 14:19:38 $ Mar 06 14:19:43 lov, I've set a view from the xml, now how do I change it from the code? I've tried Draw.setContentView(drawnow) (View Draw = (View)findViewById(R.id.Drawing) Mar 06 14:19:54 dlaroche: consider using fragments for the side toolbar and the main ui. There are some tutorials and docs about fragments on d.android.com Mar 06 14:19:58 but setContentView gives an error this way Mar 06 14:20:07 er Mar 06 14:20:09 ... Mar 06 14:20:12 o_O Mar 06 14:20:22 ok, so. Mar 06 14:20:26 oh dear :( a team has given us a 350Mb apk they want published Mar 06 14:20:26 setContentView works on your activity. Mar 06 14:20:27 Mikellip and lov: thanks, I will look into them then. Never had a reason to learn them, but do now! thanks Mar 06 14:20:31 it sets the ROOT view/viewgroup Mar 06 14:20:35 Dark-Side: gahaha nice Mar 06 14:20:44 makes me cry Mar 06 14:20:50 Dark-Side: why 350Mb ?? Mar 06 14:20:54 sasson: you call setContentView in your activity, with a reference to either a view, a viewgroup, or a layout xml Mar 06 14:21:03 heavy graphics or what?? Mar 06 14:21:03 I VERY STRONGLY recommend that you create a layout xml that reflects the layout that you want, and use that. Mar 06 14:21:09 It's all images in webviews or something, they refuse to give us the code Mar 06 14:21:11 ron_frown, kk Mar 06 14:21:16 THEN, call findViewById in your activity to reference the views that exist in your layout Mar 06 14:21:32 ron_frown, how many android variants have u build Mar 06 14:21:35 sasson: I VERY STRONGLY suggest that you learn how regular layouts and viewgroups work before you continue Mar 06 14:21:46 it's for an exhibition of some kind i think Mar 06 14:21:47 VERY VERY VERY STRONGLY Mar 06 14:21:56 Dark-Side: I would refuse to develop then....lol....crazy people sometimes....have you told them the implications with trying to publish something that large?? Mar 06 14:22:13 Yes but they won't listen Mar 06 14:22:18 Dark-Side: have you told them that most phones physically cannot hold an app that large? Mar 06 14:22:29 lov: exactly Mar 06 14:22:33 Again yeah Mar 06 14:22:36 Have you told them max apk size is 50MB? :p Mar 06 14:22:37 how do they expect it to work? Mar 06 14:22:39 lov, that's silly Mar 06 14:22:42 bigger is always better Mar 06 14:22:44 i don't know what they expect they are Italian Mar 06 14:22:45 ~~ha Mar 06 14:22:52 SimonVT> didnt they just raise that ? :D Mar 06 14:22:52 hahaahaaa Mar 06 14:22:55 Dark-Side: point them to the market docs that say that the max size is 50MB Mar 06 14:22:55 Yeah, there is that max APK size. But you can add 2x2gb files to that Mar 06 14:22:58 no Chainfire Mar 06 14:22:59 Chainfire: Not the apk size Mar 06 14:23:02 APK can only be 50MB Mar 06 14:23:06 it's 50MB + 2GB + 2GB Mar 06 14:23:14 :S Mar 06 14:23:17 ic Mar 06 14:23:18 * Chainfire 's average APK is 300kb Mar 06 14:23:31 only 2 more gb to go! Mar 06 14:23:40 I don't think they'd know how to add in support for the obb's Mar 06 14:23:43 that seems small Mar 06 14:23:51 i included ABS in my app and it jumped from like 60KB to 500 Mar 06 14:24:03 Our app is 6MB and I consider it bloated Mar 06 14:24:04 erwt - I built a custom version of gingerbread for custom hardware Mar 06 14:24:14 when I have fully dealt with all densities I am usually up to 2mb Mar 06 14:24:16 ish Mar 06 14:24:19 * lov has to start making separate builds with separate libs Mar 06 14:24:25 lov what does it do, because I've got a REAL complex app that is like 1m Mar 06 14:24:25 haha Mar 06 14:24:53 canadiancow> stop using a zillion libs ? Mar 06 14:24:56 hell Mar 06 14:25:02 DSLR Controller is 379 kb Mar 06 14:25:04 a zillion == 1 Mar 06 14:25:07 our MWC app was ~9Mb :( Mar 06 14:25:11 I know, one of my largest was 10MB, and I noticed a lot of uninstalls, and I am assuming that the app manager on the phone sorts the apps by size, the largest being first. So if the user is crunched for space they are going to start deleting the largest ones first. Mar 06 14:25:27 ron_frown: https://market.android.com/details?id=com.audible.application Mar 06 14:25:27 app manager accounts for db and cache storage Mar 06 14:25:28 i think the space issue is becoming less of an issue Mar 06 14:25:29 and included a lot of tiny icon in various qualities, various libraries, quite a bit of code, ... Mar 06 14:25:38 install to SD, larger internal storage Mar 06 14:25:38 I since got the size down to 1.4MB, and the user retention rate has climbed Mar 06 14:25:43 er, 3MB, not 6MB Mar 06 14:25:47 oh ok Mar 06 14:25:57 still, I know the app we bult is far more complex than audible Mar 06 14:26:04 audible is pretty badass btw Mar 06 14:26:05 oh ho! Mar 06 14:26:15 most of our special sauce is behind the scenes Mar 06 14:26:17 canadiancow: I think the largest problem is getting the app to the phone Mar 06 14:26:20 actually that's a lie we're just terrible ._. Mar 06 14:26:28 Knossos, what? Mar 06 14:26:30 ron_frown: which app is yours? Mar 06 14:26:32 lov do you hav a shitload of hardware compatibility and localization stuff? Mar 06 14:26:32 It is fine if they are on Wifi Mar 06 14:26:37 REQUIRES ANDROID:1.5 and up <- audible is far more complex than yours :p Mar 06 14:26:41 10MB is hard over HSPA+? Mar 06 14:26:49 ron_frown: we've got arm, armv7, and x86 libs Mar 06 14:27:02 I mean images for diff languages etc Mar 06 14:27:02 If they don't have a flat rate, it can be nasty. And most flat rates have a cap after a while. Mar 06 14:27:04 no Mar 06 14:27:06 oh yeah Mar 06 14:27:09 we have some of that Mar 06 14:27:16 the real killer is that we don't get rid of unused resources Mar 06 14:27:23 there's probably 300kb that can just go out right now Mar 06 14:27:29 unfortunately, too busy on other projects :D Mar 06 14:27:31 shoot me :D Mar 06 14:27:40 * Chainfire shoots lov Mar 06 14:28:10 * storkme shoots lov Mar 06 14:28:46 * lov dies Mar 06 14:28:55 Someone highlighted me! Mar 06 14:29:24 How do i allow a page to be scrolled up and down? Mar 06 14:29:28 in my application Mar 06 14:29:40 ScrollView Mar 06 14:29:46 ty Mar 06 14:29:47 You probably need to stick your current layouts into a ScrollView Mar 06 14:29:50 That ^ Mar 06 14:29:57 Appreciate it guys :) Mar 06 14:30:05 np Mar 06 14:30:11 x86d: hooray! Mar 06 14:30:28 Yes it was YOU Mar 06 14:31:24 anybody knows how to measure the latency of a connection? Mar 06 14:31:43 ping ? Mar 06 14:31:48 Doesn't the new DDMS handle this? Mar 06 14:32:03 I thought the new version had all kinds of network testing features? Mar 06 14:32:37 I'm developing for 2.2... Mar 06 14:32:50 how do you a ping in android? Mar 06 14:33:29 o_O Mar 06 14:33:45 I don't think your version of android has anything to do with it Mar 06 14:33:57 yea lov Mar 06 14:34:01 because 2.1 only had ping 1.0 Mar 06 14:34:05 but 2.2 has ping 2.0 Mar 06 14:34:13 mohadel> type that question into Google Mar 06 14:34:37 mohadel: i googled your question and found the answer Mar 06 14:34:37 cd wf Mar 06 14:35:15 dlaroche> I googled the ping thing, but I didn't find anything helpful for the latency... Mar 06 14:35:31 "how to ping with Java" Mar 06 14:35:34 start there Mar 06 14:35:53 ok... Mar 06 14:36:10 Android has a lot of the Java IO built into the SDK so you can tap into them resources Mar 06 14:37:32 mohadel: your first step might to be to learn what ping IS Mar 06 14:39:52 PONG Mar 06 14:40:03 are you talking about Bing? Mar 06 14:41:10 bing bong Mar 06 14:41:22 http://bing.com to bing Mar 06 14:41:22 Is that the thing with the packet of death? Mar 06 14:41:29 your ping is upside down Mar 06 14:44:02 how do i make an EditText object not editable until long click? Mar 06 14:44:11 if i setEnabled(false), the long click event doesn't fire Mar 06 14:45:21 screw it not that important Mar 06 14:47:20 I'm trying to register a Content Provider in manifest.xml, but it appears as if the class loader can't find my provider class when it's a child class inside of another (classnotfound exception). Does anyone know of a way to resolve this, or to otherwise register a provider class through code instead of xml? Mar 06 14:53:00 why is it an innerclass? Mar 06 14:53:05 is it a static inner class? Mar 06 14:54:28 sorry, a child class inside of another. and I wasn't sure if it needed to be static or not, but I get the same error whether or not I declare it as such Mar 06 14:57:36 PeteS: a non-static inner class exists as an instance of the parent class Mar 06 14:57:37 oh you said "why," not "what" :-) it's an inner class for organizational purposes. there are several content providers I want to define, assigned to different types of content, and this way the content provider is neatly packaged with the rest of the code that handles each content type Mar 06 14:57:42 so you can't have the child class without the parent class instance Mar 06 14:57:56 If you're creating an inner class, it might need to be foo.bar.ParentClass$ChildClass Mar 06 14:58:03 but I'd honestly recommend making it its own class Mar 06 14:58:09 (its own outer class) Mar 06 14:58:39 thanks lov, I forgot about the $ notation, I'll give that a shot Mar 06 15:01:47 woot, that did it. thanks! Mar 06 15:11:27 Hi Mar 06 15:13:25 hi Mar 06 15:16:40 hi Mar 06 15:17:02 i'm getting this problem: The application Openwnn (process jp.co.omronsoft.openwnn) has stopped unexpectedly. Please try again. Mar 06 15:17:08 while testing my app on the emulator Mar 06 15:17:20 same app works fine on my other computer... Mar 06 15:17:24 toxicFork: pastebin the full adb log Mar 06 15:17:33 the LogCat? Mar 06 15:17:45 yeah Mar 06 15:18:01 :o, it looks empty Mar 06 15:18:54 *restarts eclipse* Mar 06 15:21:29 after restarting i get a different error, heh Mar 06 15:21:31 ... Mar 06 15:21:32 * toxicFork pastebins Mar 06 15:21:39 toxicFork: "adb logcat" at the commandline Mar 06 15:21:44 in particular, "adb logcat *:E" Mar 06 15:22:08 Can I wrap one app int another apk ? Mar 06 15:22:17 http://pastie.org/private/zkj9b7jce0denqmo382g Mar 06 15:22:22 one apk into another apk Mar 06 15:23:08 does anyone used GameMaker ? Mar 06 15:23:25 pro_metedor: not per se. Look up Android Libraries Mar 06 15:23:27 apk is a finished product, if I'm not mistaken. Do you have the source for both projects? Mar 06 15:23:38 toxicFork: that doesn't show a crash at all. Mar 06 15:23:38 yrs Mar 06 15:24:17 lov yeah, it's the new problem, as I said: [2012-03-06 15:22:32 - RevisionPuzzle] Installation error: INSTALL_FAILED_DEXOPT Mar 06 15:24:24 i'll just wipe the avd Mar 06 15:26:03 sup Mar 06 15:28:36 heh, after wiping it went away Mar 06 15:28:37 thanks anyway Mar 06 15:33:00 well.. one is app produced by tool, I want it to make it posting to facebook Mar 06 15:34:02 so I was thinking about wrapping it up around with another app which could wait for a specific file to be created or to make any other kind of trigger for that action Mar 06 15:34:26 you mean, activity? Mar 06 15:36:02 yes Mar 06 15:36:44 an activity isn't an app Mar 06 15:42:44 I am new to android but there could be possible for one app to wait for other app's signal to perform action. Even if it is forbidden to send a message, it could be a created file or something like this Mar 06 15:44:02 wat..? Mar 06 15:44:12 hei guys is there a way to see how much memory my app is allocating? Mar 06 15:44:46 hmm i remember something about live feed of memory usage etc Mar 06 15:44:50 not sure where i saw it though Mar 06 15:44:56 the_ellipse: look in the system prefs, apps Mar 06 15:45:28 na i need the source code to read it if this is possible Mar 06 15:45:43 ooh Mar 06 15:45:47 hmm Mar 06 15:46:01 hallo! Mar 06 15:46:05 hi Mar 06 15:46:46 Just to make sure: ListAdapters DON'T share their recycling pool, right? I mean, if I have two lists which have the same type of views in it, it won't happen than one view shows up in the other list, right Mar 06 15:47:26 the problem is i have a thread which is calculating a route and this takes pretty long ... and i noticed that at the beginning its pretty fast and after a while it slows down and then it stops without any excpetion Mar 06 15:47:48 but im not creating any new objects im just copying adresses Mar 06 15:48:49 so why do you need to check memory usage progmatically for that? Mar 06 15:50:16 anyone know the correct way to determine if you can use non-power-of-two textures in android's opengl es? Mar 06 15:50:29 abaratican: by using power of 2 regardless Mar 06 15:50:34 I thought checking for ES 2.0 was sufficient, but it is not, must be some other thing... Mar 06 15:50:43 mikedg: that's the least efficient approach. Mar 06 15:51:12 alowaniak: where else can i check it while the app is running? if i go to sys options the app will be paused ... Mar 06 15:51:40 well ye that was what i was talkin about with the live feed Mar 06 15:52:09 the standard way of triggering other application is to send a message to intent ? Mar 06 15:52:12 tbh i got no idea how to use it etc; but @ https://sites.google.com/a/android.com/tools/recent/detailednetworkusageinddms Mar 06 15:52:47 im running on 2.3.7 Mar 06 15:52:51 I never really used DDMS though... Mar 06 15:53:00 anybody know how can i change the out.final.file property which is defined in the default ant build.xml Mar 06 15:53:07 well that site's about network usage though Mar 06 15:53:16 might be that vm heap info is available on 2.3.7? dunno Mar 06 15:53:59 does android's sqlite support foreign keys? Mar 06 15:54:02 if a phone is not set to silent or vibrate, should vibration occur when an app sets notification.defaults = Notification.DEFAULT_VIBRATE? Mar 06 15:54:13 otherwise @ http://stackoverlow.com/a/2299813/1214236 there's something about checking memory progmatically Mar 06 15:54:13 it does toxicFork dont forget PRAGMA foreign_keys = 1 Mar 06 15:54:18 haven't read it though tbh:p Mar 06 15:54:19 they are disabled by default Mar 06 15:54:32 how would I do that the_ellipse, db.execSQL("PRAGMA foreign_keys = 1") ? Mar 06 15:54:39 yes Mar 06 15:54:43 http://stackoverflow.com/a/2299813/1214236* Mar 06 15:54:45 cool! Mar 06 15:54:47 but look it up im not sure if its correct Mar 06 15:55:09 i used DDMS already but it didnt show any significat heap size Mar 06 15:55:12 Hey, really simple question - I'm new to animation for Android, an really all I'm looking for is to be able to light up a series of buttons in order. My plan was to create a new class extending thread, and have it call the main activities method to change the button image every x number of seconds... is this the correct way to do it or is there a better way? Mar 06 15:55:16 it was about 12MB Mar 06 15:55:26 ah ok ty for the link Mar 06 15:55:27 is it possible to check the value of "PRAGMA foreign_keys"? Mar 06 15:55:37 because execsql is void Mar 06 15:56:13 NutterzUK: you want to look into either AsyncTasks, or Handlers Mar 06 15:56:16 toxicFork: sure execute it with a Cursor returning and read it out - or use a simple SQLite GUI Mar 06 15:57:02 Thanks Leeds Mar 06 15:57:40 ok thanks the_ellipse Mar 06 15:57:52 anybody can help me with ant plz? Mar 06 15:58:09 do i need to only set the pragma on db create? Mar 06 16:00:30 im not sure toxicFork - should be enough to execute it once on the database Mar 06 16:00:48 but you should try setting it once - close connection - reconnect and read the value Mar 06 16:04:20 hello Mar 06 16:04:40 are there more ways to trigger other android application when sending Intent is blocked? Mar 06 16:04:48 the_ellipse alright Mar 06 16:05:08 unrelated question: can i have an "onchange" listener on a TextView (so I can disable buttons if text length is 0 etc) Mar 06 16:05:21 I have no direct access to the code of the output app, cause it is made by a tool. But Iare there any other ways to trigger other app ? Mar 06 16:07:13 isn't a TextView not editable for users toxicFork? Mar 06 16:07:41 or are you changing it progmatically and want to disable buttons when you remove the text or something? Mar 06 16:08:08 oh yeah sorry edittext Mar 06 16:08:26 addTextChangedListener i guess Mar 06 16:08:50 hmm well it has a setOnEditorActionListener.. Mar 06 16:09:33 you could write your own event toxicFork ;) Mar 06 16:10:32 ah there's also an addTextChangedListener toxicFork Mar 06 16:10:36 yeah Mar 06 16:13:29 tools r17 are disappointing me :( Mar 06 16:13:38 preview2 and 3 have completely failed :( Mar 06 16:13:44 good to know Mar 06 16:13:51 preview1 works though :) Mar 06 16:13:57 my issues are related to lib projects Mar 06 16:14:01 nested lib projects Mar 06 16:14:10 like app depends lib1 & lib2, lib1 depends lib2 Mar 06 16:14:17 Just discovered that Android-x86 build of OS 2.3 has the same issue than the 2.3 ARM simulator: the webkit - java bridge is broken Mar 06 16:15:07 I had good hopes that x86 gingerbread would allow me to test in sim mode, but apparently this won't do Mar 06 16:16:48 anyone here using opennfc? Mar 06 16:17:43 Hello, could anyone recommend reading on android app design patterns? I'm making my first "larger" app and everything just seems sloppy. I need a better pattern. Mar 06 16:18:33 http://d.android.com/design Mar 06 16:21:22 Hello World Mar 06 16:21:28 yay i can finally talk Mar 06 16:21:44 yay Mar 06 16:22:09 the joys of being a developer is the inability to spell your own name correctly Mar 06 16:23:35 i think ejb wants design patterns for the code, afaict the design on that site is for UI canadiancow|work.. Mar 06 16:23:39 canadiancow|work: Thanks I'll definitely bookmark that but I am looking for coding design patterns. I'm learning more about the "Model View View-Model" Mar 06 16:23:46 bingo Mar 06 16:24:19 Controller* Mar 06 16:24:32 no, in wp7 it's View-Model Mar 06 16:24:43 okey Mar 06 16:24:46 i think mvc has it's place, but i think too many people take it too far Mar 06 16:25:29 wp7? Mar 06 16:25:53 windows phone 7 Mar 06 16:26:03 i first learned about mvvm at a microsoft event about wp7 Mar 06 16:26:14 ah, ok Mar 06 16:26:19 "we like to be different, so s/controller/viewmodel/" Mar 06 16:26:35 right. I'm familiar with MVC / MVT (django) Mar 06 16:26:39 i started a bit wp7 development, its a bit weird to get your head around, but in places quite similar to android dev Mar 06 16:26:50 i love the data bindings in wp7 Mar 06 16:27:24 I seem to end up with a ton of inner classes Mar 06 16:28:04 hello, how would one go about a set-time in the future for a notification? Mar 06 16:28:34 Insayne: CountDownTimer Mar 06 16:29:08 if you're doing a notification use notification manager Mar 06 16:29:14 Anyone from Ontario? Mar 06 16:29:18 I am using notification manager Mar 06 16:29:30 problem is, i want the notification to happen in 20 minutes for example Mar 06 16:30:13 in your notification object Mar 06 16:30:17 theres a property for 'when' Mar 06 16:30:22 ah Mar 06 16:30:34 but, it doesnt work right Mar 06 16:30:38 should be a long I.E System.currentTimeMillis() Mar 06 16:30:40 hmm Mar 06 16:30:43 i use System.currentTimeMillis() Mar 06 16:30:52 and then + XXXX milliseconds Mar 06 16:31:00 is there like a guideline of how to make different views (I mean, aesthetically), so for example, for a modifiable listview, should I use the menu to add new items or a button on the screen? Mar 06 16:31:29 I mean ListActivity Mar 06 16:31:33 does the notification show straight away if you leave the when property blank? Mar 06 16:31:36 or does it not show ever Mar 06 16:31:36 long seconds = System.currentTimeMillis() + 10000; - updateComplete.when = seconds; Mar 06 16:32:16 in what i just shown (the code), it shows immediatly Mar 06 16:32:27 mk Mar 06 16:33:05 So any suggestions for code pattern reads? Mar 06 16:33:12 when picking the kernel to use, if I have Nexus S, what should I pick? Mar 06 16:33:18 samsung? Mar 06 16:34:27 CallumTaylor, any idea? Mar 06 16:34:29 apparently uou have to handle it yourself Mar 06 16:34:30 http://stackoverflow.com/questions/4084269/android-delayed-notification Mar 06 16:34:37 using an alarm manager or similar Mar 06 16:35:03 will the user be in the app when it does off? if so id use a Handler Mar 06 16:35:14 if it needs to go off whenever, try using an alarmmanager Mar 06 16:35:15 no, he could be outside of the app Mar 06 16:35:19 okay Mar 06 16:35:27 yeah that's your best bet then Mar 06 16:35:59 kk Mar 06 16:36:05 so is "when" broken? Mar 06 16:36:21 seems like it, cant find the documentation on it Mar 06 16:37:43 that seems quite complicated :P Mar 06 16:37:54 thx though Mar 06 16:38:11 you're welcome Mar 06 16:46:25 is there a way to see when a user selected an editbox? (for example, it shows 0 as default, i want it to be empty so they can just type) ? Mar 06 16:46:49 use the hint Mar 06 16:47:01 android:hint="enter text here" and it will clear when they focus into ti Mar 06 16:47:29 even if I set it to 0 ? Mar 06 16:47:32 let me try Mar 06 16:47:45 yeah it should take any string Mar 06 16:48:13 no it doesnt clear the 0 i put there before Mar 06 16:48:27 sec let me try Mar 06 16:48:32 @Insayne - use setText="" Mar 06 16:48:34 to clear it Mar 06 16:48:38 then the hint will show Mar 06 16:48:42 oh Mar 06 16:48:46 What's the best route to take if I want to dress up my UI elements a bit? To make things look more like a game, less like a boring stock UI? Mar 06 16:48:47 you mean when the user puts text in Mar 06 16:48:51 you want it to clear Mar 06 16:48:52 yes Mar 06 16:48:56 exactly :D Mar 06 16:49:05 ok then id bind the focus change listener, then clear it when it gets triggered Mar 06 16:49:22 okay Mar 06 16:49:34 but thats it, i dont know what the focus change listener is called Mar 06 16:49:35 heh Mar 06 16:49:36 http://developer.android.com/reference/android/view/View.html#setOnFocusChangeListener(android.view.View.OnFocusChangeListener) Mar 06 16:49:45 there we go! ty Mar 06 16:49:46 Is there a way I can have lined up columns of text in a list of buttons? Something akin to text1test2 in HTML? Mar 06 16:49:48 Does anybody know this for certain.... if an app is free on Market, and you manually install the APK on your device, will the Market app offer to update it ? Mar 06 16:49:59 Chainfire, yes Mar 06 16:50:01 yes Mar 06 16:50:07 if it uses the same application identifier Mar 06 16:50:12 if you however, cracked it, it wont Mar 06 16:50:24 yeah I'm talking about bit-for-bit the same APK file :) Mar 06 16:50:31 Chainfire, then yeah it will Mar 06 16:50:36 cool Mar 06 16:50:38 ejb if you want design ideas, try taking a look at http://dribbble.com Mar 06 16:50:59 it doesnt do this for paid apps, I assume :) Mar 06 16:51:15 nop Mar 06 16:51:20 unless you paid for it Mar 06 16:51:24 then yes, it will too Mar 06 16:51:40 google verifies with paid apps, whether you ever paid for it Mar 06 16:51:44 if you havent, no updates for you Mar 06 16:51:50 CallumTaylor: thanks. I was thinking more from a code perspective... Are the libs that replace/enhance the standard UI elements to make game-like appearances easier to create? Mar 06 16:51:58 are there* Mar 06 16:52:23 not too sure about game like UIs but I use my own custom controls in my library Mar 06 16:52:25 ah right, but if a user pays for an app, he does a bug report, I send a fixed version through email, then update market to yet a newer version, said user WILL get the update offered ? Mar 06 16:52:29 If I put icons in drawable-hdpi but not in ldpi/mdpi are they automatically scaled for the other densities? Mar 06 16:53:33 yeah Mar 06 16:53:36 @apoc yes Mar 06 16:53:49 ok thx Mar 06 16:54:04 but its usually good to do it got HDPI and LDPI Mar 06 16:54:10 otherwise the scaling looks crap Mar 06 17:06:59 Anyone know why I can only select a listview Item once ? Mar 06 17:07:22 Its still in the list, but I can only select it once... Mar 06 17:09:48 How can I line up 2 columns of data when each row is a button? Mar 06 17:10:32 So I have, here, a little metal android button. If I drop it onto the screen of this Xoom and then take it away, sometimes the Xoom thinks the touch is still on-going. Mar 06 17:10:55 Anyone able to reproduce this? You'll need to turn on 'show touches'. Mar 06 17:18:28 hey guys Mar 06 17:28:33 Workboot: metal android button? Mar 06 17:29:55 hrm, Mar 06 17:30:18 I am using: android:nextFocusDown - on an edittext to point to the next edittext, yet, i get a FC from that alone Mar 06 17:30:26 in main.xml Mar 06 17:32:22 Insayne: what's the error Mar 06 17:36:01 Hi .. can anyone tell me, If i want to retreive email address from a contact, how should i complete the following code: Mar 06 17:36:02 http://pastebin.com/XZ8f3mfN Mar 06 17:39:07 should I always use string resources? Mar 06 17:39:13 even for... a counter... which is 0 by default? Mar 06 17:39:22 so instead of "0" i use "@string/zero" ?! Mar 06 17:40:16 set it progamatically Mar 06 17:40:18 dont give it a default value Mar 06 17:40:34 okay Mar 06 17:40:48 toxicFork, It is recommended to use string resources as far as possible. In case u want ur app to be extended later for compatibility with foreign languages Mar 06 17:41:02 but.. 0 in japanese is 0 in english Mar 06 17:43:51 Is there a way I can do the XML android:gravity="right" in Java code? view.setGravity seems to take an int Mar 06 17:45:06 http://developer.android.com/reference/android/view/Gravity.html Mar 06 17:45:15 checkout the constants Mar 06 17:45:28 thanks Mar 06 17:46:33 Dark-Side, yep, thanks a lot that's exactly what I needed! Mar 06 17:46:40 np Mar 06 17:48:22 For accessing email , i will need to query the commonDataKinds content provider right ? Mar 06 17:48:36 for accessing email addr from contacts Mar 06 17:49:26 Is there a way to make a drawable that is bascially the color #00000012 over an image ? (to darken the image, on selection) Mar 06 17:49:45 I tried to put multiple sub-items under an item Mar 06 17:49:52 hoping they would just layer Mar 06 17:50:41 i am getting this error: ContactsContract.CommonDataKinds.Email cannot be resolved to a variable Mar 06 17:50:51 when using this: http://pastebin.com/rnxRxumG Mar 06 17:51:00 What should i do .. can anybody help ? Mar 06 17:52:05 anyone in ontario looking for work? Mar 06 17:55:49 I'm trying to set a view the the ICS color, but it looks like it wants hex for the color (IE: 0x000... etc), because color.holo_blue_light doesn't work. What can I do to get around this? Mar 06 18:03:01 How do I make a button's drawable scale down to size? Mar 06 18:03:14 I have a huge image and it doesn't always need to be so big (like on smaller screens...) Mar 06 18:04:07 hi Mar 06 18:05:41 how can i separate my buttons (in the LinearLayout) please? the padding isn't working: http://pastebin.com/4eDuuBZp Mar 06 18:06:24 padding changes the spacing *inside* a vide Mar 06 18:06:25 view Mar 06 18:06:29 use layout_margin instead Mar 06 18:11:24 When drawing on a surfaceview once every second, do I really need to use a separate thread? :s Mar 06 18:11:54 romainguy thanks! Mar 06 18:15:16 XeruX: you don't have to but there is absolutely no point in using a SurfaceView if you don't use a thread Mar 06 18:16:48 I'm only drawing the current hh:mm:ss on a surfaceview Mar 06 18:17:37 hello, concerning in-app purchase, is the application forced to use the market or can it open any site, where the user enters him credit card info ? Mar 06 18:18:31 asterisk-Tester: Market-only Mar 06 18:18:51 if you want to release a free app on the market, do you pay for google to host it ? Mar 06 18:18:58 how can I get the number of rows in a table? Mar 06 18:19:02 in sqlite for android Mar 06 18:19:12 toxicFork, same as in sqlite? Mar 06 18:19:19 evancharlton: ok thx Mar 06 18:19:26 Insayne: you pay a one time $25 fee Mar 06 18:19:34 per app ? Mar 06 18:19:41 no Mar 06 18:19:44 per developer Mar 06 18:19:56 and for a paid app, you dont have to pay either? Mar 06 18:20:03 well google takes 30% Mar 06 18:20:06 they take X amount of % ? Mar 06 18:20:07 yeah Mar 06 18:20:08 but its the same one time $25 fee Mar 06 18:20:11 Insayne, but... database.query(wut?) what do I use for "columns"? Mar 06 18:20:15 so you pay once the 25$, and can release Mar 06 18:20:18 Hello, I just started getting into android development and I am trying to create an app that fills a very specific need. In order for this app to work I must use the internal / hidden android APIs that are not normally exposed. After a few weeks of research and trial and error, I am at the point where I can compile android. After even more research I still have not found a way to compile the SDK with the hidden and internal APIs so Mar 06 18:20:18 that I can use it to develop my app. Yes I know that this is probably frowned upon, I don't plan on distributing the build, it is for my personal use. Could someone just point me in the right direction? I have exhaustively researched many various development sites with no luck. Maybe I am searching for the wrong things. Mar 06 18:20:19 yes Mar 06 18:20:47 hidden api? :0 Mar 06 18:20:52 evancharlton: how abt other payments ? such as if there are recurrent fees ? Mar 06 18:20:54 "hidden" Mar 06 18:21:40 as in not exposed when compiling the SDK because of the way the make processes the @hide tags and possibly some other things of which I am not well versed Mar 06 18:22:23 what intel hardware accelerated execution manager Mar 06 18:22:30 s/what/what is/ Mar 06 18:23:14 "onPause: Called when the system is about to start resuming a previous activity" Mar 06 18:23:18 is that really correct ? Mar 06 18:23:58 isn't onpause also called when i start a new activity that hasn't been started before ? Mar 06 18:24:17 stupid question, but what do you guys use to show a "remaining time" ? Mar 06 18:24:35 i tried SimpleDateFormat, but it fails me :( Mar 06 18:26:23 Just got a cheap 2.3 device for testing, in settings > Applications > Development, the USB Debugging checkbox is grayed out -- is there another setting I should enable to make this work? Mar 06 18:27:14 fpillet: do you need to plug it in first? Mar 06 18:27:20 it's plugged in Mar 06 18:28:13 ahh I needed to plug it in a first time, THEN unplug it. Mar 06 18:28:17 ok that'll do :-) Mar 06 18:28:43 i want to format "remaining time" in the format of HH:mm:ss, however, once it exceeds 24 hours, i get wonky results (using SimpleDateFormat) - anyone got any ideas? Mar 06 18:30:09 wtf. the new developer console banner is "google play" Mar 06 18:30:12 Google play, eh? Mar 06 18:30:19 hi everbody Mar 06 18:30:29 Ge0rG: beat me to it, yah they're changing the name Mar 06 18:30:42 the name of what Mar 06 18:30:46 also, https://play.google.com/apps/publish/Home Mar 06 18:30:48 Android Market is now Google Play Mar 06 18:30:51 O.o Mar 06 18:30:56 Insayne: assuming your remaining time is seconds, you could just do it the old fashioned way and isolate the hours mins seconds with mod and division :P Mar 06 18:30:57 http://googleblog.blogspot.com/2012/03/introducing-google-play-all-your.html Mar 06 18:31:14 I had to check the calendar and make sure it wasn't quite April yet Mar 06 18:31:16 I just read about the new 4GB limit. I have a question: Is it possible to upload multiple small files or is it possible to upload just a Main and Patch files? Mar 06 18:31:25 i have a problem with a sharing intent, when i try to share an image from an URL, i can see that it gets downloaded to a temp folder, but it's also deleted as soon as i select an app to share it with from the menu Mar 06 18:31:35 Elderwolf: the url kind of invites to be completed with "market are belong to us" Mar 06 18:32:13 Ge0rG: that never gets old. Mar 06 18:33:09 here's the relevant code: http://pastebin.com/Tub66nGj Mar 06 18:33:40 based on the example here: http://code.google.com/p/android-query/wiki/ImageLoading Mar 06 18:33:59 if i e.g. share it via email, there is an attachment with the name i want, but it's 0kb Mar 06 18:34:44 but i can see that before selecting "Email" in the sharing intent's popup, that the file is in the folder and > 0kb Mar 06 18:36:39 does anyone have any insight into my question asked about 16 minutes ago? Mar 06 18:37:01 citus: no but from experience no one is going to scroll that far so I'd ask it again Mar 06 18:37:08 Interesting... Android Market is now Google Play? Mar 06 18:37:30 Yep, Google Play, move along citizen. Mar 06 18:37:46 Play Books is stupid Mar 06 18:37:48 Market made sense Mar 06 18:37:53 u can buy anything at the market Mar 06 18:38:29 i'm sure canadiancow|work saw this ;P http://www.h-online.com/open/news/item/Google-raises-maximum-size-for-Android-apps-to-4GB-1464302.html Mar 06 18:38:31 Wavesonics: eric.schmidt@google.com :) Mar 06 18:38:38 hehe Mar 06 18:38:38 g00s... wow Mar 06 18:38:42 wooooooooooow Mar 06 18:38:46 thats like 18 hours old Mar 06 18:38:47 :P Mar 06 18:38:52 :( Mar 06 18:38:57 they announced that at io Mar 06 18:39:02 and then people were like NO THEY NEVER SAID THAT Mar 06 18:39:07 but they described it EXACTLY like that Mar 06 18:39:12 and now it's here :) Mar 06 18:39:17 not that i need it Mar 06 18:39:23 the patchable part is nice though Mar 06 18:39:30 rather than a 25MB apk, maybe a 10MB and a 15MB asset package Mar 06 18:39:35 canadiancow|work: gotta finish on all the old promises before new io Mar 06 18:39:42 heh Mar 06 18:39:53 Why on earth did they go and change that, I was all comfy with "Android Market" Mar 06 18:40:14 ? Mar 06 18:40:14 All I know is I'm about to have a lot of phone calls from confused Marketing people for my clients and even more from customers :) Mar 06 18:40:18 canadiancow|work: they have to make sure anything announced at io 2011 is out before io 2012 after all :P Mar 06 18:40:19 "I WANT ON GOOGLE PLAY STORE!!!" Mar 06 18:40:22 Hello, I just started getting into android development and I am trying to create an app that fills a very specific need. In order for this app to work I must use the "internal" / "hidden" android APIs that are not normally exposed. After a few weeks of research and trial and error, I am at the point where I can compile android. After even more research I still have not found a way to compile the SDK with the "hidden" and "internal" Mar 06 18:40:22 APIs so that I can use it to develop my app. Yes I know that this is probably frowned upon, I don't plan on distributing the build, it is for my personal use. Could someone just point me in the right direction? I have exhaustively researched many various development sites with no luck. Maybe I am searching for the wrong things Mar 06 18:40:38 stop pasting the same stuff citus Mar 06 18:40:57 go google it Mar 06 18:41:04 it will be like one of the first results Mar 06 18:41:06 someone just told me to repaste the question Mar 06 18:41:22 In his defense i told him to reask because asking "Is there an answer to what i said 16 inutes ago" ain't getting scrolled Mar 06 18:41:29 i've been at this for three weeks, do you think I haven't googled it? Mar 06 18:41:56 do you think I haven't looked at every developer site I can find? I am obviously missing something, so I just wanted to be pointed in the right direction, at least for the things I need to be researching to make this happen Mar 06 18:41:56 http://www.fiercedeveloper.com/story/intel-expands-graphics-performance-analyzers-android/2012-03-05 Mar 06 18:41:58 citus: http://devmaze.wordpress.com/2011/01/18/using-com-android-internal-part-1-introduction/ Mar 06 18:42:23 g00s old Mar 06 18:42:29 uh Mar 06 18:42:42 Yeah I have seen that, that is not what I am trying to accomplish, I want to compile the SDK with the build tools provided, not rip class files out of a jar, but thank you for the information Mar 06 18:43:06 Google Wallet Pay quickly and securely using Google Wallet - I thought they scrapped that because of security issues Mar 06 18:43:19 Play Wallet? :) Mar 06 18:43:25 madness http://www.fiercedeveloper.com/story/mobile-money-next-frontier-app-development/2012-03-05 Mar 06 18:43:33 i'll just use my plastic card, thanks Mar 06 18:43:37 Google Store Mar 06 18:43:42 that would have made sensor. Mar 06 18:44:01 this is a dumb marketing move IMO... Also stripping the Android green out of the market design leaves you with a grey mush. Mar 06 18:44:14 they should have substituted some other color Mar 06 18:44:24 *sensor=sense Mar 06 18:44:48 Wavesonics: oh god i've been on the internet too long, didn't even notice your typo Mar 06 18:44:55 i did ;) Mar 06 18:44:57 hehehe Mar 06 18:45:02 i read it as "sense" Mar 06 18:45:09 my brain is contextually aware these days Mar 06 18:45:13 i'm coding for a sensor, it's been burned intp my brain Mar 06 18:45:17 and i was wondering what he wanted from me ;) Mar 06 18:45:26 do you think it's possible that corporations may someday control currency rather than nations? Mar 06 18:45:42 i see these virtual currencies like the one wallet supports as a move in that direction Mar 06 18:46:10 In the 80's it was laughbable that a plastic card would replace money Mar 06 18:46:14 Where's your cash now? Mar 06 18:46:18 actually, i don't really know enough about the situation to say that; it's just speculation Mar 06 18:46:25 Elderwolf: indeed ;_; Mar 06 18:46:35 I'm not sure something like that would take off Mar 06 18:46:45 but at least our government still ensures the value of our currency Mar 06 18:50:05 yeah buddy! Mar 06 18:50:06 ot / crazy http://redtape.msnbc.msn.com/_news/2012/03/06/10585353-govt-agencies-colleges-demand-applicants-facebook-passwords Mar 06 18:51:10 hmm, i wonder if anyone has used akka with android Mar 06 18:51:53 i have a problem: i want to get an inputfilestream of an file which is on a ftp server. i can connect and login, i can create folders on ftp. but i cannot get an inputfilestream. the reply-code is: 550 permission denied Mar 06 18:52:06 Eh, google play.. wtf Mar 06 18:52:28 Google rebranding shit Mar 06 18:52:32 somebody got an idea whats wrong? Mar 06 18:52:34 time to buy all the 49c apps Mar 06 18:52:44 well, moving the name away from android market makes sense Mar 06 18:53:36 since it's supposed to be more of a general purpose market, I imagine Mar 06 18:53:43 not just android, but renaming it to play is stupid Mar 06 18:53:58 hello, I have 4.0 RC1 on a tablet with touch problems and have problems copying dumpsys to a file, because the file system is read only. The output of the file can't otherwise be copied or emailed Mar 06 18:54:03 i have a problem: i want to get an inputfilestream of an file which is on a ftp server. i can connect and login, i can create folders on ftp. but i cannot get an inputfilestream. the reply-code is: 550 permission denied Mar 06 18:54:13 somebody got an idea whats wrong? Mar 06 18:54:13 novicandroid, to /sdcard Mar 06 18:54:34 pfn it is a tablet without an sd card Mar 06 18:54:45 novicandroid, it still has an /sdcard directory Mar 06 18:54:46 there is still a /sdcard partition Mar 06 18:54:55 and that partition isn't read-only Mar 06 18:54:56 that is in the hardware memory Mar 06 18:54:59 pfn i will try now,. Thanks Mar 06 18:55:22 nobody can help me? Mar 06 18:55:25 uh, wtf is google play ? Mar 06 18:55:26 g00s haha.. if an interviewer told me that i'd tell m to go fuck himself Mar 06 18:55:27 is nova any good? Mar 06 18:55:32 when I hear gameloft, I hear garbage... Mar 06 18:55:49 i just read the blog and still don't understand with it is Mar 06 18:55:56 s/with/wth Mar 06 18:56:00 g00s, akka with android? that's very odd, but I imagine hardcore scala users would Mar 06 18:56:18 akka is an actors library, for multithreaded message passing Mar 06 18:56:52 pfn: is akka implemented in scala or java ? Mar 06 18:56:56 g00s, scala Mar 06 18:57:00 oh, nm :) Mar 06 18:57:15 scala > java Mar 06 18:57:24 * pfn shrugs Mar 06 18:57:25 am i invisible?? Mar 06 18:57:37 Hi, is there a simple way to determine the minSdkVersion ? Mar 06 18:57:50 no Mar 06 18:57:50 * g00s looks right through chris_cross Mar 06 18:58:00 :D Mar 06 18:58:24 all right, i am not...puhhh... Mar 06 18:58:29 when will the free apps offer end Mar 06 18:58:38 what free apps offer Mar 06 18:58:57 sry the play 50% offer Mar 06 19:00:36 really noone has an idea? i've been searching for hours, but all suggestions i found didn't work Mar 06 19:00:56 chris_cross: maybe u should give some more information Mar 06 19:01:09 ok Mar 06 19:01:15 "Apple Proposing Settlements in Android Device Patent Disputes, Would Reap $5-15 Per Android Device" Mar 06 19:01:22 doh Mar 06 19:01:31 ok, i'm still trying to figure out what play is Mar 06 19:01:58 link g00s ? Mar 06 19:02:05 http://play.google.com Mar 06 19:02:12 http://pastebin.com/PwMn8VTe Mar 06 19:02:12 It's android market renamed to google play Mar 06 19:02:18 danieldeusing: http://www.nasdaq.com/article/apple-offered-licensing-deals-to-some-patent-foes--sources-20120306-01221 Mar 06 19:02:23 no...? Mar 06 19:02:31 SimonVT: they just … renamed it ? Mar 06 19:02:36 damnit, I thought the humblebundle is supposed to be kept up-to-date Mar 06 19:02:49 yes Mar 06 19:02:50 anyone got an idea why an image that's saved to the SD card for sharing via intent disappears as soon as you select an App to share it with? Mar 06 19:03:01 getReplyString() returns "550 permission denied" Mar 06 19:03:02 g00s, I guess akka supports java, dunno if it's available as pure-java Mar 06 19:03:09 but by definition, scala is poor java, heh Mar 06 19:03:11 well chris_cross maybe next time u hide the login data Mar 06 19:03:20 no problem Mar 06 19:03:34 it's just for testing Mar 06 19:05:01 hmm, looks like akka requires scala-library.jar. hm Mar 06 19:05:31 chris_cross: try removing the leading / from the filename Mar 06 19:05:37 s/poor/pure Mar 06 19:05:38 oops, heh Mar 06 19:05:45 * pfn is looking at the 49c apps Mar 06 19:05:52 ok Mar 06 19:06:10 and damnit, why hasn't the humblebundle kept osmos up-to-date Mar 06 19:06:15 oh, I said that already Mar 06 19:06:40 I didn't think you'd get any updates with the humbledundle Mar 06 19:06:49 their faq said that you would Mar 06 19:06:50 oh dear http://tech.slashdot.org/story/12/03/06/1837245/x-server-now-available-for-android Mar 06 19:06:54 Didn't they make an app for that, t0mless ? Mar 06 19:07:12 I dunno? Mar 06 19:07:19 I just got a link to .apk files Mar 06 19:07:41 X server is pretty terrible, unless it's heavily heavily compressed Mar 06 19:08:05 other reply code: 550 Can't read file "\DATA\ftpText.txt": No such file or directory.. Mar 06 19:08:15 but the file is there... Mar 06 19:08:28 pfn don't get the jamie oliver app, I got it as the free app of the day on amazon appstore... it's terrible Mar 06 19:08:33 uh stop Mar 06 19:08:49 Grrr can't get adb to show this crappy device other than "offline" Mar 06 19:08:55 I nabbed, sniper vs. sniper, pl story, quell reflect, sprinkle, deadspace and shadowgun Mar 06 19:09:33 ah, there's a humble bundle android app Mar 06 19:09:34 neat Mar 06 19:09:42 yes Mar 06 19:09:44 i have it Mar 06 19:09:50 * pfn installs Mar 06 19:09:54 quite nice that it updates your games Mar 06 19:10:03 where's ctate when you need him Mar 06 19:10:04 link Mar 06 19:10:14 romainguy, do you have an opinion on subclassing Application? Mar 06 19:10:20 t0mless, http://bit.ly/humbunapp Mar 06 19:10:35 is google play supposed to be like iCloud ? Mar 06 19:11:05 no Mar 06 19:11:09 uh Mar 06 19:11:13 ... Mar 06 19:11:14 it is literally just the market Mar 06 19:11:20 google has already had "iCloud" for like Mar 06 19:11:21 years Mar 06 19:11:27 iCloud is for syncing pictures and shit Mar 06 19:11:33 they have also had the market for years too :D Mar 06 19:11:49 "With Google Play you can: Mar 06 19:11:50 Store up to 20,000 songs for free and buy millions of new tracks" Mar 06 19:11:52 its just rebranding Mar 06 19:11:57 uh, this sounds like iCloud Mar 06 19:12:04 Sounds like google music Mar 06 19:12:04 doc_savage: thank you! Mar 06 19:12:07 that is google music being incorperated Mar 06 19:12:19 g00s, that already existed Mar 06 19:12:21 in google music Mar 06 19:12:28 k Mar 06 19:12:35 never used google music Mar 06 19:12:40 As I said, it's just rebranding Mar 06 19:12:47 iCloud you install on your devices/computer and it will sync like pictures you take Mar 06 19:12:58 and music you buy Mar 06 19:13:00 SimonVT: so basically, its business as usual Mar 06 19:13:06 yep Mar 06 19:13:12 Escept, cheap apps! Mar 06 19:13:14 I looked through that "What's new" list Mar 06 19:13:15 x* Mar 06 19:13:19 and there wasn't a single new thing Mar 06 19:14:00 thinking about getting a Transformer Prime, anyone here have any experience with them? Mar 06 19:14:13 * pfn hasn't had any Mar 06 19:14:31 Wavesonics: i heard he died in the second movie Mar 06 19:14:44 oh no Mar 06 19:14:57 i heard asus might have a nexus prime tablet for like $200 Mar 06 19:14:59 chris_cross: np, keep in mind that when you connect to an FTP server, you're not necessarily in / :) Mar 06 19:15:10 i would wait for that, tegra3 though Mar 06 19:15:32 On an unrelated note, unity3d's android/ios addons are free until april Mar 06 19:15:39 Go make awesome games, mikedg Mar 06 19:15:43 how does the android market rank apps? it doesn't make any sense to me from what I'm seeing from the outside Mar 06 19:16:16 SimonVT: wanna test my current version? its next to broken, and completely textureless but its neat Mar 06 19:16:18 there are some apps with much lower ratings and fewer of them that are ranked higher than others Mar 06 19:16:53 anybody already worked with andengine ? Mar 06 19:16:56 does this mean I have to update all my market.android.com links to play.google.com? Mar 06 19:17:00 mikedg: Are you gonna steal my pictures? Mar 06 19:17:10 how do i define what android:imeOptions="actionGo" Mar 06 19:17:15 what it calls? Mar 06 19:17:21 or do i need to setup a listener? Mar 06 19:21:42 when i send an image from the SD via email as an attachment, the attachment seems to be missing the mime-type, although i set "image/jpeg" - when i open the attachment, i opens it in the editor and displays the binary data, anyone know how to fix this? Mar 06 19:25:57 So crappy 2.3 device won't let ADB see it. Or when it does, adb sees it as offline. Meanwhile, OS 2.3 simulator has a broken Webkit-Java bridge. Tools for Android dev are really borderline amateurish Mar 06 19:26:31 Hi, I can't find if it is possible to change the text color for the whole app... does someone know how to do this ? Mar 06 19:26:48 or at list for an activity or a linearlayout Mar 06 19:28:31 fpillet: something is broken w/ your device then; I do dev on 2.3 all the time. Mar 06 19:28:45 dragorn: I agree Mar 06 19:28:53 pfn thanks it worked Mar 06 19:28:59 huh? Mar 06 19:29:11 what magic did I suggest, heh Mar 06 19:29:12 fpillet: have you used other devices w/ adb successfully, or could it be a permissions issue or something (don't know if you're on linux,windows, etc) Mar 06 19:29:13 pfn the output files could be copied to sdcard directory Mar 06 19:29:17 oh Mar 06 19:29:18 right Mar 06 19:29:57 Nobody knows this....? Oo Mar 06 19:30:02 dragorn: think it's the crappy device , I have other devices which connect just fine Mar 06 19:30:08 Hmm, if I have some imageView specified in my XML layout, why can I not do this in my global variables for an activity: Mar 06 19:30:08 private ImageView imagetrail= (ImageView) findViewById(R.id.img_trail1); Mar 06 19:30:08 I get a null pointer. Should this be done in onCreate? I'm a bit stumped. Mar 06 19:30:11 Walui, no one feels like walking you through how to do themes and styles right now Mar 06 19:30:16 pfn now i have a problem finding the equivallent of the file manager in android, i could see the file in Misc files, but there is no file explorer in andorid Mar 06 19:30:21 This one is a really poor one. So crappy they don't even bother filling in the serial number Mar 06 19:30:26 NutterzUK, you can't do anything UI until after onCreate Mar 06 19:30:31 thanks pfn :() Mar 06 19:30:32 Having weird problem with MapView, seems to be exactly like this one: http://www.youtube.com/watch?v=bBnzB5s1I5c Mar 06 19:30:33 :)* Mar 06 19:30:33 novicandroid, get es file explorer Mar 06 19:30:36 novicandroid, or astro Mar 06 19:30:40 android doesn't have one built-in Mar 06 19:30:43 anyone else had/have that one ? Mar 06 19:31:13 wow Mar 06 19:31:15 pfn, I know this, but I want to find a way to set the default textColor of the app, instead of this weird gray Mar 06 19:31:22 it was just a few weeks ago i was bitching at how bad the LVL was Mar 06 19:31:26 yesterday's update REALLY improved it :) Mar 06 19:31:38 oh yea, I saw that it got an update Mar 06 19:31:54 they kind of sneaked that in there with their assest download announcement Mar 06 19:32:08 though wasn't that asset downoad announced at google io 2010? Mar 06 19:33:08 pfn downloading astro thanks Mar 06 19:35:03 wtf... vzw just sent my gf a text about the new google play Mar 06 19:35:13 is there any tool to pre-process compilation to follow some idioms about speed ? like to translate getters into the var name itself ? Mar 06 19:36:15 fuck Mar 06 19:36:19 you Mar 06 19:36:23 they made the existing LVL stuff aswesome Mar 06 19:36:29 but the new APKExpansionPolicy is not :( Mar 06 19:36:31 but broke the old stuff Mar 06 19:36:45 Hi everyone Mar 06 19:36:48 o.O Mar 06 19:37:06 * t0mless will have to investigate after errands Mar 06 19:37:08 no t0mless the old stuff is awesome now Mar 06 19:37:15 they made it more secure Mar 06 19:37:20 in the sense that proguard can do more Mar 06 19:37:23 and AntiLVL can do less Mar 06 19:38:01 is anyone in here familiar with a bug in 2.3.5 that causes the Settings app (process com.android.settings) to crash when trying to connect to a wifi network that uses 802.1x authentication or change wi-fi settings while within range of one? Mar 06 19:39:19 uhhh.... no? Mar 06 19:39:25 Thank you pfn I could attach dumpsys, getevent -p and lsmod and sent it to android-x86 Mar 06 19:39:36 I think my phone is only 2.3.3 though Mar 06 19:40:10 pfn thanks i could attach the files and mailed it to the x86 group for help. Thanks for your help. I was clueless for the last two days Mar 06 19:40:14 DarkRift__, it's not really an issue to have getters and setters Mar 06 19:40:35 an x86 tablet? Mar 06 19:40:37 Anyone managed to get adb to detect a Samsung Galaxy S2 on Mac OsX Lion? Mar 06 19:40:45 neat, which one? Mar 06 19:41:21 I got a brand new Blu Studio 5.3 the other day and it can't connect to the college network at all, and trying to connect or change the WiFi settings causes the settings app to crash Mar 06 19:41:40 connects fine to open networks and networks with wep, wpa, wpa2, Mar 06 19:42:46 pfn, as the http://developer.android.com/guide/practices/design/performance.html states, one of the point in optimization is to prevent internal setter and getter which adds virtual methods lookup on the stack for no reason as there is no JIT optimizer Mar 06 19:42:54 sounds like you need to contact the mfrs customer support Mar 06 19:43:07 maybe just some checkstyle rules could do to warn people tho Mar 06 19:44:04 sure don't use the getters internally, particularly not in tight loops, otherwise it's no big deal Mar 06 19:45:12 is there some default checkstyle configuration those points would already be set up ? Mar 06 19:50:31 what's this checkstyle thing Mar 06 19:51:31 * g00s remembers check style from long ago Mar 06 19:52:51 i got an edittext as default focus when i start my app, how can i open the soft keyboard? (it doesnt) Mar 06 19:53:17 I tried, showSoftInput(amount_produced, InputMethodManager.SHOW_FORCED); but alas, it doesnt work Mar 06 19:54:00 pfn : checkstyle is a tool to validate coding rules to prevent bad practices for example, like returning explicit implementation of an interface and stuff like that. So having Android rules stating "using internal getter" is bad, could help application designers to improve their code Mar 06 19:54:39 it's rather difficult to distinguish between "internal" vs. "external" Mar 06 19:55:32 Does anyone else use Arch linux here? Mar 06 19:55:42 hello Mar 06 19:55:53 And if they do, do you use the AUR packages for the android platforms? Mar 06 19:56:21 I've got the platform packages installed such that it seems root can see them (avr shows them installed) but my user shows them as not installed. Mar 06 19:56:28 Is there a later version than RC1 for generic, Or are there any updates to this release, and if so could someone tell me the link to the updates please? Mar 06 19:56:32 anyone ? Mar 06 19:56:36 I'm just trying to figure out if I'm doing anything wrong. Mar 06 19:58:49 I joined the android-x86 group, google groups page shows my membership, but my first message to the group doesn't appear posted. Is there a moderation delay usually? I haven't received a confirmation for joining either Mar 06 20:03:50 Can any View be expressed in XML? Mar 06 20:04:46 ejb Is that a trick quesiton? Mar 06 20:04:57 Either that or im missing something. Mar 06 20:05:48 JoeTheGuest: for example, can I define an AlertDialog in xml? Mar 06 20:05:56 In the layout XML Mar 06 20:06:05 You can give it a custom view, yes. Mar 06 20:06:33 I don't think you can define a dialog as an xml though. Mar 06 20:06:51 ejb you want just a dialog with custom contents right? Mar 06 20:07:35 JoeTheGuest: No. I thought View was a super class of all widgets... nvm. Mar 06 20:07:52 ejb what exactly are you trying to do. I need a little more information. Mar 06 20:07:53 JoeTheGuest: I have defined all my dialogs at runtime. I want to move them to the XML Mar 06 20:08:50 Write a class that extends Dialog Mar 06 20:09:56 JoeTheGuest: why? Mar 06 20:10:22 I don't think im understanding what you are trying to accomplish. Mar 06 20:10:44 JoeTheGuest: read what I'm typing Mar 06 20:10:59 ejb: No, Dialog does not extend View Mar 06 20:11:32 having an issue with an app I'm creating, anyone free to help? Mar 06 20:11:38 NO Mar 06 20:11:39 SimonVT: thanks. What I was trying to ask was "Are there any UI elements that I can't define in XML? Mar 06 20:12:01 ejb yes. Mar 06 20:12:15 Dialogs Mar 06 20:12:45 JoeTheGuest: Ok. All Dialogs? Mar 06 20:13:40 http://developer.android.com/reference/android/app/Dialog.html Mar 06 20:14:18 As SimonVT said, Dialogs aren't views. You can give them a view to display form an XML but you can't define a dialog in an XML. Mar 06 20:14:37 I know it's within a control loop, but I can't figure out what is wrong with it. if(thisEditText.getText().toString().equals("")){ variable = 0.0f;}else{vairable=Float.parseFloat(thiseditText.getText().toString()}//end if/else Mar 06 20:15:17 it works, but sets the variable to 0.0 each time, whether there is input or not. Mar 06 20:15:21 JoeTheGuest: So what you're implying is that only derivatives of View can be expressed entirely in XML? Mar 06 20:15:36 you could write a parser which would create other stuff Mar 06 20:15:37 but meh Mar 06 20:15:49 my line dropped for a while, is there a way of scrolling back to find the messages i missed please? Mar 06 20:15:57 FYI guys, Unity3d for android and ios is free until April 8 (normally $500usd) Mar 06 20:16:08 might wanna grab a copy now even if you don't plan on using it immediately Mar 06 20:16:14 root66: thanks Mar 06 20:16:20 np Mar 06 20:16:53 Does anyone know of a font or perhaps even a library to make a textview look like an LED display? Mar 06 20:17:01 root66 what is the download link for android? Mar 06 20:17:08 Currently i'm using a black background with a green border, but I'm looking for a font Mar 06 20:17:15 I saw a led.ttf once Mar 06 20:17:16 Perhaps there is a library, that works with scrolling too etc Mar 06 20:17:27 can you put .ttf files onto android easy enough? Mar 06 20:17:42 eh, the textviews can have their font changed somehow Mar 06 20:17:55 Cool, thanks. I'll keep searching Mar 06 20:17:57 the guy had it in assets and just handed the ttf file somehow, don't remember how Mar 06 20:18:09 was just wondering if there was a recommended one someone had seen, I'll look for led.tff Mar 06 20:18:11 Ah oki Mar 06 20:18:14 https://store.unity3d.com/index.html Mar 06 20:18:14 thanks alankila! Mar 06 20:18:31 select free and choose the mobile versions Mar 06 20:18:38 root66 thanks Mar 06 20:18:40 np Mar 06 20:20:03 looking at this article, Piper Jaffray estimates that $239,235,734 was paid to android devs, while $3,457,727,789 was paid to iOS devs Mar 06 20:20:26 wonder how accurate that is. i can only see a little chart, not the whole report Mar 06 20:21:15 hello, i have a problem with sax parsing... my string to parse contains a link with '&' special chars... of course i tryied to encode it with & but the string parsed is cut from beginning to the & position . what can i do? i really can't understand how to parse it right Mar 06 20:22:18 did you try \& Mar 06 20:22:37 alexxio: you need to read all text events I guess Mar 06 20:22:52 just keep on concatenating the text events until you get a close element event or something, then handle the value... Mar 06 20:22:53 does the sdk inlcude any 9patch button examples ? Mar 06 20:23:03 this is generic issue with sax parsers, you need to delay text processing until the next element close Mar 06 20:23:21 alankila: i don't follow you.. Mar 06 20:23:22 %26 is also & Mar 06 20:23:30 I don't follow either Mar 06 20:23:32 alexxio: that the text will be given to you in multiple pieces Mar 06 20:23:36 but I bet one of those two solutions work Mar 06 20:23:45 What is this Google Play crap...ugh Mar 06 20:23:58 alexxio: you need to concatenate the multiple pieces and process when you know you have the final piece Mar 06 20:24:07 and you know that when you see the close element event Mar 06 20:24:23 so blah blah blah -> parse the blah blah blah when you receive , buffer the value until that time Mar 06 20:24:39 mmmh ok...but how? sax parser is pretty automated with the public void characters(char[] ch, int start, int length) function Mar 06 20:25:04 implemenet that as: stringBuffer.append(new String(ch)) or something Mar 06 20:25:18 g00s: Paid from what source? Ads, sales etc. in general? Mar 06 20:25:36 Ologn: i can't get the original report :( Mar 06 20:25:51 do add sales even make a blip for most devs ? Mar 06 20:25:53 or maybe it has to be new String(ch, start, length) Mar 06 20:25:59 I'm sorry, I don't know this API well enough to know. Mar 06 20:26:21 Ologn: google play is like iTunes Mar 06 20:26:24 but what I do know is that I've had to do this before on SAX parsers, last time I did it on iOS Mar 06 20:26:59 I made like $300 on ads at the beginning of last month, but as initial installs subsided that when down a lot Mar 06 20:27:11 Ologn: http://www.theverge.com/2012/3/6/2848223/google-play-store-rebranded-android-market Mar 06 20:27:22 and I did it just like I explained, I put all the actual character value handling logic on the end element and just concatenated until I had the complete value. Mar 06 20:27:29 explained it well for me Mar 06 20:27:46 prefer stringbuilder over stringbuffer Mar 06 20:28:31 alankila: but why this is not documented? i cant find it in the net Mar 06 20:28:38 this should be a common problem Mar 06 20:29:28 alexxio, I told you yesterday, you need to read all the text nodes Mar 06 20:29:30 not just the first Mar 06 20:29:59 * alankila shrugs Mar 06 20:30:04 pfn: i'm sorry, but i need more about this, i can't follow you Mar 06 20:30:12 SAX parsers aren't used a whole lot, DOM's simpler and has goodies like xpath Mar 06 20:30:27 Ologn: what's your app? Mar 06 20:30:32 i read sax parser is faster than dom Mar 06 20:30:40 alexxio, text in xml can be arbitrarily broken up into multiple nodes Mar 06 20:30:52 so you have sometext more text blah blah blah text Mar 06 20:30:52 ejb: https://play.google.com/store/apps/details?id=com.panaceasupplies.android.reader Mar 06 20:31:08 when you read the contents of tag, you might get nodes split up as "some text" "more text" and "blah blah blah" "text" Mar 06 20:31:15 depending on how the parser feels like working Mar 06 20:31:23 ejb: It's just an FBReaderJ knockoff...but I did a little more foreign language support than they did Mar 06 20:33:57 pfn: this can explain why i get the text until the & Mar 06 20:34:30 but doesnt explain why that is not encoded,parsed and finally returned in the right whay (i.e: link?par1&par2) Mar 06 20:34:46 *way Mar 06 20:35:53 pastebin xml, pastebin your parsing code Mar 06 20:36:02 write a simple test-case in java first Mar 06 20:36:08 Does anyone know why a fragment would receive touche events even after I've added a new fragment on top of it? Mar 06 20:37:20 Ologn: who do you use for an ad provider? Mar 06 20:37:51 ejb: Well, the answer is a little complex, but here it is... Mar 06 20:38:48 ejb: In general, I use Adwhirl for apps, with Millennial Media and/or Inmobi as the front-end, and Admob (Adsense) as provider of last resort Mar 06 20:38:53 What is the best approach to display in human readable format a remaining time? Mar 06 20:39:46 ejb: But for that particular app, which use ant to build, not Eclipse, Adwhirl runs into some funny business where it doesn't see the classes in Admob's SDK. Mar 06 20:40:37 I'm attempting to build a PC to sneak into work so I don't have to do development on the terrible machines they supplied me with...but I've never build computer that won't be used for gaming or video rendering. What sort of GPU should I be looking at? Mar 06 20:41:19 ejb: Adwhirl and Admob (and Inmobi, and MM) all play nice when I use Eclipse, but with ant it gave me some problems...I haven't looked into it fully. Anyhow, Admob w/ Adsense is the only provider with like 99%+ fill rate, the others have junky fill rates. Also Admob pays quicker. Mar 06 20:41:37 MalRD, any $50 gpu is more than sufficient Mar 06 20:41:45 MalRD, or even chipset graphics Mar 06 20:41:47 I assumed the emulator is all CPU, so that's not going to require a fancy dedicated GPU (although I did notice my fans kick on when I launch it at home). Mar 06 20:42:04 * pfn plays starcraft2 on a $50 gpu Mar 06 20:42:06 and it does well enough Mar 06 20:42:21 as for the emulator... it'll suck regardless of configuration Mar 06 20:42:25 ejb: So the answer for that app is, just Admob, without anything else Mar 06 20:42:30 Alright, that's good. I've got bunches of 8800s, 5850s, and etc laying around here. Mar 06 20:42:41 So I'll just toss one of those in it and be done. Mar 06 20:42:55 ok i solved with this: currentValue = currentValue.replace("amp;", "&"); Mar 06 20:42:58 in the parser Mar 06 20:43:23 think im gonna pick up a Transformer Prime tonight Mar 06 20:43:24 got a triping coming up w\ lots of airport time, so thats as good of an excuse as i can think of :P Mar 06 20:43:36 and replacing in the xml file & to amp; XD Mar 06 20:43:50 alexxio, that is a terrible solution Mar 06 20:43:51 Ologn: Good to know. Thanks for sharing ;) Mar 06 20:44:02 Wavesonics, do it! Mar 06 20:44:12 pfn: it works with one line of code Mar 06 20:44:39 alexxio, that doesn't work when you want to use that xml elsewhere Mar 06 20:46:22 Should android work with *any* .tff fonts? For some reason I'm getting the error java.lang.RuntimeExceptionL native typeface cannot be made when I use Typeface.createFromAsset(getAssets(), "fontname.tff")); Mar 06 20:50:05 NutterzUK: I'm not sure. Do you mean ttf for starters? And IDK what the problem is, maybe the logcat output is more informative Mar 06 20:50:16 Is there a dialog like Toast that will display for a brief moment by isn't asynchronous? Mar 06 20:50:50 name = item.getName() + ++i; Mar 06 20:50:52 ejb: you can manufacture it, create a dialog, show it, put a timer on it, make that hide it Mar 06 20:50:54 sigh Mar 06 20:50:56 NutterzUK: There was a mention on SO about Honeycomb having problems with TTF:s http://stackoverflow.com/questions/7159388/truetype-fails-to-load-in-android-honeycomb Mar 06 20:51:53 Thanks drlaban Mar 06 20:52:06 Gee, sorry to bother you.. I was sure I checked everything a lot of times. Mar 06 20:52:12 typo: .tff instead of .ttf Mar 06 20:52:22 alankila: ok, thanks Mar 06 20:53:13 ejb: and by "put a timer", I think a postDelayed with a Runnable that just closes it or hides it or whatever the call to dismiss it was Mar 06 20:59:28 hopefully google play will allow devs to use promotions or coupon codes or something of the sort soon Mar 06 20:59:44 they really need to work out a gift card and coupon system Mar 06 20:59:46 like itunes Mar 06 21:00:02 pfn: and mass-buying Mar 06 21:00:15 mass buying is kinda different Mar 06 21:00:29 dunno how you'd implement that kinda thing.... Mar 06 21:00:42 does apple do anything for enterprise purchases? I thought they only had an enterprise deployment system Mar 06 21:01:16 canadiancow|work: did someone call my name? (hours ago) Mar 06 21:01:16 anyone know a decent json parser for android Mar 06 21:01:51 hi ctate Mar 06 21:01:55 lol Mar 06 21:02:30 a friend was asking me for documentation on when your application subclass wont be instantiated Mar 06 21:02:40 he's had some market error reports Mar 06 21:02:52 oh wait this is different Mar 06 21:02:55 ClassNotFound Mar 06 21:02:58 hello Mar 06 21:03:24 market is crazy Mar 06 21:03:43 i get errors like statically initalized variables not being initialized lol Mar 06 21:04:03 because its no longer the android market Mar 06 21:04:08 its now called "google play" Mar 06 21:04:33 dont believe me? go to market.android.com Mar 06 21:04:52 i think we've all seen that by now... Mar 06 21:05:17 amusingly the books and movies apps force-landed on my phone, but not the market change. Mar 06 21:05:41 * Jug6ernaut yawns at stupid name change Mar 06 21:05:55 google play? Mar 06 21:05:56 ... Mar 06 21:05:58 * Drakonite sighs Mar 06 21:06:04 an ICS guy needed to confirm an issues Mar 06 21:06:08 please Mar 06 21:06:16 an official ICS distribution preferred Mar 06 21:07:18 whats a good way of embedding a version into my app? i was thinking of creating a script that would write out a Version class to be used throughout the app...how do others do something similar? Mar 06 21:07:34 why do you need it Mar 06 21:07:46 canadiancow: oh I remember you :P Mar 06 21:07:52 smoak, just get the versionCode from the PackageManager Mar 06 21:08:08 they should have just called it gTunes Mar 06 21:08:15 canadiancow|work: there's an issue on my HTC Desire with ICS loaded, everyone else(GingerBread) has no issues Mar 06 21:08:18 oh im sorry i meant an app specific version and not the android version its running on Mar 06 21:08:19 but its not just tunes Mar 06 21:08:24 I need to confirm it an ICS issue or just my device's Mar 06 21:08:34 e.g. something like 0.0.1-git Mar 06 21:08:34 canadiancow|work: that doesn't fool anybody on iTunes :) Mar 06 21:08:38 lol Mar 06 21:09:05 something i can show users they are running app version 0.0.1-git Mar 06 21:09:19 use packagemanager Mar 06 21:09:33 :o Mar 06 21:09:42 the manager of the packages... Mar 06 21:10:02 smoak: many RCS systems (git included) have an 'embed version' macro. I don't know what gits is, offhand, but it should make it so whenever you do a checkout it updates that file content Mar 06 21:10:23 dragorn: thanks ill look to see what gits is Mar 06 21:10:54 no Mar 06 21:10:56 use packagemanager Mar 06 21:10:58 smoak: on svn it's something like "$Rev: 3137 $" Mar 06 21:11:42 I beleive he's trying to embed a version code in the app based on his source control, so that he CAN use something like packagemanager to get it Mar 06 21:11:53 smoak: you can get it with comething like this: context.getPackageManager().getPackageInfo(context.getPackageName(), 0).versionName Mar 06 21:12:06 i believe he wants that ^ Mar 06 21:12:24 smoak: trying to get the version of your package, or trying to set the version in your source pre-compile? Mar 06 21:12:31 so no ICS guy for testing here? Mar 06 21:12:44 Dany0, I've got 4.0.2 Mar 06 21:12:51 i can test it tomorrow on moto xoom ics Mar 06 21:12:57 Wavesonics: is PM ok? Mar 06 21:12:58 Galaxy Nexus Mar 06 21:13:01 sure thing Mar 06 21:13:22 both i suppose, i want a way to distinguish between different app versions after i hand out to QA so i know what version they are currently testing Mar 06 21:15:26 so it looks like i can use android:versionName in my AndroidManifest.xml Mar 06 21:15:38 canadiancow|work: the only time your app will be "running" without your Application subclass is during a full (i.e. adb-driven) backup/restore operation. Mar 06 21:15:41 as well as android:versionCode Mar 06 21:15:42 smoak: http://stackoverflow.com/questions/384108/moving-from-cvs-to-git-id-equivalent ... it's not as simple as you'd hope, you can get a sha1 commit hash embedded in a file, but not a commit id . maybe sufficient for your purposes. Mar 06 21:15:49 thanks ctate! Mar 06 21:16:04 during those operations the only component in your app that might *be* running is your BackupAgent, if you have defined one. Mar 06 21:16:09 dragorn: thanks ill take a look at that Mar 06 21:16:14 that's the only one. no activities, no application, no content providers. Mar 06 21:16:38 ctate, gonna be at io this year? Mar 06 21:16:44 and that's only during 'adb backup' / 'adb restore' -- the delta-based cloud backup stuff uses your app's normal execution environment Mar 06 21:16:48 canadiancow|work: dunno yet Mar 06 21:27:11 3G ram should be enough to compile Android source right? Mar 06 21:27:37 I keep getting an error that it couldn't reserve enough space for the object heap Mar 06 21:27:37 sounds like it'd be Mar 06 21:27:48 kill everything Mar 06 21:28:11 it didn't even get to 1/2 the memory usage when it ran into that error Mar 06 21:28:37 I wonder if it has something to do with running 32-bit linux Mar 06 21:29:36 herriojr: IIRC 32bit host hasn't been supported since a 2.x version Mar 06 21:29:47 there were notes on Android Building Mar 06 21:29:59 how do I restart adb client on device? Mar 06 21:30:05 yeah, I saw that as long as it is master source for ICS, it should be fine Mar 06 21:30:17 it's not showing in adb devices, I restarted the server Mar 06 21:30:23 is adb a service or what on device? Mar 06 21:30:26 *sigh* I guess I'll have to reinstall ubuntu Mar 06 21:30:34 herriojr: what system are you on? Mar 06 21:31:36 yeah, AOSP build has required a 64 bit host since ... Gingerbread, I believe. Mar 06 21:31:39 herriojr, you can't build on 32bit Mar 06 21:31:40 anddam: Ubuntu 10.04, Kernel 2.6.32-39-generic, 2.9GiB RAM, Core 2 Duo 2GHz Mar 06 21:31:44 pfn: ok Mar 06 21:31:46 herriojr, can't allocate 'nuff contiguous heap Mar 06 21:31:48 reinstall it is then Mar 06 21:31:56 * pfn just runs a 64bit vm... Mar 06 21:32:05 it may work on 32bit these days; there was some work to restore 32-bit host support Mar 06 21:32:07 but ew Mar 06 21:32:23 but Irun into too many compile errors due to the differences in compiler/header versions that come with ubuntu :( Mar 06 21:32:59 what's "32bit" Mar 06 21:33:01 also, does anyone know how can I trigger a media scan from cli? Mar 06 21:33:14 anddam: turn adb off and back on in settings Mar 06 21:33:19 anddam, must be rooted, other than that i dont know Mar 06 21:33:46 anddam: but if you're on a unix machine it's possible that your usb setup just doesn't recognize the device properly. does it show up in lsusb? Mar 06 21:33:49 ctate: mm I'm not sure where it is, maybe Settings ->Applications ->Development? Mar 06 21:33:54 right Mar 06 21:34:06 it worked until like 5 minutes ago Mar 06 21:34:19 this happens from time to time, it's not the server as emulators are shown Mar 06 21:34:21 okay then try bouncing it on the device :) Mar 06 21:34:27 also try 'adb kill-server' Mar 06 21:34:31 but I want avoid rebooting in this case Mar 06 21:34:32 on the host Mar 06 21:34:42 um, it can still be the server :) Mar 06 21:34:45 as I wrote I already restarted the server Mar 06 21:34:50 heh Mar 06 21:36:04 I'm a bit lost reading docs, I'd like to trigger the scame media scan that happens when remounting sdcard but I'm not sure how media management works Mar 06 21:40:08 fragments seems like a lot of work... Mar 06 21:43:01 ejb: Yeah. You get into it eventually, and they do prove their use, but at the start they seem daunting and complicated Mar 06 21:55:33 hhmmm besides best buy and staples, anyone have any great ideas on where I might be able to pickup a Transformer Prime tonight? Mar 06 22:00:42 vadi2: the main use being an adaptable UI for many device types? Mar 06 22:02:11 Man, I wish there were a command-line, man-style javadoc command (like pydoc, perldoc, etc) Mar 06 22:06:15 ejb, Actually, they can be really useful in a phone application -- for instance if you need a menu (erm, action) item to be the same on more than one screen, you can implement the options menu and the action that it performs in the same fragment. Mar 06 22:07:11 Think of them as the UI equivalent to the actor pattern. Mar 06 22:08:11 They're also a really easy way to implement custom-styled tabbed interfaces.. Yeah, I like fragments a lot. Mar 06 22:09:35 greymalkin: I like the sound of that. I had no idea they existed until I went to use some deprecated Activity methods Mar 06 22:09:55 I'll be refactoring to include them in the not so distant future Mar 06 22:11:43 anyone else get the play store app? Mar 06 22:14:11 Dark-Side: A metal android button, like you might stick into your shirt. I guess a coin would work just as well. Mar 06 22:14:46 It turned out that part of reproducing the bug was to put another finger on the screen while lifting the button off. Mar 06 22:14:50 Still reproducible, though. Mar 06 22:17:04 what is the appropriate channel to get help with rooting my htc inspire after using the ace hack with no success Mar 06 22:18:28 #android-root Mar 06 22:19:22 tyvm Mar 06 22:26:16 Does anyone know if there are plans to fix the ant build problem that doesn't actually build if the code or resources change? It's really annoying to have to do a clean with every build. Mar 06 22:26:37 greymalkin, it's probably a recorded bug somewhere Mar 06 22:26:48 * pfn switched to sbt for building his projects Mar 06 22:26:52 java and scala (on android) Mar 06 22:27:53 greymalkin, wanna try it out? ;-) Mar 06 22:30:29 greymalkin: I'm pretty annoyed by it too. Mar 06 22:34:14 linear layout weights have always been confusing to me. i have three views A, B and C. i want the total proportions to be "AABC" - ie, A twice as large as B/C, B same size as C. all three are match_parent, and A's weight is 2, B/C's weight is 1. Mar 06 22:34:28 end result however is that A doesn't get shown at all, and B and C share the screen equally. Mar 06 22:34:57 how do i accomplish my goal here? Mar 06 22:35:34 can you paste the XML somewhere? Mar 06 22:36:13 tophyr: did you set weightSum in the parent? Mar 06 22:36:16 tophyr, you can't have all 3 match_parent Mar 06 22:36:17 https://gist.github.com/1989486 Mar 06 22:36:23 i did not set weightSum Mar 06 22:36:30 tophyr, width/height=0, weight=2, weight=1, weight=1 Mar 06 22:36:32 results in AABC Mar 06 22:36:39 pfn i've often run into trouble with that and usually set the dimen to 0dp Mar 06 22:36:50 tophyr, match_parent = same size as parent container Mar 06 22:36:59 but in this case, A is an imageview that's fitCenter, so if i set its dimen to 0 then it scales the image to nothing Mar 06 22:36:59 so if the parent is 600dp, then the child is 600dp Mar 06 22:37:04 even tho its dimens are correct Mar 06 22:37:49 tophyr: you need to set weightSum = 4 in the parent Mar 06 22:38:01 oh Mar 06 22:38:04 wait, no you don't Mar 06 22:38:16 no dice, just tried it Mar 06 22:38:26 if the total fits exactly Mar 06 22:38:48 i have a hunch that the LL is going through each weight and laying them out in stages Mar 06 22:39:03 you don't have to set weightSum explicitly unless you're doing something unusual Mar 06 22:39:05 width/height trump weight Mar 06 22:39:10 thus B/C at weight 1 get all the space, and when it goes to process weight=2, there's no space left to expand into Mar 06 22:39:20 weights are used to distribute the *remaining* width after fixed-element layout, iirc Mar 06 22:39:28 tophyr: try setting layout_height = "0dp" Mar 06 22:39:32 ctate, right, width/height trump weight Mar 06 22:39:45 tophyr: in all children that have a weight Mar 06 22:40:05 sam, he tried that, he said, the problem is imageview scaling fucks up if width/height are set to 0dp Mar 06 22:40:27 ok, I guess I should read all lines Mar 06 22:40:30 dunno what the solution to that is, maybe subclassing imageview and overriding that scaling Mar 06 22:40:31 sorry for the noise :) Mar 06 22:40:43 actually no, i'm a re-re Mar 06 22:40:44 hm, new book. could be interesting. http://shop.oreilly.com/product/0636920022367 Mar 06 22:40:53 maybe putting ImageView in its own LinearLayout Mar 06 22:40:56 i just realized i had both width AND height set to 0 Mar 06 22:40:58 oops Mar 06 22:41:03 height was correct, width was 0, so no image Mar 06 22:41:04 ah Mar 06 22:41:06 tophyr, smooth move Mar 06 22:41:13 with width=match and height=0, all good :) Mar 06 22:41:35 but yeah, dimensions override weight Mar 06 22:41:50 so match_parent on all 3 would result in not seeing the other 2 items Mar 06 22:43:03 actually interestingly enough when all the items are match_parent *and* the same weight, they all get distributed evenly Mar 06 22:43:12 does having more than one app in the market affect your ranking somehow? Mar 06 22:43:17 that's odd Mar 06 22:43:26 as far as I understand, if all are match parent, then only 1 should be visible Mar 06 22:43:50 pfn from its behavior, i think it goes "for (int i = 0; i < maxWeight; i++) { layout_shit_using_extra_pixels }" Mar 06 22:43:51 g00s, broken link Mar 06 22:44:08 the docs do seem to indicate what you're thinking Mar 06 22:44:13 but behavior is slightly diff Mar 06 22:44:20 fuck. Mar 06 22:44:22 etuleu: http://shop.oreilly.com/product/0636920022367.do Mar 06 22:44:23 tophyr, extra pixels only exist if you aren't doing match_parent Mar 06 22:44:41 books are overrated :p Mar 06 22:44:50 they are overpriced Mar 06 22:45:01 s/extra pixels/non-wrapped-or-specifically-dimensioned pixels/ Mar 06 22:45:38 theres a chicke non the cover! Mar 06 22:45:47 especially dev books Mar 06 22:46:02 Holy crap. EVERYWHERE is sold out of the Transformer Prime! I finally found a single Bestbuy that has exactly ONE in stock. Picking it up in 20 min :) Mar 06 22:46:10 * g00s wonders how much of it applies to android though Mar 06 22:46:11 Wavesonics, good luck Mar 06 22:46:26 they must just be running down their stocks? Mar 06 22:46:40 * pfn shrugs Mar 06 22:47:06 Wavesonics: heh, that was a nice way to put it Mar 06 22:47:24 ya, guess it wasn't selling well Mar 06 22:47:40 wasn't selling well? Mar 06 22:47:47 * pfn can't imagine the tf prime not selling well Mar 06 22:48:03 ya, idk i'd hard Samsung was really dissapointed w\ their Galaxy Tab sales Mar 06 22:48:13 I think the Prime just proves Apple Fanism. You have a product that has better hardware than an iPad, cheaper than an iPad, but people still buy that over the Prime Mar 06 22:48:15 havent heard anyting about TF Prime though Mar 06 22:48:18 The Tabs sucked badly Mar 06 22:48:33 Tab 10.1 was decent when i played w\ it Mar 06 22:48:38 well, my first hit for google search "transformer prime" sales got me this http://www.theverge.com/android/2012/2/3/2768137/clove-halts-asus-transformer-prime-sales Mar 06 22:48:40 for sucking badly, it was the #1 android seller... Mar 06 22:48:52 g00s, wifi issues... Mar 06 22:48:58 * pfn shrugs Mar 06 22:49:01 ya I heard about those Mar 06 22:49:10 did some research though and it seemd ok for most ppl Mar 06 22:49:10 haven't heard any news about them lately Mar 06 22:49:13 so presumably it's been fixed Mar 06 22:49:22 i still have either an iconia or gslate for sale Mar 06 22:49:37 i probably should put one on craigslist Mar 06 22:49:42 neekers, i will take those from you if you pay me Mar 06 22:49:45 pfn: yeah, but remember how popular theo riginal SGS Phones were? and they were plagued with problems Mar 06 22:50:04 g00s: isnt it time for you to go out and play on the highway again? :) Mar 06 22:50:29 DrPenguin, right, so I don't think hardware faults will make the tf prime unpopular Mar 06 22:50:39 neekers: sencha touch 2.0 Mar 06 22:50:54 Google Play in regaurds to books: "Play The Hunger Games Now!" <-- terrible marketing :( Mar 06 22:50:55 pfn: I didnt say anything about TF Prime Hw faults? I didnt know about issues with the Prime Mar 06 22:51:06 g00s: what about it? Mar 06 22:51:18 did it just come out today ? Mar 06 22:51:23 thought you were using it Mar 06 22:51:34 ? Mar 06 22:51:36 ? Mar 06 22:51:39 oh Mar 06 22:51:42 no, its been out for a few months or so Mar 06 22:52:01 I've got a trip on Saturday, so I need a tablet now :P Mar 06 22:52:36 http://www.sencha.com/blog/announcing-sencha-touch-2 Mar 06 22:52:39 If you cant find a Prime, Xoom isnt that badd, just saying Mar 06 22:52:43 it says March 6 dumbleweed Mar 06 22:52:56 DrPenguin, the XOOM is pretty fat @ this point Mar 06 22:53:01 compaired tot he others anyway Mar 06 22:53:08 Meh, I dont mind it's size Mar 06 22:53:10 TF Prime also has Tegra 3 :) Mar 06 22:53:18 is that a good thing ? Mar 06 22:53:30 Tegra 3? Have u SEEN the benchmarks?! Mar 06 22:53:48 from what I have seen, the Tegra 3 does crush other processors out there Mar 06 22:54:06 xoom is too fat for my tastes Mar 06 22:54:08 its been a release candidate for a while, twatwaffle Mar 06 22:54:09 my ipad1 is too fast Mar 06 22:54:27 fast? or fat? Mar 06 22:54:28 and the xoom is about the same thickness Mar 06 22:54:42 fat Mar 06 22:54:51 agreed Mar 06 22:55:12 the big problem with xoom is the weight, IMO Mar 06 22:55:19 Spoiled kids today. Back in my day, cell phones weighed 35 pounds and came with a shoulder strap. Mar 06 22:55:22 I dont mind the weight either :P Mar 06 22:55:32 also performance of the UI compared to the TF Prime didnt seem as good Mar 06 22:55:36 not as fluid Mar 06 22:55:39 yes Mar 06 22:55:47 Well the Xoom is a (Tegra 2?) Dual core Mar 06 22:55:51 right Mar 06 22:55:57 T3 is pretty good. Mar 06 22:56:00 T2 is not. Mar 06 22:56:00 * neekers hugs his iPad. Mar 06 22:56:00 o.o Mar 06 22:56:07 ==ctate Mar 06 22:56:09 so obviously going to a T3 Quad your gonna see humongo differences Mar 06 22:56:10 TF P is the most fluid UI i've tried in person Mar 06 22:56:14 iPad2 has the best SoC in the market. Mar 06 22:56:27 [and it's not particularly close] Mar 06 22:56:49 that may change in the next year, but the future is always pretty wide open Mar 06 22:56:51 Except, iOS. Mar 06 22:56:52 It's not exactly in the market, though, is it? Mar 06 22:56:53 tegra3 is not close to ipad2? Mar 06 22:57:01 ctate, and there's the ipad3 announced today, wasn't it Mar 06 22:57:01 pfn: no. Mar 06 22:57:08 iPad HD Mar 06 22:57:08 (re tegra3 vs ipad2) Mar 06 22:57:26 TF P beats iPad2 on every benchmark: http://www.slashgear.com/asus-transformer-prime-vs-ipad-2-benchmark-tests-01199285/ Mar 06 22:57:31 Coming soon: iPad 3D Mar 06 22:57:33 ctate, I'm confused by your statement Mar 06 22:57:35 seems like iPad hd is a minor update Mar 06 22:57:39 well, better display Mar 06 22:57:43 oh, t2 is not close Mar 06 22:58:00 oh right the iPad2 has a lot fewer pixels Mar 06 22:58:01 oh sorry, not every benchmark Mar 06 22:58:12 a lot fewer? Mar 06 22:58:14 which right there makes comparisons hard Mar 06 22:58:17 iPad2 does remarkably well on GL Mar 06 22:58:17 1024x768 isn't much fewer Mar 06 22:58:21 TF P beats it on the rest Mar 06 22:58:32 thats a great point, iPad 2 is lower red Mar 06 22:58:37 might explain the GL benchmarks Mar 06 22:59:00 I guess ~20% Mar 06 22:59:37 pfn: 30% more pixels on the TransformerPrime Mar 06 22:59:51 that's definitely a lot Mar 06 22:59:52 1280x720 isn't 30% more Mar 06 23:00:03 I think you have to look at it too, theres a lot more going on on an Android Machine than an iOS machine Mar 06 23:00:07 systemui pixels don't count Mar 06 23:00:15 err, of course they do Mar 06 23:00:22 not until you let us hide it they don't Mar 06 23:00:23 :p Mar 06 23:00:57 Presumably system UI pixels aren't overdrawn at the same rate as benchmark working area pixels. Mar 06 23:01:05 * ctate | iPad2 does remarkably well on GL Mar 06 23:01:05 it's uh... 14% more pixels Mar 06 23:01:07 I certainly hope they're not. Mar 06 23:01:10 * ctate | TF P beats it on the rest Mar 06 23:01:28 ... and because GL/GPU performance is basically all that matters, i rest my case. Mar 06 23:01:33 iPad2 786432 pixels Mar 06 23:01:36 TF P 921600 pixels Mar 06 23:01:44 Wavesonics, well, the panel is in reality 1280x800 Mar 06 23:01:47 * ctate | (1 280 * 800) / (1 024 * 768) = 1.30208333 Mar 06 23:01:50 I guess the TF doesnt have a dedicated GPU? Mar 06 23:01:51 but only 1280x720 usable Mar 06 23:01:51 30% Mar 06 23:01:51 well the TF P's GPU performance IS steller Mar 06 23:01:59 because android as a tablet os is being an asshole :) Mar 06 23:02:01 pfn, oh really? Mar 06 23:02:03 Wavesonics: exactly Mar 06 23:02:09 Wavesonics, yes, 80pixels goes to the systemui bar Mar 06 23:02:20 didnt realize that wasnt included in the screen res Mar 06 23:02:22 thats awesome Mar 06 23:02:31 Wavesonics, no, specs always say 1280x800 Mar 06 23:02:37 huh? that is indeed included in the screen res. the screen is 1280x800. Mar 06 23:02:43 o Mar 06 23:02:46 80 pixiels is a line about the width of a human hair... what? Mar 06 23:02:47 guess im just retarded Mar 06 23:02:52 but only 1280x720 is usable Mar 06 23:02:59 right Mar 06 23:03:01 the systemui bar is so annoying Mar 06 23:03:02 pfn: usable for some things :) Mar 06 23:03:04 I wish it would go away Mar 06 23:03:18 post a notfication and hey, you're displaying content there :) Mar 06 23:03:51 * pfn should dig through systemui source some day Mar 06 23:03:53 pfn: I think it would be cool if there was a little think in the bottom left corner you can tap, and it fans out the Back Home and Recent Apps buttons Mar 06 23:03:57 see if there's some interesting tidbits Mar 06 23:04:05 DrPenguin, I say that all the time... Mar 06 23:04:10 pfn: there are differing implementations for phone vs tablet Mar 06 23:04:12 welp, this is just plane cool: http://tech.slashdot.org/story/12/03/06/1837245/x-server-now-available-for-androi Mar 06 23:04:17 ctate, I know Mar 06 23:04:21 pfn: oh really? I am sorry, I never saw you say hat Mar 06 23:04:24 Wavesonics: NO! NOT COOL Mar 06 23:04:34 why DrPenguin Mar 06 23:04:38 HOW is that not COOL! Mar 06 23:04:41 DrPenguin: it'd be cool but less performant Mar 06 23:04:41 because X Server is a PITA POS Mar 06 23:04:56 DrPenguin, that's why I wrote this: https://play.google.com/store/apps/details?id=com.hanhuy.android.hsbm Mar 06 23:05:17 Wavesonics: because Xwindows should have been replaced with something good twenty years ago Mar 06 23:05:18 DrPenguin, oh get over it. It's so widely used this opens up all SORTS of cool possibilities Mar 06 23:05:22 Wait... what resolution is the Xoom? Because when I plug that into an HDMI output it changes resolution to get down to 1280x720. Mar 06 23:05:27 ok so let me see if i understand this. if i have a lib project that references gson.jar, my main project cannot have its own reference to gson.jar, correct? Mar 06 23:05:30 ctate, ya, but it wasn't Mar 06 23:05:32 Gumboot: the Xoom's screen is 1280x800 Mar 06 23:05:36 X11 is pretty great Mar 06 23:05:39 Wavesonics: Have you ever done X Server Work / Programming? Mar 06 23:05:39 X isn't really a PITA anymore Mar 06 23:05:43 Wavesonics: people still use 80 column terminals, too. doesn't make it a good idea. Mar 06 23:05:43 the xoom screen is 1280x800 Mar 06 23:05:46 but only 1280x720 is usable Mar 06 23:05:50 ctate: yeah, but you could combine it with different screen gestures Mar 06 23:05:59 ctate: So why does it need to change resolution? It cuts off the system thingumy anyway. Mar 06 23:06:05 ctate, thats not an analogus argument Mar 06 23:06:13 Gumboot, because televisions overscan Mar 06 23:06:20 canadiancow|work: in the lib project, make sure you've checked gson.jar off as exported Mar 06 23:06:26 Wavesonics: what? they're both about display technology and software written around its assumptions. Mar 06 23:06:44 Gumboot: the xoom screen changes res, or waht? not sure which your pronouns are pointing at. Mar 06 23:07:03 afaik when you plug a tablet into hdmi, you see the nav bar on the TV screen Mar 06 23:07:14 (system bar, sorry) Mar 06 23:07:19 ctate, 80 column wide terminals are a great idea :p Mar 06 23:07:23 I connect the xoom to a TV and the UI on th xoom's own screen shuffles about; adding a blank between the bottom of the app and the top of the system ui bar thing. Mar 06 23:07:32 pfn: 1982 called. they want their VT100 back. Mar 06 23:07:39 But on the TV those buttons are missing. Mar 06 23:07:39 80 column-wide code means I can have 3 editors open side-by-side Mar 06 23:07:43 And when I say TV I mean monitor. Mar 06 23:07:47 ctate: actually... early 70s, I think Mar 06 23:07:51 with room for additional navigation Mar 06 23:07:57 Gumboot: oh weird. are you sure your display is handling the input properly? Mar 06 23:08:06 Gumboot, overscan :p Mar 06 23:08:21 pfn: sorry, right; the VT100 was 1978 Mar 06 23:08:21 Not sure at all. It's not in front of me so I can't try it right now. Mar 06 23:08:32 80 col is because of punch cards, basically Mar 06 23:08:48 which were that way because of 8.5" paper / pica type Mar 06 23:08:50 ctate: actually, 80 columns is 1964, IBM 2260 Mar 06 23:08:50 sigh Mar 06 23:09:08 p_l: which was 80 cols because of punch cards :) Mar 06 23:09:11 i preferred the vt220 :) Mar 06 23:09:32 * ctate prefers windowing systems that properly handle various widths Mar 06 23:09:37 ctate: yes, 12 lines of 80 cols was common configuration (the format was configurable) Mar 06 23:10:06 g00s: VT240! regis graphics! Mar 06 23:10:12 :O Mar 06 23:10:13 * p_l has VT510 Mar 06 23:10:23 [which brings us back to talking about GPUs ;) ] Mar 06 23:10:30 it's old enough to be still made by DEC :D Mar 06 23:10:58 Man, I wish I had been born when all this stuff was first comming into being.. would of been a hellova time to grow up in Mar 06 23:11:52 DrPenguin: stuffs is coming into being right now... Mar 06 23:12:04 ctate: one of projects I was considering starting recently was a better terminal emulator for Android... one that would support not only ANSI terminals (basically, the whole set supported by xterm + 256 color support), as well as IBM 3270 and 5250 Mar 06 23:12:07 pragma_: yeah, but im talking about the old stuff Mar 06 23:12:22 who connects to a mainframe over 3270 these days Mar 06 23:12:26 except for people that work at ibm.... Mar 06 23:12:37 poor suckers Mar 06 23:12:41 DrPenguin: the 60's and 70's sucked, what with the Vietnam war and all the politcal drama, not to mention they didn't have Android back then Mar 06 23:12:42 pfn: even they would use something like tinyterm Mar 06 23:12:42 pfn: everything that runs on IBM mainframe Mar 06 23:12:58 p_l, yeah, not so common... Mar 06 23:13:01 at least anywhere I've worked Mar 06 23:13:01 pragma_: well id be fine without Android.. I dont do much android work anymore Mar 06 23:13:04 except at ibm, of course Mar 06 23:13:06 oh jesus we're still talking about this crap :P Mar 06 23:13:16 im outta, here to the tablet store! Mar 06 23:13:17 pfn: and there's a lot of that stuff, sometimes quite modern. The new applications communicate on modern protocols, but the terminal is necessary for sysadmin stuff Mar 06 23:13:24 and not only at IBM Mar 06 23:13:32 DrPenguin: the girls also wore full length dresses and non-tight clothing Mar 06 23:13:43 'back in my day' Mar 06 23:13:54 a coworker used a 3270 terminal emulator to get into the mainframe just a few years ago Mar 06 23:14:04 pragma_: lol thats fine with me.. I think women dress horribly these days, and i dont socialize with others or go out on dates, havent been on one for almost 2 years Mar 06 23:14:08 * Gumboot keeps hanging on for the GPU talk. Mar 06 23:14:08 whenever you step into a KLM/AirFrance ticket office, there's at least one open TN3270 connection :) Mar 06 23:14:40 DrPenguin: there was no internet porn Mar 06 23:14:40 and that's for a system that was deployed... I think in 2009 or 2010 Mar 06 23:14:48 pragma_: I dont look at porn Mar 06 23:15:18 DrPenguin: but if you just move back into those times, you'd have to survive any awkward teenage phases with what was back then ;) Mar 06 23:15:19 Richard Nixon was president. Mar 06 23:16:02 p_l: id be fine with that.. I spent my teenage years in my house every day all day Mar 06 23:17:14 DrPenguin: at least you've come out of your shell now and are quite the connected socialite Mar 06 23:17:26 pragma_: um, no im really not Mar 06 23:17:37 DrPenguin: you're pretty cool dude, dont deny it Mar 06 23:17:38 lol Mar 06 23:17:57 QubeZ: eh, I would whole heartedly Mar 06 23:17:57 you're young man, chase those girls Mar 06 23:18:04 programmers are getting all the girls now Mar 06 23:18:14 pfn: Actually, I wouldn't mind trying out scala on android at all... do you have a link to the docs you used to make it? Mar 06 23:19:42 So this is really tricky... I have a listview fragment, and I'd like to just display a textview when there are no items. How can I go about this? Mar 06 23:19:53 DrPenguin: You're also a doctor. How can they resist? Mar 06 23:19:53 fml Mar 06 23:20:22 adt r16 wont build my project unless i have the support lib in both my main and lib projects. adt r17 wont build it unless i have the support lib in only my lib project T_T Mar 06 23:20:28 vadi2: i think you need to read about "empty" pertainig to listview Mar 06 23:20:38 ok Mar 06 23:21:06 I would like to convert a Bitmap into byte[], but I wouldn't want to change its format. However, if I do http://stackoverflow.com/a/4989543, I must change the Bitmap into a non-Bitmap CompressFormat: http://developer.android.com/reference/android/graphics/Bitmap.CompressFormat.html. Mar 06 23:21:23 tl;dr convert Bitmap into a byte[] of Bitmap format Mar 06 23:23:26 QubeZ: aha, setEmptyView... thanks Mar 06 23:23:43 I currently have a tablelayout, with 3 rows, and each row is separated by views. I have the weight of each of these empty space as weight=2, weight=1, weight=1, weight=4 but then it is coming out pretty weird on the actual layout. Any ideas why? https://gist.github.com/c4def4a8ee06f11c6a3d and http://imgur.com/OqfMa Mar 06 23:23:47 you can also do it in XML vadi2 Mar 06 23:25:31 Ah, Google Music, so helpful. Error uploading! Error! Some upload failures were found: Error uploading files: 1 Error uploading file Mar 06 23:25:47 this is a listfragment though Mar 06 23:28:05 ahh ok, my bad. I haven't worked with fragments yet. Mar 06 23:29:04 Yeah, it's a bit tricky, but you're helped me with the hard part Mar 06 23:34:27 If anyone can help that would be great http://stackoverflow.com/questions/9593613/android-views-inside-a-table-layout Mar 06 23:39:34 DrPenguin: this is what you can expect your sex life to be like back then: http://slackstack.com/wp-content/uploads/2012/02/tumblr_lqf0wtQvVR1qfdyfzo1_500.jpg Mar 06 23:39:50 That is epic Mar 06 23:41:57 disappearedng: you didn't really specify how you wanted it to look Mar 06 23:42:25 disappearedng: and are you using these View objects for spacing? Mar 06 23:42:49 http://slackstack.com/wp-content/uploads/2012/02/community_troy_eats_chewing_gum_cigarette.gif Mar 06 23:47:06 greymalkin, you can use my android plugin for sbt which handles scala and java apps Mar 06 23:47:19 greymalkin, https://github.com/pfn/android-sdk-plugin Mar 06 23:47:34 * pfn needs to publish it somewhere so that one doesn't need to publish it locally Mar 06 23:47:58 need to add a ctags step to generate ctags, mmm Mar 06 23:48:38 greymalkin, with that plugin, you can just mix in scala code and the plugin will do the right thing Mar 06 23:48:50 greymalkin, and you can use it on an existing android project that you build with ant Mar 06 23:56:22 If I add an xml layout to my listfragment... does it have to specify a listview? Mar 07 00:01:10 or rather, if I want to set an empty view, do I have to override onCreateView? Mar 07 00:06:14 vadi2 listfragment doesn't support custom layouts Mar 07 00:06:28 what do you mean, I just set one in eclipse Mar 07 00:06:38 it's lying to you Mar 07 00:06:41 at least, it says it'll preview Mar 07 00:06:46 oh. Mar 07 00:06:49 oh yea, you can have the xml Mar 07 00:06:52 and it can be great Mar 07 00:06:58 but you can't set it in a list fragment Mar 07 00:07:08 Well, the setEmptyText works but the text is too small and I'd like it to be bigger. What to do? Mar 07 00:07:10 you can use a fragment and do all the list view stuff manually Mar 07 00:07:22 setEmptyView() on the listView Mar 07 00:07:30 or maybe it's on the adapter Mar 07 00:07:32 don't remember Mar 07 00:07:59 so getListView() and then that, ok Mar 07 00:08:21 you could also just do getEmptyView() and change the text size on that Mar 07 00:08:49 is there a way to specify a dimension as match_parent? in my values/styles.xml i have a dimension "row_width" that i want to be match_parent, and in values-large/styles.xml i want to be 400dp. Mar 07 00:09:26 tophyr you mean you're defining the demensions in values/ ? Mar 07 00:09:47 yes, so i don't have to redefine the entire style in the various values/ xml's Mar 07 00:10:01 do put a new dimens.xml in values-large Mar 07 00:10:10 with it as 400 Mar 07 00:10:24 i'll gist, hold on Mar 07 00:11:17 What's to gist? Mar 07 00:12:06 ctate, you should get xavier durochet in here :) Mar 07 00:12:14 define row_width as match parent in dimens.xml in values/ and define row_width as 400dp in dimens.xml in values-large/ Mar 07 00:12:20 what's the relevant function for changing the style of a view at runtime? Mar 07 00:12:21 TomasuAway: https://gist.github.com/1990003 Mar 07 00:12:22 my interaction with him is via a bug report on google code - not very easy to discuss stuff Mar 07 00:12:33 line 2 in (values)styles.xml gives an error, cannot be a string type. Mar 07 00:14:22 ahh Mar 07 00:14:28 you can't have match_parent in a dimen Mar 07 00:14:37 do you're just going to have to go with the styles Mar 07 00:14:42 and change it there Mar 07 00:14:43 guh Mar 07 00:14:46 so clunky Mar 07 00:15:05 well... heh.. i guess i'm spoiled Mar 07 00:15:23 complaining about one clunky edge case of an otherwise incredibly elegant hierarchy Mar 07 00:19:47 Hey guys, I am writing an app and would like to send data from one application instance to another over a network.. Where should I get started reading about this? Mar 07 00:21:09 unix network programming by stevens Mar 07 00:21:33 Android doesnt have any handy tools? I'll just have to run it like a web server? Mar 07 00:21:53 Anyone want to give my app a try? It's new so looking to iron out any bugs: https://play.google.com/store/apps/details?id=com.fluffydelusions.appgarden Mar 07 00:23:34 If I just want to send a few strings from one app to another, sockets would be quickest? Mar 07 00:25:26 pbelanger: it works well, but it could use a better interface for entering stuff in Mar 07 00:26:39 also, you might want replace the popup menu that comes up when tapping the settings icon in the upper right with a context menu like in HC/ICS Mar 07 00:27:16 EasyAt: device-to-device is close to impossible due to NAT and firewalling of the endpoints. the closest you will get is google's push notifications.. Mar 07 00:27:54 jathak: Yeah I was thinking about doing that... Mar 07 00:28:16 the tools themselves all seem to work though, from what i've tried Mar 07 00:28:39 EasyAt: C2DM is what google calls it.. Mar 07 00:28:40 Well that is what's most important for now :) Mar 07 00:28:49 it just crashed though, when I tried to lookup album art Mar 07 00:28:50 voso: ty :) Mar 07 00:28:57 hm Mar 07 00:29:06 what did you type in? Mar 07 00:29:53 i've tried a few queries and they all cause a crash Mar 07 00:29:59 hrm Mar 07 00:30:19 what source are you using for the data? Mar 07 00:30:26 last.fm Mar 07 00:30:35 hi group Mar 07 00:31:07 plbelanger: I'm on a Galaxy Nexus with 4.0.3, for the record Mar 07 00:31:30 I'm not sure how extensive last.fm in terms of art but it's always found everything I've tried Mar 07 00:32:14 it might just be my phone or ICS then Mar 07 00:32:38 I just tried adele/ 19 and it found it...does that work for you? Mar 07 00:32:45 exist a form to get action from multtouch event? for example MotionEvent up down and move events Mar 07 00:33:18 plbelanger: no, I'll send a crash report for this one Mar 07 00:33:38 wow, odd Mar 07 00:33:53 I just tried on galaxy s2 and emulator...worked no problem Mar 07 00:34:01 have you tried on an ICS emulator? Mar 07 00:34:06 yep Mar 07 00:34:10 1.6 and ics Mar 07 00:34:13 just tried Mar 07 00:34:24 i'll try on my tablet, also ICS Mar 07 00:34:44 And galaxy s2 is just standard Mar 07 00:35:09 from factory Tmo Mar 07 00:35:55 check the report I sent. that might tell you what is wrong Mar 07 00:36:00 ok Mar 07 00:37:44 plbelanger: If you'd like to try it, my current project is here: https://play.google.com/store/apps/details?id=net.alamoapps.music Mar 07 00:38:34 Cool will do...btw have you found a lyrics API? Mar 07 00:38:52 Seems all the good ones got shut down Mar 07 00:39:34 no. I'm considering integrating with last.fm or something to get album art, but lyrics would be nice too. Mar 07 00:39:51 I found one free one but it sucks lol Mar 07 00:40:05 musicmatch seems to be the only legit one but it costs money Mar 07 00:43:54 plbelanger: I got the same crash on my tablet. Mar 07 00:44:10 What are you searching for? Mar 07 00:44:35 I've tried several, including 19 by Adele, which you said works for you Mar 07 00:44:58 did you guys see that the Unity Android extension is free until 8th April? (iOs one as well) Mar 07 00:45:00 https://store.unity3d.com/index.html Mar 07 00:45:09 Wow, that is weird Mar 07 00:46:01 Android never ceases to amaze me in terms of problems lol Mar 07 00:47:26 all software has problems plbelanger Mar 07 00:47:27 plbelanger: Here's the logcat: http://dl.dropbox.com/u/2780812/appgardenlog.txt Mar 07 00:47:31 and remember, like it says in the channel topic, http://imgur.com/jacoj Mar 07 00:47:33 BTW...what's up with changing market to play... =\ Mar 07 00:47:34 grrrrrr, eclipse you suck Mar 07 00:47:38 market sounds better imo Mar 07 00:48:25 definitely. A change to Google Market would make sense, since they sell music, movies, and books now. Play just doesn't make sense. Mar 07 00:48:41 what was wrong with Market? Mar 07 00:48:50 nothing Mar 07 00:48:53 that is what I'd like to know lol Mar 07 00:48:55 why would a business person go to google play to download a productivity app? Mar 07 00:48:59 a bit odd Mar 07 00:49:13 play sounds more like a media store Mar 07 00:49:47 yeah. it makes sense for the movies and music part, but how do you play a book? Mar 07 00:50:06 i bet people sat around in a room for days asking themselves this very same question before they made the move Mar 07 00:50:45 I suppose you can have books read to you from Google's app Mar 07 00:50:54 google play == apple app store + itunes? Mar 07 00:51:50 Speaking of Apple so I wonder if there will be an iPad 2S tomorrow heh Mar 07 00:52:35 i think a retina screen + new camera equals a 3 Mar 07 00:53:06 My gf had an iPad and then promptly took it back the next day Mar 07 00:53:11 does anyone know how to get the mediastore to refresh? Mar 07 00:53:18 I tried the camera on it...pretty horrible Mar 07 00:53:25 well, according to the 5000000000000 rumors that spew out of sites like Cnet and engadget, it may also have an A6 quad core, and do your laundry Mar 07 00:53:41 quad core is pretty hardcore for a tablet Mar 07 00:54:11 it is now, but it won't be soon, with the $250 MeMo and the $199 Google tablet Mar 07 00:54:15 can it run android yet? ;) Mar 07 00:55:37 I will hold out till the official google tablet Mar 07 00:55:41 whenever that is Mar 07 00:56:02 I say that will be within a years time Mar 07 00:56:18 I thought that said within 6 months in december? Mar 07 00:56:22 Android and Me said it was likely to be released in June. Mar 07 00:56:24 oh I dunno Mar 07 00:56:28 Well no matter...I just hope they don't skimp on the specs Mar 07 00:56:39 Which means they'll probably be given away at I/O Mar 07 00:56:43 a $200 tablet Mar 07 00:56:47 how can they /not/ skimp on specs Mar 07 00:57:16 they said it was going to be $200? Mar 07 00:58:04 the rumors are saying $200 Mar 07 00:58:10 http://www.youtube.com/watch?v=Y4MnpzG5Sqc < Watch this all the way through, it's 30 minutes and it's very important to share and watch. This is serious news, we can arrest joseph kony. Mar 07 00:58:14 What I think would be really cool if Google introduced x86 Android tablets with its debut one Mar 07 00:58:16 Disappointed if true. Tab 2 is still only dual core as well Mar 07 00:58:33 Transformer prime is the only one going quad Mar 07 00:58:45 though I think acer is coming out with one as well Mar 07 00:59:25 The Transformer 300 and the MeMo will both have quad core. Plus, the rumors are saying quad core for the Google tablet as well. Mar 07 00:59:46 doesn't PadFone include a quad-core as well? Mar 07 00:59:54 This says that it will most likely be a cheaper, Google-branded MeMo made by ASUS: http://androidandme.com/2012/03/opinions/rumor-googles-199-nexus-tablet-to-be-made-by-asus-include-quad-core-tegra-3/ Mar 07 00:59:58 though that one is pretty weird device Mar 07 01:00:21 quad core tegra 3 @ $199...sold! Mar 07 01:00:25 I have just learned that Google Android Market is no more Mar 07 01:00:37 what in the goddamn fuck is "Google Play"? Mar 07 01:00:42 pragma_: play is future lol Mar 07 01:00:46 I dunno Mar 07 01:00:51 it's shit Mar 07 01:00:58 Yeah, because productivity apps and tools are games we play... Mar 07 01:01:09 kinda looks like market place plus some more rubbish Mar 07 01:01:12 I was browsing dev console and refresed and it said play and I was wtf Mar 07 01:02:11 hmm.. google play looks interesting.. Mar 07 01:02:15 Ooo! Johnny English for 3.99 Mar 07 01:02:26 that's to rent you know Mar 07 01:02:32 Asus is great. I'd buy it. Mar 07 01:02:36 thats fine, its Johnny Freakin English Mar 07 01:02:42 Screw Samdung and the others Mar 07 01:03:07 rowan atkinson is great Mar 07 01:03:16 HTC is nice in that they unlocked a lot of bootloaders and have made kernel sources and whatnot available, though Mar 07 01:03:36 Samsung is overpriced...ASUS is nice Mar 07 01:04:03 Meh, I despise HTC Sense Mar 07 01:04:11 same Mar 07 01:04:21 Was neat when it first arrived Mar 07 01:04:23 Meh, I just plop cyanogenmod on my phones. Mar 07 01:04:26 What Sense? Mar 07 01:04:27 now..meh Mar 07 01:05:37 prefer ICS over touchwiz/Sense Mar 07 01:05:50 ICS default theme I mean Mar 07 01:06:21 I honestly dont even mind Asus's theme they overlay Mar 07 01:06:38 android dev console tells me that less then 0.5% of devices that have installed apps from the Tools category are running 4.0 or greater Mar 07 01:07:45 also, dev console and the website-based market takes 6 or more hours to refresh statistics or app updates Mar 07 01:08:06 Yeah but it seems to update comments right away Mar 07 01:08:25 yeah, typical google whack engineering choices Mar 07 01:08:41 probably something to do with their spyware modules Mar 07 01:08:47 aka typical "we've got a fucking huge distributed system" Mar 07 01:09:23 It also seems to update error reports right away Mar 07 01:09:24 we published an update to our app yesterday and it updated on the market site within an hour or so, not 6 Mar 07 01:09:34 under an hour anyway Mar 07 01:09:43 hi to all! Mar 07 01:09:52 statistics take a while because they're aggregated Mar 07 01:10:00 app updates don't take hours, it's usually <45mins Mar 07 01:10:00 I notice about 2-3 hours for new apps and about 30 minutes to an hour for updates Mar 07 01:10:25 new apps don't take a couple hours to show up either Mar 07 01:10:26 could someone help me with decrypt logcat? Mar 07 01:10:37 only searchable within a couple hours Mar 07 01:10:37 it's already in plaintext, nothing to decrypt Mar 07 01:10:38 aZuZu[Doma]: what's going on? Mar 07 01:10:57 perhaps its encrypted to aZuZu[Doma] because of lack of experience? :P Mar 07 01:11:02 you can still go the app page in the market just doesn't show up in searches right away Mar 07 01:11:05 http://pastebin.com/xAe9pHkq Mar 07 01:11:06 takes like 8 hours if you change one word in the description Mar 07 01:11:12 lol Mar 07 01:11:36 Google constantly messes with the market...I never know what to expect Mar 07 01:11:39 aZuZu[Doma]: whoa.. thats a big logcat, what do you want to know about specifically? Mar 07 01:11:43 aZuZu[Doma]: you cut off the earlier part Mar 07 01:11:54 that's an Android runtime crash & restart Mar 07 01:12:05 03-06 17:35:45.425: W/ResourceType(6195): Failure getting entry for 0x010800fa (t=7 e=250) in package 0 Mar 07 01:12:10 bootlooping Mar 07 01:12:14 is that some kind of custom build? Mar 07 01:12:19 Failure getting entry for << how to find damn entry :D Mar 07 01:12:37 yes custom Mar 07 01:12:40 0x010800fa looks like a resource or attribute ID Mar 07 01:12:49 grep the generated R.java files for it, maybe? Mar 07 01:12:51 that doesn't sound like the reason for boot looping Mar 07 01:12:57 aZuZu...looks like something died :P Mar 07 01:13:06 pfn: failure to find required resources at boot time can crash the system process Mar 07 01:13:11 something died? Mar 07 01:13:14 omg! Mar 07 01:13:21 is it gpu? Mar 07 01:13:27 aZuZu[Doma]: the system_server process is crashing and being restarted, in a loop Mar 07 01:13:28 sounds like a bad rom Mar 07 01:13:34 go install another one Mar 07 01:13:37 aZuZu[Doma]: it could be; have you been giving you gpu enough sunshine and water? Mar 07 01:13:47 see the part where it has these lines? Mar 07 01:13:48 03-06 17:36:26.405: A/SystemServer(6749): BOOT FAILURE starting Audio Service Mar 07 01:13:49 03-06 17:36:26.405: A/SystemServer(6749): android.view.InflateException: Binary XML file line #20: Error inflating class android.widget.LinearLayout Mar 07 01:13:59 bad rom Mar 07 01:14:02 and then it has a stack trace etc Mar 07 01:14:08 you've screwed something up in your customizations Mar 07 01:14:24 well seems like i will have to browse over code some more time... Mar 07 01:14:47 03-06 17:36:26.405: A/SystemServer(6749): Caused by: android.content.res.Resources$NotFoundException: Resource is not a Drawable (color or path): TypedValue{t=0x1/d=0x1080221 a=-1 r=0x1080221} Mar 07 01:14:56 do learn to read logs, aZuZu[Doma] :) Mar 07 01:15:09 well Mar 07 01:15:33 linux sort of logcat is not for everyone Mar 07 01:15:41 it sort of looks like you have tried to kitbash the resources from one build on top of the code from a different build Mar 07 01:15:47 aZuZu[Doma] is just copying/pasting random stuff from xda forums and then posting "why doesn't it work?" threads, and then finally when everything is all working, he posts a thread that says "Look at what I made all by myself, it rocks! You should get this." Mar 07 01:15:48 i like text here and here is error Mar 07 01:16:55 pragma_ not exacly Mar 07 01:18:21 Anyone else played mass effect 3? Mar 07 01:21:27 Nope. Mar 07 01:22:28 It's great ;) Mar 07 01:23:00 tried out shadowgun, it looks pretty awesome Mar 07 01:23:23 The only thing I don't like is it's on origin but oh well Mar 07 01:23:37 game is too awesome to pass up Mar 07 01:23:40 who cares about the engine as long as the game is fun Mar 07 01:23:57 pfn: because crappy engines can cripple games Mar 07 01:24:33 Just can't wait till Diablo 3 Mar 07 01:24:35 if the game runs fine, and the game isn't crippled Mar 07 01:24:37 been waiting so long for that one Mar 07 01:24:38 what's to complain about Mar 07 01:24:41 I want d3 Mar 07 01:24:43 plbelanger it's pretty good Mar 07 01:24:45 but my buddy that works there quit Mar 07 01:24:46 :( Mar 07 01:24:49 I'm in the beta :) Mar 07 01:24:55 so no more $5 copies :( Mar 07 01:24:57 pfn: a game running "fine" can imply that the engine is also fine Mar 07 01:24:58 argh.. Mar 07 01:25:02 t0mless: lucky! Mar 07 01:25:04 DrPenguin, that's not true Mar 07 01:25:12 DrPenguin, a shitty engine can still result in a usable product Mar 07 01:25:17 I hope that rumor of an April 17 release date is true Mar 07 01:25:17 it just takes a lot of work to patch over Mar 07 01:25:22 though the last patch did something with nvidia drivers and made it un playable Mar 07 01:25:29 pfn: then once it is patched it isnt as shitty now is it? Mar 07 01:25:34 pfn: also even some popular engines have been buggy in ways that meant widespread breakages, especially around Android version updates Mar 07 01:25:37 plbelanger I doubt it to be honest Mar 07 01:25:48 ctate, I don't doubt that Mar 07 01:25:58 t0mless: yes me too sadly but I can still hope! :P Mar 07 01:26:17 like versions of Unity that assumed that JNI object references to the same object were (a) bit identical and (b) immutable. tsk tsk. Mar 07 01:26:33 * pfn needs to find another contact that works at blizzard Mar 07 01:26:42 oh and that a local ref and a global ref to the same object would be bit identical. tsk tsk more. Mar 07 01:27:18 t0mless: got a steam id so I can add you? :) Mar 07 01:27:32 yea Mar 07 01:27:33 t0mster Mar 07 01:28:05 folk i am old of old kinda guys Mar 07 01:28:13 ok request sent...my id is same as my name here Mar 07 01:28:56 and i belive that game ... any game should be there for action / puzzle and not graphics Mar 07 01:29:16 Well to be fair...graphics do add to immersion Mar 07 01:29:22 in some cases Mar 07 01:29:35 I'm no graphics whore but I appreciate them Mar 07 01:29:49 * ctate has been playing a lot of Master of Orion [original] lately. Mar 07 01:29:50 plbelanger: right,but some games take performance hits because people try to make the graphics the best they can be, they are more concerned wth look vs flow Mar 07 01:30:01 A perfect example is Odin Sphere for the PS2 Mar 07 01:30:15 i'd have said that a perfect example would be most of the Final Fantasy games Mar 07 01:30:27 so even if you have uber strong this that and shitty game devs which use like 90% of resources of game for uber graphics / sound and 10% for real game Mar 07 01:30:29 ctate: FF7? :P Mar 07 01:30:32 which are about 2/3 horrifically bad game design Mar 07 01:30:45 papered over with great graphics Mar 07 01:30:56 2/3 of FF7 is horrifically bad game design, sure Mar 07 01:30:58 DrPenguin: Fair enough...but you can have both...but I see what you are saying Mar 07 01:31:01 there will be no "good engine" Mar 07 01:31:16 that's about the norm for how much of any JRPG's gameplay is pointless plotless grind Mar 07 01:31:18 ctate: Id have to disagree with you, but only on the newer FF's. The older ones were fan freakin tastic in design Mar 07 01:31:28 just bad or goo pics moving around on screen Mar 07 01:31:34 goo = good Mar 07 01:31:44 ctate: I played 13/13-2 on PS3...argh...nice looking games but well pretty crap gameplay Mar 07 01:31:45 plbelanger: ofcourse you can have both, you need both, its all about finding a good balance Mar 07 01:31:54 there are many dimensions of quality for a game engine Mar 07 01:32:16 UGH I hate that I have to open up a Win 7 VM just to look at my grades Mar 07 01:32:17 ctate, yes 320x480, 480x230 etc Mar 07 01:32:19 how it looks, how it behaves to the user, how easy it is for the developer to write a game with, how easy it is to extend by the developer, how well it grows over time... Mar 07 01:32:21 DrPenguin: Most developers seem to only care about DLC these days...few exceptions of course Mar 07 01:33:13 I mainly just wait till steam sales lol Mar 07 01:33:21 unless it's something I really want Mar 07 01:33:24 such as mass effect 3 Mar 07 01:33:36 * ctate has yet to play a ME game. hm. Mar 07 01:33:37 My phone started to update Google Play Movies...six hours ago? Mar 07 01:33:37 mass effect was on sale last weekend wasn't it? Mar 07 01:33:55 t0mless: not sure...but 3 just came out today Mar 07 01:34:01 and it is awesome Mar 07 01:34:12 ok i restored affected things using logcat now i am recompiling ics Mar 07 01:34:18 ctate: very awesome games if you are into scifi rpg type games Mar 07 01:34:26 oh, they're RPGs? never mind then. Mar 07 01:34:31 well Mar 07 01:34:32 i somehow thought they were FPSes Mar 07 01:34:35 western ones Mar 07 01:34:38 nope Mar 07 01:34:43 3rd person Mar 07 01:34:45 yeah okay, no interest Mar 07 01:34:45 They're not as good as people say they are. Mar 07 01:34:48 my app has the ability to make home screen shortcuts; how do I make that feature available from the Widgets section of all apps? Mar 07 01:35:06 i have played exactly one 3rd-person-view game ever Mar 07 01:35:18 ctate: well do share? :) Mar 07 01:35:24 PoP:SoT Mar 07 01:35:36 [which tbqh is an excellent game] Mar 07 01:35:37 ah never played that Mar 07 01:35:48 * pfn only ever played the original PoP Mar 07 01:35:57 PoP:SoT ... Mar 07 01:36:01 think I played one on snes Mar 07 01:36:08 plbelanger, that was the original Mar 07 01:36:08 Yeah, popsot. Mar 07 01:36:14 sounds like some chinesse karaoke kinda gae.. Mar 07 01:36:22 gae = game Mar 07 01:36:23 etuleu: http://developer.android.com/guide/topics/appwidgets/index.html explains this, no? Mar 07 01:36:39 aZuZu[Doma]: Prince of Persia: Sands of Time Mar 07 01:36:42 ok i no longer like the tools team Mar 07 01:36:49 they need to stop breaking projects between new versions Mar 07 01:36:56 ctate, I don't have a fancy updating widget; it's just a direct shortcut to a contact Mar 07 01:36:58 you cant just tell 200 people to upgrade their tools simultaneously Mar 07 01:37:00 oh Mar 07 01:37:00 fuck Mar 07 01:37:12 i like original one from commodore only Mar 07 01:37:20 etuleu: but a widget is a widget, no? Mar 07 01:37:34 ctate, indeed Mar 07 01:37:50 I just thought there would be a simpler way for the simple widgets Mar 07 01:37:56 aZuZu[Doma]: except that the original was on the Apple ][ Mar 07 01:38:41 take for example the direct contact call that android provides; did they write that the same way? Mar 07 01:38:45 at the time apple was like 10x price of commodore Mar 07 01:38:47 canadiancow|work: forget tools...have you seen Google Play :P Mar 07 01:38:59 and was never ported to the C64; that was a fan implementation Mar 07 01:39:03 so original least close was commodore Mar 07 01:39:42 Jug6ernaut, yo dude! Mar 07 01:39:51 plbelanger thats almost more annoying Mar 07 01:39:58 lol Mar 07 01:40:01 ever reference to the market has to be changed now Mar 07 01:40:04 every Mar 07 01:40:36 why dont they just redirect while developers update their code/links? Mar 07 01:40:45 redirects work? Mar 07 01:40:50 links are fine Mar 07 01:41:05 its the fact that we have to spend a not-insignificant amount of time updating references Mar 07 01:41:24 Download Our App from the Android Market Mar 07 01:41:32 well i was telling everyone that To Do Mapr was going to Market tomorrow but now I have to tell them its going to Play, which will sound weird being said/heard Mar 07 01:41:34 aZuZu[Doma] yo Mar 07 01:41:35 Indeed Mar 07 01:41:39 s/Android Market/Google Play Store/ Mar 07 01:41:45 I just want to know where to send the hate mail to...seriously...google play..horrible name Mar 07 01:41:48 canadiancow they provided Available on Google Play badges though! Mar 07 01:42:00 we have custom ones :P Mar 07 01:42:07 I want to play a book! Mar 07 01:42:09 even the icon is a play button Mar 07 01:42:11 bah Mar 07 01:42:20 anyone ever made a tickerview Mar 07 01:43:23 google should name their devices iGoogle Mar 07 01:43:31 nooooo Mar 07 01:43:32 cant Mar 07 01:43:38 apple would sue Mar 07 01:43:42 lol Mar 07 01:43:48 seriously... Mar 07 01:43:54 iAnything Mar 07 01:43:59 if Google did that, I swear id go to WP Mar 07 01:44:02 "i"_insert_name_here is copywritten by Apple Mar 07 01:44:06 lol Mar 07 01:44:09 WP? Mar 07 01:44:09 DrPenguin: to WordPerfect? Mar 07 01:44:10 it is Mar 07 01:44:13 Windows Phone Mar 07 01:44:13 woman place? Mar 07 01:44:16 there is a iGoogle... Mar 07 01:44:18 :) Mar 07 01:44:28 Windows Phone isnt so bad....i dont want to dev for one tho lol Mar 07 01:44:41 if HP was still supportin WebOS id go to that if Google did that Mar 07 01:44:41 someone kick Jug6ernaut Mar 07 01:44:49 I tried WP briefly at bestbuy...didn't seem too bad Mar 07 01:44:54 I have to agree with Jug6ernaut, ive done a tiny bit of WP7 coding Mar 07 01:45:05 someone kick Jug6ernaut Mar 07 01:45:06 is notifyDataSetChanged() a blocking call? i.e. will it load the data immediately? Mar 07 01:45:11 lol Mar 07 01:45:13 and DrPenguin Mar 07 01:45:15 For adapters of course Mar 07 01:46:07 ctate: i miss wordperfect. damn corel. :/ Mar 07 01:46:17 (novell only partially slaughtered it) Mar 07 01:46:19 only thing that i hate in google android Mar 07 01:46:20 When you have a button in a layout with its text property set to @string/hello, how can you find out the name of the string resouce ('hello') in code? Mar 07 01:46:40 is lack of versioning regarded libs Mar 07 01:46:53 like in real linux Mar 07 01:46:57 so... is there a way to make the android emulator listen on a non-private address? Mar 07 01:47:15 makes it hard to test network apps if they don't fit into your infrastructure like they would on a device :/ Mar 07 01:47:25 razzi: look at the strings file? Mar 07 01:47:31 listening private one is more fun.. Mar 07 01:47:49 aZuZu[Doma]: what kind of versioning do you need? Mar 07 01:48:07 razzi: under res/values Mar 07 01:48:15 * ctate . o O ( "real linux"? Real Linux is a kernel with no userspace. ) Mar 07 01:48:18 plbelanger, what do you mean ? Mar 07 01:48:38 razzi: you are trying to find out what @string/hello says? Mar 07 01:49:03 i think he wants to access the string resource in code Mar 07 01:49:07 i.e. getResources... Mar 07 01:49:11 ah Mar 07 01:49:30 no Mar 07 01:49:44 i want to find out the name of the resource Mar 07 01:50:13 give a use case for why you want to do that Mar 07 01:50:23 usually people access the data within a string by access it via resource Mar 07 01:50:39 ctate, i am not talking about 0.999... Mar 07 01:51:28 so if I want to make a widget that acts like a shortcut should I make a 1x1 widget? Mar 07 01:51:34 what about the title text? Mar 07 01:51:51 i swear to god, every f*cking time i ask a question here i get bullsh*t answers from people who know nothing Mar 07 01:52:13 i think i'm on the same boat as razzi :/ Mar 07 01:52:23 aZuZu[Doma]: what kind of versioning do you need? Mar 07 01:52:35 oh you are on boat... how nice... Mar 07 01:52:54 speaking of shortcuts, were live folders removed from ics/hc? Mar 07 01:52:58 they appear to be gone... Mar 07 01:52:58 ctate, like modular kinda way Mar 07 01:53:25 wow razzi was made Mar 07 01:53:26 mad Mar 07 01:53:45 you have lib v1.02 you can check what functions has and can u use it in some rom Mar 07 01:53:46 aZuZu[Doma]: you'll need to explain what you want/need; i'm not familiar with how GNU/Linux distros handle this sort of thing other than "badly". :) Mar 07 01:54:00 which needs functions that are in that lib Mar 07 01:54:54 haha Mar 07 01:55:00 oh, you're not talking about versioning of libs within your app; you're talking about something like glibc versioning? Mar 07 01:55:05 R.string.u_mad Mar 07 01:55:11 yeah, that's not applicable to Android devices. Mar 07 01:55:20 readme: heh Mar 07 01:55:34 what a short temper on that guy, and all I asked was for a use case Mar 07 01:55:38 to get back to razzi's question, it might be literally impossible in code to go backwards from the resource ID to the in-sourcecode name Mar 07 01:55:49 QubeZ: for calling getString()/getText() of course Mar 07 01:55:51 there's no particular reason for hte names to exist in the compiled resources, so i suspect they don't Mar 07 01:56:12 so does anyone know how the hell to get the emulator onto my lan instead of into a nat? i can't very well debug a device issue in the simulator if i can't get a similar environment. Mar 07 01:56:23 QubeZ: once I hacked together runtime internationalization that used reflection on the string resources.. I don't know if others need this though. if anyone wants it speak up Mar 07 01:56:28 right but there is no use case for it right since ctate said its difficult to go back? Mar 07 01:56:36 i mean, a dev should know the resources he has Mar 07 01:56:56 QubeZ: what if you had an application, and you wanted the user to be able to switch languages in settings Mar 07 01:57:09 then you supply localized string resources for them Mar 07 01:57:16 yeah Mar 07 01:57:18 ya Mar 07 01:57:18 and they're automatically selected based on the locale Mar 07 01:57:28 oh, that's supported? Mar 07 01:57:32 god yes Mar 07 01:57:32 Here's another case Mar 07 01:57:45 I was on an app where the client wanted the top button to put the user into english, and the bottom into spanish Mar 07 01:58:00 I used reflection on the string resources to accomplish, and prefixed all either with EN or ES Mar 07 01:58:06 I kept a cache, so it was fast Mar 07 01:58:24 the app had multiple users, and either could need either english, or spanish Mar 07 01:58:33 it was a time-clock, for punching in and out of work. Mar 07 01:58:39 hung on the wall cheap android tablet Mar 07 01:59:14 then I wrote a hook in setContentView, and the resources got swapped there Mar 07 01:59:29 damn i hate java Mar 07 01:59:57 oh hm, i dunno if you can force the app's locale from code. that's interesting. Mar 07 02:00:52 batos Mar 07 02:00:54 i'd refactor the code and share it but I don't know if it would be useful to enough people to warrant the effort Mar 07 02:01:06 ctate, app's are in wm, wp and apk's are in android :D Mar 07 02:01:46 ? Mar 07 02:03:34 ctate: +1 Mar 07 02:03:52 i mean, stepping back a bit... if you find yourself needing to do things like have multiple versions of libc installed on your Android device, and have apps selectively link against them based on versioning to support different symbol sets or whatever, the you're already doing something very badly wrongheaded. Mar 07 02:04:03 eh, now I have to refactor it just to show it Mar 07 02:04:37 Android has a fixed and monotonically-growing API set; you don't need versioning. Mar 07 02:05:42 off to play mass effect 3...laters everyone Mar 07 02:06:23 ctate, to long discussion.... Mar 07 02:06:30 and me tired .. Mar 07 02:08:36 love finding this in my code Mar 07 02:08:37 cout << "FUCK!"; Mar 07 02:08:53 rofl Mar 07 02:09:12 lol Mar 07 02:09:29 the play favicon looks like the msn butterfly Mar 07 02:09:32 to me :p Mar 07 02:09:46 W/ResourceType(6195): Failure getting entry for 0x010800fa (t=7 e=250) in package 0 ... grep didn't help ... god damn! Mar 07 02:09:50 reminds me of Pink Floyd's album cover Mar 07 02:09:55 with the prism Mar 07 02:10:24 dark side of the moon Mar 07 02:10:51 first time I heard that album was on vynil with my dad Mar 07 02:11:24 you know you can watch the wizard of oz and put on the dark side of the moon and it syncs up eerily Mar 07 02:12:04 I've heard that Mar 07 02:12:25 never done it much beacause.. well... that movie kinda sucks Mar 07 02:13:01 wizard of oz rulz Mar 07 02:13:05 maybe smoke a bit first :0 Mar 07 02:13:14 nice yellow road.. Mar 07 02:13:42 yea, I don't smoke Mar 07 02:13:59 nice wizard which is not wizard ... scarecrow w/o balls etc... Mar 07 02:15:20 my ics os is coming along nicely Mar 07 02:15:36 public static final int btn_check_on_disabled_focused_holo_dark=0x010800fa; <<< yeah i found Mar 07 02:15:39 finally feel like I've got a pretty damn good working knowlege of how all the underlying bits work together Mar 07 02:15:46 although I still despise jni Mar 07 02:18:25 sigh, does anyone know offhand how I can play a loud beep through my speaker? Mar 07 02:18:32 aZuZu[Doma]: which means you're missing assets in your framework build. Mar 07 02:18:44 i can play an mp3 with the media player, but by default it's way too quiet Mar 07 02:19:06 I have a generic "Add Person" activity that I would like to be able to populate with various information, depending on where it is called from. What's the proper way to do that? Mar 07 02:19:09 dnquark on android? Mar 07 02:19:15 aZuZu[Doma]: normally that's at frameworks/base/core/res/res/drawable-xhdpi/btn_check_on_disabled_focused_holo_dark.png (and a few other densities) Mar 07 02:19:20 yeah Mar 07 02:19:30 dnquark you can change stream volume Mar 07 02:19:35 and change stream type Mar 07 02:19:36 are you trying to port ICS to an ldpi device or something? Mar 07 02:19:59 holo themes are shit on ldpi Mar 07 02:20:09 the 9patches basically just dont work Mar 07 02:20:16 of course they are; the assets don't exist for that density Mar 07 02:20:19 why would you want ldpi Mar 07 02:20:25 at least the honeycomb ldpi Mar 07 02:20:26 why would anyone MAKE ldpi Mar 07 02:20:34 ron_frown so I tried doing something like mediaPlayer.setAudioStreamType(AudioManager.STREAM_ALARM) and got an NPE Mar 07 02:20:39 canadiancow: yes that is also a good question Mar 07 02:20:46 yes Mar 07 02:20:50 canadiancow - someone at my work made a genius move to get 800x480 displays Mar 07 02:20:57 its really pretty much bs Mar 07 02:20:58 BUT Mar 07 02:20:58 to sony-ericsson x10 mini Mar 07 02:21:01 after my nexus one, i couldnt deal with 160dpi Mar 07 02:21:02 oh god Mar 07 02:21:16 and now that i carry an iPhone 4S and a Galaxy Nexus Mar 07 02:21:16 ron_frown I'm calling mediaPlayer.create(this, R.raw.beep) Mar 07 02:21:18 android is pretty much an embedded os Mar 07 02:21:20 i dont know if i could deal with 240 Mar 07 02:21:27 aZuZu[Doma]: welp, you'll have to redo all the assets for ldpi; they don't exist at that density, as i said. this is the failure mode when that happens. Mar 07 02:21:50 Heya Mar 07 02:21:59 canadiancow for what its worth, i am moving our stuff to 240+ Mar 07 02:22:09 I think the holo theme in ICS is pure sex Mar 07 02:22:26 If I'm wriring a webapp targeting Android, is there a way that I can get some more specific information about the screen size of the device? Mar 07 02:22:31 (non-native) Mar 07 02:23:31 im going to a google dev lab tomo Mar 07 02:23:33 i'm excited :) Mar 07 02:23:57 i see where i was wrong whole time Mar 07 02:24:00 although hm, i'm surprised it doesn't pick one and downsample. are you sure you even have the corresponding assets at other densities, or has you whole framework/base package gotten screwed up. wack. Mar 07 02:24:09 anyway, this is the wrong channel; you want #android-root or #xda or wahtever Mar 07 02:24:15 ldpi folder is empty Mar 07 02:24:30 unsurprising; we've never shipped an ldpi product Mar 07 02:24:38 who's "we"? Mar 07 02:24:43 Google Mar 07 02:24:45 android "supports" ldpi Mar 07 02:24:48 and there are ldpi deviecs Mar 07 02:25:06 there, that's better Mar 07 02:25:07 what products has "google" shipped? the nexus line? Mar 07 02:25:14 you didnt like me on top of you Mar 07 02:25:15 why are you quoting google? Mar 07 02:25:27 because google isnt a manufacturer Mar 07 02:25:35 they dont make devices Mar 07 02:25:38 they make the OS Mar 07 02:25:54 they didnt even make the OS, they bought it and now continue to develop it Mar 07 02:26:10 you're completely missing my point Mar 07 02:26:12 G1, MyTouch 3G / Magic, Motorola Droid, Motorola Xoom, Nexus One, Nexus S, Galaxy Nexus Mar 07 02:26:17 canadiancow: i get it :) Mar 07 02:26:23 are the devices that Google did the software stack for Mar 07 02:26:29 ok Mar 07 02:26:39 but android is supposed to support ldpi, right? Mar 07 02:26:43 it does, yes Mar 07 02:26:50 so i think aZuZu[Doma] was doing something else wrong Mar 07 02:26:56 i believe it should be downsampling at runtime Mar 07 02:27:25 if you're on ldpi and all that exists is mdpi/hdpi/xhdpi, i think it's supposed to take mdpi and downsample Mar 07 02:27:33 it is Mar 07 02:27:46 if we're making images, we often just make xhdpi, and let it downsample Mar 07 02:27:49 unless it's got text or something Mar 07 02:29:05 canadiancow what dev lab is that btw Mar 07 02:29:11 google tv Mar 07 02:29:14 in toronto Mar 07 02:29:17 woo Mar 07 02:29:22 are they only in US? Mar 07 02:29:40 or canada :) Mar 07 02:29:49 well definitely not only in US :P Mar 07 02:30:03 i just remembe ri couldnt get a free google tv thingy cause my acocunt is UK Mar 07 02:30:25 heh Mar 07 02:30:29 im hoping i can get one tomorrow Mar 07 02:30:32 you got a link to the page? Mar 07 02:30:37 becuase its useless teaching us to dev if we cant buy one here Mar 07 02:30:40 wanna see if theres one around here Mar 07 02:30:50 canadiancow: ew, please to supply real assets Mar 07 02:30:52 canadiancow yeh ive had something free each time ive been to one *almost* Mar 07 02:31:16 google are a great company for that :D Mar 07 02:31:23 https://sites.google.com/site/gtvdevlab/ Mar 07 02:31:29 ctate: it depends on the asset Mar 07 02:31:30 thx man Mar 07 02:31:38 like backgrounds and shit Mar 07 02:31:46 actually we've been trying to move those into xml Mar 07 02:31:49 backgrounds == OOM Mar 07 02:31:51 :) Mar 07 02:31:53 canadiancow: lower overhead if you have a density-appropriate asset Mar 07 02:31:57 that is true Mar 07 02:32:01 actually Mar 07 02:32:02 hmm Mar 07 02:32:13 cpu and memory both, really Mar 07 02:32:14 but then you're stuck with big apk or multi apk :P Mar 07 02:32:23 dont' use multi apk Mar 07 02:32:24 ew Mar 07 02:32:38 users constantly complain about app size, so stupid Mar 07 02:32:48 ctate, i know, we've had this discussion Mar 07 02:32:50 then small sized apps they complains dont look good enough Mar 07 02:32:51 if you can at least offer both xhdpi and hdpi that'd be good Mar 07 02:32:51 wtf Mar 07 02:33:01 anyway Mar 07 02:33:07 ctate, i'll suggest it for our next game Mar 07 02:33:10 we launched one today :) Mar 07 02:33:11 sort of Mar 07 02:33:12 [also, scaled assets will always look worse] Mar 07 02:33:23 ya i'd offer up xhdpi for tabs and hdpi for everything else... then scale down to the minior mdpi population Mar 07 02:33:40 we're not going to do fancy trilinear filtering for you, nor will we do line/edge weight hinting etc Mar 07 02:33:43 ? Mar 07 02:33:49 there are no xhdpi tabs Mar 07 02:33:54 i dont think there are any hdpi tabs Mar 07 02:33:56 they're all mdpi Mar 07 02:33:56 oh yeah, mdpi then Mar 07 02:34:07 let xhdpi scale down to hdpi Mar 07 02:34:13 but xhdpi to mdpi is going to look pretty rough Mar 07 02:34:23 isnt it easier to scale xhdpi to mdpi? Mar 07 02:34:26 because it's 2:1 Mar 07 02:34:31 rather than 3:2 Mar 07 02:34:34 yes but it'll still look like ass Mar 07 02:34:41 you're throwing away more information Mar 07 02:35:04 you'll get much better output from Photoshop with the scaling quality cranked up than you will from our runtime scaling Mar 07 02:35:21 like i said, we don't do the fancy interpolation and oversampling Mar 07 02:35:41 i realize that Mar 07 02:35:45 but theres a big size tradeoff Mar 07 02:35:46 also the additional size of mdpi is going to be a lot more modest than the bump from adding hdpi Mar 07 02:35:52 yes yes i know Mar 07 02:35:59 if the app minus graphics is 5MB Mar 07 02:36:01 and mdpi is 5MB Mar 07 02:36:02 please tell me that at least you supply mdpi versions of the 9patches and so on :) Mar 07 02:36:04 hdpi is 7MB Mar 07 02:36:06 xhdpi is 12MB Mar 07 02:36:25 i havent been working with res/ for a while Mar 07 02:36:33 and we've been trying to move stuff into xml drawables Mar 07 02:36:36 to save space and memory Mar 07 02:36:38 you can tune, too; look at the rescaled assets and pick the ones that look worse and deploy tuned versions of just those Mar 07 02:36:41 etc Mar 07 02:36:45 yea - we do that Mar 07 02:36:51 ok that's fair then Mar 07 02:36:59 we dont just do xhdpi and ship it Mar 07 02:37:00 :P Mar 07 02:37:07 we DO HAVE a QA team :) Mar 07 02:37:19 contrary to what some would have you believe ~_~ Mar 07 02:37:40 okay guys I'm probably being dumb here but I'm trying to connect to an emulator on a different machine over hamachi. how exactly do I get my machine with the emulator ready to accept adb connections? Mar 07 02:38:13 anyoen in canada and want to try a new game? https://play.google.com/store/apps/details?id=com.zynga.scramble Mar 07 02:38:29 you know people don't live in canada, don't you? Mar 07 02:38:46 it's a good country for beta testing :) Mar 07 02:38:56 Canada. Official motto: "We have more moose than people!" Mar 07 02:39:08 the plural of moose is meese, ctate Mar 07 02:39:09 come on Mar 07 02:39:14 canada land of ... Mar 07 02:39:20 oh right snow Mar 07 02:39:28 BLAME CANADA! Mar 07 02:39:31 not much snow where i live :( Mar 07 02:39:35 well not right now Mar 07 02:39:59 mdpi will solve my problem :D Mar 07 02:40:14 canadiancow: you're responsible for pushing apps/games out to the marker err google play? Mar 07 02:40:20 well folks thanks on help Mar 07 02:40:21 no Mar 07 02:40:22 lol Mar 07 02:40:30 i have no access Mar 07 02:40:37 because it's all or nothing with the play dev console Mar 07 02:40:43 i cant even view crashes :( Mar 07 02:41:01 the market is not setup for multiple people like it should be Mar 07 02:41:05 canadiancow: will you buy new device iGoogle? Mar 07 02:41:16 what? Mar 07 02:41:21 iGoogle is not a device Mar 07 02:41:21 if you can view crashes, you could login and view / modify the financial information Mar 07 02:41:29 exactly Drakonite Mar 07 02:41:36 it sucks Mar 07 02:41:50 i want read-only access to EVERYTHING about certain apps (i.e. i want to see exactly how it's configured) Mar 07 02:41:54 it really needs to have shared access with different permission levels Mar 07 02:42:01 and write-only access to marking crashes as old Mar 07 02:42:05 err...read/write Mar 07 02:42:16 write-only is so useful! Mar 07 02:42:17 :P Mar 07 02:42:52 I want access to see errors and sales info on projects I've collaborated on Mar 07 02:43:51 i dont care about sales Mar 07 02:44:00 i mean sorta...but thats curiosity Mar 07 02:44:02 not job-related Mar 07 02:44:53 canadiancow: what is the deal with americans and canadians? Mar 07 02:44:57 ? Mar 07 02:45:02 what the heck are you talking about Mar 07 02:45:10 with how many royalty/profit-share deals as are out there, shared sales numbers is important IMO Mar 07 02:45:32 Drakonite, im not saying it wouldnt be a good feature, just that my account doesnt need that access :P Mar 07 02:46:36 fair enough :P Mar 07 02:46:38 canadiancow i see in movies americans always have something to say about canadians.. Mar 07 02:46:59 gaz`, anything you think i should do to prepare for the dev lab? Mar 07 02:47:06 aZuZu[Doma]............................. ok Mar 07 02:47:12 movies are real Mar 07 02:47:13 I could go on for hours about what the market, and android in general, needs to change and improve Mar 07 02:47:20 Drakonite: +1 Mar 07 02:47:38 ctate, can you add an android:required attribute to uses-permission Mar 07 02:47:41 same way as uses-feature Mar 07 02:47:54 and corresponding UI in the OS to let users turn it on/off Mar 07 02:47:56 :):) Mar 07 02:48:28 cyanogenmod added a permission switch, and reportedly it did not work out well Mar 07 02:48:45 thats because it didnt work WITH developers Mar 07 02:48:48 maybe it was due to apps not being made to have them disabled Mar 07 02:48:51 yeah, true Mar 07 02:48:52 right now, if you declare a perm, you have it Mar 07 02:48:56 optional permissions would be nice Mar 07 02:48:56 I'm still dazed by the Google Play announcement - Mar 07 02:49:02 but if i declare in my manifest that location is optional Mar 07 02:49:08 then im going to have code to handle it Mar 07 02:49:42 indeed Mar 07 02:50:37 +1 opitional permissions Mar 07 02:50:53 I was just complaining about the lack of optional permissions the other day. Mar 07 02:51:09 so you make them default to required Mar 07 02:51:14 so legacy apps still work Mar 07 02:51:22 it is teh awesome Mar 07 02:51:23 :) Mar 07 02:51:32 so what are thoughts on nfc/beam Mar 07 02:51:36 should i bother supporting 2.3's nfc? Mar 07 02:51:39 or just go with beam Mar 07 02:51:46 I've never used either Mar 07 02:52:44 so few devices have an f c that you might as well go team Mar 07 02:53:05 I wish the market would support promo codes: percent off coupons, dollar off coupons, and free item redemption Mar 07 02:53:06 QubeZ, ctate: here is the code I was talking about android-runtime-intl-demo/gen/ Mar 07 02:53:08 how do I connect adb to an emulator running on a different computer? Mar 07 02:53:13 beam Mar 07 02:53:15 https://github.com/tom-dignan/android-runtime-internationalization Mar 07 02:53:26 sorry, wrong paste the first time there. Mar 07 02:53:37 This allows the "locale" to change intermittently with the flow of the application. Mar 07 02:53:45 it's just a proof of concept. Mar 07 02:53:50 SoulPropagation: you have to tunnel adb over tcp. I don't recall it being straightforward but I do remember seeing sites talking about doing it Mar 07 02:54:03 @Play: Google Market, Google Movies, Google Books, etc seems much better, to me; simple, to the point. Mar 07 02:54:14 This is dodgy. I haven't accepted google play conditions yet, switched out of it by accident, and now I can't launch the market - it's uninstalled. so it's accept play terms or you lose it all Mar 07 02:54:28 MalRD: i agree Mar 07 02:54:32 readme: thanks, will look at it. In the middle of a network maintenance for my work :) Mar 07 02:54:33 Android _______ may not have worked Mar 07 02:54:38 if they want to expand outside of android Mar 07 02:54:39 :D Mar 07 02:54:41 but Play.... meh Mar 07 02:54:58 When I saw it come across my RSS feed, I thought they were announcing their own game service or something. Mar 07 02:55:33 I'm assuming they are going to merge with the chrome store and try to branch out to PCs more than they are now Mar 07 02:55:55 Read the article and...uh...what? Google Play Music...alright...Google Play Movies...fine...Google Play...Books? Playbooks? Mar 07 02:56:55 The fact that "Music" now shows up as "Play Music" actually made me a bit sad...but I have the application hidden anyway, so I'll forget soon enough. Mar 07 02:57:17 play books Mar 07 02:57:17 yea Mar 07 02:57:19 that's a lol Mar 07 02:57:26 so google is selling RIM stuff now? Mar 07 02:57:29 cool story bro Mar 07 02:57:45 thanks Drakonite, was hoping I could just use adb connect but noooooo they have to make it more interestingggggg **** ENDING LOGGING AT Wed Mar 07 02:59:58 2012