**** BEGIN LOGGING AT Sun Feb 26 02:59:59 2012 Feb 26 03:07:55 I hate how things don't work when they should Feb 26 03:11:07 t0mless: dont we all Feb 26 03:12:31 I say that a LOT when working with X Feb 26 03:12:45 lol Feb 26 03:12:59 I remember like 5 years ago trying to get X to work with dual monitors with an ATI card Feb 26 03:13:01 Im happy you laugh at my misfortune Feb 26 03:13:07 it was painful Feb 26 03:13:20 Trust me, it hasnt gotten any better, atleast with ATI Feb 26 03:13:30 Intel and Nvidia arent so bad Feb 26 03:14:59 I haven't had any issues with nvidia and dual monitors Feb 26 03:15:31 Depending on the protocol im using, ATI can be bad.. but it gets worse when you get up to 4 monitors, and dont even bother asking me about 6 Feb 26 03:17:42 DrPenguin: Nvidia Sucks Feb 26 03:17:53 coolstar-ipod: Ill take Nvidia over ATI anyday Feb 26 03:18:35 DrPenguin: no computers that I've seen have had ATI or intel graphics cards fail Feb 26 03:19:03 Oh im not so much talking about hardware as I am software, but Ill buy an Nvidia Card over an ATI card anyday Feb 26 03:19:04 DrPenguin: but I've seen 2 with Nvidia cards fail Feb 26 03:19:23 Ive had 1 Nvidia card fail but it was a cheapo 50 buck card that lasted me atleast 4 years Feb 26 03:20:15 DrPenguin: btw on one of the two computers, the owner only used it for Web Browsing and Word Processing Feb 26 03:20:28 coolstar-ipod: what was the OS? Feb 26 03:20:42 DrPenguin: Windows Vista Feb 26 03:20:54 Lol well unless you disabled them, you were using 3d effects and compositing Feb 26 03:21:31 DrPenguin: It wasn't my computer, and I only saw it after the card failed so idk if they were enabled Feb 26 03:21:51 my moneys on that they were ;) Feb 26 03:21:57 fuck Feb 26 03:22:05 JakeWharton i'm an idiot. but you are too Feb 26 03:22:33 DrPenguin: btw. I use 2 displays with KWin effects on my PC with an ATI card. Works flawlessly Feb 26 03:22:37 unregister used IMPLEMENTATIONS.remove(implementationClass)... but that's not the key Feb 26 03:22:38 o-O Feb 26 03:22:43 remove needs the key Feb 26 03:23:02 so if I use implementationClass.getAnnotation(Implementation.class) it works Feb 26 03:23:12 but then it broke the samples activity on ICS Feb 26 03:23:16 coolstar-ipod: I usually disable effects, no need for the eye candy and the wasted memory / processor time to render Feb 26 03:23:49 But I think if were gonna continue this, its best to do it in PM, were gettin off topic ^^ Feb 26 03:25:32 It seems to think the theme isn't set? hrm... Feb 26 03:28:34 DrPenguin: using kwin here with desktop effects results in a noticable lag when dragging windows around Feb 26 03:28:51 so much that if I drag a window in a circle 3-5 times that after stopping the drag it will make about 2 circles on its own Feb 26 03:29:12 but I use mate :D Feb 26 03:39:39 Howdy howdy. Feb 26 03:44:59 Does anyone have a line on how to mess with the ActionBar icon/title? Feb 26 03:45:28 Ideally I'd like to change the "<" that arrives when you set the scope to be moving back. Feb 26 03:45:37 Change it from like "<" to "x" or something. Feb 26 03:52:16 Greetings Feb 26 03:53:40 Does anyone know the name of the dialog used on d.android.com in the Dialog Design page that looks like a number picker? I need one of those for an app Im writing Feb 26 03:53:59 DrPenguin: link? Feb 26 03:54:11 http://developer.android.com/design/building-blocks/dialogs.html Feb 26 03:55:21 DrPenguin: did you check out the API examples? it contains all widgets by name (+ example) Feb 26 03:55:55 t0mless, hahaha Feb 26 03:55:59 JakeWharton i'm an idiot. but you are too Feb 26 03:56:01 I havent looked at the API Examples lately.. I just figured there wasnt anything when I googled, everything points to open source ones on github or other bs but Id rather just use strictl stuff inside Android Feb 26 03:57:48 DrPenguin: i guess it's a custom dialog... but not sure Feb 26 03:58:00 rigid: I am gussing too, but I would love to be able to use it Feb 26 03:58:33 Anyone have a suggestion for an Android game engine? Feb 26 03:58:47 NightmareApps 2D or 3D Feb 26 03:59:11 DrPenguin: check the ApiDemos if it's in android, it's in there Feb 26 03:59:12 probably 2d, but ill take 3d suggestion too Feb 26 03:59:16 AndEngine Feb 26 03:59:27 JakeWharton did you read why? Feb 26 03:59:28 rigid: I may just do that.. I hope theres something in there Feb 26 03:59:38 I felt so fucking dumb Feb 26 04:00:02 rather than cocos2d-x or marteengine? Feb 26 04:00:14 my experience with cocos2d-x is *vomit* Feb 26 04:00:17 but that was last july Feb 26 04:00:19 or june Feb 26 04:00:26 never heard of marteengine Feb 26 04:00:33 disclaimer: i work for the company that owns andengine Feb 26 04:00:44 and the guy who wrote it is a good friend of mine Feb 26 04:01:00 ah Feb 26 04:01:07 slick2d ae? Feb 26 04:01:28 never used slick2d Feb 26 04:01:35 ah Feb 26 04:01:40 anyone else have suggestions? Feb 26 04:02:16 Plastics. Feb 26 04:02:19 dont just pass up andengine Feb 26 04:02:21 it's quite good :P Feb 26 04:02:45 t0mless, yeah Feb 26 04:02:50 i told you that i haven't tested Feb 26 04:03:49 well, once I fixed that and enabled ability to force compat bar Feb 26 04:03:51 it exploded Feb 26 04:03:54 everywhere Feb 26 04:04:01 rigid: theres also something similar in the Data Usage Activity in ICS.. it has a dialog iwth looks like a dial type spinner Feb 26 04:04:06 God I wish I could figure out wtf it is Feb 26 04:04:08 One instance of "android.support.v4.util.LruCache" loaded by "dalvik.system.PathClassLoader @ 0x416a3480" occupies 44,862,280 (74.93%) bytes. Feb 26 04:04:10 <.< Feb 26 04:04:12 >.> Feb 26 04:04:31 YOU UNDERSTAND WHAT A LRU CACHE IS, RIGHT LRUCACHE? Feb 26 04:05:23 Large Runtime Usage? Feb 26 04:05:40 canadiancow: i want to use andengine but its so slow development compared to slick2d Feb 26 04:05:48 really? how so Feb 26 04:05:49 and i cant find anywhere good to learn it Feb 26 04:05:53 ah Feb 26 04:05:56 slick2d is simple to pick up Feb 26 04:05:59 the examples are a good start for the basics Feb 26 04:06:08 #AndEngine has people who can help :) Feb 26 04:06:30 starlon did a port of libvisual for android which already looks very nice. But it is still highly alpha and could use some help. If you like audio visualization and like to check it out: https://github.com/Starlon/FroyVisuals/ and join #libvisual Feb 26 04:07:33 feel free to try the .apk... comments welcome Feb 26 04:07:44 Hello Feb 26 04:09:27 is there a current and working guide for installing and setting up the dev software for making droid apps ? Also looking for a GUI based dev tool Feb 26 04:09:37 ResourceNotFoundException!! Feb 26 04:09:39 :( Feb 26 04:10:18 google stuff. Eclipse is nice. Feb 26 04:10:26 lwizardl: check out http://d.android.com it's all there Feb 26 04:10:57 eclipse is not nice (imo) but it's the only supported GUI way atm :) Feb 26 04:11:08 rigid, define supported Feb 26 04:11:12 use Makefiles! *yell* Feb 26 04:11:17 :) Feb 26 04:11:20 IntelliJ has great Android support Feb 26 04:11:33 michaelnovakjr: documented, free, widely used... hmm Feb 26 04:11:55 michaelnovakjr: does it work on linux? is it free? Feb 26 04:12:00 i'd try it then Feb 26 04:12:01 yes Feb 26 04:12:05 ah nice Feb 26 04:12:12 thanks Feb 26 04:12:26 there's a community edition Feb 26 04:12:42 rigid, does Eclipse act as a GUI for coding IDE or for building the apps like VB ? Feb 26 04:13:01 lwizardl: both... but I don't use it Feb 26 04:13:34 hello Feb 26 04:13:36 i just used it to create some GUI to learn how the XML looked like... then did it by hand, commenting the XML decently etc. Feb 26 04:13:47 lwizardl: don't except gui-designer support, as you have it in VS. Feb 26 04:14:00 but i'm a bit conservative when it comes to building and eclipse etc... Feb 26 04:14:29 rigid: what are you using to build apps then? Feb 26 04:15:06 rigid, ah ok. this will be my first time doing application dev for android and looking to do a simple vehicle vin code decoder for learning how to make the applications Feb 26 04:15:21 part`: Makefiles Feb 26 04:15:37 lord Feb 26 04:15:46 part`: like "make" , "make sign", "make keygen", "make install", "make debug" etc... Feb 26 04:15:56 why would you do that? Feb 26 04:16:13 just because I hate eclipse and it crashes more often than a drunken whore Feb 26 04:16:28 TypedValue{t=0x2/d=0x7f010027 a=-1} what information can I use from this? Feb 26 04:16:37 and it's slow... if you're used to coding with emacs, you can't switch to eclipse easily :) Feb 26 04:16:50 rigid so use emacs... Feb 26 04:17:03 rigid: maybe it's time to buy new computer. ;-) anyway - have you tried maven instead? Feb 26 04:17:21 it's fine thing, and can automate your testing process. Feb 26 04:17:37 (if you have any :P) Feb 26 04:17:50 i tend to release my code and I don't want to force anyone to install eclipse just to build my stuff Feb 26 04:18:21 part`: never tried maven, what is it? Feb 26 04:18:40 in big shortcut - it's something like ant. Feb 26 04:19:12 i'm not a professional developer tho, i'm very fine with just one Makefile which only serves as "frontend" for ant Feb 26 04:19:21 so practically i use ant Feb 26 04:19:36 and a Makefile as a wrapper to shorten the long commands Feb 26 04:20:15 you're a first person i met who is using Makefiles to build android apps. :) original, never tried it Feb 26 04:20:22 i admit this isn't the best way to do professional development of large projects :) Feb 26 04:20:27 i guess Feb 26 04:20:37 part`: well, NDK uses sorta Makefiles Feb 26 04:20:50 Android.mk is make-on-steroids... very nice Feb 26 04:21:07 sure, but NDK is C/C++, and Makefiles are common thing for those. Feb 26 04:21:43 well, Makefile actually is outdated... most projects use cmake or autoconf or alike... Feb 26 04:21:58 SimonVT you showed me the google tv session right? Feb 26 04:22:06 but make still serves nicely for most stuff, as long as no complex stuff is needed Feb 26 04:23:05 rigid: do you use some external libraries in your projects? Feb 26 04:23:40 rigid, ant is pretty standard Feb 26 04:23:53 and you even get a build.xml script with android projects Feb 26 04:24:09 part`: yep, in some of them i do Feb 26 04:24:31 michaelnovakjr: i'm just not used to it, i like "make && make install" to be ready to fly... Feb 26 04:24:49 michaelnovakjr: i use ant, i just use make as a wrapper Feb 26 04:24:51 lol Feb 26 04:25:00 rigid, 'ant debug' and 'ant release' are too complicated? Feb 26 04:26:13 rigid: then maven can download them for you automatically. Feb 26 04:26:35 it's very helpful in JEE projects for example, when you're using tons of external jars Feb 26 04:27:10 t0mless, no, it was removed because google got confused Feb 26 04:27:32 michaelnovakjr: http://pastebin.com/UrQWrFpr that's one of my simpler Makefiles (no ndk stuff) Feb 26 04:27:50 part`: ah Feb 26 04:28:30 rigid, totally not needed Feb 26 04:28:44 my 'ant release' does all that :) Feb 26 04:28:50 michaelnovakjr: if it only were "ant debug" and "ant release" i would have never done it... Feb 26 04:28:56 michaelnovakjr: it creates your key? Feb 26 04:29:05 creates my key? Feb 26 04:29:14 and signs the apk? Feb 26 04:29:15 it signs the app using the single key that I created once per app Feb 26 04:29:50 michaelnovakjr: i just copy the Makefile to an empty directory and "make keygen && make update" and i got a new project Feb 26 04:29:58 only thing i have to change is APPNAME and ACTIVITY Feb 26 04:30:15 what would be simpler and cleaner? Feb 26 04:30:43 my local.properties file contains the variables to sign the apk when I run 'ant release' Feb 26 04:31:42 you make a new key for every project? Feb 26 04:31:48 you're not supposed to do that Feb 26 04:31:50 eclipse -> file -> export -> export android application? why should I mess with a local.properties file? Feb 26 04:31:53 it makes inter-app permissions very difficult Feb 26 04:31:59 michaelnovakjr: i don't need to create a local.properties by hand Feb 26 04:32:18 readme: because some people don't like using eclipse Feb 26 04:32:22 ohh Feb 26 04:32:32 canadiancow, huh? Feb 26 04:32:35 if you use the same keystore but different alias does that still mess with the permissions? Feb 26 04:32:43 probably Feb 26 04:32:46 its the key that you can use Feb 26 04:32:49 the signature permission Feb 26 04:33:02 if all your apps are sigend by the same key, its easy to allow apps to talk to each other without letting in intruders Feb 26 04:33:18 canadiancow, if that was a concern of mine I would do that. Feb 26 04:33:24 :) Feb 26 04:33:33 its not a concern until it is Feb 26 04:33:35 and then it's too late... Feb 26 04:33:51 trust me Feb 26 04:33:52 i know Feb 26 04:35:40 canadiancow, if you are building common apps that makes sense Feb 26 04:36:30 well when you start building, you only have one Feb 26 04:36:34 and you might not know it's common Feb 26 04:36:46 although i guess this would only amtter at the second Feb 26 04:36:47 meh Feb 26 04:36:50 i'll let you have this one Feb 26 04:37:02 lol Feb 26 04:37:32 someone at work at one point decided to use a new key for one game Feb 26 04:37:35 it's causing minor issues Feb 26 04:37:44 jason wasnt pleased Feb 26 04:38:13 jason? Feb 26 04:38:20 someone mike and i know Feb 26 04:39:06 canadiancow, yea in that case I wouldn't be thrilled Feb 26 04:39:21 I could see games being the case where it makes sense Feb 26 04:39:23 JakeWharton well... I got the ActionBarSherlockCompat class to load on ICS... but it definitely doesn't work Feb 26 04:39:47 it puts the native action bar above and then the compat one with all the menus and stuff right below it Feb 26 04:40:00 but no icon or anything in the second one Feb 26 04:40:07 just the menus/action mode Feb 26 04:40:21 and the background is just empty Feb 26 04:40:46 is there an andengine game with opensource that i could look at? Feb 26 04:40:59 my determination to make this work on ICS with Theme.Sherlock.Light.NoActionBar is really screwing me -_- Feb 26 04:41:24 NightmareApps check the forum and andengine.org Feb 26 04:42:59 JakeWharton so if i update to latest ABS, i need to just include the normal support lib, and use SherlockFragmentActivity? Feb 26 04:44:07 and SherlockFragment Feb 26 04:50:38 lint seems to think ABS has a minSdkVersion of 1 Feb 26 04:50:41 and is giving me over 9000 errors Feb 26 04:50:54 where the hell does that guy keep disappearing to, it's not like he has to pack to move across the country.... Feb 26 04:51:00 why does it seem to think that? Feb 26 04:51:01 lol Feb 26 04:51:05 no idea Feb 26 04:52:29 i have a droid 3 flashed to metro. can i use CM9 and get full web/mms/gps/market? Feb 26 04:52:46 try #android-root or #cyanmod Feb 26 04:52:57 ok. sorry :) Feb 26 04:53:32 well i guess first, before i go, is android-root also a good place to ask why i ALWAYS lock up in Rom Manager when trying to do a backup? Feb 26 04:53:55 yup Feb 26 04:54:03 ok. thanks! peace Feb 26 04:55:04 I do wish intelliJ's logcat view as a bit better Feb 26 05:00:24 canadiancow, thanks Feb 26 05:00:29 <3 Feb 26 05:00:41 when i figure out why lint thinks the minsdk is api 1 on that, i'll do some more Feb 26 05:00:47 but now its like YOU CANT CALL SDK_INT ON THIS Feb 26 05:03:09 wait where is SherlockFragment and stuff Feb 26 05:04:43 o i c Feb 26 05:05:03 com.actionbarsherlock package I think Feb 26 05:07:45 .app Feb 26 05:08:22 yea in the plugins directory Feb 26 05:08:23 oh, but they're in the support lib package Feb 26 05:08:25 THATS WHAT I NEEDED Feb 26 05:09:07 another PR coming over Feb 26 05:09:19 bah Feb 26 05:09:29 guess I better pull then Feb 26 05:09:57 bitch fuck Feb 26 05:10:00 how do i undo a commit Feb 26 05:10:01 tits? Feb 26 05:10:03 like remove it from history Feb 26 05:10:09 the last one? Feb 26 05:10:13 yes Feb 26 05:10:15 its pushed Feb 26 05:10:42 i know ive done it before Feb 26 05:11:10 git reset --hard HEAD~1 and git push origin HEAD --force ? Feb 26 05:11:20 git reset --hard HEAD^ Feb 26 05:11:44 you don't need the HEAD on the last one Feb 26 05:11:46 but yeah Feb 26 05:11:49 probably still works Feb 26 05:11:52 some FFT lib for android? Feb 26 05:15:06 PR sent Feb 26 05:16:45 merged Feb 26 05:16:51 <3 Feb 26 05:17:03 thats one thing i never understood about the default proguard config Feb 26 05:17:11 Why can't you set showAsAction on submenus? Feb 26 05:17:11 everywhere it says -keep______ class _____ Feb 26 05:17:19 if you stick a !abstract in there, it can obfuscate so much more Feb 26 05:17:24 rather than MyBaseActivityThatChecksLvl Feb 26 05:17:27 it changes its name Feb 26 05:17:32 because its never directly instantiated Feb 26 05:18:14 makes sense Feb 26 05:18:24 keep these coming Feb 26 05:18:29 :) Feb 26 05:19:03 well now you have to wait until i have my app running on it again Feb 26 05:19:13 the abstract was actually necesary because of how i use MapActivity Feb 26 05:19:14 :P Feb 26 05:19:37 wait is there no SherlockPreferenceFragment? Feb 26 05:19:50 plugin Feb 26 05:19:58 oh wait Feb 26 05:20:03 the fragment doesn't work I don't think Feb 26 05:20:07 it did before Feb 26 05:20:43 canadiancow, no Feb 26 05:20:48 feel free to port that bitch Feb 26 05:20:51 it's hell Feb 26 05:20:53 theres no porting Feb 26 05:20:58 im confused Feb 26 05:21:01 i dont want it pre 3.0 Feb 26 05:21:03 you either have to use reflection or bring the entire preferencemanager along Feb 26 05:21:03 i want on 3.0+ Feb 26 05:21:06 but i need it sherlocked Feb 26 05:21:18 two activities Feb 26 05:21:20 fucking @hide APIs and shit Feb 26 05:21:27 no Feb 26 05:21:27 no Feb 26 05:21:32 im only using it on 3.0+++++ Feb 26 05:21:37 uh Feb 26 05:21:43 so then use the built in PreferenceFragment Feb 26 05:21:45 just use the normal one Feb 26 05:21:49 oh Feb 26 05:21:50 ok Feb 26 05:21:51 :) Feb 26 05:22:01 and the non-support manager call Feb 26 05:22:02 shit seems to work on my phone Feb 26 05:22:45 i need to figure out this stupid 2.1 bug Feb 26 05:22:56 well im satisfied with the new abs updates :) Feb 26 05:23:35 excellent Feb 26 05:24:15 fuck Feb 26 05:24:17 I'm dumb Feb 26 05:24:23 I'm like why is this nulllll Feb 26 05:24:23 lol Feb 26 05:24:28 getActionBar() Feb 26 05:24:34 and I'm forcing it to use a compat implementation Feb 26 05:24:44 *headslap* Feb 26 05:25:27 I'm tempted to override that and put a @Deprecated or something on it Feb 26 05:25:41 hehe Feb 26 05:26:07 but then it wouldn't work on 1.5 or 1.6 Feb 26 05:26:13 not that they're supported yet Feb 26 05:27:34 oh wtf Feb 26 05:27:39 you include android-support-v4.jar Feb 26 05:27:58 so eclipse was fine but ant died Feb 26 05:28:00 because it was in /libs Feb 26 05:29:39 (Can't read [C:\Users\Scott\Documents\workspace\MapSupportLib\bin\classes.jar] (Duplicate zip entry [com/coveragemapper/android/b.class == classes.jar:android/support/v4/app/BackStackRecord$Op.class])) Feb 26 05:29:41 son of a cock Feb 26 05:29:57 canadiancow: son of a cock? thats interesting Feb 26 05:30:21 im clearing including the support lib twice Feb 26 05:31:17 clearly* Feb 26 05:32:54 [proguard] Removing unused program classes and class elements... Feb 26 05:32:55 [proguard] Original number of program classes: 527 Feb 26 05:32:55 [proguard] Final number of program classes: 346 Feb 26 05:32:58 thats the shit i like to see Feb 26 05:33:06 got down to 327 Feb 26 05:36:32 If anyone's interested, I just made my music-visualization app's first alpha release. https://github.com/Starlon/FroyVisuals#readme Feb 26 05:39:30 canadiancow, you use windows? Feb 26 05:39:54 yes Feb 26 05:40:01 willingly? Feb 26 05:40:07 yes Feb 26 05:40:15 interesting Feb 26 05:40:29 you saw what OS i had running on my macbook... Feb 26 05:40:42 and im pretty sure this same convo followed Feb 26 05:40:47 lol Feb 26 05:40:49 "willingly" is an understatement Feb 26 05:40:52 when zynga gave me a macbook Feb 26 05:40:55 i was like "fuck this" Feb 26 05:41:01 a week later, my thinkpad arrived :) Feb 26 05:41:06 now my macbook is sitting in my desk drawer Feb 26 05:41:11 I use a thinkpad Feb 26 05:41:20 running linux though, I can't work on windows Feb 26 05:41:21 my personal laptop is a macbook pro, but its running windows :) Feb 26 05:42:07 heh Feb 26 05:42:13 i could probably do linux Feb 26 05:42:30 but i also like work and home being the same Feb 26 05:42:35 and i dont know if i could do linux at work Feb 26 05:42:41 ah Feb 26 05:42:45 JakeWharton: i could make the fragments abstract too, couldnt i Feb 26 05:42:58 actually have you seen qualcomm's adreno profiler? Feb 26 05:43:00 its windows only Feb 26 05:43:01 i'm off, exhausted. headed to barcelona tomorrow Feb 26 05:43:04 so it was trivial for me to use Feb 26 05:43:10 but hard for other people :) Feb 26 05:43:11 have fun! Feb 26 05:43:19 thanks Feb 26 05:43:58 ls Feb 26 05:44:40 well Feb 26 05:44:45 I thought this idea was going to work Feb 26 05:45:19 make a new style Theme.Sherlock.Light.DarkActionBar.Compat and have it set all the values for the compat bar Feb 26 05:45:31 and have that in v14/themes.xml Feb 26 05:46:44 but it doesn't seem to be honoring the settings.... Feb 26 05:52:28 damn my xml parser and it's inability to decode hex colors like 0xFF00FF00 to int :( Feb 26 05:54:14 JakeWharton im getting a strange exception when i use proguard Feb 26 05:54:52 SherlockFragmentActivity: mSherlock = ActionBarSherlock.wrap(this, ActionBarSherlock.FLAG_DELEGATE); Feb 26 05:55:06 when that gets down to Constructor ctor = impl.getConstructor(CONSTRUCTOR_ARGS); Feb 26 05:55:10 i get NoSuchMethodException Feb 26 05:57:10 uses reflection to try to call the constructor Feb 26 05:57:35 can you filter progaurd based on annotations? Feb 26 05:57:58 eys Feb 26 05:58:55 then just tell it to not obfuscate anything with @Implementation Feb 26 05:59:56 I'm just assuming that's the issue, that it's trying to call ActionBarSherlockNative() constructor Feb 26 05:59:59 and not finding it Feb 26 06:00:14 or.... maybe it's because the CONSTRUCTOR_ARGS are obfuscated... Feb 26 06:00:43 private static final Class[] CONSTRUCTOR_ARGS = new Class[] { Activity.class, int.class }; Feb 26 06:00:43 anyone help me Feb 26 06:00:49 its the reflection Feb 26 06:01:44 fuck shit dammit Feb 26 06:02:00 the text colors that I'm trying to fix are being applied Feb 26 06:02:05 but NONE of the rest of the style is being applied Feb 26 06:02:21 Does anyone have any idea how to change a specific divider in a ListView rather than all the dividers? Feb 26 06:02:32 Like if I want to have most dividers normal, but change one of them to red or blue or something. Feb 26 06:03:27 i get this error http://pastebin.com/D6z4qCzS when trying to recompile SystemUI.apk when trying to mod the battery icon? Feb 26 06:03:46 Yes, I think you do get that error Feb 26 06:03:51 what an odd question. Feb 26 06:04:08 JakeWharton, instead of that reflection, think that it could just have a getInstance(Activity, int) method or something in the interface? Feb 26 06:04:13 -_- wow what a smart ass Feb 26 06:04:28 hehe Feb 26 06:04:38 it looks like you don't have aapt installed Feb 26 06:04:47 or don't have it in your path Feb 26 06:05:02 do you have the android sdk installed evoandroidevo Feb 26 06:05:49 did adding @Implementation to the filter not work canadiancow? Feb 26 06:05:52 do i need it? Feb 26 06:06:05 evoandroidevo that's where you'll get aapt Feb 26 06:06:29 aapt oh thats in the same fold as apktools Feb 26 06:06:35 folder* Feb 26 06:08:49 t0mless id rather not have to modify the proguard config Feb 26 06:08:58 because that wont fix this for others :P Feb 26 06:09:07 true Feb 26 06:09:37 are there any dependacys for aapt Feb 26 06:10:41 not as far as I'm aware of Feb 26 06:10:50 i'm sure it will complain if there is Feb 26 06:11:38 ( romainguy ): you'll probably like this: http://www.npr.org/blogs/pictureshow/2012/02/21/147206195/from-waterfall-to-lavafall-yosemites-fleeting-phenomenon?ft=1&f=1001 Feb 26 06:13:20 sigh been trying for hours to get this to work /: Feb 26 06:13:53 -keep public !abstract class * extends com.actionbarsherlock.ActionBarSherlock { public (android.app.Activity, int); } Feb 26 06:13:55 t0mless Feb 26 06:13:57 that works Feb 26 06:14:01 JakeWharton ^^ Feb 26 06:14:10 nice Feb 26 06:14:20 should probably add that to the wiki somewhere Feb 26 06:14:26 no Feb 26 06:14:30 this needs to be fixed INSIDE abs Feb 26 06:14:39 and if it wasnt after 1am, i'd look into it :P Feb 26 06:14:58 its 12 here /: Feb 26 06:15:14 ok? Feb 26 06:15:50 only 10 here, suckers! Feb 26 06:16:25 1! Feb 26 06:16:36 7 :P Feb 26 06:16:48 u and ur west cost Feb 26 06:17:20 well does anyone know another way to compile an apk Feb 26 06:17:45 what's not working now evoandroidevo? Feb 26 06:17:56 you had aapt in with apktool, didn't you? Feb 26 06:18:10 yes but its not working Feb 26 06:18:40 same error? Feb 26 06:19:23 yes Feb 26 06:20:20 and you're running apktool from the same directory as aapt? Feb 26 06:20:24 yes Feb 26 06:20:38 http://i.imgur.com/fTeoY.png Feb 26 06:20:43 then perhaps one of the targets is wrong? Feb 26 06:20:49 ^^ screenshot Feb 26 06:21:06 what's the error you have again Feb 26 06:21:15 http://pastebin.com/D6z4qCzS Feb 26 06:21:59 it looks like your missing aapt or its not in your PATH Feb 26 06:22:26 I bet Feb 26 06:22:33 it's actually because you have a space in your directory Feb 26 06:22:53 ok let me change it and see if it works Feb 26 06:24:00 how is my net so slow at 0123 Feb 26 06:24:05 is there really high usage? Feb 26 06:24:09 like fuck Feb 26 06:24:28 utorrent scheduler set to full speed porn downloads? Feb 26 06:24:44 torrents should be banned Feb 26 06:24:52 :O Feb 26 06:24:54 NEVAR Feb 26 06:24:57 they are probably the single largest reason why i can get 50Mbps download but only 1 up Feb 26 06:25:10 t0mless: yeah, I tried to go this year but couldn't Feb 26 06:25:42 still get the smae thing http://pastebin.com/GEium9V1 Feb 26 06:25:59 evoandroidevo: at a console, type which aapt Feb 26 06:26:43 nothing happens? Feb 26 06:27:22 you mean it erturned nothing? which should either return an absolute path or a null string, if its the later, then aapt isnt in your path, do you know for sure you have aapt? Feb 26 06:29:00 how i see i did which java gave me /usr/bin/java u know how to add to path on linux Feb 26 06:29:38 well theres a few ways to do it, one way is to just manip it in your .bashrc Feb 26 06:29:38 PATH=/path/to/aapt:$PATH Feb 26 06:30:29 some distros set PATH in /etc/profile so you can add it to it when its created versus having to edit it after its set Feb 26 06:31:59 man this is hard to do what ur tired on ubuntu 11.10 Feb 26 06:33:12 you're not a linux person are you evoandroidevo Feb 26 06:33:28 Don't Stop Believein' just came on on pandora Feb 26 06:33:33 i know somethings but not alot Feb 26 06:33:44 t0mless: crank that UP! Feb 26 06:33:57 Up to 11! Feb 26 06:34:04 OVER 9000! Feb 26 06:36:27 i'm probably going overboard doing ant clean debug everytime I change a resource Feb 26 06:36:34 it's not like command line ant is Eclipse... Feb 26 06:38:03 lol Feb 26 06:38:09 its all about "ant all clean" though :P Feb 26 06:39:57 of course it takes like 30 seconds just for ABS resources! Feb 26 06:40:11 sheesh Feb 26 06:42:45 How do I insert a horizontal line into my layout? What's the proper way to go about it? Feb 26 06:46:44 how i add aapt to path Feb 26 06:47:08 vadi2: I just drew a view whose layout_width matched parent, height was maybe 10 or 20dp, and set its color Feb 26 06:47:41 hm... alright, that's one way to do it Feb 26 06:52:05 i get this now its shorter Feb 26 06:52:06 http://pastebin.com/SSgmJdvj Feb 26 06:54:14 aapt, Y U NO WORK? Feb 26 06:54:30 lol Feb 26 07:02:16 your aapt is old I think Feb 26 07:02:27 because all those invalid resource things are pre 4.0 Feb 26 07:02:37 er Feb 26 07:02:38 post Feb 26 07:02:47 can you do aapt --version? Feb 26 07:03:03 oh Feb 26 07:03:04 nvm Feb 26 07:03:06 that doesn't even work Feb 26 07:03:17 yea lol Feb 26 07:03:37 do aapt v Feb 26 07:04:11 Android Asset Packaging Tool, v0.2 Feb 26 07:04:20 hrm, that's what mine says too Feb 26 07:08:07 do you have your apktool updated evoandroidevo? Feb 26 07:09:02 yea latest one off the google code page Feb 26 07:09:09 try getting most recent aapt from the android sdk Feb 26 07:09:19 what im doing now Feb 26 07:09:28 jesus christ... why won't this damn style apply Feb 26 07:10:31 where is it at in the sdk Feb 26 07:20:22 HELL YES the one for the sdk worked but its still version 0.2 lol Feb 26 07:24:10 thanks man Feb 26 07:24:26 just got to find where it buildt it at Feb 26 07:31:06 I wish aapt wouldn't stop when it hits my first typo Feb 26 07:31:15 and just go through the rest and output ALL my typos Feb 26 07:35:21 u know how to make a flashable zip Feb 26 07:36:56 divide one by zero Feb 26 07:37:32 http://android.modaco.com/topic/344906-how-to-create-a-flashable-zip-for-cwm/ Feb 26 07:37:42 thats hacks right there Feb 26 07:45:08 and what you're doing isn't hacks? Feb 26 07:45:35 divide one by zero Feb 26 07:45:40 thats hacks Feb 26 08:55:58 I'm looking for any examples of 256 bit rsa key pair generation. Has anyone got experience with this? it looks like 512 is the smallest supported by the jdk.. Feb 26 09:03:39 you can use putty to create any size I think Feb 26 09:03:42 at least on windows Feb 26 09:04:03 anyone for python-for-android? Feb 26 09:04:39 JakeWharton sent a pull request that will at least fix the Done text disappearing on <3.0 Feb 26 09:04:44 need assistance while settiing the dev environement Feb 26 09:05:02 JakeWharton I suspect you're sleeping though, and I'm heading that way Feb 26 09:05:06 for what OS hansg01 Feb 26 09:06:24 i want to create an android app using python, i googled for it and found one documentation but hv a query with pre-requisite on linux Feb 26 09:06:57 ive never see it python for android Feb 26 09:07:32 jcase: should i send you the link? Feb 26 09:08:44 jcase: some prerequisite that i couldn't understand, probably it is common when using java Feb 26 09:08:52 no Feb 26 09:09:00 im too drunk Feb 26 09:09:10 yo look at somethign new Feb 26 09:25:06 anyone know how I can merge changes I've made in my trunk into a branch that already exists (from Eclipse)? Feb 26 09:25:41 the options I have make no sense, i select Team -> Merge and I want to merge a range of revisions (well just my latest trunk into my branch 1.1.x) but it says no changes to merge Feb 26 09:30:01 hey Feb 26 09:30:11 i got android game source Feb 26 09:30:20 and java eclipse ide Feb 26 09:30:24 how to compile Feb 26 09:30:26 ASD Feb 26 09:30:40 http://thumbs3.ebaystatic.com/m/mA33qrlmFnVnEqlTtJZkhVA/140.jpg Feb 26 09:31:17 anyone know how to add a widget in ice cream sandwhich that is only available throught the long-click on the homescreen? Feb 26 09:37:47 why would u watn 256 rsa Feb 26 09:37:52 i could factor that in a day Feb 26 09:39:08 ohi Nighthawk Feb 26 09:39:11 nice to see you here Feb 26 09:39:42 yea bro Feb 26 09:39:45 android ftw Feb 26 09:39:47 ^ Feb 26 09:39:56 need to get away from iphone fags Feb 26 09:39:58 :P Feb 26 09:40:07 then why are you in #*ulous Feb 26 09:40:26 cuz i have admin Feb 26 09:41:23 http://9gag.com/gag/2702154 Feb 26 09:41:28 Nighthawk, ah cool story bro Feb 26 09:58:50 svn is just a pos i swear Feb 26 10:03:47 Hi all Feb 26 10:04:04 CanAm: herro Feb 26 10:04:14 Eclipse update folks! Feb 26 10:04:17 3.7.2 just released! Feb 26 10:04:26 now where to find a freaking changelog..... Feb 26 10:04:39 Anyone know of a decent visual app builder, kinda like flash? Feb 26 10:05:04 I'm just now getting into development, and and I'm "developmentally" disabled haha Feb 26 10:05:04 CanAm: flash Feb 26 10:05:16 Can flash compile to APK> Feb 26 10:05:17 ? Feb 26 10:05:42 you need to learn how to develop :) Feb 26 10:06:01 I agree, and it helps if I have a visual builder to help me with it :) Feb 26 10:06:21 a visual app builder does not help learning programming Feb 26 10:06:39 ra4king: That's the _point_ of them, though, right? Feb 26 10:06:47 I'm on lots of painkillers due to back surgery, so my cognitive processing and memory retention is a bit slow. Feb 26 10:06:54 Like a train doesn't help learn driving. Feb 26 10:06:56 Gumboot: the point of them is to quickly put something together Feb 26 10:06:56 Thus the want for a visual builder Feb 26 10:07:04 Gumboot: instead of coding Feb 26 10:07:22 CanAm: then google is your best shot Feb 26 10:07:41 there used to be a "visual app builder" for android, but it got shut down Feb 26 10:08:39 All of the ones I've found thus far have basically just been trumped-up links to blogs Feb 26 10:09:46 Also, concerning the train analogy- sure, trains can help you driving in that understanding trains can assist with learning the concepts of locomotion and internal combustion, as well as speed and force, albeit in a linear fashion. Feb 26 10:10:33 CanAm: i seriously doubt you would be remotely able to drive a car if you only rode trains...... Feb 26 10:11:13 Yeah... I pretty much just wander around looking for the spot that smells least like pee. Feb 26 10:11:22 Gumboot: O_o Feb 26 10:11:28 Don't spend so much time thinking about locomotion or combustion. Feb 26 10:11:42 * Gumboot lives in the UK. Feb 26 10:11:48 I don't know about you, but when I get into a vehicle, I like to know how they work. Feb 26 10:11:50 Haha Feb 26 10:11:56 well anyway Feb 26 10:12:01 updating eclipse takes forever Feb 26 10:12:33 all i want is a freaking changelog Feb 26 10:12:39 and i can't find it anywhere Feb 26 10:16:21 Looks like app inventor doesn't support windows machines for compiling. Feb 26 10:16:23 So no go for me. Feb 26 10:17:16 CanAm: App Inventor! Feb 26 10:17:22 that's the one I heard about Feb 26 10:17:28 and yes it does support windows Feb 26 10:17:32 i used it before and i run windows Feb 26 10:17:41 Err, the compiler rather Feb 26 10:17:57 The engine itself does, but the compiler has to be linux/gnu/etc Feb 26 10:18:07 <[deXter]> Um, hasn't App Inventor been discontinued? Feb 26 10:18:08 <[deXter]> Shunned? Feb 26 10:18:10 <[deXter]> Discarded? Feb 26 10:18:11 At least, that's what teh faq says Feb 26 10:18:13 *the Feb 26 10:18:19 <[deXter]> Tossed out? Feb 26 10:18:22 Google labs dropped it, but MIT took over the project Feb 26 10:18:23 <[deXter]> Disowned? Feb 26 10:18:58 <[deXter]> That's fine, but has MIT contributed anything significant to the project? That's the question.. Feb 26 10:19:04 [deXter]: hahahahaha Feb 26 10:19:11 it has been destroyed! Feb 26 10:19:27 <[deXter]> Or have they took over as in "This will make a jolly good addition to our tech museum." Feb 26 10:19:41 [deXter]: exactly Feb 26 10:20:48 MIT made it open source? haha, that's about it Feb 26 10:31:22 screw it, i'm learning scala Feb 26 10:31:24 for the hell of it Feb 26 10:33:18 And then writing an app in the next 6 days, then converting to .bar for the Playbook Feb 26 10:33:24 then getting a free playbook Feb 26 11:39:05 hi, what would be a good way to store textureCoordniates for the texture is my bitmaps. have like an xml? Feb 26 12:22:23 anyone who knows how to fix this error? http://pastebin.com/eLQGN5fc Feb 26 12:24:15 eradicus: hard to say without seeing your AndroidManifest file Feb 26 12:24:33 one second Feb 26 12:28:11 loke, here you go http://pastebin.com/3FHZP6dq Feb 26 12:28:55 target build is Android 4.0.3 Feb 26 12:39:31 haha, awww Feb 26 12:39:39 the built-in browser doesn't support websockets Feb 26 12:51:55 hey guys i have a question im trying to install the eclipse plugin and for some reason one of the tools refuses to install due to some missing dependency Feb 26 12:51:59 does anyone of the pros in here have a suggestion how visual_video_depth_transform() in https://github.com/Starlon/FroyVisuals/blob/master/jni/libvisual/lv_video.c could be optimized (for froyo and up)? Feb 26 12:58:46 hello Feb 26 12:59:15 Hi all Feb 26 12:59:18 can someone tell me why there is no /dev/log/system on my android 4 (emulator) ??? Feb 26 13:03:01 rigid: don't really see what is there to optimize... The best optimization is to make it unnecessary. Feb 26 13:04:06 alankila: yes, the pixel-by-pixel processing is slow, i hoped there was some android lib for doing depth-conversion or even better, some hardware doing it Feb 26 13:04:33 i'd also have little clue how to make it unnecessary at the moment Feb 26 13:05:03 decode directly to correct format you will need, or adjust display to match format was what I had in mind... Feb 26 13:05:40 the 8-bit palette hack is ... interesting. Feb 26 13:05:57 index = (r + g + b) / 3 basically Feb 26 13:06:51 so it follows that because of ambiguity, the indexed palette conversion for all-red, all-green and all-blue colors is the same, and might actually be dark gray. Awesome. Feb 26 13:07:12 this is quite possibly the laziest effort I've ever seen Feb 26 13:07:39 :) Feb 26 13:08:32 alankila: there's lots of "interesting" code in there... libvisual is quite widespread though Feb 26 13:08:38 the answer to shit like this is to delete code. Remove 8-bit capability, this code is probably never used because it will look like absolute shit for sure Feb 26 13:08:47 I've no clue how someone could have even written code like this. Feb 26 13:08:52 it's a typical example for a foss project with _lots_ of users and very few developers Feb 26 13:09:02 I can only imagine that it's grayscale converter -- it only supports grayscale Feb 26 13:09:14 alankila: actually it looks pretty good... some plugins are using that code Feb 26 13:09:41 but even in that case, the weighting of colors is all wrong, eye is most sensitive to green and least sensitive to blue... Feb 26 13:10:49 alankila: which function are you refering to exactly? Feb 26 13:11:02 was just looking at depth_transform_32_to_8_c Feb 26 13:12:21 alankila: gamma correction should already be aplied to the 32 bit buffer, right? so linear scaling should be ok Feb 26 13:12:35 anyway, I just don't think anybody uses 8-bit surfaces or has 8-bit sources, so deleting code like that would do the world a service Feb 26 13:13:03 in general too much of the audio/video engineering seems to treat all possibilities as a stupid engineering problem rather than think seriously about what makes sense to support an what doesn't Feb 26 13:13:28 on audio, the parallel is supporting every possible bit depth and sample format regardless if they are used. Then you get low quality and tons of useless conversion churn because your pipeline is stupid Feb 26 13:13:40 gstreamer comes to mind Feb 26 13:13:40 i guess it's there for a reason... libvisual runs on quite some platforms... but dunno, for android it's definetly obsolete Feb 26 13:13:55 no, it's just the bad mindset that guides people who make this stuff. :-p Feb 26 13:14:16 gstreamer faithfully supports 8-bit audio output despite the dearth of formats and playback environments where such a thing would be useful Feb 26 13:15:49 alankila: afaik, gstreamer runs on the AmigaOS which natively does 8 bit audio Feb 26 13:15:57 if you don't have a soundcard Feb 26 13:16:14 yes, no sense to support amigaos, or anything with less than even minimal audio standards today. Feb 26 13:16:27 and even in that case it's not an excuse to have native support for 8-bit audio Feb 26 13:16:49 well, i think different in that way... it's nice if your code runs on old hardware Feb 26 13:17:02 you could just do dithering at the last conversion step to bring support to obsolete, unused platform, if that gives you kicks -- but to require plugin authors to write things like specific routines to deal with 8-bit audio, that is stupid Feb 26 13:17:17 surely a "hardware not supported" message is easier, but i doubt its better Feb 26 13:17:22 Obsolete platforms should not be first-class citizens if they harm the better ones. Feb 26 13:17:48 well, if your app is delivering 8-bit sound, converting it to 16 bit and then dither it back to 8 would be nonsense Feb 26 13:18:04 yes, but it wooud only hurt obsolete platform. Feb 26 13:18:06 i doubt the code would harm modern platforms, it probably never gets called Feb 26 13:18:30 no, it is there. I've seen it. Things like volume control plugin must support it, called or not. There's tons of code to support useless formats. :-/ Feb 26 13:19:13 well, volume control is kinda basic, i guess it supports it because the 8-bit people implemented it to use gstreamer on their platform Feb 26 13:19:17 the bigger problem is that for instance high-quality audio you don't actually use 8-bit or 16-bit audio, you will be doing calculations in 8.24 fixed point or 32-bit floating point, because that way operations can be performed without damaging the sound quality. It's a mastering problem. Feb 26 13:19:34 but if you think about the problem in a stupid way, you will think that 16-bit in, 16-bit out, no conversions, that's great design? Well, it isn't. Feb 26 13:19:49 artefacts are a problem for sure, but that's why gstreamer exists, otherwise you'd just use one of the million frameworks that are more leightweight Feb 26 13:19:50 it's great only if you plan to pass the audio through completely unchanged. Feb 26 13:20:21 ah Feb 26 13:20:39 anyone else ever have a problem downloading the HTC sense SDK? Feb 26 13:20:42 android supports more input formats than advertised Feb 26 13:21:07 anyway, this is a completely unrelated rant. I just dislike the mindset that causes people to write support to all sorts of weird formats and use conversions. They should decide on one high-quality intermediate format and design everything around that. GPUs for instance are great for visualizing data that comes in 32-bit integer format Feb 26 13:21:11 well, there's a lot of bulls**t code in FOSS projects, but that comes naturally with stuff that's free Feb 26 13:21:19 alankila: i understand Feb 26 13:22:04 because 32 bits maps to RGBA very well, and if you have an efficient way from cpu to write to gpu memory, you can do very costly processing practically for free inside the GPU (in sense that performance will be great anyway) Feb 26 13:23:06 has anybody even tried downloading the HTC sense sdk? Feb 26 13:23:56 nope :p Feb 26 13:24:08 well phoque Feb 26 13:24:21 alankila: sure, thing is that some plugins use palette-effects and stuff... but having the screen natively in the target depth might be worth a try... converting it pixel-by-pixel on an embedded platform is not cool Feb 26 13:24:39 yes, avoiding conversions is pretty much the only feasible way Feb 26 13:25:06 or to get them hardware-accelerated, but in every case you need to know what the hardware wants and get the source decode into right format to begin with Feb 26 13:25:34 alankila: yep... i thought about that, but as it seems, froyo doesn't offer that kind of hw-accel Feb 26 13:25:35 cpus are in general too slow, regardless of platform, to afford to do the conversion because the video bandwidth is so high in terms of bits Feb 26 13:26:07 well, it runs smooth on some old pentium... Feb 26 13:26:20 but ARM and android etc. are a different issue Feb 26 13:26:49 it depends on resolution and framerate and complexity of the conversion, sure. Feb 26 13:27:32 still, 60 fps video at 1920x1080 should be around 4 Gbit/s, which is not trivial Feb 26 13:27:46 just to point out that this does actually stress cpu capability Feb 26 13:27:59 resolution on my phone (800Mhz) is lower than on my desktop... i've used this code on a 400MHz (?) pentium some years ago, and it was better... but there are probably a million of reasons for that, i know... Feb 26 13:28:19 sure, modern i7 can write 16 GB/s and has tons of cores and can parallelize, but it's actually an engineering problem in sense that you can't just throw any bit of code and hope that's good enough Feb 26 13:28:30 alankila: yep, doing it with the CPU is not optimal... no need to argue Feb 26 13:28:37 so I want to place the value of an R.string.something in a String Feb 26 13:28:49 and I can't, because I get "Change value of `result` to int?" Feb 26 13:29:07 Sicp: getString(R.string.foo) Feb 26 13:29:10 a Context had that method iirc Feb 26 13:29:13 alankila: thanks for now, i'll investigate a little further Feb 26 13:29:19 ok, i'll try Feb 26 13:30:19 that worked Feb 26 13:32:22 what about this? "Replace "..." with ellipsis character (…, …) ?" Feb 26 13:32:27 that's in a string that has "..." Feb 26 13:32:42 it's just a warning Feb 26 13:35:49 Does it have "..." or … in it? Also, what is spitting out that warning exactly? Feb 26 13:36:36 the strings.xml Feb 26 13:37:23 it has three trailing dots Feb 26 13:40:06 Sicp: I do not get that warning. What is spitting out that warning to you? Feb 26 13:40:11 Lint? Feb 26 13:40:16 there is no lint Feb 26 13:40:42 So what's spitting out the warning? Feb 26 13:41:11 I'm using Eclipse 3.7.1 with SDK Tools 16. No warning, neither with "..." nor "…" in strings.xml Feb 26 13:48:47 is there a way to reference a custom implementation of a view (textview) as a parent in styles.xml? Feb 26 13:50:48 You can only set other styles as parent Feb 26 13:52:12 ok so I've got my translated strings.xml Feb 26 13:52:20 now, how to conquer the world? Feb 26 14:30:56 Have you guys seen this? http://www.1mobile.com/ Feb 26 14:31:09 seems to be re-hosting APKs of free apps Feb 26 14:31:12 orly Feb 26 14:31:35 their market client is a total rip-off of the official android market client Feb 26 14:31:57 magnets, there's no need for that, the market has apks for download if you use a special chrome extension now. Feb 26 14:32:01 magnets: how about http://double-headed.ass.to.ass.fuck.image.notarealwebsite.com/ Feb 26 14:32:13 EdLin, oh cool Feb 26 14:32:16 what extension? Feb 26 14:32:17 :O Feb 26 14:32:41 zhongfu, slips my mind, I still haven't bothered to install it, it was in the blogs a day or two ago. Feb 26 14:32:46 yeh I saw that, was on reddit Feb 26 14:33:22 zhongfu: I'm just giving a heads-up to people Feb 26 14:33:39 who may not like their apps being re-distributed without their permission Feb 26 14:34:00 there are some FFT lib for android? Feb 26 14:34:13 nope Feb 26 14:34:28 use something like kissfft Feb 26 14:34:56 be prepared to get your hands dirty with some c Feb 26 14:35:40 uh Feb 26 14:42:38 is there a way to keep the screen from shutting off when your app is in the foreground? Feb 26 14:42:57 the screen keeps timing out on my timer app because there's no user interaction for an extended period Feb 26 14:46:35 Yes Feb 26 14:46:40 I'm not sure how but you can. Feb 26 14:47:44 Hiraghm: https://developer.android.com/reference/android/os/PowerManager.WakeLock.html Feb 26 14:47:53 Also https://developer.android.com/reference/android/os/PowerManager.html Feb 26 14:48:19 JakeWharton: Just wondering, is there a way to change the actionbar home icon in code rather than using abIcon ? Feb 26 14:48:25 This is the permission you sometimes see in the market "Prevent phone from sleeping" https://developer.android.com/reference/android/Manifest.permission.html#WAKE_LOCK Feb 26 14:50:14 bourke_: http://developer.android.com/reference/android/app/ActionBar.html#setIcon(android.graphics.drawable.Drawable) Feb 26 14:52:15 has anyone replicated or ported the HTC dialer application that searches your contacts when dialing names? For example, dialing 24646 would pull up CHRIS Feb 26 14:56:44 phuzion: search for the CM9 Dialer Feb 26 14:58:50 bourke_: is that CM9 exclusive? I'm kinda hoping to get it running on something non-CM, as I've been having issues with it (I'm on the Thunderbolt, and apparently CM development has entirely ceased on that device) Feb 26 14:59:23 phuzion: depending on what your goals are, there's plenty of other dialers on the market that have that functionality. Just not sure if they're open source Feb 26 14:59:35 the CM9 dialer would be ICS exclusive Feb 26 15:01:32 What the fuck. On blackberry market you have to actively approve bad reviews, while good reviews are automatically approved Feb 26 15:02:06 hi all Feb 26 15:02:07 How are users ever going to see bad reviews :p Feb 26 15:02:33 if I ahve to share some data between all the components of my app . The right way is extend the Application class ? Feb 26 15:03:32 bourke_: Alright, awesome. I'm hoping to stay as far away from Sense as possible, I'm really sick of it, but I'm also kinda sick of the bugs I was having with CM7.1.1, so I'm on Liquid right now. Feb 26 15:03:54 phuzion, > nexus Feb 26 15:04:26 zhongfu: pardon? Feb 26 15:04:34 > nexus Feb 26 15:04:40 > no manufacturer bs Feb 26 15:05:00 zhongfu: I would get a nexus if I weren't dead in the middle of a contract :( Feb 26 15:07:49 k Feb 26 15:07:58 phuzion, i just got a gnex Feb 26 15:08:04 after waiting 2 months for it to come out in singapore Feb 26 15:09:05 hello is there any special thing that should be done so that my emulator can use my computer's Internet? Feb 26 15:09:27 blue_pearl: it should work out of the box Feb 26 15:11:11 bourke_, ok, and is there something that needs to be done so that the app which i coded will use the internet ? coding wise its ok...but inside the emulator the app is not using the internet. Feb 26 15:11:50 You need to set the internet permission in your androidmanifest.xml blue_pearl Feb 26 15:11:57 for the app to access the internet Feb 26 15:13:12 Feb 26 15:13:20 not sure that's all typed right but that's the basic idea Feb 26 15:13:35 cr5315, thanx...i will check that. Feb 26 15:14:07 Hi. Is there a way to simply create a CLI-like interface for an app in android (As in, typing text in the keyboard and having the command executed when you press enter)(c.f. http://itunes.apple.com/us/app/hack-run/id407678003?mt=8 for iOS) Feb 26 15:15:03 hseg: those applications already exist, are you trying to implement this into your own app, or just create your own? Feb 26 15:15:12 That game looks fun Feb 26 15:15:16 * cr5315 goes to get his ipod Feb 26 15:16:28 phuzion: I'm trying to implement a brainfuck (http://en.wikipedia.org/wiki/Brainfuck) interpreter, similar in functionality to the python interpreter. Feb 26 15:16:48 cr5315: the game is a bit repetitive, tho. Feb 26 15:19:14 I *was* thinking of either using an EditText for this combined with a listener or using two text areas. Feb 26 15:19:53 terminal emulator has an interface kinda like what you want Feb 26 15:20:55 Nice... Checking the code... Feb 26 15:31:45 These size codebases always make me hunger for a map into the code. Feb 26 15:33:11 rigid: Can you not use OGL or something? Feb 26 15:33:14 is OnActivityResult called pre or post onResume? Feb 26 15:34:46 Gumboot: is it available for froyo? Feb 26 15:35:00 NFI. I would have assumed so. Feb 26 15:35:12 I thought I was doing well to not suggest Renderscript, though. Feb 26 15:35:18 i was told there're plenty of options with gingerbread but froyo still is very widespread Feb 26 15:35:26 :) Feb 26 15:36:46 Why should vendors get stuck at Froyo? Was there a meaningful change in hardware requirements, or do they just not care to upgrade? Feb 26 15:37:10 Most just don't care Feb 26 15:37:26 I came from a phone that barely got Froyo Feb 26 15:41:15 For some reason I keep imagining that everybody should be back-porting ICS to their devices, now, but I don't suppose they're any more likely to do that than they were with versions before Honeycomb. Feb 26 15:41:16 cr5315: The code seems a bit too complex for my needs. All I need is for the user to enter a newline-terminated string, which the app then processes. Depending on the input, the program may output some text or request more input. When the processing is finished, the user should receive the original prompt. Isn't the code overkill for this situation? Feb 26 15:41:52 Gumboot: Sad reality is, most users and vendors either don't know the difference or don't care Feb 26 15:41:58 * Gumboot wonders why he feels he needs the word "back" against porting, there. Feb 26 15:42:16 hseg: I was just saying that what you wanted was like the UI of terminal emulator, not like the app itself Feb 26 15:42:22 The xoom I use got updated. A lot of Chinese tablets have ICS now, too. Feb 26 15:42:35 cr5315: Ah. Mea culpa. Feb 26 15:42:48 I mean, things with lots of physical buttons on them. Old gear. Feb 26 15:43:04 I have ICS on my EVO 4G Feb 26 15:43:10 Love it soooo much Feb 26 15:43:32 cr5315: Do you have any idea how to implement something like this? I'm a newb when it comes to Android programming. Feb 26 15:43:40 For a brief moment I thought there was an "ICS for everyone" movement in the industry. Feb 26 15:43:54 hseg: Not really Feb 26 15:44:05 cr5315: Thanks anyhow. Feb 26 15:44:27 Gumboot: I think the OEMs are only going to update the later phones to ICS. Feb 26 15:44:49 Seeing how the EVO 4G is EOL and there's been nothing from HTC about it getting an official ICS update Feb 26 15:45:13 Maybe... Is there a way to get the text the user inputted since the last print? And is there a way to listen for a newline? Feb 26 15:45:23 I'm sure there is Feb 26 15:47:16 hseg: http://developer.android.com/reference/android/widget/EditText.html Feb 26 15:47:34 Thx. Looking into this... Feb 26 15:48:15 if (editText.getText() == "text here") {code here} Feb 26 15:48:40 hseg: ^ Feb 26 15:48:48 cr5315 that wont work... Feb 26 15:49:00 editText.getText().equals("text here") Feb 26 15:49:05 ah Feb 26 15:49:15 with your example your just comparing references Feb 26 15:49:29 cr5315, Jug6ernaut: Won't that just give me everything that was ever written there? Feb 26 15:49:53 hseg no idea, i was just correcting what he put :P Feb 26 15:49:58 let me read back... Feb 26 15:50:00 ever? Feb 26 15:50:17 it will get what it currently contains Feb 26 15:50:19 rigid: 2.2 gets you OGLES2.0 support. Feb 26 15:50:36 hseg: that will give you whatever is currently in the text box Feb 26 15:50:38 I mean, editText.getText() gives the text within the editText. I'm interested in what was inputted since the last call to editText.append() Feb 26 15:50:40 hseg editText.gettext() will get w/e text is currently in the edittext Feb 26 15:51:06 you would need to track that yourself Feb 26 15:51:37 Make some kind of listview and add each editText.getText()'s result to it maybe Feb 26 15:51:48 rigid: That should offer fully programmable shaders, so you might expect to do your whole visualisation pipeline in it. Feb 26 15:52:00 in addition to whatever the app responds with Feb 26 15:52:08 Moreover, if you don't use OGLES, you're likely to end up duplicating a lot of what it provides. Feb 26 15:52:17 listview? hseg what are you trying to do? Feb 26 15:52:23 I.e. create a textChangedListener with some kind of buffer which would then be available to the app. Feb 26 15:52:40 Jug6ernaut: trying to simulate a command prompt Feb 26 15:53:34 I.e. Command is entered, "enter" key is pressed, command is processed, optionally some output and some more input, and then the next command is entered Feb 26 15:53:53 you want to remember all of the previous entries? Feb 26 15:54:00 just store them in a arraylist or something Feb 26 15:54:11 rigid: And it'll probably be a less painful port to Renderscript when the time comes to drop Froyo and Gingerbread. Feb 26 15:55:25 * Gumboot wonders about the feasibility of scanning renderscript/LLVM bitcode for untrustworthy operations so that users could provide their own kernels where appropriate. Feb 26 15:55:59 Jug6ernaut: Thanks. While your answer wasn't what I needed, it gave me a better idea: create an IRC-like command prompt Feb 26 15:56:42 * hseg answers Gumboot, saying it would be as feasible as finding perfectly trusted code Feb 26 15:57:23 * hseg references http://c2.com/cgi/wiki?TheKenThompsonHack Feb 26 15:57:57 Gumboot: There are several companies based on binary analysis of security flaws Feb 26 15:58:14 Gumboot: but finding flaws is easier than finding stealthed maliciousness Feb 26 15:58:33 hseg w/e works lol Feb 26 15:58:47 Jug6ernaut: Thx. Feb 26 15:59:59 np Feb 26 16:01:39 hello, i want to parse an xml from "assets" does android have some special stuff about xml or do I just use Sax or Dom as I would with JavaSE? Feb 26 16:03:05 dragorn: Well, I'm only really interested in the relative difficulty when compared to analysing the source code. Feb 26 16:03:51 I guess Renderscript gets straight to it, really. It can be native code so there's no reason to ever trust it. Feb 26 16:03:59 Unlike, say, a shader program. Feb 26 16:05:23 hseg: If you're still using an editText look at this: http://pastebin.com/fYDXTCin Feb 26 16:05:57 anyone else in here having issues getting the android ADT plugin for eclipse working Feb 26 16:05:58 Oh. Hello. Somebody claims to be mirroring the mythical ICS4.0.3 for Ainol Paladin update. Feb 26 16:06:10 how can I automatically change the expanded state of an ExpandableListView after the backend dataset changed? Feb 26 16:06:49 Thanks cr5315 Feb 26 16:06:54 np Feb 26 16:14:57 still noone can tell me how i can change the max recording time of the included camcorder app in 2.1 or any idea thsat would solve Feb 26 16:16:58 it seems, the recent sdk r14 update to build.xml completely broke dependency checking. bummer Feb 26 16:18:42 Good afternoon. Feb 26 16:20:20 hi Feb 26 16:20:23 hi Feb 26 16:20:41 How are you two? Feb 26 16:20:53 I have a stomach ache :( Feb 26 16:21:10 and cardiff just scored Feb 26 16:21:14 Gx4: eat anything unusual? Feb 26 16:21:39 maybe it was some cheese with jalapeno, but I don't know Feb 26 16:22:08 those jalapenos are sneaky bugggers Feb 26 16:22:15 I went to buy some medcine and they only game me some painkillers Feb 26 16:22:27 gave Feb 26 16:22:45 No gaviscon eh? Feb 26 16:23:22 In the States they have these things called tums which are quite god, they're really gentle Feb 26 16:23:41 is it good to extend a view and implment an handler to update the data it is showing ? Feb 26 16:24:43 Ankh > I'll just go to local doctor if it continues tomorrow, I wanted some Active Carbon, but I'm not sure if they understood me. Feb 26 16:27:02 does anyone know a decent js framework for android ? Feb 26 16:32:03 Ankh > I do burp a lot so I think it may be gastral things Feb 26 16:32:21 Maybe I missed it, but given how IntelliJ IDEA tries to guide you when creating resource directories, does it support layout-v11 and such at all? (Of course, you can create it as a normal directory.) Feb 26 16:32:44 iirc idea 11 does Feb 26 16:32:57 Zharf: Then I am really missing how :) Feb 26 16:33:09 can't confirm as I'm on a bus right now Feb 26 16:33:45 I'm on a bus, I'm on a bus, look at me I'm on mtfkin bus! Feb 26 16:33:47 Zharf: They guide all the other aspects, like mdpi, hdpi, xhdpi, but nothing for v11, v13 that I saw so far. Feb 26 16:33:56 aha Feb 26 16:34:22 file a feature request/bug ;) Feb 26 16:34:43 Zharf: Yeah, just wondering if it's worthwhile. It would at least be consistent with the rest of their UI. Feb 26 16:35:39 Meh, it's a lot faster to just create a regular directory than to use that dialog Feb 26 16:35:55 SimonVT: Yea Feb 26 16:36:13 sometimes you just can't remember the valid dir names thoguj Feb 26 16:36:18 though Feb 26 16:36:35 SimonVT: But for the sake of consistency/completion I guess I should just file a ticket about it. Feb 26 16:36:54 Sure, it should definitely be there, since they offer the dialog Feb 26 16:37:40 Cool, thanks for that confirmation. :) Feb 26 16:38:31 is there any super pro expert on the android maven plugin here? Feb 26 16:38:33 I don't think it offers the new swdp, wdp, etc either Feb 26 16:39:02 SimonVT: Will take it along in the ticket, thanks for the headsup. Feb 26 16:43:09 hmm.. the Intel x86 Android AVD boots quite fast compared to the ARM ones Feb 26 16:44:43 DrPenguin > you can create a VM tablet which is fine performance wise. I remember it was crounching slow when my video drivers where not there. Feb 26 16:45:07 I attempted to do that a while ago with Android x86's ICS image but the thing wouldnt boot Feb 26 16:45:16 Hi, even if i have added still my app is not using internet in the emulator.what i am doing wrong? Feb 26 16:49:09 blue_pearl: Define "not using". Does LogCat say something when you're trying to connect to something? Feb 26 16:50:29 privet vsem Feb 26 16:51:00 kakazza, the app is not connecting to internet, but the emulators browser is using internet. Feb 26 16:51:51 How do you know? Does it timeout, is a ConnectionException thrown,... Feb 26 16:53:27 kakazza, well the app connects to a webserver to show some content but its not doing it. Feb 26 16:54:01 Is there no output in logcat? Feb 26 16:57:00 Well this is weird, this console window in the only thing on my system that hasn't frozen. Feb 26 17:00:39 hey every1 Feb 26 17:01:05 i got a question (^^) Feb 26 17:01:29 im trying to make an app for a local community, and im stuck on the login Feb 26 17:02:01 the login-form on the webpage aims on team-ulm.de/login.php, and it is a POST request Feb 26 17:02:27 so i searched a method to do such a post request in java Feb 26 17:03:12 but when i click my submit button all i get from logcat is the following: Feb 26 17:03:12 W/ActivityManager( 67): finishReceiver called but no pending broadcasts Feb 26 17:03:13 kakazza, InetAddress: Unknown host www dot example dot com, throwing UnknownHostException This is the LogCat output. Feb 26 17:03:20 hello everyone, I need an advice how to avoid memory leaks and OutOfMemory exception. I'm developing a simple game an the exception thows after various levels, so I suppose the problem is not destroying... mmm... static view? or may be players object (no, garbage collector is responsible for that), so where I should focusw my attention to find the leak? pls Feb 26 17:04:48 Defuera: well my first thing would be to see what isnt being cleaned up as the game advances.. if stuff that isnt used anymore is still alloced your wasting memory Feb 26 17:05:22 anyone know any decent telnet client for android Feb 26 17:05:24 Defuera: run your game for a while, use DDMS to download a HPROF fie, convert it with hprof-conv then open it with Eclipse MAT (Memory Analysis Tool) Feb 26 17:05:45 Defuera: http://www.eclipse.org/mat/ Feb 26 17:06:12 I don't like Eclipse, but MAT is a decent tool to analyse those hprof files and find out who is retaining what Feb 26 17:06:50 any advice for me? :x Feb 26 17:07:17 fpillet, thx, i'll try this Feb 26 17:07:29 Cor3 > vegetables are good for you. Feb 26 17:07:40 r they? Feb 26 17:07:55 you have to try to find out Feb 26 17:08:23 i dont want to eat vegetables just to find out whether theyre good for me Feb 26 17:08:58 I am making a client/server application, and was wondering if it is possible to send data from the client to the server on a LAN if the server IP address is unknown?? Feb 26 17:09:30 Is it possible by using a broadcast IP address? Feb 26 17:09:56 why can't you scan lan to find out servers ip ? Feb 26 17:10:25 dlaroche: use broadcasting / multicasting Feb 26 17:10:26 so noone got a tip for me? that makes me kinda sad Feb 26 17:10:38 InetAddress: Unknown host www dot example dot com, throwing UnknownHostException This is the LogCat output...and my app is not getting connected to internet in emulator..what mistake i am doing? Feb 26 17:10:44 Cor3: d.android.com is your friend Feb 26 17:10:59 blue_pearl: you need to resolve that web address to an ip Feb 26 17:12:57 DrPenguin, so i have to provide the ip address for the web address in the code ? Feb 26 17:13:22 blue_pearl: no, presumably using that web address, there should be some method you can use so that it will resolve it into a more usable address Feb 26 17:13:40 blueperl do an nslookup Feb 26 17:14:17 DrPenguin, Gx4 , thanx..now i understand Feb 26 17:15:39 but i dont get whats wrong. :D Feb 26 17:16:36 unknownhostexception usually means you don't have the internet permission Feb 26 17:16:54 or dns problems Feb 26 17:17:58 so i have to put android.permission.INTERNET somewhere, right Feb 26 17:18:03 SimonVT: That would really bug me, I would expect an explicit permission exception being thrown for a lack of permission Feb 26 17:18:10 forgot, where, but i have to put it somewhere Feb 26 17:18:25 Cor3: in the android manifest Feb 26 17:18:33 right Feb 26 17:18:34 DrPenguin: Yeah, it sucks like that Feb 26 17:18:38 i knew it Feb 26 17:18:40 Doesn't mention missing permission Feb 26 17:18:44 just couldnt say it ^^ Feb 26 17:18:46 Just fail Feb 26 17:19:23 SimonVT: knowing me, I would spend hours figuring out why I didnt have the ability to ocmmunicate with the net, then realize I dont have a permission. Then I would go to Google HQ and throw my Testing device into on eof their windows and run as fast as a chubby kid can Feb 26 17:19:56 DrPenguin: Oh, I've spent plenty time debugging just to find out I missed the permission :p Feb 26 17:20:42 SimonVT: I had something similar like that happen to me when writing a TFTP Server and Client for school.. had an issue sending files bigger than a certain size and completely forgot my implementation only supported at most 32MB Feb 26 17:20:53 took me FOREVER to backtrace it Feb 26 17:21:17 It's the stupid errors that take the most time to debug :p Feb 26 17:21:24 Oh God yes Feb 26 17:22:46 f''kn yeah, i can see the post request in wireshark! Feb 26 17:22:48 thx :3 Feb 26 17:27:35 Cor3: if you're mainly doing http/https stuff, do yourself a favor and get Charles Web Proxy. It's not free, but it's freaking efficient and much nicer to use than wireshark Feb 26 17:28:01 hi people Feb 26 17:28:15 is it possible to get to at interface of modem in android phone? Feb 26 17:29:05 ill give it a try Feb 26 17:29:19 DrPenguin, Gx4 , thanx guys its working now. Feb 26 17:29:40 blue_pearl: np.. web programming stuff is a PITA ^^ Feb 26 17:29:48 haha :D Feb 26 17:30:11 :) Feb 26 17:30:27 the only thing is why I like js is that you can develop ios without macbook Feb 26 17:30:50 though it's an awful language imo Feb 26 17:31:40 Gx4: So you write HTML5 apps? Feb 26 17:32:15 I'm thinking of making one, because they want it for iphone Feb 26 17:32:26 Do they feel native? Feb 26 17:32:50 i wish i could code html5 Feb 26 17:32:56 it's so/so, it depends how much you want from it Feb 26 17:33:52 atm I'm thinking of using Secha touch with phonegap Feb 26 17:34:02 as it looks most mature framework Feb 26 17:37:06 charles is only made for browsers, right? Feb 26 17:37:16 because i dont get the packets from the vm Feb 26 17:40:12 anyone seen a usable telnet client for android? Feb 26 17:48:34 is the thread in which the Application instance runs the same as the UI thread? Feb 26 17:52:06 brx_, connectbot Feb 26 17:52:39 thanks pfn Feb 26 17:52:42 bl4ckcomb, as far as my knowledge goes i think yes....but i am not sure... iOS runs two different threads Feb 26 17:52:48 Anyone got experience with http://www.youtube.com/watch?v=xHXn3Kg2IQE ? It seems to me that pattern A: Useful if you want/have to rely a lot on getting data from the webservice. Pattern B: If you want to use the local data while fetching additional data from the webservice. C: Good for managing accounts and/or if you want to continously synchronize with the webservice at all points in time. Anyone care to comment? Especially interested in the pros/cons of u Feb 26 17:52:48 sing either A or B. Feb 26 17:53:11 blue_pearl: ok, I'll tias Feb 26 17:53:25 The youtube link is Google I/O 2010 Android REST client applications Feb 26 17:54:30 bl4ckcomb > yes one UI thread, unless you create another one Feb 26 17:54:38 http://developer.android.com/resources/articles/painless-threading.html Feb 26 17:55:12 Gx4: hehe 'painless' threading :] Feb 26 17:55:34 yeah drink some pamol and you'll be fine Feb 26 17:56:24 Gx4: I have an application-wide thread (socket communication) and need to sync with the UI, so if I keep a messagequeue and subscribe a handler that's in the application thread, then I suppose this handler can safely interact with the UI? Feb 26 17:57:19 use AsyncTask Feb 26 17:58:42 Gx4: people here said I should create my own thread for this... I'm kind of confused now :p Feb 26 17:59:58 you can't create your own ui thread on android, the platform has to, but it doesn't Feb 26 18:00:15 pfn: that's not really relevant Feb 26 18:00:47 its relevant to an earlier statement Feb 26 18:01:39 Gx4: does AsyncTask allow me to continuously read from a socket and also write to it in case of certain user actions? Feb 26 18:01:40 you can post messages to a handler on the in thread Feb 26 18:02:07 asynctask isn't a good choice for a long lived thread Feb 26 18:02:55 pfn, ok, that's what I read earlier. so is this messagequeue + handler solution I proposed a go? Feb 26 18:04:20 no queue, just the handler is all you need Feb 26 18:04:30 oh Feb 26 18:04:45 so a handler has its own queue? Feb 26 18:04:53 create new handler on the main looper Feb 26 18:05:02 the looper has the queue Feb 26 18:05:21 Ok, I'll do some reading on that looper Feb 26 18:05:30 thank you for the info Feb 26 18:06:11 pfn > why does dev.android says that AsyncTask was created for long-running tasks then ? Feb 26 18:06:47 Gx4: I supplse 'long-running' is just a task that should complete while having a responding UI, but in my case it's application-lifetime-long Feb 26 18:08:47 long-running is different from long-livec Feb 26 18:08:47 d Feb 26 18:10:23 should i care about this warning? Feb 26 18:10:25 Attribute minSdkVersion (4) is lower than the project target API level (13) Feb 26 18:10:37 If "application class" is subclassed to hold the state of a network connection e.g. Socket so that more than Activity can use it... will it cause the state to null if the phone is fliped or in case of a call the app goes to the background? Feb 26 18:10:44 not if you programed your app correctly everythingWorks Feb 26 18:10:58 t0mless: that's what i wanted to hear. Thanks! :) Feb 26 18:11:05 i.e. if you made checks of the API level of the current device before using higher APIs Feb 26 18:11:40 jupp Feb 26 18:11:42 Hey, what's the best way to learn the Android API? I've looked at a lot of tutorials, but they're all pretty much the same... I don't really know where to go from here... Feb 26 18:11:53 skutr34, d.android.com Feb 26 18:11:56 its running also on api lvl 4 ;) Feb 26 18:12:06 skutr34: the best way is to just write stuff ^^ Feb 26 18:12:16 that too Feb 26 18:12:24 read about how something works, then expand on it, making your own example to see if you really grasp it Feb 26 18:12:40 Cant learn how to ride a bike without riding it Feb 26 18:15:09 in DDMS, what means the blue, the red and why at the yellow, there are 2 values?>http://dl.dropbox.com/u/6559846/___.PNG Feb 26 18:15:17 Its in the window `Devices`. Feb 26 18:16:49 everythingWorks: Blue seems to be for Debug messages, yello for warnings, and red for errors Feb 26 18:17:02 oh this isnt logcat hang on Feb 26 18:17:36 those guys on the right.. they should be ports Feb 26 18:18:13 the second number must mean the port range, like the highest port is 8700 Feb 26 18:18:27 aaaaaaaaaaaaand the guys on the left Id imagine are pids? Feb 26 18:18:40 okay. Feb 26 18:18:50 why does the one process has a whole port range where the others have only one port Feb 26 18:19:17 processes dont have a "port range" persay, I think that port range just means thats how many ports the device has Feb 26 18:19:36 like on a standard OS, I believe port ranges go from 0 to 65535 (0 to 1024 reserved for root) Feb 26 18:20:04 okay Feb 26 18:21:52 How would one go about compiling the newest version of dropbear, seeing how there's a security update that came out 2 days ago? Feb 26 18:21:59 http://freecode.com/projects/dropbear-ssh Feb 26 18:22:35 "This release fixes a security bug that could allow code execution as root by an authenticated user if a command="..." option is used in authorized_keys" Feb 26 18:45:39 liverpool won :) Feb 26 18:50:09 Why did they take away the little x to dismiss a single notification in android? Feb 26 18:50:16 er Feb 26 18:50:20 in ICS* Feb 26 18:50:29 i used it all the time on HC Feb 26 18:51:03 i guess they liked the swipe gesture more Feb 26 18:53:47 fucking email client Feb 26 18:53:53 "automatically download attachements when connected to wifi" Feb 26 18:53:54 great Feb 26 18:54:00 wheres my feature to do it when not on wifi? Feb 26 18:54:16 I know right Feb 26 18:54:24 why would i ever use wifi Feb 26 18:54:26 it's like they think no one has unlimited data plans or something Feb 26 18:54:34 leave home, and connection drops Feb 26 18:54:39 or i can stay on mobile, and not have that happen Feb 26 18:54:48 forget "unlimited" Feb 26 18:54:54 how big are your email attachments Feb 26 18:54:57 that you receive in a month Feb 26 18:54:59 for me, it's under 10MB Feb 26 18:55:19 yea, but they're reallllly into not forcing data in the background Feb 26 18:55:45 so give me the OPTIOn Feb 26 18:55:50 google+ lets me do it Feb 26 18:55:55 google music lets me Feb 26 18:56:01 its all an option Feb 26 18:56:05 "do big data shit in the background" Feb 26 18:56:15 im actually fairly pissed that whenever i try to download a big app from the market, it gives me a warning Feb 26 18:56:20 like shut the fuck up and just download it Feb 26 18:57:03 Yea, it's annoying Feb 26 18:57:22 but it's all designed to help prevent data usage for those lowly non-unlimited peoples Feb 26 18:57:41 peons Feb 26 18:58:00 so GIVE ME THE OPTION Feb 26 18:58:08 "i have an unlimited data plan - stop showing me stupidass messages" Feb 26 18:58:15 i mean iOS is worse Feb 26 18:58:16 fuck Feb 26 18:58:24 i probably use 100MB of my 6GB data plan every motnh Feb 26 18:58:34 but OH NO I CANT UPDATE SKYPE OVER MOBILE DATA Feb 26 19:00:08 Theres no such thing as unlimited data anymore Feb 26 19:00:19 * t0mless has it Feb 26 19:00:19 DrPenguin I have that Feb 26 19:00:27 But I'm grandfathered in Feb 26 19:00:28 If you think about it there isnt Feb 26 19:00:45 its really faux-unlimited with an insane level of restrictions, some that the companies come up with on the fly Feb 26 19:00:46 Supposedly they throttle after like 4GBs Feb 26 19:01:15 DrPenguin my plan didn't limit after 5TB Feb 26 19:01:17 though someone just got 800$ from AT&T for suing them because they throttled his unlimited plan Feb 26 19:01:40 t0mless: right so if you think aabout it, tahts not REALLY unlimited, ive read stories that ATT's throttling makes your phone basically unusable when it comes to data Feb 26 19:02:00 I'm not on AT&T though :) Feb 26 19:02:02 as for mobile, I had unlimited plan and downloaded 40GB three months in a row and then got the warning :D Feb 26 19:02:07 never had a noticble throttle issue Feb 26 19:02:16 Gx4: you shouldnt get a warning Feb 26 19:02:19 I've gone over 2GB in a month before, but normally i'm around 1 Feb 26 19:02:22 if you have unlimited, then thats unlimited Feb 26 19:02:32 it was only phone usage unlimited Feb 26 19:02:35 I was tethering Feb 26 19:02:36 DrPenguin: i have unlimited Feb 26 19:02:52 canadiancow: so do I Feb 26 19:03:00 ok and its still offered Feb 26 19:03:04 unlimited is marketing Feb 26 19:03:12 you know what pisses me off? Feb 26 19:03:14 You can pay your utility bill online by credit card (Visa or MasterCard). Please note that a convenience fee of $5.95 will be charged for this service. Feb 26 19:03:16 ARE YOU KIDDING ME Feb 26 19:03:22 how about i mail you a check Feb 26 19:03:25 canadiancow: Id imagine many things do, but that in particular Feb 26 19:03:26 and you send a person to the bank with it Feb 26 19:03:28 and deposit it Feb 26 19:03:35 $6!!!!!!!!! Feb 26 19:04:10 They are just deferring the cost of using the card to you, the credit card companies charge those companies for taking payments via their card Feb 26 19:04:12 I work at an insurance agency atm, and almost all of the companies charge 6-10 fees if they send out a paper bill Feb 26 19:04:29 then it gets reduced to none or 1$ if it's automatic payment or paperless billing Feb 26 19:04:30 DrPenguin: it's actually a violation of their agreement with visa/mc to charge you Feb 26 19:04:43 canadiancow: and how many people (besides you) know that number 1 Feb 26 19:04:53 I knew that Feb 26 19:05:00 but technically speaking there's plans for 300 mb/s for 30$ and it's technically unlimited, I mean you need to download more than 10TB Feb 26 19:05:04 and number 2, prove that the "convenience fee" isnt really them deferring the cc card charge Feb 26 19:05:09 one time i called visa about it at a pizza place, and the rep had to go look it up Feb 26 19:05:14 thats whats not allowed Feb 26 19:05:28 the agreement with visa/mc says they cannot charge any extra for paying with visa/mc than they would for any other payment method Feb 26 19:05:43 because it discourages people from using their credit card Feb 26 19:05:43 right, so they wrap it in a "convenience fee" Feb 26 19:05:47 which visa/mc obviously hate Feb 26 19:05:50 but its not allowed Feb 26 19:05:51 it gives the illusion that they arent making you pay for it Feb 26 19:05:53 If you charge a "service fee" for all types of online payments, weather it's visa or bank routing/account #s you can get away with it Feb 26 19:05:59 in denmark you have 2.75% if it's foreign card Feb 26 19:06:03 Dude, there are alot of things that arent allowed that people still do Feb 26 19:06:06 yes, but t0mless, i can pay by bank account and no fee :) Feb 26 19:06:23 then yea, that's totally against the terms Feb 26 19:06:31 there is actually a loophole Feb 26 19:06:37 that gas stations can use Feb 26 19:06:46 go for politics Feb 26 19:06:50 fix it Feb 26 19:06:54 which allows them to have different price for cash and credit Feb 26 19:06:55 Unlike MasterCard, Visa does permit merchants to ask for photo ID, although the merchant rule book states that this practice is "discouraged". As long as the Visa card is signed, a merchant may not deny a transaction because a cardholder refuses to show a photo ID.[44] Feb 26 19:06:57 thats another good one Feb 26 19:07:15 you want my credit card and drivers license? can anyone say "identity theft" ? Feb 26 19:07:30 now thats one I definitely didnt knw, and most retail companies (if not all) enforce seeing Photo ID Feb 26 19:07:40 I'd rather them look at my ID to verify it's me using it and not some smuck who found my card Feb 26 19:07:46 +1 Feb 26 19:07:51 in fact, in my signature i have "See ID" Feb 26 19:07:57 the thing is ID is not asked if the card is chipped and you need pin Feb 26 19:07:59 I dont sign my cards Feb 26 19:08:01 Hey guys when changeing battery icon in status bar what are the files i have to change in systemui Feb 26 19:08:04 i prefer chip/pin Feb 26 19:08:12 you actually need to know my secret Feb 26 19:08:13 and have my card Feb 26 19:08:14 no id is needed if you use a pin Feb 26 19:08:21 i would never show id Feb 26 19:08:26 but I typically sign in most Feb 26 19:08:26 identity theft is too easy Feb 26 19:08:29 credit card and photo id??? Feb 26 19:08:34 res/drawable/batteryfiles Feb 26 19:08:39 but if you buy for more than 500$ they can ask for ID Feb 26 19:08:50 Gx4: thats dependent on the store usually Feb 26 19:09:06 Mmk Feb 26 19:09:07 I vaguely remmeber there being different policies between STaples and BestBuy Feb 26 19:09:07 yes Feb 26 19:09:28 [14:08:39] but if you buy for more than 500$ they can ask for ID Feb 26 19:09:28 [14:08:50] Gx4: thats dependent on the store usually Feb 26 19:09:29 no Feb 26 19:09:30 visa says no Feb 26 19:09:34 bye Feb 26 19:09:34 they can ASK Feb 26 19:09:38 but they cant refuse the sale if you refuse Feb 26 19:09:44 Right I understand what Visa says Feb 26 19:09:47 or they can have thier merchant account termianted Feb 26 19:09:55 im actually calling visa right now Feb 26 19:09:58 but the General population DOESNT KNOW what visa says Feb 26 19:10:04 So these stores can leverage their ignroance Feb 26 19:10:15 the thing is, if country law says otherwise Feb 26 19:10:17 http://corporate.visa.com/viewpoints/surcharge-index.shtml Feb 26 19:10:20 thats true Gx4 Feb 26 19:10:21 Hell I dont know what visa or mastercard says about my cards Feb 26 19:10:21 then it's country law Feb 26 19:10:23 but thats like UK and australia Feb 26 19:10:51 the rule was if it's swipe card with signature ask for ID if it's more than 100 pounds Feb 26 19:11:34 otherwise don't care Feb 26 19:11:46 SimonVT: wrt those configuration qualifiers, logged this (in case you cared ;) ): http://youtrack.jetbrains.com/issue/IDEA-81894 Feb 26 19:12:24 Alright :p I don't really, but I agree they should offer all of them Feb 26 19:13:01 SimonVT: *nod* and looks like it's on the roadmap for 11.1 already, haha Feb 26 19:13:24 I'm looking forward to 11.1 Feb 26 19:13:25 Low-hanging fruit I guess. Feb 26 19:13:28 lint checks, yay Feb 26 19:13:36 SimonVT: How's that? Haven't checked the EAP/changelogs yet Feb 26 19:14:14 I only saw the blog post about lint support in their code analyzer thing Feb 26 19:15:05 ah http://blogs.jetbrains.com/idea/2012/02/integration-with-android-lint-tool-in-intellij-idea-111/ Feb 26 19:15:15 Now if only they implemented the ADT xml formatter :p Feb 26 19:15:18 That's pretty awesome Feb 26 19:16:02 * storkme is just waiting for an erxcuse to ditch eclipse for idea Feb 26 19:16:07 There's also some improvements when it comes to imports Feb 26 19:16:26 If two classes have the same name, it checks what method you call on the class, and import the right one Feb 26 19:17:18 storkme: ADT14 was my excuse :p Feb 26 19:17:49 That might solve some of the java.util.* vs javax.swing.* imports for datatype class imports. Feb 26 19:18:05 how's it working for you SimonVT? community edition or the full thing? Feb 26 19:20:46 storkme: I use the community edition Feb 26 19:20:47 I've been using intelliJ and it's working pretty great Feb 26 19:20:49 Haven't looked back Feb 26 19:21:33 still getting used to all the keyboard shortcuts Feb 26 19:21:42 Especially the xml editor is a lot better to work with imo Feb 26 19:21:51 +1 Feb 26 19:21:56 It rocks at autocompleting Feb 26 19:22:15 I do wish the preview pane would highlight the element your carat is in though Feb 26 19:22:16 t0mless: Hah, yeah. It has a shitload Feb 26 19:22:44 I only use a few of the shortcuts Feb 26 19:22:48 yea, me too Feb 26 19:23:10 the commenting ones, the delete line, move lines... Feb 26 19:23:14 override methods Feb 26 19:23:19 Can I "ship" my app with a custom notification sound and actually use it inapp? Feb 26 19:23:25 alt+enter is used a lot Feb 26 19:23:31 christ now you're making me want to try it.. bastards Feb 26 19:23:34 and of course ctrl+shift+space Feb 26 19:23:40 Yeah Feb 26 19:23:46 storkme and you can import eclipse projects Feb 26 19:23:47 I also like the alt+arrowkey to switch class Feb 26 19:23:57 ctrl+arrow to move to next word Feb 26 19:24:01 Oh lord, the beginning of the end, emoji IDN domains: http://đź’©.la/ Feb 26 19:24:38 wow, it's been forever since I've used eclipse.. how do I open the reference page for a class/subroutine from eclipse? Feb 26 19:24:57 I've got this semi-large android project I'm working on that uses a lot of native code. I'm having an issue with (what I assume is) memory corruption. So far I've spent quite a bit of time on it. Anyone know of a good way to find memory corruption bugs on android ndk code? Feb 26 19:25:03 ctrl+q in IntelliJ <.< Feb 26 19:25:13 valgrind wont work, but is there something like dmalloc or similar for android? Feb 26 19:25:14 like say, I have the ListActivity class highlighted in eclipse and I want it to direct me to this page: http://developer.android.com/reference/android/app/ListActivity.html what key combination does that? Feb 26 19:25:48 t0mless: What I by far love the most is how it autocompletes when you type the first letter in each word of a method/xml attribute name Feb 26 19:26:17 SimonVT: Really tries to take the tedium out of many aspects. Feb 26 19:26:35 lmr = android:layout_marginRight Feb 26 19:26:37 or hit tab and psf to get private static final Feb 26 19:26:56 shift tab? shit... forget Feb 26 19:27:01 Haha never knew that one Feb 26 19:27:02 Awesome Feb 26 19:27:30 SimonVT, t0mless all these shortcuts you listed are also available in Eclipse. Deleting lines, moving lines, copying lines, commenting, switching classes,... Feb 26 19:27:31 you can change the key that starts that Feb 26 19:27:46 and even change what's inserted Feb 26 19:27:50 monster mash. Feb 26 19:27:50 from the live templetes Feb 26 19:28:01 Leave_This_Place: I know if you highlight it and put your pointer on it, theres a Hyperlink inside the tooltip that opens an R.styleable tab in eclipse Feb 26 19:28:05 kakazza but InelliJ is still much faster ;) Feb 26 19:28:45 DrPenguin⎙ i'm not seeing a tooltip Feb 26 19:29:10 Leave_This_Place: I get one when I put my pointer over a Widget Type >_> Feb 26 19:29:37 DrPenguin⎙ hmm this is a fresh install of eclipse. do i have to do something additional in a preference? Feb 26 19:29:52 do you have the ADT plugin installed? Feb 26 19:29:52 Shift+F2 Feb 26 19:29:56 thats the key combo Feb 26 19:30:28 Alright, what could be the cause of my notification not vibrating, even though the .vibrate is set to a long[] { 0, 1000, 1000 }? Feb 26 19:30:42 SimonVT another one I like is shift+f6, inline refactoring of whatever is under the carat, class name, variable, etc Feb 26 19:30:59 n20 have the vibrate permission in manifest? Feb 26 19:31:20 t0mless: Feb 26 19:31:31 t0mless: Hopefully I didn't typo it for some reason Feb 26 19:31:34 could just be the device then Feb 26 19:31:52 But other apps do it, as far as I know of. :( Feb 26 19:31:54 the devices have to choose to support the notification features Feb 26 19:32:27 got another device to check it on? Feb 26 19:32:40 t0mless: Actually, yes, just need to plug it in! Feb 26 19:32:42 :-) Feb 26 19:33:07 DrPenguin⎙ thank you that's the one :) Feb 26 19:33:19 whats with the funky printer looking thing next to my name >_> Feb 26 19:33:20 i thought it was f2 something Feb 26 19:33:33 but f2 inside the brown popup window only gave it focus Feb 26 19:33:41 DrPenguin⎙ autocomplete Feb 26 19:33:54 Yeah I know, but theres a little paper icon next to my name.. Feb 26 19:34:15 paper icon? Feb 26 19:34:17 yup that's my autocomplete character Feb 26 19:34:18 I just see a block Feb 26 19:34:31 oh. t0mless are you not on utf-8? Feb 26 19:34:32 ahh it probably isnt translating for you and it doesnt display it as a hex value Feb 26 19:34:56 it's the keyboard value for the PrntScreen button Feb 26 19:35:21 it *should* show up on any utf-8 or even iso-8859 Feb 26 19:35:32 could just be the font I'm using Feb 26 19:35:39 possibly Feb 26 19:35:41 don't even remember what I set it to Feb 26 19:35:45 thats defitely possibe, doesnt support the glyph Feb 26 19:35:55 not all fonts carry complete sets beyond letters and accents :) Feb 26 19:36:06 that could also explains why you get a [] and not a 0x## Feb 26 19:36:08 and tbh not sure if I have mIRC setup to support utf-8 Feb 26 19:36:36 don't really care enough >.> Feb 26 19:36:42 Damn boxes Feb 26 19:40:44 well, i know mirc definitely supports utf-8 Feb 26 19:41:55 How can I draw a bitmap and a path (canvas dotted path) and have them animated at different speeds ? I'm using a surfaceview and a thead from which I'll call the ondraw method. Basically what I want is a delay of x seconds just for the bitmap until it moves to a new y position. Feb 26 19:45:23 t0mless: I reckon my XOOM can't vibrate... or can it? Feb 26 19:45:31 t0mless: *unsure* Feb 26 19:45:44 dunno Feb 26 19:45:48 my a500 vibrates Feb 26 19:45:55 t0mless: However, it didn't vibrate either. I could send you the apk, you would just need to run it (no need to login). :-) Feb 26 19:46:02 * Hiraghm is mad that he can't update his HTC SDK Feb 26 19:46:05 sure Feb 26 19:46:15 has anyone here tried to update the HTC sdk in eclipse? Feb 26 19:46:22 I've made it easier to debug by *creating* a notification on the first screen Feb 26 19:46:52 Wait what the... Feb 26 19:47:04 My phone seems to have different settings Feb 26 19:47:09 n20, if you put your xoom on the hood of your car, and then start it, or on your vacuum cleaner and start it, I'm sure it will vibrate :D Feb 26 19:47:13 * Hiraghm tries to be helpful Feb 26 19:47:15 Do u sign system apks? Feb 26 19:47:19 I turned on the "vibrate and ring", and that seems to vibrate o_o Feb 26 19:47:29 to make it vibrate Feb 26 19:47:38 I shake my xoom Feb 26 19:47:38 Weird choice of words if you ask me Feb 26 19:47:46 I love the dock Feb 26 19:47:50 evoandroidevo, did you manage to install and update the htc sdk? Feb 26 19:47:51 that gives it the illusion of vibration Feb 26 19:47:54 Who the h*ll needs a dock without a USB out? Feb 26 19:47:58 >_< Feb 26 19:48:05 uhm.. fishermen? Feb 26 19:48:19 lol Feb 26 19:48:25 Hiraghm: You get two audio out (AUX + headphone) but no USB Feb 26 19:48:25 The version code in manifest is only used to help the Market know there's an updated build of your app to notify users right? It's not related to the DB versioning? Feb 26 19:48:27 :( Feb 26 19:48:28 the a500 dock is very disappointing Feb 26 19:48:33 so, quickie about ImageViews and loading pictures into them on start. if I have a imageview with a default pic (ic_launcher for example) and want to load another picture into that iv; do I need to load it as an inputstream and then BitmapFactory it? like this: InputStream is = getResources().openRawResource(R.drawable.img_default); Feb 26 19:48:33 bm = BitmapFactory.decodeStream(is); Feb 26 19:48:33 profilePic.setImageBitmap(bm); Feb 26 19:48:39 When recompileing a system spk fo u sign it or not? Feb 26 19:48:43 only has AC in and 3.5mm stereo jack... Feb 26 19:48:53 and didn't even come with it's own charger plug! Feb 26 19:48:58 t0mless: Same with the XOOM o_o Feb 26 19:49:08 a system apk? Feb 26 19:49:11 do I need to convert it? can't I just reference it like setImage(R.drawable.my_picture) ? Feb 26 19:49:13 t0mless: I don't get it, why no USB out?! It's like the most important part. Feb 26 19:49:16 :( Feb 26 19:49:18 he's hacking his phone Hiraghm Feb 26 19:49:30 oh. #android-root? Feb 26 19:49:38 They're even blocking the socket, so I can't have it there :( Feb 26 19:49:39 I want usb port and hdmi port Feb 26 19:49:45 t0mless: I'd settle for a USB Feb 26 19:49:46 :( Feb 26 19:49:54 I want to be able to program my evo-3D's 3d camera :( Feb 26 19:50:03 * Hiraghm cries like a sissy Feb 26 19:50:30 ocken I think you're looking for setDrawableResource() Feb 26 19:50:47 http://code.google.com/p/roboguice/ is there any plus to using this? Feb 26 19:51:40 at first glance, roboguice looks useful for people who are new to Android Feb 26 19:51:45 I would find it to be in my way Feb 26 19:52:36 problem with a framework to 'do things for you' is it doesn't really help you understand how those things work, if they were to break you might just find yourself fucked Feb 26 19:52:43 Agree with the penguin. Feb 26 19:53:06 I haven't used it I just was interested in it. Feb 26 19:53:09 i agree with that storkme guy he seems pretty clued in Feb 26 19:53:25 I AM THE PENGUIN, ME GUSTA Feb 26 19:53:32 Ive been doing without it for so long it wouldn't make a difference Feb 26 20:05:12 DrPenguin I'd eat you Feb 26 20:08:09 WTF? Feb 26 20:08:10 I have a bitmap Triangle, in my View class i'm using onTouchEvent to registar the touches and then checking if they were in the object, but this seems anoying for irregular changed objects. Is there a simpler way? Feb 26 20:08:13 anyway.. Feb 26 20:08:54 Quesiton of opinion! What is a cool way for handling user log in for an app? Like I have an app that supports multiple users (locally) and for now, I am storing the currently logged in user via a SharedPreference. Any "better" ways than this? Feb 26 20:09:36 ah Feb 26 20:09:40 not really... sharedpreference is meant for temporary data also Feb 26 20:09:45 or there's scant else you could use Feb 26 20:10:09 too bad there's no "timed preference key", something that is set and evaporates after a set interval. Still, not very hard to do by yourself. Feb 26 20:10:13 Oh ok I was just curious, I felt like I was doing it some macguyverish way Feb 26 20:10:41 alankila: well I was figuring I was gonna register something such that when the app died, nuke the shared preference Feb 26 20:11:32 well if that's what you want just tuck the currently logged in user name in some static variable Feb 26 20:11:44 but in theory you should not tie session to the lifetime of your app process Feb 26 20:12:29 Well I didnt wanna use a static variable because I have mulitple things I store about the currently logged in user, figured it was cheaper than querying my database every time for the info Feb 26 20:43:05 any CM9 users here? Feb 26 20:48:32 can anyone recommend an easy gaming lib Feb 26 20:48:35 ? Feb 26 20:51:41 squeakytoy, gaming? Feb 26 20:51:52 yea Feb 26 20:51:59 or game engine* Feb 26 20:52:01 you want something to wrap graphics and input system? Feb 26 20:52:20 well, for a full on engine there is Unity 3d for android Feb 26 20:52:41 it's ok but I'm not sure about licensing Feb 26 20:52:42 hm Feb 26 20:52:47 for android Feb 26 20:53:08 you can make one pretty easy with NDK if you wrote one for even a PC client before Feb 26 20:53:16 OpenGL ES 2.0 is pretty easy Feb 26 20:53:40 also android supports EGL to handle details about windowing Feb 26 20:53:47 Hi, I've got a little issue. I'm trying to send an intent from within a class that extends Canvas. Any ideas on how to do this? Feb 26 20:53:49 also SDL 1.3 iirc works on android Feb 26 20:54:46 pdowling, not me I barely touch android specific code these days :/ Feb 26 20:55:05 and I never used the java Feb 26 20:55:41 man wheres a good dev when u need one Feb 26 20:55:54 I know, right? Feb 26 20:56:02 pdowling: Ideally, Canvas should not care about events, and you should have anything that triggers an Intent on a proper Context. Feb 26 20:56:32 I ported over my PS3 engine to android and forgot about the details Feb 26 20:56:42 nice Feb 26 20:57:47 you have to wrap the NDK build system to be sane is the only issue I can remember being a bitch at first Feb 26 20:57:54 just symlink it Feb 26 20:58:13 i need help with modding SystemUI.apk trying to put in a 1% battery mod but i mod it recompile it put it on my phone reboot and then have no status bar Feb 26 20:58:21 pdowling: Instead of adding whatever-this-is-doing to the Canvas, it can be added to the View which contains it. (Views are Contexts.) If this is unsuitable, for some bizarre reason, you can have your Canvas accept a Context as a constructor parameter. Feb 26 20:58:44 evoandroidevo: #android-root ? Feb 26 20:59:36 i have got more help over here than from over at #andorid-root Feb 26 21:01:30 kamoricks, thanks. Basically, my class that extends canvas is a graph that display some nodes and does stuff when a node is touched. Is this a wrong approach in the first place? Should this class be a view or activity instead that has a canvas? Feb 26 21:02:06 pdowling: It probably should be a view, yeah. Feb 26 21:02:23 just starting out android development. How do I find out which API I should be using? Feb 26 21:08:57 hey guys, im interested in working on a custom rom for ics for the samsung t989/t989d for telus and t-mobile - mostly perfered on the t989d samsung galaxy s ii x from telus. can anyone provide me links to the source, drivers and whatnot required to set up and program such a task? i would appreciate it. Feb 26 21:11:02 can anyone help? Feb 26 21:12:09 source u can get from google the rest u have to program urself Feb 26 21:12:36 as in drivers Feb 26 21:13:09 ah really? Feb 26 21:13:17 i thought they were readily available Feb 26 21:13:38 depends on the phone Feb 26 21:13:51 samsung galaxy s ii x Feb 26 21:14:01 t989 variant with telus/t-mobile Feb 26 21:14:17 most commpines dont give out soruce for divers Feb 26 21:16:24 ewwww galaxy s2 looks like an iphone Feb 26 21:16:31 yeah Feb 26 21:16:36 i know Feb 26 21:16:57 i just didnt want the iphone cause i dont like the ios Feb 26 21:17:04 so i got the galaxy sii Feb 26 21:17:50 hi all, i was trying to backup all of my data in my nexus s using adb backup, but I get this error message: adb: unable to open file ./backup.ab , why? Feb 26 21:18:43 so you dont think samsung would openly have their drivers available eh? Feb 26 21:19:17 ahh well i dont think samsung gives out source for drivers but im sure u can port then from stock rom Feb 26 21:26:20 how long does it take for the market to show updated promo images and icons and whatever nowadays? been waiting for an hour now Feb 26 21:27:46 is there anyone who might be able to tell me where does the "update-binary" file come from (source)? (the one in the update.zip) Feb 26 21:40:56 evoandroidevo a lot of android kernels for devices are actually open source Feb 26 21:41:59 https://opensource.samsung.com for example Feb 26 21:44:33 sorry im on htc and they no give us soruce fast enugh Feb 26 21:45:05 lol Feb 26 21:45:28 htc has been offering bootloader unlockers for almost all their devices Feb 26 21:46:06 yea but doesnt give s-off :P Feb 26 21:46:14 but it does help Feb 26 21:46:54 what device do you have? Feb 26 21:47:12 evo 4g Feb 26 21:47:46 I see kernel source for that Feb 26 21:48:14 http://htcdev.com/devcenter/downloads Feb 26 21:48:24 not sure what all is included though Feb 26 21:48:25 yea depeds on device Feb 26 21:48:50 but i run a ics rom no drivers for that :P Feb 26 21:52:49 hello - can anyone point me to a good resource to understand when to use yeah Feb 26 22:02:09 winegoddess: What do you mean? Feb 26 22:03:33 JakeWharton when you're alive let me know Feb 26 22:06:09 can anyone help me with android-SQL --> http://www.tnbforum.com/viewtopic.php?f=150&t=21063 Feb 26 22:06:35 what in the world has happened to ubuntu Feb 26 22:06:40 I put it in a VM Feb 26 22:06:46 and it so ugly! Feb 26 22:06:50 gotten better Feb 26 22:06:53 winegoddess: I'll give you an example. I might use the read phone state permission, so that my application will change behavior if there is an incoming call. But what if the application is running on a wifi tablet with no phone? So while I ask for the permission, I don't require the feature of needing phone service. Feb 26 22:06:57 it used to be so sleek Feb 26 22:07:04 i like unity Feb 26 22:07:14 The bar on the left side of the screen is annoying. Feb 26 22:07:30 Also - they do not have the manpower to do their own GUI. Feb 26 22:07:35 u can move it to the bottom Feb 26 22:08:00 Surfer2010 what error are you getting? Feb 26 22:08:36 clicking the view button freezes the app ^ Feb 26 22:09:10 but only if the KEY_TEST is in the code in that specific line Feb 26 22:09:15 What's especially annoying is to do stuff to Firefox, it is the upper left hand corner - but when you go there, the bar on the left pops in and out of existence Feb 26 22:09:22 Freezes? Or crashes Feb 26 22:09:24 (2/3rd down in the code i posted) Feb 26 22:09:41 Also, bugs like this ( https://bugs.launchpad.net/compiz-expo-plugin/+bug/875557 ) exist for far too long. Feb 26 22:10:18 "the app was ended unexpectatly" ? Feb 26 22:10:28 so crashes i think :D Feb 26 22:10:29 look in logcat and see what the error is Feb 26 22:11:01 If they were using GNOME, the community to fix those bugs would be larger. As they're forking, you're more or less dependent on someone from Canonical fixing bugs like that. So a very annoying bug that 123 people clicked "affects me" lasts for months Feb 26 22:11:47 [2012-02-26 23:11:06 - sql-testrun] ActivityManager: Warning: Activity not started, its current task has been brought to the front Feb 26 22:12:04 that's not the error Feb 26 22:12:50 ok once i press the button there are a couple of red lines showing up Feb 26 22:12:58 yea, pastebin all those red lines Feb 26 22:13:09 should say Unhandled Exception or something Feb 26 22:13:18 02-26 22:11:52.685: D/AndroidRuntime(674): Shutting down VM Feb 26 22:13:22 02-26 22:11:52.695: W/dalvikvm(674): threadid=3: thread exiting with uncaught exception (group=0x4001b188) Feb 26 22:13:24 no Feb 26 22:13:26 pastebin Feb 26 22:13:30 02-26 22:11:52.695: E/AndroidRuntime(674): Uncaught handler: thread main exiting due to uncaught exception Feb 26 22:13:31 ok Feb 26 22:13:32 sry Feb 26 22:13:48 paste all of the exception Feb 26 22:14:06 http://pastebin.com/nKJQuyBi Feb 26 22:14:09 while you're at it, put that database class up there too Feb 26 22:14:20 so I don't have to look at a like 5 line window Feb 26 22:14:38 "android.database.sqlite.SQLiteException: no such column: persons_test:" Feb 26 22:14:42 your database is old Feb 26 22:14:51 + the class http://pastebin.com/TPLNnkzt Feb 26 22:15:13 the update isn't getting called for some reason Feb 26 22:15:43 Probably because you didn't up the database version Feb 26 22:16:00 ^ that Feb 26 22:16:03 how do i update it ... a new button? Feb 26 22:16:12 private static final int DATABASE_VERSION = 1; Feb 26 22:16:14 make that 2 Feb 26 22:16:24 in the class code? Feb 26 22:16:27 Yup Feb 26 22:16:41 that will say this uses vers 2 of your database Feb 26 22:16:58 and your old one will get updated when getWriteableDatabase() is called Feb 26 22:17:46 okay ... so mh Feb 26 22:18:05 every time i change the rows/add new ones i need to put in a different number? Feb 26 22:18:14 and what about the data i allready put in? Feb 26 22:18:17 any time you change the structure of your database Feb 26 22:18:22 ok Feb 26 22:18:23 well Feb 26 22:18:31 since your onUpgrade just drops the table and recreates it Feb 26 22:18:35 everything will go boom Feb 26 22:18:53 you should instead import the old data into the new db Feb 26 22:19:20 anybody know the shortcut to show the methods i can override ? Feb 26 22:19:27 in eclipse Feb 26 22:19:28 or use UPDATE TABLE if you're just adding colums Feb 26 22:19:38 okay so once i change the structure i need to change the import.old to new db aswell or at least add things to it Feb 26 22:20:04 yup Feb 26 22:20:26 I see that onUpgrade() method a lot... I think a bunch of tutorials use it for trivial DB examples Feb 26 22:20:33 what do you mean by update table .... that "shoots/delets" the old table-data aswell doesn't it? Feb 26 22:20:43 no... Feb 26 22:20:59 exactly that's where i got it from ;) ... thenewboston Feb 26 22:21:00 go read the SQLite3 docs Feb 26 22:21:04 ok Feb 26 22:21:34 thanks a lot ... spent about 4 hours finding the mistake :( Feb 26 22:22:10 step 1) look at logcat Feb 26 22:22:21 step 2) fix exception shown in logcat Feb 26 22:22:27 step 3) profit! Feb 26 22:22:32 lol Feb 26 22:23:12 lol true but only possible if you can "read" what is loged there :D Feb 26 22:23:22 danieldeusing: Alt-Shift-S then V Feb 26 22:24:39 hello Feb 26 22:25:38 bbl... Feb 26 22:25:56 guys I have a quick question, why when I try to put a EditText I have a warning "This text field does not specify an inputType or a hint" any idea ? Feb 26 22:26:24 KEY_TEST + " INTEGER DEFAULT 0);" <--- is that the way to set 0 as a default value in the SQL-DB Feb 26 22:27:03 rmarcandier: specify android:inputType Feb 26 22:27:07 in the xml Feb 26 22:28:57 mmmmmmm chipotle Feb 26 22:29:22 kanelbulle -->> android:inputType Feb 26 22:29:22 android:layout_width="fill_parent" Feb 26 22:29:22 android:layout_height="wrap_content" Feb 26 22:29:22 android:id="@+dados/nome" /> Feb 26 22:29:25 ?? Feb 26 22:29:26 wtf Feb 26 22:29:42 rmarcandier: you must set it to a value Feb 26 22:30:04 u can get kicked for spam doing that rmarcandier just letting u know Feb 26 22:30:24 sorry evoandroidevo Feb 26 22:30:37 I just asked a question.. Feb 26 22:30:45 rmarcandier: android:inputType="text" is a valid one for example Feb 26 22:30:57 the inputtype specifies what kind of input the editfield should receive Feb 26 22:31:09 great. thank you kanelbulle :) Feb 26 22:31:14 numbers, text, email address and so forth Feb 26 22:31:30 sure Feb 26 22:34:32 rmarcandier he was refering to you pasting multiple lines of code into the channel intead of using pastebin Feb 26 22:35:07 I just started to use mIRC today.. Feb 26 22:35:21 I dont know all commands and rules.. Feb 26 22:35:24 sorry about it Feb 26 22:37:37 yeah next time go to pastebin.com, put the text there, and give us the link Feb 26 22:37:47 if it's longer than like 1 line Feb 26 22:37:55 Shit Feb 26 22:37:57 how do i set a default integer value in a sql-db? like that? KEY_TEST + " INTEGER DEFAULT 0 Feb 26 22:38:00 I remember asking this before. Feb 26 22:38:25 Do you guys know how to run an app on something where the platform is less than the target? Feb 26 22:38:33 I remember doing it once on an emulator. Feb 26 22:38:40 I see ;) thanks guys Feb 26 22:38:44 But I want to actually send this to my phone. Feb 26 22:38:53 RMapZero minsdk in the manifest. Feb 26 22:39:11 Can't use minSDK, there are compatibility checks. Feb 26 22:39:16 Has to be built on 4.0.3 at least. Feb 26 22:39:22 android:minSdkVersion="7" Feb 26 22:39:27 android:targetSdkVersion="15" Feb 26 22:39:31 Something like that. Feb 26 22:39:38 Oh right, yeah I have that. Feb 26 22:39:41 Got those two confused. Feb 26 22:39:46 But I still have to build on the target SDK. Feb 26 22:39:48 inside the element Feb 26 22:40:09 I just mean that the "Run" button won't let me build it to there. Feb 26 22:40:24 Are you trying to test it on a lower sdk? Feb 26 22:40:29 Yes. Feb 26 22:40:30 Greetings. A total noob to android developement here. Does anyone know how to interact with a PHP textfield and button? I cant seem to find the answer myself Feb 26 22:40:31 If so, just change the SDK to a lower one Feb 26 22:40:38 The target, or min? Feb 26 22:40:50 Properties -> Android -> (choose an SDK) -> Apply (I think this is right) Feb 26 22:41:05 And it will change your current sdk to one you choose. Feb 26 22:41:20 That's the build target, though. Feb 26 22:41:35 Run it in an emulater Feb 26 22:41:44 That runs the SDK you want to test it on. Feb 26 22:41:53 t0mless do you know how to? since nobody else is reacting :) Feb 26 22:42:04 Well, the problem is that the target has to be API15. Feb 26 22:42:11 So I can build it on my API15 system. Feb 26 22:42:13 go look up SQLite3 syntax Feb 26 22:42:17 But now I want to run it on API10. Feb 26 22:42:29 You are making this harder then it needs to be lol. Feb 26 22:42:30 they have a whole website dedicated to documentation of sqlite3 syntax Feb 26 22:42:32 So I don't want to have to build it again, because the target _must_ be 15. Feb 26 22:42:40 I've done this before. Feb 26 22:42:58 JoeTheGuest - No, because if I change the target to API10 or something, I lose version strings above 10. Feb 26 22:43:04 And there are compatibility checks that require those. Feb 26 22:43:15 .. the minimun API level your app works on is defined by minSdkVersion Feb 26 22:43:17 RMapZero: minApi="10" maxApi="15"? Feb 26 22:43:25 So if your minSdkVersion is 7, you can run on 7+ Feb 26 22:43:25 Right. Feb 26 22:43:26 What are you trying to do, im confused now. Feb 26 22:43:35 I have minSDK="7", targetSDK="15". Feb 26 22:43:35 Guys, if you have a seperate class to unzip files, is there a way so that when the user clicks on a .zip file(only .zips) it will unzip them? Feb 26 22:43:44 You are trying to test an app on a lower sdk which building it on a higher sdk? Feb 26 22:43:47 Okay, then there's no issue pushing the apk to an api10 device Feb 26 22:43:54 Well, tell Eclipse that. Feb 26 22:44:03 Er, right. Feb 26 22:44:06 Pushing the apk. Feb 26 22:44:08 I did, it agreed Feb 26 22:44:09 Is there a reason why TabActivity is substituted by Fragments? I have something I wanna design and a Tabactivity would be perfect and I cant think of a way to do it with fragments that would make sense Feb 26 22:44:23 When I click "Run", it says my API=10 system is not a valid target. Feb 26 22:44:40 seems like some automatic control (or even lint check) would help against platform fragmentation quite nicely Feb 26 22:44:40 RMapZero just run it then. Leave the SDK to 15 and set the min to what ever you want and it will run it on any device that meets that API requirement. Feb 26 22:44:43 I think I need to make an APK on an >=API15 system, then push an apk. Feb 26 22:44:43 PaulForde[A]: IntentFilter with a MimeType or a PathPattern. Feb 26 22:44:48 RMapZero fix your run configuration Feb 26 22:45:00 kamoricks: thank you, thats what I had in mind, but I wasn't sure if I was going about it the correct way Feb 26 22:45:02 thanks again Feb 26 22:45:10 Oh. Feb 26 22:45:11 Gah. Feb 26 22:45:20 I was just put off by the big red x. Feb 26 22:45:25 I'm retarded. Feb 26 22:46:29 I assumed it wouldn't let me install due to the big red x. Feb 26 22:46:32 That's... confusing. Feb 26 22:47:10 DrPenguin: Eh, just use tabhost with fragments if you don't want to use actionbar tabs Feb 26 22:49:04 storkme do you know why my EditText dont appear on my emulator? -->> http://pastebin.com/5sTmsRtN Feb 26 22:49:29 looks fine to me, depends how you've laid it out though Feb 26 22:50:22 thank you Feb 26 22:57:25 SimonVT: I dont mind Actionbar tabs (no idea what those are anyway) I was just unsure how fragments replaced tabactivities Feb 26 22:58:35 test Feb 26 22:59:05 Oo I actually like that, Can I use ActionBar in 2.3.3 via ACL? Feb 26 22:59:24 is it possible to buy android phone and use it with at&t but without a data plan? (internet over wifi and makeing phone calls with at&t) ? Feb 26 22:59:53 anybody is familiar with the andEngine ? Feb 26 23:02:11 quit Feb 26 23:02:13 exit Feb 26 23:06:47 DrPenguin Actionbar isn't in the ACL Feb 26 23:07:16 you can use action bar sherlock which backports it to 2.1 Feb 26 23:07:49 there is another one too Feb 26 23:07:58 t0mless: I actually found it, Google says how to use Action Bar pre 11 Feb 26 23:09:00 hrm... Feb 26 23:09:21 unity isn't honoring my settings I set in compizconfig Feb 26 23:09:33 lolunity Feb 26 23:09:50 yep ^ :P Feb 26 23:10:16 been a while since i've done any linux Feb 26 23:10:20 but i want to start using it again Feb 26 23:10:32 Unity is a Horrid Piece of Crap Feb 26 23:10:42 I can agree with that Feb 26 23:10:56 If it would honor my settings I would like it more Feb 26 23:11:06 what windowmanager would you recommend? Feb 26 23:11:14 OpenBoxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx Feb 26 23:12:20 * p_l is using XMonad, but that can be hard to configure Feb 26 23:13:08 t0mless: fuck wm! gnome3 <3 Feb 26 23:13:20 hmm, It may just be easier to use Actionbar Sherlock.. JakeWhartons a good guy :P Feb 26 23:18:36 are there any caveats I should know about to using ABS? Feb 26 23:20:52 int inhalt = cvModify11.get(columns1[position]); <---- the things i'm getting from the Database is an integer ... why can't i put it that way? Feb 26 23:22:52 Surfer2010: What does cvModify11.get(*) return? Feb 26 23:23:22 int inhalt = cvModify.get(KEY_NUMBER); KEY_NUMBER is an int in a Database Feb 26 23:23:40 Surfer2010: What type does it say it returns? Feb 26 23:24:42 "Type mismatch: cannot convert from Object to int" Feb 26 23:25:36 why are you trying to do that? Feb 26 23:26:02 Surfer2010: There you go. It *may* be safe to cast to Integer. Feb 26 23:26:10 or use getInt() Feb 26 23:26:58 i need to edit a certain element of my database depending on the "button i push" ... so calling the method i give a string (name of the button) to the method Feb 26 23:27:24 uhh Feb 26 23:27:25 ok Feb 26 23:27:35 now i am searching for the name of the button in an array ... taking the position and getting the KEY... in the second array Feb 26 23:28:02 now i need to take that integet out of this add 1 to it and put it back in Feb 26 23:28:28 ... t0mless.. When I imported ABS into my project it killed my R Feb 26 23:28:35 luls Feb 26 23:28:46 rebuild? Feb 26 23:29:32 I think it may be because the ABS package wants me to implementa bunch of functions in the ActionItemMenu class Feb 26 23:29:39 rebuild <--- was that for me? Feb 26 23:31:02 .. Nope, ABS breaks my project Feb 26 23:33:06 hm no help for me? :( Feb 26 23:34:20 Surfer2010: what are you trying to do..? Feb 26 23:35:18 klick on button --> giving name of button to a method --> method should depending on the button clicked add 1 to the value of a certain row in the table Feb 26 23:35:41 so i got 2 array array1 = names of the rows array2 = names of the buttons Feb 26 23:36:05 ok so parallel arrays Feb 26 23:36:10 xes Feb 26 23:36:12 yes Feb 26 23:39:31 so wheres the problem at? Feb 26 23:40:46 the things stored are integers ... so i tryed int inhalt = cvModify.get(array1[position]); Feb 26 23:41:05 but it says "cannot convert from object to in" Feb 26 23:41:07 int* Feb 26 23:41:18 right.. you cant convert from an Object to a primitive Feb 26 23:41:21 and already was told to cast to (Integer) Feb 26 23:42:51 cast to Integer means ? Feb 26 23:42:51 Casting it to an Integer didnt work? Feb 26 23:43:02 ... Think your in the wrong place then man Feb 26 23:43:08 int inhalt = (Integer) cvModify.get(array1[position]); Feb 26 23:43:09 Casting is a basic basic basic Programming concept Feb 26 23:43:32 there might also be getInt() method, but the guy ignored that advice too Feb 26 23:44:04 thanks alankila that worked Feb 26 23:47:12 sorry to say that but maybe this channel should be renamed into "android-dev-professionalsOnly" ... yes i know it's tidious to answer all those basic questions, but what about "the best way to learn is by doing it" ... not meaning you're asked to write the code for a newbie but to help him learn ... Feb 26 23:48:30 Hi, what's a good book to start with Android? Feb 26 23:48:34 Surfer2010: that isnt Android.. thats Java Feb 26 23:48:38 this isnt #java Feb 26 23:49:34 and it's not possible to learn "programming android" ? ... including Java ? i think it is ... might be hard but still possible Feb 26 23:49:49 Surfer2010: what you want is a book that teaches java orientated around android Feb 26 23:50:15 Surfer2010: if your gonna write Android Apps, learn Java First Feb 26 23:51:23 about a week ago i had no clue about Java besides it being object orientated, i only knew C .... now i'm programming an app in android ... of course i'm having a hard time but i'm getting to where i want to be Feb 26 23:51:55 Surfer2010: you'd spare some time if you got the book "thinking in java" (freely available on the web)... read the first 100 or 200 pages if nothing else Feb 26 23:51:59 as you can see i'm making the easiest mistakes and don't know about the simple things Feb 26 23:52:28 Surfer2010: Which is exactly my point. Your making Programming (not Java, not Android) mistakes. Feb 26 23:52:30 it starts from explaining what the object oriented mindset is, and I can tell from the samples you've shown so far that you probably don't grasp them Feb 26 23:52:47 even 1 line reveals that Feb 26 23:54:18 and that's the reason to be feed with "look at www.google.com" ? or "http://developer.android.com" Feb 26 23:55:25 so i suppose you don't understand yourself as a helper/teacher Feb 26 23:56:20 Surfer2010: we aren't obligated to spoonfeed you basic programming knowledge, no. Nor is the task particularly rewarding. You might find someone to do it, but you can self-help by getting that thinking in java book. Or any other beginner java book. Feb 26 23:58:42 true and believe it or not i'm almost sleeping with such a java-beginners-book, i wanna see the programmer who started and wasn't making any mistakes ... and i was just saying that it kinda seems that you for sure help people solve their problems but only at lets say "high-level-problems" bad for me but yes i will got back reading ;) Feb 26 23:59:09 good. Feb 27 00:00:12 alankila: could not agree more Feb 27 00:00:40 fair enough if someone asks for help, but they have to help themselves in order for you to help them Feb 27 00:00:43 looks like bedtime. Feb 27 00:07:47 t0mless, . Feb 27 00:08:20 I got distracted by playing with ubuntu in this vm Feb 27 00:09:03 that pull request I sent last night will make the actionmode work on <4.0 with theme Sherlock.Light.DarkActionBar Feb 27 00:09:04 but Feb 27 00:09:18 to use the compat bar on 4.0 Feb 27 00:09:22 I would have to redo all the styles Feb 27 00:09:59 or rather, make more of your Sherlock.__Theme type ones Feb 27 00:10:12 you sure? it worked the last time I checked Feb 27 00:10:13 that I can then reference from a DarkActionBar.Compat theme Feb 27 00:10:29 didn't work on my tablet Feb 27 00:11:04 it showed the action mode and icons but no logo/home button or background was applied Feb 27 00:11:11 when forcing the compat bar Feb 27 00:11:15 instead of native Feb 27 00:11:26 ah Feb 27 00:11:32 guess we won't support that Feb 27 00:11:56 maybe I should learn how to use gerrit and add the fix for the action mode to it Feb 27 00:13:41 go for it Feb 27 00:13:45 i've contributed a few fixes Feb 27 00:14:36 and abandoned one Feb 27 00:14:43 oddly enough when I made a style that just set the local attributes using the holo theme and things like ?android:attr/actionBarStyle didn't work Feb 27 00:14:44 that I should actually revive and completely fix Feb 27 00:15:21 because their styles all use prefixed attributes Feb 27 00:15:31 yea :( Feb 27 00:15:53 my inbox is overflowing Feb 27 00:15:54 lhadlkhasdf Feb 27 00:17:01 how do i configure an intent to send multiple attachments? Feb 27 00:17:19 SEND_MULTIPLE and a list of URIs for EXTRA_STREAM does not work Feb 27 00:17:29 it attaches 1 0 length file which doesn't even get sent Feb 27 00:29:09 t0mless, i can't pull this in Feb 27 00:29:22 you're adding things that don't exist on the native side Feb 27 00:29:42 eh? Feb 27 00:29:51 actionModeCloseTextAppearance doesn't exist Feb 27 00:30:05 I created it Feb 27 00:30:15 did I not merge attrs? Feb 27 00:30:35 no I get that, but it's not there on 4.0+ Feb 27 00:30:43 oh yea, I know Feb 27 00:30:56 I can't do that Feb 27 00:31:03 it has to function the same, bugs and all Feb 27 00:31:04 but until I figure out how they're going to fix it... Feb 27 00:31:43 I assume they'll do something similar Feb 27 00:33:23 but until they do, I can't add it Feb 27 00:33:28 this is how I got into trouble with v3.x Feb 27 00:37:40 well then nevermind Feb 27 00:40:35 i think i need to drop the native action bar plugin for honeycomb too Feb 27 00:41:05 so little time and so much to do Feb 27 00:41:29 hmm? Feb 27 00:41:42 "drop the native action bar plugin" ? Feb 27 00:42:33 for honeycomb Feb 27 00:42:42 key part of that Feb 27 00:43:17 we only use native on 4.0+ because the 3.0 action bar is... Feb 27 00:43:28 underdeveloped Feb 27 00:43:31 might be a polite way to put it Feb 27 00:43:34 so stop using the native actionbar on 3.x? Feb 27 00:44:07 didn't realize it was. thought the whole point of abs4 was to replicate it entirely Feb 27 00:44:07 I was, but I made a quick plugin that let you enable its use on 3.x Feb 27 00:44:15 oooh Feb 27 00:44:42 just a quick testament to the cool new plugin system I wrote Feb 27 00:44:42 But I think it's causing theme problems Feb 27 00:44:45 meh, yeah. since that release is essentially frozen, I wouldn't know why that would be helpful Feb 27 00:44:58 plus HC's market share will only decline Feb 27 00:45:28 we can only hope Feb 27 00:46:04 truly Feb 27 00:46:07 ugh, d.android.com target devices still not refreshed for first half of February Feb 27 00:49:51 JakeWharton: Hey there! ActionBarSherlock looks quite interesting, when I have time to play around with it im gonna do so, nice job! For now, its too complicated for the small amount of time I have ^^; Feb 27 00:50:04 EddieRingle, ! Feb 27 00:50:11 DrPenguin, cool. use version 4 Feb 27 00:50:15 it'll be out in a week Feb 27 00:50:33 JakeWharton: understood, ill probably do that for my Senior Design Project.. for now just gonna directly use tabhosts Feb 27 00:51:37 or I should say, it'll be out in a week if I can fix this bug Feb 27 00:51:47 JakeWharton: heya Feb 27 00:52:00 i was going to email you back tonight Feb 27 00:52:06 i'm sort of moving so things are hectic Feb 27 00:52:11 ah Feb 27 00:57:05 Tagalongs. 15 to a box. Serving size of 2. Feb 27 00:57:10 Seriously? Feb 27 00:57:58 Yeah... I know. Who can stop at just one box? ;-) Feb 27 00:58:19 that was odd Feb 27 00:58:35 JakeWharton: anyways, you can probably ignore my email... I've got a nice setup going with git submodules now Feb 27 00:58:40 ah ok Feb 27 00:58:44 i wanted to warn you though Feb 27 00:58:47 JakeWharton: although it would be nice to know what I'm doing though Feb 27 00:58:51 doing wrong* Feb 27 00:58:57 evrything :| Feb 27 00:59:04 GitHub put out a first party app for gaug.es... Feb 27 00:59:08 extrapolate from that Feb 27 00:59:14 JakeWharton: I know, that's what I based it off of Feb 27 00:59:29 i'm just saying Feb 27 00:59:37 consider what you're doing and what they may be doing Feb 27 00:59:56 JakeWharton: I mean, I tried to get Gaug.es building in IntelliJ and I couldn't Feb 27 01:02:17 mrenouf, at least with thing mints they give you two sleeves and I can justify eating a whole one Feb 27 01:02:22 but this 15 in a box thing is ridiculous Feb 27 01:03:13 *thin mints Feb 27 01:03:27 never heard of gauge.es but apparently github bought them Feb 27 01:03:31 -e Feb 27 01:03:35 yes Feb 27 01:03:40 they bought the whole company Feb 27 01:03:44 operation something Feb 27 01:04:10 ordered list creations, llc ? Feb 27 01:04:11 ordered list Feb 27 01:04:12 i was close Feb 27 01:04:49 I migrated all my stuff to Gaug.es when the app came out Feb 27 01:05:37 the UI/UX is so much nicer than Google Analytics Feb 27 01:05:37 the new analytics is damn near unusable Feb 27 01:05:39 so this is like piwik or GA or what? Feb 27 01:06:01 sort of both Feb 27 01:06:10 like piwik it's all real time Feb 27 01:06:27 except unlike both, the UI is not pure ass Feb 27 01:07:01 ah Feb 27 01:07:37 Analytics has realtime Feb 27 01:07:50 but I guess it's limited function Feb 27 01:08:31 yeah Feb 27 01:08:37 it's just so hard to navigate around Feb 27 01:09:30 there's a lot of data and a lot of controls to manipulate things Feb 27 01:09:36 basically a UX nightmare Feb 27 01:10:00 yeah. I agree Feb 27 01:10:21 I barely understand hald the stuff Feb 27 01:10:43 but I can see what devices are using my app, and from where, and for how long. good enough for me Feb 27 01:10:51 (Mobile analytics) Feb 27 01:11:01 ah i've never used the mobile stuff Feb 27 01:11:14 still waiting to work on that first app :) Feb 27 01:11:36 its really no different, you just treat an activity or some state of you app as a "pageview" and it does the rest Feb 27 01:12:08 theres a library that handles all that, queueing and background batch processing Feb 27 01:14:18 I wonder if GitHub will take gaug.es in that direction now that they're venturing more into mobile apps Feb 27 01:14:36 argh, drawbitmap is not working but i dont know why :( Feb 27 01:16:16 is there any way to check that a bitmap is valid? Feb 27 01:16:59 I'm derping it up today :\ Feb 27 01:27:35 i should be packing Feb 27 01:27:36 ugh Feb 27 01:29:36 woohoo, simple xml mistake and now it works :) Feb 27 01:30:33 those are the best Feb 27 01:30:45 wth is going on in Japan right now Feb 27 01:31:04 tweets are pouring in Feb 27 01:31:05 packing sucks Feb 27 01:31:12 JakeWharton? Feb 27 01:31:23 * t0mless doesn't really use twitter Feb 27 01:31:26 earthquake? Feb 27 01:31:29 someone tweeted something with ActionBarSherlock in it about an hour ago Feb 27 01:31:34 * Jug6ernaut only uses twitter as a news feed tbh Feb 27 01:31:43 it's been retweeted like 50 times since then Feb 27 01:31:47 lol Feb 27 01:31:49 xD Feb 27 01:31:54 so my computer has been beeping every minute or so since TweetDeck picks them up Feb 27 01:32:02 and they're all in Japanese Feb 27 01:32:02 lol Feb 27 01:32:15 godzirra Feb 27 01:32:22 ROLF Feb 27 01:32:27 maybe my library set him loose Feb 27 01:32:29 wait.. ROFR Feb 27 01:32:46 rofr? Feb 27 01:32:53 lol @ rolf Feb 27 01:33:04 Jug6ernaut: its rofl, but with an r vs an l Feb 27 01:33:14 https://twitter.com/#!/search/actionbarsherlock Feb 27 01:33:15 ah lol Feb 27 01:33:31 that's not even all of them Feb 27 01:33:36 since twitter search sucks Feb 27 01:33:51 Atleast you dont have a printer hooked up to your twitter account (saw that in a video) Feb 27 01:38:18 yea Feb 27 01:38:21 that would be a bad idea Feb 27 01:39:04 hahaha so many anime icons Feb 27 01:39:40 gg internets Feb 27 01:40:34 since when can't you watch TV shows online until 8 days later? Feb 27 01:42:43 you using hulu? Feb 27 01:42:56 success: http://pingfmmedia.s3.amazonaws.com/img/UYGBQBlU/7QGf8aU3lfSdd6sN.jpg Feb 27 01:42:59 they do that shit all the time Feb 27 01:43:18 hulu and fox.com both say it Feb 27 01:43:30 and they wonder why people download Feb 27 01:43:58 I would probably download less shows if I had a dvr... but why pay for a dvr if I can just download the show.... Feb 27 01:45:33 apparently you can sign in with your TV details and watch Feb 27 01:45:59 depends on your carrier Feb 27 01:46:03 tnt.tv does that too Feb 27 01:46:23 everything isn't meshing well with linux/chome Feb 27 01:46:30 * JakeWharton flips open a torrent site Feb 27 01:46:34 haha Feb 27 01:46:44 you looking for a specific show? Feb 27 01:47:06 i've missed just about everything over the last two weeks due to coordinating the move Feb 27 01:47:11 i just wanted to watch something Feb 27 01:47:15 anything Feb 27 01:47:26 guess i could find one that's older than 8 days Feb 27 01:56:15 huh Feb 27 01:56:23 Pandora is really on a pandora kick Feb 27 01:56:26 fuck Feb 27 01:56:30 I suck at typing Feb 27 01:56:34 on a johnny cash kick Feb 27 01:58:16 t0mless Feb 27 01:58:21 wtf r u talking about lol Feb 27 01:58:33 listening to pandora Feb 27 01:58:40 it's played like 5 johnny cash songs in a row Feb 27 01:59:03 uh Feb 27 01:59:07 but now it just switched to black sabbath Feb 27 01:59:25 notifications for GitHub issues should be on by default right? Feb 27 01:59:38 so if someone makes a new issue it should always send me comments on them and such? Feb 27 01:59:48 in theory? Feb 27 01:59:49 JakeWharton: yes Feb 27 02:01:12 so a lot of mine have not been doing that Feb 27 02:01:12 I emailed support and got this back: "I believe you have to go and enable notifications for a new issue explicitly. You do that by visiting the issue's page and then subscribing at the bottom of the page." Feb 27 02:01:18 there are times when I don't even get emails for new issues either Feb 27 02:01:33 there's no way that's default Feb 27 02:02:44 There's a checkbox in Account Settings that says to email me whenever there's a new issue and when a comment has been posted after I posted Feb 27 02:02:56 the default is for those to be checked, afaik Feb 27 02:03:01 I checked those too, both checked Feb 27 02:03:01 always have been for me Feb 27 02:03:04 yeah Feb 27 02:03:41 something is broken, go yell at them Feb 27 02:06:34 hmm. Feb 27 02:06:42 what the hell is going on here Feb 27 02:07:01 TCP/IP Feb 27 02:09:29 http://gawker.com/5888439/the-dictator-spills-kim-jong+ils-ashes-on-ryan-seacrest Feb 27 02:10:00 wwwwwwwwwwwwwwwwwwwwtf Feb 27 02:11:12 I hate that guy Feb 27 02:11:30 I just don't find that humor amusing Feb 27 02:11:32 Borat etc Feb 27 02:11:46 That movie was disgusting Feb 27 02:17:50 JakeWharton: should I be using getSupportActionBar() or getSherlock().getActionBar()? Feb 27 02:18:02 the first one Feb 27 02:18:09 though they both do the exact same thing Feb 27 02:18:15 thought as much Feb 27 02:18:35 the getSherlock() is only there for programmatic access to setting the UI options Feb 27 02:18:55 e.g., getSherlock().setUiOptions(ActivityInfo.ACTION_BAR_SPLIT_WHEN_NARROW) Feb 27 02:19:32 it just so happens you get access to all the other crap it provides Feb 27 02:19:42 which is exactly what is used by all the methods in the activities anyways Feb 27 02:19:51 fun stuff Feb 27 02:28:12 JakeWharton: what are your thoughts on a Dashboard activity? Feb 27 02:28:47 eh, it's good for phone-like devices I guess Feb 27 02:29:18 I attended a talk by Suzanne Alexander at AnDevCon where she pushed a content-first approach which I really liked Feb 27 02:29:59 I'm willing to bet that most of the time when someone opens an app that uses the dashboard pattern they're all click on the same thing first Feb 27 02:30:16 the feed/news/latest/stream/whatever item Feb 27 02:30:31 well, I added a hidden feature in Hubroid where you could long-click a dashboard action to set it as default Feb 27 02:30:38 thing G+, Facebook, Twitter, RSS Reader, etc. Feb 27 02:30:40 oh yeah? Feb 27 02:30:41 not sure if I should be keeping the dashboard in at all this time around Feb 27 02:31:13 but yeah, I think it was nice to be able to decide where you wanted to begin your sessions Feb 27 02:31:18 pfn, what happens in 4 versions? Feb 27 02:31:27 0.02 finally?! Feb 27 02:44:42 If I'd like my view to be completely white, would android:color="white" in the xml do it? Feb 27 02:44:54 (I'd like to make a white divider line) Feb 27 02:44:56 yello all Feb 27 02:45:09 background="@android:color/white" Feb 27 02:45:14 android:background="@android:color/white" Feb 27 02:45:24 ah ok Feb 27 02:45:54 JakeWharton: reading the slides from that talk you mentioned, so far so good Feb 27 02:46:17 I think she even calls out the G+ app Feb 27 02:46:22 yep Feb 27 02:52:32 Greetings all. Given that android 3.0+ has fragments, when should one create a new activity, as opposed to another fragment Feb 27 02:52:34 ? Feb 27 02:53:36 disabled QoS on my new router (on by default for some reason) Feb 27 02:53:43 speeds jumped from 1mbps to 15 Feb 27 02:53:51 Or are 3.0+ apps just loads of gragments? Feb 27 02:55:17 I have no idea what the first part of that question was but any new app written for 1.6 or newer should be using fragments Feb 27 02:55:38 there are no longer phones or tablets Feb 27 02:55:41 the lines are blurred Feb 27 02:56:00 your application needs to be developed in a responsive way so that it properly utizilies all of the available screen space Feb 27 02:56:40 the easiest way to do that is by modularizing sections of the app into fragments and using the activities to coordinate the display (and possible interaction) of them Feb 27 02:57:19 JakeWharton, I understand the blur between phones and tablets. I'm just trying to understand when does the modular function of a fragment better implemented as a new activity Feb 27 02:57:26 Or what the role of activity is now Feb 27 02:58:09 the activity should be used as a controller of sorts for shuffling in and out fragments and possibly for passing information between them Feb 27 02:58:59 So it wouldn't be unusual to have 1 activity and 10 fragments in an app? Feb 27 02:59:15 not at all, depending on the app Feb 27 02:59:25 it gets a bit chaotic if you try to go all fragments and 1 activity Feb 27 02:59:29 try to group them in large logical chunks Feb 27 02:59:33 kk Feb 27 02:59:43 Thats the principle I'm trying to get at **** ENDING LOGGING AT Mon Feb 27 02:59:58 2012