**** BEGIN LOGGING AT Fri May 04 02:59:59 2012 May 04 03:01:22 "my app doesnt work on ie9.. how can I switch to ie8" May 04 03:09:26 is there a shortcut for dumping the stack traces of all the Threads into the logcat when I get a ConcurrentModificationException ? May 04 03:13:28 IIRC, that is called if you try to modify a collection while iterating it May 04 03:14:03 so there's not shortcut like that or anything. it's just a regular exception that is thrown using some logic to detect such things May 04 03:14:16 more or less likely a boolean that gets set and unset when you start and stop iterating. May 04 03:14:45 This is driving me crazy. Is there a way I can disable the bar that shows up when you have a title in an alert dialog? May 04 03:15:39 create a titleless alert dialog with a custom view body May 04 03:19:02 or use dialog fragment and override onCreateDialog May 04 03:19:11 and use your own layout May 04 03:19:29 jayd16 you talking about the little blue bar in holo theme? May 04 03:19:57 t0mless yes May 04 03:20:18 yea, that is hardcoded into the dialog layout May 04 03:20:25 so you have to replace it with your own May 04 03:21:18 damn! thanks May 04 03:22:02 they really should have made it use @attr/primaryColor or something May 04 03:22:07 or it's own attribute May 04 03:25:15 I'm trying to make a music player. How is a library of songs usually handled? May 04 03:25:29 probably with a ContentProvider May 04 03:25:52 in fact May 04 03:25:59 I think there is a built in MediaContentProvider May 04 03:26:01 so I don't have to worry about scanning the sd card and adding songs? May 04 03:28:50 I think the built in one will cover that May 04 03:29:06 but not sure if it scans the whole SD card of just specific folders May 04 03:30:04 scan whole sd card of specific folders, nice. May 04 03:30:44 or* May 04 03:32:36 some weird behavior occuring when I use two elements in the attrs.xml of my library project May 04 03:32:42 merging them into one seems to fix it May 04 03:32:47 is this supported? May 04 03:32:57 well, I don't know why I bother to ask, since there's hardly even docs on it. May 04 03:37:58 is the media completely bored with the S III ot wut May 04 03:38:07 is "new Random(1)" guaranteed to give the same sequence of random numbers on all platforms? May 04 03:38:08 I hope so May 04 03:38:29 ^ @g00s May 04 03:38:41 looks kinda lame May 04 03:38:41 who just left? May 04 03:39:02 like all the feeds were like OMG GSIII May 04 03:39:06 LOOOOOOK AT ITTTTTT May 04 03:39:16 With Dropbox storage toooooo May 04 03:40:11 i hate to say this, but i'm interested in what the iphone 5 looks like. hopefully better than the 4s :) May 04 03:40:21 and the lumia 900 looks beautiful May 04 03:40:46 the s3 reminds me of the nexus one for some reason May 04 03:41:01 which imho, one ugly ass phone :) May 04 03:41:01 anyone got a nexus s that could share the /dev/block/mmcblk0 partition table with me? May 04 03:52:09 git just saved my life :) May 04 03:52:19 thought I deleted a ton of stuff for a second. May 04 04:04:19 readme: if for personal use, I prefer bitbucket: unlimit private repo May 04 04:07:22 how do I copy a folder to an android emulator May 04 04:10:46 RustyShackleford, adb push local remote May 04 04:11:14 Such as adb push /mydir /sdcard/newdir May 04 04:15:09 the second argument is the path to the device in .android? May 04 04:15:24 or rather, the sd card image May 04 04:18:40 hoangtran: I use my own server for that May 04 04:18:50 but this code is actually in a private github May 04 04:18:54 ~/.android/avd//sdcard.img May 04 04:20:13 ugh cmd.exe May 04 04:20:37 what system do you guys use for dev? May 04 04:20:42 Win7 May 04 04:20:49 Get a better console. May 04 04:20:58 does ~/ work on windows as well? May 04 04:21:02 no May 04 04:21:16 %USER_HOME% I think it is May 04 04:21:28 you could make an env variable, but then it would still be %~% May 04 04:22:00 RustyShackleford, I'm using Console2, it has better color :) May 04 04:23:08 I used linux almost exclusively for a couple years. I must say it's nice to have Steam and Netflix just a mouse click away May 04 04:25:12 cmd.exe is teh suck May 04 04:25:18 and there isn't a good terminal/shell on windows May 04 04:25:19 :( May 04 04:25:23 not really, no May 04 04:25:27 Console2 is ok May 04 04:25:38 I do wish ~ alias worked without having to set it every fricking time May 04 04:25:50 Console2 + cygwin May 04 04:25:59 that's what I used when I used to suffer Windows May 04 04:26:05 yea May 04 04:26:12 yeah I'm thinking about using bash May 04 04:26:15 that way you hav emost the linux tools May 04 04:26:32 does cygwin come with make? May 04 04:26:37 gdb, etc. May 04 04:27:25 yea May 04 04:27:28 if you install them May 04 04:27:56 >:o wtf won't copy paste work from logcat May 04 04:29:44 I'm not a fan of cygwin, generally May 04 04:33:48 what about non-generally? May 04 04:36:00 yo May 04 04:36:07 specifically, sometimes I like to use mingw tools May 04 04:40:40 I wish adb backup would show progress May 04 04:41:09 not to mention it's ungodly slow May 04 04:41:15 like 1.2mb/s May 04 04:56:30 hi all May 04 05:08:53 cygwin is yucky May 04 05:09:28 readme cygwin is pretty May 04 05:09:40 but use minTTy May 04 05:09:58 no thanks May 04 05:10:02 that would mean I'd have to install windows May 04 05:10:55 I was assuming you were on it since you were commenting on cygwin May 04 05:11:00 sorry for suggesting ;P May 04 05:13:14 how do I push an entire directory and subdirectories? May 04 05:39:17 my unit tests have saved the day \o/.. dev I am working with started changing the API but only over HTTP... and my unit tests all failed, and then I was slamming my head against the wall, wondering WHY May 04 05:39:53 I re-ran my old unit tests I wrote just for trying the API in bash, and they worked o_o, then I realized http was broken, and I put an s in my java code, then they all passed :) May 04 05:40:51 woohoo! May 04 05:53:53 hrm May 04 05:53:57 internet go boom May 04 05:58:55 readme: are you good at doing TDD on android? May 04 05:59:16 using InstrumentationTestCase is pretty easy May 04 05:59:31 I'm not doing any testing on UI right now, just testing my API wrapper lib May 04 05:59:38 I have 7-8 test cases for it May 04 06:00:07 but I have also done some blackbox testing with robotium, which was OK, but needed work when I tried May 04 06:01:22 got to go nap May 04 06:02:15 has anyone used AES encryption in java ? May 04 06:05:27 hi May 04 06:11:39 test POJOs and controllers May 04 06:11:44 then just hook them up to UI and callbacks May 04 06:13:54 hey JakeWharton have you implemented AES encryption in your app May 04 06:14:01 no May 04 06:14:31 but this guy has: http://stackoverflow.com/a/992413/132047 May 04 06:16:24 hmm funny that you linked me to that page. i was already on it May 04 06:16:40 but hadn't scrolled down that far yet since i was studying the code at the top May 04 06:38:53 http://furiousfanboys.com/2012/05/even-more-prometheus-footage-in-another-featurette/ May 04 06:38:54 :) May 04 06:41:54 Is it possible to apply the default ontouch animation that appears when clicking on a ListView to a whole LinearLayout? May 04 06:41:55 cameron has fucked up aliens May 04 07:00:04 i feel like i've seen most of prometheus already May 04 07:01:04 Hey May 04 07:01:58 I wan't to make a game, but the touch event only gets fired when I put my finger on the screen, not when I move it May 04 07:02:52 hi, how can i setup a template to use in xml for adding a couple of views to a layout? May 04 07:03:28 the views have almost the same attributes May 04 07:03:43 Copy/paste? May 04 07:04:20 mad1231999: Copy/paste: the root of all evil May 04 07:04:37 mad1231999: error source #1 May 04 07:04:59 Lol May 04 07:05:41 But how can I get the onTouchEvent(MotionEvent e) method to get called when the finger moves? May 04 07:07:05 mad1231999, probably use a different method May 04 07:07:14 By returning true on the down event May 04 07:07:17 theres a whole bunch related to touch/swipe May 04 07:10:03 Ok, thanks. May 04 07:11:29 $80 for complete star wars saga on blu-ray May 04 07:11:35 amazon deal of the day May 04 07:11:36 of course May 04 07:12:08 looks like the good trilogy is only $37 May 04 07:12:16 the bad trilogy they pay you $37 to watch May 04 07:13:52 I often wonder if my son will like the old trilogy May 04 07:13:59 because it isn't as flashy as the new one May 04 07:14:31 don't even tell him the first/newest three exist May 04 07:14:34 Knossos: then show him first the old ones and then the new ones. you don't miss what you don't know May 04 07:15:59 buy him the kinect start wars singalong game May 04 07:16:04 the films are rubbish anyway May 04 07:16:51 * SimonVT has never watched a full star wars movie May 04 07:16:56 it's cheaper to buy the two trilogies separately on amazon then together May 04 07:17:31 question: What's the format of the xml in the APK file. I want to be able to detect some characteristics of an apk via PHP. May 04 07:18:08 binary May 04 07:18:14 What are you hoping to detect? May 04 07:18:21 which xml? May 04 07:18:36 the version May 04 07:19:22 http://developer.android.com/guide/topics/manifest/uses-sdk-element.html May 04 07:21:07 so is it possible to slide a view up into the bottom of a window displacing the stuff on top of it without using the new property animator apis? May 04 07:22:01 SimonVT: this would work? http://code.google.com/p/axml/ May 04 07:22:17 Seems like it May 04 07:22:26 storkme_: http://nineoldandroids.com May 04 07:22:29 i have to implement it for php then May 04 07:23:01 has anyone ever told you you're a wizard JakeWharton ? May 04 07:23:13 Hagrid did, when I was like 12 May 04 07:23:18 but that didn't pan out... May 04 07:23:26 I'M A WHAT?! May 04 07:23:55 hi i am pulling a database select statement from php and would like to feed into sqllite, the thing is that i only want to inject the new rows updated on php but that do not exist on the sqllite how can i do that? May 04 07:24:06 so far i am writing the whole db again but i dont think its a good idea May 04 07:24:34 also, can I enable a location provider without sending the user to the configuration screen? May 04 07:25:30 ocx: I normally have timestamps that automatically change on update / insert. That way you can search for all changes after a certain date/time. May 04 07:26:01 you mean you are storing the timestamp on the php db? May 04 07:26:20 Yes, a column called lastupdated, or similar. May 04 07:26:27 ok May 04 07:26:30 smart idea May 04 07:26:54 And then your android device can connect with the last time it had an update. Compare the two. May 04 07:26:59 you are only using the server time server May 04 07:27:10 not the android time May 04 07:27:23 like currenttime() and compare with the db timestamp May 04 07:28:08 ocx: http://dev.mysql.com/doc/refman/5.0/en/timestamp-initialization.html May 04 07:28:09 what if a row gets deleted ? May 04 07:28:29 That doesn't help with deletion May 04 07:28:37 have any of you used Android x86 ? May 04 07:29:29 i was thinkinf if there is any kind of mechanism to compare the 2 dbs... mysql and sqllite May 04 07:32:44 ocx: I don't know if this would help you, but: http://www.ywsystems.com/?page_id=11 May 04 07:34:31 What am i doing wrong when i use the ViewServer from romainguy like in the ViewServerActivity but i get this exception? http://pastebin.com/0zhNh3V2 May 04 07:36:07 thanks May 04 07:36:14 i dont think it works though with sqllite May 04 07:40:01 would it be weird to have 3 seperate object animators going on at the same time? May 04 07:40:31 i'm trying to get it so that a view slides up from the bottom and pushes everything else up with it May 04 07:40:46 animating translationY wont do this because it'll just go on top May 04 07:46:58 http://shop.oreilly.com/category/deals/day-against-drm.do May 04 07:47:50 g00s: dude... May 04 07:47:59 d00d May 04 07:51:10 shame not 50% off on printed books :) May 04 07:51:37 i dont generally dont buy printed books any more May 04 07:51:40 who still uses printed books May 04 07:51:45 ghetto May 04 07:51:46 some photography stuff isn't ebook May 04 07:52:19 Drakonite: gimp 2.8 was released :) May 04 07:53:34 o_O May 04 07:53:49 I still use printed books.. it's nice to have a physical reference May 04 07:54:08 I'd be very happy if every physical book I bought came with an ebook copy too May 04 07:54:26 Drakonite: thats why you had 2 pods instead of one :D May 04 07:54:28 woah i'm still using gimp 2.6 May 04 07:54:39 g00s: I had 3 of them! May 04 07:54:49 holy crap dude May 04 07:55:20 did I tell you the one with my books was overweight and they almost wouldn't ship it? May 04 07:55:30 i think so May 04 07:56:23 my ~500lb of books, or whatever it was May 04 07:57:02 hm.. so does gimp 2.8 mean they finally got GEGL working or is still a buggy piece of junk? May 04 07:57:32 i think they got it working by mistake May 04 07:57:52 They say it is fully implemented May 04 07:58:09 heh, my understanding was the whole point was for non-destructive editing, yet they don't list that in the 2.8 features May 04 07:58:57 Hi all May 04 07:59:12 i think eventually i'll just break down and get a subscription for photoshop; its taken gimp this long to still suck May 04 08:00:03 preeeetty much May 04 08:01:05 Maybe it is not you perceiving the GIMP sucks, but GIMP thinking that you suck May 04 08:02:00 I still like GiMP, but trying to get used to photoshop too May 04 08:02:17 there are things I can accomplish much easier in GIMP May 04 08:02:45 does gimp still have the 8-bits per channel limit ? May 04 08:02:51 if it does, it still sucks :) May 04 08:03:28 needs moar bits May 04 08:03:38 12-14 bits May 04 08:03:58 oh, that was also part of the GEGL change, was higher bit depth support IIRC May 04 08:04:35 can i animate a views height using the property animation stuff? May 04 08:05:10 yep May 04 08:05:32 g00s: roadmap says 3.0 for high bit depths, and 3.2 for non-destructive May 04 08:05:53 Drakonite: that will be 20 years from now May 04 08:05:59 storkme_: depends on how you want to do it May 04 08:06:20 moreover, what are you looking to do May 04 08:06:34 g00s: 2.8, 2.10, 3.0. 3.2 is the version road map May 04 08:06:48 08:40 < storkme_> i'm trying to get it so that a view slides up from the bottom and pushes everything else up with it May 04 08:06:55 based on the time it took them to get 2.8 out the door... 30 years. May 04 08:07:27 ok, in fairness, they rewrote the majority of the backend for 2.8 May 04 08:07:54 storkme_: ok so you want to be careful because animating the height of a View is going to trigger a call on onMeasure and onLayout for each frame May 04 08:07:59 that's going to be really slow if you have complex layouts May 04 08:08:05 actually it's probably really slow no matter what May 04 08:08:12 lame May 04 08:08:34 unrelated note... I think my kindle fire is now my primary dev machine. May 04 08:08:41 machine? May 04 08:08:45 like you dev on it? May 04 08:08:56 I mean test on it May 04 08:09:30 hmm, looks like the next version of git is going to get a major new feature May 04 08:09:53 g00s: it's going to be scrapped and just rename Hg to git ? May 04 08:09:59 hehe May 04 08:10:02 subtrees? May 04 08:10:05 yeah May 04 08:10:11 they've been around long enough, 'bout time it was merged May 04 08:10:43 What's a subtree May 04 08:10:45 we just moved everything to Maven and deploy shit to an internal Nexus May 04 08:10:53 SimonVT: basically a subset of a repository May 04 08:10:58 JakeWharton: 7" screen means don't need to pick up phone to see it (though 10" is nicer), ports are in a sane place for sitting in a stand in landscape (unlike BS xoom), and it charges via USB! (unlike every other tablet) May 04 08:11:08 What's the benefit? May 04 08:11:24 Not having to deal with a massive tree in a massive project May 04 08:11:35 It also can partially eliminate the use of submodules May 04 08:11:40 which are horrid creatures May 04 08:16:15 Drakonite: is it 3:15 over there ? May 04 08:17:18 CDT = Corn Daylight Time ? May 04 08:17:34 okay May 04 08:17:36 what i should do May 04 08:17:39 no, it is 3:17! May 04 08:18:15 man, i've been wrestling with this weird behavior in Calendar for 2 days now, what a bitch May 04 08:19:08 welcome to android May 04 08:32:15 hmm May 04 08:32:29 is it possible in eclipse when you're debugging and viewing an array May 04 08:32:41 to make it show as hexadecimal instead of decimal? May 04 08:33:10 i'm kinda guessing not since afaik it just does a toString() on the object May 04 08:33:16 but would be nice if it would be possible May 04 08:34:01 JakeWharton, is it still correct to extend SherlockFragmentActivity? May 04 08:34:10 yes May 04 08:34:15 if you are using support library fragments May 04 08:34:46 i am May 04 08:35:21 just trying to setup my project on windows since ubuntu isnt liking my new monitor May 04 08:39:06 ok so I think what I want is possible with detail formatters May 04 08:39:19 how would i make a detail formatter for an array? May 04 08:40:02 what is a detail formatter? May 04 08:40:09 an array of what? :) May 04 08:42:05 an array of bytes May 04 08:42:12 i want to show hexadecimal value instead of decimal May 04 08:42:37 and with a detail formatter you can apparently change what the detail window in debuggin (which typically calls a toString on the object) shows May 04 08:44:57 Might want to try #eclipse May 04 08:45:49 k May 04 08:45:50 https://www.google.ca/search?q=eclipse+debugger+hex+format May 04 08:49:47 ty tank-man :P found showing hex, but still not showing in detail view though, got hex after the decimal in other view though May 04 08:49:57 will google some more May 04 08:50:10 oh yeah, i made $27 on my app which took … almost a year to write, yeeeaaaah ! May 04 08:50:52 if i knew how to off the top of my head i would tell ya May 04 08:59:45 is it possible to change the app name after the app has been published to google play? May 04 08:59:53 Yes May 04 09:00:06 Only constant is manifest package May 04 09:00:37 excellent, thanks SimonT May 04 09:01:26 is there like a standard messaging system between activity and fragments? May 04 09:02:12 I usually make an Interface and pass it into the fragment May 04 09:02:17 fair enough May 04 09:02:55 Yep.. Cast activity to some interface in onattach and use that for callbacks.. Activity can just invoke methods directly on fragment May 04 09:03:22 ok May 04 09:15:53 I prefer the opposite May 04 09:16:05 fragment exposes an interface which the activity has to implement May 04 09:16:30 validate in onAttach, IllegalStateException if the activity doesn't implement May 04 09:16:30 i prefer an event bus :) May 04 09:19:29 http://www.tuaw.com/2012/05/03/apple-and-samsung-earn-99-percent-of-mobile-phone-vendor-profits/ May 04 09:19:50 oh wait, i think i saw this one already May 04 09:20:26 after a while , all the graphs start to look the same May 04 09:22:52 is there tools to monitor my native app memory usage? May 04 09:22:54 what's an event bus May 04 09:23:14 handlers and such? May 04 09:23:49 storkme_: like guava eventbus May 04 09:23:50 sarcasm May 04 09:24:16 although as-is, its performance on android sucks May 04 09:24:55 what is the best way to synchronize CHANGES only between mysql and sqllit? May 04 09:25:06 one of these days i will put mine up on github, but i notice that with each app i do, there are enough differences between the busses that its hard to really abstract that into something sane May 04 09:26:05 Is it possible to ask the user to turn on GPS programatically? May 04 09:27:01 Dialog + Intent to settings May 04 09:27:05 night May 04 09:34:12 hi, I have an error with my build.xml: 598 when I make an "ant debug" May 04 09:38:36 wut May 04 09:39:05 so the samsung SIII - has music hub, video hub, and game hub May 04 09:39:21 these compete with google play i guess May 04 09:40:10 is there a log to see, when an error append with "ant debug" line 598 an 627 in the build.xml May 04 09:40:13 ? May 04 09:40:32 what's taking so long for 2gb ram? May 04 09:40:43 battery life issues? May 04 09:40:45 <`z> jeppy, you're welcome May 04 09:40:52 <`z> to manufacture a phone with 2gb ram May 04 09:41:28 <`z> of course, you can make a 10in "phone" May 04 09:41:39 <`z> and stick 16GB of ram inside May 04 09:41:42 <`z> sure, you're welcome to do so May 04 09:42:21 hmm, you got my hopes up with the way that began May 04 09:42:36 that doesn't really explain anything May 04 09:43:28 you basically told me to make it May 04 09:43:58 jeppy: doo iiit ! May 04 09:44:38 i'm guessing it is related to battery life May 04 09:45:19 10 bucks - samsung's S Iv or V is bada touchwiz with their hubs :) May 04 09:46:58 i'm eligible for an upgrade in the middle of july, and i intend on being picky May 04 09:47:57 my gf just got a razr maxx - it is awesome, but it doesn't have ics. it still has menu and search buttons May 04 09:47:58 i would get a lumia 900 if i had assurance it would get windows phone 8 May 04 09:48:10 but ms might fuck that up May 04 09:54:10 jeppy: even the new galaxy s3 has a menu button :\ May 04 09:54:21 heh, i read that May 04 09:54:37 is it ics? May 04 09:54:44 yeah May 04 09:54:47 yeah May 04 09:54:59 any good windows phone dev IRC available? May 04 09:55:50 i don't think so May 04 09:56:30 #wp7-dev May 04 09:56:45 hmm rather small May 04 09:57:00 jeppy: will they rename to wp8-dev :) May 04 09:57:25 Seems kinda stupid to base the channel on a single version :p May 04 09:57:49 Leeds: what do you think of the SGS III ? i was kinda meh May 04 09:58:03 i searched for "windows" and "wp", neither really found anything May 04 09:58:22 i'm kinda meh too May 04 09:58:36 <`z> now May 04 09:58:38 even before i found out it has the old hardware setup May 04 09:58:38 <`z> #wp8-dev is mine May 04 09:58:39 <`z> >:D May 04 09:58:45 <`z> why? May 04 09:58:50 <`z> because fuck you that's why! :D May 04 09:58:56 <`z> okay, time to flash aokpcb May 04 09:59:09 I thought sgs3 looked pretty nice May 04 09:59:31 <`z> SimonVT, the blue color looks weird May 04 09:59:32 But, touchwiz still fugly.. May 04 09:59:39 ugly as sin May 04 09:59:44 <`z> when I saw the available colors May 04 09:59:45 <`z> i thought May 04 09:59:46 They displayed the messaging app a few times.. wtf >.< May 04 09:59:53 <`z> "OH, so that's why they displayed pebbles" May 04 10:00:00 <`z> blue and white pebbles May 04 10:00:06 lol May 04 10:00:15 its pebbles all the way down May 04 10:00:27 i'm hoping by july 17th there will be a complete ics phone with 2gb ram May 04 10:00:40 i think i would just get a nexus tablet May 04 10:00:46 an pretend its a big phone May 04 10:00:58 I would, if the rumors didn't say low end 7" tablet May 04 10:01:19 the more external jars that I use, the more time it takes to build the apk. Is this true? May 04 10:01:26 i hope its faster than my droid-1 :) May 04 10:01:36 The more code, the longer it takes May 04 10:01:59 actually i'm not sure a phone could use 2g ram, but i've read that the bottleneck in android is memory, not cpu May 04 10:02:19 s/bottleneck/limiting factor May 04 10:05:20 I have like 5 jars, and it takes around 90s to compile May 04 10:05:43 does it have to Dx processing the jars everytime? May 04 10:05:49 Yep May 04 10:05:57 yo May 04 10:06:10 * mikedg tags SimonVT with a laZer May 04 10:06:18 ;d May 04 10:06:20 mikedg is up early May 04 10:06:41 your mom kept me up all night May 04 10:07:08 rimshot@ May 04 10:07:16 mikedg: your g+ profile looks like you just got done sucking a huge cock May 04 10:07:38 true story May 04 10:08:44 http://pastebin.com/PTnEDjXS <<< I have written a VideoCameraController for Android May 04 10:09:25 I think it can make video recording convenient May 04 10:10:16 Very verbose method names May 04 10:10:49 SimonVT: maybe I wrote obj-c too much May 04 10:10:56 I think you did ;d May 04 10:11:16 <`z> obj-c May 04 10:11:19 <`z> heplderpl May 04 10:11:36 * Zharf wonders what the include $(CLEAR_VARS) actually does... May 04 10:12:46 Zharf: it clears previous system variables used May 04 10:12:59 like which May 04 10:13:19 false story May 04 10:14:06 http://pastebin.com/PTnEDjXS <<<< feel free to use, anyway Ima put this artifact onto github =D May 04 10:26:42 any of you guys ver use the prevent power key permission? May 04 10:27:47 what's the view that came out in api 14, similar to gridview? May 04 10:28:09 nvm May 04 10:28:14 gridlayout xD May 04 10:32:01 What am i doing wrong when i use the ViewServer from romainguy like in the ViewServerActivity but i get this exception? http://pastebin.com/0zhNh3V2 May 04 10:35:40 How did you include it May 04 10:47:35 is that a galaxy note in your pocket May 04 10:55:31 is there a way to download to a file what is viewed via a WebView using a button I created? May 04 10:55:45 like a pdf or txt May 04 11:11:03 I could not see notification.number working on my emulator properly. At times it works weird. May 04 11:18:41 HI all! May 04 11:35:22 Hey! Is there any way I can set the content view in my main Activity from a SurfaceView class ? May 04 11:41:05 activity.setContentView(this); May 04 11:41:11 No May 04 11:41:18 setContentView() is not a static method May 04 11:41:28 I could create an instance though May 04 11:53:13 SimonVT: At first i imported it as a project and referenced it as a project in eclipse, i also said that it had do be build before my main project and that it should be exported too. Now i tried to just use the ViewServer.java file in my own project. Nothing worked :/ May 04 11:59:18 can u align text on a button? May 04 12:07:17 Gaz´: Yes, use some math May 04 12:07:44 Gaz` * May 04 12:09:42 hmmm May 04 12:16:11 mad1231999 what u on about :) May 04 12:16:15 makes no sense May 04 12:27:03 can u align text on a button? May 04 12:27:22 Align in relation to what? May 04 12:27:29 well like make the text go to the left May 04 12:27:32 of the button May 04 12:27:36 How do I make aapt ignore HTML files in the resource tree? May 04 12:27:48 gaz`: Gravity should work. May 04 12:27:59 doesnt do it tho May 04 12:28:34 cahnges actual button shape May 04 12:29:22 its like the button gets smaller height and wiodth ways May 04 12:29:23 weordly May 04 12:29:26 weirdly May 04 12:29:31 gaz`: Uhm, just by using gravity? May 04 12:29:41 yes May 04 12:30:12 How about pastebinning that xml of yours. Assuming it's xml-based layout you're doing, of course. May 04 12:31:10 http://pastebin.com/TpyWf9tr May 04 12:33:32 aapt is com.android.ant.AaptExecTask May 04 12:34:08 Hello May 04 12:34:44 gaz`: Damit, I haven't got my environment up on this computer. It'll take me a while, but for the sake of trying to figure this out, which button is problematic? May 04 12:34:51 gaz`: Or it's all of them= May 04 12:35:08 AaptExecTask is undocumented May 04 12:35:19 well bottom button i want "event tickets" to align left May 04 12:35:22 rather than center May 04 12:35:30 i could just add spaces after the string May 04 12:35:33 but seems silly May 04 12:35:38 and may not work on diff phone May 04 12:35:39 s May 04 12:36:21 Set the size to 0dp in the orientation of the linearlayout when using weight May 04 12:36:48 gaz`: You should definitely make the layout work instead of quirking with "empty" characters for spacing. May 04 12:37:53 Can someone tell me how can I have a Service (that I made) communicate with an application(that I made). The service retrieves GPS Location and the app is going to send it to the GUI, so the user can see it. May 04 12:40:42 Can someone help em with a problem? I get an error when I press the MenuButton saying "Start". Code: http://pastebin.com/vhArJ9Cr May 04 12:40:59 hey guys May 04 12:41:03 I have a copywrtie issue May 04 12:41:26 if soemone indexes a site uses the TM'd name and content (images text) of someone else May 04 12:41:35 and is sellign it for 1 dollar on googleplay May 04 12:41:43 how does one go about getting something like that taken down? May 04 12:41:51 mad1231999: setcontentview before initMenus... May 04 12:42:01 Can someone tell me how can I have a Service (that I made) communicate with an application(that I made). The service retrieves GPS Location and the app is going to send it to the GUI, so the user can see it. May 04 12:42:20 intent Tsukaza May 04 12:42:31 !topic RTFM May 04 12:43:52 Tsukaza: http://developer.android.com/guide/topics/fundamentals/services.html May 04 12:44:13 Ty May 04 12:44:21 ill check out May 04 12:44:27 Ivru: I already did May 04 12:45:11 Tsukaza: if you only need gps position when the user is looking at your activity then you wouldn't even need a service May 04 12:45:58 appel1 I will have something extra to do this, and I have more services communicating with this application May 04 12:46:12 I just gave 1 example May 04 12:47:17 mad1231999: I'd rethink what you're doing in WordMaker May 04 12:47:30 new'ing an activity May 04 12:47:36 Then starting another instance of it May 04 12:47:42 SimonTV: How would I do it another way? May 04 12:47:45 what is aapt.resource.filter? May 04 12:47:49 Also, keeping static reference to an activity.. May 04 12:48:15 I don't know, I don't make games May 04 12:48:36 someone give this a look please http://pastebin.com/0wuwEVUw I keep getting this error: http://pastebin.com/rwN6Dwj7 and I'm not really sure why May 04 12:48:36 SimonTV: How would I not keep a static reference? May 04 12:49:47 I don't know what you're doing.. But 1. don't keep a static reference to an activity 2. don't new an activity May 04 12:51:05 SimonTV: The reason I newed it was because I wanted to be able to call setContentView from outside the class. May 04 12:51:17 3. don't setcontentview from outside an activity May 04 12:52:54 haha May 04 12:52:58 is there any reason forthe last noe May 04 12:53:02 despite it seeming weird May 04 12:53:10 i think the static one avoids mem leaks right May 04 12:54:14 i still get mem leaks no matter what i do May 04 12:54:21 this app im doing all sorts to try and avoid May 04 12:54:21 It just seems as a sign of bad design May 04 12:56:28 Anyone? May 04 12:56:34 mad1231999: sit, have a bagel, do a brain teaser, and re-evaluate your junk based on what SimonVT said May 04 12:57:11 PrivateAlpha: Something is null in your adapter May 04 12:58:09 Heh I figured that much out May 04 12:58:21 Look at the line number May 04 12:58:23 Look at your code May 04 12:58:24 man something is always null May 04 12:58:37 Hopefully there's only a few things that can be null May 04 12:58:48 Or, set a breakpoint and use the debugger.. inspect variables May 04 12:59:54 anybody used ORMLite within a project. I have just built a test app and it seems to work pretty well. Any issues or problems that anybody has come across using it? May 04 12:59:59 temp = mDb.query(DATABASE_TABLE, new String[] {KEY_ID}, null, null, null, null, null); well its one of those :/ May 04 13:00:04 SimonVT: why would he want to add more breakpoints, he already has one from the exceptionn May 04 13:00:25 my android hoodie should be here today May 04 13:00:27 PrivateAlpha: Well, there's only mDb that can cause a NPE there May 04 13:00:41 mikedg: oh dear May 04 13:01:48 SimonVT: you think mDb is null? May 04 13:01:58 yes May 04 13:04:03 Also, don't catch Exception ;/ May 04 13:06:54 SimonVT: I'm using the SQLiteOpenHelper to open but if its returning null then I'm not sure how to fix it May 04 13:07:33 so anyone have any thoughts on stolen content uploaded to googleplay May 04 13:07:34 ? May 04 13:07:49 Got it to work May 04 13:07:58 is it difficult to take it down, is it hard to proof? May 04 13:08:07 PrivateAlpha: are you sure it's not throwing an exception when you try to open? May 04 13:08:26 i know others have had their googleplay account frozen and terminated for using family guy voices May 04 13:08:31 Doesnt look like it May 04 13:08:41 proove* May 04 13:09:17 if I compile native stuff with ndk api version 14, would it work in api version 8? by default ndk-build seems to look at targetSdkVersion and not the minimum... May 04 13:12:39 I have a problem with my app: When I close the app and come back, the thread has stopped. How can I detect if the user opens the app again? May 04 13:15:30 mad1231999, http://developer.android.com/guide/topics/fundamentals/activities.html see managing lifecycle May 04 13:15:48 generally, you do not want to have a single thread running around May 04 13:16:26 mad1231999 service May 04 13:26:23 I've got a requirement to show an invoice (say a .png) on a tablet and allow a user to sign the signature line. Is there a was I can present the image, allow them to touch paint in a small area of the image and then grab the image with the signature? May 04 13:26:37 s/was/way/ May 04 13:27:46 how do i make a checkbox read-only? May 04 13:27:53 How can I specify aapk -0 in an ant build? May 04 14:02:34 Hi. I am using a GridView with some TextView's. How do I add a small footer under each TextView? I know that would be by adding another TextView, but I don't know how to place beneath the header May 04 14:04:33 yawn May 04 14:05:00 http://ekh.me/gridview.png May 04 14:05:16 I need to add a price beneath each item May 04 14:06:24 ekh, so rather than using what i assume is a TextView, use a EkhCustomView that contains two TextViews May 04 14:06:24 or something May 04 14:06:56 Anyone know what the rate limit block on licensing checks is? Ie for how long Google block requests for over use May 04 14:07:30 google blocks that? May 04 14:07:31 uh oh May 04 14:07:33 * Ge0rG is heading back from $customer. convinced them to implement the pilot on android instead of ios \o/ May 04 14:07:41 yay Ge0rG :) May 04 14:07:44 android first is easier May 04 14:07:47 canadiancow|work: Yes, if you request too often you get blocked for some time May 04 14:07:52 because then you have to adapt a flexible deisgn to 320x480 May 04 14:07:59 rather than a 320x480 design to everything May 04 14:08:01 canadiancow|work: nice, how do I control their position? May 04 14:08:01 Which is a bit annoying when trying to write a service May 04 14:08:08 theneb, doesnt the play store app cache the response? May 04 14:08:08 canadiancow|work: it sure is. especially for somebody like me who has 0 ios experience ;) May 04 14:08:13 Ge0rG well that too May 04 14:08:19 i just mean in general May 04 14:08:34 canadiancow|work: Yes, we cache the response. However we're testing various combinations for our app May 04 14:08:45 not "we" - the play store app May 04 14:09:00 you ask vending.apk if you're licensed May 04 14:09:02 vending.apk has a cache May 04 14:09:15 or so i thought May 04 14:09:32 Curious, I haven't looked where the request goes after ILicensingStub May 04 14:09:36 i could see there being an installation limit if it had to hit the server every time May 04 14:09:41 but i dont think it does May 04 14:09:50 I believe it uses something with a base64_decoded activity May 04 14:10:14 canadiancow|work: How about this, the CustomView extends ListView? Or is there an easier approach? May 04 14:10:29 But wouldn't it be too much ListViews inside each cell of the Grid? May 04 14:10:46 s/but/and May 04 14:10:52 canadiancow|work: especially important also because the app is going to use NFC ;) May 04 14:11:12 is it possible to start the android launcher directly with the app-grid view? May 04 14:11:49 ekh: I dont think you can include a listview into a gridview May 04 14:12:00 no ekh May 04 14:12:05 CustomView extends LinearLayout May 04 14:12:07 or RelativeLayout May 04 14:12:11 so the CustomView uses RelativeLaytout? May 04 14:12:12 k May 04 14:12:23 Ge0rG lol May 04 14:12:33 YO DAWG I HEARD YOU LIKE LISTVIEWS May 04 14:13:04 k May 04 14:14:08 ,oO( InvalidUsername is invalid. ) May 04 14:14:17 Redundant Ge0rG is redundant! May 04 14:14:19 :D May 04 14:14:50 canadiancow: Moo :-P May 04 14:16:35 Hey, what's the standard people use for getting a unique phone id? May 04 14:16:35 haha. the lady sitting in the other row on my train is using her smartphone as a make-up mirror. yay for hightech! May 04 14:16:50 Anyone have an idea why mdb is returning null in this class http://pastebin.com/0wuwEVUw ? May 04 14:16:52 Drewch DONT May 04 14:17:03 Hey canadiancow May 04 14:17:08 there is only one good reason ive ever heard of for doing that May 04 14:17:11 and "good" is debateable May 04 14:17:14 Drewch: generate a uuid May 04 14:17:17 How come? Just wondering what the standard is for people May 04 14:17:33 because tracking devices is not useful May 04 14:17:38 under almost any circumstance May 04 14:17:45 PrivateAlpha: Down in line 106? May 04 14:17:50 if i sell my phone, and you have a unique device ID, what happens? May 04 14:18:06 u sell ur unique id May 04 14:18:07 ? May 04 14:18:09 what if you have a license and want to ensure only one phone is using it within a month? May 04 14:18:14 * Ge0rG is going to need some way to encrypt sensitive info on the phone without asking the user for a password every time. May 04 14:18:28 phoneID will only be used to disambiguite between different devices with the same primary UserID May 04 14:18:31 Ge0rG good luck with that ;) May 04 14:18:37 (Which is generated UID) May 04 14:18:51 rking: line 103 I dont think that line is returning anything but null May 04 14:18:59 Ge0rG: i do that in my app, but you have to understand the fact that anyone can decompile your app and recover the algorithm May 04 14:19:00 isn't limiting app usage a ToS violation? May 04 14:19:00 Jug6ernaut: yeah, its always an arms race. May 04 14:19:01 asfdd, license software to users, not devices May 04 14:19:27 Ge0rG: it's the user's responsibility to password protect their phone, etc... May 04 14:19:28 doesn't spotify license to devices and users? May 04 14:19:35 no? May 04 14:19:37 PrivateAlpha: For me, line 103 is a blank line after the fetchKisses() declaration. May 04 14:19:37 Ge0rG i just dont see any valid way of doing it, with how reverse engineerable java is May 04 14:19:38 if i buy something on my galaxy nexus, and then decide i need to switch to my nexus one for a week, and the software stops wokring, i will kick you in the balls May 04 14:19:39 i thought they did May 04 14:19:49 Ge0rG you best bet imo is to go native May 04 14:20:06 canadiancow: It won't stop working May 04 14:20:07 wongk thats not the issue, its malicous software May 04 14:20:18 wongk: thats why I will use super-high-security crypto, like double-rot13! May 04 14:20:21 Ah rking its "mDb = mDbHelper.getWritableDatabase();" that I'm taking bout May 04 14:20:55 Jug6ernaut: my problem is rather how to get a unique key that is only available on the device. May 04 14:20:57 Drewch, i was talking to asfdd there May 04 14:21:04 canadiancow: oh ok May 04 14:21:13 Ge0rG the devices UID isnt enough? May 04 14:21:13 Drewch, if you want to identify unique installations, and just generate your own UUID, im cool with that :) May 04 14:21:16 Jug6ernaut: which of course wont protect against rooting malware May 04 14:21:20 rot26 is more secure than double-rot13 May 04 14:21:20 Jug6ernaut: android is pretty secure, someone would have to discover an exploit to get any useful information (or trick the user into letting the app run as root) May 04 14:21:23 but if you use something like the IMEI, i am not cool :( May 04 14:21:31 it has twice the half life May 04 14:21:55 damn you arkham city for $15 May 04 14:21:56 canadiancow: Do you use some data from the phone to do it, like a Hash of Mac Addr and Serial number, or do you just generate a random UUID May 04 14:22:02 i dont do it May 04 14:22:07 because i have no need to track that May 04 14:22:08 PrivateAlpha: Well... it looks roughly right to me (but keep in mind I'm new at this). Does it work from the sqlite3 shell? May 04 14:22:11 and i suspect neither do you :P May 04 14:22:13 either way, someone would have to write malware that specifically targets his app May 04 14:22:22 very unlikely May 04 14:23:23 that depends on the popularity of the app May 04 14:23:25 rking: what sqite3 shell ? :/ May 04 14:23:45 PrivateAlpha: Do you know the filename of your database? May 04 14:23:49 and also on what you can do with the reverse engineered data. May 04 14:24:07 if it gets you free chocolade... mhm! :D May 04 14:24:13 rking: no clue, I guess I could try to find it, why? May 04 14:24:56 PrivateAlpha: In a shell (such as "adb shell" or a terminal App), you can do: sqlite3 foo.sqlite then it puts you in an interative SQL environment. May 04 14:25:02 why oh why is there no secure key storage on android?? :( May 04 14:25:27 rking: only works when rooted. May 04 14:25:37 PrivateAlpha: From there you could check: select * from data; and see if it's returning results. If not, you need to figure out why (wrong table name? not populating data like you think? etc.) May 04 14:25:38 Ge0rG what do you mean, whats wrong with just encrypting it yourself? May 04 14:25:45 Ge0rG: You gotta be kidding me. =| May 04 14:25:59 lol May 04 14:26:07 PrivateAlpha: OK then - if you don't have root then adb pull the file and use your desktop for sqlite3. May 04 14:26:25 encrypting hisself would mean he would have to prompt the user for a password, or live with the fact that someone can decompile his app May 04 14:26:32 rking: adb pull will also only work when rooted. May 04 14:26:37 wongk yea May 04 14:26:40 Ge0rG: Surely not. May 04 14:26:58 Ge0rG: Not one bit of this makes sense. Why would root be required for either? May 04 14:27:15 i personally went the non-password route May 04 14:27:28 rking: terminal apps run with a different user id, and android permissions prevent access to other apps storage. May 04 14:27:39 Aha. May 04 14:27:49 Ge0rG: Actually that makes sense. =D May 04 14:27:51 wongk if think about that, if it gets decompiled, that means the user has installed a non market application, which you shouldnt be supporting anyways May 04 14:29:03 or, their phone was rooted, not password protected, and stolen by a hacker who really wanted their data :P May 04 14:29:12 xD May 04 14:29:15 Jug6ernaut: the problem is not with "supporting" evil h4x0rs but with preventing them from ding any damage to sensitive data ;) May 04 14:29:18 i'm not worried about either scenario :P May 04 14:29:46 wongk yea me nether, my concern is piracy May 04 14:29:53 omgpiracy! May 04 14:30:06 * wongk meeting May 04 14:30:17 * Ge0rG still has >60% of his users paying for the app, despite it being available on the homepage as an apk download. May 04 14:30:33 Ge0rG: Wow. What app, btw? May 04 14:30:45 rking: http://aprsdroid.org/ May 04 14:32:23 Ge0rG what does this do? May 04 14:32:43 Jug6ernaut: geolocation of ham radio operators May 04 14:32:43 Ge0rG: Aha! Cool. =) May 04 14:33:03 interesting May 04 14:33:11 more popular then my apps hehe May 04 14:33:13 a.ka. replace a 600$ ham rig with a 5$ smartphone app ;) May 04 14:33:18 How can I create a new folder to hold some files? May 04 14:33:45 File f = new FIle("somepath); f.mkDir() or soething May 04 14:34:07 Ik, I don't want to create it from inside the code May 04 14:34:13 I want a directory that I can save files in May 04 14:34:18 Ge0rG ahh nice May 04 14:34:22 Jug6ernaut: That is /very/ approximate. =) May 04 14:34:23 But if I make on in the res folder, I get an error May 04 14:34:38 mad1231999: What's the error? May 04 14:34:46 mad123199 you mean in eclipse? what files? May 04 14:34:54 Rking: May 04 14:34:57 Ooops May 04 14:35:00 damn. remaining laptop battery: 25min; remaining train tour: 90min. May 04 14:35:06 ouch May 04 14:35:10 Something with an invalid name¨ May 04 14:35:11 I have an error with my build.xml:627: null returned: 1 and at the line there is "projectLibrariesPackageName" May 04 14:35:25 I'm making a game, and I need to store files May 04 14:35:40 Is there anything special about File IO with Android ? May 04 14:35:58 I don't find this issue on the net, maybe here I will find help May 04 14:36:09 mad1231999 yea May 04 14:36:20 u need to ether put that in the /raw folder or /assits folder May 04 14:36:25 Jug6: What? I could not find anything about it online May 04 14:36:29 Ohh May 04 14:36:37 does the NFC adapter in android phones have any identifying information, like a MAC address? May 04 14:36:38 1 sec May 04 14:36:39 s/assits/assets/ May 04 14:37:14 So do I read from it using the R class or just "assets\\\\" ? May 04 14:37:25 mad1231999 http://mylifewithandroid.blogspot.com/2009/06/assets.html May 04 14:37:36 should be everything u need May 04 14:38:07 Thanks May 04 14:38:20 np May 04 14:42:26 what is the best way to synchronize CHANGES ONLY between mysql and sqlite? May 04 14:43:09 getClass().getClassLoader().getResourceAsStream("Resource_Name") <- Can I use that to get a file in my java package? May 04 14:43:14 find an application that does that May 04 14:44:07 Does anyone know why I would not be able to use https at all in my virtual device (AVD)? May 04 14:44:16 Actually, just ClassLoader.getResource(), convert the URL, and make a FileInputStream out of it ? May 04 14:44:47 My app does not work, and I verified that the browser does not work in HTTPS either. May 04 14:45:08 Jonathan_Eyre: Oof. I hate SSL issues. May 04 14:45:52 Jonathan_Eyre: never run into that, it's always worked for me May 04 14:46:09 Jonathan_Eyre: is the time set correctly? May 04 14:47:40 evancharlton, im on a boat May 04 14:47:48 How would I check/change the time? (And how would that screw everything up?) May 04 14:48:05 Same way you'd change the time on your device May 04 14:48:14 In settings! May 04 14:48:40 In any case, I wiped all my AVDs and I made a new one. We'll see if that fixes things. May 04 14:49:31 To understand fully, if the time is wrong, all HTTPS sites are automatically blocked? Seems lame. May 04 14:51:16 Jonathan_Eyre ur doing something wrong lol May 04 14:51:28 Jug6ernaut: Agreed. May 04 14:51:44 Jonathan_Eyre: ssl certs are only valid for a limited time. May 04 14:52:30 * Ge0rG had the issue recently on a tablet that refused to open android market with an opaque error message, just because it defaulted to jan 2009 :( May 04 14:52:38 Ge0rG: it's more of a limitation on secure sockets (presumably to prevent MITM? I forget) May 04 14:53:21 evancharlton: how does that play a role? May 04 14:53:31 is that a serious question? May 04 14:54:47 The code to skip backup~ files is hardcoded in AaptAsserts.cpp May 04 14:55:02 evancharlton: I cant follow your argument here, so yes it is May 04 14:55:23 yecril71pl: swing and a miss? May 04 14:57:00 How do you update a string in strings.xml? May 04 14:57:12 heh May 04 14:57:18 PrivateAlpha: you ... change it. May 04 14:57:21 wongk: I would like to exclude .html files from aapk May 04 14:57:23 and then press ctrl+s May 04 14:57:49 ... I meant from within my program May 04 14:57:57 PrivateAlpha: oh. You can't. May 04 14:57:59 You don't May 04 14:58:05 it doesn't work like that. May 04 14:58:14 Ah May 04 14:59:04 Ok so how do I update the text of a TextView? May 04 14:59:15 .setText("Your text") May 04 15:00:16 Ah, Thanks, well my app is "working" now May 04 15:00:29 time to do some debugging May 04 15:00:53 SimonVT, or #setText(int) May 04 15:01:31 Or one of the other setText methods May 04 15:02:49 getResources().openStringResource("strings.xml").set("my_string", "New value!"); May 04 15:03:26 i assume that would not be persisted May 04 15:03:30 or fail May 04 15:03:55 not sure if serious May 04 15:04:38 seems like an odd joke :P May 04 15:04:58 Canadian humor.. Will never understand it May 04 15:07:22 evancharlton, my flgiht's delayed 2 hours May 04 15:16:59 what's that in American time? May 04 15:17:40 How come I get a NullPointerException when doing this: FileInputStream fs = openFileInput("language_" + language + ".wm"); ? May 04 15:18:38 pastebin stacktrace May 04 15:18:50 and/or more code May 04 15:19:40 Jake: http://pastebin.com/iQtwd04K May 04 15:21:18 is language null? May 04 15:21:27 also, yeah, stack trace May 04 15:21:30 Are you calling it before onCreate is run? May 04 15:21:53 SimonTV: No May 04 15:22:42 And language is not null May 04 15:22:58 then 'this' would have to be null May 04 15:23:20 stack trace; maybe it's not where you think it is May 04 15:24:06 my anroid hoodie is awesome May 04 15:24:40 Wongk: I don't use "this" in that method May 04 15:25:23 heh May 04 15:25:27 i beg todiffer May 04 15:26:44 hey guys, protip: make sure your declaration is inside the element May 04 15:26:52 * evancharlton just wasted like 3 hours on this May 04 15:26:55 :P May 04 15:26:56 haha May 04 15:26:56 i love these protips May 04 15:26:57 nub May 04 15:26:58 they should be on a blog May 04 15:27:23 hey guys, protip: make sure you don't try to call a method on a null object May 04 15:27:36 wasted about a million billion total hours on that one May 04 15:27:45 thx for the tip May 04 15:27:50 just a tip May 04 15:28:14 my 'pro tip' this morning was "when working on a radio, turn on the amplifier, before you wonder why your signal is crap" May 04 15:28:53 mikedg: oh is that why I get NullPointerExceptions?! May 04 15:28:58 Help... May 04 15:29:10 I am setting up MediaRecorder May 04 15:29:28 when May 04 15:29:28 recorder.setAudioSource(MediaRecorder.AudioSource.MIC); May 04 15:29:29 May 04 15:29:39 it gives me: unsupported parameter: x-pvmf/media-input-node/cap-config-interface;valtype=key_specific_value May 04 15:30:19 eventually MediaRecorder goes iLLegalStateException May 04 15:30:31 anybody meet the same problem before?? May 04 15:30:37 in c++ i can call a non-virtual methond on a null object and it won't crash until it tries to access a member or a virtual method, is the same true in java> May 04 15:30:46 out of curiosity May 04 15:33:32 Ok, I found out how to do it May 04 15:33:46 vanson2012: consider searching on stackoverflow and/or google. May 04 15:33:58 Also, try looking at the MediaRecorder docs. May 04 15:34:20 lov: My source code is downloaded from Android Official May 04 15:34:32 .... I have no idea what you're even saying. May 04 15:34:52 i searched over google , but everybody meet the same problem and cannot solve it May 04 15:34:57 www.catb.org/~esr/faqs/smart-questions.html May 04 15:35:03 I literally do not understand your problem May 04 15:35:25 Hi. I made an app for android. My harddisc crashed, and the only thing I have left is the app on google play. What information can I extract from the access I have to the app from my publish console? May 04 15:35:50 Hmm May 04 15:36:02 I did a google search for mediarecorder unsupported parameter May 04 15:36:07 do you know what the top result was? May 04 15:36:13 it was an open issue on b.android.com May 04 15:36:17 mads-: you can decompile it, which won't give 100% valid code, but it is better than nothing May 04 15:36:22 did you use proguard? May 04 15:36:48 wongk, can I download the apk file from the console? I don't seem to see the download option May 04 15:36:53 no, I don't think so. What is that? May 04 15:37:06 you'll have to ask google that May 04 15:37:29 you can install the app on a rooted device May 04 15:37:29 mads-: if you lost the signing key, you're hosed anyway. May 04 15:37:35 that's true May 04 15:37:50 at least you will have torelist a new app May 04 15:38:22 this is why you always back up your stuff, kids May 04 15:38:28 Well, that's a shame. I can't ask google for the key or is it some assymetric stuff? May 04 15:38:44 I usually back up most of my work, but this one just slipped through the net May 04 15:39:21 google doesn't know anything about your key May 04 15:41:00 horse crap :( May 04 15:41:04 mads-: yeah, you're boned. May 04 15:41:07 sorry May 04 15:41:34 Thank you for your time, though. With my limited terminology it probably saved me from an hour googling May 04 15:41:41 atleast :) May 04 15:41:46 mads-: i'd like to take this opportunity to introduce you to bitbucket :P May 04 15:41:46 oh.. i am getting frightened May 04 15:42:18 wongk, I already have that. And my other apps are already there. May 04 15:42:25 That is what makes this soo stupid May 04 15:42:29 heh May 04 15:42:43 If I store a file in /assets, does it get uncompressed each time the app is executed? Or does Android cache the decompressed file somewhere on first install? May 04 15:42:44 vanson2012: I'm honestly sorry that I can't help you out here. The best I can suggest is googling around. May 04 15:42:49 were they signed with the same key? May 04 15:42:53 Magnets: it gets cached. May 04 15:45:14 lov do you know where it stores it? May 04 15:46:45 Magnets: the dalvik cache May 04 15:47:19 Guys I implemeneted my own ArrayAdapter but nothing shows on screen. Basicly I have list of colors which I pass to my adapter and set this color to each textview(I have dummy text there) http://pastebin.com/f4ANGTjC May 04 15:47:21 lov: i downloaded a videorecorder source code from oreilly i found its videorecorder working flawlessly, must be my problem im getting angry May 04 15:47:27 Should be easy May 04 15:48:42 I only see dex files in my /data/dalvik-cache May 04 15:49:12 i just implemtend by own ArrayAdapter to be able to pass list of colors and did simple implementation of getView , but seems like it never gets called May 04 15:49:15 Trudko: you're using the wrong arrayadapter constructor May 04 15:49:48 wongk: what do u mean< May 04 15:50:20 Trudko: with your current impl, how would the super class know about your List? May 04 15:50:48 just extend BaseAdapter and do it yourself May 04 15:50:59 it's only about 20-30 lines of code and you'll get full control May 04 15:51:13 wongk: through miracle ? :D May 04 15:51:46 but ok i have to send it data dont I? May 04 15:59:20 Hello, I am using a Dialog manually. I use it to simply show a message and I want it to be hidden when the user touches the screen. As of now I have made it so that it can be hidden by touching the outside of the Dialog and by touching the TextView inside it. What's left is that if I touch the title of the Dialog, it still does nothing. Any ideas? Relevant code is at: http://pastie.org/3859658 May 04 16:03:22 Nevermind, I guess I'll just use an AlertDialog instead May 04 16:13:02 did anyone see this this new debugging tool? May 04 16:13:04 http://vimeo.com/41497912 May 04 16:13:36 Clash of the Coders Winner - ROGER demo by Franklin May 04 16:17:26 noslen_ramingo, that's pretty cool May 04 16:17:31 wouldn't call it a debugging tool May 04 16:18:47 fair point May 04 16:18:56 it's pretty neat though May 04 16:19:14 pfn what would you call it? May 04 16:19:27 it's a development tool May 04 16:20:07 yeah, it's really a development tool, not a debugging tool May 04 16:20:13 for debugging, May 04 16:20:15 it's more for experimenting with layouts rather than debugging them May 04 16:20:19 how do you get init.rc to log to the fs May 04 16:20:43 so I re-flashed my GN to the new 4.0.4 release and my timezone issues are gone May 04 16:20:47 imm30b was screwed up May 04 16:21:05 * pfn <3 being able to fastboot May 04 16:21:08 best thing evar May 04 16:21:28 yarr May 04 16:21:45 <3 fastboot oem unlock :p May 04 16:21:52 pfn: now you see why you shouldn't run leaked builds :P May 04 16:22:03 evancharlton, well, it's a mixed blessing May 04 16:22:17 evancharlton, because now I just make my code that ran into the problem force the timezone to a specific region... May 04 16:22:51 evancharlton, because if one build has this problem, there's always a good likelihood another will May 04 16:26:02 pfn: use CM9 :) May 04 16:26:16 I'm happy with stock builds May 04 16:26:30 for my tab, I'll use cm9 as soon as it's not a snapshot May 04 16:26:47 hah May 04 16:27:06 since samsung looks to be lagging hard getting ics out the door May 04 16:30:34 is there a common way to advertize a foss android app, without putting it on the market? something central like freshmeat or gnomefiles.org or so? May 04 16:30:46 http://www.techspot.com/news/48446-new-android-malware-spreads-via-infected-websites.html May 04 16:30:50 Android is insecure! May 04 16:31:23 rigid: there are a couple of sites around... but none with any traction AFAIK... why not put it on the market? May 04 16:32:45 Leeds: hm i thought there would be some "quasi" standard, yet... May 04 16:32:52 pragma- if ur stupid enought to install some random apk lol May 04 16:32:58 rigid, why wouldn't you put it on market? May 04 16:33:04 various reasons... 1st the cost, 2nd the fact that it's centralized to a corporation May 04 16:33:04 rigid: standards in the foss community? May 04 16:33:04 rigid: I actually own flossdroid.org :) May 04 16:33:14 ah, evil corporation May 04 16:33:21 Floss? May 04 16:33:25 the cost? May 04 16:33:30 evancharlton: yeah :) like gnomefiles.org or freshemat.net May 04 16:33:32 $25 for a lifetime license is expensive? May 04 16:33:38 rigid, just host it on github May 04 16:33:44 Leeds: flossdroid.org or fossdroid.org ? May 04 16:33:48 or freshmeat, or sourceforge, or whatever May 04 16:33:52 pragma-: yeah, like for your teeth May 04 16:33:54 lifetime my butt. there will be another charge eventually. May 04 16:34:02 * pfn shrugs May 04 16:34:04 it's paid for itself May 04 16:34:05 rigid: flossdroid.org May 04 16:34:13 don't really care if there's another charge May 04 16:34:17 fossdroid.org is unowned May 04 16:34:19 Yeah Corporations suck May 04 16:34:19 pfn: yeah that's what i'm currently doing, but i thought there's some more android-focused platform... so users can search by android permissions etc. May 04 16:34:27 there isn't May 04 16:34:28 write one May 04 16:34:40 phew... no time :) but it would be nice May 04 16:34:46 * pragma- swiftly registers fossdroid.org and holds out for the highest bidder. May 04 16:34:53 lol May 04 16:34:57 I can't even find a used Google Android phone anywhere that is junk May 04 16:34:59 and I guess it wouldn't bring money (or would be annoyingly stuffed with ads) May 04 16:35:09 rigid: but you expect that someone else would have done it? May 04 16:35:15 The Ads nowadays are killing me May 04 16:35:29 rigid, $25 to use google's infrastructure is very compelling May 04 16:35:31 Ads for stuff you dont even really need May 04 16:35:33 Leeds: yes... someone with more money to invest into bandwidth etc May 04 16:35:42 s/invest/donate/ May 04 16:35:54 rigid, especially since you don't lose anything by putting it there May 04 16:35:55 eh, whatever May 04 16:35:57 its a recession/depression good luck with that May 04 16:36:01 pfn: i'm giving the code and the app away for free (no ads)... how stupid would I be to pay $25 for it? May 04 16:36:07 i mean, $25 isn't much for sure May 04 16:36:15 not stupid at all? May 04 16:36:22 rigid: so put it on your own free and ad-free site and let people find you? May 04 16:36:22 +1 May 04 16:36:26 but I don't have an app that would bring money to justify spending the money May 04 16:36:32 evancharlton: why? May 04 16:36:49 wow, freshmeat got so close to dead that they renamed it... May 04 16:36:51 yeah that is true you can find a free hosting site and do it that way May 04 16:36:53 maybe I'm solidly in first-world territory, but dude, you've wasted $25 of man-hours asking the question May 04 16:36:53 if you're spending time writing something, and $25 isn't worth it to promote it... May 04 16:37:05 I'm trying to understand how apps authenticate (and remains authenticated) with a server.. I'm kinda looking for a solution like that of Wordfeud's.. Any ideas on this? May 04 16:37:08 what you're writing sounds rather worthless May 04 16:37:11 evancharlton: you'd pay for enabling you to give something away for free? :) May 04 16:37:23 yes May 04 16:37:24 i did May 04 16:37:27 people pay for sourceforge and github, etc. May 04 16:37:33 Free as in Free Software right ? May 04 16:37:33 and then the thing i gave away for free went on my resume May 04 16:37:35 and got me a job May 04 16:37:38 and now i make boatloads of money May 04 16:37:43 best $25 i ever spent May 04 16:37:53 evancharlton: no, asking the qestion gains me knowledge... paying $25 just gives me a market account May 04 16:37:56 funny thing about putting it on google play is that 5,000 other websites regularly trawl and scrape google play for new apps that the other websites happily copy and upload to their own sites to provide even further free advertising for you May 04 16:38:02 rigid: what are you writing, anyway? May 04 16:38:13 pfn: github & sf is free if your stuff is public/free May 04 16:38:18 so if you upload it to google play, you can count on seeing your app on 5,000 other websites suddenly May 04 16:38:19 rigid, up until a limit May 04 16:38:32 Well you know they want to make your Android phone your new wallet right May 04 16:38:36 pragma-, yeah, I saw that, pretty handy May 04 16:38:38 Leeds: i wrote a small Birthday reminder app w/o internet permissions & stuff.. very simple, nothing i could charge for May 04 16:38:47 No one? May 04 16:38:49 I just don't trust electronic transactions May 04 16:38:54 doesnt google calendar do birthday reminders? May 04 16:38:58 it's still so shady May 04 16:39:02 xarxer, use the account manager api May 04 16:39:05 pfn: i would be perfectly happy if the Market would be free for 300MB (github limit) for free & open projects May 04 16:39:06 you are giving up too much control May 04 16:39:13 I rather have my cash in hand May 04 16:39:16 i trust electronic transactions more than giving my physical card to some minimum wage cashier May 04 16:39:18 rigid, I don't care, honestly May 04 16:39:25 rigid, $25 for free distribution is fine with me May 04 16:39:27 i dont trust cash at all May 04 16:39:32 canadiancow, omg they got you May 04 16:39:40 if you have a problem with that May 04 16:39:43 (side note, I hate typing google play -- I feel like some kind of corporate shill or something) May 04 16:39:45 rigid: 300MB of what? May 04 16:39:50 waste your own time and money building up something or finding something to do it May 04 16:39:52 pragma-: GPS - Google Play Store May 04 16:39:54 :) May 04 16:39:58 canadiancow, You might as well ask for your implantable RFID microchip right now May 04 16:40:01 pragma-: so call it the market like most people still do :) May 04 16:40:01 canadiancow: that won't be confusing at all May 04 16:40:02 I just say the play store, or app store, or market May 04 16:40:02 pfn: If I make an instance of accountmanager in my app and use accountManager.getAccounts(), does that only return accounts that are visible to my app? May 04 16:40:05 I don't care what it's named May 04 16:40:05 too easily confused with geoposition service May 04 16:40:06 pfn: would you donate it? :D well, it's not much... but i'm already spending a few bucks worth of my time... and honestly i don't care if people find it on github or not May 04 16:40:11 rigid: you can get free hosting at google code May 04 16:40:12 evancharlton: I DIDNT COME UP WITH THE NAME May 04 16:40:14 xarxer, no May 04 16:40:18 but i thought it would be nice if more people become aware of it May 04 16:40:21 After Android phones they are going to microchip your back side May 04 16:40:28 rigid, if it's something I wanted, I'd consider donating it May 04 16:40:43 Phones can be stolen but an implantable android microchip can't May 04 16:40:44 Leeds: yeah, i'm on github currently... but i wanted to seek something more focused on android... like play May 04 16:41:10 Stealing an Android phone will soon be just like stealing someones wallet May 04 16:41:17 no May 04 16:41:19 rigid: the market is a distribution, payment and (a bit) discovery platform, not a hosting thing May 04 16:41:22 because you need passwords to use google wallet May 04 16:41:24 unlike cash May 04 16:41:27 pfn: Since I only see my email address along with "Stocks" and something more, does that mean that for example Wordfeud is using my email address as account? May 04 16:41:30 canadiancow, lol May 04 16:41:33 pfn: well, i guess you, like 99% of all android users, don't care if your birthday app sends your phonebook to some server secretly in the background... so you probably don't want it (since there's plenty of alternatives) May 04 16:41:42 canadiancow, Cash is king in this Economy May 04 16:41:42 Quantum_Ion: essentially everyone where I live uses electronic payments essentially every day May 04 16:41:47 no it isnt May 04 16:41:50 cash is for old people May 04 16:41:58 canadiancow, lol they got you man May 04 16:42:00 Leeds: i see... the discovering part is bad btw. (just to comment) May 04 16:42:03 ... May 04 16:42:06 canadiancow, The NWO owns you May 04 16:42:08 xarxer, no, wordfeud can handle their account management internally May 04 16:42:13 i guess google will make it free for foss projects in the future... May 04 16:42:17 rigid: bad as in "badly done" or bad as in "an evil thing"? May 04 16:42:21 i guess right now, there's no need to May 04 16:42:25 Quantum_Ion, tkae your conspiracy theories out of this channel May 04 16:42:43 canadiancow, Man you are so owned I swear May 04 16:43:00 Leeds: i guess both... you can't tell me that google isn't able to implement a "search by permission" filter... so i guess it's not something they've "just overseen" May 04 16:43:00 evancharlton, can you +o me for 10 seconds? May 04 16:43:12 Leeds: i guess it's politics why they haven't done it. May 04 16:43:15 * pragma- moons canadiancow May 04 16:43:21 lol May 04 16:43:34 aw. May 04 16:43:42 pfn: Okay, splendid.. Any ideas on a app <--> server structure that would make the app stay authenticated until it's manually killed? May 04 16:43:51 rigid: see, you're getting into conspiracy/paranoia now... May 04 16:43:51 that was only 3 seconds May 04 16:43:52 T_T May 04 16:43:56 I seen this coming with Android May 04 16:44:05 xarxer: store the auth token in memory May 04 16:44:11 Leeds: huh? why do you think you can't search by permission in google play? May 04 16:44:15 an implantable Android RFID chip was the next step May 04 16:44:21 canadiancow: they did that to me in ##java earlier this week May 04 16:44:29 pragma- lol May 04 16:44:34 Leeds: because they forgot to implement it? or coders were too stupid to do it? nah.. May 04 16:44:43 Those dudes in Java are wack May 04 16:44:44 rigid: why would that be useful? May 04 16:44:58 because no one cares May 04 16:45:04 evancharlton: So auth tokens are tokens that the server generates which, if the app has a valid one, allows the app to communicate with the server? May 04 16:45:05 rigid: or because they think the vast vast majority of users would be confused, or at least uninterested May 04 16:45:12 "let's see how many apps use the INTERNET permission? oh, 350,000 apps. Well, that was helpful..." May 04 16:45:14 evancharlton: to filter by permissions? is that a serious question? Why would it be useful to use google image search by filetype? May 04 16:45:18 xarxer: yes May 04 16:45:28 my boss tried to pay me in electronic cash May 04 16:45:30 rigid: search by permission or filter by permission? May 04 16:45:35 Quantum_Ion: hey bro, no one cares May 04 16:45:40 I told hem I want my cash you hear me May 04 16:45:42 evancharlton: Great.. Now I'm kinda understanding this.. thanks :) May 04 16:45:47 evancharlton: both... since permissions are boolean May 04 16:45:49 Quantum_Ion: you are literally the only person in this channel who cares May 04 16:46:04 I might care... May 04 16:46:08 rigid: file a feature request May 04 16:46:11 pragma-: but you don't May 04 16:46:11 [12:42:59] evancharlton, can you +o me for 10 seconds? May 04 16:46:18 Leeds: i really doubt that, that's not google's policy, it's apple... Google provides open APIs and everything where 99% of all users would be confused or don't need it May 04 16:46:20 Well, I *could* May 04 16:46:33 rigid: you misunderstand google May 04 16:46:33 evancharlton, I just dont want to be owned by the system May 04 16:46:36 Currency is always currency...? May 04 16:46:38 evancharlton: do you think they would care? May 04 16:46:43 holy balls May 04 16:46:45 Quantum_Ion: good for you. Now stop talking about it in here. May 04 16:46:47 For all I care, I can be paid in bitcoins May 04 16:46:50 #gtfo please May 04 16:46:50 rigid: one way to find out. May 04 16:46:52 Once the system owns you...you are done May 04 16:46:55 * canadiancow joins #android-dev-dev May 04 16:46:59 Leeds: maybe... i just compare google products from the customer (user/developer) view May 04 16:47:03 s/view/perspective May 04 16:47:20 or do it yourself May 04 16:47:22 that works too May 04 16:47:25 :) <3 May 04 16:47:39 evancharlton: true May 04 16:48:14 off-channel abuse to evancharlton in 3... 2... 1... May 04 16:48:36 Leeds: meh, I know how to work /ignore May 04 16:48:40 :P May 04 16:48:52 I generally find it amusing May 04 16:49:09 ugh, I hate binary formats that don't specify a full payload header up front May 04 16:49:13 * pfn looks again May 04 16:49:24 anyway, many tnx for now guys May 04 16:49:28 /msg SomeGoogler OMFG ASSHOLE FUCKHEAD WHY WONT YOU HELP ME IWTH UFCKING APP COM.MYNAME.MYAPP DUMBFUCK? May 04 16:49:33 i'll try my luck with a feature request :) May 04 16:49:33 i wonder what the result of that would be... May 04 16:49:36 personal abuse, threats to complain, appeals to my better nature, claims I don't have the right, etc. May 04 16:49:38 * pragma- /kick canadiancow May 04 16:50:09 Leeds: are you a 1st year op or something? May 04 16:50:17 more like UPDATE apps SET suspended = 1 WHERE packageName LIKE "com.myname.%" May 04 16:50:41 pragma-: very much not May 04 16:51:59 o hai romainguy May 04 16:52:07 speaking of SomeGoogler :) May 04 16:52:12 lol May 04 16:52:37 i would never send a message like that :) May 04 16:55:35 evancharlton: Sorry.. Any ideas on how to generate auth tokens in a unique manner? May 04 16:56:31 how can I simply just check if my Cursor's select statement returned null? May 04 16:58:38 xarxer: UUID? May 04 16:59:52 evancharlton: Like the device's MAC? May 04 17:00:09 xarxer: no, I mean java.util.UUID May 04 17:00:15 evancharlton: Oh.. May 04 17:00:32 Never used it before.. hmm May 04 17:04:49 rigid: if you didnt want to pay the $25, you could ask someone else to put it on for you who already had an account May 04 17:06:52 Can I be sure of java.util.UUID.randomUUID(); to never generate the same two id's? May 04 17:07:55 never between now and the heat death of the universe? no... never for the likely lifetime of your app? probably May 04 17:08:14 Leeds: Okay, thanks :) May 04 17:14:29 has anyone seen this on ICS https://gist.github.com/2596303 May 04 17:15:16 I'm using two custom views in an activity and they work find on 2.2->2.3 I just tested on ICS and I get that error ^^ May 04 17:15:24 fine/find May 04 17:17:10 help me understand, if my activity binds to a service and I run a method/interface in that service, the data passed is actually marshaled to the service and the code runs in the service, right? May 04 17:17:50 litewait: incorrect May 04 17:18:23 there's not such a thing as "running in the service" May 04 17:18:57 hello, is the a command line ssh client for android? ie from within adb shell to be able to execute ssh May 04 17:19:20 wongk: I have a long running service and I want from an activity in the application to pass some data method in the service where am I? May 04 17:19:28 litewait: assuming you are talking about a service local to your process May 04 17:19:35 yes May 04 17:19:37 Can I create a Content Provider that doesn't store data locally and instead is an interface to a remote data source? May 04 17:19:56 litewait: your question doesn't parse May 04 17:20:37 I guess no one has seen my error May 04 17:21:09 dantheman: sorry, I don't have any ICS devices :/ May 04 17:21:31 nplus: :( May 04 17:21:32 I have a long running service started by an activity in the same process. if I bind to that service in another activity and call a method in the service the code is running (and has access to everything in) the service, right? May 04 17:21:41 i hate designers that want to butcher my hard work May 04 17:21:44 dorei: probably. Go find a copy of dropbear that's been crosscompiled. May 04 17:21:54 litewait: common misconception is that a service "runs" May 04 17:21:57 it just sits there May 04 17:22:01 it's like any other class May 04 17:22:04 dorei: if you're running a custom rom, you might actually have one already installed. May 04 17:22:08 it's essentially a singleton May 04 17:22:10 litewait: a service is a class May 04 17:22:26 litewait: its the same as calling the method on another class May 04 17:22:27 ok so I am running a method in a class…period May 04 17:22:31 ya May 04 17:22:33 photoshopping a galaxy nexus screen shot onto a galaxy s 2 May 04 17:22:51 litewait: what do you want your service to do? May 04 17:23:14 service is responsible for getting and posting GPS fixes May 04 17:23:19 * readme was just looking at older API samples May 04 17:23:31 LiveFolder... o_O what were they thinking. May 04 17:23:50 at the time, I bet I would have thought it was cool May 04 17:24:02 activity in a single unrelated case wants to pass it's own fix to be queued with the other fixes May 04 17:24:55 Can I create a Content Provider that doesn't store data locally and instead is an interface to a remote data source or should I create a service and use AIDL for my other applications to get the data? May 04 17:25:23 litewait: read this http://code.google.com/p/android-protips-location/ May 04 17:25:42 readme: great, thanks May 04 17:29:55 do I need to use an .aidl to expose methods in my service as an interface, or is there another more direct way? May 04 17:31:02 or is that only require for non-local services May 04 17:31:14 that is for non-local services May 04 17:31:18 yeah May 04 17:31:20 is twitter fucking up for anyone else right now? May 04 17:31:25 just expose a binder for local services May 04 17:31:28 Alright, I'll try another question.. how/where should I store the username/password for my application to communicate with my server? I'm using SRP for authentication & to generate a session key, but the session key shouldn't be persisted for a long period of time. May 04 17:32:53 nplus: these are static pieces of information? May 04 17:33:06 wongk: username/password? yes May 04 17:33:28 would it be a significant issue if a user of your application were to discover them? May 04 17:33:32 i assume so May 04 17:34:22 yeah, ideally it shouldn't be accessible to anyone once it's been entered. only to be used by the application for authentication May 04 17:34:50 the nature of java makes that a difficult problem to solve May 04 17:35:19 What do you mean? May 04 17:35:41 if you hard code them in the source, any user can extract them in minutes May 04 17:35:45 I know that on a rooted device it's pretty hard to protect data from the end user May 04 17:36:06 wongk the username and password are entered by the user - not hardcoded into the app May 04 17:36:11 oh May 04 17:36:13 sorry if I misled you May 04 17:36:18 that's hardly unique to java, wongk May 04 17:36:19 then they are not static pieces of information May 04 17:36:38 evancharlton: i didn't say it was :P May 04 17:37:11 Should I be using AccountManager or is that beyond what I need? May 04 17:37:29 How can i test if the camera is still locked by someone ? May 04 17:39:02 nplus: account manager would probably be a good option, it will give the password reasonable amount of protection in its database May 04 17:40:08 Compared to his own preferences? ;d May 04 17:40:09 though the more secure option is to prompt for the password every time May 04 17:40:40 right, then he'd have to use his own encryption May 04 17:41:11 With AccountManager, can /any/ application request my account and retrieve the credentials or can I limit it to my own account? May 04 17:41:57 the user would have to explicitly allow it May 04 17:42:06 but yes, any application can request it May 04 17:46:15 hmm ok thanks, I guess I have some decisions make.. May 04 17:48:05 how can I center an EditText horizontally inside a LinearLayout? similar behaviour to ImageView's scaleType="center"? May 04 17:49:53 chrizc: layout_gravity="center_horizontal" for the EditText should do it May 04 17:50:14 ah, didn't realise there was a layout_gravity, I was just trying gravity. thanks QubeZ May 04 17:50:30 layout_gravity="center_horizontal" on the edittext or gravity="center_horizontal" on the linearlayout May 04 17:50:40 Any suggestions on alternatives if I'm not going to use AccountManager? Off the top of my head I can think of 2 options, use SharedPreferences or a keystore. Both would need a hardcoded password for encrypting/decrypting the SharedPreference or opening the keystore right? May 04 17:51:02 chrizc: gravity only affects the item (how text is laid out inside the edittext) but layout_gravity will affect how it's laid out in its layout (linearlayout) May 04 17:51:08 ah, thanks QubeZ May 04 17:52:11 or to extend waht SimonVT said, if you want all items under your linearlayout to be centered then its better to set the gravity property on linearlayout so you dont have to set layout_gravity on all the children May 04 18:08:20 i set an onclick listener, but I see no color when I click on it....why ? May 04 18:08:27 (and it doesnt click-through) May 04 18:08:47 cool story bro. May 04 18:09:08 (we don't know what your onclick listener does, or what you're talking about w/ color) May 04 18:09:16 color is a sign that it works May 04 18:09:23 no color means no listen May 04 18:09:27 ... May 04 18:09:32 what is intercepting my click May 04 18:09:33 pastebin your code please. May 04 18:09:38 because I have no fucking clue what you're talking about May 04 18:09:44 language! May 04 18:09:58 Java. May 04 18:10:02 color is not a sign it works May 04 18:10:10 Color is a sign you set a statelistdrawable as a background May 04 18:10:18 seriously though I don't actually know what you're talking about. Does your onclicklistener set a color on something? May 04 18:10:19 SimonVT: I have correctly set the state May 04 18:10:26 Do you mean that the state in a state list drawable changes? May 04 18:10:43 http://trollfreaks.com/wp-content/uploads/2012/04/14af8c9244ca4b3faf3a3d9430a04d06.jpg May 04 18:10:46 SimonVT: one of my images changes color, the other does not...I do set the onClick listeners at different points in time May 04 18:11:01 hello all, is there a command to grab Android platform libraries via command line? May 04 18:11:08 cbarrett1: wget May 04 18:11:35 ok cool, is there a website that will list the urls hunterp? May 04 18:11:48 Er, you mean the git repos? May 04 18:11:54 i'm a noob, trying to write an install script May 04 18:12:12 I honestly have no idea where those libraries are coming from, I've only used the sdk manager UI May 04 18:13:11 like if you want to install Android 2.3.3, how do you use wget to grab it and install it? May 04 18:13:13 SimonVT: I set the onclick listener, but it is not responding. I wonder what I can do to process of eliminate why May 04 18:13:59 EXTERNAL_APPLICATIONS_AVAILABLE May 04 18:14:21 Dunno, doublecheck you're setting the background, throw some log statements in the click listener May 04 18:14:44 SimonVT: already did, nothing is printing, which means, its not clicking May 04 18:14:45 Set some breakpoints, use the debugger May 04 18:14:47 Lots of options May 04 18:15:24 SimonVT: ok, I found a way to get unstuck. I'll make an ugly button!! May 04 18:15:29 SimonVT: thanks!! May 04 18:16:34 ... May 04 18:16:37 ok whatever. May 04 18:17:08 Hey! Is this the correct current place for getting the Android Necessitas SDK ? http://sourceforge.net/projects/necessitas/files/ May 04 18:17:32 I doubt google host the sdk on sourceforge May 04 18:17:35 cbarrett1: if you look at the sdk manager and go to packages -> sort by repository May 04 18:17:55 cbarrett1: you'll see that the android repos are fetched from https://dl-ssl.google.com/android/repository/ May 04 18:17:58 and then some xml file May 04 18:18:00 download the xml file, parse it May 04 18:18:03 you'll see a list of targets May 04 18:18:23 You can download those files directly for the platforms May 04 18:18:27 SimonVT: Necessitas has nothing to do with Google. May 04 18:18:31 as to how to INSTALL them, I don't know. May 04 18:18:44 wtf is necessitas May 04 18:19:24 ^^ May 04 18:20:03 lov thanks, I'll try to dig into that more May 04 18:21:29 lov huh, that url shows up as a 404 in browser May 04 18:22:26 confirmed May 04 18:23:37 last nasty. If a service (a thread within it) and an activity are both hitting a Sqllite database table are we thread safe? May 04 18:24:10 I need to know when my app was backgrounded and when it is resumed. Essentially onPause and onResume no matter what activity the user is currently in. Is there a way or do I have to check in every activity??? May 04 18:25:03 https://dl-ssl.google.com/android/repository/repository-6.xml May 04 18:25:06 if you hit that though, it works May 04 18:26:14 litewait: http://developer.android.com/reference/android/database/sqlite/SQLiteDatabase.html#enableWriteAheadLogging() May 04 18:26:31 also notice that that method was introduced in API 11 May 04 18:35:22 cbarrett1: right. There's several xml repository files that are referenced in the sdk manager. May 04 18:36:17 lov: it appears that the command May 04 18:36:25 android update sdk —no-ui is doing something May 04 18:36:27 :-D May 04 18:36:40 oh excellent May 04 18:37:05 http://news.cnet.com/8301-1035_3-57424335-94/androids-new-ally-against-the-iphone-ubuntu/ May 04 18:37:08 lov: I solved the problem finally! May 04 18:38:22 oh jeez, ubuntu is androids ally? May 04 18:38:31 i think i'd rather not have an ally :P May 04 18:38:50 wongk: they can't do worse than ubuntse May 04 18:39:33 the enemy of your enemy is your friend May 04 18:39:38 so that makes you frienemies? May 04 18:41:00 I just integrated actionbarsherlock, but the project seems to have a lot of errors, just like this one: May 04 18:41:24 The method onActionModeStarted(ActionMode) of type SherlockActivity must override a superclass method May 04 18:41:31 http://pastebin.com/ZxPUFqha << finally working!! feel free to use my class May 04 18:41:45 lov: it appears the downside of this is that it is installing all the platforms May 04 18:41:46 lol May 04 18:43:46 lov there may be a flag where you can list what you want updated... May 04 18:43:51 investigating further May 04 18:47:27 cbarrett1: the upside is that this provides a great unattended install experience May 04 18:47:59 lov that is true, just very slow. For instance it's taking 40 minutes to install 3.1 May 04 18:48:24 that's shockingly slow. May 04 18:48:46 yeah May 04 18:48:54 for some reason server is moving slowly on this one May 04 18:49:47 I'll probably just kill it so I can test out how to grab specific platforms May 04 18:49:58 I'm going to have to blow all this away anyway to test the whole install process May 04 18:53:54 Why does this file not exist??? file:///mnt/sdcard/DCIM/Camera/1308881709499.jpg May 04 18:54:48 Should it? May 04 18:54:51 yes May 04 18:54:56 it does exist May 04 18:55:05 androzip gives me the filename May 04 18:55:11 yet, it doesnt exist May 04 18:57:02 if you look at the device via MTP or usb mass storage, is it there? May 04 18:57:50 does your code have the sdcard permissions? May 04 18:57:54 dragorn: NO May 04 18:57:58 dragorn: love you May 04 18:58:00 tx May 04 18:58:24 dragorn: genius May 04 18:59:03 :) May 04 18:59:11 nice. If only i could solve my own problems so easily. :) May 04 18:59:28 dragorn: speak them out like a moron, like me May 04 18:59:55 hunterp: if it makes you feel any better I spent 2 or 3 days figuring out why code didn't work in one method and did in another, only to realize I'd blocked it from network w/ iptables May 04 19:01:42 dragorn: wait, there is only a write_external storage permission, not a read_external. May 04 19:01:50 hunterp: same thing May 04 19:01:55 hunterp: afaik May 04 19:01:58 dragorn: no May 04 19:02:11 Does this seem like an acceptable way of storing a user's username/password for accessing remote data? May 04 19:02:18 write implies read; I don't recall if read is blocked normally May 04 19:02:24 link: http://stackoverflow.com/a/6393502 May 04 19:02:34 its not block May 04 19:03:28 nplus: better would be if you can do a one-time auth and get a token May 04 19:03:36 nplus: which the user could later revoke from the remote site May 04 19:03:50 ctate, so I updated to the most recent 404 build and there's no timezone issue anymore May 04 19:04:01 nplus: alternately, if you're willing to make the user enter an unlock pw, you can store it in a keystore file May 04 19:04:02 * pfn <3 fastboot May 04 19:04:07 \o/ May 04 19:04:13 ctate, damn crappy leaked build May 04 19:04:19 ctate, give vzw the finger ;-) May 04 19:04:36 this is where i tsk tsk at you for *installing* such a crappy leaked build, mmm? May 04 19:04:48 * pfn shrugs May 04 19:04:57 I'm sure there's a fair number of vzw GN users still on it May 04 19:05:02 ctate: if androzip says that the file exists, usb should as well. I have not touched this file in over a year May 04 19:05:03 has anyone used sqlite database programming in android May 04 19:05:11 dragorn: I can't really do that with my authentication setup. I'm using SRP for authentication & to generate a session key for encypting/decrypting data between client/server May 04 19:05:18 devslash: yes May 04 19:06:18 nplus: your only real options are to encrypt it w/ a static password (better than plan, but reversible), encrypt it with a password based on some device identifier (at least they need to steal 2 things then), or encrypt it w/ a user supplied passowrd, perhaps eliminating the point of storing the pw May 04 19:06:57 hunterp: can i use rawQuery to run an update command ? May 04 19:07:19 devslash: probably! May 04 19:08:58 ctate: how does this file not exist as well?? File f2 = new File("file:///mnt/sdcard/DCIM"); May 04 19:09:39 if sdcard is not mounted? May 04 19:09:54 Atarii: its mounted May 04 19:10:19 DCIM is a folder May 04 19:10:19 dragorn: Also, it'll be a service that does the authentication, since its lifetime is unknown it could easily "forget" the password. Your first 2 suggestions sound like what this: http://stackoverflow.com/a/6393502 does May 04 19:10:20 how do opengl apps know how much detail to compute? I can use GL_LINEAR_MIPMAP_LINEAR on Bionic, but must use GL_LINEAR on Droid. May 04 19:10:39 in my intellij IDEA project directory, i created a "images" folder I don't want to be put in the distro. Is there a quick way to check for that? May 04 19:10:39 Atarii: also a file May 04 19:10:59 nplus: yup. your options are limited. in the end i guess it depends how important that data is May 04 19:11:10 The encrypt/decrypt methods are at the bottom of the second code block May 04 19:11:15 nplus: you want to really do due diligence, let the user have a checkbox to save the password or not May 04 19:11:30 nplus: and have your service pop a query if it needs it, and only keep the pw in ram May 04 19:11:35 nplus: (if they chose not to) May 04 19:12:02 dragorn: Yeah, I completely agree May 04 19:12:13 how does this file not exist as well?? File f2 = new File("file:///mnt/sdcard/DCIM"); May 04 19:12:40 oh you're using File objects? Raw path, not URI May 04 19:12:41 afaik May 04 19:12:51 new File("/mnt/sdcard/DCIM/") May 04 19:13:02 dragorn: yes, again I believe you might be right! May 04 19:13:05 I was looking at AccountManager before, but it doesn't look like you can restrict the applications that can access an Account's credentials May 04 19:13:06 gridbag: honestly filter modes are SUPPOSED to be consistent at that level May 04 19:13:30 nplus: the only other gimmick is to hack it on < 4.0 and use the keystore on 4.0+ May 04 19:13:40 nplus: but it will require the user unlock the system keystore May 04 19:13:42 dragorn: now you're right May 04 19:13:55 nplus: you can prompt them to do that, it's just another layer. It works on 2.2 it's just unsupported May 04 19:13:58 gridbag: a normal GL chart for how this shoudl work is May 04 19:13:58 http://gregs-blog.com/2008/01/17/opengl-texture-filter-parameters-explained/ May 04 19:14:04 nplus: ask yourself this - does the user information for your app need to be kept more securely than the user's Google account information? May 04 19:14:05 dragorn: yeah, I've used the bouncycastle keystore before May 04 19:14:13 nplus: this is the system keystore May 04 19:14:18 nplus: it's where the wifi certs go May 04 19:14:33 nplus: there's a UDP netowrk protocol that talks to it locally to broker per-app views of it May 04 19:14:37 TheBunny : The rendering is accurate, it is a performance issue. The droid can only do 1fps in that mode, in this scene. So i just want to turn it off there. May 04 19:15:07 dragorn: Huh, thanks I'll take a look at it May 04 19:15:22 Oh so the gpus is shit? May 04 19:15:43 nplus: it's slightly better than having your own app bk ks because it's system-wide and if they do stuff like cert-backed wifi they're unlocking it already May 04 19:15:52 nplus: but not many ppl use it so it's still weird and confusing to users May 04 19:15:55 everythings should be able to do at least 1 level of filtering May 04 19:16:21 I have about 50 tablets for a small company that I need to configure from factory settins. Is there anyway for me to autoconfigure them? May 04 19:16:52 Configurations being stuff like screen settings and a couple in house apps May 04 19:17:18 Ok gridbag in normal GL GL_NEAREST_MIPMAP_LINEAR would cause trilinear filtering May 04 19:17:37 which is not somthing I would except to work at or be performant on any mobile GPU May 04 19:17:44 TheBunny, Yes, the GPU is shit on my old phone. That's pretty much true always - new devices will have 10x more GPU power than old stuff. How do you tune your app for that, is what I'm trying to ask. May 04 19:17:45 why don't you just turn it off May 04 19:18:05 you probably hard code it per device... May 04 19:18:12 based on GPU type May 04 19:18:17 or let the user adjust May 04 19:18:20 Aenigma: you could write an app to do it, there isn't anything in android itself already May 04 19:18:35 Aenigma: there might be something in the market May 04 19:18:36 same way PC games do it ;) May 04 19:18:55 Just cause a GPU say it supports X does not mean its fast... May 04 19:19:04 dragorn: so I can't do something using adb? I was hoping I could push like setting files or something May 04 19:19:37 TheBunny, that's the nature of my question. opinion on the best way. I'll have a quality checkbox: High, Higher, Highest. May 04 19:19:51 yes do that :D May 04 19:19:55 thats the easiest May 04 19:20:18 Or code to the lower setting cause really you don't need this May 04 19:21:31 TheBunny, true. however on this thing, since it is opengl, it is important to do the highest quality the phone can do. May 04 19:21:49 Why/ May 04 19:21:54 that makes no sense May 04 19:22:16 Trilinear filtering is still a higher end option on PC games and is commonly just turned off May 04 19:22:37 cellphonesa are even screens that big... May 04 19:23:40 TheBunny, are you sure LINEAR_MIPMAP_LINEAR isn't a better rendering than NEAREST_MIPMAP_LINEAR? that seems wrong. May 04 19:24:15 See chart? May 04 19:25:11 LINEAR_MIPMAP_LINEAR would be better May 04 19:26:27 can someone explain the difference of Boolean and boolean? Which one should i be using?? May 04 19:26:43 roler: Boolean is an object, boolean is a primitive May 04 19:27:10 that's what I read, is that Boolean was an object containing a boolean May 04 19:27:23 but boolean's work just fine for me May 04 19:27:34 then use boolean May 04 19:27:39 roler: Use the object when you need to be able to store the value in a container (i.e. a map) or when you need to be able to have a null value. Use the primitive normally. May 04 19:27:59 ahhh… got it May 04 19:33:04 The listview is driving me nuts. I have list with custom views on which I set onClickListener. But I cannot click the views :( May 04 19:33:13 I've got buttons in a linear list next (horizontal), and in Eclipse they look fine, but in the app sometimes some of them are getting "pushed down" by something, like they have a top margin, but they definitely don't. it only happens when they're taking up all the space possible. anyone know why they're doing this? May 04 19:33:26 Is there some special magic for listviews? May 04 19:33:36 lov: so the command android update sdk — no-ui -t android-8 May 04 19:33:43 would install android 2.2 via command line May 04 19:33:58 cbarrett1: that's awesome May 04 19:34:02 yeah May 04 19:34:03 sounds like you're all set May 04 19:34:13 now I just need to figure out what all the ids are for the different packages,\ May 04 19:34:22 thanks for all the assistance May 04 19:34:25 PeteS: Try using hierarchyviewer May 04 19:35:36 lov: thanks, I'll check that out May 04 19:36:04 crap, DateUtils.formatDateRange(…, timezone) is api 9 … ugh May 04 19:36:38 Is there a way to pass the current time and date as minDate in DatePicker from XML? May 04 19:37:00 also any proposed solutions need to work with daylight savings time :P May 04 19:37:31 i'm having a lot of problems with dst May 04 19:37:36 :( May 04 19:38:13 I'm rewriting an app, so far i've worked 3 hours and my app is better than the original =O May 04 19:38:23 heh May 04 19:38:31 heh May 04 19:39:20 I have would rewrite my app fromt scratch I would make some things better too I think :) May 04 19:40:44 it's not my app, some other dude wrote it May 04 19:40:49 but yeah, the same would go for my own May 04 19:40:58 second time is always easier. May 04 19:41:05 i'm rewriting my app too but its for iOS :\ May 04 19:41:11 awesome May 04 19:41:12 lessons learned May 04 19:41:38 hurry up May 04 19:41:43 :) May 04 19:42:54 forget my question May 04 19:43:15 I wrote my own ArrayAdapter class but forgot to actually use it May 04 19:43:28 lol May 04 19:43:36 too much work, you should use it :P May 04 19:44:33 nah it does an extend ArrayAdapter and only overrides getView :) May 04 19:44:55 2 min for writing it and 20 min to figure out why it does not work May 04 19:46:34 anyone in here uses the action bar sherlock? May 04 19:46:50 no May 04 19:46:53 no one uses that piece of crap May 04 19:46:55 :p May 04 19:47:19 o0 May 04 19:47:29 clearly bullshit May 04 19:47:31 :p May 04 19:47:33 you're bullshit May 04 19:47:35 he lies like a cheap suit May 04 19:47:47 everythingWorks: JakeWharton hangs out here regularly May 04 19:47:51 i.e. the author thereof May 04 19:48:03 i'm half here May 04 19:48:16 the left half? May 04 19:48:26 Well thats pretty much all i do in my activities "onCreate": http://ideone.com/g3POe May 04 19:48:39 Unfortunately, on my android 4.0.4 system a blank action bar shows up. May 04 19:54:38 hi, is there a library or such for scanning barcodes? May 04 19:55:47 pfn: what is wrong with the action bar? May 04 19:56:03 if all those hours of lost productivity fucking around with actionbars across android versions was put to good use, we might actaully have some good apps out there May 04 19:56:07 ? May 04 19:56:11 :D May 04 19:56:13 DarsVaeda, of course, zxing May 04 19:56:26 thanks I'll look into that :) May 04 19:56:27 g00s: good that I only support 14+ :D May 04 19:56:38 plaisthos: lucky bastard ! May 04 19:56:48 i'm actually thinking about doing something like that too May 04 19:58:31 g00s: I need a 14+ only api so it was an easy choice :) May 04 19:58:42 which one do you need specifically? May 04 19:59:45 VPNServicre May 04 20:01:48 http://www.theverge.com/2012/5/4/2998839/google-vs-oracle-jury-partial-verdict May 04 20:01:59 How can I get the Row count from a Cursor object? May 04 20:02:08 getCount() May 04 20:02:10 :) May 04 20:02:56 Thanks May 04 20:07:22 you need a BIG screen for a portrait android tablet emulator ... May 04 20:08:08 plaisthos: or just adjust the dpi May 04 20:08:33 1600x1200 works pretty well for Samsung Galaxy Tab 10.1 development. May 04 20:08:48 evancharlton: nah, buying a bigger screen seems to be easier solutio :) May 04 20:09:08 you need a BIG screen just for Eclipse, IMO May 04 20:09:32 ctate: For real. May 04 20:09:32 ctate: Yeah, that I wholeheartedly agree with. May 04 20:09:41 pfft, eclipse May 04 20:09:43 So 2011 May 04 20:10:01 ctate: But then again, just adjust the dpi and you should be fine May 04 20:10:07 SimonVT: What, umm, is 2012+? May 04 20:10:09 Is there an easy way to set the min time on an TimePickerDialog? May 04 20:10:20 rking: intellij of course May 04 20:10:20 a* May 04 20:10:23 rking: Eclim May 04 20:10:26 Ahh. May 04 20:10:32 drlaban: That's more what I was thinking. May 04 20:10:52 drlaban: err, the dpi of Eclipse?! May 04 20:10:55 readme: have u thought of trying to do that thru code? or maybe u can extend it? May 04 20:11:05 readme: Now that you did "a*" it says: "is there a easy way .. on an TimePickerDialog" May 04 20:11:12 luyang: I know. I asked whether there was an *easy* way. May 04 20:11:18 rking: thanks, that was helpful, not. May 04 20:11:18 readme: Doubt it :p May 04 20:11:23 :) May 04 20:11:24 =D May 04 20:11:27 DatePicker was easy May 04 20:11:34 getDatePicker(); setMinDate() May 04 20:11:35 as it should be. May 04 20:11:40 TimePicker, >:o May 04 20:11:48 ctate: slight sarcasm there from my part. :) But hell, if the damn emulator could do it, so should Eclipse, damit! May 04 20:11:51 I'll just leave it out for now. May 04 20:11:55 drlaban: :) May 04 20:12:46 readme: It should be quite easy to make your own TimePickerDialog May 04 20:12:52 Rrrrrr, Android SDK download, why are you soooo slooooow. 15KB/s.... May 04 20:13:00 A DialogFragment and two NumberPickers May 04 20:13:03 get yourself a faster connection May 04 20:13:19 Actually, along those lines - is there an easy way to make the Eclipse font smaller? I only found a slew of individual ones in Preferences > General > Appearance > Fonts and Colors May 04 20:13:40 Eclipse preferences === You are in a maze of twisty little settings, all alike. May 04 20:13:50 Seems extremely typical to want to set all the font sizes at once. I guess I could crack open whatever is in .eclipse May 04 20:13:55 Ahh. May 04 20:13:55 pfn: You mean, switch to another provider. Because the provider I got now states they deliver 100Mb/10Mb May 04 20:14:22 SimonVT: yeah, I will definitely do that May 04 20:14:36 Maybe 3 NUmberPickers, one for AM/PM as well May 04 20:14:38 the code of setting the min time needs to be encapsulated by its own class May 04 20:14:39 jury needs to tell oracle FU already May 04 20:14:42 Depending on locale May 04 20:14:51 drlaban: cancel it, redownload. You probably managed to hit the red headed step-server in the load balancer. May 04 20:14:57 wow the tablet emulator is much faster If I turn on gpu emulation and force gpu rendering of 2d gui May 04 20:15:32 go figure May 04 20:15:49 lov: You were right on the money. 8MB/s just by hitting cancel and clicking the link again. May 04 20:15:52 Yeah, gpu stuff is usually faster done by the gpu rather than software emulated :P May 04 20:16:55 * plaisthos wonders if you get PM/AM for UK english locales May 04 20:18:01 If one force-kills an app (for example via Advanced task killer or the likes of it), is the apps onDestroy() ran? May 04 20:18:10 i am batman! May 04 20:18:40 xarxer: That's a pretty good Try It And See moment. May 04 20:19:06 xarxer: If no one here knows off the top of their head, and you do end up TIAS'ing, can you tell me what it does? =) May 04 20:19:07 That's a Who The Fuck Cares Cus You Shouldn't Be Using Task Killers Moment :p May 04 20:19:09 can't these apps send a kill -9? May 04 20:19:32 xarxer: (a) ATK doesn't really do anything on modern versions of Android, and (b) no, onDestroy() is not run when apps are terminated May 04 20:19:42 SimonVT: Why not? Stupid tasks running all the time are stupid. May 04 20:19:45 rking: Don't forget "and then share your experiences with the rest of us. Prefferably in a blog post somewhere." May 04 20:19:54 rking: How do you know they're running May 04 20:19:57 plaisthos: you need superuser permission to send a signal to an app that is not owned by your own uid May 04 20:20:14 And why are you not uninstalling rogue apps May 04 20:20:15 SimonVT: But it seems like the common man "needs to be in control of what is running on my device, all the time" May 04 20:20:17 SimonVT: Because ATK says so. =) (And yes - it can make a noticeable performance difference sometimes) May 04 20:20:22 rking: things like ATK have never worked *properly* May 04 20:20:28 ctate: I assumed the task killers need that anyway May 04 20:20:32 My favorite nice little touch is making ATK always also kill itself so it exits right away. May 04 20:20:38 Oh dear May 04 20:20:41 plaisthos: see above re task killers having neve worked properly May 04 20:20:58 but I never used more than the "stop this app button" from App Settings menu :) May 04 20:20:58 Besides, the fact is that users are going to be using Task Killers, so your app needs to deal with it. May 04 20:20:58 and like i said, it doesn't really do anything any more May 04 20:21:01 rking: In memory != running May 04 20:21:05 you want a task killer, hold the power button May 04 20:21:12 the built-in UI for stopping applications has always worked better than ATK and its cousins May 04 20:21:13 or yank the battery May 04 20:21:21 and this is especially true in HC+ May 04 20:21:30 Or slam the phone really hard on the ground. May 04 20:21:42 pulling the battery is my favorite May 04 20:21:52 some phones can't pull the battery, oh noes May 04 20:21:55 see above re the built-in UI for stopping apps May 04 20:21:57 fucking phone died in its sleep yesterday May 04 20:22:01 had to pull the battery :( May 04 20:22:04 missed my alarm this morning May 04 20:22:06 which has been present since 1.0 May 04 20:22:08 Wait, is there something in this task killer debate stating that it's possible for my app to kill a task killer? That would be pretty sweet. May 04 20:22:32 sure, it's possible May 04 20:22:32 of course a task killer can be killed May 04 20:22:59 SimonVT: But that's still taking up memory - and lately I've been running some little dealer that shows me a mini "top" in the top-right... I think it came from Elixir₂ May 04 20:23:10 Taking up memory is good May 04 20:23:12 it doesn't matter that it's still taking up memory May 04 20:23:15 It means it'll launch faster May 04 20:23:18 And use less battery May 04 20:23:22 Wewt May 04 20:23:23 if the OS has anything else to use the mem for, it will nuke it May 04 20:23:25 mini top in top right is a standard feature in ICS May 04 20:23:27 Now we're getting somewhere. Of course, I wouldn't have many fans who were using task killers, but I'd feel a little bit better about it. May 04 20:23:50 plaisthos: Aha. I'm still on CM7 though. =\ Maybe I did find it in the overall Settings, though. May 04 20:24:09 rking: on my Image it is under Developer options May 04 20:24:36 What is DevTools > Bad Behavior > "ANR" stuff? May 04 20:24:51 Application not responding? May 04 20:25:17 plaisthos: Application Settings > Development? (Not in there for me on 2.3.3) May 04 20:25:22 plaisthos: Yep, surely that's it. May 04 20:25:43 I get this weird glitch on my phone about once a week - the UI completely locks up, and so far the only thing I've figured out to do is adb reboot. May 04 20:26:20 I've tried poking around in the adb shell first, but I don't know how to figure out which thing is responsible for the hostage-taking of the UI. May 04 20:27:07 (Before I got the SDK I used to have to wait for the battery to drain (irremovable battery), and woe to me if I hit the Power button, because then it would take 4 hours to drain since the only thing going were tiny LEDs) May 04 20:27:11 Woot! first working app just installed onto my phone! May 04 20:27:23 PrivateAlpha: gratulations May 04 20:27:36 anybody here have the twitter android app? if so, what View do I need to use to create a bar similar to the blue bar that app has - the one with the Twitter logo, the magnifying glass and the new tweet button. May 04 20:27:56 chrizc, actionbarsherlock May 04 20:28:00 ohgod q_q May 04 20:28:10 PrivateAlpha: Way to go! May 04 20:28:13 seriously? ): May 04 20:28:18 PrivateAlpha: Charge no less than $9.99. May 04 20:28:25 chrizc: Why not? May 04 20:28:38 rking: the best is the app is pretty much useless May 04 20:28:39 drlaban; I've tried working with ABS before, and it just didn't work. May 04 20:29:02 s/it didn't work/I couldn't figure out how to use it/ May 04 20:29:12 chrizc: Give it another go, it'll probably work out better than last time. May 04 20:29:12 sounds about right May 04 20:29:13 ^ May 04 20:29:38 Now to create an app that has a single TextView that says YOU ARE ONE RICH MOFO and sell it for 1,000,000.00 May 04 20:29:47 PrivateAlpha: :D May 04 20:29:53 so, if I manage to get ABS working... what would I need to do to make a bar similar to that of the Twitter app? May 04 20:30:09 A background, an icon and two action items May 04 20:30:38 plaisthos: I heard that iOS had something like that, and it actually sold :/ May 04 20:30:39 Wasn't there this app on a competitor mobile OS that was called "I'm rich" which sold for the highest possible price and all it did was spin a red diamond/ruby...? May 04 20:30:51 PrivateAlpha: yes May 04 20:31:03 I think it got sold to quite a few users. May 04 20:31:12 but apple pulled the app from the store May 04 20:31:16 http://en.wikipedia.org/wiki/I_Am_Rich May 04 20:31:53 hah, pulled in 1 day May 04 20:31:58 8 sales! May 04 20:32:30 there is even a review: May 04 20:32:31 http://www.youtube.com/watch?v=p2H-rnYZRSw May 04 20:33:05 https://play.google.com/store/apps/details?id=com.custom.lwp.iamricher&hl=en May 04 20:34:26 jorgenpt: that app is cheap by comparison May 04 20:34:45 Google limits the maximum sales prices May 04 20:34:47 price May 04 20:35:29 oh May 04 20:35:38 can anybody help me with setting up ABS with Netbeans? The only help given on the ABS site is for Eclipse, or maven. May 04 20:35:59 chrizc: Just use Eclipse May 04 20:36:09 Project settings, add new module May 04 20:36:10 PrivateAlpha; no. May 04 20:36:42 SimonVT; ...um? May 04 20:37:15 mmbob May 04 20:38:14 1. Figure out how to add library project 2. Do that with ABS May 04 20:38:17 3. ??? 4. success May 04 20:39:07 why is there no simple ABS.jar? .-. May 04 20:39:25 Cus jars with resources are not supported yet May 04 20:39:32 that's not possible May 04 20:41:02 Besides, library projects are nothing new.. You might as well figure it out now, you'll most likely need it later anyway May 04 20:42:08 jar resources don't work May 04 20:42:15 ^that is why I just use eclipse for android development May 04 20:42:33 because jar resources are a bitch to handle, or something May 04 20:42:52 PrivateAlpha; I can't stand Eclipse. May 04 20:42:55 It's a horrible, horrible IDE. May 04 20:43:01 <_Auron_> I got resources to load from my game engine's jar May 04 20:43:18 Actually its doing rather well these days May 04 20:43:25 No, it's still awful. May 04 20:43:55 Alright, so I'm building ActionBarSherlock as a library project now... May 04 20:44:11 SimonVT: i think i'm gonna use your DatePicker backport :P May 04 20:44:26 no such method getDatePicker() for older api version May 04 20:44:32 NumberPicker, yo May 04 20:45:01 drat May 04 20:45:06 I'll have to make my own May 04 20:45:18 be sure to share it May 04 20:45:24 I will :) May 04 20:45:30 check here later http://github.com/tom-dignan May 04 20:45:31 I thought about backporting those as well.. DatePicker, TimePicker.. But meh :p May 04 20:46:33 <_Auron_> for example, to load a texture from a specific path from my jar, I do InputStream is = Game.context.getClassLoader().getResourceAsStream(imagePath); ----- where imagePath is a string, "res/drawable/hv_atlas.png" May 04 20:47:00 okay, I'm trying to add ABS as a library to my project - "Only Android Library project can be added as dependency" May 04 20:47:18 <_Auron_> my game engine is an android project as well, but I export it as jar and wrap the android activity for game dev use May 04 20:48:08 So Google how netbeans works May 04 20:48:12 Make it a library project May 04 20:48:14 Add it May 04 20:48:28 build it link it quick rewrite it May 04 20:48:38 sorry, channelling daft punk for a second there May 04 20:49:10 ctate: lol May 04 20:49:28 this'd all be so much easier if Google wasn't so smitten with Eclipse and provided support for all the major IDEs. May 04 20:49:43 intellij has support for the android sdk now too, doens't it? May 04 20:49:50 Yep May 04 20:49:52 not officially, though. May 04 20:49:55 Has for some time May 04 20:49:57 Officially May 04 20:50:05 http://www.jetbrains.com/idea/features/google_android.html May 04 20:50:25 i know some of my orkers use it May 04 20:50:39 TIL ctate got orks May 04 20:50:47 no, cows. May 04 20:50:48 cow orkers. May 04 20:51:01 natch. May 04 20:54:23 okay, *hopefully* I've got it working properly. May 04 20:55:27 ran android update via command line May 04 20:55:29 hopefully it worked May 04 20:55:56 or, you know, it doesn't. May 04 20:56:06 C:\Program Files (x86)\Android\android-sdk\tools\ant\build.xml:470: Failed to resolve library path: C:\Users\ChrizC\Documents\NetBeansProjects\ActionBarSherlock May 04 20:56:13 yet, that's a perfectly acceptable path May 04 20:56:13 .-. May 04 20:56:17 I'm trying to sort out the google contacts API to adjust my contacts in my android... is there a better channel than here to ask about it? May 04 20:56:50 So far I'm lookng at https://developers.google.com/gdata/articles/using_cURL but the first example (ClienLogin) gives me an Error=BadAuthentication response. May 04 20:57:22 on symbian i was using a pptp vpn client called symvpn which was working in a way to create an access point which in turn bypass my provider 3G network to allow Skype calls over 3G , don't know how this can be done in Android , I tried and cannot get connected to the vpn network with the pptp in vpn settings, tried different networks and all of them are working on pc/wifi but not May 04 20:57:22 phone/wifi/3G May 04 20:57:42 i heared that there's some issues with android/pptp vpn >> http://androidforums.com/evo-4g-support-troubleshooting/98890-pptp-vpn-connection.html , is that correct ? May 04 20:57:55 puff: i believe the lh2 service is picasa May 04 20:58:04 that bit is important May 04 20:58:23 wongk: Ah, good point, since I'm not using picasa at all, that example would obviosly fail... May 04 20:58:26 wongk: tanks. May 04 20:59:25 this error's making no sense May 04 20:59:26 f00bar80: this s a developer channel not a user support channel :) May 04 20:59:36 C:\Program Files (x86)\Android\android-sdk\tools\ant\build.xml:470: Failed to resolve library path: C:\Users\ChrizC\Documents\NetBeansProjects\ActionBarSherlock\ May 04 20:59:37 I've tried Tigervpns which preconfigured demo access details, the app. is trying to use to get connected but for PPTP and L2TP/IPSec always the same issue, any comment ? May 04 20:59:46 line 470 of the build.xml is just /> May 04 21:00:49 chrizc: so it's probably the tag for which that is the closing bracket May 04 21:00:53 f00bar80: this is not the correct channel May 04 21:01:13 ctate; http://pastie.org/3860888 May 04 21:01:15 openvpn on ics works though ;) May 04 21:01:18 that doesn't help much. May 04 21:01:19 plaisthos, i know it's , but on the user #, they've asked to ask here , cause they're saying it's an android's issue with pptp vpn May 04 21:01:36 chrizc: tbqh i won't be able to help much; i've never used either netbeans, actionbarsherlock, or ant :) May 04 21:01:44 q_q May 04 21:02:57 anybody else have any idea why it's doing that? May 04 21:03:13 because, I'll be honest, I have no freaking clue why it's not working. May 04 21:03:57 unfortunately i don't think there's a lot of ntebeans users around May 04 21:04:21 this isn't about netbeans anymore - it's ant now. May 04 21:05:03 You're probably missing a library\ at the end of that path in your project.properties May 04 21:05:24 random rant: Bitmap memory attributed to an app is so scarce that it leads to desesperate code like this: http://pastebin.com/HZP2gmGF May 04 21:06:14 SimonVT; C:\Program Files (x86)\Android\android-sdk\tools\ant\build.xml:470: Failed to resolve library path: C:\Users\ChrizC\Documents\NetBeansProjects\ActionBarSherlock\library May 04 21:06:44 Well, double check then May 04 21:06:51 double checj what? May 04 21:06:53 Make sure the path is where the ABS lib project actually is May 04 21:06:56 -j +k May 04 21:07:00 Also make sure it actually has a build.xml May 04 21:07:22 SimonVT; yep, that's where it is, and it has a build.xml May 04 21:07:29 bubbleguuum: I have to call System.gc() because otherwise my JNI crashes after constructing 120 Strings May 04 21:07:58 SimonVT; http://puu.sh/sWiA May 04 21:08:04 That must be huge strings May 04 21:08:16 bubbleguuum: nah May 04 21:08:25 bubbleguuum: you can only have 128 objects May 04 21:08:47 i doubt it May 04 21:08:58 recycle your bitmaps. yo May 04 21:09:21 bubbleguuum: wait let me crash my programq quick :D May 04 21:09:22 I know 640Kb should be enough for everyone but still... May 04 21:09:49 SimonVT; it's all there, it's all as it should be, etc. May 04 21:10:07 Okay, well, dunno how you fucked it up May 04 21:10:25 ctate: still jusing every known trick to man on Bitmap it is still challenging if you have plenty of them May 04 21:10:27 I haven't done aaaanything to screw it up. May 04 21:10:33 I followed the instructions written by JakeWharton May 04 21:10:34 bubbleguuum: yeah i know May 04 21:11:08 you can have tooons of heap memory free but that diesn't help since bitmpa use very limited native memory May 04 21:11:52 dealing with huge images = pain. If fetching them over the network you have to carefully compute downsampling factor May 04 21:12:23 it's the other way around; it's dalvik memory that is constrained, not native heap May 04 21:13:22 it still weird than on a 64Mb heap (or 48Mb) heap you're restrited to like 3 or 4Mb of Bitmap data May 04 21:13:32 oh god damn it, I guess I'm gonna download Eclipse. May 04 21:13:42 you don't need to download eclipse to use abs May 04 21:14:12 bubbleguuum: wrr, whut? that sounds like something else is going on. May 04 21:14:19 oO indeed May 04 21:14:32 I definitely have more than 4 MB bitmap data :p May 04 21:14:34 cd ActionBarSherlock/library; android update project -p . May 04 21:15:10 I mean, after a while probably due to memory frgamentation, allocations fail May 04 21:15:27 are you certain you aren't leaking things? because that sounds very wrong. May 04 21:15:45 is there a way to get the package name programtically ? May 04 21:15:46 adb shell dumpsys meminfo [your package name] is yor frend, fwiw May 04 21:15:49 bubbleguuum: there is no limit on the amount of "bitmap data" you can put in the heap May 04 21:15:51 promatically May 04 21:15:55 devslash: your own package name? May 04 21:15:58 bubbleguuum: the only limit is the max heap size May 04 21:16:01 yea May 04 21:16:04 Im taling of holding like 3 840x480 in memory + smaller bitmaps May 04 21:16:17 devslash: http://developer.android.com/reference/android/content/Context.html#getPackageName() :) May 04 21:16:36 bubbleguuum: three whole framebuffers plus misc? yeah, you're gonna have a hard time. May 04 21:16:49 but that's vastly more than 3 or 4 mb of bitmaps May 04 21:16:56 not that much more May 04 21:17:07 yeah May 04 21:17:09 hey all May 04 21:17:15 I mean, these are 3 photos at the resolution size May 04 21:17:22 it's 5 megs of raw bitmap data, not counting overhead May 04 21:17:23 of the display May 04 21:17:43 bubbleguuum: use DDMS, dump the HPROF, and figure out where all your memory went May 04 21:17:43 that's not that much on a tablet with 64Mb heap May 04 21:18:10 yes I'm going to use MAT again just in case of a leak May 04 21:18:27 ==jreck. all that memory is going *somewhere* and that you're running out really is not related just to that amount of bitmap data May 04 21:20:52 I could reduce the size of y images by half but that kind of sucks for a photo viewer May 04 21:21:07 or have a cache of 1 image :p May 04 21:22:16 Are you repeatedly decoding an 800x480 image? May 04 21:22:49 yup May 04 21:23:08 Try using BitmapFactory.Options.inBitmap May 04 21:23:16 I do that already and more May 04 21:23:23 images are 565 May 04 21:23:48 looking into possible leaks. you never know May 04 21:25:00 plaisthos, openvpn is fine ... and can work on 2.3 ? May 04 21:25:33 if I have java-created table rows, and I am able to grab the table rows in a for loop, how do I get the Views inside those table rows within my for loop? May 04 21:28:33 f00bar80: on 2.3 you need rooted telephone May 04 21:29:14 For the system settings app on ISC for tablets, is there a name for the view that controls the list down the left that is used to control the content on the right? May 04 21:29:14 for openvpn May 04 21:30:56 uru: you mean the normal Preference Screen? May 04 21:31:12 plaisthos: Yes May 04 21:31:34 it is a normal Preferences Activity May 04 21:31:35 The gmail app also uses the same view May 04 21:32:20 I am asking if there is a view that will do the "list down the left and content on the right" or is it something I have to build myself? May 04 21:32:46 in ICs that's just two fragments May 04 21:33:31 ctate: Do you know what they are called/have a link to an example? May 04 21:35:05 they're called Fragments. May 04 21:35:05 http://developer.android.com/guide/topics/fundamentals/fragments.html May 04 21:35:30 do please read the documentation, y'know? :) May 04 21:36:02 plaisthos, my phone is Galaxy Y Pro, can't find a trustful way to root it online May 04 21:36:12 ctate: How am I mean to know they are called fragments? Thank you for the link though May 04 21:36:33 f00bar80: sorry, I can't help you then :( May 04 21:36:51 I can only help with openvpn for ics :) May 04 21:37:08 plaisthos, :( May 04 21:40:55 and don't study the preferences app source code for examples May 04 21:41:07 a lesson I learned May 04 21:48:18 f00bar80, you question is better in the #android-root chanel, i think. May 04 21:54:16 after playing with the tablet emulator I want one too :( May 04 21:54:54 has anyone used map view >? May 04 21:59:34 somebody has May 04 21:59:57 wow big help JakeWharton May 04 22:01:13 it answered your question May 04 22:01:14 A good terminal app , is Android terminal emulator or Terminal IDE ? May 04 22:02:42 ConnectBot May 04 22:03:55 ctate: welcome memory leak + wrong inSampleSize calculation = memory kaboom :p May 04 22:04:16 okay, can somebody help me with Eclipse and the ADT plugin? For some reason, /nothing's working/, which is just typical of Eclipse. Anyway, I'm trying to run the program I had already written and tested fine in netbeans. Now for some reason, I can't seem to build or run anything because Eclipse tells me that R does not exist. May 04 22:04:31 I import R, and then none of my layout or view id calls work. May 04 22:05:31 OH. Eclipse screwed with the folder structure. May 04 22:06:11 okay, still didn't work. May 04 22:07:32 JESUS. finally. May 04 22:09:29 ctate, an on device terminal app i mean sorrt ? May 04 22:09:36 sorry* May 04 22:11:25 if I have a layout, videoview and a imageview under it, what do I do so that I can say that the videoview is 80% of the screen and the imageview fills the rest? So far I tried a relative layout, vertial orientation and used fill_parent for all values May 04 22:12:07 f00bar80, connectbot is on-device May 04 22:16:07 errrm May 04 22:16:08 okay May 04 22:16:15 trying to reference ABS as a library project May 04 22:16:17 in eclipse May 04 22:16:19 ADT plugin. May 04 22:16:33 The container 'Android Dependencies' references non existing library 'C:\Users\ChrizC\Documents\GodDamnWork\library\bin\com_actionbarsherlock.jar' May 04 22:16:35 what. May 04 22:17:04 SimonVT, any ideas? May 04 22:21:09 anybody? any help at all? May 04 22:21:13 PrivateAlpha; you use Eclipse, right? May 04 22:21:15 Maybe you can help? May 04 22:21:28 chrizc: what cha need? May 04 22:21:40 I'm trying to reference ABS using the ADT plugin in Eclipse May 04 22:21:42 I get the error May 04 22:21:44 \\23:16:33// The container 'Android Dependencies' references non existing library 'C:\Users\ChrizC\Documents\GodDamnWork\library\bin\com_actionbarsherlock.jar' May 04 22:22:11 just import library as an android library project May 04 22:22:14 and you're practically done May 04 22:22:16 or something May 04 22:22:21 lol May 04 22:22:28 * pfn points at Napalm May 04 22:22:28 him May 04 22:22:29 ! May 04 22:22:30 I followed the instructions on the ABS website... May 04 22:22:31 he knows how to do it May 04 22:22:31 :p May 04 22:22:36 which led me to this error May 04 22:22:40 pebcak May 04 22:22:55 no, i know nothing /* read in italian accent */ May 04 22:22:56 no, problem exists in the god damn instructions. I followed them religiously. May 04 22:23:21 chrizc: did you build ABS? May 04 22:23:40 Napalm; if I try to build ABS, all I get is Eclipse telling me there's ~230 errors, then nothing happens. May 04 22:24:04 chrizc: what are the errors? use pastebin May 04 22:24:14 erm, there's 260 of them. May 04 22:24:26 its probably because you dont have the android support library dep on your ABS project May 04 22:24:33 Mostly of the format "The method of type must override a superclass method" May 04 22:24:50 Napalm; I do. May 04 22:25:00 We currently have an app using a TabActivity. Obviously, we would like to switch this to an ActionBar with tabs for newer devices. Ideally we would like the app to support Gingerbread, Froyo and ICS, … BHowever, a TabActivity likes Activities, and an action bar likes Fragments. How can we accomplish this?? May 04 22:25:03 you're not using 1.6 compliance May 04 22:25:12 project properties > java compiler May 04 22:25:16 set to 1.6 May 04 22:25:40 .-. why does it default to 1.5? I don't even have 1.5 installed .-. May 04 22:25:59 alright. much better, thanks JakeWharton May 04 22:26:06 chrizc: Why you put morse "r"s surrounding text? May 04 22:26:11 roler: role your own TabAdapter May 04 22:26:15 the .jar is also not built when you build the project May 04 22:26:17 roler: use fragments via a compatibility library suite such as ActionBarSherlock May 04 22:26:23 rking; they're an upside down ._. May 04 22:26:23 plus the official support libs natch May 04 22:26:33 chrizc: Hehe, I see. May 04 22:26:35 TabActivity is deprecated for a reason. yuck. May 04 22:26:48 roler: wait, you mean each tab is activity, jikes, old school May 04 22:26:59 Napalm: yep May 04 22:27:05 Wait, each of my tabs is an activity May 04 22:27:06 .-. May 04 22:27:11 am I doing something wrong? D: May 04 22:27:12 viewpager + viewpagerindicator is the way to go May 04 22:27:17 well, I say tabs May 04 22:27:19 each of my pages May 04 22:27:20 D: May 04 22:27:23 roler: ctate is right, port your each of your tab activitoes into a fragments May 04 22:27:23 I should try out viewpagerindicator to really get rid of tabhost May 04 22:27:40 Is there a good web site where you can learn all the UI elements (and hopefully with some decent design taste to back it up)? May 04 22:27:51 Napalm: but what about gingerbread who doesn't know what a fragment is May 04 22:27:52 tabhost is such a pos if you use it in conjunction with viewpager, but that's the canonical way to do it, according to the support samples May 04 22:27:58 hi May 04 22:27:59 roler, android-compat library May 04 22:28:04 fragments are backported all the way to 1.6 May 04 22:28:23 the compat libs are the shiznit May 04 22:28:27 is the action bar only supported on android 4 onwards ? May 04 22:28:42 ddreamer0: again, this is why i mentioned things like ActionBarSherlock May 04 22:28:43 w May 04 22:28:49 roler: thats what the compat library is for May 04 22:28:56 which provide action bar look & app semantics on earlier versions of Android May 04 22:29:21 I just realized that I have no clue how to add a library project to eclipse May 04 22:29:46 pfn: http://storkme.org/2011/12/tabs-done-right-viewpager-and-fragments/ May 04 22:29:57 Or rather there isnt a option for it under the new project selection May 04 22:29:58 tabhost, viewpager, fragments May 04 22:30:15 roler: that link might help you also May 04 22:30:18 @ctate: ohh beautiful May 04 22:30:58 @ctate: can i make scrollable tabs too ? May 04 22:31:10 talk to JakeWharton; he wrote ABS :) May 04 22:31:16 ddreamer0: yes you can May 04 22:31:41 Napalm, that's not "done right" May 04 22:31:47 it works rather poorly to use tabhost with a viewpager May 04 22:31:53 ddreamer0: it pretty much supports every feature of the ICS action bar on API 7 and up May 04 22:31:54 tabhost + viewpager + hardware keyboard = suck May 04 22:31:57 <_Auron_> PrivateAlpha: you make whatever project you want, then Export as .JAR May 04 22:32:05 pfn: oh rly? May 04 22:32:21 Napalm, yes, because tabhost hijacks all keyboard input and redirects it to the content view May 04 22:32:29 _Auron_: export it to where? May 04 22:32:33 but because the viewpager is not tabhost content, it gets stolen and never delivered May 04 22:32:42 JakeWharton: oh beautiful May 04 22:32:49 pfn: ouch May 04 22:32:52 Napalm, the correct answer is to use viewpagerindicator and throw away tabhost May 04 22:32:54 pfn: need to check that out May 04 22:32:56 JakeWharton: respect ;) May 04 22:33:17 pfn: interesting, i will check it out May 04 22:33:19 Napalm, it works fine for the softkeyboard because of the InputConnection stuff which I don't grok at all May 04 22:33:22 Heh 655 errors May 04 22:33:33 but physical keyboards don't have an InputConnection, they deliver key events instead May 04 22:34:29 there are some hacks that you can do by extending tabhost, but they're ugly and relatively unreliable if you're doing anything complex May 04 22:34:45 <_Auron_> PrivateAlpha: dunno, main folder of the project, then import the jar into a project you want to use the library for? May 04 22:34:53 and fyi, viewpagerindicator is another JakeWharton product May 04 22:34:57 this is one more reason to hate apple, i had to sign up an apple account (long story) now i get "App Store Spotlight" emails from them and theres no "unsubscribe" link anywhere in the email May 04 22:35:13 really, I don't get any emails from apple that I recall May 04 22:35:29 _Auron_: I'd love to do that but i just imported abs and it spewed out 665 errors May 04 22:35:41 only needed 1 more error to be evil May 04 22:35:52 <_Auron_> heh May 04 22:36:11 See abs is ALMOST evil May 04 22:36:42 it works fine pfn May 04 22:37:20 storkme_, try using text input fields with a physical keyboard, it doesn't work May 04 22:38:16 Someone needs to write an idiot proof guide for getting started with abs May 04 22:38:19 <_Auron_> what is ABS? May 04 22:38:33 ABS == ActionBarSherlock May 04 22:38:44 http://actionbarsherlock.com/ May 04 22:38:47 that May 04 22:38:55 PrivateAlpha: there is a video on the FAQ page May 04 22:38:55 t May 04 22:38:59 never come up May 04 22:39:12 PrivateAlpha: http://www.youtube.com/watch?v=4GJ6yY1lNNY May 04 22:39:22 stuff like abs shouldn't need to be idiot-proofed May 04 22:39:30 i.e. idiots shouldn't be writing code May 04 22:39:36 evancharlton: http://www.bgr.com/2012/05/04/google-fine-safari-breach/ .... just sayin. May 04 22:39:47 Oh, a video! May 04 22:39:58 i know there was nothing wrong with what they did at all, it'll just cost tens of millions of dollars in an action that's never been taken against any company before, ever. May 04 22:40:18 pfn: Idiots shouldnt be driving either, is there a law against it? nope :/ May 04 22:41:05 poor analogy May 04 22:42:08 poor as a cucumber May 04 22:42:13 <_Auron_> ... May 04 22:42:35 i love how cucumbers are the only things that warrant a comment from _Auron_ May 04 22:42:59 JakeWharton / PrivateAlpha; [2012-05-04 23:42:42 - sample-demos] Conversion to Dalvik format failed with error 1 May 04 22:43:02 ? May 04 22:43:15 (I'm trying to run the samples to see what they look like) May 04 22:44:09 What percentage of devices are being upgraded to ICS? With our issue of properly supporting TabActivity on Gingerbread, is it something we should still try to support? May 04 22:44:18 roler: 4.9% last i heard May 04 22:44:18 "Bloomberg briefly reports that the U.S. Federal Trade Commission (FTC) is preparing to fine Google over its efforts to circumvent privacy restrictions in Safari for iOS to track users through ads on numerous sites across the web. According to a source, the fine is likely to amount to tens of millions of dollars." … whoops :) do no evil :D May 04 22:44:21 are on ICS right now May 04 22:44:28 <_Auron_> oh, I've run into that Dalvik error before. usually a project->clean, or total restart of eclipse fixes that for me May 04 22:44:36 g00s: old, i posted a link 3 minutes ago May 04 22:44:42 Tommy: grr ! May 04 22:44:44 :) May 04 22:45:47 _Auron_; tried both, still error. May 04 22:45:51 Napalm: is the "ViewPager and Fragments" an alternative to ABS? is their working similar ? May 04 22:46:18 no May 04 22:46:21 they are totally unrelated May 04 22:46:45 action bar is decor view, view pager and fragments are content view May 04 22:47:59 <_Auron_> chrizc: try forcing a change in the code, like deleting and re-adding a brace mark, then recompiling May 04 22:48:09 * _Auron_ shrugs May 04 22:48:21 <_Auron_> I know every time I run into that bug, it's always weird to fix May 04 22:48:33 _Auron_; nope. May 04 22:48:40 <_Auron_> ¯\(°_o)/¯ May 04 22:48:46 never mind, I'll just have to guess what ABS does May 04 22:48:48 and how it works May 04 22:48:49 etc. May 04 22:49:33 ლ(ಠ益ಠლ May 04 22:49:35 does that show up? May 04 22:49:42 yes, pfn. May 04 22:49:46 although you missed a ) May 04 22:49:48 yep May 04 22:49:58 (╯°□°)╯︵ ┻━┻ May 04 22:49:59 <_Auron_> I see alternating boxes with a ( as the second char May 04 22:50:05 cute May 04 22:50:10 _Auron_ get a less fail irc client (: May 04 22:50:37 hmm, it almost looks right in qicr May 04 22:50:44 the eyes are boxes in qicr :-/ May 04 22:58:21 http://anti.teamidiot.de/nei/2007/02/irssi_putty_screen_unicode_utf/ May 04 22:58:54 even with the most super client (irssi, of course), you may still need to do some things to get unicode working May 04 23:06:36 sorry, you misspelled "Colloquy" as "irssi" :) May 04 23:06:47 I don't really like the video on how to get ABS setup :\ May 04 23:07:07 Setting the style of a Button to @android:style/Widget.EditText, then pressing it after typing into an EditText with the software keyboard, opens the software keyboard to text input instead of calling teh button's onClickListener the first time you press it. May 04 23:07:21 I thought I had a clever trick, but :| May 04 23:07:27 ctate: Ha. Nice to see a bit of zealotry... but I doubt that. May 04 23:11:14 JakeWharton, how do I hide the title bar using ABS, on a 2.3.5 device? using requestWindowFeature(Window.FEATURE_NO_TITLE); and setting flags to fullscreen works on 4.0, but not on 2.3.5. the notification bar's hidden, but the ABS title bar still shows? May 04 23:11:44 import com.actionbarsherlock.view.Window May 04 23:11:49 or use a .NoActionBar theme May 04 23:12:51 much better, thanks JakeWharton. May 04 23:13:58 There's no action, there's no action....isn't that a song? May 04 23:17:31 hello May 04 23:17:56 what would be the best android beginners book for someone who knows a lot of ios? May 04 23:18:30 * Napalm watches everyone stare at the word hello and wonder who's going to reply May 04 23:18:39 lol May 04 23:18:49 * Jug6ernaut used google May 04 23:19:03 kaipi, The Android developer website has a section on C, C++ and using JNI May 04 23:19:08 yeah, try googling android books... May 04 23:19:15 & asked questions here trying to not get my head chopped off by lov hehe May 04 23:19:22 kaipi: http://d.android.com/guide/ May 04 23:20:37 thanks for the answers... but maybe you know some book which develops a real project throughout the book? i mean, i barely even know java May 04 23:20:44 JakeWharton; trying to use a Tab navigation action bar, on 2.3.5 gingerbread.. "Action Bar Tab must have a Callback"? May 04 23:20:58 yes May 04 23:20:59 re May 04 23:21:00 a May 04 23:21:01 d th May 04 23:21:02 e May 04 23:21:03 ac May 04 23:21:04 COLLOQUY DIE May 04 23:21:09 read the action bar docs May 04 23:21:10 lol May 04 23:21:10 .-. May 04 23:21:15 hahah May 04 23:21:15 alright May 04 23:21:18 every tab needs a listener May 04 23:21:27 ah May 04 23:21:27 the API and behavior is exactly the same as native May 04 23:22:01 JakeWharton: suggest you migrate to irssi ;) May 04 23:22:09 * Napalm wonders how many times JakeWharton has said that exact same sentence May 04 23:22:47 I'm copying about 5 gigs of music to the SD card of my avd May 04 23:22:55 and it's taking a LONG time May 04 23:23:10 Napalm: more than I can count May 04 23:23:21 is that normal? May 04 23:23:22 RustyShackleford: if you were on Linux you could just mount it and copy. probably faster. May 04 23:23:37 I copied it using eclipse May 04 23:24:23 RustyShackleford: i forget if the image files of AVD use reserved space or expand, but either way copying though eclipse will be slower May 04 23:24:51 well I started the transfer and took a nap May 04 23:24:55 ...5 hours ago May 04 23:24:58 lol May 04 23:25:07 i wonder if it's working or if there is a problem May 04 23:25:31 what is "it" in your sentance above? May 04 23:25:47 do you mount the avd? or the files I want to transfer May 04 23:25:57 the sd-card is a image file May 04 23:26:02 of a hard-disk May 04 23:26:05 oh I see May 04 23:26:14 mount it and I can copy files at will May 04 23:26:17 use any program that can make FAT disk images, lots around May 04 23:26:32 RustyShackleford: you on mac or linux? May 04 23:26:36 or windows May 04 23:26:40 Windows :( May 04 23:26:48 usually linux, but I recently migrated May 04 23:26:48 you'll have to download an app then May 04 23:27:11 RustyShackleford: one moment i have one, will get you the name May 04 23:27:22 daemon tools or something? May 04 23:27:27 noooo May 04 23:27:37 http://www.winimage.com/ May 04 23:27:43 onn linux I could just use dd? May 04 23:27:48 crappy site, but good software May 04 23:28:01 RustyShackleford: no, you mount the disk image using a loop back device May 04 23:28:06 dd /path/to/folder sdcard.iso? May 04 23:28:20 that would override the iso May 04 23:28:22 not add May 04 23:28:36 right May 04 23:28:45 RustyShackleford: http://bochs.sourceforge.net/doc/docbook/user/loop-device-usage.html May 04 23:28:51 there May 04 23:28:55 maybe I should just fire up my ubuntu partition May 04 23:29:04 once mounted May 04 23:29:11 you just go to the mount point May 04 23:29:23 then copy files May 04 23:29:25 and unmount May 04 23:30:14 RustyShackleford: as a side note, sdcard images act like LARGE floppy disks in the way they dont have partitions May 04 23:31:38 RustyShackleford: losetup /dev/loop0 /my/path/sdcard.img; mkdir /mnt/sdcard; mount /dev/loop0 -o loop /mnt/sdcard; cp blah /mnt/sdcard; umount /mnt/sdcard; losetup -d /dev/loop0 May 04 23:31:41 oky? May 04 23:32:29 this is where i find his connection has dropped and ive been talking to nothing and will have to repeat myself :| May 04 23:32:41 nope I saw it May 04 23:32:49 I was away for a second May 04 23:32:56 whats the losetup command? May 04 23:33:30 hold that thought May 04 23:33:44 I'm gonna fire up ubuntu May 04 23:46:09 I used to have all my code in the main thread while pulling data off the net May 04 23:46:43 now with asynctask, do I implement my code inside the class that extends AsyncTask? May 04 23:47:12 DoInBackground() May 04 23:47:38 ekh: doInBackground runs on the task thread, onPostExecute runs in the UI thread (back your content view changes here) May 04 23:48:18 http://git-scm.com/?new May 04 23:48:44 looks nice :) May 04 23:48:51 you can put lip stick on a pig, see ! May 04 23:49:17 Napalm: Could you explain the second part, please? May 04 23:49:40 ekh: view have to be changed on the ui thread May 04 23:49:41 fail: said download 1.7.10.1 , but 1.7.9.4 actually was sent May 04 23:50:44 Napalm: does that include data assignment to variables? May 04 23:51:03 no May 04 23:51:12 no it does not include that May 04 23:51:53 "The Samsung Galaxy S III: The First Smartphone Designed Entirely By Lawyers" … i thought this was an onion article May 04 23:54:44 weirdness. http://www.slashgear.com/android-lost-money-in-2010-according-to-us-judge-04226220/ May 04 23:56:50 ok a made a short document on how to setup ABS in eclipse, where can I share it at? May 04 23:58:42 Napalm: Can any part of doInBackground() call methods from the main thread? May 04 23:59:26 ekh: not following what you mean, methods dont exist on a thread May 04 23:59:28 JakeWharton: can i email you the .docx? May 04 23:59:45 Napalm: I was trying to sound smart :P May 05 00:00:40 Napalm: what I meant is, my activity calls this AsyncTask.execute(), however, the question is, can any part of doInBackground() call methods from the Activity? May 05 00:01:21 mainly to manipulate the data, that was assigned in doInBackground May 05 00:02:44 ekh, you can manipulate some data, but you may not touch the UI May 05 00:04:36 pfn: ok thanks. in onPostExecute(), how do I refer to my activity? May 05 00:05:27 ekh, learn a little bit of java first May 05 00:05:31 lol May 05 00:05:44 ouch May 05 00:05:48 ekh, if you're in a nested class, then you can use OuterClass.this May 05 00:06:46 oh I knew that! though didn't know it would work ^^ thanks May 05 00:07:29 how can startActivity launched from a Service context work on some devices and crash on others (android.util.AndroidRuntimeException: Calling startActivity() from outside of an Activity context requires the FLAG_ACTIVITY_NEW_TASK flag. Is this really what you want?). Why doesn't it crashes everywhere ? :p May 05 00:08:27 bubbleguuum, different versions change behaviors May 05 00:08:38 yes that's what I noticed the hard way May 05 00:08:46 Ok I posted a doc on setting up ABS in eclipse: https://docs.google.com/document/d/1g1RuUri3tBKmUx5Rpj74p1sn8AXEVr68-DRjYdtXAKw/edit May 05 00:08:56 no crash on my dev unit May 05 00:09:16 you got to love all those pesky RuntimeException thrown by Android core though. Awesome May 05 00:09:47 some should make a list one day May 05 00:09:56 *someone May 05 00:12:58 "Octomom at crossroads, broke and considering porn" , uh omg May 05 00:13:17 those poor kids May 05 00:19:55 oh would seem that on some Androi version that Intent.createChooser(intent, ..) does not copy the FLAG_ACTIVITY_NEW_TASK flag of the passed intent ? May 05 00:21:00 bubbleguuum: might relate to PendingIntent, i have a feeling ive experienced a similar issue May 05 00:23:06 specifically this code executed in a Service context final Intent intent = new Intent(...); intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK); startActivity(Intent.createChooser(intent, ...)) , seems to trigger exception "android.util.AndroidRuntimeException: Calling startActivity() from outside of an Activity context requires the FLAG_ACTIVITY_NEW_TASK flag" , on some devices but not others May 05 00:23:19 yes May 05 00:23:29 that's a known bug ? May 05 00:23:34 its not a bug May 05 00:23:39 your createChooser's result needs the flag added to it May 05 00:23:49 createChooser simply wraps your intent into a bundle May 05 00:23:53 but how can it be added ? May 05 00:24:12 ha yes I see May 05 00:24:27 the flag must be set on the result of Intent.createChooser() May 05 00:24:30 Intent chooser = Intent.createChooser(intent, ...); chooser.addFlag(blah); startActivity(chooser); May 05 00:24:58 weird that it works on both 2.3.7 and 4.0.3 for me without crashing May 05 00:25:11 but for plenty of users, it crash May 05 00:25:35 bubbleguuum: i expect its depends on the currently visible context and what application it links to and other such things May 05 00:25:52 rather than just xyz May 05 00:26:44 hmm, i'd have to test this, but an idea just came to me May 05 00:27:38 http://pastie.org/private/9ar1mdbh4n6gzmdnwanhq <- when I try to use the LinearLayout object defined in the first row, I get an NPE. The XML is the layout xml file for it... any ideas? o.o May 05 00:27:49 i wonder if you created the service with the application context, and therefore when you startActivity from a service it will pull your apps foreground task to the front and add your activity to the stack May 05 00:28:06 meh, something to try one day May 05 00:28:35 lol May 05 00:28:51 chrizc: your doing it wrong May 05 00:28:58 o.o May 05 00:29:02 why q-q May 05 00:29:03 findViewById finds a view with an id May 05 00:29:07 not a layout resource id May 05 00:29:10 change that to May 05 00:29:12 R.id.template May 05 00:29:14 :P May 05 00:29:20 ...derp May 05 00:29:26 thanks May 05 00:34:03 Napalm: thanks for helping May 05 00:34:15 np May 05 00:41:58 http://www.youtube.com/watch?v=qwIAjB99ucw < wow, old skool retro May 05 00:45:04 ab.setDisplayUseLogoEnabled(false); <- why is my ActionBar still displaying an icon? May 05 00:45:40 dont you want (true); May 05 00:45:59 wait icon or logo... they are different things May 05 00:46:00 :P May 05 00:46:07 no, I just want an empty action bar on this page May 05 00:46:08 :P May 05 00:46:20 officially your not suppose to do that May 05 00:46:29 really? May 05 00:46:35 set the actionbar in logo mode and set the logo to a 1x1 times pixel May 05 00:46:39 transparent pixel May 05 00:46:45 chrizc: it breaks UX May 05 00:46:57 people see your logo/icon at top left and know they are in your application May 05 00:47:04 would google deny my app from that? May 05 00:47:10 also, it's for my first page May 05 00:47:19 it has my app's full logo taking up a good 20% of the screen May 05 00:47:22 you could try setIcon(null); and setLogo(null); May 05 00:47:23 I think they'll know they're in my app. May 05 00:47:27 see what happens May 05 00:47:30 mk. May 05 00:48:14 Napalm; still shows. May 05 00:48:19 it's showing the stock Android icon May 05 00:48:20 but still shows. May 05 00:48:57 meh screw it, I'll just have a mini-icon. May 05 00:49:02 why not just change that activities theme May 05 00:49:07 so it doesnt use an actionba May 05 00:49:09 actionbar May 05 00:49:37 because I want the actionbar there, I just don't want anything on it. May 05 00:50:01 it's because it goes onto a page /with/ an actionbar, and the transition looks weird if the first page has no actionbar. May 05 00:51:30 O.O May 05 00:56:05 what up nerds May 05 00:56:50 nnneeeerddds ! May 05 00:57:08 chrizc I'm pretty sure you can just put a blank icon or tell the action bar theme to have no icon May 05 00:57:24 i would think an empty action bar would look like shit though May 05 00:57:48 Indeed May 05 00:57:54 well, you can have the title there Still May 05 00:58:04 chrizc: you do know you can have a custom title that looks like a blank actionbar? May 05 01:43:07 anyone know how to determine if a specific notification is still active? May 05 01:43:39 i have found this, http://stackoverflow.com/a/3630799, but have not been able to successfully implement it May 05 02:00:58 Jug6ernaut: that all works in a very neato way May 05 02:01:43 Jug6ernaut: PendingIntents are cached, so if you try to create an new PendingIntent with the EXACT SAME PARAMS then it will return the same object May 05 02:02:21 hmm May 05 02:03:14 im not sure if that means the context aswell May 05 02:03:22 if so use the application context May 05 02:03:47 ill have to try that May 05 02:03:51 but ive seen the problem where you want several PendingIntent with different extras May 05 02:03:56 and they all use the same object May 05 02:04:12 thats where you have to play with an special param of PendingIntent May 05 02:05:16 thats it, the requestCode May 05 02:05:26 sayts its (currently not used) but its a lie May 05 02:05:29 :P:) May 05 02:05:37 lol May 05 02:06:05 its used as part of the unique hash or whatever for the PendingIntent May 05 02:09:24 abs May 05 02:09:46 someone say jeppy May 05 02:10:11 Napalm so what task does the alarm manager take? May 05 02:10:52 Jug6ernaut, can you type my name, i'm testing a highlight May 05 02:11:12 jeppy May 05 02:11:19 ok cool May 05 02:11:21 thank you May 05 02:11:31 lol np May 05 02:14:17 Napalm nm i got it working :D May 05 02:16:33 i think May 05 02:21:33 <`teh1> hey uh May 05 02:21:55 <`teh1> how do i tell what the problem is in my project when the only problem it gives me is with a string id in gen? May 05 02:21:56 ? May 05 02:22:10 <`teh1> i know it's in strings, but it isnt telling me that there is anything wrong in strings May 05 02:22:21 red X on the left side May 05 02:22:23 ? May 05 02:22:32 <`teh1> of gen, yes May 05 02:22:36 <`teh1> but none of my strings May 05 02:22:42 <`teh1> (many localizations) May 05 02:22:47 when you mouse over the X does it bring up the intellisense? May 05 02:23:39 <`teh1> oh what May 05 02:23:44 <`teh1> i see it seems to be caused by a missing key May 05 02:24:11 <`teh1> i made a python script to convert all my CSV localizations to strings files May 05 02:24:15 <`teh1> someone must have fucked up the CSV export May 05 02:24:41 packet hitting a pocket on the socket of the port prolly May 05 02:24:43 <`teh1> cant find the missing key though :\ May 05 02:26:29 should be fairly simple though May 05 02:31:44 anyone any good with putting android on Kaiser's May 05 02:33:05 Kristophwa: this channel is for app development, not hacking Android onto obsolete WinMob devices May 05 02:33:29 you probably want to look on xda-developers May 05 02:34:01 rightio then May 05 02:35:37 <`teh1> completenewbee: http://cl.ly/1D2x442s2G3k2h201i0I May 05 02:35:50 <`teh1> wtf? May 05 02:35:53 <`teh1> i checked through my strings May 05 02:35:56 <`teh1> they are all fine May 05 02:35:58 <`teh1> deleted gen May 05 02:35:59 <`teh1> cleaned project May 05 02:36:01 <`teh1> everything May 05 02:36:46 teh1 hit "Window->Show View->Problems" May 05 02:36:49 should list it May 05 02:36:52 <`teh1> told you already May 05 02:37:00 <`teh1> the only problem it shows is that problem in the R.java May 05 02:37:15 delete the R.java and let it regenerate May 05 02:37:16 ? May 05 02:37:20 <`teh1> tried. May 05 02:37:22 <`teh1> just said May 05 02:37:46 pasteable somewhere i can load from? May 05 02:38:03 <`teh1> Description Resource Path Location Type May 05 02:38:03 <`teh1> Syntax error on token "int", VariableDeclaratorId expected after this token R.java /2012 Torch/gen/com/facebook/android line 157 | Java Problem May 05 02:38:05 <`teh1> oops May 05 02:38:11 <`teh1> whatever you can read that May 05 02:38:18 oh lord May 05 02:38:21 another facebook client May 05 02:38:26 :) May 05 02:38:36 <`teh1> oops May 05 02:38:41 <`teh1> erm May 05 02:38:49 <`teh1> what's that? May 05 02:39:02 <`teh1> rather, what's this you speak of? May 05 02:39:34 the whats at 157 inside R.java? May 05 02:39:48 <`teh1> public static final int =0x7f04005b; May 05 02:39:54 <`teh1> the screenshot i showed you :P May 05 02:40:12 cant see the screenshot May 05 02:40:25 <`teh1> ok May 05 02:40:40 <`teh1> well it's that int without a variable name May 05 02:40:48 but if that really says "public static final int =0x7f04005b;" then your missing or have a misplaced space in your strings file May 05 02:41:03 <`teh1> it's almost like it's just missing a ... May 05 02:41:10 <`teh1> a misplaced "space"? May 05 02:41:23 <`teh1> sec May 05 02:41:25 can you put the strings file your using somewhere where I can peek or load from here May 05 02:41:34 the xml your loading in May 05 02:41:35 <`teh1> i have 24 strings files May 05 02:41:44 <`teh1> in different languages :P May 05 02:41:58 do-able though May 05 02:42:08 but as you see your needle in a haystack May 05 02:42:15 <`teh1> misplaced space as in what? May 05 02:42:28 one of your string.xml files May 05 02:42:48 acts like you either have a misplaced or missing May 05 02:43:03 I would still have thought though you should have got something off the "Problems" tab May 05 02:43:13 <`teh1> can you give me some context? for instance a little example xml as to where the space would be to cause that problem May 05 02:43:13 directly on the xml file May 05 02:43:22 <`teh1> oh the name of the file? May 05 02:43:35 test message May 05 02:43:46 <`teh1> sec May 05 02:43:52 <`teh1> thought i checked for those :P May 05 02:44:23 <`teh1> hell, i thought my python script trimmed that shit... May 05 02:45:39 <`teh1> completenewbee: gonna post one of my strings files. they are all identical aside from the values May 05 02:45:47 k **** ENDING LOGGING AT Sat May 05 03:00:01 2012