**** BEGIN LOGGING AT Thu Dec 20 03:00:00 2012 Dec 20 03:10:47 hello, can Android 4.0.4 be built with gcc 4.6.x ? Dec 20 03:34:45 mornin' Dec 20 03:46:48 alex_PP, Morning Dec 20 03:47:04 alex_PP: evenin' :D Dec 20 03:50:56 "So what colour is the dress you picked out?" "fuckweasel" "... and what colour is that exactly?" "FUCHSIA!" <---- remember remember, the evils of autocorrect Dec 20 03:55:24 is fuckweasel not a colour? Dec 20 03:55:50 oh dear Dec 20 04:00:41 now we know how often someone uses 'fuckweasel' Dec 20 04:01:38 :D Dec 20 04:02:01 this seems like a good time to have returned Dec 20 04:03:07 arrrgggh Dec 20 04:03:10 why ADT, why!? Dec 20 04:07:08 intellij Dec 20 04:07:10 XD Dec 20 04:09:59 yawn Dec 20 04:10:11 do cows yawn ? Dec 20 04:10:20 til : yes Dec 20 04:13:07 yeah Dec 20 04:13:15 ive been really tired the last few nights Dec 20 04:13:18 fell asleep on the bus Dec 20 04:13:32 in some parts of the world, you could have woken up on a boat Dec 20 04:14:22 very interesting. http://stackoverflow.com/questions/6216983/why-does-android-use-junit-over-testng-even-if-cedric-beust-created-testng-and-w Dec 20 04:15:41 g00s: i've run into this many times personally Dec 20 04:15:54 decisions i made when we had G1 hardware and Android 1.x differ drammatically from decisions i make now Dec 20 04:16:09 for example, i now use google http client. and i don't care that it uses reflection. Dec 20 04:17:59 yeah, i did the same thing (like ints over enums) Dec 20 04:18:10 precisely Dec 20 04:18:23 stuff that once had a demonstrable impact on things that matter...now is useless garbage :) Dec 20 04:18:40 i mean, that's what happens when in 5 years a platform increases in performance by at least 1 order of magnitude. probably 2. Dec 20 04:27:28 i wonder what core architectural principles of android, which were chosen b/c of certain constraints & forces, become more irrelevant in the near future. Dec 20 04:27:57 g00s: well, as we've seen LOTS of the rendering pipeline and view stuff has been that way Dec 20 04:28:08 romain has basically spent years now pulling those pieces apart and putting things back together Dec 20 04:28:42 thanks romain :) Dec 20 04:29:01 there's one thing I expect will go progressively worse :P Dec 20 04:29:28 consciousness of developers that there's a need for defaulting to disabled="yes" in manifest for many components :> Dec 20 04:31:00 p_l: i haven't seen much progress on clojure for android :( Dec 20 04:33:58 g00s: Android doesn't take well to getting its GC assraped Dec 20 04:35:32 but don't worry, there's Android in possible future of ABCL... including some caching to avoid the GC-rape ;) Dec 20 04:36:52 cool, never heard of abcl. Dec 20 04:36:58 caching? Dec 20 04:37:35 oGMo: pregenerating static caches of objects to avoid GC killing performance totally (as it happens with clojure on android) Dec 20 04:37:41 clojure does have plugins for netbeans, eclipse, and intellij tho - although i think the intellij is not free Dec 20 04:40:22 p_l: like a no-GC area? odd .. sounds like something a decent gengc should handle Dec 20 04:43:43 oGMo: android's GC isn't good Dec 20 04:44:09 shock! i am SPEECHLESS! Dec 20 04:44:10 ;) Dec 20 04:44:26 or rather, it manages for "speed-oriented" java Dec 20 04:45:05 everytime i look at android code it's always the most naive implementation possible without being intentionally bad Dec 20 04:45:26 hehe Dec 20 04:46:25 but it's horribad for code that is heavily consing (which is pretty common for non-performance-crazy CL, and the only mode of operation of clojure) Dec 20 04:46:56 that said obviously they developed a whole platform and made it work in a very short time, and working and slow-ish is better than buggy, so Dec 20 04:47:21 p_l: doubtless Dec 20 04:48:21 how to return the activity in the backstack with the application code? (for example, the user clicked the notification) Dec 20 04:48:58 oGMo: but it is buggy :/ Dec 20 04:50:07 g00s: eh .. there are bugs but considering the speed and extent of development it's pretty good Dec 20 04:52:19 good thing we had this discussion before ron_frown came along Dec 20 04:53:09 -1 % 2 --> -1 :( Dec 20 04:53:22 yeah xorgate i hate that Dec 20 04:53:46 solution i found on stackoverflow: (a % b + b) % b; Dec 20 04:53:54 yep Dec 20 04:53:55 :P Dec 20 04:54:30 i'm making a plugin for idea Dec 20 04:55:03 xorgate: cool. what does it do ? Dec 20 04:55:38 (if you dont mind me asking) Dec 20 04:55:42 well not much yet :) what i want is to have like the switcher (ctrl+tab) only to have n lists, each lists showing the files that match a certain regex Dec 20 04:56:07 or whatever, so i can have my activities and fragments in seperate lists, for example Dec 20 04:58:00 anything like this for android ? http://www.pathmapp.com/ Dec 20 04:58:30 amazon has an a/b test library for kindle fire devs; wonder if anyone has found anything at all for plain android Dec 20 05:05:51 g00s shouldnt be hard to make one Dec 20 05:06:18 it should be integrated into play dashboard ideally Dec 20 05:06:26 but , yeah … anything Dec 20 05:14:01 Hi I was looking through the source and saw that if I use clipdrawable and alpha on my gradientdrawable with stroke, canvas save and restore will have to be called for my surfaceview's canvas. Are these expensive calls? More importantly, do they allocate and cause garbage collection? Dec 20 05:14:27 I don't understand what it means by private stack. Dec 20 05:30:18 g00s http://www.codestare.com/plugz.avi Dec 20 05:30:33 dunno why this thing shows certain files more than once though Dec 20 06:10:09 hi guys. How do I develop an app if i'm using 3d? I'm just wondering how I balance between less powerful and more powerful models. Do I just design to OpenGL ES2? Dec 20 06:21:47 Zak : OGL ES2 is a safe choice Dec 20 06:42:12 Hey Guys, Dec 20 06:42:31 I'm using ViewPager with ListFragments and my memory consumption has almost doubled Dec 20 07:28:08 wanted to run my Android web server on port 80 (since that’s where web servers usually run Dec 20 07:28:23 a little digging, I’ve learned that ports 1-1024 are protected and only accessible by root Dec 20 07:29:12 shell@android:/ # iptables -t nat -A SSHTUNNEL -p tcp --dport 445 -j REDIRECT --to-port 8123 Dec 20 07:30:02 can this kinda thing work? is there anyway with a router and a small android non root tablet to get a webserver running on port 80? Dec 20 07:31:34 how to make EditText with cancel crost to the right like the iOS default Dec 20 07:53:21 hello Dec 20 07:57:43 how to put TTF font to my project? Dec 20 07:57:58 and select it via eclipse xml graphic editor :) Dec 20 08:00:00 Does canvas saveLayer make the gc run? Dec 20 08:07:22 Unfortunately, it's not do...ented how to use IntelliJ's GridLayoutManager Dec 20 08:07:22 manually. Dec 20 08:07:30 hooray for nasty-word filters Dec 20 08:07:58 Lol! Dec 20 08:51:08 xorgate: more like broken word filters Dec 20 08:51:15 what retarded client are you using? Dec 20 08:51:28 it's from some site Dec 20 08:51:41 mIRC v7.22 with a retard plugin Dec 20 08:52:42 why do you think i pasted it Dec 20 08:54:21 wtf … so we have Square, FourSquare, and now Twentyfive Squares ? whats with all the fucking square companies Dec 20 08:54:36 its like ozzy osbourne always singing about trains Dec 20 09:06:03 I am almost hesitating to say it, but it seems like I've tracked down the last remaining bug that prevents my app from being marked as "complete" Dec 20 09:06:13 :p Dec 20 09:08:24 that being said, would anyone know how to prevent an actionbar actionLayout from collapsing on orientation change? Dec 20 09:49:02 how to make ABS title text centered? Dec 20 10:12:20 how to make AcitonBar Sherlock title text centered ? Dec 20 10:13:47 squ, you can write a layout that centers its children in the window and set that as the avtion bar view Dec 20 10:13:56 but i recomend afaint it Dec 20 10:13:59 *against Dec 20 10:33:30 is there any way to tell a view to be of a specific height (fill_parent in this case), but tell the width to be a certain ratio of the height? Dec 20 10:42:10 Tee_Pee, not that i'm aware of, but again, it's easy to write a layout that does this Dec 20 10:42:30 all I need is the following Dec 20 10:42:42 I have a relativelayout with an icon inside of it Dec 20 10:42:59 the relative layout has a weight, but no height Dec 20 10:43:21 the ImageButton icon should take up the entire height of the layout Dec 20 10:43:24 i would sublass the view and override onMeasure or something Dec 20 10:43:27 but still maintain aspect ratio Dec 20 10:43:44 but i seriously suck at this stuff :) Dec 20 10:44:02 I feel like this should be stupidly simple Dec 20 10:44:30 set the image view to height = match parent Dec 20 10:44:42 and maybe width = wrap content Dec 20 10:44:45 that might do it Dec 20 10:44:56 I have that, I get it vertically stretched Dec 20 10:45:01 ok Dec 20 10:45:20 then extend image view Dec 20 10:45:54 and in onmeasure, call super then call setMeasuredDimension(getMeasuredGeight * 0.8, getMeasuredHeight()) Dec 20 10:46:02 *Height Dec 20 10:46:30 well getting further :0 http://i.imgur.com/bZ9lD.png Dec 20 10:47:06 oh man, no more 16gb nexus 7 Dec 20 10:48:15 ew intellij Dec 20 10:48:47 Sicp: don't like ? Dec 20 10:48:58 Eclipse only Dec 20 10:49:05 hello guys. can i use a CheckBox in a Custom Dialog Title and get a refernce to it based on checking and unchecking it ? Dec 20 10:49:09 yech Dec 20 10:49:37 intellij costs money Dec 20 10:51:04 community edition does not Dec 20 10:51:49 I'll try t Dec 20 10:51:50 it* Dec 20 10:53:48 if a vendor wants my app preinstalled on devices, it's a paid app, how do those users receive updates via play? Dec 20 10:58:55 just like normal Dec 20 11:02:42 What is the best solution to be used for a "device <--> server <--> device" sync mechanism? Dec 20 11:04:58 I have a server and couple of devices using my app, and I needs to maintain the exact same state of tables on all the devices and servers. Dec 20 11:05:17 one change happens on any end, should replicate to all end points. Dec 20 11:05:48 Anyone ever came across such a situation? Dec 20 11:26:56 Hi, isHardwareAccelerated on my galaxy s3 give me always false Dec 20 11:27:56 https://twitter.com/intellijidea/status/281721948457795584 Dec 20 11:28:00 ciarez: did you enable it through android:hardwareaccelerated=true in the application tag? Dec 20 11:28:49 xorgate: I'm on CE, but in love with IDEA, would you recommend the Enterprise version? Dec 20 11:29:02 belgianguy idunno i dont use it Dec 20 11:29:49 someone knows a good spinner customization tutorial? Dec 20 11:29:49 phpstorm is nice too Dec 20 11:30:03 yes, both application and activity Dec 20 11:30:09 I want to style the drop-down bullet on the right :) Dec 20 11:37:58 xorgate: lol, the jetbrains domain doesn't resolve anymore, they might be a victim of the sudden popularity Dec 20 11:39:11 oops Dec 20 11:42:02 I'm going to regret this, but I'll keep my money where it is for now, don't have any projects in those languages coming up Dec 20 11:45:12 recommend a good library for charts? Dec 20 11:48:46 AChartLibraryEngine, squ Dec 20 11:49:28 Hi all. Where can I find some tips on how to port my apps to china users? like translation best practices, urls accesible behind GFW, if there is something to do to allow downloads from Google Play etc etc Dec 20 11:53:14 any game designers here? Dec 20 12:00:32 hey why can't i create an emulator for andoird 4.2 in eclipse Dec 20 12:00:42 the ok button is greyed out Dec 20 12:00:59 i can only make one for 2.2 Dec 20 12:50:04 PSA: jetbrains is having a 75% off doomsday sale Dec 20 12:52:06 how come onSaveInstanceState gets called AFTER onCreateView in my fragment? Dec 20 12:52:12 I need to pass a string between states Dec 20 12:52:18 and I can't find any conceivable way to do this Dec 20 13:01:49 deebo> pft, $499 Dec 20 13:10:25 Hi guys, how can i have Theme.Holo.DialogWhenLarge with min.API.sdk 10 ? Dec 20 13:37:02 Question: I have added jars to the libs directory and the code has no errors in Eclipse. But when I try to run it in the emulator I get a NoClassDefFoundError! Dec 20 13:37:08 Solution: ? Dec 20 13:39:36 I'm come back. I have application and activity android:hardwareAccelerated="true" and "Force GPU rendering" on s3 Dec 20 13:40:19 but isHardwareAccelerated() return always false Dec 20 13:40:47 luyang, the jars you added could need a more recent android version than the one of the emulator Dec 20 13:41:21 I have only one window with only one view 4 simple test Dec 20 13:41:49 the android:hardwareAccelerate="true" is at activity? Application? Dec 20 13:41:59 both Dec 20 13:43:37 Ghiottone: uhm, but I'm compiling against 4.2 I think Dec 20 13:43:47 and have min level 2.2 Dec 20 13:44:23 Ghiottone: are you saying I should have build target same as minsdk? Dec 20 13:44:32 I have 4.1.1 version on S3 Dec 20 13:44:53 official Dec 20 13:45:58 Ghiottone: Could not find class org.....SomeClass referenced from org.luyang.....MyClass.onCreate Dec 20 13:46:07 i renamed the com.example package but now the R.java files keeps getting regenerated and creating a new com.example package Dec 20 13:46:14 Ghiottone: It's complaining about a class which is included in a Jar in libs and in project build path Dec 20 13:46:21 where do i change the package name Dec 20 13:47:18 luyang, what android version is the emulator? Dec 20 13:47:30 when i remove the com.example package it is recreated Dec 20 13:47:47 Ghiottone: it's the Nexus S emulator Dec 20 13:48:12 Ghiottone: Android 4.2 Dec 20 13:49:36 luyang, then it should work. I don't know. try cleaning up all the project Dec 20 13:50:48 I give the view object with v = this.getWindow().getDecorView().findViewById(android.R.id.content); Dec 20 13:51:00 then v.isHardwareAccelertead() Dec 20 13:51:35 v.isHardwareAccelerated() excuse me Dec 20 13:51:56 Ghiottone: yes it's very strange Dec 20 13:52:39 ciarez: whats your targetSDK Dec 20 13:53:27 16 (min 15) Dec 20 13:55:57 Ghiottone: weird thing is they're not listed under "Referenced Libraries" Dec 20 13:56:35 Ghiottone: but the jars are under "Android Dependencies" Dec 20 13:57:47 luyang, check the proguard config Dec 20 13:57:58 luyang, it may be stripping un referenced classes Dec 20 13:58:09 can be a firmware bug? Dec 20 13:58:18 Ghiottone: it's the default... everything is commented Dec 20 13:58:36 Ghiottone: I just created the project, added the jars and code... I'll try create a new project and see if it works Dec 20 13:58:53 luyang, sorry I can't think of anything else Dec 20 14:00:47 Ghiottone: appreciate your efforts though Dec 20 14:01:03 I get the same error when trying to do it in a new project Dec 20 14:02:32 But I have imported a project which uses the same classes which works Dec 20 14:02:44 hmm Dec 20 14:02:46 not sure. Dec 20 14:02:49 good morning everyone Dec 20 14:02:55 the device you are running? Dec 20 14:02:57 which version? Dec 20 14:03:26 matiz: s3 i9300 android 4.1.1 Dec 20 14:04:25 i see. maybe you can try setLayer() in your on create see what happens Dec 20 14:05:40 Ghiottone: the example project uses differet jar version, but now I get a NPE when doing button = (Button) findViewById(R.id.button1); Dec 20 14:05:43 or null Dec 20 14:06:15 luyang, it means that that id is not in the layout Dec 20 14:07:12 well it is... but I reused code before I added it there... maybe because I did it before the setContentView Dec 20 14:07:20 matiz: v.setLayerType(View.LAYER_TYPE_HARDWARE, null); it's ok? Dec 20 14:07:39 luyang, yes, definitely Dec 20 14:11:49 unable to resolve static method, why am i getting this Dec 20 14:12:06 i'm trying to use a method from my own library Dec 20 14:12:47 eclipse is just fine with me using them but when i run it i get errors Dec 20 14:14:06 We kind of need more information. Dec 20 14:14:20 Look at the dalvikvm tagged log events before your app starts; it's possible that your class isn't getting loaded because of some errors. Dec 20 14:14:52 If your project references jars that don't live in your libs dir, you might not be exporting them? Dec 20 14:15:28 matiz: v.setLayerType(View.LAYER_TYPE_HARDWARE, null); nothing change Dec 20 14:17:57 OK I give up and take a lunch break :( Dec 20 14:18:06 https://dl.dropbox.com/u/2609405/log.txt Dec 20 14:18:16 lov: here is the log Dec 20 14:18:57 how do i put the library is the libs dir Dec 20 14:21:49 12-20 14:06:19.645: I/dalvikvm(776): Could not find method com.gmail.rasanen.ti.tracksapi.TracksAPI.getMixes, referenced from method com.gmail.rasanen.ti.eightalarm.MainActivity.onCreate Dec 20 14:21:53 12-20 14:06:19.705: W/dalvikvm(776): VFY: unable to resolve static method 3299: Lcom/gmail/rasanen/ti/tracksapi/TracksAPI;.getMixes ([Ljava/lang/String;Ljava/lang/String;)[Lcom/gmail/rasanen/ti/tracksapi/Mix; Dec 20 14:22:09 com.gmail.rasanen.ti.tracksapi.TracksAPI Dec 20 14:22:13 Where does that class live? Dec 20 14:22:17 Is that in another project? Is it in a jar? Dec 20 14:22:38 Go to project properties -> Java build path, and look at your imports and your exports. Dec 20 14:22:59 if this class lives in some jar, you should just have the jar live in your libs dir; that automatically handles exporting it. Dec 20 14:29:12 jmm Dec 20 14:29:45 how can i fix that by modify some config file? i don't want to add that @suppress... in my code http://imgur.com/WMt9o Dec 20 14:30:19 lov: i tried to do this http://stackoverflow.com/questions/3642928/adding-a-library-jar-to-an-eclipse-android-project Dec 20 14:30:23 but it didnt work Dec 20 14:32:09 actually i think i made some progress.. will report back shortly Dec 20 14:33:03 Chilley: Drop the jar into the libs directory in your android app. The end. Dec 20 14:33:41 Have someone tested isHardwareAccelerated() function? Dec 20 14:39:00 No. APIs are released without ever being used Dec 20 14:39:09 You, intrepid developer, are the first, brave new consumer of them. Dec 20 14:39:13 Does the api work as expected? Dec 20 14:39:23 Does a terrible bug lurk beneath? Dec 20 14:39:30 You must tell us, for surely no one else has tried. Dec 20 14:39:41 i have something like input = new FileReader("ApiKey.txt"); where in the android project should i drop this files? i tried the root folder but that didnt work Dec 20 14:39:43 Besides, test suites are for wimps. Dec 20 14:40:40 Chilley: http://developer.android.com/guide/topics/resources/providing-resources.html Dec 20 14:40:48 consider using /res/raw or /assets Dec 20 14:40:59 ciarez: http://stackoverflow.com/questions/8783438/hardware-acceleration-not-being-enabled Dec 20 14:41:15 seems you can't just hw accelerate everything Dec 20 14:41:30 and there seems to be some confusion about what worked in 3.x and in 4.x Dec 20 14:42:04 tbh, in IntelliJ the android:hardwareaccelerated tag isn't even autocompleted, I don't know if that's intentional Dec 20 14:53:57 Could not find method org.apache.http.entity.ByteArrayEntity., referenced from method org.apache.http.client.fluent.Request.bodyByteArray Dec 20 14:55:17 well now you're just fucking with us. Dec 20 14:55:23 now what is that supposed to mean, i have the org.apache.http.entity package in the library folder Dec 20 14:55:33 why ._. Dec 20 14:55:36 http://developer.android.com/reference/org/apache/http/entity/ByteArrayEntity.html Dec 20 14:55:41 it's a built in, what the hell are you doing Dec 20 14:56:14 i'm trying to use this java library i made in android Dec 20 14:56:37 so the apache httpcore is built in android? Dec 20 14:56:58 interesting Dec 20 14:57:14 i mean i had used that same library exported in my java library Dec 20 14:57:48 so i guess i have to remove those excess apache libraries i added Dec 20 14:58:12 I have only one window with only one webview (v object) Dec 20 14:59:35 v.setLayerType(View.LAYER_TYPE_HARDWARE, null); Dec 20 14:59:50 http://developer.android.com/guide/topics/graphics/hardware-accel.html Dec 20 15:02:43 WebView apps on our s3 dow very slowly Dec 20 15:02:50 draw Dec 20 15:04:25 any tips on dealing with lots of images? Dec 20 15:04:29 think an app like instagram Dec 20 15:04:42 i have a cache with softreferences but i still get OOM'd Dec 20 15:05:18 As reported on documentation, 4.1.1 have hardware acceleration turned on by default Dec 20 15:05:47 so wich part is accelerated? Dec 20 15:05:53 is there any way to force android to use my own versions of the apache libraries? Dec 20 15:07:10 no. Dec 20 15:07:28 You'd have to do something ridiculous like refactor the classes you want to use to have different names or packagenames Dec 20 15:07:52 wow i'd never had expected to get a conflict like this Dec 20 15:07:56 https://plus.google.com/105051985738280261832/posts/2FXDCz8x93s Dec 20 15:08:14 Frankly, it shouldn't even be a conflict since the class should be effectively identical. Dec 20 15:08:22 I have no idea how it's not finding Dec 20 15:08:32 I'm assuming that maybe your version of ByteArrayEntity has different arguments Dec 20 15:08:33 how to change color of EditText when editing starts Dec 20 15:08:41 this apache fluent library doesnt exist in android Dec 20 15:09:10 * lov shrugs Dec 20 15:09:13 sorry, I'm not sure what to suggest. Dec 20 15:09:16 http://code.google.com/p/httpclient-fluent-builder/ do you think this will fix my problem Dec 20 15:09:51 that might do the request in a way that supports the android httpclient Dec 20 15:09:59 or then i just leave out the fluentversion Dec 20 15:10:16 probably not that compicated to get a http response without it Dec 20 15:10:43 but anyway i must go change my java library which i didn't expect i would need to Dec 20 15:12:23 Ooops Dec 20 15:13:05 I think to have made a mistake Dec 20 15:14:01 Have someone tested isHardwareAccelerated() function? Tested is not the correct word Dec 20 15:15:44 Have someone ise isHardwareAccelerated() function on S3 with 4.1.1? Dec 20 15:15:51 use sorry Dec 20 15:16:25 i probably should use http://www.vogella.com/articles/AndroidNetworking/article.html to get my JSON responses Dec 20 15:18:16 https://developer.android.com/design/style/iconography.html so... how big, in pixels, should I made icon for each dpi? Dec 20 15:19:52 Chilley: Android has a built in JSON parser Dec 20 15:20:33 use a faster one Dec 20 15:22:25 Pitel: http://developer.android.com/guide/practices/screens_support.html#DesigningResources Dec 20 15:22:47 i've got this jackson parser pretty nicely set up Dec 20 15:22:56 does the android parser do data binding Dec 20 15:23:33 thilden: thanks Dec 20 15:23:41 also was it a stupid decision to make this API class with pure java and then hope to be able to use it on android Dec 20 15:23:43 The built-in parser doesn't do a lot more than... parse. You're much better off with Jackson. Dec 20 15:24:31 i guess its a bad idea to try to fix theese library problems in the java API since i can only really test if it works on android Dec 20 15:25:25 like if i use HttpUrlConnection to get responses from the server Dec 20 15:25:37 it's probably not the same as the one in java? Dec 20 15:26:57 if i use the HttpUrlConnection to build a java app will that work directly on android? Dec 20 15:27:26 Chilley: yeah Dec 20 15:27:28 it will Dec 20 15:27:33 Why.. are you doing this? :) Dec 20 15:28:11 It'll work as long as you don't hit any customizations from Google. Dec 20 15:28:34 But they do that. So it's risky. Dec 20 15:28:49 Chilley: I used it in a java/android lib, and it worked pretty much the same Dec 20 15:28:55 can you say the android version extends the java version? Dec 20 15:29:09 i guess i had to make one workaround for some android stuff Dec 20 15:29:12 like does the android version have all same stuff as java but not the other way around Dec 20 15:29:25 Chilley: it's quite random. Dec 20 15:29:30 ah okay Dec 20 15:29:37 this a great learning experience for me :) Dec 20 15:29:48 Most libs are, say... 90% the same but a method may be missing, or slightly different signature. Dec 20 15:29:52 Hello all Dec 20 15:30:14 Chilley: getResponseCode will fail with an IOException if the server returns 401 or 403 error code the first time :) Dec 20 15:30:20 thats the only difference i noticed Dec 20 15:30:43 timroes: so you have made a hybrid java/android lib, did you test in on java or android? Dec 20 15:30:52 i have a Master Detail form , but i dont know how to add form widgets for each detail ?? Dec 20 15:30:53 ofc Dec 20 15:30:59 or both? i feel like there's alot of work to test the code on both platforms at each change Dec 20 15:31:21 java 1.6, android 2.2 android 3.0 and android 4.0 Dec 20 15:31:39 It's ok if it doesn't rely on any libs that Android relies on as well. Dec 20 15:32:05 allright back to the drawing board then Dec 20 15:32:12 The end is nigh! Dec 20 15:32:26 ? Dec 20 15:32:33 pii3, 29.7 Dec 20 15:32:50 what ? Dec 20 15:32:52 i have a Master Detail form , but i dont know how to add form widgets for each detail ?? Dec 20 15:33:04 ill just copy the library source files to my android project, use HttpUrlConnection instead of apache httpclient and maybe i'll get it done from there Dec 20 15:33:37 Chilley: httpurlconnection has a way uglier api (unfortunately) but it is recommended by google to use it, insteada of apache http client Dec 20 15:34:06 Don't be afraid to question Google, though. Dec 20 15:34:07 also they said, if you cannot use HttpUrlConnection (cause of some lacking features) its still okay to use the Apache client, its not like it will break things terribly, or that it is terribly buggy Dec 20 15:36:02 anyone, please guys im really get sick of this problem ? Dec 20 15:36:30 pii3: could you clarify your question a bit. Dec 20 15:36:49 pii3: that sounds unfortunate. Good luck with that. Dec 20 15:37:03 Maybe if you have an actual question to ask that doesn't involve hidden knowledge of what the fuck you're talking about, we can help? Dec 20 15:37:13 yes i start new project in eclipse for android application and i choose Master/Detail ,OK ? Dec 20 15:37:20 no? Dec 20 15:37:20 Chilley: you might also want to have a look at http://code.google.com/p/basic-http-client (also recommended by the google guys) Dec 20 15:37:23 What the fuck is Master/Detail Dec 20 15:37:34 MasterDetail flow! Dec 20 15:37:47 Oh. Dec 20 15:37:51 An activity template Dec 20 15:37:55 You could have told us that Dec 20 15:38:02 instead of assuming that we would know what you were talking about Dec 20 15:38:16 yes a clear project Dec 20 15:38:50 and now i cannot add form widgets for specific detail ? Dec 20 15:39:06 Look at the DummyContent class that's been created for you. Dec 20 15:39:16 pii3: because something doesnt work, or you doesn't know how to do? Dec 20 15:39:21 If you don't know what's going on with this activity and fragments, I strongly recommend that you read the trainings on d.android.com that discuss this Dec 20 15:39:30 please don't just come in here and say "HAY GUYS MY APP FIX IT PLZ" Dec 20 15:39:56 lov: noone ever forces you to help, if you don't feel like why you just don't stay silent, instead of ppissing other ppl off? Dec 20 15:39:56 can u please give me a hint on it Dec 20 15:40:19 u mean its not working like easy adding button ,like in normal activity ? Dec 20 15:40:28 timroes: it's more the attitude. "Hey guys, I don't know what I'm doing, why aren't you helping me?!" Dec 20 15:40:52 timroes: I'm totally happy to ask reasonable questions that assume and display that the person asking is intelligent and is willing to research issues on their own Dec 20 15:40:56 s/ask/answer/ Dec 20 15:41:20 he said everytime please, and I didn't think that any of his questions was somehow rude or pressing towards anyone (in contrast to your answers) Dec 20 15:41:21 lov its not like that exactly u have experience im dont , i need some hint and comment about how stuff working in android Dec 20 15:41:32 ok, you're probably both right. Dec 20 15:41:42 :] Dec 20 15:41:53 pii3: this is something of an advanced subject. I'd recommend that you learn about fragments and lists before you use this. Dec 20 15:41:56 pii3: if you want to edit the detail screen, its under res/layout/activity_item_detail.xml Dec 20 15:42:15 pii3: the templates are meant as convenience classes. It's assumed that you have an idea how it actually works before you use it. Like timroes says, take a look at activity_item_detail. Dec 20 15:42:29 If you're not clear on what's going on here, consider starting with a simpler activity, or following the android trainings. Dec 20 15:42:49 Please also see http://www.catb.org/esr/faqs/smart-questions.html ; it is translated into many languages (i'm assuming you're not a native english speaker) Dec 20 15:42:53 it explains why no one was going to help Dec 20 15:52:43 timroes, how to customize the spinner (drop-down) such that it include custom bullet Dec 20 15:53:50 is it like Dec 20 15:54:02 and how to make edit text change color when the input is going into it? Dec 20 15:54:23 preferably via xml (not programmatically) Dec 20 15:55:23 something like button states exist for editText's? Dec 20 15:58:51 anybody know where i can get one of those ADK kits from I0 this year? Dec 20 16:12:45 squ; for edittext and hover color: you can set an background image that can be a state drawable, it will react on the states of the edittext Dec 20 16:14:25 but you should be careful in general, when you modify too much of the default widgets. Users are used to the default style, dont confuse them, and mess with them Dec 20 16:17:27 what's the minimum expected heap size when supporting gingerbread and up? Dec 20 16:17:50 funkbox: I guess 16mb Dec 20 16:18:31 man that's small Dec 20 16:18:41 since that is the minimum heap size, a device has to offer, and even if a lot of gingerbread devices will offer you more, you might find some crappy device, giving you only 16mb Dec 20 16:21:14 timroes, but how about drop-down? Dec 20 16:22:36 don't know about that, but in most cases I would recommend not to do it :) Dec 20 16:29:07 how to remove unused languages from the manifest? I cant find the documentation Dec 20 16:29:26 is it possible to tell ViewPager to trigger onPageSelected when it finishes to load the first page? Dec 20 16:29:46 or do I have to call it manually on the listener? Dec 20 16:30:15 timroes, I have strict guidelines :) Dec 20 16:30:24 yeah Dec 20 16:30:31 you can find them here: http://d.android.com/design Dec 20 16:30:54 I mean the design guy does his job Dec 20 16:31:04 then send him that link :) Dec 20 16:31:40 he should post his mockup in the ANdroid Design community on G+, he will get feedback to it, and your work will be a lot easier :D Dec 20 16:32:38 I dont have his contacts Dec 20 16:32:54 and dont speak his language :) Dec 20 16:33:29 btw what bullets in the spinner? Dec 20 16:33:37 only one Dec 20 16:33:39 to the right Dec 20 16:33:46 on 2.2 its a nail Dec 20 16:33:53 ahh Dec 20 16:33:55 4.1 tiny triangle at bot right Dec 20 16:33:56 that pre holo spinner Dec 20 16:34:09 hello, how to design UIS for android ? Dec 20 16:34:11 sorry i don't think about pre holo so much anymore :) Dec 20 16:34:37 I have a custom image which will make all platforms look the same Dec 20 16:34:43 dont know how to replace it Dec 20 16:34:51 dummies_freelanc: with how do you mean what tools you can use? Dec 20 16:35:03 or are u interested in a general UI design process :) Dec 20 16:35:59 squ: if you want to make all platforms the same, us ethat lib https://github.com/ChristopheVersieux/HoloEverywhere :) Dec 20 16:36:03 also, I found that it is not possible to use custom font (helvetica is not included by default) thru eclipse -> xml Dec 20 16:36:08 it will give you holo design elements on all platforms Dec 20 16:36:13 only with control.setTypeface Dec 20 16:36:25 squ: yeah you definately doesn't want to change the font :D Dec 20 16:37:12 timroes: i want learn an d i have the style finnish but i dont know designers o the methosd for use.. the UIS in my application, Dec 20 16:37:12 it looks much worse Dec 20 16:37:23 i have problem in loading all sample codes in eclipse!!!!! File...Import...Existing project...Select root directory-> browse Dec 20 16:37:41 but it always no projects are found to import Dec 20 16:37:47 timroes, thank you for that holo everywhere link, but I need to customize spinner Dec 20 16:38:58 I thought making it a two-button compound with a dialog to pop up to choose from list Dec 20 16:41:30 dummies_freelanc: so you want to know the technical (coding) aspect of how to make the UI of the app Dec 20 16:41:37 not how to design it, if you have that already done Dec 20 16:42:33 yes timroes Dec 20 16:42:41 I used to sign customers application with a keypair I generated for them in my keystore. Now I need to export one of those keys and send them to the customer. How can I do that? Dec 20 16:42:47 dummies_freelanc: http://developer.android.com/guide/topics/ui/index.html that might be the place you find what you are looking for :) Dec 20 16:42:58 nice timroes Dec 20 16:47:03 anone using eclipse here ? Dec 20 16:48:20 what's eclipse? Dec 20 16:48:47 it's when the moon covers the sun and we all die today Dec 20 16:49:01 tomorrow over here :) Dec 20 16:49:06 so i still can go to sleep one time Dec 20 16:49:15 I am interested in using a compiled .so file and trying to include it as build_shared_libraries Dec 20 16:49:18 :D Dec 20 16:52:43 i got blocked by someone and called a gun fetishist on google plus Dec 20 16:52:52 sweet Dec 20 16:52:58 Looney: dump it in libs/armeabi-whatever, use System.loadLibrary, jni, etc. Dec 20 16:53:09 mikedg: this is an interesting fact about you. Should I buy you AR15 stockings for christmas? Dec 20 16:53:32 using it for ndk-build Dec 20 16:53:44 i have no idea about what that is, but i accept all gifts for any holidays Dec 20 16:54:02 off to mcdonalds Dec 20 16:54:04 What if I gave you the finger? Dec 20 16:54:09 would you accept this gift? Dec 20 16:54:31 Looney: Do you mean to link against or to statically compile? Dec 20 16:54:45 either way I'm not really sure I can give a better answer than "read the docs" but someone else here might Dec 20 16:54:46 yup Dec 20 16:55:02 that was an either or question, not a yes/no question :P Dec 20 16:56:12 I will be making another so file which I will be loading whose code depends on functionality of another precompiled so file I already have Dec 20 16:57:17 soooo, linking. Dec 20 16:58:18 lov: Sometimes yup means linking. Dec 20 17:05:54 ? Dec 20 17:32:10 anyone know why I get "ssh: Could not resolve hostname github.com:" Dec 20 17:32:27 (I just created an account, and feel like a 1st grader) Dec 20 17:33:56 belgianguy: trailing Dec 20 17:34:01 belgianguy: err trailing ':' ? Dec 20 17:34:16 no, that's part of the error message Dec 20 17:34:29 yeah, it's an error message Dec 20 17:34:29 host github.com Dec 20 17:34:31 oGMo: I couldn't remember if it continued or not Dec 20 17:34:35 I'm using: ssh git@github.com:belgianguy/android-projects.git Dec 20 17:34:40 as command Dec 20 17:35:32 run host github.com and see what it says Dec 20 17:39:31 oGMo: tells me it has a reachable IP, and that it's mails are going through Googlemail :) Dec 20 17:40:17 I still think you've typoed your ssh line and it's trying to resolve the name wrong Dec 20 17:40:52 well also you shouldn't be ssh'ing directly to github Dec 20 17:40:58 belgianguy: are you trying to check out via git? Dec 20 17:40:59 i don't think that will work Dec 20 17:41:11 belgianguy: git clone ssh://user@host/path Dec 20 17:41:19 I'm trying to commit my files to my repo :( Dec 20 17:41:33 use the commands it says, you can literally copy and paste Dec 20 17:41:43 I did commit, but am not seeing anything Dec 20 17:41:49 atm reading at Vogella Dec 20 17:41:53 he seems to be more detailed Dec 20 17:42:04 so probably in your case, git clone ssh://git@github.com/belgianguy/android-projects.git to get the base checkout, modify the files, git add & git commit -a as needed, then git push Dec 20 17:42:17 perhaps 'git push origin master' depending on how your repo is set up Dec 20 17:50:19 what did the developer water fowl say to the other developer water fowl? Dec 20 17:52:11 read the ducks Dec 20 17:52:39 lololo Dec 20 17:56:33 nobody on google+ found it funny :( Dec 20 17:58:11 I was asking about linking a compiled so file Dec 20 17:58:28 I want to use that so file in making another so file Dec 20 18:06:55 Looney: You may be better off making .a files Dec 20 18:07:00 Looney: and just linking it all statically Dec 20 18:07:57 hmmm Dec 20 18:08:24 I have the so from the mplayer site Dec 20 18:08:37 you can load a so into multiple classes (and load multiple .so files) via the JNI loadlibrary stuff; i've never tried to link a .so to a .so and then load it in native mode. I'd just use .a (and have) Dec 20 18:08:51 or link my code on top of the .so i'm including since symbols is symbols Dec 20 18:09:48 but I need the so because compiler tells me about udefined reference to thing Dec 20 18:10:28 well then you're not linking it in correctly (assuming you mean the linker) Dec 20 18:10:41 correct linker Dec 20 18:11:10 but like I said, i've never tried to link an independent shared lib in native code and dont' know how it would go. I would, and have, used a static lib Dec 20 18:11:15 http://stackoverflow.com/questions/10874348/link-shared-library-under-android-ndk Dec 20 18:11:37 trying to follow the accepted solution approach Dec 20 18:12:02 crap. no way to set a compound drawable on a remote textview pre api 16 Dec 20 18:12:30 birbeck, minSdkVersion="16" ? Dec 20 18:12:31 :) Dec 20 18:12:56 i think one of my apps still has a bunch of 2.1 handling in it even though i bumped up the min version to 8 Dec 20 18:13:02 shush you Dec 20 18:13:38 hey even im on 14 at work :( Dec 20 18:14:50 i either have to subclass remoteview, or i have to use a nested layout Dec 20 18:15:20 two months ago i didnt even really know waht a remoteview was :P Dec 20 18:15:36 youve never done notifications or widgets? Dec 20 18:15:49 well i guess that only applies to custom notifications Dec 20 18:18:06 is information about app usage stored and accessible? for instance date app was installed or last used Dec 20 18:18:39 i think only first used Dec 20 18:18:58 "last used" is going to be tricky because there's a lot of ways to "use" an app. I don't know if there are public apis for this, but I might be wrong. Dec 20 18:19:15 lov: there certainly is not Dec 20 18:19:41 no public apis anyhow Dec 20 18:19:53 i see. not something i need badly anyway just the idea came to me Dec 20 18:20:57 for years ive been wanting to write an app to list your favorite and infrequently used apps Dec 20 18:21:13 turn out the only way would be a custom launcher Dec 20 18:21:16 I somehow succeeded in uploading my project Dec 20 18:21:28 ahh Dec 20 18:21:33 belgianguy: click publish, youre good to go :) Dec 20 18:22:04 birbeck: where? Dec 20 18:22:23 in the dev portal Dec 20 18:22:28 oh :D Dec 20 18:22:37 I'm not there yet Dec 20 18:22:41 this was Git :) Dec 20 18:22:46 oh, lol Dec 20 18:23:02 but I hope I can make it to the dev portal soon Dec 20 18:25:42 i'm messing around with the Home Sample application. I'm trying to include wallpaper in the DRAWABLE-LAND or DRAWABLE-PORT. as an example, the portrait wallpaper is a white background with a circle in the middle, when its used as the background is slightly eliptical. what resolution image should i use so it doesnt get distorted? Dec 20 18:27:24 lov: new dead zebras coming today :) Dec 20 18:27:35 well hopefully, maybe tomorrow Dec 20 18:27:37 birbeck: I don't know what that means. Dec 20 18:27:43 are you some sort of big game hunter? Dec 20 18:27:47 do you have any dead lions? Dec 20 18:27:54 android figurines Dec 20 18:28:12 Eppo: http://developer.android.com/guide/topics/resources/providing-resources.html Dec 20 18:28:16 birbeck: oh hooray Dec 20 18:28:37 http://shop.deadzebra.com/categories/android Dec 20 18:28:44 well current progress http://i.imgur.com/It6JQ.png Dec 20 18:28:54 birbeck, i HAD never done anything with remoteviews, but now i have Dec 20 18:29:12 canadiancow: yeah i got that Dec 20 18:29:37 the app i work on now has a pretty big widget :P Dec 20 18:29:44 heh, i bet Dec 20 18:30:05 resizeable, lockscreen Dec 20 18:30:12 is there a stacked widget also? Dec 20 18:30:25 ok now i hthink you know more about this than i do :P Dec 20 18:30:37 so hire me :) Dec 20 18:31:14 btw what do you guys think about animated icons Dec 20 18:31:29 should they make a feature out of it Dec 20 18:31:35 Sounds horrible Dec 20 18:31:38 no Dec 20 18:32:00 i'm a little torn bc it's like a widget but not really Dec 20 18:32:02 xAndromeda: i animate my actionbar icon to indicate its busy Dec 20 18:32:02 the question is, what should i use as the images resolution. its going to be a background for a nexus 7. I was using 1280x720, but its being distorted. Dec 20 18:32:21 xAndromeda: never had any complaints on it, and some people think its kinda cute Dec 20 18:32:39 Eppo: height is diff because of navbar Dec 20 18:32:46 oh, home screen icons.... um no thanks :) Dec 20 18:33:02 lol Dec 20 18:33:48 hey guys, I'm confused about how button views work…I have multiple buttons and am referencing them via code like "next = (Button) findViewById(R.id.buttonNext);" -- but when I do something like next.setVisibility(View.INVISIBLE); ALL of the buttons get hidden, not just the "next" button…what am I missing? Dec 20 18:34:20 i think it would be cool to be able to update app icons though, so a clock icon could show the current time, a calendar icon could show the current date, a weather icon could show the current weather and a gmail icon could show the unread count, etc Dec 20 18:35:44 I was able to compile my ndk code Dec 20 18:35:56 technically you could do that with a 1x1 widget that is just your app icon and launches your default activity Dec 20 18:36:06 but getting a runtime error when I execute it on emulator Dec 20 18:36:37 tplaner_: do they happen to have the same id? Dec 20 18:36:59 basicallly, logcat tells that not able to load needed library Dec 20 18:36:59 Last time I checked findViewById doesn't return an array :P Dec 20 18:37:11 birbeck: they have different id's Dec 20 18:37:39 I'm guessing your layout is set up in a way so the other buttons are dependant on the next button being there or something Dec 20 18:38:16 Or, buttonNext is really the id of the viewgroup they're all in.. or you didn't clean your project, so the IDs are messed up Dec 20 18:38:17 perhaps check the layout hierarchy viewer Dec 20 18:38:28 k Dec 20 18:39:01 SimonVT: so why would all be hidden, instead of some random one that wasnt the intended target? Dec 20 18:39:09 unless it was a viewgroup Dec 20 18:39:57 His R.id.buttonNext reference in code could have compiled as the id of the viewgroup Dec 20 18:40:32 yeah thats possible Dec 20 18:40:58 they're not in a view group, they definitely have different ID's, they are within a relative layout -- not sure if that would matter Dec 20 18:41:09 RelativeLayout is a ViewGroup Dec 20 18:41:13 ok Dec 20 18:41:16 then I lied =x Dec 20 18:41:17 lol Dec 20 18:41:41 tplaner_: try simons suggestion, clean the project and recompile Dec 20 18:41:42 which types of keyguards are considered secure? pin, password, pattern and face? Dec 20 18:42:16 epg, i would say only pattern, but all of them depend on how secure your pin, password or pattern are Dec 20 18:42:26 face is not secure Dec 20 18:42:35 face unlock is unreliable and can be unlocked with a picture Dec 20 18:43:01 or rather, with a corporate policy on the device, you wont be able to use face unlock Dec 20 18:43:02 i mean 'secure' as used in the reference Dec 20 18:43:23 SimonVT, birbeck: thanks that worked like a charm…so it is just a caching type issue to help compile performance that caused the issue? Dec 20 18:43:26 my lockscreen options are pattern/pin/password Dec 20 18:43:29 the other three are disabled Dec 20 18:43:36 (none, slide, face0 Dec 20 18:43:39 what pin do you use? Dec 20 18:43:43 tplaner_: Yep Dec 20 18:43:51 thx canadiancow, that helps Dec 20 18:44:04 tplaner_: you modified a resource file and didn't rebuild R.java, so the view id was referencing a different view Dec 20 18:44:22 mikedg, 645334 Dec 20 18:44:33 thanks Dec 20 18:44:34 so the best practice in the future is to always clean the project when making any changes to resources? Dec 20 18:44:37 now am I right that there's no (official) way to dismiss such a secure keyguard? Dec 20 18:44:39 guess what it spells? :P Dec 20 18:44:41 tplaner_: one tip i learned early on, ALWAYS do a clean before running if any resources were modified Dec 20 18:44:49 birbeck: Sometimes it's because the compiled .class files aren't re-compiled with the new id (e.g. if a new id is added earlier in his resources) Dec 20 18:44:51 EPG: type in the code to unlock it and it's dismissed Dec 20 18:44:55 awesome, great to know, thanks guys! Dec 20 18:45:00 birbeck, i dont ALWAYS do it, but if i encoutner any issue, i clean Dec 20 18:45:06 the full rebuild takes too long to do it every time Dec 20 18:45:14 tplaner_: Most times it works, but when you encounter strange behavior.. Whatever it is.. clean project Dec 20 18:45:27 canadiancow: do you have auto build turned on? Dec 20 18:45:33 https://plus.google.com/103408836456807798418/posts/LRq5bnSh9Tq Dec 20 18:45:34 lolol Dec 20 18:45:51 birbeck, at home, yes, because im using faapt Dec 20 18:45:57 at work, i dont use eclipse to build Dec 20 18:46:13 you dont use eclipse Dec 20 18:46:27 i use eclipse Dec 20 18:46:30 just not to build Dec 20 18:46:55 Intellij is having a sale today, in case anyone needs the ultimate edition Dec 20 18:46:59 i make sure my projects will build in both eclipse and maven Dec 20 18:47:15 simon fuck u! Dec 20 18:47:18 being able to just click run instead of going through a lengthy build is invaluable Dec 20 18:47:22 ive been putting off buying it for so long Dec 20 18:47:25 mikedg: :< Dec 20 18:47:33 haha Dec 20 18:47:42 It's $50 Dec 20 18:47:56 $50 how can i say no :( Dec 20 18:48:01 SimonVT: one of the principles here emailed @eng Dec 20 18:48:05 time to annoy the shit out of everyone i work with by using intellij Dec 20 18:48:15 how many computers cani put it on? Dec 20 18:48:18 does intellij work well for android dev yet? Dec 20 18:48:21 i havent even made $50 from android this year :( Dec 20 18:48:27 mikedg: easy, form the sound "nnn" and progress quickly to an "oooh" sound Dec 20 18:48:40 birbeck: wut? :o Dec 20 18:48:45 i'm working on a revolutionary new weather app Dec 20 18:48:58 i need some fucker to do 16x16 monochrome icons for me though Dec 20 18:49:00 birbeck: And, it has worked well for android dev for a while :p Dec 20 18:49:17 SimonVT: maybe ill give it another shot Dec 20 18:49:28 mikedg: but they're right, hundred of megs of ram and tons of setup is totally worth clicking a button instead of typing "ant debug" or whatever, you should totally spend $50 for that Dec 20 18:49:53 They added some ui designer in this version Dec 20 18:49:56 oGMo: does intellij build well? Dec 20 18:50:05 I haven't tried it tho, went straight to xml ;d Dec 20 18:50:06 i was buying it for eiting Dec 20 18:50:12 mikedg: nfc, i use a term Dec 20 18:50:19 and an editor Dec 20 18:50:29 plus ive kind of wanted intellij for js editing too Dec 20 18:51:42 mikedg: i think you can install it on as many computers you want, but can only use it on one at a time Dec 20 18:51:46 I'd like to make a curved on-screen keyboard. As I've read, on-screen keyboards are drawn using a view component. Is it possible to make a curved view (e.g., a semi-circle in the lower left-hand corner)? Dec 20 18:52:13 but doesnt the free version come with everything you need for android? Dec 20 18:52:23 it does Dec 20 18:52:58 oh hell webstorm is $12 Dec 20 18:53:52 PHPStorm is free if you develop anything opensource or in education. I got the full PHPStorm and the full Intellij for nothing. Dec 20 18:54:26 Jonathan_Eyre: yeah but its technically only for the opensource projects isnt it Dec 20 18:54:39 i cant say oh dgAlert is open source and then go and use this on Bird Bar and dgMoney too Dec 20 18:55:26 Um, no. It's for anyone who has open source ties. Dec 20 18:55:38 you guys will never believe this but you can download vim or emacs for free today too, and they support development in any language, and no commercial restrictions! amazing Dec 20 18:55:52 You show your project that is open source and they give it to you for free. Dec 20 18:56:04 IDEA Enterprise doesn't add too much vs the CE edition Dec 20 18:56:10 wrt Android you're pretty much set Dec 20 18:56:18 yeah but the license says it's license to the open source project Dec 20 18:56:20 not to a person Dec 20 18:56:30 ah, yeah I see Dec 20 18:56:32 spring and hibernate integration might be nice Dec 20 18:56:52 so if I was making commercial Android apps, I'd be violating the EULA with CE? Dec 20 18:57:03 hmm, it's Apache licensed AFAIK Dec 20 18:57:18 so even commercial usage would be permitted Dec 20 18:57:19 belgianguy: noyou are fine, i was talking about the free version for open source projects of the ultimate edition Dec 20 18:57:32 ahh :) Dec 20 18:58:33 (ii) use the Software by Authorized Users solely for the purpose of development of non-commercial open source projects that meet the Open Source Definition at http://www.opensource.org/docs/definition_plain.html, Dec 20 18:58:34 ;d Dec 20 18:59:09 so since i have a few open source apps, i can save $50? Dec 20 18:59:20 if you only use it on open source projects Dec 20 18:59:39 open source and/or android Dec 20 18:59:52 since android tools are available in the ce Dec 20 19:01:48 Here's the reality: You can get a free license because they are awesome and they support education and open source projects. But it will take about 6 months to process. If you need it now, now is the best time to buy. Dec 20 19:02:33 argh, atm I use gedit for PHP related stuff Dec 20 19:02:44 That works just fine. Dec 20 19:02:49 but have something coming up where I sure could use something smarter Dec 20 19:03:01 its better than pdt for eclipse Dec 20 19:03:39 For me, the autocomplete features of classes defined in other files, as well as the integrated VCS makes it the best PHP/Web IDE I have ever tried. Dec 20 19:04:29 I haven't really tried IntelliJ, yet. I hear it's good and I already like the company. Dec 20 19:04:33 Jonathan_Eyre: those are indeed nice features, but I was really hoping for a cheap IDE with built in PHP debugging tools Dec 20 19:05:00 as hobbling through the generated code or relying on echo statements is frustrating Dec 20 19:05:11 and I could never get xdebug to work Dec 20 19:05:26 Go with eclipse, then. It's bulky as anything and you have to install a dozen separate plugins to get it to work, but it at least gets the job done. Dec 20 19:06:43 eclipse is the most poorly designed ide in terms of UI Dec 20 19:06:50 that wasnt intentionally made to be a joke Dec 20 19:07:03 xAndromeda: What this guy says... Dec 20 19:08:00 Jonathan_Eyre: how do you debug PHP then? Dec 20 19:08:18 PHPStorm is slick and elegant. It chokes when you are editing 5000 line files on a slow computer... but so does everything. Dec 20 19:08:21 rm -rf *.php Dec 20 19:08:22 debugged! Dec 20 19:08:57 belgianguy: I debug PHP through a combination of patience and coffee. Dec 20 19:09:11 I'm not sure what else to reccomend. Dec 20 19:09:31 Jonathan_Eyre: yes, but how I'd love to be able to use a breakpoint Dec 20 19:09:42 PHPStorm has that built in. Dec 20 19:09:50 Jonathan_Eyre: I know :( Dec 20 19:10:20 For me that's a :), not a :(. Dec 20 19:10:57 that's a "it'd be nice but money is a bit tight atm" smiley in my case Dec 20 19:11:12 I do sometimes use PHP_Debug from PEAR. It's free. Dec 20 19:11:30 Anyway, that's not an Android topic. Dec 20 19:11:46 Jonathan_Eyre: I have most of my JSON generated by PHP nowadays :p Dec 20 19:11:51 which I consume in Android Dec 20 19:12:03 Oh, so this is a hybrid conversation. Dec 20 19:12:24 Jonathan_Eyre: it's legit Dec 20 19:12:25 Just as long as you occasionally mention Android, I think you can talk about anyhting. Dec 20 19:13:08 well, yeah, it's part of development, too Dec 20 19:13:14 and people are mean at #php Dec 20 19:13:33 You should try MySQL. They are worse. Dec 20 19:13:55 felt kinda bad for going to ask something I couldn't find, I felt worse and left the chat with even more questions Dec 20 19:14:36 I've never been to MySQL, luckily that's something I'm pretty good at Dec 20 19:15:08 which ofcourse is the thing I use to store my remote data for my Android projects Dec 20 19:15:16 lov: you work at amazon right? Dec 20 19:15:34 lov works at the shack Dec 20 19:15:37 the lov shack Dec 20 19:15:45 now that more people are here i can retell my joke Dec 20 19:15:57 Is it about water fowl? Dec 20 19:16:03 * belgianguy ducks Dec 20 19:16:04 What did the developer waterfowl say to the other developer waterfowl? Dec 20 19:16:05 yes Dec 20 19:16:20 Oh, I HAVEN:T HEARD THIS CONTINUE. Dec 20 19:16:29 Sorry, go on. Dec 20 19:16:31 Read the DUCKS Dec 20 19:16:42 Even funnier the second time! Dec 20 19:16:50 You still got it mikedg Dec 20 19:17:02 google should hire me as a comedian Dec 20 19:17:05 where do you work? Dec 20 19:17:10 video rental? Dec 20 19:17:42 i work in an aquarium as a penguim guardsmith Dec 20 19:17:42 because you seem to have been exposed to comedic influences Dec 20 19:18:18 mikedg: that's a nice job Dec 20 19:18:24 yeah Dec 20 19:19:34 it pays the bills Dec 20 19:19:54 mikedg: enough with the duck jokes ;) Dec 20 19:20:07 *bills* Dec 20 19:20:14 : ) Dec 20 19:21:55 it's not fair, I thought I'd do my Android dev on Ubuntu because I'd be less distracted by games Dec 20 19:22:05 but now steambuntu Dec 20 19:22:15 but I made it into the Steam beta and just found some other games that look really nice Dec 20 19:22:59 0 AD it's called, RTS a la Age of Empires Dec 20 19:32:40 Anyone know if it's possible to get an intent chooser that only has actual e-mail apps? Note that I have tried most combinations of actions, URIs, extra data, etc., and so far I can only get these three options: 1. a ton of apps. 2. bluetooth and gmail (close, but I don't want bluetooth), 3. "No applications can perform this action." I'm kind of confused why so many obstacles exist for such a simple task Dec 20 19:33:20 Does anyone know if it's possible to style the error the new Google Maps library displays when Google Play is not installed? "This app won't run unless you update Google Play services." Dec 20 19:35:22 birbeck: I work at Audible.com, which is owned by Amazon. So technically but not really Amazon. Dec 20 19:35:38 ah, thats right Dec 20 19:36:34 twaddington: just check PackageManager to see if the package is installed before you use the library and render your own error message? Dec 20 19:37:11 PeteS: are you using mailto:foo@example.com and still getting bluetooth? Dec 20 19:37:19 evanc: hrm, that's not a bad idea. I will look into it. Dec 20 19:37:29 birbeck: why? Dec 20 19:37:55 evanc: I tried "mailto:" -- in my case, I need to leave it up to the user to enter the mailto address Dec 20 19:37:57 lov: wondered if you knew winkie from the appstore Dec 20 19:38:06 but probably not at audible Dec 20 19:38:14 I'm not sure if you just hit on me Dec 20 19:38:31 huh? Dec 20 19:38:45 nevermind. Dec 20 19:38:51 mikedg: excellent jokes, never change. Dec 20 19:39:18 :) Dec 20 19:39:24 lov: Winkie Chen Dec 20 19:39:31 not ;-) Dec 20 19:39:35 birbeck: no, definitely never heard of a Winkie Chen Dec 20 19:39:41 I knew a winkie from barnes and noble Dec 20 19:39:44 not winkie chen though Dec 20 19:40:02 I work for the President Dec 20 19:40:05 technically Dec 20 19:40:17 I work for an american company that pays taxes Dec 20 19:40:17 just checking to make sure i'm understanding Play Billing docs/sample correctly - in order to verify that a purchase is valid, i just need to check the crypto signature on the returned JSON? there's no contact-google-and-ask-if-receipt#-XXX-is-valid? Dec 20 19:41:47 maybe Dec 20 19:49:50 hey Dec 20 19:49:53 hey hey hey hey hey hey hey hey Dec 20 19:50:16 this isn't dev, but this is certainly android related. how are people administering devices on a enterprise/k-12 level? Dec 20 19:50:19 factory80: let's try to be more of a factory30, shall we? Dec 20 19:50:44 error reporting, device management, access to directory services Dec 20 19:51:11 e.g. how do you set the device background for 500 devices? Dec 20 19:51:18 (with ease) Dec 20 19:51:54 factory80, there are a couple of guys on efnet's #helpchat that deal with this issue. (yes I know.. efnet...) and might be happy to help Dec 20 19:52:09 helpchat? what the hell is this? Dec 20 19:52:17 ...just in case you don't get answers around here, ya'know Dec 20 19:52:43 im looking at building a stripped down ROM with administrative capabilities, error reporting and access to directory services Dec 20 19:52:54 dafaq is a winike chen? Dec 20 19:53:32 factory80, you might have started with that info :) Dec 20 19:53:45 dude im ready to fucking make people sign an NDA over this shit Dec 20 19:53:56 easy now Dec 20 19:54:01 i swear this is the best idea in the world Dec 20 19:54:06 that is not done Dec 20 19:54:25 * languish wanders away to enjoy the end of the world and the awakening of the Sixth World Dec 20 20:03:33 hmm did i get kicked? :( Dec 20 20:04:39 rynkan: might have been a connect/reconnect issue? Dec 20 20:04:58 sometimes they then kick just to stop an account from continuously trying to connect Dec 20 20:05:07 ahh Dec 20 20:05:25 might be, no such problems over at android tho Dec 20 20:06:13 I'm sure you'd have had a fair warning if they wanted to signal you that you misbehaved :) Dec 20 20:06:13 05:58 --> rynkan [~rijad@c-82-209-133-192.cust.bredband2.com] has quit [Ping timeout: 260 seconds] Dec 20 20:06:23 that was not a kick Dec 20 20:06:31 just a timeout Dec 20 20:07:03 probably because the world ended where your backbone was located Dec 20 20:07:16 yeah sorry Dec 20 20:07:25 it's the ancient mayan way of saying gtfo Dec 20 20:07:34 :) Dec 20 20:08:02 btw any ssh/irssi for snfroid with landscape-mode? Dec 20 20:11:53 just got a airbrush to play with Dec 20 20:12:04 no time for code :( Dec 20 20:13:23 i have a radiogroup set up, and for some reason my drawable is showing up ontop of my radio buttons, instead of in between the button and the text when i use android:drawableLeft="@drawable/phone" any idea why? Dec 20 20:16:29 Anywhere I can find good examples of phone uis, for example using fragments etc Dec 20 20:16:54 luyang: I think there's an IO talk about UIs Dec 20 20:17:06 and also Google knows plenty of "mobile GUI" Dec 20 20:17:19 and d.android.com has explanations as well Dec 20 20:17:34 and design guidelines IIRC Dec 20 20:18:52 yes I just find it hard to find good ui examples Dec 20 20:19:03 it's like ui is inherently hard Dec 20 20:19:35 luyang: never overload your user, keep the motive clear, they're all pretty self-explanatory Dec 20 20:19:51 try to adhere to Android UI concepts Dec 20 20:21:16 is the menudrawer thing now an accepted idiom / best practice ? Dec 20 20:21:27 was it a fad , etc Dec 20 20:21:48 thumbs up or down on usability ? Dec 20 20:21:50 The design guidelines annoy me sometimes Dec 20 20:22:06 Especially when google themselves don't follow them Dec 20 20:22:11 But what annoys me the most Dec 20 20:22:26 http://developer.android.com/design/building-blocks/progress.html Dec 20 20:22:31 Go to "Activity circle" Dec 20 20:22:40 DON'T DO DEFAULT LISTFRAGMENT BEHAVIOR Dec 20 20:23:24 Their own OS is fighting it Dec 20 20:23:32 a spinning circle without a reason seems stupid to me; i think that violates basic ui crap dating back 20 years ago Dec 20 20:23:56 What bugs me is that the design documents don't include anything about implementation. Dec 20 20:23:59 "always communicate to the user what the f is going on" Dec 20 20:24:21 using 1 or more channels Dec 20 20:24:29 The design guidelines shouldn't include implementation Dec 20 20:24:59 It should be short, simple and to the point Dec 20 20:25:19 i think it would be nice if there were links to examples though, even if unobtrusive Dec 20 20:26:16 Why shouldn't they? "Make it look like this" is really annoying without any hint as to how to actually pull that off. Dec 20 20:26:37 If you work on a big enough team to separate design from implementation, great for you. I don't. Dec 20 20:30:40 Although it looks like more of the sections have a "Developer Guide" section at the bottom than I remembered. Withdrawn. Dec 20 20:31:21 Hey all. Does anyone know if there is a way of making it impossible for reflection to be used to change the internal variables of a class/instance? Dec 20 20:32:11 basically, no. Dec 20 20:32:23 not unless you're putting custom firmware on Dec 20 20:32:37 Then I'd need to change Dalvik, right? Dec 20 20:33:04 not necessarily. I think that there's some standard java permissions stuff that have to be granted for reflection to work. Dec 20 20:33:07 I was hoping (but not expecting) there would be some kind of equivalent for the 'security manager' in java. Dec 20 20:33:15 There's probably a property that sets whether they can be disabled etc Dec 20 20:33:16 yeah Dec 20 20:33:31 I think that the security manager's default impl or settings for dalvik permits it on asking Dec 20 20:33:34 you could just change that. Dec 20 20:34:15 no idea if it's actually hooked up to anything, but you could also just disable the getFields, getMethods methods, etc. Dec 20 20:34:20 Thanks. I was hoping there may me some other design pattern that would protect me, but that's ok :P Dec 20 20:34:30 (though you'd want to be careful to disable it only for certain packages, since some apps may depend on reflection) Dec 20 20:34:41 What exactly are you trying to protect against? Dec 20 20:34:46 Are you writing software that's meant to have plugins? Dec 20 20:35:02 If you're concerned about people modifying your binaries, you've already lost. Dec 20 20:35:45 No, although I want to do that too. Basically, I'm working on a modification to the Android framework that allows users to refine their 'permissions' without actually changing permissions - e.g. they can tell the framework that a particular app is not permitted to take pictures, and then if the app takes a picture it will get a stock image instead. Dec 20 20:35:55 Well, the mod already exists - I've just found a bug in it. Dec 20 20:35:59 gnoshi: you could store state a jni module. but if you have untrusted code running in your process space, they could still get access to that state Dec 20 20:36:28 ruh roh. d.android.com -> 404 Dec 20 20:36:37 hahaha Dec 20 20:36:40 JesusFreke: good one - I hadn't thought of that. Dec 20 20:36:48 The world has ended Dec 20 20:37:10 SimonVT: how are things, now that there is no world? Dec 20 20:37:25 My power was out this morning. Disconcerting, at the very least. Dec 20 20:37:36 SimonVT: maybe the world only ends after all of it makes to the 21st Dec 20 20:37:38 Well, it is kinda chilly Dec 20 20:38:22 Aaaand, it's back Dec 20 20:38:29 World didn't end anyway Dec 20 20:38:34 32,000 were without power in the KC area. Dec 20 20:38:36 And I'll go turn up the heat Dec 20 20:39:14 My block was dead, but everyone on the other side of the street were fine. Dec 20 20:40:04 Anything that goes wrong this week will be blamed on the Mayans. Dec 20 20:41:38 damn Mayan chronoterrorists. Dec 20 20:44:01 is there anything special that happens when android boots for the first time? Dec 20 20:44:29 You get a setup wizard Dec 20 20:44:33 It odexes anything that's not already odexed? Dec 20 20:44:41 JesusFreke: ah didn't know that Dec 20 20:44:42 <[twisti]> hey, ive been working on an android app with the eclipse setup, where you get the logcat output. when i have someone else run my app, how can i get their log stuff ? Dec 20 20:44:57 it creates the /data directory skeleton, if it doesn't exist Dec 20 20:47:41 [twisti]: have them run some app such as aLogcat and send it to you Dec 20 20:48:04 <[twisti]> thanks, ill check that out Dec 20 20:48:06 depends on the device Dec 20 20:48:15 you can't do that on newer versions. 4.1+? maybe? Dec 20 20:48:42 You can also do it yourself with the READ_LOGS permission, if you want it to work in-app. Dec 20 20:53:52 lov, other apps cant read your app's logs Dec 20 20:54:28 i'd like to make an android image for my emulator that runs a certain app the first time the emulator boots up Dec 20 20:54:42 i know how to repack system.img once i've booted the emulator/image, but i'm not sure how to do it in advance Dec 20 20:55:56 alternatively, i could just reset everything and make it look like it's the first boot Dec 20 20:56:01 possibly by deleting /data and doing other things? Dec 20 20:56:44 actually, i have no idea if the default images that come with the sdk have ever been "booted" before they were put into the sdk, so i guess that's not a good assumption for me to make Dec 20 20:57:55 kanzure: you could store some state in the app itself Dec 20 20:58:13 have it start on every boot, and if it hasn't been run before, do whatever it is you want done Dec 20 20:58:46 JesusFreke, canadiancow, goddamnit >:( Dec 20 20:58:51 well, there goes that. Dec 20 20:58:57 ? Dec 20 20:59:03 15:48:46 < JesusFreke> you can't do that on newer versions. 4.1+? maybe? Dec 20 20:59:03 JesusFreke: well, i have some device diagnostics stuff in my app, and i'm trying to test that it actually works, and the emulator is the same each time i boot it up because it's not re-created if that makes sense? Dec 20 20:59:07 I forgot about that. Dec 20 20:59:10 lov: ah, yeah Dec 20 20:59:21 you can only access your own logcat Dec 20 20:59:23 It kind of sucks because basically you can't tell customers "Run this app and send us the file it creates" Dec 20 20:59:41 lov: you could use a shared user id Dec 20 20:59:49 which means that if your app is crashing for some reason on some devices, you'll never know why. Dec 20 20:59:49 lov, you could do a bugreport Dec 20 20:59:53 but you would have to already have it set up in the original app Dec 20 21:00:04 canadiancow: it's hard enough to get customers to run logcat apps. Dec 20 21:00:10 can you imagine running them through doing a bugreport? Dec 20 21:00:16 bug report is push and hold three buttons Dec 20 21:00:20 and it pops up the email app Dec 20 21:00:28 which three apps? Does this work on every device? Dec 20 21:00:31 s/apps/buttons/ Dec 20 21:00:34 no :( Dec 20 21:00:38 exactly. Dec 20 21:00:40 i talked my dad through getting a bug report :) Dec 20 21:00:43 but he has a galaxy nexus Dec 20 21:00:46 yeah Dec 20 21:01:10 JesusFreke: yeah, that's the kicker. If you didn't set the shared user id when you published it, welp... Dec 20 21:01:19 yea Dec 20 21:01:20 so publish an update now Dec 20 21:01:22 and let it crash again Dec 20 21:01:23 :P Dec 20 21:02:15 opengl was no cakewalk Dec 20 21:03:43 oh, yeah. opengl can be very... "involved". :) Dec 20 21:09:38 err, wasn't http://acra.ch/ that library that allowed 'live' apps to generate bug reports Dec 20 21:09:46 and submit them to your email etc? Dec 20 21:10:51 what's wrong with play bug reports? Dec 20 21:11:03 as someone who's never madre an app Dec 20 21:21:19 I'm looking into writing game apps for my Android. I have experiance with C C++ and OpenGL. I know abit Java, so I guess I'd go with Java + JOGL. What do I create an OGL context with under android? Dec 20 21:21:22 Hello btw Dec 20 21:23:41 start by reading up under d.android.com Dec 20 21:23:54 there's probably a 3d training tutorial somewhere there Dec 20 21:24:12 Alright, thanks Dec 20 21:24:21 soryy708 no you can go with C++ and opengl, and have mostly xplatform code Dec 20 21:24:33 or you can use an engine thats all ready done or middleware Dec 20 21:24:54 TheBunny: That's no fun. Dec 20 21:25:08 then why did you ask? Dec 20 21:25:35 soryy708: no JOGL. Dec 20 21:25:40 SDL and other abstraction layers work on android these days too if you don't want a full engine Dec 20 21:25:41 soryy708: Android uses GLES Dec 20 21:26:10 TheBunny: I use SDL with C++. There's a Java binding but it doesn't list Android as a supported platform Dec 20 21:26:18 You can actually write your application entirely in C/C++, although it's a little uggo Dec 20 21:26:19 no JAVA :P Dec 20 21:26:25 you also have to target 2.3 and above. Dec 20 21:26:34 NDK is C/C++ Apis, Dec 20 21:26:37 I have a 2.3.4 phone anyway Dec 20 21:26:40 you don't have to code in java Dec 20 21:26:42 http://developer.android.com/reference/android/app/NativeActivity.html Dec 20 21:27:13 also, http://developer.android.com/tools/sdk/ndk/index.html Dec 20 21:27:19 Yeah I'm aware of the NDK, but I hear it's a pain to work with. I hear google didn't really put much effort into it Dec 20 21:27:31 See also http://developer.android.com/training/graphics/opengl/index.html Dec 20 21:27:35 hahaha sob Dec 20 21:27:39 lets just say that yes they did Dec 20 21:27:49 soryy708: ES 2.0 doesn't work well with < 2.3 Dec 20 21:27:49 and sadly its horrible to work with Dec 20 21:27:59 you have to bear in mind that the first class citizen with the most effort is Java and dalvik Dec 20 21:28:06 Nvidia tho has all in 1 installers for the NDK and Debuggers etc Dec 20 21:28:08 and that helps a lot Dec 20 21:28:25 belgianguy: then you use gles 1.1 or 1.0 Dec 20 21:28:25 there also working on a visual studio hosted tools / debugger Dec 20 21:28:30 not sure if thats out yet Dec 20 21:28:34 anyhoo Dec 20 21:28:36 lov: they are quite different Dec 20 21:29:01 belgianguy: that's fair. It depends on how much effort you want to put in for compat. Dec 20 21:29:04 I wonder how much effort is it to set up SDL with OpenGL in C++ to work on Android :D Dec 20 21:29:17 depends on your skill level ;) Dec 20 21:29:24 have you searched for "Android SDL" yet? Dec 20 21:29:25 lov: but you can use the bindings provided by libgdx to coverfor 2. Dec 20 21:29:26 3 Dec 20 21:29:34 http://libsdl-android.sourceforge.net/ Dec 20 21:29:55 haha xD Dec 20 21:38:42 soryy708: ES 2.0 doesn't work well with < 2.3 Dec 20 21:38:43 what? Dec 20 21:38:45 it worked on 2.2 Dec 20 21:39:05 canadiancow: hang on, I'll get the citation Dec 20 21:39:40 i know of one problem on 2.2 Dec 20 21:39:47 there were 2 methods missing, and you had to go native for them Dec 20 21:39:54 but that just requiers a simple wrapper Dec 20 21:39:57 canadiancow: http://www.learnopengles.com/android-lesson-seven-an-introduction-to-vertex-buffer-objects-vbos/ Dec 20 21:40:15 3. The OpenGL ES bindings are broken on Froyo (2.2), and incomplete/unavailable in earlier versions. Dec 20 21:40:28 yeah so thats waht im talking about Dec 20 21:40:34 3. Use your own Java Native Interface (JNI) library to interface with the native OpenGL ES system libraries. Dec 20 21:40:56 yeah, it's an easy fix, so I'm not complaining, but I didn't know Dec 20 21:41:02 the author is pretty scathing Dec 20 21:43:02 https://github.com/nicolasgramlich/AndEngine/blob/GLES2/src/org/andengine/opengl/GLES20Fix.java Dec 20 21:43:13 https://github.com/nicolasgramlich/AndEngine/blob/GLES2/jni/src/GLES20Fix.c Dec 20 21:43:18 like yes, that shit is annoying Dec 20 21:43:19 BUT Dec 20 21:43:21 it's not that bad Dec 20 21:43:40 and froyo is down to 10.3% Dec 20 21:44:00 Is the next release Licorice? Dec 20 21:44:06 no Dec 20 21:44:12 im pretty sure it's going to start with a K Dec 20 21:44:18 but maybe you know something i don't Dec 20 21:44:18 Key Lime is out. Dec 20 21:44:22 ish Dec 20 21:44:25 ??? Dec 20 21:44:37 It's only sort of out. Dec 20 21:44:59 how so? Dec 20 21:45:11 yeah im with lov on this Dec 20 21:45:21 hey ctate ^^ Dec 20 21:45:47 What. You don't know how it's out? Or you don't know how it is not on too many devices? Dec 20 21:45:55 mmm? Dec 20 21:45:56 how is it out Dec 20 21:46:17 the K release is "out" the same way that the T release is "out" Dec 20 21:46:21 +1 Dec 20 21:46:26 only in the sense of "it's out there somewhere, someday...." Dec 20 21:46:56 if someone is encouraging you to install a K rom, they're probably a russian botnet Dec 20 21:47:02 lol Dec 20 21:47:23 Key Lime Pie was what I heard Dec 20 21:47:33 ok two responses tothat Dec 20 21:47:40 and yes canadiancow "annoying" is the word Dec 20 21:47:41 1. A name being announced is not the same as a release being "out" Dec 20 21:47:54 2. No name has been announced Dec 20 21:47:59 Several parts of the expected release is open to the public, or is being discussed. Some manufacturers are bracing for the change, some even going so far as to say that their THIS_PRODUCT will have it. Dec 20 21:48:07 * ctate is still hoping for "Kulfi" Dec 20 21:48:09 Have I seen a singel line of source? no Dec 20 21:48:26 Maybe they'll call it Brussels Sprouts Dec 20 21:48:35 and do away with the candy Dec 20 21:48:46 Jonathan_Eyre: of course several parts of the expected release are open to the public; that's *always* true, because AOSP. Dec 20 21:48:56 Anyway, All this and what I wanted to say was I hope the one after Key Lime Pie will be Licorice. Dec 20 21:48:57 re "Some manufacturers" etc, [citation required] Dec 20 21:48:57 ctate +1 :D Dec 20 21:49:18 Jonathan_Eyre, what parts are open? Dec 20 21:50:02 doh, it sucks that renderscript isn't on older platforms Dec 20 21:50:21 hwrd|work: doh, it sucks that $NEW_API isn't on older platforms Dec 20 21:50:46 argh I wish I was on $_SDK_VERSION++ Dec 20 21:50:46 evanc: Nah. I don't really care about the new bluetooth api not being on older platforms Dec 20 21:50:48 evanc, with the support lib, some are :) Dec 20 21:51:12 hwrd|work: just because you don't care doesn't mean it doesn't suck Dec 20 21:51:13 android.support.renderscript Dec 20 21:51:37 I'm less concerned about API than I am about manufacturers fucking up w/in the same level Dec 20 21:51:45 like the N4 having completely pooched USB OTG Dec 20 21:51:59 * dragorn can't even tell people "get a nexus" now for product support Dec 20 21:52:03 dragorn: This is true. Dec 20 21:53:21 dragorn, OTG is a hardware feature Dec 20 21:53:23 like NFC Dec 20 21:53:34 did LG drop the ball? Dec 20 21:53:40 if you have the necessary api level (12? for otg?), AND THE HARDWARE SUPPORTS IT, it will work Dec 20 21:54:07 canadiancow: yes, and after pushing it as a major feature in 4.x, having a flagship nexus device not support it is a pretty major failure Dec 20 21:54:39 but now they can market it as completely wireless ;) Dec 20 21:54:45 lol Dec 20 21:55:13 belgianguy: I believe the failure on the N4 is the new funky usb connector that also functions as a display output Dec 20 21:55:32 belgianguy: the ID pin for the display output is the same as the ID pin for OTG, and rather than fix it, they just dropped OTG from the device Dec 20 21:56:05 so i have defined the layouts of two fragments in xml. my activity has a relative layout. I am programmatically adding the two fragments to the relativelayout, but they overlap each other. Is this easy to fix? Dec 20 21:56:20 I also believe the first release for it said it DID support USB, a subsequent update flagged it as not supported and the docs were redacted. I haven't gotten my hands on one yet unfortunately, so that's second hand from a friend who helped debug for me Dec 20 21:56:44 dragorn: and a rom can't fix that? Dec 20 21:56:59 eg it's a hw issue? Dec 20 21:57:29 damccull: it sounds like you're just not setting the layout params as you need? Dec 20 21:58:25 The upper fragment is xml set to layout_alignTop(left and bottom)=true, and above the id of the lower fragment. The lower is similar but set to bottom and below the upper Dec 20 21:58:54 belgianguy: I believe it is a HW issue Dec 20 21:59:25 belgianguy: Some of HTCs phones are broken in software despite being hw capable Dec 20 21:59:34 http://forum.xda-developers.com/showthread.php?t=2039213 Dec 20 22:00:06 xda is full of smart people Dec 20 22:00:35 canadiancow: Moto failed to power their ports, too Dec 20 22:00:47 I can't tell if canadiancow is being sarcastic. I guess I'll have to read the thread. Dec 20 22:00:55 it's fixable; I'm actually working on making a product to do so. I suppose I'll test it again if I can get my hands on the n4 Dec 20 22:01:04 and my friend is willing to let me backfeed +5 into it :P Dec 20 22:01:10 Why is it so hard just to make something right the first time Dec 20 22:01:18 google seems to be pretty good at it, but other copanies no so much Dec 20 22:01:18 hwrd|work: because reasons. I suppose. Dec 20 22:01:19 dragorn: the link canadiancow posted has people that tried to fix it Dec 20 22:01:20 and failed Dec 20 22:01:29 belgianguy: yes, I just looked at it Dec 20 22:01:36 eg a faux kernel and outside 5V didn't cut it Dec 20 22:01:50 external* Dec 20 22:01:58 evanc, im not being sarcastic, i just mean that if its going to get fixed by third parties, it will probably happen on xda Dec 20 22:02:10 belgianguy: I designed specific hw to fix a very similar issue in moto devices tho; namely moto won't work with +5v, it also needs a hub in the chain or it rejects. I'll look at the article more closely when I take dinner off the stove Dec 20 22:02:43 belgianguy: well, moto doesn't reject, it just fails to properly enumerate claiming power budget limitations, on all devices, no matter what Dec 20 22:02:44 dragorn: you are multiple times more knowledgable than me on the topic :) good luck Dec 20 22:03:11 belgianguy: https://lh4.googleusercontent.com/-akjkPU1z2NM/UGDHU_8I1nI/AAAAAAAACjk/wNcmbPu84F4/s720/1348519736633.jpg ... that's the magic to fix it on moto :) Dec 20 22:03:19 belgianguy: sure sucked to solder tho Dec 20 22:04:06 dragorn: impressive Dec 20 22:04:17 you aren't kidding Dec 20 22:12:02 lov: JesusFreke: I think I've worked out a way around my reflection issue (which is basically to offload storage of the key 'security' data to the system service associated with the mod I'm working on). Cheers for your help. Dec 20 22:19:16 what is the bottleneck on how fast javadocs get retrieved? Dec 20 22:20:26 Hi, I have here an ARMv6 board: Can I build current Android for this board? Dec 20 22:28:58 honschu_: I have an Xperia X10 Mini Pro (ARMv6) and I run MiniCM10 (based on 4.1.1) Dec 20 22:42:23 Do you make use of unit testing in your Android projects? Dec 20 22:42:58 yes; though I've eventually come to the point where I've split up my code into android-indpendent blocks that I can test with plain old junit. Dec 20 22:43:54 Ok Dec 20 22:44:48 but (of course) any unit-testing is better than none :) if you're retro-fitting unit tests into an existing application, then one of the android-specific frameworks are probably the best bet. Dec 20 22:44:57 http://www.jetbrains.com/specials/index.jsp Dec 20 22:45:01 75% off yo :) Dec 20 22:45:07 I'm trying to implement TDD and learn it overall. Dec 20 22:45:18 Incorporate it into future projects from the start. Dec 20 22:45:53 ataraxiaRS: *nod* in that case, I've personally found it simplest [both from modularity, as well as testability] to separate out android-specific areas of the code right from the beginning. Dec 20 22:47:03 Ok Dec 20 22:47:20 What testing suite do you use for Android specific stuff? Dec 20 22:47:24 most of the gui part of the code [well, the visually apparent code at lest] seems easiest and best to test 'by hand'; things like animations and so forth don't have an obvious way to make sure they "work" Dec 20 22:47:47 ataraxiaRS: for acceptance tests, I've used robotium in the past and liked it Dec 20 22:48:27 android has its own basic framework; the documentation site has some details about it. as evanc points out, other frameworks exist too. Dec 20 22:50:31 Thanks, I've got a starting point. Dec 20 22:51:31 MVP ideas might be useful too, if you can put anything that starts with import android.* into the "P" ;-) Dec 20 23:18:34 Do android gradients allow you to specify how far the gradient goes across. Say for instance I want the transition from black to white to be close to the edge of the screen and only take up 10% of the gradient with the rest being white. Dec 20 23:21:04 So, I have a Nexus 4 and a Galaxy nexus running the same version of Android (4.2.1). I have the Camera set to FOCUS_MODE_CONTINUOUS_PICTURE and the flash is turned on. The flash will fire on the Galaxy Nexus but will not fire on the N4. Changing the focus mode to FOCUS_MODE_AUTO will cause the flash to work on the N4 as expected. Any ideas why this is the case? Dec 20 23:30:54 Is the src avilable for aidl ? Dec 20 23:32:32 унех_ Dec 20 23:32:40 err should be Dec 20 23:33:37 its only supplied as a prebuilt Dec 20 23:46:36 Winslow: is using the center* attributes in the shapedrawable xml sufficient for your purpose? Dec 20 23:51:55 I'm trying to make an on screen keyboard that only covers the lower left-hand corner of the screen but I'm not sure how to not fill the right-hand side. This is how it currently looks http://ompldr.org/vZ3J0dg Dec 20 23:53:17 Right now, I'm using this code to set the width of the layout: this.setLayoutParams(new FrameLayout.LayoutParams(parentWidth/2,parentHeight)); Dec 20 23:54:33 im trying to flash by nexus s back to stock 2.3.7 using the system image from developers.google.com. flashing the bootloader works, and flashing the radio appears to work but is still the old one when i reboot the bootloader Dec 20 23:54:48 ./flash-all fails because the radio doesnt match the check Dec 20 23:55:22 Hi! I Dec 20 23:55:36 crap sorry guys. thought i was talking in #android-root Dec 20 23:56:53 Hi, using ActionBarSherlock, is it possible to use setDisplayHomeAsUpEnable(...) without displaying the app-icon? I only want to use the up-arrow on the actionbar, is it possible and how? Dec 21 00:01:06 Please stick to the recommended UX/UI guidelines Dec 21 00:01:19 making stuff look weird just for the purpose of looking weird is not helpful to your users Dec 21 00:02:55 ctate: are you responding to my question? Dec 21 00:03:04 no, i'm responding to meck0 Dec 21 00:03:13 ah ok Dec 21 00:03:20 is it recommended from a usability point of view to have the app icon visible beside the up-arrow on each child activity? I don't think that it add much value to the app? Dec 21 00:06:27 that is the standard look Dec 21 00:07:19 it emphasizes that it's the standard app-level navigational operation rather than some custom behavioral control Dec 21 00:09:55 hm yep, just opened Play Store and it also have the icon visible. Maybe its a common design, but e.g. the Play Store has a smaller icon than I have, so it looks better, it don't fills up a rectangle like a button Dec 21 00:10:10 I'll better stick with that guideline then :) Dec 21 00:15:51 Does anyone know how to size a view such that it doesn't fill the screen horizontally and vertically? http://ompldr.org/vZ3J0dg Dec 21 00:16:20 jstream: give it a width Dec 21 00:17:20 I did -- if you'll look at the screen shot. you'll see that although the view's contents have moved, the view still fills the window vertically Dec 21 00:17:33 err. horizontally Dec 21 00:17:41 give the parent thingie a @null bg Dec 21 00:17:49 how? Dec 21 00:18:16 open hiearchyviewer Dec 21 00:18:17 jstream: a Morse keyboard? :) Dec 21 00:18:17 and inspect it Dec 21 00:18:19 you'll see Dec 21 00:18:36 any of you try your apps on BB10 ? Dec 21 00:20:54 belgianguy: I didn't make it, I'm just using it to get me started Dec 21 00:23:47 funkbox: In Hierarchy Viewer, I can see that my view is within a frame layout -- how do I access it in order to change its background? Dec 21 00:29:02 jstream: I don't mind, I just notice the dot and the stripe :) Dec 21 00:29:09 noticed* Dec 21 00:33:19 belgianguy: Here's the link if you're interested http://www.google.com/url?sa=t&rct=j&q=android%20dot%20dash%20keyboard&source=web&cd=2&cad=rja&ved=0CDsQFjAB&url=http%3A%2F%2Fcode.google.com%2Fp%2Fdotdash-keyboard-android%2F&ei=OK7TUMzkILGxigKAz4HIBA&usg=AFQjCNF3KBjiYqPKi5xX_RMtpXZaZeB26A&bvm=bv.1355534169,d.cGE Dec 21 00:33:24 err sorry Dec 21 00:33:28 code.google.com/p/dotdash-keyboard-android/ Dec 21 00:36:13 So, maybe what I'm trying to do isn't possible? Dec 21 00:59:47 anybody still builds with ant? Dec 21 01:00:29 i have a project that has a dependency, an external project (actionbar sherlock) Dec 21 01:01:00 when i run ant it builds everything fine, the final apk is working great etc. Dec 21 01:02:14 but my IDE (eclipse) is complaining that it can't find the built jar from the referenced project Dec 21 01:04:49 so when I'm developing, I always have entries in Problem view even when the code itself is perfectly fine Dec 21 01:06:03 would be great if someone shares the experience, seems to me like a pretty common problem that anyone faces with ant + library project dependencies Dec 21 01:15:11 anyone knows if its possible to read and write RFID HF (13.56mhz) tags with nexus' 7 nfc chip? Dec 21 01:22:47 How can one implement a camera in OpenGL that is controlled by your touch? I am trying to spin a model around on its axis Dec 21 01:27:51 any of you guys ever gone to Mobile World Congress? Dec 21 01:29:44 why ? Dec 21 01:30:31 trying to figure out the differences between their various passes.. not interested in reading fluff Dec 21 01:49:35 What is a good android development forum? Dec 21 02:15:18 Hello! Dec 21 02:18:02 how is the android build target different from the android:targetSdk set in the manifest? Dec 21 02:18:05 Anyone try to use Maps v2 with Gingerbread support? Dec 21 02:18:31 hi, what is preffered way to get intent extra? point to static field from other class or just use the same value in booth classes? Dec 21 02:19:08 fisiu i would point to a static string in another class Dec 21 02:20:31 thans matt9 Dec 21 02:20:38 * thanks Dec 21 02:21:21 if I understand your question right, tagetSdk is the version of the device you test with, buikd target is the sdk version you have installed Dec 21 02:21:41 Why is calling getFragmentManager from a Runnable passed to runOnUiThread different than just calling it from an Activity's onCreate method? If I do the former, a NullPointerException winds up being thrown when showing a DialogFragment. If I do the latter, the DialogFragment is shown correctly. Dec 21 02:23:41 Anyone tryed using the new map api without fragments? Dec 21 02:23:52 GMDynamics, without fragments? you're probably doing it wrong :( Dec 21 02:24:04 NicholasRoge, what's null Dec 21 02:24:24 GMDynamics, i have used maps v2 with minSdkVersion="8" Dec 21 02:24:45 suppose i want to have a panel on the left side of the screen that i can swipe to reveal, how is this generally done? Dec 21 02:25:07 I extended mapview to get a circular map Dec 21 02:25:08 like a side navigation panel? Dec 21 02:25:39 yeh i dont know what the proper term is actually. like i have a little 'handle' on the left which i can drag to the right Dec 21 02:25:43 canadiancow: I have no idea, is the issue. The FragmentManager that's returned from getFragmentManager is an instantiated object, and inspecting it reveals that some of its data is null, but I don't understand the internal workings of the FragmentManager class well enough to perform a proper diagnosis. Dec 21 02:25:53 GMDynamics is there any way to determine the target SDK? Dec 21 02:25:56 programatically Dec 21 02:26:24 you mean which one your app is running on? Dec 21 02:26:38 NicholasRoge, stack trace Dec 21 02:26:42 no not that, but what API you are currently targetting Dec 21 02:27:18 err, at runtime? why would you need to? Dec 21 02:27:38 since it's statically declared at build time Dec 21 02:28:01 good point Dec 21 02:28:06 When you make the project, eclipse will ask you. You can look in Prefrences Dec 21 02:28:19 Prefrences > Android Dec 21 02:28:39 is there ever a reason to have a different build SDK level and target SDK level? Dec 21 02:29:09 You have a 4.1 device to test with, but you can download any build SDK Dec 21 02:29:17 matt9: absolutely Dec 21 02:29:36 wait, "build" and "target"? um, no. Dec 21 02:29:43 target and *min*, absolutely Dec 21 02:30:04 Why does android let you build with a different SDK than what you are targetting? Dec 21 02:30:08 the default recommendation is to set targetSdk to the latest available Dec 21 02:30:21 and set minSdk to the earliest version you're prepared to run on Dec 21 02:30:27 if you're an android noob, i'd probably recommend setting your build target to your minSdkVersion Dec 21 02:30:31 canadiancow: I may have figured out what the issue was. rofl. Every time I've tested thus far, the screen has been off. What I was doing led me to believe the issue was with FragmentManager. However when I turned the screen on, the Dialog popped up exactly like it was supposed to. Dec 21 02:30:50 I understand the difference between minsdk and targetsdk canadiancow Dec 21 02:30:53 but ==canadiancow is the "safe" approach because it prevents you from accidentally running code that looks for new APIs on old devices Dec 21 02:30:56 From my experience, targetSDK is best set to what you can test with a device Dec 21 02:31:20 canadiancow: So now I have to figure out what to do if the dialog is supposed to be displayed and the user has the screen off. Yay. Dec 21 02:31:22 GMDynamics: please please set it as high as possible Dec 21 02:31:32 because then you'll get correct behavior on newer devices Dec 21 02:31:37 yeah Dec 21 02:31:45 Target or Build? Dec 21 02:31:50 target Dec 21 02:31:50 like if it's less than 14, you get a nasty menu button on GN/N4 Dec 21 02:31:51 so I set my targetSDK to 17, under what circumstance would i want to set my build SDK to lower than 17? Dec 21 02:32:17 matt9, if you dont need any features from 17 and dont know what features came in at what api level Dec 21 02:32:23 although lint is pretty good at that Dec 21 02:32:26 canadiancow: hmmmmmmmmmm ok. Dec 21 02:32:38 but personally, i use build target = targetSdkVersion Dec 21 02:32:48 I'm confused, if I cant test it, why would I claim to support it? Dec 21 02:32:49 oh right Dec 21 02:33:00 some people set target = newest available, build=min Dec 21 02:33:04 but i can pretty much look at any method call and tell you waht api it arrived in, so i dont need protection like that Dec 21 02:33:12 to force themselves not to use any APIs newer than their minimum supported version Dec 21 02:33:21 and i do things like "if android 4.0, use beam, else, dont" Dec 21 02:33:25 personaly i think that is less than ideal, because then you also can't use any *features* newer than the minimum supported Dec 21 02:33:30 so i need the higher build target Dec 21 02:33:37 agreed ctate Dec 21 02:33:41 but for an android noob... Dec 21 02:33:41 I thought thats what the value folders were for Dec 21 02:33:50 GMDynamics: if necessary, set target=newest and build=what you can test? Dec 21 02:34:01 I'm trying to make an input method (i.e., like an onscreen keyboard) that only covers the bottom left corner of the screen. Here's what I've got: http://ompldr.org/vZ3J0dg How do I get rid of the black space on the right-hand side? Dec 21 02:34:07 matt9: where in the UI is this configuration for build vs target vs min? Dec 21 02:34:20 what UI? Dec 21 02:34:23 * ctate has actually never used the Eclipse integration stuff Dec 21 02:34:35 oh idk I'm not talking about eclipse necessarily Dec 21 02:34:35 matt9: whatever it is that you say is asking you separately for what build API level vs what target API level Dec 21 02:34:43 No ADT! The horrors! :D Dec 21 02:34:45 GMDynamics, values folders? im talking about code, not resources Dec 21 02:34:55 err, then i'm confused. *is* th4ere such a thing? Dec 21 02:35:12 are you talking about the choice of which SDK to use when creating a new project, then? Dec 21 02:35:14 I use the value folders to help filter out version specific code Dec 21 02:35:16 I just noticed that theres an SDK level specified in project.properties (the build sdk), and in the manifest for targetSDk Dec 21 02:35:49 and was wondering why that information wasnt consolidated since I couldnt think of a reason to have a targetSdk != buildSdk Dec 21 02:36:28 Eclipse lied to me. It told me to set it to what I was testing with! Dec 21 02:37:10 Here's the code (look in onMeasure) http://pastebin.ca/2295421 Dec 21 02:37:16 GMDynamics: that's safest, i guess Dec 21 02:37:44 matt9, i cant imagine a case where you'd want the build target to be not equal to minSdkVersion or targetSdkVersion Dec 21 02:38:00 and the only time i would recommend setting it to minSdkVersion is whe nyou are VERY noob Dec 21 02:38:08 Yeah, but you guys are making me rethink that :D, Dec 21 02:40:10 Am I the only one whos annoyed with the seeming complexity of the map api v2. I dont like change :( Dec 21 02:40:21 Can anyone help me? I can find very little documentation on programatically changing the dimensions of a view Dec 21 02:40:42 GMDynamics, the only problem i have iwth it is that one of the built in components does not have a tiny feature i had in the same component i had to build myself in v1 Dec 21 02:40:51 when i switched from v1 to v2, i dleeted like 10 classes Dec 21 02:40:52 it was amazing Dec 21 02:41:35 But its wayyyy harder to make changes Dec 21 02:41:57 so dont use v2? Dec 21 02:42:45 I want to clip my map to a circle, but v1 no longer supported, and v2 is encapsulating like a boss, which is bad for me Dec 21 02:43:05 why cant you just subclass the new MapView nad do the exact same thing? Dec 21 02:44:19 I did, but I get a nice grid with a google logo and no data Dec 21 02:44:20 yeh im sure its possible Dec 21 02:44:33 thats probably auth error Dec 21 02:44:51 for old maps i used this eh.. clippath thing Dec 21 02:45:22 https://lh4.ggpht.com/-3e9X8zZlZe-YW2ckaXb1qkVLMwuJ8cOC7qg-4nf3iLjszOz7galH0gLz82WP_7jfMM <-- corners ;) Dec 21 02:46:04 Corners arent enough for my layout. I used PorterDuff things, but I extended mapview Dec 21 02:47:08 Now Im not sure if I found the right place to inject my apikey Dec 21 02:51:40 I flipped the proverbial table. This is a final project, due at 12, and I dont have time to fight with OAuth so I'll just stick with what I know Dec 21 02:54:37 If i want to find out what public providers or services an app such as facebook provides how do i go about finding out ? Programatically ? as the android facebook providers are not made public Dec 21 02:59:26 with facebook, you can pretty much assume that their provider is not public **** ENDING LOGGING AT Fri Dec 21 02:59:59 2012