**** BEGIN LOGGING AT Mon Jul 16 02:59:58 2012 Jul 16 03:00:03 Leeds: well I was logging it... I was just reading what I wanted it to say :/ Jul 16 03:00:25 yeah... :) Jul 16 03:12:31 Do you guys know how i can get an objects name as a string? Jul 16 03:13:26 Like, the class name? Jul 16 03:13:54 umm like this: vlv4 = new Valve(one,two,three); Jul 16 03:13:58 so get vlv4 as a string Jul 16 03:14:11 to pass into a method or something Jul 16 03:15:36 no idea Jul 16 03:16:03 There's probably better ways of doing what you're doing anyway Jul 16 03:17:05 Belecan simonVT is probably write, but you can use String = "vlv" + initializedCounter; and pass that into Jul 16 03:17:40 thats true i suppose Jul 16 03:28:05 hmm Jul 16 03:28:24 well the trouble is that the names arnt so systematic Jul 16 03:28:32 i guess ill just have to include it in the constructor Jul 16 03:28:36 its just for a label Jul 16 03:28:40 Thanks Jul 16 03:30:30 Seems like a much better solution to just store it in the object Jul 16 03:30:38 Also, why aren't you using a list/array Jul 16 03:31:47 +1 Jul 16 03:31:56 SimonVT always know how to do things right Jul 16 03:32:05 i should just stop coming here Jul 16 03:32:10 SimonVT isnt it like 5am there? Jul 16 03:32:21 It is Jul 16 03:33:11 Woke up around 3pm, so.. Kinda turned my days around Jul 16 03:33:17 ah Jul 16 03:33:23 i had to get up early to go troll the apple store Jul 16 03:33:28 i mean get my mbp fixed Jul 16 03:33:37 i wwas wearing a shirt that says "my android eats apples" Jul 16 03:33:45 when i came to pick up my mbp, they called me "mister android" Jul 16 03:34:38 there was a guy at the barcamp on Saturday with a t-shirt showing our green guy being carried off by a bunch of Jawas... "WRONG DROID" Jul 16 03:36:30 off to HTC in a few minutes to get my One X back, with a new (and working!) display... which will be nice Jul 16 03:36:31 haha Jul 16 03:37:36 the last time i went to an apple store, i started bitching about how shitty the iphone is Jul 16 03:37:48 oh it was right after i got the 4s Jul 16 03:37:58 and siri just loved saying "i'm sorry scott, but i cannot provide maps or directions in canada" Jul 16 03:39:07 Never tried siri Jul 16 03:39:17 think google now Jul 16 03:39:20 but without the "now" Jul 16 03:39:24 Never tried google now Jul 16 03:39:25 :p Jul 16 03:39:31 voice actions? Jul 16 03:39:46 I know what it is Jul 16 03:39:49 Just never used it Jul 16 03:40:10 I guess I'll get to try google now when gnexus is updated Jul 16 03:40:30 you guys saw the head-to-head between Siri and Now? Jul 16 03:40:46 Nope Jul 16 03:41:07 Doesn't siri get like two thirds of its results from google anyway? :p Jul 16 03:43:00 http://www.youtube.com/watch?v=kDsOtdRtG0Q was the one I saw before, i think Jul 16 03:47:50 s voice is the one on sgs3, right? Jul 16 03:48:23 yeah Jul 16 03:48:44 what's the best directory path to put stuff like screenshots? Jul 16 03:48:46 Heh Jul 16 03:49:05 They probably spent a lot of money on that, few months later google releases a much better product it seems :p Jul 16 03:56:21 they spend so much money into devloping skins as well, and google does it ebtter every time :) Jul 16 03:56:51 google have done it better since ics Jul 16 03:56:56 Before that, android was fugly :p Jul 16 03:57:18 Or well, since hc Jul 16 03:58:37 i actually really liked it since gingerbread, but i was running cm7 and launcherpro, so that had a lot to do with it Jul 16 03:59:17 but yeah ics has no competition from any manufacturer skin Jul 16 03:59:23 hmm... from the build instructions for Android Chromium... "At this time, a full compile does not build the browser" Jul 16 03:59:51 interesting definition of 'full compile' :) Jul 16 04:03:09 Hehe Jul 16 04:03:20 They haven't open sourced the android part yet, have they? Jul 16 04:04:34 Like layout files, resources, all that stuff Jul 16 04:06:31 To create a folder on the sdcard do I have to add some line to the manifest/ Jul 16 04:07:00 You need the write external storage permission Jul 16 04:08:20 Ahh cool thanks Jul 16 04:54:08 <[SP]JESTER> if your running the tb and bullyrom, come to #teamvicious we have new channel Jul 16 04:55:45 whats the secret code for working opengles 2.0 cubemaps Jul 16 04:55:50 totally fine on iphone Jul 16 04:56:08 on android same opengl code cubemap textures are black with no errors Jul 16 05:03:27 hello Jul 16 05:04:02 what class is responsible for full screen display mode ? Jul 16 05:07:18 hi, can I rely on onStop being always called on honeycomb and newer? the documentation is slightly contradictory Jul 16 05:18:17 What is the best way to transmit data between a fragment activity and another fragment activity: intents, callbacks, etc.?? Jul 16 05:22:19 eh Jul 16 05:26:26 Hi guys Jul 16 05:26:28 I am mainly looking at passing information from a MapFragment (generated using the tabhost method) such as waypoints to a detail list fragment. I have tried using intents, but am not quite sure of how to do this Jul 16 05:26:41 I have a static variable that doesnt change, is that how its supposed to be? Jul 16 05:26:45 let me give you an example Jul 16 05:26:52 parent = (ViewGroup) findViewById(R.id.tab1); Jul 16 05:26:55 then parent = (ViewGroup) findViewById(R.id.tab2); Jul 16 05:27:04 parent stays as 'tab1' Jul 16 05:27:09 its a public static Jul 16 05:27:59 While doing so, I tried using callbacks to also manipulate the different fragments, but am not sure how to do this also through the fragment activity. Jul 16 05:28:26 Belacan: that would be true only if your variable is final Jul 16 05:28:31 Belacan: but you'd get a compiler error Jul 16 05:28:44 thats curious indeed Jul 16 05:29:16 sounds like logic error in your app ;) Jul 16 05:29:28 In the constructor of my object i've got myParent = mainActivity.parent; Jul 16 05:29:39 and i change the parent in between two objects Jul 16 05:29:43 curious indeed Jul 16 05:30:07 what do you mean? Jul 16 05:30:08 romainguy i figured out the other thing last friday btw, you were right about the problem Jul 16 05:30:13 you mean that myParent remains tab1? Jul 16 05:30:21 is there any way to differentiate onEnabled in a widget provider from explicit user creation vs. android boot Jul 16 05:30:25 apparently yeah Jul 16 05:31:02 Belacan: so myParents == tab1 when you write mainActivity.parent = findViewById(R.id.tab2)? Jul 16 05:31:10 if so, that's how variables work in Java Jul 16 05:31:20 yeah Jul 16 05:31:22 oh Jul 16 05:31:34 thats.. logical Jul 16 05:31:59 but its in the constructor Jul 16 05:32:02 so it should reassign Jul 16 05:32:09 just show your code please Jul 16 05:32:24 one sec :) Jul 16 05:38:38 romainguy http://pastebin.com/Cx6P2AxS =) Jul 16 05:39:33 thats kind of right. might be an error here or there because i simplified it a bit Jul 16 05:40:26 Belacan, you can just pass the parent into the construct after context if you want Jul 16 05:40:55 good idea Jul 16 05:40:58 duhhhh Jul 16 05:41:01 let me try that Jul 16 05:41:04 wellll Jul 16 05:41:05 then again Jul 16 05:41:10 i have many objects Jul 16 05:41:17 so id rather change it after a bunch of them Jul 16 05:41:24 my constructors already have a bunch of arguments Jul 16 05:41:33 but ill give it a shot. thanks for your feedback!! Jul 16 05:42:06 but its not behaving like its supposed to right Jul 16 05:44:35 your addview call is a little strange Jul 16 05:44:48 yeah that was a typo Jul 16 05:45:02 in reality its parent.addView Jul 16 05:45:09 thats a lie Jul 16 05:45:12 in reality its something else Jul 16 05:45:24 oh Jul 16 05:45:26 wait Jul 16 05:45:40 you've done it yet again Jul 16 05:45:46 that's probably why they are showing up, if you want to test whether the first problem is real Jul 16 05:45:54 try doing a logcat to the parent id Jul 16 05:46:03 in the constructor, compare 1, 2 and 3, 4 Jul 16 05:46:07 should be different ids Jul 16 05:46:26 *in the constructor of myclass Jul 16 05:46:47 once again you've inspired greatness Jul 16 05:46:55 haha jk. thanks so much that was a stupid mistake Jul 16 05:47:03 sorry for wasting your time romainguy Jul 16 05:47:13 thankssssss lasserix Jul 16 05:47:20 what would i do without you Jul 16 05:47:40 how is it possible you figured that out from all the way over there Jul 16 05:48:18 just doing the same as you Jul 16 05:48:28 different projects, same bugs Jul 16 05:52:54 romainguy, i think i HAVE found a possible bug in the way text strings and 9 patch png's work together. i just added a black space to the end of each line of text in my TextView and the 9 patch scales perfectly. without that blank at the end of each line the 9 patch is eitherscaled slightly too large in the X axis or slightly too small Jul 16 05:53:40 anyway work tomorrow. time to zzz Jul 16 06:10:41 Anyone know if this code actually works? http://stackoverflow.com/questions/3310990/taking-screenshot-of-android-opengl Jul 16 06:16:21 I wish i did sorry Jul 16 06:48:58 does anyone have any idea why my views margins arnt showing with inflate? Jul 16 06:49:12 ok Jul 16 06:49:15 i think i need sleep Jul 16 06:49:24 k nn Jul 16 06:49:24 i read views margins as virgins Jul 16 06:49:28 =_= Jul 16 06:49:36 haha wow Jul 16 06:49:44 you're not passing a parent to the inflate() method Jul 16 06:49:50 its probably not just sleep you need bro Jul 16 06:50:00 quiet you Jul 16 06:50:06 hah, night. Jul 16 06:50:13 nn st Jul 16 06:50:17 (sleep tight( Jul 16 06:50:49 Ahh i got it romainguy, so your saying i need to define the margins in my parent Jul 16 06:50:56 no Jul 16 06:51:11 layout params can only be inflated if you pass a parent to inflate() Jul 16 06:51:18 inflate(R.layout.mylayout, theParent, false) Jul 16 06:58:52 ummmmmmm Jul 16 06:59:51 who needs margins anyway Jul 16 07:00:12 I just told you how to do it Jul 16 07:00:24 dont give into the dark side of coding Jul 16 07:01:26 I dont want to sound like im trying to be spoon fed but I tried that but the margins didnt appear Jul 16 07:01:55 do the layout params need to be set in code? Jul 16 07:02:02 or can they be done through XML aswell Jul 16 07:02:11 XML works Jul 16 07:02:16 it's all the android:layout_* params Jul 16 07:02:32 ahh Jul 16 07:02:59 lasserix do you want to see this app in action? i got a little video for you if you'd like Jul 16 07:03:45 actually yeah Jul 16 07:03:47 that would be cool Jul 16 07:04:25 seems like a cool project, more advanced than the house lights controller my friend was working on Jul 16 07:04:30 android opengles2.0 is fake Jul 16 07:04:37 here you go Jul 16 07:04:37 http://tinypic.com/player.php?v=2ednyfc&s=6 Jul 16 07:04:43 this is a proportional valve Jul 16 07:04:52 you can change the opening from 0 - 100% Jul 16 07:04:59 i also have an open/close valve Jul 16 07:05:06 and two types of displays, analogue and digital Jul 16 07:05:10 to flood the house? Jul 16 07:05:19 The valve is attached to a cementing unit Jul 16 07:05:23 lol Jul 16 07:05:44 cool! i have a friend who does water systems control, doubt they use tablets but same stuff Jul 16 07:06:29 not that it would be a good idea, but definatly need a "go haywire" defcon switch somewhere ;p Jul 16 07:07:28 awesome Jul 16 07:07:28 yeah Jul 16 07:07:34 not a good idea for operation Jul 16 07:07:43 we only use ours to do a 'hot test' Jul 16 07:07:57 im not a systems engineer or software engineer as you can probably tell Jul 16 07:08:14 Someone just had an idea and i had a go at it Jul 16 07:08:45 Seems like a good idea, till someone's kid gets a hold of the tablet.. Jul 16 07:09:02 hahah the range is quite impressive Jul 16 07:09:19 i was controlling it from a good 50 meters away in the office Jul 16 07:19:25 romainguy: the SurfaceView cannot, in fact, be detached from the layout while the Jul 16 07:19:34 Canvas is locked Jul 16 07:19:48 no exception is thrown Jul 16 07:19:56 When I long press the menubutton, the softkeyboard appears. Do someone know, if this happens on all phones, or is this only on special devices? Jul 16 07:20:20 Is there a quick way to clear a Renderscript allocation to zero? Jul 16 07:21:21 fornext: all phones with a hardware menu button Jul 16 07:21:36 and that haven't been destroyed by some OEM ROM Jul 16 07:22:23 JakeWharton, but not with "software"-menu button? I thought, there is a emulation off the hardware buttons? Jul 16 07:23:00 long pressing the software menu button does nothing Jul 16 07:23:43 hi Jul 16 07:24:02 the menu button is deprecated forget about it Jul 16 07:24:06 im trying to adb install an application but the damn thing just keeps whining about insufficient storage space Jul 16 07:24:18 @romainguy, what path would you recomend setting as the default path for depositing screenshots, or other stuff? a lot of apps put files all over the place... Jul 16 07:24:27 mind you this is android-x86 running on a notebook, system is mounted over NFS theres over 11gb of space Jul 16 07:24:33 wtf is going on Jul 16 07:24:44 I am in a GLSurfaceView, but I havent found another way to show the softkeybord. Jul 16 07:24:55 11gb on the partition to which apps are installed? Jul 16 07:25:07 JakeWharton: on system Jul 16 07:25:57 I DID IT! Jul 16 07:26:11 rmoainguy was right Jul 16 07:26:18 i chose the wrong parent Jul 16 07:27:11 Belacan: he normally is... Jul 16 07:27:57 haha Jul 16 07:28:24 romainguy is like the oracle from the Matrix. He's a guide who can help you find the path. Jul 16 07:28:51 don't know how good his cookies are though Jul 16 07:30:20 hmm… quite right Jul 16 07:31:07 i hope you have cookies enabled Jul 16 07:31:25 http://www.youtube.com/watch?v=yX8yrOAjfKM Jul 16 07:31:46 how do guys whip up th emotivation to any dev for this crappy platform? Jul 16 07:32:10 we're all iOS devs just trolling this channel Jul 16 07:32:10 trolling is a coping mechanism used by self hating chatters to attempt to cause as much external misery as they feel inside Jul 16 07:32:16 nobody in here actually does Android Jul 16 07:32:26 I pretend I know what I'm talking about Jul 16 07:32:45 Speak for yourself, sir, I develop exclusively for car phones from the 1980s Jul 16 07:33:01 bring back the brick! Jul 16 07:33:07 maybe app dev is only half as shit as the native dev Jul 16 07:33:20 romainguy__: Could really use a favour right now. Otherwise I'll be at work all day fidgety with nothing to work on. Jul 16 07:36:12 Gumboot you can work on your humour Jul 16 07:36:23 haha jk :) Jul 16 07:36:32 ensi: it's approximately the limit of 1/x as x approaches infinity shittier Jul 16 07:37:09 Belacan: I considered making a joke, but ..umm.. Jul 16 07:37:15 ensi: yep, that's the spirit how to create new stuff Jul 16 07:37:20 I'm just not funny enough. Jul 16 07:37:36 Also, I got distracted, because I only develop apps when I need to test something. I probably shouldn't be here. Jul 16 07:37:40 anyone uploaded any youtube video? do you know what vids would be banned by yt? Jul 16 07:37:48 i have spent a day tryign to install a single application, it just keeps whining about insufficient storage Jul 16 07:38:01 mobilegamelabs: this probably isn't the best channel for that Jul 16 07:38:02 i've ran out of motivation to deal with this shite Jul 16 07:38:04 :/ Jul 16 07:38:09 i got a warning when the radio was on during my home video Jul 16 07:38:14 that the music was copyrighted Jul 16 07:38:16 :( Jul 16 07:38:21 ensi: I actually like programming Android apps a lot .. done Symbian, Windows Mobile, Maemo, MeeGo, Windows Phone, S40 and little bit iOS in the past Jul 16 07:38:38 symbian :< Jul 16 07:38:39 other than that my vids are fine :) Jul 16 07:38:47 thats about as much fun as stuffing cactie up your rectum Jul 16 07:38:50 aolin: wow what a vet Jul 16 07:38:59 ensi: but ur problem not related with development Jul 16 07:39:03 back in 'nam Jul 16 07:39:05 Snuffel: you are an evil pirate, and Google Police are even now approaching your home to seize all electrical devices Jul 16 07:39:13 ensi: i'll help you, first type /quit Jul 16 07:39:24 /quit Jul 16 07:39:31 TRY CTRL ALT DELETE! Jul 16 07:39:37 alt-F4? Jul 16 07:39:39 ensi: if you lose momentum with a problem like that, you're never likely to actually complete an app Jul 16 07:39:45 who watched 'matrix runs on windows xp' Jul 16 07:39:49 Leeds: i'm not there Jul 16 07:39:59 Snuffel: that won't stop them Jul 16 07:40:06 ensi got an issue? Jul 16 07:40:07 the door is locked Jul 16 07:40:10 have a tissue Jul 16 07:40:11 aolin: oh yeah? Jul 16 07:40:20 ensi whats the problem Jul 16 07:40:27 help me, help you Jul 16 07:40:35 ensi: you should try running the Android emulator on your Android x86 notebook and installing an app on that instead Jul 16 07:40:47 he cry coz dont have enough space on target device Jul 16 07:40:51 try buying a galaxytab 2 like me Jul 16 07:41:17 ixc: yeah, only 11gb Jul 16 07:41:28 i dont us eemulator Jul 16 07:41:29 ensi, as Dr. Phil says, what you need to do, is loose some weight Jul 16 07:42:39 Ok why is it that my first widget thing is all squished up, and then the other three that come after that are fine. is it something to do with the fact that the first widget creates the linear layout while the others just join it? Jul 16 07:43:12 I have to say that I've see the "insufficient space" when installing an APK by ADB ... even when there's enough space for the apps Jul 16 07:43:35 according to google is a frequent pain in the ass Jul 16 07:43:39 Is there a minimum generation ARM core required for Android? Jul 16 07:43:57 Gumboot: check the CDT Jul 16 07:44:08 pentium i5 i think Jul 16 07:45:00 when that happened, I remember that rebooting the phone or just reconnecting the USB helped Jul 16 07:45:14 but yeah, there is a but on some androids Jul 16 07:45:26 haven't seen that on 4.0 anymore Jul 16 07:45:37 I've seen it plenty of times installing from the market, on a device with 100s of MB free Jul 16 07:46:20 * Gumboot begins the looooong process of starting eclipse. Jul 16 07:49:32 I did it! Jul 16 07:49:38 has anybody here by any chance tried to install Linux or whatever on a Chromebox ? Jul 16 07:49:45 the problem was that the view was assigned BEFORE the layout was created Jul 16 07:52:20 romainguy__: I don't even know how to do that. Jul 16 07:52:44 sorry CDD Jul 16 07:52:52 anyway http://static.googleusercontent.com/external_content/untrusted_dlcp/source.android.com/en/us/compatibility/4.0/android-4.0-cdd.pdf Jul 16 07:53:58 romainguy are you one of the main developers? Jul 16 07:54:22 I've been working on the Android framework for a little over 5 years now Jul 16 07:54:30 (holy crap) Jul 16 07:54:37 Wait... how old is Android? Jul 16 07:54:48 Isn't that pretty much all of it? Jul 16 07:54:53 Gumboot: 1.0 was released in October 2008 Jul 16 07:55:02 so, yes, pretty much Jul 16 07:55:07 <[SP]JESTER> lol Jul 16 07:55:07 Gumboot: I joined before it was a public project Jul 16 07:55:24 thats great. android is really great. youve done a great job. well done. Jul 16 07:55:30 glad you like it Jul 16 07:55:33 still tons of work to do though :) Jul 16 07:55:38 <[SP]JESTER> yea there is Jul 16 07:55:41 <[SP]JESTER> cussing out htc is step 1 Jul 16 07:56:07 I quite like HTC today Jul 16 07:56:07 i like htc Jul 16 07:56:20 <[SP]JESTER> yea we all love their phones Jul 16 07:56:25 the HTC One models seem interesting Jul 16 07:56:27 <[SP]JESTER> but a year later and nothing been updated... Jul 16 07:56:37 <[SP]JESTER> is why htey have the name Jul 16 07:56:40 <[SP]JESTER> Quietly Brilliant Jul 16 07:56:47 <[SP]JESTER> "Quietly" Jul 16 07:56:55 it's a pity about Sense... but their service has done well by me today Jul 16 07:56:58 i dont like new phones, i want max 3.7" display and qwerty Jul 16 07:57:10 no replacement for my motorola milestone :( Jul 16 07:57:12 <[SP]JESTER> samsung got cussed out pretty good for the galaxy s Jul 16 07:57:15 <[SP]JESTER> and u see they listened Jul 16 07:57:29 * Gumboot is trying to figure out if it's viable to use hard-float ABIs internally. Jul 16 07:57:51 <[SP]JESTER> but when htc makes an update list for every phone Jul 16 07:57:56 <[SP]JESTER> and dont say a single word about it Jul 16 07:58:11 <[SP]JESTER> its like waiting for rockstar to release gta V Jul 16 08:00:24 I'm still restoring 15GB or so of /mnt/sdcard to my One X after getting it back from HTC today Jul 16 08:02:15 when is the best time to bind a service in a fragment? Jul 16 08:02:35 rather, what part of the lifecycle Jul 16 08:03:31 depends what is the intended lifecycle of the service :) Jul 16 08:04:02 Leeds: did you have the wifi problem? Jul 16 08:04:20 Snuffel: no, I had the dropping-the-phone-on-a-hard-tile-floor problem Jul 16 08:04:25 i am considering sending mine back too Jul 16 08:04:26 oh haha Jul 16 08:04:39 but it's such a hassle with all the apps I have Jul 16 08:04:46 and pictures and such Jul 16 08:05:21 i'm switching from an activity to a fragment based applicaiton, and in the activity it was in the onCreate, in th fragment, i did it in on th eonCreate(), but I seem ot be getting a NullPointerException when trying to get the service Jul 16 08:05:28 you mean doing without it, or getting it wiped? Jul 16 08:05:39 getting it wiped Jul 16 08:05:46 and restoring everything Jul 16 08:05:52 so you back it up first - as I said, I'm just restoring now Jul 16 08:06:04 can you do a full backup with everything? Jul 16 08:06:11 sort of Jul 16 08:06:29 my wifi keeps dropping Jul 16 08:06:35 until I shake the phone (!) Jul 16 08:06:45 yeah, that doesn't sound too good Jul 16 08:07:12 and the software is confused then so I need to reconnect Jul 16 08:07:19 so yeah I should send it back Jul 16 08:07:23 it's a known issue Jul 16 08:07:45 actually, my S2 (fallback phone) has some radio issues, but I think that's because my ICS flash was slightly dodgy - it's stock, but I pushed it manually Jul 16 08:08:45 you have an S2 and a One X? Jul 16 08:09:16 yup... and the gf has a gnex... and there's a selection of tablets around :) Jul 16 08:09:48 armeabi-v7a doesn't use a hardware fp register calling convention, does it? Have I got mixed up on that? Jul 16 08:12:13 Oh. There it is "this little constraint". Jul 16 08:12:43 I don't get why people do that. Try to make ABIs compatible with hardware on which the code can't possibly run anyway. Jul 16 08:41:24 why doesn't Eclipse automatically add activities to the manifest? Jul 16 08:45:30 because eclipse sucks Jul 16 08:46:33 OK, I don't like the answer to my previous question, so I'm going to change it until I get something I like. Jul 16 08:47:00 Is there data on CPU versions filtered by Android versions? Jul 16 08:47:21 Specifically, how many non-v7a ARMs are being used to run Honeycomb or later? Jul 16 08:47:30 my problem is, that a app is running ok on my phone, but now I get the information, that it crashes on another phone. How can I get an remote error log? Jul 16 08:47:40 I'll personally go and burn every one of them. Jul 16 08:50:40 Actually, that's the wrong question again. Jul 16 08:50:43 v6 is fine too. Jul 16 08:52:10 Hello world Jul 16 08:53:19 fornext: check out null ware remote crash reporting Jul 16 08:53:27 nullwire* Jul 16 08:59:54 CallumTaylor, I found acra so far, but it looks like you need a google account. Jul 16 09:00:00 let me look for nullwire Jul 16 09:00:36 hey Jul 16 09:00:49 fornext: you don't have a google account? Jul 16 09:00:49 has anyone used android to read from an excel file before? Jul 16 09:01:02 as in, programmatically? Jul 16 09:01:19 yeah Jul 16 09:01:28 appel1, sure I have, but I dont use the market for this app. Jul 16 09:01:28 like Jul 16 09:01:34 excel is a closed format Jul 16 09:01:36 afaik Jul 16 09:01:38 i put in excel things and it interprets it Jul 16 09:01:40 oh Jul 16 09:01:44 xml then Jul 16 09:01:50 or something that can be edited with excel Jul 16 09:01:51 or csv Jul 16 09:01:54 csv Jul 16 09:01:55 yeah Jul 16 09:01:57 thats the one Jul 16 09:02:00 that you can google Jul 16 09:02:01 i never heard of it though Jul 16 09:02:06 is that like an open excel? Jul 16 09:02:10 no Jul 16 09:02:13 it's plain text Jul 16 09:02:19 comma separated values Jul 16 09:02:24 ahh Jul 16 09:02:33 fornext: can't you set up acra to let your users use the e-mail client of their choice to send the report then? Jul 16 09:02:34 but it can be interpreted by software as a table like excel? Jul 16 09:02:45 Belacan: excel does read that, yes Jul 16 09:02:50 sweeeeeeeeeet Jul 16 09:02:52 ok Jul 16 09:02:56 and one more question Jul 16 09:02:57 XLS and XLSX are actually published formats (you can download the specs) but they're extremely complicated. Snuffel's approach is a much better idea :-) Jul 16 09:03:06 ok Jul 16 09:03:07 got it Jul 16 09:03:08 thanks Jul 16 09:03:12 has anyone done it before? Jul 16 09:03:16 i mean, here Jul 16 09:03:33 just google 'read csv in java' Jul 16 09:03:36 you should be fine Jul 16 09:04:01 fornext: and afaik you don't have to distribute your app with google play for it to be able to use acra to report to google docs Jul 16 09:05:00 appel1, do you know how long it takes to implement? Jul 16 09:08:07 fornext: the basic setup can be done in minutes I guess Jul 16 09:12:38 appel1, maybe but I am new to google docs too :) Jul 16 09:18:26 fornext: the null wire crash report is really useful, i use it in all my apps Jul 16 09:18:49 it's free, but requires a remote server the devices can send the report to Jul 16 09:21:16 CallumTaylor, send per email would be easy. Jul 16 09:21:30 you can configure the php script to mail you Jul 16 09:22:19 Smpt server? Jul 16 09:22:30 Smtp* Jul 16 09:23:48 CallumTaylor: what advantage does null wire have over acra? Jul 16 09:23:55 i've never user acra Jul 16 09:23:59 so i don't know Jul 16 09:24:38 ok Jul 16 09:33:01 does anyone know a great java API for reading CSVs? Jul 16 09:33:33 Belacan: you don't need an API, CSV is very easy to read Jul 16 09:33:46 okay :( Jul 16 09:34:55 don't be lazy Jul 16 09:38:11 found one Jul 16 09:38:12 http://code.google.com/p/secrets-for-android/source/browse/trunk/src/au/com/bytecode/opencsv/CSVReader.java Jul 16 09:38:16 the acra-code-examples dont work. ReportField cannot be resolved to a variable. Jul 16 09:38:24 Does CSV have escaping rules for cells with commas in? Jul 16 09:38:25 ReportingInteractionMode also Jul 16 09:38:54 I've seen quotes used for those cells, but then I have to wonder what you do for cells with quotes in. Jul 16 09:39:07 Gumboot: you escape the quote Jul 16 09:39:19 it's not rocket science, but it's also not trivial Jul 16 09:39:37 the link i posted does Jul 16 09:39:41 I'd say it's just complicated enough to be kind of annoying. Jul 16 09:39:45 ^^ Jul 16 09:39:50 Gumboot: got any alternatives? Jul 16 09:39:51 leeds Jul 16 09:39:57 that remindes me of something Jul 16 09:40:02 hmm, i wonder how to best package a library project, so that a third party can use it. Jul 16 09:40:07 including resources.. Jul 16 09:40:20 Snuffel: No. I'm just saying, it's not fair to say it's that easy. Jul 16 09:40:23 leeds this is you: http://www.youtube.com/watch?v=THNPmhBl-8I Jul 16 09:40:55 Gumboot: it is easy, but it still is work Jul 16 09:41:09 I think people start to go a bit wrong with rules around escaping characters which don't need escaping. Jul 16 09:41:14 Do you swallow the escape? Jul 16 09:43:11 Saying it's easy is the first step towards doing it wrong. Jul 16 09:43:43 * Gumboot sets off to work to tell people how easy some stuff is. Jul 16 09:44:05 hmm, i guess i have to include the --non-constant-id flag in the aapt step.. Jul 16 09:44:10 i wonder if eclipse allows that.. Jul 16 09:45:41 hmm, i guess i will have to use the ant build scripts to build the jar Jul 16 09:49:54 when scrolling i see a few gc collections that pause for 40 ms, and using traceview i hunted it down to the allocation of byte[] in view caching. any tips on optimizing this? Jul 16 09:59:07 hi Jul 16 10:00:21 hi Jul 16 10:01:30 its hard to sell games on google play Jul 16 10:01:44 mobilegamelabs: why's that Jul 16 10:01:46 not good games Jul 16 10:02:17 funktronic: about 160 dl only in a month Jul 16 10:02:32 but more than 250 dl on the first day on app store Jul 16 10:02:35 why is that? Jul 16 10:02:37 im trying to make a messenger similar to MSN. what could be possible ways of doing it? So far, I know 1. Hosting a webserver 2. SMS Jul 16 10:02:48 CaseOfInsanity: don't do it Jul 16 10:02:58 funktronic: why? Jul 16 10:03:05 CaseOfInsanity: get ejabberd and run XMPP Jul 16 10:03:06 what's a proper way to promote on google play? Jul 16 10:03:15 Because there are plent of solutions Jul 16 10:03:26 and XMPP already exists Jul 16 10:03:39 it runs on android? Jul 16 10:03:40 XMPP? Jul 16 10:03:49 CaseOfInsanity: there are java libraries, xmpp is a protocol Jul 16 10:03:55 there are open source servers you can use Jul 16 10:04:12 plus xmpp is extensible so you can throw in whatever extra you need Jul 16 10:04:22 AND MSN messenger now supports xmpp Jul 16 10:04:24 funktronic: im doing this for a company. what license are those generally? GPL? Jul 16 10:04:34 mobilegamelabs: you don't promote on google play - it's a distribution channel, not a marketing channel Jul 16 10:04:48 you promote for Android Jul 16 10:05:02 Promotion on google play occurs naturally as you promote in other media Jul 16 10:06:15 Leeds: agree, but app store is so different Jul 16 10:06:22 i didn't promote anything and i got 250 dl Jul 16 10:06:32 the next day 160 Jul 16 10:06:51 it's a minority platform, less competition ;) Jul 16 10:07:20 any of you using minidev.json ? Jul 16 10:07:43 getting string objects is taking *forever* Jul 16 10:08:23 Leeds: :P Jul 16 10:08:51 mobilegamelabs: they're different beasts Jul 16 10:08:53 ios and droid Jul 16 10:09:12 One makes money, the other doesn't :P Jul 16 10:10:23 you know what's not true, ever? "If you build it, they will come" Jul 16 10:10:25 Is there a way to disable popups? "Battery full" and "Some app crashed unexpectedly" for example Jul 16 10:10:56 i have never seen the popup "battery full" in my life Jul 16 10:11:09 If anyone ever needs help reading and writing to a Siemens PLC tell them i'm your go to guy. Jul 16 10:11:10 Snuffel: some devices has that Jul 16 10:11:35 i think its the only thing i could ever contribute to in this channel Jul 16 10:11:48 often something to the effect of "Your battery is charged; unplug the charger to conserve power" Jul 16 10:11:59 Belacan: there's other ways you could contribute Jul 16 10:12:09 Belacan: all you need is some knee pads Jul 16 10:12:14 ryanm: Yes that, but I thought you got the point Jul 16 10:12:30 HDroid: agree! Jul 16 10:12:32 ummmmmmm Jul 16 10:12:50 Those steals focus from my app and I don't want it Jul 16 10:12:57 im sure you dont mean what thought you meant Jul 16 10:13:01 Is there an app for that? The PLC? Jul 16 10:13:13 ukkopekka: I did indeed, I was just adding it for anyone who was curious Jul 16 10:13:15 you talkin to me HDroid? Jul 16 10:13:32 theres a fantastic little library called libnodave Jul 16 10:13:40 Belacan: my skater girls team needs one more person Jul 16 10:13:49 lmao Jul 16 10:14:00 it was written for C++ but it has since been adapted Jul 16 10:14:01 in any case, no, as far as I know you can't disable system popups Jul 16 10:14:32 HDroid Jul 16 10:14:34 check this out Jul 16 10:14:53 Actually those steal focus from my Robotium tests and then tests fails Jul 16 10:15:06 HDroid: http://tinypic.com/player.php?v=2ednyfc&s=6 Jul 16 10:15:33 If there is no way to disable popups I need to recognize those somehow and rerun tests Jul 16 10:15:36 do people still use Twitter nowadays? Jul 16 10:15:54 is there any reason you can't run on charged devices? Jul 16 10:16:02 mobilegamelabs: i use it a lot to interact with users Jul 16 10:16:06 it's quite good for that Jul 16 10:16:08 only 500 million? Jul 16 10:16:14 that seems like it would work around the problem neatly Jul 16 10:16:23 funktronic: thanks. how to you accumulate users? Jul 16 10:16:46 does it work if i randomly follow people? Jul 16 10:17:03 [put a popup in your app that forces them to follow you Jul 16 10:17:05 that usually works Jul 16 10:17:53 :D Jul 16 10:18:03 ryanm: I've many devices connected and sometimes USB-hub cannot supply enough power to device and when it can that popup will pop up again. I'm using continuous integration to test my app automatically. Jul 16 10:18:42 Belacan: hm fun! Why's the tab upside down? :P Jul 16 10:19:44 I got the chinese copy, its a GNASWVS Jul 16 10:20:00 its not upside down Jul 16 10:20:38 nah im jk. Samsung has there USB chord coming from the bottom, so i cant rest it on my desk and have it plugged in the right way up, so out of habit i now use it upside down Jul 16 10:20:50 Ahh ok Jul 16 10:21:00 error reporting with acra works so far, but it ends in a endless loop. Ever and ever again, it wants to send a mail. What is wrong? Jul 16 10:21:17 ah. I see. That's an interesting problem. I'm not sure how to solve that, though you might be able to detect it and dismiss the popup somehow. Jul 16 10:21:19 Belacan: i hate that Jul 16 10:21:29 though I doubt you can do it within an app Jul 16 10:21:30 I quite like it actually Jul 16 10:21:34 i wish there was wireless usb with charing and ability to debug Jul 16 10:21:35 it gives my tab some character Jul 16 10:21:42 hahaha Jul 16 10:21:52 thats asking for a bit much Jul 16 10:21:52 way too many cords Jul 16 10:21:59 i'd be contempt with USB charging Jul 16 10:22:11 although i have a split keyboard so i usually put the phone that i am testing against in the middle of it Jul 16 10:22:23 ITYM 'content' :) Jul 16 10:22:43 ryanm: And if I click OK manually it will brake the test any case :P Jul 16 10:22:48 also, there is wireless charging and you can do adb over wifi Jul 16 10:23:45 Leeds: i should look into this later Jul 16 10:23:48 Leeds: ITIM http://en.wikipedia.org/wiki/Contempt Jul 16 10:24:00 although as soon as the app is done i'll probably start doing something non android related Jul 16 10:24:05 ryanm: I think I'll try to detect the situation somehow and just rerun the test. Maybe some script is needed to click that ok between tests to satisfy that popup before it brakes rerun also. Jul 16 10:24:29 Belacan: I know what contempt means, but "I'd be contempt with USB charging" is not English Jul 16 10:24:41 ryanm: Eventually test will be run ;) Jul 16 10:25:02 ohh Jul 16 10:25:04 you might be right Jul 16 10:25:11 thanks for that education Leeds Jul 16 10:25:50 ukkopekka: I'm not sure if this will work, but you may want to look at http://developer.android.com/tools/help/monkeyrunner_concepts.html Jul 16 10:26:00 dishing out pearls of wisdom Jul 16 10:26:23 that might allow you to dismiss the popup if you can detect the situation Jul 16 10:28:19 ryanm: Thanks for info. I know monkeyrunner already. That might be one solution. Jul 16 10:29:27 WTF does for(;;){ } mean? Jul 16 10:29:36 infinite loop Jul 16 10:29:38 Belacan: same as while(true) Jul 16 10:29:40 i think Jul 16 10:29:48 ahh Jul 16 10:29:50 ok Jul 16 10:29:52 thanks Jul 16 10:30:03 while(true) makes more sense Jul 16 10:30:33 I've heard of C/C++ developers who #DEFINE ever (;;) Jul 16 10:30:42 ryanm: Only thing is to hit the ok button with monkeyrunner. I hope that button is at same relative place for every device (something like middle of X and middle of Y) Jul 16 10:30:43 so they can write for ever { ... } Jul 16 10:31:01 ukkopekka: hitting the back button might work as well Jul 16 10:31:11 ryanm: good point Jul 16 10:31:57 and now I need to go to sleep, because it is late and I'm tired. Jul 16 10:33:00 does new InputStreamReader(getAssets().open("test.csv")) read straight from the SD card in android or is there some more directory formatting to be doen? Jul 16 10:33:21 Ok nn ryanm st Jul 16 10:41:49 How do apps like GO SMS Pro get my contacts Facebook pictures? My understanding was that only system apps (like the Messaging app) can access the contact photos synced from the official Facebook app (as in http://stackoverflow.com/questions/3845570/get-contacts-photo-which-are-synced-with-facebook-for-android) Jul 16 10:50:12 i want to work on Augmented reality for Android . can anyone suggest me where to start and how? i am an Android developer. Jul 16 10:52:18 do you guys think peer to peer messaging is a good idea for messaging between only 2 ppl? Jul 16 10:52:54 XMPP has a extension for P2P messages Jul 16 10:53:42 Hi Jul 16 10:53:59 do y'all know to directory of the SD in the android? Jul 16 10:54:50 http://developer.android.com/reference/android/os/Environment.html#getExternalStorageDirectory() Jul 16 10:55:20 HDroid: beat me to it :) Jul 16 10:57:42 :) Jul 16 11:04:30 #join #augmented_reality Jul 16 11:06:31 belacan, you also want to make sure the storage is available via getstoragestate Jul 16 11:06:49 ahh Jul 16 11:06:52 thanks very much guys Jul 16 11:13:52 hello Jul 16 11:17:59 hi Jul 16 11:25:56 what happens if a RuntimeException is thrown by the Runnable of a Handler ? Jul 16 11:26:10 String.valueOf((char) i); is working fine on my device, but it seems like another device is producing Nullpointer with that. Why is there a different behaviour on the devices? Jul 16 11:26:44 how many people with android accounts have a google account ? Jul 16 11:29:38 What is an Android account? Jul 16 11:30:39 fornext: unless there's a very serious bug on Android that for some reason has gone unnoticed, I suspect some other piece of your code is causing it. Jul 16 11:30:47 funktronic: 100% of people Jul 16 11:31:49 fornext: also, not sure what i is (since you're casting it), but if it's really a char I don't see how it can be null (as it is a primitive). Jul 16 11:32:49 Unless it's a Character, in which case... why! Jul 16 11:33:04 (also I suspect it would autobox anyhow) Jul 16 11:36:44 Hello, i got little problem with Phone Call recording.. Problem is when i start new Service Thread and MediaRecorder is started, then app crashes.. http://pastebin.com/aDSJtpVQ Jul 16 11:37:05 HDroid, I see that the var is used in a canvas.drawText(). I think it must be the canvas. Jul 16 11:37:32 Possibly... hard to say without code and stacktrace. Jul 16 11:37:56 DMRC86: stack trace pls Jul 16 11:38:00 DMRC86: stacktrace?? Jul 16 11:38:18 Man, we need a bot that automatically bans people asking questions without posting a trace. Jul 16 11:38:27 HDroid, thats my problem, it runs well on my device 2.3.3 - but fails on 4.0.4 Nexus S Jul 16 11:39:07 fornext: how about a 4.x emulator? Jul 16 11:39:13 HDroid, mybe this: bitmap = Bitmap.createBitmap(textureSize, textureSize, Bitmap.Config.ARGB_4444); Jul 16 11:39:28 HDroid, GLSurfaceView Jul 16 11:39:35 Hm Jul 16 11:39:50 Maybe a not supported format. But it is a common one. Jul 16 11:41:20 http://pastebin.com/xvuwbps8 Jul 16 11:41:28 there is stacktrace Jul 16 11:42:54 Anyone able to tell me what the List headers in the Contacts Activity (in >=ICS) is made of? :D Jul 16 11:47:09 server crash? Jul 16 11:48:30 I'm still here, mohaha. :) Jul 16 11:48:31 nah - skynet is awake :) Jul 16 11:48:48 n20: why not look in the source yourself? Jul 16 11:49:14 appel1: I tend to forget that that's actually possible :( Jul 16 11:49:25 :) Jul 16 11:49:51 * n20 slaps the back of his head. Jul 16 11:56:40 What happens if I handler.post a runnable that takes 100ms, but post every 10ms? Jul 16 11:57:49 you break everything Jul 16 11:57:53 i mean it'd be like Jul 16 11:57:55 splitting time Jul 16 11:58:10 it'd be like shooting someone Jul 16 11:58:16 before you pulled the trigger Jul 16 11:58:22 hmmmmmmmm Jul 16 11:58:26 * Bugz000 wanders back into lurking zone Jul 16 11:59:02 file = new File(Environment.getExternalStorageDirectory(), "myFile"); can create a file in the directory Jul 16 11:59:04 BUTT Jul 16 11:59:16 how do you assign an existing file to that variable Jul 16 11:59:28 make a file, see if it exists? Jul 16 11:59:51 i tried file = File(Environment.getExternalStorageDirectory(), et_fileName.getText().toString().trim()); Jul 16 11:59:57 but it wasnt that simple Jul 16 12:00:18 belacan, you mean you want to overwrite the file? Jul 16 12:00:24 no Jul 16 12:00:34 I want to read it so i can use 'file' in some other functions that will read it Jul 16 12:00:40 so the user will put a file in Jul 16 12:00:44 and my app will read it Jul 16 12:00:58 The user will use a CSV file to configure all the valves Jul 16 12:01:06 ahh Jul 16 12:01:23 why not shared prefs to store the configs? Jul 16 12:01:35 so the user will point to a file on the sdcard and you want to assign that to a File? Jul 16 12:01:37 because the user needs to edit the file outside Jul 16 12:01:56 the user will put a file into the SD card using a specific name Jul 16 12:02:07 such as valveconfig.CVS Jul 16 12:02:10 Bugzooo, no seriousily. I have a dedicated thread for processing iterations of an algorithm which can take 30-100ms; I made this when I was fairly niave. So I was thinking of turning it into a runnable setup, or a runnable looper instead... so i was just curious Jul 16 12:02:37 dont ask me dude - im just lurking Jul 16 12:02:39 :) Jul 16 12:02:44 heh Jul 16 12:02:49 what lurking bug Jul 16 12:03:30 you always know where the cvs file is? Jul 16 12:03:34 yeah Jul 16 12:03:36 HDroid, ok, the emulator runs with the glSurfaveView. Jul 16 12:03:38 its just in the SD place Jul 16 12:03:40 :) Jul 16 12:03:44 and pruduces the same Error Jul 16 12:04:08 in my example app that i found it reads 'file = new File(Environment.getExternalStorageDirectory(), "filename");' so thats how they assign the variable that is later read Jul 16 12:04:14 oh then just do File = new File(path) where path is the string constructed from getexterenalstorage + "cvs.etc" Jul 16 12:04:25 ahhh Jul 16 12:04:29 thanks!! Jul 16 12:18:18 Can I view a bitmap with the debugger? Jul 16 12:24:04 anyone know of a website showing different attributes of gridview and what they do? Jul 16 12:26:58 dont know sorry lasserix Jul 16 12:27:04 gridview is a mystery to me Jul 16 12:27:35 so after File file = new File(path + "test.cvs"); ive put InputStream is = new FileInputStream(file); Jul 16 12:27:55 ? Jul 16 12:28:06 that doesnt sound right? Jul 16 12:28:17 sounds right Jul 16 12:28:20 cool Jul 16 12:28:24 just make sure path + "test.vcs" adds up Jul 16 12:28:34 like is not missing a / between path and test.cvs Jul 16 12:28:43 is this a Java class? Jul 16 12:29:03 isn't all of life a java class? Jul 16 12:29:09 hahah Jul 16 12:29:24 what was the line you said you could check for a file? Jul 16 12:29:40 set a file with a path and see if it exists? Jul 16 12:30:01 just the see if it exists part Jul 16 12:30:16 filename.exists() Jul 16 12:30:28 the former ony if necessaries :) Jul 16 12:30:30 if (!filename.exists()) { do nothing! } Jul 16 12:30:52 you dont have to specify the directory? Jul 16 12:31:04 you do that when you initialize the file Jul 16 12:31:17 file f = new file(path); Jul 16 12:31:54 gotcha Jul 16 12:31:57 gotye Jul 16 12:32:28 http://www.youtube.com/watch?v=qJlbPXZEpRE Jul 16 12:33:00 good one Jul 16 12:33:49 im sure this crowd would appreciate it haha Jul 16 12:35:37 wow how adorable are the eclipse hints "Do not hardcode "/sdcard/"; use Environment.getExternalStorageDirectory().getPath() instead" Jul 16 12:35:47 its like having a lasserix inside my computer Jul 16 12:36:20 haha that's not the most marketable name, but definatly a good early alias for my siri clone Jul 16 12:36:59 hahah Jul 16 12:42:24 I DID IT!!!!!!! Jul 16 12:42:26 Sweet Jul 16 12:42:28 thanks Jul 16 12:42:32 im now reading Jul 16 12:49:54 AWWWWWWWWWWWWWWWWWWWW Jul 16 12:49:59 dont stop til you get enough Jul 16 12:57:23 can I use c++ to create sqlite database, and import that into android? Jul 16 12:58:23 lasserix: sure, a few requirements, though: http://www.reigndesign.com/blog/using-your-own-sqlite-database-in-android-applications/ Jul 16 12:58:39 HDroid, thanks Jul 16 13:00:26 Hello if i want to return a object to the previous screen with Intent how can i do that? Jul 16 13:01:03 GKeizer: startActivityForResult Jul 16 13:01:06 will help Jul 16 13:01:23 Am in the process of evaluating an android application and was wondering if there is an application out there that records all on screen activity to a video file? Something that I can then play later to analyse the number of clicks and so forth? Jul 16 13:01:26 so if i close the screen i can get a result back? Jul 16 13:01:50 yes Jul 16 13:02:06 how about the emulator timmah? Jul 16 13:02:27 Ive got a hard one for you Jane Jul 16 13:02:41 mind your words Belacan Jul 16 13:02:48 :) Jul 16 13:03:03 there's ladies in here Jul 16 13:03:20 here it goes, why is it that my if statement isnt picking up the string value of my arraylist Jul 16 13:03:27 i wast talking about my question snuffel Jul 16 13:03:28 Belacan: Can't really use the emulator as it's too slow, and I won't have a laptop near me Jul 16 13:04:58 I'm having some big problems with a listview. I have some headerviews on it, but the headerViews I have change based on which data is loaded into the list. My fragment updates this data, but on 2.2 devices, I get an exception when adding headers, even though I have done listView.setAdapter(null) to avoid the "can't add header because setAdapter has been called"-exception. If anyone here has an idea on how to fix it, please share :) Jul 16 13:05:00 that's a little annoying Jul 16 13:05:07 my eclipse .project file has been garbled Jul 16 13:05:09 snuffel: http://www.youtube.com/watch?v=jvTJxMPzJlo&t=1m1s Jul 16 13:05:09 :\ Jul 16 13:05:33 hi. is there an event that will tell me that the user is on page X after he went back to it from page Y by pressing the back button? Jul 16 13:05:43 is there something like onReturn .. Jul 16 13:06:23 just curious, but what do you need that for? Jul 16 13:06:42 is you press the back button, the activity is gone Jul 16 13:06:49 because in page X he deleted an entry, and that forwarded him to page Y. if he presses back in Y he'll go back to X with the entry there Jul 16 13:06:51 so onCreate of the previous is called again, right? Jul 16 13:06:54 Timmaah1201: use hardware acceleration when running the emulator Jul 16 13:07:11 can you not remove the entry before changing page Jul 16 13:07:47 using onPause or something Jul 16 13:08:35 the page is being retrieved from cache right? Jul 16 13:08:52 hi Snuffel :) Jul 16 13:08:56 hey hackkitten Jul 16 13:08:58 how is you? Jul 16 13:09:10 it's like when you go back in the browser, page is fetched from cache Jul 16 13:09:45 Snuffel > not too bad. Just waiting to hear whether I got this new job or not Jul 16 13:09:47 Snuffel: if you start that activity with startActivityForResult or similar, you can get info back Jul 16 13:09:50 thilden: its my computer thats the issue.. takes 20 minutes to load android 4.x.. but i won't have the computer anyway.. Surely there's an app that records the screen activity? Jul 16 13:09:54 * hackkitten crosses paws~ Jul 16 13:10:11 what for? Jul 16 13:10:45 sorry, not snuffel, was meant for krad Jul 16 13:11:12 Heres a hard one for you guys: http://pastebin.com/Qr6tJ934 Jul 16 13:11:26 My openGl apps works fine with amdroid API 8 but running with API15 fails. It seems that only the wirst OpenGL-Draw commend is working. What is wron with GL10 on API15? Jul 16 13:12:26 havchr, the problem is that although i deleted the entry, by pressing back i can still see it in the list Jul 16 13:14:57 im gobsmacked Jul 16 13:15:19 http://www.damnocrazy.com/7/not-iphone-warning-be-printed-android-phones-court-order ... is that for real? Jul 16 13:15:50 hiii Jul 16 13:16:16 p_l|backup: no, of course not - it's a joke site Jul 16 13:16:23 lol Jul 16 13:16:25 convinced me Jul 16 13:16:30 Snuffel, onCreate isn't called if the user goes back to the activity using the back button Jul 16 13:16:58 the bit where it says "fake news" at the top of the page didn't give it away? Jul 16 13:17:09 oh Jul 16 13:17:13 * Called after {@link #onStop} when the current activity is being Jul 16 13:17:13 * re-displayed to the user (the user has navigated back to it). Jul 16 13:17:15 what the eff Jul 16 13:17:16 that's what i need Jul 16 13:17:17 i think Jul 16 13:17:24 onRestart() Jul 16 13:18:01 siri, summon lasserix: and ask him/her whats wrong http://pastebin.com/Qr6tJ934 Jul 16 13:18:25 i have no idea, Jul 16 13:18:32 are they all supposed to be valve? Jul 16 13:18:44 not all Jul 16 13:18:47 only a few of them Jul 16 13:18:54 as you can see Jul 16 13:18:57 is there anyone who have idea about VPN? Jul 16 13:18:58 Snuffel > senior PHP dev job at a Dutch public TV channel :) Jul 16 13:19:03 what's the problem? Jul 16 13:19:13 when i put if(i[0]!="valve") it reads Jul 16 13:19:34 well its not recognising i[0]="valve" when it should Jul 16 13:19:46 i make it print out i[0] and sometimes it says valve Jul 16 13:19:54 yet it doesnt print the "im a valve" bit Jul 16 13:21:20 http://blog.enrii.com/2006/03/15/java-string-equality-common-mistake/ Jul 16 13:21:45 Belacan: i[0]="value" means to set "value" in the array at index 0 Jul 16 13:21:56 hackkitten: cool!! and the passport issues? Jul 16 13:22:25 Snuffel > I'm already in the Netherlands :o Jul 16 13:22:42 jj Jul 16 13:22:45 hackkitten: i mean the gender change Jul 16 13:22:54 it's being changed this month Jul 16 13:23:02 I should have my new passport in ~2 weeks Jul 16 13:23:04 oh congrats! Jul 16 13:23:24 belecan, u supposed to use .equals to test if same otherwise testing if same string object hence it fails Jul 16 13:24:57 lsserixxxxxxx Jul 16 13:25:02 i dont even know what to say this time Jul 16 13:25:09 but thanks!! Jul 16 13:25:11 thanks, Snuffel :) Jul 16 13:25:13 your great Jul 16 13:25:32 Is there no simple possibility to create a bullet list from a ArrayList? Jul 16 13:26:13 customised listview ? Jul 16 13:26:57 sukramTM: writing your own adapter for a listView isn't that much of a hazzle Jul 16 13:26:57 Simple ;-) I just want to show a list in a textview Jul 16 13:26:59 I DID IT!! Jul 16 13:26:59 Belacan: I don't want to be a jerk, but this is very simple java that you should probably know before doing Android dev. I'd recommend asking for help in #java, along with reading http://docs.oracle.com/javase/tutorial/java/index.html Jul 16 13:27:13 thanks lov Jul 16 13:27:22 i probably should know a lot before trying what im trying to do Jul 16 13:27:29 but its been working so far Jul 16 13:27:34 thanks though Jul 16 13:27:36 "working" Jul 16 13:27:51 best of luck, just consider laying your groundwork more thoroughly Jul 16 13:28:17 working. http://tinypic.com/player.php?v=2ednyfc&s=6 Jul 16 13:28:57 Belacan: neat! Jul 16 13:29:12 haha cheers :) Jul 16 13:29:43 cool stuff Belacan Jul 16 13:30:11 thanks thankss couldnt have done it without your support Jul 16 13:32:10 Belacan, you should make a remake of pipe dreams game refactored using your valves Jul 16 13:32:25 hahah Jul 16 13:32:42 complete with green slime Jul 16 13:34:15 hackkitten: everything ok otherwise? Jul 16 13:39:11 Snuffel > depends on whether I get that job or not, I guess :) Feeling rather nervous ATM Jul 16 13:39:27 what job Jul 16 13:39:58 kallisti5: nope, still wrong Jul 16 13:40:18 canadiancow|work > senior PHP dev at Dutch TV station Jul 16 13:40:37 php D: Jul 16 13:40:39 thats not android! Jul 16 13:41:05 I hate how I can't disable automatic usb storage mounting anymore after the ICS upgrade my on xperia mini pro :E Jul 16 13:41:09 php is such a joke Jul 16 13:41:18 they need to rewrite it from scratch Jul 16 13:41:22 lol Jul 16 13:41:28 that doesn't help Jul 16 13:41:30 the entire world runs on php! Jul 16 13:41:31 CallumTaylor: perl 6? :) Jul 16 13:41:35 wasn't supposed to Jul 16 13:41:58 yeah it does, but php's next version needs to be better standardised, better OOP support etc Jul 16 13:42:12 OOP is irrelevant Jul 16 13:42:17 my understanding was that they didnt want to break backward compatibility Jul 16 13:42:21 or at least not too much Jul 16 13:42:29 Im trying to learn ruby atm but its such a pain to setup on my server Jul 16 13:42:44 if it's a major version it shouldn't matter Jul 16 13:42:49 i.e 6.0 Jul 16 13:42:58 sure ti does Jul 16 13:43:15 there are >9000 php apps out there, and need support Jul 16 13:43:16 new features Jul 16 13:43:16 why would it, if you upgrade from 5 to 6 you expect incompatibilities Jul 16 13:43:18 blah blah Jul 16 13:43:26 yeah, they wouldn't drop support for 5 obviously Jul 16 13:43:29 i dont expect to have to rewrite all the code Jul 16 13:43:42 that's how major versioning works Jul 16 13:43:45 or is supposed to Jul 16 13:43:57 canadiancow|work, in case of php, you should ;) Jul 16 13:43:59 lol Jul 16 13:44:19 are there any jelly bean roms for p4wifi yet Jul 16 13:44:22 i want some butter on my tablet Jul 16 13:48:33 canadiancow|work > nothing wrong with PHP :P Jul 16 13:48:44 except it's not android :P Jul 16 13:48:52 * hackkitten stabs Java Jul 16 13:48:57 Android's API sucks~ Jul 16 13:49:02 * hackkitten stabs it too~ Jul 16 13:49:08 Having issues with the best way to transfer data from one fragment to another. I have a mapfragment behind a tabhost setup (as found on various sites) and a listfragment. I want to transfer waypoints from the mapactivity to the listactivity. Is the best way to do this Intents, and if so, how do I do this? Jul 16 13:49:08 * hackkitten hugs C++/Qt Jul 16 13:49:08 nah to doesnt Jul 16 13:49:18 it can be better, but it doesn't suck Jul 16 13:50:04 I have reviewed some of the tutorials, but getting through the tabhost fragment workaround is the part bothering me Jul 16 13:53:59 hmm, handling the camera correctly is quite a mess Jul 16 13:54:10 tell me about it Jul 16 13:54:19 i had to handle it for the flashlight, such a pain Jul 16 13:55:14 hi Jul 16 13:55:51 hi Jul 16 13:56:25 is there a way to use the i as an integer in for(String[] i:list){} Jul 16 13:56:52 Belacan: wtf Jul 16 13:56:58 i is a String[]? Jul 16 13:57:10 answer is no Jul 16 13:57:12 no there is not Jul 16 13:57:21 is that even valid? Jul 16 13:57:36 i mean, because its iterating is there not a default counter Jul 16 13:57:45 no Jul 16 13:57:52 what are you trying to do Jul 16 13:58:22 Just get a number thats going up as it iterates. i think i can figure that out ;) i was just wondering Jul 16 13:58:23 thanks Jul 16 13:58:29 sounds like he's trying to count w/o add the 2 lines required for a counter Jul 16 13:58:35 *quickly recedes back to the hole he came from Jul 16 13:58:55 if all you're doing is counting, why not list.getSize() Jul 16 13:59:00 and save the loop Jul 16 13:59:08 no im doing other things too :) Jul 16 13:59:16 thanks though Jul 16 13:59:22 I got a NullPointer report when referencing a Fragment; I guess that is because it was not yet created - but I actually use a handler.post() to wait for exactly that. I got the NullPointer at line 29 of this: http://pastebin.com/GEEzSDQ4 Jul 16 13:59:25 any ideas? Jul 16 13:59:58 yes Jul 16 14:00:02 there is no fragment with that tag Jul 16 14:00:18 and you shouldnt need the handler there at all Jul 16 14:00:34 as long as populateWeight() is called after the activity's onCreate Jul 16 14:00:34 I do - after orientation changes populateWeight() is also called Jul 16 14:00:48 that is irrelevant Jul 16 14:01:13 it is called in the activity's onCreate Jul 16 14:01:27 if there is a saved state, that is Jul 16 14:02:35 is it called after setContentView ? Jul 16 14:02:45 Yes Jul 16 14:02:55 then the bug is that there is no fragment in your layout with the specified tag Jul 16 14:03:02 and the handler is not necessary Jul 16 14:03:43 How do you pass a button press intent from an activity held under a fragment which is under the main activity to another fragments activity. In other words. I have a fragment with its xml and an activity under that fragment with its own xml. Most callback examples I have seen explain only how to handle the first level. Jul 16 14:04:15 you have an activity under a fragment? Jul 16 14:04:26 what does that mean Jul 16 14:04:39 within I guess would be the best way to explain it Jul 16 14:04:47 no Jul 16 14:04:48 no you do not Jul 16 14:04:53 I have three fragments running on the same app screen Jul 16 14:05:05 show code and xml Jul 16 14:05:06 a tabhost fragment, that contains a mapactivity (with its own xml) Jul 16 14:05:13 Hmm... strange. Is my understanding right that after a orientation changed, the fragment that I put in my layout is automatically put back where it was (I use super.onCreate(state) and setContentView to the same fragment_container layout)? Because it seems to just work that way Jul 16 14:08:27 canadiancow - Here are the two xml files. http://pastebin.com/56SVis3m http://pastebin.com/GMyg8gPV Jul 16 14:08:51 The first is the mapfragment beginning, and the second is the actual mapactivity held within the fragment Jul 16 14:09:20 ugh tabhost Jul 16 14:09:28 I dont know any other way around it Jul 16 14:09:42 I would rather not use it, but since their is no mapfragmentactivity Jul 16 14:10:42 My issue is handling a callback of a button on the mapfragment activity all the way back to the main activity. I want to simulate a min/max button that can max the fragment with button pressed and min all other fragments Jul 16 14:10:54 Hi! Does anyone know proper intent for open "wifi settings" on _Kindle _Fire. Intent settings = new Intent(Settings.ACTION_WIFI_SETTINGS); doesn't work. Jul 16 14:11:01 I have seen plenty of examples of this from the fragment, but not an activity under the fragment Jul 16 14:12:21 not to mention that I am having a hard time seeing how to send an intent from that activity to another fragment Jul 16 14:13:23 Hi guys Jul 16 14:13:34 does anyone know how to create an object with the name of a string Jul 16 14:13:41 or create an object without defining the name Jul 16 14:13:58 look at refraction Jul 16 14:14:04 canadiancow - any ideas? Whether they be go a different route or if you know the best way to do this. Jul 16 14:14:38 ive got an idea Jul 16 14:14:39 1 sec Jul 16 14:17:49 Belacan, http://stackoverflow.com/questions/10470263/create-new-object-using-reflection Jul 16 14:18:10 cheers Jul 16 14:26:39 guys, ive got this code: TabSpec specs = th.newTabSpec("tag"+counter); specs.setContent(R.id.tab1); specs.setIndicator(i[1]); th.addTab(specs); is it possible to assign this new tabs as a variable, this is what i had: parent = (ViewGroup) findViewById(R.id.tab2); now that its dynamic is it still possible? Jul 16 14:28:12 how do i handle the home button to go back to the main view like it says in the dev spec? Jul 16 14:28:28 belacan, why do you need to name it? if you are accessing it just make a field with id that is assigned through constructor Jul 16 14:29:00 http://developer.android.com/design/patterns/navigation.html the part about navigating between sibling screens Jul 16 14:29:36 watcha mean? Jul 16 14:29:55 the tab? Jul 16 14:30:15 Well im not sure why i have to name it, i did it because thats what i did before making it dynamic Jul 16 14:30:16 oh earlier question Jul 16 14:30:23 ahh Jul 16 14:30:27 right Jul 16 14:30:33 and youre right about the previous question Jul 16 14:30:39 thats what i did :) Jul 16 14:31:22 The problem is i can no longer user findViewById because it is dynamically created Jul 16 14:31:38 how else can i assign the tab object to a variable 'parent' Jul 16 14:32:31 How I can understand that device is restarting/turning off? Jul 16 14:34:44 aight im gonna sleep on it Jul 16 14:35:00 thanks very much for all of your help, especially lasserix! nn everybody Jul 16 14:35:09 dream in code Jul 16 14:35:23 haha ill try not to Jul 16 14:35:49 how do i correctly use the action bar up button to go back to the home Jul 16 14:36:17 i have a custom layout, how do i get the gravity that's specified in teh layout? Jul 16 14:37:01 I've read, "I have a cumshot layout"... Jul 16 14:37:06 sorry. Jul 16 14:37:46 I try to make a bullet list with ListView and use it in my scrollable LinearLayout but it dont expand the List (I have to scroll the ListView). Here a screenshot: http://www.pic-upload.de/view-15149543/2012-07-16_16-28-42.jpg.html The Listview is under > Kontraindikation. This is my xml File: http://pastebin.com/pbZ0f2bh Jul 16 14:47:58 how i set Mediarecorder.setAudioSource to work on Samsung Galaxy S2 (Android 4.0.3).. i tried MediaRecorder.setAudioSource(MediaRecorder.AudioSource.VOICE_CALL); and it crashes program Jul 16 14:48:40 DMRC86: Usually voice audio is not routed through software Jul 16 14:49:32 p_l|backup, How i can route that to software? Jul 16 14:50:18 DMRC86: Usually you need to redo the PCB inside the phoe Jul 16 14:50:20 que la licorne invisible soit avec vous Jul 16 14:50:20 *phone Jul 16 14:50:35 tchuss Jul 16 14:51:01 p_l|backup, how is the recording programs in android market done which can record phone calls? Jul 16 14:51:53 DMRC86: some phones had firmware which allowed that, also there might be possibility that it would work on some phones by enabling normal microphone pickup Jul 16 14:52:35 Maybe in some new stuff it works - I do remember that a lot of phones have no *electrical* connection between audio and OS Jul 16 14:53:08 p_l|backup, hows the "Call recorder Galaxy S2 & S3" is done? Jul 16 14:53:25 oh man.. decoding the image from the camera callback preview works on all devices except our htc desire Jul 16 14:53:34 it seems there's a problem with the size of the preview.. Jul 16 14:54:55 at least the image looks like it uses the wrong size.. Jul 16 14:55:59 anybody implemented the 3d end of list effect ? Jul 16 14:56:39 how do i implement the home up button to go back to my main view and remember the select tab and what not? Jul 16 14:59:11 onBackPressed () -> i want to go to an Activity. anyone? Jul 16 14:59:56 with Intent ? as usual ? Jul 16 14:59:56 CallumTaylor: for the going back part: http://pastebin.com/JZxe2UQ1 Jul 16 15:00:24 yeah i did that but it doesn't remember tab positions because its 'starting' the activity from scratch rather than going back to it Jul 16 15:00:31 I'm going to try the example from the tutorial Jul 16 15:00:33 see if that works Jul 16 15:00:34 thanks anyway Jul 16 15:03:28 Let's say an activity creates a service, and binds to that service using AIDL stubs Jul 16 15:03:43 I understand that the activity can call functions in the service, but can the service send events back through the same mechanism? Jul 16 15:04:37 neilalexander: yes, if you register a callback Jul 16 15:04:46 unfortunately, I don't recall if there's any decent examples of AIDL callbacks on the webbertubes Jul 16 15:05:02 but if you look in the android source, the services all use them to bind callbacks from their frontends Jul 16 15:05:39 lov: Great, thanks Jul 16 15:11:32 DMRC86: get the APK, disassemble it, learn from it Jul 16 15:12:37 DMRC86: being able to record the in-call audio is generally considered not kosher, and isn't really supposed to be supported app-side. You'll have to figure out all the tricks yourself. Jul 16 15:13:11 Kopfgeldjaeger: clear_top doesn't remember the tab position, thoughts? Jul 16 15:13:16 and is often not connected to system logic at all, going through cellular modem Jul 16 15:14:10 CallumTaylor: I think as possibility would be to pass the tab position in the intent extras, but I don't know if there is a better way Jul 16 15:14:17 s/as/a/ Jul 16 15:14:28 hmm, might have to make a static int to remember it's position Jul 16 15:14:36 it's ugly, but it'll work... Jul 16 15:16:53 Kopfgeldjaeger: i think FLAG_ACTIVITY_REORDER_TO_FRONT worked... Jul 16 15:17:16 if a library project has a style defined, and you want to override just one attribute in that style, is it possible Jul 16 15:17:24 or do i need to copy the whole style and just change teh one attribute Jul 16 15:17:38 CallumTaylor: okay, nice Jul 16 15:18:52 canadiancow|work: doesn't the usual method work? I.e child style with overridden attribute? Jul 16 15:19:12 nah cause the lib project also references the style Jul 16 15:19:17 and i want to change it where the lib project uses it Jul 16 15:19:22 so i cant change the name of the style Jul 16 15:19:42 anyone have any recommendations for how to implement a gallery type widget where the views further from the center view get smaller and smaller in proportion to their distance from the center view? Jul 16 15:20:08 So you want the lib project to use your style instead canadiancow|work ? Jul 16 15:20:17 yep Jul 16 15:20:30 if i just copy the whole style block and change the attribute it wroks fine Jul 16 15:20:37 Ok, not aware of any obvious way to do this Jul 16 15:20:40 i may have to rethink how this was done in the lib project :) Jul 16 15:20:47 ok, the problem is that on htc desire the selected preview size must not be bigger than the surface view..\ Jul 16 15:20:59 on all other phones this works just fine.. Jul 16 15:21:13 but on htc desire the buffer passed into onPreviewFrame is corrupt in that case. Jul 16 15:22:08 the api docs do not say anything about such a requirement, thus i assume it's a bug in htc's android implementation Jul 16 15:24:17 Is it me or does lint not ignore stuff it's told to? Jul 16 15:24:36 I added some suppressLint tags but it still gave me the same messages Jul 16 15:26:47 Hello. Is there a way to call JSON-WSP? Jul 16 15:32:08 AlCapwn: lint is quite buggy since the last update Jul 16 15:41:24 Is there a shortcut in eclipse to import all missing widgets Jul 16 15:42:39 cmd + shift + o Jul 16 15:43:00 or ctrl if you're on a pc i guess Jul 16 15:44:07 hmm, and choosing a preview size that's smaller than the surface it's displayed on corrupts the preview on samsung galaxy.. Jul 16 15:45:46 this is turning into a world of pain pretty quickly Jul 16 15:48:28 I applied the default TabHost code to make this screen, https://dl.dropbox.com/u/19390574/SC20120714-192625.2.png Jul 16 15:49:09 http://pastebin.com/n77cEab9 Jul 16 15:49:14 why is the text touching the icons still?.. Jul 16 15:49:29 it's fine when it's applied in Activities like that of Android's Task Manager Jul 16 15:51:35 is THIS done using TabHost? https://dl.dropbox.com/u/19390574/taskManager.png Jul 16 15:52:49 seems like there is more room there for the tabs, they are scrollable and there's also 5 of them; my 5 are pushed together Jul 16 15:53:13 * Sicp summons SimonVT Jul 16 15:53:31 is there a broadcast for change in battery level (ie. percentage) or just a broadcast for battery-related events like "low battery warning" ? Jul 16 15:55:11 Sicp, it is Jul 16 15:55:13 probably Jul 16 15:55:19 oh Jul 16 15:55:24 scrollable eh? Jul 16 15:55:27 use an actionbar :P Jul 16 15:55:30 http://abs.io Jul 16 15:56:38 actionbar.. Jul 16 15:56:39 hmm Jul 16 15:57:30 it's the same, look at the two scrots Jul 16 15:57:33 it's definitely TabHost Jul 16 15:57:38 but there's some parameter, I will look Jul 16 15:57:40 I try to build a bullet list in a scrollable LinearLayout, i tried it with listview but that doesnt work: http://stackoverflow.com/questions/11506951/bullet-list-or-similar-to-in-a-linear-view-between-textviews/11507065#11507065 some sugesstions? Jul 16 15:57:57 Well, it has to be said. I am not really sure how AIDL callbacks work at all Jul 16 15:58:40 you..don't work with AIDL Jul 16 15:58:56 Sicp: ? Jul 16 15:59:15 you just generate the file as I've seen many times in my own project Jul 16 15:59:45 *confused* Jul 16 15:59:52 there's one for the communicationInterface, one for the Notification Service Jul 16 16:00:01 both have abstract functions Jul 16 16:00:35 the calls are inside when you implement the functions that are abstract Jul 16 16:01:34 an Interface Jul 16 16:02:04 see this, canadiancow|work https://github.com/honcheng/ScrollableTabHost-for-Android Jul 16 16:02:30 thats 3 years old Jul 16 16:02:35 go with the actionbar Jul 16 16:02:36 :) Jul 16 16:03:01 I never read dates on such pages... Jul 16 16:03:08 I should start Jul 16 16:11:44 ActionBar is not what I need, http://developer.android.com/guide/topics/ui/actionbar.html Jul 16 16:12:24 that is not like this, https://dl.dropbox.com/u/19390574/taskManager.png Jul 16 16:12:32 you dont want 1) to look like good apps, and 2) to have good tabs? Jul 16 16:12:47 http://developer.android.com/images/ui/actionbar-stacked.png Jul 16 16:13:09 but that's not what I want, I want to be able to have the icons and have the text below them Jul 16 16:13:49 you can set icons in the tabs in an actionbar Jul 16 16:14:40 but it's not in the picutre! Jul 16 16:14:52 +1 Jul 16 16:17:23 Action bar tabs look nothing like the ones in the picture, because the ones in the picture is fugly Jul 16 16:19:46 but Jul 16 16:20:30 ok so I'm not going to keep implementing TabHost, but there is no way to make it scroll? just out of curiousity Jul 16 16:20:57 how much can you earn from Admob? Jul 16 16:21:32 Sicp: which part do you want to make scroll? Jul 16 16:21:43 the tabs themselves, like in 2.2's Task Manager Jul 16 16:22:02 they're crammed in, here, https://dl.dropbox.com/u/19390574/SC20120714-192625.2.png Jul 16 16:22:08 can anyone share some exp? Jul 16 16:22:12 mobilegamelabs: how many ad clicks do you expect to have? Jul 16 16:22:31 how much can you earn from starting your own business? Jul 16 16:22:36 Leeds: i think 1000 impressions and CTR is normally 0.3%? Jul 16 16:22:45 in the Task Manager, there are also 5 tabs but there's room for 4, comfortably, and the 5th appears when you scroll Jul 16 16:22:57 wongk: it varies Jul 16 16:23:19 well, I can tell you my CTR is 1.75% Jul 16 16:23:23 i supose it would Jul 16 16:23:58 that's on something around 1000 impressions per day Jul 16 16:24:46 Hi everyone, should I install all Android SDK APIs if I want to develop as many platforms as possible? Or what I need is the highest version ONLY? Thanks a lot. Jul 16 16:25:11 fish47: all on which you plan to test Jul 16 16:25:33 at least, using the emulator Jul 16 16:27:27 Leeds: i did some web site and my CTR was 0.3% Jul 16 16:27:31 can i use startActivityForResult in a BaseExpandableListAdapter? Jul 16 16:27:37 and CPC was USD0.1 Jul 16 16:27:44 so i can update the List Jul 16 16:27:46 Hrm. What do you call the uhh... the thing in the phone that vibrates? Jul 16 16:27:50 mobilegamelabs: check your PM... Jul 16 16:27:50 Surely not a vibrator. Jul 16 16:27:52 rking: the vibrator? Jul 16 16:28:02 And people don't blush? Jul 16 16:28:08 adults don't... Jul 16 16:28:14 Leeds: PM? Jul 16 16:28:21 mobilegamelabs: private message Jul 16 16:28:37 K. =) Jul 16 16:29:32 you could also call it a buzzer or something if you're 12 :P Jul 16 16:29:40 or is that not possible Jul 16 16:32:26 anybody know of someone that pulled off a "two-sided" dialog with a side-scrollable 3d flip animation? Jul 16 16:37:35 I have three activities, A (main), B, and C. A launches B and B launches C. I want to use android:alwaysRetainTaskState so that when the user presses the home button and then relaunches the application it will return to their current position in the stack but I always get A when relaunch. Any ideas? Jul 16 16:42:52 what is the quivalent for images like getString() for strings ? Jul 16 16:42:59 equivalent** Jul 16 16:44:43 csst0111: ... what? Jul 16 16:44:51 Noone an idea how to call JSON-WSP? Jul 16 16:45:23 Ans I mean without parsing the description file myself. Jul 16 16:45:36 evancharlton, get an image from drawable folder Jul 16 16:45:48 TachyonDev2: I'm sure it exists, and I'm sure it'd be neat to do. Go write it yourself! Jul 16 16:46:02 yup Jul 16 16:46:09 csst0111: http://developer.android.com/reference/android/content/res/Resources.html#getDrawable(int) Jul 16 16:46:23 thank you Jul 16 16:47:09 lolwut Jul 16 16:47:23 evancharlton saves the day Jul 16 16:49:33 Hey fellas. Jul 16 16:51:29 I am using ActionBarSherlock, but unfortunately the light theme has the same bug as android's light theme: dropDownItem and autoCompleteTextView have white font on white background. Before I used ABS I used a simple theme that just extended Theme.Light and hat items for these two offenders. I changed it to extend Theme.Sherlock.Light.DarkActionBar.ForceOverflow, but ABS doesn't allow me to use this. Why? Doesn't my theme fall under the "or a deriva Jul 16 16:51:29 tive" part of the ABS error message? Jul 16 16:52:44 meh! It is just me, or everytime I publish an app Im getting spammed with "please help us advertise Indie apps" emails? Jul 16 16:53:14 Never mind, project clean fixed this. Jul 16 16:53:46 Oh, you released an app? Can you advertise my indie apps then? Jul 16 16:54:49 The_Fred, yea Jul 16 16:54:51 looking for partners to do marketing stuff on youtube, forums, etc for my next game with a revenue share model. contact: http://www.MGGGGG.com/contact Jul 16 16:54:54 i click the report spam button every time Jul 16 16:55:04 oh hey Jul 16 16:55:05 look at that Jul 16 16:55:07 +1 Jul 16 16:55:11 was just about to summon one of you :) Jul 16 16:55:20 heh Jul 16 16:55:36 hay everyone come build my app for me plz and i'll give u 5% email me at wont_steal_ur_moniez@example.com Jul 16 16:55:53 email aliases to send_me_the_codes@gmail.com Jul 16 16:56:57 Sure, just send your idea to iwontstealyouridea@example.com Jul 16 16:57:05 Its not just the spam direct to me, its creeping into the mailing lists too Jul 16 16:57:59 I must have ticked someone off, the support site for my newest app was DDoS'd during the weekend Jul 16 16:58:07 wow. Jul 16 16:58:20 * The_Fred thanks the mantra of backup...backup..backup Jul 16 16:59:17 ddos your competitors Jul 16 16:59:20 then you control the market! Jul 16 17:01:22 yea, thats tempting... but i think I'll just set up site mirrors and let them incriminate themselve Jul 16 17:01:42 Patent your application Jul 16 17:01:51 cant - not in the UK Jul 16 17:01:51 then sue everyone Jul 16 17:02:11 doesn't matter Jul 16 17:02:18 just patent double-tapping in the US Jul 16 17:02:22 wait for the patent office to grant it Jul 16 17:02:30 then sue a bunch of mid-sized devs who can't fight back Jul 16 17:02:31 heh Jul 16 17:02:35 profit! Jul 16 17:02:40 (but at what price?) Jul 16 17:03:03 lov: Well Apple already have a patent on patenting broad patents. Jul 16 17:03:07 nah - id sooner lead by innovation rather than exterminate with litigation Jul 16 17:03:15 danharibo: oh shi Jul 16 17:03:21 Hello, I am trying to make a media player that can play rtmp stream, but can't find enough info about it, please help me? Jul 16 17:03:54 torniker, what do you know so far about rtmp? Jul 16 17:04:48 sounds like your up against a codec issue... Jul 16 17:05:01 I know that android doesn't have native support of it. so maybe there is some library that can read that kind of protocol Jul 16 17:06:28 There is a lot about rtmp, you will have to persist with research so you can write your codec Jul 16 17:08:35 Am I bored enough of the iOS version to start on the Android version, #android-dev? Jul 16 17:09:01 Estel: Yes Jul 16 17:09:48 torniker, please dont pm me - if you have a question please ask it here Jul 16 17:10:10 minSdkVersion=15 it is, then Jul 16 17:10:35 wat Jul 16 17:10:58 you're eliminating like 90% of the market with that Jul 16 17:11:44 The_Fred, sorry, but I know what rtmp is, I need to play live video through it, I have found this http://code.google.com/p/android-rtmp-client/, but not sure how to us it or is it what i need Jul 16 17:12:11 canadiancow|work: tbh I was lying. Wish I could though >_> Jul 16 17:12:12 not impressed... it takes much less to use StringBuilder to spool up output, rather than pushing it to OutputStreamWriter immediately Jul 16 17:12:23 Estel: What exactly are you working on? Jul 16 17:12:32 wtf OutputStreamWriter is for if it cannot buffer properly .... Jul 16 17:13:14 A general purpose, low-traction, public facing app. Jul 16 17:13:20 it says OutputStreamWriter has 8k buffer but with 10min work I can halve the cpu usage of it Jul 16 17:13:43 A helpful and informative answer to an otherwise straight-forward question, I guess Jul 16 17:13:59 xD Jul 16 17:14:28 torniker, read the docs - first get a working example running on desktop, then modify it for your app Jul 16 17:14:43 It's difficult to abstract specifics! Jul 16 17:15:22 my 7 got delayed :( Jul 16 17:15:39 what do you mean? Jul 16 17:15:40 Well, now that weird Actionbar Sherlock error is back, it complains about my theme, but my theme has parent="Theme.Sherlock.Light.DarkActionBar.ForceOverflow" so why does it complain? And why did it work a moment ago? Jul 16 17:15:58 birbeck: or better quesiton: how do you know? Jul 16 17:16:05 i ordered a 16GB but have heard nothing Jul 16 17:16:13 i have a tracking number Jul 16 17:16:15 oh Jul 16 17:16:16 When it complained 20 minutes ago, a project->clean fixed it, but not this time. What is this? Jul 16 17:16:18 lucky Jul 16 17:16:25 stores up here are getting them the 23rd Jul 16 17:16:27 its 2 day shipping Jul 16 17:16:32 and shipping was $20 Jul 16 17:16:39 was supposed to be here today, but now its scheduled for tomorrow night Jul 16 17:16:39 so if it doesnt ship by like wednesday, im probably going to cancel the order Jul 16 17:16:45 Maybe it's time to make JakeWharton 's IRC-Client beep. Jul 16 17:16:59 yeah, stores here are already sold out Jul 16 17:17:04 /ignore UnbertKant Jul 16 17:17:21 The_Fred, ok but is there any easier way? like already working example to modify for my app :) ? Jul 16 17:17:21 Too busy? :/ Jul 16 17:17:59 torniker, the short answer is NO. The only way your going to get this done is with work and effort - its the same for everyone else here. Jul 16 17:18:01 Alright, guess I'll have to invest more time in this theme problem first... Jul 16 17:18:45 torniker: #android-dev is not your own personal google.com. Why don't you do a search for "rtmp android", or look on stackoverflow or googlecode or something Jul 16 17:19:09 torniker, if you take that short-cut you'll not only run into problems you wont understand, but you will also rob yourself of the knowledge gained by learning about it Jul 16 17:19:17 what I have to give to bindAppWidgetId so it can bind the widget Jul 16 17:19:17 if you do a search for "rtmp android", the #5 result for me is a library. Jul 16 17:19:35 this seems like a much more effective solution than bugging randos Jul 16 17:20:00 I am always getting IllegalArgumentException saying this is not a provider Jul 16 17:20:51 The_Fred, thank you Jul 16 17:21:12 torniker, ok, but take on board what lov said.. Jul 16 17:22:44 The_Fred, I have tryed to google, I will try more Jul 16 17:22:47 Maybe a silly question but I'm using the holo light theme which normally has a grey divider and I wanted to remove my home icon from the action so I made a custom Widget.Holo.Light.ActionBar that does that but problem is divider reverted back to blue from the dark theme. How can I get the grey one back? Jul 16 17:22:50 birbeck i just cancelled my order Jul 16 17:22:53 i'll pick one up locally Jul 16 17:23:11 everytime i'm trying to take a picture via an intent when I return to the onActivityResult I get NULL when i'm trying to get the URI from the data. Jul 16 17:23:20 data.getData returns null Jul 16 17:28:11 I use the actionbar for navigation ( dropdown ), when I pick an option and my activity changes it changes straight back to the first option in there, probably something stupid but any clues? Jul 16 17:28:32 i used the setSelectedNavigationItem(pos) but that doesnt help.. Jul 16 17:38:03 canadiancow|work: good luck Jul 16 17:38:05 Howdy. v4 support library. I'm having issues with getLoaderManager().initLoader(0, null, this);, initLoader isn't working, this is the error The method initLoader(int, Bundle, LoaderManager.LoaderCallbacks) in the type LoaderManager is not applicable for the arguments (int, null, collectionList). getSupportLoaderManager is the method of fixing that that I've found, but it's not an available option as far as I can find, it Jul 16 17:40:33 Forget I asked. I'm dumb and apparently hadn't converted from list activity to list fragment. Jul 16 17:40:36 Cheers! Jul 16 17:42:11 JakeWharton you here ? Jul 16 17:42:20 somewhat Jul 16 17:42:31 ok my actionbarsherlock action bar action icons Jul 16 17:42:48 they end up really big - as big as the action bar... aren't they supposed to be sized down automagically ? Jul 16 17:43:08 (using stock Android iconery from that ICS pack and cheatsheet they released a few months ago) Jul 16 17:44:46 Chainfire, same issue here :) Jul 16 17:47:05 JakeWharton> http://www.jongma.org/tmp/android/supersu-icons-big.png .... any idea ? Jul 16 17:47:41 what size is the icon? Jul 16 17:48:23 its an original non-scaled, 64x64 Jul 16 17:48:44 in HDPI then? Jul 16 17:48:54 just in drawable Jul 16 17:49:01 not drawable-.... Jul 16 17:49:22 shouldn't that not matter for the rendering, though ? Jul 16 17:49:56 looks like I need to first learn how to deploy an app to my phone from the web Jul 16 17:50:20 I'm not able to get phone drivers setup Jul 16 17:50:25 for usb connections Jul 16 17:51:28 I wonder if android phone app deployment is similar to java web start Jul 16 17:52:25 Chainfire: There's 4dp of padding around an action item drawable. If you're not providing scaled icons the system is going to scale them up to be quite large. Jul 16 17:54:30 I use the actionbar for navigation ( dropdown ), when I pick an option and my activity changes it changes straight back to the first option in there, probably something stupid but any clues? Jul 16 17:57:17 JakeWharton ah doh... it seems all the icons in the pack have padding, except the ones I used :X replaced with the correct icons and works as expected. Jul 16 17:58:47 Chainfire, is that a custom view on top? Jul 16 17:58:58 or just regular actionbar with menu option refresh Jul 16 17:59:08 regular Jul 16 17:59:10 if the first, how did you get it clickable? Jul 16 17:59:13 oh... ok Jul 16 18:02:45 hello all Jul 16 18:03:17 i have a little question. Is there an easy way to count the number of tupels in my shared preferences beside retrieving all and counting ??? Jul 16 18:07:38 how i should save to database at onSaveInstanceState? if i just do it on main thread it against strict mode Jul 16 18:08:11 and when its called, activity will finish, so async task not good Jul 16 18:08:23 So far I have found two bugs in the 2.3 emulator. (first one is regarding location updates, and the second is regarding multipart text message). Do all the emulators have large bugs like this? Jul 16 18:13:07 Ughh... Android 3.0 doesn't connect to DDMS correctly in eclipse so I can't send it location updates? Jul 16 18:13:32 did anyone get iAd work on android? Jul 16 18:13:52 deadmund do the location updates manually via the shell Jul 16 18:14:21 Pinas: I'm trying the 'emulator control' window in eclipse first Jul 16 18:14:37 never tried it - telnet works fine for me Jul 16 18:16:40 It's working fine on a second try for some reason. Jul 16 18:17:27 The android 3.0 emulator assumes I have a resolution similar to a tablet. How can I change this so it's the size of a phone? I am actually writing an app for 2.3 and using the 3.0 emulator just to test it. Jul 16 18:18:24 if i published an app for the first time and realized i made a mistake to the code and them republished a fix before it was approved would it cause my app not to be reviewed or what ? Jul 16 18:18:27 There are no 3.0 phones Jul 16 18:19:03 deadmund, Android 3.0 was never meant for phones Jul 16 18:19:36 Mavrik: what about 3.x > 3.0 or 4.x ? Jul 16 18:19:55 deadmund, is there a reason why you're not testing your 2.3 app on 2.3? Jul 16 18:20:16 4.0 was the next Android after 2.3 to be deployed to phones Jul 16 18:20:19 Mavrik: There are two big bugs in the 2.3 emulator that my app cannot work around Jul 16 18:20:28 huh. Jul 16 18:20:37 Mavrik: so I can theoretically use 4.0 Jul 16 18:21:27 although, everything else is working fine on 3.0 right now. It's just the resolution is much different... Jul 16 18:22:55 deadmund: you're not testing on 2.3 unless your testing on 2.3 Jul 16 18:23:06 and if you support 2.3, you need to test on it Jul 16 18:23:28 Can I ask a question? I am doing some experimenting with Building images on my Galaxy Nexus from ASOP. Jul 16 18:23:32 yeah, I guess I'll have to use my physical 2.3 device Jul 16 18:23:40 Is there documentation as to how the build process works, or how someone has automated it? Jul 16 18:23:55 anyone used cubemap texture in opengles 2.0 on android? Jul 16 18:25:11 deadmund: what bugs in the 2.3 emulator? Jul 16 18:25:24 trkemist: what GNexus do you have? Jul 16 18:25:51 mdwright: The first is if you send a multipart message longer than 3 messages the receiver gets garbled nonsense text. The second is location updates crash the emulator Jul 16 18:25:59 trkemist: the build is documented here: http://s.android.com/source/building.html Jul 16 18:26:28 alternatively, read the docs in build/, but I don't recommend that :) Jul 16 18:26:50 trkemist: having said all that, #android-root might be more helpful, this is really for application developers Jul 16 18:31:14 how do you guys store your application secrets? Jul 16 18:34:08 deadmund: is the second bug you're running into http://code.google.com/p/android/issues/detail?id=19857 Jul 16 18:34:11 ? Jul 16 18:35:34 mdwright: I believe so. It takes a few minutes to replicate and I don't remember if there was a stack trace at the crash so I can't say the exception was the same. Jul 16 18:38:13 mdwright: why? Jul 16 18:41:36 deadmund: Just making sure the bugs are filed so we can look at them Jul 16 18:41:56 mdwright: ahh, thank you! :) Jul 16 18:42:41 Sure thing :) I promise, we look at the external tracker even if we aren't always commenting and updating Jul 16 18:42:46 the multipart text one is very important too. http://code.google.com/p/android/issues/detail?id=13737 Jul 16 18:43:52 anyone here developing android apps on eclipse? I have a problem with the new package, so that i get an xml parse exception even with freshly created projects. Jul 16 18:43:56 Has someone else run into this problem and maybe found a fix Jul 16 18:43:58 was just looking for that Jul 16 18:44:19 supasnashbuhl: are you using the latest tools? Jul 16 18:44:35 hey I purchased an android developer registration but when I clicked purchase it says go here https://play.google.com/apps/publish to complete registration and it shows the page to purchase the registration again. I went through the process twice in case it was some sort of bug but nothing. I was charged twice and google has not yet contacted me back about this. Jul 16 18:44:45 i think so. I'm running arch, so usually everything is pretty much up to date Jul 16 18:44:52 is there anyone here that might be able to help me? Jul 16 18:44:54 i just did a full system update. Jul 16 18:46:05 Brewster: it was some sort of bug. I don't know who you should contact about this. Jul 16 18:46:07 Hey guys! Can I set a src on an ImageView dynamically? For example, /assets/weather/rainy.png when I have the string `rainy` ? Jul 16 18:46:16 :( Jul 16 18:46:36 WeeJeWel: yes, the Resources class allows you to specify things by name. That said, it's probably not the best idea. Jul 16 18:46:44 that entire page seems to be messed up Jul 16 18:46:49 lov: how would I do that? Jul 16 18:47:05 I was actually charged 3 times but the first one went away Jul 16 18:47:47 is there a way to use displaylink screens with android? Jul 16 18:48:44 WeeJeWel: getAssets() may be? Jul 16 18:49:53 vandenoever: What is link screens ? Jul 16 18:50:11 napster: displaylink Jul 16 18:50:25 http://en.wikipedia.org/wiki/Displaylink Jul 16 18:54:02 hey guys so when i'm using the android sdk manager but old sdks aren't showing up. any ideas? Jul 16 18:54:15 actually, no sdks besides the ones i already have installed Jul 16 18:56:24 I have no errors or warnings in any of my android code. When I try to run java crashes. It claims to have reached 'shouldNotReachHere()' in classFileParser.cpp:3494). What is going on here? Jul 16 18:56:31 WeeJeWel: 14:47:37 -!- vandenoever [~oever@kde/vandenoever] has joined #android-dev Jul 16 18:56:34 argh Jul 16 18:56:35 http://developer.android.com/reference/android/content/res/Resources.html#getIdentifier(java.lang.String, java.lang.String, java.lang.String) Jul 16 18:56:39 use that Jul 16 18:57:12 if you have trouble with it, too bad, look on stackoverflow. The method is unforgiving and I am not going to help you when it doesn't work because you made a typo. Jul 16 18:57:17 is a java android app in a sandbox? Jul 16 18:57:34 caverdude: effectively Jul 16 18:57:43 it depends on what you mean by "sandbox" Jul 16 18:57:52 if you give the app permissions to do things, it can affect the filesystem, etc. Jul 16 18:57:59 like applets and webstart? except android app gets some filesystem space? Jul 16 18:58:09 only somewhat the same. Jul 16 18:58:14 ok so it has a java poicy file then? Jul 16 18:58:18 no. Jul 16 18:58:22 ok Jul 16 18:58:33 caverdude: http://developer.android.com/guide/topics/security/permissions.html Jul 16 18:58:36 read that Jul 16 18:58:41 ok Jul 16 18:59:00 Anyone in here familiar with using commands and passing information between multiple fragments that is willing to help. I am having an issue using a setText command I made in one fragment from within another fragment using getFragmentManager()?? Jul 16 18:59:06 tl;dr android apps can do just about anything so long as they're given the appropriate permissions. Jul 16 18:59:13 ok Jul 16 18:59:18 also, Android Is Not Java Jul 16 18:59:31 in particular, Android is not J2EE, nor is it Swing. Jul 16 18:59:33 well, I am talking in the context of java andoird apps Jul 16 18:59:42 I understand Jul 16 18:59:50 but the API is different Jul 16 18:59:54 ok Jul 16 18:59:56 the Android APIs use a subset of J2SE Jul 16 19:00:02 and DO NOT behave the same way that desktop java does Jul 16 19:00:09 hmm Jul 16 19:00:11 at least, not for their lifecycles, etc Jul 16 19:00:23 can someone help me understand app widgets a little better. i would like a widget that displays a label and a progress bar representing battery level. i'm not sure about all the piece and parts I need to make it function. Jul 16 19:00:23 Android is not desktop java, and you should not come at it assuming that it is. Jul 16 19:00:24 so by default they don't use swing objects? Jul 16 19:00:27 correct. Jul 16 19:00:48 caverdude: start here, actually: http://developer.android.com/guide/components/fundamentals.html Jul 16 19:00:57 this helps explain what android is and is not Jul 16 19:01:09 I still haven't delved into the actionbar.. Jul 16 19:01:15 I currently have a MapActivity embedded into a fragment through the tabhost method. I have another fragment (detailFragment) with a text box and a setText function. I attempt to use the getFragmentManager through the MapActivity but it has an issue and crashes. Jul 16 19:01:33 Aicasn, a widgit is simply a gui component Jul 16 19:01:39 (continued) i think i need two receivers...one AppWidgetProvider to handle onUpdate() for the widget, and one BroadcastReciever instantiated to grab ACTION_BATTERY_CHANGED notifications. is that correct? Jul 16 19:01:45 lov, can I make this Tabbed layout ( https://dl.dropbox.com/u/19390574/myProject.png ) scroll like this one ( https://dl.dropbox.com/u/19390574/taskManager.png ) ? Jul 16 19:02:00 I am following a few tutorials on this matter, however, the major difference is that the FragmentManager is used within the Fragment class, not an Activity class that is under the Fragment Class Jul 16 19:02:04 caverdude: wrong. Jul 16 19:02:20 lov really? ok well must be android Widget classes then Jul 16 19:02:28 caverdude: UI widgets are gui components. homescreen widgets are a complicated beast. Jul 16 19:02:41 caverdude: I VERY STRONGLY recommend that you read up on android fundamentals before giving others advice. Jul 16 19:02:50 ok Jul 16 19:02:52 it's a jvm but not as you know it. Jul 16 19:02:54 Anyone familiar with this or able to discuss the path of commands with me? Jul 16 19:03:54 Sicp: use a ViewPager instead of Tabs Jul 16 19:04:09 isn't the TaskManager done with tabs? Jul 16 19:04:13 it..looks exactly the same Jul 16 19:04:49 Sicp: that's SAMSUNG's task manager. Jul 16 19:04:52 I have no fucking clue how they do it Jul 16 19:04:55 hmm Jul 16 19:05:12 alright then Jul 16 19:05:24 i've been reading the android developer reference. i'm good with activities. i understand what services and broadcast receivers are for. i just can't wrap my head around how they fit together to make the kind of widget i want Jul 16 19:05:57 Aicasn: it's been a while since I did widgets, but I believe that you're correct. Jul 16 19:07:04 here's where i'm at: i need a receiver to grab the battery messages then update the layout UI with each message. i'm not sure what the AppWidgetProvider should be doing. maybe i don't need it to do anything?? Jul 16 19:07:44 if that's true, where and when does the battery's broadcast receiver get created? Jul 16 19:08:16 Aicasn: whenever you receive the battery change broadcast, you should have your AppWidgetProvider call its onUpdate method, probably. Jul 16 19:09:12 I BELIEVE you can just send an explicit http://developer.android.com/reference/android/appwidget/AppWidgetManager.html#ACTION_APPWIDGET_UPDATE intent to your receiver when your battery receiver is called. Jul 16 19:09:44 if that's not working, sorry, it's been a while :P Jul 16 19:10:56 What is the correct way to communicate between fragments: callbacks, intents, direct control with FragmentManager? Jul 16 19:11:57 lov: okay bro. thanks Jul 16 19:12:20 when I click setup google merchant account when publishing an app to google play, can I use my own name (first and last name) as the business name? Jul 16 19:15:46 So I am building for the first time android from ASOP Jul 16 19:16:13 now when I have downloaded android in the past using pre-built binaries, it usually comes with radio.img and bootloader.img. This is not available for me? Jul 16 19:16:22 I mean when Ibuild from source its not part of the output? Jul 16 19:17:57 anyone have any ideas on the Fragments questions? Jul 16 19:20:19 I'm having a real hard time seeing how to communicate from one Fragment to another? Jul 16 19:21:10 epsilonorion, whatcha trying to do? Jul 16 19:21:20 luv: two more questions... 1) where does the receiver for the battery get created? i'm totally thrown not having a primary activity to instantiate the pieces from. 2) when the explicit intent to update is sent, how is the new battery value passed? there doesn't seem to be a way to do that (see http://developer.android.com/reference/android/appwidget/AppWidgetProvider.html#onUpdate(android.content.Context, android.appwidget.AppWidgetManager, Jul 16 19:21:20 int[]) ) Jul 16 19:22:10 luxurymode, I have multiple fragments split on a single screen. A map fragment (through the tabhost mehtod described on various sites), a detail fragment, and a video fragment. All work separately, but it is time to start playing with communication between each Jul 16 19:22:18 Bryan__K: sure, I did. Jul 16 19:22:41 trkemist: #android-root might be more helpful Jul 16 19:22:55 I am currently trying to send a waypoint created from map fragment to the detail fragment. For baby steps, I was just trying to change the text box when a button is pressed on the map fragment, but this doesnt work. Jul 16 19:23:32 locv, thanks! Jul 16 19:23:38 ***lov Jul 16 19:23:49 mdwright: That bug (about the multiple txt messages) exists on all the various platforms. Not just the 2.3 emulator. Jul 16 19:23:53 epsilonorion: you might want to try an event bus to coordinate communication across fragments Jul 16 19:24:05 The map fragment is a map activity under a map fragment. This means that I am on the 3rd level down from the Main Activity. The detail fragment is by itself (so only 2nd level). I attempted using getFragmentManager to grab the DetailFragment (as detailed in tutorials), but it fails Jul 16 19:24:23 look at JakeWharton, plugging Otto :P Jul 16 19:24:28 well, in your activity that hosts the fragment, or even inside of a fragment really. you can find a fragment by its tag or id, cast it to the fragment you know it to be and call whatever methods on it you want. e.g getSupportFragmentManage().findFragmentByTag("myAwesomeFrag").doSomethingAmazing(); Jul 16 19:24:34 ps i just dropped Otto into a project i'm working on currently, it is excellent Jul 16 19:24:46 but that idea might be ridiculous depending on what you're doing exactly Jul 16 19:24:46 JakeWharton: ok, event bus. I haven't heard that one yet. Have only seen fragmentManger, intents, and callbacks Jul 16 19:25:03 anyone know of table-generating APIs for Android? looking for something to display spreadsheet data easily.. Jul 16 19:25:03 luxurymode, I am trying that Jul 16 19:25:15 Currently, I have DetailFragment fragment = (DetailFragment) getFragmentManager() .findFragmentById(R.id.details1); Jul 16 19:25:24 epsilonorion: use http://square.github.com/otto/ Jul 16 19:25:35 then simply after that fragment.setText("Test") Jul 16 19:25:45 sorry, not "use" but look into Jul 16 19:25:45 with the semicolon of course Jul 16 19:25:47 then fails Jul 16 19:26:14 I will read about it as we talk, thanks Rockmaninoff Jul 16 19:26:27 lov (or anyone who knows), do you happen to know if I can use a debit card rather than a credit card for the "How do you want to provide your credit information?" section? Jul 16 19:26:28 in general, fragments should not know about other fragments Jul 16 19:26:57 I agree, which is what I have seen at certain places, however most tutorials only show the getFragmentManger from within a fragment Jul 16 19:27:27 FragmentActivity* ? Jul 16 19:27:28 Bryan__K: I would assume that a debit card is fine but I have no idea. Jul 16 19:27:31 I tried to see how to handle the intent or callback method, but most of those only show how to go from fragment -> main activity, and not fragmentActivity -> fragment -> mainactivity Jul 16 19:27:45 yeah, what JakeWharton said, which is why i said it might not make any sense. you should just think about fragments as views essentially. that's all they are. just some complicated stuff to hide and show views.. Jul 16 19:27:49 ok well I'll try it and see if anything happens =p Jul 16 19:29:03 luxurymode, I agree. I am trying to handle the views concept, but I can't seem to see how to pass data to the MainActivity, so it can pass it down to the other Activities. Specifically, generate a waypoint from a layer of a MapActivity, which is within a fragment. Pass that waypoint all the way up to the Main Activity, and then down to the DetailFragment Jul 16 19:29:36 other activities? Jul 16 19:29:38 Honestly, once I hit this idea, I feel like I will be rolling, but I can't seem to see how to pass messages from one side to the other (and back) Jul 16 19:29:45 presumably these fragments are all in the same activity Jul 16 19:29:57 if you're asking how to pass data between activities, thats a different questin Jul 16 19:30:03 luxurymode, fragmentActivities, sorry Jul 16 19:30:06 that fact that you say map activity is inside a fragment makes me very nervous Jul 16 19:30:15 fragmentactivities, same thing Jul 16 19:30:19 JakeWharton, lol. Jul 16 19:30:23 I understand Jul 16 19:31:03 Let me backtrack. I am making an app for a very good reason (I work on robots). We have a split screen. Map on left, Detail/List on right with a video feed underneath. Jul 16 19:31:42 I am working on sending a waypoint generated from the map to a list fragment for the time being (more to come). Jul 16 19:31:43 I'm sure most people make apps for good reasons :p Jul 16 19:31:49 SimonVT, lol Jul 16 19:32:58 The MapActivity, from what I have found, is best suited inside a fragment in this case. Since it is not inherently made to be this way, I had to find some solutions described on line where a tabhost fragment is used to allow the MapActivity to work Jul 16 19:33:35 If fragments is not the way to go, I can go with another method, but it seemed this was best. Jul 16 19:34:03 You should probably copy FragmentActivity, change it to extend MapActivity, then do map stuff Jul 16 19:34:24 Except, extend MapActivity does not work under a fragment Jul 16 19:34:30 Is the appropriate place to ask some very very basic questions? If not, I would love to be pointed to the proper forum/irc Jul 16 19:35:44 is there an easy possibility to check if an app uses a port ??? Jul 16 19:36:05 well, here goes: Jul 16 19:36:21 extending mapactivity should solve the issue of nested activities Jul 16 19:36:55 yo dawg i heard you like activities Jul 16 19:37:12 SimonVT, well, I am extending MapActivity in the MapFragmentActivity Jul 16 19:37:14 sorry Jul 16 19:38:21 honestly, i would just make FragmentActivity extend MapActivity Jul 16 19:38:23 SimonVT, MapFragment generates a tabhost, where the view of the tabhost is the map generated by MapFragmentActivity Jul 16 19:38:24 Then why are you nesting it within another activity Jul 16 19:38:27 s/would// Jul 16 19:39:04 one second Jul 16 19:39:38 I am new to java and android dev. I have coded in python before, so I am familiar with the structure of programming, but still otherwise a newbie. The game I want to develop requires no physics, or even moving models. Simply 2d animation. The user will be presented with buttons A B and C. The button he chooses will execute a script that will render animations on the screen. These animations will be chosen by an algorith Jul 16 19:39:48 So, yeah. It's scripted triggered animation. Jul 16 19:39:57 is there a way to limit the number of characters a TextView displays? For example, say a TextView is set to display a string "Hello everybody". I only want it to display 5 characters and "...", so it would only show "Hello...". Jul 16 19:41:10 I know nothing. Where do I begin learning about the structure of android dev, and how to use spritesheets to render animation. It is a simple concept: the complexity lies in the scripting that evaluates current game conditions and renders animations based on those. Jul 16 19:41:40 does someone know, why opengl es 1.1 rendering not work son android 4? Jul 16 19:42:43 SimonVT, luxurymode, JakeWharton, Pastebin of the fragment, activity under fragment and their xml files Jul 16 19:42:52 Thanks in advance, I know newbie questions can be frustrating. Jul 16 19:43:03 pastebins are nice…yup Jul 16 19:44:01 SimonVT, luxurymode, JakeWharton, http://pastebin.com/P2fcbXuL http://pastebin.com/ http://pastebin.com/P9VnsGXi http://pastebin.com/LeL0LH3s Jul 16 19:44:11 le sigh Jul 16 19:44:15 second one should be http://pastebin.com/h8nyuFWH Jul 16 19:44:44 Can I create a -pre-compile targe within custom_rules.xml, to independently build+test+copy a library jar file for my android app? Jul 16 19:45:25 I'd like to keep the library source close to the main source; but continue to use its test-cases and so on independently Jul 16 19:45:52 epsilonorion, lordy lord. we cannot go through 4 pastebins, come on now Jul 16 19:46:27 [15:44:11] le sigh Jul 16 19:46:28 this Jul 16 19:46:42 Does anyone have a minute to answer some beginner questions? Jul 16 19:47:36 If I upload a draft app, I can then change anything but the package name, is that right? Jul 16 19:47:38 you have one minute Jul 16 19:47:39 go Jul 16 19:47:54 code1: pretty much Jul 16 19:47:55 Okay, are you able to read what I wrote before, or should i type it again? Jul 16 19:48:05 30 seconds! Jul 16 19:48:25 canadiancow|work: pretty much? ;) Jul 16 19:49:04 epsilonorion: Not really interested in going through 4 pastebins. my suggestion is still copying FragmentActivity, changing it to extend MapActivity, then use that as your main activity Jul 16 19:49:07 And stop nesting Jul 16 19:49:13 code1: i cannot immediately think of anything else you cannot change Jul 16 19:49:14 oh Jul 16 19:49:19 if you make it free, you can't make it paid later Jul 16 19:49:59 Is that true even on draft before being published? Jul 16 19:50:03 though you can make a nice free app and crap it up with ads later, making everyone hate you and 1* your app Jul 16 19:50:26 oGMo: is that what happened to you? Jul 16 19:50:38 oh before publishing i think you're ok Jul 16 19:50:42 code1: no, i've just seen it happen to a number of otherwise-good apps Jul 16 19:50:52 luxurymode, SimonVT, I understand. It is just hard to describe what I am doing. Put it this way, Ignore the method (I will try the FragmentActivity idea, but no luck last time). If I have a fragment1 and fragment2, where each has their own fragmentactivity. Do I use intents, callbacks, or what to communicate between them and if so, do you know of tutorials besides the main site Jul 16 19:51:12 I kinda wondered if that would happen. Do you think it would be different if it started off with ads to begin with? Jul 16 19:51:15 Okay, I'll try later I guess. Jul 16 19:51:32 well if all you're doing is nerfing the free app and releasing a paid app, you're going to be hated Jul 16 19:51:38 if all you're concerned about is in-process communication an event bus is a really good pattern for maintaining a decoupled nature Jul 16 19:51:39 code1: sure .. people know what they're in for Jul 16 19:51:41 epsilonorion, you need to rethink how fragments interact with activities altogether i think. you dont have two activities running simultaneously. activities are a stack, they go in sequence. Jul 16 19:52:57 epsilonorion: I know what you're doing, I'm saying it's a bad approach Jul 16 19:53:03 And I offered an alternative Jul 16 19:53:06 Anyone know if there's a way to browse the gallery for a pic using an Intent without getting the leaked IntentReceiver errors? Jul 16 19:54:09 JakeWharton, SimonVT, I will review the ideas you are mentioning. I like the decoupled approach idea. Jul 16 19:54:23 I think people expect too much for nothing. I think having a free app supported by ads or a paid app which is ad-free is pretty fair. Jul 16 19:54:29 hi all.. Another great day to code something! Jul 16 19:54:45 SimonVT, I do not disagree that it is a bad approach, but after reviewing Maps in Fragments online, it seemed the only approach. Jul 16 19:55:17 there are many approaches Jul 16 19:56:24 luxurymode, I do understand they are a stack. Quite possibly the idea I am having a hard time understanding is how do you allow one fragment to send a message to another, allow that one to be live for a second to update, and then go back to the original activity. For instance, The fragment example on the site has wher eyou click a list item and update the detail textbox Jul 16 19:56:50 luxurymode, I understand that one, am bascially trying to do the same thing to start with in this case, but instead of a list item it is a waypoint creation Jul 16 19:57:11 In a GridLayout, is it possible to get a reference to a child at a certain position? or do i have to keep a reference myself? Jul 16 19:57:34 epsilonorion, dude, you're all confused. you acknowledged JakeWharton's point before about how you shouldnt really be sending messages between fragments, and yet you're still trying do something that, unless im misunderstanding something, sounds really whack Jul 16 19:58:21 epsilonorion, you need to think roughly in terms of model, view, controller - where your model is your data obviously, your activity is roughly the controller, and your fragments are your views Jul 16 19:58:38 no some data thats interesting changes or is received and you'd like to update your views (fragments) Jul 16 19:58:40 so do that... Jul 16 19:58:48 now some data* Jul 16 19:59:41 hey, queryIntentActivities Jul 16 20:00:11 arg...lol, i'm using queryIntentActivities, and want to make it a human readable list..any ideas how to get the right name/label out of it? Jul 16 20:01:40 luxurymode, I assumed JakeWharton was meaning that a Fragment should not communicate directly to a fragment (or should not be aware of each other). I do want the ability to send a waypoint from the mapactivity to the detail activity, but if I understand correctly there is nothing different there then if they werent fragments and I used intents Jul 16 20:02:09 did you look at an event bus? because it does exactly what you are describing Jul 16 20:02:26 even the one previously linked has an example application which does almost exactly the thing you are describing Jul 16 20:02:31 the wheels on the bus... Jul 16 20:02:56 lol Jul 16 20:03:10 i dunno epsilonorion, im missing something basic here. dont understand why your question is any different from "how do i pass data between activities?".. Jul 16 20:03:31 JakeWharton, then if that is the case I will do it and stop being annoying. Sorry for all the confusion. Jul 16 20:03:48 luxurymode, maybe that should be my question then and I am just doing the data pass incorrectly Jul 16 20:03:57 never headr of that before...searching for it now Jul 16 20:04:23 epsilonorion, right. so you have an activity, it gets some data and now you want to start another activity and pass data to it, correct? Jul 16 20:04:34 wait...was that meant for me or epsilonorion? Jul 16 20:04:43 No, he wants to yo-dawg his activities Jul 16 20:05:54 SimonVT, lol. you mean like some sort of loose notifying of his activity? Jul 16 20:06:11 luxurymode, both activities have already been started, are on the same screen under fragments. One fragmentactivity has something happen, so it wants to send something to another fragmentactivity already open on the screen Jul 16 20:06:35 epsilonorion, this is where i lose you. two activities visibile simultaneously? Jul 16 20:06:38 hows that? Jul 16 20:06:54 fragments to not host activities Jul 16 20:06:57 its the other way around Jul 16 20:07:00 do not* Jul 16 20:07:04 fragments sharing a screen. Have you seen the List/Details Fragment Tutorial on the android developers site Jul 16 20:07:15 luxurymode: Activity in an activity Jul 16 20:07:56 luxurymode, There is also the Headlines/Article Fragment Tutorial I have looked over Jul 16 20:08:00 epsilonorion, yes thats two fragments..not two activities Jul 16 20:08:18 if the screen is large or landscape…whatever..show both frags otherwise show one Jul 16 20:08:24 SimonVT, activity in an activity? what? Jul 16 20:08:58 yep Jul 16 20:09:12 luxurymode, I agree, but during the process of seeing how to use a map in a split view, I came across people saying it was best to do this with fragments. The only way to do this was to extend a fragment, that in turn hosted an activity. Jul 16 20:09:31 I also found other tutorials that did this other than just with maps Jul 16 20:09:55 luxurymode: He's putting a mapactivity in a fragment in an activity.. Now he wants to communicate between the two activities Jul 16 20:10:00 luxurymode, I am completely up for doing this differently, but I need the MapView to be on the same screen split with a listview and video view. Jul 16 20:10:16 the nexus 7 shipping situation is severely screwed :( Jul 16 20:10:18 what SimonVt said Jul 16 20:10:22 SimonVT. ah ok thanks for the clarification Jul 16 20:10:39 If it is insane, I understand, but I know of no other way to do it Jul 16 20:10:40 tnzr, is it? mine shipped supposedly though still no updates from usps Jul 16 20:11:03 luxurymode: it appears those who ordered a case/cover are screwed Jul 16 20:11:17 tnzr scratch that, its in louisville KY :) Jul 16 20:11:30 that and/or they are just drawing names out of a hat and shipping, rather than doing the FIFO style Jul 16 20:11:46 yeah i didnt even think to order a case Jul 16 20:11:53 hope my wife likes it. i ordered it for her birthday Jul 16 20:12:00 luxurymode: I ordered mine literally seconds after the order page came up...coworkers who ordered a week later are getting theirs tomorrow, meanwhile I haven't heard anything about my order Jul 16 20:12:00 now with all the rave reviews, im thinking i want one Jul 16 20:12:04 though i already have an ipad Jul 16 20:12:49 hmmm activityInfo.applicationInfo.loadLabel(pm) got me part of the name Jul 16 20:13:00 epsilonorion, you need to hack up fragmentactivity to extend mapactivity Jul 16 20:13:03 think somene else mentioned that Jul 16 20:13:09 its the only way that makes sense Jul 16 20:13:09 luxurymode, I already have Jul 16 20:13:13 use that as your activity Jul 16 20:13:17 ok, so whats the issue? Jul 16 20:13:19 luxurymode, at least I thought Jul 16 20:13:39 luxurymode, ah, nm. I am going to a tabhost to do the mapactivity Jul 16 20:14:30 luxurymode, as a quick explanation, this is what I am doing http://stackoverflow.com/questions/5109336/mapview-in-a-fragment-honeycomb Jul 16 20:15:57 just fyi for anyone who cares..turns out that activityInfo.loadLabel(pm) gets what i wanted instead of activityInfo.applicationInfo.loadLabel...which makes sense Jul 16 20:16:04 deadmund: thanks! that saves me from trying to look at 2.3 specific things Jul 16 20:16:16 mdwright: sure Jul 16 20:16:25 mdwright: thanks for fixing it! :D Jul 16 20:21:05 tnzr, that blows, sorry. but what can you expect? google aint exactly apple when it comes to fulfilling orders and shipping stuff. they're pretty new to this game Jul 16 20:21:34 i emailed to cancel my order today Jul 16 20:21:49 stores here have them in stock, so why am i spending $20 on shipping if im not getting it "first" Jul 16 20:23:06 \msg help Jul 16 20:26:26 thanks everyone for the help, I will keep at it Jul 16 20:26:54 Why the heck does my app crash when I have a seekbar?! :( Jul 16 20:27:45 Cus you're doing it wrong Jul 16 20:37:24 I try to build a bullet list in a scrollable LinearLayout, i tried it with listview but that doesnt work: http://stackoverflow.com/questions/11506951/bullet-list-or-similar-to-in-a-linear-view-between-textviews/11507065#11507065 some sugesstions? Jul 16 20:39:55 http://www.fiercedeveloper.com/story/top-five-things-app-developers-want-developer-organizations/2012-07-13 Jul 16 20:39:59 google: note #4 Jul 16 20:40:33 wut why Jul 16 20:40:54 informal survery from three firms Jul 16 20:41:01 :') Jul 16 20:41:05 "Google, which struggled with this for a while, has improved its API documentation for Android developers." , unfortunately a typo; docs still suck (javadoc) Jul 16 20:42:20 Developers want stuff that helps them with development. News at 11. Jul 16 20:44:17 g00s: yeah but now the turd is shinier Jul 16 20:44:42 yes, they changed it to Roboto font :) Jul 16 20:47:26 I've signed up for my google merchant account and typed in my debit card information (which is linked to the bank account into which I want to deposit app revenue). Is this all there is to it? How do I actually receive money earned by my app? Jul 16 20:47:59 Bryan__K: hm, i think google withh deposit 0.25 in 24 hours to verify the account Jul 16 20:48:13 you will get payouts from your app every month Jul 16 20:48:22 i think its the first week of the month Jul 16 20:48:44 ok, so because they know my debit card number, they can deposit directly into my account? Jul 16 20:48:49 wow marissa mayer ceo of yahoo Jul 16 20:49:02 Bryan__K: yeah, they want you to verify a specified amount Jul 16 20:49:13 you have to say basically, i see you deposited .33 Jul 16 20:49:21 once that is go, your account is verified Jul 16 20:49:35 I see. will they tell me about this over email or something? Jul 16 20:50:09 hmm. i think so … or check your console to see if there is a yellow / red item indicating action on your part Jul 16 20:50:23 ok I'll keep an eye on things. Thanks =) Jul 16 20:50:27 np Jul 16 20:50:29 where do i get yahoo's smart phone?? jk Jul 16 20:50:43 you mean tracking device that lets you make phone calls :) Jul 16 20:51:00 is 320dp the smallest display size for android phones? Jul 16 20:51:13 or as eben moglen calls them "robots that use us for mobility" Jul 16 20:54:46 Anyone know what the best video format for mobile phones is? I would assume H.264 would be pretty much supported everywhere, no? Jul 16 20:55:03 Quick, trick question - can/should I reuse my DialogFragment as a regular Fragment too? Jul 16 20:55:28 n20: Why would you want to? Jul 16 20:55:44 hwrd|work> whatever is used in 3GP is guaranteed to be supported, isn't it ? Jul 16 20:55:52 n20: yes Jul 16 20:56:02 (as its used for MMS) Jul 16 20:56:05 Chainfire: Oh, I guess that makes sense. Jul 16 20:56:08 n20: there's even an API Demo for this Jul 16 20:56:18 * Chainfire is just guessing out loud, I'm not an expert on the subject Jul 16 20:56:58 Chainfire? Elite RD on XDA? Jul 16 20:57:07 hwrd|work: I was thinking on putting my Login there, and be able to *popup* if needed too. Obviously I could just redirect to the LoginActivity, not sure which is *better*. Any thoughts? evancharlton Jul 16 20:57:22 ChainfireXDA is an interesting man on Twitter. Jul 16 20:57:49 n20: Having both would be good Jul 16 20:58:11 C0deMaver1ck that's me ... Jul 16 20:58:23 if you app has guest access, poping up the login dialog when the user tries to perform an action that only someone who is logged in can do Jul 16 20:58:36 no need for a triple dot lol, just cool to see you Jul 16 20:58:41 and having a Login button that opens a login activity Jul 16 20:58:51 n20: I just don't see where you would want a dialog fragment anywhere besides in a dialog. Jul 16 20:58:59 So i don't' know why you'd put it in a view. Jul 16 20:59:24 Obviously dialog fragment comes from fragment so you *could* Jul 16 20:59:51 hwrd|work: Dialogs on tablets, full screen on phones Jul 16 20:59:54 1 dialogfragment Jul 16 20:59:55 win Jul 16 21:00:23 n20: that seems reasonable Jul 16 21:00:35 SimonVT: hmmm… i guess that makes sense. Jul 16 21:00:50 Play store uses it for purchase windows iirc Jul 16 21:01:30 danharibo: So... regular login --> works as expected, + Dialog with login upon guest access (source: external intents) Jul 16 21:01:35 evancharlton: hwrd|work ^ Jul 16 21:02:08 hwrd|work: I was thinking to reuse it, as it would be the same functionality in the Fragment just different ways to access it. :) Jul 16 21:02:25 n20: well if you use a fragment for the controls the UI would be re-usable Jul 16 21:03:34 I was thinking something in that fashion, but I could also just pop a generic(-ish) dialog upon guest access, asking the user if they want to login. If yes, then startActivity(*login*) Jul 16 21:03:42 Not sure which path to take :) Jul 16 21:03:56 hello all. Im trying to follow this: https://developers.google.com/maps/documentation/android/hello-mapview ..ive got it loading..but all I'm seeing is a blank grid...no maps are shown. Ive made sure my app has a api key and its using the correction permissions(access inet, location(course,fine). Any ideas? Jul 16 21:03:57 well that would work, but depending on what they're doing that might be quite flow breaking Jul 16 21:04:25 I've made sure my debug.keystore is valid and I used the right md5 sum on the google api site Jul 16 21:05:54 Bryan__K isn't the credit/debit card needed only to set up the account ? I think once everything said and done you still need to input bank account details for the money to be delivered to Jul 16 21:06:27 Chainfire, I guess that's what my original question was. I honestly don't know much about it and am just going with the flow Jul 16 21:07:17 danharibo: I'll have a few things to think about then, thanks for the help. :) evancharlton hwrd|work Jul 16 21:07:43 Bryan__K I know for me it was that way, paid with credit, deposited to bank account. Jul 16 21:08:23 ill check out the merchant page and see where I enter that info. Thanks! Jul 16 21:08:39 n20: No problem. Jul 16 21:13:06 I was wondering how could I make a toggle button look like a tab? Jul 16 21:16:15 YoYo: why fool the user Jul 16 21:16:34 It's easier that way... Jul 16 21:16:52 oh, you want to do that Jul 16 21:17:08 I need the style for it Jul 16 21:17:44 Alsoo I would like your hand in marriage ;) Jul 16 21:21:23 g00s Jul 16 21:34:28 Performing networking in a Service still generates NetworkOnMainThreadException? jeez Jul 16 21:34:49 Services are on the main thread as well Jul 16 21:34:56 SPAME Jul 16 21:34:58 SPAM Jul 16 21:34:59 SPAM Jul 16 21:35:00 SPAM Jul 16 21:35:01 SPAM Jul 16 21:35:02 SPAM Jul 16 21:35:04 SPAM Jul 16 21:35:09 SimonVT: That is a bit yuck Jul 16 21:35:10 YOU JUST GOT SPAMMED Jul 16 21:35:19 Ok im done Jul 16 21:35:24 help ive been spammed Jul 16 21:35:38 lol Jul 16 21:35:40 neilalexander: Start a thread Jul 16 21:36:14 im just supposed to email 66.87.111.97 to the fbi and wait? Jul 16 21:36:29 Does anyone happen to know, off the top of their head, if there's a relatively easy way to include the thread id/name in an ACRA crash report? Jul 16 21:36:56 neilalexander: no it's not :-/ Jul 16 21:38:34 JudasWasHonest: Make sure to send your first and last name, social security number, and street address to yoyo.rom.dev@gmail.com and it will redirect all the information to the fbi Jul 16 21:38:57 make sure too include 66.87.111.97 Jul 16 21:39:20 and your complaint Jul 16 21:39:38 YoYo: what is going on in here Jul 16 21:40:05 neilalexander> if it's a fire-and-forget type of thing, use IntentService... onHandleIntent runs in a non-main thread Jul 16 21:40:51 evancharlton: I'm helping a user direct his complaint to the fbi Jul 16 21:40:54 keep it up YoYo, now im reporting your for phishing as well Jul 16 21:41:38 i like fish :) Jul 16 21:41:52 im eating fish Jul 16 21:42:11 with pita bread Jul 16 21:42:13 can i have some Jul 16 21:42:17 no Jul 16 21:42:28 why?! Jul 16 21:42:51 I will steal ur soul?! Jul 16 21:42:53 ok back to serious issue, i port my opengles 2.0 from iphone to android, and everything works except all the cubemap textures are just black, no gl errors Jul 16 21:43:14 set the color values? Jul 16 22:10:08 oh that sentence "port ... from iphone to android" just makes me queasy Jul 16 22:11:50 SimonVT, Finally found a good example of what I am trying to do and it is a Google Developer that does it. http://blog.radioactiveyak.com/2011/02/android-app-surgery-earthquake-redux.html Jul 16 22:12:10 JakeWharton, that is for you too Jul 16 22:12:47 yeah i remember that app from back in the day Jul 16 22:12:58 my app also does exactly what you're doing Jul 16 22:13:24 JakeWharton, then how did you setup your layout. i.e. how did you setup your mapview Jul 16 22:13:41 we use LocalActivityGroup Jul 16 22:13:58 but not in a crazy nesting way like you Jul 16 22:14:26 Also, after looking through that site, it seems that he is using Fragment Transactions for communication. I thought that might be a way, but no one ever mentioned it Jul 16 22:14:43 I don't specifically want to do it in a nested way, but it seemed to be the only way to do it Jul 16 22:15:23 do you know of a better way to setup the layout or an example online Jul 16 22:15:38 As for my method, it is through a localActivityManagerFragment Jul 16 22:15:44 hi all Jul 16 22:15:59 http://b.android.com/15347 Jul 16 22:16:02 has a bunch Jul 16 22:16:23 i have an ImageView class that implements pretty much all gestures, but i need to call a method in the main activity when there's a longPress Jul 16 22:16:55 I have seen that thread before, so are you doing the support v4 hack where all activities are MapActivities Jul 16 22:17:00 i don't think i want to reimplement all the gestures in the main Activity, i guess that will cause problems? Jul 16 22:17:02 no Jul 16 22:17:09 as I said, we use LocalActivityManager Jul 16 22:17:15 but not in a crazy nested way like you Jul 16 22:17:28 because I am doing the tabhost method described on that site. Jul 16 22:17:35 my appologies Jul 16 22:18:32 So I've asked this 900 times, guess I'll give it one more shot. Does anyone know anything about House Ads when using Admob? Jul 16 22:18:56 901 is the winner, obviously Jul 16 22:19:19 That's what I was hopping for Jul 16 22:19:35 hoping* Jul 16 22:20:21 JackWharton, sorry for asking, but then are you using the method described and shown under inazaruk Jul 16 22:20:30 Because that is what I am doing Jul 16 22:20:50 JakeWharton has a brother named Jack? Jul 16 22:20:51 Can someone help me? Jul 16 22:20:58 EddieRingle: +1 Jul 16 22:21:10 lol Jul 16 22:21:17 he was my twin Jul 16 22:21:19 JakeWharton, sorry Jul 16 22:21:29 i kill him in the womb and absorbed him Jul 16 22:21:33 but is that what you are using, because that is what I am using Jul 16 22:21:34 :| Jul 16 22:21:50 no, i'm not nesting Jul 16 22:21:51 I can't get an Android Virtual Device to work. Jul 16 22:22:24 Hello? Jul 16 22:22:32 Hello Jul 16 22:22:45 JakeWharton: Then I suppose you are not using the same method anymore described on the site for the most part. Most descriptions are to do the MapActivity through TabHost. If this is not the best way, what is the other? Jul 16 22:22:49 opengles code is same for iphone and android, so there's nothing really to port... except cubemap textures :/ Jul 16 22:23:36 Can anyone help me? Jul 16 22:24:10 what "doesn't work" about it ? Jul 16 22:24:23 Nathan2055: I am confinement that somebody in the channel probably can. Jul 16 22:24:48 instead of drawing texture it draws nothing Jul 16 22:24:49 Can anyone help with an AVD error? Jul 16 22:25:31 i mean its great that 98% of the code runs exact same, but ive been stuck on this final 2% for dys Jul 16 22:25:34 days Jul 16 22:30:33 for moment i will ignore and work on gesture controls Jul 16 22:30:44 JakeWharton: What is the difference between the TabHost / LocalFragmentActivityManager Method that I am using and the one that you are using, if you don't mind me asking Jul 16 22:33:42 hihi Jul 16 22:33:54 hi. I have a bunch of libs (jars) that get included when I am making a build and as a result, my android application now takes much longer to build (90sec+!) is there a way to shorten the build time? Jul 16 22:33:59 can the jars be prebuilt in some way? Jul 16 22:34:58 Is there any way to check google play for newest version of app porgamaticallt]y??? Jul 16 22:35:04 newsham: oh you Jul 16 22:35:13 i WISH my builds took 90 seconds Jul 16 22:35:14 :) Jul 16 22:35:58 how do people put up with this? Jul 16 22:36:21 more coffee breaks Jul 16 22:36:27 its 2012. Jul 16 22:36:32 less building, more coding Jul 16 22:36:35 you can build a whole OS in 90seconds. Jul 16 22:36:38 get a rubiks cube Jul 16 22:36:54 so I take it the answer to the 'is there a way to prebuild the jar" is "no"? Jul 16 22:37:28 no idea Jul 16 22:38:02 Is there any way to check google play for newest version of app programmatically??? Jul 16 22:41:22 JakeWharton: ping Jul 16 22:41:30 kanelbulle is tasty. :) Jul 16 22:41:52 ljkshdf Jul 16 22:42:00 don't you people have jobs :) Jul 16 22:42:30 Hey Mr Wharton, I'm getting a ClassCastException via ABS » java.lang.ClassCastException: android.widget.ShareActionProvider cannot be cast to com.actionbarsherlock.view.ActionProvider Jul 16 22:42:38 ^ JakeWharton Jul 16 22:42:53 JakeWharton: I'm currently on vacation, so I'm trying out ABS. :)) Jul 16 22:42:59 n20: mmmmmmm I just ate one of me Jul 16 22:43:01 two actually Jul 16 22:43:19 ah, nice. Well it looks like you're using the wrong class either in your imports or in your menu XML Jul 16 22:43:26 both should be the com.actionbarsherlock one Jul 16 22:43:42 JakeWharton: Ah, gotcha. Jul 16 22:44:01 JakeWharton: Totally my mistake, followed the Google guide and forgot about that XML-attribute Jul 16 22:44:06 JakeWharton: Thanks! *bows* Jul 16 22:45:22 Would you say it would be bad to force the user to update? Like have a check and if there is a newer version it won't start the app, maybe has a dialog that allows them to open the market. But if they don't update the app doesn't go any further Jul 16 22:45:42 Well it wouldn't be ideal Jul 16 22:45:51 they might not be on WiFi Jul 16 22:45:56 T-Dub: Update => good, unless you enforce weird permissions, then everybody will hate you for not letting them run an older one Jul 16 22:46:16 + what danharibo said :) Jul 16 22:46:25 It all comes down to what the user wants Jul 16 22:46:26 Well my problem/reason for this is because I've been messing with ads in my app Jul 16 22:46:34 And I'm about to update my publisher id Jul 16 22:46:47 therefore I want everyone to update so I don't have multiple campains running. Jul 16 22:46:51 Ah Jul 16 22:47:05 But at the same time, there are a few apps that basically require you to update if there is an update Jul 16 22:47:13 and it pisses me off, but I've never uninstalled due to it Jul 16 22:47:15 do you have any data on how long it takes users to update Jul 16 22:47:18 wasn't sure if anyone had some experience Jul 16 22:47:26 no, I don't know how to track that Jul 16 22:47:33 Analytics danharibo? Jul 16 22:47:37 is it in the console? Jul 16 22:47:44 yeah you might find that data there Jul 16 22:47:47 I have google analytics in my app Jul 16 22:47:59 if there's a large number on an older version, then you might want to consider nagging the user Jul 16 22:48:01 but it just has like visitors/content/traffic flow/etc Jul 16 22:48:05 but remmeber the golden rule Jul 16 22:48:19 how I build Section Divider like in this example http://developer.android.com/design/building-blocks/lists.html Jul 16 22:49:03 sukramTM: check res/list_item_divider.xml in the Android source, more specifically related to the Contacts Jul 16 22:49:15 Golden rule = it's not gay if it's in a 3 way? Jul 16 22:49:36 T-Dub: Avoid eye contact! Jul 16 22:49:42 ah Jul 16 22:49:42 T-Dub: no that is the Orange rule Jul 16 22:49:48 the golden rule is Don't annoy the user Jul 16 22:50:11 http://www.youtube.com/watch?v=Pi7gwX7rjOw you sure it isn't the golden rule? Jul 16 22:50:29 no Jul 16 22:50:48 gotcha. Jul 16 22:50:50 If you want to make sure they User knows they should update, you could spawn a notification about it Jul 16 22:50:55 Not sure how to read this report of app versions Jul 16 22:51:42 Oh I see Jul 16 22:52:04 Hmm Jul 16 23:07:05 I'm trying to do something like a credit roll or teleprompt with a TextView. In 99% of cases the scroll offset will change every frame, so with that in mind would it be unwise for me to override onDraw() to calculate a simple scrollTo() then invalidate()? Jul 16 23:08:28 you don't even need the invalidate Jul 16 23:08:53 just a smoothScrollTo(..) should be fine. Actually, you should be able to use a TranslateAnimation Jul 16 23:09:52 or just use ellipsize=marquee? Jul 16 23:10:28 ah.. vertical scroll Jul 16 23:10:29 sorry :) Jul 16 23:13:18 Hello romainguy :) Jul 16 23:13:27 JakeWharton: You still here? Jul 16 23:13:37 JakeWharton: Got one more question for you before I head off! Jul 16 23:14:29 I'm not quite sure how to actually trigger my SharedActionProvider, as it doesn't seem to respond to taps. :) Jul 16 23:15:21 s/Shared/Share/ Jul 16 23:15:37 I gave up on trying to use animations of any sort because those are all in terms of a start and end position done over some time t, whereas I just want to say "scroll this text by X pixels per second" Jul 16 23:17:04 I only ended up sticking an invalidate in there for a case where at some point the computed offset between one draw and the next is less than one pixel, thus the scrollTo wouldn't cause a redraw Jul 16 23:17:56 usually not the case, that's incredibly slow, but I figured better safe than sorry Jul 16 23:18:04 I'm going to make an updater, and it is just going to alert you, that you have a update. What should the icon be a picture of? Jul 16 23:18:23 'Night world! Jul 16 23:19:27 T-Dub: I can think of many things, most of which are not appropriate :P Jul 16 23:19:40 Lol. Any of them appropriate? Jul 16 23:19:56 *thinks for a second...* nope! Jul 16 23:21:13 Anyone know the max pixel width/length a notification icon can be Jul 16 23:21:34 It depends on the screen type you are supporting (ldpi, hdpi, etc) Jul 16 23:24:02 the max Jul 16 23:24:04 hdpi Jul 16 23:24:41 36 x 3 Jul 16 23:24:42 6 Jul 16 23:24:55 oh but thats 3.x+ Jul 16 23:25:10 what platform you targetting? Jul 16 23:25:22 api 8 Jul 16 23:25:24 so i thnk 2.2 Jul 16 23:25:44 My notes say Jul 16 23:25:45 ic_statusbar.png Jul 16 23:25:45 Just read this: http://developer.android.com/guide/practices/ui_guidelines/icon_design_status_bar.html Jul 16 23:25:45 24 (w) x 38 (h) Jul 16 23:25:45 Transparent status bar icons for high-density screens. Place into the res/drawable-hdpi-v9 folder. Content area: 24?24. Older version?s status bar icons should be placed respectively into drawable-hdpi, drawable-mdpi, drawable-ldpi folders. Jul 16 23:25:54 That sounds right Jul 16 23:25:54 but idk if "statusbar" is the notification icon? Jul 16 23:25:59 aight Jul 16 23:26:12 The Status Bar is "basically" the Notifcation Bar Jul 16 23:27:22 ah Jul 16 23:27:44 is there any way to get the current app version Jul 16 23:27:51 from within the app? Jul 16 23:28:23 something like System.getCurrentVersion() Jul 16 23:28:41 Ahh.. probably, there are some apis for managing applications Jul 16 23:29:17 http://stackoverflow.com/questions/6593592/get-application-version-programatically-in-android Jul 16 23:30:14 thanks. Jul 16 23:30:20 The one I found was a lot longer then that lol Jul 16 23:40:31 does view pager honor notifyDataSetChange? I can't get it to work. Jul 16 23:43:38 Hi- what's the simplest way to evenly distribute items (to space them out) within a layout? Jul 16 23:45:15 Depends on your layout Jul 16 23:45:45 layout_weight Jul 16 23:45:54 I'm using the layout just for this so I'm open to using any layout that does the job Jul 16 23:47:07 what am I doing with layout_weight Jul 16 23:49:19 hopefully reading documentation about it Jul 17 00:00:18 i am...speechless...my svn merge worked without a hitch Jul 17 00:01:13 You deserve an award Jul 17 00:01:49 seriously.. svn merge always gives me ajada Jul 17 00:02:09 i made copies of everything before even trying it Jul 17 00:02:20 i seriously expected problems Jul 17 00:02:30 last time i just gave up and manually copied stuff over Jul 17 00:02:38 Thats what I usually do Jul 17 00:16:02 What's wrong with my code Jul 17 00:16:02 http://pastebin.com/BLykGrjb Jul 17 00:16:06 Please and thanks Jul 17 00:17:06 T-Dub: :| Jul 17 00:17:11 ? Jul 17 00:17:14 you toss the result Jul 17 00:17:25 look at what replace returns. strings are immutable Jul 17 00:17:43 uh Jul 17 00:17:59 Note: This element neither has attached source nor attached Javadoc and hence no Javadoc could be found. Jul 17 00:18:26 String versionReplaced = versionGot.replace("v", " "); Jul 17 00:18:47 oh son of a bitch Jul 17 00:18:51 thanks lol Jul 17 00:18:54 Is there a ROM I can use with the emulator that has debug symbols built for all the libraries? I'm working on native code. Jul 17 00:19:24 I've spent the last 20 minutes on that Jul 17 00:19:29 Might help if I set it equal to something Jul 17 00:19:30 -.- Jul 17 00:21:17 any idea how this crash happens? http://pastebin.com/SSu1Ankh Jul 17 00:21:45 royale1223: database issue Jul 17 00:22:46 drpenguin: yeah, but what kind? From where? Stacktrace provides no such info. Jul 17 00:23:19 Full source here: https://github.com/royale1223/HwaSettings Jul 17 00:23:54 royale1223: well, Android gives you the query that caused a problem, look for where you make the query, and then see if anything before the query closes your reference out Jul 17 00:25:19 Is there any way to check google play for newest version of app programmatically??? Jul 17 00:25:27 drpenguin: I checked and checked and checked. Can't find any such problems in code. Jul 17 00:26:07 GuyCothal: There was some script using curl. I forgot it's name. Jul 17 00:26:24 royale1223: then you better look harder :P cause its there.. maybe GC is comming by and sniping the reference? Jul 17 00:26:41 GC? Jul 17 00:26:49 Garbage Collector Jul 17 00:27:05 royale1223: i have checked everywhere...i will search for curl Jul 17 00:27:52 drpenguin: Possibly. The crash does not happen always. Very rarely. Jul 17 00:28:40 drpenguin: what could i do the preventing GC from doing such a nasty thing? :P Jul 17 00:30:36 Same questions as before; any advise on making a toggle button or a regular button look like a tab easier? Jul 17 00:30:38 Same questions as before; any advise on making a toggle button or a regular button look like a tab easier? Jul 17 00:30:49 GuyCothal: you can use this php lib. http://code.google.com/p/android-market-api-php/ Jul 17 00:31:12 YoYo: tabs are best done with viewpager. Jul 17 00:31:17 GOOOOOOOOOOOOOOOOOOD MORRRRRRRRRRRNIN #android-dev Jul 17 00:31:35 and why is that royale? Jul 17 00:31:39 why not tabhost? Jul 17 00:32:06 royale1223: you may be a life saver on this one Jul 17 00:32:54 Is https://mediation.admob.com/ working for anyone? Jul 17 00:33:03 royale1223: I'm asking how to make buttons or toggle buttons look like tabs, not how they're are done. Jul 17 00:33:15 isitup.org says its up, but it just keeps redirecting me untill safari stops it Jul 17 00:33:26 royale1223: The only long way I can think off is making the images myself Jul 17 00:33:35 Belacan: Tabhost is old. Viewpager+fragments api+abs gives you the perfect tab look. Jul 17 00:34:07 speaking of which, I have a tab creator that says "th.addTab(specs)", now i have a layout inflater that inflates into a tab, so I currently use a variable parent assigned by findViewById(R.id.tab). however, now that my tab creation is dynamic how do i assign my parent? Jul 17 00:34:36 YoYo: I think that might be the only way. Jul 17 00:34:40 parent = (ViewGroup) th ? Jul 17 00:34:49 th.specs? Jul 17 00:35:46 or can you just inflate right into the tab host Jul 17 00:36:25 I have never used tabhosts. So I'm afraid I can't help you. Jul 17 00:37:17 sweet Jul 17 00:37:20 well Jul 17 00:37:23 that sort of worked Jul 17 00:37:31 It inflated onto the tab host as opposed to the tabs Jul 17 00:37:38 how to i reference the actual tabs Jul 17 00:37:38 hmm Jul 17 00:38:50 tabhost.getchildat() anyone? Jul 17 00:39:42 I'm having issues trying to access a textView inside my ListFragment Jul 17 00:39:57 itemsTextView = (TextView)getView().findViewById(R.id.item_detail); <--- item_detail is not being found Jul 17 00:40:05 royale1223: wake up Jul 17 00:40:45 did you give it an id in the xml Jul 17 00:41:07 @+id/something Jul 17 00:41:24 YoYo: ?? Jul 17 00:41:33 also try saving your xml again Jul 17 00:41:45 sometimes the R file wont generate if there's an error in it Jul 17 00:41:45 hmm - I'm using the 2pane example in the android tutorials Jul 17 00:41:51 when you create a new project Jul 17 00:42:04 sometimes the project isnt set up Jul 17 00:42:11 wtf is .tar.xz Jul 17 00:42:12 make sure you have a target set correctly Jul 17 00:42:21 its like a zip g00s Jul 17 00:42:35 so I have, activity_item_detail.xml, activity_item_list.xml, activity_item_twopane.xml, and fragment_item_detail.xml Jul 17 00:42:49 try this Jul 17 00:42:51 my emulator doesn't use the 2pane Jul 17 00:43:10 maybe I didn't dump my TextView in the right place Jul 17 00:44:01 royale1223: i pm'ed u Jul 17 00:44:44 GuyCothal: this should work for you, if you can run a php script - http://pastebin.com/6psMuiTa Jul 17 00:45:11 Belacan: what do you mean by "make sure you have a target set correctly" Jul 17 00:45:25 right click Jul 17 00:45:28 your project Jul 17 00:45:32 properties Jul 17 00:45:35 then click android Jul 17 00:45:39 and make sure something is checked Jul 17 00:46:03 that gets me sometimes with imported projects Jul 17 00:46:06 ah right, yes android 4.1 is checked Jul 17 00:46:09 hehe Jul 17 00:46:18 hmm Jul 17 00:46:24 theres no errors in that XML file? Jul 17 00:46:34 and have you tried a project clean Jul 17 00:46:42 thing is - all I'm doing is running the 2pane sample that comes with API 14, Jul 17 00:46:44 it runs fine Jul 17 00:47:00 I want to get rid of setListAdapter Jul 17 00:47:13 and use my webcall json Gson ArrayList and draw it on the gui Jul 17 00:47:17 dump it in a TextView Jul 17 00:47:20 but I'm failing hard Jul 17 00:47:24 not sure where to put this TextView Jul 17 00:47:36 I have my ArrayList fine Jul 17 00:47:56 and I built my string using StringBuilder with
just for testing really Jul 17 00:51:22 Where can I get frameworks/base/build/tablet-dalvik-heap.mk ? Jul 17 00:57:42 royale1233: pm???? Jul 17 00:58:40 meoblast001: r u from ohio??? Jul 17 00:58:52 A) what makes you think that? Jul 17 00:59:00 B) why does this matter? Jul 17 01:00:04 "~meoblast@dynamic-acs-24-101-148-112.zoominternet.net" ...lol...just wondering...i am from campbell...i just notices the serve Jul 17 01:01:11 armstrong isn't a common cable company Jul 17 01:02:33 has anyone here used createTabContent? Jul 17 01:02:40 Question: Support Library does NOT appear in the repository for the Android SDK manager. how do I install the Support Library? Jul 17 01:09:16 You install it from the sdk manager ;d Jul 17 01:11:13 Can anyone tell me why make isn't producing a zip? Jul 17 01:12:24 sbeanie: what make? Jul 17 01:12:36 when compiling android aosp Jul 17 01:13:05 because that's not what the default target does Jul 17 01:13:16 its goal is to generate a system.img to flash on a device Jul 17 01:13:28 is the google now voice activation gone in 4.1.1? Jul 17 01:13:29 not even make -j Jul 17 01:13:34 otapackage* Jul 17 01:15:08 I want to customize the look of the MediaController… a lot of answers on SO point to a commonsware sample project called vidtry, but I'd rather stay a bit closer to the core MediaController. I'm trying to just copy the existing MediaController source and customize based on that, but it references the internal PolicyManager class to create the popup window… has anybody used a similar approach or any ideas how to work around those issu Jul 17 01:15:51 romainguy: Can we go in a private chat for a few mins? Don't want to disturb the IRC. Jul 17 01:16:05 hmm Jul 17 01:16:21 I wonder if theres draw method to draw strunken copy of bitmap Jul 17 01:16:41 say if I have 200x200 image and draw i into 100x100 one Jul 17 01:16:45 it Jul 17 01:23:08 sbeanie: if you want a zip file, add make otapackage Jul 17 01:23:31 I've tried that but it doesn't seem to produce a zip file :/ Jul 17 01:23:39 whats the error? Jul 17 01:23:54 Let me re-run it Jul 17 01:24:12 run make clean first as well Jul 17 01:24:30 or jest delete the out directory Jul 17 01:26:13 f2prateek, do you know how i can reference the tab that i'm creating with tabhost.addTab(specs)? previously i was using 'parent = findViewById(R.id.tag1); but i want to do it dynamically now Jul 17 01:27:40 Hello Jul 17 01:27:43 Anyone here? Jul 17 01:28:09 yep, there are lots of people here Jul 17 01:29:42 Belacan: tabHost.getTabWidget().getChildCount() Jul 17 01:30:09 Belacan: tabHost.getTabWidget().getChildTabViewAt(int index) Jul 17 01:30:40 Things should just be instant Jul 17 01:30:43 I hate waitting Jul 17 01:30:50 Belacan: that should do it for you. Jul 17 01:31:12 that puts my content into the actual tab buttons Jul 17 01:31:19 Ive tried this: Jul 17 01:31:43 th.getTabContentView().getChildAt(counter); Jul 17 01:32:00 Belacan: and? Jul 17 01:32:10 Umm Jul 17 01:32:15 the stuff goes into all the tabs Jul 17 01:32:17 not just one Jul 17 01:34:12 In a GridLayout, is it possible to get a reference to a child at a certain position? or do i have to keep a reference myself? Jul 17 01:34:22 anyone here have a minute to help me? Jul 17 01:34:29 Belacan: hmm Jul 17 01:34:30 Belacan: i think i've come across this before, trying to remember where. give me a couple of minutes, fixing something for sbeanie first Jul 17 01:34:56 "Ask your question, don't ask to ask" Jul 17 01:35:04 CurelyBrace: Jul 17 01:35:17 I need to download google play Jul 17 01:35:21 and put it on my tablet Jul 17 01:35:32 without the app store or an sd card Jul 17 01:35:35 ....yeah Jul 17 01:35:47 Belacan: Can you tell me what you are trying to do? Jul 17 01:35:59 Im trying to add content to my tab dynamically Jul 17 01:36:07 I mean with the tab reference. Jul 17 01:36:12 Im using a layout inflater inside the constructor of my object Jul 17 01:36:21 What type of content? Jul 17 01:36:22 CurlyBrace, donwload the apk, and use adb install Jul 17 01:36:24 and that layout inflater needs a parent to inflate inside of Jul 17 01:36:50 the content is a viewgroup Jul 17 01:36:52 or a view Jul 17 01:36:54 Belacan: you can do that with broadcast recivers. I know a long way around. Jul 17 01:37:08 any way around is a good way around Jul 17 01:37:12 haha Jul 17 01:37:18 Belacan: just use "this" as the parent when you call inflate() Jul 17 01:38:06 adb is not being friendly... Jul 17 01:39:13 Ill put some code down bear with me Jul 17 01:39:26 CurlyBrae: whats the error? Jul 17 01:39:51 er, Jul 17 01:39:55 I am following this guide: http://forum.xda-developers.com/showthread.php?t=1397882 Jul 17 01:40:05 can't find the system directory Jul 17 01:40:43 thats for gapps Jul 17 01:40:50 isnt it? Jul 17 01:41:03 I think? Jul 17 01:41:06 easiest way for those is to boot into recovery and flash the zip file Jul 17 01:41:18 okay, I can get into flashboot Jul 17 01:41:26 and I have the folder downloaded Jul 17 01:41:30 but then I don't know what to do Jul 17 01:41:36 er, apk folder Jul 17 01:42:02 belacan: did you try the parent as 'this'? Jul 17 01:42:18 I am afraid I don't know what that means Jul 17 01:42:38 i still can;t get the link, but i think that was it Jul 17 01:42:45 hi Jul 17 01:42:46 yeah its not so simple ill put some code up for y'all to see Jul 17 01:42:53 ok Jul 17 01:43:34 can i get help for my android phone ? Jul 17 01:43:35 CurlyBrace: steps 1.Download gapps onto device 2. boot into recovery 3. flash gapps zip file Jul 17 01:44:02 marcus2729877676: #android or #android-root if you did custom stuff Jul 17 01:44:06 CurlyBrace: ho wdo you not have gapps in the first place? Jul 17 01:44:23 aosp build Jul 17 01:44:49 android-root isn't terribly helpful/active Jul 17 01:45:09 CurlyBrace: device? Jul 17 01:45:20 xoom wifi only usa Jul 17 01:45:43 and do you have custom recovery installed? Jul 17 01:45:52 cwm, yeah Jul 17 01:46:04 iirc Jul 17 01:46:33 yeah boot into cwm, (probably some volume and power button combo) and flash the gapps file Jul 17 01:46:41 foolproof way to get all the goods Jul 17 01:46:46 that's through recovery, right? Jul 17 01:47:08 yeah Jul 17 01:47:26 download the zip fille first Jul 17 01:47:29 did, Jul 17 01:47:31 goo.im will have it Jul 17 01:47:37 but android recovery gives me no options Jul 17 01:47:39 no text Jul 17 01:47:45 just image of broken droid :( Jul 17 01:48:27 #android-root may not be terribly helpful, but this is *off-topic* here Jul 17 01:50:06 hmm, the hot word detection option from google now disappeared but came back after a restart :/ Jul 17 01:50:08 strange. Jul 17 01:50:15 fair enough, Leeds Jul 17 01:50:19 just thought it was worth a shot Jul 17 01:52:04 http://www.gldrush98.com/uploads/Screenshot_2012-07-16-19-28-33.png Jul 17 01:52:09 anyone has those last two options? Jul 17 01:52:13 (in google now) Jul 17 01:55:14 anyone have a preference for oDesk / vWorker / etc for android work ? Jul 17 01:57:00 here you go guys, i hope i was clear with my descriptions of everything. http://paste.bradleygill.com/index.php?paste_id=380898 Jul 17 01:59:13 sorry that should be 'MainActivity.anotherLayout.addView(view);' not "Avvio.anotherLayout.addView(view);" Jul 17 01:59:50 so the second part is in the main activity, i forgot to mention Jul 17 02:09:10 what will LoaderManager.enableDebugLogging(true) acually do? Jul 17 02:09:20 http://stackoverflow.com/questions/6446276/android-how-to-dynamically-change-inflated-tab-content Jul 17 02:09:34 sorry thats not in response to you royale1223 Jul 17 02:09:55 Belacan: i know. :P Jul 17 02:10:25 wish it was :) Jul 17 02:10:36 Belacan: one thing i find easiest is use a method in the fragment accessible by the activity Jul 17 02:11:19 interesting Jul 17 02:11:32 by fragment you mean a method which can pass a something? Jul 17 02:11:59 i mean a tab, and have a method inside the tab Jul 17 02:12:05 exaple refresh() Jul 17 02:12:12 and just call tab.refresh() Jul 17 02:12:38 interesting Jul 17 02:12:42 i've dont it before, can't remember how or find the code Jul 17 02:12:42 ill entertain that thought Jul 17 02:12:48 *done Jul 17 02:13:00 cool cool no worries thanks for the seed Jul 17 02:29:03 Hello there. I am building native app, and my lib keeps going inside lib/armeabi-v7a. However library specified by android.app.lib_name is only searched for inside lib folder. How do I make it search inside abi? Jul 17 02:35:07 JakeWharton: Jul 17 02:35:17 JakeWharton: You there Jul 17 02:36:05 nope Jul 17 02:36:11 +1 Jul 17 02:36:23 and when he gets back, he still has to do my layout :D Jul 17 02:36:57 i'm actually getting ready to head home Jul 17 02:37:05 trying to finish this thing Jul 17 02:37:18 JakeWharton: I need your body....err....I mean your help Jul 17 02:37:32 O_O; Jul 17 02:37:45 JakeWharton: I cant access android.support.v4.view.Menu Jul 17 02:37:55 it doesn't exist Jul 17 02:38:09 drpenguin: Don't act so shy about it, you want it too Jul 17 02:38:16 JakeWharton what do i need to import to use a Button Jul 17 02:38:21 YoYo: ! lies Jul 17 02:38:28 JakeWharton: Any advise on the situation? Jul 17 02:38:40 specs.setContent(new TabHost.TabContentFactory(){ @Override public View createTabContent(String arg0) { View parent = new LinearLayout(null); do i need to provide a context for the tab? Jul 17 02:38:43 * canadiancow makes a joke about buying JakeWharton a few shots of whiskey... Jul 17 02:39:03 canadiancow: buy me a few shots and we can have a fun night Jul 17 02:39:04 import com.actionbarsherlock.view.Menu ? Jul 17 02:39:09 umm Jul 17 02:39:13 YoYo a/s/l? Jul 17 02:39:24 im using sherlocklistfragment Jul 17 02:39:30 and im getting errors Jul 17 02:39:41 I found this thread Jul 17 02:39:49 http://stackoverflow.com/questions/7847540/imposssible-to-override-oncreateoptionsmenu-in-listfragment' Jul 17 02:39:57 theysaid to use the v4 Jul 17 02:40:20 since for some reason fragment is causing errors with normal imports Jul 17 02:40:29 What does it matter? JakeWharton already told you what to import Jul 17 02:41:17 When I save the cod for the Copyright sign (®) in my database and make than a request it dont show me as sign... Jul 17 02:41:22 simonvt im getting errors with those imports already Jul 17 02:41:31 those are my normla imports Jul 17 02:41:38 *normal Jul 17 02:42:15 canadiancow: Im a dude who wants a shot... Jul 17 02:42:20 oh well Jul 17 02:42:42 but I think Im going too shoot SimonVT Jul 17 02:42:52 I dont think he wants that kinda shot though Jul 17 02:44:40 hey, sup Jul 17 02:51:27 YoYo just implement you rown fragment for list handling Jul 17 02:51:28 not tha thard Jul 17 02:51:33 When i save a string in my database, sqllite escape automatic some chars. Wich chars are that? Jul 17 02:51:57 I never use listfragment etc Jul 17 02:53:11 why not? Jul 17 02:53:15 why? Jul 17 02:53:33 they add a few conveniences, but tend to introduce more holdups Jul 17 02:53:40 I'd rather just build it myself =) Jul 17 02:53:51 takes me 2 seconds and I know its not going to bite me in the ass later Jul 17 02:54:18 fair enough, i havent really had to use it ever myself, but good to know for the future :) Jul 17 02:54:38 IOS does the same shit Jul 17 02:55:06 I started using ListViewController, and when I realized all it does is wrap up some stuff, and bite you in the ass, I ripped it all apart Jul 17 02:55:10 fixed it right **** ENDING LOGGING AT Tue Jul 17 02:59:58 2012