**** BEGIN LOGGING AT Thu Jun 05 02:59:58 2014 Jun 05 03:00:10 the executable has its own process, and is FG Jun 05 03:00:24 (even if i kill the activity that spawned it) Jun 05 03:01:05 that's why i wanted to set it to background when the activity ondestory gets called and bring it back to foreground in oncreate is called Jun 05 03:01:24 Or am i mistaken and even though ps says it's in the foreground, it really doesn't apply? Jun 05 03:03:25 I think the terms don't really apply to what you're thinking anyway Jun 05 03:03:34 also, I don't think you can reparent a process like that Jun 05 03:03:52 communicate on pre-arranged channel? yes Jun 05 03:08:12 hmm Jun 05 03:08:32 there's no documentation, i wish i didn't have to do this, but i am stuck using this executable as the backend Jun 05 03:09:15 So do you know if adb shell ps grep | myexecutable name the FG / BG is not applicable, even though it is listed as FG? Jun 05 03:13:51 probably not in the sense you think Jun 05 03:15:12 o ok Jun 05 03:15:22 should be fun testing what happens heh Jun 05 03:15:32 hi guys check out my blog, first tutorial I've written, it's about bloom filters, you might learn something :) rarely used but very helpful data structure Jun 05 03:20:10 lasserix: there are some ways to possibly move them around, but the general question is, "why?"? :) Jun 05 03:21:43 p_l: we had a JNI / sdk coupling, but they fired that guy. so now in order to unify code base, they got one other guy to see if he could compile arm-compatible, and it worked. Jun 05 03:22:03 so now i am stuck using this arm compliant executable Jun 05 03:22:28 yeah. The question is, why mess with sessions and process groups like that? Jun 05 03:22:41 lasserix: what are you trying to do Jun 05 03:23:18 lasserix: so part of the problem is that you have some fundamental issues w/ runtime.exec because you're inside a pretty complex process by the time you can fork Jun 05 03:23:44 so you're inheriting a TON of state during your fork Jun 05 03:24:11 im sorry can you elaborate Jun 05 03:24:49 I have an arm compliant executable, I can get it to run. however, since it spawns its own process, i am just wondering what the priority with respect to foreground/background is concerning this exe's process. Jun 05 03:25:24 Specifically, I want to make sure that if the app using the executable is destroyed, I can set the priority of the exe's process to background. Jun 05 03:25:39 And similarly reset it to foreground when the applications' activity is started again. Jun 05 03:25:41 lasserix: you need to understand how linux process launching works Jun 05 03:25:46 and no, i doubt you can do that Jun 05 03:25:56 not inside the android framework w/out massive changes Jun 05 03:25:58 yeah I have been reading up Jun 05 03:26:08 well I can start it, and it does work. Jun 05 03:26:20 so it looks like the only way is to kill it when the activity exits Jun 05 03:26:29 also there's really no fg/bg in linux at the process level Jun 05 03:26:32 also, linux priorities don't have anything like "foreground" or "background" priority Jun 05 03:26:46 there's foreground process group in a session Jun 05 03:27:00 which is a separate thing from android's foreground/background Jun 05 03:27:20 if you need a persistent spawned process Jun 05 03:27:23 I just don't know that the higherups will like that since there is a considerable "loading time" they want to avoid Jun 05 03:27:32 your best option is to have a persistent android service Jun 05 03:27:37 which spawns and communicates with it Jun 05 03:27:41 yeah I was going to do that, Jun 05 03:27:42 and holds it open independent of the activity Jun 05 03:27:50 yeah i was going to do that Jun 05 03:27:59 what is the -p on ps refering to? Jun 05 03:28:12 that's not the same thing as android background.foreground priority i take it then? Jun 05 03:28:37 there is no fg/bg process status. that's an android framework layer thing. Jun 05 03:28:43 Sorry, forgive my stupidity with regard to linux commands Jun 05 03:29:36 lasserix: nah. You might want to grab a book on unix programming, though Jun 05 03:29:46 yeah I have some expirience Jun 05 03:30:05 The Linux Programming Interface might be useful (although expensive and in-depth) book here, as it has a bit about details of job control, process groups etc. Jun 05 03:30:57 when I use adb shell ps , what is the column with FG BG refering to? is this something android specific? Jun 05 03:31:19 thanks p_l Jun 05 03:31:25 i will check it out Jun 05 03:31:49 lasserix: I suspect it might refer to process groups etc. - my busybox doesn't have those fields Jun 05 03:31:59 hmm o Jun 05 03:32:01 *ok Jun 05 03:34:21 cool thanks both for the clarification Jun 05 03:37:28 how do i get the height of the content within a grid view? Jun 05 03:37:42 i just want to set the height of the grid view to the height of the content within it Jun 05 03:41:45 whomp: what about 'wrap_content'? Jun 05 03:43:17 shmooz, that one doesn't work for a gridview when it hits the bottom of the screen i believe Jun 05 03:43:36 i believe android makes sure that the view doesn't go below the bottom Jun 05 03:43:54 lasserix: the fg refers to the foreground process group, which has meaning only in the context of text terminal sessions Jun 05 03:44:09 lasserix: it's where sigabrt gets sent when you control-c in a terminal, etc. Jun 05 03:44:17 ahh Jun 05 03:44:18 thank you Jun 05 03:44:42 lasserix: no meaning in android. you don't have to manage that; what you have to worry about is that whatever you spawn your external process from is alive and reachable in the android context of things Jun 05 03:44:55 oh yeah Jun 05 03:44:57 which means you want a service that stays alive independent of your activity sequence Jun 05 03:45:00 it's a webserver Jun 05 03:45:05 yeah Jun 05 03:45:17 i was going to use a service with a timer task to poill for whether it is running Jun 05 03:45:19 so that's a dangerous thing to try to do, btw Jun 05 03:45:28 yeah iknow ;p Jun 05 03:45:29 because android expects to tear down the network constantly Jun 05 03:45:37 and while the android-side code can get notified Jun 05 03:45:46 your native code won't know shit other than the netif went down Jun 05 03:45:49 TLPI might still be good book to read. I only recently grabbed a copy, still haven't gotten far, but it has in-depth descriptions of all kind of things Jun 05 03:45:56 and it'll probably kill your listening socket then too Jun 05 03:45:57 dragorn: unless it actually checks for network state Jun 05 03:46:11 dragorn: sockets bound to 0.0.0.0 won't drop Jun 05 03:46:16 dragorn: yeah I know the only way to catch errors to propogate them Jun 05 03:46:27 and it is doing that Jun 05 03:46:31 at least for now Jun 05 03:48:59 Oh volley is the recomended way to do HTTP requests? Jun 05 03:49:09 *Json/xml restful gets Jun 05 03:50:54 well, it's a way. Jun 05 03:50:58 it's certainly better than rolling your own :) Jun 05 03:51:23 jasta-- i had already kind of set up a whole networker for this Jun 05 03:51:29 some square folks might disagree (consider their Retrofit library). Jun 05 03:51:46 but i've heard a few of the andrid developers i know IRL praise volley Jun 05 03:52:00 i'll praise Retrofit IRL Jun 05 03:52:05 heh Jun 05 03:52:36 use annotations? Jun 05 03:52:49 it does Jun 05 03:53:22 Koush's Ion library is also pretty good Jun 05 03:55:45 how would i have a button that sits at the bottom of the screen, unless the content above it goes below the bottom of the screen, in which case it goes right below that content? Jun 05 03:58:51 hrm Jun 05 04:00:49 whomp scrollview and layout weights? Jun 05 04:01:31 lasserix, i want the button to be fixed height. would weights allow it to be fixed? Jun 05 04:02:11 scrollview hieght wrap content, then use an imageview for the button with the src to your target height and weight to 1 but gravity to bottom Jun 05 04:02:29 that way the "button" will sit at the bottom, but when the scrollview larger will sit below Jun 05 04:02:39 not sure if it'll work Jun 05 04:02:50 theoretically it should? Jun 05 04:09:57 lasserix, i'll try it, thx Jun 05 04:15:54 whomp: I think I've had that issue before, and I think my solution was to have a scrollview with a linearlayout in it, vertically orientated, and I had a dummy view with a weight of 1 (and height 0dp) above the thing you want at the bottom (the button) Jun 05 04:16:07 also, the scrollview had fillViewPort=true Jun 05 04:16:18 (not sure if that's exactly how I did it, just going off memory here) Jun 05 04:17:04 converting a json string to a list to populate a spinner Jun 05 04:17:15 basically, the dummy view would fill out the remaining space to keep the button at the bottom, but if the content above the dummy view was too long, it would then push the button below the screen Jun 05 04:18:35 whomp: barb's idea probably work better, plus you can wrap content on your button and not have to worry about src Jun 05 04:19:49 Does anyone know of an issue with the S3's where the power button would get 'stuck' randomly shutting the phone off to the point where it's unusable? Jun 05 04:22:59 lasserix: some assistance if you have a moment? Jun 05 04:25:06 Oh hey Jun 05 04:25:07 what's up? Jun 05 04:25:27 petecouture you might try #android for that one Jun 05 04:30:15 lasserix: I have a layout with two spinners. Serverside, I have a json object with various json data. One piece of data is a list of bldgs, another is an array of actual unit numbers within apartments. Jun 05 04:31:11 So I want to populate SpinnerA with JSONObjectA, and based on the selection of JSONObjectA, populat SpinnerB Jun 05 04:31:15 populate* Jun 05 04:31:30 so what's your question? Jun 05 04:32:06 parse A, load spinner, on click load B? Jun 05 04:32:57 well... hold. I need to do some more checks. Jun 05 04:34:14 Hi. Can I add a callback method to my spinner via the layout.xml? Jun 05 04:35:09 you don't Jun 05 04:39:44 bankai_au nice in rx 0.19 "Fairly significant object allocation improvements are included in this release which reduce GC pressure and improve performance." Jun 05 04:40:02 oohhh good good Jun 05 04:40:20 they churn through the updates, huh ? Jun 05 04:40:52 its been a while since 0.18.4 Jun 05 04:42:18 i've grabbed a lumia 521 for my travels; kinda fun Jun 05 04:42:42 g00s: weirdo :P Jun 05 04:42:52 one thing i like right away is theme: light / dark for the whole device Jun 05 04:43:09 WP 8 seems pretty stripped down Jun 05 04:43:21 but whatit does, it does well - no bugs or hickups Jun 05 04:43:40 offline navigation / mapping worked great Jun 05 04:43:43 have they finally moved that 'send' button on the SMS app ? Jun 05 04:43:45 thats one of the reasons why i got it Jun 05 04:43:57 * g00s does use sms Jun 05 04:44:47 virtual keyboard on the 521 is terribad though Jun 05 04:44:52 reminds me of the droid-1 Jun 05 04:45:35 another nice UI feature they have is 'high contrast' which is nice in the sun Jun 05 04:45:52 can someone ban him ? Jun 05 04:46:16 hehe Jun 05 04:46:51 Hello, i'm installing Android Studio on windows 7 and this windows needs to be setup. So before reinstalling windows i want to backup all the sdk's and avd images so that i won't need to download them again after i reinstall windows. Will it work if i backup the folders of 'platforms' and 'system-images' only inside C:\Program Files (x86)\Android\android-studio\sdk Jun 05 04:47:36 no, you'll need .android in whatever windows calls ~ these days Jun 05 04:48:06 oh Jun 05 04:49:00 c:\users\blah or something isn't it ? Jun 05 04:49:14 yes, found it Jun 05 04:50:00 bankai_au one thing i notice, is that the UI is pretty fluid even on such crappy spec'd HW - but you can tell when its really churning Jun 05 04:50:03 so i need to backup that too, and after i reinstall android-studio and place the backup .android to C:\ again it will work? Jun 05 04:50:45 don't forget AndroidProjects directory Jun 05 04:51:19 its empty :/ Jun 05 04:51:58 you haven't got any projects? Jun 05 04:52:25 ah.. i've created a seperated folder for that. thanks... got it. Jun 05 04:54:36 bankai_au what do you think of all the wwdc announcements :D Jun 05 04:54:54 'all' of them? i was expecting more tbh Jun 05 04:55:11 i was surprised about that new language Jun 05 04:55:13 the new language was a bit odd, wasn't expecting that, but really obj-c is fucking awful, but i'm not sure this swift thing is much better Jun 05 04:55:28 it looks better Jun 05 04:55:40 maybe not as good as scala Jun 05 04:55:41 healthbook has been known for a while, looks nice Jun 05 04:56:03 but c'mon you can make variables in cat and dog icons <3 Jun 05 04:56:27 what I dont like is metal Jun 05 04:56:39 knowing apple it will be only on apple Jun 05 04:56:44 so i'm kinda seen to see what google come up with, i'm curious if they will move to scala Jun 05 04:56:58 dont think they will... Jun 05 04:57:20 barbs, nice i'll try it out Jun 05 04:57:26 ty Jun 05 04:57:50 whomp: np, let me know how it works out :) Jun 05 04:58:36 g00s: new keyboard API was interesting too Jun 05 04:59:27 bankai_au: but it would be the best if they would Jun 05 04:59:43 move to scala and improve ART Jun 05 04:59:52 and add more testing support Jun 05 04:59:58 this is all what I want ;) Jun 05 05:00:42 what more testing support do you want that doesn't exist? Jun 05 05:02:00 I dont think unit tests should require emulator to be turned on Jun 05 05:03:14 a formal implementation of something like robolectric would be nice, but i'm not sure how technically possible it is Jun 05 05:08:50 well community is doing that Jun 05 05:08:55 so why google cant? ;) Jun 05 05:09:34 well, they implemented appcompat after action bar sherlock Jun 05 05:11:57 hehe, "Yesterday at WWDC, Apple announced that DuckDuckGo will be included as a built-in search option in future versions of Safari on iOS and OS X." Jun 05 05:12:13 i've been using ddg for a while and it seems fine Jun 05 05:12:15 g00s: source? onion ? Jun 05 05:12:26 gordon_ https://duck.co/blog/safari Jun 05 05:14:20 I've read that ddg doesnt help much anyway ;) Jun 05 05:14:53 I should use RMS's script to browsing the internet :D Jun 05 05:27:10 Pretty sure I'm going to release Ascension 2 under a 2-clause BSD license Jun 05 05:44:43 you should go with wtfpl Jun 05 05:53:33 ^ Jun 05 05:54:41 what's that app that forces the screen to stay when usb debugging? Jun 05 05:54:58 it's just a system setting Jun 05 05:55:13 settings->development options->keep screen awake Jun 05 05:55:16 or something like that Jun 05 05:55:29 JesusFreke++ Jun 05 05:55:42 I have it set but the screen still turns off Jun 05 05:58:47 I have an intentservice that sends up a notification each time it's started and finishes it's job Jun 05 05:59:24 but I don't need to create a new notification, I want to update existing one if there is an existing one Jun 05 05:59:38 How do I know if there is an existing one? Jun 05 06:00:20 the android tutorials suggest that i store a member counting the notification number, but my intentservice might die Jun 05 06:02:05 And how would that help anyway, since I will never know whether the notification was dismissed Jun 05 06:20:32 does anyone know how to add query parameters to a Uri object? Jun 05 06:20:39 this seems like there's no good way Jun 05 06:28:06 g00s you know this kind of stuff :P Jun 05 06:28:30 sorry to disturb, can't find help somewhere :P Jun 05 06:35:04 Which timing class I should use if I want to do something (Show ad) every 1 hour since the app was started Jun 05 06:35:32 (I don't care if the app is not visible, only if it runs or not) Jun 05 06:38:18 A, Jun 05 06:38:21 AlarmManager Jun 05 06:42:10 Sicp: but alarm manager will work even though the user will remove my app from the recents apps/ force stop Jun 05 06:42:13 I don't want it Jun 05 06:42:31 I thought you asked for the opposite Jun 05 06:42:34 "dont care" Jun 05 06:43:03 use what you come up with in the Google searches, its the next best thing Jun 05 06:43:32 Service Jun 05 06:43:39 Sicp: because there are handler, timer task, timer, ... Jun 05 06:46:06 if the user explictly kills your app, you should respect that Jun 05 06:47:46 users do bunch of stupid shit Jun 05 06:48:05 like run task killers and give you 1-star reviews when background updates don't work Jun 05 06:50:00 and kill your app when it's showing an app every hour, even when the app isn't visible Jun 05 06:50:27 Leeds, I think yoavst wants to avoid that ;) Jun 05 06:50:54 if someone kills my app, then nothing should happen Jun 05 06:51:02 the event should be canceled Jun 05 06:51:17 that's why I don't want an alarmManager Jun 05 06:51:17 yoavst, use the one that makes most sense for your implementation really Jun 05 06:51:38 handler.postDelayed(new Runnable() { @Override public void run() { CODE } }, 1000 * 60 * 60); Jun 05 06:51:39 Timer, TimerTask and Handler are about equivalent for those use-cases Jun 05 06:51:47 From the app class Jun 05 06:51:57 just remember that handler uses the event loop from the thread you post on Jun 05 06:52:04 so it won't get executed if that thread is blocked Jun 05 06:52:11 and remember to cancel it when user leaves your app Jun 05 06:52:23 in onTerminate? Jun 05 06:52:42 no. Jun 05 06:52:44 on pause. Jun 05 06:53:00 or you'll be killing the battery in the background. Jun 05 06:53:11 But if the user just clicked the home button, the timer should still run Jun 05 06:53:48 I want do anything if it doesn't visible, but I'll save it somewhere so I'll know that the time has passed when the app will be opened again Jun 05 06:53:56 I will* Jun 05 06:54:00 nothing* Jun 05 06:54:01 :( Jun 05 06:54:06 uh Jun 05 06:54:11 why don't you just store time Jun 05 06:54:30 and check time difference at start? instead of running background tasks? Jun 05 06:54:46 but if the user spend hour in my app Jun 05 06:54:53 (lol) Jun 05 06:55:12 but what? Jun 05 06:55:39 start of what? the app? Jun 05 06:56:26 what EXACTLY do you want to check? Jun 05 06:57:18 One hour from the start of the app >> show full screen ad (I forced to do that, not my idea) Jun 05 06:58:07 if the app is hour or more at the background and the user back to the app >> also show full screen ad Jun 05 06:58:43 dispatch it on Handler then. Jun 05 06:59:56 and if the handler will run on the background, the battery life will be fine? Jun 05 07:00:57 of course not. Jun 05 07:02:12 and is there a way to check from the app class if the application is visible? Jun 05 07:02:31 nope. Jun 05 07:07:06 The Google Play store appears to be confused Jun 05 07:07:06 My live wallpaper is #29 in the top paid listings. Jun 05 07:07:06 It's free >_> Jun 05 07:08:35 Nilium: So you should earn money :P Jun 05 07:09:16 I don't think you understand what free means.. Jun 05 07:23:20 Nilium: what wallpaper? Jun 05 07:23:55 squ: This ⇒ https://play.google.com/store/apps/details?id=net.spifftastic.ascension2 Jun 05 07:30:29 Hi all, I need to do alpha testing with my app. I uploaded the apk. Then added myself in a google group and added this group as testers, how can I test this app now? Jun 05 07:31:48 download it off the play store Jun 05 07:34:08 sabton: isn't in play store. Found out that I need to receive an URL to get the test apk, anybody know how long this can take? Jun 05 07:49:20 Ok, now that my app is published, how can I add an expansion file to the test apk? Jun 05 07:57:14 looks like it's possible to upload expansion file by uploading second apk, first apk it's not possible Jun 05 07:57:44 more info: (if you're interested) https://support.google.com/googleplay/android-developer/answer/2481797?hl=en Jun 05 07:57:59 woohoo, published Jun 05 08:25:53 http://cdn.appstorm.net/iphone.appstorm.net/files/2010/10/ipad-display-2.jpg - I have Mac as my main PC, now i need to use a second Android Tablet for touch and split window like shown. IS this doable with Android tablet ? Jun 05 08:26:31 PC 1 is Mac PC, the display is splitter to PC 2 (as Android Tablet, where here iPad is used) Jun 05 08:32:28 Can anyone please confirm ? if that is doable with Android Tablet i want to make sure if it is else, i will move 100% to Mac Jun 05 08:42:41 not without root Jun 05 08:57:59 why is my layoutinflater taking 2 seconds to inflate a listview? Jun 05 09:12:12 Hey all. I'm trying to create a new IME that buffers input and fires a broadcast on ENTER. However I found out that event order is a bit weird: Press Shift, Press A, Press S, Release A, Release S, Release Shift. Howver I get the Release Shift after Release A and before Release S. How come? Jun 05 09:13:15 This does not seem to happen with the default IME, where pShift-pA-pS-rA-rS-rShift yileds AS, and not As Jun 05 09:14:01 If I want to have a layout with a spinner that changes to an EditText if a checkbox in the UI is selected, do I need to have both UI elements generated dynamically in code as opposed to xml? Jun 05 09:14:46 barq: you can have both in xml, one with visibility="gone" Jun 05 09:16:08 And then set both with the same layout_params such that they are in the same location? Jun 05 09:16:38 I am trying to setup parallax on imageview behind gridview (and hiding the actionbar too), the gridview has initial padding and everything works well until I reduce the padding dynamically according to actionbar. Detailed explaination at line 27 http://pastebin.com/97wLcWH0 Jun 05 09:21:27 I dont like getChildAt() Jun 05 09:22:19 I dont know what's wrong, but I dont like that function because you dont know how the system works with onScroll and how it treats the children Jun 05 09:23:04 see Access Gridview Items in O Jun 05 09:23:09 see Access Gridview Items in onScroll() Jun 05 09:23:12 should be a safer way Jun 05 09:30:56 When I am logging everything, all the integers are coming as expected, in both cases when I do and when I dont comment that line. The padding variable is reduced to 0 but never comes back to 96. Anyways, the getChildAt(0) is returning the true(?) zero-th item, not the visible zero-th item, Does recycle effects getChildAt()? Jun 05 09:32:48 And @Sicp, if you remember my last layout, and if you have time, would you mind to comment on this one I plan to make http://i.imgur.com/0FUYyOc.png Jun 05 09:33:13 http://www.openwall.com/lists/oss-security/2014/06/04/9 "we just found a serious vulnerability in the chkrootkit package, which may allow local attackers to gain root access to a box" <---- LOL Jun 05 09:35:17 that's much better man Jun 05 09:35:34 but give each grid a gradient composed of the colors from the original newspaper Jun 05 09:35:46 or some hint of the originating parent color Jun 05 09:36:19 recycle is bound to affect getChildAt Jun 05 09:36:21 Im sure Jun 05 09:36:39 that's why Ive been warned about it in the past, but not sure where its use is ideal Jun 05 09:38:01 Thanks, for the layout tip and gridview tip. I HAVE to complete the project before 10th because I have an exam coming up, need to study C and C++ in 20 days :P Wouldnt certainly rollout this layout in next version :D Jun 05 09:38:14 *would :P Jun 05 09:39:00 just dont show off at school :) Jun 05 09:40:04 its like a Coursera kind of certificate exam to help me get a job in CS/Android industry. I am a Civil Engg :P Jun 05 09:40:21 ohhh ok Jun 05 09:40:42 they've incorporated certs into development? Jun 05 09:40:51 apps should speak for you, not fucking papers Jun 05 09:41:18 I turned down two jobs in the past because they asked for certificate from university Jun 05 09:41:23 while I have my BS and working on MS Jun 05 09:41:30 but fuck that brooo Jun 05 09:41:41 Sicp: cool story Jun 05 09:41:55 * Sicp plays Bon Jovi Jun 05 09:42:17 I've registered an intent-filter for a scheme. How do I get what come after the scheme:// (for example pazam://pazam://?action=gototab&tab=1 >> ?action=gototab&tab=1 or action and tab)? Jun 05 09:43:01 look at registering your own scheme Jun 05 09:43:11 I remember that you can have something like my.dot.com Jun 05 09:43:23 zero idea how but I remember this only Jun 05 09:43:53 http://stackoverflow.com/questions/2448213/how-to-implement-my-very-own-uri-scheme-on-android Jun 05 09:44:39 the first comment in the first answer Jun 05 09:46:16 WantToCode, but you said the exam is C/C++ Jun 05 09:46:16 Sicp: I get everything that start with pazam:// . I just want to get programmatically what was after the pazam:// Jun 05 09:46:24 there's 3 examples there Jun 05 09:46:43 the youtube one.. Jun 05 09:47:02 and.. that's it Jun 05 09:47:14 sorry Jun 05 09:48:35 http://stackoverflow.com/questions/18102528/android-how-to-create-custom-url-scheme-with-the-given-format-myapp-http Jun 05 09:48:51 yoavst: the Activity that gets started with the URI will be able to get it from getIntent().getData() Jun 05 09:49:11 thanks Lachezar, I'll check it Jun 05 09:50:25 @Sicp, the problem is, I went to get a job in CS showing my Java projects I did in last 3 years, they said you dont have any "proof" to show us that you know languages, projects can be "faked". Now I am making apps (to show Java knowledge), and taking exam (to show C/C++ knowledge)...sigh.. Jun 05 09:50:56 that's just 1 company Jun 05 09:51:02 they trust papers instead of work Jun 05 09:51:13 you can try elance.com too Jun 05 09:51:15 very good Jun 05 09:51:39 over there your only proof is the projects you've done in the past Jun 05 09:53:06 nah, tried 4-5 companies. For bigger companies, which boast that they would take knowlege over certificates, their resume screening system kicks me out seeing my degree. For elance, Thanks, I certainly would. This app would make a good porfolio.. :) Jun 05 09:53:54 we belong in startups brooooo Jun 05 09:53:57 fuck joe corporate Jun 05 09:54:25 http://pastebin.com/C3FiezV2 and the address is pazam://?action=gototab&tab=1 . I tried write the uri on chrome and in the stock browser but nothing happend (google search) Jun 05 09:54:33 Thanks a lot for motivation. :) Jun 05 09:59:42 someone? Jun 05 10:00:06 yoavst: You're mixing Intent Filters for Activities with Intent Fitlers for Broadcast. The Browser does *NOT* broadcast, instead it executes an activity with a matching intent filter. Jun 05 10:00:50 yoavst: ... Jun 05 10:01:25 Sicp: this is why code looks like crap? ;) Jun 05 10:01:53 yoavst: Both Activities and Broadcast Receivers have intent filters, but are called differently. Jun 05 10:02:06 ok Jun 05 10:02:46 yoavst: If you want to 'handle' opening these URIs you'll have to create an Activity, not a Broadcast Receiver. Jun 05 10:03:24 what do you mean? Jun 05 10:03:26 what code Jun 05 10:03:33 code bode Jun 05 10:04:57 app code ;) Jun 05 10:05:02 because of startups Jun 05 10:05:51 startups who dont know how to reiterate after MVP, yea Jun 05 10:05:52 lol Jun 05 10:08:12 Lachezar: http://pastebin.com/Q6uPffNd still google search Jun 05 10:09:21 Sicp: i wont ask you to show your code, dont worry Jun 05 10:09:34 just trying to get out of mine pile of crap ;) Jun 05 10:09:52 thing is now I need ton of integration tests Jun 05 10:09:59 to know if nothing is broken ;) Jun 05 10:14:03 Lachezar: ? Jun 05 10:16:06 hey guyz! Jun 05 10:41:58 hi all Jun 05 10:45:34 hi blues-man Jun 05 10:48:41 hi blues-man Jun 05 10:49:46 no! Jun 05 10:53:58 hi blues-man Jun 05 11:08:59 is there a way to get data usage for wifi and data usage for cell? Jun 05 11:16:38 Why can't I get 4.4.3 yet? I have N5 tho Jun 05 11:17:45 or are those all hidden APIs? Jun 05 11:32:38 I would put a slide effect between activities with an actionbar, following this article http://bit.ly/1l89R20 I could get the Main->Sub activity working ok, but what I would do is to have the reverse effect for Sub->Main transaction, I mean sliding from right to left in order to show up again the previous main activity. The article shows an image about shift them to left, how to have not left shifting pull-push slide effect? Jun 05 11:33:19 *I meant sliding from left to right :) Jun 05 11:35:06 not sure guy Jun 05 11:35:21 im back tho, in case you were wondering Jun 05 11:37:11 Is there a way to create Uri (object) from scheme and queries? Jun 05 11:37:52 what do you mean Jun 05 11:39:33 I have a scheme and parameters, and I want to crate a uri Jun 05 11:39:52 I found it - Uri.Builder Jun 05 11:39:59 anyone know of a tutorial which shows how to build the new google play rating dialog? Jun 05 11:55:37 can i use content resolver to swap the position of two items on the list? Jun 05 11:56:13 on the table i mea Jun 05 12:01:07 jvrodrigues: Typically order is defined in another way. You should NOT assume any ordering by default. Jun 05 12:02:46 jvrodrigues: That is: if you want *any* order you *must* specify "sortOrder" with your ContentResolver.query(...) Jun 05 12:03:28 I see Jun 05 12:04:25 jvrodrigues: failing to specify "sortOrder" may lead to same consecutive queries returning the same results in different order. Jun 05 12:17:36 how can i cache an object? Jun 05 12:17:41 can i add it to the shared prefs? Jun 05 12:20:13 jvrodrigues: whats the lifespam on this object? Jun 05 12:20:58 it's basically an array of objects with a set of info and i want to save them when the app is closed and restore them when the app is opened again Jun 05 12:23:52 why not save the info to a content provider? Jun 05 12:24:24 shared preferences can store a string array. You could save serialize your info and save it as such Jun 05 12:24:49 i want to build a player that plays a youtube video (with yt api) but hides the default player and only plays the audio in the background Jun 05 12:25:53 i know the whole api is built around the idea to prevent this (separating audio from video) Jun 05 12:26:02 but there are some apps out there that do this Jun 05 12:26:05 any ideas how that works? Jun 05 12:27:31 you demux content manually and play the audio stream Jun 05 12:27:38 of course, you also burn alot of useless bandwdith Jun 05 12:27:46 and get your API key revoked for violation of YouTube terms. Jun 05 12:34:55 Mavrik: but does it make sense to use the yt api in that case? Jun 05 12:35:03 or just obtain the url for the media stream Jun 05 12:35:07 from the video id Jun 05 12:59:29 anyone here know how to remove the actionBar ListNavigationCallbacks ? Jun 05 13:43:06 Is it possible to unlock the stock lockscreen via a bluetooth device? sending a specific intent with the right permission or something like that? Jun 05 13:55:40 I get the distinct feeling, that KeyEvent.isShiftPressed() and KeyEvent.isCtrlPressed() don't always work. Anything special I need to do to make them work? Jun 05 14:02:00 Is it possible, that CTRL-DELETE (or CTRL-BACKSPACE) is not supported with Android? Jun 05 14:06:26 OH GOD the original Samsung Tab is so slow Jun 05 14:09:40 I am trying to parse XML file with JDOM but I cant seem to grasp on how to do it. This is an example: http://pastebin.com/HKCPruBC . Can somebody please take a look? Jun 05 14:10:48 /greet shreesh Jun 05 14:31:48 what is the diff between fragmentmanager replace and add? When I initially start the activity, do I need add or replace? Jun 05 14:32:34 I'm currently calling it as getFragmentManager().beginTransaction().add(R.id.mediaCaptureContainer, mmlf).commit(); but I have another fragment I want to swap into the activity, without a backstack Jun 05 14:51:33 how can I animation/translate to match an ending position that’s in “dp”, eg, 100dp? Jun 05 14:51:56 “100” in isn’t the same as 100dp in layout.xml it seems. Jun 05 14:54:55 I can't figure out how to set an setting a ImageViews gravity to the bottom of the screen in code. the whole thing is in a framelayout Jun 05 15:02:34 hello Jun 05 15:07:55 vozz, any luck with your adapter? Jun 05 15:10:43 Scorp1us: layouts can contain multiple fragments. add puts another one in, without removing any others. replace does remove the old fragment Jun 05 15:11:00 if there are no fragments, then replace is the same as add Jun 05 15:11:38 ah ok thanks Jun 05 15:11:55 that was the corner case i was not sure about Jun 05 15:16:24 How many (local) broadcasts would be too many? Jun 05 15:17:00 can a contentprovider return bitmap somehow? Jun 05 15:30:15 hi there! Does somebody know whether i need to store a video stream captured from the camera in order to encode it? (thinking in terms of latency...more buffer = higher latency) Jun 05 15:31:21 lets say i have an activity Jun 05 15:31:25 with two fragments Jun 05 15:31:32 say i pass the same object to both fragments Jun 05 15:31:38 if i open fragment 1 Jun 05 15:31:41 and then fragment 2 Jun 05 15:32:00 the changes fragment 1 made to the object should be in the object fragment 2 is using Jun 05 15:32:03 right? Jun 05 15:40:34 kinda depends Jun 05 15:40:42 what's the object Jun 05 15:40:59 if it's a string, (1) gets a new string and (2) keeps the old one Jun 05 15:43:22 hello I want to remount /system to rw Jun 05 15:43:36 on a device, that is not rooted Jun 05 15:43:44 on android 4.4 Jun 05 15:44:09 what do I have to do? Jun 05 15:44:20 I know the mount command Jun 05 15:44:27 but I don't have the rights Jun 05 15:44:41 the permissions Jun 05 15:44:45 any idea about the encoding thing? do i need to implement a buffer? Jun 05 15:45:19 EgonGrenz: #android-root for such things generally, but, short answer: can't be done. You specifically cannot modify the system, it's how it's designed. Jun 05 15:46:53 in android settings there can root users be set in kitkat Jun 05 15:47:50 dragon I decompiled an app and they can do this remount without that the device has to be rooted Jun 05 15:48:02 dragon so it must work somehoe Jun 05 15:48:05 somehow Jun 05 15:48:10 EgonGrenz: #android-root for rooting discussions, this is for appdev. Like I said: It can't be done without rooting your device. Jun 05 15:48:50 dragon: ahm I dont think so Jun 05 15:48:58 because the app surelock can do this Jun 05 15:49:14 I decompiled this app and saw that in the code Jun 05 15:50:41 but could it be that a device dont need to be rooted because on android 4 u can set admins in the settings? Jun 05 15:51:38 #android-root. Jun 05 15:51:47 ok Jun 05 15:53:42 the admin setting in kitkat has nothing to do with root-"admin" Jun 05 16:00:22 If I add a fragment, how does the fragment in the backstack get notification that the added fragment has been removed? Jun 05 16:00:55 (when the added fragment has been dismissed with getActivity().onBackPressed() Jun 05 16:13:43 has anyone tried to run android on an iphone? Jun 05 16:13:51 i assume it'd run smoother than the virtual device Jun 05 16:14:24 not sure if trolling or real.. Jun 05 16:14:49 im serious Jun 05 16:14:54 people have done it Jun 05 16:15:05 im just wondering if there's a chance ill brick my iphone and is it all worth it Jun 05 16:15:18 LighterFluid: could android run well on the iphone arm hw? yes, probably. could you get all the device drivers? probably not. Does apple do everything possible to make it impossible to run unsigned code? Absolutely. Jun 05 16:15:22 why should one want to do it.. Jun 05 16:15:24 cause i dont own an android device and it is getting really frustrating testing my app with the avd Jun 05 16:15:27 If you want an android device, go buy an android device Jun 05 16:15:49 LighterFluid: Genymotion Jun 05 16:15:51 there is absolutely no simple/easy/clean/supported way to run it on iphone hw Jun 05 16:15:53 or virtualbox Jun 05 16:15:57 is faster than light Jun 05 16:16:05 even faster then my nex4 Jun 05 16:16:14 on windows? Jun 05 16:16:40 so what's better between the two? Genymotion or VirtualBox? Jun 05 16:17:34 i think genymotion uses virtual box Jun 05 16:18:54 so its pretty much the same? Jun 05 16:19:23 genymotion is already set up Jun 05 16:19:27 virtualbox is tricky Jun 05 16:19:49 genymotion it is Jun 05 16:19:55 thanks for the input Jun 05 16:25:10 The problem is when genymotion is faster than a device :( Jun 05 16:37:56 What's a good place to store the Facebook SDK? Android-Studio/sdk ? Jun 05 16:39:13 oh it should be in path of the app project apparently ;) Jun 05 16:41:08 well, still not sure Jun 05 16:45:23 what is it? a library project? Jun 05 16:46:18 danijoo: no, an applicatio Jun 05 16:46:20 application Jun 05 16:46:26 i mean fb sdk Jun 05 16:46:43 yes.. Jun 05 16:52:42 danijoo: I am sorry, I got disconnected Jun 05 16:54:22 its a library project Jun 05 16:54:36 so if you are using the gradle-project-layout put it in your project Jun 05 16:54:46 if you dont, you can put it whereeveryou want Jun 05 16:56:19 anyone have anything bad to say about Lombok? Jun 05 16:56:42 it's smelly and I hate it! Jun 05 16:56:57 for realz/ Jun 05 17:06:21 danijoo: I was able to import it just using Import Module, didn't touch any configuration/project file afterwards Jun 05 17:06:32 which I find a bit strange Jun 05 17:25:55 view.animate.alpha(1.0f) doesn't automatically setAlpha(1.0f) when it's finished Jun 05 17:25:59 this cost me an hour Jun 05 17:26:16 darn you chet haase *shakes fist* :D Jun 05 17:30:54 Have anybody used "collect_licenses.py" to collect third-party license report? I am using Eclipse and I dont know Python. Jun 05 17:31:09 The " collect_licenses.py" from I/O app Jun 05 17:33:46 I have an arrayList of JsonObject which i want to sort by a field in the JsonObject. The problem is that the field value is in hebrew. How do I compare hebrew? Jun 05 17:34:08 unicode i guess Jun 05 17:34:20 i.e. code points Jun 05 17:35:22 Is there a method for that, Or i'll have to create one? Jun 05 17:36:20 should be built into java: http://stackoverflow.com/questions/5433027/java-unicode-strings-sorting Jun 05 17:36:23 yoavst: Jun 05 17:37:19 I tried string.compareto and Colleator with Locale.iw Jun 05 17:38:17 I use Collection.sort(mItems, new Comprator Jun 05 17:38:27 is there a simple function to get X random values from a range? I cant call random again and again, because I have to be certain to get X unique numbers. Jun 05 17:40:23 splix: http://stackoverflow.com/a/5807627/1056359 Jun 05 17:43:44 Mango_Man: http://pastebin.com/t5ebHaSA but the ArrayList remain the same. why? Jun 05 17:44:18 will it be slow for a big list, lets say the possible values are between 0 and 1000 and I need 160 indices and for each rearrange the listarray... Jun 05 17:44:59 that is your best way Jun 05 17:50:05 make it a collection and shuffle it Jun 05 17:52:09 trying to use PopupWindow. Getting BadTokenException. I have this: pw.showAtLocation(findViewById(R.id.ll1), Gravity.CENTER, 0, 0); //ll1 is the top level LinearLayout in the calling FragmentActivity class. Jun 05 17:53:38 dragorn: arraylist would be the most efficient to shuffle? Jun 05 18:04:04 Hi, I use Collections.sort(arrayList, Comparator) but it does nothing Jun 05 18:04:08 any idea why? Jun 05 18:04:27 yoavst: it depends on the comperator Jun 05 18:04:32 http://pastebin.com/UXFE07Sc Jun 05 18:04:46 It works on a plain java project Jun 05 18:05:29 that is terrible?! Jun 05 18:05:31 !!! Jun 05 18:05:36 why? Jun 05 18:05:41 why asString.toCharArray?! Jun 05 18:05:47 String.length is a thing Jun 05 18:06:11 why loop?! Jun 05 18:06:43 what are you trying to do here?! Jun 05 18:06:52 why not compare strings?! Jun 05 18:07:10 let's leave how awful it is, why the list is not being changed (in my app here, in plain java project it works fine)? Jun 05 18:07:37 you're returning zero all the time Jun 05 18:07:46 seems like you are just comparing itself to itself? Jun 05 18:08:16 :/ Jun 05 18:08:21 * yoavst is idiot Jun 05 18:18:23 Do I need to include appcompat v7 in my "Open Source Licenses" section? Jun 05 18:20:01 probably not Jun 05 18:20:36 same with play services library? Jun 05 18:25:45 what is LocalServiceActivities? Jun 05 18:25:53 mentioned here: http://developer.android.com/reference/android/app/Service.html Jun 05 18:31:07 I am having trouble with setting up the java quickstart for glass. does anyone have experience? Jun 05 18:33:55 I'm trying to override all webview links so that they open up in the users web browser instead of the web view. hhowever, it just keeps opening it in the webview. My code: http://pastebin.com/hnEVHHhQ Jun 05 18:36:50 qkzoo1978: http://kismetwireless.net/gitweb/?p=android-smarterwifi.git;a=blob_plain;f=SmarterWifiManager/src/main/java/net/kismetwireless/android/smarterwifimanager/MainActivity.java;hb=HEAD search for showAbout Jun 05 18:37:15 qkzoo1978: you have to override via shouldOverrideUrlLoading and spawn an intent Jun 05 18:37:51 I did, peek at my pastebin Jun 05 18:37:55 link Jun 05 18:38:14 you're doing something wrong somewhere then, b/c the code I linked I know works fine Jun 05 18:38:45 hmmm, I'll keep ddigging then, thx Jun 05 18:40:20 qkzoo1978: I notice I'm building a new webview while you're finding an existing one, but I'm not sure why that would make a difference Jun 05 18:41:00 it really shouldnt. Jun 05 18:59:25 hi Jun 05 19:01:36 im coding a wifiscanner app. but im getting sometimes really old networks from the scanresults. how to clear the cache or handle this? Jun 05 19:11:47 when an app has a suggestions feature - what does the clock icon next to an item mean? Jun 05 19:12:30 for example, the item layout is Jun 05 19:13:47 is there a way in android studio to link to a project (not import it) so if linked project gets updated it automatically updates in a project I have a link in? Jun 05 19:17:42 Have any of you people ever had to use photos for your app? I want to but I don't know about copyright, images you find on Google image search that has no copyright on them, that does not mean you can just use them for free right? Someone will come and sue... Jun 05 19:19:00 :splix look for "stock photos" Jun 05 19:19:19 most you have to buy but they are free stock photos Jun 05 19:34:18 is it possible to merge threads? I am trying to run a fileobserver inside a background service but the file observer is being garbage collected Jun 05 19:41:00 hey guys Jun 05 19:42:55 on average, how complicated would it be from the perspective of an average developer to write a somewhat general-purpose sax xml parser? Jun 05 19:45:50 sorry, to parse an xml using sax and create a general purpose mapper to their object Jun 05 19:45:52 s Jun 05 20:30:27 Has anyone done Glass Dev? Jun 05 20:36:08 RichardMorgan, there's a channel for that Jun 05 20:36:10 #googleglass Jun 05 20:36:24 CocoStorm: thanks Jun 05 20:36:28 np Jun 05 20:48:34 Fragment#onStart() should be called *after* onCreateView(), right? Jun 05 20:51:15 to any eclipse users: when i click the logcat button in hte sidepain, why cant it just go maximized straight away? it loads it half screen and then you gotta click the maximize button on that pane Jun 05 20:51:20 so annoying, anyone know a fix? Jun 05 20:52:32 shekibobo: pretty sure oncreateview comes before onstart Jun 05 20:53:27 shekibobo: what are you doing where that isn't the case? Jun 05 20:56:11 is there a debug console where i can run commands after a breakpoint hits? basically gdb for android studio Jun 05 20:56:27 for example, i'd like to change the text of a TextView at runtime Jun 05 20:57:40 well, when I come back from a certain activity, I want to refresh the data that's on the page Jun 05 20:58:01 frankdoyle: part of that i ssetting the adapter on a ViewPager Jun 05 20:58:36 so in onStart, I'm calling reloadActionBar, in which I set viewPager.setAdapter(refreshedAdapter) Jun 05 20:59:09 java.lang.RuntimeException: Unable to resume activity: java.lang.IllegalStateException: Observer android.support.v4.view.ViewPager$PagerObserver@52a3b584 was not registered. Jun 05 21:02:48 hello Jun 05 21:02:58 when is onviewcreated called? Jun 05 21:03:44 Ok, that's not my real question Jun 05 21:03:50 how do i request window feature in a fragment Jun 05 21:25:12 using the documentation from google for scaling a bitmap, why would my result bitmap end up larger than the first decode? Jun 05 21:26:02 can i set up one element's to match another's height in xml? Jun 05 21:26:07 using the methods found here: http://developer.android.com/training/displaying-bitmaps/load-bitmap.html my original size is 1000x1000 my finishing size is 1500x1500 instead of 500x500 Jun 05 21:43:21 awww android 4.4.3 update, how very ... unexciting that was :( Jun 05 21:45:34 what the heck is SearchManager.SUGGEST_COLUMN_ICON_1 Jun 05 21:45:46 why would google put that next to a search suggestion Jun 05 21:46:50 What's wrong with the icon? Jun 05 21:47:15 it's a picture of a clock Jun 05 21:47:21 how does that make any sense? Jun 05 21:47:48 I'm pretty sure that's what shows up on a search from your history Jun 05 21:47:52 yep Jun 05 21:48:00 it's the icon next to suggestions form search history Jun 05 21:48:07 So, a clock would make sense Jun 05 21:49:15 what do you guys mean by a search from your history? Jun 05 21:49:26 like, something you've searched previously Jun 05 21:49:47 oh... Jun 05 21:50:30 i guess that does make sense Jun 05 21:50:37 thanks Mavrik jabza Jun 05 21:50:47 yep! Jun 05 21:53:20 jabza: Mavrik haha, that was cognitive dissonance at its finest Jun 05 22:08:47 so, anyone here build an android app/ roboprog using AIR in flashdevelop? Jun 05 22:09:38 you sound like you're talking adobe Jun 05 22:09:53 well, its both adobe and android Jun 05 22:12:06 so, is using adobe tools bad? Jun 05 22:12:41 or does this chan only support native java stuff? (isnt android sdk based in java?) Jun 05 22:18:40 anyone know anything about START_STICKY and why it isn't calling onStartCommand like it is suppose to? Jun 05 22:20:26 Storyteller a lot of people don't like adobe tools because application performance is pretty bad with those things usually Jun 05 22:21:20 ah, ok Jun 05 22:21:54 Im just doing a little thing that tells me what time it is in the country this chick lives in, so I dont call her at 1am Jun 05 22:22:07 so, a glorified hello world Jun 05 22:22:24 totally for my own use, to like, you know, build an android app Jun 05 22:22:29 help, my sheen is gone Jun 05 22:22:49 if that works, I'll export this starling game Im working on Jun 05 22:23:00 but, I want some practice first Jun 05 22:24:02 Storyteller, are they cool? Jun 05 22:24:27 is what cool? the chick overseas or the game? Jun 05 22:24:40 the stories you tell Jun 05 22:24:51 cuz Im workin on both if you get what I mean..(hurhur) Jun 05 22:25:00 the stories I tell are epic Jun 05 22:25:03 cool story bro Jun 05 22:25:15 ask around in electronics, photogeeks, unity3d etc Jun 05 22:25:37 if I was not in the middle of something, Id tell you one now Jun 05 22:25:53 heh Jun 05 22:26:33 here, Ill link the setting document for the game Im doing atm Jun 05 22:26:50 https://docs.google.com/document/d/16vrNC5VfvkPAIZTvlW6SNuckIo7pxBWZ_XDxNXycGoM/edit?usp=sharing Jun 05 22:33:45 thoughts? Jun 05 22:36:51 My sweep gradient is getting banding on a whole array of devices Jun 05 22:42:47 hey i dont see my other 2 lights after moving to android live wallpaper project? Jun 05 22:58:05 dont know why but i somehow have to think about Dune Storyteller Jun 05 22:58:07 but i like it Jun 05 23:13:32 dune was a bit of an influence, but not a heavy one, desert world, special substance, bout it Jun 05 23:14:00 really, I just wanted to imagine what kind of mineral, would stand in for the classic 'mana stone' Jun 05 23:14:18 and everuything else came from that, Jun 05 23:15:35 tie in a bit of summerian and other primitive cultural creation myths and it just kinda came together Jun 05 23:18:46 Hi all. Got a problem. I'm using a Spinner and a Navigation drawer on a Action Bar. Opening and closing the drawer is causing the spinner's onItemSelected listener to fire as well. I'm trying to counter this. So far the only thing I've been able to do is set a boolean in the drawer's onDrawerOpened / onDrawerClosed method, but this does not work correctly. Jun 05 23:19:04 For GSON to convert an object to JSON I just ned to do "String json = gson.toJson(arenas);" right? arenas is an arraylist of Arena by the way. It has just ints as fields Jun 05 23:19:07 So questions are: Why is this happening in the first place, and second, what should / could I do to combat this? Jun 05 23:20:36 GEEGEEGEE: yes, that should be fine Jun 05 23:22:01 jjnye, Im just getting [{}] as an output though :/ Jun 05 23:22:43 I was thinking of setting a onItemClickListener on the spinner as well, so that I register when I hit the spinner, or when I hit the navigation drawer, but this seems like a work-around, rather than the solution Jun 05 23:22:57 GEEGEEGEE: and you're certain your arraylist has items in it? Jun 05 23:23:07 Alright, my app is now open source. Woo. Jun 05 23:23:10 * Nilium goes back to doing other things. Jun 05 23:23:40 ThomQ: I believe that like checkboxes, the setup fires the selected event Jun 05 23:24:01 could you elaborate? what setup do you mean? Jun 05 23:24:11 setting the initial state Jun 05 23:24:27 fires the selected (or on checkboxes, the oncheckchanges) Jun 05 23:25:19 Yeah, sort of. On first setup the onitemselected listeners get fired too. But also when the nav drawer Opens, and when it closes Jun 05 23:25:35 with the nav drawer open, it isn't in it's initial state Jun 05 23:27:11 also, i'm using 2 different OnItemSelected methods (the 'embedded' ones.. spinner.setOnItemSelectedListener(){ ), instead of implementing AdapterView.OnItemSelectedListener Jun 05 23:27:19 Hey guys. Got a funky problem. I have a gridview and I'm trying to adjust the size of the contents so that they fit nicely onto the screen Jun 05 23:27:47 so for example, suppose I detect that I can nicely fit 2 rows onto the screen. I then find the size of each item and the margins to fill the space evenly. So far, so good Jun 05 23:28:10 problem is the contents of each grid cell should maintain their aspect ratio. So I need to also adjust the row heights Jun 05 23:28:18 which turns out to be quite a problem Jun 05 23:35:29 Nilium: thanks Jun 05 23:37:36 can u see your 'desktop' in 'landscape' mode? Jun 05 23:50:12 the new york rangers are doing good Jun 05 23:50:18 Hm, changed my mind. Jun 05 23:50:18 Too paranoid about letting my baby be open source. Jun 05 23:50:28 I'd rather rewrite version 3.0 and have that be open source from the get-go. Jun 05 23:50:51 dont be an indian giver Jun 05 23:51:28 I don't think it's a gift. Jun 05 23:52:03 Either way, I'm just not comfortable with making it open source. There's too much crap in there that I haven't vetted and don't really want out there. Jun 05 23:53:08 It's easy to be critical of the decision when you're not the one making it, anyway, so I'll give you that. Jun 05 23:53:36 jesus would do it Jun 05 23:55:23 He's also dead. Jun 05 23:56:32 Quick! What is the only word in the english dictionary that has 5 consecutive vowels? Jun 05 23:57:13 Nilium: Nuh uh! He rose from the grave, never to die again. Jun 05 23:57:38 jesus is alive like johnny-5 Jun 05 23:58:26 Jun 05 23:58:34 QUEUEING Jun 05 23:58:53 correct, nick9998 Jun 05 23:59:00 It's a good word. Jun 05 23:59:35 i'm good aat googling Jun 05 23:59:47 and speeling Jun 06 00:00:02 pasting, not so much Jun 06 00:08:35 I think I already know the answer to this but...there is no way in code for me to change the default values of a layout, right? For example, the way I can have android:layout_height="@dimen/blah" Jun 06 00:08:48 can I change @dimen/blah at runtime before inflating that view? Jun 06 00:32:56 i want to close out of the keyboard, no matter where i am in my app. my app which is one activity with lots of fragments. in my activity's onPause i have final InputMethodManager imm = (InputMethodManager) getSystemService(Context.INPUT_METHOD_SERVICE); imm.hideSoftInputFromWindow(this.getVisibleFragment().getView().getWindowToken(), 0); Jun 06 00:33:23 however, this isn't working. when i hit the home button with the keyboard up and then i go back into the app, the keyboard is still up Jun 06 00:33:26 any ideas? Jun 06 00:35:10 Hello, I'm looking for the instruction set manual for Android processors. Jun 06 00:37:55 erm... there's no such thing as an Android processor Jun 06 00:39:55 Bitwise, afaik each processor can handle the jvm in its own way, and there are lots of processors out there running android Jun 06 00:40:04 ARMv7 is my personal fav Jun 06 00:40:20 Android also doesn't have a jvm, as such Jun 06 00:40:40 i would give the people who run on android on x86 a straw. Jun 06 00:42:20 and there are probably still some MIPS oddballs out there... Jun 06 00:42:44 Leeds, nick9998, any ideas on my question? Jun 06 00:43:25 whomp: whats the question Jun 06 00:43:37 see above bitwise's question Jun 06 00:43:40 nick9998, ^ Jun 06 00:44:05 search for the ARMv7 instruction set Jun 06 00:44:10 and then get GAS Jun 06 00:44:49 maybe it comes with the NDK not sure Jun 06 00:46:11 hope this helps, please rate this answer on a scale of 12 - 47 , 12 being not helpful at all ,33 being overly helpful, and 208 being somewhat helpful Jun 06 00:46:23 nick9998, you see it? Jun 06 00:46:37 that code comes right before super.onPause() is called, so it's the first thing that gets called Jun 06 00:47:16 12 it is then Jun 06 00:48:04 whomp: you can hide keyboard from android manifest.xml Jun 06 00:52:37 anyone here want to buy a hercule RMX DJ Midi Controller ? -- so good! Jun 06 01:04:58 nick9998, awesome! Jun 06 01:05:07 ty Jun 06 01:42:51 K, last n00bie question for the night. So, I'm adding a Fragment to my activity, with a smooth in and out animation. How would I use the back button to remove the fragment using the animation? Jun 06 01:49:22 ThomQ: either catch the back button in your activity and swap it, managing your own stack, or use the fragment backstack which will unroll with the same transaction animations as I recall Jun 06 01:50:00 yeah, i'm already using the latter function Jun 06 01:50:12 so I'm not setting the in and out animation correctly probably Jun 06 01:50:14 lemme check Jun 06 01:52:16 yeahhh thanks Jun 06 01:52:31 well, that's small problem / bug nr.13 fixed tonight Jun 06 01:53:56 so also in my experience, the built in backstack is pretty awful Jun 06 01:54:09 but may work fine for you for your purposes Jun 06 01:54:21 i had trouble once i started needing dialogfragments or similar Jun 06 01:54:35 yeah, got a pretty easy framework luckily Jun 06 01:54:52 just 2 / 3 normal fragments Jun 06 02:26:23 Anyone around that can provide some assistance with SH files extracting tar to data directory path on rockchip 3188 devices? Jun 06 02:29:17 B_D_F: try #android-root, this is an appdev channel Jun 06 02:32:06 Will do dragorn , thanks. **** ENDING LOGGING AT Fri Jun 06 03:00:00 2014