**** BEGIN LOGGING AT Wed Apr 04 02:59:59 2012 Apr 04 02:59:59 You sure Apr 04 03:00:02 It isn't working for me Apr 04 03:00:07 I'm using my own device if that matters Apr 04 03:00:12 not an emulator Apr 04 03:00:24 maybe you need to tell logcat to listen to it, instead of the emu Apr 04 03:00:44 Any idea how you do that? Apr 04 03:00:58 eclipse? Apr 04 03:01:13 Yeah Apr 04 03:01:15 go to DDMS Apr 04 03:01:26 window->open perspective Apr 04 03:01:44 there's a devices tab Apr 04 03:01:56 and a logcat Apr 04 03:03:42 Well I have the logcat window open Apr 04 03:03:52 but it didn't print anything Apr 04 03:04:02 what about the devices tab Apr 04 03:04:18 should have a mention of your device, click on it Apr 04 03:04:30 how can I listen for the user pressing the back button when a ContextMenu is open? Apr 04 03:04:50 Oh I see Apr 04 03:04:55 Bonkers why would you? Apr 04 03:04:59 I had to click on my package under devices Apr 04 03:05:35 And my error is from a permission not being used Apr 04 03:05:37 fail Apr 04 03:06:16 xorgate, well, I guess it's nto totally necessary, but would be nice to be able to, I'm making a JS<->Java bridge, so I've got an object that needs cleaning up Apr 04 03:11:08 jesus christ `adb logcat` in terminal and it will open up automatically to device/emulator automatically Apr 04 03:13:56 Anyone here good with databases for android? I'm a complete noob at this and have no idea what I'm doing :D Apr 04 03:15:28 http://pastebin.com/XjkSiai2 that's my whole activity, I'm getting a error in my logcat on line 169/170. I'm trying to set a ringtone and android fails to enter it into the database? Apr 04 03:19:52 Anyone please :s? Apr 04 03:20:27 isolate your problem Apr 04 03:20:46 you mention db but your line of code is about uri Apr 04 03:21:32 hm, has anyone used achartengine with fragments? Apr 04 03:22:14 I just know the logcat gave me a error about entering my stuff into a database Apr 04 03:22:45 what's the error Apr 04 03:23:07 http://pastebin.com/kbJ7gJcL Apr 04 03:23:46 T-Dub|DlolPics: do you know what a constraint is? Apr 04 03:23:50 No Apr 04 03:23:52 http://developer.android.com/reference/android/database/sqlite/SQLiteConstraintException.html Apr 04 03:24:12 in general English, if not in database jargon? Apr 04 03:24:50 So it can't locate the file? Apr 04 03:25:05 An exception that indicates that an integrity constraint was violated. Apr 04 03:25:18 integrity constraint Apr 04 03:26:15 http://en.wikipedia.org/wiki/Integrity_constraints Apr 04 03:26:40 Exists a easy way to get a Service binder? Apr 04 03:26:52 in one line, whitout ServiceConnection Apr 04 03:32:11 Thank you guys for your help Apr 04 03:32:27 T-Dub|DlolPics learn to read error messages Apr 04 03:32:33 and documentation Apr 04 03:32:35 sometimes they are pretty helpful Apr 04 03:32:43 I'm a self tought java programmer Apr 04 03:32:49 I'm like super new Apr 04 03:32:59 And I saw the error message but hadno idea what I was doing :s Apr 04 03:33:01 so it's a valuable lesson Apr 04 03:33:04 Still don't. Apr 04 03:33:38 like i said before, isolate your problem. find out the first part where things don't go as you expect. then find out why Apr 04 03:35:53 lol @ iOS instagram users Apr 04 03:35:59 ? Apr 04 03:36:24 How would I go about customizing the be 'home' on the action bar click? Apr 04 03:36:58 ? Apr 04 03:37:11 ? Apr 04 03:37:29 was that a valid question? Apr 04 03:37:34 Yes. Apr 04 03:37:36 ron wants you to rephrase Apr 04 03:37:41 ql Apr 04 03:37:42 Ops Apr 04 03:38:00 English damn it! do you speak it!? Apr 04 03:38:02 anyone know of a good channel to discuss qualcomm DM functions? I have not been able to find one Apr 04 03:38:11 Yes. Do you? Apr 04 03:38:20 I enabled this: http://developer.android.com/reference/android/app/ActionBar.html#DISPLAY_SHOW_HOME in my action bar. Apr 04 03:38:33 vadi2 i agree though, your question is vague at best Apr 04 03:38:34 I want pressing on it to do something else other than the default. Apr 04 03:38:59 ahh Apr 04 03:41:15 Hi I'm trying to create a new AVD for Android platform version 13. But it does not support HVGA skin in the new avd screen. Is there any way to add HVGA skin? Apr 04 03:41:57 How would I do this? Googling for this is pretty hard, and the ActionBar doc is not mentioning anything relevant Apr 04 03:43:13 vadi2: What are you trying to do? Apr 04 03:43:39 Change the behavior of when the user presses on the home icon in an ActionBar Apr 04 03:44:24 vadi2: Are you using android native Actionbar? Apr 04 03:44:30 No, ABS Apr 04 03:45:21 i cant get abs 4.0 to work Apr 04 03:45:54 i'm working on a blank project merely to get it working Apr 04 03:46:04 i had the 4.0 beta working Apr 04 03:48:08 Aha, this is the solution: http://developer.android.com/guide/topics/ui/actionbar.html#Home Apr 04 03:59:19 hi again Apr 04 04:00:11 hey, the api for AudioRecord and AudioFormat have a 16-bit format. but does not specify signed/unsigned. anyone know? Apr 04 04:00:50 java doesn't have an unsigned 16bit type Apr 04 04:01:09 also 16bit is almost always signed in the audio world Apr 04 04:01:34 good. hope it is. Apr 04 04:01:57 well, java.sound gives that as an alternative for byte and short Apr 04 04:02:53 0-ff or 0-ffff but signed is much nicer, and much easier to process Apr 04 04:03:46 my first experiment is to display an FFT waterfall display of 0-3khz. just to make sure it works Apr 04 04:08:30 method getValue(Element, String) in the type XMLfunctions is not applicable for the arguments (Element, String) Apr 04 04:08:34 :( Apr 04 04:11:25 Can you set a sound as a ringtone without doing the database uri thing? Apr 04 04:22:42 b0nn: check the fully qualified names of both elements and strings Apr 04 04:23:26 ant debug works, ant release breaks...blah... Apr 04 04:23:55 Thought I finally had this thing ready, guess not Apr 04 04:24:01 It's weird, if I remove the Element part of the signature everything is happy Apr 04 04:24:22 2 different Elements? Apr 04 04:25:49 Found it : Found it, android.sax.Element and org.w3c.dom.Element; Apr 04 04:27:49 that's one to always keep in the back of your head Apr 04 04:28:19 is there a flag for Activity that will wake the screen when the activity starts? Apr 04 04:29:10 etuleu: not a flag -- does it really need to wake the screen? Apr 04 04:29:34 usually it's that they keep the screen awake if needed Apr 04 04:29:43 jeppy, yes I need to wake it up Apr 04 04:29:51 look into wakelocks Apr 04 04:31:52 jeppy, ok thanks Apr 04 04:37:01 how can I show something on the lock screen? Apr 04 04:37:06 ala music app Apr 04 04:48:47 Hi I'm trying to create a new AVD for Android platform version 13. But it does not support HVGA skin in the new avd screen. Is there any way to add HVGA skin? Apr 04 04:49:26 'skin' ? Apr 04 04:59:39 xorgate: Yes, AVD Manager -> New -> Skin: Apr 04 04:59:55 xorgate: I'm looking for a built in HVGA skin Apr 04 05:00:05 which was available for Android - 10 Apr 04 05:01:03 what's the function of this skin? Apr 04 05:01:22 xorgate: it provides a keypad Apr 04 05:01:47 xorgate: Can you share a screenshot of your android-13 AVD? Apr 04 05:02:27 eh i'd rather not cause i'd have to make one first Apr 04 05:02:35 and i'm watching khan academy Apr 04 05:02:53 ok no probs Apr 04 05:03:49 xorgate: http://troll.ws/3seN6N this is my AVD for android - 10. I'm trying to create a similar AVD for android 13 Apr 04 05:04:26 Hi! Which Android simulator would you suggest for x86 and arm ? Apr 04 05:04:40 or is it even better to use an emulator instead of a simulator ? Apr 04 05:05:58 djszapi i'd suggest using a real device Apr 04 05:06:32 xorgate: I wish I had one, or I could afford one at the moment. Apr 04 05:06:46 that would be definitely my plan. Apr 04 05:06:47 afaik there;s not such a thing as a 'simulator' Apr 04 05:07:16 Free Android Simulator | Gomez.com Apr 04 05:07:16 www.gomez.com/Mobile-App-Test Apr 04 05:07:56 I would need a simulator/emulator on Linux, if possible. Apr 04 05:07:57 djszapi: the Android SDK has a perfectly serviceable emulator in it - and with the latest release, it runs virtualised on x86 (on Windows and Mac, anyway) for speedup... Apr 04 05:08:33 the main thing the emulator fails on is that it's pretty slow if you fire it up with a tablet configuration, but if you're emulating a mainstream-spec Android phone, it's fine Apr 04 05:08:57 Windows and Mac only, not Linux ? :/ Apr 04 05:09:05 nope, linux too Apr 04 05:09:09 it's soft-emulation on Linux... Apr 04 05:09:16 jrr: reference? Apr 04 05:09:28 so there is really no such a thing, as simulator ? Apr 04 05:09:35 http://developer.android.com/sdk/installing.html Apr 04 05:09:37 no, there is no simulator - use the emulator Apr 04 05:10:03 jrr: reference to virtualisation on Linux, rather than emulation? Apr 04 05:10:12 the google-provided android emulator uses QEMU for ARM Apr 04 05:10:27 Leeds: oh, sorry, that's not what I meant - but I'll dig up the ref anyway =] Apr 04 05:10:38 except that the newest SDK also includes Android x86 images, which are virtualised on Mac and Windows Apr 04 05:11:41 http://developer.android.com/guide/developing/devices/emulator.html#accel-vm Apr 04 05:11:54 "Linux-based systems support virtual machine acceleration through the KVM software package. " Apr 04 05:12:58 huh, you're right - the SDK release notes are apparently wrong "Added support for running Android x86 system images in virtualization mode on Windows and Mac OS X." Apr 04 05:13:24 no, that's correct - it already existed in linux from a previous tools release Apr 04 05:13:41 the google TV image is virtualized x86, and originally only worked on linux host Apr 04 05:13:48 I'm pretty sure it was only enabled for GTV previously - there were no general Android x87 images Apr 04 05:15:00 but the google TV stuff is packaged separately, so you couldn't virtualise on Linux before SDK 17 anyway Apr 04 05:15:13 I mean for general-purpose (phone/tablet) Android Apr 04 05:15:30 maybe the release notes could be clearer :) anyway, sorry Apr 04 05:15:40 yeah, I'm sure the release notes were written by a guy who doesn't make the distinction Apr 04 05:15:53 off to bed.. gn Apr 04 05:16:12 I read the release notes, was disappointed, then confused when the x86 image ran very fast on linux :p Apr 04 05:16:32 I haven't actually been doing much Android coding recently, so I haven't updated my SDK yet Apr 04 05:18:36 Leeds: jrr thanks Apr 04 05:29:16 is there a built in view that I can use to design my app to scroll with Text and a picture on the left, then when the section of the scroll is clicked on for the corresponding object go to a new activity Apr 04 05:29:47 like listview with a picture? Apr 04 05:29:54 you should rephrase Apr 04 05:30:01 you can easily put a custom layout in a listview Apr 04 05:30:04 ok Apr 04 05:30:12 Well maybe I should explain what I'm doing first Apr 04 05:30:17 You could use a scrollview -> linearlayout[horiz] -> { image, textview } Apr 04 05:30:20 "picture on the left, text on the right" is a pretty common custom layout... Apr 04 05:31:06 I am retrieving data from MySQL Through Apache using the httpclient through JSON, and the json objects will be parsed into each individual element of the view, if that makes sense? Apr 04 05:31:31 it makes sense, but it's irrelevant Apr 04 05:31:35 Okay Apr 04 05:31:40 Sure, but that we need information about the layout itself Apr 04 05:32:01 I'll try what you did in the GUI Editor Knossos Apr 04 05:32:24 Should work, if I understood you correctly. Apr 04 05:32:48 I'm not sure why you'd use that rather than a listview - that's exactly what listview is for, presenting a list of data and letting the user select one Apr 04 05:33:17 Can you embed a picture in Listview? Apr 04 05:33:30 You can have any custom arrangement in a listview Apr 04 05:33:53 Okay, and what is the proper way of adding a new activity using the eclipse ide plugin? Apr 04 05:33:56 That is the best option if you are after creating a list of data Apr 04 05:34:03 so that a new layout xml file gets generated, etc. Apr 04 05:34:22 You won't be able to create this structure by the IDE Apr 04 05:34:46 Hm, I can scrap the picture if I have to Apr 04 05:35:14 You will need to make a custom adapter to handle the individual views inside the rows. Apr 04 05:35:40 Alright, I'll see what I can do, Thanks Apr 04 05:35:41 :) Apr 04 05:35:46 It isn't difficult to do, there are plenty of tutorials on the subject Apr 04 05:36:25 Yeah, I've just got a strict deadline for this project. Can do a little bit of wetwork though Apr 04 05:39:13 Is there a way to make AdMob increase its width dynamically or is it fixed to its' size? I ask because the ads fit almost perfectly where they are supposed to, it would just be nice if it would expand to fill the small gap remaining. Apr 04 05:41:09 How can I create an AVD that looks exactly like the one in this link : http://troll.ws/3seN6N for Android - 13 Apr 04 05:41:47 thats sdk 10 Apr 04 05:41:53 cooldman224: yes Apr 04 05:42:04 thats sdk 10 Apr 04 05:42:09 usuing ubuntu* Apr 04 05:42:36 ctrl f11? Apr 04 05:42:40 cooldman224: Ah yes mate. Its my own emulator. I want to create a similar one for Android 13 Apr 04 05:43:12 download sdk 13? Apr 04 05:43:26 Knossos http://www.androidappmobile.com/wp-content/uploads/images/3/how-to-update-custom_128255033130.jpg Apr 04 05:43:45 cooldman224: I did that, but no built in skin for HVGA in New AVD create dialog Apr 04 05:43:54 That's basically what I'm looking for, with the ability to click on each section to bring up a new activity Apr 04 05:44:14 BenRain: You need a custom adapter Apr 04 05:44:18 ok Apr 04 05:45:38 napster: sdk 13 - 3.2 is tablet, HVGA lists as a 3.2 in screen Apr 04 05:46:04 BenRain: http://goo.gl/vK4r9 Apr 04 05:46:07 cooldman224: I didn't get you Apr 04 05:46:17 Did a quick overview of that tutorial, seems roughly correct Apr 04 05:46:46 thanks Apr 04 05:47:28 cooldman224: Is it possible to create an emulator like that for 13? Apr 04 05:49:38 napster: dont really know but probably not Apr 04 05:49:47 cooldman224: I see Apr 04 05:54:36 published...yay Apr 04 06:02:43 congrats Ologn :) Apr 04 06:23:43 hi Apr 04 06:24:01 I made a really cool app for dissecting all signals gps related from network or provider tower info Apr 04 06:24:03 kinda groovy Apr 04 06:24:31 I'd like the equations to finish the speedo with the accelerometer Apr 04 06:24:50 9.8ms/ÿ Apr 04 06:25:24 what do I declare for the 3 axis Apr 04 06:25:39 what is the logic i need to put into that portion to have a functional speedo Apr 04 06:26:02 i know there is some swivel motion to get the phones to calibrate but i do not understand the math to put into each of the 3 variables Apr 04 06:30:38 morguh Apr 04 06:41:51 JakeWharton, yeah, I'll toss the plugin up into a repo soon, probably thursday Apr 04 07:01:51 weird achartengine demo crashes out of the box, can't find a class in the lib jar even though its in lib/ Apr 04 07:02:02 maybe it has to be libs/ now Apr 04 07:03:44 yeah, that was the problem Apr 04 07:07:16 G'day quick question why isn't it possible to change a DatePicker date though a function like setDate(int year,int month,in date)? Apr 04 07:36:56 hello everyone, i have question regarding the compilation process, i'm compiling ICS for the allwinner board and i got an error which says "build/core/base_rules.mk:166: *** system/core/allwinner_a10_core/adb: MODULE.HOST.EXECUTABLES.adb already defined by system/core/adb. Stop." any clues? Apr 04 07:39:10 romainguy, "build/core/base_rules.mk:166: *** system/core/allwinner_a10_core/adb: MODULE.HOST.EXECUTABLES.adb already defined by system/core/adb. Stop." how do i overcome this conflict? Apr 04 07:44:52 when using asynctask, how do I return the results to the main class? Apr 04 07:44:57 I'm pretty confused Apr 04 07:45:54 wait, think I got this now Apr 04 07:47:15 BenRain: you can't 'return' it as such, because the main class has moved on since you spawned the asynctask... what you do is call back to the main class, either using something like a Handler, or just directly calling a function Apr 04 07:47:28 I made an instance of the asynctask class Apr 04 07:47:34 is that acceptable? Apr 04 07:48:15 have you read http://developer.android.com/reference/android/os/AsyncTask.html Apr 04 07:48:19 yes Apr 04 07:48:55 also http://android-developers.blogspot.com/2009/05/painless-threading.html Apr 04 07:49:00 read that too Apr 04 07:49:19 good, then you know all there is to know :) Apr 04 07:49:24 what I'm trying to do is execute post on a webpage, then return the results back Apr 04 07:49:33 trying to perform a login, sql queries etc Apr 04 07:51:07 okay, but again, you don't 'return back' because it's asynchronous - that's the whole point... what you do is call something to deal with the result Apr 04 07:52:18 If my Android app starts two threads and one of them throws an uncaught exception (for example the ui thread), will the second thread die immediately or what will happen with the second thread? Apr 04 07:53:37 Ok, for some reason eclpise is saying that my Asynctask class can't be private either Apr 04 07:54:36 BenRain: then you have done something quite wrong :-P Apr 04 07:54:48 well Apr 04 07:54:49 BenRain: or Eclipse is trolling you Apr 04 07:55:00 the task still gets executed Apr 04 07:56:27 Maybe my design is just horrible then. Apr 04 07:56:41 I have a onclick listener, with an onclick method, and the asynctask inside of it as well Apr 04 07:57:42 Hello. I've created a simple MapView and saved it as an unsigne app. I've uploaded it to my phone and installed it using an app installer. But there is no icon in the programs list.. Any ideas? Apr 04 07:59:02 Have you looked through the whole list? I've misnamed and misplaced things before. Apr 04 07:59:05 BenRain: pastebin your code instead of trying to describe your design :) Apr 04 07:59:13 it's a mess Apr 04 07:59:17 and It isn't styled but ok Apr 04 07:59:45 helly^: perhaps you've made a mistake with your intent-filter for your main activity? Apr 04 08:00:08 freecandy: Yeah. It's not there.. This is the first time I've tried to test an app on my phone and not the emulator (because the emulator dosen't work well with geocodes etc Apr 04 08:00:52 appel1: Maybe, I don't have the code on this computer tough.. What should I be looking for? Apr 04 08:01:04 http://pastebin.com/9DWugFz8 Apr 04 08:01:38 helly^: if it works in the emulator then it probably is correct Apr 04 08:01:59 Are you adbing it across through a wire or some sort of e-mailing it to yourself? Apr 04 08:02:04 I haven't given it a custom icon. But it should still show up with the standard app icon? Apr 04 08:02:15 are you saying the emulator has the icon in the launcher? Apr 04 08:03:37 And yes, I'm getting "invalid modifiers" on the asynctask Apr 04 08:05:08 Ok Apr 04 08:05:10 now I'm really confused Apr 04 08:05:26 Why does asynctask have access to the previous class' data members Apr 04 08:06:34 BenRain: previous? Apr 04 08:06:44 if you look at my pastebin Apr 04 08:07:05 the asynctask can access everything belonging to RetailAppLoginPage Apr 04 08:07:18 even when I set the class to private Apr 04 08:07:22 BenRain: isn't that great? Apr 04 08:07:24 wabz: No, I haven't created an icon for it. Apr 04 08:07:39 BenRain: that's how nested classes in java works Apr 04 08:07:46 Never used a nested class before. Apr 04 08:08:29 Okay, so how do I get the data back to the main class? in the main class, make a setData method? and in onPostExecute, call that? Apr 04 08:08:32 helly^: I'm asking if any icon (usually when you create an app it provides an icon.png) for your app shows up in the launcher on the emulator Apr 04 08:08:51 BenRain: you said you had read the documentation above - which your question shows you haven't really Apr 04 08:09:01 I did read it and I was confused by it Apr 04 08:09:08 BenRain: you get methods for reaching the main thread Apr 04 08:09:20 BenRain: check onPostExecute Apr 04 08:09:24 and he just asked if his understanding was correct Apr 04 08:09:41 he already asked if his onPostExecute plan is correct Apr 04 08:09:46 BenRain: yes, do that Apr 04 08:09:57 mhhh, when i have a tablelayout consisting of 1k views, changing data via a textview[][] should be faster than "restarting" the activity, right? ;P Apr 04 08:09:58 okay thanks Apr 04 08:11:02 oh i just noticed, that the layout has to be measured again anyway Apr 04 08:11:03 :( Apr 04 08:11:12 helly^: I'm not sure why you didn't just install it on the phone via eclipse (which just uses adb), but if the icon doesn't show up in the launcher on the emulator either, you're probably missing android.intent.category.LAUNCHER in the intent filter Apr 04 08:12:03 for oyur main activity in AndroidManifest.xml Apr 04 08:13:00 "build/core/base_rules.mk:166: *** system/core/allwinner_a10_core/adb: MODULE.HOST.EXECUTABLES.adb already defined by system/core/adb. Stop." how do i overcome this conflict? Apr 04 08:14:20 gaara_akash: You spend 2 seconds on google Apr 04 08:14:37 wabz: The standars icon is there on the emulator. Install via eclipse? I've tried to run it on the phone. But Eclipse can't find it. I've installed the HTC USB drivers and enabled USB debugging. I've got a HTC Desire.. Apr 04 08:14:47 Mikellip, what do i query in it? Apr 04 08:14:47 man that is so weird how it works but kind of cool at the same time, but confusing to understanat firs, thank you everyone Apr 04 08:15:41 helly, have you found the apk? Have you adb'd it to your phone? Did adb say that worked? Apr 04 08:16:17 BenRain: hehe, it's fun when it works :-) I suggest next step you check documentation on how to set a timeout for your http requests Apr 04 08:16:45 I just saved the apk on my desktop then transfered it to my phones memory card. Then I installed it. Apr 04 08:16:56 Mikellip, it's for a school project, running on local machine, so I don't think its entirely nessecary, but I will give it a look Apr 04 08:17:18 can you sleep the asynctask? Apr 04 08:17:38 yes Apr 04 08:17:40 I don't trust the combination of you and some file manager program I don't know to do that successfully. Apr 04 08:17:40 I'm mostly looking up how JSON works Apr 04 08:17:45 adb it over. Apr 04 08:18:05 How? Can you point me to a good guide? Apr 04 08:18:24 I'll check this one out: http://theunlockr.com/2009/10/06/how-to-set-up-adb-usb-drivers-for-android-devices/ Apr 04 08:18:35 BenRain: Thread.sleep works on all threads ;-) Apr 04 08:18:47 BenRain: but never use it on UI thread Apr 04 08:19:00 Figured it would, I just wondered if it would have any adverse effects since it seems.."special" Apr 04 08:19:06 Yeah, we don't want the UI To freeze lol Apr 04 08:19:24 First get adb to talk to your phone. Once you're there, it's just adb install blah.apk when your phone is plugged in. Apr 04 08:20:00 Ok, thanks :-) I'll check it out when I get home to my laptop. Thanks for helping a noob Apr 04 08:20:05 BenRain: sleeping in an AsyncTask can be very desireable many times, like when you do a loop you don't want to execute "as fast and as many times as possible" but want it to chill out a bit :-P Apr 04 08:20:15 Gotcha lol Apr 04 08:20:29 <-- noob myself Apr 04 08:20:31 I've just gotta figure out the best way to parse the data sent through PHP Apr 04 08:21:52 Mikellip, the only thing that i ended up doing was removing one of the adbs Apr 04 08:22:08 BenRain: remember, in PHP you can do lazy string matching - string matching in java is different (check into .equals) ... and remember that java String objects use utf8 Apr 04 08:22:25 Mikellip, I was suggested by someone to follow JSOP Apr 04 08:22:31 er JSON Apr 04 08:22:46 and to parse it in Apr 04 08:24:14 BenRain: Yeah that's an idea, but for a small project where you control all the data I'd not bother Apr 04 08:24:34 BenRain: that's me, though Apr 04 08:24:40 Hmm Apr 04 08:25:05 Well, I'll be returning multiple rows of tables at a time in some parts, and others just one row Apr 04 08:25:28 I could just return strings though I guess yeah Apr 04 08:26:19 morning Apr 04 08:26:33 BenRain: If you're going to do the parsing, html tables is not what I'd use to make my life easier ;-) Apr 04 08:26:50 Mikellip, it's all SQL data Apr 04 08:26:57 i am trying to set up Oauth2. How do I pass parameters to a webpage in web view? Apr 04 08:27:46 What's the best way to transfer data from a SQLlite db (on the phone) to a .. let's say MySQL db on my website Apr 04 08:28:56 helly^: using the internets ! Apr 04 08:30:27 copy and paste Apr 04 08:31:12 helly^: Use a simple web interface, and consider security aspects... Apr 04 08:32:55 so if putting fragments inside fragments isn't a good idea, that'd mean i pretty much would have to redesign my entire app :/ Apr 04 08:33:27 Sweet, I've got the login frontend on android working, now I just need to code the login sequence in PHP, and have the android app go to the next activity Apr 04 08:40:22 errr, there is no convenient way to dismiss a dialog after a singlechoice item is selected? Apr 04 08:40:55 If i register a broadcast receiver from a service, and the service gets killed to free memory for shortwhile (gets restarted afterwards), but during that killed peroid an intent is fired, will my broadcast receiver get it, although the service that registered it, is not running at that time ? Apr 04 08:41:32 tobib, i.e. spinner in a dialog or what ? Apr 04 08:41:51 just a setsinglechoiceitem Apr 04 08:41:54 in a alertdialog Apr 04 08:42:16 i'd like to call dismiss in the onclicklistener Apr 04 08:42:26 but the dialog isnt created yet Apr 04 08:42:28 storkme_: fragments in fragments is a really bad idea :D Apr 04 08:42:30 just the builder Apr 04 08:42:38 (you need to redesign your app) Apr 04 08:43:33 is there anyway to add a params to a uri? Apr 04 08:46:30 lame Apr 04 08:46:35 so what's the alternative Apr 04 08:48:14 storkme_: there is none, really. Apr 04 08:49:04 having multiple activities is kinda unwieldy and awful Apr 04 08:49:12 in my app Apr 04 08:59:00 build/core/main.mk:537: *** Some files have been added to ALL_PREBUILT. Apr 04 08:59:30 i've googled it and there isnt a place where the solution for it is written Apr 04 08:59:39 any kind of help is appreciated Apr 04 09:16:38 hello Apr 04 09:18:02 i want to add a fragment dynamicly to a view. This fragment contains several spinners. The fragment is added by button push or if data is available in a loop creating a fragment for each set of data. the add via button works well and the data is set in the spinners. if i add the fragment in onResume() the spinners are shown as empty though the data in the spinner's ArrayAdaper is set. Apr 04 09:26:38 Hi guys .... Apr 04 09:27:04 Did you guys try new GridLayout with support lib v7 for old android? Apr 04 09:31:14 hi.. Apr 04 09:36:54 BuddhaSource: having problems ? Apr 04 09:41:07 Has anybody done any sort of android apps using sencha touch2 ? Apr 04 09:49:28 vishrayne: i touch myself when I do android apps sometimes, does that count? Apr 04 09:53:53 pragma`, :D Apr 04 09:54:37 just want to know .. uhh regarding the credibility of cross platform tools Apr 04 10:09:52 anyone know of a good way to encrypt a sqlite database or should I just do all my encrpytion at the application layer? it seems suboptimal. Apr 04 10:10:36 i don't know Apr 04 10:10:40 why do you want to do that Apr 04 10:10:56 because a feature of my app is going to be keeping the user's data safe with encryption Apr 04 10:11:05 ah Apr 04 10:11:45 https://guardianproject.info/code/sqlcipher/ Apr 04 10:11:47 hooray Apr 04 10:12:24 ohh thanks for sharing ! Apr 04 10:14:56 Im using drawableTop="my changeble xml file" in my button, but it does not change the image states. background is set to transparent Apr 04 10:15:06 why wont drawableTop change the states? Apr 04 10:15:52 is there some way to achieve http://pastie.org/3726008? Apr 04 10:16:27 right now obviously alert.dismiss() complains, that alert is not initialized Apr 04 10:16:37 i want to dismiss the dialog on click :/ Apr 04 10:17:42 make an alert object out of scope tobib Apr 04 10:19:26 mhh Apr 04 10:23:06 nice Apr 04 10:23:08 thanks Apr 04 10:27:55 Hi, I'm having some issues with rendering a webview to a bitmap. Weird issues, it's explained here: http://stackoverflow.com/questions/10009265/rendering-android-webview-to-bitmap-html5-javascript-callback-issue Apr 04 10:28:58 it works, but not when I'm rendering to texture from the javascript callback, it only works when I call the renderToTexture-function from a button press Apr 04 10:46:24 hey guys, is anyone else interested in adding a "close all tabs" to the default browser? Apr 04 10:50:31 if an EditText shows a cursor, but it's not blinking, something is definitely broken, righjt? Apr 04 10:56:00 yeah, the edittext lol Apr 04 10:56:16 are you using a custom implementation or the stock one? Apr 04 11:05:23 Afzal: it's just a very thin wrapper around the original EditText Apr 04 11:05:31 our wrapper just sets a ttf font Apr 04 11:05:46 and the same class works great in all other places in the ap Apr 04 11:05:53 only this one activity makes problems Apr 04 11:06:16 that's strange, and you're using xml to set the view? Apr 04 11:06:21 I need help with a listview Apr 04 11:06:27 BenRain, ask away Apr 04 11:06:47 Afzal: the view is defined in XML.. but it is created in a BaseAdapter Apr 04 11:06:51 Afzal: for a list view Apr 04 11:06:56 okay, so basically I want a listview of different categoires, each of these categories point to specific types of items on a website Apr 04 11:07:04 With me so far? Apr 04 11:07:19 Afzal: i tried in different emulators and the behaviour is different for ifferent android version Apr 04 11:07:23 s Apr 04 11:07:47 very strange Apr 04 11:07:54 in the x86 emu it works fine.. on our galaxy pad the cursor gets stuck and focussing is not possible any more Apr 04 11:08:03 same for a 4.0 emulator Apr 04 11:08:10 Upon selecting one of the entries in the listview, it will open a new activity, and fetch items that fit the description of the selected entry, through PHP - > SQL -> PHP -> Back To the App Apr 04 11:08:14 i think it's fine in a 2.2 emulator, but i have to retest.. Apr 04 11:08:43 Im using a style for my toggle buttons, why wont it switch through the state?? Apr 04 11:08:44 Basically, I need to know what to create in order to accomodate for an unkown amount of entries, with at least 2 types identifing each item in the listview Apr 04 11:08:45 on the galaxy pad some of the XML defined views are also painted with a half second delay in other activities. Apr 04 11:08:47 Im using a style for my toggle buttons, why wont it switch through the state?? Apr 04 11:08:50 it's all very very strange Apr 04 11:12:04 Afzal do you understand what I'm tyring to say? Apr 04 11:12:17 oh sorry i was away Apr 04 11:12:20 its ok Apr 04 11:12:45 normally you would use a selector and not a style Apr 04 11:14:16 Like I know I can use the ArrayAdatper to keep adding objects onto the array Apr 04 11:14:26 but the problem is, creating those objects dynamically Apr 04 11:14:44 ie: I don't know how to like, create objects during runtime Apr 04 11:15:07 because I don't know how many entries will occur through SQL Apr 04 11:16:19 that's fine BenRain Apr 04 11:16:25 i think this code might help you Apr 04 11:16:54 https://github.com/AfzalivE/Android-GTFS-Reader/blob/incomplete/android-gtfs-reader/src/afzal/gtfsReader/AgencyList.java Apr 04 11:17:14 (i don't think the textfiltering part works though) Apr 04 11:17:19 one problem though Apr 04 11:17:29 I'm not directly connecting to a database through android, Apr 04 11:17:37 the text is being sent in through httpclient Apr 04 11:17:57 I was planning to send each object in through JSON Apr 04 11:18:02 but then you can determine the length in the code right? Apr 04 11:18:20 well Apr 04 11:18:27 to be honest I'm not even sure if I'm asking what I'm asking correctly ;/ Apr 04 11:19:32 ok so when you get the response page source, you parse it somehow i guess? Apr 04 11:19:48 using a dom parser (or like me, worse, regexp lol) Apr 04 11:20:08 I was going to customize the strings to send back using PHP Apr 04 11:20:29 it'll read them in line by line Apr 04 11:20:37 and each line will be a new object for the ListView Apr 04 11:20:57 but don't you have to get the whole page source at once? Apr 04 11:21:09 It will, Apr 04 11:21:20 I'll be using a while loop to read each line Apr 04 11:21:27 each line in the source? Apr 04 11:21:36 yeah Apr 04 11:21:40 using a buffered reader Apr 04 11:21:42 and .readline Apr 04 11:21:52 right Apr 04 11:21:57 put that in an array Apr 04 11:22:04 and use a simpleAdapter Apr 04 11:22:13 ok let me look that up Apr 04 11:23:02 Ok yeah the only thing I need is the textview Apr 04 11:23:14 but I need each uh "entry" on that list to have certain attributes Apr 04 11:23:31 Basically the only thing I need is the Item ID, which when passed to the next activity will fetch the relevent information Apr 04 11:24:06 sort of like this: http://pastebin.com/dE8zHTFv Apr 04 11:24:15 exactly Apr 04 11:24:18 that's it Apr 04 11:24:28 cool :D Apr 04 11:24:31 Im using a style for my toggle buttons, why wont it switch through the states when set via a theme?? when I use style="" directly from the element then it does work Apr 04 11:24:49 I really dont wnt to set a style to a million toggles throughout my application Apr 04 11:25:02 Blou_Aap, sorry, I don't understand what you're asking Apr 04 11:25:17 is there more to that code so I can see where I should get a head start? Apr 04 11:25:19 style.xml you can set custom themes for buttons etc Apr 04 11:26:00 my other elements work but for the love of god I don't know why the ToggleButton them doesnt work Apr 04 11:26:10 theme* Apr 04 11:26:29 i have literally tried EVERYthing Apr 04 11:26:29 make a test case and post on stackoverflow Apr 04 11:26:34 and searched everywhere Apr 04 11:26:51 http://stackoverflow.com/questions/8029075/android-togglebutton-with-nine-patch-stop-working Apr 04 11:26:57 thats not me Apr 04 11:27:04 but its the same question Apr 04 11:27:53 BenRain, here: http://pastebin.com/jUwLGP6L Apr 04 11:28:14 Afzal if I go with that approach, if I define a new "hashmap" will it overwrite the old one after I add it to the arraylist? Apr 04 11:28:19 this is in the onPostExecute of the AsyncTask that gets the HttpResponse Apr 04 11:29:15 BenRain, well, everytime the onPostExectute function runs, it will Apr 04 11:29:28 I meant like Apr 04 11:29:33 would it override the entry in the array list Apr 04 11:29:47 oh Apr 04 11:30:26 well the idea was to just put everything in the ArrayList and append anything new Apr 04 11:30:35 yeah that's what I thought Apr 04 11:30:36 it will do a full refresh of the listview if that's what you're asking Apr 04 11:30:44 No what I was asking as Apr 04 11:31:01 Let's say that the code runs 3 cycles Apr 04 11:31:14 And hashmap1 hashmap2 and hashmap3 are representations of the cycles Apr 04 11:31:23 Hashmap1 gets added to that array list Apr 04 11:31:28 the ArrayList is outside the while loop Apr 04 11:31:32 okay Apr 04 11:31:43 (well i don't have a while loop but yeah, it'd be outside) Apr 04 11:31:44 so each entry stays until the program is exited? Apr 04 11:31:53 or until you delete the arrayList Apr 04 11:31:58 okay I think I can do this :D Apr 04 11:31:59 thank you so much Apr 04 11:32:08 cool, good luck! you're welcome Apr 04 11:32:33 hi Apr 04 11:32:45 what should the path be to the emulators SD car? Apr 04 11:32:54 CarD... : path = "mnt\\sdcard\\VIDEO0034.3gp"; ??? Apr 04 11:33:29 Blou_Aap, sorry man, I still haven't got enough experience in theming stuff. I would look at some custom toggle button implementations to see what they're doing differently Apr 04 11:33:35 beStKodeReveR: try forward slashes Apr 04 11:33:45 singlular ones Apr 04 11:33:52 i think it's a bug Apr 04 11:34:07 Blou_Aap, ICS or earlier? Apr 04 11:34:08 because all my other stuff work...buttons, drop boxes etc etc Apr 04 11:34:19 Try never hardcoding paths, and use the appropriate helper methods Apr 04 11:34:20 3 and up Apr 04 11:34:25 11 - 15 Apr 04 11:34:46 beStKodeReveR, http://developer.android.com/guide/topics/data/data-storage.html#filesExternal Apr 04 11:35:20 thankZ guyz ill try it Apr 04 11:36:39 Blou_Aap, see if this helps: http://www.mokasocial.com/2011/07/sexily-styled-toggle-buttons-for-android/ Apr 04 11:36:49 -_- Apr 04 11:37:05 Well I added the GridView Project to Eclipse its showing an error. Apr 04 11:37:18 Blou_Aap, you looked at this page before? Apr 04 11:37:30 Have we backported Switches yet? :p Apr 04 11:39:53 Anybody added GridLayout support for older versions using v7 Support package? Apr 04 11:40:27 Oh Afzal, one last thing. R.layout.diff_view2_item, what is that pointing to in the xml file? the ListView? Apr 04 11:40:38 anybody done a video mediaplayer?? Apr 04 11:41:02 BenRain, No, that's the listView item xml (because it's not just a simple list item) Apr 04 11:41:10 ah.. Apr 04 11:41:32 can you point me in the right direction of how I should generate one? Apr 04 11:41:56 oh wait a sec. Apr 04 11:41:58 hmm Apr 04 11:45:35 Ok Afzal think I found a good tutorial explaining it, thank you so much again Apr 04 11:45:58 BenRain, great! no problemo Apr 04 11:46:05 when i set a webviewclients all i get in my web view is a blank page Apr 04 11:46:09 anybody know why? Apr 04 11:48:42 jiduvah, do you do webView.loadUrl after that? Apr 04 11:48:55 yeah Apr 04 11:49:13 can i see the code? Apr 04 11:49:38 1 min Apr 04 11:51:32 Afzal: http://pastebin.com/XMLGyP0w Apr 04 11:52:09 i have some code within the webviewclient but even if I take that out I have a the same problem Apr 04 11:52:26 it works with no webviewclient but doesn't when I set one Apr 04 11:52:42 Hi guys, I've been developing for a while for Android, but I have a question, is it necessary to call super.onStart() in activity instance's onStart? Apr 04 11:54:19 jiduvah, from what I see, you're only using the url to generate a toast in onPageStarted right? Apr 04 11:54:33 well there will be more Apr 04 11:54:42 I am actually using it for OAuth 2.0 Apr 04 11:55:34 jiduvah, is there any chance, for some reason, that the url is changing b/w onPageStarted and loadUrl ? Apr 04 11:55:46 I mean, no harm in trying to see if it is, right? Apr 04 11:55:52 i am logging that and its not Apr 04 11:56:18 there is another strange problem where i see a blank screen when I use https Apr 04 11:56:23 but http is fine Apr 04 11:57:27 Screw eclipse. For the next 7 days, I'm going to do all my work on the command line. Apr 04 11:57:47 edlin ftw ! Apr 04 11:58:08 readme, why? Apr 04 11:58:35 jiduvah, see how many times onPageStarted is getting executed. I'm just thinking out loud but maybe it's causing problems since it executes once for each iframe Apr 04 11:58:46 Number5: because i like the pretty color schemes i have for vim Apr 04 11:59:48 jiduvah, you need an ssl handler thingy Apr 04 11:59:54 yeah it calls is twice Apr 04 12:00:21 the ssl was an attempt to solve the problem with https earlier Apr 04 12:00:28 it makes no difference if its in or not Apr 04 12:01:24 alright then try to see if it works if you force it to execute just once Apr 04 12:02:28 ok Apr 04 12:02:31 Yes Vim is cool, but I've learn't to be productive by tools that work for you. I was pretty frustrated to get omnicompletion for work for C programming for native libs like stdio.h etc... It was hell. I now realized that Vim is a damn good editor, but it's not an IDE with integrated debugger, suggestion balloons, automatic lib importer etc... Since I work with Eclipse I don't want any IDE aymore Apr 04 12:02:38 https://groups.google.com/forum/?fromgroups#!topic/android-developers/QgN2B9CdQOo Apr 04 12:03:09 Vim = best editor, Eclipse = best IDE, Visual Studion = best debugger. Each tool has its own strength. Apr 04 12:03:21 Number5, I wouldn't call Eclipse the "best" IDE Apr 04 12:03:21 indeed Apr 04 12:03:24 eclipse best ide ? Apr 04 12:03:37 to me it is. Apr 04 12:03:38 It's a good one but certainly not the best one Apr 04 12:03:39 no man, VS remains the best (personal) Apr 04 12:03:39 using vim for java coding is kinda like parsing html with regular expressions Apr 04 12:03:48 storkme_, been there, done that :D Apr 04 12:04:01 Notepad is the best editor EVVAAAR Apr 04 12:04:13 Mikellip, sorry I'm on linux and what's notepad? Apr 04 12:04:14 storkme_: since vim is just the editor, how is it any different than using the eclipse editor? Apr 04 12:04:37 also, there is eclim, which I may give a second try Apr 04 12:04:40 Afzal: it's worth running it on wine ! Apr 04 12:04:45 lol Apr 04 12:04:48 Mikellip, +_+ Apr 04 12:05:14 VS is a joke, especially for C++. But its debugger is awsome, just hover over an array, you get automatically a list of items, hover over an item, you see the result, right click gives you the option to show it in hex etc... Apr 04 12:05:15 remember, eclipse features like autocompletion are not part of the editor component. Apr 04 12:05:35 why would you be using the eclipse editor and not the eclipse ide Apr 04 12:05:49 storkme_: you can use the eclipse ide with vim Apr 04 12:05:54 as a replacement editor Apr 04 12:06:05 ah, interesting Apr 04 12:06:13 storkme_, a sample regular expression for html parsing says hi: http://pastebin.com/2jgD1hHS Apr 04 12:07:03 The only thing I hate about VS is the shortcut keys Apr 04 12:07:08 Afzal: same problem Apr 04 12:07:11 the distinction people fail to make when saying "don't parse html with regex" is that there is a difference between parsing: i.e. deserializing the html data into the DOM, and simply scraping out a few tokens of data for a quick dirty script. Apr 04 12:07:12 Afzal: That kinda proves storkme_s point.. It's horrible :p Apr 04 12:07:25 never parse markup language with regex ! Apr 04 12:07:28 SimonVT, lol I know. It was still fun while it lasted :p Apr 04 12:07:48 Ivru: agree :-P But if you control all data yourself it could work >.< Apr 04 12:07:53 Ivru, sorry but it does work, it's hard to debug though Apr 04 12:08:03 For science! Apr 04 12:08:10 aw Apr 04 12:08:42 SimonVT: you will be glad to know that i'm moving my fragments out of my fragments ('no dawg') Apr 04 12:08:44 jiduvah, sorry man, out of ideas. Does it work when onPageStarted is blank? Start from there and put each line in and see what is causing the issue Apr 04 12:08:58 storkme_: zomg Apr 04 12:09:15 well actually you might not care, but i'm doing it anyway :p Apr 04 12:09:27 lol Apr 04 12:09:35 Afzal that was the first thing I tried. but no worries, thanks your help Apr 04 12:09:38 hey guys, I got a co-op at RIM :D Apr 04 12:09:50 jiduvah, alright, hope you can solve the issue Apr 04 12:09:55 Afzal: i'm sorry? :P Apr 04 12:10:11 wongk, hey, BB 10 is gonna be good okay :p Apr 04 12:10:14 anybody done a video mediaplayer??... or knows a good tutorial? Apr 04 12:10:14 Afzal: solved lol Apr 04 12:10:17 =] Apr 04 12:10:21 that was a strange one Apr 04 12:10:23 jiduvah, lol what was the problem? Apr 04 12:10:26 I dont know Apr 04 12:10:33 Is there a tool in the SDK (not eclipse) that can render a preview of an XML layout? Apr 04 12:10:33 what did you fix? Apr 04 12:10:58 but instead of using xml for the layout I instantiated a web view in the code and passed that into setContentView Apr 04 12:11:01 storkme_: Well, since I'm not the one who had to maintain it, I don't really care :p But at least you're not doing crazy stuff like that anymore ^_^ Apr 04 12:11:41 does eclipse indigo frequently give you guys errors? It's always having trouble saving workbench state and task list and other errors it randomly pops up about. Apr 04 12:11:46 hi, is there a way to customize the installation process of an application? Apr 04 12:12:00 Afzal: any idea why that would change anything? Apr 04 12:12:06 jiduvah, but your pastebin says you never used xml Apr 04 12:12:08 http://pastebin.com/XMLGyP0w Apr 04 12:12:20 jeppy: no, and i use it on 3 different PCs Apr 04 12:12:34 versus => mWebView = (WebView) findViewById(R.id.webview); Apr 04 12:12:43 hmm, i wonder if it has something to do with my fairly new SSD Apr 04 12:13:04 wongk: do you use ubuntu 10.04 on any of them? Apr 04 12:13:15 jeppy: no, i don't care for ubuntu Apr 04 12:13:34 windows or mac? Apr 04 12:13:36 h man i don't know what the hell i am doing. One thing is for sure. I can#t function off 5 hours sleep Apr 04 12:13:49 jeppy: windows and linux Apr 04 12:14:00 jiduvah, hahaha. so that was the problem lol. no worries Apr 04 12:20:36 bah, my program isn't working Apr 04 12:20:48 Getting a null pointer exception when setting the adapter to the listview Apr 04 12:21:26 BenRain: did you forget setContentView? Apr 04 12:21:35 Nope Apr 04 12:21:51 need to see code then Apr 04 12:21:55 ok Apr 04 12:22:28 using findView ? Apr 04 12:22:32 http://pastebin.com/GnGX7Dj7 Apr 04 12:22:42 Where can i go and find out layout details for layouts like android.R.layout.simple_spinner_dropdown_item? Apr 04 12:23:18 BenRain: and lv is null on line30? Apr 04 12:23:20 you sure there is a listView with id list in R.layout.mainmenu ? Apr 04 12:23:40 your ID has to be wrong Apr 04 12:23:43 04-04 12:20:13.446: E/AndroidRuntime(704): at retail.application.project.MainMenu.onCreate(MainMenu.java:30) Apr 04 12:23:45 yeah thats my guess to Apr 04 12:23:50 ok Apr 04 12:24:24 I have a listview with the id list Apr 04 12:24:28 in the mainmenu xml Apr 04 12:24:48 -shrug- Apr 04 12:24:59 paste it Apr 04 12:25:04 clean and rebuild Apr 04 12:25:29 http://pastebin.com/whXmuvN0 Apr 04 12:27:37 BenRain: i also notice you pass an un-instantiated 'logRow' into your adapter constructor Apr 04 12:28:02 ah.. Apr 04 12:28:16 making classes parcelable is tedious as fook Apr 04 12:28:29 storkme_: amen Apr 04 12:29:14 half tempted to just use gson and save them in a string Apr 04 12:29:18 hello folks Apr 04 12:29:36 I've a question about LocationListener. I think that onLocationChanged() is called every time the device is "moving" in the way at time X+n the position is different that time X. Apr 04 12:29:57 okay awesome that worked Apr 04 12:30:42 does onLocationChanged() work in a Background Service? Apr 04 12:30:45 Afzal, the unfortunate happened like I was afraid, both entries are duplicated :( Apr 04 12:31:00 if yes, is onLocationChanged() called even if the device is sleeping? Apr 04 12:32:55 Anyone know where i can look at the xml files for the inbuilt layouts? Apr 04 12:35:08 For the life of me I can't get a RingtonePreference OnPreferenceChangeListener to fire. All my other preferences the listener fires. Is there something different I need to do for ringtones? Apr 04 12:35:39 I am really not understanding how listview works. Every time I try and populate it, all the entries get duplicated. Apr 04 12:35:53 been sitting here for hours trying to figure ths out Apr 04 12:37:47 BenRain: you're adding the same HashMap twice Apr 04 12:38:02 I need to support dynamic objects though Apr 04 12:38:14 and I'm not sure how to implement that Apr 04 12:38:21 clarify your statement Apr 04 12:38:25 okay Apr 04 12:38:46 so I have an incoming text from the result of the httpclient Apr 04 12:38:56 and in that text contains rows of data Apr 04 12:39:01 you has a list of HashMaps, but you only instantiate 1 HashMap instance Apr 04 12:39:09 which include "product ID, name, etc" Apr 04 12:39:25 and I need to keep making entries into the list to compensate for ALL of those Apr 04 12:39:36 and I don't know how to implement it Apr 04 12:40:32 I've been trying to do this for hours and hours now Apr 04 12:40:33 and did my previous statement provide any clarification? Apr 04 12:40:47 No, I don't even fully know how hashmap works Apr 04 12:40:54 doesn't matter Apr 04 12:41:12 you have a list of them, and your list contained 1 hashmap 2 times Apr 04 12:41:21 how do I switch to the next hashmap then Apr 04 12:41:27 Is it treated like an array Apr 04 12:41:36 so you end up with Housewares and Housewares twice Apr 04 12:41:40 right Apr 04 12:41:57 how did you create the first HashMap? Apr 04 12:42:07 by calling new hashmap? Apr 04 12:42:25 so does it seem reasonable that doing that again would create a 2nd hashmap? Apr 04 12:42:33 I could try that.. Apr 04 12:42:58 crashed Apr 04 12:43:09 heh Apr 04 12:43:46 oh I think I know why. Apr 04 12:43:57 btw, SimpleAdapter is... never the best solution, really Apr 04 12:44:08 Oh wow it actually worked this time. Apr 04 12:44:10 i'm not even sure why it exists Apr 04 12:44:16 My brain must be really messed up right now Apr 04 12:44:39 okay now I can implement an onclick and see if this works Apr 04 12:45:18 I give up can anyone spot why the ringtone preference listener doesn't fire? http://pastebin.com/7AS8wuvw Apr 04 12:47:44 BenRain: http://codehenge.net/blog/2011/05/customizing-android-listview-item-layout/ is a good tutorial of how to create a custom ListView (if you need to customize how it looks and add more fields of data etc to every item) Apr 04 12:47:59 Thanks Apr 04 12:48:07 lots of bookmarks now weeee Apr 04 12:48:39 Is it possible to add "hidden" fields? Ie, have them in the adapter, but not in the xml? Apr 04 12:49:00 with a custom adapter Apr 04 12:49:33 BenRain: I don't understand what you mean with hidden fields? Apr 04 12:49:46 store data that doesn't appear in the view Apr 04 12:49:47 Like if I wanted to store data in the adapter, but not have it display Apr 04 12:50:10 BenRain: ah, yes of course... store it in the model class (UserData in the URL above) Apr 04 12:50:18 will look Apr 04 12:50:44 hi there Apr 04 12:50:57 I am trying to unregistering ContentObserver Apr 04 12:51:03 but it seems to does not work Apr 04 12:51:10 BenRain: or, UserRecord, was the class name :) Apr 04 12:51:28 EvOoX-: "doesn't work" is not a good description of your error Apr 04 12:51:37 Sorry Mikellip Apr 04 12:52:54 I have register my contentobserver Apr 04 12:53:03 and everything works fine with it Apr 04 12:53:36 but when I want to unregisterContentObserver(observer), it executes it without any error Apr 04 12:53:51 it's a contentobserver for sms Apr 04 12:56:17 What would be the recommended way to pass an array to a content Uri? I want to pass an array of ids from multiple tables to load. Apr 04 12:56:41 Are you sure it's registered before that executes? If you want help from the channel, a pastebin of example code can be nice :) Apr 04 12:57:50 EvOoX-: You could just be calling unregister on the object without it being registered... would probably silently ignore that it isn't registered Apr 04 12:58:01 hi, which is the best class for making a videoplayer? videoview ..or.. mediaplayer? Apr 04 12:59:52 http://pastebin.com/syRBVvv2 Apr 04 13:01:47 EvOoX-: you are creating a new observer object every time this method is called Apr 04 13:02:07 wongk: ha yes shit my bad :s Apr 04 13:03:38 I try to fix it and I tell you :) Apr 04 13:06:47 How does one make a textview visible for only a specific amount of milliseconds? Apr 04 13:09:52 Thanks wongk Apr 04 13:09:57 it works well now :) Apr 04 13:11:13 so for the simpleadapter, if I add an onclick to the listview, how do I get the specific values Apr 04 13:11:18 still confuseda bout that Apr 04 13:12:22 oh..setITEMONCLICK Apr 04 13:12:26 *facepalm* Apr 04 13:14:38 I. Hate. SOAP. Apr 04 13:14:52 duh Apr 04 13:14:58 anyone with a brain does Apr 04 13:14:58 goes w/o saying? Apr 04 13:15:25 Been struggling with a badly documented SOAP API today, yawn... Apr 04 13:15:42 I love SOAP. Especially when it contains unparsable XML Apr 04 13:17:15 okay yeah I do have to ask again sorry Apr 04 13:17:25 In the item click listener for the listview Apr 04 13:17:32 In order to retrieve those values.. Apr 04 13:17:39 I use the View corect? Apr 04 13:18:15 What is that site that they showed at google i/o that generated all the images to include in your apps ? Apr 04 13:19:08 kuku: i have no idea but i'm intrigued about the answer :P Apr 04 13:20:43 grr. Apr 04 13:20:46 This is really irritating Apr 04 13:20:58 hmmm Apr 04 13:21:24 found it. http://android-ui-utils.googlecode.com/hg/asset-studio/dist/index.html Apr 04 13:22:19 IS there a reason why this always gives me "Auto" when I click? Apr 04 13:22:19 http://pastebin.com/YfZM7p14 Apr 04 13:22:24 BenRain: you get which index that was clicked, it will correspond to the ArrayList you used for your model class Apr 04 13:22:46 uh. Apr 04 13:22:50 hm Apr 04 13:23:13 what's the proper way of retrieving the value for the object that was clicked on? Apr 04 13:23:37 BenRain: ok, you are not using a custom... I was talking about the example I pasted above Apr 04 13:23:40 so close to finally figuring out what's what and actually making progress Apr 04 13:23:45 BenRain: but you use the "int position" value Apr 04 13:24:02 would it be easier to remake a custom one then Apr 04 13:24:24 and can I keep making unique objects on the fly without needing to make different objects Apr 04 13:24:29 like I am now? Apr 04 13:24:45 oh man.. using a 9 patch as background in a subclass of button fails :( Apr 04 13:24:51 i see the black pixels ;D Apr 04 13:25:12 and I'm not sure how to use the position value Apr 04 13:25:56 kuku: this is interesting Apr 04 13:26:26 BenRain: it will correspond to the array you use to populate the list Apr 04 13:26:54 ack what I mean is Apr 04 13:26:56 I'm not sure how to use it Apr 04 13:27:17 oh, is it a requirement for 9 patches that tjey be stretchable in both dimension?s Apr 04 13:27:30 I did test the position integer, and I do get the correct position for each entry Apr 04 13:27:34 yeah, that was it :( Apr 04 13:27:34 BenRain: you are using a HashMap, hashmap will have a method for fetching that position Apr 04 13:27:53 which videoformat will have the best quality in android? avi or 3gp? if you have equally big files / content? Apr 04 13:27:57 Jesus, Ive gotten myself into even more of a msess than I bargained for Apr 04 13:28:04 not cool Apr 04 13:28:16 BenRain: that's how we learn :-) Apr 04 13:28:26 Yeah, and I have a deadline really soon ;[ Apr 04 13:28:32 beStKodeReveR: mp4-encapsulated h264 baseline with mp3 audio? Apr 04 13:28:43 BenRain: ah, not as fun ;-) Apr 04 13:28:46 Mikellip, am I better off just starting over on this approach Apr 04 13:28:50 I've been on this for 6 hours Apr 04 13:29:03 and I'm still not sure where to start. Apr 04 13:29:12 I mean, I finally have the list populated the way I want Apr 04 13:29:16 but now I can't even get the data back Apr 04 13:29:17 -_- Apr 04 13:29:31 BenRain: Hehe, but you are so close... just use the method for HashMap to get the value you want Apr 04 13:29:46 alright let me take a look Apr 04 13:29:50 BenRain: if you need to customize the listview you need to make a custom Adapter like in the URL I pasted Apr 04 13:30:02 The way the view looks right now is satisfactory Apr 04 13:30:06 for the second one I may make a custom one Apr 04 13:31:07 nope, hashmap.get doesn't work Apr 04 13:31:14 just gives me the last used one Apr 04 13:31:15 lt's see Apr 04 13:31:40 BenRain: http://docs.oracle.com/javase/1.4.2/docs/api/java/util/HashMap.html Apr 04 13:31:59 Always check the official docs or just google for examples Apr 04 13:32:12 but shouldn't the values be in the associative array? Apr 04 13:32:22 er the array list Apr 04 13:32:24 god my brain is fried Apr 04 13:32:39 BenRain: let me check your code again :) Apr 04 13:32:44 okay Apr 04 13:33:04 http://pastebin.com/YfZM7p14 Apr 04 13:33:22 p_l ok.. it may be an overkill ;D what about .3gp.. sux? Apr 04 13:33:33 you understandwhat I'm trying to do right? Apr 04 13:33:49 Basically if I click the 1st one, I want to get either Auto or Automotive, the 2nd one Housewares Apr 04 13:33:59 beStKodeReveR: no idea, never got any to play Apr 04 13:34:19 BenRain: yeah you need to check documentation for ArrayList sorry :) Apr 04 13:34:27 ok Apr 04 13:34:50 http://docs.oracle.com/javase/1.5.0/docs/api/java/util/ArrayList.html Apr 04 13:35:06 So since there's two elements.. Apr 04 13:35:13 does that make the array list multidimensional? Apr 04 13:35:36 http://stackoverflow.com/questions/10012214/android-pass-array-via-content-uri Apr 04 13:35:37 No you have a regular ArrayList of HashMaps Apr 04 13:35:59 If I load a listview with less items than will fill the screen, will it try it scale the ones that are there? Apr 04 13:36:42 Because I'm getting OpenGLRendered out of memory Apr 04 13:36:42 no Apr 04 13:37:03 I have no idea what that looks like visually lol Apr 04 13:37:03 BenRain: the best way to do it, and the most "Javaish way", is to use a model class like on the URL I gave you, then you'd have a class you can define to your liking and then an ArrayList of that class Apr 04 13:37:10 olk Apr 04 13:37:33 shit well I figured it out Apr 04 13:37:45 hello? Apr 04 13:37:46 ahh Apr 04 13:37:48 Goody :) Apr 04 13:37:50 least I think I did Apr 04 13:37:58 logRow.get(position) Apr 04 13:38:02 didn't realise it spat out Apr 04 13:38:03 both vars Apr 04 13:38:15 alright so that just means I have to parse it out.. Apr 04 13:38:43 however if I went with your suggested approach, I would be able to just pull out the variables no problem, or would I still have to parse them? Apr 04 13:39:27 i have installed android sdk with eclipse plugin, now i want to test my app so i added a avd via avd machine, i start my app, avd opens but i can't find my app on it? what is wrong? Apr 04 13:40:51 ah via avd manager sorry Apr 04 13:41:01 any ideas where my app is ;)? Apr 04 13:41:08 Peter_Porka: Eclipse should auto start your app when you run it. Apr 04 13:41:34 if you can't find it in the emulator it means Eclipse hasn't installed it - try running it again. Apr 04 13:41:36 Alright, when using the table layout the view object that is the largest in the column becomes the lenght of the overall column...well, I need to indiviually size each item in the column....any ideas how I can do this? Apr 04 13:41:37 BenRain: you'd just: MyClass blabla = null; blabla = listItem.get(position); or something, and then you'd have your object of MyClass with all the member you defined yourself... gives more flexibility Apr 04 13:41:41 Can someone please cast an eye over my ContentProvider and tell me if they see any obvious mistakes: http://pastebin.com/sSjhrBin Apr 04 13:41:51 I'll give it a shot Apr 04 13:41:57 it may take another hour to implement but Apr 04 13:42:00 code1: it doesen't open the app it starts the virtual mobile phone Apr 04 13:42:02 hopefully it'll be easier Apr 04 13:42:21 Peter_Porka: try running through Eclipse again. Apr 04 13:42:34 okay Apr 04 13:42:39 with the emulator still open Apr 04 13:42:39 BenRain: you do the same with a HashMap but with the HashMap you don't have the same flexibility... but if the HashMap is fine, stick with it Apr 04 13:42:47 code1: ah okay iÄll tzry Apr 04 13:43:07 Mikellip, being able to return just one value at a time as opposed to all of them would be worth it.. Apr 04 13:43:08 is that possible? Apr 04 13:43:18 I'm looking at the code Apr 04 13:43:26 UserRecord user = users.get(position); Apr 04 13:43:46 oh I think that's just used for drawing the list.. Apr 04 13:46:46 oh I see how it works now.. Apr 04 13:47:03 you set up ClassType class = class.get(position) Apr 04 13:47:11 and then you can use class.get and class.set for that position Apr 04 13:47:15 if I'm reading htis correctly Apr 04 13:48:35 BenRain: MyClass myclass = listItem.get(position), and then you can access the members of your model class through "myclass" Apr 04 13:48:48 Just what I thought Apr 04 13:48:57 Alright, totally worth it if that's possible Apr 04 13:48:59 going to do that right now Apr 04 13:49:02 nice and flexible Apr 04 13:49:10 BenRain: Good luck :-) Apr 04 13:49:11 and I don't even have to populate all the fields Apr 04 13:49:14 thank you <3 Apr 04 13:50:59 code1: http://pastebin.com/t9Eh9uvC Apr 04 13:51:14 code1: but it doesent start Apr 04 13:51:41 hi, is it possible somehow to add an e-mail account programmatically? Apr 04 13:51:56 hello Apr 04 13:52:10 mew~ Apr 04 13:52:39 Peter_Porka: that's odd, can you find the app in the emulator? Apr 04 13:53:36 code1: nope thats the problem, no icon no app no autostart Apr 04 13:53:42 hello hackkitten :) Apr 04 13:53:46 Yes! I finally fixed the provider! Apr 04 13:53:56 now, why is this crashing? Apr 04 13:54:03 code1: got it..thx alot Apr 04 13:54:10 hi The_Fred :D Apr 04 13:54:31 does anyone have a url handy for SSL tutorials? Apr 04 13:54:38 Peter_Porka: what was the problem (I'm guessing you didn't wait long enough? ;) Apr 04 13:54:40 When you add a linearlayout to a screen, it defaults to a certain size....how do I make all the sets of linear layouts that I have default to the same size? Apr 04 13:55:13 code1: i don't know perhaps didn't wait long enaugh but i am not sure Apr 04 13:55:42 Peter_Porka: it's happened to me before, sometimes the emulator can be real slow. Apr 04 13:56:10 john_doe_jr, is layoutWidth not what you need there? Apr 04 13:56:52 code1: yeah possible i want to change from air to native android cause the captive runtimes with air doesen't work corretcly Apr 04 13:57:06 code1: but to test the app with air is much better Apr 04 13:58:11 true Apr 04 13:59:39 The_Fred: well, I need all of them the same size though Apr 04 14:00:04 Is it wise to use the same key certificate to sign the beta version as the market version of an app? Apr 04 14:01:58 code1: If you don't, the ones who downloaded it will not be notified that there's an update when you release the update Apr 04 14:02:27 code1: And it would be released under a different name... Apr 04 14:03:07 Mikellip: I was thinking more along the lines of a seperately distributed .apk file for the beta Apr 04 14:04:33 decide in advance if you want to replace the beta by using the same package name Apr 04 14:05:13 root66: yes, it will use the same package name Apr 04 14:05:47 just the version and distribution (via market) will change Apr 04 14:06:07 after beta Apr 04 14:06:17 I see no problem with using the same key then Apr 04 14:06:24 I would Apr 04 14:06:48 unless you specifically don't want them updating to the finished product later Apr 04 14:07:08 ok, so I'm just going through the docs on creating a key. Is it wise to store the key with the project files under git? Apr 04 14:07:11 and even then I would just change the package name and use internet permissions to check the validity of the beta and report news/updates Apr 04 14:07:26 no, keep your key file sacred Apr 04 14:07:35 I gmailed it to myself for safe keeping Apr 04 14:07:41 and its on my dropbox Apr 04 14:07:54 and under your bed? ;) Apr 04 14:08:01 no, that's obvious Apr 04 14:08:08 code1: the docs gives you advice on how to handle your keyfile... in the end, it's how valuable it is to you that matters Apr 04 14:08:24 there is no reason not to keep it sacred Apr 04 14:08:28 besides laziness Apr 04 14:08:29 code1: it depends. I'm ok with storing the key with the code, since you need the passphrase as well, and the app isn't very valuable. Apr 04 14:08:35 ok so keep safe and seperate from the project files? Apr 04 14:08:52 or maybe not? Apr 04 14:08:53 I highly recommend that it be separate Apr 04 14:09:01 If you work in a large corporate environment where even the slightest chance of someone being able to sign their own app with your key is possible, you'll probably want your corporate security to own the key and the signing Apr 04 14:09:09 er Apr 04 14:09:26 if you work in an environment where even the slightest chance of someone else signing w/ your key would be Horribad, that is Apr 04 14:09:35 it's a decision you should make Apr 04 14:09:38 also interesting: a 1px or 1dp thick view does not get displayed in the emulator Apr 04 14:09:41 Exactly Apr 04 14:09:42 again, not doing it just says "I am not professional so I don't need to follow this rule that any professional would follow" Apr 04 14:09:43 it does on the device though Apr 04 14:09:44 but honestly whoever actually signs the app should be the one who has ownership of the key Apr 04 14:09:58 if you do all the signing yourself, it's probably fine to store it w/ the source (just don't store the passphrases there too!) Apr 04 14:10:01 it's just me and my side project Apr 04 14:11:04 then just store the key with the code Apr 04 14:12:54 actually the key isn't necessarily associated with the one project is it? so maybe store it seperate. Apr 04 14:14:08 hm, the Spanish Google Play market seems to be really weak - I'm almost in the top10 paid apps overall, yet only like 2-3 Spanish people buy my game there ... Apr 04 14:14:15 *top100 Apr 04 14:14:26 hi guys, im wondering if some one can point me in the right direction, i have a customlistadapater which extends baseadapater and im trying to reuse same customlistadapter to populate 2 listviews...i have a flag in the getView function of this customlistadapater which checks against where to load its data from...but i cant seem to get it to get inside the function to populate the 2nd listview...any suggestions on what im missing he Apr 04 14:16:00 how do I requery my CursorLoader? Apr 04 14:16:26 I'm trying to use this.getLoaderManager().restartLoader(0, null, this) Apr 04 14:16:40 but it crashes with a null pointer exception Apr 04 14:19:38 RobinB: consider offering your app to more than just spanish customers. Apr 04 14:21:10 When I add a button to a tablelayout...it defaults to a certain lenght and width...how do I determine the lenght and weight that it defaults to? Apr 04 14:22:24 whats the best way to track the movement and location of a finger press/movement over view? does longClick track location? tyia Apr 04 14:23:21 Brian125: click....are you saying that the user presses their finger down and then hovers over the screen? Apr 04 14:23:50 Has anyone here messed with APK expansion files? Trying to get up an running but I'm getting an error that the CRCs don't match… Apr 04 14:25:52 whats the path from where the app is running? like if i want to store a video file and view it from my app, where is the root? Apr 04 14:26:31 mVideoView.setVideoPath("myVideo.3gp") .. where must i store the video then?.. Apr 04 14:26:44 root of the project in eclipse? Apr 04 14:27:11 beStKodeReveR: You don't want to do that, you want to store your in external storage Apr 04 14:28:13 john_doe_jr - ye, i want to track the movement almost perfectly. just openned 'o' in the index, there are a quite a few pages to glance over ;( Apr 04 14:29:55 Ankhwatcher right, this is for testing.. hmm.. maybe skip it and store it in the SD.. Apr 04 14:30:44 beStKodeReveR: Context_getExternalFilesDir() Apr 04 14:32:12 PDawg: put the flag in the class and set it at construction time? Apr 04 14:32:19 then check the flag in the getView metho Apr 04 14:32:20 d Apr 04 14:34:09 tapas: thats what i have done.. here is snippit Apr 04 14:34:21 private boolean loadUserProfiles; Apr 04 14:34:47 then i have setter/getter for this private variables thats in the customlistadapter class Apr 04 14:35:08 then i do this: if(loadUserProfiles == true){ } in the getView Apr 04 14:35:29 nooo, noo comparing a boolean to true Apr 04 14:35:33 (sorry) Apr 04 14:35:37 test Apr 04 14:36:32 PDawg: if(loadUserProfiles) {} no need to compare. Apr 04 14:36:40 hello Apr 04 14:37:20 HacDan: isnt (loadUserProfiles) (loadUserProfiles == true) the same thing? Apr 04 14:37:34 last test Apr 04 14:38:00 PDawg: functionally, of course. Apr 04 14:38:06 stylistically, no Apr 04 14:38:55 jasta: ok, im not too concerned about style atm, trying to focus on getting 2 list views to populate from 2 different data source based on this flag Apr 04 14:39:28 always focus on style ;) Apr 04 14:43:20 strange, i did some changes in my code and run it again but the virtual device got the old version. what i have to to= Apr 04 14:43:45 Is there a way to get notified when the screen brightness or sound output volume of a device changes? Apr 04 14:44:07 Can anyone help me out here, how can I cause my cursorloader powered listview to update when I write a new gps fix to the database? Apr 04 14:46:38 I guess the question related to monitoring system settings changes Apr 04 14:47:51 readme what can one do with: File file = new File(getExternalFilesDir(null), "DemoFile.jpg"); ? Apr 04 14:48:21 will that create a file in the root of the SD card? Apr 04 14:48:28 or point to it.. Apr 04 14:48:37 beStKodeReveR: lets read the docs and see Apr 04 14:48:43 :-) Apr 04 14:48:47 http://developer.android.com/reference/java/io/File.html Apr 04 14:48:59 "The actual file referenced by a File may or may not exist" Apr 04 14:49:01 i swear to god if you create anything in the root of hte SD i will punch you Apr 04 14:49:05 That means this is just a reference Apr 04 14:49:56 but since you're using MediaRecorder, you honestly don't need to do the file creation yourself. Just call getAbsolutePath() on your File object and pass that string to the MediaRecorder. Apr 04 14:50:07 and as cow says, define a freaking subdirectory Apr 04 14:50:08 mmm.. Apr 04 14:50:21 you may have to create that yourself though, see File_mkdir(s)() Apr 04 14:51:48 i have 'myVideo.3gp', i just want to play it on a videoView.. Apr 04 14:52:07 oh, I thought you were recording. Apr 04 14:52:14 im having a problem after updating my app. when i try to download on my phone, it downloads what was a previous version... but when i download on my tablet, it downloads the correct version Apr 04 14:52:19 i can use URL.. but i think local file should go aswell, as long as they are found..! Apr 04 14:52:31 anyone have any ideas? Apr 04 14:52:32 beStKodeReveR: you know there are tons of examples on the net already finished on how to do this, right Apr 04 14:52:45 jupp.. im looking at themm Apr 04 14:53:10 http://developer.android.com/guide/topics/media/mediaplayer.html Apr 04 14:53:48 http://developer.android.com/reference/android/media/MediaPlayer.html#setDataSource(java.lang.String) Apr 04 14:54:35 anyone have any ideas? im stuck Apr 04 14:55:17 Have some patience, ieatgiraffe Apr 04 14:55:30 Hello people. I have an ArrayAdapter. It's possible that the adapter removes an item of the array. I'd like my activity to be notified, when this happens. How could I achieve that? Apr 04 14:55:31 Heard of caching? Apr 04 14:56:22 yes SimonVT Apr 04 14:56:54 readme yes,, "read that".. thankZ Apr 04 14:57:11 Beket: using the observer pattern you can define a setter in your adapter to set a callback into your activity Apr 04 14:58:51 thanks readme. I think I can do that. By the way, the 'registerDataSetObserver' isn't for such purposes, right? I mean it's for those who inherit BaseAdapter Apr 04 14:58:57 or ? Apr 04 14:59:27 i just figured it having been 10 hours, it should be ready Apr 04 14:59:33 Beket: dunno, I've never used that before Apr 04 14:59:54 np readme -- thanks Apr 04 15:01:10 Beket: registerDataSetObserver is used by the listview.. Don't mess with it Apr 04 15:02:06 SimonVT i just figured with it having been ~10 hours it shoulda been ready Apr 04 15:02:28 ieatgiraffe: Apparently not Apr 04 15:03:16 Once the new apk has propagated to the server your phone is connecting to, it'll be available Apr 04 15:03:58 fair enough. i guess ill wait another 10 hours and see what happens :/ Apr 04 15:04:59 just weird, one device in my left hand can download, and one device in my right hand is still stuck. Apr 04 15:06:20 wtf haven't I disabled joinspam in irssi Apr 04 15:06:27 this channel suffers hard from it Apr 04 15:07:32 16:07 Ignore List: Apr 04 15:07:32 16:07 1 #android-dev: JOINS PARTS QUITS Apr 04 15:07:58 anyone know where i can find some tutorial to make in google maps something like : http://www.google.pt/imgres?q=google+maps+balloon&um=1&hl=pt-PT&sa=N&tbm=isch&tbnid=45Ep4eXV23b10M:&imgrefurl=http://www.ibm.com/developerworks/web/library/x-geomap2/index.html%3Fca%3Ddgr-lnxw97x-geomap2%26S_TACT%3D105AGX59%26S_CMP%3DGRsitelnxw97&docid=b51R74vPyH58wM&imgurl=http://www.ibm.com/developerworks/web/library/x-geomap2/fig01.jpg&w=360&h=236&ei=pWN Apr 04 15:08:19 but with buttons in the ballon , text and images ? Apr 04 15:08:26 storkme_: :) Apr 04 15:19:54 Contacts app: 04-04 11:19:35.024: E/AndroidRuntime(24508): java.lang.IllegalArgumentException: View not attached to window manager Apr 04 15:19:55 :( Apr 04 15:23:56 What lifecycle steps does an activity go through when the screen rotates? Apr 04 15:24:27 Current activity is destroyed, new is created Apr 04 15:25:04 wow, that's pretty extreme Apr 04 15:28:08 Ankhwatcher: not really. Apr 04 15:28:24 Ankhwatcher: if you have different layouts for landscape vs portrait, which may have different elements, you need to recreate everything Apr 04 15:28:50 paring error while install apk what could be wrong Apr 04 15:28:52 you could handle the configuration change yourself in onConfigurationChanged (and registering to handle it in the manifest, read the docs!), you get to reassign all the different elements, etc. Apr 04 15:29:01 Peter_Porka: take the error message you got, and put it into google Apr 04 15:29:07 then click on the first few links you see Apr 04 15:29:31 roger# Apr 04 15:30:30 a brief google search indicates that there isn't any (supported) means of using an ActionBar in a MapActivity -- is this for real, or did I massively misconstrue some stackoverflow posts? Apr 04 15:31:07 storkme_, what? Apr 04 15:31:18 MapActivity extends Activity Apr 04 15:31:22 Activity supports ActionbAr Apr 04 15:31:26 ActionBar* Apr 04 15:31:28 ok cool i'm an idiot thanks Apr 04 15:32:52 lov: aye, but it seems like a hell of a lot of implementation if you haven't done it before. Apr 04 15:33:05 and? Apr 04 15:33:41 you should be saving the state appropriately anyway, since you could be stopped/destroyed by the user pressing home Apr 04 15:33:41 lov: and I don't think I'm using this cursor adapter right Apr 04 15:33:52 Ankhwatcher: cool story. Apr 04 15:34:55 lov: thanks, have you heard the one about the diagnostic toast? Apr 04 15:36:06 ok I have a client/service library, need some methods that can stop/reset the service, but don't know where they would go... Apr 04 15:36:25 the user of the library only creates a client Apr 04 15:36:43 happy easter androiderZ Apr 04 15:36:54 cu! Apr 04 15:37:24 beStKodeReveR: you too Apr 04 15:37:36 :-P Apr 04 15:37:44 the problem is the client could get restarted if the activity gets reset (rotated screen for example) Apr 04 15:39:03 something tells me beStKodeReveR ... isn't. Apr 04 15:40:24 evancharlton: I like to think it's a statement of aspiration Apr 04 15:40:40 How can i secure my shared preferences/? Apr 04 15:42:12 everythingWorks: you can't Apr 04 15:42:21 -.- Apr 04 15:42:30 everythingWorks: they're "secure" against other apps. On a rooted device all bets are off. Apr 04 15:43:22 everythingWorks: what are you trying to secure against? Apr 04 15:43:36 Aliens! Apr 04 15:44:45 what do you think? user modification! :) Apr 04 15:44:56 of, for example, the points achieved in a game. Apr 04 15:45:28 everythingWorks: if your points matter outside of the users device, you need to store them on a system you control Apr 04 15:46:57 so i guess there isnt a way to use the same custom adapter class to populate 2 listviews, i created another class and the 2nd listview populated without issues... Apr 04 15:47:58 Okay, I fixed it so it will keep going when I rotate. (albeit in a way that will make lov want to hit me). Now what is the correct way to get my cursor loader to update a listview when a new line is written to the table by the location service? Apr 04 15:48:25 Notify the url the cursorloader listens to Apr 04 15:48:30 And it'll update for you Apr 04 15:49:28 SimonVT: my work-around so far is to swap the cursor used in the adapter when a location fix comes in. Apr 04 15:49:33 everythingWorks: users cannot modify shared preferences Apr 04 15:49:43 (unless they have root) Apr 04 15:49:51 SimonVT: how would I notify the url? Apr 04 15:50:53 ContentResolver.notifyChange(uri, null) Apr 04 15:51:29 SimonVT: I'll give it a go, thanks Apr 04 15:52:06 hey so i have a textview, but its not letting me type into it Apr 04 15:52:38 evancharlton i know -.- Apr 04 15:52:51 everythingWorks: so then what's the problem? Apr 04 15:53:07 looks like that now: http://ideone.com/1k8iJ Apr 04 15:53:08 hihihi Apr 04 15:53:27 Security by obscurity \o/ Apr 04 15:54:40 totally unhackable Apr 04 15:55:49 is there any standard android component for displaying some consistent piece of information throughout your app? I probably haven't explained that very well, but if anyone did understand and has some ideas/examples of other apps doing it i'd be very grateful Apr 04 15:55:49 :D Apr 04 15:56:23 storkme_: what are you talking about? Apr 04 15:56:28 do you have an example? Apr 04 15:57:20 that could be interpreted so broadly Apr 04 15:57:35 it's an app for monitoring some online service, essentially you have a couple of accounts linked and it tells you how many points each account has, at the moment I put a slidingdrawer at the bottom of every activity, when you pull it up it shows you a list of accounts+points as a sort of at-a-glance thing Apr 04 15:57:43 sorry for not being more clear Apr 04 15:57:47 from "you can have a panel that always displays" to "write a widget that you use for consistent reuse" Apr 04 15:58:19 == oG Apr 04 15:58:23 oGMo: Apr 04 15:58:54 cue canadiancow|work saying you're not the same Apr 04 15:59:04 yeah pretty much Apr 04 15:59:26 evancharlton you are not equal to oG Apr 04 15:59:27 storkme_: just make a resuable component; include it on all layouts as necessary Apr 04 15:59:31 (thanks SimonVT) Apr 04 15:59:36 canadiancow|work: no, but I am OG Apr 04 15:59:45 alright, that'll do, cheers Apr 04 15:59:49 i dont know what that means Apr 04 15:59:58 Original Gangsta, foo' Apr 04 16:00:17 * canadiancow|work kicks evancharlton Apr 04 16:01:15 what is the java date format of this date 2012-04-04T17:39:49Z ? i know its yyyy-MM-dd HH:mm:ss but what is the T and Z? Apr 04 16:02:19 elye: T and Z Apr 04 16:02:19 elye: that format is ISO8601 Apr 04 16:02:24 == hrnt Apr 04 16:03:26 evancharlton: also, ? Apr 04 16:03:37 oGMo: nevermind Apr 04 16:03:40 k Apr 04 16:03:47 so I need to strip out the date? Apr 04 16:06:48 I'm thinking of introducing SSL to my network programming, but I have some trouble finding out wether there is some system key/trust stores or if it is done from the ground up on a per application basis. Any pointers? Apr 04 16:07:53 tlvb: would this help: http://android-developers.blogspot.com/2012/03/unifying-key-store-access-in-ics.html Apr 04 16:10:37 SimonVT: hah, now my listview updates perfectly, but you have to rotate the screen at least once to get it started! I'll go figure out why. Apr 04 16:12:47 :) Apr 04 16:12:52 Ankhwatcher: interesting, it provides some threads I can start pulling, thanks Apr 04 16:13:02 tlvb: good luck Apr 04 16:16:19 SimonVT: I think the problem is that I can't set it to watch for changed on an empty cursor. Apr 04 16:16:54 SimonVT: I'll use some boolean flags to set it after the first new item is written that will be returned by the cursor Apr 04 16:18:08 hi Apr 04 16:18:20 how can i read sms incoming in realtime? Apr 04 16:18:21 Sure you can Apr 04 16:18:39 i dump a sms when is arrived Apr 04 16:21:52 SimonVT: no, that wasn't it. My swapping the cursor in the adapter seems to stop the adapter from watching for content changes. Apr 04 16:37:04 i use this : https://gist.github.com/2303621 code to run a task repeatedly in every two seconds. But the runnable runs even after I quit the application it belongs to. how to fix this? Apr 04 16:38:07 apparently the Play update didn't fix the "no connection, retry" error in the market app. Apr 04 16:38:41 sometimes i wish the android market (play store) were policed a bit, then crappy apps like instagram could be rejected Apr 04 16:40:07 birbeck: and then no one in here would have an app published :P Apr 04 16:40:41 I, personally, want the freedom to release a crappy application Apr 04 16:41:19 hmm, mileage was ok Apr 04 16:41:57 im sure most of the regulars here understand android design guidelines and respecting the os and other applications Apr 04 16:42:04 birbeck: i believe the guy in charge of policing the apple app store was previously an author of toilet humor apps. Apr 04 16:42:09 sure, but you have to start somewhere Apr 04 16:42:12 no thanks, I like free markets :) Apr 04 16:42:57 i don't see why you need google to police the market when we already have millions of picky android users with a one-star button Apr 04 16:44:06 I would think though, that an algorithm that automatically prunes stale apps and apps with very low ratings would be a good addition Apr 04 16:44:48 readme: would you want them to be able to downvote an app so you could only find it by searching for it's exact name? Apr 04 16:45:22 Ankhwatcher: I wouldn't be shocked if the current search algorithm already does that Apr 04 16:45:48 wth? was there a white nexus s? Apr 04 16:45:55 https://lh5.ggpht.com/TSAmt4R6Ws-XHh3YCIF56f09kM4jS4pa0zTyCdl6cxaubm-FCmrA7hHUvKzhjO7ZaVs Apr 04 16:46:23 Ankhwatcher: the problem I see is when a user searches for something, and this is a problem google has too Apr 04 16:46:36 If they search for specific things, that there is not yet one of Apr 04 16:46:43 spammers use the low-hanging fruit approach Apr 04 16:46:45 to get these searches Apr 04 16:46:53 by creating the minimal inferior product it takes Apr 04 16:47:03 and that ultimately doesn't help google provide good results Apr 04 16:48:52 * readme would kill to have google keyword tool for google play. Apr 04 16:49:53 readme: which keywords Apr 04 16:50:13 oh, nevermind, I thought you were asking about operators (like site:, inurl:, etc) Apr 04 16:50:23 oh, having those would be cool too Apr 04 16:50:24 readme: yeah I hear you, I've seen good apps which were impossible to find because you had to know the exact wording the dev used ot describe them, while lousy apps just dump half the dictionary into their description. Apr 04 16:50:38 readme: well there's pub: Apr 04 16:50:48 what does pub: do? Apr 04 16:50:58 provide drinks Apr 04 16:51:02 haha Apr 04 16:51:11 readme: publisher Apr 04 16:51:15 readme: pub:"Evan Charlton" Apr 04 16:51:19 Ankhwatcher: instagram got 1MM downloads overnight Apr 04 16:51:21 pain.onDestroy() Apr 04 16:52:15 readme: I like Hipster, but it suffers from Android as a second platform pretty badly. Apr 04 16:52:16 evancharlton: it doesn't work anymore I don't think Apr 04 16:52:38 evancharlton: anyway I previously found you by searching evan charlton Apr 04 16:52:51 and that irssi idea we talked about the other day has already been done by someone in finland Apr 04 16:53:11 but I've got a new idea... totally secret Apr 04 16:54:02 Ankhwatcher: If you see an android app that you think could be improved, prepare a detailed email to the company and tell them how much it will cost for them to hire you to fix it :) Apr 04 16:54:36 And watch that email go straight to trash Apr 04 16:54:48 well, perhaps leave numbers out of the equation. Apr 04 16:55:10 I don't know why you think it would hit the trash, necessarily. Direct approaches are always a better way then leaving things up to probability. Apr 04 16:55:32 If it does, it's their loss, not yours. Apr 04 16:55:58 readme: let's fix my app first, then start bothering the neighbors. Apr 04 16:56:50 I really love how flicking things off of the quick swap list closes them. It saves so much time. Apr 04 16:57:10 Who would you rather have working at your company: someone who found your want-ad, or someone who has been following your company for a while and sent you a personal and detailed email about why they want to help you and what they can do Apr 04 16:57:47 Who would you rather date, someone you met in a bar or someone who has been stalking you for years. Apr 04 16:57:47 i could have interviewed for instagram, but eww Apr 04 16:57:51 readme: pub: definitely works https://play.google.com/store/search?q=pub%3A%22Evan+Charlton%22 Apr 04 16:57:55 so they probably wouldnt want me Apr 04 16:59:30 evancharlton: oh, I was searching for you in music. I thought you were a rock star. Apr 04 16:59:38 \m/ Apr 04 17:00:17 haha Apr 04 17:03:21 I need to do my development work on a train. I need a steady stream of changing gps data. Apr 04 17:04:00 you can just write a script Apr 04 17:04:02 Hello, where can I go that will get me back to here in about 5 hours? Apr 04 17:04:20 I'll write a script to do that right now Apr 04 17:04:48 readme: don't bother. You'll only save me 30 seconds Apr 04 17:05:01 you're not the only one who would want it Apr 04 17:05:14 I will use it, and I'm gonna put it on github Apr 04 17:05:18 thanks for the idea sir Apr 04 17:05:37 readme: glad to help. Apr 04 17:06:11 cant you just load a kml file into eclipse? Apr 04 17:06:18 [13:03:21] I need to do my development work on a train. I need a steady stream of changing gps data. Apr 04 17:06:21 but would you do it in the rain? Apr 04 17:06:23 or on a plane? Apr 04 17:06:27 maybe I could start a taxi service to slowly drive geeks around while they code. Apr 04 17:06:39 canadiancow|work: such the poet Apr 04 17:06:47 birbeck: good point. maybe my script should just generate kml. Apr 04 17:06:55 hahaha Apr 04 17:07:01 canadiancow|work: is that an excerpt from green eggs and java? Apr 04 17:07:10 weird, I can do commands but not ping myself Apr 04 17:07:14 Ankhwatcher: use a MockLocationProvider :> Apr 04 17:07:16 * pfn wonders if his connection is being funky Apr 04 17:07:38 lov: i have never understood what mock locations are Apr 04 17:08:05 i see it in dev options, and the permission, but never known really what they are or when/how to use them Apr 04 17:08:11 birbeck: like that casino in Las Vegas that looks like one of the pyramids Apr 04 17:08:17 haha Apr 04 17:08:19 setting location in ddms works just fine Apr 04 17:08:25 birbeck: it allows you to set locations for unit tests Apr 04 17:08:25 herp Apr 04 17:08:27 er Apr 04 17:08:27 birbeck: that is a mock location Apr 04 17:08:31 Ankhwatcher, luxor Apr 04 17:08:31 you might want to test on more than the emu :P Apr 04 17:08:38 and/or you might want to do this with unit tests Apr 04 17:08:43 where you don't have to manually press a button Apr 04 17:09:01 you need to have "mock locations" enabled to use ddms to inject a location, don't you? Apr 04 17:09:11 readme: no Apr 04 17:09:13 for the emu? no. Apr 04 17:09:18 what about on the device? Apr 04 17:09:21 no Apr 04 17:09:28 silly lov, emus can't use computers Apr 04 17:09:28 the emulator has a pretend GPS provider, so that's how you give it things to work with Apr 04 17:09:29 ugh, I have been checking it off for no reason. Apr 04 17:09:35 i guess its just for unit tests Apr 04 17:09:46 real devices use real gps providers, so you'll need to use the mocking structure to run tests Apr 04 17:09:46 evancharlton: but you can ride an emu while you code to get changing location data Apr 04 17:09:50 and most of us don't develop on emulators Apr 04 17:10:11 ah I see why it exists now Apr 04 17:10:12 i do Apr 04 17:10:13 thanks lov Apr 04 17:10:59 i usually put builds on my phones every few days, but most of my development and testing is done using emulators Apr 04 17:11:28 I've been meaning to set up vnc on my device Apr 04 17:11:34 so I can test on my device without moving my hand over Apr 04 17:12:11 how about ubuntu running on the phone in docking mode Apr 04 17:12:22 emulator...eww Apr 04 17:12:29 have a full ide and direct access to the phones ui Apr 04 17:12:36 birbeck: have they released that in a version people can use? Apr 04 17:12:43 birbeck: i'll have to look into that Apr 04 17:12:46 which do you guys use, roboguice or androidannotations? *steps back* Apr 04 17:12:57 guice Apr 04 17:13:12 * Ankhwatcher raises hand Apr 04 17:13:13 actually i dont use it, only once in a concept app Apr 04 17:13:18 orospakr: what are those? Apr 04 17:13:21 I used guice in an app I wrote for a contract once Apr 04 17:13:24 I regretted it, ultimately Apr 04 17:13:32 Ankhwatcher: no its not released yet Apr 04 17:13:40 birbeck: bah Apr 04 17:13:52 Ankhwatcher, libraries for factoring out some Android boilerplate, and implementing Java dependency injection. Apr 04 17:14:16 orospakr: ah. Apr 04 17:14:27 http://code.google.com/p/roboguice/ Apr 04 17:14:38 http://androidannotations.org/ Apr 04 17:18:47 Hey I'm out of ideas on this - this works http://pastebin.com/qUqy6aP4 but how can I change the route being displayed and still get updates to the ListView? Apr 04 17:19:32 If I change the cursor it no-longer watches for changes on the URI. Apr 04 17:20:39 Why are you initializing a loader.. And then manually querying the database Apr 04 17:20:44 oops in eclipse i messed up making my git repo tried to go back the way it was before git and now my project.properties file is all messed up. ahhhh Apr 04 17:21:47 SimonVT: probably because I find loaders confusing. Which bit is wrong? Apr 04 17:21:48 Also, CursorLoader manages registering observers.. You don't need to do that in your adapter or wherever Apr 04 17:23:00 SimonVT: well I had that set to 0 in the SCA earlier, but it didn't seem to be updating. Apr 04 17:23:14 my application takes a lot of ram, i'm using a class who extends Application. Also i'm using bitmap inside. Maybe my problem is here right ? Apr 04 17:23:42 maybe if your bitmap is huge Apr 04 17:24:39 Ankhwatcher: http://developer.android.com/reference/android/app/LoaderManager.html Apr 04 17:24:45 Look at the example Apr 04 17:25:00 xorgate: maybe, I've a big inner class inside too :D Apr 04 17:25:45 I'm trying to create a key (keystore), what sort of name would you use for the alias field? Apr 04 17:25:50 so how are we supposed to know? Apr 04 17:26:06 code something resembling your app? Apr 04 17:26:15 also protip: make a seperate keystore per app Apr 04 17:27:07 anyone know how to limit the number of visible items in a listview before a scroll is applied to it? Apr 04 17:27:22 As an example I mean. Is it supposed to be your app name, company name or just something like android!? Apr 04 17:27:39 code1 its not Apr 04 17:27:44 'supposed' to be anything Apr 04 17:28:03 my laptop just freaked out on me there Apr 04 17:28:21 xorgate: so I can just put 'asldhaskjaskldhnsjkdfhkfvsd' and that will be fine Apr 04 17:28:24 you can call it 'a' or whatever Apr 04 17:28:27 sure Apr 04 17:28:34 so what's the point in it? Apr 04 17:28:50 that you can identify multiple keys in a keystore Apr 04 17:29:02 which app is 'dfdsfsr9843' and which one is 'dsfds08f3223lkj' ? Apr 04 17:29:35 you mean like identifing a variable, which variable is 'dfdsfsr9843' and which one is 'dsfds08f3223lkj' ? Apr 04 17:29:49 no Apr 04 17:29:50 in that sense you can name your variables anything Apr 04 17:29:58 but you wouldn't. Apr 04 17:30:00 your keyname references a key for a certain app Apr 04 17:30:17 silly discussion.. just use something that sounds like your app name Apr 04 17:31:10 so not: (18:28:17) xorgate: you can call it 'a' or whatever Apr 04 17:32:49 It's up to you Apr 04 17:33:00 If you find 829urf9344f3 easy to remember.. Apr 04 17:34:23 SimonVT: my point was, what it alias suppose to identify (should it be app or company or individual or something else) Apr 04 17:34:28 SimonVT: will this example work using the support package? Apr 04 17:34:28 Hello Apr 04 17:34:35 I am Japanese Apr 04 17:34:37 might seem obvious but I haven't created one before Apr 04 17:35:11 xorgate: you mention 'protip: make a seperate keystore per app' wouldn't it make sense to have one keystore per developer/company? Apr 04 17:35:36 yeah it generally does Apr 04 17:36:10 did someone just come in here say they were Japanese and leave? Apr 04 17:36:12 you may actually want to just have one alias per company; if you want the apps to run in each others' shared spaces, you'll need to have the same signatures. Apr 04 17:36:19 Ankhwatcher: yes they did. Apr 04 17:36:55 lov: ok so if i'm making sense of this, maybe alias should refer to the app name? Apr 04 17:37:11 code1: it can refer to whatever you want. Apr 04 17:37:17 code1: it's just a user-readable value. Apr 04 17:37:23 if i remove an item from my ListView that is checked, it seems like the listview sets the new item that is added on the same place, checked as well. How do I avoid this? Apr 04 17:38:04 lov: so would you generally use a different alias for different apps? Apr 04 17:38:13 no, I would use the same alias for all apps generally Apr 04 17:38:17 but it's up to you Apr 04 17:38:35 lov: ok so you'd have one keystore containing one alias? Apr 04 17:38:42 yes. Apr 04 17:38:46 but, again, THIS IS UP TO YOU. Apr 04 17:38:57 don't just do what I do, understand why I'm doing what I'm doing. Apr 04 17:39:21 lov: I know but I'm trying to understand what the point in having this whole alias thing. Apr 04 17:39:38 ok, so. Apr 04 17:39:43 a Keystore is just a container for keys. Apr 04 17:39:51 an alias is an index into the keystore that points to a key. Apr 04 17:39:57 you don't want to use 75752af Apr 04 17:40:24 lov: thank you that makes sense now. Apr 04 17:41:11 some people may choose to have multiple keys in a keystore, others (such as yourself) don't. Apr 04 17:42:12 correct. Apr 04 17:43:04 not to be confused with the system keystore of course Apr 04 17:43:16 which maintains a per-app view into a common keystore protected by the system keystore key Apr 04 17:43:36 or are we talking about signing keystores for eclipse Apr 04 17:43:42 From android docs "In general, the recommended strategy for all developers is to sign all of your applications with the same certificate" - does same certificate mean say key or same keystore? Apr 04 17:43:59 same key Apr 04 17:44:02 keystore is just a container Apr 04 17:44:04 like a zip file Apr 04 17:44:20 got it, thanks. Apr 04 17:44:36 just think of the keystore as a securely protected zip file Apr 04 17:44:54 also means if you keep a lot of things in it, and it gets lost or broken, you lose them all Apr 04 17:45:10 is it ok to use the same password for keystore as key? Apr 04 17:45:11 but also means if you back it up, you back up all of them at once Apr 04 17:45:14 SimonVT: ah ha, I found where I was screwing up the last time I tried to use stuff from that tutorial. This now works. Apr 04 17:45:26 code1: well, so you need to think about what your security risks are Apr 04 17:45:48 code1: the whole point of protecting your keys is so that if someone steals your files, they can't spoof your app Apr 04 17:46:11 code1: nothing stops you from using the same password for both, but if someone knows one, they then know both. it's technically less secure. Apr 04 17:46:40 code1: if you're secure in where you put the keystore, eh. probably doesn't matter to you. matters more for large companies w/ multiple people accessing the keys to sign apps, etc, etc. Apr 04 17:47:04 I see, it's like having 2 passwords instead of one. But I guess if you only have one key in one keystore it will be ok. Apr 04 17:47:13 code1: it's like saying does it matter if you write your password down next to your desk in your house - probably not, though no-one would say it's a great idea. Does it matter if you write it down next to your desk in an office where anyone can walk in and see it? Matters a lot mre. Apr 04 17:47:50 code1: 2 passwords means more security, but you can decide your level of exposure. Apr 04 17:48:14 code1: also BACK THAT FILE UP SOMEWHERE SECURELY. If you lose it you can never update your app in the marketplace again and have to make a new app name, lose all your download records, etc. Apr 04 17:49:56 Thanks dragorn, makes a lot of sense now. I can see the use of multiple keys within a keystore or larger companies or multiple developers, I think. Apr 04 17:50:13 are the keys linked somehow by being in the same keystore? Apr 04 17:50:25 code1: nope Apr 04 17:51:02 you can arbitrarily pull keys out of keystores and put them in other stores, etc. It's just an encrypted container that holds stuff Apr 04 17:51:15 (not with eclipse, but iwth keystore tools or openssl) Apr 04 17:51:20 ok so it probably only makes sense if they have some kind of common relationship Apr 04 17:51:41 if it's all for you, do whatever you want Apr 04 17:51:51 if you have to work w/ other people, you may begin to care Apr 04 17:52:42 but only the person who pushes it to market has to have the real key, for debug you sign it w/ a junk debug key Apr 04 17:53:19 yep. does renaming the alias change the certificate in anyway? Apr 04 17:53:51 i.e. if you renamed the key alias would it sign the app differently? Apr 04 17:54:14 it should not Apr 04 17:54:56 ok Apr 04 18:33:18 What do you think guys? Rooting a android device for better debugging? Yes or no? Apr 04 18:34:11 better debugging -> better quality -> yeeah! Apr 04 18:34:28 waltercool: it sounds like a good idea Apr 04 18:34:49 Nice, I'm not wrong so Apr 04 18:34:50 waltercool: what are the arguments to stay unrooted? Apr 04 18:35:09 worse debugging -> worse quality -> noooooo! Apr 04 18:35:23 wow the inverse Apr 04 18:35:23 luyang: Maybe security, but that should'nt be a problem for developers. Apr 04 18:35:41 Depends what you're debugging Apr 04 18:35:45 Long time since I had the need Apr 04 18:35:46 waltercool: yes if you are willing to open up potential holes for apps as a trade-off then go for it Apr 04 18:36:24 you get prompted when apps want root access anyway Apr 04 18:36:33 it Apr 04 18:36:51 it's not like they would get root access without you knowing it (afaiu) Apr 04 18:36:53 SimonVT: Hahahah, with file working (database, image handling, others), you need debug your files directory Apr 04 18:37:34 luyang: There isn't security holes with sudo, right? I mean, an application using sudo without requesting permission Apr 04 18:37:39 It's in no way needed for any of that Apr 04 18:37:39 waltercool: you could even do adb via wifi Apr 04 18:37:51 waltercool: I dont know Apr 04 18:38:08 luyang: adb via wifi? =O Apr 04 18:38:11 yeah Apr 04 18:38:12 adb ip? Apr 04 18:39:01 waltercool: for example adbWireless Apr 04 18:39:05 waltercool: rooting is definitely helpful for development, as long as you know what you're getting yourself into. Apr 04 18:39:42 yeah Apr 04 18:42:44 has anyone had success installing CA certs on 4.0? Apr 04 18:42:51 not me =( Apr 04 18:42:53 if you have files on the internal FS, rooting is highly beneficial Apr 04 18:43:59 wongk: Yeah, at least, important data (security files) should be on internal. Apr 04 18:44:00 waltercool: do you know if it's possible? i've tried the Settings>Security>Install From SD and it asks for a password even though I'm pretty sure there's no password associated Apr 04 18:44:14 trying to install for mitmproxy Apr 04 18:45:31 grantland: Maybe you have this problem: http://android.stackexchange.com/questions/4053/how-do-you-import-ca-certificates-onto-an-android-phone Apr 04 18:45:47 android certificate management is abysmal Apr 04 18:45:52 dragorn: +1 Apr 04 18:46:01 even worse is trying to do it programatically Apr 04 18:46:38 waltercool: oh this looks promising, i'll check it out Apr 04 18:46:55 grantland: it won't work btw Apr 04 18:47:06 dragorn: oh… Apr 04 18:47:09 grantland: the browser doesn't look at ca certs in the keystore Apr 04 18:47:12 at least, not under 2 or 3 Apr 04 18:47:23 they can be used for wifi and that's about it Apr 04 18:47:37 dragorn: i'm using 4.0.4 and wifi is all i need Apr 04 18:47:42 Hey guys... I just got a screenshot from someone of a force close and I've google me arse off and can't seem to find anything relevant to tracking it down and fixing it... From what I can tell it occurs at seemingly random times. The application is "Package Access Helper" (com.android.defcontainer) Apr 04 18:47:51 grantland: you said mitmproxy Apr 04 18:48:02 grantland: I assumed this was to monitor web pages? Apr 04 18:48:09 dragorn: any http traffic Apr 04 18:48:19 grantland: uh, that's not wifi. Apr 04 18:48:29 dragorn: well, over wifi Apr 04 18:48:33 grantland: you can use certificates to configure cert-backed eap methods, like eap-peap Apr 04 18:48:44 grantland: the browser does not use certs in the keystore, as far as I know Apr 04 18:48:59 wonder if chrome does? Apr 04 18:49:11 dragorn: i need to install a SSL cert to monitor https traffic through wifi, not just browser Apr 04 18:49:19 grantland: you're not listening Apr 04 18:49:25 grantland: but you'll find out eventually Apr 04 18:49:43 So I know someone who designed an Activity as a singleton and set the static field in onCreate Apr 04 18:50:05 Eh, what? Apr 04 18:50:11 dragorn: i'm confused, you are trying to say that it doesn't work in the browser, but will https traffic in apps work with it? Apr 04 18:50:13 It seems that some users get NPE when invoking some method on the activity from a different activity (which should have been created afterwards) Apr 04 18:50:24 grantland: no. it will not work. Apr 04 18:50:30 SimonVT: Singleton vs not using it Apr 04 18:51:00 dragorn: thanks Apr 04 18:51:12 grantland: unless something has changed I haven't noticed, certs in the system keystore are used ONLY by the wifi configuration to validate wifi access points. NOT WIFI TRAFFIC. Access point / radius / eap validation. Apr 04 18:51:30 dragorn: ah, that makes more sense Apr 04 18:51:39 Or actually... If I set a static field in an activity to the instance mInstance = this; will it be possible that this mInstance becomes nulled at a later stage when (indirectly) invoking mInstance.method() from a different activity and why Apr 04 18:51:46 grantland: Infact, due to how the keystore is structured, non-system tools (ie, uid1000, settings, etc, NOT browsers), they can't access that data, period Apr 04 18:52:04 wongk: No, it won't work w/ chrome - chrome can't see uid1000 keystore views Apr 04 18:52:23 wongk: w/ the current architecture of the keystore system for storing certs, you can't have a common area shared by multiple apps Apr 04 18:53:27 I need a new laptop Apr 04 18:53:42 recommendations? Apr 04 18:53:45 can't you just drop one into /system/etc/security/cacerts ? Apr 04 18:53:51 Ankhwatcher: buy one ;) Apr 04 18:54:14 Atarii: no; I think it uses a bks keystore for the ca repo for the system Apr 04 18:54:19 Atarii: besides, that requires rooting Apr 04 18:54:27 Atarii: making it meaningless for any real app development Apr 04 18:54:38 this guy is sniffing wifi Apr 04 18:54:42 he'll need root anyway Apr 04 18:54:43 Atarii: not with his phone Apr 04 18:54:49 ah ok Apr 04 18:54:53 dragorn: why would rooting make it meaningless for app dev? Apr 04 18:55:06 Atarii: yeah, i'm sniffing from a proxy Apr 04 18:55:10 wongk: sounds good, but I was looking for something a bit cheaper. Apr 04 18:55:19 why not just strip the SSL instead? Apr 04 18:55:24 grantland: telling users they have to a) root their phone b) violate their warranty, c) trust your code to be 100% non-malicious an dhave no bugs? Apr 04 18:55:37 grantland: means it's not practical for anything you plan to distribute Apr 04 18:55:39 I've problem with ram 21mo, is good to keep a SharePreferences at variable class ? Apr 04 18:56:02 dragorn: i thought you meant having a rooted phone to use for development, not a requirement for the end product Apr 04 18:56:04 grantland: unless your sole market audience consists of experts who are very trusting Apr 04 18:56:24 Ankhwatcher: steal one Apr 04 18:56:25 dragorn: but yes, in my case i only need it for testing Apr 04 18:56:50 grantland you tried sslstrip? Apr 04 18:56:54 grantland: google a bit or try #android-root, you can unpack the system ca keystore and insert into it. Or you could, anyhow, I haven't looked in a few years Apr 04 18:57:39 wongk: Well this is certainly an interesting option, but how can I be sure of good support if I have issues with it? Apr 04 18:59:13 i've always had good luck with thinkpads, even after the lenovo takeover Apr 04 18:59:15 I'm going to go take my app for a walk to see if it's all still working. cya later Apr 04 18:59:16 isn't viewpager on ics? =S Apr 04 18:59:56 Atarii: no, but would this work for sniffing https traffic? Apr 04 19:00:03 dragorn: i'll check it out, thanks! Apr 04 19:00:17 sslstrip rewrites http pages to remove the ssl links Apr 04 19:00:17 grantland http://www.thoughtcrime.org/software/sslstrip/ Apr 04 19:00:19 Anyone know if google's downloader library can be used without google market? like just to use the downloader functionality of it? Apr 04 19:00:56 it may work, but depends on the site (if they allow both ssl and non-ssl) Apr 04 19:01:35 Atarii: our site only allows https so it won't... Apr 04 19:03:30 have you tried changing the cacerts.bks? Apr 04 19:03:58 steps here: http://wiki.cacert.org/FAQ/ImportRootCert#Android_Phones Apr 04 19:05:06 Atarii: haven't, but this looks like it could work Apr 04 19:14:55 grantland let us know if it works :) Apr 04 19:15:55 Atarii: will do, i'm currently trying to install 0.8 of mitmproxy which has a .cer CA certificate which i'm thinking would work. hoping for that Apr 04 19:16:00 https://groups.google.com/forum/?fromgroups#!topic/mitmproxy/UvrQcZlyVns Apr 04 19:16:32 changelog says it includes a " Detailed tutorial for Android interception." Apr 04 19:16:53 yup, but it's not packaged at the moment. trying to make sure what's in the repo is 0.8 Apr 04 19:17:09 ah :) Apr 04 19:18:42 are there a way to get "pinch&zoom"-feature on a ViewGroup? Apr 04 19:25:07 Hello. Apr 04 19:25:25 oh hai. Apr 04 19:27:46 Has anyone used the amazon web services SDK for android? I'm trying to integrate s3 and getting a strange error when I try to create a bucket Apr 04 19:27:59 It says the host cannot be found, but I can visit the host in the phones browser Apr 04 19:28:32 Forgot the internet permission? Apr 04 19:28:43 d'oh Apr 04 19:28:45 :) Apr 04 19:28:46 ty :) Apr 04 19:31:11 off-topic: is there a way to ask google to sort results chronologically Apr 04 19:31:41 you can set a search period at least Apr 04 19:32:03 Anybody know what the hell "Package Access Helper (com.android.defcontainer)" does, or why it would be force closing intermittently? Apr 04 19:32:03 what's the syntax for that? Apr 04 19:32:39 it's in the search tooltip on the left side Apr 04 19:33:00 I know that google recently (within the last few months) started ranking more recent results higher on serps Apr 04 19:33:14 readme: you have to search, then click on the gear in the top left Apr 04 19:33:18 but it's not the only criteria (obviously) for relevance Apr 04 19:33:53 wongk: thanks Apr 04 19:35:51 JakeWharton, you don't irc anymore huh :p Apr 04 19:37:16 What is the equivalent of a drop down list in android ? Apr 04 19:37:34 spinner Apr 04 19:38:09 you spin me... Apr 04 19:38:16 spinner? Apr 04 19:38:16 shut up Apr 04 19:38:22 john_doe_jr: yes, spinner. Apr 04 19:38:26 i dont even think i'd call it an equivalent Apr 04 19:38:29 it IS the drop down list Apr 04 19:38:37 pfn: he does not :( Apr 04 19:38:40 square is working him too hard Apr 04 19:38:57 *sigh* Apr 04 19:39:09 i built a pretty freaking cool toolchain that i'd love to be able to share with folks :) Apr 04 19:39:28 so do it Apr 04 19:39:38 jasta: alright, well thank you ..I'll try to figure out how to use that Apr 04 19:39:39 just release it under a different name Apr 04 19:39:42 like "josto" Apr 04 19:39:45 it really would not be smart. it's a necessary component of competing with my company :) Apr 04 19:40:05 it's a sensor collection and playback toolsuite for android Apr 04 19:40:45 basically, lights up major sensors and components on a phone and records the results in a giant indexed, seekable log file Apr 04 19:41:10 then another set of tools can dissect the data and play it back on android phone or emulator as if it were "live" data Apr 04 19:41:24 I wonder how many times others have written it before Apr 04 19:41:31 with an interface quite like the MediaPlayer. seeking, pausing, looping, playback speed, etc Apr 04 19:41:35 so slick ;) Apr 04 19:41:52 who cares Apr 04 19:41:55 we can't use it :) Apr 04 19:41:57 jrr: nothing like it exists in the wild. Apr 04 19:42:12 yeah, I mean how many others in similar situations have written it and not shared Apr 04 19:42:23 only recently did Android even move to support sensor simulation, and that's only for gyros, compass, etc Apr 04 19:42:29 canadiancow|work, the problems with having a fun dayjob I suppose ;-) Apr 04 19:42:34 lol Apr 04 19:42:36 mine's mostly fun Apr 04 19:42:37 jrr: oh, i can somewhat safely say not many :) Apr 04 19:42:39 but i still slack off here Apr 04 19:42:41 There has been a 3rd party SensorSimulator library around for a while Apr 04 19:42:45 but it wasn't that good Apr 04 19:42:49 even folks at Qualcomm don't have things like this. they build such garbage simulation tools. Apr 04 19:43:27 what does your main product do Apr 04 19:43:50 the product that this was built for is a micropositioning engine Apr 04 19:43:58 (e.g. indoor location) Apr 04 19:44:24 awesome. I was thinking about trying to write one of those but I am too lazy to do all the walking required to test it Apr 04 19:44:33 the tool suite i wrote is multi-purpose though: both for collection and simulation/testing. Apr 04 19:44:59 readme: well, there's a more clever way to do that of course. Apr 04 19:45:01 do you have something that can accurately position you inside a building? Apr 04 19:45:09 pay the unemployed to do it! :) Apr 04 19:45:18 readme: for a micropositioning product, i sure hope so. Apr 04 19:45:21 ;) Apr 04 19:45:42 what sensors do you need to watch, accelerometer and gyro? Apr 04 19:45:48 SOUND Apr 04 19:45:53 my tool actually records pretty much everything Apr 04 19:46:00 in the event that the data would be useful to us at some point Apr 04 19:46:14 so we can archive these logs but dissect them before we actually process them Apr 04 19:46:17 taking only what we currently need Apr 04 19:46:49 part of the engineering problem that i am so proud of here is making it so the damn thing can write the data fast enough and still have a format that's useable Apr 04 19:46:55 that actually sounds kinda cool, i'm doing a lot of microphone stuff atm Apr 04 19:46:58 because it records a LOT of data ;) Apr 04 19:47:14 storkme_: I made a pretty good service that records the mic Apr 04 19:47:31 just start/stop the service and that's all you need to do Apr 04 19:47:37 i could even go further. right now im just doing gzip compression on the fly, but really i could compress certain streams more intelligently than that Apr 04 19:47:41 then it delivers the uri of the written file in a broadcast Apr 04 19:48:17 readme: that's somewhat how my recorder works too. simple start/stop controller and it handles the rest. Apr 04 19:48:34 but it does have a communication channel to report anomalous readings to the UI in real time Apr 04 19:48:43 so that the user has the opportunity to correct them before proceeding Apr 04 19:48:45 or at least be aware of it Apr 04 19:49:08 i think Service is missing a real "stop" function. You have to code your own, because stopService() doesn't actually call anything for you... am I wrong to think this? Apr 04 19:49:19 onDestroy is not a viable solution Apr 04 19:49:24 walk near a power pole, for example, and it will display a Toast that the compass has gone wonky Apr 04 19:49:38 Oh, nice Apr 04 19:50:17 right now its crude, i just hardcoded some rules to detect certain basic types of anomalies (like long intervals of data, or rapid rates of change) Apr 04 19:50:25 but it's hardcoded on a per-sensor basis as to what is abnormal Apr 04 19:50:44 if i wanted to make it smarter i'd actually run some realtime and offline statistics to determine abnormality Apr 04 19:51:24 all this fanciness, i really wish i could share it :) Apr 04 19:51:47 jasta: https://github.com/tom-dignan/android-media-capture Apr 04 19:51:48 it also makes me very curious to know what google's tools look like :) Apr 04 19:51:54 please let me know what you think of this design Apr 04 19:53:05 eh, well, you've coupled the notion of recording with android service start Apr 04 19:53:12 or rather, android service creation Apr 04 19:53:18 which is probably not the smartest thing to do Apr 04 19:53:27 what would the service be doing if it wasn't recording? Apr 04 19:53:42 readme: well, for example, you might wish to bind to the service to get information about what it's doing in a UI Apr 04 19:53:50 like, bind to it to even determine if it is or is not recording Apr 04 19:53:59 but to bind to it will create it, which will start it Apr 04 19:54:06 so you've lost quite a bit of flexibility right there Apr 04 19:54:08 ^^ Apr 04 19:54:19 android's intentionally set up to not couple service start with whatever notion of "working" you have Apr 04 19:54:35 jasta: nah, that doesn't happen, because they inherit from a class I wrote called SwitchedService Apr 04 19:54:38 service start means one very specific thing to the android framework. but your service's "work" should be different than that. Apr 04 19:54:53 and that only calls "onStart()" if i pass a special Intent action that tells it to start Apr 04 19:55:10 I don't think I committed that though, 1 sec Apr 04 19:55:29 uhh, well, that is very weird then to override the notion of onCreate to mean something different than Service#onCreate Apr 04 19:55:40 certainly an unexpected design... Apr 04 19:56:21 for my recorder, i created a base OnOffService implementation that decouples service start with on/off states. this works well for my recorder which sees the on state as recording and off as not. Apr 04 19:56:27 readme: O_O Apr 04 19:56:37 readme: good luck with THAT. Apr 04 19:56:42 then the concrete implementor just deals with turningOn and turningOff callbacks Apr 04 19:56:45 lov: the code works perfectly Apr 04 19:56:50 oh, I'm sure it does. Apr 04 19:57:00 good luck to the maintainer trying to figure out what the hell happened to onStart Apr 04 19:57:10 also are you aware that setForeground(true) is a no-op, and has been for a long long time? Apr 04 19:57:14 https://github.com/tom-dignan/android-media-capture/blob/master/src/com/adeptdev/android/libs/mediacapture/SwitchedService.java Apr 04 19:57:20 jasta: yes, I noticed it in the logs Apr 04 19:57:24 lov, can you provide some input on this question? http://stackoverflow.com/questions/10012214/android-pass-array-via-content-uri Apr 04 19:57:26 but will it be a no-op on older devices? Apr 04 19:57:28 damn, my tablet doesn't seem to have tcmpdump Apr 04 19:57:38 Is it possible to launch an intent with an ActionBar.Tab instead of showing a fragment? Apr 04 19:57:41 readme: it's been a no-op for a LONG time. Apr 04 19:57:43 readme: it'll work on 1.5 and 1.6. Apr 04 19:57:48 It'll be a no-op on everything later than that. Apr 04 19:58:05 You REALLY need to move to the foreground that uses notifications. Apr 04 19:58:05 jasta: okok, i'll delete the line Apr 04 19:58:13 just implement it properly Apr 04 19:58:45 really, you should not use onstart and onstop :) Apr 04 19:58:45 jasta: read lines 111 through 130 of the link I pasted. that is why the bind will still work Apr 04 19:59:34 This way to start recording, i don't have to start the service, and start recording... I don't see the point in having them uncoupled because if the service is started, I will always be recording. Apr 04 20:00:04 I have a class BearingFrameLayout that extends FrameLayout that I add to the mainlayout of an activity which displays Google Maps View. All is working fine except the builtin zoom controls are NOT displayed. I've explicitly called the MapView's method setBuiltInZoomControls(true) but it doesn't seem to work and I don't know why? Any suggestions? Apr 04 20:00:19 bbl, gotta finish up Apr 04 20:00:24 it effectively reduces the amount of code one needs to write to capture audio start & stop to two lines. Apr 04 20:00:34 cya. Apr 04 20:06:26 BadDesign yeh that thing is one giant bitch Apr 04 20:06:31 it will never work properly Apr 04 20:06:39 lemme help ya out Apr 04 20:07:09 I just updated that stack overflow question to make it a little more clear regarding the ids i mentioned Apr 04 20:09:01 BadDesign hm.. try panning or otherwise touching the mapview. it should display for a few seconds Apr 04 20:09:23 otherwise fiddle with displayZoomControls() Apr 04 20:09:50 how to use horizontalscrollview just using xml? I can't get to put a fragment on match_parent width Apr 04 20:13:33 Atarii dragorn: mitmproxy 0.8 .cer file worked perfectly, no issues Apr 04 20:13:45 great, thanks :) Apr 04 20:13:49 . Apr 04 20:13:50 with Wi-Fi proxy settings. ProxyDroid was not needed Apr 04 20:14:03 Atarii: np, thanks for the help! Apr 04 20:15:46 xorgate: what's the difference between using setBuiltInZoomControls() and displayZoomControls() I've tried with both and still no zoom controls on the mapview... what I did was to override onKeyDown and do zoomOut and zoomIn on some key presses, can't figure for now why the zoom controls are no displayed Apr 04 20:16:09 xorgate: also are the two methods mutually exclusive or they can be used together ? Apr 04 20:16:14 BadDesign what about when you dont grab the keypress? Apr 04 20:16:33 hey guys, I have a synchonized method, and everytime it's called it goes to the queue and waits until the previous call has finished. So my question is, is there any way of stopping all the previous calls and call only the last one? Apr 04 20:17:48 xorgate: yeah, need to implement OnTouch also I'll try panning and review my code first to check something is not wrong with the BearingFrameLayout I'm using to display the mapview Apr 04 20:18:24 if you just set the controls to true it should at least display when you tap or drag. otherwise you are messing up the key events i think Apr 04 20:18:53 i also have a framelayout subclass in which i put my mapviews, and i grab keys for pinching etc Apr 04 20:23:01 i had one tablet (zenithink C71) that i could adb over wireless, but the accessory protocol didn't work, then i got another one (acer iconia A100) and the usb works, but adb doesn't (says i need superuser access). I also have an acer A200, that i haven't opened yet, but thought i'd ask if anyone could suggest a known working one. Apr 04 20:25:02 try getting one that actually has android market Apr 04 20:25:10 that means that it passes a minimum level of compatibility tests Apr 04 20:25:26 preferably a cellphone, since the carriers are more rigorous Apr 04 20:25:37 stiggpwnz: ij Apr 04 20:25:45 stiggpwnz: I think you need to figure out what synchronized means Apr 04 20:26:16 and/or general concurrency Apr 04 20:26:25 lov, it just dont call method twice at the same time Apr 04 20:26:31 BZZZZZ Apr 04 20:26:33 WRONG. Apr 04 20:26:37 it means more than that. Apr 04 20:26:44 lov: i have android market, were you talking to me? Apr 04 20:26:55 jnewt: yeah, the devices have market? Ok, nevermind about that :) Apr 04 20:27:02 jnewt: I just wanted to make sure you didn't have some crappy knockoff Apr 04 20:27:22 stiggpwnz: http://docs.oracle.com/javase/tutorial/essential/concurrency/index.html Apr 04 20:27:31 read through that, and reread it until you UNDERSTAND it. Apr 04 20:27:36 both devices have the market (but after using it, it upgrades itself to google play or play store or whatever it's called Apr 04 20:27:45 lov: ...where'd you get that line from? :) Apr 04 20:28:01 jasta: which? Apr 04 20:28:33 oh nothing, was just poking fun Apr 04 20:28:38 that was something i said a lot in here Apr 04 20:28:51 jasta: if I want to start my service from a BroadcastReceiver, it's impossible to bind to it, so other than sending a callback in extras, there is no way to call the startRecording() method after starting the service, unless I call it from onStartCommand Apr 04 20:29:23 readme: you can pass extras in the intent you use to start the service..... Apr 04 20:29:27 *cough* Apr 04 20:29:38 and back to work :) Apr 04 20:29:42 (even the Action... ) Apr 04 20:30:03 lov, did you see my link a little bit ago? Apr 04 20:30:46 lov, so what do I need to use for not only just synchronizing, but killing last method calls? Apr 04 20:31:18 stiggpwnz: step one is figuring out what "synchronized" actually MEANS. Apr 04 20:31:34 lov, I just read that, mate : ) Apr 04 20:31:40 that was pretty fucking fast. Apr 04 20:32:22 lov, I found another oracle topic about synchonized, with much less text Apr 04 20:32:52 lov: I stated that in my question Apr 04 20:33:04 lov: please re-read it Apr 04 20:33:21 stiggpwnz: oh good. I'm glad you're skimming, so you don't have to actually understand anything. Apr 04 20:33:31 In that case, don't let me stand in the way of you getting this working. Apr 04 20:33:32 but, why do you think it's a good design to stick a callback in extras? Apr 04 20:33:43 readme: I'm not suggesting that you provide a CALLBACK. Apr 04 20:34:01 I'm suggesting that the intent you use to start the service itself has something that triggers "starting" your service. Apr 04 20:34:06 (for your special definition of "start") Apr 04 20:34:21 That's nice.. Some market app updates.. Some market app crashes on every launch Apr 04 20:34:29 lov: that's how I've currently implemented it, using actions Apr 04 20:34:34 "Can't upgrade read-only database from version 3 to 1" Apr 04 20:34:41 SimonVT: nice. Apr 04 20:34:43 You'd think they would test this Apr 04 20:34:45 ha Apr 04 20:34:48 I guess the only part you dislike then are the onStart() on onStop() methods Apr 04 20:34:50 lov, right... Apr 04 20:34:57 is there something else you find distasteful in it? Apr 04 20:35:09 It's their google analytics implementation that's crashing it Apr 04 20:35:24 readme: ok, lets start over. I think I missed something in your question/problem. What's going on, what are you trying to do, and what's gone wrong? Apr 04 20:35:35 SimonVT: hahaha NICE. Apr 04 20:35:42 lov: nothing is broken, I was just asking for design critique Apr 04 20:36:29 readme: post your service or whatever please Apr 04 20:36:46 https://github.com/tom-dignan/android-media-capture Apr 04 20:38:43 that last video recorder factory is known to not work.. I lost interest in writing it when I realized how many phones *need* to have a Surface to capture Apr 04 20:39:42 hi when i want to checkout the android source how would i know which branch to specify? Apr 04 20:39:52 i want 2.3 Apr 04 20:40:06 or is there a tarball somewhere without me having to use repo and shit? Apr 04 20:40:45 nope. a person types something like reop init -u blah blah -b gingerbread, I think Apr 04 20:40:53 and that would be repo Apr 04 20:41:09 alankila: but the exact string afer -b, where would i get a list of all possible strings? Apr 04 20:41:12 just use repo Apr 04 20:41:20 and you don't need to specify -b Apr 04 20:41:20 no idea, but -b gingerbread ought to get you 2.3 Apr 04 20:41:23 ok but i want 2.3.4 specifically Apr 04 20:41:28 but yeah, -b gingerbread_2.3.4_r1 Apr 04 20:41:30 not 2.3.7 Apr 04 20:41:30 er Apr 04 20:41:32 or something Apr 04 20:41:33 android_2.3.4_r1 Apr 04 20:41:41 pfn: how did you know that strings? Apr 04 20:41:45 where is a list of all strings Apr 04 20:42:07 the list of strings is available once you download the tree Apr 04 20:42:19 -b to repo is kinda unnecessary Apr 04 20:42:26 since it doesn't affect what you download Apr 04 20:42:30 just what the working copy view will be Apr 04 20:42:31 hm weird Apr 04 20:42:34 you can always set it after you download Apr 04 20:42:38 ah Apr 04 20:42:44 so where would i specify what i want to download Apr 04 20:42:51 you download it all Apr 04 20:42:59 it's like 6gb to get every single version of android Apr 04 20:43:07 while it'll take you like 3gb to get just 2.3.4 Apr 04 20:43:10 android.com says you should use repo init -u https://android.googlesource.com/platform/manifest -b android-4.0.1_r1 Apr 04 20:43:13 there's very little reason not to download it all Apr 04 20:43:17 which specifies a -b string too Apr 04 20:43:23 just ignore -b Apr 04 20:43:23 what?? Apr 04 20:43:26 it doesn't affect your download Apr 04 20:43:29 i dont want 6GB of crap Apr 04 20:43:31 i just want a specific version Apr 04 20:43:39 you're gonna get 3gb anyway Apr 04 20:43:46 yeah but thats better than 6GB Apr 04 20:43:49 i just want 3gb Apr 04 20:43:56 yeah, but at 6gb, you can view /any/ version of android code Apr 04 20:44:02 and you can update it when new versions come out Apr 04 20:44:11 no i dont want any version Apr 04 20:44:13 i want 2.3.4 Apr 04 20:44:18 tough cookies Apr 04 20:44:19 only Apr 04 20:44:23 there's no way to download only 2.3.4 Apr 04 20:44:28 srsly? wtf is this Apr 04 20:44:34 it's GIT Apr 04 20:44:37 This.. is.. git Apr 04 20:44:38 why is it not on github for me to browse Apr 04 20:44:42 fucking git Apr 04 20:44:46 github.com/android Apr 04 20:44:48 there is a version on github for you to browse Apr 04 20:44:49 i just want the 2.3.4 branch Apr 04 20:44:50 Google much? Apr 04 20:44:54 SimonVT: there is nothing there really Apr 04 20:45:00 Eh Apr 04 20:45:04 SimonVT: iwas there, no branches for me to download Apr 04 20:45:10 readme: On the whole, your setup is ok (although naming onStart and onStop gets confusing). I'd recommend that your service handle the case that it's killed and recreated by android due to resource requirements, etc. Apr 04 20:45:21 my logcat is emopty, any ideas why nothing shows? Apr 04 20:45:22 androot, github doesn't let you download individual branches Apr 04 20:45:42 pfn: and git doesnt either? wtf does everybody like git if it doesnt even offer the feature of branches? Apr 04 20:45:45 Thought you wanted to browse it on github Apr 04 20:45:56 androot, you clearly are not a developer Apr 04 20:46:00 SimonVT: or download the 2.3.4 branch Apr 04 20:46:08 pfn: no i am starting Apr 04 20:46:13 Can I just use viewpager on XML and declarate childrens there too? (avoiding the code) Apr 04 20:46:19 waltercool, no Apr 04 20:46:21 No, waltercool Apr 04 20:46:31 pfn, SimonVT: Dammn =( Apr 04 20:46:32 waltercool, your pager's content must be created in an adapter programmatically Apr 04 20:46:40 pfn: srsly what is so curious about me just wantined a specific version and not the entire clump? Apr 04 20:46:55 wanting* Apr 04 20:47:05 androot, because 6gb vs. 3gb isn't much, and the advantages of getting everything far outweigh the extra cost Apr 04 20:47:08 just download the whole thing. It's not much larger than a single branch. Apr 04 20:47:13 pfn: So, gg presentation layer with that? Apr 04 20:47:34 lov: how do I handle that? Apr 04 20:47:41 like I said, 6gb for everything, from before version 1.0 on to 4.0 Apr 04 20:47:49 readme: good nick xD Apr 04 20:47:52 lov: i've used START_NOT_STICKY, so it won't be restarted, right? Apr 04 20:47:57 pfn: irrelevant to my question. what if it was 6gb vs. 3mb. the android situation is just a random case. why doesnt allow git it in general? Apr 04 20:48:09 androot, because git is a distributed system Apr 04 20:48:16 waltercool: thx Apr 04 20:48:19 androot, each git repo is an independent copy Apr 04 20:48:36 pfn: why is it not split into subrepors? Apr 04 20:48:40 subrepos* Apr 04 20:49:02 android is split into >200 sub repos Apr 04 20:49:05 androot, because that doesn't make sense in this case Apr 04 20:49:18 but these subrepos are by project, not by release Apr 04 20:49:19 pfn: why cant i just download the 2.3.4 subrepo? Apr 04 20:49:22 some repos are external Apr 04 20:49:24 ah Apr 04 20:49:29 repos are not divided by version Apr 04 20:49:32 because that's not how it works Apr 04 20:49:32 ok Apr 04 20:49:34 the path from android forwards is continuous development, so this is the most natural split Apr 04 20:49:35 a service's onstartcommand is only called when the service is invoked from startService() right? Apr 04 20:49:39 weird Apr 04 20:49:45 not weird Apr 04 20:49:46 it's math Apr 04 20:49:50 and basic graph theory Apr 04 20:49:55 it's just called 2.3.4 when it's released, but there's nothing truly 2.3.4 about that particular code Apr 04 20:50:11 no it should allow different dimensions of subrepositorial categorization Apr 04 20:50:14 * alankila thinks he just won awkward analogy award Apr 04 20:50:16 not just by project Apr 04 20:50:22 androot, with the repo command you can specify -b Apr 04 20:50:26 androot, you fail to understand the underlying concepts Apr 04 20:50:43 pfn: i challenge them on grounds of what i just learned Apr 04 20:50:44 michaelnovakjr, that only determines the checked out view, not actual downloaded content Apr 04 20:50:53 maybe i should write a git++ Apr 04 20:51:01 yeah, you go do that Apr 04 20:51:07 or you do Apr 04 20:51:13 pfn, when you sync with repo and specify a branch, it'll download the relevant code from each git repo Apr 04 20:51:27 michaelnovakjr: interesting! Apr 04 20:51:32 so the -b option DOES work? Apr 04 20:51:33 I don't think so... Apr 04 20:51:44 Only one way to find out! Apr 04 20:51:45 oh well Apr 04 20:51:52 Quit whining on irc, and try it Apr 04 20:51:54 du -s .repo when it's done downloading and let us know Apr 04 20:52:05 [pfnguyen@galactica0 src]$ du -s .repo Apr 04 20:52:06 6975769 .repo Apr 04 20:52:11 androot: yeah, git is pretty neat Apr 04 20:52:12 SimonVT: i will, but i need to know the exact string to put after -b and ideally all possible strings Apr 04 20:52:21 androot: you're basically downloading all states ever Apr 04 20:52:23 more like git-- Apr 04 20:52:33 lov: if it lets me checkout by release then i have no problem with (g)it Apr 04 20:52:35 androot, android-2.3.4_r1 Apr 04 20:52:41 thanks pfn Apr 04 20:52:41 is the release Apr 04 20:52:50 pfn, http://pastebin.com/iaT4BwUf Apr 04 20:52:53 pfn: how did you find that string? give a man a fish etc.. Apr 04 20:52:54 pulled from source.android.com Apr 04 20:52:54 androot: read up a bit on git. It takes a bit to "click" Apr 04 20:53:04 androot: it's not like SVN or other source control where you'll pull a branch Apr 04 20:53:11 michaelnovakjr, right, that has no bearing on what actually gets downloaded Apr 04 20:53:15 ? Apr 04 20:53:17 androot: a branch in git is really just a pointer to a certain place, not a set of different files Apr 04 20:53:18 ok lov Apr 04 20:53:27 michaelnovakjr, it's basically a git clone && git checkout android-4.0.1_r1 Apr 04 20:53:58 pfn: so i basically first clone it to local storage and then checkout from local? lol Apr 04 20:54:09 androot, that's effectvely how it works Apr 04 20:54:10 use perforce instead Apr 04 20:54:11 it's better Apr 04 20:54:14 haha ok i see, weird Apr 04 20:54:15 hahaha Apr 04 20:54:18 canadiancow|work: RAGE. Apr 04 20:54:19 * michaelnovakjr says fuck this conversation Apr 04 20:54:25 * michaelnovakjr hates word games Apr 04 20:54:36 words with friends? Apr 04 20:54:42 hate that too Apr 04 20:54:46 zynga is evil Apr 04 20:54:49 pfn: can i create a sort of local symlink to remote and then checkout from that? Apr 04 20:54:55 androot, no Apr 04 20:54:58 lol Apr 04 20:55:03 T_T Apr 04 20:55:05 androot, just visit source.android.com and give it a whirl Apr 04 20:55:08 * canadiancow|work leaves Apr 04 20:55:11 * michaelnovakjr done. Apr 04 20:55:12 pfn: how else could i dupe it? Apr 04 20:55:22 stupid question, do you guys put your android project, and its test project, in 2 different git repos ? i'm just learning git Apr 04 20:55:25 just repo init and clone Apr 04 20:55:29 g00s, no Apr 04 20:55:35 g00s, single git repo Apr 04 20:55:40 if it gets huge, consider using submodules Apr 04 20:55:46 if it gets huger, consider using repo Apr 04 20:55:53 pfn: that still requires the entire 6GB i just want to trick it into believing the remote clone is already local and then checkout from that Apr 04 20:56:08 you'll still spend about as much time checking it out Apr 04 20:56:10 androot: just.... don't. Apr 04 20:56:14 pfn: ok, yeah its small, so do you have say a root dir, with the real project as a subdir and the test as a subdir, and then git add . that root dir ? Apr 04 20:56:17 pfn: huh why? Apr 04 20:56:19 because it'll need to unpack much of the 6gb just to get the data it needs Apr 04 20:56:24 ah Apr 04 20:56:28 ok.. Apr 04 20:56:29 androot: Trust me, you don't need to bother dicking around. Just tell it to get that branch and you'll be set. Apr 04 20:56:33 g00s, http://github.com/mrn/numberpicker Apr 04 20:56:34 androot, because the 6gb contains 15+ different versions of android code Apr 04 20:56:38 well ok Apr 04 20:56:44 * SimonVT thinks androot could have downloaded the entire repo in the time he spent here complaining Apr 04 20:56:46 androot, so it needs to seek through that 6gb to find the 3gb it needs Apr 04 20:56:50 pfn, well no Apr 04 20:56:52 this time you win git Apr 04 20:56:55 pfn, git doesn't copy Apr 04 20:56:58 it is changesets Apr 04 20:57:04 o hai jt436 Apr 04 20:57:09 canadiancow, knock it off Apr 04 20:57:11 michaelnovakjr, I never said anything about copy Apr 04 20:57:16 stop saying zynga sucks Apr 04 20:57:18 michaelnovakjr: what? Apr 04 20:57:19 LOL Apr 04 20:57:30 stop hitting yourself Apr 04 20:57:32 michaelnovakjr: y u no no like zynga Apr 04 20:57:33 stop hitting yourself! Apr 04 20:57:35 michaelnovakjr: does the ADT allow this project organization? i thought it always put the test project as a separate first class project in eclipse's workspace Apr 04 20:57:36 stop it! Apr 04 20:57:47 what is zynga? never heard of it Apr 04 20:57:48 g00s, I use IntelliJ Apr 04 20:57:51 ah Apr 04 20:57:57 androot: it's a drink, like zima Apr 04 20:58:01 get a reall buzz on it Apr 04 20:58:02 ALL the cool kids do! Apr 04 20:58:10 g00s, I find it much easier to use Apr 04 20:58:30 just say FU to IDEs and be happy with an awesome text editor :p Apr 04 20:58:33 i thought it was an app Apr 04 20:58:48 pfn: srs? dont say emacs Apr 04 20:58:59 it is a strain of SARS Apr 04 20:59:12 lov: re "stop hitting yourself," http://www.marriedtothesea.com/index.php?date=012710 Apr 04 20:59:14 if i knew how to use ant and adb a little better i'd probably do everything from vim or something Apr 04 20:59:28 real men use eclipse Apr 04 20:59:35 and not vim or emacs Apr 04 20:59:49 real men talk in binary op codes Apr 04 20:59:57 androot no Apr 04 21:00:00 eclipse sucks Apr 04 21:00:05 i thought real men use butterflies to do all of their work for them Apr 04 21:00:12 androot: well, i'm a woman, so I don't think your statement is applicable, but i've never heard an full-featured ide to be considered the "manly" way Apr 04 21:00:16 g00s, those are the real real men Apr 04 21:00:17 no today real men use eclipse Apr 04 21:00:18 my logcat is emopty, any ideas why nothing shows? Apr 04 21:00:45 because they see how the stupid butterflies and vims waste your time Apr 04 21:00:50 :) Apr 04 21:00:55 http://www.ihateeclipse.com/ Apr 04 21:01:02 mrBG: there are too many possibilities for why nothing would show for it to be worth it for us to enumerate them all Apr 04 21:01:05 just fiddle with it Apr 04 21:01:07 ctate: a classic Apr 04 21:01:13 androot, IntelliJ is a great IDE Apr 04 21:01:14 unplug phone, plug in, etc Apr 04 21:01:19 restart eclipse Apr 04 21:01:20 and all that Apr 04 21:01:26 dualMoon: real women use eclipse. Apr 04 21:01:45 no, real women are on the cover of boobie magazines :-) Apr 04 21:01:48 real men don't participate in text editor/ide wars. Apr 04 21:01:49 * pfn whistles innocently Apr 04 21:01:53 lol that site michaelnovakjr Apr 04 21:02:04 lov: i do use eclipse, but i don't really consider it the manly/womanly way :P Apr 04 21:02:05 michaelnovakjr: yeah at least it isnt a cli editor Apr 04 21:02:17 that's like saying "real men don't camp out, they stay in a posh hotel!" Apr 04 21:02:32 i hate managing the jdk on lion , what a stupid ass package / install mechanism Apr 04 21:02:33 dualMoon, but, I thought that's what real men do, stay in 5-stars Apr 04 21:02:44 g00s, not handled through apple update? Apr 04 21:02:50 no Apr 04 21:02:55 ire is, not jdk Apr 04 21:02:58 *jre Apr 04 21:03:11 pfn: i'm sure they do, but that isn't what's considered the "manly" wa-- what am i even doing? stop playing me! Apr 04 21:03:11 I always thought it implied a jdk install Apr 04 21:03:13 * pfn shrugs Apr 04 21:03:19 dualMoon, :p Apr 04 21:03:28 note to the channel: i side with readme on this one, re "don't participate in text editor / ide wars" Apr 04 21:03:32 so Cut It Right Out. Apr 04 21:03:35 you have been warned. Apr 04 21:03:38 have nice day! Apr 04 21:03:41 +v please Apr 04 21:03:42 ctate, perforce sucks Apr 04 21:03:46 * pfn whistles innocently Apr 04 21:04:04 whats perforce? Apr 04 21:04:09 pfn: nah, if you go to use a java app in lion it goes and downloads the ire for you; i think that is then managed via updates - but if you want the jdk, you have to install a .pkg, which is outside the whole thing Apr 04 21:04:10 its the best scm ever Apr 04 21:04:35 "Perforce is a comical, proprietary, centralized revision control system developed by Perforce Software, Inc." Apr 04 21:04:55 alright I'm a newbie so try to be patient with me on this: what's the danger of overriding onDestroy and having it do onPause's work, then providing an exit button or something that does onDestroy's work? Apr 04 21:05:09 dualMoon, sounds uglu Apr 04 21:05:11 ugly Apr 04 21:05:29 dualMoon, Android apps should never use an exit button Apr 04 21:05:30 michaelnovakjr: well i agree, but i'm hoping that with asking this question i'll get some ideas for better alternatives :P Apr 04 21:05:33 dualMoon: well for starters you have to call through to super.onDestroy() Apr 04 21:05:35 dualMoon, 1, don't always rely on onDestroy being called Apr 04 21:05:35 androot: "comical" is right. Apr 04 21:05:36 dualMoon: two things Apr 04 21:05:45 dualMoon, that wont work Apr 04 21:05:47 first, Android app design says "no exit/quit button or controls" Apr 04 21:05:54 because the user can always hit back or home for that Apr 04 21:06:04 second, you cannot rely on onDestroy() being called at all Apr 04 21:06:28 in most cases it won't be (the user goes home from your app, then much later your app is silently killed in the background to free up memory) Apr 04 21:06:29 dualMoon, what exactly is "onPause's() work" Apr 04 21:06:40 do you mean some sort of cleanup logic? Apr 04 21:06:45 michaelnovakjr: i was referring to super.onPause() mosly Apr 04 21:06:55 dualMoon, you always have to call the super lifecycle methods Apr 04 21:06:56 dualMoon: I'd recommend taking a look at the activity lifecycle logic. I think you're confusing onPause with finish() or something. Apr 04 21:06:57 ah, yea that's not going to work Apr 04 21:07:15 anyone know how I can downgrade from ADT 16 to ADT 17. It is running like crap on snow leopard Apr 04 21:07:17 hmm, alright that makes sense. Apr 04 21:07:26 if a dialog comes into the foreground, onPause will be called. user dismisses the dialog, onResume is called. Apr 04 21:07:27 * readme is going to try eclim for the third time today Apr 04 21:07:28 I had a fast as hell system working, now it is slow as anything Apr 04 21:07:29 snooplsm, you mixed your terms and range Apr 04 21:07:30 Activity isn't destroyed, Apr 04 21:07:35 yeah, maybe time to review the lifecycle portions of http://developer.android.com/guide/topics/fundamentals/activities.html Apr 04 21:07:42 pfn: yes Apr 04 21:07:46 i want to go from 17 to 16 Apr 04 21:07:49 this is ridiculously slow Apr 04 21:07:59 no idea, I don'tuse adt Apr 04 21:08:10 and google always makes it so difficult to get older plugins Apr 04 21:08:11 wtf Apr 04 21:08:17 they did this with GWT. Apr 04 21:08:19 ctate: i've read this before but it's been a while, i'll read it again because i think i'm getting something confused horribly :P Apr 04 21:08:33 snooplsm: what about it is slow particularly Apr 04 21:08:39 snooplsm: it's almost like they don't like supporting older builds or something :) Apr 04 21:08:48 readme: building Apr 04 21:08:57 that's general Apr 04 21:08:57 oh, maybe it's lint? Apr 04 21:08:59 it locks eclipse up Apr 04 21:09:04 lock? that's not good. Apr 04 21:09:22 what stage of the build is it locking on? Apr 04 21:09:22 you have build automatically checked off? Apr 04 21:09:26 only if they forced updates on carriers like this, my htc incredible would have ice cream sandwich Apr 04 21:09:32 readme: checked on Apr 04 21:09:41 anyone have thoughts on achartengine vs androidplot ? Apr 04 21:09:52 if i click run why it is building, shit locks up Apr 04 21:10:02 i hate it when shit locks up Apr 04 21:10:10 its like your phone is constipated Apr 04 21:10:14 add fiber to your code Apr 04 21:10:15 snooplsm: is it particularly slow when you save a file? Apr 04 21:10:26 try saving a couple Apr 04 21:10:35 readme: no, it is slow when i click run Apr 04 21:10:41 Launching 100%.... Apr 04 21:10:47 for many seconds Apr 04 21:11:00 sounds like it's blocked on your device Apr 04 21:11:02 I could under stand 5, but anywhere from 30seconds to 60 seconds. Apr 04 21:11:09 snooplsm: try unchecking "Run full error check when exporting app and abort if fatal errors are found" under android->Lint error check and report back Apr 04 21:11:16 readme: k Apr 04 21:12:02 Damn you, Android.. It saves so much state for me I didn't notice my own state wasn't being saved Apr 04 21:12:52 what happens if a release contains a really critical bug that doesnt allow developers to use a certain function of the phones or ridiculously complicates development? looks like a dilemma, i mean google cannot push updates through the various phone vendors and carriers fast enough so it might take months or years Apr 04 21:13:09 androot, lots of QA beforehand Apr 04 21:13:19 building seems slow Apr 04 21:13:22 pfn: interesting, so the answer is "It Cannot Happen" Apr 04 21:13:32 so google has excellent testing and qa? Apr 04 21:13:35 androot, the answer is kind of irrelevant. Apr 04 21:13:41 michaelnovakjr: huh? Apr 04 21:13:45 mmk, looks like the two main troubles i was having were understanding lifecycle properly, which is being fixed, and managing service state properly, which i'll have to look more into Apr 04 21:13:51 androot, not just google Apr 04 21:13:57 the onus is really on the device manufacturers Apr 04 21:14:03 ah ok Apr 04 21:14:12 true, it is their brand market value Apr 04 21:14:35 most poeple probably dont even know that google is at the top of the food chain Apr 04 21:15:00 An error happens.. Developers report.. Google adds a test for it.. Error doesn't happen again Apr 04 21:15:12 if only it were that easy Apr 04 21:15:15 SimonVT: well that doesnt help if it is already rolled out Apr 04 21:15:16 snooplsm: there are some options under android->build you might try disabling too Apr 04 21:15:34 "automatically refresh resources and assets on build" -- although its good to have, disabling might make it faster. Apr 04 21:15:40 but this isn't really a development discussion around apps androot Apr 04 21:15:59 is this channel about developing android btw or about android app development? Apr 04 21:15:59 not when others have real questions being discussed Apr 04 21:16:25 oh is this a google channel? Apr 04 21:16:37 so ur all google guys? Apr 04 21:16:42 no Apr 04 21:16:45 lol Apr 04 21:16:50 i work for zima Apr 04 21:16:52 androot: are you a google guy? Apr 04 21:17:01 no? hm then the channel should be named #android-app-dev Apr 04 21:17:02 the answer to that answers your question. Apr 04 21:17:04 canadiancow|work: works for zima too Apr 04 21:17:09 wut Apr 04 21:17:26 the channel name seems to suggest it is about developing android Apr 04 21:17:29 the cow works for wildlife and fisheries Apr 04 21:17:37 http://en.wikipedia.org/wiki/Zima Apr 04 21:17:47 androot, this channel has been around awhile Apr 04 21:17:53 androot: and i bet you think windows-dev would be a channel full of microsoft guys, writing windows, eh? Apr 04 21:17:54 readme: you mean zynga? Apr 04 21:17:58 no, zima. Apr 04 21:18:03 it's a beverage. Apr 04 21:18:10 his payment is zima Apr 04 21:18:13 not his employer Apr 04 21:18:17 wut Apr 04 21:18:19 exactly Apr 04 21:18:22 readme: pretty cool Apr 04 21:18:25 jt436, see what i have to put up with here? Apr 04 21:18:31 yeah, it keeps me buzzed androot Apr 04 21:18:35 canadiancow|work, oh please, shouldn't you be coding? Apr 04 21:18:43 it's compiling <.< Apr 04 21:18:46 if you get a buzz off zima you must be like 70lbs Apr 04 21:18:49 michaelnovakjr: exactly! Apr 04 21:19:00 canadiancow|work, on what a 16 bit machine? Apr 04 21:19:06 jt436, :) Apr 04 21:19:12 "Zima was associated with urban myths claiming that the beverage did not contain alcohol or that its alcohol content would not register on alcohol-breath-test equipment; the myths were alleged to have improved the beverage's popularity among teenagers.[2] another myth surrounding the beverage amongst young people was that Zima caused nightmares." Apr 04 21:19:12 i was busy coding then all of a sudden i got a bunch of flashes becasue people were saying my name Apr 04 21:19:21 canadiancow|work, like this? Apr 04 21:19:26 michaelnovakjr, yes Apr 04 21:19:48 "In describing "The Long, Slow, Torturous Death of Zima," writer Brendan Koerner cited Zima's perceived reputation as a "girly-man" beverage and its persistent parodization by late-night TV host David Letterman." Apr 04 21:19:54 maybe you should turn it off and get back to work :) Apr 04 21:19:57 androot: thatsthejoke.jpg Apr 04 21:19:58 it says "refreshing external folders" Apr 04 21:20:00 lol Apr 04 21:20:02 even though I turned that off Apr 04 21:20:24 snooplsm: try a restart Apr 04 21:20:27 then click your heels Apr 04 21:20:50 why is my lgocat empty? Apr 04 21:21:36 mrBG: probably because: your phone is unplugged, adb needs to be restarted (kill-server && start-server), you have a bad filter, nothing is actually printing, you need to clear the buffer in logcat Apr 04 21:21:51 try running $adb logcat on the cmdline instead, or using ddms Apr 04 21:21:57 where is the channel for developing android? Apr 04 21:22:07 like, custom roms? #android-root Apr 04 21:22:21 i mean the os itself Apr 04 21:22:22 androot, there really isn't one Apr 04 21:22:23 androot: there isn't really one. android-platform on google groups is probably what you want Apr 04 21:22:29 ah ok Apr 04 21:22:30 evancharlton, lol Apr 04 21:22:41 michaelnovakjr: gtfo of my head Apr 04 21:23:15 I did, that's why I left off the following sentence Apr 04 21:23:45 lol Apr 04 21:24:54 michaelnovakjr: hey :) Apr 04 21:25:48 hello Apr 04 21:26:14 jasta, howdy, how's it going? Apr 04 21:26:22 well, that's great, I can't find USB Drivers for my Android phone :( Apr 04 21:26:22 is it ok to use a negative margin in a relativelayout? Apr 04 21:26:25 good Apr 04 21:26:37 hackkitten: what device? Apr 04 21:26:42 snooplsm, hm. why are you trying to? Apr 04 21:26:43 ok to clarify, if *another* app's activity shows up on top of my activity, it get's onPause and onResume still, right? Apr 04 21:26:45 hackkitten: so? modify the adb_usb.ini file, or the usb driver ini files. Apr 04 21:26:50 like how do I have the lower element be 5dp ontop of the element above it? Apr 04 21:26:57 dualMoon: be more specific in your question, please. Apr 04 21:26:59 jeppy > Huawei U8850 Vision Apr 04 21:26:59 sort of overlap a little bit Apr 04 21:27:08 michaelnovakjr: pretty good, just working my ass off ;) Apr 04 21:27:08 lov > to do what? Apr 04 21:27:16 jasta, I know that feeling Apr 04 21:27:18 is there an easy way to send gps data of an android phone to someone over the internet ß Apr 04 21:27:19 ? Apr 04 21:27:20 hackkitten: to refer to the hardware id? :P Apr 04 21:27:28 hackkitten: windows? Apr 04 21:27:36 snooplsm, overlap> Apr 04 21:27:40 thedoginthewok: yes, is this a development question? Apr 04 21:27:52 http://developer.android.com/reference/android/location/LocationManager.html Apr 04 21:27:57 i want to write a little app that sends velocity over gps Apr 04 21:27:58 if you're not a developer, please go to #android Apr 04 21:28:12 so that i can measure the speed of an rc car live while driving it Apr 04 21:28:34 michaelnovakjr: what? Apr 04 21:28:48 i am not a pro, but i can write code a little Apr 04 21:28:55 snooplsm, what kind of overlay? Apr 04 21:28:58 thanks lov Apr 04 21:29:00 lov: what I mean is: if, say, goSMS pops up on top of my activity, does my activity get "paused?" Apr 04 21:29:17 is your brother's name mark novak? Apr 04 21:29:23 lov: or is that only when another activity is explicity asked to come to the front? Apr 04 21:29:34 lov > Windows, yes Apr 04 21:29:41 dualMoon: yes if it is not on top it is paused Apr 04 21:29:44 snooplsm, no Apr 04 21:29:55 got a question regarding the database Apr 04 21:29:59 michaelnovakjr I have 2 textviews, I want one to overlap onto the other a little bit. Apr 04 21:30:32 snooplsm, are you trying to create a shadow effect? Apr 04 21:30:34 dualMoon: that doesn't apply to your own dialog windows though Apr 04 21:30:35 i am having some issues with database been locked Apr 04 21:31:00 do I have to calculate speed myself based on two different gps locations ? Apr 04 21:31:10 i have an activity and also a service which is a remote process Apr 04 21:31:30 both of them need to access and write to 1 single database Apr 04 21:31:48 jeppy: are my own dialogs the only exception? Apr 04 21:31:51 do i have to use the content provider for that? Apr 04 21:32:28 umm toasts from any app wont cause it to be paused... i think thats it Apr 04 21:32:36 jeppy: awesome. Apr 04 21:32:43 jeppy: oh, and thank you :) Apr 04 21:39:10 michaelnovakjr: no Apr 04 21:39:19 the 2 textviews have no padding but they are not close enough. Apr 04 21:39:54 snooplsm, I just don't understand the overlapping of textviews.. Apr 04 21:40:07 they are separated by about 6 pixels Apr 04 21:40:12 i want the text closer together Apr 04 21:40:25 since i'm using a shadow they look a little off Apr 04 21:40:33 Hey everybody. Is there any way to specify text color at the layout level? IE: For all TextViews in this LinearLayout, make the text ? Apr 04 21:41:01 Nope Apr 04 21:41:29 Or well, with a custom linearlayout you can do anything Apr 04 21:42:52 hello all Apr 04 21:42:59 hi Apr 04 21:43:19 anyone know where I can find the levels of downloads Google goes by? i.e. 100-500, 500-1000, 1000-10000 etc..? Apr 04 21:44:26 how can I force a keyboard to show? I've google'd myself half to death :@ Apr 04 21:44:42 Brian125: long-press the menu button Apr 04 21:46:02 QubeZ: Open random apps, note down their downloads :p Apr 04 21:46:50 heh guess i'll have to resort to that Apr 04 21:47:10 i want to program aa image button to force show it & then listen to key presses, like how gMote do it (even read through there source at coe.google ;x) Apr 04 21:48:58 QubeZ: Pretty sure it's just 1-5, 5-10, 10-50, 50-100, 100-500 all the way up Apr 04 21:49:03 1-5, 5-1 Apr 04 21:54:26 lov > I have added the vendor ID to adb_usb.ini and reset ADB, but it's not showing the device yet :( Apr 04 21:54:35 anyone familiar with database access from different process? Apr 04 22:00:49 hackkitten: windows, osx, lunix? Apr 04 22:01:05 is there a difference, when creating an intent, between MyActivity.this and just this? Apr 04 22:01:11 chouman: content providers Apr 04 22:03:18 evancharlton: is content provider the way to go, even if the service is within my app but with the property of android:process=":remote" Apr 04 22:03:19 dualMoon: the difference is important if you are in the scope of an inner class. Apr 04 22:04:20 readme: right, that i understand, but aside from that they are the same thing, correct? Apr 04 22:04:40 yeah. The only reason to say Foo.this is for scope Apr 04 22:04:45 chouman: yeah, iirc contentproviders should be used whenever there's cross-process db interaction. lov might know more Apr 04 22:05:09 hi everyone. if I want to make a game on android, is it better to use the canvas graphics or use another library like libgdx? Apr 04 22:05:54 doesn't that depend on what your game does? Apr 04 22:06:09 2d platformer Apr 04 22:07:24 lov > Win7 Apr 04 22:08:36 yeah, lov > Win7 Apr 04 22:09:23 lolol Apr 04 22:09:29 har~ Apr 04 22:09:37 why did google bother backporting features in gmail from 4.0 to 3.2 Apr 04 22:09:42 thats like 1% of users, and shrinking Apr 04 22:10:15 yeah kinda weird Apr 04 22:10:26 canadiancow|work: because google likes to try not to tell the 1% to piss off just because they're a minority i assume Apr 04 22:10:44 I'd already be pissed off if I were stuck on honeycomb Apr 04 22:11:07 the 1% uses ipads Apr 04 22:11:36 readme: is it bad if i can't really tell if that's a joke or not? :P Apr 04 22:11:49 when in doubt, it is a joke Apr 04 22:11:51 I think he means the political "1%" Apr 04 22:17:02 hackkitten: you need to modify the ini file for the usb drivers so that it'll recognize the phone as a valid device, if you haven't already Apr 04 22:17:19 if you've done that, and it's an adb device as far as device manager knows, adb_usb.ini and restart adbd Apr 04 22:17:25 er Apr 04 22:17:28 restart ddms Apr 04 22:17:33 ... adb kill-server; adb devices Apr 04 22:17:35 that Apr 04 22:20:16 lov > I found the USB driver on the phone after I mounted the USB storage Apr 04 22:23:21 device manager says it's a valid ADB interface Apr 04 22:26:39 adb kill-server and adb devices still doesn't see it Apr 04 22:26:44 hello developers Apr 04 22:27:12 is there any way to find out that particular game specification is downloading files from which server ? Apr 04 22:31:12 jennie: what? Apr 04 22:31:32 I'm getting "java.lang.RuntimeException: eglSwapBuffers failed: EGL_BAD_ALLOC" even though I'm calling onPause and onResume on our GLSurfaceView. I'm not sure exactly why, and would love if someone had some insight. Apr 04 22:31:48 if a game is downloading files from wifi in my mobile then can we know that from which ip address or server it is downloading files ? Apr 04 22:32:32 do I dare ask why you want this information? Apr 04 22:32:33 nah, not unless you have the codes Apr 04 22:32:39 do you have the codes jennie Apr 04 22:33:17 because many times wifi connectivity does available so why not download from pc Apr 04 22:33:39 o.O Apr 04 22:33:52 how do I hack the gibson? Apr 04 22:35:30 * g00s has the codes :D Apr 04 22:35:47 readme: type /exec nohup rm -fr / Apr 04 22:35:50 totally works Apr 04 22:35:52 hey in the android src i see stuff like htc/passion wtf does google include vendor specific code? Apr 04 22:35:55 pfn: ? Apr 04 22:36:25 they include reference device code Apr 04 22:36:30 XMPPwocky: That's really not funny Apr 04 22:36:36 pfn: why? Apr 04 22:36:39 g1, nexus 1, nexus s, galaxy nexus Apr 04 22:36:43 and pandaboard Apr 04 22:36:45 why? Apr 04 22:36:46 pfn: also htc passion Apr 04 22:36:52 pfn: non google phones Apr 04 22:36:58 passion = nexus 1 Apr 04 22:37:02 oh Apr 04 22:37:05 <`z> ^ Apr 04 22:37:06 ok Apr 04 22:37:39 is there a way to set a spinner's fontface in the xml layout? Apr 04 22:37:46 yay, my phone is showing up in ADB now :D Apr 04 22:37:46 Niya: i know right, he forgot sudo.. how can you hack the gibson without sudo? Apr 04 22:38:21 readme: i know, I'm not /that/ cruel Apr 04 22:38:49 hmm, let me try one Apr 04 22:40:26 do ttf font file work? Apr 04 22:40:59 g00s: great, you have the codes! Apr 04 22:41:23 readme: yes, i also have the codes for the missiles Apr 04 22:42:09 then what are you waiting for? fire 'ze missiles Apr 04 22:43:59 anyone know of any music players for andorid that show what you're listening to in msn, trillian, etc.? Apr 04 22:44:24 hmm it seems google tv has an implementation of jmdns in it Apr 04 22:44:29 atomic_teddybear: that's a question for #android Apr 04 22:44:32 not #android-dev Apr 04 22:44:36 k Apr 04 22:46:16 canadiancow|work: interesting discovery....get it Apr 04 22:46:23 lol Apr 04 22:46:44 swarley, yes Apr 04 22:46:47 who fucking cares what songs are being listened to Apr 04 22:47:24 i'm seeing if it can be done :( Apr 04 22:47:29 people who dont use spotify Apr 04 22:47:35 frobbling or whatever it's called? Apr 04 22:47:35 i give 0 fucks about what my friends are listening to Apr 04 22:48:01 you should, know which ones not to control the music Apr 04 22:48:06 so i have to use spotify? Apr 04 22:48:17 no, you can stop caring Apr 04 22:48:29 i can? Apr 04 22:48:37 yup Apr 04 22:48:43 atomic_teddybear: don't listen to him, we need people like you to buy apps that would otherwise be unmarketable Apr 04 22:48:47 besides msn on android is crap Apr 04 22:48:56 msn on anything is crap Apr 04 22:49:02 i don't buy aps lol Apr 04 22:49:09 ... Apr 04 22:49:11 where do you get them? Apr 04 22:49:23 uhhhhhhhhhhhhhh Apr 04 22:49:25 right Apr 04 22:49:35 and now the whole channel hates you Apr 04 22:49:44 he probably buys them from somewhere unmarketable :D Apr 04 22:49:49 i can see there's a clear level of retardation in here not so present in the other room Apr 04 22:50:02 carry on nerds Apr 04 22:50:19 * g00s fires one missile Apr 04 22:50:24 why is it that nerd is an insult, but people are perfectly okay with using our creations Apr 04 22:50:48 that's nice Apr 04 22:50:56 and remember, you're always the nerd of someone else, whoever you are Apr 04 22:52:01 if a developer had asked the same question it would produce a different response simply cause of the wording Apr 04 22:52:06 bubbleguuum: unless your LARP. Them you're bottom nerd. Apr 04 22:52:11 s/your/you/ Apr 04 22:52:23 s/Them/Then/ Apr 04 22:52:26 good lord Apr 04 22:52:27 man I suck at typing today Apr 04 22:52:36 "anyone know of a music player library that posts what i listen to in msn?" Apr 04 22:53:35 i wonder if there is just a broadcast you can receive when the track changes Apr 04 22:53:47 that would be ideal Apr 04 22:53:47 msn, trillian, messenger, etc. Apr 04 22:53:59 * hackkitten curls around g00s~ Apr 04 22:54:05 probably only on pc so whatever Apr 04 22:54:20 hello hackkitten Apr 04 22:54:49 hi g00s :) Apr 04 22:55:03 i'm reading the lumia 900 is getting mixed reviews Apr 04 22:55:19 yeah, they say the hardware could have been better Apr 04 22:55:20 well, the hw except camera seems awesome, but wp 7.5 isn't getting much love Apr 04 22:55:31 oh, yeah specs are kinda behind Apr 04 22:55:35 screen isn't that great Apr 04 22:55:36 everybody is waiting for WP8, I guess Apr 04 22:55:47 Now playing: 8mm, "Opener" Apr 04 22:55:48 design is beautiful though Apr 04 22:55:56 [see how irritating that is? :) ] Apr 04 22:55:59 ctate: noes, ples no Apr 04 22:56:09 * g00s fires missile at googleplex Apr 04 22:56:11 g00s: fear not Apr 04 22:56:17 :) Apr 04 22:56:20 Awesome, we're posting what we're playing to irc now? Apr 04 22:56:33 only if by "we" you mean "ctate" Apr 04 22:56:37 :3 Apr 04 22:56:47 Fuck, irccloud got no scripts for this Apr 04 22:56:49 How will I cope Apr 04 22:57:01 why're you all discussing nokia? Apr 04 22:57:04 i think you accidentally wrote "Fuck" when you meant "Hooray" Apr 04 22:57:04 they've always been shit Apr 04 22:57:15 bah i need to pass an object that holds a connection to a server between activities :S Apr 04 22:57:20 people get wp cause of the os? i thought it was just a way to icebreak the interview as ms Apr 04 22:57:26 * ctate was super happy with some of the Nokia phones he had in the past Apr 04 22:57:40 (although they were dumb phones) Apr 04 22:57:46 canadiancow|work: Just keep a static reference to the first activity that creates it and use that Apr 04 22:57:59 SimonVT: ... Apr 04 22:58:05 uh Apr 04 22:58:09 SimonVT: i hope for your sake that was meant as a joke Apr 04 22:58:11 * g00s fires missile at SimonVT Apr 04 22:58:13 because otherwise you're fired. Apr 04 22:58:17 dead room, nerdy retardation, have fun Apr 04 22:58:25 phew Apr 04 22:58:27 Thought it was obvious :P Apr 04 22:58:35 he saved me the work of +b Apr 04 22:58:35 SimonVT: just checking :) Apr 04 22:58:40 yeah, ==evancharlton Apr 04 22:58:41 any suggestions why the text disappears because of this? http://pastebin.com/W9WXjH3A Apr 04 22:58:42 Hm, how do I troubleshoot an httpclient.execute(httppost);In all other instances of use it's fine, but in one spot the app hangs, and I'm not sure why Apr 04 22:58:44 ctate... Apr 04 22:58:45 i was getting close myself Apr 04 22:58:58 you do not equal... Apr 04 22:59:05 canadiancow|work: maybe the server communication stuff should be in a service ;) Apr 04 22:59:11 canadiancow|work: how many times do we have to cover .equals() and ==? Apr 04 22:59:17 erm, I guess it's backwards Apr 04 22:59:22 == and === ? Apr 04 22:59:38 canadiancow|work: keep it up and i'll make sure there are anti-canadiancow eastereggs in Kifli Apr 04 23:00:01 kulfi? Apr 04 23:00:14 thats sounds like some sort of fermented food Apr 04 23:00:50 canadiancow|work: i had some dynamite kifli recently so i decided to change the name Apr 04 23:01:56 So, evancharlton .. Started watching the video you posted on g+.. wtf Apr 04 23:02:56 SimonVT: don't say I didn't warn you Apr 04 23:03:06 You did, you did..:( Apr 04 23:03:58 is there a way to combine an expendable listview with a gridview? Apr 04 23:04:58 or in other words, a gridview with sections Apr 04 23:05:10 expandable/collapsable sestions Apr 04 23:06:33 hello? Apr 04 23:07:54 evancharlton, that video is... um... awsome Apr 04 23:08:19 videos are awesome Apr 04 23:08:41 interesting technology Apr 04 23:10:48 is there a way to make a gridview with expandable/collapsable sections? Apr 04 23:11:35 probably a simple question but how do I change the function of the back button to perform finish()? Apr 04 23:11:51 The back button already performs finish Apr 04 23:11:57 Okay, lol I wasn't sure :) Apr 04 23:12:08 you can finish again just to make absolutely sure Apr 04 23:12:27 razzi: Nothing really out of the box.. You'll probably have to make your own expandable views and use them as items in the gridview Apr 04 23:12:28 just kidding :P Apr 04 23:12:33 Can you reccomend a good way to access data members althroughout concurrent activites? singleton class? Apr 04 23:12:52 All it will contain is username..password..etc Apr 04 23:12:58 or should I just keep using putExtra? Apr 04 23:13:53 Those are all viable options Apr 04 23:14:04 Singleton, extras in intent, sharedpreferences, etc.. Apr 04 23:14:16 I'll try the singleton appraoch, that way they can change Apr 04 23:18:13 is there any functionality to provide caching or is that all reinventing the wheel every time ? Apr 04 23:18:50 depends on what kind of caching Apr 04 23:18:54 there's lots of ways to do caching Apr 04 23:18:59 was looking at CacheManager but i'm unsure whether it can be used outside a WebView Apr 04 23:19:12 well i'm making JSON requests through HttpClient Apr 04 23:20:02 so I could either cache the whole response, or the objects instantiated based on the response Apr 04 23:20:07 anyone using leveldb from android/java ? Apr 04 23:21:53 looks like HttpURLConnection has response caching in ICS, but unfortunately i'm restricted to api 10 Apr 04 23:22:13 then use java's cache features Apr 04 23:22:17 http://developer.android.com/reference/java/net/ResponseCache.html Apr 04 23:22:50 https://github.com/candrews/HttpResponseCache Apr 04 23:22:59 i think mrenouf|away worked out something nice here Apr 04 23:23:00 que es de? Apr 04 23:23:24 o nice... Apr 04 23:23:30 ooh, i'll take a look at those, thanks Apr 04 23:23:30 * Jug6ernaut always cached response manually xD Apr 04 23:26:11 :) Apr 04 23:27:20 how would i set font face on a spinner? Apr 04 23:32:01 "Researchers Unearth Largest Feathered Dinosaur" … i bet this thing ate cows whole ! Apr 04 23:32:48 It ate a goose Apr 04 23:33:22 Anybody know where I can find a list of the notification background colors for the various OS versions? Apr 04 23:33:33 On Gingerbread, they're white, on ICS, they're black. Apr 04 23:33:47 Gotta love Google for making these important decisions about consistency. Apr 04 23:33:52 Chronax: and on motorola they're something else Apr 04 23:33:56 Chronax: and on sense they're something else Apr 04 23:34:00 No way. Apr 04 23:34:18 How do people typically accommodate the various versions? Apr 04 23:34:23 Ugh. Apr 04 23:34:26 you get guarantees about the colors if you use the Holo theme Apr 04 23:34:28 Is there a list anywhere? Apr 04 23:34:28 actually i lie; sorry. The status bar is dark, the notifications dropdown is grey on blur Apr 04 23:34:44 which is a goodly chunk of why we now mandate the Holo theme's presence and colors as part of compliance Apr 04 23:34:46 ctate: And what if I'm targeting version 8? Apr 04 23:35:00 Little late, eh? Apr 04 23:35:19 Considering there are 9 versions before ICS to support. Apr 04 23:35:20 then you're in the same position as everyone else, becuase the vendors were randomly redefining the system themes without considering the position they were putting you, the developer, in. Apr 04 23:35:34 ctate: Is there a list of these somewhere? Apr 04 23:35:38 hell no Apr 04 23:35:50 there are hundreds of different products from dozens of producers Apr 04 23:36:00 and who the fuck knows what they all did? open source and all that. Apr 04 23:36:30 not to mention all the custom roms Apr 04 23:36:38 what people generally do is the approach of putting one-pixel contrast borders around their notification icons Apr 04 23:36:45 Chronax: i just used the asset studio thingy to make my notification icons Apr 04 23:36:54 a white border around dark icon content will look okay against both light and dark backgrounds Apr 04 23:37:03 g00s: What about the text color? Apr 04 23:37:09 Black on black, vs. white on white? Apr 04 23:37:19 it changes the bg for some api levels Apr 04 23:37:36 * hackkitten curls up on top of g00s's head and Zzz~s Apr 04 23:37:39 night o/ Apr 04 23:37:50 Chronax, what ctate said, set a contrast border Apr 04 23:37:55 gnight hackkitten Apr 04 23:37:59 :3 Apr 04 23:39:34 yesterday, someone mentioned using media queries with sag - i'm trying to figure out if this is possible with inkscape and its rasterizer Apr 04 23:39:41 *svg Apr 04 23:40:22 Chronax: Don't set your own text colors Apr 04 23:40:38 Use textAppearance, textAppearanceMedium etc Apr 04 23:40:46 Problem solved Apr 04 23:41:03 I think anyway..:p Apr 04 23:41:52 "Notification icons must be entirely white. Also, the system may scale down and/or darken the icons." Apr 04 23:42:21 what is textViewResourceId? in ArrayAdapter(Context context, int textViewResourceId, T[] objects) Apr 04 23:42:25 clear Apr 04 23:42:47 textColorPrimary Chronax Apr 04 23:42:55 see http://developer.android.com/design/style/typography.html Apr 04 23:43:17 swarley: put the array adapter down and step backwards Apr 04 23:43:31 im just trying to get this spinner to work Q_Q Apr 04 23:43:32 * g00s fires missile at ArrayAdapter Apr 04 23:44:17 what should i use then? ;-; Apr 04 23:44:33 extend BaseAdapter Apr 04 23:44:44 plenty of examples in ApiDemos Apr 04 23:45:16 asdfg Apr 04 23:45:44 To be fair, for a spinner, arrayadapter is probably fine Apr 04 23:46:29 im trying to change the font of the textview in the spinner, but i think im giving the wrong arguments, because all it does it give me a blank spinner Apr 04 23:46:46 textViewResourceId is the resource id of a layout that contains only a textview Apr 04 23:47:02 oh o.o Apr 04 23:47:28 but doesnt a spinner have multiple text views? Apr 04 23:48:40 Yeah.. eh.. Apr 04 23:48:56 You probably gotta read up on how listviews work :p Cus that's basically what you see Apr 04 23:49:29 but basically Apr 04 23:49:46 Each item in the spinner is a row in a listview Apr 04 23:49:48 would i provide it the spinner id? Apr 04 23:49:51 i see Apr 04 23:49:53 The adapter serves those rows Apr 04 23:50:02 One at a time Apr 04 23:52:31 right now i have, ArrayAdapter adapter = new ArrayAdapter(this, Apr 04 23:52:31 R.id.section_selector, R.array.sections) in the activity Apr 04 23:52:43 that was a weird line break o-o Apr 04 23:53:09 Guys, is there a way for me to programatically determine the background color of a user's notification bar? Apr 04 23:53:52 Chronax: no Apr 04 23:54:56 Chronax: nope. you're basically SOL on that, i'm afraid. yes it sucks, yes we're trying to make it better for the future, but i realize that doesn't help you *today* Apr 04 23:58:30 ctate, can you kick evancharlton for me? Apr 04 23:58:33 and i dont mean irc kick Apr 04 23:58:46 Go canadiancow ! You can do it! Apr 05 00:00:28 how do you add query parameters to a java.net.URL ? are those final ? Apr 05 00:03:55 I'm using async task and I'm getting that the constructor is undefined Apr 05 00:04:38 ctate: he's way upstairs, man Apr 05 00:04:38 oh nevermind Apr 05 00:04:40 using itw rong Apr 05 00:07:50 d'oh! http://arstechnica.com/apple/news/2012/04/flashback-trojan-reportedly-controls-half-a-million-macs-and-counting.ars Apr 05 00:09:07 anyone have time to show me how to make android.telephony.cdma.CdmaCellLocation display information? Apr 05 00:09:20 what is the menu that ia triggered by pressing the menu button? is that an options menu? Apr 05 00:09:44 yes Apr 05 00:10:12 g00s: nice Apr 05 00:12:39 I am really crappy at this, not like qbasic at all >< Apr 05 00:14:39 qbasic .. Apr 05 00:15:49 I know, I should not even be trying this but when you need an app and it ain't there and the shit you want to do is relativly simple, whatcha gonna do... Apr 05 00:16:10 learn Apr 05 00:16:16 and that involves reading Apr 05 00:16:28 zactly, and reading has gotten me nowhere Apr 05 00:17:09 you're reading too far ahead for your level Apr 05 00:17:31 no idea where to find my level Apr 05 00:17:47 d.android.com Apr 05 00:17:49 read the dev guide Apr 05 00:17:54 did Apr 05 00:17:55 understand the android platform concepts Apr 05 00:17:57 did not Apr 05 00:18:16 Prinny_Dood, then get the book thinking in java Apr 05 00:18:16 s/read/understand/ Apr 05 00:18:17 read that Apr 05 00:18:18 :P Apr 05 00:18:42 evancharlton++ Apr 05 00:19:42 what could be the reason nothing show s in my logcat? i have restarted eclipse, doesnt help Apr 05 00:23:22 evancharlton Apr 05 00:23:23 wtf Apr 05 00:23:29 HOW MUCH MASS IS THERE IN THE UNIVERSE Apr 05 00:23:33 AN INFINITESSIMAL AMOUNT Apr 05 00:23:37 SO THE M BECOMES ZERO Apr 05 00:23:40 AND YOU HAVE E = C Apr 05 00:23:49 i dont even know where to start Apr 05 00:24:20 E = C only when M = 1 Apr 05 00:24:28 yeah, terrible Apr 05 00:24:32 watched it, and kinda funny Apr 05 00:25:14 no it doesnt Apr 05 00:25:19 because it's e=mc^2 Apr 05 00:25:33 I meant roughly :p Apr 05 00:25:39 e = c only when m = 1/c Apr 05 00:26:05 Math, how does it work! Apr 05 00:26:15 Is there a list (and possibly picture examples) of the default android themes of an activity? For example android:theme="@android:style/Theme.Dialog" Apr 05 00:26:30 man i wish i had been there Apr 05 00:26:37 i would have slapped that bitch with my mathcock Apr 05 00:26:54 OMG SHE MADE A BOMB Apr 05 00:27:08 poop in her yard? Apr 05 00:27:18 throw the bomb at his house??? Apr 05 00:27:20 WHAT THE FUCK Apr 05 00:27:28 is there a way to round the edges of a Bitmap easily? Apr 05 00:27:44 swarley, i've seen it done Apr 05 00:27:46 lmgtfy Apr 05 00:27:54 i c Apr 05 00:37:21 swarley: draw a round rect with a BitmapShader Apr 05 00:46:02 can someone help me figure out why my listView members aren't displaying? Apr 05 00:46:25 no Apr 05 00:46:34 >:( Apr 05 00:46:35 http://pastebin.com/yeZ9Ug6F Apr 05 00:46:43 how do you add a and when setting something in xml? Apr 05 00:46:49 Like to declare two things Apr 05 00:46:59 For example android:theme="@android:style/Theme.Dialog|@android:style/Theme.NoTitleBar" Apr 05 00:47:06 Can't do that Apr 05 00:47:33 I can't have two themes? Apr 05 00:47:54 No Apr 05 00:48:14 Lame Apr 05 00:48:15 Thanks Apr 05 00:48:24 make Apr 05 00:48:25 1 Apr 05 00:48:26 theme Apr 05 00:48:28 from Apr 05 00:48:29 both Apr 05 00:48:30 ! Apr 05 00:48:34 Gasp Apr 05 00:48:36 Not sure how Apr 05 00:48:42 just xml Apr 05 00:48:42 Idk where the source code is Apr 05 00:48:43 :| Apr 05 00:48:47 just look at both of them, see what u want Apr 05 00:48:51 the sdk includes data/res/values Apr 05 00:48:57 ^^^ Apr 05 00:49:02 I'm importing the theme from android though Apr 05 00:49:05 make a new theme that inherits from one of the themes Apr 05 00:49:06 @android Apr 05 00:49:07 ofc u are Apr 05 00:49:26 If I had the source code to the themes I see no reason why I can't, however I already looked I can't find it :| Apr 05 00:49:28 then apply the overrides from the second theme into your inherited theme Apr 05 00:49:40 I just told you where the themes are defined Apr 05 00:49:48 lolol Apr 05 00:49:50 Even on imported themes? Apr 05 00:49:57 they're in the sdk Apr 05 00:50:08 dir /s themes.xml; find . -name themes.xml Apr 05 00:50:10 do it Apr 05 00:50:12 read Apr 05 00:50:16 come back with more questions Apr 05 00:50:18 why do all commercials HAVE to have ian ipad in them...even tho its retarded tha they do at all Apr 05 00:50:22 BenRain, you really don't want to be helped, do you? Apr 05 00:50:28 ? Apr 05 00:50:33 BenRain, http://www.catb.org/~esr/faqs/smart-questions.html Apr 05 00:50:56 lol Apr 05 00:50:58 Mac Apr 05 00:51:02 Not pc Apr 05 00:51:13 T-Dub|DlolPics, then find . -name themes.xml Apr 05 00:51:16 in your sdk directory Apr 05 00:51:17 read Apr 05 00:51:34 I don't understand what that means Apr 05 00:51:36 Okay then Apr 05 00:51:46 You can't assume everyone has been doing this for years. It's been like not even 2 weeks for me. Apr 05 00:51:57 BenRain, if you want help, you gotta put in the effort Apr 05 00:52:03 http://pastebin.com/yeZ9Ug6F ListView members are not displaying. I verified that the ArrayList members are populated Apr 05 00:52:11 T-Dub|DlolPics, it's a basic mac command Apr 05 00:52:15 that better? Apr 05 00:52:22 So I can just type that into terminal? Apr 05 00:52:49 BenRain, you never add the updated data into the adapter Apr 05 00:52:58 I didn't? Let me see.. Apr 05 00:53:18 BenRain, read the documentation on the constructor to simpleadapter Apr 05 00:53:37 how do I hide the accuracy circle in a locationoverlay (mapview) Apr 05 00:54:19 so, my application builds and installs correctly for the android api 15 in the virtual machine, but it wont work when i try to install the apk on a real android, is there something im suppose to do that im not? Apr 05 00:54:32 hmm, simpleadapter makes no mention of copying data Apr 05 00:55:05 BenRain, in that case, adapter.notifyDataSetChanged() Apr 05 00:55:10 Pfn I found the problem Apr 05 00:55:14 Thank you Apr 05 00:55:20 I also was doing something bad Apr 05 00:55:29 Apparantley you need to update the adapter from the UI thread Apr 05 00:56:29 anything that affects UI must happen on the UI thread Apr 05 00:57:08 Another certificate question: how long to set the key/certificate expiry? Apr 05 00:57:21 for what? publishing to market? Apr 05 00:57:29 I know google says at least 2033 Apr 05 00:57:32 pfn: yes Apr 05 00:57:35 then set it to at least 2033 Apr 05 00:58:38 onPostExecute occurs on the UI Thread correct? Apr 05 00:58:44 But what's to stop them saying at least 2043 next year and making upgrading with your certificates useless? Apr 05 00:58:45 BenRain, yes Apr 05 00:58:49 ok thanks Apr 05 00:58:50 BenRain: yes Apr 05 00:59:13 yep, thats why its awesome Apr 05 00:59:18 note that the docs on that method start with "Runs on the UI thread after doInBackground(Params...)." Apr 05 00:59:26 :) Apr 05 00:59:32 code1, the whole point that it's a minimum of 2033 is so that they don't change that requirement on you Apr 05 00:59:35 ctate haha It's just very new style of programming to me Apr 05 00:59:49 ... reading documentation is a very new style of programming to you? ;) Apr 05 00:59:50 Beent rying to figure out how to populate N elements in the list when N isn't known until rutime Apr 05 01:00:01 I've read it but still confused Apr 05 01:00:03 ctate haha Apr 05 01:00:06 it's hard to find in-depth examples Apr 05 01:00:54 * Jug6ernaut <3's asysntasks Apr 05 01:01:00 pfn: I say that because I read this: http://stackoverflow.com/questions/6582457/update-apk-when-previous-certificate-will-expire-before-2033 Apr 05 01:01:23 Did google have a lower expiry limit before? Apr 05 01:01:28 can anyone tell me the refresh method in this doesnt work for the first button? Apr 05 01:01:34 code1, no Apr 05 01:01:35 http://pastebin.com/E3HsXg4V Apr 05 01:03:55 Okay I'm having another problem. I moved all the logic to populate the listview to the onPostExecute, but I am still getting the illegal state exception for modifying the adapter outside the UI Thread Apr 05 01:04:01 pfn: is there any reason not set the cert expiry to 100 years? Apr 05 01:04:48 oh I know why.. Apr 05 01:05:22 code1, no reason, other than there is a upper limit to the time range allowed in x509 Apr 05 01:05:30 just set it as long as you can Apr 05 01:05:37 Nope, nevermind..still occuring Apr 05 01:06:02 ..Oh onProgressUpdate. Apr 05 01:06:03 -_- Apr 05 01:07:25 pfn: do you know what that limit it. Also can you revoke / invalidate a certificate? Apr 05 01:08:11 code1: i think the human race could be extinct in 100 years, does it really matter ? Apr 05 01:08:15 for signing apps, no Apr 05 01:08:18 anyone get a chance to look at what I pasted? i have no idea why it wouldnt work unless it's some android issue or i'm overlooking something completely obvious Apr 05 01:08:37 mudzereli, you should read that smart questions linke, too ;-) Apr 05 01:08:58 what smart questions link Apr 05 01:09:26 g00s: Yes I think it matters if the human race were extinct in 100 years. Apr 05 01:09:27 you know they say "there is no such thing as a bad question". I think this is completly wrong... Apr 05 01:09:36 Jug6ernaut, utterly Apr 05 01:09:50 i've never been in this channel before and i dont see anyhting in the topic regarding a smart questions link Apr 05 01:09:57 so sorry if i seem like an idiot Apr 05 01:10:05 mudzereli, heh, messing with you, when something doesn't work, give as much detail as possible Apr 05 01:10:10 rather than making someone read through all of your code Apr 05 01:10:12 i pasted a link to the class Apr 05 01:10:15 sheesh people. be nice(r). Apr 05 01:10:20 and mentioned the message Apr 05 01:10:30 http://pastebin.com/E3HsXg4V -- refresh method doesnt work on the first button in the gridview Apr 05 01:10:46 what's the first button Apr 05 01:10:50 why do I want to read all of your code? Apr 05 01:11:01 Uh, so.. buttons[position] = button; Apr 05 01:11:03 i gave you the name of the method, i included the entire class for context Apr 05 01:11:08 You do know it reuses views? Apr 05 01:11:46 yes i understand that, i could move the buttons[position] = button; part up, i was moving it around to try and figure out the main issue Apr 05 01:11:49 Oh, I had to call adapter.notifyDataSetChanged(); Apr 05 01:11:52 Works now! Apr 05 01:12:16 anyone know how to fix "D/SurfaceFlinger: Rotation is not finished. Skip the composition" on ICS? Apr 05 01:12:57 17:55 BenRain, in that case, adapter.notifyDataSetChanged() Apr 05 01:13:10 Oh I'm sorry I mnissed that Apr 05 01:13:15 Hello Apr 05 01:13:19 Anyway, what does "doesn't work" mean? Apr 05 01:13:25 Does it crash? Is refresh not called? Apr 05 01:13:56 it works on every button except the one in position 0 of the array. Apr 05 01:14:16 I am just wondering, is it possible to set a fixed gps emitter (on land), in order to increase precision? Like engineers do for building bridges... Apr 05 01:14:21 for that one, it just does nothing Apr 05 01:14:24 no error, nothing Apr 05 01:14:29 Is refresh called? Apr 05 01:14:55 yep Apr 05 01:15:20 So "it doesn't work" means that setText("TEXT") doesn't set the text on the button? Apr 05 01:15:44 yes Apr 05 01:15:55 look Apr 05 01:16:12 im really sorry that i seem like a complete idiot right now. i'm just very frustrated by this Apr 05 01:16:33 adapters aren't the most trivial thing in Android, either Apr 05 01:17:14 so where is Listview v2 ? Apr 05 01:17:34 mudzereli, you need to notifyDataSetChanged Apr 05 01:17:37 probably Apr 05 01:18:00 buttons[0].setText("TEXT");notifyDataSetChanged(); Apr 05 01:18:11 g00s: in a future far, far away Apr 05 01:18:28 what would a listview 2.0 feature? Apr 05 01:18:29 Well, first off, keeping references to the buttons in an array is.. yeah.. Apr 05 01:18:53 I bet there's some magic going on causing that to fail Apr 05 01:20:02 Like listview calling getView a few extra times to measure, causing your buttons[0] to not actually be on screen Apr 05 01:21:04 well, it's buttons[N] == buttons[M] Apr 05 01:21:26 because convertView should be present for every button Apr 05 01:21:31 except the first Apr 05 01:21:38 i'm allergic to this cat, but it always wants to jump in my lap Apr 05 01:21:38 With Android GPS system, I can locate the current position, based on the satellites... On bridge projects, the engineers need way more precision, and often they fix a gps emissor on land, in a known position, and then they can increase the precision of this location to millimeters or centimeters... Is it possible with Android? I mean, can I place an emissor on land and make Android recognize it and use it? Apr 05 01:21:46 so why do you have a cat? Apr 05 01:21:54 Except the first Apr 05 01:22:11 eh? Apr 05 01:22:16 micael: maybe you can communicate with the fixed unit using bt ? Apr 05 01:22:21 the first N visible don't have a convertview? Apr 05 01:22:28 That's right Apr 05 01:22:31 pfn: heh, i don't … room mate does Apr 05 01:22:35 It can't reuse the same view for every row on screen Apr 05 01:22:39 okay i think that might be what's causing it then Apr 05 01:23:36 it has something to do with just that first one Apr 05 01:23:39 g00s: this would require a very near distance from it... I was wondering if Android will not just recognize it as a satellite and use it as well, automatically increasing the precision of the position... I don't quite understand how Android recognize satellites, so I cannot be sure of it :P Apr 05 01:23:59 SimonVT, that's not true, especially if it's homogeneous Apr 05 01:24:09 the "can't reuse the same view for every row" Apr 05 01:25:07 something weird is going on with buttons[0] everything else works fine. it's probably something to do with the android ui api that i dont understand well enough yet Apr 05 01:25:10 Okay then. It doesn't use the same view for every row on screen Apr 05 01:25:18 with the way views are reused Apr 05 01:26:36 is there a better way to reference the buttons by their position on the screen rather than trying to store them in an array when getView is called? Apr 05 01:27:19 mudzereli: list.getChildAt(...)? Apr 05 01:28:25 is there something like that for a gridadapter Apr 05 01:28:29 err gridview* Apr 05 01:28:46 same thing Apr 05 01:31:24 What exactly is a Bundle? Like when you start a new activity and a bundle is passed through the onCreate, where does that bundle come from? What is it? etc Apr 05 01:33:17 technically, it's instantiated by the Binder low-level infrastructure and populated with the information that was provided by the Activity Manager [who is the entity controlling the startup of your app etc] Apr 05 01:33:32 Bundle is a generic container format designed for efficient serialization Apr 05 01:34:51 Woah Apr 05 01:34:54 Awesome answer Apr 05 01:34:55 now, the Bundle passed as an argument to Activity.onCreate() is a copy of the one that your activity previously populated in its onSaveInstanceState() method -- this is in the docs, hint hint :) Apr 05 01:35:12 I read android.os.bundle Apr 05 01:35:17 But it didn't help me much Apr 05 01:35:33 yeah, that's pretty much just "what can i do with this thing now taht i have it?" Apr 05 01:35:47 where it came from and why is a different question Apr 05 01:36:26 so all you have to do is put in "Bundle" there isn't a name for the one you want? Apr 05 01:36:30 Is it bad to add a bunch of variables to an intent to pass to another activty?Random number here for an idea, but like 50 for example? Or is this just like having 50 local variables in the activity? Apr 05 01:37:19 it's a little odd to need to pass that many parameters to an activity that you're starting up Apr 05 01:37:46 in practical terms it's not hugely expensive or anything, unless they're something huge like bitmaps or database cursors or something Apr 05 01:38:18 Or no, I basically just mean strings Apr 05 01:38:22 or ints Apr 05 01:38:27 no worries then Apr 05 01:38:29 WTB> pastebin-like service with javascript based intelligent code-folding Apr 05 01:38:40 dualMoon: +1 Apr 05 01:38:42 that'd be nice Apr 05 01:39:03 even just the most basic class/function folding would be handy Apr 05 01:40:05 Oh, good idea Apr 05 01:40:46 someone make it and put somewhere in the source "dualMoon totally thought this cool idea up, but did absolutely no work to make it happen." Apr 05 01:41:11 I want to align some icons in a left to right, top to bottom fashion. So as many on the first line that fits, then move on to the second line, and so on. Is RelativeLayout the correct way to do this? Apr 05 01:41:57 ElevenSquard: mmm, no. you essentially want to flow them as though each icon were a word of text? Apr 05 01:42:06 honestly you probably want to write your own layout to do this. Apr 05 01:42:06 correct. Apr 05 01:42:26 romainguy: did you see that article about that guy removing the low pass filter from his mk iii ? Apr 05 01:42:28 it'll be less weird than trying to kitbash one of the existing layouts into doing what you want Apr 05 01:42:42 g00s: i think romainguy may be AFK Apr 05 01:42:54 ctate: thx Apr 05 01:43:32 Im new to android/java. Is it difficult to create your own layout controls? Apr 05 01:44:51 ElevenSquard: no it's not Apr 05 01:44:59 sorry to be on the rapid fire question streak we got goin but... trying to download and use a database from my server to client. I've written some code, but its horrible, so which direction should i take this? I havent found anything on google or stackoverflow, i've read the painless threading and oracle threading explanations but im still at a loss of how to go about it... and ideas? Apr 05 01:45:38 njkt: dl a db ? Apr 05 01:45:57 right now i have chained an AsyncTask to compare versions and execute the download but im thinking my implementation is stupid Apr 05 01:46:06 g00s: yeah, many were doing it on the Mk II Apr 05 01:46:20 holy crap! thanks to people here being (mostly) patient, and just walking the hell away from the code for hours at a time, i have figured out everything i couldn't figure out before. thank you all, even the mean ones of you ;P Apr 05 01:47:22 \o/ Apr 05 01:47:41 i suppose i could just move the db from assets and open from their and lazyload images but with that would end up being a lot of server queries as data changes on a bi monthly basis Apr 05 01:47:53 would anyone mind glancing over my two java files to tell me if i've done anything asinine before i move on to the next part of my project? Apr 05 01:49:08 dualMoon: yes, I mind. Apr 05 01:49:15 JakeWharton: I'm thinking on a larger scale Apr 05 01:49:16 My hourly rate is $250 Apr 05 01:49:44 romainguy: is that pretty much what the nikon d800 E does ? Apr 05 01:49:51 pragma`: Isn't there any *other* way I could pay? Apr 05 01:49:52 yep Apr 05 01:49:58 so you pay more so they can give you less Apr 05 01:50:04 :D Apr 05 01:52:25 dualMoon, I like the way you think Apr 05 01:52:34 Walt Mossberg said Nokia's new phone is crap! More or less. Apr 05 01:53:23 I played around with it, it's a lot worse than I was expecting Apr 05 01:53:53 alright then, off to the next phase of my project then. Apr 05 01:56:15 wabz: that sucks, oh well Apr 05 01:56:39 the ars technica article pretty much sums it all up Apr 05 01:57:09 I thought if anyone else was going to pull marketshare from iOS/android it would be microsoft Apr 05 01:57:14 look what they've done with bing Apr 05 01:58:28 bing is "good" now? Apr 05 01:58:39 I don't use it, but I've heard it's pretty decent Apr 05 01:58:55 it's certainly got some marketshare Apr 05 01:59:04 i want to see cool new stuff succeed; so i hope wp8 does well Apr 05 01:59:25 i think windows 8 on tablets is going to be very important Apr 05 01:59:26 g00s is keen to learn 5 more platforms Apr 05 01:59:39 just iOS, android, and wp8 Apr 05 01:59:47 (-: Apr 05 02:00:00 EddieRingle: Apr 05 02:00:07 found one you like? Apr 05 02:00:09 how do you ghost on this dumb network Apr 05 02:00:41 haha gotcha bitch Apr 05 02:01:07 I chose Colloquyewiruye Apr 05 02:01:08 it sucks Apr 05 02:01:11 hah Apr 05 02:01:14 I use Linux Apr 05 02:01:19 lucky Apr 05 02:01:24 I know Apr 05 02:01:27 JakeWharton: using the latest colloquy ? Apr 05 02:01:32 don't know Apr 05 02:01:43 its in the topic for the colloquy channel Apr 05 02:02:06 i was going to give up on it until i tried this rc Apr 05 02:02:16 Quassel is, imo, the very best irc client if you have a server to run it on Apr 05 02:02:40 JakeWharton: anyways, my current project is a bit on a larger scale Apr 05 02:02:54 but I need to separate it out from hubroid soon Apr 05 02:02:58 lets go PM Apr 05 02:03:01 lets Apr 05 02:03:17 how the hell do i PM Apr 05 02:03:35 * EddieRingle saves the day Apr 05 02:03:38 u get a message Apr 05 02:03:46 and u send it privately Apr 05 02:03:49 :P Apr 05 02:03:50 stupid client is stupid Apr 05 02:04:04 * Jug6ernaut prefers mirc Apr 05 02:04:14 * Jug6ernaut blames comcast Apr 05 02:18:01 so, im trying to test my app, and i can install it and it works with adb, but it wont install via package manager. saying its a premissions denial Apr 05 02:18:06 is that normal? Apr 05 02:24:33 yikes, new kb/mouse is messing me up :) Apr 05 02:29:56 I prefer TCP/IP as my client Apr 05 02:30:20 reading and writing pure IRC protocol telnet Apr 05 02:33:10 o.o Apr 05 02:33:46 *via telnet Apr 05 02:34:01 why the hell does Coloqueyrwouywrt center join/part/nick things Apr 05 02:34:31 JakeWharton: are you using the iOS version? wth ? Apr 05 02:34:45 yes Apr 05 02:34:50 oh Apr 05 02:34:51 through my Airport Apr 05 02:34:58 with my iTV Apr 05 02:35:03 hooked up to my Apple TV Apr 05 02:35:20 so, my image button has a yellow line following when you drag your finger over it Apr 05 02:35:21 with my tight jeans and cool glasses Apr 05 02:35:24 yeeeeeeeah Apr 05 02:35:24 how do i change that? Apr 05 02:35:32 turtleneck? Apr 05 02:35:41 ooo yes Apr 05 02:40:32 JakeWharton, you've gone to the dark side? Apr 05 02:44:09 JakeWharton - textual Apr 05 02:45:15 i hear good things about textual too. you can build it yourself if you have Xcode installed Apr 05 02:45:33 I used this other one Apr 05 02:45:55 Is it possible to set the border on just 3 sides for a shape drawable? Apr 05 02:46:00 huge pos and when I tried to report the bug, the authors basically bitched me out =) Apr 05 02:46:15 ron_frow_: which was a pos ? Apr 05 02:46:26 linkinus Apr 05 02:46:40 this was back in v1 days Apr 05 02:47:07 but I reported a legit bug and basically was told to go f myself =) Apr 05 02:47:08 haha Apr 05 02:49:19 ron_frow_: well, at least they cared - i mean, they cared enough to tell you to go f yourself. they could have just ignored you. Apr 05 02:49:43 :) Apr 05 02:52:16 For those who use the Swype keyboard, is it foss? Apr 05 02:54:12 no Apr 05 02:54:35 oh wait I don't use Swype and your question was phrased in a way in that you don't want responses from non-users Apr 05 02:55:33 that's okay. Apr 05 02:55:39 what the fuck is foss Apr 05 02:55:53 I use swype and its tits Apr 05 02:55:59 free open source software Apr 05 02:56:19 totally commercial Apr 05 02:56:39 I really like the way it handles tapping the keys. No popups. I wanna figure out how it does that. Apr 05 02:56:53 ? Apr 05 02:57:34 random, I know. **** ENDING LOGGING AT Thu Apr 05 02:59:58 2012