**** BEGIN LOGGING AT Fri Oct 12 03:00:02 2012 Oct 12 03:02:26 i dont use eclipse any more Oct 12 03:02:30 but i think they changed it Oct 12 03:02:40 you have to do New Project -> New Android Project from Existing Sources Oct 12 03:05:46 Greetings. I'm having some issues with WebView, would anyone know how to set the "max number of simutanious connections"? And/or the connection timeout on keep-alive connections? Oct 12 03:07:17 I notice on my samsung tab2 (android 4.0.1) the keep-alive requests only seem to last ~3s with 11+ connections, while on my nexus 7 (4.1.1) they last ~30s with 6 connections. Oct 12 03:08:14 Ideally, i'd like to be able to modify this in my WebView so try and get them about the same. I know HTTPUrlConnection has onConnectionTimeout(xxx), but, I cannot see how to get the HTTPUrlConnection when working with WebView. Oct 12 03:09:28 Hey there all. I had a few questions about adb Oct 12 03:10:10 I rooted my phone and have used push/pull before. I'm getting errors now trying to pull files. Oct 12 03:10:32 adb root is telling me it doesn't work with dev versions? Oct 12 03:10:57 theres a device on 4.0.1 NvrBst ? Oct 12 03:11:17 Specifically I'm trying to pull my sms and sms database Oct 12 03:13:09 @canadiancow, I'm sorry, I mean 4.0.4 (samsung galaxy tab: GT-P3113) Oct 12 03:13:32 hmm dunno Oct 12 03:13:37 webviews and i dont get along Oct 12 03:13:40 RubiksHnK: I think you need to stick to #android-root Oct 12 03:14:25 evil webviews ;) Oct 12 03:17:53 Leeds: I asked here first. I only saw custom roms at first but I've still got my stock on there. Will do though. Oct 12 03:19:35 doogan: even with New Project -> New Android Project from Existing Sources, I can't select this library Oct 12 03:19:52 (https://github.com/ened/Android-Tiling-ScrollView) Oct 12 03:20:18 and you're pointing to /library ? Oct 12 03:20:19 dunno Oct 12 03:22:32 doogan: yes, I'm pointint to the library folder of this project Oct 12 03:23:14 how can i read in a .png or .jpg file and convert it to a bitmap? Oct 12 03:31:25 faapt made big differences in eclipse performance Oct 12 03:33:11 i think chainfire's faapt patches were going to make their way into the regular aapt Oct 12 03:38:52 well I dont believe they are there yet Oct 12 03:40:21 i decided to try ff 16, chrome was using way too much memory. seems like pretty good so far. Oct 12 03:46:08 https://lwn.net/Articles/518623/ - good to see swetland taking on the freetards :) Oct 12 03:47:51 also, now the second time I've seen 500 million quoted as the total devices figure - I'm sure we were talking 400+ very recently :) Oct 12 03:48:53 eclipse on mac is being a pain, permission problems all the time, it cant access a png that my user can def read/write Oct 12 03:49:00 anyone experiencing this ? Oct 12 03:49:31 under source control? Oct 12 03:49:38 nop Oct 12 03:50:14 I double click on the left on the png, it says I dont have the permissions, cant delete it either, it's completely locked out Oct 12 03:54:20 I love linux, you can delete *anything* Oct 12 03:54:55 Heh, yah. Oct 12 03:55:11 I always hated that about windows, telling me "oh, but that's being used!". Oct 12 03:55:44 how can i read in a .png or .jpg file and convert it to a bitmap? Oct 12 03:56:11 whomp, BitmapFactory? Oct 12 03:56:13 g00s, http://www.theregister.co.uk/2012/10/11/snoop_hole_mozilla_firefox_16/ Oct 12 03:56:27 I'm trying to make a simple android app that receives URL share intents from your browser and emails them to somebody. Oct 12 03:56:38 mrenouf: yeah, that was fixed in 16.0.1. chrome also had a big bug Oct 12 03:56:54 chrome updated quicker though, like 10 hours Oct 12 03:57:01 oh, sounds like an API design flaw Oct 12 03:57:56 My first android app, heh :-) I'm still trying to get a fix on the granularity of these things... what I think I'm reading is that there is no such thing as an IntentReceiver superclass. should I just have a class that extends BroadcastReceiver? Oct 12 03:58:08 alex_PP, i think BitmapFactory can only read in bitmap data, not compressed PNG data Oct 12 03:59:40 i am serving data from a web service and i don't want to have to move it as bitmaps. and i don't think gzip would reduce bitmap data to anything comparable to png Oct 12 03:59:55 puff: you can have an Activity which never... activates - never draws a UI Oct 12 04:02:17 Leeds: Okay, so I'd just have an entry in AndroidManifest.xml that has an intent-filter for android.intent.action.SEND with mimetype text/plain, and point that to a generic Activity? Oct 12 04:02:29 puff: you can, yes Oct 12 04:02:36 I can, but should I? Oct 12 04:03:09 Lol, MeeGo. Why do they continue to beat that poor horse? Oct 12 04:03:28 dunno about that... http://pastebin.com/d7VTqyTt is the simple Manifest for something I was playing with a while ago to handle .pls files Oct 12 04:04:49 Man, I really hate it when sites (developer.android.com) redirect you to their main page instead of giving you a 404. Oct 12 04:06:06 mrenouf: it's not impossible for them to pull something off in China - very unlikely, but not impossible Oct 12 04:07:18 mrenouf: "sunk cost" is a very common logical fallacy in the business world. Oct 12 04:07:27 mrenouf: And the rest of the world too, come to think of it. Oct 12 04:08:20 sad, but true Oct 12 04:16:04 What's the distinction between a broadcast receiver and an activity with an intent filter? Oct 12 04:16:18 I guess I was assuming that I'd have to use a broadcast receiver, but you're saying I don't, right? Oct 12 04:19:35 you're not looking for a broadcast, you're looking for a share Intent - right? Oct 12 04:19:46 whomp, http://developer.android.com/reference/android/graphics/BitmapFactory.html#decodeFile(java.lang.String) Oct 12 04:19:47 HOLY CRAP! Oct 12 04:19:55 works on pngs and jpehs Oct 12 04:19:56 So, I finished ripping out RoboGuice. Oct 12 04:20:01 *jpegs Oct 12 04:20:10 And my app SCREAMS now. Oct 12 04:20:40 all those injectView calls were no doubt slowing things to a crawl. statup time is much better too. Oct 12 04:21:04 just binds the few things I need, nothing more than Application by default Oct 12 04:34:43 Leeds: I'm not sure which it is.. I'm looking to react when somebody is using the browser and long-presses the URL and selects "share" Oct 12 04:43:40 puff: right, that's not a broadcast Oct 12 04:43:40 alex_PP: jpeh is my favorite format Oct 12 04:44:07 g00sy Oct 12 04:44:16 hey ron_frow_ Oct 12 04:45:06 Leeds: Ah, okay then... this is all quite ambiguous. Oct 12 04:45:25 AMBIGUOUSLY GAY DUUOOOO Oct 12 04:45:38 puff: not really Oct 12 04:45:44 ? Oct 12 04:46:02 Leeds: Okay, to rephrase, everything I've found on this so far has been quite ambiguous. Can you point me to a doc that explains this? Oct 12 04:46:35 puff: you've read and understood http://developer.android.com/training/sharing/receive.html right? Oct 12 04:47:17 Leeds: nope, thanks. Oct 12 04:47:31 why not? Oct 12 04:48:06 it comes right up when you search for 'share' on the dev site Oct 12 04:48:08 Leeds: I've read a lot of stuff, hadn't come across that page. Now that you've pointed it out to me, I'll read it before asking any more questions. Oct 12 04:48:21 Leeds: Oddly enough, it didn't come up for me in my searches. Oct 12 04:48:41 Leeds: I was probably being too specific in my search terms. Oct 12 04:48:49 yeah, maybe Oct 12 04:49:12 thats why this channel rocks Oct 12 04:49:25 Leeds: Also, all of the early material refers to intents and intent receivers (and then broadcast receivers), so I wasn't particularly searching for sharing. Though I was searching for things like "browser sharing URL" Oct 12 04:49:31 sometimes people figure out by themselves by just asking the question Oct 12 04:49:48 shmooz: that's why this channel sucks - so so so many people who can't search the docs :( Oct 12 04:49:57 shmooz: Yeah, teddybear debugging, aka rubber ducky debugging. Oct 12 04:50:24 puff: searching for "browser sharing URL" comes up with pretty much the same results - where were you searching for it? Oct 12 04:50:30 Google. Oct 12 04:50:43 you didn't think of search the Android docs directly? Oct 12 04:50:48 well not everyone is capable until they grasp some few concepts, including myself Oct 12 04:51:04 everyone starts not knowing much Oct 12 04:51:16 Leeds: Yeah, I searched the android docs - for things like "broadcast receiver" and "intent receiver". Oct 12 04:51:27 the ability to search the docs is pretty basic... sucking eggs sort of thing Oct 12 04:51:29 anyway Oct 12 04:51:44 Leeds: Everything is obvious when you know it already, but thanks. Oct 12 04:52:00 if you don't know how to search documentation, you don't really have a right to call yourself a developer Oct 12 04:52:26 hi Looney Oct 12 04:52:28 I know how to search, I just don't magically know the precisely right search keywords for everything in the world. Oct 12 04:53:00 hi, thanks for email Oct 12 04:53:02 you gave the right search terms above, but you were searching in the wrong place Oct 12 04:53:24 Hey, I figured google's own search engine would be a good place to search, go figure. Oct 12 04:53:31 as I said, anyway... Oct 12 04:53:36 next time you'll search in the right place first Oct 12 04:53:49 But you know what I'm *not* doing right now? Reading that page, so, I'll be back in a bit. Oct 12 04:55:52 today is the official start of wayland corp ! Oct 12 04:56:09 http://i.imgur.com/GYLwY.jpg Oct 12 04:56:11 :) Oct 12 04:56:38 g00s: That's weyland. And stay away from alien lifeforms. Oct 12 04:56:57 heh, i just watched prometheus. man those people were dumbasses Oct 12 04:57:16 They always are. Oct 12 04:57:25 I loved that movie Oct 12 04:57:36 I laughed a lot. Oct 12 04:57:40 One of my pet projects is to write a horror movie script where the characters react faster and more intelligently than the audience. Oct 12 04:57:48 But it *still* doesn't save them :-). Oct 12 04:58:02 'only 6 hours of daylight left, lets go run into the alien buildings' Oct 12 04:58:52 'oh, these cylinders have black goo coming out of them, but this snake is so cute … here snaky snake ! Oct 12 04:59:51 'oh, this alien's ship is headed to earth with a cargo full of bioweapons, lets see if he can heal this sick old dude Oct 12 05:00:09 but otherwise, it was cool :) Oct 12 05:00:40 oh, and if i was the alien dude, i would have left shaw and saddled up in another ship Oct 12 05:01:00 Man, I don't like how emacs Java mode handles indentation for method declarations with attributes. Oct 12 05:01:24 then you .... change it Oct 12 05:01:40 deebo: Right after I learn elisp, yeah. Oct 12 05:01:55 (((((((((((((((((its) easy)))))))))))))))))))))))) Oct 12 05:02:05 I know, why don't I make learning android dev even *more* fun by trying to do it in lisp instead? Oct 12 05:03:04 Much though I prefer emacs, I just rememberd one thing I *really* like in intellij IDEA, automatic class imports. Oct 12 05:05:46 Strange emacs and lisp is being talked about here... Oct 12 05:06:00 ...I've been trying to do REPL with Emacs and Scheme for the past few hours Oct 12 05:06:43 intellij + emacs keybindings ftw Oct 12 05:08:25 I don't want to catch a lisp, I'll stick with java and c Oct 12 05:09:14 I learned Lisp for half a semester, but I'm reading SICP now and see the way I was taught was screwy Oct 12 05:10:50 SICP is very heavy on the interpretation and evaluation part of it Oct 12 05:11:26 i think i sold my sicp before i got to read it Oct 12 05:11:33 is there a android asm framework ? Oct 12 05:11:34 (good thing its online) Oct 12 05:11:53 shmooz: asm ? Oct 12 05:12:01 so I can do inline asm in my inline C Oct 12 05:12:37 yes Assembler or Assembly Language Oct 12 05:12:55 I guess it differs from phone to phone Oct 12 05:13:16 we need a ANSI ASM for Android Oct 12 05:13:44 oh, i thought you meant the java bytecode thing Oct 12 05:14:13 you can do asm in the ndk but you'll have to do it for every architecture Oct 12 05:14:18 or break on ones you didn't write it for Oct 12 05:14:25 arm, intel, mips so far officially Oct 12 05:14:37 dragorn, yeah that makes sense, its always been the case with ASM Oct 12 05:15:01 yes, it's nothing new, except that you get packed into an apk which is vaguely like a fat binary and you need to account for it Oct 12 05:15:04 or break on some devices Oct 12 05:16:15 there are no hooks from asm to android internals if that's what you're asking. There's some support for NDK based lifecycle support, which would provide you with the functions you need to handle. Oct 12 05:17:48 maybe to optimize some pixel plotting function Oct 12 05:18:57 to speed up rendering perhaps Oct 12 05:30:25 i can't think why you would possibly _want_ to write in asm Oct 12 05:31:22 unless you're moving the platform to a new architecture that has no compilers written for it Oct 12 05:31:49 assembly is fun Oct 12 05:32:34 it's neat to learn, not useful for being productive Oct 12 05:32:43 not for you, maybe Oct 12 05:32:52 i happen to like writing languages Oct 12 05:33:45 it's useful to know when a compiler for a new language Oct 12 05:33:52 i enjoy the mechanisms of it. there's nothing productive about it.. Oct 12 05:35:38 choosing to write in assembly when there is any other option is effectively choosing to step back on generations of progress in computing Oct 12 05:35:41 sometimes when writing c for embedded devices it's useful to make some changes at that level Oct 12 05:35:59 gcc optimizations are wierd Oct 12 05:36:08 all hail assembly Oct 12 05:37:37 i worked 2 years on embedded devices with 128kflash memory and i think 16 or 24k ram, never _needed_ to go that deep Oct 12 05:38:21 well I used to use ASM to optimize my C/C++ back in the day when I tried to run 3D games on a 386 Oct 12 05:38:26 24k ram ? O.o Oct 12 05:39:02 yup g00s, small sensor nodes Oct 12 05:39:04 i had to optimize a bit for a system that only had 2k rom/64k flash :( Oct 12 05:39:20 24k is a weird size tho Oct 12 05:39:37 would think 16 or 32k Oct 12 05:39:45 let me see Oct 12 05:39:53 sounds like 32k with 8k rom shadow or something wacky Oct 12 05:40:00 depending on architecture Oct 12 05:40:50 my mistake, 10kb ram Oct 12 05:41:01 8mhz TI Msp430 Oct 12 05:41:27 i like the MSPs Oct 12 05:41:33 yeah they are cool Oct 12 05:41:52 sampullman i would say in your case there was probably a need Oct 12 05:41:55 just, expensive, for the f series. I dropped them from most of my stuff and am going arm-core with lpc Oct 12 05:42:27 but i don't quite see a need to do asm on android - defeats a lot of intentions, like portability across architectures, etc Oct 12 05:42:31 i wrote some self modifying code at one point, but it got too hairy for my unseasoned brain Oct 12 05:42:45 oh, i didn't even know why it was brought up Oct 12 05:42:54 that's true, of course Oct 12 05:43:00 speakingcode: I agree. By the time you go back up through the jni layer Oct 12 05:43:19 I really question preserving any benefit of doing it in asm in the first place. It definitely won't save you time. Oct 12 05:43:55 I even have a book thats titled 'Optimizing C with Assembly Code' Oct 12 05:44:02 the whole point of C was to not have to write asm, more or less. i might get show for saying that Oct 12 05:44:09 shot* Oct 12 05:44:24 android has "ansi asm". It's called RenderScript. Oct 12 05:44:40 though don't be fooled by the name. You can't use it for rendering, and it isn't a script(ing language) Oct 12 05:44:55 so what is it ? Oct 12 05:45:27 portable assembly emitted with aid of llvm to currently runing hardware environment. Eventually supposed to run on the GPU, DSP, and on all cores of the CPU, whatever is available. Oct 12 05:45:34 currently it's just running on CPU Oct 12 05:45:47 sigh. i miss working on sensors. that's what got me into android, and i've been wrking as a business app developer ever since. :-\ Oct 12 05:46:01 oh wow, thanks alankila Oct 12 05:46:02 speakingcode: :( Oct 12 05:46:19 they should have called it droid asm or something Oct 12 05:46:29 drasm Oct 12 05:46:39 shmooz likely it was an existing implementation ported over Oct 12 05:46:46 the problem is that I couldn't find reasonable ways to use it. It seems like it's intended to do something like bitmap filtering operations or something. Oct 12 05:47:07 render scripted used to be able to render. i think the language/syntax also majorly changed between 2.x (when it was an internal only thing) and 3.0 when it was public but i might be wrong on that. Oct 12 05:47:30 speakingcode: my next project will likely involve BLE sensors for a biostatistics project Oct 12 05:47:46 it automatically parallelizes the execution across an implied outer foreach loop, but not all problems can be neatly expressed in this way, so I suspect that the technology is a bit limited Oct 12 05:48:02 ble? bluetooth? Oct 12 05:48:09 bluetooth low energy Oct 12 05:48:21 not failiar Oct 12 05:48:25 familiar* Oct 12 05:48:28 so we can't use android for this one Oct 12 05:48:29 kevinb: yes, they had some library but appear to have deprecated it and recommend to not use it for "rendering" right now Oct 12 05:49:07 what will yuo be using, g00s ? Oct 12 05:50:19 something that has ble apis; i guess the easiest path is wp8. they may decide to do ios though Oct 12 05:50:36 i'm not the one making those decisions ;) Oct 12 05:50:43 i'll code for whatever Oct 12 05:50:44 i worked with motes mostly, bsides android. telosb, tmote sky, and a platform called Hermes/Irene built by a guy named Prabal Dutta.. they ran TinyOS and we coded in nesC Oct 12 05:51:01 The one Android project I worked on, I was doing animations most of the time Oct 12 05:51:23 pretty popular in CS academia in the wireless sensor network area Oct 12 05:51:24 ah Oct 12 05:53:07 g00s: don't you hate it sometimes when incompetent people decide what you should use as a platform? Oct 12 05:53:47 its ok, the problem is more important to me than the technology Oct 12 05:53:49 RenderScript may be useful for optimizing video functions I suppose Oct 12 05:55:12 Paul Graham wrote an essay about why he used Lisp for what became Yahoo Stores. One line was pretty funny, he said "Some people said we should not use Lisp because it was not popular, but if we were thinking that way, we would have been using Windows" Oct 12 05:55:17 g00s what is the problem area you're working on? Oct 12 05:55:41 Ologn: ah, beating the averages ? :) Oct 12 05:55:47 a classic Oct 12 05:55:53 heh, yeah Oct 12 05:56:04 so are the yahoo stores still lisp-based? :-p Oct 12 05:56:09 awsnap. now I forgot my NFC tag at home and I can't debug the app in-train Oct 12 05:56:14 Ologn i'm jealous of your nick Oct 12 05:56:54 btw nfc, is it possible to make a TAG that opens google play automatically if your app is not installed? I'm currently working around by storing a URL to a server which redirects to the market site Oct 12 05:57:32 I know you can let the other side open google play with NFC beam, but is it possible with a tag as well? Oct 12 05:57:39 Graham said some of the Stores code is still Lisp... Oct 12 05:58:01 well then it has lasted longer than I expected. Oct 12 05:58:17 if you know lisp well, why not Oct 12 05:58:44 i was just reading google had lisp guidelines; i wonder if they came from ita Oct 12 05:58:54 Geez, when I consulted at Morgan Stanley we had these modern IBM machines which were running code written decades ago. Rooms full of big IBM machines running ancient code. Oct 12 05:58:58 since goog typically uses java,python,c++ Oct 12 05:59:31 Ologn: yeah, dhl was the same way Oct 12 05:59:35 i believe there are pockets in google for any langauge you can imagine Oct 12 06:00:11 if its not for production, seems like that could be easy Oct 12 06:00:43 if i'm not mistaken a big portion (majority?) of the work there does not ever get into production Oct 12 06:00:43 yes but officially google says that those 3 languages must suffice. If you let it happen, some developers will use a different language for every project. Oct 12 06:00:58 while that may be great for the developer, it's probably not good for the company Oct 12 06:01:38 google created Go, yeah? any other langauges? Oct 12 06:01:46 Dart Oct 12 06:01:50 ah yeah dart Oct 12 06:02:42 those are just the ones we know about ;-) Oct 12 06:04:22 ah nice, someone has made a git server for android Oct 12 06:05:21 useful Oct 12 06:05:26 hehe Oct 12 06:05:35 "because we could" Oct 12 06:05:39 yup. can sync over wifi Oct 12 06:05:49 keep your repo in your pocket on the go. i love it Oct 12 06:07:08 goos - what's the problem domain you're workong on with the BLE sensors? Oct 12 06:07:37 cant go too much into it yet Oct 12 06:07:54 has to do with thermal work limits, etc Oct 12 06:08:07 ah Oct 12 06:10:48 I have an app, which I just unpublished, that got to 1500 active device installs in four months if anyone is interested. The old source code is already on Github. I was thinking of posting it to Reddit Androiddev if there's no interest. Oct 12 06:11:07 Maybe for someone just starting out or whatever... Oct 12 06:11:18 interested in? the source? Oct 12 06:11:40 Ologn: what happened? Oct 12 06:11:57 g00s: I decided to focus my priorities. Oct 12 06:12:16 why not leave it up and say not under active development? Oct 12 06:12:19 what is it? Oct 12 06:12:44 https://github.com/dennis-sheil/commandergenius/tree/toytrain Oct 12 06:14:03 That code is a little old...I've fixed it up more, and pelya's SDL framework has improved its keyboard support and the like since Oct 12 06:14:19 what is the app for? Oct 12 06:14:44 Just a little game for kids. A train goes around a track. Ported to Android. Oct 12 06:14:55 ah Oct 12 06:15:06 "My son loves this! He Plays it till he drains my battery then moves on to my husbands phone." Oct 12 06:15:32 what do you use for graqphics? that probably sounds like a dumb question, i have no game dev experience Oct 12 06:16:12 I didn't write the game, I ported it mostly. It uses a cross-platform graphics library called SDL. Oct 12 06:16:24 oh, doh Oct 12 06:16:39 A Ukrainian fellow nicknamed pelya did a lot of the work porting SDL to Android. Oct 12 06:16:48 cool Oct 12 06:16:54 is that written in c++? Oct 12 06:16:59 Yes Oct 12 06:17:13 not a huge fan of c++ Oct 12 06:17:30 I want to see TCL another Default language for Android Oct 12 06:17:45 that's what I would like to see Oct 12 06:17:54 and with Tk support too Oct 12 06:18:06 heh, funny Oct 12 06:18:36 I want to be able to write apps in COBOL! Oct 12 06:18:55 assembly was already mentioned Oct 12 06:19:01 can't top tahat Oct 12 06:19:09 Leeds: cool, you can do your app on the mainframe and then use some 3270 emulator on your android phone Oct 12 06:19:43 --- Hei... dows anyone know of there is some way to turn bluetooth off from adb or something? I've just flashed a phone... all fine until Bluetooth was turned on, now the system crashed every time when Bluetooth is to start Oct 12 06:19:52 qop-lost: #android-root Oct 12 06:20:24 g00s: I did actually do a tiny amount of work on an AS/400 system a few years ago... hated every second of it Oct 12 06:20:46 they should rename #android-root #android-bitbucket Oct 12 06:21:00 #android-brick more like Oct 12 06:21:22 reminds me, somebody must have constructed a house from bricked phones by now Oct 12 06:21:24 Leeds: yeah, a fella i worked with tried to explain mainframe to me, it … just did not make sense (to me). Oct 12 06:21:45 there's a surprising lack of actual bricks - surprising given how many people seem to go out of their way trying to make one Oct 12 06:23:52 is it really totally impossible to recover a bricked phone? Oct 12 06:24:02 speakingcode: it's not bricked if you can recover Oct 12 06:24:05 wrong channel, and depends on the phone Oct 12 06:24:16 and also what alankila said :P Oct 12 06:24:33 surprising to me that a piece of hardware can be in a state of unrecovery, short of smashnig Oct 12 06:24:42 qop-lost: try adb shell pm disable com.android.bluetooth Oct 12 06:24:48 ~wildguess~ Oct 12 06:24:50 if you actually have a repair lab, you can generally recover anything which isn't physically damaged Oct 12 06:24:53 DysonReturns: not here Oct 12 06:25:03 ty Oct 12 06:25:05 even if some special console or interface is needed Oct 12 06:25:08 Leeds ah Oct 12 06:25:31 but home/hobby users rarely have the tools, beyond a USB cable and some software Oct 12 06:25:36 nod Oct 12 06:26:04 it's not surprising in the least imho. Hardware is fragile and must be brought into working state by lots of complicated code. Anything there fails, it doesn't happen, you normally have no means to interface with it left Oct 12 06:26:33 yeah but it's made workable in the first place from the nether Oct 12 06:26:51 using hardware and software tools you don't have. Oct 12 06:27:27 right, but given the tools there is a way... i imagine mfr's don't honor it or the fee is prohibitive? shrig Oct 12 06:28:03 more surprising than the number of bricks is just how commodotized androids are getting Oct 12 06:28:34 inserted in magazines n such Oct 12 06:29:25 In China they supposedly have super-cheap phones and tablets, way less than in the US Oct 12 06:29:37 yeah they do Oct 12 06:30:02 Ologn: yeah, i thought i read about a $75 android tablet Oct 12 06:30:18 shoot cheaper than that in wholesale, etc Oct 12 06:30:30 in Communist China, tablet buy you? Oct 12 06:31:10 i had great fun at an electronics store in China looking at all the android stuff. i'm pretty familiar with the US and Euro market, but man they have a lot of different phones there Oct 12 06:31:14 lots of fake iPhone skins Oct 12 06:31:26 there was even a gingerbread tablet with a surprisingly good fake honeycomb skin Oct 12 06:31:39 heh 7inch android 4.0 tablet 1.5ghz 512mb 4gb wifi, 3g, camera - $58 Oct 12 06:31:41 I get traffic from a lot of places... I had 1602 Admob requests from Angola in the past 30 days. I'm sure it will spread even further. Oct 12 06:32:01 DysonReturns: :) thanks! Oct 12 06:32:08 DysonReturns: :) trying... Oct 12 06:32:24 qop-lost: like i said - wildguess Oct 12 06:32:51 i almost bought one of the cheap ICS tablets (this was February or so, ICS was pretty new and I needed a 7" ICS device for testing) but the quality was really crap. and running like Android 4.0.1 when 4.0.3 or so was out at the time and I doubt it'd get updates. Oct 12 06:32:54 otherwise try factory reset, since its a clean rom install anyway, BT shouldn't try turn on at all Oct 12 06:33:11 DysonReturns, qop-lost: #android-root please Oct 12 06:33:32 DysonReturns: factory reinstates previous Image? Oct 12 06:33:43 Leeds: roger Oct 12 06:34:07 mean... is there a rom even after the phone has been flashed? Oct 12 06:34:17 qop-lost: check PM Oct 12 06:38:14 interesting, ff is way less janky scrolling huge web pages than chrome Oct 12 06:42:32 heh wow, 10inch tablet 1.5ghz 1gig ram 16gb storage android 4.1 - $40 Oct 12 06:43:32 w/ dual cam and all that. gotta buy in lot of 10. would love to make an android cluster with this Oct 12 06:45:56 DysonReturns: It worked :) Oct 12 06:48:34 hi, any expert on android 9-patch here Oct 12 06:48:51 weizhong: just ask Oct 12 06:49:23 The issue is that: Oct 12 06:49:30 "we see you have java, but we're also looking for 9-patch experience" Oct 12 06:50:01 I have a 9-patch file which is showing normal in the tool provided in the sdk Oct 12 06:50:20 but if I load that to my application, it is showing abnormal Oct 12 06:50:37 let's upload a picture for you guys. Oct 12 06:53:42 weizhong, I have seen a lot of people do a whole rigmarole with a nine-patch when they just need a drawable. Make sure you're not making life unnecessarily complicated for yourself. Sometimes people need a nine-patch, but I've seen a lot of people make one who did not need one. Oct 12 06:57:11 Ologn: yes I am considering using a simple png picture Oct 12 06:57:46 The issue is since I am already on this way, want to dig out what is really wrong. Oct 12 06:58:24 Ologn that happeend at my job. coworker spent days working on this 9patch, for a simple thing. i was like hmmm figured it out in xml in like 20 minutes, maybe less Oct 12 06:58:58 I have looked into some other apps, looks for a button people seldom use 9patch? Oct 12 06:59:40 weizhong, most of what you think you need 9patch for in a button you can do without 9patch. Gradients, different alpha levels, whatever... Oct 12 07:01:28 weizhong, I did a Google search... this page might help http://www.dibbus.com/2011/02/gradient-buttons-for-android/ Oct 12 07:02:28 http://snag.gy/MgUjV.jpg Oct 12 07:02:37 here is the link to the image Oct 12 07:02:55 I am actually doing very simple things Oct 12 07:03:15 can totally do that in xml Oct 12 07:03:17 or close to it Oct 12 07:03:19 if you just want a custom shape/gradient/color for a button you can do it without a png Oct 12 07:03:32 if you want any sort of shine you'll need an image Oct 12 07:04:04 Oct 12 07:04:16 You can see from the image that the bottom line is not straight Oct 12 07:05:02 you could approximate that pretty closely with xml, but it would probably be simpler to just draw it in photoshop or inkscape or something Oct 12 07:05:29 weizhong, you don't need 9patch to do that rounded button with a white border. Can't see if there's a gradient on my current screen, but that can be done. Just do it like dibbus does it, much simpler than 9patch. Oct 12 07:05:33 i would do xml with a layered drawable Oct 12 07:05:45 weizhong, yes what speakingcode says Oct 12 07:06:25 layer for the button itself is simple. another layer for te kanji and pencil Oct 12 07:06:57 then put it in a selector and for the pressed you can flip the gradient so it has a feel to it Oct 12 07:06:58 And part of that button layer is the white border Oct 12 07:07:15 nod. can do that with a stroke, 1dp Oct 12 07:07:32 I know how to do that with png, only need to split this image to a background, and the pen as a seperate image, and let it lay to the left of the button Oct 12 07:08:19 or you could just do it in photoshop and fix the size? shrug Oct 12 07:09:09 anyway, i'm out Oct 12 07:09:11 later Oct 12 07:10:12 Hey Guys, I'm using SearchView with ABS, I'm trying to send data through APP_DATA in onSearchRequested (calling it from onQueryTextSubmitted, as its not called on its own) Oct 12 07:10:22 and the data never makes it to the search activity Oct 12 07:11:07 is there a less anal way to pass data to Search Activity through intent Oct 12 07:15:43 Thanks guys, will consider your advices. Oct 12 07:19:36 I think I'm just gonna serialize the darn bundle Oct 12 07:46:48 hello guys Oct 12 07:48:26 i have a ButtonActivity which extends Activity, my screen Activity's extend ButtonActivity -which sets up the main menu for the screens.... my problem is, i want to set up additional buttons in each screen, but if i implement the onClick method in a main screen/activity, it blocks out all of the ButtonActivity button events Oct 12 07:48:51 i tried adding @Override to the screen activity's onCLick method but it didnt compile Oct 12 07:51:18 maybe i need to call super() in the onCLick or something Oct 12 07:52:30 i need to read up on inheriting methods Oct 12 08:01:15 maybe i can just put the actions in a non onClick method Oct 12 08:01:40 i think this will work Oct 12 08:02:45 can someone explain me what is a sprite? Oct 12 08:03:21 no it wont Oct 12 08:03:29 a kind of graphic i think Oct 12 08:06:47 superlinux-hp> http://en.wikipedia.org/wiki/Sprite_(computer_graphics) Oct 12 08:06:56 Chainfire, ok Oct 12 08:07:04 first link on Google after typing in "what is a sprite" Oct 12 08:07:38 a good resource for sprites is lemonparty.org Oct 12 08:07:44 def Oct 12 08:10:27 if i want to add a new case for a switch in onClick, do i have to add all the cases the superclass's onClick has too? if i want to use them. i want to keep them but add an additional one in the subclass. but if i override onClick i lose the super's switch cases for it Oct 12 08:11:46 @Override public void onClick(View v) { super.onClick(v); /* my new stuff as the super's onClick has already run */ } Oct 12 08:11:58 i suppose i can add all the switch cases in every subclass and just have the actual event actions in different super methods to minimize it Oct 12 08:12:02 ok ill try that Oct 12 08:14:31 if i add @Override to onClick, my program crashs Oct 12 08:15:03 logcat says null pointer exception, and some other stuff Oct 12 08:15:43 i recommend reading the other stuff then fixing the issue it's describing Oct 12 08:16:14 ok ill do more research Oct 12 08:16:22 are you sure onClick can be overriden? Oct 12 08:17:03 it depends on how you declared it, but you'd get a compile warning if it was private Oct 12 08:19:19 should work as far as i can see. ill examine my code closer Oct 12 08:21:07 how can i know if my app name exist in google play? Oct 12 08:22:00 domein name com.myapp.exist? Oct 12 08:22:18 or how can check for some name Oct 12 08:23:11 look it up? Oct 12 08:23:30 Leeds:how? Oct 12 08:24:00 see the search box at the top of the play store site? Oct 12 08:24:37 Leeds:aaaaa and search com.nameOfApp.somthing Oct 12 08:24:46 yeah, that Oct 12 08:24:54 Leeds:wow it soo simple :DDDD Oct 12 08:25:01 many things are... Oct 12 08:25:03 also use a domain name that you actually own Oct 12 08:25:40 kevinb: that won't stop someone else also using your name Oct 12 08:25:56 kevinb:yes Leeds its right Oct 12 08:26:02 true, but you have good reason to complain and get the app taken down Oct 12 08:26:37 how many apps do you think there are in the market under com.google or com.android? Oct 12 08:27:00 exactly why you should be using a domain you own instead of com.google or com.android Oct 12 08:27:08 or both :) https://play.google.com/store/apps/details?id=com.google.android.marmot Oct 12 08:27:25 point is that the market doesn't enforce it Oct 12 08:28:02 that doesn't mean you should continue doing it Oct 12 08:28:21 no, of course not Oct 12 08:28:35 the point is that *someone else could use your name*, not that you could use someone else's name Oct 12 08:32:02 Have any of you tried that removing all LocationListeners from yhe LocationManager in your service did not stop the GPS chip? Oct 12 08:33:14 RandomSort, i can be wrong, but have seen GPS start up just by having the uses-permission in the manifest Oct 12 08:33:27 what is the best way to debug why a scrollview isnt working? Oct 12 08:33:51 DysonReturns: Valid point, though the GPS first starts when I actively requestLocationUpdates Oct 12 08:35:45 So I'm guessing that it's my app not releasing it Oct 12 08:35:48 then, I can't help you, sorry. actually haven't used the GPS extensively. Oct 12 08:36:25 Thanks anyway, was good fact to obtain Oct 12 08:52:48 http://cdn.userpics.com/original/china_apple_store_is_being_real_honest.jpg' Oct 12 08:52:50 http://cdn.userpics.com/original/china_apple_store_is_being_real_honest.jpg Oct 12 08:57:17 hm, the new gmail has pinch-zoom … wasn't that an apple patent ? Oct 12 09:01:11 * lut4rp laffs Oct 12 09:22:11 hi, I'm using an intent to start a service... the context.startService(intent) goes well but somehow it's never received and onStartCommand of the service is never called... I've tried so many thing, any tips on how to debug this? Oct 12 09:23:46 the onCreate is never called neither ( of the service ) Oct 12 09:24:24 well what is the content of your intent Oct 12 09:26:38 also stack trace Oct 12 09:27:24 alankila, http://pastebin.com/GguKajiD Oct 12 09:27:34 first is debugged intent variable inspection i wrote down Oct 12 09:27:36 last is code to start is Oct 12 09:28:03 code of addWakeLockId: http://pastebin.com/A2BX2EEt Oct 12 09:28:09 Ivru, stacktrace when? Oct 12 09:28:17 hmm... the service probably has to be declared to receive intents of this action type Oct 12 09:28:27 there's such declaration in manifest? Oct 12 09:29:14 when you're trying to start your service Oct 12 09:29:50 Ivru, in that static method? Oct 12 09:30:04 I am using a ContentProvider to populate search results in my App. When I select one of the search results, I get passed back into newIntent(...) only "user_query" (which contains what was typed into the search field, not the search result that was clicked on). Oct 12 09:30:07 alankila, well there wasn't one before and it worked, that service starts two others they have a service entry in the manifest Oct 12 09:30:28 I added another service and some logic and then this one suddenly stopped working Oct 12 09:30:34 Anyone have an idea what I may have forgotten? I'm following the Google docs on the subject. Oct 12 09:30:39 MailService extends CoreService both are my own classes Oct 12 09:32:43 Ivru, just checking and the other service being started in exactly the same manner just has this entry in the manifest: Oct 12 09:32:51 android:name="com.fsck.k9.xono.XonoGCMService" Oct 12 09:32:51 enabled = "true" Oct 12 09:32:51 /> Oct 12 09:33:04 and that one works Oct 12 09:33:25 also my guess was false Oct 12 09:33:47 intent document states that an explicit intent (= intent naming its recipient by class) will always be delivered regardless of anything else Oct 12 09:34:05 Knossos, stacktrace: http://pastebin.com/7nSTDEjs Oct 12 09:34:38 alankila, uhu seems so Oct 12 09:35:41 the error appears to be raised in actionReset() itself, not, say context.startService? Oct 12 09:36:13 what is line 44, and what is the exception? Oct 12 09:36:41 oh wait it's probably the declaration of the method line Oct 12 09:36:48 uhu Oct 12 09:36:49 still, leaves open what the exception is Oct 12 09:36:50 there is no error Oct 12 09:36:58 there is no exception Oct 12 09:36:59 all goes fine Oct 12 09:37:03 the service is just never started Oct 12 09:37:06 well how come the execution suspended then? did you add a breakpoint? Oct 12 09:37:15 that's why I thought it was odd that Knossos wanted a stacktrace Oct 12 09:37:19 yes breakpoint Oct 12 09:37:24 I see. A misunderstanding. Oct 12 09:37:33 uhu just did as he asked Oct 12 09:38:37 if there was an error I could start debugging but... just doesn't happen Oct 12 09:40:00 This k9 code looks really odd. Oct 12 09:40:15 nobody calls actionReset() method. I wonder if they have some reflection-based logic for this. Oct 12 09:40:17 it's old ;) Oct 12 09:40:24 no it's not reflection Oct 12 09:40:28 actionReset is custom defined Oct 12 09:40:41 but I might have figured it out, confirming now Oct 12 09:40:48 well it looks like nobody is calling it, and I could not see how it gets called. Oct 12 09:40:55 I didnt want a stacktrace dzan... Oct 12 09:40:58 the name only appears once Oct 12 09:41:29 reflection base logic... Oct 12 09:41:31 Knossos, sorry wasn't you Oct 12 09:41:37 somebody likes living on the curve Oct 12 09:41:49 edge* ;) Oct 12 09:42:01 thank you Oct 12 09:42:02 and I fixed it alankila thanks! you did help because I had another look at the manifest Oct 12 09:42:10 MailService wasn't in there Oct 12 09:42:19 just got up Oct 12 09:42:20 it wasn't before neither but then it didn't seem to be an issue for some reason Oct 12 09:42:25 Well it should have raised an exception or wrotten some crap in adb log or something Oct 12 09:42:28 gorudonu, that explains :) Oct 12 09:42:34 alankila, yeah indeed, that's strange! Oct 12 09:42:47 because if an intent can't be delivered, especially an explicit one, it should be easily seen and caught by android Oct 12 09:43:03 if a service isn't in the manifest it shouldn't compile no? Oct 12 09:43:04 and imho I've seen some kind of failure indication when I forgot to declare the service in manifest Oct 12 09:43:17 dzan: of course it does, it's not like android is well-designed Oct 12 09:43:35 i am overriding onClick succesfuly now and calling super.onClick(v) to inherit the superclass's buttion-actions, in the override i also have: case R.id.button_build_modules: TextView modFx1Val = (TextView) findViewById(R.id.mod_fx_1_val); modFx1Val.setText("newText"); ..... this all works fine and my program works.... however, if i move TextView modFx1Val = (TextView) findViewById(R.id.mod_fx_1_val); outside the meth Oct 12 09:43:35 od, making it a global field of the subclass, my program crashs........... but, before i overirided onClick, i could declare the TextVIew as a global field this way and it worked fine...... so i can either have the TextView as a global field or override onClick but not both? Oct 12 09:44:22 the whole crap with having to declare activities and services is largely just extra noise because people who designed android liked this particular style Oct 12 09:44:37 well, we'r stuck to it ;) Oct 12 09:44:46 I understand the launcher category activity would have to be mapped somehow but these days people would put @Launcher in front of that class and that would be it Oct 12 09:45:41 similarly broadcastreceivers could just say @Action("foo") to receive intent with action foo. Or something. It's not like it's hard, and the manifest.xml would largely go away, maybe you declare application's name, it's icon, and version number in there. Oct 12 09:46:08 Incidentally, about my problem. I just needed Intent.getDataString() Oct 12 09:46:11 Duh :P Oct 12 09:47:02 tech1: if by global you mean static, your programs are broken Oct 12 09:47:31 not static Oct 12 09:47:39 alankila, never thought about that but annotations do make a lot more sense indeed Oct 12 09:48:40 dzan: yeah it's the way java has been used since shortly after 1.5 Oct 12 09:49:08 uhu Oct 12 09:49:10 * dzan uses ee framework and such I know :p Oct 12 09:49:11 i mean having: public class BaseActivity extends GameActivity { TextView modFx1Val = (TextView) findViewById(R.id.mod_fx_1_val); } instead of public class BaseActivity extends GameActivity { @Override public void onClick(View v){ *switch * case... TextView modFx1Val = (TextView) findViewById(R.id.mod_fx_1_val); }} Oct 12 09:49:12 to summarize it: no checked exceptions, and no xml. Oct 12 09:49:26 so the TextView is a class field instead of local Oct 12 09:49:32 to the onClick method Oct 12 09:49:38 java has the no checked exceptions part fairly well down except for some annoyances with intent's url parsing Oct 12 09:49:47 err.. android, not java Oct 12 09:49:58 i shall pastebin. 1 sec Oct 12 09:50:19 tech1: you can't initialize these before onCreate has run Oct 12 09:50:35 tech1: because the views only appear after setContentView executes, and the earliest time that call works is during onCreate Oct 12 09:51:53 then how do i make it a class field? put it onCreate? Oct 12 09:52:12 dzan: you're stuck to it too? dang Oct 12 09:52:16 there's nothing stopping you making it a class member (= instance field) Oct 12 09:52:17 i tried putting it after the onCreate method. it still crashed Oct 12 09:52:26 but you can only initialize that field during onCreate. Oct 12 09:52:53 or well, anytime after that, assuming setContentView has been executed, but it's logical to do it in onCreate Oct 12 09:53:29 g00s, funny guy you :) Oct 12 09:54:32 ok iv put it in onCreate, but the compiler says onClick method can't find it now Oct 12 09:55:07 you don't get it Oct 12 09:55:19 you can DECLARE the field at class level, but you can only INITIALIZE it in onCreate Oct 12 09:55:22 im definetly missing something Oct 12 09:55:26 two separate things Oct 12 09:55:49 TextView modFx1Val = (TextView) findViewById(R.id.mod_fx_1_val); this is declaring it? Oct 12 09:55:58 when you write TextView x = something, that is a declaration AND initialization Oct 12 09:56:02 oh Oct 12 09:56:05 the part before = is the declaration Oct 12 09:56:11 i think i know what to do.. 1 sec Oct 12 09:56:47 also another point is that inside method body this declares it as local variable that will go away after the method is through (or maybe sometime before it even) Oct 12 09:57:22 whereas outside method but inside class, it is termed class member and exists as long as that instance is available Oct 12 09:57:49 if it's static class member, that is, prefixed by keyword "static", it can be accessed without instance, it is what people often loosely call "global variables" Oct 12 09:57:57 because it's the closest java equivalent to globals Oct 12 09:58:47 ahhh it works now Oct 12 09:59:03 you are right i just needed to split up the declaration and initialization Oct 12 09:59:17 thanks Oct 12 09:59:29 live and learn, I guess. Oct 12 10:01:16 iv probably gone through the same stuff with regular java. maybe just letting android stuff clutter my thought process Oct 12 10:01:39 most likely. It's very hard to write OO code without coming across this. Oct 12 10:01:52 yeh Oct 12 10:02:45 i like having xml for layouts though. much cleaner than trying to seperate swing/gui classes Oct 12 10:02:57 sure. XML is better than that. Oct 12 10:03:14 and also possible to make GUI tools. Imagine trying to parse code to draw representation of the UI, then allow designer to change the layout Oct 12 10:04:06 you mean like some kind of template/factory? Oct 12 10:04:16 i think the way xcode does it, is that it serializes the objects with all the properties and stuff set from the gui editor; the app inflates these back up Oct 12 10:04:46 so i guess its that vs dsl, even if the dsl is embedded in xml. Oct 12 10:05:54 i see Oct 12 10:06:17 but nobody tries to make the designer write code statements Oct 12 10:06:36 most likely people would edit those generated methods and then it wouldn't work next time around Oct 12 10:06:58 heh, i think thats the way the old vc++ tools worked with mfc; they generated code Oct 12 10:07:22 I guess one attempt was enough to convinced everybody that it won't work. Oct 12 10:07:27 :) Oct 12 10:07:43 i know why i missed my problem. in regular java initializing something outside of a method wouldn't have compiled. for some reason in android it let me initialize it outside a method and actually use it, before i overrode onClick which made it analyse my code properly somehow Oct 12 10:08:02 tech1: yes it does compile. Oct 12 10:08:27 it's perfectly valid to declare and initialize a variable outside a method. It will be set during the class instance construction time in the order that you have declared the fields Oct 12 10:08:33 static fields will be initialized at class loading time Oct 12 10:08:50 I imagine the fields are initialized first, then the constructor is run Oct 12 10:09:20 or maybe the initialization is baked into the constructor that is modified dynamically for this. IDK. Oct 12 10:09:29 sorry, modified at compile time Oct 12 10:09:40 i mean modFx1Val = (TextView) findViewById(R.id.mod_fx_1_val); calls the method findViewById, i think you cant call methods outside a method Oct 12 10:10:18 Hmm. It might or might not work. It does raise some questions about initialization ordering... Oct 12 10:10:26 and casts findViewById to type TextView Oct 12 10:10:30 it would be plenty odd to call an instance method before the constructor has been run. Oct 12 10:10:56 ill have to research more on how android initializes classes Oct 12 10:11:07 but then again, I'm pretty sure that the fields already are usable by the time the constructor runs. Chicken-egg. I guess I'll have to study this aspect more. Oct 12 10:11:18 yeh me too Oct 12 10:11:30 but one simple explanation is that the constructor is modified to perform the initialization. Oct 12 10:12:14 since findViewById is a superclass method, and superclass is initialized before the subclass forcibly, then the superclass will of course work. Except in case of android findViewById doesn't actually work except after the onCreate stuff, of course. Oct 12 10:13:21 stackoverflow says that instance field initializations are put into the constructor by the compiler. Oct 12 10:14:23 howdy Oct 12 10:14:40 sort of makes more sense now Oct 12 10:15:02 but anyway, android framework classes do not work at constructor run time. Oct 12 10:15:26 also you are not actually allowed to declare constructor other than the default (no-argument) constructor, because android needs to be able to construct instances of these things. Oct 12 10:15:59 hey, can somebody please check if the softkeyboard example is able to compile (android 4.1, on linux, with eclipseplugin) ? I got errors like "The method onPreferenceClick(Preference) of type new Preference.OnPreferenceClickListener(){} must override a superclass method InputMethodSettingsImpl.java /SoftKeyboard/src/com/android/inputmethodcommon line 68 Java Problem" Oct 12 10:16:16 you cant create a constructor with arguments? you mean in a class that extends activity? or any class Oct 12 10:16:56 now im confused Oct 12 10:17:10 Flugmeise: you have likely @Override annotation on a method that is not actually overriding a superclass method. Check the signature of the onPreferenceClick. Oct 12 10:17:17 do not remove the @Override Oct 12 10:18:17 tech1: android constructs activity, service, and broadcastreceivers for you, among other things. Android will attempt to invoke the default constructor for these classes to make instances. If there isn't one, the instantiation fails Oct 12 10:18:47 ahh just the android classes. i think i understand Oct 12 10:20:45 alankila: Renderscript is a long way removed from assembly. Oct 12 10:20:54 alankila: yes its an @Override; I didnt put it there, I just took the examplecode from "file->new->project->android sample", wondering if it should work out of the box (as the other example i tried yesterday (moving wallpaper cube) Oct 12 10:21:36 Views have specific constructor required for building them from LayoutInflater, though, so it's not always the case that the constructor must be empty Oct 12 10:21:37 Although, C was _meant_ to be that language. Only, modern compilers and modern programmers treat it as an HLL, so optimised code is rarely written in C anymore. Oct 12 10:21:47 hmm or rather that the constructor's signature is void Oct 12 10:21:47 or whatever way you are supposed to exactly put it Oct 12 10:21:58 How can I hide my softkeyboard when the user presses the 'return' key? Oct 12 10:22:08 Flugmeise: also check for another common newbie error, like you might have accidentally imported wrong classname, like wrong Preference (if android has more than one). The signature is supposed to be boolean onPreferenceClick(Preference) Oct 12 10:23:15 alankila: http://paste.debian.net/plain/199416 Oct 12 10:29:35 hi guys. Oct 12 10:46:00 i'm sorry, but i am a new user of mirc. Oct 12 10:46:15 aletegagni_2: better late than never... Oct 12 10:46:34 @gorudonu yep! Oct 12 10:46:34 aletegagni_2: welcome to the endless and frightening world of IRC Oct 12 10:47:07 @dashcc ahah :-D Oct 12 10:47:16 the fight is start! Oct 12 10:48:35 Hey guys Oct 12 10:48:52 i go to prepare the dinner. Oct 12 10:48:54 :-) Oct 12 10:50:03 I want to upload my app server side to appengine by google, I see it doesn't support MySQL (which is how I managed my DB so far), and I'm not sure how to change the DB part in my server application, datastore? GQL? other options? I thought I might get some support here Oct 12 10:50:48 BigData ? Oct 12 10:50:53 *BigTable Oct 12 10:55:50 button.setOnClickListener(new Button.OnClickListener() { // OnClickListener is an interface. Why is this code legal? (Instantiating an interface) Oct 12 10:58:27 gorudonu, was that for me? Oct 12 11:00:53 sasson: yes Oct 12 11:02:07 sasson: http://googleappengine.blogspot.com/2011/10/google-cloud-sql-your-database-in-cloud.html Oct 12 11:03:23 and what about datastore? https://developers.google.com/appengine/docs/java/gettingstarted/usingdatastore Oct 12 11:04:28 http://developer.android.com/training/basics/firstapp/building-ui.html <- this site seems to be out of date with the android sdk tools on my system Oct 12 11:04:54 I ment https://developers.google.com/appengine/docs/java/datastore/ Oct 12 11:05:07 to wit, running the default android create project as specified earlier there Oct 12 11:05:10 creates a main.xml Oct 12 11:05:20 not activity_main.xml Oct 12 11:05:22 alankila: i tried to import other preference, but it only gave more errors, can you spot whats wrong? http://paste.debian.net/plain/199416 Oct 12 11:05:33 and it already has a relative layout Oct 12 11:05:42 so I'm wondering if there's anything else that's changed about that tutorial Oct 12 11:05:56 is the name of the xml file significant? Oct 12 11:28:13 how do I get the height and width of the GLSurfaceView from the Renderer? Oct 12 11:29:05 you can do a glGetInteger on GL_VIEWPORT Oct 12 11:31:04 hi guys. does anyone used android speech recognition? Oct 12 11:43:07 Hello everyone! Happy to have found this place as a beginning Android dev :-) Oct 12 11:45:24 hi i've joined few minutes ago too, but seems folk is a bit quite here Oct 12 11:45:33 yeah :-) Oct 12 11:45:54 u r beginner? Oct 12 11:45:57 yes Oct 12 11:46:12 and i need a community like this Oct 12 11:46:28 you? Oct 12 11:46:35 post complaint about people leaving +1s without comments, get +1s Oct 12 11:46:36 win! Oct 12 11:47:48 a bit longer)) Oct 12 11:49:37 good, are you using Eclipse with ADT to develop? Oct 12 11:50:00 i am Oct 12 11:50:02 im a pro Oct 12 11:50:07 not a prostitute Oct 12 11:50:11 but maybe for the right price Oct 12 11:50:16 i'm really good with eclipse though Oct 12 11:50:59 yeap Oct 12 11:51:25 hey, pro. have u used android speech recognition? Oct 12 11:58:13 Can somebody help me please? I am new to android and making an android app. The app will display an image and on flinging that image, the image will bounce in the screen. Previously, I have made an app that will display an image and the image will follow your gesture on screen. I have extended SimpleOnGestureListener class in the current app, and I am drawing and moving the image in another view. I cant access the properties declared in that view. Oct 12 11:58:13 Is my implementation correct? I have the basic understanding of OOPs Oct 12 12:03:30 voilà. Oct 12 12:04:49 for my project: The user downloads the application, the application is registered, and you open the map (which will use the GPS mode), there will be a pointer identifier, which indicates the location of the user, which if you click on his pointer will open a screen, chat with other users. Oct 12 12:04:58 it's possible? Oct 12 12:05:18 Yes, but you probably need to connect it to some sort of server to handle the inter-client communication Oct 12 12:05:19 and how can I deal with it? Oct 12 12:05:46 ok, i must to create a web portal? Oct 12 12:06:08 You should probably just try to create a few apps that does a little of you want to do. Oct 12 12:06:20 Or exapmle an app that shows the users location on a map Oct 12 12:06:33 and one that allows you to send chat messages between phones Oct 12 12:06:43 That should give you the knowledge to create the combined projet Oct 12 12:09:50 a few apps in a big app? or few apps that the user download? Oct 12 12:13:38 is there some service, where one can ask google android team on sdk Oct 12 12:18:39 @vklimov try to search a google groups. Oct 12 12:35:40 sup dog Oct 12 12:44:22 if i add an ontouchlistener to a listview how do i get the element which was touched? Oct 12 12:48:45 kr1d: onItemClickListener Oct 12 12:49:55 Ev0ox-: i know but i need the action_down and action_up events as well Oct 12 12:50:34 i have to measure the time how long a listitem was clicked Oct 12 12:52:00 @randomsort so i can to create a few app, and insert in an big app? Oct 12 13:41:13 where can I get those menu dots so I can draw them manually in my application? Oct 12 13:59:40 I have a question about the design of my server Oct 12 13:59:52 sasson: go Oct 12 14:02:41 Hello Oct 12 14:02:46 I am Japanese Oct 12 14:02:52 I live in Japan Oct 12 14:03:18 hello all how to check (object instanceof ArrayList) ? Oct 12 14:03:19 I want to put on PNG file in Button Oct 12 14:03:47 and cast list= (ArrayList) obj without warnings Oct 12 14:04:00 In my case, png file on the server Oct 12 14:04:04 bingels: I think you just answered your own question. I don't think that you can use instanceof for generics. That's really a #java question Oct 12 14:04:14 licksjp: download the file, use setBackgroundImage. Oct 12 14:04:32 lov ty Oct 12 14:06:30 the server side manages "jobs", each "job" is getting GPS locations msgs from android application user. I wonder if I should keep the data od the "jobs" on the server as datasote, google cloude sql, or distribute the information back to the android application to do the calculation on the phone and not on the server... the gps data is not that important as I keep on updating it as I get Oct 12 14:06:30 new information from the users. so I think that keeping an updated database would be a waste and resources and $... but maybe I'm wrong (not that much data to be worried about $) Oct 12 14:06:56 datasote = datastore Oct 12 14:10:42 Hi Oct 12 14:11:02 I am new on android, sorry for my question Oct 12 14:13:00 sasson: your data is only submitted back to the user ? like taking the GPS making your calc and going back to the app Oct 12 14:13:41 i guess you would need to think if there's any useful ness you can get out of storing the data Oct 12 14:14:01 like previous history , travel trends to eventually pitch local deals or something Oct 12 14:14:48 sasson: huh? Oct 12 14:14:51 is there any info on offline speech recognition api?? i'm googling all day long but similar questions are without answer. any help... Oct 12 14:14:54 sasson: that's really a decision that YOU have to make Oct 12 14:15:08 vklimkov: not built into the standard APIs, sorry. Oct 12 14:15:10 lov: you do freelance work ? Oct 12 14:15:14 I get the latitude as double via: double latitude = gps.getLatitude(); Oct 12 14:15:14 but I need it for a httppost as a string how can i get this? Oct 12 14:15:22 drumer306: $200/hr. If you're willing to do that, I'm willing to talk. Oct 12 14:15:45 nice ! i just had a question can i PM ? Oct 12 14:15:50 sure. Oct 12 14:28:04 thanks guys I'll think about the needs for that data... Oct 12 15:00:06 guys, what kind of server I use for a mobile application? Oct 12 15:00:59 whatever, as long as it works for you Oct 12 15:01:18 Heya! Oct 12 15:01:46 aletegagni_2: you'll have to be more specific Oct 12 15:02:00 what kind of server I use for a mobile application? okay if I contacted a provider for websites? okay if I ask for the use of the database as if it were for a website? Oct 12 15:03:07 not really on-topic, but server-side is whatever fits your application Oct 12 15:03:19 (and budget) Oct 12 15:03:29 Ahh .. this is for developing apps, not developing Android? Oct 12 15:04:16 Android in primis, then other. Oct 12 15:04:32 it's an information. Oct 12 15:04:39 Dabian: It's primarily for developing apps. Technically it's for platform too, but you won't get a lot of help. Oct 12 15:04:49 your best bet for platform help is to use the mailing list Oct 12 15:04:54 I once heard #android was supposed to be for the platform Oct 12 15:04:59 hahaha Oct 12 15:05:01 good luck with THAT Oct 12 15:05:01 but it must have been short-lived Oct 12 15:05:08 there's #android-platform but it's mostly dead. Oct 12 15:05:34 i'm assuming most of you have the Facebook android app. know the sidebar for private messaging? is that a custom control, or something in the Android api? specifically, the ability to swipe to bring in a sidebar like that.. or swipe in a 2nd layout, without pushing it all the way out Oct 12 15:07:12 lov: I am trying to get started with application development. Oct 12 15:07:39 lov: I am struggling a bit to get eclipse Helios. Oct 12 15:08:05 Dabian: there's ##eclipse for eclipse help Oct 12 15:08:06 blob4000: https://github.com/SimonVT/android-menudrawer <-- something like that? Oct 12 15:08:40 lov: Oh ... I am managing, its just a struggle. :) Oct 12 15:09:02 lov: I also managed to setup an adb or what its called? Oct 12 15:09:09 avb? Oct 12 15:10:41 avd? Oct 12 15:10:58 lov: The emulator or virtual tablet/phone. Oct 12 15:11:02 abc? Oct 12 15:11:07 Leeds: hehe :) Oct 12 15:11:18 easy as 1-2-3! Oct 12 15:12:15 does anyone know what the best way to calculate the size of a multi-dimensional array in memory would be? Oct 12 15:14:30 p_l: that's great thank you! Oct 12 15:15:23 cpetersen4: it's reasonably easy to estimate (product of the dimensions times the size of the object it's storing), but if you want to be more accurate you can always profile Oct 12 15:16:45 lov: You know when you develop apps, you try to run the app on your computer first, to see if you're doing something right, before downloading to your device. Oct 12 15:17:39 Dabian: typically you deploy directly to device Oct 12 15:17:44 the emulator is generally much slower than running on device Oct 12 15:18:23 Unless you need to test on a certain configuration type which you don't have the hardware for, don't bother with the emulator. Oct 12 15:18:31 lov: OK Oct 12 15:18:41 lov: Well, I haven't setup the USB-thingy yset. Oct 12 15:18:43 yet. Oct 12 15:18:54 it's pretty trivial. Oct 12 15:20:10 lov: I guess so, but before I have any software to test, its hard to test if I set it up right. :) Oct 12 15:21:40 You can use the hello world app Oct 12 15:21:47 really, as long as DDMS sees your device, you're set. Oct 12 15:24:22 lov: DDMS? Oct 12 15:24:48 Is that a plugin to eclipse or part of the "android program" ? Oct 12 15:26:54 sorry guys, but can i to use a database from a provider, like a web site? Oct 12 15:28:13 aletegagni_2: I'm not really sure what you're asking. Oct 12 15:28:35 aletegagni_2: I'd strongly recommend against trying to use a web based database for a local lookup. I'd recommend pulling a dump of the database, or appropriate info, at the appropriate time. Oct 12 15:28:53 You should really consider having service calls here, and remember that there may be a (relatively) huge delay because of the network. Oct 12 15:29:37 rights. Oct 12 15:30:28 i've got an app that needs to display times and locations, (and act based on these) - what can i use best to read these from? it's a list Oct 12 15:30:37 download a .csv file from a location Oct 12 15:30:46 and based on that display the times/locations? Oct 12 15:33:22 @lov In step of development, can i to create a database in mysql ? Oct 12 15:37:40 Anyone? Oct 12 15:39:33 aletegagni_2: if it's local use the provided sqlite database Oct 12 15:39:45 mobile8: it depends on what data you need Oct 12 15:40:05 mdwright: how do you mean? Oct 12 15:40:23 it's possible to have my app download a .csv file and parse it (the app parses it) Oct 12 15:41:18 mobile8: Yes, of course that's possible. And if the data you need is static just use whatever format / data source is most correct / convenient / useful Oct 12 15:42:25 but if you're doing a world clock, for example, you only really need the list of timezones, since the Time APIs in Java will handle figuring out what time it is for a given time zone Oct 12 15:42:27 @mdwright ok, and in step of product? Oct 12 15:42:50 aletegagni_2: I'm sorry, I'm not sure I understand what you're asking Oct 12 15:44:46 @mdwright I would to know that database i must to use for an application. Oct 12 15:45:00 that type of database. Oct 12 15:46:27 mdwright: yes, Oct 12 15:46:53 mdwright: and having my app trigger an alarm (its own) if the current time matches the selected time in my app? Oct 12 15:53:07 aletegagni_2: android typically uses sqlite3 Oct 12 15:55:12 @lov : ok, Oct 12 15:55:58 I can rely on that provider for the sqlite database? Oct 12 15:56:26 What is the thing about JAVA. Oct 12 15:57:01 What is proprietary what is not. And how Google accommodate this, (how about license) in Android ? Oct 12 15:59:03 bluesm: ask Oracle that one. Oct 12 15:59:16 aletegagni_2: technically, no. You should never assume what the database backing is. Oct 12 15:59:21 However, for now, it's pretty safe to assume sqlit3. Oct 12 15:59:24 *sqlite3 Oct 12 15:59:52 bluesm: you're unlikely to get any answers in here about it. I suggest you read some of the articles that came out around the oracle trial for the official explanations Oct 12 16:01:51 mdwright: So there is trial... Oct 12 16:01:58 @lov ok, so i must to create the database in sqlite on my pc, and to create my application, and then to post my application. Oct 12 16:02:01 it's true? Oct 12 16:02:14 sqlite3* Oct 12 16:04:18 Will eclipse 3.7 do? Oct 12 16:05:28 aletegagni_2: no Oct 12 16:06:09 aletegagni_2: http://developer.android.com/training/basics/data-storage/databases.html Oct 12 16:06:24 @mdwright and how can I proceed? Oct 12 16:08:19 ok, perfect thanks. Oct 12 16:08:28 sure thing :) Oct 12 16:14:03 a question, I predict if a login phase (which I can do via social networks) I have set up the database in an accurate way? Oct 12 16:14:28 Do any of you use gentoo, and know which overlay I can get Eclipse? Oct 12 16:19:49 Dabian: probably easier to download it into a directory in your home dir, to be honest. Otherwise it should be in stock gentoo Oct 12 16:20:10 Dabian: I say easier to dump into home b/c I at least have to edit the ini file to keep it from running out of ram and dying when i load in enough external libs Oct 12 16:23:24 How much have you? Oct 12 16:26:43 dragorn: WHich package is it, anyhow? eclipse-sdk, or (ant-)eclipse-ecj Oct 12 16:26:50 every time I have installed eclipse, or eclipse and adt, or the android tools from a distribution package it has been badly broken. Oct 12 16:27:06 just do what dragorn suggests and make your own setup in a directory somewhere. Oct 12 16:27:17 Dabian: I don't recall, not on gentoo on this laptop at the moment Oct 12 16:27:24 fnord`: Are you in gentoo as well? Oct 12 16:27:40 Dabian: no Oct 12 16:28:16 dragorn: One is called "Eclipse Compiler for Java", the other "Eclipse SDK" and the last one is "ANT ADAPTER - something" Oct 12 16:28:25 ADAM ANT? Oct 12 16:28:54 Leeds: "Ant Compiler Adapter for Eclipse Java Computer", actually. Oct 12 16:29:10 Dabian: http://www.youtube.com/watch?v=4B2a6l6wM2k Oct 12 16:29:11 Compiler, not computer Oct 12 16:31:23 Anyhow, is Eclipse worth using, or can you do fine using Emacs? Oct 12 16:31:59 (My impression was that Eclipse was more or less ineviable, but I could be wrong). Oct 12 16:32:19 Leeds: Nice music. Oct 12 16:32:47 you can do fine in vim Oct 12 16:33:14 wb fnord` Oct 12 16:33:39 =o Oct 12 16:33:41 Which Eclipse should I download? There seems to be about 12 downloads? Oct 12 16:33:49 eclipse classic latest Oct 12 16:33:53 http://www.eclipse.org/downloads/ Oct 12 16:34:02 Ahh .. thanks. Oct 12 16:49:52 Can I use an adapter for a gridview with widgets (framelayouts) rather than views? Oct 12 16:51:34 JakeWharton, thanks for your recommendation. "Just Guice.... It's cleaner that way" :-) Oct 12 16:51:42 excellent! Oct 12 16:52:08 yeah, my bootstrap class is like 100 lines. And all I needed to inject was preferences and the base context. Oct 12 16:53:32 Things actually seem snappier too, because all that unessary event dispatch and view injection passes aren't happening Oct 12 16:55:33 Yeah they should be. Now I just need to get you to switch to Dagger which avoids all runtime reflection and uses code-gen... but I'll forego on that for now Oct 12 17:04:19 codegen = boo. Oct 12 17:12:33 Hey gang, I know this is nooby, but I can't get my phone to show up in adb devices. It's been working fine for weeks. I've restarted the adb server, I've reset the phone, USB debugging is on Oct 12 17:13:02 restarted* the phone Oct 12 17:13:02 fakingfantastic: what OS Oct 12 17:13:05 Mac Oct 12 17:13:35 try different usb ports and toggle debug on and off again on the device. I don't use a mac so that's as much help as I can offer. Oct 12 17:14:23 you may not own a mac, but for whatever reason, that worked Oct 12 17:16:11 Hello, I'm getting a DF-DFERH0-01 error when trying to purchase an in-app test product. The ID of it is "android.test.purchased" Oct 12 17:16:28 Is this a common issue? :) I can purchase my apps actual in-app products just fine. **** ENDING LOGGING AT Fri Oct 12 17:18:10 2012 **** BEGIN LOGGING AT Fri Oct 12 17:20:22 2012 Oct 12 17:34:01 where can I get an image to install JB on my test device (Galaxy S3)? Oct 12 17:35:31 try #android-root Oct 12 17:37:22 how does Google expect us to validate our apps against JB before it releases? I'm not rooting my test device as that isn't an accurate test. I my as well just use the simulator. /rant - thanks fnord` Oct 12 17:40:34 cynicaljoy: that's what the emulator is for Oct 12 17:40:58 anyone here using spring for android and resttemplate? Oct 12 17:41:09 hey guys, is there an easy way to make text line up? Oct 12 17:41:18 i've written quite a bit of rest code on android and I'm willing to try something that makes it all cleaner Oct 12 17:41:21 cynicaljoy: if you're so bothered, you get a nexus Oct 12 17:41:36 my app currently looks like this, http://puu.sh/1e6o0 Oct 12 17:41:37 Leeds: emulation isn't perfect - by definition its an immitation Oct 12 17:41:45 but i would like to somehow make it look neater Oct 12 17:41:50 actually, no it isn't - that's simulation Oct 12 17:41:52 Leeds: I think we are going to end up doing just that Oct 12 17:42:34 the whole point of the emulator is that it emulates at a hardware level - what you're doing is running a virtual Android device, so the *software* side isn't emulated, the hardware is Oct 12 17:42:40 Leeds: An emulator is closer than a simulator, but both still imitate the target platform in some manner. Oct 12 17:43:45 the same argument can be made for testing on only one device, versus all the different android devices that will run your app. Oct 12 17:43:57 jfpoole: there is no single target hardware platform - the emulator is no more of an imitation than other random platforms Oct 12 17:44:54 Leeds: On a hardware platform you're at least running on a real ARM processor, rather than one implemented on software. Oct 12 17:45:02 for a start, Android runs on at least 2 (officially, plus at least one more in the market) different hardware platforms - ARM and x86 Oct 12 17:45:09 MIPS being the unofficial one Oct 12 17:45:26 Leeds: Right, plus you've got two different flavors of ARM. Oct 12 17:45:33 a lot more than 2 Oct 12 17:45:33 Is there anything wrong in calling onBackPressed() instead of finish(); in my activities? Oct 12 17:45:47 Leeds: I'm talking about instruction sets, not implementations. Oct 12 17:45:55 NEON/non-NEON/Tegra/non-Tegra... Oct 12 17:46:06 napster: what is the intent? if you are calling it with intent to finish the activity, then you should call finish(). Oct 12 17:46:19 people do override methods. Oct 12 17:46:47 fnord`: I do override onBackPressed() Oct 12 17:46:57 plus onBackPressed begins with on* and generally you don't call those -- they are supposed to be event handlers. Oct 12 17:46:58 so that I can call it from inside my activity Oct 12 17:47:10 ok fnord` Oct 12 17:47:13 if you want to be neat, put your code in another method Oct 12 17:47:18 then call that from onBackPressed Oct 12 17:47:26 shouldn't "ndk-build clean" cleanup all the directories it created as well? Oct 12 17:47:31 and then you don't have the problem of "calling onBackPressed" when it's awkward Oct 12 17:47:38 fnord`: that looks better, thanks Oct 12 17:47:49 np Oct 12 17:48:13 Leeds: Regardless, if your assertion is that you should test on a wide variety of hardware then I'm in agreement with you. Oct 12 17:48:37 jfpoole: absolutely... and if you don't have access to a wide variety of hardware, do what you can and fill in with the emulator Oct 12 17:49:06 Or come up with a large pool of beta testers. Oct 12 17:49:19 :-) Oct 12 17:49:30 that's phase 2 Oct 12 17:51:33 Eh. If I've learned anything from Android development is that you'll catch your hardware-specific bugs well after you think you're done. Oct 12 17:55:17 well, I was enjoying watching the app clinic until youtube fell over Oct 12 18:00:20 Do layouts count as Views? Oct 12 18:00:38 Because public View getView(...) apparently doesn't complain if I tell it to return a FrameLayout Oct 12 18:01:27 yeah, Layouts are (generally?) Views Oct 12 18:01:46 Well that makes things easy Oct 12 18:04:01 Yes, they are ViewGroup(s) and ViewGroup inherits from View Oct 12 18:14:13 Is grid scrollable by default? Oct 12 18:14:21 GridView* Oct 12 18:14:33 Or should I stick it under a scrollview? Oct 12 18:15:27 A grid view scrolls by itself Oct 12 18:15:31 Woot. Oct 12 18:17:04 http://www.youtube.com/watch?v=Cz2-ukrd2VQ Oct 12 18:17:10 Neat, installing eclipse in my home dir, seems to take care of a lot of problems! Oct 12 18:18:35 Let's see Oct 12 18:18:40 This might work or it might fail horribly. Oct 12 18:18:55 Wow, it worked. Oct 12 18:19:04 And it's really fast. Oct 12 18:19:14 The things I put in the grid view look like pancakes tho Oct 12 18:19:17 But I'm sure that's easy to fix. Oct 12 18:22:50 god damn it why must eclipse be such a horse banging skank Oct 12 18:25:31 ron_frown: it was born that way, it's not nice to make fun Oct 12 18:26:51 it crashes so much, its up and down like a whores pants on payday Oct 12 18:29:51 killall -9 eclipse, it's cleaner https://lh6.googleusercontent.com/-SjH3_8x6Em0/T3EqBx6hLII/AAAAAAAAL20/jdFmJsowhDw/dropit.jpg Oct 12 18:31:19 killall -9 java Oct 12 18:42:41 How do I fix the height of GridView rows? Oct 12 18:42:54 I basically want the column height to be equal to the width of one cell Oct 12 18:42:58 So each cell would be square. Oct 12 18:46:53 if i convert a file into any standard .bmp format (interlaced, not interlaced, etc.), will the bitmapfactory be able to turn it into a Bitmap object? Oct 12 18:47:43 RazielZ: wrap_parent maybe? Oct 12 18:48:12 Will Google Play let you upload different apks that target different differences if the version code is the same? Oct 12 18:49:18 Xeeshu, what should I set that to? Oct 12 18:50:03 As in, to each element that's in the adapter or to the gridview itself? Oct 12 18:50:10 thenovelist: Version code has to be different Oct 12 18:50:36 I've always had the version code be related to the version number (e.g. 1.2.0 was 120 version code) Oct 12 18:50:40 so how should I do it? Oct 12 18:50:43 The device will get the apk with the highest version code that matches their device Oct 12 18:50:59 Use a different number? Oct 12 18:51:06 thenovelist: versionName is totally arbitrary Oct 12 18:51:11 you can make it "super zebra" or something Oct 12 18:51:11 Errr, Shouldn't have answered that. I am new to Android-Dev myself. My first week of learning. I just wanted to help. Its a suggestion, thought it may help, RazielZ :) Oct 12 18:51:14 Come up with a different scheme Oct 12 18:51:27 exception being the Amazon Appstore, because those dumb fuckers use the versionName and require a major.minor.release format Oct 12 18:51:27 It's fine :D Oct 12 18:51:32 fucking idiots. Oct 12 18:52:01 maybe (1120 for uncompressed binaries, 2120 for tegra devices and 3120 for PowerVR hardware?) Oct 12 18:52:09 not a good idea. Oct 12 18:52:17 Remember, versionCode has to be higher than was there before. Oct 12 18:52:34 I'd recommend having the same versionCode for each release at a certain release date Oct 12 18:52:40 but having a different versionName as appropriate Oct 12 18:52:51 your versionName can be 1.2.0, 1.2.0 Tegra, and 1.2.0 PowerVR Oct 12 18:53:40 lov, you can't have two apk's with the same versioncode tho? Oct 12 18:53:45 and the version codes would be? Oct 12 18:54:14 sure you can. Oct 12 18:54:28 It won't let me with the same version code Oct 12 18:54:30 market supports versioning based on minSdk Oct 12 18:54:32 oh? Oct 12 18:54:34 hmm Oct 12 18:54:41 maybe I'm wrong Oct 12 18:54:50 maybe it's because that version code is already active Oct 12 18:55:01 and I have to uploading an activate a new version code all at once Oct 12 18:58:15 oh, I need to switch to advanced mode Oct 12 18:58:40 that's what she said Oct 12 18:58:41 ;) Oct 12 18:59:13 WTF, I'm in advanced mode Oct 12 19:01:08 I have a Activity that get via gps the latitude, I want use this string in a asynctask, how can I do that? Oct 12 19:03:38 hmm. http://blog.recursivepenguin.com/?p=96 Oct 12 19:04:13 @drawable/anull Oct 12 19:04:15 lololol Oct 12 19:06:20 when I nopaste my Code, someone can help me? Oct 12 19:08:24 Hi I am a newbie. I have a eclipse problem with my layout file. I can't open it with "Android Common XML Editor" Oct 12 19:09:38 I can open other layout files with "Android Common XML Editor". Oct 12 19:09:50 sshafiq Oct 12 19:23:16 how do I get an app I installed through eclipse (intellij, really) to show up on the apps list of a phone Oct 12 19:23:20 it shows up on teh emulator Oct 12 19:23:23 the Oct 12 19:23:47 and it shows up in the application manager Oct 12 19:23:52 but not in the apps list Oct 12 19:26:39 when you say "The apps list" Oct 12 19:26:41 You mean the launcher? Oct 12 19:26:52 You need an activity with CATEGORY_HOME and ACTION_MAIN iirc Oct 12 19:28:01 anyone ever played around much with ViewPager? Oct 12 19:28:09 yes Oct 12 19:28:10 i'm having some weird troubles with a subclass of it Oct 12 19:29:26 i wrote a PagerAdapter implementation to accept a BaseAdapter, so you could still use the general BaseAdapter pattern with ViewPager Oct 12 19:29:32 works great. recycles views, everything. Oct 12 19:30:07 but if i then subclass ViewPager and implement my own onMeasure method, to limit the VP's aspect ratio, pages start disappearing Oct 12 19:30:19 i can scroll thru them, but every third just isn't rendered. Oct 12 19:31:03 i wish i had a 8 core xeon right now. Oct 12 19:31:13 hi there Oct 12 19:31:23 building AOSP right now Oct 12 19:31:33 hope you've got 16GB of memory Oct 12 19:31:47 i made 16 GB of swap space Oct 12 19:31:47 is it possible to create a lockscreen that unlocks on nfc? (with pin or such as backup) Oct 12 19:31:54 + 2gb of ram Oct 12 19:31:58 isn't that good enough? Oct 12 19:32:07 16gb ? Oct 12 19:32:08 why so big Oct 12 19:32:14 to be safe lol Oct 12 19:32:15 hahaha Oct 12 19:32:17 i dont have 16gb of ram Oct 12 19:32:21 you have 2GB of ram? Oct 12 19:32:23 oh man. Oct 12 19:32:27 i have 8 Oct 12 19:32:29 enjoy your disk thrashing like you've never seen. Oct 12 19:32:37 is 8 gb ok ? Oct 12 19:32:39 and 6 cores ? Oct 12 19:32:39 yeah, AOSP is a hungry beast Oct 12 19:32:40 lov: the "all apps" screen -- I'm guessing this is the launcher Oct 12 19:32:42 8gb is doable Oct 12 19:32:42 well, it'll take a while Oct 12 19:32:50 i expecti t otake a few hours Oct 12 19:32:53 mheld: right. It just looks for intent filters with ACTION_MAIN and CATEGORY_HOME Oct 12 19:33:04 it was annoyingh Oct 12 19:33:05 so if your application has an activity with that filter in the manifest, that activity shows up. Oct 12 19:33:09 lov: I didn't think it was the launcher. I thought that was the "home screen" Oct 12 19:33:10 on an 8x2.3ghz i7, with 16gb ram, it takes me roughly an hour to do a full build from scratch Oct 12 19:33:13 You can actually have multiple activities with that filter, and they'll all show up. Oct 12 19:33:14 dealing with the terms for the popitary blobs Oct 12 19:33:20 you psuh enter to many times and oop you have to do it again Oct 12 19:33:24 mheld: the launcher is the term for the "home screen" Oct 12 19:33:27 tophyr: thanks for info Oct 12 19:33:28 lov: erm, I thought the launcher = home screen Oct 12 19:33:30 on a dual-core with 8gb, it took me about 5hr Oct 12 19:33:36 I'm assuming you're really talking about the app drawer Oct 12 19:33:38 lov: I'm referring to all the apps Oct 12 19:33:40 YES Oct 12 19:33:41 that one Oct 12 19:33:42 2500k here Oct 12 19:33:43 yes, right. Oct 12 19:33:45 how long do you think? Oct 12 19:33:45 so, as I said Oct 12 19:33:49 ACTION_MAIN and CATEGORY_HOME Oct 12 19:34:01 tophyr: how much ram was used on 16 gb ? Oct 12 19:34:20 action.MAIN makes sense, as does category.LAUNCHER, but category_home? Oct 12 19:34:21 i'm buildilng for the Nexus S 4g Oct 12 19:34:25 gorudonu: all of it? Oct 12 19:34:31 wow Oct 12 19:34:34 impressive Oct 12 19:34:35 i really wish i had a 8 core xeon Oct 12 19:34:54 I cant remember how long I've been compiling gentoo with kde Oct 12 19:34:59 maybe 3 hours Oct 12 19:35:04 OS X is like linux, all of its RAM is pretty much always in use Oct 12 19:35:17 is it sad Oct 12 19:35:21 i'm compling it in vmware? Oct 12 19:35:21 tophyr: it's *nix after all Oct 12 19:35:27 pclov3r: LOOOOOOOOOOL Oct 12 19:35:32 take a good nap then Oct 12 19:35:37 pclov3r: i pity you Oct 12 19:35:41 forget about my question, found something about it :) Oct 12 19:35:44 lov: I've got this in my manifest -> http://pastie.org/private/lbfwjrrvts8fzij6phcja Oct 12 19:35:54 i gave it 4 cores tho Oct 12 19:35:57 i will eventually be doing vmware builds as well, but the host machine will have 64gb ram Oct 12 19:36:01 lov: it doesn't show up in the launcher Oct 12 19:36:10 as long as it works who cares? Oct 12 19:36:15 lov, what the hell: http://i.imgur.com/Mt2sd.png Oct 12 19:36:17 erm, drawer Oct 12 19:36:18 and i'm just going to make a 30gb tmpfs for the build partition Oct 12 19:36:57 so if i'm right with aosp Oct 12 19:37:06 it should make a boot.img and a system directy Oct 12 19:37:12 i can just thow in a zip and flash it? Oct 12 19:37:20 or will it auto make the zpi Oct 12 19:38:10 it'll make a zip if you do 'make otapackage' Oct 12 19:38:15 thenovelist: not really sure how you properly provide different apks for different architectures like that, sorry. Oct 12 19:38:22 otherwise it makes a bunch of images that you fastboot flash Oct 12 19:38:33 i see Oct 12 19:38:37 so i can do make otapackate later? Oct 12 19:38:41 once the build is complete Oct 12 19:39:03 or was i suppsto do that before hand Oct 12 19:39:13 pclov3r: you can do it after Oct 12 19:39:26 otapackage depends on the .img output stuff Oct 12 19:39:37 make is smart enough to realize that those dependencies are already built, so it won't rebuild them Oct 12 19:39:46 thats good Oct 12 19:40:18 hop in #android-platform.. it's often pretty empty but it's more oriented toward platform building instead of specifically app building Oct 12 19:40:29 lov: any thoughts? Oct 12 19:40:46 mheld: I've told you what you need to do. Oct 12 19:40:58 lov: CATEGORY_HOME puts it on the home screen -- I don't want this Oct 12 19:41:05 oh, whoops Oct 12 19:41:08 er Oct 12 19:41:13 home screen, launcher, whatever Oct 12 19:41:23 the app doesn't show up in the drawer at all Oct 12 19:41:52 CATEGORY_LAUNCHER Oct 12 19:41:53 sorry Oct 12 19:41:56 >_< Oct 12 19:41:57 I've got that in there Oct 12 19:42:04 still no dice Oct 12 19:42:24 try CATEGORY_HOME ? Oct 12 19:42:31 * lov looks up what his actually is Oct 12 19:42:38 so i guess there was some montior changes in 4.1.2 Oct 12 19:42:42 yeah Oct 12 19:42:49 I've got action.MAIN and category.LAUNCHER Oct 12 19:42:50 minor Oct 12 19:42:54 lov: ha, me too Oct 12 19:42:55 not sure why it wouldn't show up in the app drawer for you, sorry Oct 12 19:43:06 this is a silly question but did you possibly disable the app? Oct 12 19:43:13 is that bad I like stock android UI and hate skinned versons? Oct 12 19:43:17 if you go into settings -> applications -> your app, is it disabled? Oct 12 19:43:26 pclov3r: no, it means that you have excellent taste Oct 12 19:43:44 hi ppl Oct 12 19:43:47 sorry the custom laucnerhs Oct 12 19:43:48 lov: it's not Oct 12 19:43:53 all piss me off lol Oct 12 19:43:57 and the skiined ui runs android Oct 12 19:43:59 skinned Oct 12 19:44:02 it's like WHY! Oct 12 19:44:06 How is the better? Oct 12 19:44:06 What should be faster, sending a large string through intent and decoding it on the other side or sending an int through intent and loading the string from a file that has that int as name? Oct 12 19:44:23 have any of you used the Foursquare API on android? Oct 12 19:44:58 RazielZ: lot of factors in that comparo Oct 12 19:44:58 I`m having issues with the "herenow" call Oct 12 19:45:07 hnn Oct 12 19:45:10 my update system is bad as fuck Oct 12 19:45:11 basically your question is "which is faster, IO or CPU" Oct 12 19:45:28 my gut says CPU Oct 12 19:45:41 RazielZ: depends on the size of the string. Oct 12 19:45:46 mine too, *however*, intents are not designed for sending large *anything*s Oct 12 19:45:55 if we're just talking a few OK, it's probably OK. Oct 12 19:45:58 if you need to send more than a few kb, don't do it via extras Oct 12 19:46:04 But if it's something that really ought to be a file, you should really refer to a file. Oct 12 19:46:17 *a few K Oct 12 19:46:25 * tophyr ninja fu Oct 12 19:46:42 * lov throws a smoke bomb and vanishes Oct 12 19:46:59 So... I have this file... with a version... and all these other files with lists that need to be synced, each basically listing the changes from the last one... Oct 12 19:47:23 lov: turns out I had a data scheme that swallowing up launcherability Oct 12 19:47:24 and all these little files with heroes in them... but if I check each one for consistency or even existance every time I startup it makes startup pretty slow Oct 12 19:47:28 mheld: oh ha Oct 12 19:47:30 But if I don't it might be prone to errors and crap Oct 12 19:47:32 hnnn Oct 12 19:47:41 mheld: I don't see that in your code snippet Oct 12 19:47:53 RazielZ: consider not storing things in files? Oct 12 19:47:59 Well Oct 12 19:48:05 RazielZ: you don't have to use flat files. You can use databases or other structures. Oct 12 19:48:08 lov: I removed it for obscuring purposes -- not the best idea Oct 12 19:48:15 * lov glares at mheld Oct 12 19:48:30 hmmm Oct 12 19:48:39 So a database should be more efficient? Oct 12 19:48:41 alternately, you could store everything in one file. Oct 12 19:48:44 I don't know. It might be. Oct 12 19:48:50 I totally depends on what you're doing. Oct 12 19:49:04 opening a bunch of little files will be slower than reading/parsing one large file Oct 12 19:49:09 If I store everything in one file it's harder to modify a certain entry Oct 12 19:49:14 hi, has anyone here used the Foursquare API ? Oct 12 19:49:20 Like, if only one needs updating Oct 12 19:49:22 * lov raises an eyebrow Oct 12 19:49:28 yes, this is true. Oct 12 19:49:38 but you might just be able to perform random access into the file. Oct 12 19:49:58 you should sit down and think about your data structure that you're using for storage, with an eye towards performance. Oct 12 19:54:51 blah Oct 12 19:54:55 * RazielZ puts more threads in. Oct 12 19:54:59 XD Oct 12 19:56:02 The quick fix to any performance problem Oct 12 19:56:03 huehue Oct 12 19:58:50 i sense a dilbert comic here with PHB telling dilbert to put more threads on the product listing Oct 12 20:00:27 tophyr: don't forget to mention cloud Oct 12 20:01:45 Bink: you mean CLOUD(tm)? Oct 12 20:13:42 oh Oct 12 20:13:53 was i suppto build aosp as root? Oct 12 20:13:59 suppsto? Oct 12 20:14:01 oops lol Oct 12 20:14:24 i guess i wasn't Oct 12 20:16:37 is there a way(besides stable id's) to get the instance of a checked item in a listadapter with a filter? Oct 12 20:24:41 anybdy ehere? Oct 12 20:24:43 here Oct 12 20:25:00 What do you mean by instance of a checked item? Just get it from your dataset Oct 12 20:27:16 Uh Oct 12 20:27:26 Any list type in java that uses strings for index? Oct 12 20:27:32 Or that can use irregular index values? Oct 12 20:27:38 ie 2, 8, 14 and so on Oct 12 20:28:00 SparseArray Oct 12 20:28:09 And HashMap for the strings Oct 12 20:28:17 Not really lists tho Oct 12 20:28:21 key/value Oct 12 20:28:22 looks fine Oct 12 20:28:28 Well Oct 12 20:28:31 if I can store something with a key Oct 12 20:28:34 and get it with that key Oct 12 20:28:34 it's fine Oct 12 20:29:32 i guess nobody knows if it's ok lol Oct 12 20:29:49 sorry SimonVT, was confusing 2 problems. one is: when a filter is added to arrayadapter it stops using the original dataset so I have to add data to the original set and the adapter seperately Oct 12 20:31:34 the other one is: when checking an item in a list and then filtering it it checks the same position as before. I'm now solving this by overriding arrayadapter's getView Oct 12 20:31:56 Just extend BaseAdapter, get full control of how it works Oct 12 20:32:06 +1 Oct 12 20:32:34 SimonVT, how do I fix gridview row height? I want row height equal to column width so the elements are squares. Oct 12 20:32:42 The elements are FrameLayouts. Oct 12 20:32:44 Once you override ArrayAdapter#getView, there's no point in using it anymore imo Oct 12 20:33:00 SimonVT hmm that would solve both problems, was putting it off because of the extra work but it may be the best way Oct 12 20:33:08 SimonVT thanks Oct 12 20:33:11 Make a ViewGroup that measures its height to be the same as the width Oct 12 20:33:26 A ViewGroup huh? Oct 12 20:33:38 So I should have my framelayout in that viewgroup? Oct 12 20:34:01 Also, there's a textview in that framelayout. I assume that won't be a problem Oct 12 20:34:20 A framelayout is a viewgroup as well Oct 12 20:34:28 Hmm Oct 12 20:34:31 if you make your own, probably no point in using framelayout Oct 12 20:34:55 I tried setting min height of the framelayouts but nothing changed Oct 12 20:35:10 (I know the width, it's constant, so I tried setting the height to that) Oct 12 20:36:49 is there any way to, or anything wrong with, storing an object in a dialogfragment instead of doing this bundle stuff? Oct 12 20:37:22 any layout == a viewgroup, pretty much Oct 12 20:37:24 You don't know the width at compile time Oct 12 20:38:16 muhoo: Configuration changes wipes the object, but not the bundle (setArguments) Oct 12 20:38:31 SimonVT, I don't? But it's 120dp :[ Oct 12 20:38:34 Hmm Oct 12 20:38:44 SimonVT: what kinds of configuration changes? Oct 12 20:38:55 e.g. orientation changes Oct 12 20:39:04 i get that bundles are stored, it seems they survive the activity getting destroyed and recreated Oct 12 20:39:24 SimonVT: ok, thanks, that makes sense. is that the main one to watch out for? Oct 12 20:39:36 Yeah Oct 12 20:39:37 Lots of others Oct 12 20:39:47 is there a list somewhere in the docs i could read? Oct 12 20:39:59 probably Oct 12 20:40:04 heh Oct 12 20:40:10 There's also the case where android reclaims your process Oct 12 20:40:16 well, i don't recall seeing one, which is why i'm asking. Oct 12 20:40:21 When it's started again, the bundle still exists Oct 12 20:40:25 oh, right. memory. Oct 12 20:40:47 hmm, ok, well that's kind of a big one. i'll have to deal with serializing objects and stuffing them into bundles (yecch) Oct 12 20:41:31 RazielZ: Say you have 3 items of 120dp side by side.. Fits perfectly on a 360dp wide screen, but what about on a 480dp wide screen Oct 12 20:41:32 or, maybe just recreate the dialog from scratch if it gets reconfigured. Oct 12 20:41:49 No, put it in the bundle Oct 12 20:41:53 SimonVT, true. Which is why I don't really like dp and I prefer using metrics.getWidthPixels etc Oct 12 20:41:54 Don't try to fight it Oct 12 20:41:54 But still Oct 12 20:42:15 Hardcoding a width just doesn't work very well with gridview Oct 12 20:42:32 Guess not Oct 12 20:42:37 But still Oct 12 20:42:47 Shouldn't setting min height of each element change something? Oct 12 20:43:00 Like, their height? XD Oct 12 20:43:03 SimonVT: ok. *sigh* thanks. Oct 12 20:43:09 match_parent is probably what you want.. Then you'll get passed an exact width to your viewgroups onMeasure.. Just set the same as the height Oct 12 20:43:14 Also, you get to learn about viewgroups Oct 12 20:43:15 win Oct 12 20:43:32 It worked fine when the framelayouts were in a relativelayout :[ Oct 12 20:43:33 xD Oct 12 20:43:58 less nesting ;d Oct 12 20:44:14 (another use for custom viewgroups) Oct 12 20:44:16 Blah I'm confused Oct 12 20:44:23 XD Oct 12 20:44:31 heh, i got so fed up with complex nesting that i just created my own custom viewgroup Oct 12 20:45:00 So I have this framelayout with a textview in it and a backgroundrawable that I want to have a certain sizeeee. Oct 12 20:45:07 And there's a gridview with lots of those. Oct 12 20:45:17 So I have to take that framelayout+textview and make it into a custom viewgroup? Oct 12 20:45:20 wasn't as hard as i thought it'd be, though the android model of measure being a separate step from layout made my life harder Oct 12 20:46:42 RazielZ: that's pretty similar to what i needed. it was a bunch of views representing points, with layout in back with a canvas on it for lines between the points Oct 12 20:47:10 So where do I even start Oct 12 20:47:35 the aha moment for me was lookingi at the code of absolutelayout Oct 12 20:47:47 it's the simplest of the layouts (deprecated, probably why) Oct 12 20:48:32 you tell the children to measure themselves, then you take that inforfmation, and you put them wherever the hell you want them (in onlayout) Oct 12 20:48:56 two methods, onmeasure, and onlayout. understand those and it all makes sense Oct 12 20:50:08 but, i'm an android newb. others may be able to explain it better Oct 12 20:51:18 I don't get where exactly the gridview takes the height from Oct 12 20:51:30 Since right now it's making the elements about double the height of the textview that's in them Oct 12 20:51:33 Which seems pretty damn random. Oct 12 20:51:50 a combination of its own layout properties and interrogating its children about how big they want / need to be Oct 12 20:54:01 Which of its layoutproperties should I look at so it stops making the children smaller then they want/need to be? Oct 12 21:04:25 hey guys, trying to load 9 patch splash screen Oct 12 21:04:54 no clue what to do lol :( Oct 12 21:05:41 have you considered not making the user wait to run your app? ;) Oct 12 21:05:55 when I take a picture with Camera.takePicture(), is the pictureCallback in the same thread? I'm trying to figure out how to take multiple pictures as fast as possible (basically I want 20 or so full resolution uncompressed photos in the shortest time possible) Oct 12 21:06:25 is there a way to tell if a view in a list view is fully visible? Oct 12 21:07:20 edman007: pretty sure the callback would run on the main thread Oct 12 21:07:41 that's a pretty firm rule about OS callbacks to user code, except under carefully documented circumstances Oct 12 21:09:27 ctate, alright, thanks Oct 12 21:11:14 ctate, and one more question then, the buffer the picturecallback gets, is it reused by the OS? (can I pass it to another thread, and then exit the callback while the other thread works on it, or does my callback have to clone() the buffer?) Oct 12 21:12:35 ctate, asynctask calls back on the thread the classloader ran when it loaded asynctask :) Oct 12 21:12:51 take a look at addRawImageCallbackBuffer(), edman007 Oct 12 21:13:12 canadiancow: is that not documented as such? Oct 12 21:13:34 it wasnt clear the last time my former colleague looked Oct 12 21:13:51 we hit a problem where we initialized a third party library on a background thread Oct 12 21:14:01 and it triggered asynctask to be loaded Oct 12 21:14:05 which fucked up the rest of the app Oct 12 21:14:39 blame romainguy Oct 12 21:14:54 heh Oct 12 21:20:46 could someone take a quick look at this and let me know if its fixable without a stock flash http://nopaste.info/4c8c68e852.html Oct 12 21:20:57 bluetooth will not stay on. It comes on for a second then shuts off. Oct 12 21:22:16 something is deeply fscked in your build Oct 12 21:22:33 i can see that Oct 12 21:22:43 you're getting native crashes, plus the log contents themselves seem to be garbled Oct 12 21:22:58 the beginnings of logged lines are clipped Oct 12 21:23:16 that could be the paste service there Oct 12 21:24:01 hm, some of them are the dvm aborting Oct 12 21:24:01 DisplayMetrics{density=0.0, width=0, height=0, scaledDensity=0.0, xdpi=0.0, ydpi=0.0} Oct 12 21:24:08 Why's that happening? :[ Oct 12 21:24:10 but some look like outright native crashes Oct 12 21:24:25 RazielZ: how and when are you getting that, and on what device / OS rev? Oct 12 21:24:32 [also, stock or custom?] Oct 12 21:24:49 On several devices, trying to access displaymetrics in a adapter Oct 12 21:25:03 http://pastebin.com/raw.php?i=M3cx3jHp Oct 12 21:25:13 public class HeroButtonAdapter extends BaseAdapter { Oct 12 21:25:19 private DisplayMetrics metrics = new DisplayMetrics(); Oct 12 21:25:22 Basically. Oct 12 21:25:24 a what kind of adapter, and at what point during the activity lifecycle? Oct 12 21:25:26 oh Oct 12 21:25:38 well duh; you're just creating a new uniniitalized one and of course it's empty Oct 12 21:26:04 what do you actually want/ the current display's metrics? Oct 12 21:26:09 But I'm pretty sure it initialized properly with all the values in an activity... Oct 12 21:26:09 Yeah Oct 12 21:26:19 getResources().getDisplayMetrics() Oct 12 21:26:22 Oh Oct 12 21:26:24 Righty! Oct 12 21:26:27 :) Oct 12 21:26:33 what this all tells me is that BlueZ is either locked, read only or non-existent. So is there a way to re-install blueZ ? Oct 12 21:26:48 Thanks Oct 12 21:26:52 XDS2010: you said this was a custom rom? talk to the rom vendor. Oct 12 21:27:00 because their shit's broken Oct 12 21:27:21 custom rom, shits always broke lol Oct 12 21:27:33 Jug6ernaut: quality varies wildly Oct 12 21:27:50 its cm7 stable Oct 12 21:28:29 yep Oct 12 21:28:54 im using an "ok" cm10 on my note...but ill be jumping ship as soon as i can get my hands on a note2 Oct 12 21:29:18 XDS2010: like i said, talk to the ROM vendor. Oct 12 21:29:30 if you've muddled with it yourself, then, well.... Oct 12 21:33:54 i have a newby questions: what do i have to move the cursor to the first position with cursor.moveToFirst()? why doesn't it do automatically? where does it start? Oct 12 21:34:07 it starts undefined Oct 12 21:34:45 How hard would it be to change from a many files each containing a JSON-ed object of a certain class design to a put those objects in a database design? Oct 12 21:34:45 XD Oct 12 21:35:03 does it matter Oct 12 21:35:07 that i build aosp as root user? Oct 12 21:35:20 what, you run 'make' from the root account? Oct 12 21:35:25 yes Oct 12 21:35:30 it does not matter Oct 12 21:35:34 as i thought Oct 12 21:35:41 i skipped the USB stuff is that ok? Oct 12 21:35:49 except in the general sense that you should never, EVER do anything as 'root' that does not absolutely need to be run from root. Oct 12 21:35:57 horrifically bad practice Oct 12 21:36:09 what is? Oct 12 21:36:10 osx has the right idea: no root account at all Oct 12 21:36:16 just sudo Oct 12 21:36:17 the root idea Oct 12 21:36:21 or the usb Oct 12 21:36:27 the USb stuff in the wiki is just for debugging right? Oct 12 21:36:34 doing anything in a root shell Oct 12 21:36:48 yeah, the usb stuff is for setting up to be able to talk to an Android device over usb Oct 12 21:37:03 to install your apps, debug, use MTP / PTP, etc Oct 12 21:37:15 never haveh ad a problem Oct 12 21:37:19 i use adb on widnows :) Oct 12 21:38:03 danixn: It starts at -1 Oct 12 21:38:11 rm -rf * as root! gogoogogo Oct 12 21:38:18 NEVER Oct 12 21:38:19 run that Oct 12 21:38:26 why did you even type that? Oct 12 21:38:29 So e.g. while(cursor.moveToNext()) {} will work Oct 12 21:38:29 it wont work Oct 12 21:38:36 Lol Oct 12 21:38:41 i think you need to do /* Oct 12 21:38:44 you must add --preseve-root Oct 12 21:38:46 ;) Oct 12 21:38:47 YAY Oct 12 21:38:50 the build finished Oct 12 21:38:53 about 2 hours Oct 12 21:39:04 --no-preserve-root Oct 12 21:39:20 SimonVT: thanks but is there are a reason why it doesn't just start at the first row? Oct 12 21:39:37 Cus then while(cursor.moveToNext()) wouldn't work :p Oct 12 21:39:51 danixn: it's the SQL semantics, innit? Oct 12 21:40:00 after a SELECT the cursor isn't yet defined, just the set of results Oct 12 21:40:17 and it's always 1) position the cursor, 2) read/write the cursor location Oct 12 21:41:17 oh so if do cursor.moveToFirst() and then while(curosr.moveToNext()) i will loose the first row right? Oct 12 21:41:33 Yes Oct 12 21:42:24 so what is the use of cursor.moveToFirst()? Oct 12 21:42:35 when should i use it? Oct 12 21:42:46 When you need it Oct 12 21:43:31 Maybe you just want the first result Oct 12 21:43:44 when for example i just need the first row, but when i need to loop through the cursor i just leave it right? Oct 12 21:43:45 Maybe there is only one result Oct 12 21:47:54 How hard would it be to change from a many files each containing a JSON-ed object of a certain class design to a put those objects in a database design? Oct 12 21:48:00 And would that be faster than json files on the sd card? Oct 12 22:07:11 on devices that have a physical keyboard (like the xperia), can it be detected with the sdk so that the keys can be used in games etc? Oct 12 22:13:08 Boscop: it seems you get standard onKeyDown/onKeyUp events Oct 12 22:14:08 a Configuration object will have info on what type of keyboard is available, if you really need it Oct 12 22:14:12 Mavrik: is there a way to read the status directly without tracking the events? Oct 12 22:15:11 getResources().getConfiguration().keyboard Oct 12 22:15:26 tells you what type of keyboard Oct 12 22:16:07 sampullman: thanks. btw, do you think it would be worthwhile to develop android games that require physical buttons? Oct 12 22:16:14 no Oct 12 22:16:47 sampullman: what do you estimate the share of devices with physical keyboard is? Oct 12 22:17:30 look up the market shares of devices that have hard keyboards Oct 12 22:17:40 where can I do that? Oct 12 22:17:46 google? Oct 12 22:17:54 bing might even work Oct 12 22:18:06 it's hard to find Oct 12 22:18:27 http://www.appbrain.com/stats/top-android-phones Oct 12 22:18:41 thats a start Oct 12 22:19:31 to a first approximation, there are no hard-keyboard android phones :) Oct 12 22:19:54 YAY Oct 12 22:19:57 my AOSP build works Oct 12 22:20:21 gg Oct 12 22:20:38 Also, disregarding by database question from above, uuuh Oct 12 22:20:39 If I have this class that has lots of stuff, including a name and an ID, how do I make methods to work with Collections.sort for both sorting objects of that class by ID and for sorting them by name? Oct 12 22:21:00 How do i build a ota zip Oct 12 22:21:04 without the stock recovery Oct 12 22:21:28 RazielZ: this is a basic Java question, fwiw. Oct 12 22:21:39 I know, I asked in ##java too Oct 12 22:21:40 :D Oct 12 22:21:41 RazielZ: implement comparable, etc Oct 12 22:21:42 when do i make otapackage Oct 12 22:21:47 i adds the stock recovery Oct 12 22:21:48 use the sort(...) variant where you pass in a comparator object that applies the sort criteria you want Oct 12 22:21:48 it Oct 12 22:21:54 and i lose clockwork mod Oct 12 22:22:02 and write comparators for the kinds of sorting you need Oct 12 22:22:06 yeah, what ctate said. there are a million tutorials on how to do that Oct 12 22:22:11 how do i make the zip without the stock recovery? Oct 12 22:22:19 kind of grim that ##java wasn't helpful on that, frankly Oct 12 22:22:34 pclov3r: custom ROM work is out of scope fo this channel, btw. see the channel topic. Oct 12 22:23:05 isn't custom rom it's AOSP Oct 12 22:23:07 well ok Oct 12 22:23:09 i guess it is Oct 12 22:23:48 :) Oct 12 22:25:29 where should i ask the question then? Oct 12 22:26:25 Oh i see how to do it Oct 12 22:26:31 you could comment out references to building a recovery in build/tools/releasetools/ota_from_target_files Oct 12 22:46:27 ughhhhhhhhhh Oct 12 22:47:09 So I have a list of framelayouts that I need to sort based on characteristics of what each of them represents and I have no idea how I'm supposed to do that Oct 12 22:47:25 Maybe if I saved the ID of the hero each represents in the framelayout somehow? Oct 12 22:49:27 hi, i'd like to create an app with which I can record phone conversations I have Oct 12 22:49:32 is this hard to realize? Oct 12 22:55:16 mobile8: yes it's generally not possible by design. Oct 12 22:55:53 mobile8: anything you do will have to rely either on manufacturer-specific extensions (which are becoming more rare, consult the manufacturer pages / google) or hacks (like speaker phone). Oct 12 22:58:13 for all us android fanboyz :D https://teelaunch.com/maclac/droid-squared ... had to share... its too good Oct 12 22:59:22 dragorn: speaker phone Oct 12 22:59:25 is this reliable/ Oct 12 22:59:29 to record calls? Oct 12 22:59:39 probably not Oct 12 22:59:55 android is architected explicitly to prevent what you're trying to do. You're not going to enjoy this attempt. Oct 12 22:59:58 dragorn: I'm asking because there is an app "Totall Recall" Oct 12 23:00:22 Which you basically enable, and which records every call that comes in/out Oct 12 23:00:44 I don't know how I can get an idea of how they do this Oct 12 23:01:00 https://play.google.com/store/apps/details?id=com.killermobile.totalrecall.trial Oct 12 23:01:09 I tested it today, and it worked Oct 12 23:10:10 mobile8: get app backup & restore (an app), dump the apk, decompile it (there are tools floating around on the net), see how they do it. Oct 12 23:14:01 you can do that with adb Oct 12 23:14:17 Do what? Oct 12 23:14:26 app backup and restore Oct 12 23:14:34 Oh sure Oct 12 23:14:40 Whichever is easiest for you Oct 12 23:30:10 make otapackage isn't work anymore Oct 12 23:30:14 it did before any ideas? Oct 12 23:30:16 i get a stop error Oct 12 23:35:09 pclov3r: pastecode up the error Oct 12 23:43:45 (Gavilan2) Hi. Having troubles runing android on ubuntu 64 bits. Oct 12 23:43:54 (Gavilan2) Atarting adb aerver failed..... Oct 12 23:44:02 (Gavilan2) No such file or sirextory...... Oct 12 23:44:10 (Gavilan2) Ive alreay run apt get install ia32 libs Oct 12 23:44:18 (Gavilan2) But it half failed Oct 12 23:44:24 (Gavilan2) Ia 32 lib multiarxh xoulsnt be installed Oct 12 23:44:38 (Gavilan2) (Gavilan2) Ia 32 lib multiarxh xoulsnt be installed Oct 12 23:44:46 (Gavilan2) Btw tried runninf android on a max. The app run, nut the simulator doesnt respons to input.... Oct 12 23:44:58 (Gavilan2) Runninf on a phone works fine thought..... Oct 12 23:45:54 (Gavilan2) So... any help? With at least one of my provlems? Oct 12 23:45:57 did you set up the environment variable? Oct 12 23:46:04 for the android sdk Oct 12 23:47:29 the 32 bit libs need to be properly installed Oct 12 23:47:49 Nope Oct 12 23:47:58 How to do that? Oct 12 23:49:19 i have 2 lines in my ~/.bashrc file: export PATH=${PATH}:~/zx/Ckit/droidsdk/tools and export PATH=${PATH}:~/zx/Ckit/droidsdk/platform-tools , modify this to your sdk path Oct 12 23:49:36 you also need to set up environment variables for java and ant to do development Oct 12 23:49:50 there are many guides on google. just look it up Oct 12 23:51:48 hi Oct 12 23:52:02 does anybody know where i can set the geodata in phpstorm? Oct 12 23:52:16 the geodata for the emulator i mean Oct 12 23:53:54 i've just finished a beta version of an app and i want to make it easy for beta testers to download it by putting it on google play. however, i'm afraid of random people coming across it and giving it bad reviews because it isn't fully polished. what should i do? Oct 12 23:54:45 whomp: put it online somewhere behind a password-protected brick wall?.. Send out invitation keys or something that allow a user to download it?.. Oct 12 23:55:16 whomp: tell them to allow installation of apps from "unknown sources", and then kinda hope for the best.. That's what I've been doing ;) Oct 12 23:55:58 puppen, certainly i could try that. but i want to make it easier for people and more legitimate-looking by putting it on the app store Oct 12 23:56:14 i dont think a beta should be put on the market Oct 12 23:56:19 more legitimate-looking? Oct 12 23:56:23 tech1++ Oct 12 23:56:27 whomp, maybe you can write on the google play page "this is still beta" and also have the application show a popup when it starts saying "this is beta. do not rate bad" Oct 12 23:56:49 yeah i might try that. i was just wondering if there was a nice feature to prevent reviewing or something Oct 12 23:57:47 your beta testers wont think it is more legitimate looking on the app store Oct 12 23:57:56 i think so Oct 12 23:58:03 thats a stupid reason for putting it on there Oct 12 23:58:04 ...Do your beta testers know that they are beta testers?.. Oct 12 23:58:04 that's the way 99% of apps are downloaded Oct 12 23:58:18 who is the target audience? if it's power userish then unknown sources isn't a big deal Oct 12 23:58:33 yeah, it's just other random people who come across it, or are referred by the beta testers that i'm worried abou Oct 12 23:58:59 i don't have any one target demographic, it appeals to a wide base. it's not a huge issue, but i thought i'd explore other means Oct 12 23:59:54 i do public (and private) betas outside the market and it's worked very well for me. however my users are very power user so unknown sources hasn't been a big deal Oct 13 00:00:44 i haven't tried doing a private beta on the market but imagine it'd lead to 1 star reviews from people without the code to use the app. public beta i imagine would get rated even if you warn people it's not done yet Oct 13 00:01:08 yeah, that's my thought. i guess people are rating for new users who just want a working app Oct 13 00:01:24 thx for the help, i'll prob end up putting it on a web site Oct 13 00:03:57 how can i simulate an onLocationChanged in a AVD using phpstorm? Oct 13 00:04:41 EuroTrash: thanks Oct 13 00:13:50 hello Oct 13 00:14:49 I just ordered an imitation Iphone with and android os, I wanted to experiment, my question is does anyone know about going on installing custom roms? Oct 13 00:15:31 who is the manufacturer? Oct 13 00:15:50 reyrey507: #android-root Oct 13 00:16:43 its a chinese phone Oct 13 00:16:55 not sure about the manuf Oct 13 00:20:23 i doubt anyones made roms for a hybrid iphone/android knockoff. but yeh go to #android-root for rom questions Oct 13 00:26:41 and tell us the spec Oct 13 00:26:49 I'm interested whats inside :D Oct 13 00:27:38 I saw an awful funny asian iphone clone the other week Oct 13 00:27:48 it kind of looks like an iphone... at about 75% scale ;P Oct 13 00:28:16 also it wasn't made in china... it was made in NK. And has a trojaned firmware that backchannels SMS and such to a server in NK. Very nasty. Not relevant for most ppl, but they're going around asia quite a bit apparently. Oct 13 00:31:37 Is it possible to open a class? Oct 13 00:31:46 and if so how? Oct 13 00:32:09 not sure what you mean Oct 13 00:32:26 k Oct 13 00:32:27 1 sec Oct 13 00:32:31 go to your favorite text editor, then do open->thing.class Oct 13 00:32:33 I'm trying to get my button to open a class that I named menu, since I can't get the button to do anything if I put it inside the class itself and an onclicklistener Oct 13 00:32:39 oh Oct 13 00:33:15 still don't know what you mean by "open a class" Oct 13 00:33:19 haha Oct 13 00:33:41 public class Menu extends ListActivity { stuff inside } is a class, right? or what else would you refer to it? Oct 13 00:33:51 sure, that's a class Oct 13 00:33:58 you can open a java file before its compiled to a class file Oct 13 00:33:59 I want the button to, when selected, to refer to it. Oct 13 00:34:18 1 too many 'to's >< Oct 13 00:34:31 but a class is just a description of a certain 'class' of objects Oct 13 00:34:34 a class is an abstract concept. I think you mean... refer to an instance? That's how you do things with classes Oct 13 00:34:45 k Oct 13 00:34:59 instance would be 'Menu' in this case, right? Oct 13 00:35:02 no Oct 13 00:35:07 in which case yes, you can have your listener refer to an instance of "some class" you defined, Oct 13 00:35:36 something like "Menu myMenu = new Menu()" is an instance of that class Oct 13 00:35:48 yeah.. Oct 13 00:36:07 Menu is the class, myMenu is the object Oct 13 00:36:12 just wondering how else would I let my button refer to the activity/class/instance or w/e it's called 'public class Menu extends ListActivity { stuff }' Oct 13 00:36:13 *instance Oct 13 00:37:36 if i've interpreted your question correctly, you're trying to start a listactivity on a button press Oct 13 00:37:45 yes Oct 13 00:38:14 and after that I want to change the buttons name to the item chosen from the list but that's afterwards, first want to manage opening the list Oct 13 00:38:33 then initialize it in the button's onClick method Oct 13 00:38:42 I did try that Oct 13 00:38:49 startActivity(new Intent(context, Menu.class)) Oct 13 00:38:58 that's how you start activities Oct 13 00:39:04 http://upaste.me/20941307ec318bb9 Oct 13 00:39:13 oh startactivity.. Oct 13 00:39:19 well wait I used that >< Oct 13 00:39:22 if you want the button to do something, you need to put the *action in the button's onClick Oct 13 00:39:37 I did :x Oct 13 00:39:40 ok Oct 13 00:39:45 time = (Button) findViewById(R.id.time); Oct 13 00:39:47 Streusel, now i see what you mean by 'refer to a class' Oct 13 00:40:06 did you read what i wrote above? that will solve your issue Oct 13 00:40:09 k Oct 13 00:40:17 ty Oct 13 00:40:37 context is the current context (e.g. MyActivity.this, or something) Oct 13 00:46:37 oddly enough 'startActivity(new Intend(Menu, Menu.class));' doesn't work Oct 13 00:46:56 although I have to question why that to begin with openTimeString is exactly that Oct 13 00:47:40 oh wait I forgot something my b Oct 13 00:50:11 yeah not further >< Oct 13 00:50:23 that's because 'startActivity(new Intend(Menu, Menu.class));' is not what i said Oct 13 00:50:38 right you did activity.this Oct 13 00:50:41 I fixed that Oct 13 00:50:49 oh wow.. Oct 13 00:53:23 stop googling 'google' !! you're breaking the net ! Oct 13 00:54:11 oh I had a typo.. however even that didn't fix it >< Oct 13 00:55:38 is there anyway to get UTC time to better than 1 second accuracy? Oct 13 00:59:38 where would i find the send button drawable that android uses for text messages? Oct 13 01:06:39 ._. Oct 13 01:07:35 hmm maybe I need to move this button to an Activity and not a ListActivity.. Oct 13 01:12:58 whomp: here are a list of android drawables, it might be under ic_... http://androiddrawableexplorer.appspot.com/ Oct 13 01:13:25 Streusel: you can use a Button in a ListActivity Oct 13 01:13:47 hmm k.. Oct 13 01:13:56 then I'm clueless as to how to resolve this.. Oct 13 01:14:15 and I don't get more info on the tutorial because he's starting a new app instead of expanding on the current one <_< Oct 13 01:15:05 ctate: I just remembered... in relation to your slagging off schedulers, yesterday; that's pretty closely related to that grand plan I'd been asking for your (google's) help to thread throughout android. Oct 13 01:15:14 Streusel: what are you trying to do? high level Oct 13 01:15:25 But which I never got around to starting. Oct 13 01:15:45 doubt it's high level, I want to start an activity with a button, to call up a listactivity.. Oct 13 01:16:27 I mean I can make a button say hi, if I want to but I can't make it open an activity or start it.. Oct 13 01:17:50 I take it I'm not the only one who, when faced with build errors, simply re-issues make with -j100 to try to build around the problem. Oct 13 01:18:17 Hm, not you lot. Oct 13 01:19:54 Workboot: mostly here it's more of the "mash the build button" Oct 13 01:20:39 Yeah... no good asking that one in an eclipse-dominated channel. Oct 13 01:21:25 not sure I've ever worked on anything where I'd go above about -j20 Oct 13 01:21:56 I go above -j20 ony for the reason given above. Oct 13 01:23:53 that was building Solaris... Oct 13 01:24:37 you guys think its ok to learn java as I go learning android development, or do I need to be doing some java tutorials first ? Oct 13 01:25:55 davieslacker: do you know any Java at all? any other languages? Oct 13 01:26:55 java experience would help but you can learn java while learning android too Oct 13 01:27:36 when I was in my teens I was doing visual basic, TCL scripting, html, C#.. but I'm 31 now, and its not quite like riding a bike Oct 13 01:28:04 age doesn't matter Oct 13 01:28:14 i mean I think I work my way through it a little faster because of understanding some of the fundamentals of programming... Oct 13 01:28:23 yeah, just less time to work on it these days Oct 13 01:28:40 I could stay on the computer all day then and obsess over it Oct 13 01:29:03 forgot more than I'll ever be able to learn again Oct 13 01:30:11 * Workboot gets a wee surprise grabbing a tablet which turned out to have no backshell on. Oct 13 01:30:40 bit shocking ? Oct 13 01:31:04 just do it Oct 13 01:32:33 suprise yourself by showing how much smarter than you thought you were Oct 13 01:32:38 I made it through hello world without getting too overwhelmed... I'm using eclipse and ADT plugin... I guess the only thing that kind of overwhelms me, is all the separate files involved, even in a simple app... Oct 13 01:33:34 I found eclipse overwhelming on a daily basis. Oct 13 01:33:47 shmooz - I used to learn just the parts that I needed to know to do what I wanted to do... a lot of copy and pasting too... now I take the time to read things and follow along tutorials... so my learning is slower, but probably more thorough Oct 13 01:35:27 I learnt almost nothing when I was doing java development. It was almost all cut and paste. What didn't work that way way just mash the keyboard until the wiggly red lines disappeared. Oct 13 01:35:43 lol Oct 13 01:35:45 lol Oct 13 01:36:19 Living the Web2.0 life. Oct 13 01:36:28 I've been at it only a month or so, now its making more sense as I learn Oct 13 01:36:42 its just like spell check... I have pretty good spelling, but throw in spell check and suddenly I find that I've been spelling something I was sure of wrong for years... Oct 13 01:37:05 but I do have a killer app as some dream goal that I desperately need to make do what I want it to do so that helps to motivate too Oct 13 01:37:43 then you find yourself typing it every possible way you think might be right... only to have to end up googling it so you get the Did you mean #### Oct 13 01:38:08 its good to search and compare alternatives and hacks and whatnot Oct 13 01:38:28 davieslacker: You can generally right-click. Oct 13 01:38:36 stackoverflow helped a lot in my case Oct 13 01:39:02 I think I'll be more interested in working on roms and kernels, but I figure I should get my feet wet doing an app or two... cause I really don't have THAT much of an understanding of how android works Oct 13 01:39:26 And don't trust the results. You're likely to get stuck with stupid a homophone because the dictionary's vocabulary is too small. Oct 13 01:39:39 lol Oct 13 01:40:09 for some reason swype soft keyboard comes to mind... its awesome and horrible at the same time Oct 13 01:40:15 I work on roms and kernels, and, as I say, I learnt nothing doing java. Oct 13 01:40:42 I can go to town and work out a huge paragraph in no time... then read back and find I have something that makes no sense.. Oct 13 01:41:08 I think that happens when I try to abridge. Oct 13 01:41:47 i think it would be more effective on a larger screen, I'm milking along an htc desire... swype worked ok on my tablet, using index finger like I was writing... Oct 13 01:43:14 I was on irc before the web became overrun by forums for every topic... so its still nice to sit in here and learn by helping others with their problems, or just following along as somebody is helped Oct 13 01:43:29 * Workboot marvel that whenever things seem to have hit molasses, python is always there getting involved. Oct 13 01:43:33 i want to create an app which would contain csv file in resource folder. I want to write some data tot his file. I want the user to be able to send an email with this csv file attached to it to his desired email address - is this possible? Oct 13 01:43:49 I actually find most forums hard to navigate, and I just only recently started participating on the xda-devs forum Oct 13 01:48:53 xda-devs is a mess Oct 13 01:49:34 when i do setOnCheckedChangeListener(new OnCheckedChangeListener() etc etc Oct 13 01:50:00 the public void onCheckedChanged receiveds the int of the selected radio button in the group Oct 13 01:50:17 which works Oct 13 01:50:39 but how can i figure out what the int represents? Oct 13 01:51:03 im confused Oct 13 01:52:36 i mea how do i cast the int to a res id ? Oct 13 01:52:41 R.id.this_check_box Oct 13 01:52:53 a resource id is an int Oct 13 01:53:29 ye i know, bu how do i know which radio button was checked from its int alone Oct 13 01:53:42 because you compare it to the IDs which could be checked Oct 13 01:53:43 suppose i could get it prior Oct 13 01:53:49 ahhh Oct 13 01:54:06 if(rsInt == R.id.etc) Oct 13 01:54:09 like that? Oct 13 01:54:12 or a switch statement Oct 13 01:54:20 whatever makes you happy Oct 13 01:54:30 duhh ive actually done this bfore plenty of times Oct 13 01:54:52 thanks Oct 13 02:06:14 so I will say this... I was delighted that when I press the button to run the app in eclipse that I can make it pop right up on every usb connected android device and/or emulator(which I can seem to get good performance from) Oct 13 02:09:24 about as delighted as I was taking a puff off my first e-cigarette last week and having it actually feel like I'm smoking... I giggled a little, and I havent touched a real cigarette since Oct 13 02:10:27 still looking to work my way down from nicotene and quit, but its nice to not be smoking up my lungs and stinking any more... cheaper too... Oct 13 02:21:02 hi all, im a ROM dev, but I'm starting on my first application. I could use some help if anyone has some time for some java questions :) Oct 13 02:21:39 if you want to PM instead (as to not clog the channel), please just message me. thanks Oct 13 02:27:44 ok i need some help here. the domain structure i'm working with is a bunch of nested objects in a tree. i need a dialog to edit ONE of the objects. serializing it and bundling it won't let me know when it returns WHICH object it was Oct 13 02:28:54 i was assuming i'd just pass a pointer to the object in, edit it in the dialog, and have the positive button accept the object as an arg, and it does the operations on it Oct 13 02:29:13 but with fragments and bundles, it seems like i'm screwed Oct 13 02:29:54 trying to serialize the entire tree is a little bit insane Oct 13 02:31:58 viperboy: you should just ask your questions Oct 13 02:32:21 lol Oct 13 02:32:24 viperboy: yeah, like i did. doesn't mean anyone's gonna answer 'em though :-P Oct 13 02:33:17 of course, there's a SO question like mine already, with no real answer: http://stackoverflow.com/questions/12587219/passing-complex-object-from-activity-to-fragmentdialog-and-viceversa Oct 13 02:34:12 how do i include a custom build.prop into an AOSP build Oct 13 02:34:26 so when i run make otapackage it will use that build.prop Oct 13 02:34:34 do I just go ahead and edit the build.prop in the out folder? **** ENDING LOGGING AT Sat Oct 13 03:00:02 2012