**** BEGIN LOGGING AT Mon May 13 02:59:58 2013 May 13 03:07:18 is there a mp3 to pcm converter for android? May 13 03:08:58 nm May 13 04:08:20 all bluetooth tools I found in android 2.2.1 are: "hciattach,hcitool,sdptool,pand" but there are no: "dfutool,hidd,rfcomm,l2ping,ciptool,dund,bccmd,hciconfig" especially strange there is no most important tool "hciconfig", is it some sort of "limited edition" of bluez or what ? May 13 04:09:51 I'm quite sure those questions will be way better answered in #android-root. May 13 04:09:58 Since you're not actually working with Android API are you? May 13 04:10:51 Mavrik: of course not, silly, why do I need Android API anyway May 13 04:12:01 a bit of sarcasm will not hurt May 13 04:12:20 Actually I'm allergic to sarcasm. You could have killed me. May 13 04:13:24 * alex_PP 's throat closes up May 13 04:13:29 gargg... May 13 04:14:22 elkng, it will, where have you seen devs with sense of humor?! May 13 04:14:37 man.... May 13 04:18:18 I started learning android 2½ months ago.. and now I have a finished app.. might not be as cool as what some of you can do.. but I got viewPagers, listsviews. its customStyled, custom designed buttons and backgrounds and effects. I got swipe gestures.. I got different layouts/approach if its landscape or portrait. I got a nice GRASP structure of my code, I have not a single hardcoded May 13 04:18:18 String, everything appropriate is designated to strings.xml and I have it in 3 different languages, I make use of files, preferences, activities, fragments, FTP and MYSQL May 13 04:18:27 I'm gonna drink a beer .. its 06:18 in Denmark May 13 04:19:05 in the morning? May 13 04:19:08 P3nnyw1se, dude, go to sleep, have beer after :P May 13 04:20:40 good job p3nnyw1se May 13 04:22:04 i've heard it is very beneficial after a while and find that one block of code that is a little obscure / could use another go and rewrite it May 13 04:22:37 well its been trial and error.. and thats what works for me May 13 04:22:56 when I started out 2 months ago I wanted to do this cool app.. which is what I'm done with today.. and I didn't even know what a life cycle is May 13 04:23:14 some in here bitched a lot at me for not reading through tutorials and reading books May 13 04:23:21 but.. knowing myself.. this is how I learn May 13 04:23:43 wanting to make something I can't make.. then finding a solution one problem at a time May 13 04:24:11 Next up!. 2D game.. I have a cool idea, and no experience at all with engines May 13 04:25:25 they explode gasoline in exchange for motion May 13 04:25:54 heh May 13 04:25:57 isn't it the other way around :P May 13 04:27:00 engines have no experience with you? Or you have no experience with cool ideas? May 13 04:27:09 :D May 13 04:28:16 I have plenty of experience with cool ideas May 13 04:28:20 I invented the dice May 13 04:28:21 P3nnyw1se, well as long as noone else will have to maintain your "learning" and stab you in your sleep ;) May 13 04:29:38 I sometimes wake up all sweaty and scream May 13 04:29:44 'NULLPOINTER EXCEPTION!' May 13 04:30:10 we're here to catch you May 13 04:30:15 mmmm i love me a good npe May 13 04:30:46 and point out http://pastebin.mozilla.org/ and it's friends May 13 04:33:22 why does every site these days have a pastebin ? May 13 04:33:33 lot of trash May 13 04:35:11 cheap service to offer May 13 04:36:08 sometimes me-geeks get paid to maintain them May 13 04:36:17 thats what she said May 13 04:36:19 to both of your lines May 13 04:36:33 HAHAH May 13 04:37:45 though with women we pay them :) May 13 04:38:17 hell no May 13 04:38:20 I don't even pay them respect May 13 04:39:09 I shall go to bed and leave you with the words of Hamlet May 13 04:39:11 "woman thy name is frailty" May 13 04:39:19 and he didn't mean that in a good way.. May 13 04:51:49 g00s: ! I think I just found my next app May 13 05:00:33 Hello guys. Could you please help me ? I have framelayout with to layers and a mask layer in between. Mask layer is clickable May 13 05:01:16 the problem is when i touch the most front layer the mask layer fires the click event May 13 05:01:24 how can i prevent that ? May 13 05:01:47 perhaps you had a similar problem in the past. May 13 05:12:23 nomo: have a look at duplicateParentState May 13 05:13:39 What is the best way to include many views in a RelativeLayout without overlapping them? For example, I want to use something like a layout_weight in RelativeLayout, but I'm not sure how to do this since everything in RelativeLayout overlaps May 13 05:21:11 hwrd|work, toLeftOf, toRightOf, etc. May 13 05:43:30 thanks bankai_ i will May 13 05:56:57 anyone here suggest a good beginners book to android programming? May 13 05:57:07 or point me in the direction to a good wysisyg editor? May 13 05:57:16 i want to build a social app for my gf's club that uses location based geography if that helps May 13 05:59:54 billybigrigger, hi May 13 06:00:21 billybigrigger, have you seen on youtube the channel "thenewboston" ? May 13 06:00:22 hey May 13 06:00:27 negative May 13 06:00:33 then do so.. May 13 06:00:59 it has 200 tutorial clips about android from A to Z May 13 06:01:21 billybigrigger, plus learning java too. May 13 06:01:59 ok cool May 13 06:02:00 thanks man May 13 06:02:09 billybigrigger, i advise you also... May 13 06:02:09 I did the new boston videos May 13 06:02:20 I am enjoying big nerd ranch guide more May 13 06:02:37 new boston goes through stuff so fast and without enough detail May 13 06:02:39 HelloComputer15, at least this is how i learnt them May 13 06:03:08 yeah its a good free resource though for sure May 13 06:03:10 and since then i have now on play store 8 apps May 13 06:04:10 HelloComputer15, i have also my own tutorial series.. May 13 06:04:22 but in other topics May 13 06:04:34 :D .... just discovered |earcons| May 13 06:04:34 cool can I have a link May 13 06:04:40 I made an exclusive about TCL/tk May 13 06:05:59 HelloComputer15, download this app for TCL/Tk : https://play.google.com/store/apps/details?id=net.superlinux.tcltktutorials&feature=search_result May 13 06:06:18 thanks May 13 06:06:20 and my channel on youtube is called "ranixlb" May 13 06:06:51 HelloComputer15, if you learn TCL/Tk, you'll curse the day you ever learnt java! LOL! May 13 06:06:58 ok, so besides newboston... big nerd ranch, and what? ranixlb? May 13 06:07:20 all on utube? May 13 06:07:49 billybigrigger, my channel has nothing to do with tutorials related to android May 13 06:08:14 billybigrigger, it's just TCL/Tk, Linux installs , FreeBSD installs May 13 06:11:00 i dont think its possible to add a fourth action bar virtual button -_- May 13 06:11:11 from what I am reading from blogs May 13 06:11:17 on stock May 13 06:12:18 HelloComputer15, what's the big nerd ranch channel name? May 13 06:12:40 its a book May 13 06:12:47 AH! May 13 06:13:01 http://www.amazon.com/Android-Programming-Ranch-Guides-ebook/dp/B00C893P8U/ref=sr_1_fkmr1_2?ie=UTF8&qid=1368425133&sr=8-2-fkmr1&keywords=android+coding+ranch May 13 06:13:49 just came out but they have a highly rated iOS book so I figured I would give it a shot May 13 06:14:07 HelloComputer15, i found it on torrent! ☺ May 13 06:14:27 HelloComputer15, i found the ios book on torrent! ☺ May 13 06:14:57 yeah the iOS books are pretty old but this one just came out last month so its up to date with jellybean May 13 06:16:25 i'm struggling a little with fragments here. if the fragment stack remembers its state after the activity dies how am i supposed to go about the fragment in the layout having a different name than the ones thats supposed to be shown. o hope ive formulated this clearly May 13 06:16:42 HelloComputer15, ah ok. brb i am going to reboot May 13 06:16:42 i* May 13 06:42:35 ahoy May 13 06:43:00 hey ron_frown May 13 06:48:04 ron_frown: pondering this article http://www.trustedreviews.com/opinions/samsung-is-hurting-android May 13 06:48:18 "Big app developers can also cash in on this trend with incentives to make sure their apps are made with compatibility for Galaxy ranges first, and what Google has coded second." May 13 06:48:35 cool cool May 13 06:48:37 i've never heard anybody recommend this though May 13 06:48:56 I think the only samsung is doing wrong has to do with what they opensource and when on their platforms May 13 06:49:11 and the fact they are basically taking a lot of what was learned from android and applying it to tizen May 13 06:49:22 and applying fucked up licensing to what is tizen source May 13 06:49:40 i haven't looked at tizen May 13 06:50:05 " When Samsung adds software to its Android phones it believes it improves them, when Google updates Android with similar features it enables the competition to catch up." May 13 06:50:12 isn't this what every oem thinks though ? May 13 06:50:50 honestly there isnt a hell of a lot samsung has added that I a) wanted, b) saw google go and directly release shortly afterwards May 13 06:51:12 when I was working with htc and samsung, it seemed like their added feature stuff was novelty little things here and there May 13 06:51:16 that were pretty much useless May 13 06:51:20 and took away from android experience May 13 06:51:33 ron_frown: but now i think the latest note has multi app / window feature May 13 06:51:52 didn't the CM guys try to do that, but DH said "NO" May 13 06:51:58 the multiwindow stuff is on there SGS3 and 4 as well May 13 06:52:03 it's opt-in which i guess makes it okay May 13 06:52:30 yeah May 13 06:52:33 but to be fair May 13 06:52:41 dh says no to pretty much everything May 13 06:52:51 and frankly I dont blame her =) May 13 06:53:03 I get similar requetss from my employer frequently May 13 06:53:11 and on any other platform they may not be so involved May 13 06:54:59 my GS3 multi window was optout May 13 06:55:11 I'd love to be able to do that May 13 06:55:21 with my hardware May 13 06:55:22 but May 13 06:55:31 I'm sure as fuck not gonna port it in May 13 06:55:45 the OHA is not a very virtuous , uh, virtuous cycle :) too many conflicts of interest May 13 06:56:44 but, yeah i can't feel to sorry for google here. there are features samsung added, like public BLE sdk, that - well, google should have done that a while back May 13 06:57:23 its all about the ecosystem, and these little BLE gadgets are part of that May 13 06:58:12 google wants to avoid adding apis that are later a problem to support. i'm sure they're working on BLE, but i don't blame them for taking their time and making sure the API is right before publishing May 13 06:58:25 I can only speculate as to whats going on in googles court... and I'd have to guess they are probably fighting between innovation and actually adding useful stuff May 13 06:58:32 samsung will basically drop their API as soon as google has one, so Samsung doesn't need to worry about it being that well designed May 13 06:58:54 HW companies probably don't want to test with a bunch of phones either; they probably say "works with Nexus, Galaxy Sxx, and HTC One" … and if they had to choose one of those, it would be the Samsung because thats what sold the most May 13 06:59:35 kevinb: they are taking their time; iOS had this 2 years ago May 13 06:59:45 I blame vendors May 13 07:00:11 ah, i didn't realize how long BLE has been around May 13 07:00:13 even though google has pretty thorough testing suites, I dont know that they can enforce x customer supports ble in their hardware drivers May 13 07:00:25 it could also be Samsung added it to pressure google into adding it. which isn't necessarily a bad thing for android as a whole. May 13 07:01:05 I would say speaking for BLE specifically... a lot of that depends on hardware vendors, and being everyone can build their own dist of android May 13 07:01:24 it'd be hard to guarantee it be there and working May 13 07:01:35 also, didnt they just go from bluez to whtaever the new bt stack is? May 13 07:01:52 seems like a fair bit of the opensource apps that are a part of android's core are kinda out of date May 13 07:01:52 they switched to something in 4.1 May 13 07:02:26 not making excuses, but explaining how it would DEFINITELY be easier to have it just wokr in the ios world May 13 07:02:33 where hardware isnt really variable, and neither is the os May 13 07:02:39 ron_frown: yeah, i was commenting on that the other day. i used to spend a lot of time reading thorugh the AOSP code to get insights, best practices - but except for the calendar app, they seem to be in a maintenance state May 13 07:02:56 hahaha May 13 07:03:01 that they are, generallhy May 13 07:03:26 why would google develop email instead of gmail , for example ? May 13 07:03:35 whats in it for them? May 13 07:03:36 I am sure IO will have some interesting announcements (unfortunately probably targetted directly at google glass which I dont care about) May 13 07:03:41 isn't Google Calendar now a closed source fork of the AOSP calendar? so that's maintenance as well (or maybe they merge back) May 13 07:03:54 but I really feel like feature set wise... I'm actually really quite happy with andorid 4.1 May 13 07:04:02 kevinb: oh. heh, i was just looking at what was in the repo :| May 13 07:04:07 I juts want apis cleaned up, and it to be more polished May 13 07:04:12 i don't even knwo i'm looking at outdated stuff May 13 07:04:17 eg, I agree with your comments about the ble May 13 07:04:54 I dont think google calendar or gmail were ever a part of anything aosp nor were even necessarily rooted in those projects May 13 07:04:55 at all May 13 07:05:07 i do think samsung wants to be like apple; to do that they need their own sticky ecosystem and control over the OS May 13 07:05:18 well they are going to do it May 13 07:05:22 thats the plan with tizen May 13 07:05:59 * g00s sighs May 13 07:06:10 Google Calendar is a more recentish app and behaves pretty similarly to the old calendar (though i guess all calendars do) which is why i suspect it's a fork, but i haven't peaked at the APK or anything May 13 07:06:15 I guess that flora license is a real horse banging skank May 13 07:06:34 flora license ? May 13 07:06:40 The text of Flora License Version 1.0 is similar to Apache License 2.0. Some of the differences include changed text in the Definitions, Grant of Patent License, and Redistribution sections. It only grants patents to Tizen Certified Platforms that pass the Tizen Association's compatibility test. As a license, it is likely not compatible with requirements of the Open Source Initiative.[1][2] May 13 07:07:33 folks in the tizen dev channels basically implied that samsung is the governing body, the compatability test issuer and they for all intents and purposes are self serving May 13 07:07:44 at least that was my take on the whole thing May 13 07:08:11 well, last yeah, watching the i/o keynote / etc - i could not divine any sense of vision or direction google had for android - hopefully they'll share more this i/o May 13 07:08:16 *last year May 13 07:08:31 tomorrow is keynote, right? May 13 07:08:42 no, tomorrow is monday May 13 07:08:51 well, tuesday May 13 07:08:53 wednesday is the keynote May 13 07:09:06 lets pick random day of week generator May 13 07:09:10 friday is happy hour May 13 07:09:14 lets make it on SUNDAY May 13 07:09:20 2a, May 13 07:09:22 2am May 13 07:12:46 ron_frown: my x86 emu + haxm hung my machine, hfs volume got fucked. i thought this was only supposed to happen on 10.8. its intel's fault to be fair May 13 07:13:22 I hear you though May 13 07:13:35 after it got repaired, O X asked my on every app "this is the firs time you are running X, which you downloaded from the interwebs…" May 13 07:13:41 *OS X May 13 07:13:50 not that I think anyone here cares... but atm I've very torn about moving forward with android... I'm weighing my options for my hardware May 13 07:14:20 doesnt help that osx is a pita too +) May 13 07:14:26 hehe May 13 07:14:55 my sisters machine basically had the mbr get horked, basically other completely rebuilding machine, I'm not able to fix May 13 07:15:05 not with diskutils and an install disk May 13 07:15:09 ron_frown: my friend tried to install Windows 8 without an outlook account, and it would not - so he called tech support, and they said he needed an outlook account (and could not create just a local account) … does this ring true? May 13 07:15:14 all the files are there, it just ownt boot from that disk May 13 07:15:34 it made me create an outlook account May 13 07:15:43 but I already had a live acocunt which just got converted over May 13 07:15:44 thats bullshit May 13 07:15:50 thats ms May 13 07:16:03 oh wait May 13 07:16:12 i can install OS X on a mac; create a local account; without an apple ID - the apple ID is needed for mac app store / iTunes ... May 13 07:16:13 I'm curious… is it possible to lay out a native view above a webview and to call javascript in the webview to interact with the native view? May 13 07:16:18 you can tel lit not to use win8 like a cloud os (where you store all your shit in the outlook account) May 13 07:16:40 but default function is try and force outlook.com on you May 13 07:16:48 there is plenty of bad in win8 May 13 07:16:52 i'm starting to hate computers :| May 13 07:17:03 the pursuit of antipiracy is really fucking the windows experience up May 13 07:17:11 even for legitimate licensed owners May 13 07:17:17 uefi = shit. May 13 07:17:19 i think they want outlook account so they can push all the BS in the live tiles May 13 07:17:24 benefits NO ONE but them May 13 07:17:28 g00s: OSX 10.8 tries to get you to sign a pledge to devil too May 13 07:17:36 thats what I am saying May 13 07:17:39 ron_frown: UEFI is better than the shit we have May 13 07:17:54 ron_frown: it's just the idiotic way signed boot is forced May 13 07:17:59 they are pushing people away... linux is getting better and better at an amazing rate May 13 07:18:11 p_l I had to force my bios to use a legacy boot rom May 13 07:18:18 just to be able to boot a win7 install disk May 13 07:18:24 or install usb thumbdrive May 13 07:18:37 its gonna be their undoing May 13 07:18:41 alienate your users May 13 07:18:43 hm May 13 07:19:20 ron_frown: was it win7 32bit? May 13 07:19:25 try to be innovative with a tablet os ui as a desktop ui? even if my monitor was a touch monitor, I'm not oging to use it AND a mouse, AND a keyboard May 13 07:19:30 p_l nope May 13 07:19:39 well I tried both 32bit and 64bit May 13 07:19:54 ron_frown: 32bit won't work under UEFI unless you have certain unofficial versions May 13 07:19:58 ultimately got 64 bt installed May 13 07:20:17 64bit *should* work, afaik May 13 07:20:20 it didnt May 13 07:20:23 100% possitive May 13 07:20:41 I literally have about 30 burned copies of win7 64 iso sitting on my desk May 13 07:20:50 because I thought my cd recorder was fucking up on my mac May 13 07:20:58 ron_frown: complain to firmware manufacturer. If you thought Windows was crap, you haven't looked into what crap they push into those tiny flash chips on motherboards May 13 07:21:07 no doubt May 13 07:21:25 We need to get rid of 1980-vintage BIOS, period May 13 07:21:35 this is my mobo mfg thats buying into uefi. I just dont get the point... I can only install os's that are signed and recognized by efi boot firmware May 13 07:21:39 who does that benefit? May 13 07:21:51 ron_frown: Secure Boot != UEFI May 13 07:22:01 ok May 13 07:22:03 secure boot May 13 07:22:06 who does it benefit May 13 07:22:12 Secure boot in fact existed before that, UEFI just has a standard interface May 13 07:22:35 ron_frown: when implemented properly, secure boot is great (but dangerous) tool for the *owner* of the machine May 13 07:22:54 ... so far, I have seen *one* laptop with what I'd call proper implementation, though May 13 07:23:06 this was a brand new machine, win8 was basically holding features hostage for cash, and wouldnt let me "upgrade" to win7 May 13 07:24:11 the fact of the matter is, if that *ONE* feature wasnt being held hostage... I coul dhave made win8 work for me May 13 07:24:15 because you had Secure Boot engaged. By itself, it's a tool to stop boot-stage system modifications, i.e. various kinds of MBR/bootloader infection vectors May 13 07:24:18 there was a lot I liked abou tit May 13 07:24:35 I mean I wondered how many versions of the os behind ms would be from osx May 13 07:24:46 to get native unzippers, native cd recording, native iso mounting May 13 07:25:03 ron_frown: On my father's dell laptop (the one with proper implementation), you could fully manage the keys for secure boot, btw May 13 07:25:11 ron_frown: ... native unzippers, cd recording was winxp May 13 07:25:47 oh well it had the whole drag the files to cd drive May 13 07:25:54 and then burn, but could it just burn an iso? May 13 07:26:00 native iso mounting... I am pretty sure it could have been done on 5.2, by 6.0 as well May 13 07:26:11 ron_frown: yes, but it wasn't exactly... visible in UI, afaik May 13 07:26:24 not like osx was better in that regard May 13 07:26:26 ron_frown: quite a lot of "CD burning" software actually used the native burning May 13 07:26:28 disk util to burn isos? May 13 07:26:30 wtf May 13 07:27:14 and zip you were right May 13 07:27:32 I do see in 7 you get minimal zip support May 13 07:27:49 ron_frown: actually, zip was included in win98 se I think May 13 07:27:55 maybe even in first edition May 13 07:29:11 generally, OSX gets better press by having the features introduced now, while everyone either forgot or never knew about them showing up in other OSes May 13 07:29:53 p_l that does NOT help me in bitching about windows =) May 13 07:30:01 partially because generally when OSX introduces a new feature they do a great job on it May 13 07:30:16 I'm done with osx anyway May 13 07:30:34 feels ashamed of his little dirty affair with apple hardware May 13 07:31:03 I dont like people telling me my desktop should be web based (lots of folks) or that it should be a huge revenue stream for software vendor May 13 07:31:17 apple implying future versions of the os will only be able to install software from the app store May 13 07:31:23 def rubbin wrong way May 13 07:31:42 ron_frown: not to mention the draconic limitations of what an App Store app (that isn't from Apple) can do May 13 07:32:19 ron_frown: do you have a preferred desktop OS? (i kind of hate all of them for their own reasons) May 13 07:32:21 don't rustle your own jimmies :( May 13 07:32:36 * p_l is happy with linux on desktop May 13 07:32:44 honestly I'm starting to like linux for a desktop... May 13 07:32:50 I've been in linux since the beginning of slack May 13 07:32:51 although the pool of "distros I like to use" is going lower and lower May 13 07:33:00 but to me its always been a server wannabe os May 13 07:33:05 until recently May 13 07:33:17 people are finally admititng x is a pile of shit and doing something about it May 13 07:33:50 unity as much as people hate it, is a good example of making something fluid and consistent and stable (things like gtk and kde are usually pick 2 of 3) May 13 07:34:07 (by introducing worse pile - sorry, couldn't help it, Wayland rubs me wrong with what seems to be exactly the opposite way than it should go) May 13 07:34:28 ron_frown: KDE is rather fine, from what I heard, however GNOME devs are trying to outdo themselves in race to irrevelance May 13 07:34:30 I just know x is shit, honestly even if something is less shitty... I am happy May 13 07:34:53 kde felt clunky to me... I've got a fairly release and it just doesnt feel like all the peices fit together that well May 13 07:34:59 recent relase May 13 07:35:06 same with kde May 13 07:35:08 ron_frown: in my perception, Wayland is more shitty. And brittle. You don't build a fortress from frozen shit, dammit May 13 07:35:08 er gtk May 13 07:35:26 I dont get the feeling its shitty or brittle May 13 07:35:40 I think in some ways its like starting from scratch and thats a necessary step for some of it May 13 07:35:51 eg, display drives will take a bit to be ready for action May 13 07:36:18 i think the linux community really resists breaking compatibility which is kind of a hindrance sometimes May 13 07:36:18 and the fact that stuff like native rdp support was merged into trunk May 13 07:36:24 I'm very happy with that May 13 07:36:33 ron_frown: it also runs away from the reality that we no longer have homogenous GPUs May 13 07:36:51 even windows reintroduced multivendor GPU support with WDDM 1.1 May 13 07:37:21 p_l - well the way I look at it, x driver support was pretty much half assed at best on behalf of all the major players May 13 07:37:49 ron_frown: the difference is that X offered a GPU-independent interface May 13 07:38:02 for at least 10yr people knew there were MAJOR MAJOR problems with x May 13 07:38:12 only just 2yr ago or so, people actually starting fixing it May 13 07:38:20 berlin or whtaever it was never took off May 13 07:38:26 ron_frown: because for 6y they used to break it more May 13 07:38:43 p_l I see what you rae saying... but I think that'd be a small hurdle to attack May 13 07:39:11 kind of surprised they havent figured something out there May 13 07:39:20 but then its kind of the linux way May 13 07:39:28 ron_frown: now they are talking about how X11's way is irrevelant because you're just pushing bitmaps... except the bitmap pushing happened due to changes in last 6-8 years May 13 07:39:29 p_l you done any linux kernel dev? May 13 07:39:45 ron_frown: not really, but I can get a bit around. One of the saner pieces recently May 13 07:40:01 its actually very very hardware specific May 13 07:40:07 in all the diff areas I've dealt with May 13 07:40:16 there are very few areas that have any sort of abstraction layer May 13 07:40:36 I mean input drivers generally create devices in the fs May 13 07:41:10 maybe its diff in the embedded world, but all the components of the embedded devices I've seen were very very specific May 13 07:41:39 after everything is said and done, it was like kernel and all its functionality was build to use that hardware, that hardware only and take advantage of everything on that specific hardware May 13 07:48:34 Hi May 13 07:48:40 I have such code: http://pastebin.com/12SEFh71 How can i get Weather item in onItemClick()? May 13 07:49:01 ron_frown: that's because overwhelming majority of embedded components (that I know of) have no autodiscovery, and often had things connected over GPIO May 13 07:49:15 ron_frown: in the end it's easier to just do it old style May 13 07:49:42 so you make "platform config" file which describes "wiring" and compile with that May 13 07:49:56 yep May 13 07:50:37 ron_frown: from what I heard, it's being... fixed, by embedding OpenFirmware data into kernel and using kernel's OF support for configuration May 13 07:51:13 havent seen any of that yet May 13 07:51:20 be nice to have options May 13 07:51:29 ron_frown: most embedded devices don't use such stuff anyway :D May 13 07:51:38 that's why it's embedded May 13 07:52:01 jesus... soem construction contractor is doing work on the fwy, and every 10 seconds they beep the horn on SOMETHING 1 2 or 3 times in rapid succession May 13 07:52:09 its nearly 1am May 13 07:52:11 shit is annohying May 13 07:52:21 time to try and sleep with this crap May 13 07:52:28 heh May 13 07:52:29 what crap? May 13 07:52:52 construction company beeping the horn like every 10 seconds May 13 07:52:53 beep beep May 13 07:52:57 beep beep beep May 13 07:52:59 beep May 13 07:53:02 now ? May 13 07:53:08 I dont know what the fuck they are doing... morse code or something May 13 07:53:14 haha May 13 07:53:24 ron_frown: driving backwards :3 May 13 07:53:35 yeah "f u c k y o u . .. f u c k y o u . … . f u c k y o u" May 13 07:53:37 I dont live near the fwy really... but man May 13 07:53:47 I can hear the highway construction May 13 07:53:49 ron_frown: btw, at least be happy that with linux kernel GPL gets you at least the board config :> May 13 07:53:51 and its amazing May 13 07:54:05 (in the old style, if they passed OF device tree they don't need to opensource it...) May 13 07:54:05 I'e lived here 3yr May 13 07:54:14 they've been doing construction for 3yr May 13 07:54:16 not exaggerating May 13 07:54:24 we're not talking new roads or bridges or anything either May 13 07:54:26 ron_frown: you mean the hwy May 13 07:54:28 they've paved it a few times May 13 07:54:30 ron_frown: maybe they'll stop wed/thurs because they took a break to go to I.O May 13 07:54:48 they putssome decorative crap on the offramp May 13 07:54:51 3 fucking years May 13 07:54:53 ron_frown: "do the road" -> " May 13 07:55:06 hmm May 13 07:55:12 ron_frown: "do the road" -> "find out that there was stuff to be done underneath" -> "rip the road" -> rinse, repeat May 13 07:55:19 yes May 13 07:55:21 ron_frown: they ever heard of fast-road techniques? May 13 07:55:30 actually what I think really happened May 13 07:55:37 someone else did it the first time and did a shit job May 13 07:55:43 ron_frown: that too May 13 07:55:46 I wish I would have taken pictures of the line paint job May 13 07:55:50 some micro optimizations here and there might help cut some year or two May 13 07:55:51 it was RE FUCKING DICULOUS May 13 07:56:01 looked like a drunk person was driving the truck doing the painitng May 13 07:56:06 funniest is when the redo costs more than original work, because the original contractor won by being cheap May 13 07:56:35 squ santa barbara and oxnard had some big ass construction projects on the fwy that went on for like 5yr May 13 07:56:47 but they at least added like 3 extra lanes to each SIDE of the hwy May 13 07:56:58 best I can tell we got a repave and decorations May 13 07:57:01 and its still not done May 13 07:57:15 * pragma- yawns boredly. May 13 07:57:28 you must be fun at parties May 13 07:57:28 govt workers and govt contracting workers ftw May 13 07:57:39 pragma- how about you ignore me! =) May 13 07:57:44 no, you! May 13 07:57:56 ead! that is all. May 13 07:57:58 ron_frown: sometimes they aren't at fault... however, the people responsible for providing them with plans are May 13 07:58:05 no doubt May 13 07:58:14 I'm just riled up tonight May 13 07:58:17 and time for sleep May 13 07:58:36 good luck sleeping with all that racket May 13 07:58:39 like one contractor finishing pavement, then the city hall rips it up again because they didn't make sure to lay the underground cables before getting the pavement contractor in May 13 07:59:30 guh fragments >_> if in the layout ive got one fragment name and at the top of the stack i have a different fragment. does that cause a conflict when retarting an activity? am i supposed to manage it manually somehow? May 13 07:59:47 restarting* May 13 08:04:04 i have … the simplest form (LinearLayout and TextViews + EditText) and the damn ADT can't render this right. its so simple, i can see its right looking at it - works right on the device … May 13 08:04:27 i think they should burn the ADT and start over again May 13 08:09:16 heho May 13 08:10:37 is there a way to use getSupportFragmentManager() in a non-FragmentActivity? May 13 08:10:57 no May 13 08:12:28 mh May 13 08:13:05 then there is no way to get dialogs fragment-style in pre 3.0 using actionbarsherlocks SherlockExpandableListActivity? May 13 08:13:45 because MyActivity -> SherlockExpandableListActivity-> ExpandableListActivity -- which is in android.jar and i cannot change the bottommost inheritance to FragmentActivity instead of Activity? May 13 08:17:10 and there is really no workaround? as in, creating a "ghost" fragmentactivity somewhere? May 13 08:19:31 Hey May 13 08:19:36 anybody here? May 13 08:20:06 http://pastebin.com/3iWeGdLH what does this error mean?? **** BEGIN LOGGING AT Mon May 13 08:26:33 2013 May 13 08:26:45 kevinb: hm, thanks May 13 08:26:49 but we didnt make any changes and it worked yesterday May 13 08:27:18 we dont even have this html file you are talking about May 13 08:27:36 something may have happened to the server May 13 08:27:54 "Error Code: 401 Unauthorized." is in the last lines of your error May 13 08:28:26 :D we found out the error I think LOL May 13 08:29:04 LOL indeed ! May 13 08:29:33 don't know, but you're parsing an html, thats clear :) May 13 08:29:46 hi g00s_ o/ May 13 08:29:50 hey hackkitten May 13 08:29:58 Zuarko I have a question for you May 13 08:30:02 hackkitten: going to i/o ? May 13 08:30:05 if you can handle this question you are a pro May 13 08:30:08 i/o? May 13 08:30:14 guess not :) May 13 08:31:28 :3 May 13 08:32:08 i'm not a pro, but if you ask someone else may help too May 13 08:32:09 ) May 13 08:32:19 ) May 13 08:33:03 We thought we found the solution but still doesnt work May 13 08:34:15 now we have another error May 13 08:36:49 http://pastebin.com/c88kZEYH May 13 08:36:51 look May 13 08:36:53 another error May 13 08:37:12 hetii: have you tried with a constructor with an ArrayList instead of a simple array? May 13 08:40:14 Can you be calling more than one time a dialog? May 13 08:40:17 maybe the same dialog? May 13 08:40:27 Could you* May 13 08:41:32 Ilhami: look at any variable at SaveRouteActivity.java, line 235 May 13 08:42:06 if there is any method opening a dialog or working with the GUI somehow you may be calling it too somewhere else May 13 08:42:12 ok 2 sec May 13 08:42:23 looks like something like that May 13 08:42:54 there is a dialog May 13 08:43:05 pDialog.show(); May 13 08:43:17 you want to see the class? May 13 08:43:51 Zuarko: you mean ? May 13 08:44:23 Ilhami, post it, it will be quicker for anyone :) May 13 08:45:26 hetii: ArrayAdapters usually blow my mind :P May 13 08:45:40 hetii: But if your gonna modificate the contents of the adapter May 13 08:45:57 use a ArrayList when constructing the object instead an array May 13 08:46:10 you can't modify the array later, but you can change the ArrayList May 13 08:46:17 http://pastebin.com/HVWafL64 Zuarko May 13 08:46:39 Zuarko: can you give some simple example cause i cannot imagine it ? May 13 08:47:12 Zuarko: and you are right i spend many hours to have what i have it now and still it works not like i want :/ May 13 08:47:19 Its painful May 13 08:54:06 Ilhami: I'm not quite sure, i hate those gui errors May 13 08:54:33 but try to create the dialog in the inner class May 13 08:54:54 we are fixing it I think May 13 08:55:18 create the pDialog as an object inside of each AsyncTask May 13 08:55:25 instead of using a global variable May 13 08:55:46 think that you are working with different threads May 13 08:56:26 add a Progressdialog pDialog May 13 08:56:26 in each AsyncTask May 13 08:56:29 that may work May 13 08:57:15 and tell me, I'm curious :) May 13 08:57:35 hetii: there is many constructors to the ArrayAdapter May 13 08:57:38 just use another one May 13 08:59:54 hetii: this example uses the ArrayList instead of an array http://bit.ly/164PcpL May 13 09:00:24 hey May 13 09:00:48 how much time does it take to receive a message in a device after it has been sent from 3rd party server through GCM? May 13 09:02:43 with the software we are developing at work we're sending several GCM messages to many devices May 13 09:02:46 we found out the error Zuarko May 13 09:02:49 and it is really quick May 13 09:03:03 less than a minute usually May 13 09:03:24 I suposse it depends on many network variables, but is really quick 90% of time May 13 09:04:13 Ilhami: what was finally? May 13 09:04:56 it was something else May 13 09:05:11 we have a pause button which set the thread to false May 13 09:05:15 and stopped it May 13 09:05:22 and therefore it didnt send the Route objects May 13 09:05:25 as it should May 13 09:05:31 we have to find a solution for it May 13 09:15:21 kroot: if you had to pick one AOSP app for best practices, anything come to mind ? May 13 09:16:59 there's no best practices, only spaghetti code May 13 09:17:18 carbs :( May 13 09:17:27 no carbs plz May 13 09:19:27 * Rizur[A] is now away - Reason : Auto-Away (Away from Keyboard for 60 minutes) May 13 09:19:43 thanks Rizur[A] for the heads up May 13 09:20:36 it's important that other know you are way from the keyboard May 13 09:20:56 shit, I was just about to ask him something really important as well :/ May 13 09:21:09 quick! steal his computer. May 13 09:21:22 Zuarko May 13 09:21:28 I lost connection May 13 09:23:38 mm... spaghetti~ May 13 09:25:58 Zuarko: ok thx will read it in train :) May 13 09:26:13 See you soon :) May 13 09:27:55 hackkitten: cats on high protein diets only ;) May 13 09:32:24 g00s_: soy FTW :D May 13 09:32:36 cants cant have soy silly :| May 13 09:32:47 :< May 13 09:32:50 I should be dead, then :3 May 13 09:33:02 you are, you;re in hell, thats why you're on android-dev May 13 09:33:08 oh right May 13 09:33:10 :D May 13 09:33:23 but what's that MBP doing with xcode open on it with an iOS project... oh, I get it May 13 09:33:24 ^-^; May 13 09:33:48 hope is poison to the soul :D May 13 09:36:10 how can you pause a thread= May 13 09:36:11 ? May 13 09:36:15 is it sleep? May 13 09:38:16 Ilhami: you can easily look that up with google May 13 09:38:25 TELL ME !! :D May 13 09:39:14 i think the best way is signalling May 13 09:39:20 you can't pause a thread externally May 13 09:39:34 I think :) May 13 09:39:39 how do I signal= May 13 09:40:11 a boolean inside the thread class, for example May 13 09:42:19 and it worked May 13 09:42:20 LOL May 13 09:42:20 we did it May 13 09:42:37 you did it May 13 09:43:18 no we May 13 09:43:18 :D May 13 09:43:20 we are a group May 13 09:46:03 does that mean we all get easter egg shout out screen? ;p May 13 09:46:58 get *on May 13 09:49:01 Hi, someone experience with facebook api? May 13 09:56:51 no one? juist a little question about open graph stories May 13 09:57:30 "facebook" ? is it a website ? worth to look at ? May 13 09:57:41 We fixed it!!!!! May 13 09:58:03 how to get best location with google maps??? May 13 09:58:13 Any advices for OutOfMemory exceptions? May 13 09:58:37 recycle your bitmaps May 13 09:59:24 use less memory May 13 10:00:38 euhm, no May 13 10:00:45 i have a viewpager with lets say 25-30 pages. every page has different backgrounds. so when user changes a page, i change the background image May 13 10:01:29 you need to add bitmap recycle in the destroy view of the view pager May 13 10:01:34 .recycle() May 13 10:01:40 open source code and comment out what do prints "OutOfMemory exceptions" ? May 13 10:01:54 also you can use a simple mod pool May 13 10:02:44 ie: intialize bitmaps[3] and reuse the same memory allocation by updating what it is, instead of making new instances of bitmaps May 13 10:02:52 but that might not be so easier with viewpager May 13 10:03:29 anyways musaulker are you calling mBitmap.recycle() on pages that are destroyed by the pager adapter (ie user scrolls away form them) May 13 10:03:59 lasserix May 13 10:04:03 i'm checking May 13 10:04:16 llhami May 13 10:05:10 musaulker, you'll probably want to use a pool or cache though May 13 10:06:00 I'm using ImageLoader library to load background images actually and I think its doing recycling May 13 10:06:51 really nobody who ever used the fabook api? May 13 10:07:26 lasserix May 13 10:07:44 How do I set the criterias for the best provider in google maps= May 13 10:07:55 no idea May 13 10:07:58 haven't used them May 13 10:08:00 sorry May 13 10:08:40 Ilhami: String providername = locationManager.getBestProvider(criteria, true); May 13 10:09:01 yes but can I modify the criteria= May 13 10:09:04 and how= May 13 10:09:24 criteria.setSpeedRequired(true); criteria.setCostAllowed(true); May 13 10:09:38 Hi, are there some android api that can i hide application? No root please May 13 10:10:08 pepigno75: no, but the user can disable apps. May 13 10:10:31 musaulker: Set .resetViewBeforeLoading() in DisplayImageOptions. did you see http://stackoverflow.com/questions/13855413/out-of-memory-error-using-universal-image-loader-and-images-getting-refreshed ? May 13 10:10:43 pepigno75: hide application from what? May 13 10:11:56 is this the only thing you can modify= May 13 10:13:48 From launcher and if possible block notification May 13 10:15:15 Ilhami, pou can find more at http://developer.android.com/reference/android/location/Criteria.html May 13 10:16:45 I can create a custom launcher but my customet wants block all notification such us May 13 10:17:01 Facebook, twitter... May 13 10:27:05 can a widget do everything that a regular app can? May 13 10:27:26 I mean programically May 13 10:27:29 not the UI... May 13 10:27:36 does it have access to all APIs? May 13 10:30:42 lasserix: i added resetViewBeforeLoading now May 13 10:30:45 and i'm testing May 13 10:31:44 the out of memory exception is a bit weird in my case. because i need to use the app and its not throwing exception when it runs. it gives sometimes (not always) while using the app May 13 10:33:31 FransesvoV May 13 10:33:47 It doesnt find the best location when we are inside May 13 10:33:51 as it should May 13 10:34:48 zhulikas: ... since it's a part of a normal app, yes May 13 10:34:55 ok :) May 13 10:35:02 of course, for certain stuff it has to spin off another thread May 13 10:35:16 (or get murdered by Strict Mode, as it should) May 13 10:35:41 hello! what is the easiest way to implement "find /mnt/sdcard/*.log -mtime +7 -exec rm -f {} \;" same behavior in android app :D? May 13 10:36:53 since when does android support widgets? May 13 10:36:57 or since forever? May 13 10:37:06 I am targeting 2.2 May 13 10:38:07 zhulikas: ahh, home screen widgets... same shit, I think May 13 10:38:15 the base support is IIRC from 1.0? May 13 10:38:31 things did change over time, though May 13 10:38:38 doesn't matter :) May 13 10:38:42 I guess 2.2 is a safe bet May 13 10:43:59 hi May 13 10:45:01 i have a library project and some application that makes use of this lib. now i do want to start some activity in the lib and then start the app itself.. so more like a MainLibActivity => MainActivity May 13 10:45:10 how would i do that in a nice/pleasant way? May 13 10:48:05 hey so i'm trying to extend a SurfaceView that the user can draw to with their finger, i've got it working fine but i want what they've drawn to persist... i'm having issues with the Thread that does the drawing May 13 10:48:17 can a thread be restarted? May 13 10:49:11 after it's .join()'ed May 13 10:50:35 erdos: java threads cant be restarted. you may create a new thread object and start that one May 13 10:51:23 ah ok, i've got the Bitmap data being stored inside the thread, i guess i'll need another class to handle the bitmap data so the thread can be completely destroyed May 13 10:51:26 thanks :) May 13 10:52:06 j May 13 10:53:53 erdos: you may use a runnable May 13 10:54:06 new Thread(runnableObject).start(); May 13 10:54:48 what's the difference? May 13 10:55:40 erdos: you can re-use the object May 13 10:55:51 at least i think so :P May 13 10:56:36 ohhh, so instead of extending Thread, you just create a new thread on the runnableObject May 13 10:56:38 i got ya May 13 10:57:52 erdos: and if thats not working, look into ThreadPoolExecutor.. you can write an extension class and override "afterExecute" May 13 10:58:29 hmmm actually tho, if i define this runnable from within my SurfaceView implementation, that will hang around for a bit after the app loses context but eventually my SurfaceView's resources will be removed... so i'd have to persist the BitmapManager class somewhere... May 13 10:58:42 oh boy the android lifecycle hurts my head right now May 13 10:59:38 oh ok thanks, i'll have a look at that threadpoolexecutre May 13 11:42:47 Hi, somebody experience with the Facebook API? May 13 11:43:11 hi, i'm new to android and i have a small problem. i have a class to handle 3 lists (2x String, 1x CustomClass) and i need to store them somehow so they stay on the phone. as it is not an activity, i can't use the class itself but have to do it via the main activity (static method). what is the best way to save/load these lists? May 13 11:50:23 when I use finish() in MyActivity.onCreate method, the activity still flashes for a short instant when the app is not in RAM. is there any way to prevent that flash? May 13 11:51:44 I haven't noticed but then my activity that finishes in onCreate also starts another activity right away May 13 11:52:30 Zharf: it only happens if my app is not in RAM, though May 13 11:54:32 any idea for my problem? May 13 11:55:07 dnano91, I'm not sure what you're asking May 13 11:55:21 dnano91, is it a database kind of data? May 13 11:56:04 dnano91, what purpose do you need to save it for? May 13 11:56:13 Zharf: actually, I need to start a service from my activity before it closes again. now I wonder if I can somehow make that happen asynchronously May 13 11:56:31 Zharf: i need to load the list when the app is opened again May 13 11:56:49 sooo, database? May 13 11:58:08 that's what i'm not sure about. is a database necessary? because i just store 2 string lists (could be done with sharedpreferences as well). but my real problem is how to store the list of objects May 13 11:58:45 you would serialize it May 13 11:58:57 implement Serializable? May 13 11:59:16 or Parcelable but that's a bit weird, imo May 13 12:00:03 and how can i serialize it after implementing serializable? May 13 12:00:22 all you need is implement Serializable (at least in 99% of the cases) May 13 12:00:30 +s May 13 12:00:51 i think i would just stuff the relevant data that's on your CustomClass in sql May 13 12:01:10 I would probably just use ormlite ;) May 13 12:01:31 hmm, what about me, i'm saving the state of a class that holds an arbitrary number of bitmaps May 13 12:01:35 as long as I can, I will avoid SQL... till death! May 13 12:01:43 so i assume it could get quite big, save to disk? May 13 12:01:46 ok, the activity opens even if its only action is to finish()... meh. May 13 12:01:58 erdos, you should save the bitmaps to disk May 13 12:02:01 and link to them with some IDs May 13 12:02:14 not serialize the object? the images are only for use within the app May 13 12:02:21 my class just contains some strings, dates and ints May 13 12:03:00 because i feel like serializing it and dumping it to the disk would be easier May 13 12:03:09 dnano91, implements Serializable should work for saving into SharedPreferences, however, without some extra effort, you might run into some problems if you later change the class May 13 12:03:26 dnano91, http://developer.android.com/reference/java/io/Serializable.html May 13 12:03:34 woohoo! android:theme="@android:style/Theme.NoDisplay" May 13 12:03:41 Ge0rG, cool May 13 12:04:02 lets see if it actually works, though May 13 12:04:11 theme loading might happen after activity display... May 13 12:04:33 theme can't be changed after super.onCreate(), right? or was it setContentView? May 13 12:05:28 Zharf: for my always-dismiss-immeadiately activity, changing the theme did work! \o/ May 13 12:06:05 Ge0rG, in my case I don't always dismiss the activity because if it doesn't find an activity to start, it'll show a simple ui with a link to store search :p May 13 12:06:40 Zharf: I always dismiss it because it is a multiplexer activity May 13 12:06:55 http://eclipser.xmms2.org/git/xmms2-android.git/tree/src/org/xmms2/server/Client.java it's a bit silly, though I could write another activity to show the simple ui thing May 13 12:08:36 next up: integrate a WebView into an AlertDialog May 13 12:09:19 so I have a simple JS game - works fine on web and iphone, but on android app (which should just be a wrapper to webview): the clicks are not registered in the right places May 13 12:09:29 I need to do a whole bunch of refactoring on that app sometime soon.. May 13 12:09:57 well the click is registered fine, but when you drag the item to release it somewhere else, that part is not right (like 10px up/left) May 13 12:11:43 can you create a custom list with friends with data from the facebook api? May 13 12:14:31 Hello Guys ! Look, I have a problem for several weeks and I have no one to turn to except you. I'm trying to publish my app on the Play store via de developer console, the steps of description and upload of the APK happened properly but when I try to reach the Availability and pricing tab, I gives me error 32600. This is the same whatever the hour, day, computer (Windows, mac, linux tested) and browser (Firefox, IE, Chrome, Safari tested). May 13 12:14:37 Thanks in advance May 13 12:16:55 ypcress, does it have a description of the error? May 13 12:17:45 Zharf, Erreur inattendue. Veuillez réessayer ultérieurement. (-32600), which means unexpected error. Please try again later. (-32600). May 13 12:17:58 -.- May 13 12:18:18 have you tried clearing browser caches/cookies etc May 13 12:18:20 It's been like this for almost 3 weeks May 13 12:18:36 have you tried setting google play to english, and then googling the error message? :> May 13 12:18:43 :) May 13 12:18:45 I did, I tried with 4 machines, 4 different browsers May 13 12:18:59 maybe your app is missing something... May 13 12:19:17 I think your best bet is google support :/ May 13 12:19:20 I thought so, but it's signed and ompiled the same way as my previous one that passed May 13 12:19:51 if your best bet is google support, then you are screwed May 13 12:19:52 Well, If they care to answer May 13 12:21:11 Okay, well thank for your answers and attempts to help May 13 12:21:24 guys I have an editText.. that I wanna do a setText() in each time the view is loaded.. but May 13 12:21:37 I want that text to be marked up.. so when the user hits something .. it overwrites May 13 12:21:42 but.. I don't want the text to be a hint :P May 13 12:21:42 ++ May 13 12:21:44 any ideas ? :P May 13 12:22:25 P3nnyw1se: onFocusChangedListener? May 13 12:23:03 no epxiernce with that one May 13 12:23:15 onFocusChanged how does that work ? ... May 13 12:24:02 that doesn't allow me to automatically markup the text I set.. does it ? just googled it May 13 12:25:08 you want text to be selected when you tap textview? May 13 12:25:44 I want it so that I put in something dynamically.. but the input should be already marked.. so the user doesn't have to mark it and remove it before making a new input May 13 12:25:53 kinda like a hint.. except I want it set as the text.. and not just be a hint May 13 12:27:19 http://developer.android.com/reference/android/widget/TextView.html#attr_android:selectAllOnFocus May 13 12:29:37 P3nnyw1se: looks like it suits your needs May 13 12:31:39 yeah just can't seem to find it May 13 12:31:40 public void setSelectAllOnFocus May 13 12:31:44 on the EditText May 13 12:32:04 there it is May 13 12:32:16 for some reason it automated pasted a setSelectAll May 13 12:32:21 without telling me there were several options.. May 13 12:33:24 oh god.. its so ugly :D it works flawlessly May 13 12:33:37 but it sets a background color of the highligted text of 'lime green' it looks May 13 12:35:44 sorry not so good with these listeners.. what if I want it to react on a 'Done' on the softkeyboard.. right now its just reacting to a button.. May 13 12:45:17 hey, so for a class to be serializable, every member in it also has to be serializable right? May 13 12:45:39 so i'm not going to be able to just pack up this GifManager class and dump it to the disk right? May 13 12:46:15 er_dos, you can override readObject/writeObject (or something) to customize it, May 13 12:46:27 but it's more of a pain May 13 12:46:47 does somebody know a good tutorial for creating a database with multiple tables? May 13 12:47:05 er_dos, actually they're not overrides, just regular methods May 13 12:47:16 hmmm May 13 12:48:49 any other protips here? i think i'm going to have to just save each bitmap to the disk, and also use the setpreferences thing to set the image index and current colour etc. May 13 12:51:12 er_dos, saving bitmaps to disk is probably the recommended course of action May 13 12:51:51 ok cool, thanks for the info :) May 13 12:52:49 hmm, so because this might take a bit of time, is an activity ever killed midway through onPause() or onStop() or whatever? without me being able to finish saving everything? May 13 12:53:22 er_dos: from time to time, that happens, yeah May 13 12:53:38 heh May 13 12:53:41 is there a solution? May 13 12:53:44 onPause/onStop should generally be quite fast May 13 12:53:57 fast as in not much time to save? May 13 12:53:58 maybe cache the bitmaps on disk on the fly? May 13 12:54:22 that had crossed my mind May 13 12:54:29 well if you take your time in them, user experience in switching between apps and stuff might be affected May 13 12:55:41 maybe like, cache while the apps running, every x seconds... keep track of if another cache is required and which bitmaps need caching, then in the onpause etc. it's only caching as an emergency May 13 12:56:19 onStop is actually off-screen, might tolerate more time consuming code May 13 12:56:50 this is going to be a tricky one to test May 13 12:56:58 d.android.com says about onPause that "the code in these two methods should be fairly lightweight in order to avoid slow transitions that make the user wait." May 13 12:57:04 i'll bet different devices behave differently in these circumstances as well May 13 12:58:10 yeah onstop/onrestart seems best May 13 12:58:30 dang i thought my app was almost finished, it works great if you never leave it! May 13 12:58:39 hehe May 13 12:58:42 and why would you! May 13 12:58:43 right? May 13 12:58:51 exactly! May 13 12:58:56 hehehe May 13 13:03:02 i have a class instance that i need to access from various activities. how can i do this without using a singleton? May 13 13:25:00 hi all, i'm new to android dev. if i want to use some open source control is the best place to store it in my project in lib/ ? May 13 13:25:04 libs/* May 13 13:38:31 java.lang.ClassCastException: android.widget.TextView cannot be cast to android.widget.ListView, because rebuilding your project when resource IDs change is too hard for eclipse. May 13 14:12:59 So I'm using the Google Play Services and AccountPicker for getting the email of a Google account. Anybody know how to get the full person name to that same account, assuming this can be different from display_name returned from ContactsContract.Profile? May 13 14:13:19 meh. so many vertical carousel examples, none of them works. May 13 14:28:13 Based on what I've figured out so far, it seems the AccountPicker functionality is still primarily meant for allowing the same single user (device owner) to select accounts, and based on this the Profile information can be used (regardless of selected account). May 13 14:33:36 hello, how to compile ADB, please? It writes 'build/core/base_rules.mk:130: *** primo/bionic/libc: MODULE.TARGET.STATIC_LIBRARIES.libbionic_ssp already defined by bionic/libc. Stop.' to me. May 13 14:42:58 why is this http://pastebin.com/Fm1zuv8E not binding properly? The view is added to the ActionBar but it doesn't respond to check changes **** BEGIN LOGGING AT Mon May 13 14:46:09 2013 May 13 14:46:24 hi guys, I'm having this issue, can someone help? http://stackoverflow.com/questions/16509404/building-a-9-patch-drawable-at-runtime May 13 14:51:34 damnit, wtf is obtainStyledAttributes on a theme giving me the wrong value?? May 13 15:01:17 Hey May 13 15:01:23 how can I avoid my app from pausing? May 13 15:01:31 should I make a service class? May 13 15:02:09 I am making a running app.. when I run with my phone I dont want the app to pause... May 13 15:02:24 and I want it to run in the background... May 13 15:02:27 until I stop running May 13 15:02:27 Ilhami: you can make a (foreground) service, but you can not prevent your activity from pausing May 13 15:02:34 Ilhami: Service! May 13 15:03:38 but I want to avoid losing connection and reconnect with the satelite all the time May 13 15:04:28 Ilhami: gps satellite? you can use a service for that as well. but it eats battery May 13 15:08:46 Hey May 13 15:08:49 I lost connection May 13 15:08:52 did anybody answer? May 13 15:08:55 but I want to avoid losing connection and reconnect with the satelite all the time [17:04] also the polylines.. it becomes a mess when you put your phone on standby and when you turn it back on the line starts from the first mark where you started running all the time [17:04] I want the line to continue from where I left off May 13 15:09:29 what is the correct way of passing data (arraylist) from fragment to another fragment? May 13 15:09:51 Use Parcelable May 13 15:09:53 :D May 13 15:10:11 why is this http://pastebin.com/Fm1zuv8E not binding properly? The view is added to the ActionBar but it doesn't respond to check changes May 13 15:10:15 Hi, how can you get your View from an index inside an adapter? juist with getView(int position, view covertview, viewgroup parent)? May 13 15:11:29 I see some suggest passing through intents like with Activities May 13 15:11:33 and some suggest a bundle May 13 15:12:13 use a bundle May 13 15:26:57 can an app send/receive sms messages w/o those messages showing up in the default sms app (messenger) May 13 15:31:07 I am currently using androvm. We need to support API level 10, so I need an emulator that is restricted to such. Is there an androvm version for gingerbread? May 13 15:31:11 somebody who can help me with little problem with baseadapter? May 13 15:32:24 erisco, what's wrong with the regular emulator... May 13 15:32:37 Zharf, it runs like a dog May 13 15:32:40 FrancescoV, ask and you might be answered May 13 15:32:45 erisco, yes, quite fast indeed May 13 15:32:57 60fps solid for me :) May 13 15:33:08 not on windows though May 13 15:33:47 Zharf, quite the opposite. I need to use the Google API option which doesn't support x86 which in turn doesn't have proper drivers May 13 15:33:58 Zharf, 15fps tops in my case :s May 13 15:34:05 erisco, aha, better reason May 13 15:34:23 I have a baseadapter with a layout that contains 2 relativelayouts, when an image is downloaded, i have a callback to the adapter which sends the index of the item. When the image is downloaded, i would like to set the visibility of the 2nd relativelayout in item (index) on visible. But i don't know how i can reach the view by the index May 13 15:34:50 then again, the Google API thing says api level 17... I don't know if they're actually tied to that api level... but if so, do I have to go without the google apis built in? May 13 15:35:04 FrancescoV, just invalidate the views and it'll redraw? May 13 15:35:33 Zharf, will all the items be redrawed? May 13 15:35:35 erisco, I never used google apis May 13 15:35:45 FrancescoV, just the ones that are displayed May 13 15:36:02 impossible right now May 13 15:36:11 I see, why? May 13 15:36:20 why does favList return null here? http://pastebin.com/Bf5vTA9H :) May 13 15:36:39 currently i change the visibility, next: animate the item so redrawing isn't an option May 13 15:37:55 Quacked: don't you need to cast it? May 13 15:39:03 how do you mean? May 13 15:39:03 FrancescoV, I find it hard to imagine how to build a system where notifyDataSetChanged wouldn't work for you, would need some code May 13 15:40:33 isnt that the right way to pass data between fragments?= May 13 15:42:12 Do weightSum layout_weight work nested? May 13 15:42:25 I have a LinearLayout weightSum=3, then two children layout_weight=2 and 1, and they are all lining up the way I want, but... May 13 15:42:35 Quacked: yes: mData = (ArrayList) bundle.getSerializable("data"); May 13 15:42:49 then in the second child I have another LinearLayout weightSum=4 with children layout_weight=1 and 3, and the first one keeps rendering like it a has layout_weight 3 and the second with 1. May 13 15:42:57 I am totally confounded May 13 15:43:11 Oh, and hello everyone, happy day! May 13 15:43:23 pardon my bad manners May 13 15:43:34 oxbits: what's your layout_width? May 13 15:43:38 Quacked: You need to double check your code, cus that wouldn't return null May 13 15:43:40 (of your childs)? May 13 15:43:53 I have tried 0dip and 0px May 13 15:44:02 0dp is correct May 13 15:44:06 are they interchangeable? May 13 15:44:31 Also the first LinearLayout is Vertical, the second horizontal May 13 15:44:55 i think that you can't set weight on a linearlayout May 13 15:44:56 Sorry, I meant to say I got a NPE on line 11 May 13 15:45:13 Quacked, then your arguments are null May 13 15:45:17 Quacked, where are you using it May 13 15:45:22 Quacked, not enough code May 13 15:46:14 Is this correct? http://pastebin.com/yj3tqxM4 May 13 15:46:51 I create the bundle in an OnCheckedListener in Fragment1 May 13 15:48:18 can you set layout_weight on a relative or frame layout? May 13 15:48:37 oxbits, iirc, no May 13 15:49:13 As long as their parent is a linearlayout May 13 15:49:40 well yeah May 13 15:49:57 I may have misunderstood the questionn May 13 15:50:00 Zharf: this enough code? http://pastebin.com/xNaJHGxk May 13 15:50:03 I think he did as well May 13 15:50:15 Quacked: Where are you adding the fragment May 13 15:50:48 Quacked, yeah, you're just dumping that fragment and forgetting about it May 13 15:51:08 so a LinearLayout can have a layout_weight if its parent in a LinearLayout (per aSimonVT) right? May 13 15:51:13 hmm May 13 15:51:17 oxbits, yep May 13 15:51:42 oxbits, its parent is* a... :) May 13 15:51:45 what must I do? May 13 15:51:59 ok, phew May 13 15:52:12 Set the arguments on the fragment you're actually adding.. May 13 15:52:35 so has anyone seen weird behavior like this before? May 13 15:55:22 so, can anyone tell me do i have to start a company to sell apps in google play? i live in *poland* May 13 15:56:06 wsky laws re: starting a corp differ per country, you'll have more luck in Polish forums about starting a company ... May 13 15:56:20 why is this http://pastebin.com/Fm1zuv8E not binding properly? The view is added to the ActionBar but it doesn't respond to check changes May 13 15:56:53 i hoped that there is an experienced in android-dev person from poland here May 13 15:57:36 * Rizur[A] is now away - Reason : Auto-Away (Away from Keyboard for 60 minutes) May 13 16:00:52 SimonVT: get the fragment with FragmentManager for instance? May 13 16:00:53 I want to engage my users to improve my data, but want to prevent spammers/4channers from poisoning my current data May 13 16:01:14 Quacked: If you're adding a new fragment, how are you gonna get it from the fragmentmanager May 13 16:01:19 would requiring a Facebook/G+ login help to prevent such actions? May 13 16:01:23 or would it be just as bad? May 13 16:01:23 If you're not adding a new fragment, why are you using setArguments May 13 16:01:38 SimonVT: I just need to pass data from one fragment to another May 13 16:01:48 and people suggest a bundle and setarguments for that May 13 16:01:49 Fragment#passData(ArrayList) May 13 16:02:32 what do you mean? May 13 16:04:43 I have a linux device that supports the bluetooth serial profile. I want make an android frontend of sorts to receive data from the device and display it without the user having to run commands manually. Is there an example for this kind of app? May 13 16:05:36 is anyone using dyndns here? i just got an email, probably phishing about mandatory logins once per month. May 13 16:05:39 did anyone go to silicon milkroundabout May 13 16:05:47 JoeyJoeJo: kisbee code, also the bluetooth chat demo May 13 16:06:08 dragorn: Fancy seeing you hear May 13 16:06:13 JoeyJoeJo: i'm everywhere. May 13 16:06:14 er, here May 13 16:06:59 I didn't realize kisbee had an android frontend. I'll definately check that out, thanks May 13 16:06:59 yawn May 13 16:07:29 JoeyJoeJo: yeah; code is in the usual place, it's just a SPP service w/ a front end so should be more or less exactly what you're looking for May 13 16:09:13 why is this http://pastebin.com/Fm1zuv8E not binding properly? The view is added to the ActionBar but it doesn't respond to check changes May 13 16:25:49 how is the Google Now recognizing the word "google" with no data connection? May 13 16:26:09 local database May 13 16:27:04 Napalm: a local speech recognition engine? May 13 16:27:08 IIRC Google's voice decoder is completely local May 13 16:27:56 belgianguy: from what I remember, speech recognition is done remotely and results are downloaded May 13 16:31:20 parco, yep May 13 16:31:56 parco: i believe they changed that in one of their releases May 13 16:32:23 they boasted that it was now "much faster" and that it could be streamed. they either switched it to local interpretation, or they implemented some chunked uploads May 13 16:32:32 i never looked into which. May 13 16:33:54 http://stackoverflow.com/questions/1703148/is-it-possible-to-use-androids-speech-recognition-without-showing-the-dialog May 13 16:34:09 it used to be "no", but it's changed in a later version May 13 16:38:05 Hey anybody here??? May 13 16:38:21 Its really important May 13 16:39:02 I am around but not much helpful :-( May 13 16:39:37 why not Looney? May 13 16:39:38 because of my primitive knowledge May 13 16:40:36 anyways, go ahead, someone else with the knowledge may reply you ;-) May 13 16:40:48 do you have experience with Google maps? May 13 16:41:25 hi, someone here with knowledge of the drawable internals in Android? I have one in each item of a listview and I want to apply a filter dynamically ( changing the color ), problem is it gets mixed up, wrong colors on wrong drawables, I know about the shared Drawable state and I'm using .mutate() but the problem still shows, if I change the background color it all works as it should May 13 16:42:01 Everytime I set the screen on standby and turn it on again the polylines on the map start from the beginning mark May 13 16:42:10 it should start from the last known May 13 16:43:18 I'm a bit confused as to why these "google apis" are separate from the android apis. are not all devices guaranteed to have the google apis? May 13 16:47:49 isn't there a Math function to have a value not have more than say two decimals? May 13 16:48:23 I'm thinking Math.round might be too much May 13 16:48:48 lite_, it depends on what you mean... given a number with "more than 2 decimals", how do you get it to "only have 2 decimals"? May 13 16:49:18 erisco you round up or cut off subsequent decimals. May 13 16:49:26 either works May 13 16:49:35 lite_, well, they're different ;) May 13 16:49:48 lite_, and decimal in what base? May 13 16:50:01 base10 i assume May 13 16:50:04 I know decimal implies base 10, but I think what you mean is the "fractional part" May 13 16:50:30 You want to get a string? Or you want to do your math with 2 decimal figures? May 13 16:50:40 a string is fine May 13 16:51:14 its just that valueThisTextView.setText(thisUsage/1000*powerPrice + " kr"); ends up with a shitload of decimals that dont really provide the user with anything useful May 13 16:51:18 DecimalFormat May 13 16:51:33 I don't know if that rounds or truncates, you'll have to see for yourself May 13 16:51:50 there are different rounding rules too, so May 13 16:55:15 Perfect. Thanks sonOfRa May 13 17:01:12 god damn it May 13 17:01:27 deadline is wednesday and I barely have any documentation for this app yet May 13 17:01:46 and I _still_ havent figured out why this one radiogroup wont listen to changes May 13 17:07:51 maybe it didn't have strong parenting as a child May 13 17:17:00 I can auth against google services fine with API Level 17 using oauth2. I run the same code on API Level 10, and although all the auth seems fine (I even get an auth token), Google comes back and says I am unauthed May 13 17:17:07 and that daily limit is exceeded... May 13 17:17:40 I could be looking at a million possible problems... does anyone know of possible changes between level 10 and 17 that would cause this? May 13 17:19:09 oh May 13 17:19:23 JakeWharton! Youre actually just the guy I was hoping to randomly bump into! May 13 17:19:47 I'm having this issue, can someone help? I'm clueless as to what to do at this point http://stackoverflow.com/questions/16509404/building-a-9-patch-drawable-at-runtime May 13 17:19:52 JakeWharton, do you have any idea how this can happen? http://stackoverflow.com/questions/16524937/radiogroup-not-responding-in-oncheckedchanged im using ABS. May 13 17:20:11 Basically im setting up a listener to a radiogroup in a customview in the Actionbar May 13 17:20:14 but its never fired May 13 17:21:07 lite_: does the button actually change place May 13 17:21:20 yes May 13 17:21:26 the ui seems to function May 13 17:21:42 alternatively you can set a click listener on each item and have it call the radio group listener with the correct value May 13 17:22:40 deleet, I tried that as well May 13 17:22:54 it seems that for all intents and purposes this custom view is dead May 13 17:23:15 that can't be right, I use them all the time and I don't have issues May 13 17:24:37 that is indeed very odd May 13 17:25:33 my code seems ok does it not ? May 13 17:25:45 are you sure you have the correct imports from the radiogroup and listeners? May 13 17:27:28 again pinging for my question (sorry I need a solution soon): http://stackoverflow.com/questions/16509404/building-a-9-patch-drawable-at-runtime May 13 17:27:29 wait May 13 17:27:30 fuck May 13 17:27:48 turns out I had some old "dead" code in one of the fragments being used by the activity. May 13 17:28:15 that particular code just so happened to have an "empty" listener on that radiogroup May 13 17:59:57 Oh this is cute. Seems that tools r22 is in the repo. Now I can't wait for IO for realz May 13 18:08:19 I am using xmlpullparser and I get following message in logcat May 13 18:08:21 org.xmlpull.v1.XmlPullParserException: setInput() must be called first May 13 18:08:31 trying to get a View (Shape) inside a RelativeLayout to exapnd to fill the parent height, although at present the shape won't appear unless I set an explicit height on it. Currently have fill_parent set on teh view, but as mentioned it doesn't appear at all with this value May 13 18:08:42 however, the sad part is that I am using setInput :-( **** ENDING LOGGING AT Tue May 14 02:59:58 2013