**** BEGIN LOGGING AT Thu Oct 03 02:59:58 2013 Oct 03 03:00:23 so if I want to extend the vertical scrolling range so that the top line isn't cut off, I have to reimplement the exact same thing except use a different value in the Math.min call Oct 03 03:01:25 I don't get why the TextView scrolling doesn't behave like scrolling in urxvt or Konsole in the first place Oct 03 03:19:35 if im rockin a listview w/a viewholder.. whats hte best way in the viewholder onClick to do stuff in items outside of it? Oct 03 03:21:46 acidjazz, items outside of it? Oct 03 03:22:27 outside the listview? Oct 03 03:22:49 no items outside of hte listviews clicklistener Oct 03 03:23:01 like lets say each my items plays a diff song jeppy Oct 03 03:23:16 i have a play/stop button.. i want all items of hte listview besides whats in the handler to switch to play Oct 03 03:23:22 click on and item and play a song? Oct 03 03:23:24 and in my handler that one switches to stop Oct 03 03:23:28 yea Oct 03 03:23:58 playing many sounds at once? Oct 03 03:24:07 only one row plays a sound Oct 03 03:24:13 lol Oct 03 03:24:19 you're losing me Oct 03 03:24:19 so all other rows buttons need to siwtch to "play" Oct 03 03:24:24 ok all the buttons say jeppy Oct 03 03:24:26 hi Oct 03 03:24:28 you click one button it says kevin Oct 03 03:24:42 all the other buttons go back to jepppy.. only "kevin" is shown on the clicked button Oct 03 03:24:53 like a checklist .. but only one item can be checked Oct 03 03:25:03 Have a function in the activity/fragment implement it Oct 03 03:25:07 anyone know the best apporach for displaying a scrollable map interface that displays gps location from a server? Oct 03 03:25:21 what .. resetButtons()? Oct 03 03:25:22 keep a list of the views Oct 03 03:25:29 im using a viewholder Oct 03 03:25:43 and pass the id of the one that is different Oct 03 03:25:50 how about just functionality to change all items in a views button to certain text Oct 03 03:26:06 so Activity A calls an Intent for Activity B... Activity B calls finish()... A.onResume() will be called, right? Oct 03 03:26:42 it should Oct 03 03:26:55 not sure in the case of a dialog activity Oct 03 03:27:34 unless A was finished during B's reign as supreme ruler Oct 03 03:27:53 hmm.. im overriding getVIew.. Oct 03 03:28:30 acidjazz I don't think your issue is related to the listview or viewholder Oct 03 03:29:21 There is an array somewhere containing the views you want to change right (and maybe those you don't want to change) Oct 03 03:29:52 in the viewholder.. sorta... Oct 03 03:29:54 or the backing data for the views Oct 03 03:30:01 paste a link Oct 03 03:30:05 im using a customadapter to override getView.. then a viewholder to cache the elements Oct 03 03:30:12 your descriptions aren't very helpful Oct 03 03:30:21 https://gist.github.com/acidjazz/19626fdca11c90f19554 Oct 03 03:30:39 theres my adapter to the arrayadapter Oct 03 03:31:04 https://gist.github.com/acidjazz/c5c7e281c5ef07830b7a theres my viewholder Oct 03 03:31:25 what's a playstoplistener? Oct 03 03:31:28 maybe i can loop through the viewholder... Oct 03 03:31:44 my onClickLIstener for the buttons Oct 03 03:32:10 it right now just plays the song onside onClick() Oct 03 03:33:19 what exactly are you trying to reach in each holder? Oct 03 03:33:30 the imagebutton? Oct 03 03:33:35 the seekbar.. and i want to hide it Oct 03 03:33:41 i only want to show the seekbar for the song playing Oct 03 03:33:53 so seekbar.setVisibiltiy(View.GONE); or something Oct 03 03:34:15 but that isn't tied to a specific listview entry, it gets recycle Oct 03 03:34:18 d Oct 03 03:34:32 in getView right? Oct 03 03:34:39 right good point Oct 03 03:34:48 maybe set a boolean for playing or some sort of state integer Oct 03 03:34:59 itd have to be for each row Oct 03 03:35:06 oh in the holder? Oct 03 03:35:15 hmm isPlaying.. Oct 03 03:35:18 do you use notifyDatasetChanged or whatever? Oct 03 03:35:25 negatory Oct 03 03:36:59 oh Oct 03 03:38:01 you could loop through the holders and change visibility of each, no? Oct 03 03:38:01 well this is functionality thatll have to run through the views.. Oct 03 03:38:08 thats what im thinking Oct 03 03:38:37 The children of the listview are the holders (i think) Oct 03 03:38:50 well kinda Oct 03 03:39:09 how do i looop through SongsViewHolder Oct 03 03:39:39 you loop through the listview's children Oct 03 03:40:26 when i define the listview? or w/in my adapter? Oct 03 03:40:38 but that might lead to the songs off screen not hiding their slider, and seeing that when scrolling Oct 03 03:41:25 google listview visible views Oct 03 03:41:33 yea getView runs on those when they re-appear Oct 03 03:41:38 so i just need to refresh em Oct 03 03:41:41 thats problem B Oct 03 03:41:47 A is looping first Oct 03 03:42:10 huh? Oct 03 03:42:37 for (int i = 0; i < listview.getCount(); i++) { Oct 03 03:42:38 A is looping first, what's A (and B for that matter) Oct 03 03:43:11 it might be listview.getChildCount or getChildViews or something like that Oct 03 03:43:42 use google. there are posts on SO about this Oct 03 03:44:37 jeppy: https://gist.github.com/acidjazz/370f6e1f12a352e0764e Oct 03 03:44:54 long shot Oct 03 03:45:37 Yeah it is Oct 03 03:46:07 You should think of your problem outside the context of views maybe. Oct 03 03:47:20 use the position or id field from getView Oct 03 03:47:29 as an index Oct 03 03:47:41 in your backing array of data Oct 03 03:48:22 you keep track of the position that is playing Oct 03 03:48:35 if not that position, hide it. Oct 03 03:49:06 (when getting the view) Oct 03 03:49:08 yea thatll probably be faster Oct 03 03:49:58 oh snap i did it Oct 03 03:50:08 that was fast Oct 03 03:50:34 jeppy: https://gist.github.com/acidjazz/4b0afe115455a127677d Oct 03 03:50:43 had to add a findviewbyid after getchild Oct 03 03:50:46 but no this is still not ideal Oct 03 03:52:17 yeah you're getting bogged down in the views way of thinking about it instead of simpler data types, but still it works and the extra time it takes is not likely noticable Oct 03 03:53:42 well if this list gets long.. it will be Oct 03 03:53:51 also want to asyncroload this at some point Oct 03 03:54:22 your only looping through a handful of views no matter how large the list Oct 03 03:55:30 in fact your doing about the best way possible i believe Oct 03 03:55:47 in the onclick() anyways Oct 03 04:27:05 Can anyone point me to an app that uses SlidingPaneLayout? Oct 03 04:27:15 I'm deciding whether its worth it to use, I'm mostly unsure haha Oct 03 04:32:37 oh is that what that's called? i thought that was just a hacked up viewpager Oct 03 04:35:53 bankai_: It is in fact not a view pager Oct 03 04:35:58 it keeps both pages in memory always Oct 03 05:25:28 I've written an opengl appliation for ios in C/C++.. will I have any problems using the generic OGL parts of it with the NDK? (downloading it now) Oct 03 05:26:39 maybe Oct 03 05:28:00 seems like a safe answer. any predictions on what may bite me? reading the docs, it seems like writing straight to native code may be a better option than using JNI Oct 03 05:28:15 but I may be eltting my laothing of java get int he way of the best decisions Oct 03 05:38:25 native is fine xaxxon Oct 03 05:38:34 just need JNI for the set up etc Oct 03 05:38:41 then you game engine can take over Oct 03 05:38:41 hrmm... Oct 03 05:39:02 if you need speed etc C++ is best Oct 03 05:39:20 is it a game? Oct 03 05:39:45 yeah Oct 03 05:39:58 y9ou could just port it to SDL2 Oct 03 05:39:59 well, sort of. it's not "fun" yet, per se Oct 03 05:40:05 and use that on all OSes Oct 03 05:40:26 I'm trying to learn the low level stuff, so I want to figure this out for myself, but it's a good suggestion Oct 03 05:40:34 k Oct 03 05:40:50 Im more intertesed in businesses etc Oct 03 05:40:55 but if you just want to learn :) Oct 03 05:50:47 thebunny actually, that may be the direction I go -- most of my code so far is orthoganal to what sdl does Oct 03 05:50:54 I had forgotten about sdl Oct 03 05:51:36 SDL2 is out now Oct 03 05:51:43 and works on ios, andorid etc Oct 03 05:51:54 supports shaders and a lot of drawing itself now Oct 03 06:01:09 what kind of crazy arithmetic does gridLayout use :/ it looks like it doesn't size the views according to the column/row spans i give it (which would've been very nice) Oct 03 06:06:53 <^cheeky> this is crappy feeling, when you realize galaxy nexus only supports 16mb and your app with single digit Ks in images have a heap size of 40 mb ~ :( Oct 03 06:07:03 <^cheeky> heh Oct 03 06:07:10 <^cheeky> fun Oct 03 06:07:45 <^cheeky> not right now, but so much to implement Oct 03 06:08:58 hi Oct 03 06:10:00 it seems it inserts into sqlite3 successfully in code, but nothing is returned from "select * from table" from command line. any reason? Oct 03 06:14:14 morning peeps Oct 03 06:16:08 <^cheeky> lemonxah: morning morning Oct 03 06:54:52 How can I get the script from a Locale object on Android? Oct 03 06:54:57 I see that this is missing Oct 03 06:55:07 wheres in the Java SE Locale class is present!! Oct 03 07:03:24 How do I get a custom control to show up in the Eclipse layout editor? Oct 03 07:03:32 I'm using a custom control and the Eclipse says that I should use if (isInEditMode()) {...} to remove a warning. I did this and I just did a return in the if statement. Oct 03 07:03:52 but now the custom control isn't shown at all. Oct 03 07:05:14 the custom control is "public class DragSortListView extends ListView" ... so I would be happy to see a ListView in the layout editor with it's list of items displayed. Oct 03 07:06:00 Huh. I supoose all sensible people would be asleep right now. Unless people in Pacific/Asia are here? Oct 03 07:06:40 roadfish: try #eclipse Oct 03 07:07:49 shmoooz: Ok, worth a shot. But isn't the XML layout editor a 100% Android kind-of-thing? Oct 03 07:08:18 no idea Oct 03 07:08:46 might be used elsewhere possibly Oct 03 07:09:06 actually, I tried on other thing. I put a setVisibility(View.VISIBLE) in the true-clause on the if-statement. Oct 03 07:09:40 Right now I'm googling on isInEditMode to see how people are using this in custom controls. Oct 03 07:21:03 How can I make the different between two locales on Android? When the users has the system language Chinese Simplified or Chinese Traditional? They both seem to only give the language code as "zho" Oct 03 07:34:45 http://stackoverflow.com/questions/19153384/how-to-get-the-script-from-a-locale-object-on-android Oct 03 07:39:14 how how can I fire up the calendar and do menu->search in it with an intent? Oct 03 07:43:01 Do TextView.setText method convert its arguement to a string in the process of setting the text? Oct 03 08:22:24 Hi, I created a little widget and it works fine. Now I want my activity to be launchable my other apps, for example llama. However my app is not listed in "Apps". What does it need for an Activity to be listed in the Apps list? Oct 03 08:24:48 Needs to have an main intent in the launcher category, if I remember right. Oct 03 08:25:38 Great, I will look that up Oct 03 08:31:09 hi folks! Oct 03 08:32:07 I want to hide my ListView by setting its Visibility to GONE. But when I do it, it automatically shows the empty view, and I would like to hide it also. Do you have any idea how to do it? Oct 03 08:32:30 I think there is some internal mechanism in the ListView that shows the empty view when the listView is GONE Oct 03 08:40:41 if i have a function that takes byte[], how do i just send it a constant value (1 byte, 1 value). like foo(1) ? Oct 03 08:41:29 foo('1') Oct 03 08:41:38 "" is string, '' is char/byte/int Oct 03 08:42:03 oh, misread that Oct 03 08:42:15 "string".getBytes() works Oct 03 08:42:57 is there anyway to use hex? Oct 03 08:43:12 like foo(0xff)? the signed byte is killing me on this project. Oct 03 08:43:14 nope, number constants are integers Oct 03 08:43:22 you can cast (bute)0xff Oct 03 08:43:25 does anyone here use maven? I've inherited a project that does and I can't stand it. Oct 03 08:43:38 I'm looking for a decent tutorial that explains how to use it effectively. Oct 03 08:43:45 deebo: but then i've still got byte and not byte[] Oct 03 08:44:24 margle: so don't use maven, then. convert it to ant or whatever. Oct 03 08:45:38 margle sonatype used to have a free book Oct 03 08:46:01 jnewt: you can just create a new byte[1] and set the first element to your value. Oct 03 08:46:05 pragma-: that's a strategy… Oct 03 08:46:13 g00s: I'll have a look Oct 03 08:46:14 http://www.sonatype.com/resources/books Oct 03 08:46:35 i haven't used mvn in a while; but yeah its defacto standard in most of java land Oct 03 08:46:54 ant adoption is tanking, i think pragma- is the only one using it Oct 03 08:47:00 hi g00s o/ Oct 03 08:47:04 hey hackkitten Oct 03 08:47:30 jnewt: so foo({(byte)0xff}) Oct 03 08:48:14 deebo: that doesn't work, cannot resolve method foo(?) Oct 03 08:48:33 Array initilizer not allowed here Oct 03 08:49:08 good morning - i am using a canvas to scale an image. However i noticed that it does not contain pre-post methods Oct 03 08:49:26 would these method calls both be set? canvas.translate((focusX + translateX), (focusY + translateY)); , canvas.scale(curZoom, curZoom); Oct 03 08:49:31 jnewt: byte[] foo = new byte[] { 0xff }; and pass that to the function. Oct 03 08:49:42 or should i somehow use a matrix in order to get both pre-post scale/translate Oct 03 08:49:44 pragma: yeah, that's what I have now. Oct 03 08:51:28 jnewt: or you could just: function(new byte[] { 0xff }); Oct 03 08:54:17 g00s: what are the alternatives? Oct 03 08:54:36 margle alternative books? Oct 03 08:54:43 g00s: alternatives to mvn and ant? Oct 03 08:54:52 you mentioned that pragma- is probably the only guy using ant Oct 03 08:55:09 if it ain't broke... Oct 03 08:55:57 margle if mvn has working plugins for your situation, its pretty good. if you need to write plugins or have buggy ones, then it starts to suck Oct 03 08:56:26 for /android/ well, google has said they are going to give up on their ant shit and use gradle so Oct 03 08:57:04 so you can use maven with the android plugin, or gradle, or the legacy ant stuff Oct 03 08:57:23 the maven android plugin is not from google, so ymmv but it seems popular Oct 03 08:57:37 lots of people use it and work on it Oct 03 08:57:55 not sure if it supports aar format yet Oct 03 08:58:17 ok Oct 03 08:58:18 thanks Oct 03 08:58:24 i use gradle, even though its kinda meh Oct 03 08:58:39 just because, its where google is putting their energy Oct 03 08:58:52 i like using official / supported stuff Oct 03 08:59:03 dont feel like band-aiding some bs together for my build system Oct 03 08:59:40 <[A3G1S]> Hey guys Oct 03 09:00:09 <[A3G1S]> I am not able to execute this, Runtime.getRuntime().exec("/system/bin/screencap -p /sdcard/sp.png", null, null); Oct 03 09:00:36 [A3G1S]: noted. Oct 03 09:00:54 <[A3G1S]> My app is signed with system certs Oct 03 09:01:02 <[A3G1S]> and i am running it as a system app Oct 03 09:01:14 <[A3G1S]> all required permissions are already there Oct 03 09:01:37 <[A3G1S]> The thing is I am not even getting any errors Oct 03 09:05:35 * Eltjo vindt dat Sparrow wel er veel notificaties stuurt Oct 03 09:05:51 g00s: that makes sense… do you use android studio b/c that just seemed terrible to me. Oct 03 09:06:05 command-line or bust. Oct 03 09:06:09 margle i use AS, and when it pisses me off i go to vim ;) Oct 03 09:06:20 which is like, every day, heh Oct 03 09:06:31 pragma-: how would i set the MSB in a byte? have this: myByte[0]= (byte)(myByte[0] | (0x01 << bit)); for different bits, but when bit is 7, i get -128 or something due to the range of a byte Oct 03 09:07:46 heheehe Oct 03 09:09:14 the android tooling story is kinda weird. you have the ant stuff, which they said they won't work on any more. then you have eclipse / adt, which doesn't support gradle - supposedly still being worked on - but not moving anywhere fast - then intellij, which works OK, then AS which is a preview, and all the crap you expect from a preview Oct 03 09:17:58 jnewt: val |= (1<<7) is indeed how you set it. you get a negative value because that's how two's complement works. Oct 03 09:19:46 jnewt: http://en.wikipedia.org/wiki/Two%27s_complement Oct 03 09:44:28 when creating a custom viewGroup can i somehow remove the requirement to specify a layout_width and height for the child views Oct 03 09:45:34 is d.android.com down ? Oct 03 09:45:51 well, now it worked, woah Oct 03 09:57:13 any idea why i get incompatible types in a thread while declearing a var with String[] projection = {MediaStore.Images.Media._ID, MediaStore.Images.Media.DATA};? Oct 03 10:11:27 because you didn't read the error message correctly? Oct 03 10:12:10 figured it out already.. tried to start the service within the decleration of the thread.. new Thread( {....} ).start) which was not working as excepted Oct 03 10:13:36 i am using a canvas to scale an image. However i noticed that it does not contain pre-post methods Oct 03 10:13:40 would these method calls both be set? canvas.translate((focusX + translateX), (focusY + translateY)); , canvas.scale(curZoom, curZoom); Oct 03 10:13:45 or should i somehow use a matrix in order to get both pre-post scale/translate Oct 03 10:15:23 pragma-, software was fine. had a short on my circuit board. thanks. Oct 03 10:26:25 Is there a way to prevent a ViewPager from loading the first pages? I currently set the adapter then setCurrentItem, but it still tries to load the first 1-3 pages I don't want it to Oct 03 10:35:03 <[A3G1S]> Is there a bug in ndk ? I created an app with android.uid.system and it is not able to read frame buffer or write to sdcard... Oct 03 10:35:10 <[A3G1S]> can any 1 help me with this ? Oct 03 10:40:08 Hi Oct 03 10:40:22 I harmed my Galaxy S4. Oct 03 10:41:00 I mean I installed SuperSU and added busybox and some stuff. It was fine but because of triangles I couldn't update Oct 03 10:41:56 Then I used Triangles Away and it worked! But after Samsung Update it says I have modified software. I don't have root anymore and Hard Reset doesn't help Oct 03 10:42:00 What is wrong? Oct 03 10:42:56 Do I have to root it again and wipe triangles away? It is a dead circle. Oct 03 10:44:01 karab44 try #android-root, this is the wrong channel (see topic) Oct 03 10:46:26 nice Oct 03 10:46:41 okay by the way Oct 03 10:46:53 Do I need root to develop applications? Oct 03 10:47:22 Is it somehow helpful in any way? Oct 03 10:49:17 Do you guys root your phones to develop apps? Oct 03 10:49:43 i do as matter or principle Oct 03 10:49:47 of Oct 03 10:53:23 no, you do not need root to develop apps Oct 03 10:54:25 for one, you expose yourself to more security risks Oct 03 10:55:07 if its mishandled Oct 03 10:55:37 karab44 http://betanews.com/2013/10/01/5-reasons-not-to-root-android/ Oct 03 10:56:03 the google devs aren't using rooted phones (although they don't have user builds) Oct 03 10:56:38 can you suggest a good book for Android app development? Oct 03 10:56:47 hi guys Oct 03 10:57:21 does anyone know how to set adt bundle to create a heap dump as soon as 'out of memory' exception occurs ? Oct 03 10:57:54 or if it's even possible to do that ? Oct 03 10:58:06 should have the newest features, especially fragments, and lots of examples Oct 03 10:59:15 in eclipse it's possible to add a flag to the VM command line arguments field, but i can't find it on adt Oct 03 10:59:44 thanks in advance Oct 03 11:02:09 * Nilium has a vague idea of why he's spending his time writing a VM but is pretty sure it will never be put to use and will never be faster than just using a scripting language Oct 03 11:05:32 Is there a way to make for example a application_settings.xml in /res/values/ and get that by R.application_settings. Oct 03 11:06:23 I have way too many language-specific strings in normal file, so trying to put server urls in its own file Oct 03 11:07:32 Nilium what are you doing O.o Oct 03 11:07:55 Onack: So what you want is a file that's not language-specific and has string resources? Oct 03 11:08:04 g00s: Writing a VM for fun. Oct 03 11:08:22 Was pondering embedding it in my app, but realized there are some levels of insanity I just shouldn't touch. Oct 03 11:09:07 Nilium: true Oct 03 11:09:27 Plus it's implemented using C++11 and doing NDK stuff would be a world of pain. Oct 03 11:09:40 Not even sure if I can compile for C++11 using the NDK right now. Oct 03 11:10:08 I should write a lisp-like thing that compiles down to VM assembly. Oct 03 11:10:34 The fun part is I can just add instructions willy-nilly if I want something. Oct 03 11:11:33 make sure to implement the load-money instruction Oct 03 11:12:49 I need to get the bytecode execution bit up and running again so I can actually see how much worse I made performance Oct 03 11:14:20 I found this: http://damianflannery.wordpress.com/2011/06/06/alternative-to-strings-xml-for-storing-settings-values-in-android/ But it seems to not work with R... Oct 03 11:14:36 " g00s: Writing a VM for fun." Interesting ! :D Oct 03 11:14:52 I think most people just do that every so often. Oct 03 11:15:45 most? I doubt it. I want to do it but I think I need to read a little bit more about the subject. I would start a very shitty vm xD Oct 03 11:16:31 Anyone know how reliable postDelayed is ? Oct 03 11:16:49 If you want to do it, then I can guarantee most people want to do it. Oct 03 11:17:18 Most programmers will at some point try to write a VM just 'cause they can. Oct 03 11:17:36 Yup, thats true, like the ones that write an os Oct 03 11:17:51 but everyone wants, not so much do Oct 03 11:18:36 Onack: I think the closest you can get is to add a prefix each resource in the file, then accessing the options through R.string.* or R.bool.* or whatever you need. Oct 03 11:20:25 Nilium: You can Oct 03 11:20:25 but wouldnt that be in the same file? Oct 03 11:20:32 Nilium: NDK has Clang 3.2 and GCC 4.8 Oct 03 11:20:41 C++11 rock and roll! Oct 03 11:20:57 err Clang 3.3 Oct 03 11:21:03 ah nevermind, see what you mean Oct 03 11:21:04 and Clang 3.2 Oct 03 11:21:05 thanks Oct 03 11:23:39 Oh, we've got clang now? Oct 03 11:23:43 Praise be to the gods Oct 03 11:43:53 can anyone explain what the difference is between Canvas.Translate() and Canvas.Skew() ? Oct 03 11:44:15 the documentation is identical Oct 03 11:45:55 troloyolo, well one skews the canvas and the other translates the image? Oct 03 11:46:05 those are different operations. Oct 03 11:46:49 Mavrik - i doubt i know what the methods actually does then - could you explain skew for me please ? Oct 03 11:49:22 troloyolo, this is a skewed image: http://2.bp.blogspot.com/_C5a2qH8Y_jk/TEUci0Db5CI/AAAAAAAAAhs/LmPEOFbvhuk/s1600/AndroidBitmap_04.png Oct 03 11:49:42 or this: http://keith-hair.net/blog/examples/matrix/skew_diagram.gif Oct 03 11:49:43 Mavrik - okay great, thanks Oct 03 11:49:57 not the method im in need of then :) Oct 03 11:51:05 Hello again :) Oct 03 11:51:50 in a Master Design flow template how can i add icons to the list on the left hand side ? Oct 03 11:55:32 is this something that can be done easily ? Oct 03 12:13:22 im having the same problem as this person http://stackoverflow.com/questions/17514787/add-icon-to-list-in-master-detail-flow Oct 03 12:15:22 ok, this is driving me crazy Oct 03 12:15:29 I'm in the eclipse android IDE Oct 03 12:15:44 and I can't find the option to open the activity layout in the graphical layout editor Oct 03 12:15:51 dbl click goes to the xml editor Oct 03 12:16:00 its a tab at the bottom of the editor view Oct 03 12:16:08 and when I right click and choose "open with" there is not graphical layout editor Oct 03 12:16:15 a damn Oct 03 12:16:19 !!! Oct 03 12:16:20 thanks :D Oct 03 12:16:25 hahah no probs Oct 03 12:16:40 20min looking for that damn thing Oct 03 12:16:50 lol Oct 03 12:17:22 while we're at it... did anyone try to change the shortcut to switch between tabs? Oct 03 12:17:27 CTRL+TAB does something weird Oct 03 12:17:42 and when I changed the shortcuts in the settings pane it didn't seem to have any effect Oct 03 12:18:26 in the window/navigation menu the shortcuts listed are CTRL+F6 Oct 03 12:18:36 but I can't find where to change that Oct 03 12:19:16 a, nvm Oct 03 12:19:17 now i did Oct 03 12:19:45 maybe I should try to find out why my KDE freezes at startup Oct 03 12:19:48 now that I'm on a roll Oct 03 12:21:06 lol Oct 03 12:21:29 meh i cant find help anywhere Oct 03 12:22:14 Zylinx: help on what? Oct 03 12:22:23 oh the icon thing? Oct 03 12:22:30 yeah Oct 03 12:22:38 oh, this is just like that xkcd comic Oct 03 12:22:56 Zylinx: http://xkcd.com/979/ Oct 03 12:22:58 haha yes i know which one u are talking about Oct 03 12:23:05 hahahah Oct 03 12:23:07 love that one Oct 03 12:23:35 "who are you Edalol? what did you see? Oct 03 12:35:06 is it possible getting two scroll indicators on a scrollview ? vertically and horizontally ? Oct 03 12:43:10 can I have a custom constructor on an anonymous class? Oct 03 12:43:15 for a clicklistener Oct 03 12:43:51 like new OnClickListener(this) { ... } Oct 03 12:44:21 I think the VM would now actually work for scripting. Oct 03 12:44:27 Go me. Oct 03 12:44:43 nvm, apparently I can't do that Oct 03 12:57:46 is it possible getting two scroll indicators on a scrollview ? vertically and horizontally ? Oct 03 12:57:57 i simply cant get both functioning at once Oct 03 13:00:02 im having the same problem as this person http://stackoverflow.com/questions/17514787/add-icon-to-list-in-master-detail-flow can anyone give some suggestions ? Oct 03 13:08:09 Anybody :( ? Oct 03 13:09:57 Zylinx: maybe bump that question up? Oct 03 13:10:07 write a comment or something Oct 03 13:12:45 but the xml file is a so I don't know how to edit it. Oct 03 13:12:50 what is a "so" Oct 03 13:13:04 it is a what? Oct 03 13:13:31 oh, it is "as so" Oct 03 13:13:36 yeah Oct 03 13:13:56 you don't know how to edit an xml file? Double click that bad boy. Oct 03 13:14:05 do you have any questions, if so feel welcome to ask Oct 03 13:14:28 "the xml is like this, I mean just look at it... I don't know how to edit that" Oct 03 13:14:55 nseidm1: I don't think Zylinx's problem is editing the xml Oct 03 13:15:14 hence the inquiry, what questions does Zylinx have Oct 03 13:18:06 nseidm1, http://stackoverflow.com/questions/17514787/add-icon-to-list-in-master-detail-flow Oct 03 13:18:15 is it possible to share data between multiple users using google-cloud ? Oct 03 13:18:16 is it possible to save a part of the back history? What I want to do is an app, where at one point you reach an activity from which you navigate something that also has a back history... if I use activities for that I get back for free, but I want to preserve this sub-history in case the user presses up, then quits the app, then starts it again... Oct 03 13:18:22 What's the best approach here? Oct 03 13:18:34 Zylinx: that's a little ambiguous Oct 03 13:19:02 Zylinx: the ONLY question in that post is "I don't know how to edit it." Oct 03 13:19:07 you want to know how to edit an xml file? Oct 03 13:19:14 Do you have questions about fragments in xml? Oct 03 13:19:23 do you have questions about ListView? Oct 03 13:19:36 I notice setListAdapter, do you have questions about ListFragment? Oct 03 13:19:50 I have a question, do you have any questions? :-) Oct 03 13:20:18 in a Master Design flow template how can i add icons to the list on the left hand side, that is my question Oct 03 13:20:19 Is it feasible to store a part of the back history, or should I roll my own, where it's just one activity that changes its content onBackPressed according to the history I managed myself? Oct 03 13:20:30 i have no idea which files to edit Oct 03 13:20:45 but if you point me to the right file i can figure out how to edit ti Oct 03 13:20:57 Zylinx I think there's a good Google IO video about exactly that. Oct 03 13:21:14 Zylinx: create a ListView, make a custom BaseAdapter, override getView with an xml that has an image on the left hand side. Use a ViewHolder pattern to lazily load the images into the ImageView. Oct 03 13:21:43 The xml in the StackOverflow post is NOT the "layout" shown in the top code snippet Oct 03 13:22:06 that would be interesting to use fragments as a listItem Oct 03 13:22:46 much easier to use a View as a listItem than a fragment Oct 03 13:22:57 if you want to scroll fragments use a ViewPager instead Oct 03 13:52:03 Hi, anyone familiar with canvas? I'm trying to write some vertical text, but I can't figure out a way to undo the canvas.rotate() call. I tried getMatrix+setMatrix, I just can't draw anything after I call setMatrix. Why isn't it working? Oct 03 13:55:26 to undo a rotate, I do canvas.save() / canvas.rotate() ..... / canvas.restore() Oct 03 13:58:00 Madak, Magic! Thanks Oct 03 13:58:26 np cool ! Oct 03 13:59:16 When I saw the matrix functions I didn't look any further. Too much OpenGL I guess Oct 03 14:07:39 hmmm Oct 03 14:09:28 can anyone explain what canvas.translate actually does ? Oct 03 14:09:35 im a bit confused on that one i think Oct 03 14:09:53 moves. Oct 03 14:12:37 Mavrik - can you help me with getting the last part of my custom scrollview functioning? Oct 03 14:12:38 http://pastebin.com/dGwwh4f5 Oct 03 14:13:05 is opengl required to create a nice looking 2d game with smooth movement and hardware composing of translucent layers? Oct 03 14:13:07 whenever i pinch zoom, the actual view gets messed up boundaries - Oct 03 14:13:43 i'm wondering if i need to create this 2d game using opengl just to get the benefit of GPU acceleration Oct 03 14:16:09 helo, it's probably a good idea yes Oct 03 14:16:13 drawing to surfaceview is fast Oct 03 14:16:36 but if you implement effects as OGL shaders the game will be significantly faster still Oct 03 14:18:05 Mavrik - any idea on how to solve my messed up bounds ? Oct 03 14:18:05 RedNifre, any chance you know what that video is called ? Oct 03 14:26:01 can someone explain the syntax here, what is the question mark: new ArrayList>() Oct 03 14:26:35 fairly certain its a generic wildcard Oct 03 14:27:01 hmmm, ok thaught so Oct 03 14:41:34 hey all Oct 03 14:44:45 I have this kind of issue: have activity and layout for activity, layout set as content view, in layout xml have HorizontalScrollView which has LinearLayout as child, in activity code I'm creating images and put in that LinearLayout. When I open activity first time image adding in layout and showing, but when I go to parent activity (finishing current) and again open that activity images not adding in layout. But when I back and close application and ope Oct 03 14:45:33 http://pastebin.com/iWBYfuZ9 Oct 03 14:45:44 in real I have debugged and found that my images are in LinearLayout, but not showing up Oct 03 14:46:53 also, scroll view mWindowAttachedCount is 0 Oct 03 14:49:53 ahh i think i need observer pattern Oct 03 14:57:24 Vardan: Use a ViewPager Oct 03 15:00:00 nseidm1: as I know ViewPager shows up only one image and you can change by sliding Oct 03 15:00:04 hi! Oct 03 15:00:30 I have a simple code that moves a texture on screen, rendered in 2d as I drag my finger Oct 03 15:00:43 but there is lag betwwen the position of the finger and texture Oct 03 15:00:49 this is on a Samsung s3 Oct 03 15:01:09 any experience with this kind of touch lag? any way to reduce it? Oct 03 15:01:32 optimize your code Oct 03 15:01:46 there is a 70ms lag that you can't do anything about Oct 03 15:02:10 anything more than that, you've got to optimize Oct 03 15:02:57 I tested an app from the store, it draws a line: https://play.google.com/store/apps/details?id=com.tsaysoft.touchtest&hl=ro Oct 03 15:03:04 it responds close to realtime Oct 03 15:03:17 no visible touch lag Oct 03 15:09:07 I'm trying to get Activity.OnKeyUp events from a bluetooth remote while using a partial wake lock with the screen off -- works fine with screen on but stops working when it's off. Please help! Oct 03 15:12:31 Vardan: override getPageWidth Oct 03 15:12:38 you can have as many items as you want onscreen Oct 03 15:39:56 hi guys Oct 03 15:40:15 is it just me, or does the sony xperia z have very low memory? Oct 03 15:41:27 i'm working on an android app which seems to work fine for quite a few phones, but on the xperia z i keep getting 'out of memory' errors Oct 03 15:42:07 i've tried resizing my image resources several times now, but still keep getting this error in random parts of the app Oct 03 15:43:02 i've applied lruCache and tried changing in-memory sample sizes on some places, with no luck Oct 03 15:43:56 i wonder if anyone has encountered a similar situation .. and how they went about fixing it :) Oct 03 15:46:21 Hi, can 9 patching support multiple textviews over the same image .. so that different parts of an image is expandable Oct 03 15:47:00 sure...? Oct 03 15:47:18 i am asking Oct 03 15:47:30 yep Oct 03 15:47:37 digitalfallacy: it can stretch to any region you want it to Oct 03 15:48:53 i have 3 textviews placed over an image.. 1 of them can have different amount of text.. i want the image to be be expandable from that part.. but if i 9 patch it , all the textviews start filling the same 9 patched part ... which defeats the whole purpose Oct 03 15:52:10 How do I set an image's size to "as large as can possibly fit in parent"? Oct 03 15:52:45 If I use "match_parent" for width and height, the image looks correct, but the view is larger than the image, which makes elements that allign to it appear in the wrong place. Oct 03 15:53:21 What I want to do is to display an image in the area below the actionbar as large as possible without cutting anything off and then put invisible buttons on that image. Oct 03 15:59:05 from the dropdown) and press the Update From Device button I only get 2 frames in the graphic? Oct 03 15:59:51 Hi, does anyone knows why when I use DDMS -> System Information -> Frame Render Time (from the dropdown) Oct 03 16:00:07 message got messed up :] Oct 03 16:00:50 Can anyone tell me if there is a tool that automatically rescales images files for the different dpis? For example if I feed in a large res image I get smaller res images that I can put into the different dpi folder? Thank you. Oct 03 16:01:14 hello Oct 03 16:02:10 f2prateek: prateek, did you got the problem i was trying to explain ? Oct 03 16:02:26 I'm creating my app icon. I want small icon in actionbar and normal size in drawer. how can I do that? Oct 03 16:03:27 my app puts events in the calendar, like a journal. I want to have a search button open up calendar search but I don't think I can. how can I convey to the user they should menu->search once calendar comes up? a toast with instructions? Oct 03 16:06:26 RedNifre, you could put your image in xhdpi folder and have android scale it down accordingly for other resolutions Oct 03 16:07:15 sometimes this may lead to artefacts appearing on images, so it's probably best to have custom images for each dpi level Oct 03 16:07:26 That's not what I'm trying to do here. It should work with any image, the image should be scaled to be as large as possible and I want to place buttons on it... Oct 03 16:07:33 I don't have the image, they are user generated. Oct 03 16:10:12 ffs :( Oct 03 16:11:49 I hate Skype, on Android it is an ideal candidate for making use of sliding pane layout, but they don't Oct 03 16:11:57 probably you want to use the BitmapFactory tools as described in http://developer.android.com/training/displaying-bitmaps/load-bitmap.html and check the size of the imageview you want to use at run-time and set the sample size accordingly Oct 03 16:12:13 janmayan77: could you help me? Oct 03 16:12:26 on phone, slide, on tablet in portrait slide, and in landscape, always visible Oct 03 16:12:46 Does anyone knows how to properly use Frame Render Time graphic from DDMS? Oct 03 16:14:39 thanks for the link. It's unrelated to my problem, but it will help me with something else I'll have to do later :) Oct 03 16:16:09 Imagine it is like this: There's a photo and theres "face data" that says that there's a face at position 0.5/0.3, where the position data is measured from 0.0 to 1.0 relative to the image size. How do I display the photo in the activity and put a button at 0.5/0.3 of the image? Oct 03 16:16:41 The photo looks right if I set it to match_parent, but then the view is larger than the photo and the button is in the wrong place. Oct 03 16:18:02 RedNifre: setting the button coordinates to 0.5 * screen width doesn't work? Oct 03 16:21:05 under: what part is drawer ? Oct 03 16:21:21 what? Oct 03 16:21:37 i mean application drawer in the launcher Oct 03 16:24:49 Why my systrace html capture is empty when I open with firefox? the file is 1.3MBytes Oct 03 16:25:02 you asked: I'm creating my app icon. I want small icon in actionbar and normal size in drawer. how can I do that?' Oct 03 16:27:19 Voicu that's the thing, the image doesn't span the whole screen width. Oct 03 16:27:46 does anyone know a way to inspect app memory usage in real-time in android ? Oct 03 16:27:52 RedNifre: so... multiply by the image width? Oct 03 16:28:02 it's basic arithmetic Oct 03 16:28:09 e.g. a tool to know what aspects of the app is using the most memory as the app runs ? Oct 03 16:28:30 RedNifre: buttonX = imageX + faceXposition * imageWidth Oct 03 16:28:47 well actually it would be buttonX = imageX + faceXposition * imageWidth - buttonWidth / 2 Oct 03 16:28:48 I guess that I could read out image parameters, do some math to figure out if it fills the height OR the width of the area below the actionbar and then map that to the right screen coordinates. Oct 03 16:29:17 the imageview has the wrong size if it's set to match_parent, it's larger than the image itself so it's not trivial. Oct 03 16:29:30 i'm using adb shell dumpsys meminfo command but it doesn't seem reliable Oct 03 16:29:39 RedNifre: can't you get the imageview size then? Oct 03 16:30:26 well, let's just say, it doesn't show all the information i need Oct 03 16:30:30 Currently not, because the imageview ends up larger than the image... maybe I can pull out the drawable, compare that to the imageview to get the values I need... hm... Oct 03 16:30:40 This all seems so wrong, shouldn't this be a lot easier? Oct 03 16:30:42 any ideas ? Oct 03 16:31:29 RedNifre: that's what I'm thinking :D Oct 03 16:32:13 RedNifre: Ah, the imageview is larger than the image meaning it has extra space around it? Oct 03 16:32:59 yes. Imagine it's a square image and the app runs in portrait mode. It all looks correct, but the imageview spans the whole height of the area below the actionbar, instead of wrapping the content. Oct 03 16:33:24 ...and if I set width and height to wrap_content, the imageview matches the image, but then the image is the wrong size. Oct 03 16:33:56 I want to put the buttons in a relativelayout that aligns with the imageview, but that's currently broken because the imageview is larger than the actual image Oct 03 16:34:03 ...maybe I should draw a picture... Oct 03 16:35:00 hello Oct 03 16:35:42 RedNifre: no, I get it - it pads the image with empty space to make up for ratio and stuff, right? Oct 03 16:35:47 why cant i run android avd inside virutalbox Oct 03 16:37:15 it says this *** Error in `/home/beaky/android-sdk/android-sdk-linux/tools/emulator64-arm': munmap_chunk(): invalid pointer: 0x00000000005f3706 *** Oct 03 16:37:23 why Oct 03 16:37:36 beaky: running an emulator inside a virtual machine? Oct 03 16:37:41 beaky: that's brave Oct 03 16:37:53 http://stackoverflow.com/questions/12850006/has-anyone-seen-or-know-the-cause-of-this-error-message-the-android-emulator-wi Oct 03 16:38:03 RedNifre, would you be willing to help me in private dialog ? Oct 03 16:39:00 So here's the new drawing of my problem. ImageView-border is marked with black dots: https://dl.dropboxusercontent.com/u/2098438/temp/2013-10-03%2018.36.35.jpg Oct 03 16:39:07 wow it works! thanks guys Oct 03 16:39:09 How do I get the layout on the right? Oct 03 16:39:10 it works under virtualbox Oct 03 16:39:50 Zylinx I didn't even read what your problem was, can you write it again? Oct 03 16:40:15 Voicu, right. Oct 03 16:40:24 Maybe I'm going at it wrongly :/ Oct 03 16:40:45 My idea was to have the imageview and a relativelayout that aligns to it and put the buttons in that relativelayout via code. Oct 03 16:41:17 What's the recommended way to put views on top of an imageview dynamically? Oct 03 16:41:30 lots of ways Oct 03 16:41:42 relative, frame layouts Oct 03 16:41:55 Well, my approach doesn't work because I don't know how to get the layout on the right side: https://dl.dropboxusercontent.com/u/2098438/temp/2013-10-03%2018.36.35.jpg Oct 03 16:42:02 draw it yourself, background images, etc Oct 03 16:42:29 uh... Oct 03 16:42:30 ok Oct 03 16:42:57 I have no idea wtf you're trying to achieve and why the middle isn't acceptable Oct 03 16:44:33 I have coordinates rangind from 0/0 to 1/1 relative to the image width and height. I want to place something on the image, but because "fill_parent" applies this empty padding, I can't, for example, put something at 0.1 of the imageview's height, because that doesn't match the actual height of the image. Oct 03 16:45:13 Use a frame layout and margins from center Oct 03 16:45:22 RedNifre: well I would do this: buttonX = imageviewX + (imageviewWidth - imageWidth) / 2 + imageWidth * faceX - buttonWidth / 2 Oct 03 16:45:38 RedNifre: you should have all that information available, right? Oct 03 16:45:50 wow why does the android emulator under linux in virtualbox take ages to boot Oct 03 16:45:50 RedNifre: and it should work just like that Oct 03 16:45:57 i am waiting 10 minutes now Oct 03 16:46:15 beaky: are you joking or what? :P Oct 03 16:46:25 beaky, because doing that is stupid and you get absolutely 0 hardware acceleration Oct 03 16:46:43 beaky: VMs are slow, emulators are really slow therefore emulators inside VMs are super super super slow Oct 03 16:46:53 oh Oct 03 16:46:57 oops Oct 03 16:47:03 Voicu yeah, that would work. I was hoping for a more elegant way, but I guess giving up is faster than continue to search for a "right" way that may as well not exist. Oct 03 16:47:06 so i run my android emulator outside? Oct 03 16:47:20 I guess "imageWidth" is the width of the Drawable in the ImageView? Or something else? Oct 03 16:47:20 * Voicu 's troll senses are thingling Oct 03 16:47:50 RedNifre: honestly I don't think you'll find a better way Oct 03 16:47:52 running the emulator outside is better, because you also get a breath of fresh air. Oct 03 16:47:54 RedNifre: yes, I suppose Oct 03 16:47:55 yes it finally booted! but it is dog slow as you guys said... maybe there is a better way (besides using a real phone) Oct 03 16:48:00 RedNifre: lol Oct 03 16:48:21 RedNifre, just specify margins relative to the center of the image and you'll be fine Oct 03 16:48:41 beaky, uh, by not running it in a vm Oct 03 16:48:50 beaky, and by using haxm Oct 03 16:48:59 ah i will google haxm Oct 03 16:49:16 I'm scared to ask this but beaky, why run it in a VM? Oct 03 16:49:24 my archlinux vm is my coding machine Oct 03 16:49:31 a Oct 03 16:49:39 that kinda makes sense Oct 03 16:49:55 but you should have expected an emulator to run really slow Oct 03 16:49:59 yes on hidnsight i feel reely silly for trying to run emulator in that vm Oct 03 16:50:03 and then wondering why Oct 03 16:50:23 it's not like a VM - it basically has no hardware acceleration Oct 03 16:50:32 unless it JIT compiles but I doubt it Oct 03 16:50:52 and even with a JIT it would still need a lot of stuff to make it work fast Oct 03 16:51:56 How do I prevent an old activity intent from coming back after the activity has been destroyed and recreated? I try to kill the intent with setIntent(new Intent(this, MyActivity.class)); but the old intent keeps coming back on Android 4.X... works fine in Android 2.2 though. Oct 03 16:52:14 just because you code in a vm doesn't mean you have to run code there Oct 03 16:52:34 Is there a GUI element that gives me a rectangle with knobs at the center of each edge which the user can move to resize, similar to how widgets can be resized? Or does anyone know a library for this? Oct 03 16:52:35 So, just out of curiosity, if anyone is willing to disclose this information, what is the most you have made, or what is the average amount of money you've made by selling apps? Oct 03 16:52:43 beaky: I think you can setup an emulator in the host machine and have the guest's IDE connect to it Oct 03 16:53:13 right i will see how i can set it up like that Oct 03 16:53:34 or i will just download android studio for my host Oct 03 16:54:05 beaky: that's your call Oct 03 16:54:28 BustyLoli-Chan: You could check the playstore and multiply downloads with cost and divide by how many months that app has been available. Oct 03 16:54:35 maybe i might really like android stuido Oct 03 16:55:01 an IDE designed from the ground up to empower people to develop next-generation smartphone applications for the Android platform Oct 03 16:55:07 sounds good Oct 03 16:55:13 anyone from the angry birds crew here? those would have some interesting numbers to share :D Oct 03 16:55:34 Android Studio would be totally fantastic if it actually worked. Can't get my Java android code generator to work with it, I always get dex conflicts. And it's really annoying that it can't format the code on save. Oct 03 16:55:52 ah :( Oct 03 16:55:54 beaky, it's more of the same ol Oct 03 16:56:04 i thought it would be a lightweight and optimized experience Oct 03 16:56:08 with zero hassle Oct 03 16:56:17 Be careful with Android Studio, the hotkeys conflict with linux hotkeys and make you lock down your session :) Oct 03 16:56:17 your code generator sounds like it sucks Oct 03 16:56:23 not android studio Oct 03 16:56:30 or is it actually "prototypical" experience (i.e. like eating dogfood) Oct 03 16:56:31 But they can be changed to be like eclipse hotkeys so no problem. Oct 03 16:56:39 how do I get milliseconds since epoch of time right now? Oct 03 16:56:42 that's also an easy fix Oct 03 16:56:56 zmuser3, currentTimeMillis Oct 03 16:57:00 ok thanks Oct 03 16:57:25 it's not optimized nor lightweight Oct 03 16:57:34 it is simply android focused Oct 03 16:58:27 ah Oct 03 16:58:52 so it has all the hallmarks of a great java IDE (ages to load, dog-slow, unintuitive UI)? Oct 03 16:59:01 i will try it :D Oct 03 17:00:47 every ide is unintuitive, not java Oct 03 17:01:04 every ide also takes ages to load Oct 03 17:01:23 so yeah, nice job trolling Oct 03 17:05:39 btw does the android studio download include a jdk? Oct 03 17:06:01 I guess I need to install the hotspot jdk separately prior to android studio installation Oct 03 17:06:13 pfn: eh, to be fair all java UIs are slow Oct 03 17:06:59 Voicu, that's patently false Oct 03 17:07:01 it doesn't and it complains if you use openjdk. Oct 03 17:07:23 pfn: I've never seen anything done in java to be snappy Oct 03 17:07:43 Voicu, you're experience is limited, then Oct 03 17:08:07 I hate autocorrect Oct 03 17:08:42 pfn: is there an UI framework that actually feels fast? Oct 03 17:08:57 swing and swt feel fast Oct 03 17:09:18 not in my experience... even the first examples have issues Oct 03 17:09:38 what examples, you have poor experience Oct 03 17:09:56 make a window with 20 elements for example, see how fast it loads Oct 03 17:10:09 resize that window and see how well the elements behave inside Oct 03 17:10:57 Has anyone here tried to profile native code on Android? Oct 03 17:10:58 works fine for me Oct 03 17:11:05 loads fine, too Oct 03 17:12:00 anyway, I'm going to write you off as a troll now, kthxbye Oct 03 17:12:16 me? Oct 03 17:14:53 I'm not a troll. I just have "poor experience" Oct 03 17:14:58 :D Oct 03 17:17:35 poor experience comes from lack of experience (as a programmer ;) Oct 03 17:17:46 the problem is everyone writing shitty apps, low barriers to entry and all Oct 03 17:18:27 yeah Oct 03 17:19:55 right i want to learn how to write good apps Oct 03 17:20:09 my android studio install is almost ready :D Oct 03 17:20:37 then I will dive into the wonderful world of smartphone application development on the android dalvik plaform Oct 03 17:22:20 btw are there subtle differences between dalvik and the ordinary jvm? i heard normal jvm is stackbased and dalvik register-based, but i dont understand the implications Oct 03 17:23:57 beaky, "implications of stack vs register based vms" gives promising results. Oct 03 17:24:01 beaky, well, Dalvik does some stuff very differently than other VMs Oct 03 17:24:10 ah Oct 03 17:24:16 not only stack vs. register based Oct 03 17:24:23 but stuff like reflection being very slow on Dalvik Oct 03 17:24:31 in practice it doesn't really show most often Oct 03 17:24:35 why did they go with dalvik rather than a plain old jvm Oct 03 17:24:50 i gues for optimizing reasong? Oct 03 17:26:38 hey android studio is not bad it reminds me of jetbrains intellij Oct 03 17:26:40 Zharf, well, it does show on libs that rely on that heavily Oct 03 17:26:46 e.g. RoboGuice was really slow for a time Oct 03 17:27:00 beaky, Android Studio IS IntelliJ IDEA :P Oct 03 17:27:30 wow i think i will like android studio then Oct 03 17:27:53 i like using a big ide over vim for languages like java or csharp because of the strong refactoring support Oct 03 17:28:12 ideavim is the reason it's usable Oct 03 17:43:37 i have a Master/Design flow activity, on the Detail fragment (righthand side) i want to incorporate a custom ListView... i have modified this code and have a working ListActivit http://stackoverflow.com/questions/6305899/custom-listview-android Oct 03 17:43:54 how can i incorporate this List activity into the fragment Oct 03 17:44:23 is it a bad idea to develop android with c++ Oct 03 17:44:28 i like c++11 Oct 03 17:44:35 ^ from the answere of that question Oct 03 17:44:42 beaky: it depends on what you are doing Oct 03 17:45:08 beaky: if you want to write an app it's going to be difficult in pure C++ since most APIs are not available to native code Oct 03 17:45:25 i guess for the absolute most performant-critical inner-loops c++ is warranted, but for an entire app it might be a pain to do because of limited api Oct 03 17:45:28 ah Oct 03 17:45:44 ok maybe i should learn java before I start learning android Oct 03 17:50:18 beaky, good idea Oct 03 17:50:32 how much java should I know Oct 03 17:50:56 well java's really simple really Oct 03 17:50:58 romainguy, do you know of a way to read bluetooth packet timestamps from the bluedroid stack into jni or app code? Oct 03 17:51:27 java has some really confusing bits like covariance Oct 03 17:53:06 don't think about it too much -.- Oct 03 17:58:17 I'm trying to enable the ahead logging for the database in the sync adapter and disabling it when I'm done... I get this just before disabling it: Oct 03 17:58:18 E/SQLiteLog﹕ (5) statement aborts at 1: [PRAGMA journal_mode=PERSIST] Oct 03 17:58:18 W/SQLiteConnection﹕ Could not change the database journal mode of '/data/data/my.package.debug/databases/my.db' from 'wal' to 'PERSIST' because the database is locked. This usually means that there are other open connections to the database which prevents the database from enabling or disabling write-ahead logging mode. Proceeding without changing the journal mode. Oct 03 18:00:10 correction: the log happen WHEN I try to disable ahead log Oct 03 18:08:48 how do i get android studio to stop autorunning my emulator Oct 03 18:09:50 under the run menu -> edit configurations Oct 03 18:10:10 how do i resize actionbar icon? Oct 03 18:14:59 I've opened a bug report: https://code.google.com/p/android/issues/detail?id=60704 Oct 03 18:17:42 wow I love android studio Oct 03 18:17:59 try the Darcula theme Oct 03 18:18:13 +1 Oct 03 18:18:42 http://eclipser.xmms2.org/darcula.png was fun when darcula came out Oct 03 18:19:38 is there a predefined style for list items like on teh gmail app? Oct 03 18:19:42 awful pink highlight color Oct 03 18:20:01 was that 10.0? Oct 03 18:20:16 12.0 Oct 03 18:20:35 oh yeah, it was 12 when darkula came out Oct 03 18:20:36 it's still pink in 12.1.5 but it has darker font Oct 03 18:20:46 for some reason i still though it was at 10.x Oct 03 18:20:51 heh Oct 03 18:22:37 i am using the solarized theme Oct 03 18:23:07 that will cook your brain Oct 03 18:23:24 it is like massage for the eyes Oct 03 18:23:48 I'm still sticking with eclipse, gradle drove me nuts Oct 03 18:24:24 how do I learn how to make apps beyond the default 'hello world' that android studio makes? i dont understand what the xml or java is doing but reminds me of mvc Oct 03 18:24:46 android training on d.android.com Oct 03 18:24:54 ^ Oct 03 18:25:05 ^^ Oct 03 18:26:31 Any idea on why db.yieldIfContendedSafely() do not yield even if I know there is a read transaction pending on the other side? (these are two process, one is the sync adapter writing in transaction and locking the database, the other is the app in a Loader waiting to query the database) Oct 03 18:27:30 hey... got an issue with sharing a project from one person to another Oct 03 18:27:40 I added a dependency on the v7 support lib in the build.gradle file Oct 03 18:27:59 and the other dev on the project is able to build using the gradle wrapper, but android studio complains that the v7 support library is missing Oct 03 18:30:56 rager, probably studio and gradle are using two different android SDK Oct 03 18:31:13 how do i resize actionbar icon? anyone? is that possibile? Oct 03 18:31:16 studio comes with a bundled Android SDK Oct 03 18:31:48 you question doesn't mean anything to me Oct 03 18:31:57 I do not understand what you want to do Oct 03 18:32:00 under, ^ Oct 03 18:32:07 oh Oct 03 18:33:09 mastro: what it is not clear? Oct 03 18:34:02 what is gradle and why is it so slow? Oct 03 18:34:49 under, your question, what do you want to achieve? resize is the way you think you should use, not the result. what's the result you want? Oct 03 18:35:08 the icon on actionbar occupies all height of actionbar Oct 03 18:35:39 under, the icon in the action bar is the one you set it as logo, if you want it smaller use a smaller one Oct 03 18:36:16 under, if the actionbar match the eight then load a logo with a transparent border Oct 03 18:36:21 afk 1 hour Oct 03 18:38:27 ok so I use another logo, thanks Oct 03 18:38:41 under: look at the android design guidelines for actionbar icons, make sure your assets are the proper size with the correct padding Oct 03 18:39:15 http://developer.android.com/design/style/iconography.html Oct 03 18:39:46 thanks birbeck Oct 03 18:39:50 under: put like 15dp in your it will resize all the actiobar? Oct 03 18:41:15 or you could use android:height attribute like here ... http://stackoverflow.com/questions/17439683/how-to-change-action-bar-size Oct 03 18:41:30 if you have an application style that defines an action bar style and you set the height, yes.... but please only do this with good reason, not because your icon is wrong Oct 03 18:42:05 i'm gonna create custom logo for actionbar, I thinks it's the best way Oct 03 18:43:06 wow even on my host the android emulator is just as slow as inside an archlinux vm Oct 03 18:43:16 i will use a real phone Oct 03 18:43:26 what is the best real phone to debug android apps on Oct 03 18:43:38 i have a nexus 4 and i love it Oct 03 18:43:40 nexus 4 Oct 03 18:43:43 start with the latest nexus Oct 03 18:43:53 beaky: nexus 5 Oct 03 18:44:07 but its nice to have a few popular phones in different sizes, resolutions/densities and oem skins Oct 03 18:44:34 ha Oct 03 18:44:45 ok i will buy nexus phone Oct 03 18:44:57 nexus 4 is sold out Oct 03 18:45:09 in the us/uk/eu Oct 03 18:45:14 well you can still get it from ebay probably Oct 03 18:46:26 is there anyone willing to help me 1 on 1 Oct 03 18:46:34 iv been stuck on this problem all day Oct 03 18:46:40 im sure its simple Oct 03 18:51:30 Anyone ? Oct 03 18:56:32 just ask your q and a pastebin Oct 03 18:57:10 Zylinx> i have a Master/Design flow activity, on the Detail fragment (righthand side) i want to incorporate a custom ListView... i have modified this code and have a working ListActivit http://stackoverflow.com/questions/6305899/custom-listview-android Oct 03 18:57:11 how can i incorporate this List activity into the fragment Oct 03 18:58:00 well first of all, activities dont go in fragments, fragments go inside activities Oct 03 18:58:36 I want to make a 2d game, I'll start with something like a gradius-clone. i dont want to use a finished game engine, I'd rather roll my own. Are drawables and opengl 2 different things? will it be to slow if i dont use OpenGL? Oct 03 18:59:36 mastro: I'm just using gradle wrapper - the default gradle option in android studio Oct 03 19:00:01 Zylinx: http://developer.android.com/training/basics/fragments/index.html Oct 03 19:00:19 S_J: if your going to bother to write your own engine you might as well to it correctly and learn GL Oct 03 19:00:50 Zylinx: basically, you just have a fragment with a list view, and you use a fragment transaction to add/replace the detail fragment with your list fragment Oct 03 19:01:36 hmmm Oct 03 19:02:02 not sure if i understand Oct 03 19:02:40 extra frustrating is that I can import the project straight from git into my own Android Studio instance, and everything is happy and fine as soon as I hit the sync button for gradle Oct 03 19:12:34 birbeck Oct 03 19:13:26 the ListActivity im just using as refference for what i want to put in the fragment Oct 03 19:14:18 TheBunnyZOS: for something like a gradius clone would it be enough to use a simpler API like canvas and drawables? Oct 03 19:17:22 you could probably do 2D fine in that these days Oct 03 19:27:31 i know how to use a listview in a fragment, but how do i use a customize it ? Oct 03 19:28:18 if i define a layout to use per row how do i impliment that in the listview Oct 03 19:29:52 the layouts for each row are provided by the adapter Oct 03 19:30:54 im not experienced enough in android to get through this i want to cry, i have a deadline Oct 03 19:31:31 i use simpleadapter in my ListActivity example but it doesnt work inside the FragmentActivity Oct 03 19:32:20 i have exactly what i want in its own activity as an example, i never knew it would be this hard to get it into a fragment Oct 03 19:34:53 omfg there is a list fragment Oct 03 19:34:57 i never knew about this Oct 03 19:35:02 i think im saved Oct 03 19:35:36 crying one minute happy the next you sound bipolar ;) Oct 03 19:36:12 haha maybe, this has been stressing me out the whole day Oct 03 19:37:18 i didnt mention ListFragment for a reason Oct 03 19:37:25 why? Oct 03 19:37:35 you can do the same thing with a normal fragment Oct 03 19:37:46 most android devs do not like ListActivity/ListFragment Oct 03 19:38:01 oh Oct 03 19:38:12 how do i do it without ListFragment Oct 03 19:38:14 just do ListView list = (ListView)findViewById(R.id.list) Oct 03 19:38:14 what does this actually give you in a spinner? the string? parent.getItemAtPosition(pos) Oct 03 19:38:42 zmuser3: the object at that position Oct 03 19:39:08 if its just a list of strings, you can cast it to string... but you should know whats in the list Oct 03 19:39:19 ok Oct 03 19:46:07 for a library project, do manifest : verionCode and versionName make any sense ? Oct 03 19:46:27 i noticed i had those, and though - hm, why Oct 03 19:47:50 it's a handy way to quickly determine which version of the lib you have Oct 03 19:48:03 but no, they're not actually used for anything AFAIK Oct 03 19:48:32 RyanM are they used by the tools at all? i mean, would usually specify the version via maven coordinates Oct 03 19:48:40 as a dependency Oct 03 19:49:39 what QR code scanning libraries do you all recommend and how do you deal with the variation of cameras that a device could have? Oct 03 19:52:03 cant i just call setContewntView(myView); in onCreate? Oct 03 19:55:51 if i define my own view, do i need to dazzle in xml? Oct 03 19:56:29 jasonmog, zxing is the main one Oct 03 19:56:44 I've got a project I added the support v7 library to using gradle - someone working with me just pulled down the code, and Android Studio can't seem to understand what to do about it Oct 03 19:56:58 the guy already has the google repositories installed, and we both use the same version of Android Studio Oct 03 20:01:01 g00s: Not that I know of, at least in Eclipse. Oct 03 20:13:23 why doesnt a build result in output to the console? Oct 03 20:20:38 S_J, you can set a View directly Oct 03 20:22:53 i figured it out Oct 03 20:26:44 versionCode and versionName in manifest for library projects are ignored Oct 03 20:27:12 ok, thanks pfn Oct 03 20:27:19 and RyanM Oct 03 20:27:36 because it would suck ass if the manifest merger bitched about version codes and versionnames not matching Oct 03 20:27:59 how can I tell android not to flip the screen? Oct 03 20:28:07 turn off rotation Oct 03 20:30:41 android:screenOrientation="portrait" Oct 03 20:30:52 where do i put it in the manifest file? Oct 03 20:31:02 inside the manifest < > ? Oct 03 20:35:26 i believe it pertains to an activity Oct 03 20:35:37 hm. so i'm trying to write a reusable Service. but t decouple it from the app in a few ways, i need the app to implement a few interfaces, like factories and what not. but how can my service be configured to 'locate and find the class required to implement x'. all i could think of, is setting some jvm property and then using Class.forName() or something like commons-logging / jdbc Oct 03 20:36:24 g00s: what are you trying to do? Oct 03 20:36:43 as in, why does a normal factory not work? Oct 03 20:36:54 for example, i would like my service to have some pluggable storage. the app could use a k/v store or sqlite, whatever Oct 03 20:37:02 dcow oh yes, well .. Oct 03 20:37:17 if an AlarmManager kicks off the service, it needs to determine what class to use Oct 03 20:37:39 g00s: based on what information? Oct 03 20:38:05 yeah, thats the thing .,, i guess i could store a class name in prefs (ugh) or a jvm property Oct 03 20:38:48 all the machinery to schedule updates is in the library. so the client app never touches that. thats why, when it wakes up, it has to say, hmm - what class do i need to do these things Oct 03 20:38:49 why not have it be part of the intent from the alarm manager and then forward that to the service via the intent used to interact with the service Oct 03 20:39:45 i suppose i could do that, put the class name in an extra ? Oct 03 20:39:56 something like that Oct 03 20:40:55 or, better yet, give the user of the library access to the intent and have them set the component themselves Oct 03 20:41:16 well, actually, you can just request a component name from the user Oct 03 20:41:21 and set it yourself Oct 03 20:41:27 then they don't have to worry abou tit Oct 03 20:41:29 yeah ... Oct 03 20:41:42 you seem reluctant Oct 03 20:42:10 heh , i'm thinking about it ... Oct 03 20:42:30 I mean it's better than requiring a property to be set or a pref to be set.. Oct 03 20:42:39 yeah thats all ugly Oct 03 20:42:49 I'm assuming the library will be packaged with the app Oct 03 20:42:57 indeed Oct 03 20:43:13 its all in-process Oct 03 20:43:51 the simplest way is just to look for a class and instantiate it, like commons-logging Oct 03 20:44:09 no the simplest way is to just set the factory on the library Oct 03 20:44:33 so tell the user they have to provide a factory that provides the desired class Oct 03 20:45:10 then you don't have to look for a class with a certain name Oct 03 20:45:26 just require it as a constructor to the library or something Oct 03 20:45:33 or as a parameter to the method Oct 03 20:45:37 its a service Oct 03 20:45:50 thats why, as it has independent lifecycle, it needs to configure itself Oct 03 20:45:51 that the user binds to? Oct 03 20:46:01 there are tilt sensors in the phone right? so you could tip the device and feel it so make an app that rolls a ball the direction you tile the device? Oct 03 20:46:02 maybe, maybe not. could be started by Intent Oct 03 20:46:39 and it just needs to run based on the intent only Oct 03 20:46:50 S_J usually. just read an article about the iPhone 5s/c sensors being all screwed up Oct 03 20:47:08 I don't see something like onChangeListener for an editText. I am trying to avoid having the user click a button to say ok I entered the text now Oct 03 20:47:26 zmuser3, textwatcher Oct 03 20:47:30 ok Oct 03 20:52:47 does anyone have a good .gitignore file for android projects? Oct 03 20:52:51 do android devs or ios devs tend to make more freelancing? Oct 03 20:52:56 g00s: but this is not iphone.... Oct 03 20:53:02 how can I query media store to get all supported audio types but also include a few unsupported (flac, etc). Is there a way to get all supported mime types so I can just tack on some extra and do a query? something like that? Oct 03 20:53:13 S_J you're luck in this case ;) Oct 03 20:55:35 smit: MimeTypeMap will come in handy Oct 03 20:58:00 nseidm1: yeah, thanks. I need to know the list of supported extentions, then. I was hoping not to have to hard code a list of native support mimetypes/extentions... do you know of a way to ask the device which mimetypes/extions it nativly supports? Oct 03 20:58:17 g00s: what if you require the user to extend application and implement a factory interface Oct 03 20:58:34 then you can cast the service context to the application context and call the factory method Oct 03 20:58:57 i'm having second thought about making this a library now, the cost of reusable software :/ Oct 03 20:59:29 Hey guys I have a strange null pointer exception bug: I have a viewpager with a fragmentstatepageradapter. in my onPageChangeListener I modify my menu item called counter like so: menu.findItem(R.id.counter).blah(). when I go from portrait to landscape it works if i'm on the first page of the pageradapter. However if i'm on the second page I get an error for menu.findItem.(R.id.counter). Why could this be happening, what would ma Oct 03 20:59:36 dcow thanks, thats another idea Oct 03 20:59:40 g00s: yeah I see the problem now. I think extending application context would be the cleanest way Oct 03 20:59:54 just my humble opinion Oct 03 21:00:02 S_J: github has one Oct 03 21:00:14 yeah, kinda like how fragments cast their activities and then instanceof to see if they implement some callback Oct 03 21:00:29 "These Robots Hunt Jellyfish--And Then Liquify Them With Rotating Blades Of Death" holy crap man, dont swim near these Oct 03 21:00:37 smit: libcore.net.MimeUtils Oct 03 21:01:48 guys the wizard of aft per creating a signed apk doesn't let me insert more then 1000 Oct 03 21:01:55 does android 2.3.6 havea framework.jar that is usable for modifying phone internals? Oct 03 21:01:56 google says 10 000 or more Oct 03 21:02:06 nseidm1: i don't think that tells me what mime types a device can decode... Oct 03 21:02:10 wizard of aft ? Oct 03 21:02:19 adt sorry Oct 03 21:02:22 And 1000 what Oct 03 21:02:32 validity (years) Oct 03 21:02:46 Google says 25 years iif Oct 03 21:02:48 iirc* Oct 03 21:03:03 smit: I say stick with http://developer.android.com/guide/appendix/media-formats.html or jam it in a webview and see what happens :) Oct 03 21:03:18 kakazza: https://developer.android.com/tools/publishing/app-signing.html#cert Note: A value of 10000 or greater is recommended. Oct 03 21:03:53 "A validity period of more than 25 years is recommended." Oct 03 21:04:00 And your value is in days. Oct 03 21:04:12 If Android 2.3 is still being used in 25 years I'm going postal Oct 03 21:04:32 oh so it's different from console to adt, thanks kakazza Oct 03 21:05:07 heck if Android is still being used in 25 years Moore got that sh*t way wrong Oct 03 21:05:48 I'm trying to bytehack media/audioservice, how do I find it on android 2.3.6? Oct 03 21:06:02 nseidm1 who knows if we'll even be around in 25 years :| Oct 03 21:06:08 let's hope not Oct 03 21:06:17 I've got an ABD shell, but apparently the guid I'm using is for a different android version Oct 03 21:06:31 so it's not in framework.jar, and I've no idea where to look next Oct 03 21:07:18 in the textwatcher thing, afterTextChanged(Editable s), is s.toString() the string they entered? Oct 03 21:11:54 well crap they are entering a number but now it is a string Oct 03 21:13:03 How can I overcome the limit of max 32 chars for adb setprop ? Oct 03 21:13:07 http://stackoverflow.com/questions/5068305/how-can-i-overcome-the-property-length-limitation-of-the-adb-shell-setprop Oct 03 21:13:34 err, my value is not >= 91 Oct 03 21:13:37 s.toString().valueOf(s.toString)? ugh why can't strings and ints be interchangeable like perl Oct 03 21:14:04 * Nilium stares Oct 03 21:14:07 The fuck? Oct 03 21:14:56 zmuser3 weak typing sucks :| Oct 03 21:14:59 Lets say I want a format to easily define and edit boards that would correspond to blocked and unblocked tiles. what would you recommend? Oct 03 21:15:04 :O Oct 03 21:15:44 if i'm on page 2 of my view pager and rotate my screen why does it trigger the OnPageChangeListener? Oct 03 21:15:47 y cant i rite my endroid in php? Oct 03 21:16:12 why does google say ie the galaxy s is not supported by my app? is maybe becouse I set min API 14? I did not set any more restriction on manifest? So If I run different rom with android 4.* on my modded galaxy s, am I able to download my app? Oct 03 21:16:31 well who wants to be mired down in this crap, I just want to write the app without spending hours trying to figure out how to convert strings to ints and back :) Oct 03 21:16:51 maybe don't round trip strings to ints :| Oct 03 21:16:56 nothing wrong with using android in 25 years Oct 03 21:17:15 zmuser3, learn how to code Oct 03 21:17:22 how does it take hours to figure out how to convert strings to ints and back Oct 03 21:17:23 trying heh Oct 03 21:17:35 zmuser3: http://phonegap.com/ lets you write apps in HTML/JS Oct 03 21:17:35 and perl is a garbage language Oct 03 21:17:37 clearly :p Oct 03 21:17:39 pfn: yes ok 25 years Oct 03 21:17:40 under: yes, you'll likely be able to install it in that case Oct 03 21:17:54 s.toString().valueOf(s.toString)? Oct 03 21:18:07 under, obviously, it won't be the same android it is today Oct 03 21:18:10 Is ok 2483 devices for apk with min sdk 14? Oct 03 21:18:31 zmuser3: what are you trying to do? Oct 03 21:18:34 I am using the textwatcher thing just trying to get the number they entered in the edittext. inputType=number Oct 03 21:19:09 Integer.parseInt("123") Oct 03 21:19:17 ok thanks Oct 03 21:20:05 I just looked through the top paid live wallpapers list. The stuff I'm competing with has me despairing for humanity. Oct 03 21:20:16 Nilium how is your VM coming :) Oct 03 21:20:27 It's pretty much entirely functional. Oct 03 21:20:46 Supports imported functions from C/C++ and so on. Oct 03 21:20:57 but does it run brainfuck ? Oct 03 21:21:13 :P Oct 03 21:21:24 It probably could if I wrote a brainfuck to bytecode compiler. Oct 03 21:22:09 Seriously, though, I'm competing with the likes of this: https://play.google.com/store/apps/details?id=com.Vinz.FurryCreaturesTee Oct 03 21:22:30 _That_ is in the god damned top paid list. THAT. Oct 03 21:22:43 My app? No. That? Yes. Why? I hate my species. Oct 03 21:22:45 thats awesome, take my money ! Oct 03 21:22:51 :D Oct 03 21:22:55 Nilium: what's your app? Oct 03 21:23:00 round cat booty Oct 03 21:23:05 https://play.google.com/store/apps/details?id=net.spifftastic.ascension2 ← That. Oct 03 21:23:14 last question :D In my info screen on my app I want to set a link for sharing app. If the app is not released yet, how can I set that link? Oct 03 21:24:01 how do I acces/read init.rc or get bootclasspath? Oct 03 21:24:26 Nilium: will your app drain my battery? Oct 03 21:24:27 Shambler[Bishop: adb shell echo $BOOTCLASSPATH Oct 03 21:24:37 I use it and I haven't noticed anything. Oct 03 21:24:39 you probably need to escape the $ Oct 03 21:24:41 thanks; that is the bootclasspath for the entire phone? Oct 03 21:24:44 Nor did my testers. Oct 03 21:24:44 yes Oct 03 21:24:48 under: you can set it to the location that your app will be when you publish it Oct 03 21:24:52 tsyd its in Scala, so it probably charges your battery Oct 03 21:24:54 Nilium: purchased Oct 03 21:25:12 It doesn't run on the Galaxy Nexus though because that phone is weird. Oct 03 21:25:20 Seriously have no idea what's up with it. Oct 03 21:25:31 g00s: How do you know it's written in Scala? Oct 03 21:25:36 Because I've said so. Oct 03 21:25:51 Nilium as long as it runs on sgs3/sgs4/note 2+ thats like 80% of the phones Oct 03 21:26:02 It runs surprisingly well on the Galaxy S2. Oct 03 21:26:11 under: https://play.google.com/store/apps/details?id=your.package.name Oct 03 21:26:23 i just saw the flurry analytics for a pretty popular app, the top 5 was all samsung Oct 03 21:27:05 Most top live wallpapers are very simple and/or stupid and/or boob-jiggle wallpapers. Oct 03 21:28:21 dcow: thanks what about if my app package name is already taken? that's not my case Oct 03 21:28:26 Nilium: Your app is trippy. Thanks... Now I don't have to do drugs. :D Oct 03 21:29:02 And to think I've never even done drugs. Not counting the antidepressants and acetaminophen. Oct 03 21:29:05 And coffee. Oct 03 21:29:08 And alcohol. Oct 03 21:32:54 if you're thinking about getting rich writing a mobile game … http://www.fiercedeveloper.com/story/it-time-app-developers-declare-game-over/2013-08-26 Oct 03 21:33:02 well, i think that phase has past an reality set in for most Oct 03 21:33:08 is it bad to handle configureation changes yourself: http://developer.android.com/guide/topics/resources/runtime-changes.html#HandlingTheChange Oct 03 21:33:20 it says it's not recommended but I don't understand why Oct 03 21:33:52 If you don't need to, don't do it. Oct 03 21:34:38 different layouts in land versus port necessitate the default destroy and recreate behavior Oct 03 21:35:23 although depending on the layout there can be a substantial performance improvement not destroying and recreating Oct 03 21:35:36 it depends on the necessary behavior Oct 03 21:35:49 cool, textual update Oct 03 21:36:24 alright thanks Oct 03 21:42:17 if i have accelerometer and gyroscope, do i have gravity sensor as well? Oct 03 21:42:38 no, but gravity is acceleration Oct 03 21:43:09 assuming there are no other accelerations being applied, or that you know what they are, you can determine the acceleration gravity is applying Oct 03 21:47:12 JakeWharton: You around? I am using Picasso to load images (no shit), but sometimes the image changes, while still having the same filename, resulting in Picasso hitting the cache with (I guess) the filename as a key, returning the old thumbnail as the value. Oct 03 21:47:27 skipCache() Oct 03 21:47:41 if the image changes, you should change the path Oct 03 21:48:05 Not really an option I'm afraid. Oct 03 21:48:28 It's being edited by an external image editor and overwritten. Oct 03 21:48:29 zinx: ok so it is the same sensor? guess if a car accelerates quickly it is impossible to figure out what the user did? so you have to sit still to play it? Oct 03 21:48:46 S_J: usually, yes Oct 03 21:48:49 Any chance of there being a .useLastModifiedInKeyCalculation() call? ;) Oct 03 21:49:34 S_J: you may be able to use the gyroscope in conjunction with the accelerometer, however Oct 03 21:50:31 S_J: depending on which motions it is you want to detect Oct 03 21:52:20 if the phone doesn't you can in theory detect acceleration, just substract G to the total force to find it Oct 03 21:52:28 ^ does't rotate Oct 03 21:53:06 aried3r: no. but we might be able to do that automatically Oct 03 21:53:07 if it doesn't rotate, you can use your knowledge of the previous orientation Oct 03 21:53:09 whats hte sweetest way for async image loading these days? Oct 03 21:53:21 acidjazz: Volley, probably. Oct 03 21:53:28 aried3r: actually we can't do it on the main thread. if it's in memory cache then it's in memory cache Oct 03 21:53:31 there's also Picasso, but meh, Volley ftw. Oct 03 21:53:32 sweet already got volely implemented Oct 03 21:53:41 jasta: i'll kill you Oct 03 21:53:50 get in line Oct 03 21:53:55 hehe Oct 03 21:54:04 do you sell fast passes? Oct 03 21:54:24 this ain't disney land, pal. Oct 03 21:54:31 I'd use Volley for images. Not for API calls though Oct 03 21:54:53 well i would but I would hate myself Oct 03 21:54:55 hey guys I've got a bit of a bug. My onpagechangelistener for my pageradapter uses my menu. When I rotate my screen it calls onpagechangelistener before my menu is created. Is there a way to trigger onpagechangelistener from a view pager after the menu is created? Oct 03 21:55:11 JakeWharton: why's that? i'm fairly certain google is. Oct 03 21:55:12 SuD: i haven't looked in to it, but for orientation i'd probably store the down vector and 'other' vector, do some filtering on gyroscope readings to determine when 'down' changed, and ensure the accelerometer reading is always equal to our idea of down + other Oct 03 21:55:24 this is for the actionbar, I would want it to work with actionbarsherlock too Oct 03 21:55:27 SuD: do note that not all phones have a gyroscope Oct 03 21:55:42 JakeWharton: Hum, but you have a method that calculates the key, based on not only the image name. Can't you "just" take the lastmodified date into account too? Oct 03 21:55:53 aried3r: can't hit filesystem on the main thread Oct 03 21:55:55 so, no Oct 03 21:56:03 jasta: bad API Oct 03 21:56:18 it looks hard to impossible, but the wiimote plus does it good Oct 03 21:56:24 leaks hosts, relative URLs, path/query assembling, serialization/deserialization all over your app Oct 03 21:56:31 SuD: while moving? Oct 03 21:56:40 Damn. What should I do? I don't want to skipCache() or invalidate the whole cache. Oct 03 21:56:44 oh, well it definitely needs an abstraction on top of it Oct 03 21:56:46 SuD: e.g. in a vehicle.. Oct 03 21:56:49 but that's not volley's job to provide. Oct 03 21:56:59 volley is just an engine at its core. Oct 03 21:57:09 caching, thread management, priority queueing, ... Oct 03 21:57:16 then it's just a glorified ExecutorService Oct 03 21:57:23 it just so happens to also have this weird image bolt-on Oct 03 21:57:39 well, yeah, but that's why you'd use it instead of rolling your own. Oct 03 21:58:17 why wouldn't you use something that did the exact same thing with a better abstraction? Oct 03 21:58:37 such as? Oct 03 21:58:51 fwiw, i don't use volley either Oct 03 21:59:14 well it should come as no surprise we have our own lib Oct 03 21:59:18 but actually that's possibly a matter of timing more than anything else. i would happily layer on top of it. Oct 03 21:59:25 JakeWharton: open? Oct 03 21:59:32 JakeWharton: BTW, it only does that if you don't know how to Volley. Oct 03 21:59:33 but of course, Oct 03 21:59:36 http://square.github.io/retrofit/ Oct 03 21:59:43 oh yeah this thing Oct 03 22:00:05 JakeWharton: saw square readers on sale at radioshack for *only* $9.99! Oct 03 22:00:09 (the leaking abstraction crap that you're talking about) Oct 03 22:00:14 zinx: with $10 coupon inside. move along. Oct 03 22:00:17 JakeWharton: unbiased opinion :P Oct 03 22:00:19 JakeWharton: hehe :) Oct 03 22:00:25 ==evanc Oct 03 22:00:32 zinx: there's a get rich scheme there... Oct 03 22:00:32 Layering properly on top of Volley is easy Oct 03 22:00:40 JakeWharton: Any idea how to work around this? Is there a way to invalidate/remove a single entry from the cache? (I doubt it, since that would lead to silly bugs when used the wrong way) Oct 03 22:00:58 aried3r: load the image yourself. it's local therefore not that hard Oct 03 22:01:01 JakeWharton: just wait for it to go on sale ;) Oct 03 22:01:09 ;_; Oct 03 22:01:42 jasta: you can extrapolate that argument to anything, though. Oct 03 22:02:25 well sure, but for example retrofit could just use volley as a driver so that it can do things like retries Oct 03 22:02:30 it would seem that currently it does not do retries Oct 03 22:02:52 right. caller's decision. Oct 03 22:03:04 JakeWharton: uh-oh, leaking abstraction all over the app! Oct 03 22:03:55 no client library can infer the requisite knowledge to know if retry is appropriate Oct 03 22:04:46 JakeWharton: well, volley selects this as an implementation detail of its "fail fast retries" Oct 03 22:04:57 aggressively low timeouts and automated retry to account for that. Oct 03 22:05:18 this is actually an important optimization to work around stalls due to bad radio stacks and carrier network topology. Oct 03 22:05:37 (though volley does it wrong, it should do optimistic retries) Oct 03 22:05:51 OkHttp will transparently do optimistric retries Oct 03 22:05:56 combine the two and you're golden Oct 03 22:06:09 will it? or are you saying it can be made to? Oct 03 22:06:16 i have only recently begun reviewing okhttp Oct 03 22:07:04 it will. there's a RetryableOutputStream hooked up to the socket stuff that'll replay the request (including POSTs) if we can assure it didn't make it Oct 03 22:07:24 (small POSTs only, up to like 8K) Oct 03 22:09:58 here's the Volley hookup: https://gist.github.com/JakeWharton/5616899 Oct 03 22:10:00 and i'm out Oct 03 22:13:42 i can have several Activities right? Which is the right thing to do if you have sensors? Oct 03 22:14:03 S_J sure; maybe listen to sensors in a service Oct 03 22:14:10 aww, fucking Adobe …. Oct 03 22:14:38 "ncrypted credit or debit card numbers" Oct 03 22:18:09 Did Adobe just have a security woopsie? Oct 03 22:18:17 yep Oct 03 22:18:24 Yaaaaaaaay Oct 03 22:18:32 http://blogs.adobe.com/conversations/2013/10/important-customer-security-announcement.html Oct 03 22:18:56 i love how they start off "Cyber attacks are one of the unfortunate realities of doing business today." Oct 03 22:19:37 so not only their client software has vulns Oct 03 22:19:50 is there any way to query the contacts content provider for a list of all contacts sorted by last modification date? Oct 03 22:19:59 doesn't say if the attacker got the decryption keys :| Oct 03 22:20:12 im able to get the list of contacts, but cant figure out the sort by last modification date part Oct 03 22:20:42 shigeru you might find that in the ContactsContract class Oct 03 22:20:55 I like how they don't say how the credit card info was encrypted. Security through obscurity prevails. Oct 03 22:21:03 g00s yeah ive been looking there Oct 03 22:21:04 which, i will never look at again under any circumstances ;) Oct 03 22:21:08 im seeing stuff like LAST_TIME_COINTACT Oct 03 22:21:10 TIMES_CONTACTED Oct 03 22:21:17 but can't find anything related to modification date Oct 03 22:21:33 Cointact: whether or not you're cool enough to handle pennies and quarters. Oct 03 22:21:57 heh Oct 03 22:23:18 (03:18:56 PM) g00s: i love how they start off "Cyber attacks are one of the unfortunate realities of doing business _with idiots_ today." Oct 03 22:24:39 birbeck Abobe is lazy as hell. knowing someone that worked there and described things to me; they know about a lot of sec bugs in their sw but don't patch until … something, god knows what. oh yeah, and they are still using Carbon for all their apple shit Oct 03 22:25:10 if 10.9 didn't ship with carbon they would be so fucked Oct 03 22:25:29 decades of c++ built upon layers of c++ Oct 03 22:25:52 ossified Oct 03 22:26:33 its one of those code bases, you have that plays all kinds of tricks compilers 20 years ago were funky, but its all unnecessary now Oct 03 22:26:37 i dont understand the adobe/apple relationship Oct 03 22:27:00 apple *should* cut them loose, but then there goes a big part of their market share Oct 03 22:27:12 however, i think adobe needs apple more than apple needs adobe now Oct 03 22:27:21 until they all switch to windows Oct 03 22:32:03 I'm pretty sure Adobe moved PS to Cocoa. Oct 03 22:32:07 After much foot-dragging. Oct 03 22:32:26 not from what my friend says, but i'll ask again. Oct 03 22:32:36 just to be sure Oct 03 22:32:47 I remember it being kind of a big thing for Adobe. Oct 03 22:33:55 http://reverttosaved.com/2011/03/14/adobe-spends-ten-minutes-bitch-slapping-apple-over-cocoa-wah-wah-wahs-self-into-looking-stupid/ Oct 03 22:34:03 "It is not practical to rewrite Photoshop." Oct 03 22:34:11 that was 2011, but i'll ask again Oct 03 22:34:25 That was back in '11 when Apple finally went "yeah Carbon's basically deprecated" and Adobe apparently forgot the part about it being a transitional API. Oct 03 22:34:53 why the hell screen capture on adv doesn't work? Oct 03 22:34:55 Carbon's entire point was to get pre-OS X developers on board (e.g., Adobe) because not everyone would switch to Cocoa right away. Oct 03 22:34:59 *avd Oct 03 22:35:06 " 20 years of built-up crud that needed sorting, streamlining and rewriting. It pretty much sums up too much of Adobe these days. Instead of innovating, it adds crap on top of crap." <-- this Oct 03 22:35:08 <^cheeky> ello 0/ Oct 03 22:35:22 but I still like Lr ;) Oct 03 22:35:28 <^cheeky> g00s: do you really have 2.8 core2duo Oct 03 22:35:34 some products had vastly different teams / lineages within the company Oct 03 22:35:44 ^cheeky ya Oct 03 22:35:55 <^cheeky> hmmmm ... :P Oct 03 22:35:59 <^cheeky> and you run AS Oct 03 22:36:04 Plus Cocoa wasn't exactly in the best shape in OS X's early days, but it got better and Carbon stayed more or less the same because it was still an API for developers transitioning to OS X. Adobe just took way longer than it should have and then seemed to forget the point of Carbon. Oct 03 22:36:07 there was always a Ps / Lr competition / schism Oct 03 22:37:04 ^cheeky yes, I "run" AS :D Oct 03 22:37:06 <^cheeky> g00s: does it have an SSD or whats your rpm on your hdd Oct 03 22:37:18 ^cheeky the lame-ass 5400 rpm Oct 03 22:37:33 In other words, Cocoa was the API that was always supposed to be used, Carbon was the compromise to get the past Mac OS devs on board. Adobe just tried to spin it as something else. Oct 03 22:37:42 it takes like 2 minutes to start up, seriously. but once it gets warmed up, as long as i dont have many other windows open, its ok Oct 03 22:38:03 * Nilium has an SSD. It is his god. Oct 03 22:38:05 <^cheeky> i need to freaking test my hdd or something this heat that my comp emits !cool Oct 03 22:38:14 <^cheeky> hrh Oct 03 22:38:17 <^cheeky> heh Oct 03 22:38:33 basically all i can run is AS + genymotion + firefox + textual and a few shells Oct 03 22:38:51 Reminds me, I downloaded Genymotion. Still haven't tried it. Oct 03 22:38:57 Wonder if I can use my Nexus 7 to send input to it.. Oct 03 22:39:03 <^cheeky> i got a used, one might install it and see if can touch the kb aafter couple ours of coding :/ Oct 03 22:39:05 <^cheeky> :( Oct 03 22:39:31 <^cheeky> i just got my stuff from spark fun heh :) Oct 03 22:40:32 wont be long before the raspberry pi is more powerful than my box :) Oct 03 22:40:50 Only thing I use my pi for is IRC. Oct 03 22:41:13 <^cheeky> hahaha , unless a cluster of them .. prolly would be !~! Oct 03 22:46:44 heh. I just bought a little bluetooth dongle for my pi, with the intention of using it as a bluetooth audio receiver in my car Oct 03 22:48:41 <^cheeky> nice, i should use mine for something Oct 03 22:53:51 wut, i'm getting a 500 on play.google.com Oct 03 22:55:13 <^cheeky> 500 what ?? Oct 03 22:55:20 <^cheeky> coconuts :P Oct 03 22:55:22 500 server error Oct 03 22:55:25 <^cheeky> ohh Oct 03 22:58:11 what do you raccomend to record screen? Oct 03 22:58:21 something that doesn't drop frames Oct 03 23:02:27 <^cheeky> ok over heated :/ Oct 03 23:02:29 <^cheeky> :( Oct 03 23:03:11 ^cheecky, time to use vim ;) Oct 03 23:06:59 ssd is wonderful Oct 03 23:07:14 pfn: welcome Oct 03 23:07:25 I've had a 500gb ssd for a while now Oct 03 23:07:37 500gb ssd ? wtf Oct 03 23:07:40 I've got a 256gb one since it's what's in my Mac, and it's nice. Oct 03 23:07:44 1500€? Oct 03 23:07:53 It's real nice. Oct 03 23:08:33 I actually have 2 500gb ssds Oct 03 23:08:39 one in my pc, and one in a usb3 enclosure Oct 03 23:08:49 you're rich Oct 03 23:09:01 it's less than $1/gb for ssd now Oct 03 23:09:02 well under Oct 03 23:09:35 They're still going down, at least. Oct 03 23:16:04 hm, i remember some library being configured by adding its own tags to AndroidManifest.xml - anybody know how they did that? Oct 03 23:16:33 Oct 03 23:16:41 top level, outside the android namespace Oct 03 23:23:20 XmlPullParser Oct 03 23:23:54 JakeWharton do you know how to get the Manifest to parse? Oct 03 23:23:58 Is there a way to tell when a flash drive has been plugged into an Android device, and what its mount point is? Oct 03 23:24:57 AssetManager#openXmlResourceParser("AndroidManifest.xml") Oct 03 23:25:26 awesome Oct 03 23:30:54 can I get busy-box somewhere other than play.google? Oct 03 23:31:13 preferably a direct apk download Oct 03 23:32:26 BlueProtoman: maybe Environment.getExternalStorageDirectory() ? Oct 03 23:32:34 How can i display numberpicker horizontal? Oct 03 23:33:53 shmoooz: Is there a way to do so just by calling system binaries, even if I need root? I'm not using the Android SDK directly (I'm using Haxe and OpenFL). Oct 03 23:34:50 dunno about that Oct 03 23:40:24 hm. openXmlResourceParser is one of those things dianne wishes remained hidden Oct 03 23:54:30 is there a way to debug the cause of the error, when you replace framework.odex and the phone doesn't boot? I have a backup I'm about to restore, but would be good to know Oct 03 23:57:03 Shambler[Bishop: #android-root Oct 03 23:57:11 ah, thanks Oct 03 23:59:09 Hey, so I have a question. I feel incredibly stupid asking this but it's driving me insane. Basically I have a BroadcastReceiver that receives an intent from an activity. This intent has some data, one of them a boolean. I save this boolean through a setter method. Now here's the kicker, when I run my thread, the boolean isn't true like the intent just gave me. My pastebin: http://pastebin.com/vgBPX5qg - I feel like I'm missing so Oct 04 00:01:31 The boolean in quest is the one called setup. Oct 04 00:01:46 Quest? Oct 04 00:01:58 Is abbreviating question to quest a new thing? Oct 04 00:02:04 'Cause I keep seeing people do that now.. Oct 04 00:02:10 And it makes me want to stab them in the face. Oct 04 00:02:18 maybe it's a twitter thing Oct 04 00:02:42 maybe its a monty python thing Oct 04 00:05:38 Moopz: what does your log say ? ( i see you print the value out ) Oct 04 00:06:17 get your AS 0.2.11 :D Oct 04 00:06:34 bankai_: The log in my onReceive says it's true, but the one in the run method says false. Oct 04 00:08:35 bankai_: This is my log http://pastebin.com/GgNEqBaX - They are printed out right after each other. Oct 04 00:08:58 hm, "We now have additional channels. We will continue to post ~weekly releases, and those will initially go to the Canary channel. If no critical issues are uncovered we will then post the build to the Dev channel" Oct 04 00:09:07 well, i'm a goose not a canary, so, :) Oct 04 00:09:13 they should have a goose channel Oct 04 00:10:31 change line 105 Oct 04 00:11:13 g00s: where'd you see that ? Oct 04 00:11:22 Moopz: You're creating a new LoggingService for the thread Oct 04 00:11:24 bankai_ http://tools.android.com/recent/androidstudio0211released Oct 04 00:11:30 that's your problem Oct 04 00:11:41 all the booleans in the new one are false. Oct 04 00:11:42 bankai_: RyanM Ah! Oct 04 00:11:47 Damn. Oct 04 00:11:59 Thank you so much. Oct 04 00:12:03 no problem Oct 04 00:12:49 so there are 4 channels, stable / beta / dev / canary Oct 04 00:13:10 too many choices, how about 'stable' and 'dev' Oct 04 00:13:32 i don't get the reference to canary lol sounds silly Oct 04 00:13:46 canary? its 'canary in a coal mine' Oct 04 00:14:25 so if you make it through the day alive, its usable :D Oct 04 00:14:32 hahah brilliant Oct 04 00:15:55 ok, so http://tools.android.com/preview-channel#TOC-Android-Studio-Previews Oct 04 00:16:28 so have we been caries the whole time :P ? Oct 04 00:16:32 i think i'll dial back to dev Oct 04 00:16:38 *canaries Oct 04 00:18:05 Guys last year I was reasearching how to do a map app. I registered for the google map api online but I have since reformated my HD an have lost that key. Can I register again and not have it conflict with the intial registration? Oct 04 00:18:18 Using the same google account that is. Oct 04 00:19:45 oh, gradle is 0.6.1 now too. was using 0.5.+ Oct 04 00:20:34 Shaba1: you can have a few keys set up under the same project Oct 04 00:21:15 the keys are kept in teh api console anyway, just download it again Oct 04 00:21:17 ok what do you mean by "project" Oct 04 00:21:28 you mean the one I create on my machie with eclipse Oct 04 00:21:30 log into the api console and you'll see Oct 04 00:21:49 hmmm Oct 04 00:22:11 that lead me to the question of what account I used to register. Oct 04 00:23:54 i'm not sure it matters Oct 04 00:24:52 the way it works is like this - you create an api console account, sign up for maps API services, then give it your cert ( or the debug cert) and package name and it will generate a key for you that you use in your manifest file Oct 04 00:25:23 for me, i have one project and two keys ( debug and prod ) Oct 04 00:30:15 Ok bankai_ but as I said I had to reformat my hd Oct 04 00:30:24 so all that information was lost. Oct 04 00:30:33 I just better sign up for a new key. Oct 04 00:30:47 the only thing you've really 'lost' is your cert, so just generate a new one and add it to your existing account Oct 04 00:32:16 Hello, I'm recieving this crash report, and many like it http://i.imgur.com/RcBMMef.png Oct 04 00:32:27 the characters at the end are arabic numerals Oct 04 00:32:55 why is this happening?... I thought the uri would look something like content://media/external/images/media/1234 Oct 04 00:33:11 where 1234 is the value in the _id column associated with the image Oct 04 00:33:11 what locale do you have set? Oct 04 00:33:38 I dont think i explicitly set one... Oct 04 00:36:46 is your phone using a different locale Oct 04 00:37:31 this isnt my phone Oct 04 00:37:35 its a crash report from a user Oct 04 00:37:45 the user is in saudi arabia Oct 04 00:37:48 ar locale Oct 04 00:40:23 Pyuruku: Are you using Integer.toString(R.id.blah) or similar? Oct 04 00:40:45 You need to make sure to specify the locale when doing something like that Oct 04 00:41:12 otherwise.. you end up using the current locale, which may not use roman numerals :) Oct 04 00:41:21 err, not romain Oct 04 00:41:24 roman* Oct 04 00:41:33 latin? whatever. :) Oct 04 00:41:33 hmm Oct 04 00:41:54 aren't they called 'arabic numerals', JesusFreke ? Oct 04 00:42:01 latin alphabet, arabic numerals Oct 04 00:42:04 bankai_: possibly. I'm not actually sure Oct 04 00:42:12 yes they are arabic numerals Oct 04 00:42:18 i dont know what i screenshotted are called ha Oct 04 00:42:30 "eastern arabic numerals" Oct 04 00:42:31 apparently Oct 04 00:42:37 http://en.wikipedia.org/wiki/Arabic_numerals Oct 04 00:42:38 yep Oct 04 00:42:46 TIL :) Oct 04 00:45:59 hmm. I'm not actually sure if what I said is true for Integer.toString(). But you're obviously using some method that formats a number in a locale-dependent manner. Oct 04 00:52:28 i still think this is amusing "Beta channel: Not used yet. This will be used when we'll have beta-quality releases. Right now Android Studio is considered preview-quality." Oct 04 00:52:37 :) Oct 04 00:53:02 i haven't had many problems at all, its been surprisingly well behaved - except layout previews sometimes Oct 04 00:53:39 JesusFreke did you see they added a new hook for preBuild or something, to add your ragel task to Oct 04 00:53:45 in gradle plugin Oct 04 00:53:46 the layout previews on IJ are a bit dodgy, should never be relied on Oct 04 00:53:52 not that it was hard before that Oct 04 00:54:14 I like this channel. Oct 04 00:54:20 I am so glad that I found it. Oct 04 00:54:24 :) Oct 04 00:59:08 i have a Quest .... Oct 04 00:59:19 … to get my project done :) Oct 04 00:59:47 is this quest(ion) or the other quest? lol Oct 04 01:00:21 shhhh to find the holy grail Oct 04 01:11:20 guys can any of you give any guidence on getting your app or the website associated with it at the top of search engins or the google marketplace Oct 04 01:12:41 I have an idea for a very geographically specific app. Say confined to one county. Just to start Oct 04 01:12:57 But I would want it listed very high so that people in this county could find it. Oct 04 01:17:28 Shaba1 nobody really knows for sure what google uses in its ranking Oct 04 01:19:50 you might find stuff like this useful http://www.amazon.com/Pitch-Perfect-Art-Promoting-Your/dp/0321917618 Oct 04 01:20:24 or and some tips http://developer.android.com/distribute/index.html Oct 04 01:20:48 specifically http://developer.android.com/distribute/googleplay/promote/index.html Oct 04 01:20:51 also, if you submit your app by post and slip in a $50 bill... that helps Oct 04 01:21:10 thanks g00s Oct 04 01:21:37 bankai_ and g00s I am looking that this page Oct 04 01:22:07 ttps://developers.google.com/maps/signup Oct 04 01:22:24 which one of these do I need to make a map app for android? Oct 04 01:22:32 yeah, and avoid the scummy shit which posts 'positive reviews' for you Oct 04 01:22:47 i would, anyhow, on ethical grounds - since its false advertising Oct 04 01:22:51 Shaba1: https://developers.google.com/maps/documentation/android/start Oct 04 01:23:44 i wouldn't be surprised if google does (or has?) a crackdown like amazon did in removing fake reviews Oct 04 01:25:40 "Rate this app 5 stars to unlock extra features!" Oct 04 01:26:42 pragma-: that's explicitly forbidden by the play store terms now Oct 04 01:26:57 Criminals don't follow rules. Oct 04 01:28:07 thanks bankai_ Oct 04 01:28:09 how do i pull in the logcat in AS Oct 04 01:43:23 lol, i found my first AS 0.2.11 bug - it isn't keeping my choice for update channel - haha Oct 04 01:43:32 set it to dev, keeps resetting to canary Oct 04 01:46:11 weird, if i hit apply then ok, it works - just ok doesn't work Oct 04 01:50:32 yey, 0.2.11 won't let me import a gradle project. asks you to select a build.gradle, then complains it can't create a directory /inside/ your build.gradle Oct 04 01:50:33 .. Oct 04 01:50:57 * g00s foresees heavy vim usage in the coming weeks Oct 04 01:52:14 Ok this is not a dev question perse Oct 04 01:52:41 if i put mp3s in an apk can someone break it down and rip em? Oct 04 01:52:42 but is that a way that I can insure that and .apk installs to an sd card rather then to the phones internal memeory Oct 04 01:54:29 acidjazz: yes. Oct 04 01:54:42 Shaba1: http://developer.android.com/guide/topics/manifest/manifest-element.html#install Oct 04 01:54:56 acidjazz: In principle, you can use secure storage to download them later. Oct 04 01:58:48 bummer Oct 04 01:59:55 damn, after weeks of getting lucky this AS is unusable Oct 04 02:00:51 ha ha Oct 04 02:05:06 is there a way to go back to 0.2.10 ? Oct 04 02:13:49 * g00s learns to backup the .app bundle before update :| but their patching system seems to do that somehow, must be a way to go back Oct 04 02:23:52 g00s: cd into the .app, git init, commit -am "AS 0.2.11" Oct 04 02:24:19 that … would work , indeed Oct 04 02:24:38 works great. used it back in the IJ 11 EAP days when it was flaky as balls Oct 04 02:25:33 ok, prefs / updates keeps resetting to Canary … i'll just have to keep an eye on that i guess Oct 04 02:25:41 thought i fixed it but, no Oct 04 02:34:12 hm, well i seem to have gotten around the problem of importing my library project by opening, not importing it. which showed the import dialog anyhow. **** ENDING LOGGING AT Fri Oct 04 02:59:58 2013