**** BEGIN LOGGING AT Fri Mar 15 02:59:58 2013 Mar 15 03:02:04 hey all.. im having issues w/ the new dev console where i had a draft APK somehow publish.. then somehow my entire app went into an unpublished state.. is there a forum/area where people are having problems like this? Mar 15 03:25:05 mobydev: i use v2 and i manage it all via my own server Mar 15 03:27:06 nobody? Mar 15 03:28:54 contact google support Mar 15 03:41:01 i did Trinity Mar 15 03:41:05 made tickets/etc Mar 15 03:48:37 I have a bit of a problem with BufferedInputStream. http://pastebin.com/2Ue8fSeU Mar 15 03:49:43 the real cause is at ActivityThread.java:2097 Mar 15 03:49:47 null poitner Mar 15 03:50:16 or rather Main.java:30 Mar 15 04:00:49 Good evening all. Mar 15 04:02:35 I'm trying to include a library called NRJavaSerial into one of my projects in order to read from a USB to Serial adapter on a Nexus 7 (Cyanogen 10). I'm able to run some test code from my machine using the library so I know it works. However, I cant seem to get it to work when I try to build and Android project with it. Would anyone have any experience with serial IO on Android or have Mar 15 04:02:35 some pointers ? Mar 15 04:10:32 alex_PP: you sure? Mar 15 04:11:21 nope, the cause is the encryption methods Mar 15 04:11:27 ling 30 is simply a Log.d Mar 15 04:11:44 str was given null if an exception was caught Mar 15 04:11:51 and that exception being corrupted data =[ Mar 15 04:12:00 no idea how to fix it though -.- Mar 15 04:13:34 Would anyone happen to have played with some Serial communication library on Android ? Mar 15 04:45:28 we wrote one once Mar 15 04:45:30 not sure where it ended up Mar 15 04:57:53 AHhhhHHHHHH Mar 15 05:04:57 JakeWharton, should i come to your thing next week? Mar 15 05:05:15 free beer Mar 15 05:05:21 oooooh Mar 15 05:05:22 actually i don't know if that's true Mar 15 05:05:28 and that's actually not that tempting Mar 15 05:05:34 since i'd spend as much getting there as i'd get in beer Mar 15 05:05:36 jakey do you know if square has an api for integration into apps? Mar 15 05:05:37 unless you wanna give me a ride home Mar 15 05:05:43 ron_frown: we do not Mar 15 05:05:47 balls. Mar 15 05:05:48 canadiancow: i'm taking BART Mar 15 05:05:59 well i'll def consider it Mar 15 05:06:23 depends how busy i am. im taking a week off the week after, so we'll have to see Mar 15 05:21:59 everyone and their mother offers payment serivces Mar 15 05:22:10 I want ot build my own app to interface with the payment system Mar 15 05:22:16 stripe will do a badass job Mar 15 05:22:18 but no reader Mar 15 05:22:32 or shit Mar 15 05:22:38 square, if there was an api Mar 15 05:23:16 ron_frown: except people can't program and create ugly things and then advertise them with Square branding Mar 15 05:23:43 hey man... I'm not saying square should do it Mar 15 05:23:52 and I know even if you agreed with me, it'd not be your call anyway =) Mar 15 05:24:10 yep. very much over my head Mar 15 05:54:43 Wondering if anyone can help me out, I've just started compiling with maven this week and I'm getting some errors from android-maven-plugin regarding dexJvmArguments when trying to compile https://gist.github.com/Ruxton/1b48c8a1648e0d552dab Mar 15 06:44:00 I've been learning desktop OpenGL lately. I'm curious, do you use C/C++ or Java for OpenGL on android? Mar 15 06:44:17 i realize you can use either, but what's more prevalent? Mar 15 06:48:23 hi, can anybody please help me with my android-emulator problem? i have no chance to set widgets on the lockscreen. See more details here: http://stackoverflow.com/questions/15426351/no-more-lockscreen-on-android-emulator-but-why Mar 15 06:51:19 RustyShackleford: I use Java Mar 15 06:52:12 I'm definitely stronger in Java. Mar 15 06:52:41 Out of curiousity, if you use C++ do you use something like GLEW and GLFW? Mar 15 06:53:03 or are there replacement functions in the NDK? Mar 15 07:05:26 hi, can anybody please help me with my android-emulator problem? i have no chance to set widgets on the lockscreen. See more details here: http://stackoverflow.com/questions/15426351/no-more-lockscreen-on-android-emulator-but-why Mar 15 07:22:51 hi, can anybody please help me with my android-emulator problem? i have no chance to set widgets on the lockscreen. See more details here: http://stackoverflow.com/questions/15426351/no-more-lockscreen-on-android-emulator-but-why Mar 15 07:24:05 Quasimotto, use a real device Mar 15 07:25:33 Trinity: i have no device with the right android version at the moment Mar 15 07:48:35 ihi all Mar 15 07:48:48 anyone knows any issues with HTC X One localization? Mar 15 08:00:34 the S4 is really nice! Mar 15 08:26:08 I can't find the option to upload my obb after the apk in google play? Mar 15 08:32:01 S4 is total garbage the way samsung made it. with cyanogenmod that mobile would rock. Without you get an ugly UI, bad design => custom Samsung UI Mar 15 08:32:26 timroes: would a custom launcher be enough to cover it up? Mar 15 08:32:48 the launcher was in fact the only thing i've seen that was android-like Mar 15 08:32:57 okay not the whole launcher Mar 15 08:33:07 i mean the show all application part of it Mar 15 08:33:08 timroes: based on sales a lot of people actually like TouchWiz Mar 15 08:33:35 I wouldn't take it that way Mar 15 08:33:42 since i already know several ppl bought it, and cyanogen modded it Mar 15 08:33:53 they make pretty good hardware for reasonable prices Mar 15 08:34:17 but everyone I know using an samsung mobile (and its here in the company one of the most used ones) dislike the UI Mar 15 08:34:21 timroes: doubt that'll show up in any report at samsung =) Mar 15 08:34:48 (and i am ofc also talking about the not android dev department :D that we hate this uI in the android edv department is quite logical) Mar 15 08:36:25 build a solid android smartphone with 3.5" screen, dual core, you could reach long battery life time (~3 days?) and make a not customized rom on it, you could sell it for 300€ i bet (a) lots of ppl would buy it (i know several including me) (b) you can provide fast updates, since you don't have to customize all the sytem again Mar 15 08:37:01 "Oh i like all this preinstalled app from my manufacturer, that i cannot remove from my device" - said no one ever Mar 15 08:37:22 timroes: except samsung doesn't want to be yet another android hardware vendor :) Mar 15 08:37:36 yeah they want to be a crappy vendor as it seems :D Mar 15 08:37:43 ;) Mar 15 08:37:43 timroes: a lot of people I know like TouchWiz Mar 15 08:37:59 its okay for me, good to know, since i must device in a few month for the next mobile again, and i know what i WON't take Mar 15 08:38:12 or perhaps i will to have a mobile i can do the rom development for Mar 15 08:38:20 but with stock rom, no way Mar 15 08:39:53 and definately not carry it around with me 5"... galaxy mini is 4" .. that's i guess the only thing i envy iPhone users for, they have a reasonable screen size Mar 15 08:40:05 wow. been playing with my desire today Mar 15 08:40:12 i don't remember it being so slow Mar 15 08:54:56 Gonna ask this again today... what's the general consensus on showing a multi-level menu which can be indefinitely deeper than just two levels (menu-submenu-submenu- etc)? Is there some widely accepted solution or would I have to do something like swapping out the menu contents and adding a back button before the first element? Mar 15 08:55:00 hello? Mar 15 08:58:56 hello all: quick question: if from a activity A that used list navigation we start a activity B how do we tell the sherlockactionbar to display the "<" and to go back when the actionbar icon is pressed? Mar 15 08:59:34 actionbar.setHomeAsUp(true) is i remember rightly Mar 15 08:59:59 and in onMenuItemSelected you should listen for an event with id android.R.id.home Mar 15 09:01:40 alex_PP: thx. going to try that. although I can't find a setHomeAsUp method with a quick glance. Don't worry, I'll find something like that. ;) Mar 15 09:02:06 setDisplayHomeAsUpEnabled Mar 15 09:03:08 what a name Mar 15 09:03:43 it works. :) Mar 15 09:04:22 is it normal to be stuck on this screen for over 10 minutes? - http://screencast.com/t/2mSQlBDRxsb Mar 15 09:04:30 is ok to just call "onBackPressed ()" ? Mar 15 09:05:02 apple741: don't think so. Mar 15 09:05:29 Do you think I should just close the window? Mar 15 09:06:20 appel1: I guess so. Or just open another window at the console and check what's there. Mar 15 09:06:26 if anything is there at all. Mar 15 09:06:43 I mean the expansion file is there or not. Mar 15 09:08:25 Thanks DeviantPeer, I don't think its gone through I'll try again when I get back home :) Mar 15 10:37:57 Hi, is there any one familiar with zxing barcode reading library? I'm trying to use it through ADT. I followed http://xmlytech.blogspot.com/2010/09/start-zxing-project-in-eclipseadt.html and build the project. But when it runs on virtual device, application is crashing while it's launching. Mar 15 10:38:38 I get the latest code from svn repository(zxing) and used it too. but didn't helped. Can any one help please Mar 15 10:41:45 ravipriya: I think you need to show the stack trace to get help Mar 15 10:41:53 no1 is going to guess Mar 15 10:43:28 Guys, I have a SeekBar but it's a major pain to use it - the touch has to be ridiculously precise for it to register on the bar - is this normal? Is there anything to do about it? Mar 15 10:50:04 Hey guys... Mar 15 10:51:10 I'd like to ask for an advise: I have a background service (IntentService) that sends data to the server, and does that in a Transaction. But I can not update the UI at the same time: querying blocks until the transaction ends. Mar 15 10:52:23 How do I make the two work in parallel? Mar 15 10:55:42 StingRay_: How can I get the stack trace? Mar 15 10:56:39 ravipriya: logcat of the crash Mar 15 10:57:20 Lachezar: your saying your intentService blocks the ui thread ? Mar 15 10:57:48 Lachezar: cause onReceiveIntent() is not on the UI thread if iirc Mar 15 10:58:28 Stingray_: I'll get it and return after a while Mar 15 10:59:49 StingRay_: Yep :-/, but *indirectly* by blocking the DataBase. Mar 15 11:00:41 StingRay_: It works as expected, but since it locks the database and the UI thread needs it: it blocks. Mar 15 11:02:09 * Lachezar will be back Mar 15 11:30:13 anyone ever used svg-android? Mar 15 11:30:21 or one of its forks Mar 15 11:31:10 I can load and parse an svg just fine, but I can't seem to scale it to fit inside my ImageView Mar 15 11:39:02 can a Drawable be resized/rescaled to fit inside an ImageView? Mar 15 11:45:25 belgianguy: course, controled by scaleType Mar 15 11:45:46 setImageDrawabe Mar 15 11:46:22 StingRay_: ah, thanks, is that a method of ImageView? Mar 15 11:46:35 setImageDrawable(myDrawable) Mar 15 11:46:46 and scaleType is a property of imageView Mar 15 11:46:59 as in matrix, fitXY, centerInside etc Mar 15 11:47:13 StingRay_: ah, seems I'm already using the method imageView1.setImageDrawable(svg1.createPictureDrawable()); Mar 15 11:47:33 now I just want the svg drawable to be fully visible Mar 15 11:47:51 apposed to partially visible ? Mar 15 11:48:02 Is there any way I could only react to single tap if there was no double tap? Mar 15 11:48:15 does android support playing OGV video streams? Mar 15 11:48:27 As it stands, single tap registers way before double tap could ever register Mar 15 11:48:40 dmonjo: http://developer.android.com/guide/appendix/media-formats.html Mar 15 11:49:40 StingRay_: i am not able to play my OGV stream on android Mar 15 11:50:00 ok Mar 15 11:50:42 StingRay_: yeah, It's a graphic, and now I added four ImageViews, each with a different scaleType property Mar 15 11:50:53 StingRay_: it is a theora/vorbis Mar 15 11:50:58 but they all look the same still (just a part of the SVG gets rendered to the ImageView) Mar 15 11:50:59 and the site says it supports it Mar 15 11:51:25 belgianguy: probably more down to the SVG lib than android Mar 15 11:51:56 ...all right, being stupid, had to use onsingletapconfirmed Mar 15 11:54:43 StingRay_: ok it works... but i havee an issue Mar 15 11:54:50 the oGV is a stream Mar 15 11:54:54 so it is palying 24/7 Mar 15 11:54:59 when android connects to it Mar 15 11:55:06 it has to catch up with the live stream Mar 15 11:55:20 not the beginning of the very first segment Mar 15 11:55:37 so it is playing fine but back in time, with the start of the stream recorded Mar 15 11:55:43 any ideas how this can be solved? :/ Mar 15 12:00:49 what's the recommended way to load images from URLs into a widget? Mar 15 12:00:59 assuming there could be a lot of them Mar 15 12:01:58 ugh, I'm so sure I once succeeded in this Mar 15 12:02:08 but atm I can't find out how I did it Mar 15 12:02:13 so... you guys gonna get the s4? Mar 15 12:03:52 Quacked: nope. Mar 15 12:05:33 Quacked: i really doubt they fixed any of the touchwiz problems. looks like they just created more Mar 15 12:13:35 what problems? Mar 15 12:13:57 cant you just disable everything touchwiz and use another launcher? :) Mar 15 12:16:19 I wonder what the difference is between the wireless charger battery cover and the default one Mar 15 12:17:20 one has the electronics for wireless charging... one doesn't Mar 15 12:18:01 yeah, but I wonder how those electronics look :P Mar 15 12:18:09 if and how much thicker the phone will be Mar 15 12:19:26 Quacked: it's still there. and no thank you Mar 15 12:19:33 stock android Mar 15 12:23:06 yeah Mar 15 12:23:16 touchwiz doesnt really have many problems anymore Mar 15 12:25:52 hi Mar 15 12:26:21 mikedg besides its ugly :( Mar 15 12:26:44 yeah Mar 15 12:26:54 i was gonna say that but figured developers dont know ugly Mar 15 12:26:54 I want a htc one but again not a fan of all the custom stuff Mar 15 12:27:06 mikedg lol im not really a dev Mar 15 12:27:09 maybe thats why Mar 15 12:27:36 mikedg: hehe Mar 15 12:28:00 its leaps and bounds of where it was though I will say that. And samsung was the first manufacture I can think of that had hardware acel browsing built in Mar 15 12:28:13 im hoping the snapdragon in s4 will get some samsung maintainers to work on cyanogenmod for it Mar 15 12:28:26 I think honestly that little tid bit was what set them apart.. gave them the iphone feel. Mar 15 12:28:32 Quacked that would be aweesome Mar 15 12:29:01 I heard many went away from samsung, and Im guessing the exynos in s3 was a part of the reason Mar 15 12:29:08 I'm hesitant on picking my new android phone.. been rocking the iphone 5 since release switched back from a s2 skyrocket Mar 15 12:29:33 yza: wait until after IO Mar 15 12:29:42 three top models.. to me s4 seems the better option Mar 15 12:29:43 funkbox yeah thats what i was thinking Mar 15 12:29:51 meh.. thats 15th of may? Mar 15 12:29:56 funkbox any hunch if that new motorola gonna be releeased? Mar 15 12:30:09 no clue, but they might have something around io time Mar 15 12:30:37 I really wish other companys took where motorola left off with the smarttop and did more with it Mar 15 12:30:59 I did enjoy that little laggy atrix Mar 15 12:31:38 eh Mar 15 12:31:52 id rather see companies start adding syncing to everything Mar 15 12:32:02 mikedg: they already do. Mar 15 12:32:02 mikedg, how so? Mar 15 12:32:27 why bother popping your phone in another device when you can have a fully functioning device Mar 15 12:32:38 the weight benefit is next to nothing Mar 15 12:32:50 the only real benefit is that your data is there Mar 15 12:33:10 i like the idea of my phone replacing a desktop Mar 15 12:33:25 thats just me though Mar 15 12:33:54 well chromeos and android will merge at some point Mar 15 12:33:54 Im gonna appreciate full hd.. im thinkin teamviewer of pcs :P Mar 15 12:34:00 as will win8/win phone 8 Mar 15 12:34:05 being able to plug your phone in to any dummy terminal or tv and do whatever Mar 15 12:34:15 yeah i figured microsoft would be the first to do something like that mainstream Mar 15 12:34:24 as they have the most to gain being the underdog in mobile Mar 15 12:34:37 6 months after windows 8 and we finally have 1 app that lets you buy it on windows 8 and windows phone together Mar 15 12:34:40 msft does have the best "cloud" sync i've seen Mar 15 12:34:59 funkbox, i cant stand it Mar 15 12:35:11 mikedg lol Mar 15 12:35:30 yza: if it didn't lack so many apps i'd probably use it Mar 15 12:35:32 i gotta say I dont mind the feel and how fluid windows rt is Mar 15 12:35:38 but there ecosystem sucks Mar 15 12:35:43 skydrive, bing I hate that crap Mar 15 12:35:54 winrt is slow on arm. Mar 15 12:36:12 I didnt notice it being that bad Mar 15 12:36:14 I have an ImageView with a draw-9 patch as the background. I also have scaleType = "centerCrop". WHen I add a bitmap to the imageview, it doesnt seem to respect the bounds of the 9-patch... Mar 15 12:36:20 hi. for localization , can i have a project folder named "layout-ar" for arabic layout? Mar 15 12:36:30 any suggestions? Mar 15 12:36:55 * yza hears the crickets Mar 15 12:37:02 when you can get the same power from atom to run win 8, I dont see the point in making RT Mar 15 12:37:14 yeah i know right Mar 15 12:37:16 but I guess RT would be easier for dumb people Mar 15 12:37:19 ....maybe Mar 15 12:37:28 it looks I have to try Mar 15 12:37:38 you will of course have the super dumb people trying to install .exe files on their RT Mar 15 12:37:48 lol Mar 15 12:37:58 but the windows desktop looks like mine at home Mar 15 12:38:16 i had an acer w510 with win 8.. it was awesome Mar 15 12:38:29 returned it because of a couple hardware bugs though.. Mar 15 12:38:51 Quacked: ARM is the future Mar 15 12:39:11 nevermind, android:cropToPadding="true" fixed it Mar 15 12:39:19 funkbox: im not sure about that.. the atom is now draws so little power in sleep mode it behaves like an ipad Mar 15 12:39:44 and it gives you 8 hours play time like all other arm tablets Mar 15 12:40:01 shoud i use source src="..." type="application/x-mpegURL to play on an android? Mar 15 12:40:09 is that header correct? Mar 15 12:40:10 i have a samsung ativ 500 Mar 15 12:40:16 it killed using android/ipad tablets Mar 15 12:40:37 but now i just use a series 7 slate unless I know i'm going to need the battery life Mar 15 12:40:49 mikedg: i have one of those too, it's pretty nice Mar 15 12:40:55 the surface rt isn't bad Mar 15 12:40:58 the atom windows 8 tablets are great Mar 15 12:40:58 bbl gotta get some work done Mar 15 12:41:13 they just botched the launches :( Mar 15 12:41:17 mikedg: not a bit big with 11.6"? Mar 15 12:41:43 Quacked: not big enough to make a difference over 10" Mar 15 12:41:54 it's definitely big, but i say that about 10" tablets and 9" ones too Mar 15 12:42:22 imo, theres not much point in going for 11.6" if it has the same resolution as 10" Mar 15 12:42:43 i just wen twith them because they had styluses Mar 15 12:42:49 ah, yeah Mar 15 12:43:03 ms shouldve made a surface with atom Mar 15 12:43:06 that would have been a winner Mar 15 12:43:34 yeah :/ Mar 15 12:44:29 only reason why I havent bought the acer w510 again is that I havent been traveling since christmas Mar 15 12:44:43 so I rather use a full desktop Mar 15 12:45:22 wonder if I can go without a tablet/laptop till next christmas when next gen atom is out Mar 15 12:45:31 my only laptop is a asus 1015pn netbook :P Mar 15 12:47:54 i primarily use mobile devices now Mar 15 12:48:05 are mpg-ts seekable in android? Mar 15 12:51:13 if your making a cross platofrm between iOS and Android. Wouldn't it make sense to write it in c++? Mar 15 12:55:21 developers butcher enough code in java Mar 15 12:55:40 JohnnyL: JNI overhead in java is pretty heavy if you are bouncing back and forth Mar 15 12:55:48 and I still think you need to use Java for anything UI related Mar 15 12:56:36 source src="...m3u8" type="application/x-mpegURL to play on an android? Mar 15 13:05:51 hire me lols! Mar 15 13:07:20 http://developer.android.com/reference/android/hardware/SensorManager.html#GRAVITY_DEATH_STAR_I Mar 15 13:07:21 :P Mar 15 13:08:31 lol Mar 15 13:10:16 there is no death star Mar 15 13:10:24 it was blown up a long long time ago Mar 15 13:10:50 so? Mar 15 13:11:55 how can there be gravity if it doesnt exist Mar 15 13:12:09 morning Mar 15 13:12:29 i know the dimensions of the egg i ate this morning Mar 15 13:12:36 the egg exists no more Mar 15 13:12:42 off-topic warning: if an employer offerred you an extension for a month at the same terms, and told you that "more was coming" in a month or two, would you stay on? Mar 15 13:12:57 * capella wonders if the GRAVITY_THE_ISLAND is the one from Lost or the old series The Prisoner :p Mar 15 13:13:09 depends on what other opportunities i had Mar 15 13:13:35 galaxy $4 amirite? Mar 15 13:13:37 jug6ernaut, let's say you could find opportunities in lots of places Mar 15 13:14:09 kaneda^: i wouldnt give up another opportunity for that Mar 15 13:14:15 capella: lost Mar 15 13:14:21 mikedg, let's say you have no opportunities, just interviews Mar 15 13:14:38 yeah sure why not Mar 15 13:14:41 if u have nothing concrete and u like ur job,1 month can't hurt Mar 15 13:14:57 it's nicer to go on interviews in the summer anyway Mar 15 13:15:20 jug6ernaut, mikedg true, but if i let the contract expire i'm under no obligation, i can go and actually interview for new positions, if i dont i'm trapped to two-week notice Mar 15 13:16:16 not to mention here in qc vacation is cumulative, meaning i dont have any when he contract first starts Mar 15 13:16:57 is 2 weeks notice enough to block other opportunities? Mar 15 13:18:08 most other jobs expecct you to not be available for 2 weeks Mar 15 13:19:03 how does 2 weeks notice impact it? Other than giving leisurely 2 weeks to get paperwork done :D Mar 15 13:19:42 mikedg: ok thank you Mar 15 13:20:02 i had thought that android dev c++ didn't need jni. Mar 15 13:20:16 if you make your own gui I see no need for jni. Mar 15 13:20:22 because i dont have vaca i dont know how else i would interview for other positions Leeds Mar 15 13:20:27 JohnnyL: it doesn't if you dont want to use standard android views Mar 15 13:20:28 JohnnyL: take a look at NativeActivity Mar 15 13:20:32 like an opengl app would be fine Mar 15 13:20:35 technically you can do everything from the C layer Mar 15 13:20:42 you just write off everyone at Froyo or lower. Mar 15 13:20:43 lov: can you do regular view shit now? Mar 15 13:20:55 mikedg: I have no idea, I'm assuming not without jni :P Mar 15 13:20:55 the reason i'm looking around in the first place is that they practically forgot to renew my contract Mar 15 13:21:09 even though i reminded them 3 times that it was expiring, and now they're ina rush so i'm in a rush Mar 15 13:21:48 mikedg: i am just contemplating making a fully cross platform distribution with differences between platforms in one section. Mar 15 13:22:11 what app are you making Mar 15 13:22:19 and ill tell you have much effort it is Mar 15 13:23:12 financial app Mar 15 13:23:31 too much effort Mar 15 13:23:33 numbers are hard Mar 15 13:24:03 JohnnyL: forget about your app, i got a great project for you to work on Mar 15 13:24:04 the current app is in ui flex Mar 15 13:24:06 please apply to roundarch.com Mar 15 13:24:25 a financial app, I'd recommend just using Xamarin if cross platform shit is that important Mar 15 13:25:12 I think it would also be a pain in the ass to bother doing c++ and tieing it together on both platforms Mar 15 13:25:33 nah, not really Mar 15 13:25:37 it's what we did for copilot Mar 15 13:25:39 JohnnyL: «fully cross platform» means you probably end with HTML+JS. Mar 15 13:25:52 Lachezar: not really? Mar 15 13:25:54 man, i really dislike java Mar 15 13:26:01 I am utterly confused, testing with ICS, I have a SeekBar, I rotate the device and in my activity's onCreate I set the SeekBar to a different value. Nothing changes. When I change the SeekBar progress later everything works fine, but after onCreate, even though getProgress and getMax show correct values after setting those, it's still rendered with the old, pre-rotate value no matter what I set it to. I am at a complete loss, Mar 15 13:26:18 Tried calling refresh on the seekbar, still nothing Mar 15 13:26:23 lov: but wasn't copilot open gl? Mar 15 13:26:30 mikedg: actually no ._. Mar 15 13:26:34 sorta kinda but not really Mar 15 13:26:41 it eventually DID go full opengl Mar 15 13:26:58 The textview I'm changing at the same time in onCreate is changing correctly, the SeekBar does not Mar 15 13:27:00 lov: Well... You're technically right... In practice... C/C++/C#/ObjectC fall far from being multi-platform. Well... The language may be cross-platform, but the APIs kick back badly :( Mar 15 13:27:02 yeah, trying to get c++ models up to java for a list view is nightmarish Mar 15 13:27:31 Lachezar: you just need to abstract out your architecture and have an abstract 'platform' layer which you can code against Mar 15 13:27:37 I heard it had some bugs in 2.3 but I'm testing with 4.0 (galaxy note 10.1) so that should've been gone long ago Mar 15 13:27:37 it's not impossible. Mar 15 13:27:53 lov: And tomorrow when your boss says: FirefoxOS is the new Android, and... You know the drill... Mar 15 13:28:23 if you have the desire I'd shoot for Xamarin Mar 15 13:28:24 * p_l *SNRK*s hard at "C++" and "portability" used together Mar 15 13:28:27 and blame everything on them Mar 15 13:28:51 lov: nothing is impossible. I've seen «cross platform»: #ifdef WIN_32 #include source_win32.c #ifdex LINUX_GLIBC #include source_lin.c... Mar 15 13:28:54 :) Mar 15 13:29:06 Lachezar: well that's ugly. Mar 15 13:29:13 that kind of thing should happen at the make level Mar 15 13:29:47 lov: I agreee... But that's what happens when you decide to go C/C++ cross-platform: you end up being multi-platform instead. Mar 15 13:30:00 I had enough trying to get non-C++ work with C++ APIs Mar 15 13:30:42 w00t, 1h left in work Mar 15 13:30:50 so we've deviced to just use javascript right? Mar 15 13:31:07 deviced Mar 15 13:31:17 you have too many devices mikedg Mar 15 13:31:27 :( Mar 15 13:31:43 I'd like to ask for an advise: I have a background service (IntentService) that sends data to the server, and does that in a Transaction. But I can not update the UI at the same time: querying blocks until the transaction ends. Mar 15 13:31:45 i'm over the limit Mar 15 13:31:50 How do I make the two work in parallel? Mar 15 13:32:10 * Lachezar apologises for repeating a question, but the gurus are up now. Mar 15 13:32:47 Lachezar: that sounds weird Mar 15 13:32:47 Lachezar: threads? Mar 15 13:32:55 like you are trying to update the ui and nothing happens? Mar 15 13:33:05 or you just dont know what to do Mar 15 13:33:06 don't block the UI thread in your service ._. Mar 15 13:33:09 Well, hacked around it by using onPostCreate, but this is seriously weird Mar 15 13:33:15 lov: intent service should spawn worker threads Mar 15 13:33:17 lov: The problem is that the background thread holds the DB, and the UI thread blocks on DB access :-/ Mar 15 13:33:24 uh Mar 15 13:33:31 Yeah :-/ Mar 15 13:33:40 Lachezar: are you sure? Mar 15 13:33:44 are you using sqlite? Mar 15 13:33:54 A Transaction seems to hold any queries until the transaciton commits. Mar 15 13:34:00 have a thread do all the heavy lifting, the post a runnable to the UI thread to just update using the new content. Mar 15 13:34:12 oh cause of the transaction Mar 15 13:34:34 tell the UI what needs ot be updating, don't jus tbe querying the database over and over Mar 15 13:35:06 lov: Well... I am doing it in the IntentService... And it does work in a different thread (I would expect that), but the UI blocks on any DB operation (like pulling a simple string for a label :-/) Mar 15 13:35:19 * lov sighs Mar 15 13:35:23 or just put up an indeterminate progress bar, if it's good enough for Google, it's good enough for you Mar 15 13:35:27 lov: the blockage is... *indirect*. Mar 15 13:35:31 riiight. so don't have the UI thread actually do any DB queries. Mar 15 13:35:48 Have another thread do all the queries, then just post the output to a runnable that runs on the UI Thread. Mar 15 13:36:15 lov: does that make sense though, you are telling the UI to update with stuff that may not be committed Mar 15 13:36:27 lov: Hmmm... The refresh should happen in the background? Damn... Don't tell me I need to use Loaders... Mar 15 13:36:42 The query will be monstrous... Mar 15 13:36:53 why is your transaction taking so long? Mar 15 13:36:59 * Lachezar postpones this task for after the deadline... Mar 15 13:37:07 lov: 10x again. Mar 15 13:37:07 are you keeping the transaction open the entire time that network activity is going on? Mar 15 13:37:26 don't do that unless you have a shit load of data, and if thats the case you should be doing something else Mar 15 13:47:15 So my UI should look a bit like this http://i.imgur.com/d9sVLUI.png when complete. Where I've added red arrows is what I want to do now. A box with rounded corners. Of course, at first, so that I can grasp it, I am content with a pure rectangular box but with the text that I've added as an example(with the line and all). I'd like to be able to control width of borders, as well as colors Mar 15 13:47:15 and perhaps shadow. Ideas on how to do it? Mar 15 13:47:40 Inside them boxes will be text, with rows separated by a thin line. Mar 15 13:49:37 Of course, the text inside the box will be dynamically generated, so i cannot know how many rows there will be, so the inside of the box must be scrollable if it's longer than what the display can show me. Mar 15 13:58:00 diki: Your case seems a very good candidate for 9-patch Mar 15 13:58:23 diki: http://developer.android.com/tools/help/draw9patch.html Mar 15 13:58:42 diki: You can control rounding, padding, borders... And verry effectively... Mar 15 13:59:50 Lachezar: you can control rounding on a 9 patch ? and borders ? Mar 15 13:59:57 are you sure about that Mar 15 14:01:59 StingRay_: Oh yes! Mar 15 14:02:11 so how would you control either ? Mar 15 14:02:21 Just draw the top-left, top-rightbottom-left and bottom-right rounded. Mar 15 14:02:41 thats not controlling Mar 15 14:02:49 thats just creating an image Mar 15 14:03:00 controlling = alter radius of corner Mar 15 14:03:06 or thickness of boarder Mar 15 14:03:17 StingRay_: Ahh... Yes... One can't change the radius easily... Mar 15 14:03:37 I think your very wrong Mar 15 14:03:40 :) Mar 15 14:03:41 StingRay_: My bad: I've never had to change the radius after the designer drew that :) Mar 15 14:03:52 indeed Mar 15 14:17:08 Lachezar:Мерси! Mar 15 14:50:08 does android work corrently on live HLS? Mar 15 14:50:40 what is the best encoder to stream live to android deviceS? Mar 15 14:54:16 H.264 Mar 15 14:56:09 nseidm1: if you stream h264 live content, close the browser on android and reopen the stream it starts from beginneing of the stream, it needs to start from the current stream onward when using m3u8 Mar 15 14:56:10 any ideas? Mar 15 14:57:33 how well is HLS and Android Mar 15 15:09:25 hello! is it normal for to devices to have the same serial number in adb? Mar 15 15:11:42 do you know any source? Mar 15 15:11:46 i can test from my android Mar 15 15:13:11 My app is crashing when it opens an activity with a listview, here is my error code: http://pastie.org/private/9weznjn3yys8tau9hswga Mar 15 15:14:25 pedromfmachado: only if they're emulators. Two hardware devices should absolutely not have the same serial number Mar 15 15:14:39 (I think) Mar 15 15:14:44 Rob|boR, im not sure how to make that more clear Mar 15 15:14:58 well, I changed the part in the xml file Mar 15 15:15:00 VP8 Mar 15 15:15:00 (Android 2.3.3+) Streamable only in Android 4.0 and above WebM (.webm) Mar 15 15:15:00 Matroska (.mkv, Android 4.0+) Mar 15 15:15:02 Rob|boR: uh Mar 15 15:15:04 to match what was suggested Mar 15 15:15:05 your listview needs android:id="@android:id/listview" or whatever it says Mar 15 15:16:49 that's what I initally tried, I changed it to this, android:id="@android:id/listView1" Mar 15 15:17:17 but then I get the following, Error: No resource found that matches the given name Mar 15 15:17:21 in the xml file Mar 15 15:17:31 RuntimeException: Your content must have a ListView whose id attribute is 'android.R.id.list' Mar 15 15:17:38 note that it says "list" Mar 15 15:17:42 and not "listView1" Mar 15 15:18:05 * lov sighs Mar 15 15:18:09 yeah, if I change it to list, then I need to change it to list in my java code as well right? Mar 15 15:18:19 because I tried that, and it won't accept list Mar 15 15:18:28 well, no, if you're extending ListView in your Activity you just call getListView or whatever the helper method is Mar 15 15:18:44 also, "it won't accept list" is a really shitty way of telling us what he error is Mar 15 15:20:05 well for this, myList = (ListView) view.findViewById(R.id.list); I get the error "list cannot be resolved or is not a field" Mar 15 15:20:22 -1 for ListActivity and ListFragment Mar 15 15:20:59 * lov sighs Mar 15 15:21:04 11:18:35 < lov> well, no, if you're extending ListView in your Activity you just call getListView or whatever the helper method is Mar 15 15:21:25 actually Mar 15 15:21:38 you shouldn't even be trying to get the ListView object; you should be calling the activity's helper methods Mar 15 15:21:43 android.R.id.list will probably get him to shutup Mar 15 15:21:53 shh Mar 15 15:22:17 eh i just scrolled back Mar 15 15:22:23 probably just more questions Mar 15 15:22:33 Rob|boR: theres a sample with the SDK called API Demos Mar 15 15:22:41 it gives a lot of examples of lsit views Mar 15 15:22:43 GridView + Adapter => lazy loaded, but calling GridView.smoothScrollToPosition(0) does not make the gridview scroll to its absolute 'top', but to the most top item that is on-screen. How do I fix this behavior? Mar 15 15:22:45 just copy that into your porject Mar 15 15:22:52 and change stuff Mar 15 15:23:14 yeah that got me to shut up -_- Mar 15 15:23:16 cause it worked Mar 15 15:23:30 thank you mikedg Mar 15 15:24:04 I'm trying to upload an expansion file but the window keeps stopping here: http://screencast.com/t/kUkgYAxosOJW Mar 15 15:24:16 Any thoughts on why this might be happening? Mar 15 15:25:19 Does anyone knows about the android browser and such? I'm tring to fire a click on an image - tried document.getElementsByTagName("img")[0].click(); and noclick too witout luck Mar 15 15:30:34 anyone? :P Mar 15 15:31:23 jacta: nope. Mar 15 15:31:30 :\ Mar 15 15:31:34 stackoverflow might. Mar 15 15:31:34 isthere a way to transcode VP8 to MPGTS m3u8 HLS ???? Mar 15 15:32:04 dmonjo: how should we know? Mar 15 15:48:24 Guys, it worked fine but suddenly stopped - I'm alpha-animating in a layout, but it doesn't show whatsoever until I intuitively click on one of its elements - then it shows and animates in and out correctly. What could I have done?.. Mar 15 15:48:49 The animation definitely starts in code Mar 15 15:49:00 The view is set as visible, enabled, etc Mar 15 15:49:20 Its zOrder is higher than anything else, I've even tried bring to front and request focus Mar 15 15:49:51 like the animation shows perfectly? Mar 15 15:49:54 what if you add an animation listener Mar 15 15:49:56 But no, doesn't "show" (becomes clickable though) until I find something active in it (seekBar mainly) Mar 15 15:50:06 I have one Mar 15 15:50:17 The animation works perfectly after I "reveal" the layout Mar 15 15:51:32 I sure have a lot of mystery bugs today Mar 15 15:57:19 How do I stop android from scaling up my images? Mar 15 15:57:54 Hi Mar 15 15:58:28 put relevant images in hdpi or xhdpi Mar 15 15:58:36 alternately, there's the -nodpi or -noscale or something folder Mar 15 15:59:01 -nodpi Mar 15 16:00:03 okay so I'll try putting them in hdpi Mar 15 16:01:36 http://pastebin.com/qJq6KJeA i need to intercept open and close keyboard, this code doesent works, if i put breakpoint in onConfigurationChanged it doesent stop, HELP ME PLZ! Mar 15 16:01:42 thank you, that worked Mar 15 16:02:06 im on 4.2.2 Mar 15 16:04:30 xan_IT: I think keyboardHidden|keyboard refer to the physical keyboard Mar 15 16:05:21 nevermind, docs say otherwise Mar 15 16:14:26 Damn I'm absolutely out of ideas Mar 15 16:14:52 The code says it works, the display says it doesn't - until I click a seekbar or a menu item Mar 15 16:15:07 xan_IT: did you set up the config event in the manifest Mar 15 16:15:26 oh duh yes Mar 15 16:15:29 i didnt check your paste Mar 15 16:15:50 im surprised that the docs say it works for the soft keyboard Mar 15 16:24:14 pi Mar 15 16:24:23 i Mar 15 16:24:26 so any help? Mar 15 16:29:10 StingRay_: Hi i got the stack trace of the application crash(zxing bar code reader). http://pastebin.com/DMEQY5QR . can you help with that please Mar 15 16:32:10 hi, im coding an android app. i have linked a button to an activity but when i click i get this error from catlog : http://pastebin.com/suMnqZHG Mar 15 16:32:44 catlog Mar 15 16:32:46 that's so cute Mar 15 16:32:58 eni: Do you know how to interpret a stacktrace? Mar 15 16:33:06 03-15 16:30:04.907: E/AndroidRuntime(805): Caused by: java.lang.NullPointerException Mar 15 16:33:06 03-15 16:30:04.907: E/AndroidRuntime(805): at com.example.test.IndividuPublish.onCreate(IndividuPublish.java:18) Mar 15 16:33:18 This means that you got a NPE at line 18 of IndividuPublish.java Mar 15 16:33:34 You're probably trying to call a method on a variable that contains 'null' Mar 15 16:33:40 line 18 of IndividuPublish Mar 15 16:36:58 logcat * Mar 15 16:37:58 jrajav, mikedg this is the individupublish http://pastebin.com/utLb7fuX Mar 15 16:38:06 line 18 is the buttonSave.setOnClick.. Mar 15 16:38:13 buttonSave is null Mar 15 16:38:25 well what might cause this? Mar 15 16:38:32 you never set the layout Mar 15 16:38:41 theres no content in that Activity Mar 15 16:38:54 oh Mar 15 16:38:57 you are right Mar 15 16:39:09 im sorry Mar 15 16:39:11 :) ill try this Mar 15 16:39:28 cool Mar 15 16:49:52 This is fucking mystical at this point Mar 15 16:50:15 I set an underlying view margin to 1, the overlay animates in fine Mar 15 16:50:20 I set it back to 0 Mar 15 16:50:27 The overlay stops working properly Mar 15 16:50:33 What in the actual world Mar 15 16:56:22 Fuck this, this makes no sense, why does margin of 1 dp magically fix menu visibility Mar 15 16:57:43 because Android Mar 15 17:00:25 its probably because of the rest of the layout Mar 15 17:10:36 why does device.takeScreenshot() not do what it says it does? Mar 15 17:11:00 it ALWAYS takes the portrait screenshot rather than landscape Mar 15 17:11:25 even when you can see that the contents of the screen have been changed to landscape Mar 15 17:12:59 well, the call is takeSnapshot() but it still only does portrait screenshots Mar 15 17:13:56 and I point to the documentation at : http://developer.android.com/tools/help/MonkeyImage.html Mar 15 17:14:15 getRawPixel should follow the orientation of the screenshot taken. but it doesn't Mar 15 17:16:48 dogarrhea: you mean it shows you a portrait orientated sceen of the landscape ? Mar 15 17:17:05 yes Mar 15 17:17:26 and, the dimensions are reversed Mar 15 17:17:42 you pass it the dimensions ? Mar 15 17:17:57 pass it where? Mar 15 17:18:08 no, I dont know, never used it so asking Mar 15 17:18:23 the takeSnapshot function takes 0 arguments.. Mar 15 17:18:26 maybe that you need to set dimensions and orientation or read wrtie exif Mar 15 17:18:36 Like i say, I dont know, never done it Mar 15 17:18:41 or rotate it :) Mar 15 17:18:59 can a raw resource identifier be built from concatening strings? Mar 15 17:19:09 or can they only be hardcoded? Mar 15 17:19:51 belgianguy: do i understand you right you want to do something like: str1 = "my", str2 = "String" => R.string.myString? Mar 15 17:20:02 timroes: yeah, that's it Mar 15 17:20:08 and btw hi, long time no see :) Mar 15 17:20:10 birbeck: how do I rotate it in Jython? Mar 15 17:20:16 belgianguy: you don't want to do that :D Mar 15 17:20:25 timroes: hi to you too :) Mar 15 17:20:27 think about some map or so Mar 15 17:20:36 depending on what exactly you are trying to achieve Mar 15 17:20:37 dogarrhea: no idea Mar 15 17:20:45 i mean you COULD do it with reflection, but you don't want :) Mar 15 17:20:59 timroes: 24 raw resources, but then I'll just do 24 statements Mar 15 17:21:03 rather than 1 for loop Mar 15 17:21:03 bah so i'm basically stuck working with landscape mode images in portrait mode Mar 15 17:21:09 soo bad this monkey runner. Mar 15 17:21:49 dogarrhea: tis easy to rotate etc in java Mar 15 17:22:06 bitmap object, matrix, apply matrix, save Mar 15 17:22:09 belgianguy: put these 24 raw resources in an int[] and iterator over that in a for each loop Mar 15 17:22:22 timroes: that's even better :) Mar 15 17:22:25 thanks! Mar 15 17:22:37 StingRay_: how would I do this in the jython code? i have a someImage = device.takeSnapshot() Mar 15 17:22:57 now i just write some java code using someImage's reference and everything will be fine? Mar 15 17:23:12 belgianguy: you're welcome :) Mar 15 17:23:15 belgianguy: http://daniel-codes.blogspot.com/2009/12/dynamically-retrieving-resources-in.html Mar 15 17:23:34 i'm pretty sure there are going to be some really bad performance issues with your approach StingRay_, doing vector graphics on an interpretor of an interpretor in python java Mar 15 17:23:55 it's already taking ~500 ms to take a screen shot from the phone heh.. Mar 15 17:24:14 vector graphics ? Mar 15 17:24:23 jython ? Mar 15 17:24:31 what you just implied Mar 15 17:24:44 doing a matrix multiplication as a linear transform on the image. Mar 15 17:24:45 didn't mention anything about vectors Mar 15 17:24:59 bitmap matrices is just that Mar 15 17:25:00 well, that's what it's doing. graphics 101 Mar 15 17:25:04 nothing more nothing less Mar 15 17:25:09 erm Mar 15 17:25:14 beg to differ sir Mar 15 17:25:16 :) Mar 15 17:25:34 what you implied, from what I understand, is to matrix multiply the image bit by bit to transform it to landscape mode Mar 15 17:25:47 what kind of matrix are we even talking about Mar 15 17:26:40 whatever. this is stupid. i'm just going to work with the image in portrait mode Mar 15 17:29:20 thanks birbeck as well btw Mar 15 17:33:34 Is there a way to find out if software buttons are being shown on a device? And, if so, is there a way to figure out how much of the screen they take up? Mar 15 17:36:52 in general? no Mar 15 17:37:16 guys, does anyone know if Timer waits for its fixed rate TimerTask's to finish before running it again? i.e. if I schedule with a rate of 500ms, and one execution of the TimerTask takes 700ms, will I have two instances of the same TimerTask running concurrently? or will it wait until the first one finishes? Mar 15 17:37:27 jdawes, what if I create a picture in gimp/photoshop/whatever and the image looks like a button that says "press me" and i put it on a website in a browser. that's a software button Mar 15 17:37:37 how are you going to figure it out . OCR? Mar 15 17:37:45 jdawes: yeah, I think the 1st is a build info thing and the 2nd, ask chainfire he had to do that Mar 15 17:38:00 I actually chated/hacked it, but hey ho Mar 15 17:38:51 dogarrhea: I meant the android stock software buttons that are present on the bottom of the screen if the device does not have any hardware buttons. Mar 15 17:39:09 dogarrhea: like in ICS or Jelly Bean Mar 15 17:39:28 the menu, home, back, and search buttons? Mar 15 17:39:28 nvm, this is documented Mar 15 17:40:05 yes Mar 15 17:40:34 jdawes: you could also get view dimensions and device screen dimensions, the difference is soft buttons an status bar (or soft buts if your in fullscreen) Mar 15 17:40:55 but there will be a proper build info way to check that I would think, check if they are there I mean Mar 15 17:41:42 StingRay_: I've been getting the screen size depending on the version of android that is being used but it seems like that size doesn't include the software buttons, at least not when running on my Galaxy Nexus Mar 15 17:42:02 jdawes: what are you trying to do? Mar 15 17:42:03 depends how your getting it and what your asking Mar 15 17:42:46 If I'm in API > 13 I used display.getSize, otherwise I can use display.getHeight and display.getWidth Mar 15 17:44:27 oooh, getdisplaymetrics might be what I need Mar 15 17:45:39 Sorry, it's getMetrics() Mar 15 17:47:49 No dice. getMetrics() give the same result as before. Mar 15 17:49:39 god, I hate git svn Mar 15 17:49:43 it thoroughly fucked me over Mar 15 17:49:46 ? Mar 15 17:49:54 git != svn, what's git svn? Mar 15 17:49:58 git-svn Mar 15 17:50:07 never used it Mar 15 17:50:16 it's a bridge between git and svn Mar 15 17:50:22 i switched from svn to git, clean cut Mar 15 17:50:25 old projects in svn, new proejcts in git Mar 15 17:50:37 but somehow it duplicated my svn updates and now rebasing fails completely Mar 15 17:50:38 When I try to bring up the video controls for my app on my nexus 4 nothing happens ( except right at the start) but this work fine on my nexus 7? Mar 15 17:50:42 pfn: have you considered reposurgeon, or are you using it to cooperate with another repo? Mar 15 17:50:49 kaneda^, not all clients use git Mar 15 17:50:51 Any thoughts on what the issue could be? Mar 15 17:50:55 pfn, true Mar 15 17:50:59 kaneda^: look up reposurgeon if you're doing full switch Mar 15 17:51:09 p_l, I use git to interface with all non-git repos (e.g. svn and perforce) Mar 15 17:51:11 p_l, we made the switch months ago already Mar 15 17:51:20 p_l, i.e. for clients that do not use git Mar 15 17:51:27 one of my clients uses perforce, so I use git-p4 Mar 15 17:51:34 kaneda^: yes, but with reposurgeon you can migrate svn repo into git one :) Mar 15 17:51:35 other clients use svn, so I use git-svn Mar 15 17:51:41 pfn: that hurts Mar 15 17:51:41 p_l, i may have to look at that, ty Mar 15 17:51:50 and yes, I know how git-svn can be annoying Mar 15 17:51:59 p_l, not terribly, since I can use git to work with them; just very annoying when it breaks Mar 15 17:52:11 like I have commits that are duplicated like 3-5 times Mar 15 17:52:15 and rebasing is completely broken Mar 15 17:52:21 now I need to rebase to the very first revision Mar 15 17:52:26 and prune out all the duplicates Mar 15 17:52:31 Hi :) Mar 15 17:53:36 Q: if a service will be destroyed and then restored by (cause return START_STICKY) did his onCreate() method will be called again ? Mar 15 17:54:02 otherwise, right now, I need to save my changes, do another git svn clone to get started, and fix this mess Mar 15 17:54:10 hetii: yes Mar 15 17:54:16 ok Mar 15 18:00:13 flexing your muscles for the ladies? Mar 15 18:00:25 das how i roll Mar 15 18:08:14 Hi. Is there an easy way to make an disabled EditText (enabled=false, focusable=false) look like a normal TextView? If I just set its style to TextView, it still looks disabled Mar 15 18:08:44 Kopfgeldjaeger, that seems confusing, dont you want your users to know the field isn't enabled? Mar 15 18:10:32 To be honest I'm using some custom NumberPicker that directly enables editing the number, but I don't want that. I'd like to avoid editing everything to make it just use a TextView... Mar 15 18:10:57 ok.. Mar 15 18:16:10 Why don't you just actually change it to a textview Mar 15 18:17:25 SimonVT: I just changed something and now I'll let it be editable... but I wanted to do that because of lazyness Mar 15 18:19:19 When I get lazy I stop being lazy and be awesome instead Mar 15 18:24:30 ;) Mar 15 18:25:55 ;) Mar 15 18:26:57 simonvt, are u sure u don't put down the bong Mar 15 18:27:03 and breath some fresh air Mar 15 18:27:53 breathe some dogarrhea Mar 15 18:27:55 http://www.youtube.com/watch?v=VCDnR6Px-co Mar 15 18:31:32 anyone know the best way to get websockets working with a webview Mar 15 18:32:06 i know there is no direct support Mar 15 18:32:08 i dont think they are supported Mar 15 18:32:39 :) Mar 15 18:33:23 i hear there are work arounds but im wondering if anyone has had any success with a particular one Mar 15 18:39:00 JSchwag: you need swagger Mar 15 18:39:33 mikedg, are you at IO right now? Mar 15 18:39:42 yes Mar 15 18:39:54 * kaneda^ slaps mikedg with a large fish Mar 15 18:40:15 fish is for catching and eating Mar 15 18:40:18 not slapping Mar 15 18:40:28 i have more than enough swagger Mar 15 18:41:21 if u must state u have enough swagger, u don't. Mar 15 18:43:03 mikedg, ooooh burn Mar 15 18:43:49 its funny cuz there is something called SwaggerSocket Mar 15 18:43:53 i thought u were talking abotu that first Mar 15 18:45:39 SimonVT: I just noticed you also have NumberPicker on github... I think I'll use yours because it probably sucks far less than the current one Mar 15 18:46:34 what the heck. how did i end up here Mar 15 18:47:09 ah, it's in the auto-join channel list Mar 15 18:48:03 No guarantees Mar 15 18:49:03 SimonVT only has libraries on github so he can turn a switch on april 1st Mar 15 18:49:31 what happens apr. 1? Mar 15 18:49:58 Unicorns. Unicorns everywhere Mar 15 19:07:44 SimonVT u should put an easter egg in ur menu library, where on april 1st when u click the menu button unicorns run across the screen Mar 15 19:07:55 i don't really see any possible downside Mar 15 19:15:44 Has anyone found a solution for an updated webview control with more modern features? We need several new javascript features not implemented in the classic webview control. our stuff works perfectly in iOS webview, Chrome on Android, FF on Android. Mar 15 19:16:38 pmgnet1, there are things that arent supported in a webview because an app is not a front-end to a website Mar 15 19:16:53 if you want the full js featuers make a mobile website Mar 15 19:17:24 Yeah... I need a hybrid. I'm looking for chromium type refresh of webview, or something that works as iOS webview. Mar 15 19:17:44 It needs to come from Google to happen I suppose. Mar 15 19:17:52 anyways, iOS webviews arent a solution either, you wont find the nitro engine in it, for instance Mar 15 19:19:35 Yeah, I don't mean to bash webview or compare to iOS... I'm more looking for refresh on webview... It's close. it does support javascript, etc. Mar 15 19:20:04 again, it doesnt use the nitro engine, so js is still remarkebly slow as opposed to native programming Mar 15 19:20:29 there was rumor it was getting an overhaul for JB but I think that was optimistic and Chrome has taken longer than planned. Mar 15 19:20:44 i'm sure they're planning on integrating the v8 engine or something, if it's not already done Mar 15 19:23:01 As HTML5 catches on and as Google inevitably brings NaCl to Android, Apple will have to make Webviews not suck sweaty balls in order to stay competitive Mar 15 19:23:22 some of the rumor I was mentioning... http://stackoverflow.com/questions/12192674/will-the-android-webview-be-chrome-engine-based-since-android-4-1 Mar 15 19:23:23 They'll probably be too far behind by then, though Mar 15 19:23:26 jrajav, all they have to do is integrate the nitro engine Mar 15 19:23:31 then they will be ahead of android in terms of webviews Mar 15 19:24:07 Yes. iOS webkit > Android. Painful to say. But just play with some jquery Drag and Drop and be dismayed. Mar 15 19:24:15 yep, unfortunately true Mar 15 19:30:14 is there a way to prompt someone to bookmark the web page? Mar 15 19:31:28 SimonVT: Hmm, your NumberPicker also does not update the value if it is changed via keyboard... Strange. Mar 15 19:31:56 (if you don't click OK) Mar 15 19:34:03 It's a backport, it should behave as the native numberpicker Mar 15 19:34:27 is there a neat way to organive touch event pointer data, kinda like a struct? Mar 15 19:35:24 something like pointer[1].init_touch, pointer[1].id Mar 15 19:41:47 ok I think I got it, created a class Mar 15 19:46:50 how do you initialize a class so that the variables making up the class can be used Mar 15 19:47:24 uh, what? Mar 15 19:48:12 got it its new classname() Mar 15 19:48:34 Might want to read a few java tutorials Mar 15 19:48:41 yeah, you need to learn to java, konsgn_pi Mar 15 19:49:01 meh I did, but coming from C everything seems backwards Mar 15 19:49:29 so now im just mashing examples together and going backwards to clean up the code Mar 15 19:49:37 if you write your java like you write your C, you're gonna have a bad time Mar 15 19:49:53 hahah i noticed Mar 15 19:51:57 Hi, quick question, when I build an script using ndk-build, how does it know which platform to use ? (android-9, android-14, etc) Mar 15 19:55:04 LuigiBairesDev, it's in the Application.mk file Mar 15 19:55:08 APP_PLATFORM := android-9 Mar 15 19:55:58 thanks ! Mar 15 19:56:04 np Mar 15 19:57:20 does it have to match from android manifest the attrs minSdkVersion or targetSdVersion ? Mar 15 19:57:51 Has anyone found a solid horizontal listview? I need to use an adapter. Mar 15 19:58:39 LuigiBairesDev, no, the ndk version is different from the target or minimum *SDK* version Mar 15 19:59:17 I've found some implentations trying to hack it into the gallery type control, but I'm not scrolling pictures. I need support for standard Android "Views" Mar 15 20:00:58 LuigiBairesDev, for instance, i have min SDK level 13, i target sdk 17 (i think), but use NDK level 9 Mar 15 20:05:47 kaneda^: If it is not related, what is the deal with this error I keep getting?: /home/luis/android-ndk/build/core/add-application.mk:128: Android NDK: WARNING: APP_PLATFORM android-14 is larger than android:minSdkVersion 9 in /home/luis/git/openssl-android/AndroidManifest.xml Mar 15 20:06:10 LuigiBairesDev, look at what versions are COMPATIBLE with one another Mar 15 20:06:26 e.g., yuo wont find support for ndk-9 until api level 13 i think Mar 15 20:07:04 LuigiBairesDev, that error makes perfect sense once you see which versions are supported in which api level Mar 15 20:16:55 kaneda^: Sorry, Let me be sure I fully understood you: I want my application to work on a Gingerbread 2.3 devices, so I ran on a shell "android list target", and I found an entry saying "id: android-10, Name: Android 2.3.3, Type: Platform, API level: 10" Mar 15 20:17:10 so android-10, not android-14 Mar 15 20:17:26 LuigiBairesDev, let me get you the doc Mar 15 20:18:18 Thanks ! Mar 15 20:18:22 how do I clear all variables in a class Mar 15 20:18:46 http://developer.android.com/tools/sdk/ndk/index.html#platform-compat <-- that's all i could find quickly Mar 15 20:18:53 it says that 2.3 shoudl work with ndk 9+ Mar 15 20:19:12 nvm, it says x86 works with 2.3, one sec Mar 15 20:20:44 which class in android frameworks is responsible for handling the screen dim/wake up actions ? Mar 15 20:21:00 konsgn_pi: uh, what? Mar 15 20:21:38 I need to perform an action based upon the bluetooth mouse event Mar 15 20:21:39 konsgn_pi: either make a new one or reset them all to null or whatever their default is. There's no magic Object#reset() method Mar 15 20:21:58 nsuneja: probably PowerManager Mar 15 20:21:58 i am sorry if i am bit vague.. new to irc Mar 15 20:22:38 hmm.. let me have a look at it Mar 15 20:23:23 public MyObject reset() { return new MyObject(); } ;-P Mar 15 20:24:15 LuigiBairesDev, i cant find the docs, but i'm fairly certain your versions are just mismatched for compatibility Mar 15 20:27:18 It is all right. The only funny issue I got so far is that when building with platform 14, which sould mach android 4.0, my app worked fine on an Samsung Galaxy SIII with android 4.1.2 while it crasshed on a Samsung Galaxy SII with android 4.0.3, when it should have worked here Mar 15 20:27:36 hmm, strange Mar 15 20:29:06 what kind of crash? Mar 15 20:31:11 speaking of the ndk, i hate segfaults! Mar 15 20:33:09 if i heed this statement, how will i use/display ListView? lots of libraries setup their list with ListView.setAdapter() "You must use ListFragment.setListAdapter() to associate the list with an adapter. Do not directly call ListView.setAdapter() or else important initialization will be skipped." Mar 15 20:33:49 Yes, when you use ListFragment you must use ListFragment#setListAdapter Mar 15 20:34:15 You can get around that by not using ListFragment Mar 15 20:34:42 but i have to use ListFragment Mar 15 20:34:49 No you don't Mar 15 20:34:53 You chose to use ListFragment Mar 15 20:34:54 The crash's output is in here: http://pastebin.com/yr2B8p6T Mar 15 20:34:55 strutz: you really don't Mar 15 20:34:56 You don't have to Mar 15 20:35:29 I googled arround and everywhere said that it was because the pltaform version wasn't matching the sdk version Mar 15 20:38:10 youre saying theres another class that does the same thing? Mar 15 20:38:43 strutz: if a library is telling you that, find a different library Mar 15 20:38:46 because it's wrong Mar 15 20:39:53 evanc: Actually the ListFragment docs tells you that Mar 15 20:40:21 Because when you set the adapter, it hides the loading view Mar 15 20:40:58 strutz: ListFragment is just a convenience class.. It's just a Fragment with a ListView (and some other stuff, but that's not really important here) Mar 15 20:42:18 "ListView" i need to use this object to setup my view Mar 15 20:42:26 SimonVT: ugh, gross Mar 15 20:42:40 evanc: Yep, pretty much Mar 15 20:42:42 One more thing if you don't mind: what is the difference between using toolchaings arm-linux-androideabi{4.4.3,4.6,4.7,clang3.1} ? Mar 15 20:43:15 but the code i have uses setListAdapter() Mar 15 20:45:29 So use setListAdapter then.. Mar 15 20:45:35 Not relaly sure what you're reaching for here Mar 15 20:46:35 Listview and setListAdapter() cant work together. or Im saying i dont know how to make them do that Mar 15 20:47:11 Eh, that's exactly what it can Mar 15 20:47:23 setListAdapter sets an adapter on a listview Mar 15 20:47:36 It does other stuff as well, which is why you have to use it Mar 15 20:47:38 you define a listview in xml, get a handle on it with findViewById() and then set an adapter on it Mar 15 20:48:09 hello. Mar 15 20:48:50 we are talking about ListFragment.setListAdapter() right? Mar 15 20:49:01 no fuck listfragment :) use a normal fragment Mar 15 20:49:13 it's just a layer over a normal fragment Mar 15 20:49:41 also watch this http://www.youtube.com/watch?v=wDBM6wVEO70 essential viewing Mar 15 20:50:19 SimonVT, can i modify the listview that setListAdapter uses? Mar 15 20:52:47 If you start modifying it, I don't really see the point in using ListFragment anymore Mar 15 20:57:25 when passing a parcelable as an argument to a fragment, reading and modifying the parcelable within the fragment and then rotating the screen (causing the fragment to be recreated), all the changes to the parcelable remain. Why is that so? Mar 15 20:58:03 Hi Mar 15 20:58:45 opticdelusion: arguments get persisted and when you access it via getArguments(), you get the same references Mar 15 21:01:15 so, if I want to avoid this, I should clone whatever I'm reading from the arguments. Mar 15 21:01:47 You should just read the arguments the first time you fragment is created, then forget about them Mar 15 21:01:52 JakeWharton Mar 15 21:01:58 == SimonVT Mar 15 21:02:15 PreferenceFragment is still not supported i'd assume Mar 15 21:02:35 Never will be Mar 15 21:02:48 ok, just making sure Mar 15 21:02:58 just gona use SherlockPreferenceActivity then Mar 15 21:03:10 (it's not really abs' job to backport preferencefragment) Mar 15 21:04:51 just keeps giving me Mar 15 21:04:52 The method addPreferencesFromResource(int) from the type PreferenceActivity is deprecated Mar 15 21:05:01 the example from SherlockPreferenceActivity Mar 15 21:05:52 Well, yeah Mar 15 21:05:56 It's deprecated Mar 15 21:09:14 Hey guys...where are those R.id.____s saved? I thought I had updated an ID...it looks updated in the xml Mar 15 21:09:22 but my code is not finding it Mar 15 21:09:41 Clean project Mar 15 21:09:59 use native PreferenceFragments on HC+ Mar 15 21:10:42 'Cleaning all projects' has encountered a problem. Mar 15 21:11:03 could not delete some of the bin\*.jar files Mar 15 21:11:16 Try again, or delete them manually Mar 15 21:11:44 why do you have jars in your bin/ folder? Mar 15 21:12:25 Possibly android lib project? They get built as jars.. Or is that in gen Mar 15 21:12:58 I thought they just got added to the classpath; I didn't think they wound up as jars in bin Mar 15 21:13:04 I'm probably wrong though Mar 15 21:13:12 No, they get built as a jar Mar 15 21:13:22 Since sdk 14 or something Mar 15 21:14:04 Same time they decided that their R variables were no longer final Mar 15 21:17:06 which class (C++ or java) is responsible for waking up the screen from dim state, when a mouse event is detected ? Mar 15 21:24:08 tried to manually delete Mar 15 21:24:15 it is in use by Java(TM) Platform SE binary Mar 15 21:24:24 ...time to kill java Mar 15 21:24:53 ohhh kayyyyy I wasn't thinking Mar 15 21:24:56 that killed eclipse Mar 15 21:25:09 whoops :D Mar 15 21:25:14 hope eclipse has an auto-save Mar 15 21:25:46 it have like every 5th nibute Mar 15 21:29:03 Hello Mar 15 21:29:28 Excuse me but I'm French… So I'm searching for a french chan about Android Dev Mar 15 21:29:38 Do you know such chan? Mar 15 21:30:24 Karatyus: i doubt that there is a dedicated channel for this, since pretty most of the developers are used to english (since every reasonable book, all docs, API, etc. is in english) Mar 15 21:31:06 Yes I know… ^^ Mar 15 21:31:20 Thanks for your answer Mar 15 21:31:41 you can always see if someone here talks french ant talk to them directly Mar 15 21:31:47 try founds android-dev-fr :D see if you can gather some ppl there :) Mar 15 21:32:55 Thanks for your advise Mar 15 21:33:09 I've asked only curiously Mar 15 21:33:59 If I'd to speak english, I'll speak English ^^ Mar 15 21:35:58 Any ideas on why google play keeps getting stuck here - http://screencast.com/t/bLk0LeO66Su Mar 15 21:36:20 Over an hour on 'processing' Mar 15 21:36:58 Karatyus: there exist several local android developer forums, and i guess there is also one in paris IIRC Mar 15 21:39:04 don't know how locally these operate, but as it seem i mixed it up with the android designer group :D Mar 15 21:39:11 only found www.paug.fr Mar 15 21:42:16 is there a feature-device compatability matrix anywhere? Trying to understand why my app not showing up as compatible w/ nexus 7 Mar 15 21:45:57 hmm Do i need use PowerManager if i want to have a service that will work even on power idle ? Mar 15 21:46:23 hetii: you need a partial wakelock Mar 15 21:51:27 Hi, what's mean in java the <> symbols around classes? like this "public static class TabListener" Mar 15 21:52:23 Look up generics Mar 15 21:52:38 m8: templates Mar 15 21:52:53 :o Mar 15 21:53:56 clever, template == generics? Mar 15 21:54:02 no Mar 15 21:54:11 there are some similarities Mar 15 21:54:23 the big difference is templates can be more than just a type Mar 15 21:54:25 they can be a value Mar 15 21:54:30 you can do meta-programming Mar 15 21:54:34 generics, you cannot Mar 15 21:54:37 they are only a type Mar 15 21:55:08 T is a type? Mar 15 21:55:14 but an advantage that C++ doesn't have (yet) Mar 15 21:55:17 yeah, T is a type Mar 15 21:55:22 but see how "T extends ___" Mar 15 21:55:26 you also have concepts, there Mar 15 21:55:36 some type T that satisfies my requirements Mar 15 21:55:42 just like templates will eventually add Mar 15 21:55:46 so in that way, generics are better Mar 15 21:55:51 for this particular task at hand Mar 15 21:56:01 argh :| Mar 15 21:56:16 tl;dr: Look up generics Mar 15 21:56:25 It's like this Mar 15 21:56:30 you have a list....a list of what? Mar 15 21:56:34 a list of strings? Numbers? Mar 15 21:56:37 evanc: i found: http://stackoverflow.com/questions/7360234/partial-wake-lock-and-thread-running-in-a-service Is there any reason why SerialPortService.WAKELOCK.acquire() is done before startService() is called ? Or can i move it into service class (to onCreate()) ? Mar 15 21:56:43 you could have a generic list of just Objects Mar 15 21:56:49 but if you really want it to be a list of numbers Mar 15 21:56:52 you use generics Mar 15 21:57:07 hetii: startService is async, the device may go to sleep before the service starts up Mar 15 21:57:14 hetii: I would guess that it's just in case you get killed between the startService() call and onCreate() Mar 15 21:57:20 m8:http://en.wikipedia.org/wiki/Generics_in_Java / http://docs.oracle.com/javase/tutorial/java/generics/ Mar 15 21:57:20 and then it just hangs for an unknown ammount of time Mar 15 21:57:25 that's pretty unlikely, but worth guarding against Mar 15 21:57:58 evanc: it could be very likely if the device woke up (alarm manager) under a lock, and thats released the instant you return Mar 15 21:58:27 thanks timroes Mar 15 21:58:35 hmm Mar 15 21:58:55 m8: you will have a lot of fun with generics :D Mar 15 22:00:21 clever: yeah, it depends on your usecase. If you're starting the service in response to a button click, then it's pretty unlikely. But good point. Mar 15 22:01:10 good timroes :) Mar 15 22:01:47 now i'm fun with google trainings about android, but i want start coding something, i'm reading from many days witouth coding Mar 15 22:02:19 m8: the trainings contain coding in the very first training? Mar 15 22:02:23 http://d.android.com/training Mar 15 22:02:30 timroes, very basics Mar 15 22:02:47 yeah Mar 15 22:03:04 how can i make a button not intercept the onClick event? I have a checkbox inside of a view that is used in a listview w/ an adapter, and I want the whole item view to receive the event, not the checkbox (tried w/ toggle button also) Mar 15 22:03:09 but if i follow all related links it's an infinite reading :D Mar 15 22:03:27 and now i'm following the related :| Mar 15 22:06:56 Currently i have: http://pastebin.ca/2333283, as we can see in onCreate() i start startForeground() that set higher priority for this service. Is there some alternative way to set the priority for such network service, to inform system that should keep it alive ?? Mar 15 22:10:15 Nope Mar 15 22:15:33 well so what in the case that will have a few services and all off them should be alive ? I cannot believe that i need to set for all of them the notification and start it as foreground. ? Mar 15 22:15:34 or Mar 15 22:15:35 ? Mar 15 22:17:26 Remember, this is a mobile device.. If your service is important enough to be foregrounded, it's most likely something the user should be able to/would want to interact with Mar 15 22:17:34 Like music playback or navigation Mar 15 22:19:12 timroes, why "public static class TabListener" and not public static class TabListener? Mar 15 22:19:20 SimonVT: in my case will not be mobile and will be plugged all the time to power, the point is that it must work 24h/7. Mar 15 22:20:26 m8: because TabListener itself is a generic Type so the question is why TabListener and not public static class TabListener Mar 15 22:20:41 can you make an app with phonegap that will launch on a certain type of link, and pass information to the app? Mar 15 22:20:52 to restrict the type a user can give when instantiating TabListener to only classes that extends Fragment Mar 15 22:22:01 m8: public static class TabListener doesn't make sense at all, since it would mean you pass a type to something.. but you define it at the meoment, so its not generic, but give it a type.. hee. cannot even describe what it could do :D it just doesn't make very much sense Mar 15 22:22:37 timroes :) Mar 15 22:23:53 the only time that kind of paramter would make sense in the class declaration is if you extend of a generic type and your implementation specifie this type. E.g. public class MyCoolList extends List { ... } Mar 15 22:24:19 btw that was ofc wrong, since List in an interface :D Mar 15 22:24:23 but replace List with ArrayList Mar 15 22:24:55 argh! Mar 15 22:27:00 timroes, i'm using python where all it's generic :D Mar 15 22:27:11 yeah eh no :D Mar 15 22:27:17 python is dynamically types Mar 15 22:27:23 has nothign to do with generic :) Mar 15 22:27:36 yeah Mar 15 22:27:42 since also generics are strongly types in java Mar 15 22:30:08 !ping Mar 15 22:30:30 thanks timroes :) Mar 15 22:30:52 you;re welcome Mar 15 22:41:32 hi. it looks like fragments have to have a public constructor without arguments, right? Mar 15 22:41:54 so, if I want my fragment to have an event listener (normally the parent activity), what is the best way of passing it into the fragment? Mar 15 22:42:22 should I just cast this.getActivity to whatever interface and "be very sure" that this fragment is only placed inside activities implementing that interface? Mar 15 22:42:29 http://developer.android.com/guide/components/fragments.html#EventCallbacks Mar 15 22:43:11 I need to stop closing my emulator .-. Mar 15 22:43:34 SimonVT: oh, thanks. So yeah, that's basically what I thought of. But if I read that right, there is no way of making sure (at compile-time) that the fragment is never placed inside an acitvity not implementing that interface, right? Mar 15 22:43:55 Right Mar 15 22:45:11 SimonVT: thanks. :) Mar 15 22:46:10 Q: if i have a layout that for eg have two button and then depend on some condition those button will call some other method. Should i create then separate Activity or just change action for them? Mar 15 22:46:43 So in another work when is a good time to start another activity and when i should change the main? Mar 15 22:59:18 android:inputType="textEmailAddress" Where can I find the values that I can change inputType to? Mar 15 23:00:50 NullEntity: http://developer.android.com/reference/android/widget/TextView.html#attr_android:inputType Mar 15 23:01:03 thanks <3 Mar 15 23:04:30 evening Mar 15 23:07:23 I need to set my activity to foreground even when my main is in backround, I try it b: intent.setFlags(Intent.FLAG_ACTIVITY_REORDER_TO_FRONT|Intent.FLAG_ACTIVITY_NEW_TASK); but it don`t show up. Mar 15 23:09:44 I've a view pager. In one of the fragments I have a searchview. I want the soft keyboard to open up when entering the fragment and close when going out. I have my page listener using InputMethodManager to show / hide the softkeyboard. methods are correctly called... close works, open doesn't. http://pastebin.ca/2333308 Mar 15 23:09:46 any help? Mar 15 23:18:49 is there any system property which controls what type of keyguard view will be displayed on screen lock ? Mar 15 23:19:09 how do we change it ? Mar 15 23:20:02 uhh.. you think thats possible? Mar 15 23:22:36 yeah, i think so.. in frameworks, com.android.internal.policy.impl.keyguard package, there are a few views which we can use to replace the default one Mar 15 23:23:19 for eg. if we select security pattern, the view is different than the default Mar 15 23:24:06 Hopefully that's not something random apps can control Mar 15 23:26:31 I'm guessing you have to replace the keyguard completely Mar 15 23:27:35 Anyways, suggestions how I can keep my play store version app on my phone and still installing a dev version on it to test new features? Mar 15 23:28:15 Other than changing the package name, you can't Mar 15 23:28:15 Do I have to refactor the package name? Mar 15 23:28:30 Ok Mar 15 23:28:33 But that sounds like a horrible solution.. You should just use the dev version Mar 15 23:28:44 SimonVT: I want something stable to use daily Mar 15 23:28:58 the dev version is usually tweaked a bit to make testing quicker Mar 15 23:29:05 hm. can i somewhere find (without going through all the android sources) find the default button drawable? Mar 15 23:29:06 i.e. using seconds instead of minutes for the timer :) Mar 15 23:29:20 https://play.google.com/store/apps/details?id=com.ninjacode.ninjatimer Mar 15 23:29:26 i.e. the XML for it Mar 15 23:29:37 since lowest value possible is 1 min, testing is boring :P Mar 15 23:30:20 tinloaf: sdk\platforms\android-4.2\data\res\drawable Mar 15 23:30:21 if (BuildConfig.DEBUG) minValue = 6 else minValue = 60 Mar 15 23:30:44 Quacked: oh, that seems easy. thanks. Mar 15 23:31:44 SimonVT: uhm.. but that doesnt make it possible to have a working version on my device at the same time? Mar 15 23:32:00 one with the real values Mar 15 23:32:26 You can use it to allow seconds when it's a debug build Mar 15 23:32:47 Uh I should probably mention the searchview is a sherlock searchview directly into my layout Mar 15 23:33:10 yeah, I understand, but its not really set up to use seconds Mar 15 23:33:14 in that way Mar 15 23:33:34 im just gonna rename package name.. the version on play store should be working fine for now Mar 15 23:33:43 So set it up to use seconds? Mar 15 23:34:07 Sounds horrible for version control Mar 15 23:34:25 what do you mean version control? Mar 15 23:34:59 hum. Quacked: the stuff from that directory should be available via @drawable/abs__, right? Mar 15 23:35:24 for some reason, btn_cab_* is available, but btn_default_* not :-/ Mar 15 23:35:28 setting it up for additional seconds sounds like a lot of effort, hehe.. have to modify views etc Mar 15 23:35:53 You could just make it a menu item Mar 15 23:35:57 tinloaf: I'm not sure about all that.. Mar 15 23:36:11 tinloaf: No Mar 15 23:36:19 SimonVT: thats a better suggestion :P Mar 15 23:36:20 And don't use abs__ resources Mar 15 23:36:34 Same suggestion, different implementation Mar 15 23:36:37 hehehe Mar 15 23:38:25 SimonVT: hum. Then, how could i use the "holo light" button if my theme is "holo dark" (i have that one place where the holo dark buttons really look shitty...) Mar 15 23:39:24 Copy them to your own project Mar 15 23:39:45 SimonVT: the problem is: they use a lot of "default android ressources" - which are not available either Mar 15 23:40:03 so I probably end up copying half of the res/ directory. There is no better way? Mar 15 23:40:41 a button is 4 9-patches, 1 xml, and a style Mar 15 23:40:48 We might break any internal ABS resources for you at any time for any reason Mar 15 23:41:00 And they might not always work as you'd expect Mar 15 23:42:17 SimonVT: that's true. OK, I'm copying that stuff.. Mar 15 23:42:18 SimonVT: We? Mar 15 23:42:33 Quacked: there might actual devs be around. ;) Mar 15 23:44:06 just wondering if he was working on aosp Mar 15 23:44:23 abs != aosp Mar 15 23:44:53 oh, youre talking about actionbarsherlock Mar 15 23:44:58 my bad Mar 15 23:45:24 I wasnt familiar with the shortening Mar 15 23:46:43 rock hard ABS Mar 15 23:49:27 Quacked / SimonVT : stupid question: I found the drawable XMLs and the 9-patches... where is the style for the button? Mar 15 23:50:15 oooh... that's part of the big sytle xml, i guess. :-/ Mar 15 23:53:24 Any ideas on why whenever I try to upload my expansion file to google play its gets stuck in 'processing'? Mar 15 23:53:37 I don't see what I could be doing wrong Mar 16 00:03:19 Quacked, SimonVT : So I copied over the 9-patches and the drawables, and i *think* i extracted the style XML, but what parent do i specify? See this: http://pastebin.com/wGge7w9A Mar 16 00:04:15 You said you only had one place where holo dark buttons looked shitty, so why not just set the background of the buttons in that one place Mar 16 00:04:16 it keeps telling me "Error retrieving parent for item: No ressource found that matches the given name 'Widget.Button'" Mar 16 00:04:38 SimonVT: because, if I just specify a background in the XML, all the borders etc. vanish Mar 16 00:04:52 basically, it becomes a flat square of a certain color. Which looks even more shitty. Mar 16 00:05:09 Eh, the "borders" are the background Mar 16 00:05:29 exactly. So, just specifying a background color does not do the trick Mar 16 00:05:36 i have to specify a drawable as background Mar 16 00:05:43 So do that Mar 16 00:05:47 and I'm just trying to get that drawable into my project Mar 16 00:05:48 pro tip: http://android-holo-colors.com/ Mar 16 00:05:50 android:background="@drawable/..." Mar 16 00:06:10 SimonVT: yeah, but you just told me I cannot reference the holo drawables without copying them into my project :( Mar 16 00:06:11 Does anyone know if i can implement more permissions for test than the actual app? Mar 16 00:06:18 So copy them Mar 16 00:06:24 I'm not sure what the issue is here Mar 16 00:06:27 SimonVT: that's what I'm trying to do Mar 16 00:06:43 SimonVT: I have to extract the style XML part for the button from the "whole holo" style xml Mar 16 00:07:08 all you need is android:buttonStyle="@style/MyButtonStyle" and then the