**** BEGIN LOGGING AT Tue Jul 10 02:59:58 2012 Jul 10 03:00:35 dlaroche: it should be pretty easy Jul 10 03:00:57 yeah I seem to recall .wav headers are simple Jul 10 03:01:41 Just didn't want to re-invent the wheel if someone else already has, and offers a nice library to use. Jul 10 03:04:39 Blade: wut Jul 10 03:07:35 is there anyway to create a button that is guaranteed to take up 1/2 the width of the screen regardless of which screen it is? i'm looking at the documentation for 'dp' pixels but i'm unclear on how i would determine number half the screen is Jul 10 03:07:49 what number* Jul 10 03:07:59 50% Jul 10 03:09:12 aadq: use linearlayout, set weight on width to 1 for each Jul 10 03:11:48 themirror: sorry which attribute is that? Jul 10 03:12:03 damn it I wish developer.android.com didnt change Jul 10 03:12:18 aadq: if you want a button on left to to take up 50% and leave the right side empty? Jul 10 03:12:19 I like the reference that wasnt just a class reference, but would also help outline what was new Jul 10 03:12:40 QubeZ: well, it's a generic question. i would like a textview to take up 75% and a button to take up 25%. Jul 10 03:12:43 ron_frown: stop complaining ! Jul 10 03:12:45 to be specific Jul 10 03:12:46 :) Jul 10 03:12:48 aadq: android:layout_weight="1" Jul 10 03:13:13 the masters of android have done what is good for you Jul 10 03:13:15 themirror: and if i want to take up 75%/25% with two elements? Jul 10 03:13:45 guess I gotta port my changes over to jellybean now that aosp was released Jul 10 03:14:04 aadq: then use linearlayout but set the weight_sum of the linearlayout to 4, then the textview weight to 3 and button weight to 1 -- both layout_width="0dp" Jul 10 03:14:22 read up on layout_weight, layout_width and layout_weightsum (i think thats what its called) Jul 10 03:14:33 thanks! Jul 10 03:14:34 will do Jul 10 03:14:44 you don't need to set the weightSum Jul 10 03:14:55 its infered? Jul 10 03:14:58 by default it's the sum of the children's weights Jul 10 03:15:01 ok Jul 10 03:15:21 however, setting it might save you an iteration over the children Jul 10 03:15:26 but the may be premature optimization Jul 10 03:16:05 weights 1 and 3 i think Jul 10 03:16:16 i guess it would make more sense to set it to 100, for future cases? Jul 10 03:16:29 if i want fine grained control, or is there a problem with that approach Jul 10 03:18:39 are weights not supposed to add up to 1? Jul 10 03:18:55 or is that just default? Jul 10 03:19:55 they can add up to anything Jul 10 03:20:36 oh. iirc in android bootcamp series he said they add up to 1 and the value is how much an item "gives up" Jul 10 03:20:57 that's the only time i've ever had to deal with weights tho, never looked back into it Jul 10 03:21:01 no they can add up to anything and they're ratios Jul 10 03:21:43 you can do 2 and 3, you can do 200 and 300, you can do .4 and .6 Jul 10 03:22:34 ah. well if decimal is allowed, summing to one seems more straight forward. but i guess i like percents over fractions... must come from counting all this money ;p Jul 10 03:23:08 rootlicker: just multiply by 10 :) Jul 10 03:23:26 oh I see JakeWharton beat me to it Jul 10 03:27:16 i'll keep it in mind if i ever need weights again Jul 10 03:30:42 http://codepad.org/HKlMSFuT -- using this main.xml file, neither the textview nor the button show up. any obvious problems? Jul 10 03:31:23 Yes Jul 10 03:31:24 layout_weight not weightSum, okay Jul 10 03:31:32 exactly Jul 10 03:31:42 You don't need to specify a weightSum Jul 10 03:31:47 It defaults to the sum of all child weights Jul 10 03:32:55 aye, but i don't necessarily want to fill the screen in all cases Jul 10 03:33:12 that's perfect, thanks for the help everyone! Jul 10 03:34:09 that sounded a little too cheerful Jul 10 03:34:11 i take it back Jul 10 03:35:29 Will converting a float to a string via String.valueOf(mfloat) a billion times generate garbage? Jul 10 03:35:33 oh noez, JB won't build here D: Jul 10 03:35:43 is it possible to use weights to determine both width and height? i note that there seems to be only a single 'layout_weight' Jul 10 03:37:40 and if not, is there an alternative method? for example, i would like a textview to take up 75% of the screen horizontally and a button to take up 25%, but for both of them to take up 10% of the screen vertically Jul 10 03:39:47 any of you guys game devs? Jul 10 03:39:53 what does it mean if a dialog box is cancelable or not? Jul 10 03:40:26 agargiulo it means if the user presses back button, for instance, it closes Jul 10 03:40:43 oh that makes far too much sense. =P Thanks Jul 10 03:41:07 i believe back button is the default, iirc. you may have to manually set, lemme check Jul 10 03:42:14 aadq: no, it only goes in the direction of the layout's orientation Jul 10 03:42:19 any of you guys here app devs by occupation? Jul 10 03:42:29 Naish: why? Jul 10 03:42:34 I'm sure there are quite a few Jul 10 03:42:35 Interested. Jul 10 03:42:40 ask a real question please Jul 10 03:42:41 yeah nah, you can provide a onCancelListener to do some action when user hits cancel Jul 10 03:42:52 I am a PHP dev myself by occupation, and am now getting into android dev Jul 10 03:42:55 for isntance, stop a service, stop a webservice call, kill a thread, whatever Jul 10 03:43:03 i'm an app developer Jul 10 03:43:07 as a hobby Jul 10 03:43:09 ok good Jul 10 03:43:09 by profession Jul 10 03:43:15 thinking it would be nice to do as profession Jul 10 03:43:29 Im a app, game , MMO, AAA game dev and many more... Jul 10 03:43:35 JakeWharton: do you have any suggestions for generically calculating height, then? Jul 10 03:43:40 mobile pays well. mostly. Jul 10 03:43:45 nice Jul 10 03:43:52 same as php i guess, just differen platform... all depends on what you like, what you're assigned, dev process, team, etc. can be great or can suck Jul 10 03:44:04 aka hot market, tons of jobs, all over the US at least Jul 10 03:44:10 yeah hot market in US Jul 10 03:44:23 Game dev work is HARD and pays less well ;) Jul 10 03:44:44 I am not so interested in the cash, as enjoying what I am programming Jul 10 03:44:51 yeah, don't do games myself. never learned graphics n such. need to, but there's so much else i'm interested in :-) Jul 10 03:45:04 I enjoy what I do now, but game development would be awesome (considering I love gaming myself) Jul 10 03:45:14 Naish: you say that now Jul 10 03:45:26 i come from an embedded systems / wireless sensor device background, in research lab. far from gaming, 3d engines, all tha Jul 10 03:45:30 Game Dev is nothing like playing games... Jul 10 03:45:37 TheBunny: this Jul 10 03:45:39 aadq: custom ViewGroup? Jul 10 03:46:06 I would still like to try it Jul 10 03:46:11 * TheBunny did http://elderscrollsonline.com/en/ Jul 10 03:46:21 Naish: I didn't say not to do it. Jul 10 03:46:26 Naish, same here, PHP -> android dev. I also have experience of working with a game dev house back in Chicago for a short time.. game dev is a beastly business, if you're willing to risk everything else for it. Jul 10 03:46:31 I am not a naive gamer who knows nothing about programming expecting it to be all fun :) Jul 10 03:46:32 Sure Naish learn it :) Jul 10 03:46:44 I just know a lot of people that didn't know that Game dev was actually hard work Jul 10 03:46:51 JakeWharton: just do a fresh repo sync, doesn't take long Jul 10 03:47:15 I ordered a nexus 7 Jul 10 03:47:22 aadq: put them in a container, set them to match_parent, set the vertical weight on the parent. Jul 10 03:47:23 and a game development book for android Jul 10 03:47:30 I am going to take 2 weeks from work and go through it, and then decide Jul 10 03:47:38 game dev is proabbly some of the most rigorous, depending on approach Jul 10 03:47:42 EddieRingle: …it takes like 2 hours Jul 10 03:47:48 JakeWharton: not for me Jul 10 03:47:52 took less than an hour Jul 10 03:48:03 anything more than 5 minutes is too long Jul 10 03:48:05 Naish, I'm starting to think you're a young kid now... Jul 10 03:48:08 physics, modelling, graphics, optimizations, logic.. many aspects to it Jul 10 03:48:09 JakeWharton: get faster internets Jul 10 03:48:12 JakeWharton: you know about -j, right? Jul 10 03:48:16 clayjar: I am thinking the same thing Jul 10 03:48:21 repo sync -j 16 Jul 10 03:48:22 idealism comes with youthfulness... Jul 10 03:48:30 I consider modern AAA level game dev to be one of the harder fields. Jul 10 03:48:30 yeah, I used supercharged repo sync Jul 10 03:48:43 But not so much if you are just using pre made engines on mobile. Jul 10 03:48:46 seems like such a waste when I only have one corrupt git repo Jul 10 03:48:51 they are worlds appart Jul 10 03:49:01 which is nice and opens the field up more Jul 10 03:49:08 JakeWharton: just rm -rf that git repo Jul 10 03:49:10 clayjar: define young :) Jul 10 03:49:11 and then repo sync Jul 10 03:49:16 you'll get it back, but fixed :) Jul 10 03:49:17 you must have spent a couple of hours trying to fix it :p Jul 10 03:49:19 listen to evancharlton Jul 10 03:49:20 yeah unity3d and such probably cuts a lot of the hard parts out Jul 10 03:49:22 he types quickly Jul 10 03:49:29 haha Jul 10 03:49:45 going to try building on a super EC2 instance Jul 10 03:49:48 I didn't know if that would work because of the symlinking Jul 10 03:49:54 32 Intel cores should go quick Jul 10 03:49:56 Naish, young: unrealistically enthusiastic for something that can potentially create havoc in life. Jul 10 03:50:05 JakeWharton: try it and find out :) Jul 10 03:50:14 Might as well Jul 10 03:50:17 lol clayjar Jul 10 03:50:18 EddieRingle: use GCE Jul 10 03:50:20 lol Jul 10 03:50:26 evancharlton: hah Jul 10 03:50:34 clayJar: Ideally I want to create an app, that makes me enough money so I can snowboard for a while haha Jul 10 03:50:36 evancharlton: I don't have a buddy at Google that'll give me free access to that, heh Jul 10 03:50:38 like I do AWS Jul 10 03:50:47 ok Naish you just confimred it Jul 10 03:50:53 EddieRingle: ah :) Jul 10 03:51:01 making an app is one challenge, making money off it is a whole nother set of hardships Jul 10 03:51:08 Naish, start as a hobby and see where it takes you, but don't expect 2 weeks to absorb enough of anything. Jul 10 03:51:13 that's why I won't be quiting my day job Jul 10 03:51:43 Naish my suggestion - learn some generl java first. android framework is built on some heavy java concepts Jul 10 03:52:21 Hmm, I did Java at university, but have been only doing PHP since then Jul 10 03:52:22 * clayjar ditto on rootlicker's advice. Jul 10 03:52:39 if your'e really good at php and do a lot of OOP - you might be able to get by with some stuff, but my gut tells me you won't quite understand whats happening, you'll largely be cargo cult, copy pasting. Jul 10 03:53:00 I consider myself a decent programmer, worked with many frameworks in PHP Jul 10 03:53:02 evancharlton: on a related note, I think EC2 has an amazingly fast line to Google's source servers Jul 10 03:53:05 this is downloading quick Jul 10 03:53:22 Is there another way to convert a float to a string other than using String.ValueOf ? Jul 10 03:53:25 i also now work for a very popular software package Jul 10 03:53:41 Naish, you probably used Gosling's work as a textbook for the class. Keep it next to you and just chew on it. Jul 10 03:54:06 i mean naish - imagine trying to write some poetry with complex verse forms and intricate rhyming, in a language you don't speak - that's what developing android without some strong java is like Jul 10 03:54:19 a Jul 10 03:54:33 lasserix what's wrong with that approach? Jul 10 03:54:41 so you are saying Java 101 isn't enough? :O Jul 10 03:54:44 hehe Jul 10 03:54:52 I am willing to accept the challenge Jul 10 03:55:20 I released an app almost a month ago and I'm pretty stoked that I'm getting over $1 per day now Jul 10 03:55:32 don't expect to go snowboarding anytime in the next few years with your first android app Jul 10 03:55:42 you could do String s = "" + float; Jul 10 03:55:53 I have to update some UI values (using custom view via on draw to avoid settext's string overhead), at a rate of like 60 times a second (20 floats), and don't want to create garbage in the process Jul 10 03:55:59 or you could wrap the float into a Float object and call toString() Jul 10 03:56:01 yeah that's what i figure I'll change it too, thanks Jul 10 03:56:19 Hehe, i'd be stoked if I made any money at all tbh Jul 10 03:56:29 JakeWharton: total download time on AWS was roughly 23 minutes Jul 10 03:56:31 that was just my dream Jul 10 03:56:32 good :) Jul 10 03:56:40 casue most games do not make $ Jul 10 03:56:54 nothing wrong with a dram Naish but you gotta plan and follow practical steps to realize it Jul 10 03:57:08 and have moderately realistic expectations Jul 10 03:57:14 Naish: if you want to make some money and like the idea of creating stuff, try live wall papers. Iphones don't have em, and they = disposable income for users. Jul 10 03:58:29 rm -rf-ing worked Jul 10 03:58:31 time to meld! Jul 10 03:58:34 It'll get you into developing for android, far easier than a whole game. And from there you can move into games... Jul 10 03:58:52 Very true. Jul 10 03:59:11 And you can show them off to your friends ;p Jul 10 03:59:15 i plan on developing many apps to mess around with the API before doing my game Jul 10 03:59:24 i'm not sure i've seen someone compare java to poetry before Jul 10 03:59:25 it's a high time to be an Android developer.. however, please read the doc thoroughly, especially on design/plan and UX. I would hate to see an app that's put together in 2 weeks appear and turn into another 'junk' stat for Google Play App store... Jul 10 03:59:44 and don't use a freaking TabActivity Jul 10 03:59:57 Hehe, the 2 weeks I take off is to learn, not to start and finish the app Jul 10 03:59:58 maybe around 1998 Jul 10 04:00:08 I still need an idea for a game first Jul 10 04:00:15 neckbeard shaver Jul 10 04:00:17 Will using the NDK help reduce the audio latency that you experience in Android? I remember a Google I/O fireside chat with Dave Sparks saying that most of the latency problems are due to the scheduler not prioritizing audio threads appropriately. Any input? Jul 10 04:00:25 so while I think of a game idea, ill learn as much as i can Jul 10 04:00:30 msteele code is poetry Jul 10 04:00:33 there is a lot of crap, produced by people who haven't read thoroughly... Jul 10 04:01:12 <--- Jul 10 04:01:26 dlaroche: I had to look into that and seems even going to NDK won't produce responsiveness you want, but it does get slightly better Jul 10 04:01:28 Google is like a kindhearted mom who is more lenient... Apple would probably kill more than 1/3 of apps on Play Store if it had a choice for its own store.. Jul 10 04:01:37 Naish imo the general android sdk won't serve much in the way of a game, if it's graphical. you would mostly focus on opengl or some kind of engnie, unless its a very simple game like checkers that you can hack up without huge performance issues Jul 10 04:02:05 Yep, been messing around with some engines, any recommendations? Jul 10 04:02:31 i don't have any game dev experience. unity3d seems popular, but i don't know anything more than that Jul 10 04:02:55 lasserix: so is the performance increase worth the time to implement NDK solutions? Jul 10 04:03:15 are we talking a few ms performance boost or larger? Jul 10 04:03:50 Naish: all the engines I would recommend are more like IDEs and very much not android specidic Jul 10 04:03:56 Unity is very good, Jul 10 04:03:56 I've heard good things about Unity3D, but I'd recommend you learn the basics first with a OpenGL redbook as your guide... does anyone know if JME3D is on the drawing board to be implemented into Android? Jul 10 04:04:05 there are others that are good for 3D an 2D Jul 10 04:04:28 yeah there's some books aimed at android game and mobile game dev Jul 10 04:04:29 dlaroche: sadly I think only a few ms, nothing close to what you should be able to expect! I don't know for sure because I didn't get too deep but if you search web you can find some stuff of other people doing the comparisons, seems audio has been low priority for the dev team :( Jul 10 04:04:34 I really like the portability of LibGDX, but with all the Android game engines. The documentation and tutorials is pretty limited. Jul 10 04:04:35 those would probably steer you in good directions Jul 10 04:05:01 corona sdk, SIO2, Shevia 3d, cocos-x Jul 10 04:05:15 lasserix: thanks for your knowledge. I'm glad I asked before digging into a dead end road. Thanks again. Jul 10 04:06:18 again, prefab frameworks are nice but nothing beats native platform.. learn the fundamentals of opengl se first. Jul 10 04:06:54 clayjar: have you looked into the performance of LibGDX? Jul 10 04:07:15 I bought the book "Beginning Android Games", so hopefully that will introduce me to the basics before I start getting over my head Jul 10 04:07:53 I have read the book. It covers a lot of good stuff. Jul 10 04:08:40 dlaroche what are u doing with audio? Jul 10 04:10:07 dlaroche, looks cool though. I just have an allergy for frameworks.. call me dinosaur. Jul 10 04:10:10 Working on an app that will allow you to plug a custom adapter into your device that will allow for a single input and output audio channels. Plus the ability to play them external channels over any wav file that is playing on the device, while recording everything Jul 10 04:11:23 clayjar: i see. I have toyed with it a bit, but the documentation really lacks in some areas. I guess it's not a framework for beginners, however, I do like the performance that it has over AndEngine, and it's ability to code once, and deploy to Android, HTML 5, and Desktop Jul 10 04:12:19 From my understanding they are working on making LibGDX deployable to iOS also. That will probably put it over the top as a game framework. Jul 10 04:13:04 Too bad you have to code something of your own engine, to really make the best use of the pre-existing ones :p Jul 10 04:14:58 dlaroche sounds cool. i have experience with PCM, signal processing, etc Jul 10 04:15:46 dlaroche, looks like a great framework for game dev. I like how it cuts to the chase w/o much pre/init/post codes. Very pragmatic. Jul 10 04:16:24 unity3d is nice Jul 10 04:16:31 rootlicker: that has been noted. I added you to my buddy list in case I have any signal processing questions. Jul 10 04:16:49 cool great, feel free to ask me questions Jul 10 04:17:03 I wonder if google would take my tabbing shit Jul 10 04:17:10 well theirs is probably fairly decent now Jul 10 04:17:16 but man tabactivity/tabhost/whatever Jul 10 04:17:21 just seems assinine Jul 10 04:17:33 ron_frown: what are you going off about :) Jul 10 04:17:43 in my spare spare spare time, i am working on an audio synth app.. lots of dsp there. i try to blog it as i go with detaield explanations. might come in handy for ya at some point Jul 10 04:18:04 I build a tab framework that is just drop a view, drop a view, drop a view Jul 10 04:18:09 and it builds everytihng you need for tabs Jul 10 04:18:12 rootlicker: any shameless link to the blog? Jul 10 04:18:16 rootlicker what's your blog? Jul 10 04:18:16 from scratch Jul 10 04:18:29 speakingcode.com Jul 10 04:18:56 a lot of the code is scratchpad stuff, don't roast me :-) Jul 10 04:19:14 Prime numbers do come to an end! Jul 10 04:19:14 ron frown sounds awesome Jul 10 04:19:20 wow, someone in CM channel already booted into a rebuilt JB.. nice. Jul 10 04:19:33 (no wifi/sound though) Jul 10 04:19:33 rootlicker: i'm new to DSP so all the theory I can read on pertaining to code is beneficial at this moment Jul 10 04:20:06 clayjar: I think I read that somewhere Jul 10 04:20:09 dlaroche there is a post, primer to digital sampling/pulse code modulation, sounds like it will help you. i will be expanding on it soon Jul 10 04:20:33 dlaroche, you couldn't have.. it just happened like seconds ago. Jul 10 04:20:34 rootlicker: sweet. I will definetly give your blog a browsing Jul 10 04:21:09 clayjar, I built jb for my panda about 4hr ago Jul 10 04:21:27 clayjar: on xda-developers there is a lot of talk going on about it Jul 10 04:21:55 oh, okay.. X-] Jul 10 04:23:56 time for some instant coffee..... Jul 10 04:28:33 Anyone know of some seekbar 9.png backgrounds online? Jul 10 04:30:00 lasserix: not sure what you are looking for, but I came across some royalty free UI stuff. Let me take a quick look. Jul 10 04:30:52 Mostly just a functioning background ninepatch image, can't seem to draw my own without some problems Jul 10 04:31:27 aww....everything I got is PSD. Are you suing the nine9patch tool? Jul 10 04:31:32 ^using Jul 10 04:31:52 or a graphics editor? Jul 10 04:31:57 both Jul 10 04:32:25 can't seem to scale it properly but maybe I'm just a terrible graphic artist ;p Jul 10 04:33:08 the 'scaling' wont interpolate, or anything Jul 10 04:33:19 you need to put the black pixels on the top and left areas that can be repeated Jul 10 04:33:23 yeah I wish I was artistic myself. I know Photoshop pretty well, but no artistic abilities. Jul 10 04:33:27 it just repeats them over and over Jul 10 04:33:32 neither do i Jul 10 04:34:01 I don't have any aspiration to become an artist. the people who want a programmer/artist hybrid unicorn are dicks and not worth working for Jul 10 04:34:35 wanted; android java design photoshop and fingerpainting expert; $20/hr starting pay------- no thanks. Jul 10 04:34:43 dblshot: that's because they know they are the god of all skills then....lol Jul 10 04:35:19 I'm really great at taking the images an artist gives me and putting it in a layout :) Jul 10 04:36:21 dblshot: that is where my Photoshop skills shine :D Jul 10 04:36:37 that's where my "tell the artist to slice the images" email shines Jul 10 04:37:08 At one point in time I was a web developer so I feel pretty comfortable working with graphics, just don't have the creativity to pull them out of blank air though Jul 10 04:37:45 i'm capable of it, I just don't enjoy doing it. Jul 10 04:37:53 Most of the time, in web development, I would have to instruct the artist on how to put together graphics that would "work" Jul 10 04:38:10 I'll turn something into a 9p Jul 10 04:38:21 I don't wanna do much more than that, though Jul 10 04:38:28 yeah...i hear you there Jul 10 04:38:46 althought the concept of the 9patch images is simply amazing to me. Jul 10 04:39:39 I'm sure it's probably not something new to some hard core graphic programmers, but just the simplicity behind the way it works is just elegant if you ask me. Jul 10 04:39:49 wassaa Jul 10 04:40:03 waaaasssssaaaa up!!!!!!!! Jul 10 04:53:38 I thought 44100Hz sampling rate was guaranteed to be supported by all devices? Jul 10 05:07:58 JakeWharton: I feel like I'm doing a lot of support work for the GitHub app all of a sudden Jul 10 05:35:57 it is my understanding that if i bindService the service will end when the last client finishes Jul 10 05:36:13 unless startService is called first... what if startService is called after? Jul 10 06:08:48 can you guy`s tell what the packagename is this com.Illustris.Glazenwassen or thi com.Illustris Jul 10 06:10:08 GKeizer: the first one? Jul 10 06:10:32 oke thx Jul 10 06:10:57 It could be either one Jul 10 06:11:14 because i get a error if i want to update (An existing package by the same name with a conflicting signature is already installed) Jul 10 06:11:19 also, it's not clear whether you mean java package, or android package Jul 10 06:11:26 yeah, that would be android package Jul 10 06:11:32 is that because the app is not uninstalled or its running? Jul 10 06:11:44 android package Jul 10 06:12:01 it's because you have another application that uses the same package name, but that is using a different signature Jul 10 06:12:23 you have to uninstall it (will lose any local user data for the app) and then install the new one Jul 10 06:12:42 but in the user data there is standing the ip Jul 10 06:12:53 so that will be lost to Jul 10 06:12:58 yes Jul 10 06:13:06 "will lose any local user data for the app" Jul 10 06:13:16 if it is your app. you could try recompiling using your original app signing key. Jul 10 06:13:32 and make sure the package names are the same Jul 10 06:14:09 oke euhm if the version`s are the same its no problem? Jul 10 06:15:21 it has nothing to do with the version Jul 10 06:15:29 it needs to be signed with the same cert Jul 10 06:16:13 oke ill try to do it nog with nu uninstalling so the user data wil not be lost Jul 10 06:16:44 good luck Jul 10 06:16:47 do you have the original cert used to sign the application? Jul 10 06:16:56 your user data will be removed if you uninstall Jul 10 06:17:14 The version will have to be higher if you are trying to install it as an update without losing any data. Otherwise, if it is the same version number it still won't let you install it from the market Jul 10 06:17:17 yes i dit make 1 with the export Jul 10 06:17:44 no im not dooing it with the market Jul 10 06:22:45 still same error ((An existing package by the same name with a conflicting signature is already installed)) Jul 10 06:23:05 hi Jul 10 06:23:15 have you increased the version number? Try that Jul 10 06:23:21 any idea how i can query when a period based sync adapter gets called? Jul 10 06:23:25 shouldn't matter though Jul 10 06:25:12 monsti: can you elaborate some more? Is there a callback method for the adapter? Jul 10 06:25:46 dlaroche: i was looking for getPeriodicSyncs(Account account, String authority) in contentresolver Jul 10 06:25:53 well Jul 10 06:26:18 actually i'd like to have a list of all periodic syncs - including any other (e.g. like the list in the system settings) Jul 10 06:28:40 this doesn't work for what you need? http://developer.android.com/reference/android/content/ContentResolver.html#getCurrentSyncs() Jul 10 06:29:05 nvm...i see Jul 10 06:29:13 dlaroche: i don't know what google mans with "active" Jul 10 06:29:43 are this the running syncs or the scheduled or the enabled syncs :) Jul 10 06:29:51 I'm assuming active syncs, however, it may mean any active accounts that are syncable Jul 10 06:30:17 there are a lot of asumtions in syncadapters :) Jul 10 06:30:34 e.g. i don't know if i have to deal with powermanagement e.g. is my umts/wlan available? Jul 10 06:39:18 monsti: yeah, I kinda dug through the docs for you to see if I could find any hints, but no luck Jul 10 06:39:56 Does Eclipse use a other Cert? Jul 10 06:41:35 Because i use the same pack cert and still the same error :S Jul 10 06:41:54 no Jul 10 06:42:16 you could try exporting an unsigned version. Maybe you didn't sign the first one correctly Jul 10 06:43:28 hi Jul 10 06:43:34 does android sdk support C++? Jul 10 06:43:58 look for the native development kit (ndk) Jul 10 06:44:07 Lymphocyte: you can use the NDK to "talk" with C++ code Jul 10 06:44:20 regarding ksoap2-android: Anyone knows a possibility to cast the response of a SOAP call directly to a POJO? I do not want to write my own parser. Do I really have to? Jul 10 06:44:20 but i still have to know java right? Jul 10 06:45:11 yes Jul 10 06:45:12 ruh roh my phone rebooted itself again Jul 10 06:45:12 yezariaely: I guess you will have to Jul 10 06:45:36 how much java? Jul 10 06:45:43 yezariaely: try searching for "jaxb android" on google Jul 10 06:45:47 g00s: I had a similar problem with my phone having random reboots. Turned out to be the SIM card. Jul 10 06:45:47 Ivru: wasn't this the idea of a web service? to be transparent where the clal happens? Jul 10 06:46:28 dlaroche: hmm, mine is VZ (cdma) no sim. i think the problem with mine is 'android' Jul 10 06:46:36 :) Jul 10 06:46:38 yezariaely: clal ? On the server side you can use framework and libs like jaxb but on the client side, depends on which library you can use Jul 10 06:46:53 "call", sorry Jul 10 06:48:00 yezariaely: the WS will return a serialized bean (xml, json, ...) no mater, you will have to parse it to recreate it Jul 10 06:49:40 yezariaely: it seems you can use jaxb within your android app but it's about 9M : http://stackoverflow.com/questions/5461127/using-jaxb-with-google-android Jul 10 06:49:53 hmm ok, thanks for the hints! Jul 10 06:50:04 you're welcome Jul 10 06:56:16 i see that eclipse is using a other Cert if i try it with the adb install it have the same Cert How can i set the cert into the the eclipse emulator Jul 10 07:12:48 EddieRingle: so don't. just ignore them Jul 10 07:13:08 JakeWharton: y u respond so late? Jul 10 07:13:12 Hi! Does sombody know how to get a dropdown meny under the activity title like this screenshot? http://dl.dropbox.com/u/3455170/Screen%20Shot%202012-07-10%20at%2009.07.31.png Jul 10 07:13:17 busy Jul 10 07:13:30 Kannibal: that's list navigation Jul 10 07:13:32 hi, is it possible to add a custom keyboard layout without rooting the device? Jul 10 07:13:44 sure, install any IME Jul 10 07:13:51 android's framework is totally pluggable Jul 10 07:14:09 that's how things like SwiftKey and Swype and all that make dolla dolla bills Jul 10 07:14:19 JakeWharton: aha, was searching for spinner :) i will look into it Jul 10 07:14:36 'tis a spinner, just presented behind the action bar's list navigation Jul 10 07:14:52 same premise, you give it a provider with views and dropdown views Jul 10 07:15:28 ok, thanks Jul 10 07:15:42 looking for an example Jul 10 07:21:43 JakeWharton: that was simple! :) Jul 10 07:21:57 often is :) Jul 10 07:22:08 people have a tendency to overcomplicate what they're trying to achieve Jul 10 07:22:28 glad you were able to get it working Jul 10 07:23:08 yea, i know. i will not overcomplicate this project :) Jul 10 07:23:11 hi Jul 10 07:23:39 i am building a simple application containing a webview that loads other websites. Jul 10 07:23:58 sounds like 90% of iphone apps Jul 10 07:24:00 :) Jul 10 07:24:07 lol Jul 10 07:24:31 ducky_h: please don't... Jul 10 07:24:34 ducky_h: what is your question? Jul 10 07:24:36 ducky_h: our topic used to say "Note: A 'pretty viewer' is no longer a compelling Android app - Raise the bar already." Jul 10 07:26:31 What's a pretty web viewer? Jul 10 07:26:38 loading a website into a webview? Jul 10 07:27:27 dlaroche: i found the problem eclipse is using a other Cert then the Export Jul 10 07:27:51 so they dont match with the update. Jul 10 07:28:16 hello Jul 10 07:28:18 GKeizer....I always use Eclipse to export my apps. I have never built them from the build scripts Jul 10 07:28:30 Wasn't aware of that. Jul 10 07:29:02 does anyone build android natively... as in not-cross-compiled? Jul 10 07:29:10 when i start the emulator i guess that the Cert is different then the real export apk Jul 10 07:29:29 with a linux dist in a chroot running on the phone Jul 10 07:29:52 ashes: you'll probably die before it completes Jul 10 07:30:34 g00s: it's 1ghz, running 24/7. it might take a week or so, but not forever Jul 10 07:30:49 Gkeizer: I googled it real quick I believe there is a way to change the emulator signature Jul 10 07:31:07 ah oke i could`t find it Jul 10 07:31:44 thats would be great :D Jul 10 07:34:39 http://developer.android.com/tools/publishing/app-signing.html#debugmode Jul 10 07:34:54 when I click the link on the webview, the application dies without any crash dialog throwing " A/libc(9754): Fatal signal 11 (SIGSEGV) at 0x00000044 (code=1)" message. Jul 10 07:35:26 ducky_h: don't do that Jul 10 07:36:22 dlaroche: tanks Jul 10 07:36:27 thanks* Jul 10 07:36:39 np[ Jul 10 07:36:44 ^np Jul 10 07:37:25 ^^ Jul 10 07:39:16 JakeWharton: do you know how to get the title and spinner above and bellow eachother? they are huge and beside eachother now Jul 10 07:39:40 the adapter's view has both Jul 10 07:39:44 and the title is hidden Jul 10 07:40:11 ah, simple again… :) Jul 10 07:44:37 As knowledgable as JakeWharton is, he has to be driving a nice Ferrari around!!! Jul 10 07:44:54 some days i really wish android would let me steal more system memory :\ Jul 10 07:45:22 most days i defend the limited heap as a Good Thing (TM), but not when im trying to allocate a large number of bitmaps to optimize a draw path Jul 10 07:45:52 especially since i'm looking into how webkit does its tiling and finding that it essentially does things i cant do (allocating unbudgeted bitmaps) Jul 10 07:57:18 why is vpn + android such a pain? Jul 10 07:57:43 is there a way to start a vpn network from code? Jul 10 08:06:55 Hi Jul 10 08:07:25 is it possible to detect a drag across a view Jul 10 08:07:41 I want to have my view be scrollable, but I can't put it inside a scrollview Jul 10 08:07:49 yes. Use GestureDetector Jul 10 08:08:13 yes it is Jul 10 08:08:48 oh excelent just what I need Jul 10 08:08:50 thank Jul 10 08:08:52 +s Jul 10 08:22:32 maybe someone has some pointers for me about this issue: our app makes quite a few web requests to fetch images from a web server.. is there a way to make the android http clients class do some local caching transparently Jul 10 08:22:41 [i.e. a local proxy] Jul 10 08:24:09 oh httpresponsecache Jul 10 08:24:11 hmm Jul 10 08:25:16 too bad, it's only available from api level 13.. hmmm Jul 10 08:25:52 tapas: somebody backported it, maybe mrenouf Jul 10 08:26:57 https://github.com/candrews/HttpResponseCache Jul 10 08:29:42 how can a crash like this possibly happen (ICS 4.0.3): http://pastebin.com/GnbpAyNm. I have several other crash reports in the platform like these for various version of Android. This is appalling. Jul 10 08:30:22 bubbleguuum: stock ics or some skin ? Jul 10 08:30:29 good question Jul 10 08:31:14 seems stock Asus 4.0.3 on Transformer Jul 10 08:31:24 FINGERPRINT=asus/WW_epad/TF101:4.0.3/IML74K/WW_epad-9.2.1.24-20120503:user/release-keys Jul 10 08:32:49 are you changing the progress bar's visibility even though you didn't ask for that window feature? Jul 10 08:33:15 don't think so but I'll sure check Jul 10 08:33:51 g00s: oh, hell yeah :D Jul 10 08:34:04 :) Jul 10 08:36:48 romanguy_: feature is requested. Also I have the exact same device and it doesn't happen. Maybe a hacked ROM who knows... Jul 10 08:37:17 Hello, as a newb I need a tutorial for implementing and caching gmaps in a Project anyone has a link or two :? Jul 10 08:37:46 tagrudev: um, i think the google maps api handles the caching Jul 10 08:38:08 "Hans Reiser Sued By Own Kids For $15 Million" :O Jul 10 08:38:43 nah i need to save an area once and never download it again Jul 10 08:38:44 :) Jul 10 08:39:16 good luck with that Jul 10 08:39:46 well, you could try OSM and maybe do something different Jul 10 08:40:15 yeah i was thinking for open maps Jul 10 08:40:33 i was wondering if there was any way with gmaps Jul 10 08:43:16 romainguy_: I there any workaround for this: http://pastebin.com/v5Ar2b99. It only happens with HP Touchpad running ICS, failing hardware renderer initialization. I there a workaround to disable hardware accel only for these ? Jul 10 08:45:28 bubbleguuum: it's really bad, it means the device cannot provide the required EGL configuration Jul 10 08:45:55 so I leave it as a device bug ? Jul 10 08:46:06 yep Jul 10 08:46:16 not sure if it happens for all Touchpads or only for some ROMs running on it Jul 10 08:46:22 it looks like their GL drivers are effed up Jul 10 08:46:26 ok Jul 10 08:46:29 thanks Jul 10 08:46:44 thats gonna be fun come jellybean time Jul 10 08:46:45 lol Jul 10 08:46:56 oh wait, that's now. Jul 10 08:48:45 #php Jul 10 09:15:30 Anyone have any links to how to go about doing a blur in a custom view onDraw? Jul 10 09:16:31 lasserix: the very cheap way is to just resize image to very small and resize is back Jul 10 09:16:45 lasserix: otherwise you just convolve the image with gaussian kernel ;) Jul 10 09:17:28 Mavrik: it would be text I'm wanting to blur, do you know anywhere I could see some actual code on how to convolute with the gaussian? Jul 10 09:17:47 lasserix: what kind of blur? Jul 10 09:17:51 you want antiailiasing Jul 10 09:17:56 or just do gaussian blur? Jul 10 09:18:36 lasserix: see if this helps: http://www.jhlabs.com/ip/blurring.html Jul 10 09:18:45 Actuall gaussian: the idea is I want to progressively blur some text when the user does the appropiate input Jul 10 09:18:57 well Jul 10 09:19:00 it's easy Jul 10 09:19:08 *blur some text from legible to illegable, when i put the new text in Jul 10 09:19:29 just create a BlurMaskFilter object (http://developer.android.com/reference/android/graphics/BlurMaskFilter.html) Jul 10 09:19:30 hey romainguy_ is that latest picture on your blog real? Jul 10 09:19:34 and set it on a Paint object Jul 10 09:19:40 Mavrik: also I've been curious how to do stuff like gaussian blurs for a while, too :) Jul 10 09:19:40 and draw text on a Cavnas with that paint Jul 10 09:19:43 stork: of course it is Jul 10 09:19:55 crazy Jul 10 09:19:59 listen to romainguy_, he speaks more sense ;) Jul 10 09:20:05 stork: Antelope is an awesome place Jul 10 09:20:12 I'm a CS guy, I'll start talking about matrices and stuff ;) Jul 10 09:20:14 Mavrik: lasserix: it will only work with software rendering though Jul 10 09:20:42 certainly looks it from your pictures Jul 10 09:20:47 Mavrik: thanks for that link though, that is also something i've been looking for percisely, just finished a few linear algebra books, and am working within opengl too Jul 10 09:21:11 @romainguy: thanks! I read blurmask only does outlines, but if I can apply it directly to text that's perfect Jul 10 09:21:43 lasserix: blurmask is indeed a bit limited Jul 10 09:21:53 lasserix: it's what's used under the hood to create drop shadows on text Jul 10 09:22:04 lasserix: it might work for you Jul 10 09:22:14 otherwise Mavrik's link is an excellent resource Jul 10 09:22:38 thanks! it's nothing too complicated, just want to add a nice visual feedback effect Jul 10 09:24:44 hmm I'm using a GestureDetector, and it's getting the onDown even Jul 10 09:24:57 but I can't seem to get it to trigger the onScroll event Jul 10 09:28:05 Hi everyone Jul 10 09:28:29 did someone here worked with USB2SerialAdapter? Jul 10 09:31:52 i'm trying to add the character '@' as a string. but eclipse doesn't like that! @ Jul 10 09:35:35 embed: on an android device with usb host? Jul 10 09:37:42 yes Jul 10 09:39:25 I'm trying to add a VideoView to a Dialog, but I'm having issues due to there being no surface for the video to attach to. Jul 10 10:04:03 Can someone tell me what is this? Can't create handler inside thread that has not called Looper.prepare() Jul 10 10:04:25 Im calling an AlertDialog in a Service, and I get that message... Jul 10 10:04:37 same for a Toast inside this method Jul 10 10:09:46 Hi all Jul 10 10:23:01 Is there a listener with MediaPlayer which updates video playback progress? Or is it the case of running a thread checking progress? Jul 10 10:27:19 romainguy_: another super weird ICS 4.0.4 crash, on a Motorola Droid Bionic: http://pastebin.com/dReXjp87 Jul 10 10:31:27 dddddd Jul 10 10:53:00 mmh Jul 10 10:53:23 * Zharf wonders what program would use audiofocus transient_can_duck properly... Jul 10 10:54:49 seems that regular notifications don't, which I kind of assumed they would :E Jul 10 11:01:10 TTS also doesn't do it Jul 10 11:01:25 I would think TTS would be an excellent application for that Jul 10 11:04:25 . Request transient focus when you expect to play audio for only a short time (for example when playing navigation instructions). Jul 10 11:04:52 mikedg, I know, but I'm trying to catch when I lose the focus and if I can duck it or not... but nothing seems to be using it Jul 10 11:05:02 it seems silly that the TTS api doesn't enforce it Jul 10 11:05:21 what's ducking mean? Jul 10 11:05:34 lower volume so the other source can be heard Jul 10 11:05:46 isn't that automatic? Jul 10 11:06:02 ducking is a typo mikedg Jul 10 11:06:04 ;) Jul 10 11:07:10 oh i guess it isnt Jul 10 11:08:10 did you read http://developer.android.com/training/managing-audio/audio-focus.html Jul 10 11:23:09 hiya all... i read that the jelly bean will get updated into my google nexus phone too, is that true? Jul 10 11:24:16 when i bought it is was 4.0.2 and only last week it decided to go to 4.0.4 all by itself Jul 10 11:24:56 but maybe 4.1 is a to big an upgrade and only for the nexus 7 tablet Jul 10 11:31:28 Can someone help me showing an alertdialog in a service? Jul 10 11:31:49 I have an activity, and I created the onCreateDialog method, but I have some problem invoking it from the service Jul 10 11:37:56 Hi Guys, in actionbar sherlock, how do I set an activity to not have an actionbar. I can do it in oncreate by hiding the actionbar however this seems wrong Jul 10 11:50:47 mikedg, yes, I did... my problem is that I can't find anything that would cause the ducking Jul 10 11:51:47 unless I make my own, which would be kind of pointless since it seems that none of the system stuff even uses it Jul 10 11:51:52 so why would anyone else Jul 10 11:55:48 So if you delete your apk because you want to replace it, Play store removes all associated content without warning. Thanks google! Jul 10 11:56:15 delete != replace Jul 10 11:56:26 I can't seem to make touch events that land on my custom keyboard but are rejected by returning false from onTouchEvent register in the application below the keyboard.. is it possible to make that work? Jul 10 11:56:49 There is no replace Jul 10 11:56:54 how would you start developing a basic android game? SurfaceView? Jul 10 11:56:57 Canvas? Jul 10 11:57:22 Miles8of9: libgdx is probably you're best bet Jul 10 11:58:39 Miles8of9: you can write games with just Canvas,.. but will libgdx's SpriteBatch you basically get the same features as Canvas but it'll use OpenGL to do the work even on really old android versions Jul 10 11:59:36 even 2.2? Jul 10 11:59:55 yeah Jul 10 12:00:39 interesting Jul 10 12:00:41 thanks Jul 10 12:01:27 Miles8of9: it has a working 2D scenegraph too.. and there is TableLayout built in which is useful for doing you UI bits.. :) Jul 10 12:02:34 so i just drop the jar in libs folder of my eclipse project and start using the apis? Jul 10 12:04:26 Miles8of9: there is a how to on http://code.google.com/p/libgdx/ Jul 10 12:10:00 http://mashable.com/2011/12/14/developers-prefer-ios/ Jul 10 12:10:08 * samosa hides Jul 10 12:10:42 honestly, i could make a case for ios Jul 10 12:10:59 btu thats because our graphic artists dont understand how to make a design for varying screens Jul 10 12:11:08 which then makes my life a hell of a lot more difficult Jul 10 12:11:38 also the oems fuck shit up Jul 10 12:11:52 eclipse classic is the best version for android development right? Jul 10 12:12:24 I think designers who understand varying screens as a concept are super rare Jul 10 12:13:25 our office in toronto is good Jul 10 12:13:29 two of the three definitely do Jul 10 12:13:32 not sure about the third Jul 10 12:13:50 I haven't met one yet Jul 10 12:14:40 well you just have to shove it in their face a few times Jul 10 12:14:46 also they need to be smart Jul 10 12:15:38 well, they should understand that there are different sizes (ios has different sizes), they just don't get how to make things look right on multiple aspect ratios Jul 10 12:16:11 ios doesnt have different sizes Jul 10 12:16:15 there is the iphone (one design) Jul 10 12:16:18 and the ipad (another design) Jul 10 12:16:27 ive had people try to give me >9000 designs Jul 10 12:16:39 320x480 mdpi, 480x800 hdpi, 480x854 hdpi, ... Jul 10 12:16:45 so what are retina assets for? Jul 10 12:16:47 and i tell them to stfu and gtfo Jul 10 12:16:51 that's density Jul 10 12:16:52 not size Jul 10 12:16:56 those are trivial to do Jul 10 12:17:02 canadiancow: so the screen has more pixels? Jul 10 12:17:15 so it's a different size.. Jul 10 12:17:19 no Jul 10 12:17:19 it's not Jul 10 12:17:21 Does anyone know how can I turn on GPS programatically? Jul 10 12:17:22 it's a different density Jul 10 12:17:26 Is it possible or not? Jul 10 12:17:33 and if you dont know the difference between size and density, i dont know how you're doing android dev Jul 10 12:17:56 :D Jul 10 12:18:01 canadiancow: is the framebuffer a different size for retina? Jul 10 12:18:03 touché Jul 10 12:19:02 I would say having a screen that is the same physical "size" but has more pixels etc makes it "different" Jul 10 12:19:16 just as a VFD would be different to TFT Jul 10 12:25:04 Tsukaza: I think you can control the GPS.. you would need the perm to do so.. it's probably in LocationManager Jul 10 12:25:26 Tried that, but cant turn on Jul 10 12:26:07 you can not turn the gps on programatically Jul 10 12:26:12 i thought it was good practice to ask the user to do it for you Jul 10 12:26:23 how can I ask? Jul 10 12:26:26 it is good pratice to ask the user to do it for you Jul 10 12:26:32 Cuz, only wway is redirect him to gps page Jul 10 12:26:35 in settings Jul 10 12:26:49 ^ Jul 10 12:26:56 that's how Jul 10 12:27:00 answered your own question you did Jul 10 12:27:05 http://stackoverflow.com/questions/6031004/check-if-user-has-enabled-gps-after-promted-in-android Jul 10 12:27:19 Weird that you can control wifi, bt etc but not gps.. but fair enough :) Jul 10 12:27:54 hello Jul 10 12:36:12 Problem is, bringing up that settings page kinda ruins my app... Jul 10 12:36:18 it duplicates the activity UI Jul 10 12:36:21 sometimes Jul 10 12:37:04 It's sort of tough luck if there is no way to turn it on.. I guess it's to stop apps secretly tracking your location Jul 10 12:37:12 i think you could work around that with either root or a custom rom Jul 10 12:37:25 but obviously not supported Jul 10 12:38:00 How do the widgets that control Wifi,GPS etc do it? Jul 10 12:38:25 one way to find out Jul 10 12:39:15 nice, JB source released yesterday Jul 10 12:39:34 and still downloading here Jul 10 12:39:35 :( Jul 10 12:39:40 Grrr changes in 4.x webview, now wants all methods called from UI thread Jul 10 12:39:58 Even when the webview is NOT attached to a window and only being used for JS execution Jul 10 12:42:59 Ok, so the InputMethod.Insets.touchableRegion in API 11+ seems to be for doing keyboards that aren't a rect.. so I set the insets, and I no longer get onTouchEvent called in my View but the touch events still don't seem to affect the app that the keyboard belongs to :( Jul 10 12:46:00 also nice, gnex back in the play store Jul 10 12:53:17 is the environment variable meant to be C:\Program Files\Java\jdk1.7.0_05\bin, or C:\Program Files\Java\jdk1.7.0_05 ? i used to make java/android work with the "path" variable with the \bin, now the android sdk i see i am meant to install with a "JAVA_HOME" variable without the bin at the end.... so should i also remove the \bin from my "path" variable too? Jul 10 12:53:45 JAVA_HOME is without the /bin Jul 10 12:54:04 ok Jul 10 12:54:05 and then you add to PATH %JAVA_HOME%/bin Jul 10 12:54:13 and the path variable is with the added bin Jul 10 12:54:20 i see Jul 10 12:54:34 since the bin is just a part of java's installation Jul 10 12:55:25 yes Jul 10 12:55:26 thanks Jul 10 12:56:12 Is it still recommended to use TabHost etc to make apps or full screen apps with ActionBar or what's the best practice? Jul 10 12:57:34 luyang: are you asking what's the best way to provide tabs in an app? Jul 10 12:57:44 luyang: It says all over the place that the tabs stuff is deprecated.. it's hard to miss :/ Jul 10 12:57:50 or rather what is the best way to organize multiple types of content in an app Jul 10 12:58:06 cantido: I realized it wasn't included in Reto's Android 4 book Jul 10 12:58:18 cantido: I've missed it even though it's hard =) Jul 10 12:58:22 you've got tabs in the action bar, or view pager + view page indicator Jul 10 12:58:41 I should read up on those then Jul 10 12:58:57 but Action Bar is only 3+ right, and I should use the Sherlock lib if I wanna support pre that, right? Jul 10 12:59:07 correct Jul 10 12:59:22 sounds annoying Jul 10 12:59:29 * cantido can't remember what the support lib provides.. Jul 10 12:59:44 a little hard to decide if one should go for support libraries or not support older versions Jul 10 12:59:56 luyang: you can still use them. Just turn of the deprecated warnings off in eclipse to stop it annoying you ;) Jul 10 13:00:05 is there an intent an activity can use to make a screenshot of itself? Jul 10 13:00:15 [including a surface view]? Jul 10 13:00:24 cantido: ok, but I think I wanna go for the modern way of doing things Jul 10 13:01:03 it's not hard to decide at all, use it Jul 10 13:01:30 wongk: use what? Jul 10 13:01:35 support lib? Jul 10 13:01:36 the support library Jul 10 13:01:51 should I use only the support library or have multiple implementations, one with and one without the support lib? Jul 10 13:02:05 you should definitely not do the latter Jul 10 13:02:09 ok good Jul 10 13:05:28 ever since the update my xml isnt working properly http://pastebin.com/t1QGXq6D Jul 10 13:15:19 the sdk manager only selected the latest api 4.1(api 16), but for development i should select/install all the previous apis too? or just the latest includes everything i would need Jul 10 13:15:41 the lastest is enough Jul 10 13:16:06 You should install a few more for testing Jul 10 13:16:14 how can I check which eclipse plugin pops up a google login screen Jul 10 13:16:21 Unless you have devices at every api level, then just the latest Jul 10 13:16:30 SimonVT! Jul 10 13:16:38 canadiancow|work! Jul 10 13:16:45 install ALL the api levels Jul 10 13:16:48 even 5 and 6 Jul 10 13:16:50 and 9 Jul 10 13:16:52 indeed Jul 10 13:17:08 well if i install only the latest. would i still be able to run virtual devices running old android versions for testing? Jul 10 13:17:11 and 2 and 3 and 4 Jul 10 13:17:23 no Jul 10 13:17:24 No, devtekbeta Jul 10 13:17:30 ok ill install them all then Jul 10 13:17:38 3 and 4 are in the sdk manager, without enabling the "obsolete" option Jul 10 13:18:34 why would you want any lower than 2.1? Jul 10 13:19:11 various reasons? Jul 10 13:19:20 the only reason i dropped 1.6 support was for ABS Jul 10 13:19:29 and the only reason i dropped 1.5 support was for the support lib Jul 10 13:19:41 if your app will work on an extra 1% of devices with no effort, why not? Jul 10 13:20:02 Do you have a lot of installs for 1.6? Jul 10 13:20:31 it was around 5% of my users when i dropped it Jul 10 13:20:40 the data google provides is for worldwide play store access Jul 10 13:20:44 your region may be very different Jul 10 13:20:53 out of 5000 installs for one app I had that supported down to 1.6 I had 0 installs for anything less than 2.1 mainly because no phone that old would run it anyhow Jul 10 13:21:00 i found that 2.1 and 2.2 were much lower than they said, with a lot more on 1.x and 2.3+ Jul 10 13:21:05 everything gets downloaded into the "android-sdk" folder right? not some other random directory like appdata or something Jul 10 13:21:29 devtekbeta: it's all contained in the android-sdk directory as far as I know Jul 10 13:21:40 cool thanks. that makes backing up easier Jul 10 13:22:02 does it keep anything important worth backing up? Jul 10 13:22:36 i like to back up everything. saves having to reinstall/configure everything in future Jul 10 13:23:12 canadiancow|work: how many of those installs were ACTIVE installs Jul 10 13:23:23 instead of users who just traded in the device w/o uninstalling your app Jul 10 13:23:27 im only talking about active Jul 10 13:23:36 I'm shocked that there are that many 1.6 users out there Jul 10 13:23:43 hell, 1.5 only exists on like one platform Jul 10 13:23:49 rogers sold a lot of 1.5 devices that only ever got upgraded to 1.6 Jul 10 13:23:53 and with 3 year contracts.... Jul 10 13:23:56 lol Jul 10 13:24:00 they'd just be expiring soon Jul 10 13:24:11 people buy second hand phones a lot too. or keep old as spares Jul 10 13:24:13 hey, whatever. You just get to work around 1.6 bugs in that case. Jul 10 13:24:16 I can only see a lot of 1.x users for an app if the app adds features to 1.x from later releases.. Jul 10 13:24:25 well no lov, as i said, i dropped it so i could use ABS Jul 10 13:24:32 devtekbeta: 2.1 is old phone material Jul 10 13:25:16 what is ABS? Jul 10 13:25:54 http://abs.io Jul 10 13:26:52 So, anyone using eclipse 3.7.2 on osx with adt 20? Jul 10 13:26:56 * cantido is glad he hasn't had to touch the android UI framework too much recently Jul 10 13:27:01 i would use osx Jul 10 13:27:09 except apple fucking bricked my mbp with an update Jul 10 13:27:10 Zooklubba if 3.7.2 is juno... yes I am Jul 10 13:27:42 ron_frown does your eclipse give you random insert ; etc errors? Even though it's nothing wrong with it. Jul 10 13:28:00 nice... google cleaned up their build scripts and env tools Jul 10 13:28:02 If it complains about one function it's fixed by cutting that function and pasting it in again Jul 10 13:28:07 aosp built out of box wih no tweaking Jul 10 13:28:20 havent noticed that, no Jul 10 13:29:11 yay, I'm special Jul 10 13:29:15 ever since the update my xml isnt working properly http://pastebin.com/t1QGXq6D Jul 10 13:29:19 I guess it's time to start using ant Jul 10 13:29:33 ant is gonna give you a lot more stress =) Jul 10 13:29:48 Zooklubba: if you get errors that don't seem to clear cleaning the project seems to fix it for me Jul 10 13:30:09 cantido been there done that. :/ Jul 10 13:30:11 anyone know how to force eclipse to actually refresh the graphics in xml? lets say u change one, even a clean/refresh wont do it Jul 10 13:30:15 well, clean, refresh over and over again Jul 10 13:30:42 ron_frown btw, have you tried the create activity guide when creating a new project? Jul 10 13:31:00 yeah it works Jul 10 13:31:05 gaz`: did you check the files to make sure they are actually what you think they are? Jul 10 13:31:37 Zooklubba: that didn't work for me.. it was bitching about needing the support library. I have the support library heh Jul 10 13:31:44 Same here cantido Jul 10 13:32:02 yay for testing Jul 10 13:33:00 When in doubt, copy it to a new file or project. yay Jul 10 13:33:30 Zooklubba: well, every time I use the "add support library" tool it goes and downloads it again Jul 10 13:33:51 I would reinstall my sdk if I had the time Jul 10 13:33:54 yep, and console says that it's installed. and checking the add software shows that support library is installed Jul 10 13:34:32 cantido now I have this syntax error which is old and eclipse playing around. ant debug works eclipse however doesnt. Refresh or clean does not help. Copy the class to a new one did the trick. woho Jul 10 13:35:42 Zooklubba: does that weird stuff only happen in Android projects? Jul 10 13:36:01 Not used this comp to other projects Jul 10 13:36:06 for me Java and CDT projects work just fine but Android projects have little issues Jul 10 13:36:38 like errors getting stuck and it refusing to clear the error marker until I do some refresh, clean, restart eclipse magic Jul 10 13:36:40 bye all Jul 10 13:37:06 restart didnt cut it for me. Jul 10 13:40:49 gaz`, u have to save the file to get it to refresh. Jul 10 13:43:34 Hi Jul 10 13:44:04 With a split action bar, Is there a way to choose which actions go on the bottom action bar? Or it only splits if there is not enough room? Jul 10 13:45:09 howdy errbody. just thought i'd throw this out that i'm on a project team at a student research facility and we're doing an open source second life viewer for android tablets. its hosted at https://github.com/bakis2011/PocketVDC if any of you would like to check it out or contribute or anything else.. we need some help seeing that we only have around 4 or 5 weeks left before we need a working demo Jul 10 13:45:33 any help would be *greatly* appreciated. Jul 10 13:46:20 bakis: I hope you're aware that bakis means hungover in Swedish Jul 10 13:46:35 hahaha no way Jul 10 13:46:40 yes way Jul 10 13:46:54 http://en.wiktionary.org/wiki/bakis Jul 10 13:46:59 hahaha that's hilarious Jul 10 13:47:08 yes in a way I always thought you were Swedish Jul 10 13:47:13 * cantido would prefer silly Swedish nicks to the more common silly Japanese ones Jul 10 13:47:38 it was actually a mix of baker and davis as last names from a long time ago Jul 10 13:47:44 update monsti set syncadapter='mastered' Jul 10 13:48:40 maybe someday a guy will write a SyncAdapterInsporedAndAsEasyAsCron Jul 10 13:48:42 Hi Jul 10 13:49:00 how to get system properties using adb? Jul 10 13:49:59 is there any command which can show system properties? Jul 10 13:50:06 yeh i did cantido, it works, sometimes, but not reliably Jul 10 13:52:51 so yeah... if anyone wants to contribute.... hahahaha Jul 10 13:52:59 Hey Hi I wanted to retrieve the longitude and latitude of a location that might not be my current location Jul 10 13:53:49 bakis: Is it not meant to be your work? i.e. it's a research project you are getting funded to do? Jul 10 13:54:24 its a team of people but the research director is interested in open source and trying to spread the projects outside of the company Jul 10 13:55:21 quick question, can I restart/reset a timer's countdown in runtime? Jul 10 13:56:31 With a split action bar, Is there a way to choose which actions go on the bottom action bar? Or it only splits if there is not enough room? Jul 10 13:56:33 so basically he gave us permission to go open source and we need all the help we can get Jul 10 13:58:07 julop: All menu items go in the bottom action bar Jul 10 14:00:18 ever since the update my xml isnt working properly http://pastebin.com/t1QGXq6D Jul 10 14:00:45 droidbuster: did you try to work it out yourself instead of pasting the same thing every 5 minutes? Jul 10 14:03:47 Or, spend some asking a proper question.. "it doesn't work" and a single xml tag isn't really a lot to go on Jul 10 14:04:07 spend some time* Jul 10 14:04:29 Tho, I bet it has to do with you using absolutelayout(?) and hardcoding pixel values Jul 10 14:04:40 absolutelayout is dogpated Jul 10 14:04:42 dont use it Jul 10 14:05:08 hi! does anyone have an idea why I get that NullPointerException? http://pastebin.com/9vq9RbCc it's probably something very simple... Jul 10 14:05:53 how are we supposed to know which line it is Jul 10 14:06:13 Snuffel: it's no specific line in my code, it's in the android code as it says Jul 10 14:06:14 Snuffel: "by doing something wrong" Jul 10 14:06:19 hello i can't compile this file and i am not sure why http://pastebin.com/fzXkmGSP Jul 10 14:07:04 entvex: control-1 clear all lint markers Jul 10 14:07:05 done Jul 10 14:07:06 Somehow I'm probably creating the ArrayAdapter in a wrong way. Jul 10 14:07:23 luyang do you know what lint markers are ? Jul 10 14:07:26 yes Jul 10 14:07:37 what's a lint marker? Jul 10 14:07:38 please tell me :)? Jul 10 14:07:38 errrors which can stay after the error have been fixed Jul 10 14:07:57 thanks Jul 10 14:08:00 entvex: markers that android has added to the normal java errors related to common erros Jul 10 14:08:17 control-1 is the way to go to solve them Jul 10 14:08:18 Hey guys Jul 10 14:08:41 Kopfgeldjaeger: Your constructor is wrong Jul 10 14:08:53 Thanks :D luyang Jul 10 14:09:04 Third parameter is the res id of the textview with the layout passed in the second parameter Jul 10 14:09:05 Entvex: you're welcome buddy Jul 10 14:10:02 I have a simple bluetooth chat app I wrote based on the sample code from android...I can't seem to recognize when I disconnect the other bluetooth device. and my app keep on running in a infinite loop althout I do inputstream.avaible each loop... it just doesn't recognize the connection is lost....any ideas? Jul 10 14:11:37 cantido i have tried yes Jul 10 14:11:53 SimonVT: Ah, thanks. With android.R.id.text1 as third argument, it works fine. Is that how I am supposed to pass the TextView id? Jul 10 14:12:36 Yes. Unless the layout is just a textview, then you don't have to pass an id Jul 10 14:12:37 also, does anyone know how to rotate textures? like say i texture a cube but it's upside down, how to i rotate it? Jul 10 14:13:13 hi :) Jul 10 14:16:14 On my application i get an exception NetworkOnMainThreadException. From what i've seen it's because i'm doing web request on the main thread BUT the thing is i'm not on the main thread. I was on the main service and i created a new Thread(my object). Anyone have an idea on what i did wrong ? (maybe i need to create a new thread in a special way?) Jul 10 14:17:51 you probably called Thread.run() instead of Thread.start() Jul 10 14:18:29 no i called .start() Jul 10 14:19:10 Clouclou: pastebin some code Jul 10 14:19:13 ok, so check the call stack and see where you are access the network form the main thread Jul 10 14:19:49 i'm making a simpler code to pastebin it Jul 10 14:20:04 Clouclou: could you bin the stacktrace? Jul 10 14:20:50 did you use thread.start() ? if you just thread.run() it do not starts a new thread but run the thread's run() on the current thread Jul 10 14:24:13 Sometimes, when I click "run (project)" in Eclipse, it crashes my phone (Samsung Galaxy S3). It then restarts most of its services (cell network, data, wifi), but it's no real reboot. This does not feel good... http://pastebin.com/mg5LhgsK Jul 10 14:24:18 BlackIce_, http://pastebin.com/dm2mrfR3 here the st Jul 10 14:25:07 Kopfgeldjaeger: Can you replicate it with a very simple, well-known project? E.g. the Android Hello World? Jul 10 14:25:13 olivier_b, i used _lMonitor = new LinkMonitor(getApplicationContext()); new Thread(_lMonitor).start(); to launch the thread Jul 10 14:25:15 Clouclou: LinkMonitor.java:346 Jul 10 14:25:17 do java have a c# region equivalent ? Jul 10 14:26:22 Entvex: no, because (imo) this should be an IDE hint Jul 10 14:26:22 Clouclou: thanks, I'm afraid I can't spot possible problems/solutions though Jul 10 14:26:25 not a language feature Jul 10 14:26:36 okay Jul 10 14:26:37 thanls Jul 10 14:27:16 rking: I'll try. Jul 10 14:27:28 i'm removing a lot of code to check if it's somewhere else Jul 10 14:27:28 entvex: eclipse can collapse code though Jul 10 14:27:55 so im installing apis through the android sdk manager, and this box keeps popping up saying server requiring authentication: android-sdk-addons.motodevupdate.com, it wants me to sign up for a username and password. is this necessary or can i just keep pressing cancel? Jul 10 14:27:59 but only methods and such ? Jul 10 14:28:12 inner classes as well Jul 10 14:28:25 devtekbeta: Just don't install any of the motorola packages Jul 10 14:29:34 i just got a VerifyError on a fragment class on 2.2.2 Jul 10 14:29:43 but that was as detailed as the exception was Jul 10 14:29:52 i already selected install everything so cant really go back now. ill just press cancel and hope it dosnt mess up everything else im installing Jul 10 14:36:14 i feel stupid :D Jul 10 14:36:16 http://pastesite.com/39502 Jul 10 14:36:30 i wonder what's wrong with this (assume R.id.surface is a SurfaceView) Jul 10 14:36:38 07-10 16:49:55.910: E/AndroidRuntime(3953): java.lang.RuntimeException: startPreview failed Jul 10 14:40:01 Can I replace a method at runtime in a class? (aka method swizzling) Jul 10 14:40:24 The offending method private, and I need to replace it in the WebView class Jul 10 14:40:38 (no overriding doesn't work) Jul 10 14:42:32 fpillet: no Jul 10 14:43:17 yeah pretty much what I thouhg. What did cross Android engineers' minds when they decided that a perfectly working mechanism should now only be used from the UI thread Jul 10 14:43:49 seems like that would be a bit insecure Jul 10 14:44:08 Not necessarily. I have a WebView that I use exclusively to run JavaScript code Jul 10 14:44:50 There's no issue with running it in another thread than the UI thread. Other than WebView deciding to now issue a warning and fill up logcat every time you call the damn object Jul 10 14:45:21 hello all Jul 10 14:45:31 fpillet: why not just use the embeddable js engine? Jul 10 14:46:25 That's mostly for compatibility purposes with the iOS counterpart. I think some people use some of HTML5 features too (like location manager) from the JS code Jul 10 14:46:42 winning design heh Jul 10 14:46:57 one question. I have a listview and several entries (all clickable) - so when I click on on entry in this listview my OnItemClickListener is called. How can i get the Information inside the clicked element e.g. the text in a textView ? Jul 10 14:47:02 Well there is absolutely no issue with this design Jul 10 14:47:21 Originally, Android seemed more flexible in that you didn't need to run the webview in the UI thread Jul 10 14:47:29 why is there no extract files script for the maguro in AOSP? Jul 10 14:47:35 So could put it in a service. Win. But then ... well 4.0 came up Jul 10 14:47:36 rking: I can't reproduce it with the hello world app, but as I said it does not always happen. I will see if I can somehow provoke it Jul 10 14:48:06 So yes, it's probably going to be moved to the embeddable JS engine Jul 10 14:49:05 no idea ? Jul 10 14:49:27 rhino or whatnot sounds a lot more elegant anyway .. might even have some DOM stuff, nfc Jul 10 14:49:52 Rhino? bleh Jul 10 14:50:20 Rhino works fine when you manage to dodge the exceptions Jul 10 14:50:46 it tends to throw exceptions for practically anything, and make issues hard to track. Not for me thanks Jul 10 14:51:43 http://pastebin.com/xsMjYVje it won't see getSystemService or can't resovle i wonder why i am using API lvl 8 Jul 10 14:54:09 Entvex: getSystemService is a member method of Context classes. Jul 10 14:54:15 you're calling it from some completely new class. Jul 10 14:54:25 Your utils class needs a Context reference Jul 10 14:54:43 I'd recommend making this method a static method, and pass it a context as an argument. Jul 10 14:54:53 good idea! Jul 10 14:58:39 maybe a stupid question but: when i call ListView.getItemAtPosition(position); - what type has the return value (I know that it is object but in which type can i cast it ??? Jul 10 14:59:40 Pinas: That depends on the Adapter Jul 10 14:59:44 ^^ Jul 10 15:00:19 Pinas: if the adapter returns BaconSandwich you can cast Object to BaconSandwich Jul 10 15:00:46 cantido - oha seems to be a Cursor in my case (is this cood) ??? Jul 10 15:00:53 s/cood/good/ Jul 10 15:01:17 What is the Adapter? Jul 10 15:02:28 cantido it's CursorAdapter Jul 10 15:04:01 does someone have experience with persistant long lived network connections on android? Jul 10 15:04:10 don't want to use C2DM but I need some pushing Jul 10 15:04:31 gcm* Jul 10 15:04:32 but to keep the connection alive you'd have to send out keepalive messages every x minutes which would drain your battery in no time Jul 10 15:04:43 canadiancow|work, ? Jul 10 15:04:52 c2dm was deprecated Jul 10 15:04:53 how do app's like whatsapp and others do that? Jul 10 15:04:55 you cannot sign up for it any more Jul 10 15:05:00 you want gcm Jul 10 15:05:03 ah yes ik now :) Jul 10 15:05:08 but i don't want gcm :p Jul 10 15:05:19 why dont you want it? Jul 10 15:05:24 you do NOT want a long lived network conneciton Jul 10 15:05:29 what exactly are you doing? Jul 10 15:05:44 an app that needs some messages pushed to it sometimes from the server Jul 10 15:06:02 ( because don't want to be dependant on a google service for that and it would be used a lot ) Jul 10 15:06:08 so... you absolutely do want gcm Jul 10 15:06:10 :P Jul 10 15:06:15 why dont you want to be dependent? Jul 10 15:06:26 it's a company thing Jul 10 15:07:11 but canadiancow|work whatsapp, skype,... they all don't use CDM Jul 10 15:07:44 ( for CDM you need a google account & such ) Jul 10 15:08:16 skype is the biggest piece of shit ive ever used Jul 10 15:08:26 talking about the tech underneath Jul 10 15:08:42 hmm anyone know how to scroll down on eclipse xml editor if view is bigger than preview window Jul 10 15:08:46 done it before but cant findi t Jul 10 15:09:27 whatsapp uses c2dm Jul 10 15:09:56 oh didn't know that Jul 10 15:10:23 grr Jul 10 15:10:26 no one knows? Jul 10 15:10:42 but there must be other applications that do it on their own Jul 10 15:10:49 the xmpp connection of google does it Jul 10 15:11:00 gaz`: do you mean the graphical preview of an xml layout? Jul 10 15:11:04 yes Jul 10 15:11:10 i want to scroll down Jul 10 15:11:12 gaz: there are zoom in/out buttons on the toolbar Jul 10 15:11:18 yeh but they just zoom in and out Jul 10 15:11:36 do you want to scroll as if you are using the view on a device, interacting with it? Jul 10 15:11:42 yes Jul 10 15:12:03 hmm not sure that's possible, you'd probably have to fire it up in the emulator or on your device to do something like that Jul 10 15:12:16 it must be or i wouldnt have been able to make this layout in the first place Jul 10 15:12:42 err... Jul 10 15:13:33 not sure what you mean by that. why does the graphical preview have to be interactive in order for you to make some type of layout? Jul 10 15:13:34 canadiancow|work, they don't, they just use XMPP also Jul 10 15:13:34 damn what a pain in the arse Jul 10 15:13:50 well i made lots of xml stuff and it goes off screen Jul 10 15:13:56 so how did i design it if i cant see it Jul 10 15:14:16 i also remember scrolling it Jul 10 15:14:48 Should webview.loadUrl() be done on a background thread or does it do its own threading? Jul 10 15:15:35 no need to be in a thread afaik Jul 10 15:16:05 ffs Jul 10 15:16:09 this is ridiculous Jul 10 15:17:47 TheTrash, ping Jul 10 15:18:07 niteshnarayanlal: I'm TheTrash (different location) :) Jul 10 15:18:51 oh ok Jul 10 15:18:59 u saw my question ? Jul 10 15:19:02 need some help Jul 10 15:19:15 need some reference from where I can read about Jul 10 15:19:31 by which I can find out the longitude and latitude Jul 10 15:19:38 by passing the location name Jul 10 15:20:53 i dont really see how anyone can make a layout bigger than the screen if the editor wont let u scroll Jul 10 15:20:59 eclipse is such a pile of crap Jul 10 15:21:25 somehow, we managed to do these things before wysiwyg editors in eclipse! Jul 10 15:21:35 Perhaps, with a little foresight, you too could develop an interface like this! Jul 10 15:21:39 Hi all! ;) Jul 10 15:21:48 HDroid, ? Jul 10 15:22:08 niteshnarayanlal: http://developer.android.com/reference/android/location/Geocoder.html Jul 10 15:22:11 lov, i did that for many many years, but even then its not comparable because u could atleast preview in a browser when ever u want Jul 10 15:22:26 niteshnarayanlal: there are no guarantees as to the accuracy or presense of any information when you use this service. It also relies on the google apis (iirc) Jul 10 15:22:31 uploading to a device is much much much much slower than previewing in a browser Jul 10 15:22:40 * lov shrugs Jul 10 15:22:42 and makes the work painful as hell to even bother with Jul 10 15:22:48 patches welcome to adt? Jul 10 15:23:32 i have a question about the rank applications in differents countries, anyone can help me? Jul 10 15:23:59 all i can assume is its a bug and they forgot to put that feature back somehow Jul 10 15:23:59 Zienagga: probably not. No one here works for Google Play, or is willing to admit that they do. Jul 10 15:24:17 lol Jul 10 15:24:36 thanks for ur response lov Jul 10 15:24:41 niteshnarayanlal: look at lov's link :P Jul 10 15:25:04 List
getFromLocationName(String locationName, int maxResults) Jul 10 15:25:07 anyway... where i can learn about this? Jul 10 15:25:31 Zienagga: I don't know. Google doesn't really publicly discuss their algorithms or decisions. Jul 10 15:26:14 thanks Jul 10 15:26:18 I had seen it Jul 10 15:26:26 I have the question I mean Jul 10 15:26:32 List
Jul 10 15:26:39 will have the coordinates right ? Jul 10 15:26:50 Why don't you look at the Address class and find out? Jul 10 15:26:55 Yes and yes Jul 10 15:27:04 :) Jul 10 15:27:06 yeah Jul 10 15:27:27 If you won't put in the effort to even look at the docs we point you to, we won't put in the effort to answer your questions. Jul 10 15:27:39 HDroid, lov thanks Jul 10 15:27:42 :D Jul 10 15:27:47 you're welcome Jul 10 15:27:51 surely , accept my mistake :) Jul 10 15:29:02 lov should run every dev channel. Jul 10 15:30:26 haha Jul 10 15:30:28 as if Jul 10 15:30:33 he'd be sniped :) Jul 10 15:30:49 * clayjar seconds jgw_'s motion Jul 10 15:35:42 So i just got this galaxy xcover which is android 2.3.6 and i am trying to implement a funtion for detecting swipes, or use the functions already there. problem is, i dont know the name of the component or event to listen for. the Android SDK does not cone with 2.3.6 support so i chose 2.3.3. the next level up in the sdk hierarchy is 3.0 so i guess i am stuck like this. Jul 10 15:36:30 equex: 2.3.6 is just minor bugfixes over 2.3.4. You can use API level 10 (2.3.3) for your target. Jul 10 15:37:14 equex: regardless, you SHOULD be able to just use a GestureDetector Jul 10 15:37:17 equex: http://android-developers.blogspot.com/2010/06/making-sense-of-multitouch.html Jul 10 15:39:32 i'm having issues setting my sync-adapter to sync at distinct intervals (like every 15 min). I am turning off automatic sync and using addPeriodSync to the content resolver, but it won't sync Jul 10 15:40:31 the examples ive found does not make much help, i've done the google part already (i thought) Jul 10 15:41:41 equex: Use a GestureDetector, wait for http://developer.android.com/reference/android/view/GestureDetector.SimpleOnGestureListener.html#onFling(android.view.MotionEvent, android.view.MotionEvent, float, float) Jul 10 15:42:18 you basically feed TouchEvents from a view that you're interested in into the GestureDetector Jul 10 15:42:41 Glad to here about jb source :P Jul 10 15:43:00 ..... soooo, get a reference to your view, use one of these: http://developer.android.com/reference/android/view/View.html#setOnTouchListener(android.view.View.OnTouchListener) Jul 10 15:43:09 and have your OnTouchListener feed the event into your GestureDetector Jul 10 15:43:21 and when your GestureDetector gives you an onFling callback, then do whatever you need with that fling. Jul 10 15:43:46 excellent :) Jul 10 15:44:24 i suspected is was in the view class\ Jul 10 15:46:52 last time i did anything on a phone was the S3 platform in JavaME Jul 10 15:46:55 :) Jul 10 15:47:18 good to be back in eclipse. but its strange that google doesnt offer the 2.3.6 sdk Jul 10 15:48:57 well Jul 10 15:49:03 that's because there IS no 2.3.6 sdk. Jul 10 15:49:15 2.3.6 is just bugfixes, as I said. Jul 10 15:49:17 there's no api changes. Jul 10 15:49:35 oh didnt see that sory Jul 10 15:49:58 see http://developer.android.com/tools/revisions/platforms.html Jul 10 15:50:48 actually, that page sucks. See http://developer.android.com/about/versions/android-2.3.4.html Jul 10 15:53:55 Sales bots at Best Buy still have no info about Nexus7 :( Jul 10 15:54:34 Why would they have any? Is Best Buy actually going to carry it? Jul 10 15:54:51 So said Google at the announcement Jul 10 15:54:59 Ah Jul 10 15:55:05 welp, idk :> Jul 10 15:55:23 Staples web site is at least taking orders. Maybe I try there Jul 10 16:08:28 Mojito: http://www.staples.ca/ENG/Catalog/cat_sku.asp?webid=950902 :) Jul 10 16:08:46 thats staples canada though Jul 10 16:16:10 I have intent service which is one packet and Activity from which I am trying to start it Jul 10 16:16:56 But it is not starting . It says it cant find the service. IN the other packet there is only this intent service and there is no activity Jul 10 16:18:53 F1rstAid: i believe you mean package... and did you add the service to your manifest? Jul 10 16:21:25 wongk oh yea package. And yea it is listed in the manifest Jul 10 16:21:43 Also I added broadcast receiver because I want to start it with alarm but again not result Jul 10 16:22:15 do you get an error after calling startService> Jul 10 16:22:17 ? Jul 10 16:23:27 yea it says it can not find it Jul 10 16:23:39 seems like relevant information Jul 10 16:23:39 I am wondering if it is because it is Intent Service Jul 10 16:24:19 I tried to send alarm which is with the same action but I can`t debug what happens after the alarm is send and before it is received from the receiver Jul 10 16:24:32 sent* Jul 10 16:25:44 if it can't find it then it isn't declared properly in the manifest Jul 10 16:28:53 wongk I created activity in the other package it works with the same alarm which I am sending from the other app Jul 10 16:29:39 oh I mean that from the activity where is the service when I send alarm it works. Same alarm sended from the other app is not working. Why? Jul 10 16:29:50 sent* Jul 10 16:29:51 wtf Jul 10 16:30:32 i almost understood that Jul 10 16:30:57 so these two things are in separate applications Jul 10 16:31:02 yea Jul 10 16:31:31 But I think it worked now.. Maybe I did not uploaded the service on the device( I don`t know how that happened) Jul 10 16:32:03 ah and sorry for my awful english today. I am so frustated Jul 10 16:33:01 yep it is working.. I dont know what I did wrong Jul 10 16:33:40 can someone thell me how i can force my listview to rebuild - basically to run onCreate again ?? thx Jul 10 16:34:19 Are you using an arrayAdapter Pinas ? Jul 10 16:34:54 If so, check out notifyDatasetChanged and notifyDatasetInvalidated in that class Jul 10 16:34:59 AlCapwn - no a cursorAdapter. I tried cursor.requery(); but nothing really happens Jul 10 16:35:26 Oh, not used cursoradapter, sorry Jul 10 16:35:50 np thx :) Jul 10 16:35:59 Pinas: http://developer.android.com/reference/android/widget/CursorAdapter.html#changeCursor(android.database.Cursor) Jul 10 16:36:36 wongk - ok thx i will try it out Jul 10 16:39:11 when using a phonegap url in an android webview, are there any special settings i need to set in order for the phonegap assets to work properly? im getting some js errors from scripts not loading completely Jul 10 16:39:42 also ive set setJavaScriptEnabled(true) Jul 10 16:41:16 does it work in the stock android browser? Jul 10 16:41:36 yes, as well as chrome and chrome with UA overrides Jul 10 16:42:21 so then you just need to find the magic property(ies) that are being set there :P Jul 10 16:42:53 hah, yeah Jul 10 16:43:05 unfortunately i dont own the site, so i cant do anything about that yet Jul 10 16:43:23 just wondering if there's anything special that needs to be done on the android side before tossing over an email to the webdevs Jul 10 16:43:53 do id's, as in the constants in R.id, exist in one big namespace or are they inclosed in separate contexts? Jul 10 16:45:05 never mind just found an answer Jul 10 16:45:20 ploop: you have evidence that it works in android, so yes, you can also make it work with WebView Jul 10 16:45:39 ok Jul 10 16:46:02 looks like this site is using jquery 1.2.6 as well... Jul 10 16:46:53 old school Jul 10 16:52:34 hi guys, is there a way to move the whole layout up when the keyboard is displayed? Jul 10 16:56:41 something like adjustPan but relative to the whole layout, not the text field Jul 10 16:57:50 krawek: maybe this? http://developer.android.com/guide/topics/manifest/activity-element.html#wsoft Jul 10 16:59:01 jrockjiggz: how? is there a way to make the keyboard not overlap any element? Jul 10 17:00:35 I am using a relative layout btw Jul 10 17:01:33 seems adjustPan is supposed todo what your asking.. i've never used this before Jul 10 17:02:14 adjustPan aligns the keyboard with the text field ensuring it is always visible Jul 10 17:02:28 the problem in my case is that it hides the footer Jul 10 17:02:43 I want the text field and the footer visible Jul 10 17:15:23 Using MediaPlayer to play a wav-file, but it keeps stopping in the middle (or even at the beginning) of the audio-clip.. any thoughts? Jul 10 17:15:39 hi how can i listen for screen ON/OFF from a service, i tried an activity but it doesnt run in the background ? Jul 10 17:15:41 using .setDatasource(myFilePath.wav), .prepare() and .start() Jul 10 17:21:35 hmm I think I found a way to do what I want Jul 10 17:22:25 JakeWharton, did you look at the actionbar in jb? Jul 10 17:25:39 no Jul 10 17:25:48 no new features Jul 10 17:25:51 low on priority list Jul 10 17:26:05 yea i was just curious Jul 10 17:26:12 doesnt look like anything changed in ActionBar.java Jul 10 17:26:15 aside from a few comments Jul 10 17:27:39 Hello people, I have a question. We are developing Android for custom hardware. We want to know once the device is with the customer, how can we implement OS updates? Jul 10 17:28:13 We would want to do it via SD card, most likely not over the air Jul 10 17:28:17 this is more of an app dev channel Jul 10 17:28:52 droid_noob: have software that will check for update package, download it and use it to update the files? Jul 10 17:29:16 droid_noob: android-porting or android-platform on google groups Jul 10 17:29:32 Well we can give any update files via SD card, the issue is what is the mechanism for updating OS Jul 10 17:29:42 evancharlton: Thanks I'll check those out Jul 10 17:30:26 droid_noob: just update the files and reboot Jul 10 17:31:25 hey guys, i accidentally deleted the android sdk samples through the sdk manager, is there a way to get tht back? Jul 10 17:31:50 would appreciate any help on this one :) Jul 10 17:32:04 p_l|backup: Would a non-rooted device have access to change system files like that? Jul 10 17:32:54 hey guys, i accidentally deleted the android sdk samples through the sdk manager, is there a way to get tht back? Jul 10 17:32:58 p_l|backup: Hmm or maybe we would have a custom program running as root, that recognizes updates and copies things? Jul 10 17:33:57 droid_noob: one would assume that if you're putting together the OS, you'd be able to run your own update code as root/system... but what evancharlton said still stands, -porting or -platform are better places than here Jul 10 17:39:42 If I call startService after bindService will the service still run indefinitely Jul 10 17:42:32 hey guys, i accidentally deleted the android sdk samples through the sdk manager, is there a way to get tht back? Jul 10 17:43:48 i always love pulling the nexus one out of the drawer Jul 10 17:43:59 still one of my favorite devices Jul 10 17:44:17 I use my OG droid for 2.2 testing Jul 10 17:44:23 Actually ill just state my whole situation, maybe there's a better alternative Jul 10 17:44:23 aviksaha_: Does this help https://developer.android.com/tools/samples/index.html Jul 10 17:44:31 * Kopfgeldjaeger slowly starts to wonder how he could ever live without Fragments Jul 10 17:44:59 picking up an og droid just isnt the same though Jul 10 17:45:03 I have this background service that is like a process manager, it starts these variably long processes and holds then in an array Jul 10 17:45:30 I'm getting an error on lines 62 and lines 65 Jul 10 17:45:32 http://pastebin.com/fvA6wek0 Jul 10 17:45:34 nexus one was the best phone at the time of its launch and is still the only good nexus Jul 10 17:45:46 So I have an array of running processes, and now I would like to display them in a list on an Activity Jul 10 17:45:47 RecepientType cannot be resolved to a field Jul 10 17:45:54 galaxy nexus==made of win Jul 10 17:46:04 galaxy nexus == full of shit Jul 10 17:46:12 Nexus 7? Jul 10 17:46:17 K :p Jul 10 17:46:22 droid_noob: Thing is i uninstalled the "SDK Samples" packages through the sdk manager and it does not show up there nemore for me, atleast for 4.0 and 4.0.3, these folders are all gone, is there are way to get it back? Jul 10 17:46:27 i havent tried the 7 yet, mines on pre-order Jul 10 17:46:33 I'm not even going to ask why Jul 10 17:46:36 Same here mr. Birbeck Jul 10 17:46:40 all i know is anything made by samsung is crap Jul 10 17:46:56 i have two galaxy nexus' and hate those pos's Jul 10 17:47:04 Im on the fence with asus, I guess there's no reason to be hatin Jul 10 17:47:46 if samsung makes the next nexus phone, im sitting that one out Jul 10 17:48:08 aviksaha_: Hmm I dunno.. maybe reinstall SDK... Jul 10 17:48:35 That probably depends on how this tablet goes Jul 10 17:48:41 When there's a new nexus phone, I'm buying it :p Jul 10 17:48:58 yeah, my gnex has been fantastic Jul 10 17:49:02 SimonVT: ill make work buy it this time Jul 10 17:49:18 birbeck, what phone do you use as your daily runner? Jul 10 17:49:22 most of it is the software, but still Jul 10 17:49:28 SimonVT: they bought me a gs3 and a note, i refuse to buy anything with samsungs name on it now Jul 10 17:49:45 j0hnsm1th: htc evo 4g lte and galaxy nexus with 4.1 Jul 10 17:50:02 the evo is my primary device, but google now is pretty cool Jul 10 17:50:52 i left the galaxy nexus at home today though, i didnt want to have to bring my backpack just to have it Jul 10 17:51:04 you need a backpack to carry a galaxy nexus? Jul 10 17:51:12 birbeck, im a poor student, never used an HTC, pretty keen to get my hands on galaxy nexus Jul 10 17:51:23 birbeck, happy with my sgs2 though :) Jul 10 17:51:24 evancharlton: since i started riding my motorcycle, all my pockets are full Jul 10 17:51:46 birbeck: Yeah, not the best build quality, but it's not that bad that I consider getting another phone Jul 10 17:52:22 SimonVT: build quality and radio issues, just like every galaxy device ever made Jul 10 17:52:41 DROID bionic here. What a disgrace Jul 10 17:52:43 i love going through a tunnel and losing connection for hours until i reboot the phone Jul 10 17:53:07 aviksaha_: Or perhaps add the repository .xml manually in the SDK manager Jul 10 17:53:13 Haven't had any radio issues Jul 10 17:53:14 and i love how the gps can never get a fix, or is several blocks off Jul 10 17:53:20 but then again, I don't go through a lot of tunnels Jul 10 17:53:33 I haven't had that either Jul 10 17:54:13 i have 3 of them (well 2, i gave the wife the 3rd) and they all have had radio issues constantly Jul 10 17:54:22 had an issue where my data connection would dissapear until a reboot Jul 10 17:54:29 but a baseband update fixed that Jul 10 17:55:02 then again, I came from a moto device Jul 10 17:55:17 with the worst radio performance ever Jul 10 17:55:58 happy with the at&t sgsiii. battery life is pretty crummy coming from an iphone 4s though Jul 10 17:55:59 imho, one x is the best phone as far as specs, build quality and reliability goes... now if only it had aosp 4.1 it would be killer Jul 10 17:57:58 I have a phone running android, I have received texts with attachments and when I try to "download" them, it hangs and doesn't do anything -- I've tried other add on texting applications and obtain the same result. When I use applications such as Save MMS, it doesn't show up with anything. I've tried restarting my phone a couple of times as that is what is suggested online. Any suggestions? Jul 10 17:59:29 Yeah, go to #android Jul 10 18:01:05 was the latest the nexus S? Jul 10 18:01:49 no Jul 10 18:01:49 nexus one, nexus s, galaxy nexus, nexus 7 Jul 10 18:01:52 not even close Jul 10 18:01:59 dont forget the Q Jul 10 18:02:10 three nexus devices have been released since the S Jul 10 18:02:17 i intentionally forgot the q Jul 10 18:02:27 :D Jul 10 18:02:32 Ahh galaxy nexus. That's the one Jul 10 18:02:36 ok, then two of the four have been released since the S Jul 10 18:02:46 in which case S is still nowhere near the latest Jul 10 18:04:44 romainguy_: thank you so much for hierarchyviewer :) Jul 10 18:04:47 truly Jul 10 18:04:53 heh Jul 10 18:06:22 was there a NumberPicker before 3.0? Jul 10 18:06:24 or somethin glike it Jul 10 18:06:35 why does this line fail? message.setRecipients(Message.RecipientType.TO,InternetAddress.parse(recipients)); Jul 10 18:06:45 doesn't recognize what RecepientType is Jul 10 18:06:56 isn't it from Android's Message? Jul 10 18:07:12 canadiancow|work: yes Jul 10 18:07:17 it just wasnt pubic Jul 10 18:07:27 jasta: did you goto io Jul 10 18:07:41 novak made one Jul 10 18:07:42 why does the button background attribute stretches the image on ics? Jul 10 18:07:47 mikedg: no Jul 10 18:07:54 canadiancow|work: https://github.com/SimonVT/android-numberpicker Jul 10 18:08:00 https://github.com/mrn/numberpicker Jul 10 18:08:23 https://github.com/nomnom/nosepicker Jul 10 18:08:29 404 Jul 10 18:08:35 200 Jul 10 18:08:43 69 Jul 10 18:08:47 actually, 302 http://mikedg.com Jul 10 18:08:54 ARGH Jul 10 18:08:58 so what my intern actually wanted Jul 10 18:09:03 was inputType="number" on an EditText Jul 10 18:09:04 or whatever it is Jul 10 18:09:07 i hate that people keep going to mikedg.com :/ Jul 10 18:09:16 i just guessed Jul 10 18:09:20 didn't know it actually existed Jul 10 18:09:24 llol Jul 10 18:09:24 i need to hire an intern to maintain mikedg.com Jul 10 18:09:26 130x72 eh Jul 10 18:09:27 maybe you should set up a 302 Jul 10 18:10:05 what is this reference to Dreams in the support package? Jul 10 18:10:19 http://developer.android.com/reference/android/support/v13/dreams/package-summary.html Jul 10 18:10:45 there's also a DreamsDockLauncher in SystemUI, dunno if new to JB Jul 10 18:11:09 looks like some sort of screensaver thing Jul 10 18:11:09 wtf is a dream Jul 10 18:11:28 when you wake up with a wet feeling in your loins Jul 10 18:11:33 that was a dream Jul 10 18:11:36 think it might be a screensaver Jul 10 18:11:45 comment in SystemUI class: // Trap low-level dock events and launch the screensaver. Jul 10 18:11:46 BasicDream Jul 10 18:14:34 it is screensavers, false Jul 10 18:14:44 all sorts of screensaver comments Jul 10 18:21:21 is there any way to get ICS to mix audio properly? Ie: if I'm listening to an mp3 and i get a notification, is there any way to make the notification sound not mute the audio in order to play? Jul 10 18:22:00 so annoying, right? :) Jul 10 18:22:06 i don't know, but i'm interested in the answer Jul 10 18:22:37 I seem to remember gingerbread not having this issue Jul 10 18:23:49 that's for the audio app playing the mp3 to properly handle transient audio focus notification (and lower the vol) Jul 10 18:24:20 ahh interesting Jul 10 18:25:11 many developers dealing with audio app never heard of audio focus...of do not handle it properly Jul 10 18:25:39 bubbleguuum: this is google music :( Jul 10 18:25:47 which I otherwise really like Jul 10 18:25:51 I particularly dislike games that don't handle audio focus properly Jul 10 18:26:01 and in which you have to wait until they play a sound so you can change the volume Jul 10 18:26:16 another music player I really like is Vanilla music player, I think that one handled focus correctly (that's the one I used on gingerbread) Jul 10 18:27:07 romainguy, to be fair Jul 10 18:27:14 dan galpin gave me incorrect information on how to handle that Jul 10 18:27:23 and if google game dev advocates are giving out wrong info... Jul 10 18:27:32 romainguy: let me ask you, what is the reason for keeping junit3 as the official testing framework for android? Jul 10 18:27:39 is there any? Jul 10 18:27:44 it works Jul 10 18:27:51 or rather not that specific issue, but game audio in general Jul 10 18:28:02 it's not, unfortunately Jul 10 18:28:48 but anyway, are there any plans for moving to junit4? Jul 10 18:28:55 not that I know of Jul 10 18:29:22 :( Jul 10 18:37:38 How many Ice Cream Sandwiches does it take to fix a lightbulb? Jul 10 18:38:03 Anyone bought more RAM for their chromebox? Jul 10 18:38:30 I'm getting: "A Contributor Agreement must be completed before uploading:" even though my agreement is showing up in gerrit as verified, anyone has any ideas why? Jul 10 18:39:24 Zooklubba you're the only person i've even confirmed has used it :P Jul 10 18:39:48 canadiancow, what is your favorite flavor of ice cream sandwich Jul 10 18:39:57 what are you talking about Jul 10 18:40:21 this isn't sending emails, http://pastebin.com/Vc1L76Bf it says Email Successfully sent but I dont receive anything, this is the GmailSender class behind it, http://pastebin.com/sZQ5RX3M Jul 10 18:40:23 please help :o Jul 10 18:40:58 canadiancow|work lol. I plugged it in. However I just found out I do not have a display port cable or even dvi Jul 10 18:41:41 what's the best android ide and why is it eclipse? Jul 10 18:41:51 Anyone know of a library for creating radar views? I don't need a "radar chart" Jul 10 18:42:21 Looking for something that takes a set of lat/lon pairs and shows a view of a radar screen with the pairs plotted around the current location/orientation Jul 10 18:43:27 ah - http://www.anddev.org/panoramio_and_radarview_in_apps-for-android_open_source-t2920.html Jul 10 18:43:51 old_man_unix: it's vim Jul 10 18:43:55 because it's vim Jul 10 18:44:13 Leeds: why not emacs Jul 10 18:44:17 ^ Jul 10 18:44:21 because emacs is emacs Jul 10 18:44:34 anybody for the email sending issue I posted above? Jul 10 18:44:35 ask a silly question... Jul 10 18:44:39 kind of urgent, would really appreciate some help Jul 10 18:45:51 hi can i use a service or broadcastReciever without a activity to listen for screen.on Jul 10 18:46:43 i folled this http://blog.gregfiumara.com/archives/82 but the service doesnt start at boot Jul 10 18:48:33 this isn't sending emails, http://pastebin.com/Vc1L76Bf it says Email Successfully sent but I dont receive anything, this is the GmailSender class behind it, http://pastebin.com/sZQ5RX3M Jul 10 18:51:46 Pr070cal: i dont' see offhand why that wouldn't work. you've reimplemented exactly that example and it still doesn't run the broadcast receiver at boot? Jul 10 18:52:42 hey ctate Jul 10 18:53:26 o/ Jul 10 18:56:29 ctate: nope Jul 10 18:56:44 ctate: not sure why Jul 10 18:57:09 does the camera save in .jpg format by default? Jul 10 18:57:19 ctate: it seems a bit strange though. in the example im using a BR to start the service Jul 10 18:57:32 ctate: after boot Jul 10 18:57:44 in other words, if I want my app to launch the camera to get a picture so that I can convert that picture into a byte array, can I assume it's going to be a .jpg? Jul 10 18:58:08 ctate: can i not just run the service without the BR ? Jul 10 18:59:09 ctate: also what i want to do with this is listen for Action screen on in the background all the time and launch an activity when screen on is recieved Jul 10 18:59:30 anyone know where i can find some information on implementing GestureDetector.OnGestureListener inside of a fragment? Jul 10 18:59:41 all of the examples and documentation i've seen only addresses activities Jul 10 19:00:33 both fragments and activities are simply management containers around views, the object on which GestureDetectors actually listen Jul 10 19:01:17 any example that you find (e.g., http://android-developers.blogspot.com/2009/10/gestures-on-android-16.html) will likely talk about views Jul 10 19:01:32 you simply need to apply it to the views your fragment is managing rather than an activity Jul 10 19:02:59 Pr070cal: boot-completion is a broadcast, so you must use a (manifest-declared) broadcast receiver to catch it Jul 10 19:03:50 oh, make sure you launch the app directly at least once from the launcher Jul 10 19:04:00 JakeWharton I did try that by setting an onTouchListener against the view and passing it to the gesture listener via onTouchEvent; although the fling never seems to be seen.. i'll try a few additional things Jul 10 19:04:03 broadcast receivers may be all be disabled until you do so Jul 10 19:08:18 recommendations for org.json replacements? Jul 10 19:08:35 why on earth is adt plugin looking in program file\eclipse for support.jar Jul 10 19:11:53 time to start watching the i/o sessions :) Jul 10 19:12:57 yea g00s i need to finish that Jul 10 19:13:18 there were... a lot of sessions Jul 10 19:13:29 heavy android this year Jul 10 19:13:34 its kind of scary that to watch them all requires like 48 hours Jul 10 19:13:47 ok 27 Jul 10 19:13:48 but still Jul 10 19:13:58 there were a few good enough i would watch again Jul 10 19:14:08 ive watched all of day 1 Jul 10 19:14:16 almost all of day 2 Jul 10 19:14:20 can you use beam for google drive docs? Jul 10 19:14:31 day 3 wasn't available at the time, so i have to watch those Jul 10 19:14:31 birbeck, try it? :) Jul 10 19:14:54 bah Jul 10 19:14:57 yea i have ~3 more for day 2, then im moving on to the ones in day 3 i havent seen Jul 10 19:15:16 day 3 was meh Jul 10 19:16:18 yea Jul 10 19:17:52 My favorites so far were Google Play: Marketing 101, Multi-Versioning UI. I thought Sharkey's 2009 version of what he went over had more impact on me at the time Jul 10 19:18:19 Reto's was pretty good. Reto animations ftw Jul 10 19:18:23 (Retro Jul 10 19:19:04 hah yea Jul 10 19:19:15 Really? I thought his talk wasn't good at all this year? Jul 10 19:19:20 ignore last question mark Jul 10 19:19:36 there was no substance, everything was at a super-high level Jul 10 19:20:03 g00s: i thought jsharkey's was quite solid; maybe just not really eye-opening Jul 10 19:20:08 his 2009 version was great; lots of hard data about power usage. this one seemed more fluffy Jul 10 19:20:27 but yeah the deep dives are awesome when they happen Jul 10 19:20:31 i liked seeing power consumption graphs of the different xml / json apis for example Jul 10 19:22:45 * g00s is still waiting for ctate presentation at i/o Jul 10 19:22:50 * g00s looks at ctate Jul 10 19:22:58 heh Jul 10 19:23:17 not even the fireside chat ? Jul 10 19:23:23 :) Jul 10 19:23:31 hi. why in android sdk .. the SQLiteDatabase .execSQL(String) throws a unchecked instead of a checked exception? i'm saying this because the method gonna eventually write to a file .. and hence somewhere they're catching IOException but not letting the user handle it. any idea? Jul 10 19:23:46 right, I've now got a bootlooping Flyer, an unreliable-radioed SII, and a dead-screened One X... fuck it, bed time Jul 10 19:24:14 I secretly hope Google never releases any first-party solution for using a MapView in a fragment just so I can hear people continue to sit on their hands and ask about it at every conference, after every presentation Jul 10 19:24:21 it's exceedingly amusing Jul 10 19:24:40 wow, 726 in channel Jul 10 19:24:45 JakeWharton: you can put in the bug report to contact you personally if they have any more questions Jul 10 19:24:49 :) Jul 10 19:24:50 are we all Java developers? Jul 10 19:25:02 I've found a bug in Google Play, but I'll be damned if I can find an easy way to report it. Any thoughts? Jul 10 19:25:07 caverdude: and a couple of bots Jul 10 19:25:12 g00s: I'll happily accept any inquiries about it Jul 10 19:25:23 RandyP: http://b.android.com Jul 10 19:25:24 caverdude: negative, i'm a meat popsicle Jul 10 19:25:30 ha Jul 10 19:25:32 joakime: you win Jul 10 19:25:41 smooooke yooooouuu Jul 10 19:25:46 MULTIPASS Jul 10 19:26:02 I just installed the java android development kit yesterday myself Jul 10 19:26:06 and the eclipse plugin Jul 10 19:26:18 gah you said the e word ! Jul 10 19:26:25 * JakeWharton dies Jul 10 19:26:25 lol Jul 10 19:26:26 RandyP, what's the bug Jul 10 19:26:36 JakeWharton: Um, that was really easy... Thanks. :p Jul 10 19:28:21 hey caverdude, did you use to join dos dalnet back in the days? Jul 10 19:28:50 very rarely Jul 10 19:28:58 you mean #dos on dalnet? Jul 10 19:29:02 yeah Jul 10 19:29:10 rarely Jul 10 19:29:12 why? Jul 10 19:29:23 i reckon your nick from there Jul 10 19:29:32 you remember [SoB] ? or w0rm? Jul 10 19:29:39 ya Jul 10 19:29:44 think so Jul 10 19:30:17 nice ok. glad to see you're still active in computing Jul 10 19:30:42 thanks Jul 10 19:34:33 canadiancow|work: Well, I *think* it's a bug... I'm passing some 'referrer' info in the market URL for some apps and using Google Analytics (or sometimes my own broadcast receiver) to report it. Works fine for free apps, but doesn't work when I do the same setup for a paid app. Jul 10 19:34:48 strange Jul 10 19:35:28 Wait hold on, i need to go back to this meat popsicle thign Jul 10 19:35:37 meat popsicle? Jul 10 19:35:41 is that a porno Jul 10 19:36:14 anyone have any export macro for building mdpi, hdpi etc? Jul 10 19:36:26 canadiancow: it is a term from _The Fifth Element_ Jul 10 19:36:55 http://www.youtube.com/watch?v=8Dd_qiuWxPs Jul 10 19:37:02 canadiancow, are you a porno? Jul 10 19:37:08 sometimes Jul 10 19:37:22 noice Jul 10 19:54:45 Hi, I'm new to the Android scene but have been very interested in how people build ROMs for devices, particularly the current work on bringing JB to phones before their official OTA releases. In the documentation there are references to "proprietary files" but obviously only for the Google developer friendly phones. Where/How do people generally acquire the proprietary files for their unsupported phones (like HTC One X, Sams Jul 10 19:54:55 Just curious about the general idea/process. Jul 10 19:56:00 ...Apologies, I'll put this question in #android-root where it's more applicable. Thanks. Jul 10 20:02:15 what do you ask here? Jul 10 20:02:19 If a surfaceView has height 0dp, will surfaceCreated not be called for it? Also, I am programmatically calling setMinimumHeight(480) after the layout is inflated with setContentView but log.d on my SurfaceView child class says its height is still 0 Jul 10 20:02:24 would there be a reason why onTouch of a onTouchListener would not detect a fling? I'm setting it to a relative layout, however, it seems to detect the onTouch but will not do any fling what so ever; just simply touch and no fling. Jul 10 20:03:06 razor-: read the channel topic Jul 10 20:03:36 themirror: if the GLSurface wouldn't render anything on screen (e.g. it has a height and width of 0dp), then no, it won't be called Jul 10 20:04:16 sorry, SurfaceView rather than GLSurface Jul 10 20:04:40 Some scrolling interfaces I see bring up the nifty handle on the scrollbar, while others you have to keep flicking and flicking. What is that handle / how do I add it to an app? Jul 10 20:04:47 Hi. What I want is when a button is pressed, a textbox's text is changed. In the XML I put