**** BEGIN LOGGING AT Fri Mar 16 02:59:58 2012 Mar 16 03:05:53 since actionbar supports action views (custom views as action items) is there any way to get the action view to not expand the whole actionbar and just replace the action item icon? Mar 16 03:18:34 Hey. So I'm learning about threads and I want to write a program that creates "n" threads, where n is the number of cores avaiable. How can I some huge processing without entirely locking the UI? Mar 16 03:19:20 can a make* Mar 16 03:20:23 I'm not sure if AsyncTask is appropriated, since I'm really trying to test the performe of multiple-core systems. Mar 16 03:38:21 Wow, Is there anyone on the channel? heh Mar 16 03:39:13 mornin' Mar 16 03:39:21 Mayday, Why my widget would not call the onEnabled method? Mar 16 03:42:17 Hey. So I'm learning about threads and I want to write a program that creates "n" threads, where n is the number of cores avaiable. How can I make some huge processing without entirely locking the UI? Not sure if AsyncTask is appropriated though Mar 16 03:43:03 hmmm, if you use render script it should sort all that out for you Mar 16 03:47:56 The main cause of this is that people forget that: Mar 16 03:48:17 But me I have add this and this doesnt work more... Mar 16 04:06:31 Why I have a int who = 112 in the onEnabled method, but at the begin of onUpdate it's = 0... What the fuck? Mar 16 04:06:35 In a Widget Mar 16 04:07:21 I have an app that contains 7575 lines of native C++ code and 1930 lines of Java code (basically just the GUI). 100% of my app's bug reports are crashes in the Java code. Am I doing something wrong or are the Android APIs really so hard to use correctly? Mar 16 04:07:30 The crashes are random things like WindowManager$BadTokenException that I can't really find definitive reasons for. (I am *not* using getApplicationContext() anywhere in my entire code base, so no, I'm not showing a dialog with that) Mar 16 04:07:46 And the VideoSurface behaves differently on just about every different device in existence + the emulator. I can never get it to always resize/rotate correctly on every device with the same code, and I've tried a lot of things. Mar 16 04:08:07 Anyone able to point me in the right direction for creating something like how HandcentSMS pop ups a little dialog when you get a text message, so you can quickly reply to it, without actually going to the app Mar 16 04:08:22 chiggins: dialog-themed Activity? Mar 16 04:10:47 Leeds: Maybe? That's kinda what I was thinking, but how would I get it so that it popups over everything else Mar 16 04:10:51 I would also like to know how I'm supposed to keep the OS from unloading my Activity, thereby killing the .so which is supposed to keep a network connection active. Do I really have to put it in an unkillable service? Is there no better way? Mar 16 04:11:29 decltype: activities become killable once they're paused - Services are things which run in the background... so why are you trying to do a background connection from an Activity? Mar 16 04:11:55 chiggins: yes, that will pop up over the previous activity Mar 16 04:11:57 try it :) Mar 16 04:12:05 Leeds: Hmm so services are the default way to accomplish this then? Mar 16 04:13:05 And is there any reason why the Dialog API is so horrible? Mar 16 04:13:18 Leeds: Sweet thanks, I'll try that when I can Mar 16 04:13:41 In the middle of trying to get some 1.6 code to run on a newer SDK level Mar 16 04:14:18 any idea how I would use startForeground() instead of the old setForeground()? Mar 16 04:26:04 Hey. So I'm learning about threads and I want to write a program that creates "n" threads, where n is the number of cores avaiable. How can I make some huge processing without entirely locking the UI? Not sure if AsyncTask is appropriated though. Mar 16 04:57:18 evening/good day where ever in the world you may be =) Mar 16 05:04:31 Hi all, I'm creating an app to output text to speech when a new notification comes in. I've got a problem though: how do I detect when a new notification occurs, and retrieve its information? Has anyone done this? Mar 16 05:04:58 Daman: as a regular app, you can't access other apps' notifications, AFAIK Mar 16 05:05:15 right. so I'll probably have to hook the notificationmanager system service. Mar 16 05:05:28 ah, well. Mar 16 05:06:52 Have any of you worked with intercepting internal function calls from other processes on android? Mar 16 05:10:39 oh, apparently that won't be necessary, for future reference, if anyone's curious: use an AccessibilityService Mar 16 05:11:11 I guess technically this is an accessibility app that I'm making, even though it's just for vocalizing notifications while I'm driving Mar 16 05:13:00 hello all Mar 16 05:56:27 JakeWharton: does the square reader use hardware encryption? Mar 16 05:56:50 no Mar 16 05:57:09 scorche: oh? how does it do it? Mar 16 05:57:37 the reader just turns the magstripe "code" into audio data which the app accepts Mar 16 05:58:02 s/audio data/an analog audio signal Mar 16 05:58:05 so, the encryption is done in software? Mar 16 05:58:46 if you are wirried about the security of the data, there are better devices to use than square Mar 16 05:59:09 i am specifically asking about square. Mar 16 05:59:41 do you know the answer to my question? Mar 16 06:00:48 from what i understand, square doesnt encrypt the card information - it just encrypts transmission of data Mar 16 06:01:09 no, thats not the way it works Mar 16 06:01:33 then why are you asking? Mar 16 06:01:48 lol Mar 16 06:02:05 because, i'm curious how square does it. i wrote the app for this company, http://www.kudospayments.com/ Mar 16 06:02:17 and i wanted to see if square does it in a similar manner. Mar 16 06:02:48 where do you see that they do say they encrypt it? - again, from what i understand, they claim they dont store the data Mar 16 06:03:21 so, you are asking how square does things, i tell you, and you tell me no, and say that you are wondering how they do it? Mar 16 06:05:01 scorche: the only thing i am unsure of is if the data (audio) comes off the reader already encrypted. is there a chip in the reader that does encryption? Mar 16 06:06:03 neekers: as i told you before, it comes off of the reader as a plain analog audio signal - no encryption Mar 16 06:07:05 if you dont think that is how it works, plug it into your computer, pipe it into audacity, and slow the recording down Mar 16 06:09:12 scorche: look at the reader here, please note the part that sends end to end encryption, http://www.roamdata.com/roampay/us/swiper Mar 16 06:09:20 sends=says Mar 16 06:09:59 that is the swiper that i used and the data coming off of it was encrypted. Mar 16 06:10:17 neekers: you asked specifically about the square reader - that is not the square reader Mar 16 06:10:30 scorche: do you work for square? Mar 16 06:10:39 why does that matter? Mar 16 06:11:02 because you speak with authority about thier reader. where is your source? Mar 16 06:11:41 as i said - take the reader, plug it into a laptop, open the recording in audacity, slow it down, and read it for your damn self Mar 16 06:11:45 it isnt hard Mar 16 06:12:33 just explain to me what you hear/see. Mar 16 06:12:36 * scorche is done "helping" Mar 16 06:13:41 Hi every one can any one tell me that how can i make screecast video of my laptop from android device. Mar 16 06:13:57 question unanswered. Mar 16 06:14:21 neekers, your question wasn't on topic to begin with Mar 16 06:14:38 Hi every one can any one tell me that how can i make screecast video of my laptop from android device. Mar 16 06:14:48 you just asked two seconds ago Mar 16 06:14:56 michaelnovakjr: give me a break dude, ive been in this channel for the past 3 years. i think i know the rules. lighten up Mar 16 06:15:10 neekers, you are annoying Mar 16 06:15:12 amad27k1: use Screencast, its for the Android device, cheap and does awesome job of recording. Mar 16 06:15:15 I don't care how long you've been in here Mar 16 06:15:16 fuck you. Mar 16 06:15:23 amad27k1: I made all of the videos on www.todomap.com from it. Mar 16 06:15:26 www.todomapr.com Mar 16 06:15:34 neekers, knock it off Mar 16 06:17:05 <`z> don't you love the occasional "fuck you"s exchanged over here Mar 16 06:27:30 android-dev I need some support Mar 16 06:27:38 i'm working on my 3d video game & I just need some encouragement Mar 16 06:27:59 woohoo, go for it! Mar 16 06:28:04 w00t, go go go Mar 16 06:28:10 aww thx guys Mar 16 06:28:14 np, see ya Mar 16 06:28:37 you guys think if I really make a good game that people will download it? Mar 16 06:28:42 the most downloads i've ever gotten is 400 Mar 16 06:28:49 I'm presenting To Do Mapr to a couple hundred people tomorrow: http://mobilemarchtc.com/mobile-3d-2/ Mar 16 06:28:54 but i've never made a game Mar 16 06:28:54 this is my first game Mar 16 06:29:59 QUBEZ Mar 16 06:30:04 do these conventions take place all the time? Mar 16 06:30:17 i feel like that's something I never did for my apps, take em to the conventions Mar 16 06:30:20 JavaLover2: in minneapolis, not sure.. i've only been here a year now Mar 16 06:30:22 but now that I have a 3D game that'd be perfect Mar 16 06:30:31 no but i'm thinking like i'm in the S.F. Bay area Mar 16 06:30:39 I am part of the Android Users Group here and they invited me to present Mar 16 06:30:43 maybe I could go out & showcase my game to like idk e3 or other types Mar 16 06:30:56 even if I show up with flyers & pass them out Mar 16 06:31:00 people will learn about my game Mar 16 06:31:19 if its a good product, people will hear about it... trust me Mar 16 06:31:27 twitter, fb and youtube are all you need Mar 16 06:31:29 i think this product is good Mar 16 06:31:31 then submit to review sites Mar 16 06:31:35 i've been a gamer my whole life Mar 16 06:31:44 and this is the first time i've been able to work on soemthing of my own Mar 16 06:31:47 so I put everything into it Mar 16 06:33:37 im out, need rest Mar 16 06:33:38 later Mar 16 06:43:24 "Under pressure from Visa, now a strategic investor in Square, the company's latest dongle (now black, as opposed to earlier versions, which are white)--reportedly encrypts credit card data. But Laurie said that at least for the moment, the Square app still accepts plaintext data." http://www.informationweek.com/news/security/vulnerabilities/231300283 Mar 16 07:22:20 michaelnovakjr: i apologize for my outburst. it won't happen again. Mar 16 07:24:19 neekers: hey uh....did you know that guy who cracked Square and stole credit card data..........works at Aperture Labs? Mar 16 07:25:33 ra4king: no, i really don't know much about that sort of stuff. i'm not really a hacker or cracker or whatever they are called. just a contract engineer. Mar 16 07:25:48 * ra4king facepalms Mar 16 07:26:10 neekers: look at the word again: Aperture Labs Mar 16 07:27:35 not making the connection. Mar 16 07:27:51 neekers: Portal! Mar 16 07:27:53 the game! Mar 16 07:27:57 Aperture Science! Mar 16 07:27:58 oh Mar 16 07:28:03 Aperture Labs Mar 16 07:28:05 it's a real place! Mar 16 07:28:12 http://aperturelabs.com/ Mar 16 07:28:18 O_O Mar 16 07:28:22 * ra4king is completely baffled Mar 16 07:28:53 i actually bought portal last month. on level 17 right now. Mar 16 07:28:59 dont play it much Mar 16 07:34:44 Alright, so I have a thread pulling a json and it's parsing it. My problem is that my for loop is just dying for no apparent reason. No errors are being thrown and I can't figure out for the life of me why it's stopping. I have no breaks in the for loop either, it's dependent on the size of the array Mar 16 07:34:53 hello Mar 16 07:35:13 I can even watch the logcat and it will spit out parsing POSITION# of SIZE and it will just stop at a random POSITION#. Mar 16 07:35:50 anyone familiar with compiling kernel modules ? Mar 16 07:36:39 where does android put firmware files, like say for a dvb-t usb stick ? Mar 16 07:36:49 or where should it reside ? Mar 16 07:37:44 is there some special way for app programmers to get root ? Mar 16 07:37:52 without actually rooting the device ? Mar 16 07:37:54 no Mar 16 07:38:23 so how then do app-developers acomplish stuff then without it ? Mar 16 07:39:32 a typical app shouldn't require root Mar 16 07:40:04 hmm, yes but i assume an app to use firmware does ...... Mar 16 07:40:22 or one which brings in a kernel module...... Mar 16 07:40:23 what do you mean by use firmware? Mar 16 07:40:55 one which has to copy the firmware to somewhere on the system path.... Mar 16 07:41:19 so that the say the usb device and kernel module know where it is.... Mar 16 07:41:19 copy what firmware? Mar 16 07:41:34 firmware for the stick Mar 16 07:41:48 any1 know what kind of Intent I should make for startActivityForResult for a file chooser? Mar 16 07:42:05 so that in the result i'll just get the path to the file or something similar/ Mar 16 07:42:05 http://developer.android.com/guide/topics/usb/index.html Mar 16 07:42:14 you don't need a seperate firmware to use a usb stick Mar 16 07:42:59 well, if for a normal usb-stick i would agree, but this one is an dvb-t stick.....and requires a firmware..... Mar 16 07:43:25 and actually my normal usb-stick is mounted instantly .... Mar 16 07:43:30 that's not the problem.... Mar 16 07:43:48 it's one of hauppauge Mar 16 07:44:25 the same would apply for my pc, if were not to put the firmware here on linux into /lib/firmware the device won't get recognized at all.... Mar 16 07:44:29 well, you can use the NDK to include .so files and whatnot Mar 16 07:44:34 oh Mar 16 07:44:39 what is NDK ? Mar 16 07:44:59 http://developer.android.com/sdk/ndk/overview.html Mar 16 07:45:37 it's kind of limited though Mar 16 07:46:09 What would cause a for loop to just die mid loop for no apparent reason Mar 16 07:46:39 homie but what you're trying to do is pretty unique, so it may require root Mar 16 07:49:13 JoeTheGuest: Exception? Mar 16 07:49:32 No exceptions are being throw. Mar 16 07:49:36 Do for loops have exceptions? Mar 16 07:49:45 But no, no exceptions are being thrown. Mar 16 07:49:48 no but the routines called Mar 16 07:49:59 break? return? Mar 16 07:49:59 I've been trying to debug this for the last 5+ hours. Mar 16 07:50:02 hm. Mar 16 07:50:05 No and no. Mar 16 07:50:15 It just, stops. Mar 16 07:50:20 I assume you have ruled out all of the obvious reasons Mar 16 07:50:31 Yes. 5 hours is a lot of debugging lol Mar 16 07:50:49 show us some code Mar 16 07:50:50 :) Mar 16 07:53:13 any1 know what kind of Intent I should make for startActivityForResult for a file chooser? (I don't really think it would be nice to make a file chooser myself) Mar 16 07:54:58 does the authority of a content provider have to include the package name? I want it to be com.foo.bar instead of com.foo.bar.data.MyProvider, which is where it actually resides Mar 16 07:55:16 nah doesn't have to afaik Mar 16 07:55:42 i use com.foo.bar too instead of com.foo.bar.database or something like that Mar 16 07:56:20 iirc common practice is same as the application package i think Mar 16 07:56:28 not 100% sure though Mar 16 07:56:31 oh yeah i think i could even use content://niftystuff/1 or something like that if i wanted Mar 16 07:56:40 ^ me neither Mar 16 07:57:06 as long as thats what someone calls Mar 16 07:57:32 ye Mar 16 07:59:55 hmm "To guarantee a unique authority, providers should consider using an authority that is the same as the provider class' package identifier." Mar 16 08:00:38 ah Mar 16 08:00:44 i wonder what happens if multiple providers match? Mar 16 08:00:55 back to searching... Mar 16 08:00:59 hmm mayb it just uses the first it matches or something? Mar 16 08:01:23 t0mless: so how would i achieve getting root, without using any exploit ? which will be stable and not get removed upon updates ? Mar 16 08:01:47 t0mless: i read some stuff about it, but it looks like many people went into problems with locking their pads Mar 16 08:02:09 t0mless: is busybox ok for that purpose ? Mar 16 08:02:23 i want to say that *gaining* root always involves an exploit Mar 16 08:02:47 yes, there's an boot time way or so..... Mar 16 08:02:48 but some devices might be produced with access Mar 16 08:03:05 i don't grok all that stuff.... Mar 16 08:03:37 and the procedures describe are all for doing it from windows pc Mar 16 08:17:24 so providing a unique authority seems to be a must Mar 16 08:20:28 Does javascript get its own thread in Android's web browser? Mar 16 08:20:54 Maybe with some kind of asynchronous message passing for the operations it wants to perform. Mar 16 08:21:31 I don't know javascript, and I don't know how much time it spends asking things rather than demanding things. Mar 16 08:21:42 err. Mar 16 08:21:50 demanding that things happen Mar 16 08:23:23 Is Lambda available in Android now? Mar 16 08:23:36 or…. 1.7 is usdable in Android 4.0 now? Mar 16 08:23:49 i didn't think 1.7 had lambda Mar 16 08:24:44 seems my mistake, I think Java7 is equal to 1.7 Mar 16 08:25:05 anyway, is it availible in android 4.0? Mar 16 08:25:47 not last time i checked - not officially/easily anyway Mar 16 08:26:08 http://www.baptiste-wicht.com/2010/05/oracle-pushes-a-first-version-of-closures/ Mar 16 08:26:31 I just make a quick look on it, I don't know, I am an android coder not java coder :3 Mar 16 08:26:46 seems closures(aka Lambda) cools Mar 16 08:27:37 i don't think that made the final cut.. Mar 16 08:27:50 that's a pretty ugly syntax :( Mar 16 08:28:17 arh, is 1.7 still in draft? Mar 16 08:29:00 romainguy: yes its very ugly, but seems no worse then anonymous class :( Mar 16 08:29:45 no, 1.7 is released Mar 16 08:31:53 so, in fact Closure is not availible in 1.7 right now? Mar 16 08:32:02 just in draft and be deserted? Mar 16 08:33:52 closures are not in 1.7 Mar 16 08:34:40 hum, seems I can stop thinking about Closures in Android, thanks guys :) Mar 16 08:34:51 i wish android had closures Mar 16 08:34:57 so many anonymous inner classes... Mar 16 08:36:50 I was thinking another fact, Handlers in View makes me pain Mar 16 08:37:08 and sometimes a bit sample way like postRunnable() will cause some problem Mar 16 08:37:36 if Android have something like Grand Center Dispatch(GCD) in iOS, it will be a good relief Mar 16 08:39:13 and I hope when Closure finally make it, it will be another way to solve such problem Mar 16 08:40:29 don't hold your breath :p Mar 16 08:41:48 you can get very close to grand central dispatch with executors, asynctask, etc. Mar 16 08:42:03 the biggest difference being the use of classes vs closures Mar 16 08:42:47 romainguy: but how could you use thread pool(executor) to control UI views? Mar 16 08:43:12 I still have to send android.os.Message to a handler, waiting for UI Thread to execute it Mar 16 08:43:26 that's why you have asynctask Mar 16 08:43:53 hum… maybe I should look into AsyncTask Mar 16 08:50:16 Hi, I have an issue with notification. I would like to update it sometimes, and it works but the problem is : when the user has cancelled the notification, it creates a new one and I don't want this Mar 16 08:50:42 So how could I just update the notification Mar 16 08:51:11 And make sure it won't create it if none is shown Mar 16 08:52:27 I didn't find any way to detect either it is shown or not... Mar 16 08:58:41 Ok thanks for your help :/ Mar 16 09:02:36 <`z> Walui, wait Mar 16 09:17:19 hey guys im trying to demo my app to a client using emulator, emu can load a browser and get on the web but my app wont go on the net - in fact i put a check in the app to basically exit from splash screen if no net is detected and this is coming up, shall i remove this or is there something special u need to do to tell the emu its got a conenciton for apps? Mar 16 09:19:59 does your app work fine off emu? Mar 16 09:20:00 what is your check determining? Mar 16 09:20:07 yeh it works on device Mar 16 09:21:02 i nicked this from somewhere i gues sits bugged http://pastebin.com/UqvKZxnn Mar 16 09:21:08 i removed that call and it works Mar 16 09:24:30 hi Mar 16 09:25:08 how can i find out if a fragment is currently on screen or not (like onResume/onPause for activities)? Mar 16 09:26:48 onViewAttached? Mar 16 09:27:57 doesn't exist for fragments Mar 16 09:29:20 anyone here have experience setting up an offshore company to sell apps? Mar 16 09:31:09 spots: onAttach/onDetach? Mar 16 09:31:25 hmm Mar 16 09:32:13 I'm thinking about making a simple ToastWrapper which basically just keeps track of a Toast and update text isntead of creating new ones (as to not building up a qeue) Mar 16 09:32:29 MDijkstra: seem to depend on the activity Mar 16 09:32:44 So is there any way to detect if the notification is still shown...? Mar 16 09:32:47 but i'm also gonna have to send the Context, and I don't want to leak that context... Mar 16 09:32:50 spots: well, yeah, because fragments are owned by activities Mar 16 09:33:12 but the are only called if the activity is detached/paused/... Mar 16 09:33:16 so how could I make it not leak that context..? Mar 16 09:33:17 spots: I mean, that's like asking whether you can check if a view is onscreen from the view itself Mar 16 09:33:56 spots: you can get the activity from the fragment and then ask it Mar 16 09:34:11 i have a tab activity with 2 fragments i switch between and i need to do stuff when a certain fragment is 'active' Mar 16 09:34:34 spots: oh, but fragments don't participate in the activity lifecycle at all Mar 16 09:34:45 or, well, they do Mar 16 09:34:45 i can ask it, but i need an event, when to ask Mar 16 09:35:13 i just need somethink like onFragmentSwitch Mar 16 09:35:23 tab activities with fragments? O_o Mar 16 09:35:43 yes, 1 tab contains 2 view Mar 16 09:35:43 or well, probably possible, but don't really see the point Mar 16 09:35:54 considering there's fragmentpager Mar 16 09:36:24 but you could simply signal your fragments from the tabactivity Mar 16 09:36:25 how to properly bring my application to foreground if it's already running in the background using intent? Mar 16 09:36:29 when a tab change occurs? Mar 16 09:36:42 is there a way to remove apps from the dev console? Mar 16 09:36:56 zhulikas: your app? you mean an activity? Mar 16 09:37:11 zhulikas: your 'app' is not running in the background Mar 16 09:37:11 :| Mar 16 09:37:21 a service from your app may be running, or an activity Mar 16 09:37:27 ok Mar 16 09:37:38 a service is running, but activities were never shown Mar 16 09:37:44 (after a boot) Mar 16 09:37:51 found it Mar 16 09:38:07 FragmentManagers onBackStackChanged() Mar 16 09:38:12 and yet, I think they are initialized with onCreate Mar 16 09:39:32 Can please anyone tell me if there is a way to update a notification only if it is shown ? Mar 16 09:39:38 I will try to simply call activity Mar 16 09:42:08 zhulikas: please read up on the activity lifecycle Mar 16 09:42:31 if every activity is being initialized without actually being started Mar 16 09:42:38 there's something very wrong Mar 16 09:43:21 maybe I am wrong Mar 16 09:43:35 maybe not 'initialzed enough' :) Mar 16 09:43:43 well, whatever Mar 16 09:43:57 no, each component's onCreate should only be called whenever it's started by something Mar 16 09:43:57 hey, I know what I should try to do Mar 16 09:44:05 an intent, usually Mar 16 09:44:11 I have a splash screen with some data updating Mar 16 09:44:19 so I tried calling intent with action MAIN and there were bugs Mar 16 09:44:26 one good advice for general debuggin: put a Log.d at the beginning of the function (but after super.) Mar 16 09:44:28 but I never tried calling that splash screen \o/ Mar 16 09:44:41 that way you see what got called Mar 16 09:45:33 you know, we are talking about over a megabyte of code Mar 16 09:45:37 not just three simple activities Mar 16 09:46:39 just the functions you're not sure about Mar 16 09:47:08 weren't you asking about another activity lifecycle related issue a few days ago? Mar 16 09:47:09 Isn't there any way or are you just ignoring me ? Mar 16 09:47:34 Walui: apparently nobody knows, or nobody has tried Mar 16 09:47:45 MDijkstra, I was. On Wednesday. Yesterday I had some other work to do and today I returned to my Android app Mar 16 09:48:08 I will spend some time testing stuff Mar 16 09:48:14 and return here only if problems didn't solve Mar 16 09:48:15 So weird ... Mar 16 09:48:18 sorry for spamming :) Mar 16 09:48:43 zhulikas: I don't know what the issue is this time, but again, it seems your application design is getting in the way Mar 16 09:48:54 apparently Mar 16 09:48:54 :) Mar 16 09:49:09 it means I am on my own Mar 16 09:49:15 with all the crazy shit I've done Mar 16 09:49:47 if you didn't depend on this delicate sequence of activities and services interacting then it would be much more robust Mar 16 09:50:08 ie, just split off the loading logic into a service and call it whenever data's missing Mar 16 09:50:23 instead of just depending on it being available after your app has started Mar 16 09:50:38 well, I was young and stupid when I designed this Mar 16 09:50:50 and never thought of such issues Mar 16 09:51:42 Yeah handle it in a service, this is how I'd do my next app because of some trouble I had when I relied upon things being available when they were no longer available etc... :) Mar 16 09:51:49 sequence of things ... Mar 16 09:51:54 yup Mar 16 09:52:04 I have this 'order of execution' Mar 16 09:52:16 and it works flawlessly when app is started using an icon Mar 16 09:52:24 but fucked up when I start it from a service Mar 16 09:52:39 I will see what I can do Mar 16 09:52:49 this app is very much dependent on the internet Mar 16 09:52:56 I might try to switch to mobile web app instead Mar 16 09:53:19 Make sure you have proper timeouts in your http requests :) Mar 16 09:53:25 I set mine quite low, to like 8 sec Mar 16 09:53:56 you mean in a webview? Mar 16 09:53:58 or where Mar 16 09:54:15 no, for myself it was my ASyncTask http requests... Mar 16 09:54:21 ah Mar 16 09:54:27 when it hung, it hung for ages.... :) Mar 16 09:54:31 yup Mar 16 09:54:43 problem was the http request timeout Mar 16 09:54:52 and if webview hangs, it consumes your cpu Mar 16 09:55:18 at least that's what I experienced Mar 16 09:55:30 not used WebView yet Mar 16 10:19:51 Hi. I'm building a tabhost based app. The TabHost doesn't display the icons even though I explicitly set them: http://pastie.org/3607148 What's wrong here? Mar 16 10:20:47 resources are there. I can load them in an imageview Mar 16 10:23:42 anyone new in here have an idea how/what can cause this http://stackoverflow.com/questions/5854290/why-does-resuming-an-activity-in-android-cause-badtokenexception i have identical problem different version so different line numbers, but other than that the same. and NO there is no mention of Dialog in the dump it happens inside the android framework. so i have no idea about the cause only that it is reported to me. ! Mar 16 10:24:33 hwit: TabActivity is deprecated Mar 16 10:25:11 hello guys - i need advice Mar 16 10:25:50 MDijkstra: I know, but I can't rewrite all code to support fragments atm. TabHost is working fine in another application. Mar 16 10:26:30 and it's also working here, but does only display text. Mar 16 10:26:34 i want to create an app that is some sort of statistical analysis tool on activities done by the whole android system - i need to log actions of all applications on the system and save them to a file - are there logs on the system which I can use, or do I have to create my own? Mar 16 10:36:44 amoxibos: don't think you can do that... every app is on a secluded virtual machine... maybe if your app was on a rooted phone and it was granted that access, but don't know where you'd start then either to try and log stuff other apps does Mar 16 10:38:43 well, can i grant my app root access if i want? Mar 16 10:43:13 can anyone help with this ICS issue? https://s3-eu-west-1.amazonaws.com/uploads-eu.hipchat.com/14087/49681/kfbhlyoag41abq1/SpinnerIssueICS.png Mar 16 10:43:32 layout is completely the same, the boxes are custom spinners Mar 16 10:53:27 napoleoncomplex, are you using layout_width=match_parent ? Mar 16 10:54:10 mrenouf: no, i have an exact layout_width of 96 dp for the spinner Mar 16 10:54:44 erm is there a way that I can have my app both landscape ways, like for tablets Mar 16 10:54:57 and you have gravity=center or something like that? (they behave much like TextView right?) Mar 16 10:55:03 Anyone here have a good tutorial on making a good search function? Mar 16 10:55:05 lanscape + 180 landscape Mar 16 10:55:17 ooh, it seems like they are double width, right? Mar 16 10:55:50 yeah, it seems as if they are centering to some other, larger width Mar 16 10:55:57 Blou_Aap: Just make sure it works in landscape, then the phone will handle that Mar 16 10:55:59 i've tried setting minWidth to 0dp, no help Mar 16 10:56:18 mrenouf the gravity is not set Mar 16 10:56:21 napoleoncomplex, have you looked at it in hierarchyviewer? you can tell exactly what they're doing then Mar 16 10:56:29 sometimes thats a hint Mar 16 10:56:33 good idea, let me check Mar 16 10:56:39 SimonVT, i dont want it to be portrait at all Mar 16 10:56:48 Stiffer, depends on what/how you want to search Mar 16 10:57:13 Blou_Aap: Unless you actively did something to prevent it, your app will work in both portrait and landscape Mar 16 10:57:21 Oh, like that Mar 16 10:57:58 hm Mar 16 10:58:39 ye I know that but i want to force landscape only, which i do, but would like either landscape mode Mar 16 10:58:56 depending on oreintation of cours Mar 16 10:58:57 e Mar 16 10:59:36 Might depend on android version Mar 16 11:00:03 I'll see what happens on my device Mar 16 11:00:20 3.2 and up Mar 16 11:00:29 building on Google API 15 Mar 16 11:00:38 \3.1 and up rather Mar 16 11:01:22 i cant have values-hdpid ?! Mar 16 11:01:25 awe man Mar 16 11:01:26 .... Mar 16 11:01:41 wtf is hdpid oO Mar 16 11:01:48 O_o Mar 16 11:01:54 hdpi Mar 16 11:02:00 eith an added typo Mar 16 11:02:05 with* Mar 16 11:02:05 So I found out that setting when targetting Froyo does not do what I want. :-( Mar 16 11:02:06 Sure you can Mar 16 11:02:17 eclipse moans Mar 16 11:02:18 :( Mar 16 11:02:30 mrenouf: I plan on making an app with alot of data, im making it for my school so I do not have to take my books with me again :P So basicly a page in a book is an activity in my app... I want people to be able to search from any activity Mar 16 11:02:40 ah Mar 16 11:02:44 doesnt like extra Mar 16 11:02:47 ettr.xml Mar 16 11:02:59 attrs.xml * Mar 16 11:05:29 Does anyone know if WindowManager.LayoutParams.FLAG_TURN_SCREEN_ON works without having to obtain a wake lock, because from my testing it seems it doesn't work without a wake lock!? Mar 16 11:06:08 But the android documentation implies it does (or at least doesn't mention anything about wake locks) Mar 16 11:06:11 Blou_Aap: http://developer.android.com/guide/topics/manifest/activity-element.html#screen Mar 16 11:06:14 sensorLandscape Mar 16 11:10:35 guys - in eclipse... do you know the name of the view that shows the properties for individual elements in graphical layout screen? i screwed up my perspective and it's gone =/ Mar 16 11:11:57 mrenouf: solid advice, seems the spinners are calling a custom spinner_item which messes the width of the textview :) Mar 16 11:12:49 cdmdcmdmcdm, Palette Mar 16 11:12:54 cool, glad you figured it out Mar 16 11:12:57 :-) Mar 16 11:13:05 aha! Theme.Sherlock.Light.DarkActionBar.ForceOverflow Mar 16 11:13:12 bloue_aap, ty sir. Mar 16 11:13:13 welcome to the future Gingerbread users! Mar 16 11:13:17 hehe Mar 16 11:13:28 kill the Menu button, with FIRE! Mar 16 11:13:56 cdmdcmdmcdm, its called... 'properties' ;-) Mar 16 11:14:17 mrenouf THATS it haha Mar 16 11:14:20 christ i stink at this. Mar 16 11:14:20 cdmdcmdmcdm, oh you're referring to 'Outline' I think Mar 16 11:14:30 no no - properties got it. Mar 16 11:14:36 i really am abysmal. Mar 16 11:15:09 you can always use the reset option on a perspective to get back to saved defaults Mar 16 11:15:16 right click->reset Mar 16 11:15:32 but that also resets the layout of the views which I hate Mar 16 11:16:23 yeah i tried that - for some reason i lost the properties and couldn't get it back Mar 16 11:16:46 if i'd known it was 'properties' i'd have just added it back in quickly. i need another coffee i think X( Mar 16 11:35:08 hey mr romainguy__ did you take that photo? Mar 16 11:39:03 Is ANT still the way to go for automated builds? Mar 16 11:39:20 that or maven Mar 16 11:39:36 but ant is supported out of the box pretty easily with android Mar 16 11:43:31 Hello , when i followed hello world tutorial Mar 16 11:43:58 iT gave me Failed to install Hello.apk on device 'emulator-5554! , upon running it on eclipse Mar 16 11:44:19 But i can access and run app fine by browsing through apps in the emulator Mar 16 11:44:24 shall i continue doing this Mar 16 11:44:29 or will i face problems in future? Mar 16 11:45:36 Samantha_: sometimes eclipse gives me that error, just run it again and it should be fine Mar 16 11:46:24 I have 3 textviews. The first one should stick to the left (fixed with), the third one should stick to the right (fixed with) and the middle one should take up the remaining space and cut off if too long. (I currently have http://pastebin.com/9ULNaC5X A basic example would be nice too) Mar 16 11:46:33 (I've been puzzling around with that file a lot, so it probably has a lot of mistakes now) Mar 16 11:46:36 So, ANT is the way to go? Mar 16 11:47:18 BankZ: way to go for what? Mar 16 11:47:22 I am a newbie to android , after reading hello world tutorial should i jump to Activities tutorial? Mar 16 11:48:49 The hello views one are quite good Samantha_ Mar 16 11:48:55 Samantha_: Try the hello, views tutorial, or any tutorial on whatever interests you or what you want to do Mar 16 11:49:08 But do what you think is fun, no point of spending hours of things that suck for you at this stage. Mar 16 11:50:33 can i run direct java code ? i need to modify classes? Mar 16 11:52:20 code1: to automate my build Mar 16 11:52:48 BankZ: yes use ant Mar 16 11:52:56 thanks Mar 16 11:53:06 Samantha_, do take a look at android lifecycle methods Mar 16 11:53:31 im a .net programer, and I want our android apps to be automated like everything else Mar 16 11:53:46 what's the best way to use a file chooser? Mar 16 11:54:11 liek should I make my own? or should I make an intent with some pre-set apps and ability to dl one of them? Mar 16 11:54:15 alowaniak, , intents ! Mar 16 11:54:21 well ye i would want to Mar 16 11:55:17 but i mean i'll have to do some checking i guess? Mar 16 11:55:26 also i need to find out what intent to actually send Mar 16 11:55:27 alowaniak, done something long back, but failed during getting music files.. Mar 16 11:55:50 chooseIntent or something like that ... Mar 16 11:56:05 well afaik there's no standard app in android for it Mar 16 11:56:30 Action_send Mar 16 11:56:32 so i do have to check for activitynotfound Mar 16 11:56:54 sample see here http://stackoverflow.com/questions/4431386/android-share-intent-chooser Mar 16 11:56:58 03-16 09:52:13.485: E/DataRouter(2585): usb connection is true Mar 16 11:57:11 the logcat output from a stock galaxy s2 is brilliant Mar 16 11:57:14 i don't want to send, i want to retreive;) Mar 16 11:57:19 if you ever get a chance just plug one in and lulz Mar 16 11:57:35 retreive file path or something like that from activityForResult Mar 16 11:57:51 i know OI FileManager has their own PICK_FILE action Mar 16 11:58:08 but idunno, i don't want to force users to use a specific app Mar 16 11:58:10 I can't find lifecycle doc, How does it work, Do we need to make Java Classes and functions and execute them in activites? Mar 16 11:58:11 Ohh sorry my bad ! Mar 16 11:58:30 Can anyone here spend 5 minutes and try out reproducing this issue with ADT? http://code.google.com/p/android/issues/detail?id=27095 Mar 16 11:59:05 there is a zip of of workspace included, just need to unzip and import and follow the two steps in the bug Mar 16 11:59:20 what do you mean exactly Samantha_? Mar 16 11:59:44 alowaniak, this might help u Mar 16 11:59:44 http://www.tutorials-android.com/learn/How_to_pick_a_file_with_an_Intent.rhtml Mar 16 12:00:27 Samantha_, please see here http://developer.android.com/guide/topics/fundamentals/activities.html Mar 16 12:01:30 hmmye the thing I don't like is that it's so specific for one app... but I guess there's no good way around that Mar 16 12:01:38 Samantha_, ..and look for a activity lifecycle flowchart . Mar 16 12:01:43 except for making multiple checks ofc Mar 16 12:02:06 thnks though vishrayne:) Mar 16 12:02:08 hi, i'm an idiot, does anyone have any resources on styling and theming for android? the d.android.com page on it is a little big vague Mar 16 12:02:15 like books or something@? Mar 16 12:02:25 alowaniak, Can u explain what u r trying to achieve. Plz Mar 16 12:03:33 well nothing more than just picking a file (in this specific case a sqlite database) somewhere from the phone (most probably the sdcard) Mar 16 12:04:09 alowaniak, hmm Mar 16 12:05:06 and would be nicest if I could do it with some universal intent Mar 16 12:05:31 ohk.. I'm not sure abt this .. but hav u tried creating a chooserIntent with startDir sdcard and type */* Mar 16 12:06:03 This shld return almost every files an activity has permission to access, think so but not sure Mar 16 12:07:02 hmye i think i had vishrayne but then in the chooser it gave me gallery, music choose thing and something else iirc Mar 16 12:09:33 hmye it gives me "choose music track" "contacts" and "gallery" :p Mar 16 12:10:21 alowaniak, Sry dude. I hav no idea Mar 16 12:10:43 hmye i guess i'll just have to check for some file managers Mar 16 12:10:57 and check if it found any of them and otherwise direct them to market for one of them Mar 16 12:11:05 Still, I don't think u hav direct access to a db file from an activity Mar 16 12:11:47 hmm how do you mean? Mar 16 12:11:58 storkme, hav u read this ? http://developer.android.com/guide/topics/ui/themes.html Mar 16 12:12:08 if i change my sqliteopenhelper to the name "/mnt/sdcard/somedb" it just opens that db if it exists so... Mar 16 12:12:50 ohk, Havn't tried this again not sure. Sry for misleading u Mar 16 12:16:03 i don't support that there's some standard section or something in the playstore of an app that tells info for developers (like if it can be called for activityForResult and such?) Mar 16 12:16:11 i don't suppose* Mar 16 12:17:49 hmm there might be, but finding a intent will be a bit difficult. Mar 16 12:18:16 (or possibly a section that shows the intent filters) Mar 16 12:18:19 guess u will have to won this, via plain java stuff Mar 16 12:18:19 Anyone had any success launching the official Twitter app from ACTION_VIEW? Mar 16 12:18:29 io.file Mar 16 12:18:52 It's registered for the twitter.com domain, but for some reason it simply opens the web browser. Tweetcaster works as expected Mar 16 12:20:47 alowaniak, tried searcing openintents.org Mar 16 12:20:49 ? Mar 16 12:21:12 ye found some stuff too Mar 16 12:21:16 i'll probably use that i guess Mar 16 12:21:23 k Mar 16 12:21:28 thnks :) Mar 16 12:24:36 alowaniak, just read something about intentfilters, take a luk at this when u r done with ur RND Mar 16 12:24:39 http://stackoverflow.com/questions/1733195/android-intent-filter-for-a-particular-file-extension Mar 16 12:27:25 Hi, anyone familiar with security providers? Mar 16 12:27:40 does anyone ever use the hierarchyViewer? Mar 16 12:28:17 tansaku, kind of Mar 16 12:28:47 vishrayne: I was wondering if it had been integrated with ADT in the latest release ... Mar 16 12:37:47 is there a component available that acts like listview but fills a tablelayout? Mar 16 12:39:17 are the google code svn server down? Mar 16 12:39:20 i can't commit Mar 16 12:39:55 svn: Commit failed unexpectedly --- please try again later (1) Mar 16 12:40:04 tapas: gridview maybe? Mar 16 12:52:50 well there's a new "Layout View" in ADT, but it won't connect to my emulator ... Mar 16 12:54:40 gah, looks like it moved into ADT and then back out again: http://stackoverflow.com/questions/4815803/what-do-the-various-android-view-in-eclipse-do Mar 16 12:56:03 anyone know why theming could make my buttons significantly larger? my view renders fine in theme.default, but on holo all the buttons are massive - despite me setting the padding manually... Mar 16 13:00:02 interesting the style getting rid of the gradient at the top of activities doesn't work at all here.. Mar 16 13:09:51 json or sqlite: I have some text i scrapped from a website. i want to save it on my device and load it from the device. what is the most simple way - json or sqlite? Mar 16 13:11:33 I would probably go with sqlite if it were my decision, though I don't have a lot to back that up with Mar 16 13:17:36 anyone know if you can set up pinch zoom simply using the graphical layout editor in eclipse, or do you have to go down to the code level? Mar 16 13:18:56 bif_1964: are you only saving a bit of text? the app won't need to save anything else? Mar 16 13:19:47 question about somethings in a "ROM" where are all the default apks stored so if you wipe a phone they return ? for instance uscellular has crap wear and if i were to wipe my phone those apps would be placed again Mar 16 13:20:28 it should be as simple to mount r +o and remove these apps by chmodding them and deleting ? Mar 16 13:21:05 only text. its like the news from the local football team Mar 16 13:21:20 bif_1964: i'd just save the text to a file Mar 16 13:22:18 but i need to differentiate the. i have the header, the body text, the published data and the link Mar 16 13:23:10 well that's a bit different then, JSON would be a decent solution for that Mar 16 13:23:35 wow im grabbing AIDE Mar 16 13:23:38 u guys seen it? Mar 16 13:23:39 ok Mar 16 13:23:45 https://play.google.com/store/apps/details?id=com.aide.ui Mar 16 13:24:02 only problem is the typing on android tabs is so bad u could never code without a external keybopard Mar 16 13:24:49 i agree with gaz` those keyboards are horrible they need a bluetooth one like the ipads have a nice tiny one Mar 16 13:24:59 gaz`: it's an interesting idea, not useful imo Mar 16 13:25:32 i have a transformer 10.1 and it is horrible unless i put it in my lap Mar 16 13:25:37 yeh im already ripping my ahir out trying to do a system.out Mar 16 13:26:22 they have a programmers keyboard for phones not sure about the tablet Mar 16 13:27:20 lol i cant even find speech marks on my keyboard, i been waitign for this for yrs but tablets just suck still Mar 16 13:27:48 Make a new keyboard app? :P Mar 16 13:28:01 they still would suck imp Mar 16 13:28:03 imo* Mar 16 13:28:37 Probably, I try not to do too much typing on my tablet Mar 16 13:29:36 oh now i need a mouse Mar 16 13:29:41 mouse n keyboard lol Mar 16 13:29:47 oh wtf ill take my netbook instead Mar 16 13:29:51 i have a dell mini and idk if it would run android live :/ Mar 16 13:30:00 it sounds like you need a computer :P Mar 16 13:30:13 it would be a small footprint to dualboot Mar 16 13:30:14 it bloody works tho Mar 16 13:30:18 not quite sure how they did it Mar 16 13:30:36 and its not their fault input devices all suck apart from traditional keyboard/mouse Mar 16 13:30:45 but i doubt i can use it still Mar 16 13:31:11 if it doesn't use NDK, you could perhaps run it in android-x86 Mar 16 13:33:11 its almost just novel Mar 16 13:33:32 i wonder if theyres any tablet with a keyboard that slides out Mar 16 13:33:40 id love that and some little thumb joystick Mar 16 13:34:36 http://www.amazon.com/SumacLife-Wireless-Bluetooth-Keyboard-Tablet/dp/B0057IN6P6 Mar 16 13:34:49 reallly makes me wonder why u wouldnt just use a netbook tho Mar 16 13:35:37 I've got two netbooks and a tablet, since I got the tablet I've preferred that over both of my netbooks Mar 16 13:36:07 weird Mar 16 13:36:14 Though my fullsized laptop is my main computer, it's easier to enjoy tablets when you don't use them for your primary computing Mar 16 13:36:17 i mean for some stuff yeh, using on sofa, in bed, etc Mar 16 13:36:21 but for what else Mar 16 13:36:57 I use it for googling stuff and reading textbooks while I'm at college, as it cuts down on alt-tabbing and I don't have access to a second monitor there Mar 16 13:36:59 i even find reading on them very annoying which i didnt think i would, prob dont have a decent book reader but im just tryin gto read a book in pdf and its a waste of time wont even remembe rpage nunmber or scale properly Mar 16 13:37:19 I've been using Aldiko and find it does everything I need in a reader Mar 16 13:37:26 nice ill grab that now Mar 16 13:37:28 It remembers my page and is faster than all the other pdf viewers I tried Mar 16 13:37:33 pdf is the wrong answer Mar 16 13:37:56 pdf is software paper - it's meant for fixed page sizes and layouts... Mar 16 13:38:06 Yeah, getting software designed for ebooks is way better to use Mar 16 13:38:18 well i just have pdfs unfortunately Mar 16 13:39:30 I'm also one of the only people left in the world without a cellphone; so the little extra layer of portability of a tablet over a netbook also gets my attention a lot Mar 16 13:40:37 EnRohbi yeh that makes sense Mar 16 13:40:41 but why not have a cell phone Mar 16 13:41:10 this Aldiko only allows u to read books u buy? Mar 16 13:41:13 I can't afford monthly payments at the moment, I go to college full time two cities away from where I live so my time is stretched pretty thin Mar 16 13:41:18 No, you can import books with Aldiko Mar 16 13:41:23 As I certainly have bought zero things from them Mar 16 13:42:20 Hit "SD Card" from the home screen, then find the files to import, go from there Mar 16 13:42:27 sweet Mar 16 13:42:36 i can finally read "surely youre joking mr feynman" Mar 16 13:43:10 and some books on android and ae Mar 16 13:43:21 turning pages is well slow Mar 16 13:43:36 I found the page turning to be more responsive than other readers I'd tried Mar 16 13:43:47 EnRohbi talks a lot, eh? Mar 16 13:43:55 As of today, sure :P Mar 16 13:44:11 and the way to go thru pages isnt working on this pdf Mar 16 13:44:11 I stuck around IRC after the last time we met, just elsewhere Mar 16 13:44:14 damn tabs suck Mar 16 13:44:44 ah ok working now Mar 16 13:45:10 yeh htc flyer is too small for reading on basically Mar 16 13:45:37 how do u book mark EnRohbi Mar 16 13:46:00 Seems to be menu - go to... - add bookmark Mar 16 13:46:06 Though I haven't used them yet, I can't comment on their functionality Mar 16 13:46:14 Aldiko is pretty neat. There's a large number of free ebooks too Mar 16 13:46:19 excellent thx Mar 16 13:46:29 flyer is the perfect size for reading Mar 16 13:46:38 not quite Mar 16 13:46:47 it would be a very small book in the first place Mar 16 13:46:58 and have the screen is wasted unless u zoom and if u zoom then it become sinvoncenient Mar 16 13:47:06 if u dont zoom youre squinting, Mar 16 13:47:06 no, it would be the same size as a trade paperback Mar 16 13:47:27 yeh but with a miniscule font Mar 16 13:47:27 meh, you are a crazy person - and on IRC at 10 on Friday night? Mar 16 13:47:38 you too Mar 16 13:47:41 gotta hit the poub soon Mar 16 13:47:44 not been up long lol Mar 16 13:48:02 been quite exciting tho, the walking dea dgame comnig out has sent tons of ppl to my game haha Mar 16 13:48:11 i love it, NumberFormat.parse if for handling numbers in the device's locale, but chokes on the number 10,00 on a Norwegian device Mar 16 13:48:46 i guess i have to write my own damn parsing Mar 16 13:48:46 no idea why my typing sucks so bad today all this tab squinting i reckon Mar 16 13:59:09 wongk: look into locale issues Mar 16 13:59:15 wongk: you can tell NumberFormat how to handle things Mar 16 14:00:56 that defeats the purpose :P Mar 16 14:08:09 when I do android:src="@drawable/whatever" my image looks fantastic. But when I set it programatically it is like 1/4 the size. How do i fix this? Mar 16 14:08:39 snooplsm when you set it programmatically, what method are you using Mar 16 14:08:59 iv.setImageDrawable(d); Mar 16 14:09:09 also starting an animation Mar 16 14:09:13 are you positive you've got the right drawable? Mar 16 14:09:28 readme: i'm using an image from the web Mar 16 14:09:33 hm Mar 16 14:09:35 same dimensions Mar 16 14:09:49 so you've downloaded it for testing, as well, then? Mar 16 14:10:03 yeah Mar 16 14:10:11 why don't you run a test where you set the downloaded image programmatically Mar 16 14:10:22 that way you can rule out problems with your image setting process and zero in on the downloading part Mar 16 14:11:45 snooplsm: also, if you didn't know this I'd just like to share this thread.. it may be useful: http://stackoverflow.com/questions/1945201/android-image-caching Mar 16 14:11:53 one of my favorited threads on so Mar 16 14:12:29 yeah we are using caching already Mar 16 14:13:14 show me the code that downloads your image Mar 16 14:13:36 i think something in there is making it smaller Mar 16 14:14:32 weird, my paused activity seems to be still doing stuff. is that normal? Mar 16 14:14:49 what kind of stuff Mar 16 14:15:10 countdowntimer Mar 16 14:15:17 yeah, you need to stop that yourself Mar 16 14:15:21 probably do it in onPause() Mar 16 14:15:44 any threads or processes you start will need to be cleaned up by you Mar 16 14:16:09 on the lifecycle diagram it says acvivty doesn't run between pause and resume!? Mar 16 14:16:38 countdowntimer has a separate thread from your activity. Mar 16 14:16:47 i think it's actually a process, let me check Mar 16 14:17:28 actually, it might have the OS do it, in any event, it's two separate flows Mar 16 14:17:46 and you should call "cancel()" if you want it to stop with your activity Mar 16 14:17:57 but I honestly think countdowntimer is not the right class for your use case. Mar 16 14:18:02 ok that makes a bit more sense. The problem I'm having is that my startActivity isn't starting the activity (it is staying in the paused state) even thought the timer is running Mar 16 14:18:14 readme: how so? Mar 16 14:18:21 code1: well, what's the use case? Mar 16 14:18:34 countdown timer lol Mar 16 14:18:51 morning all Mar 16 14:19:06 code1: to implement a countdown then? Mar 16 14:19:18 readme: yes Mar 16 14:20:12 so do you want this countdown to continue when the user returns? Mar 16 14:20:17 or keep going while they are gone Mar 16 14:20:26 the fact that it's running while the screenis off is a good thing but then I'm firing a startActivity pending intent but the activity remeans on pause!? Mar 16 14:20:43 did you override onPause? Mar 16 14:20:49 show me the code if you did Mar 16 14:21:19 @Override Mar 16 14:21:19 public void onPause() Mar 16 14:21:19 { Mar 16 14:21:19 super.onPause(); Mar 16 14:21:19 Log.v(TAG, "Paused."); Mar 16 14:21:19 } Mar 16 14:21:43 code1: how do you know that "onPause" is still running or, that "the activity is still paused" ? Mar 16 14:21:55 paste the whole activity in a pastebin Mar 16 14:22:09 because i have this: Mar 16 14:22:12 @Override Mar 16 14:22:12 public void onResume() Mar 16 14:22:12 { Mar 16 14:22:12 super.onResume(); Mar 16 14:22:12 Log.v(TAG, "Resumed."); Mar 16 14:22:13 } Mar 16 14:22:23 code1: pastie.org please Mar 16 14:22:25 whole activity Mar 16 14:22:33 ops sorry Mar 16 14:23:19 I looked at the source of countdowntimer and it is a fine choice :) Mar 16 14:24:09 I hope so, though there are some rounding errors that make it skip a second every now and then (I'll need to look into that thought) Mar 16 14:24:29 I am sure once you share the activity code things will be obvious enough Mar 16 14:25:28 I don't think that'll help as it's spread over quite a few files! :/ Mar 16 14:25:56 code1: oh well then, good luck on your own :) Mar 16 14:26:05 I'll try and pick out the bits that are relevent Mar 16 14:27:39 I'm using the alarm manager to call a pending intent, I've tried all the different flags. It seems that if the activity is running then startActivity has no effect but I wan't it to resume Mar 16 14:28:11 it seems it's ignoring it and leaving it paused Mar 16 14:28:49 is there an app to see how many KB/s I am getting on my device Mar 16 14:29:03 speedtest.com app? Mar 16 14:29:15 I want to see it right near the 3g and my signal bars Mar 16 14:29:40 yeah, I've got one like that installed Mar 16 14:29:43 1 sec Mar 16 14:30:11 network monitor mini Mar 16 14:30:17 it's always on osd, and instantaenous readings Mar 16 14:31:40 I don't quite understand the whole Loader thing. What can it be used for? I've only seen it used with CursorLoader... How would I use Loaders w/ loading data over the network? AsyncTaskLoader? How does AsyncTaskLoader work with Loader? Mar 16 14:40:34 is there a way to get an image to fill the width, and scale appropriately? Mar 16 14:41:08 yes Mar 16 14:41:34 do tell Mar 16 14:46:07 layout_width="fill_parent" ? Mar 16 14:46:15 and correct scaleType? Mar 16 14:47:10 canadiancow|work, mind if I ask how many devs on the android side Zynga got? Just tell me to stfu if it's a secret Mar 16 14:48:16 Zooklubba: do you mean devs working on androiD? Mar 16 14:48:20 or "android devs" Mar 16 14:48:24 becuase those are two very different things Mar 16 14:48:35 I guess working on android Mar 16 14:48:42 the number's too high for me to know Mar 16 14:48:44 well, on your apps? Mar 16 14:48:56 "your apps" Mar 16 14:49:01 the app that i am personally working on? Mar 16 14:49:04 or all zynga android apps Mar 16 14:49:09 all zynga Mar 16 14:49:14 many Mar 16 14:49:16 more than i can count Mar 16 14:49:21 Haha Mar 16 14:49:22 oh, ok. Mar 16 14:49:23 definitely more than 50 Mar 16 14:49:52 thanks Mar 16 14:51:41 http://www.bbc.co.uk/news/technology-17403328 Mar 16 14:52:07 old news, lol Mar 16 14:52:46 yay, I got my money today Mar 16 14:53:37 money is good Mar 16 14:53:39 im glad i went the free route Mar 16 14:53:46 dont want to deal with google and payments Mar 16 14:54:28 Zooklubba: from your apps? Mar 16 14:54:36 Yeah, the late payout thing. Mar 16 14:54:54 how are you monetizing and what kind of apps are you selling? Mar 16 14:55:25 I only have one paid app out. It's a special one for ppl who subscribe drugs. Mar 16 14:55:33 They have a large handbook, its more or less the handbook but in digital form Mar 16 14:55:42 Bookmarks, offline storage and that sort of thing. Mar 16 14:55:48 oh, cool Mar 16 14:55:58 I have one free for regular people without offline storage and the extra prescribing info Mar 16 14:56:00 how much do you charge? Mar 16 14:56:10 About a $1 Mar 16 14:56:23 And the market is extremely small since it's a local one Mar 16 14:56:25 my impression would be that you could charge more Mar 16 14:56:37 I thought you were going to say $5 or $10 Mar 16 14:56:53 $1 is too cheap for an app Mar 16 14:56:54 (people will pay $5 for a "to-do" list app that doesn't even do anything more than pen and paper) Mar 16 14:57:00 brb Mar 16 14:57:01 target the median... like $2.99 Mar 16 14:57:13 Yeah, especially when the target audience is doctors Mar 16 14:57:15 and people will moan like hell at a $1 game with 10+ hours of gameplay Mar 16 14:57:35 but there is some competition with that app. But I would say mine is the best. lol Mar 16 14:57:47 That's why I went the free route, no one can complaing. Web service (later) will generate our revenue Mar 16 14:58:24 I actually more or less made the app as advertisement for my company. Mar 16 14:58:34 Well, cant say that completely since it has some revenue. Mar 16 14:58:45 By the way, I'm demo'ing To Do Mapr tonight in Minneapolis mobile conference: http://mobilemarchtc.com/mobile-3d-2/ Mar 16 14:58:59 Zooklubba: whats the name of your app? Mar 16 14:59:12 "Läkemedel för förskrivare" Mar 16 14:59:21 It's only for Swedish and norwegians really :P Mar 16 14:59:26 oh ok Mar 16 15:01:38 The book which my app is a digital copy of costs around $150 if I remember correctly. and they buy a new one each year. So I more or less know that I sell it cheap. But the competition is one free and one for like $1.25 or something similar Mar 16 15:02:28 [10:57:15] and people will moan like hell at a $1 game with 10+ hours of gameplay Mar 16 15:02:28 lol Mar 16 15:02:40 GAME COST A DOLLAR AND I FINISHED IT IN 12 HOURS? WHAT A RIP Mar 16 15:03:14 lol Mar 16 15:03:20 people who buy games are not necessarily mature people with money :| Mar 16 15:03:21 clearly you need to make a game with 1 minute of gameplay that's repeated indefinitely Mar 16 15:03:36 people who are buying zooklubbas app probably make nice salaries Mar 16 15:03:39 QubeZ: demoing which app? Mar 16 15:03:54 Zooklubba: oh, that sucks. underpriced competition. Mar 16 15:03:57 oGMo: +1 Mar 16 15:04:07 scramble with friends has 2 minutes :) Mar 16 15:04:18 oGMo: you are sooo sadly correct in your sarcasm Mar 16 15:04:21 TheBunny: www.todomapr.com Mar 16 15:04:27 canadiancow|work: i was thinking like bejewelled but yeah Mar 16 15:04:38 I want to release a game with an ad Mar 16 15:04:39 except they charge what $6 for about 30 seconds Mar 16 15:04:44 I've been reading up and it seems it does well with an ad Mar 16 15:05:00 QubeZ: looks nice. Mar 16 15:05:05 thanks Mar 16 15:05:25 you put the ad right where the user needs to play the game so they click by accident :-X Mar 16 15:05:38 lol Mar 16 15:05:45 readme: Mar 16 15:05:47 YES Mar 16 15:05:50 that works ;) Mar 16 15:05:51 oh yeha that hasn't been done Mar 16 15:06:02 oGMo: tried and true method then, i'd say Mar 16 15:06:09 Do you get a lot of spam from airpush? Mar 16 15:06:15 Or you make a popup ad window that comes just when you're about to click a dialog :P Mar 16 15:06:18 bonus points if the game resets when they leave the app thus causing any ad clicks to require replaying from the beginning Mar 16 15:06:22 Zooklubba: i don't get any spam on my android Mar 16 15:06:28 you must have installed crappy malware Mar 16 15:06:35 Airpush wants me to implement their ads in my apps Mar 16 15:06:41 lol, readme I meant to the developer mails Mar 16 15:06:43 make them pay you Mar 16 15:07:04 I'm having a problem removing children from a LinearLayout. When I call myLayout.removeAllViews() I still see a view there. Is it because it will still stay in the activity until I repaint or something? Mar 16 15:07:16 I've tried adding lmyLayout.invalidate() after Mar 16 15:07:57 you shouldnt ever need to call invalidate Mar 16 15:08:02 unless you're doing something really silly Mar 16 15:08:13 ok Mar 16 15:08:36 does removing it from its linearLayout not necessarily remove it from the screen for some reason? Mar 16 15:09:08 it should Mar 16 15:09:26 hrm Mar 16 15:09:30 must be somethign else going on then Mar 16 15:09:35 it does only occur every other time Mar 16 15:12:38 hah it is something with painting Mar 16 15:12:54 if I flip my phone and force it into landscape mode and the go back to portrait it's fixed Mar 16 15:13:41 woah had 500 hits on my game vid in one day Mar 16 15:14:32 gaz`: nice! Mar 16 15:14:51 so invalidate nor forcelayout fixes it. what else can i try Mar 16 15:15:00 http://developer.android.com/reference/android/app/Service.html#onStartCommand(android.content.Intent, int, int) <-- how does it get START_STICKY if you want to build on 1.6 (since START_STICKY is api 5, android 2.0) Mar 16 15:15:04 invalidate the activity's root lay out? Mar 16 15:15:04 These Settings Fragments are getting frustrating. Need a way to set a Fragment on an intent. Mar 16 15:15:38 On Honeycomb, is the factory reset usually under Privacy or Storage? Mar 16 15:16:39 Privacy Mar 16 15:16:51 So it's just HTC being weird when they put it in Storage? Mar 16 15:16:59 Great. Love it when standards are broken. Mar 16 15:17:01 I guess, all I did was check my tablet Mar 16 15:19:35 So basically now if I offer up ACTION_PRIVACY_SETTINGS for the purpose of prompting the user to tap Factory Reset, then this lovely HTC Evo View will have nothing of the sort. Mar 16 15:19:46 I want my MasterClear Activity back, dammit Mar 16 15:23:17 sha1sum, you could check the device info? couldnt you? Mar 16 15:23:34 Was thinking without new permissions Mar 16 15:27:05 Does javascript not work in a webview when it is written into the html? Mar 16 15:27:42 Meaning u can only use jsinterface Mar 16 15:28:31 btw does anyone have any good resources for javascript and android Mar 16 15:30:18 gsingh: the best place to look is google if not there is an oreilly book out on html5 javascript and android Mar 16 15:30:30 k Mar 16 15:30:31 Zooklubba: yeah, I just really hate to get into hardcoding different stuff depending on manufacturer (or even model). Mar 16 15:30:37 It seems cheap to me. Mar 16 15:30:47 Yeah, feel the same. Mar 16 15:30:56 But sometimes the manufactures screw up, they are only human :P Mar 16 15:31:12 Yup. Mar 16 15:33:07 Or just hope there wont be that many htc evo users :P? Mar 16 15:34:23 sorry to me htc phones are the best phones even saying that they were the first to put stock in the android with the g1 which i had prerelase and they have the best still Mar 16 15:34:56 ugh Mar 16 15:34:59 #android-root is leaking Mar 16 15:35:34 motorla and other late comers should take notice... always the electrify is a great phone but locked bc motorola is a giant company and want ppl to pay to devel apps specially to them Mar 16 15:38:09 What is best for you may not be best for other people droidbuster, noone trash-talked HTC really :/ Mar 16 15:38:21 when i go to http://www.w3schools.com/js/ using and android browser and try the "try it yourself" example the javascript does not work?? whats the deal? Mar 16 15:38:22 I have encountered several, what could be seens as errors, done by manufacturers Mar 16 15:38:48 well first off w3schools is an abysmal resource Mar 16 15:39:05 second off it's possible that they're using some sort of funky JS inlining that no one uses anymore Mar 16 15:39:11 try going to a modern website that does anything at all Mar 16 15:39:17 odds are it's doing it with JS Mar 16 15:39:25 e.g. the ars technica mobile website Mar 16 15:40:24 gsingh,I tried w3schools Mar 16 15:40:27 gsingh: try jsfiddle Mar 16 15:40:29 I think this is from that experiment: Mar 16 15:40:29 java.lang.Throwable: Warning: A WebView method was called on thread 'WebViewCoreThread'. All WebView methods must be called on the UI thread. Future versions of WebView may not support use on other threads. Mar 16 15:40:31 w3schools is fail Mar 16 15:41:08 hi everybody! Mar 16 15:41:56 hi Mar 16 15:42:30 can somebody give me a useful tip or link, how to create a custom "wheel". i mean a wheel like in the standard timepicker or datepicker. thank you!! Mar 16 15:42:48 er Mar 16 15:42:59 sorry, I have no idea what you mean by wheel. Mar 16 15:43:06 ^^ Mar 16 15:43:07 ok Mar 16 15:43:16 i try to explain Mar 16 15:43:34 dumb question how to decompile apps that are locked to normal decompiling such as google talk i want to decompile and retheme for my needs ? Mar 16 15:43:34 http://developer.android.com/resources/tutorials/views/images/hello-datepicker.png Mar 16 15:43:56 i have apktool but i also have the standard apkdecompiler Mar 16 15:44:30 droidbuster: go to #android-root Mar 16 15:44:34 droidbuster: go to #android-root and never come back ._. Mar 16 15:44:39 ok, it's no wheel... Mar 16 15:45:06 well i will i always work on both sides... i just like it my way like burger king Mar 16 15:45:23 ok well don't ask about how to decompile applications here plzkthx. Mar 16 15:45:48 lov: can you help me? Mar 16 15:45:57 chris_cross: you really haven't explained what you want. Mar 16 15:46:04 chris_cross: do you mean a number picker? Mar 16 15:46:07 look at the link Mar 16 15:46:23 Yeah I looked at the link Mar 16 15:46:34 http://developer.android.com/reference/android/widget/NumberPicker.html Mar 16 15:46:36 You probably want that Mar 16 15:46:41 and it's probably not available at the api level you want Mar 16 15:46:46 so you need to use the compat libs if it's there Mar 16 15:46:56 ok my fault :) dec... is half the battle when making stock apps to suite your tastes :P Mar 16 15:47:22 ok thanks alot Mar 16 15:48:05 it's really annoying that adjustViewBounds and scaleType="centerInside" don't scale drawables up Mar 16 15:48:16 is there a way to scale up a drawable maintaining aspect ration Mar 16 15:48:21 s/ration/ratio/ Mar 16 15:48:30 I'm pretty sure that one of the scale types does that Mar 16 15:49:23 Yeah, that's what centerInside is supposed to do Mar 16 15:50:19 Are you hardcoding the imageview size or something? Mar 16 15:56:33 . Mar 16 15:57:59 Huh, guess it only scales if the drawable is larger, judging from the code Mar 16 15:58:03 What about FIT_CENTER? Mar 16 15:58:33 "Compute a scale that will maintain the original src aspect ratio, but will also ensure that src fits entirely inside dst. At least one axis (X or Y) will fit exactly. The result is centered inside dst." Mar 16 15:58:37 That sounds about right Mar 16 16:00:13 No more dev now, to the pub. Mar 16 16:00:18 hi Mar 16 16:12:26 Anyone here have a good tutorial on making a good search function? Mar 16 16:12:44 SimonVT, do you use the proguard stuff in bugsense? Mar 16 16:12:55 Huh? Mar 16 16:13:01 My project is proguarded, yeah Mar 16 16:13:07 did you upload your mapping file? Mar 16 16:13:11 oh, that Mar 16 16:13:14 so it will automatically deobfuscate? Mar 16 16:13:16 No, have to pay then :p Mar 16 16:13:18 ah yea Mar 16 16:13:22 so im still in the free trial period Mar 16 16:13:26 the first crash was deobufscated Mar 16 16:13:29 but the next two arent Mar 16 16:13:37 I think it's on-demand obfuscating Mar 16 16:13:43 Like you have to click to go to it or something Mar 16 16:13:52 i did, but it doesnt do anything Mar 16 16:13:58 if thats the "symbolicate" button Mar 16 16:14:03 Hmh, don't know :F Mar 16 16:14:13 i wont be paying for my personal apps, but im really pushing for us to it at work, and we would be willing to pay Mar 16 16:14:13 You didn't upload a new version or something and forgot to upload proguard as well? Mar 16 16:14:20 well that's the thing Mar 16 16:14:24 the new version has a different version code Mar 16 16:14:26 but same verison name Mar 16 16:14:34 but bugsense seems to use the name for associating the mapping files Mar 16 16:14:38 but the mapping file is the same Mar 16 16:14:47 huh Mar 16 16:14:51 I can't say, really Mar 16 16:14:56 i emailed them Mar 16 16:14:59 Sounds like a stupid solution on their part either way Mar 16 16:19:38 anyone wanna go leave a 5star on an app for me? :) Mar 16 16:21:12 <`z> canadiancow, what app? Mar 16 16:21:15 <`z> i'll try it and see Mar 16 16:21:32 yea i'd actually prefer if you play it first :) Mar 16 16:21:37 https://play.google.com/store/apps/details?id=com.zynga.scramble Mar 16 16:21:49 honestly feedback is more valuable than anything else Mar 16 16:21:57 <`z> you work for zynga? Mar 16 16:21:58 <`z> ;o Mar 16 16:21:59 Again stealing contact data! :p Mar 16 16:22:15 SimonVT i could make so many jokes, but im afraid someone would think im serious Mar 16 16:22:18 yes `z Mar 16 16:22:23 <`z> ooh Mar 16 16:22:29 hehe Mar 16 16:22:43 canadiancow|work: I'll trade you: https://play.google.com/store/apps/details?id=com.djtachyon.android.VirtualTurntable Mar 16 16:22:45 :P Mar 16 16:22:46 not compatible with my phone Mar 16 16:22:47 <`z> BAZYNGA Mar 16 16:22:53 Leeds o.O Mar 16 16:22:57 what phone?? Mar 16 16:23:04 (well, the main phone I'm using at the moment - it's compatible with a few others) Mar 16 16:23:15 HTC Magic aka Sapphire aka MyTouch3G Mar 16 16:23:18 ah yea Mar 16 16:23:21 it requires 2.2 Mar 16 16:23:27 I've got 2.2 Mar 16 16:23:34 it's also not compatible with my Revue :P Mar 16 16:23:35 GLES2 ? Mar 16 16:23:35 <`z> Leeds, i thought you were using SGS2 Mar 16 16:23:38 same Leeds Mar 16 16:23:39 <`z> ;o Mar 16 16:23:42 lol Leeds we have the same devices Mar 16 16:23:47 <`z> it's compatible with my sgn Mar 16 16:23:59 i got an S2 Mar 16 16:24:05 <`z> VJTachyon, what if I use a fake credit card Mar 16 16:24:09 <`z> to buy that app from you Mar 16 16:24:10 <`z> >:D Mar 16 16:24:22 Alright, canadiancow|work Mar 16 16:24:27 How do I play against you Mar 16 16:24:42 <`z> fucking google play Mar 16 16:24:45 start game against username Mar 16 16:24:46 canadiancow Mar 16 16:24:48 `z: short story, traded the SGS2 to my gf, got a gnex for myself, got the gnex stolen in China, she's using the SGS2 now, got her a cheap gnex on groupon, she's going to trade the SGS2 back to me, then I buy an HTC oneX next month when it's released Mar 16 16:25:02 alight Mar 16 16:25:03 o.I Mar 16 16:25:05 +r Mar 16 16:25:06 o.O Mar 16 16:25:11 <`z> lol Mar 16 16:25:14 <`z> complicated shit Mar 16 16:25:14 downloading on my galnex Mar 16 16:25:23 yup Mar 16 16:25:32 <`z> my gnex is the first phone that costs over $100 on a basic contract Mar 16 16:25:36 <`z> or the like Mar 16 16:25:42 <`z> previous phones are dumbphones Mar 16 16:25:46 <`z> until my last phone Mar 16 16:25:48 i bought mine 2 weeks before release from europe Mar 16 16:25:52 not saying how much that cost :X Mar 16 16:25:54 <`z> > htc touch2, $8 on basic-est contract Mar 16 16:26:23 the Magic is the only phone I bought on contract in many years - although it's common to get interest-free installments on credit card here for anything from mainstream retail - i.e. except for imports Mar 16 16:26:28 <`z> gnex is $458 after online order rebates (-30 phone price, -40++ sim card and registration, -10 delivery) Mar 16 16:26:37 so I'm still paying the installments for the (first) gnex Mar 16 16:26:59 <`z> i can't believe it VJTachyon Mar 16 16:27:09 `z: I hate to tell you, but the cheap groupon grey import gnex is $475 - no contract Mar 16 16:27:16 <`z> i used a credit card from fakenamegenerator Mar 16 16:27:23 <`z> Leeds, $475 what? Mar 16 16:27:25 <`z> USD? Mar 16 16:27:26 US Mar 16 16:27:29 <`z> lol Mar 16 16:27:45 <`z> 363 SGD, with contract Mar 16 16:27:53 <`z> free delivery to home Mar 16 16:28:28 yeah i paid $750 for my galnex gsm unlocked from europe Mar 16 16:28:44 but that was the day it came out.. and shipped to the US Mar 16 16:29:11 I paid just under US$700 for mine, on release day, retail - but as I said, 12 months installments Mar 16 16:29:21 * Zharf would never pay for a simlocked phone Mar 16 16:29:37 <`z> Zharf, no simlocked phones in my country ;) Mar 16 16:29:46 i'm quite happy with my s2, got it with a contract for 2 years Mar 16 16:29:47 there effectively aren't any here either Mar 16 16:29:49 <`z> illegal for telcos to lock phones to carriers Mar 16 16:29:52 <`z> ILLEGAL Mar 16 16:29:58 <`z> ILLEGAL, dude Mar 16 16:30:09 I think some odd things like mifis are locked... but not phones Mar 16 16:30:27 <`z> lol... Mar 16 16:30:38 Ravenheart: the S2 is a really solid phone - I think it's going to stick around for a while, take the place of the Desire/N1 as a baseline phone, widely available, well supported, etc. Mar 16 16:30:51 <`z> my mom bought an iPhone 4S with my contract a while ago Mar 16 16:30:52 at least until they announce the S3 :) Mar 16 16:30:55 hope samsung haven't scrwed up the iCS Mar 16 16:31:03 its samsung Mar 16 16:31:08 <`z> and sold it to a friend in china for 1.5x the price without contract Mar 16 16:31:09 <`z> or so Mar 16 16:31:22 <`z> then bought the gnex for me with her contract Mar 16 16:31:23 screwing things up is imminent Mar 16 16:31:27 <`z> which was 15 days after Mar 16 16:31:56 apparently it's very touchwiz-y, but you can at least get to the stock launcher by deleting defaults Mar 16 16:33:07 I'll check it out next week when the gf gets her gnex and I get my old S2 back :) Mar 16 16:34:13 <`z> so does your gf like the gnex Mar 16 16:34:31 incidentally, I have to say I'm pretty impressed by HTC at the moment - while I've lacked a modern phone, I've been using my Flyer a lot more, and it's both a pretty nice device, and *rock solid* - 1132 hours uptime at this point! Mar 16 16:37:41 i am an htc fainboi Mar 16 16:37:45 fanboi* :) Mar 16 16:37:51 <`z> lol Mar 16 16:38:00 <`z> VJTachyon, i think google's fucking up Mar 16 16:38:03 they are the only ones making solid devices nowdays Mar 16 16:38:13 <`z> i inputted a cc from fakenamegenerator Mar 16 16:38:16 <`z> google accepted it Mar 16 16:38:22 although i just shattered the screen on my ev3d, so im using a ns4g now Mar 16 16:38:24 <`z> now the market's saying that i bought it Mar 16 16:40:09 <`z> 2a 3d 4g 5j 6m 7p 8s 9v 10y Mar 16 16:41:58 `z: hmm? Mar 16 16:42:21 `z: that's a serious crime.. how old are you? Mar 16 16:43:40 ive had 4 sales in 15 minutes Mar 16 16:43:49 `z: which was that? Mar 16 16:44:12 must be lunchtime sales Mar 16 16:44:13 hi, does someone know if sqlite support local variables? the sqlite channel seems pretty dead Mar 16 16:44:19 or europe Mar 16 16:44:31 one UK, one Norway, 2 US Mar 16 16:45:24 <`z> VJTachyon, readme, i was trying out shit Mar 16 16:45:27 <`z> fakenamegenerator.com Mar 16 16:45:36 <`z> i think google screwed up or i was very lucky Mar 16 16:45:38 <`z> @_@ Mar 16 16:45:44 <`z> hope i got a empty prepaid card Mar 16 16:45:56 `z: when I was in middle school a girl guessed numbers to buy plane tickets Mar 16 16:46:01 the feds came Mar 16 16:46:27 <`z> she got lucky? Mar 16 16:46:30 yeah Mar 16 16:46:36 <`z> ooh, i've got new news from google checkout Mar 16 16:46:43 <`z> cannot charge to cc Mar 16 16:46:45 <`z> YAY :D Mar 16 16:46:47 <`z> lolwuut Mar 16 17:02:35 Hey. So I'm learning about threads and I want to write a program that creates "n" threads, where n is the number of cores avaiable. How can I make some huge processing without entirely locking the UI? Not sure if AsyncTask is appropriated though. Mar 16 17:03:18 why is pausing the display uses the kernel keymap ? Mar 16 17:03:51 i set german keymap, and when i type in after pause of display, the keyboard is us_english Mar 16 17:04:57 so my password i have to give in us_english ... Mar 16 17:05:18 which is ok, but screws some keys Mar 16 17:06:29 Hi, I can't figure out how to properly detect touch up event :/ Mar 16 17:07:11 I tried with MotionEvent.ACTION_UP but it doesn't work if the users slides his ffinger out of the view Mar 16 17:07:30 hstefan: just do your processing in a different thread from the UI thread Mar 16 17:07:44 how can we detect if the user slides his finger out, is in fact what is missing Mar 16 17:07:48 or do your UI in a different thread Mar 16 17:08:07 Depending on how much you're doing, you could use an AsyncTask (for a few seconds) to a separate processing thread in a Service (for anything long). Mar 16 17:08:17 don't forget that the Service's onCreate, etc methods are still on the main UI thread Mar 16 17:08:38 homie: what are you talking about? Mar 16 17:09:13 I can't find it anywhere :/ Mar 16 17:09:17 homie: I'm PRETTY sure you want to be in #android-root Mar 16 17:09:27 homie: this is NOT the appropriate channel for rooting and/or custom roms Mar 16 17:11:12 The problem is that when you move your finger out of the view, onTouch isn't called anymore Mar 16 17:11:18 so I can't detect it Mar 16 17:13:39 Walui: you'll get another event for that case Mar 16 17:13:48 lov: i'm not talking about root or so... my device is pristine 3.2 Mar 16 17:14:18 lov: which one ? Mar 16 17:14:30 lov: i put a password for resuming from display.... Mar 16 17:14:36 homie: I DON'T CARE. Mar 16 17:14:40 is your question about app development? Mar 16 17:14:41 yes/no Mar 16 17:14:42 lov: slider android 3.2 Mar 16 17:14:48 are you developing the slider? Mar 16 17:14:53 are you working on its codebase? Mar 16 17:15:06 lov: and i changed my keyboard in the settings to german.... Mar 16 17:15:12 if the answer is "no" you need to go to #android or #android-root Mar 16 17:15:19 this channel is NOT the appropriate place for these questions Mar 16 17:15:55 lov: and all in all it works as german, just not for the resume from display thing, for password input....it instead seems to be in us_english map Mar 16 17:18:15 im getting some Caused by: android.database.sqlite.SQLiteException: unable to open database file Mar 16 17:18:20 any idea if i can get more info from this? Mar 16 17:18:29 canadiancow|work, yep. Mar 16 17:18:46 adb logcat Mar 16 17:18:50 full stacktrace :) Mar 16 17:18:52 its not on my device... Mar 16 17:18:58 the full stack trace has nothing useful Mar 16 17:19:02 i want to know WHY it couldnt be opened Mar 16 17:19:07 well..... Mar 16 17:19:16 you may not feel it is useful but it could lead to an answer Mar 16 17:19:21 mayb you're trying to open it on a place where you don't have write permission? Mar 16 17:19:45 canadiancow|work, it is a guessing game without seeing where the fail occurred. Mar 16 17:19:55 or that file already exists but is not a db or something? Mar 16 17:20:51 http://pastebin.ca/2128869 Mar 16 17:21:04 past that, it's just where my app is calling to getWritableDatabase() Mar 16 17:21:25 which is why i want to know if ican force it to throw an exception with a REASON it was unable to open Mar 16 17:21:54 what name are you giving the sqliteopenhelper? Mar 16 17:22:04 (for the db) Mar 16 17:22:32 canadiancow|work: http://pastie.org/3609501 latest sdk code for openDatabase Mar 16 17:22:37 that's where the exception is being thrown up for Mar 16 17:22:47 * readme has it all local :) Mar 16 17:22:50 grr i'm getting so frustrated with not being able to find the dropbox folder on my droidx Mar 16 17:23:21 dbopen is in native code though Mar 16 17:23:25 private native void dbopen(String path, int flags); Mar 16 17:23:46 everyone refers to /sdcard/dropbox but it's not there and searching for 'testfolder1' (i created) finds nothing but it synced it to my computer Mar 16 17:23:58 Mar 16 17:25:48 jeppy: It's in sdcard/android/data/whatever the db stuff is called in there. Mar 16 17:26:20 am i being a retard or is it weird that SQLiteDatabase.openDatabase(902) comes before SQLiteDatabase. ? Mar 16 17:26:40 oh wait Mar 16 17:26:43 i'm being a retard Mar 16 17:26:59 Figured out it was a static method? :p Mar 16 17:27:06 ye:p Mar 16 17:29:25 ericrichardson, there's some directories there (files, cache) but they are both empty Mar 16 17:31:00 I have a list of ImageViews called imageViews. Does doing imageViews.get(someIndex) somehow effect the list's order? I ask because in a loop I am doing imageViews.get(2) and in each iteration the imageView returned is different for some goddam reason Mar 16 17:32:35 list is a ListView, not a List? Mar 16 17:32:49 I'm taking about java.util.list Mar 16 17:33:45 wow, looks like Kevin Ross and his crew joined Google Mar 16 17:33:45 particulary an ArrayList Mar 16 17:33:47 erm was my fault, having set the android keyboard to use system language..... Mar 16 17:34:00 looks like he's leavign iPhone far behind Mar 16 17:34:03 gho5t: hmm, the list order shouldnt be changing Mar 16 17:35:13 yeah I would think Mar 16 17:40:09 is google wallet only for hones ? Mar 16 17:40:21 phones* Mar 16 17:40:31 gho5t: removing an element from the list that is before 2 would cause the element at 2 to change. Mar 16 17:40:31 does any non-phone device have NFC yet? Mar 16 17:40:53 that is, the 0th or 1st element. Mar 16 17:41:01 hmm, good question Mar 16 17:41:31 apple got NFS rights..... Mar 16 17:41:41 NFC* meh Mar 16 17:42:05 not doing it == getting it right? Mar 16 17:42:07 wut Mar 16 17:42:18 readme: Yeah I"m no removing any, this is so weird. In the loop I do log.v("app", myList.get(2).getDrawable()) and the value is different each time in the loop Mar 16 17:42:38 the items in my list are ImageViews Mar 16 17:42:39 gho5t: do multiple threads use the list? Mar 16 17:42:55 I don't believe so. I didn't wire any threading up Mar 16 17:43:53 show the code Mar 16 17:44:05 ok one moment Mar 16 17:48:55 Hey, does anyone know of a way (e.g. reflection?) to access com.android.internal.R? (And I know a bunch of you are going to want to rant about accessing internal stuff; please don't!) Mar 16 17:49:08 you shouldn't do that Mar 16 17:49:24 evancharlton: Wow, did you even get to the end of the line? :-P Mar 16 17:49:39 if you just want a graphic asset you can copy it from and Android source tree Mar 16 17:49:45 He didn't rant :P Mar 16 17:49:46 Timmmm, what did you expect the answer to that would be Mar 16 17:50:25 I used such a technique to internationalize code at runtime and it worked well Mar 16 17:50:31 I just did all the reflection in a static block. Mar 16 17:50:34 michaelnovakjr: I expected. "Yeah it's obviously not supported, but you do this this and this." Mar 16 17:50:35 cachced it Mar 16 17:50:46 Timmmm: have a look at this https://github.com/tom-dignan/android-runtime-internationalization Mar 16 17:50:48 Timmmm, what are you trying to access in the internal R class? Mar 16 17:51:00 readme: Awesome, thanks! Mar 16 17:51:24 it uses the names of the string resources as a way to localize in mid-flow of the program Mar 16 17:51:57 michaelnovakjr: com.android.internal.R.id.tabs; I'm trying to extract the stock ICS launcher into an APK and it has loads of references to internal things. (So much for "you shouldn't do that"! Google don't even follow their own advice!) Mar 16 17:52:17 Timmmm: android.R.id.tabs Mar 16 17:52:53 readme: http://pastebin.com/xxK6VTHG Mar 16 17:52:53 Timmmm, have a look at what R.java does. Mar 16 17:52:58 Basically, if it's not public, you can't use it. Non-public resource IDs are generated at compile time. This can change from device to device, and version to version Mar 16 17:52:58 so i guess android does not scale images up beyond the drawable which is behind the imageview Mar 16 17:53:03 SimonVT: Ah really? Why the hell didn't google just write that? Mar 16 17:53:20 readme: resetButtonLayout is the method Mar 16 17:53:33 Timmmm, it isn't the actual resource, it is a reference. You might consider just including them in your app. This will avoid the scenario where a reference isn't set as advertised. Mar 16 17:53:34 Timmmm: the Launcher never has been an unbundled app. Mar 16 17:53:36 SimonVT: They also seem to want to make life difficult by using mLeft, mContext and so on all over the place instead of getLeft() getContext()... Mar 16 17:53:46 Timmmm: so the "don't do this!" rules don't apply to Launcher Mar 16 17:53:50 It's faster to use the fields directly Mar 16 17:54:12 Timmmm: we never said that Launcher was built against the SDK :) Mar 16 17:54:25 evancharlton: I know, but Google kind of claimed that all the apps *were* just standard ones right at the start of Android. And there's really no reason why it couldn't be unbundled except out of laziness on their part. Mar 16 17:54:44 Timmmm, I don't recall such a statement... Mar 16 17:54:52 romainguy__: Heh, maybe not explicitly... Let me trawl back through the sands of time.... 1 sec. Mar 16 17:55:02 Timmmm: we only claimed that you can replace Launcher Mar 16 17:55:03 and you can Mar 16 17:55:45 gho5t: when you add your imageviews to radialButtons in initRadialButtons, those are not copies, they are references Mar 16 17:55:59 gho5t: so if you change the references (and you do) they will change Mar 16 17:56:02 Timmmm, Google closed source apps are handled differently than those bundled in the AOSP source. Mar 16 17:56:07 whats the best way to determine the amount of available internal storage space on a device Mar 16 17:56:42 readme: sorry, where do I change the reference? I'm only changing the drawable as far as I know Mar 16 17:57:04 yes, that's *the reference* Mar 16 17:57:12 the reference *to* the drawable Mar 16 17:57:15 you're pointing to the same thing Mar 16 17:57:22 oht Mar 16 17:57:44 Object a; Object b = new Object(); a = b; a is the same object as b. Mar 16 17:58:12 gotcha Mar 16 17:58:19 drawable reference is an object, not a string path Mar 16 17:58:40 what do I need to do? Mar 16 17:59:08 don't change them? Mar 16 17:59:24 I don't know. your code is just written without an understanding of the concept. I would rewrite it now. Mar 16 17:59:49 Ok, I create a list the contains the imageviews and then for the first 4 imageviews I change the image they point to Mar 16 17:59:54 how is that changing the references Mar 16 18:00:13 oh wait I get it Mar 16 18:00:18 danke Mar 16 18:01:54 I'm going to save references to the drawables instead Mar 16 18:03:54 where on the filesystem is my database created by default? Mar 16 18:03:57 yeah, that is a better solution. Mar 16 18:04:21 /data/data//databases Mar 16 18:04:34 Weelll, it's kind of really impossible to search through 5 year old news, but I distinctly recall claims that none of the core apps used private APIs. Anyway... never mind. Thanks for the solution SimonVT! Mar 16 18:05:01 readme: i can't open /data in my File Explorer (Eclipse). It says there are no sub folders Mar 16 18:05:07 Timmmm: "handled" != "use private APIs" Mar 16 18:05:10 try adb shell Mar 16 18:05:28 kevwilde: btw, root required. Mar 16 18:05:36 i don't have root Mar 16 18:05:43 then you can't access the database directly Mar 16 18:05:47 you'll need to use the apis Mar 16 18:05:54 it's a Galaxy Nexus, shouldn't it come with additional developer functions? Mar 16 18:06:01 you don't have root? Mar 16 18:06:04 root it :) Mar 16 18:06:07 #android-root Mar 16 18:06:17 I don't own a gnex, no idea Mar 16 18:06:21 no risks/drawbacks involved for rooting? Mar 16 18:06:34 working great now, readme. Thanks. Should have asked for help much earlier Mar 16 18:06:38 if you are careful you should be OK, but it will void your warranty for certain. Mar 16 18:06:47 you can use the emulator, alternatively, where you do have root Mar 16 18:06:59 p_l: Ignore michael... I wasn't talking about closed source apps... (not sure why he brought those up) Mar 16 18:08:20 Timmmm, because you misunderstood what you heard Mar 16 18:08:40 Timmmm: anyway, "core" apps are *built* differently. It's not so much "unofficial APIs" as "compile-time environment has all that" Mar 16 18:10:26 p_l: Yeah I know... That's the annoying bit! If they wanted they could change it so that the core apps really were just standard apps (like LauncherPro, ADWLauncher et al). I'm putting it down to being overworked, which is fair enough. :-) Mar 16 18:11:23 Timmmm: LauncherPro et al. are possible because we give the source code of Launcher :) Mar 16 18:11:48 romainguy__ they just don't make it easy enough to blindly copy :p Mar 16 18:11:57 michaelnovakjr: Exactly! Mar 16 18:11:57 well Mar 16 18:12:06 there is an SDK only launcher in the samples directory Mar 16 18:12:11 +1 Mar 16 18:12:27 also not a good idea to ship code that you can't follow :) Mar 16 18:12:42 michaelnovakjr: it's not shipped as an example Mar 16 18:12:47 also, you can build normal apps using AOSP source Mar 16 18:12:51 sometimes necessary, even Mar 16 18:13:15 romainguy__ i'm referring to just taking large chunks of code from somewhere and including them with no understanding of how they work. Mar 16 18:13:25 michaelnovakjr: ah that, yes :)) Mar 16 18:13:41 there's plenty of launchers out there that work just fine Mar 16 18:13:55 actually I should try Market launches more often Mar 16 18:14:04 Sure, I just want the stock one. :-) Mar 16 18:14:05 to see if they handle all the corner cases that are so annoying to handle Mar 16 18:14:33 romainguy__ yea some are quite heavy in terms of features, but that's the beauty of being able to replace your launcher. Mar 16 18:14:36 Actually, what I *really* want is the stock calendar, but it looks more complicated to extract so I am starting with the launcher. (damn you samsung!) Mar 16 18:14:42 romainguy__: some just don't give a shit and remove widgets, for example ;) Mar 16 18:14:58 michaelnovakjr: indeed Mar 16 18:15:04 but I was thinking of crazy uses cases Mar 16 18:15:16 for instance, if you turn off your phone, replace your SIM card with a German SIM card, and turn it back on Mar 16 18:15:23 the Gmail shortcut should change name Mar 16 18:15:33 romainguy__ ah yes Mar 16 18:15:53 I had to deal with that kind of stuff when I was working on launcher and it can be tricky to get right ^^ Mar 16 18:16:11 I doubt they care tbh :p Mar 16 18:16:35 romainguy__ i'm sure. Mar 16 18:17:05 https://play.google.com/store/apps/details?id=com.dotemu.anotherworld \o/ I can die happy Mar 16 18:17:13 the one I'm using (Launcher7) simply doesn't care and doesn't have to Mar 16 18:17:51 p_l: it's a legal thing btw :) Mar 16 18:18:09 yea, needs to be Google Mail not Gmail Mar 16 18:19:06 romainguy__ that's a tough one, even with localized strings if the sim card is from Germany the app can't really handle that case huh? Mar 16 18:19:11 Why does that have to be handled by the launcher tho? Shouldn't the framework be able to supply the right name? Mar 16 18:19:27 SimonVT, Gmail isn't part of the framework Mar 16 18:19:52 romainguy__: uhm, was that really a requirement? (that the shortcuts change name according to the SIM card locale) Mar 16 18:19:56 SimonVT: Launcher stores the names of the shortcuts on your desktop in a sqlite database Mar 16 18:20:15 michaelnovakjr: No, but there are qualifiers for gmails resources Mar 16 18:20:17 they need to be updated if the app supplies a different name based on the SIM card Mar 16 18:20:28 Ah, alright Mar 16 18:20:30 SimonVT: workspace shortcuts are not provided by the package manager Mar 16 18:20:31 Caching, of course Mar 16 18:20:37 hrnt, http://www.v3.co.uk/v3-uk/news/2007647/google-loses-european-claim-gmail Mar 16 18:20:41 hrnt: Gmail is called Google Mail in Germany Mar 16 18:20:43 romainguy__: yeah. I switched to it because LauncherPro started to crap out on me after changing firmware, and Launcher7 was simplest and most clean I could find (so, just icons, etc) Mar 16 18:20:49 romainguy__: ah, of course :) Mar 16 18:21:26 romainguy__: i thought that if you inserted a chinese prepaid simcard in your android, you would suddenly have a chinese launcher which sounds a bit crazy :) Mar 16 18:23:37 p_l: i miss slidescreen Mar 16 18:24:29 +1 Mar 16 18:37:10 I have 2 buttons in a custom preference xml Mar 16 18:37:26 how do I access those from my preference.java code? Mar 16 18:37:26 It seems to be googlemail in the UK, too. Mar 16 18:39:59 DammitJim: if you use a preference activity you can get the activityresult to tell you to read preferences, and then just do your preferences read to get the values Mar 16 18:41:10 Oh, so I can't do a Button button1 = (Button) findViewById(R.id.button) Mar 16 18:41:21 or Button button1 = new Button(context,attribute)? Mar 16 18:41:39 DammitJim: inside your prefsactivity you can override stuff and access them directly Mar 16 18:41:53 there is almost zero reason to cast the result of findViewById to a Button Mar 16 18:41:55 DammitJim: but usually all you need is to let prefsactivity do its thing, and then read the preferences state Mar 16 18:42:30 dragon, all I'm doing is setting an onclicklistener to 2 buttons that are in my custom preference.xml Mar 16 18:42:54 which is part of global preference.xml layout Mar 16 18:43:08 I don't know how to assign the listener for each button Mar 16 18:43:37 my Gosh, I swear I'm going to kill my boss Mar 16 18:43:48 preferences should be 1 by one, not 2 in one *sigh* Mar 16 18:43:55 only because they don't want to scroll Mar 16 18:43:57 sorry, just venting Mar 16 18:45:12 DammitJim: inside your preferencesactivity, which should be extended from PreferenceActivity, you can use findPreference to find a pref element by name and then use that to set an onclick Mar 16 18:45:31 oh Mar 16 18:45:41 DammitJim: using an OnPreferenceClickListener Mar 16 18:45:47 I don't do this in the preference that extends Preferences Mar 16 18:45:48 thanks Mar 16 18:45:49 DammitJim: ... he doesn't want scrolling? Mar 16 18:45:51 DammitJim: which should give you enough to search for to find examples Mar 16 18:45:56 DammitJim: assuming i understand what you want Mar 16 18:45:58 thank you! Mar 16 18:46:20 what is he planning on doing for devices with smaller screens? or in a different orientation? Or with bigger fonts? Mar 16 18:48:21 Or in landscape? Mar 16 18:49:24 Or wait, you covered that Mar 16 18:49:46 * SimonVT goes back to eating his pizza Mar 16 18:51:20 dragorn, OnpreferenceClickListener Mar 16 18:56:36 i'm not using createChooser() but i'm being asked which app to handle an intent anyway. why? Mar 16 18:56:48 jeppy: is there an internal and external sd card? Mar 16 18:57:14 jeppy: my phone has both and by default everything gets put on my internal one Mar 16 18:57:40 dragorn, I assign a setOnPreferenceClickListener to a Preference manager, not a button, right? Mar 16 18:59:59 DammitJim: no, to a button Mar 16 19:00:01 DammitJim: Preference hoppref = findPreference("channel_hop"); Mar 16 19:00:02 hoppref.setOnPreferenceClickListener(hopOverrider); Mar 16 19:00:30 public OnPreferenceClickListener hopOverrider = new OnPreferenceClickListener() { public boolean onPreferenceClick(Preference pref) { do stuff ... Mar 16 19:03:03 readme: can you simulate a camera on an emulated android? Mar 16 19:06:46 kevwilde: I haven't done it, but I'm willing to bet someone has a solution for it Mar 16 19:07:14 dragorn, how do I assign the onpreferenceclicklistener to one of the buttons inside the preference? Mar 16 19:07:31 like 1 item of the preferences has 2 buttons Mar 16 19:07:36 is it normal the emulator is really slow to operate? Mar 16 19:07:40 http://stackoverflow.com/questions/6165618/how-to-mock-a-picture-in-android-emulator-camera Mar 16 19:07:49 kevwilde: yeah, check off "snapshot" so you don't have to start it again Mar 16 19:07:52 DammitJim: findpreference("button id") Mar 16 19:07:59 2.x emulators tend to be the fastest Mar 16 19:08:22 so, inside the "do stuff" Mar 16 19:10:19 DammitJim: no, inside the preferencesactivity oncreate, you do findpreference and assign an OnPreferenceClickListener to your button Mar 16 19:10:41 DammitJim: then your listener gets called when the button is hit. You can assign multiple buttons to one listener, and the pref being acted on is the Pref argument passed to the listener Mar 16 19:12:00 I just do button1ok, so in the example you gave me, hoppref is actually the button? Mar 16 19:12:27 yes Mar 16 19:13:07 i got a response from a devrel :) Mar 16 19:13:09 I think I'm understanding, but for some reason that compiles, but doesn't work... it crashes Mar 16 19:13:19 maybe it's only the "android" ones who dont like me :) Mar 16 19:13:29 I only have 1 key for the preference Mar 16 19:13:35 but 2 id's for the buttons Mar 16 19:16:13 dragorn, thanks for helping, I think I didn't explain myself properly Mar 16 19:16:23 I totally understand what you told me, but that's for a different application Mar 16 19:16:51 DammitJim: yeah I'm confused about what you're trying to do I guess. If you're doing a preferencemanager xml, you'd do a preferenceactivity, get your prefs, override the handlers, and there you go Mar 16 19:17:06 DammitJim: I'm beginning to think you're doing a generic layout? Mar 16 19:17:17 DammitJim: which happens to act like preferences? Mar 16 19:17:17 how do I get my pictures in gridview to stretch the whole width? Mar 16 19:17:25 dragorn, yeah, I made a custom layout for a preference Mar 16 19:17:57 like when you make a custom prefrence for a seekbar to show up directly on a preferenceActivity Mar 16 19:18:26 http://stackoverflow.com/questions/5298370/how-to-add-a-button-to-a-preferencescreen-android this person asked the question, but didn't get the answer (I don't think) Mar 16 19:19:04 hello Mar 16 19:19:57 ctate: I have a plan which I want to bounce off something in the line of an Android framework kinda' person. Mar 16 19:20:21 the person asking the question in the link above has 2 buttons, but doesn't know how to access them and the answers are just like what you said, dragorn but don't answer the question for the 2 buttons. It is using the key and not the ID Mar 16 19:21:03 am I making any sense? Mar 16 19:21:04 if it's an item in the preference xml you need to use findpreference, as far as I know... Mar 16 19:21:56 DammitJim: I see a preference type called Preference, which "works like a button" Mar 16 19:22:05 DammitJim: http://www.kaloer.com/android-preferences Mar 16 19:22:20 DammitJim: but I think it doesn't render like a button Mar 16 19:23:17 dragorn, the example on the link have only 1 ScreenPreference XML, but I have a custom XML that goes inside the ScreePreference XML Mar 16 19:23:46 I had found that link earlier Mar 16 19:24:35 dammit Mar 16 19:24:36 I have to go Mar 16 19:24:45 I'll have to tell my boss that I'll finish it on Monday Mar 16 19:28:42 there are 2 days between now and monday Mar 16 19:34:57 I'm all for working on the weekends. (As long as it is for yourself, and not some boss) Mar 16 19:40:04 I populate a ListView through a CursorAdapter by running a managedQuery() to attach the data to a cursor. For the cursor I run startManagingCursor(), and then setAdapter() with the values. Later I update the sort order of the managedQuery(), adding another startManagingCursor() to the same cursor. Then run swapCursor on the adapter. Is this correct or should I call stopManagingCursor() before changing cursor values? Mar 16 19:41:09 probably better to stop managing after swapping Mar 16 19:42:40 so: query, startManaging, setAdapter. update: stopManaging, query, startManaging, swapCursor? Mar 16 19:44:21 Is it recommended to rerun startManagingCursor on the cursor when values change? Mar 16 19:44:50 there is a notify...() method Mar 16 19:45:19 but you should start using CursorLoader, not using it has bit me in the butt as my app does not work on Honeycomb right now. Mar 16 19:45:38 unfortunately, its not directly access to the db... you have to setup a content provider Mar 16 19:46:08 Does anyone know how to get pictures in gridview to stretch the whole width? Mar 16 19:46:47 Stiffer: layout_width="fill_parent" doesn't scale to fit? Mar 16 19:46:57 fill_parent here would be the cell of your gridview Mar 16 19:47:39 I got the content provide setup through a tutorial, but as far as the cursorLoader goes it has not been so great. Could not get it to work with the compatability packade without introducing fragments. For my school deadline it is a bit to much work. Mar 16 19:47:54 I have fill_parent but nothing happends Mar 16 19:48:18 Swiftwork: got it... so anyhow, when you data set changes you need to call the notify method to update the listview Mar 16 19:48:56 notifyDataSetChanged() Mar 16 19:49:09 QubeZ: I have exactly that in my xml but for some reason it does not work Mar 16 19:49:10 ok ill go back and try that. Failed earlier, but might have been off a bit. Mar 16 19:49:22 Thanks Mar 16 19:49:36 CursorLoader is a pain and too much work... yea, I hate having to do it too but its deprecated (startManagingCursor()) so... who knows Mar 16 19:50:20 I reasoned that it was worth using startManagingCursor until more devices migrate to ICS Mar 16 19:50:39 And my app is mainly for Phones Mar 16 19:50:47 Stiffer: look at the android:numColumns="auto_fit" and android:stretchMode attributes to your gridview Mar 16 19:51:18 Stiffer: you should google more often: http://stackoverflow.com/questions/5872530/gridview-auto-fit-images Mar 16 19:53:10 canadiancow|work: are you familiar with isobar? Mar 16 19:53:39 QubeZ: What is the difference between, swapCursor and changeCursor? 1 is deprecated? Mar 16 19:53:41 no Mar 16 19:55:33 Swiftwork, read the docs to see what the difference is Mar 16 19:55:48 pfn: thanks. was looking to see how to answer that =) Mar 16 19:55:50 Yes, sorry. Mar 16 20:05:27 Is it possible to split up a bitmap into tiles with Android? Mar 16 20:05:27 Can't find an answer for if I should run startManagingQuery() after each time I execute a managedQuery() on the same cursor. Should there be a stopManagingCursor() as well? Mar 16 20:07:47 Kake_Fisk: sure Mar 16 20:07:52 should I use Bitmap.createBitmap? Mar 16 20:08:09 Kake_Fisk: it depends, to do it efficiently i'd simply render the image somewhere Mar 16 20:08:16 then copy blocks uit of the bitmap Mar 16 20:08:22 *out of the bitmap Mar 16 20:09:07 hmm, hmm Mar 16 20:09:21 I have an app that streams audio and it works fine for me, but I'm getting several reports of it not working. I can't figure out what's causing it. The only thing I can think of is the users in question are in the UK. Does anyone know anything about that causing problems Mar 16 20:09:22 > Mar 16 20:09:24 ? Mar 16 20:18:31 Can you bind an actionbar to a custom view? Not like setting a custom view but feeding it a custom view to attach to? Mar 16 20:21:50 JoeTheGuest: .. what? Mar 16 20:27:43 evancharlton what about it? Mar 16 20:28:02 what are you trying to do? Mar 16 20:28:09 the answer is: no Mar 16 20:28:23 but I suspect you're trying to do something ... suboptimal :) Mar 16 20:49:59 * g00s yawns Mar 16 20:50:47 i'm using textapperancespan on my app and it gives a npe during measure Mar 16 20:50:54 i was in home depot the other day, and noticed little checkout thingies that let you pay with paypal Mar 16 20:50:56 on honeycomb, what gives? (my bad for scrolling) Mar 16 20:54:49 evancharlton I want to be able to put the action bar inside a custom wrapper view so that I can potentially manipulate it some. Mar 16 20:56:06 i shouldnt have come to work today Mar 16 20:56:22 everyone is playing with their new ipads Mar 16 20:56:32 i want to punch them all Mar 16 20:56:56 if you hear about an office shooting/mass murder in a sf office today, dont worry yourselfs Mar 16 20:57:00 yourselves* Mar 16 20:57:26 wao Mar 16 20:57:30 wow Mar 16 20:57:35 what an office Mar 16 21:01:10 i don't understand why anyone would stand in line for anything except food or shelter; but i don't care much about it either ; if all my friends loved iPads i would find it merely curious Mar 16 21:04:28 so something needs to be done about the "Force Close or Report" buttons Mar 16 21:04:40 like...not giving the user the option Mar 16 21:04:41 and just reporting it Mar 16 21:04:46 market crash reports are useless Mar 16 21:04:50 s/market/play store/ Mar 16 21:05:28 i guess it would be nice if it always reported. Mar 16 21:05:38 and more info Mar 16 21:05:40 like what device it was Mar 16 21:05:42 what rom Mar 16 21:05:45 etc Mar 16 21:05:58 having used bugsense, i cant believe how crappy the play store crash repors are Mar 16 21:06:01 like...wow Mar 16 21:06:24 the play store crash reports are very suboptimal Mar 16 21:06:33 need to include android version and hardware info Mar 16 21:06:34 or if it didnt then pop up a big dialog saying HEY LOOK AT ALL THE DATA WE'RE SENDING THEM Mar 16 21:06:39 a few lines of logcat context would be great, too Mar 16 21:07:35 i wonder if their is a feature request for that improvement, seems very reasonable Mar 16 21:07:40 *there Mar 16 21:08:04 they should definetly auto-send it Mar 16 21:08:47 canadiancow|work: I told you so :P Mar 16 21:08:55 I had several people moaning about a crash, but I couldn't reproduce it so I had no logs or way to find out what caused it. Then someone finally sent a report and I could see straight away the problem Mar 16 21:11:35 . Mar 16 21:11:37 darn Mar 16 21:19:06 i was git was smart enough to understand indentation in the diffs Mar 16 21:19:16 like if you wrap a block in an if statement Mar 16 21:19:21 it thinks everything's changed Mar 16 21:19:59 is there an android api for google chart tools ? Mar 16 21:20:56 canadiancow|work, git diff -b Mar 16 21:21:10 ok github's diffs need to... Mar 16 21:21:23 sometimes whitespace is important Mar 16 21:21:26 e.g. python and make Mar 16 21:22:21 I guess github could make some exceptions, or allow an option to show diffs without whitespace differences Mar 16 21:23:12 Popular thing to rave about at work is how revision control should store tokenised source and pretty-print it at check-out. Mar 16 21:23:20 Hi, in the layout (XML) of a Widget, how can I put something similar to a ScrollView for a LinearLayout Mar 16 21:23:36 Which could make diff work a lot better than it does now. Mar 16 21:23:57 are the logcats cleared when I turn off the phone? If so, is it saved anywhere? Mar 16 21:24:13 logcat is stored purely as a memory region; it's gone when the phone turns off Mar 16 21:24:13 Gumboot, that would make the source control have to be intimately aware of source syntax Mar 16 21:24:18 (or if there's a kernel-level restart) Mar 16 21:24:19 pfn: Yes. Mar 16 21:24:23 Nic007: ScrollView is not supported in app widgets Mar 16 21:24:23 Gumboot, not so practical at all Mar 16 21:24:32 yeah, nice try pretty printing python. Mar 16 21:24:38 :) Mar 16 21:24:39 People fixate too much on practicality. Mar 16 21:24:59 Gumboot, well, write your own ast-storing source control system :p Mar 16 21:25:11 pfn: I'm not a compiler guy. Mar 16 21:25:18 SimonVT, I know.... That's why I said similar... I would have use a ScrollView if I could Mar 16 21:25:27 Of course, that doesn't stop me nagging them and telling them what to do. Mar 16 21:25:30 is there *any* way that I can get the logcat of the phone before it turned off? Mar 16 21:25:44 tttuuu, save it before turning i off Mar 16 21:25:47 Nic007: listview is supported on api11+ .. that's about as close as you can get Mar 16 21:25:56 tttuuu: the phone has already been turned off / rebooted, and now you want the old logcat? sorry, it's gone. Mar 16 21:25:59 pfn but I already turned them off T_T Mar 16 21:26:01 :( Mar 16 21:26:06 tttuuu, then you have no access to them Mar 16 21:26:09 ctate: Any chance I can bounce a work-related plan off you to see if it fits in with or overlaps with anything Google already has or has in the pipeline? Mar 16 21:26:23 Gumboot: #include Mar 16 21:26:49 What if I write it up and send it from my work email address? Mar 16 21:26:50 sorry; even if it did conflict with something in our pipeline i couldn't talk about it Mar 16 21:26:53 nope. Mar 16 21:26:56 I think ARM's under some thingumy. Mar 16 21:27:03 hey Mar 16 21:27:05 Gumboot: the mighty power of NDAs Mar 16 21:27:07 hmm. maaaaaaaybe then. Mar 16 21:27:15 no promises. Mar 16 21:27:21 SimonTV, ok Thanks. I will try Mar 16 21:27:23 Well, I can at least tell you my half and you can fail to give me any tips. Mar 16 21:27:30 ha ha ha Mar 16 21:27:38 can someone tell me why my gallery is so crappy when more than 3 images are loaded into it? https://gist.github.com/2052826 Mar 16 21:27:58 line 288 on there Mar 16 21:28:15 I've bounced it around at work a bit and a couple of people are interested (or at least polite) but nobody wants to do it. I was wondering if maybe an Android-specific solution would be easier, and possibly half-done already. Mar 16 21:28:20 email? Mar 16 21:29:25 Gumboot, what is it? Mar 16 21:29:33 Gumboot, you basically just said work isn't interested in doing it Mar 16 21:30:03 pfn: They're interested in letting me do it. Mar 16 21:30:14 well, are you interested in doing it? :p Mar 16 21:30:41 dandaman: Eh, are you doing networking in your adapters getView? Mar 16 21:30:42 Kinda', but it's more of a research project than I'd want to get into because it's just set-up for real work. Mar 16 21:30:46 That would be why Mar 16 21:31:44 SimonVT: hmm ok Mar 16 21:32:18 Always do networking in a thread Mar 16 21:32:27 in the main thread! Mar 16 21:32:28 ;-) Mar 16 21:32:31 that's "a thread" Mar 16 21:32:33 Broadly speaking, I want to instrument the whole system to track ownership of events from the kernel through to the UI. It gets hairy towards the end, and would need per-app instrumentation. Mar 16 21:32:46 +nother Mar 16 21:33:36 :) Mar 16 21:33:58 Won't get into it now, though. I promised I would only be a couple of minutes, and tower defence games have only finite distraction capabilities. Mar 16 21:34:07 SimonVT: so pass the gallery a bitmap arraylist instead of string arraylist Mar 16 21:34:35 Gumboot, tracking "events" seems sort of general... Mar 16 21:34:47 pfn: It was only an overview of the plan. Mar 16 21:34:52 Specific events as and when I decide I care. Mar 16 21:34:53 You can just lazy load the images Mar 16 21:35:02 Plenty examples of this on google Mar 16 21:35:45 I poked around with ownership of locks and buffers in my last company. With only drasticrewritesofthewholesystem it could be applied anywhere. Mar 16 21:35:50 Easy! Mar 16 21:36:05 of course Mar 16 21:36:07 yuck. my build system generates pngs from svgs and put them is res/drawable, but there are drawables there which are not generated. so i have this tree which has a mix of generated and plain stuff, which kinda sucks from a version control standpoint Mar 16 21:36:16 * Gumboot goes away before he gets in trouble Mar 16 21:36:40 kinda like mixing java sources and .class files Mar 16 21:36:47 g00s, generate into bin/res Mar 16 21:36:56 g00s, not into res/drawable Mar 16 21:37:00 i.e. bin/res/drawable* Mar 16 21:37:05 g00s, that's where pngcrunch goes Mar 16 21:37:08 ohh Mar 16 21:37:15 g00s, or generate somewhere else and pngcrunch into bin/res Mar 16 21:37:23 very interesting idea, thanks Mar 16 21:37:33 How would he reference them Mar 16 21:37:37 i didn't think i could do that Mar 16 21:37:44 yeah, how would R get created ? Mar 16 21:37:57 add bin/res to the path for aapt to generate Mar 16 21:38:29 can i control this from eclipse ? Mar 16 21:38:42 no idea Mar 16 21:38:53 hm Mar 16 21:40:28 building from eclipse is a pita Mar 16 21:41:06 http://phandroid.com/2012/03/16/nexus-tablet-a-done-deal-could-launch-without-tegra-3-priced-at-149/ Mar 16 21:41:06 o_O Mar 16 21:41:12 $149 is crazy Mar 16 21:41:19 thats awesome Mar 16 21:41:25 [RUMOR] Mar 16 21:41:27 i would get one for development Mar 16 21:41:34 i.e. "yeah here's something some rando said, AD MONEY PLZ" Mar 16 21:42:05 yeah, my quality filter gets lower as the week gets more boring Mar 16 21:42:24 no other interesting android news Mar 16 21:43:41 * g00s wonders what ever happened to that MIPS tablet Mar 16 21:44:26 Greetings all. I'm having some issues with the following layout (http://pastebin.com/CzM0RCme). In the tool in Eclipse it shows fine, but when I open in the app everthing with the exception of "indicatorName" shows up as a overlapping on each other. Mar 16 21:45:23 is possible to get an svg image from google chart tools ? Mar 16 21:47:21 oh good GRIEF Mar 16 21:47:28 * ctate | The game Bug Village has two services that it tells Android need to always be running. And as if that's not enough, the services are running in different processes. Together these two processes are almost 10MB [of RAM]... Mar 16 21:47:31 glu FTL Mar 16 21:47:40 [h/t dianne hackborn's latest on G+] Mar 16 21:47:53 ? Mar 16 21:48:12 https://plus.google.com/u/0/105051985738280261832/posts/JAqggyKcM2z Mar 16 21:48:22 it's a game Mar 16 21:48:28 10mb of ram doesn't sound like much at all Mar 16 21:48:32 oh right, just found the post Mar 16 21:48:39 pfn: those are running when the game is *off* Mar 16 21:48:40 Ah, the same people whos app I gave 1 star and uninstalled when it sent me a notification asking me to play their game some more Mar 16 21:48:45 oh, ok Mar 16 21:48:47 10 MB is a big chunk of available RAM on many phones. Mar 16 21:49:05 what kind of phone has 100mb ram Mar 16 21:49:07 * p_l has ~160MB total available to OS Mar 16 21:49:20 * g00s has very little ram also Mar 16 21:49:47 60MB are taken by kernel, various system-critical services etc., Android runs in remaining 100MBs Mar 16 21:50:04 but telling the system that it always needs to be running is megasuck Mar 16 21:50:08 yeah Mar 16 21:50:13 so lame Mar 16 21:50:18 the game isn't running at the point she took that screenshot Mar 16 21:50:26 Anyone know have any ideas about the layout? Mar 16 21:51:52 speaking of always running Mar 16 21:52:09 why does the battery state keep saying that shadowgun is burning battery even though I haven't run it since boot Mar 16 21:52:33 what's the deal with EULA? I haven't seen many apps that use one. Should I be worried about this? Mar 16 21:53:05 if you have an eula you need to put in place, then do Mar 16 21:53:11 if you don't, then don't Mar 16 21:59:04 SimonVT: what is lazy loading? Mar 16 21:59:51 pfn: presumably shadowgun is running a service or holding wakelocks or whatever Mar 16 22:00:04 pfn: check ps / dumpsys activity services / etc to see what might be up? Mar 16 22:03:34 ctate, yeah, I'll have to look at it some more Mar 16 22:04:42 dandaman: google "android lazy load listview images" Mar 16 22:04:53 i did Mar 16 22:04:55 its mostly examples Mar 16 22:04:59 i jst wwanna know what it is Mar 16 22:05:38 Loading images on demand Mar 16 22:06:05 Basically what you were doing, just offloading work to a(nother) thread instead of blocking the ui Mar 16 22:06:07 thread Mar 16 22:06:34 man last night's nightly for CM9 on maguro broke SMS Mar 16 22:06:40 messaging crashes on recepit Mar 16 22:06:48 what's nice in cm9 for maguro? Mar 16 22:06:49 moral of the story: Don't use nightlies Mar 16 22:06:57 lol Mar 16 22:07:02 i need api level 15 Mar 16 22:07:08 i dont see any official releases Mar 16 22:07:10 or stable CMs Mar 16 22:07:13 my power level is over 9000 Mar 16 22:07:14 So, canadiancow. ctate posts link to dianne hackborn post telling game devs to not keep running services. I check running processes, and what do I see? scramble free. What's your defense? Mar 16 22:07:26 hahaha Mar 16 22:07:41 is the service actually doing something? Mar 16 22:07:44 no Mar 16 22:07:47 Using 30mb memory Mar 16 22:07:50 That's what Mar 16 22:07:52 im not sure i can tell you why it's done like that (legal reasons), but it's google's fault! Mar 16 22:07:52 using or "using" Mar 16 22:08:00 Probably "using" Mar 16 22:08:00 if the memory was needed, it would get kicked out Mar 16 22:08:03 it's not a foreground service Mar 16 22:08:08 i.e. are you falling into the "MUST INSTALL TASK KILLER" trap Mar 16 22:08:10 Yeah yeah, blame google :p Mar 16 22:08:45 hackbod's complaint was relevant because those services were set as foreground services even when the game wasn't running Mar 16 22:09:17 i wonder how she found out about it Mar 16 22:09:30 probably played the game and quit it and found it running Mar 16 22:09:45 ok and in reference to that link, there's one service Mar 16 22:09:49 and it's not "always running" i dont think Mar 16 22:09:50 im not sure Mar 16 22:09:53 i havent worked on that component Mar 16 22:10:03 but if it is "always running", i'll file a bug report Mar 16 22:11:42 im actually surprised an employee of google would go out and publicly state that another app is horribly written Mar 16 22:12:15 canadiancow: we're talking about dh here Mar 16 22:12:20 :) Mar 16 22:14:17 chrome is 2 processes, 2 services Mar 16 22:14:19 wallet is 1 and 1 Mar 16 22:14:29 scramble is 1 and 1 Mar 16 22:14:34 so...im saying we're on the low end :) Mar 16 22:14:52 so i guess n apps 1 n services :) Mar 16 22:15:05 Difference being chrome is in "cached processes", scramble is in "running processes" :p Mar 16 22:15:15 really? Mar 16 22:15:20 Yeah Mar 16 22:15:26 mine are running Mar 16 22:16:18 but still, what does "running" mean Mar 16 22:16:28 it received an intent, and didnt explicitly stop itself? Mar 16 22:17:24 imho, too many basic things require services to be done "reliably" Mar 16 22:17:40 exhibit a : asyncQueryService Mar 16 22:17:53 ok, don't like that? Exhibit B : Contacts EmptyService Mar 16 22:18:17 TED also has a "running service" Mar 16 22:18:32 SimonVT: maybe its ABS :O Mar 16 22:18:38 :D Mar 16 22:18:49 Then it's ok Mar 16 22:19:01 haha Mar 16 22:19:03 Greetings all. Having problems when the a tab layout. I've posted the full problem description http://stackoverflow.com/questions/9745179/overlapping-tabbed-widget-layout . Any clues to the problem would be greatly appreciated. Mar 16 22:25:03 has anyone noticed how ridiculous notifications are in ICS? Mar 16 22:25:07 when you ahve like...two downloads going? Mar 16 22:25:11 everything flickers and swaps places Mar 16 22:27:06 canadiancow: don't worry, I've already noticed how ridiculous and amateurish the entire platform is Mar 16 22:27:07 i think i just posted something like this http://androidandme.com/2012/03/opinions/rumor-nexus-tablet-is-a-done-deal-to-retail-for-as-low-as-149/ Mar 16 22:27:16 you did Mar 16 22:27:36 i just thought it was so awesome, had to show it again Mar 16 22:27:38 XD Mar 16 22:36:52 can you put the amazon store on a generic device ? Mar 16 22:37:09 yes Mar 16 22:37:23 if you're in the united states of 'merica, at least Mar 16 22:37:25 so a $149 nexus tablet of equal screen size would pretty much make a Kindle Fire pointless Mar 16 22:37:34 it would Mar 16 22:37:37 :D Mar 16 22:37:41 :D indeed Mar 16 22:37:44 i dont understand how they could sell something that hceap though Mar 16 22:37:45 :D x 100 Mar 16 22:37:50 isnt the kindle fire being sold at a loss Mar 16 22:37:57 under the assumption that people will buy shit from amazon? Mar 16 22:38:00 probably taking a loss, but we'll have to see a teardown first Mar 16 22:38:02 how would that owrk with an OEM Mar 16 22:38:09 teardown gives you bill of MATERIALS Mar 16 22:38:10 amazon took a loss on Kindles, i thought Mar 16 22:38:13 thats probably only half the cost Mar 16 22:38:24 doesn't the fire come with free 3G? Mar 16 22:38:26 amazon can make it up through content sales Mar 16 22:38:28 asus sure cant Mar 16 22:38:35 thats correct Mar 16 22:38:42 maybe google subsidizes part of it Mar 16 22:38:52 just like MS gives samsung a slush fund for wp7 advertising Mar 16 22:38:53 g00s: that's partially because they were first to get there with such a device, and they had the free 3G included Mar 16 22:38:53 im sure the other oem's would love that Mar 16 22:40:06 no, the fire does not have free 3g. Mar 16 22:40:10 the fire is wifi only. Mar 16 22:40:37 How can I use the android emulator to test network fuctions ? Mar 16 22:40:39 as in lan Mar 16 22:42:03 SimonVT, as of feb 7: BugSense is a cross-platform error analytics infrastructures for mobile devices. BugSense uses Google App Engine to power its backend, processing more than 1.6 million daily errors Mar 16 22:42:32 while i dont know how many errors we would have on a daily basis, i think its very likely we would kill bugsense :p Mar 16 22:42:46 haha Mar 16 22:43:23 Probably Mar 16 22:43:32 In the beginning they had a lot of "exceeded quota" Mar 16 22:43:53 for $300/month, they're offering 500,000 errors per month Mar 16 22:44:14 That's unique errors Mar 16 22:44:19 100 of the same counts as 1 Mar 16 22:44:20 and their stupid deobufscation doesnt work Mar 16 22:44:26 oh really? Mar 16 22:44:29 how the hell would you hit 500k Mar 16 22:44:30 I think at least Mar 16 22:44:50 500k DIFFERENT? Mar 16 22:44:51 i dont buy it Mar 16 22:44:54 thats not possible Mar 16 22:44:55 DeVry coders? Mar 16 22:44:59 lol Mar 16 22:46:14 I've had about 1k instances of an error in a day cus I introduced a bug.. Didn't come near the 500 error limit of the free version Mar 16 22:47:57 So either they are bad at calculating the quota, or it's really unique errors Mar 16 22:52:26 goooood evening everyone.. hope y'all are having a great day! Mar 16 22:53:50 I have a bunch of bitmaps, I want to display them in the native gallery application, can this be done? Mar 16 22:53:59 i already have them displayed as thumbnails in the gallery Mar 16 22:54:39 orgwiz: please do not harass the members of this channel Mar 16 22:54:59 hey guys Mar 16 22:55:14 is it ok if i ask some question on here? Mar 16 22:55:35 channel topic: "Ask your question, don't ask to ask" :) Mar 16 22:55:36 If the answer is no, then you've already broken the rule. Mar 16 22:55:57 ok fair enough lol Mar 16 22:56:20 im new to android/java Mar 16 22:56:28 but i need to make an app Mar 16 22:56:30 that's not a question ;-) Mar 16 22:56:51 i thought itd be better if i made some statements first Mar 16 22:56:52 STRIKE TWO Mar 16 22:57:01 THAT WAS YOUR FIRST MISTAKE Mar 16 22:57:04 lol Mar 16 22:57:11 SimonVT how do fix notifications work Mar 16 22:57:16 they dont just go out on their own do they? Mar 16 22:58:00 canadiancow: You gotta enable that. Anyway, when you mark an error as resolved you can set a version in which it was resolved Mar 16 22:58:09 yea ive been marking them as resolved Mar 16 22:58:15 but...i havent released the resolved version Mar 16 22:58:47 Anyway, the point is they get a notification saying "this bug is fixed in a new version" Mar 16 22:58:58 yes, but are they getting that every time i click "resolved" ? Mar 16 22:59:00 I don't know how it works if the version isn't released Mar 16 22:59:18 Only if the app crashes with that exact bug Mar 16 22:59:27 what if i dont want notifications to go out Mar 16 22:59:28 ever Mar 16 22:59:42 i mark it as resolved when i fix it in code so it doesnt show up in my list of crashes to fix Mar 16 23:00:16 I'd imagine there's a way to disable Mar 16 23:00:24 Else, just don't set a version Mar 16 23:00:31 I don't really know, don't have access to that Mar 16 23:00:44 i should just downgrade myself to the free version lol Mar 16 23:01:02 ^_^ Mar 16 23:01:08 ill be back to cintinue not asking questions Mar 16 23:01:13 continue* Mar 16 23:01:19 SimonVT, you on free? Mar 16 23:01:21 or indie? Mar 16 23:01:25 i guess free Mar 16 23:01:26 Free Mar 16 23:01:27 if no notifs Mar 16 23:01:35 the realtime proguard...i might consider paying for that Mar 16 23:01:39 but not if it means i need 99/month Mar 16 23:01:52 Credit card information Mar 16 23:01:52 You have choosen the Free plan Mar 16 23:01:52 Once we successfully charge your credit card, we'll immediately upgrade your account. Mar 16 23:01:57 um Mar 16 23:02:02 how about... Mar 16 23:02:20 I thought of making my own bug reporting.. Never got around to it :p Mar 16 23:03:30 I'm surprised we didn't see adt 17 this week Mar 16 23:04:19 your mom didn't see adt 17 this week Mar 16 23:04:23 (oh burn!) Mar 16 23:04:48 oOo Mar 16 23:04:50 OOO Mar 16 23:05:02 i didn't even understand that Mar 16 23:05:25 so u do now? Mar 16 23:05:35 nope, i guess i don't want to Mar 16 23:05:45 honestly Mar 16 23:05:51 its the end of the week Mar 16 23:05:57 my brain is pretty much dead Mar 16 23:07:55 lov, why would anyone's mom see adt17? Mar 16 23:07:58 unless she does android dev Mar 16 23:11:38 * Jug6ernaut blames canadiancow Mar 16 23:12:04 :( Mar 16 23:12:19 are there cows in canada? Mar 16 23:13:17 cowribou Mar 16 23:13:42 what lol Mar 16 23:15:46 ctate did you play my game? Mar 16 23:15:49 well "our" game Mar 16 23:15:56 canadiancow? Mar 16 23:16:00 wwf? Mar 16 23:16:03 is this one of those "the only way to win is not to play games? " Mar 16 23:16:08 :) Mar 16 23:16:42 You can consider me a winner, then Mar 16 23:20:30 every time i order a pizza, i get a 2 for 1 movie coupon Mar 16 23:20:33 and i never go to the movies Mar 16 23:20:56 canadiancow: did you ever get your pizza free because they were late ? Mar 16 23:21:12 * p_l might go for few movies this year... Prometheus, God Bless America... Mar 16 23:21:21 yes Mar 16 23:21:22 well Mar 16 23:21:28 ok so the total was something like 27.45 Mar 16 23:21:38 and they guy didnt even give me a receipt, just said "sorry, late, free" Mar 16 23:21:49 next day, credit card had a charge on it for 29.45 (i ordered online) Mar 16 23:21:51 g00s: but I bet he wasn't apologized to by the owner of the pizza chain arriving in helicopter, though Mar 16 23:21:54 so i called them up Mar 16 23:21:59 and they credited me $27.45 Mar 16 23:22:02 and iwas like... meh... $2 Mar 16 23:22:12 lol Mar 16 23:22:18 its not like it was an hour late Mar 16 23:22:23 40 mins or free, and it came in like 45 Mar 16 23:22:42 what are u talking about? Mar 16 23:22:47 what was it... 30 minutes, or the delivery guy gets a sudden case of dead? Mar 16 23:23:56 java.lang.ClassCastException: android.os.BinderProxy cannot be cast to com.janhouse.nfcmail.NFCMailService$MyBinder Mar 16 23:23:59 any ideas? Mar 16 23:24:06 yes Mar 16 23:24:09 stop trying to cast it Mar 16 23:24:23 lol Mar 16 23:24:27 how do I get it then? Mar 16 23:25:01 here is the code http://tinyurl.com/7e2gkbc Mar 16 23:25:24 i dont know Mar 16 23:25:26 what's IBinder Mar 16 23:25:34 it's a BinderProxy Mar 16 23:25:43 i just got nasty with a down player Mar 16 23:25:47 so i'd suggest researching that Mar 16 23:25:57 im drunk i come in Mar 16 23:26:00 and i receive some shit Mar 16 23:26:05 what do these cocks expectr Mar 16 23:26:20 shouldi withdraw it or wait til the morning t chuckle about it Mar 16 23:26:21 one might also ask what *you* expect Mar 16 23:26:33 well i expect decency Mar 16 23:26:36 not abuse Mar 16 23:26:50 wha...i'm confused Mar 16 23:26:51 :( Mar 16 23:26:54 tell me its bad, but dont be a cutting idiot Mar 16 23:27:15 ctate so i added another service (in it's own process for safety) to words with friends Mar 16 23:27:21 just for you and dianne Mar 16 23:27:25 canadiancow: you're fired. Mar 16 23:27:29 ctate u work for googleu got to expect abuse i guess :) Mar 16 23:27:40 :) Mar 16 23:27:52 gaz`: aw, is someone crying about receiving criticism? Mar 16 23:27:58 yes! Mar 16 23:28:07 why do they al think theyre cmedians as they slate u Mar 16 23:28:17 only since these fucking markets did we *expect* abuse Mar 16 23:28:24 losers Mar 16 23:28:46 it must be friday afternoon Mar 16 23:28:52 we have to rise above it do we? Mar 16 23:29:02 or can we just ban these c*nts from the app Mar 16 23:29:40 Anyone know if buying your own in-app-billing-enabled app with a test account will actually charge your credit card? O_O Mar 16 23:29:43 i know il regret my comment to them Mar 16 23:29:43 5star review or we ban you! Mar 16 23:29:46 but fookit Mar 16 23:30:03 AlexRamallo, oh it will Mar 16 23:30:11 -___- Mar 16 23:30:28 canadiancow, the thing about that IBinder: http://stackoverflow.com/questions/5392915/how-to-use-ibinder-when-binding-to-a-service-in-another-application Mar 16 23:30:31 Feb 21, 2012 GOOGLE *Zynga Inc GOOGLE.COM 1.01 Mar 16 23:30:47 Feb 17, 2012 GOOGLE *Zynga Inc GOOGLE.COM 1.01 Mar 16 23:30:48 it goes on Mar 16 23:30:58 I guess it give that BinderProxy because I am starting the service as other process Mar 16 23:31:05 *gives Mar 16 23:31:42 ok Mar 16 23:31:45 ok i removed it Mar 16 23:31:45 janhouse: you can't use the casting / local service way, as the SO poster mentioned Mar 16 23:31:50 it was a threatening comment Mar 16 23:31:53 i managed to figure this out by reading the docs Mar 16 23:31:53 you have to use AIDL Mar 16 23:31:57 then i decided binding wasnt worth it Mar 16 23:31:58 no what u need from a developer receiving crit Mar 16 23:32:03 considering all i do is pass basic messages back and forth Mar 16 23:32:09 so i went all Intent on that service Mar 16 23:32:17 now it know's who's boss Mar 16 23:32:20 knows* Mar 16 23:32:26 you can also use Messenger if its really simple Mar 16 23:32:27 but god Mar 16 23:32:34 these uys need an ass whooping Mar 16 23:32:47 :D Mar 16 23:32:53 Thx for your help :) Mar 16 23:32:54 i hope he gets an email with my aqbuse and then its gone when he comes to complain Mar 16 23:33:34 and the video he is absuing? 750 hits in one day! Mar 16 23:33:44 suck on it foul mouthed idiot. Mar 16 23:34:09 gaz`: I have no idea what you're babbling about, but do continue making yourself look like an idiot. Mar 16 23:34:11 I have a project I want to make open source and upload to GitHub, but I do not want others to access the API keys I am using, and I also don't want the user to enter their own login information and generate their own keys, what is the best of obfuscating my API keys so I can upload the source? Mar 16 23:34:25 Pragma in the same way i have no idea why youre such a tosser Mar 16 23:34:53 I'd be offended, except you're a daft git. Mar 16 23:35:02 yeh well stfu Mar 16 23:35:13 u got no business trying to be all cool and insulting with me Mar 16 23:38:03 29 minutes for pizza :) Mar 16 23:38:07 legend Mar 16 23:38:44 did u order via a app Mar 16 23:38:55 i heard dominos are mostly getting app orders now Mar 16 23:39:02 how amazing is that, clicking for food Mar 16 23:39:07 i ordered online Mar 16 23:39:11 it was a website Mar 16 23:39:15 sweeettttt!!! Mar 16 23:39:17 yeh Mar 16 23:39:21 i've been doing that for years... Mar 16 23:39:22 "FEED ME"/. Mar 16 23:39:23 Yes, his lack of culinary skills is indeed very amazing. Mar 16 23:39:23 ? Mar 16 23:39:32 pragma_: +1 Mar 16 23:39:32 Did it say feed me? Mar 16 23:39:36 in UK it does Mar 16 23:39:52 not in UK now and i can barely understand the local lingo here Mar 16 23:40:02 i know Mar 16 23:40:05 i held a door for someone there once Mar 16 23:40:10 and he said "cheese" Mar 16 23:40:12 lol Mar 16 23:40:16 i was like "wtf" Mar 16 23:40:22 then 2 hours later i realized it was "cheers" Mar 16 23:40:28 yeh man Mar 16 23:40:31 dominos will kill you Mar 16 23:40:34 cheeeeezzz Mar 16 23:41:19 Guys, I have issues enabling proguard. I'm getting error: proguard.ParseException: Expecting class path separator ';' before 'D:\Android\workspace\MijnNeVoBo\libs\GoogleAdMobAdsSdk-4.3.1.jar' in argument number 4 Mar 16 23:41:32 As you can see, I don't have spaces in my path. Mar 16 23:41:35 thats madness Mar 16 23:41:43 never seen it Mar 16 23:41:48 I changed the batch file already (%* to %1 %2 etc) Mar 16 23:41:52 can u even turn off obfuscation in android? Mar 16 23:41:54 what could it be? Mar 16 23:42:12 ToFra: perhaps you need to put the class path separator before the path? Mar 16 23:42:20 as that is what it says is wrong Mar 16 23:42:23 canadiancow: where was that? Mar 16 23:42:23 theres other obfuscators too not just proguard i guess Mar 16 23:42:49 yes readme ur making more sense Mar 16 23:43:05 @readme: yeah, but i'm using eclipse to build it. So I assume it should work fine.. (without proguard it builds fine) Mar 16 23:44:09 ToFra: http://stackoverflow.com/questions/4356979/proguard-error-expecting-class-path-seperator-not-sure-where-i-need-to-put-a Mar 16 23:44:16 google is your friend Mar 16 23:44:59 something still cares about DOS long names? Mar 16 23:45:07 good grief. have you considered using a modern OS? :-/ Mar 16 23:46:11 gaz`, canadiancow so I am now reading about the Messenger and it is a bit unclear. What can be sent using it? Mar 16 23:46:19 @readme: I saw that one already, but I have no spaces in my path.. (changed my workspace path a year ago when I also had these issues) Mar 16 23:46:46 Hi, I managed to (finally!) finish extracting the ICS launcher into my own package. It was building ok. The only thing left is to change the package name, which I did, but now it doesn't seem to build. I get XML layout attribute errors for the custom views like this: "No resource identifier found for the attribute 'foo' in package 'com.timmmm.launcher'". However I *do* still have the attrs.xml file included, and it claims th Mar 16 23:46:46 ere are no errors with it and there is no mention of packages or namespaces in that file anyway. I've grepped through the whole tree to find if I messed a reference to com.android.launcher(2) and there are none left. Can anyone help? Mar 16 23:47:20 never mind, I have to read about Message Mar 16 23:47:24 Did you change the namespaces in xml as well? Mar 16 23:47:44 SimonVT: Yep Mar 16 23:48:57 what is this "extracting ICS launcher into my own package" nonsense? Mar 16 23:49:06 Timmmm: what is 'foo' ? Mar 16 23:49:27 it's possible Launcher2 is referencing platform-private resources Mar 16 23:49:49 ctate: Any of the custom attributes, e.g. "widthGap" Mar 16 23:49:50 (it's not fully buildable as a standalone app, i believe) Mar 16 23:50:08 <`z> are you fucking kidding me Mar 16 23:50:25 <`z> i gave my friend the link to fakenamegenerator Mar 16 23:50:30 <`z> he generated a valid cc Mar 16 23:50:32 <`z> apparently Mar 16 23:50:36 oh, the launcher:whatever attrs? huh Mar 16 23:50:42 <`z> he bought a 49c app Mar 16 23:50:43 <`z> @_@ Mar 16 23:50:47 ctate: e.g. launcher:widthGap="@dimen/workspace_width_gap" Mar 16 23:51:06 ctate: Yeah... I am attempting to make it buildable as a standalone app! Mar 16 23:51:28 that 49c app is about to cost him hundreds of dollars in legal fees Mar 16 23:51:54 Timmmm: and you properly fixed up the xmlns:launcher="..." declarations in all the layouts? Mar 16 23:51:59 but i find it more likely that you don't know what is going on Mar 16 23:52:16 ctate: Yeah, as far as I can tell. I'm beginning to suspect it is some weird build bug. Mar 16 23:52:29 clean your build :) Mar 16 23:52:38 ctate: First thing I tried! Mar 16 23:53:21 the thing is, anyone could get on a public wifi with an unactivated device, create a google account, and buy carded apps without much fear of repercussions Mar 16 23:53:27 I would say that is a significant finding Mar 16 23:53:34 as far as piracy concerns and soforth Mar 16 23:54:17 that's odd, generally, checkout authorizes cards before allowing download Mar 16 23:54:28 generally, these days, yes Mar 16 23:54:43 I wonder if it is using the old method of matching algorithms and doing the charges in batches Mar 16 23:54:45 * pfn gets a bunch of emails saying that purchaser emails have been declined Mar 16 23:55:14 s/emails have/have Mar 16 23:55:37 I almost read the first part as shemales Mar 16 23:55:52 SimonVT: please keep your fetishes more private Mar 16 23:55:57 pfn: I have gotten a few of those too Mar 16 23:56:23 but perhaps as the market grew, the amount of small charges became unsustainable? Total speculation Mar 16 23:56:36 but if what `z says is true, it raises sme questions for sure Mar 16 23:56:40 *some Mar 16 23:56:47 <`z> root66, really. Mar 16 23:56:48 well, 49c is a different matter Mar 16 23:56:53 SimonVT: Don't worry about voicing your fetishes, the rest of us are from the Internet too. Mar 16 23:56:56 yes, let's believe some random internet guy. Mar 16 23:56:57 it might be below the threshold for authorizing Mar 16 23:57:02 pfn: right Mar 16 23:57:12 <`z> pfn: should I get him to charge something more? Mar 16 23:57:14 <`z> like $5? Mar 16 23:57:14 <`z> lol Mar 16 23:57:22 but then again Mar 16 23:57:23 ctate: Balls, I found the problem; made a typo of the package name in the AndroidManifest.xml! Mar 16 23:57:28 I had a problem during the 10c sale Mar 16 23:57:38 amex flagged some of the 10c transactions as fraudulent Mar 16 23:57:48 so I had to call up amex and tell them they were authorized Mar 16 23:57:55 lol, american express Mar 16 23:58:03 Oh, that was a good belly alugh. Mar 16 23:58:04 so they were processed individually Mar 16 23:58:05 * pfn shrugs Mar 16 23:59:12 it probably costs them more than 10 cents to process it Mar 16 23:59:14 :P Mar 16 23:59:21 yes, it would Mar 16 23:59:30 maybe it got changed for the 49c sale to batch Mar 16 23:59:32 dunno though Mar 17 00:03:57 pizza places sure cut it close Mar 17 00:03:59 3 minutes left! Mar 17 00:09:08 anyone read this ? http://shop.oreilly.com/product/0636920013716.do?code=OPC10 Mar 17 00:10:26 * g00s peruses the oreilly catalog Mar 17 00:10:33 huh, wtf is this http://shop.oreilly.com/product/0636920022930.do Mar 17 00:10:42 never heard of HealthVault Mar 17 00:16:33 * g00s buys Oreilly "Designing Mobile Interfaces" and "Mobile Design Pattern Gallery" :"D Mar 17 00:19:23 have fun with that Mar 17 00:20:33 :) Mar 17 00:21:09 what I'd much rather have is a huge collection of stencils for putting together great looking graphics Mar 17 00:21:12 in a vector format Mar 17 00:21:30 what kind of stencils ? Mar 17 00:21:36 for UI prototypes ? Mar 17 00:21:40 in practice i think that's called "Photoshop" Mar 17 00:21:52 or whatever the Illustrator equivalent is these days Mar 17 00:21:52 no, for creating actual assets Mar 17 00:21:58 right. Mar 17 00:21:59 ctate, it's still illustrator Mar 17 00:22:03 :p Mar 17 00:22:15 * g00s uses inkscape Mar 17 00:22:20 and yeah, i use inkscape Mar 17 00:23:25 but I hate having to come up with graphics all the time, it'd be so nice to just have an already-available set of components to pull together into great looking icons Mar 17 00:24:09 basically just the desires of a lone-developer, rather than as a fully-fledged production team Mar 17 00:24:57 pfn: i bet you have seen these http://www.yay.se/resources/android-native-icons Mar 17 00:25:38 haven't actually, but I guess that's a decent start Mar 17 00:26:01 those icons are crap Mar 17 00:26:37 they are the android icons as svg :P Mar 17 00:26:50 w/o effects, of course Mar 17 00:28:23 For me, I just came to terms with that I can't make great graphics and have a) someone else do it b) have the customer contact someone to do it c) convince the customer to have someone else do it. Mar 17 00:28:49 As if developing the thing didn't take long time enough. Mar 17 00:28:54 root66: just read what you said about the security comment.. I think beyond piracy, it's a huge concern because of money laundering Mar 17 00:28:57 drlaban: images.google.com is your friend Mar 17 00:29:01 * pragma_ whistles innocently. Mar 17 00:29:06 you could launder tons of money through in app billing Mar 17 00:29:50 I can imagine how $200 bucks would seem like tons of money to you. Mar 17 00:30:11 pragma_: I tried "aewsome icons for mental institution" several times. They're still not satisfied. ;p Mar 17 00:30:25 damn, must've been because i typed it wrong....... Mar 17 00:30:39 im back to post statements Mar 17 00:30:50 they may even lead to questions Mar 17 00:30:55 pragma_: is there a $200 limit somewhere that I don't know about? Mar 17 00:31:13 If there is, I don't know about it either. Mar 17 00:31:26 30% is a pretty expensive proposition for laundering Mar 17 00:31:48 whats the standard? Mar 17 00:31:52 lol Mar 17 00:32:05 but that brings up an interesting service Mar 17 00:32:14 make an IAP money laundering app that you sell as a service to people ;-) Mar 17 00:32:24 pfn: what's 30% when all the money comes from stolen ccs? Mar 17 00:32:42 readme, pretty difficult to authorize on a large scale anyway Mar 17 00:33:45 * Drakonite wonders what nonsense he walked in the middle of Mar 17 00:34:07 Drakonite: it's flawless. we just round a fraction of a penny off each account, millions of times. Mar 17 00:34:22 profiteering, procession of a stolen transaction card ,receiving stolen goods Mar 17 00:34:38 id hate to be that dev Mar 17 00:34:42 i bet someoen is already doing this. Mar 17 00:35:05 I cant wait to read the first blog post about an android dev getting party vanned Mar 17 00:35:18 How does one listen to whatever adb considers an "localabstract" port -- eg, the bridge that chorme for android uses Mar 17 00:36:58 how do you incorporate libraries from a linux box onto an android app? Mar 17 00:37:20 UnbrandedTech, build it using the ndk Mar 17 00:37:25 UnbrandedTech, then link to it from android Mar 17 00:37:37 ok thank you Mar 17 00:37:50 * SeligArkin brands UnbrandedTech Mar 17 00:38:31 now how do you submit strings to specific entry point of the command line? Mar 17 00:38:57 huh Mar 17 00:39:02 i.e. ssh user@192.168.1.1 | password Mar 17 00:39:12 huh Mar 17 00:40:12 i need to take user inputed $username and $password and submit into that command Mar 17 00:40:52 i have the ui built but have no idea how to incorporate it Mar 17 00:41:30 ouch Mar 17 00:41:34 using ssh from the commandline in an android application is a bad idea Mar 17 00:41:36 is it possible to change the color of an checked radio button? i mean only the color of the dot which shows if it's checked or not Mar 17 00:41:41 use one of the ssh libraries available Mar 17 00:41:57 chris_cross, sure, look up the styling of the checkbox and change it Mar 17 00:42:20 ..........their is ssh lib's in android? Mar 17 00:42:28 not sure what u mean, sry Mar 17 00:42:30 there are lots of java-based ssh libs Mar 17 00:42:32 in xml? Mar 17 00:42:42 so let me get this straight Mar 17 00:42:46 i can rent movies on my phone Mar 17 00:42:47 chris_cross, look at styles.xml in the sdk data/res/values/ Mar 17 00:42:48 on my tablet Mar 17 00:42:51 on the web Mar 17 00:42:53 through google play Mar 17 00:42:56 but not through google tv??? Mar 17 00:42:58 ok, thank you! Mar 17 00:42:59 what the fuck Mar 17 00:43:15 * pfn has been looking all over for a streamable glengarry glen ross Mar 17 00:43:22 no luck yet Mar 17 00:43:48 where can i find these ssh libs Mar 17 00:44:03 canadiancow: wtf indeed Mar 17 00:44:03 for android Mar 17 00:44:42 BranedTech: google? Mar 17 00:45:06 BraindeadTech Mar 17 00:45:07 and they wonder why google tv hasnt caught on? Mar 17 00:45:12 it does everything but let me watch tv Mar 17 00:45:19 canadiancow: welcome to the world of media licensing Mar 17 00:45:22 guess i'll be pirating a movie instead... Mar 17 00:45:28 haha, yeah Mar 17 00:45:32 exactly Mar 17 00:45:34 pirate is still the most reliable way Mar 17 00:45:44 i have no problem paying Mar 17 00:45:45 my sony blu ray has netflix, it works about 25% of the time Mar 17 00:45:47 but if i cant pay... Mar 17 00:46:01 readme, so unreliably? that's disappointing Mar 17 00:46:02 thank you guys ttyl Mar 17 00:48:47 canadiancow: you can watch tv,must bot without a cable subscription Mar 17 00:48:55 ? Mar 17 00:49:07 i want to rent a movie from the play store Mar 17 00:49:15 i can do that on my phone, tablet, or the web Mar 17 00:49:18 but not on google tv Mar 17 00:49:22 how does that even make sense Mar 17 00:50:44 I don't know what this "google tv" is, but it sounds just as stupid and retarded as "microsoft tv" or "apple tv" Mar 17 00:50:47 it doesn't, but the reason it is like that is the companies that own the media rights license them so you can't play them on a TV or similar that they are trying to sell DVDs to people for Mar 17 00:50:54 So, therefore, you deserve it. Mar 17 00:51:40 Ask the MPAA. They'll busy say "because pirates" what they mean is "moats money if google has to pay twice to show it on a TV,lulz" Mar 17 00:52:07 Ugh fucking osk Mar 17 00:52:44 The media industry's battle against piracy as actually cost it way more money and customers than anything else, really. Mar 17 00:52:55 s/as actually/has actually/ Mar 17 00:53:24 the tv rights are sold separately and for a lot more money. it's why hulu requires you to have hulu plus to play on a TV, and why so many can't play on TV all. It has nothing to do with piracy, it's just them wanting to make more money Mar 17 00:54:05 They don't see that as "lost money" though, pragma_ Mar 17 00:54:05 Uh, just buy a $75 laptop with a hdmi/TV adapter. Mar 17 00:54:52 it's beyond most people to set that type of thing up Mar 17 00:55:19 anytime someone makes it easy to use streaming services like hulu from a settop box, they attack them Mar 17 00:55:41 We need to remove the safety and warning labels off of things, and remove the fences guarding cliffs and dangerous locations Mar 17 00:56:14 pfn: i have still problems with the change of the color of the radio button cycle Mar 17 00:56:42 "most people" are not a statistic that interests me since "most people" are tubs of fat wasting space Mar 17 00:56:46 first edittext is focused on when entering activity. can it be stopped? Mar 17 00:56:52 pfn: do i have to draw a new button?! Mar 17 00:57:19 Has anyone tried setting up a ShareActionProvider with ABS4.0? I can't seem to figure out how to do so Mar 17 00:59:59 pragma_: that won't do anything but kill innocent children Mar 17 01:00:29 chris_cross, look at how the resource is defined, then do whatever is appropriate to change the color Mar 17 01:00:32 Let god sort them out. Mar 17 01:00:45 chris_cross, it can potentially involve drawing a new button, or it could be just changing a value in a resource Mar 17 01:01:36 i don't know how to look up the style of the radio button Mar 17 01:04:11 chris_cross, look in styles.xml, look for CheckBox Mar 17 01:04:14 start digging from there Mar 17 01:04:32 pragma_: right, toddlers won't magically start being born with the knowledge that wires are not food. Mar 17 01:05:49 If the parents are so inept that they cannot secure their toddler's play area, then I'm not going to shed a tear over the loss of another potential dumbass wasting space in society. Mar 17 01:05:57 in styles.xml is only the code i have written Mar 17 01:08:57 Back in the day, when a newborn was birthed, they would leave it outside on the doorstep overnight. If it survived, it was worthy of being reared. Mar 17 01:09:22 Today, they coddle any retard. Mar 17 01:09:53 pragma_: I'm sorry but your solution is way stupider than the people you hope to eleminate Mar 17 01:10:04 See SeligArkin. Mar 17 01:11:00 Fuck this shit, ill just Google for android such Mar 17 01:11:10 Dec questions Mar 17 01:11:27 Better than this cess pool Mar 17 01:15:50 Does action bar sherlock have the ability to do Share Action Providers? Mar 17 01:16:03 Cause I'm having a hell of a time trying to get it to work Mar 17 01:16:45 pragma_: now that I'm back to my computer, let me be clear: You are a horrible person, a horrible person! We weren't even testing for that! Mar 17 01:31:19 chris_cross, the platform styles xml, not your project Mar 17 01:55:30 is there a way to init a new repo without redownloading the files you already have on repo sync? Mar 17 02:05:02 lol Mar 17 02:38:10 helo Mar 17 02:38:56 anyone familiar about this stacktrace? Mar 17 02:38:57 http://pastebin.com/K6vevVLy Mar 17 02:39:08 i get this when i run my avd Mar 17 02:58:13 I have a LinearLayout with a Gallery and a ListView, but the ListView covers up the Gallery, even though it is listed second, how can I make the Gallery stay atop the ListView? Mar 17 02:59:43 Is there any way to see the contents of my apps local data? For example, if I have two files, "a.txt" and "b.txt", can I just "ls /whatever" that muf? **** ENDING LOGGING AT Sat Mar 17 02:59:58 2012