**** BEGIN LOGGING AT Sun May 25 02:59:59 2014 May 25 03:03:03 well it seems that the web view doesn't ignore null data May 25 03:03:14 so shit like this was stoping the rest of the code from eexetuting May 25 03:03:17 anyway to stop that? May 25 03:03:37 le﹕ Uncaught ReferenceError: data is not defined:99 May 25 03:03:54 : Cannot call method 'getItem' of null:98 when trying to read a localStorage variable May 25 03:05:21 check if the variable is null before making the method call May 25 03:12:26 i think it was falling on the localsotrage May 25 03:12:40 cause of the web view not having it enabled it was like ok were done May 25 03:13:15 u guys know anything about dealing directly with the camera api and fixing the orientation issues with image preview stuff looks complicated May 25 03:14:32 btw android studio is zoo much better than eclipse … i can actually multi task with it where eclipse would bog the whole system down May 25 03:18:22 yeh for sure May 25 03:18:55 the autocomplete also is better May 25 03:20:26 does anyone know if it's possible to cast video from one android device to another using the media router? May 25 03:20:34 seen this: http://blog.jetbrains.com/idea/files/2014/03/multiple_selections.gif ? coming in the next version (i assume) May 25 03:21:33 or more generally i'd like to stream video between two android devices over wifi p2p May 25 03:22:26 bankai_au there has been a few times in php i have wanted to do just that lol May 25 03:23:28 i also just switched over to phpstorm which is basically the same thing as android studio … btw they have linux version of all this right? cause I'm thinking of getting a PC laptop next time around instead of a mac May 25 03:23:42 i can do 32GB of ram on asus laptop … and run debian :) May 25 03:24:32 "pc laptop" and "mac" are essentially the same thing, not sure why people think there's such a huge difference May 25 03:25:30 on pc you can sometimes get normal keyb layout May 25 03:25:31 * p_l ducks May 25 03:25:50 i can't run os X natively on a pc May 25 03:25:55 thats what i meajn May 25 03:26:08 without going to the mackintosh route … or can u do that now May 25 03:26:09 ? May 25 03:26:11 yeah you can, just gotta hack 'er up a bit May 25 03:26:25 yea i like to be able to upgrade the OS without it bricking lol May 25 03:26:34 i used to run a mackintosh a few years ago May 25 03:26:38 hackintosh* May 25 03:27:33 surface has been the first PC hardware that i've been interested in for years May 25 03:27:54 oh you poor thing :( May 25 03:27:56 I got my hackintosh to run in a VM, and accept VNC connections, but then it got better. May 25 03:27:57 i'm pretty cranky these days though May 25 03:28:00 i hate everything May 25 03:28:12 we've noticed, buddy :P May 25 03:28:17 XD May 25 03:28:24 Fenny thats why i might go the PC route so i can just emulate... May 25 03:28:24 it being the fever that made me crazy enough to think that I needed a macOS. ;P May 25 03:28:49 i rather just run linux and emulate Windows and Mac at the same time with 32GB of ram hehehe May 25 03:29:09 btw whats the compatibility like on WebChromeClient? will it works all the way back on androiid 2.2? May 25 03:29:16 i got the impression hackintoshes were becoming more and more a pain to do May 25 03:29:24 doesn't seem worth it May 25 03:29:46 g00s: when you don't care about 2D/3D acceleration, they are bloody simple May 25 03:30:01 EFI emulation makes it not completely terrible, but maybe it got hard again. May 25 03:30:09 yea when u need a laptop with more than 16GB of ram u start to think... May 25 03:30:12 for reasons that make me suspect that VMware is tacitly helping May 25 03:30:13 * Fenny That's what she said. May 25 03:30:24 p_l :D May 25 03:30:25 theres a hack on vmware to get it working... May 25 03:30:28 of course.. hehe May 25 03:31:39 that's why I suspect vmware to silently help the case, because the hack is very small, which suggests that they build *all* vmware versions with Mac hw emulation, then just change one 'if' statement if it's not built as ESXi or Fusion May 25 03:32:32 Wait... Maco's runs under ESX? May 25 03:33:16 yes May 25 03:33:27 its for the server version... May 25 03:33:40 Fenny: with no changes or anything, there's even darwin.iso with VMware tools May 25 03:34:36 ahh, will xcode run on the server version? May 25 03:34:49 hell yea May 25 03:35:56 phpstorm with sublime theme … i am in love May 25 03:35:59 Well that makes life a lot easier. I have an esx server at home. :D May 25 03:36:18 * Fenny is going to start writing code for iO'S May 25 03:36:34 i can't get my head around objective C May 25 03:36:59 Fenny: it runs May 25 03:37:22 when I had to deal with iOS, I did it through VMware May 25 03:37:30 I was looking at OBJC at first and thinking WTF is up with all these arrays. May 25 03:38:02 hahah! May 25 03:38:11 its weird man May 25 03:38:20 Oh the days before I knew that they abuse square brackets. ;O May 25 03:38:30 hm, a debate about hamburgers today https://news.ycombinator.com/item?id=7794505 May 25 03:38:36 hamburger menus :) May 25 03:39:02 whats a hamburger menu? May 25 03:39:53 i guess google+ is useful once in a while; i thought roman's addition was interesting https://i.imgur.com/gF7TpEU.jpg May 25 03:40:33 i just put one in my app, not sure if i like it or nor May 25 03:40:37 *not May 25 03:44:49 Do I have to declare a permission to query if a certain hardware feature exists? May 25 03:49:12 is there an overflow menu style i can apply to a button, or do i have to grab the drawables myself May 25 03:51:30 hmm actionOverflowButtonStyle May 25 04:08:30 if i have a system defined style that has maybe 10 items, is there a way to just reference one of them ? May 25 04:09:20 for example, i just want the src attribute from Widget.Holo.ActionButton.Overflow May 25 04:30:42 hm, i think i'm going to pick up a lumia 521 for $69 May 25 04:31:15 probably so cheap since the 530 will be out any moment; will be interesting to see 530 vs moto e May 25 05:01:17 do you know how I can change the font settings for the bottom windows in Android Studio May 25 05:01:21 here is what I see now: May 25 05:01:21 http://picpaste.com/pics/androidstudio-wnD3pFDe.1400994009.png May 25 05:02:00 very ugly and unreadable, I don't know how I got to that May 25 05:03:44 danieleB prefs -> editor -> colors & fonts -> console font May 25 05:03:54 oh nevermind, after reboot everything came back normal May 25 05:04:00 g00s, thanks! May 25 05:26:00 Hi. Is anybody familiar with the error about sdl wrapper not being able to be imported? May 25 06:03:12 jennifer: copy the error message you're getting May 25 06:03:43 thon (10978): [WARNING ] [WinPygame ] SDL wrapper failed to import! May 25 06:03:54 python (10978): [CRITICAL ] [Window ] Unable to find any valuable Window provider at all! May 25 06:04:45 jennifer not many people here using python on android May 25 06:05:17 Cause they ain't pro like me. May 25 06:05:22 Just kidding.. I realize that. May 25 06:05:35 hello all May 25 06:06:00 hey QubeZ May 25 06:06:11 I'm trying to get a compass heading/orientation and my code wont compile because it says that the variables gravity/geomagnetic might not be initialized: http://pastebin.com/yN7hAcaa May 25 06:06:23 i dont understand why not since I would be getting it in the switch/case right? May 25 06:07:37 better init them to null ;) May 25 06:07:47 I do then they stay nulls May 25 06:08:00 O.o May 25 06:08:26 well, better put a default clause in the switch - maybe none of the cases are firing May 25 06:09:13 oh, and clone() ? May 25 06:10:28 use System.arrayCopy or something May 25 06:11:25 hmm May 25 06:15:35 i seem to be getting unsuccessful on my boolean success ends up being false May 25 06:15:53 g00s: appcode 3.0 -- very nice May 25 06:16:07 bankai_au :) May 25 06:24:21 hm , gmail still portrait only eh ? May 25 06:24:35 i see manage labels, but no way to add them thats obvious May 25 06:25:18 amazing May 25 06:30:14 oops hat rotation locked May 25 06:31:11 need help using your device? May 25 06:31:25 bankai_au ya! know how to add a label in gmail ? May 25 06:34:58 looks like i can only do it via web interface, oh well. i have a similar UI scenario and wanted to see how they handled it May 25 06:43:47 bankai_au i need help using my device ! if there is an action bar icon and i have no idea wth it does, how can i find out :) gmail has like 5 icons when reading an email, none of them except trash can mean anything to me May 25 06:45:06 i wasn't offering assistance... May 25 06:45:15 oh man ,,, May 25 06:46:02 :) heh - gmail ... I've read about that May 25 06:46:13 i think i'm going to try fastmail May 25 06:46:31 K9 mail here ... tied to my ISP mail May 25 06:47:02 so, i'm poking the gmail UI. i read a message. the first icon is a box with a down arrow, /how the fuck/ is anyone supposed to know thats 'Archives' ? May 25 06:47:28 "discoverability" ... though are a cruel bitch :( May 25 06:47:37 really, whats amazing, is that alan cooper said "don't do that shit" like 10 years ago May 25 06:47:46 all these hipster UX idiots May 25 06:48:03 Titanium Backup confused the hell out of me for a whil May 25 06:48:09 *while May 25 06:49:45 there should be an option in the UI : icons, text, text + icons May 25 06:50:20 can't wait until this generation of touch interfaces goes up in flames May 25 06:51:46 :O That doesn't sound like you g00s ! May 25 06:53:12 capella yeah, we're kinda in this chasm between WIMP and touch 1.0 May 25 06:53:22 great book btw http://www.amazon.com/Brave-NUI-World-Designing-Interfaces/dp/0123822319 May 25 06:59:14 capella if i long press an action bar item a toast like thingy shows up, but its under my finger :) May 25 06:59:44 ah the new "hint" thing? We're putting that into FF Mobile May 25 06:59:50 long-press for hint May 25 07:00:07 is that a system-ui feature ? May 25 07:00:19 like, i just need to put desciption in menu.xml or something ? May 25 07:08:10 (trying to teach someone on #android-root what little I know) May 25 07:08:11 long-press hint is a new standard I think May 25 07:08:34 capella see it in the design guidelines ? May 25 07:08:56 long press hint? wow, never heard that before May 25 07:09:32 didnt catch the thing, I think we do a positionable toast May 25 07:11:30 this callout thingy seems toast like, disappears after a few seconds May 25 07:44:12 I'm trying to fing out how to use zipalign when building with unity3d, or whether I need to. Is it included in the current ADK? May 25 08:06:30 Right. Using latest android studio version for linux (running ubuntu 14.04). There's a small (but quite annoying) bug with the cursor. It doesnt register on the tip of the cursor but instead it's the bottom. So you never hit the correct item in a list. May 25 08:07:10 hi, what would be the fastest/best way to draw bitmap image if i get array of RGB values for each pixel from NDK library? May 25 08:08:39 at least in the menus in android studio. hm weird and confusing May 25 09:10:04 anyone knows what's this symbol "flash" instead of the letter "C" next to a class? May 25 09:10:05 http://picpaste.com/pics/android-studio-9mYOuOAi.1401008960.png May 25 10:10:37 is there a way to limit an app to one device? May 25 10:12:18 google for identifiying device, there is an android-id you could maybe use, but of course someone with "malicious" intents, can change this in the binary May 25 10:13:00 MohammadAG, you can implement licensing such that it can only be _used_ on one device May 25 10:13:18 however, if you distribute via Google Play it still can be installed on multiple devices May 25 10:14:04 I guess that was misunderstood May 25 10:14:16 ...to one device model May 25 10:14:40 you can setup the allowed devices in google play thats possible May 25 10:14:51 My app will only be compatible with the HTC One (M8), the only way I know to do it is to manually exclude all devices May 25 10:15:09 which is a lot May 25 10:15:26 but you have to do it only once^^ btw what is it that only the M8 can do? May 25 10:15:33 Dot View May 25 10:15:41 well, no, not once May 25 10:15:49 every time a manufacturer releases a new 4.4 update May 25 10:24:13 MohammadAG, http://stackoverflow.com/a/18638583 might help you to automate the process of disabling devices May 25 10:33:47 hello everybody May 25 11:14:18 Could anyone tell me what a position might be titled that supports the developers by packaging the apps and submitting them to the market places, tracking customer feedback and translating customer requests to practical changes in an app, prioritizing the development backlog, etc... Anyone familiar with positions like this within an app team? May 25 11:14:49 EPG that did it, thanks May 25 11:34:47 hey, I was wondering if someone could give me a tiny bit of help with cursors/databases May 25 11:35:21 I have a column called favourite, if it's set to 1 I'd like those rows to return first May 25 11:35:24 Using database.query May 25 11:35:39 Or I was hoping to be able to concatenate two database.query() values ? May 25 11:42:22 just use ORDER BY favourite DESC? May 25 11:43:21 there's a way to stick the order by clause in using the SQL wrapper functions, but i'm pretty fond of rawQuery() May 25 11:43:58 Hi guys my Request RPM on admob goes on decreasing with only 0.14 now, why is this the case? please help why can i increase thing value? May 25 12:18:07 I made a test program with menu, I want that the menu shows its items with icons but it shows the items without icons. this is the Java code http://pastebin.geany.org/irXFw/ and menu1.xml code http://pastebin.geany.org/ZHg81/. The name icons is facebook.png and youtube.png. The icons size is 48x48 and it is in the drawable-mdpi archive. May 25 12:31:17 Items in the overflow menu doesn't show icons May 25 12:31:51 Also, icons should be 32x32dp May 25 12:32:13 48x48px would be hdpi icons May 25 12:39:09 hi, anyone knows its possible to build the calendar app from source: May 25 12:39:11 https://github.com/android/platform_packages_apps_calendar/ May 25 12:44:32 ok SimonVT thank you. I will test that May 25 13:17:13 hhm, i installed the "android sources" update (aosp) May 25 13:17:28 how do i use it (where is it?) May 25 13:19:28 this is what i did: May 25 13:19:28 http://www.androidpolice.com/2011/12/22/gold-for-android-developers-add-aosp-source-code-to-eclipse-with-the-android-sources-plugin/ May 25 13:35:24 BulleTTime: you can always look at grepcode May 25 14:22:18 any help pls? https://gist.github.com/anonymous/ee55a98cd856cb9d43af May 25 14:24:32 @mylord http://stackoverflow.com/questions/11496099/android-view-windowmanagerbadtokenexception-popup-window-on-activity-start May 25 14:25:29 @mylord or this : http://stackoverflow.com/questions/11932578/can-android-popupwindow-show-another-popupwindow May 25 14:27:31 Shouldn't you be passing the popupView instead or that button? May 25 14:42:16 If i have ScheduledExecutorService, whould I stop it when the app is inactive or only when I close it out completely? May 25 14:57:00 man this is perplexing May 25 14:57:39 I've made a list view with a custom array adapter, inside the adapter I've implemented touchListener to be able to complete the implementation of Google's Swipe-to-delete functionality on each of the rows May 25 14:57:50 and inside the activity, I've set onItemClick listener for each of the items May 25 14:58:12 the touch listener for the swipe is naturally overriding the onItemClick listener and therefore I can only swipe and cannot touch once May 25 14:58:29 I want both! May 25 14:58:44 swiping does something, and touching once does something else May 25 14:59:53 I have a TextToSpeech.onUtteranceProgressListener problem, onDone() doesn't get called when done speaking, but once TTS.stop() is called. I'm setting a KEY_PARAM_UTTERANCE_ID in the speak() call, and I've tried setting the listener both in TTS.onInit() and immediately prior to calling speak() May 25 15:08:58 crap, no one knows something about the aosp plugin ? May 25 15:12:20 Hi guys, do you use android annotation? I found it today it looks amazing but was just thinking how widely is it use May 25 15:12:40 I am talking about https://github.com/excilys/androidannotations/wiki May 25 15:13:12 so many questions, so little answers May 25 15:14:52 hi all, i have a rather noobish question i'm afraid; google earth is crashing consistently on my device, even after uninstall/reinstall, wiping caches, etc. i got some basic info out of logcat and i can see the process in eclipse's ddms perspective, but i haven't managed to attach to it to get a proper backtrace. anyone have insight? May 25 15:21:42 יקט May 25 15:21:47 *hey May 25 15:21:52 i've a problem updating the ADT May 25 15:21:57 http://pastebin.com/v6ZE4t0d May 25 15:24:24 anyone? May 25 15:24:26 please? May 25 15:25:04 wait May 25 15:25:26 well May 25 15:25:32 your ide is problem :D May 25 15:26:35 gordon_: what do you mean? May 25 15:26:51 can you ping that domain ? May 25 15:26:55 and use intellij :P May 25 15:26:59 problem solved May 25 15:27:10 intelliJ or Android Studio? May 25 15:27:23 ping what domain? May 25 15:28:39 i downloaded this ADT from Google official site... May 25 15:30:44 עםר? May 25 15:30:50 damn it, gordon_ May 25 15:39:10 ? May 25 15:40:19 hebrEW May 25 15:40:45 hello, so i added a zip with sources as attachment to android.jar, how do i compile it?? May 25 15:41:02 man what are these in-the-air questions May 25 15:41:15 "I downloaded Android, Im trying to build Whatsapp, how?" May 25 15:41:27 any good question must be at least more than 2 lines long May 25 15:41:54 Sicp: can you answer my question? May 25 15:42:10 I didn't even look at the link because Im not in answer-mode, working May 25 15:42:19 :( May 25 15:42:20 but for it to be answered, Im saying it should be more descriptive May 25 15:42:32 the less effort the reader has to make to get the question, the more eager they will be to answer May 25 15:42:43 just saying May 25 15:45:46 hi all, i have a rather noobish question i'm afraid; google earth is crashing consistently on my device, even after uninstall/reinstall, wiping caches, etc. i got some basic info out of logcat and i can see the process in eclipse's ddms perspective, but i haven't managed to attach to it to get a proper backtrace. anyone have insight? May 25 15:45:47 Sicp: who you talking to? May 25 15:46:00 any asker May 25 15:46:13 Sicp: three sentences. answer pls kthxbai May 25 15:46:14 :p May 25 15:46:21 yea like jlf May 25 15:46:27 alas, it is not android dev related May 25 15:46:39 you just happened to used android dev tools to fix it May 25 15:46:48 I'd ask in #android May 25 15:47:06 oh, sorry.. i thought dev tools questions were in scope here. i'll try there. May 25 15:47:40 yes, when they are used with android dev code May 25 15:47:59 ok, sorry for the noise May 25 16:11:33 anyone here uses android studio? May 25 16:18:21 man, ios apps are much better designed than android May 25 16:18:26 it pains me to say it May 25 16:20:33 Hello May 25 16:20:41 I am Japanese May 25 16:20:48 I live in Japan May 25 16:21:37 I am an Android developer May 25 16:22:13 my Android apps May 25 16:22:34 https://play.google.com/store/apps/developer?id=licks May 25 16:22:42 I have a TextToSpeech.onUtteranceProgressListener problem, onDone() doesn't get called when done speaking, but once TTS.stop() is called. I'm setting a KEY_PARAM_UTTERANCE_ID in the speak() call, and I've tried setting the listener both in TTS.onInit() and immediately prior to calling speak() May 25 16:22:43 Please to not advertise your apps May 25 16:24:36 SimonVT: i think he's establishing credibility May 25 16:24:42 licksjp: we stand in awe May 25 16:25:01 I think you found the reason ios apps are better designed May 25 16:25:27 funkbox: hello May 25 16:25:41 SimonVT: even big name apps May 25 16:25:46 funkbox: what is awe means? May 25 16:30:52 heya guys, I'm mocking up a revamp of an existing app (tasker). Would anyone with design experience check it out and tell me if it looks good to them? Thanks! :) http://ninjamock.com/s/ujvzvn May 25 16:32:27 Aerobit: what does it do? May 25 16:32:32 funkbox: You know Tasker? May 25 16:32:50 It basically allows you to make your phone do things when certain things happen; Kinda like IFTTT May 25 16:32:52 so like IFFTT ? May 25 16:32:54 yeah May 25 16:32:55 oaky May 25 16:33:07 It's an existing app though, but it's really hard to use ATM May 25 16:33:18 shouldn't the focus be on a task ? May 25 16:33:38 for something like that i generally start with "i want x done when this and this and this" May 25 16:34:01 hmmm May 25 16:34:05 that sounds good May 25 16:34:09 I'll take that into consideration May 25 16:34:31 a condition by itself isn't really useful, and i really don't see a way how you'll show users what will happen May 25 16:34:31 so instead of "if this then that" do "do this when that" May 25 16:34:38 smart. May 25 16:34:59 and i'd get rid of editing contexts outside of tasks May 25 16:35:01 it's cofusing May 25 16:35:04 I'm gonna remove conditions entirely then May 25 16:35:11 merge it into triggers May 25 16:35:19 funkbox: Where do u live in ur country? May 25 16:37:01 funkbox: the one problem then is that you can't reuse conditions; what if I want to do 2 seperate tasks when I'm at home? May 25 16:41:42 is there any way to work around the slowness of calling requestLayout() in a scale animation? May 25 16:45:25 argh, why does the honeycomb animation API not animate the container? what the heck May 25 16:46:48 ooh, LayoutTransition seems relevant May 25 16:47:16 hi May 25 16:48:13 i have this layout http://pastebin.com/R6UVriCS why my LinearLayout android:id="@+id/lyt_ad_view" is not showed? May 25 16:50:33 scrollview? May 25 16:52:04 t0th_-: move that linearlayout above your listview and see if it shows u May 25 16:52:06 *up May 25 16:52:19 yes May 25 16:52:21 it showed May 25 16:52:24 if i put before May 25 16:52:32 *above May 25 16:52:58 t0th_-: it's your listview then. wrap_content is taking up the rest of the height May 25 16:54:11 If I am creating a theme with min sdk 10 and appcompat v7, Do I need to make the parent "Theme.AppCompat.Light" in values-v11 too or I can use "Theme.Holo.Light"? May 25 16:54:42 nothing May 25 16:54:56 t0th_-: try layout weights May 25 16:56:41 WantToCode: you can use Theme.Holo.Light May 25 16:56:47 WantToCode: http://developer.android.com/guide/topics/ui/themes.html#ApplyATheme May 25 16:59:53 Mango_Man: Thanks. I was confused because for appcompat it was "@style/...." and for v-11 it was "@android:style/...". I read that I cannot use "android" namespace at many places when using compat library. I re-read and understand now when to use and when not to. Thanks May 25 17:00:38 high, i'm having three *.9.png files in my Launcher2.apk, that are either only 1px high or 1px wide... what could that mean? May 25 17:00:50 messed up by motorola? k, the device is a Moto G, stock 4.3 firmware... May 25 17:01:20 Log.i(TAG, "i");Log.d(TAG, "d");Log.w(TAG, "w");Log.e(TAG, "e"); <-- no filters and any log level on android studio, and d or i never show up in logcat.. any ideas? May 25 17:01:58 OxFEEDBACC: those are 9 patch drawables May 25 17:02:36 Zalabinsky: is your device selected? May 25 17:03:01 Mango_Man, but shouldn't be nine patches at least 3 px in each dimension? May 25 17:04:16 OxFEEDBACC: probably, i haven't tried it May 25 17:04:18 Mango_Man hmm i remember such dropdown, but i don't see it anywhere now May 25 17:04:41 ok found it May 25 17:04:49 ya it's selected May 25 17:04:54 oh yeah, thanks for giving hints about things you don't know... May 25 17:05:15 np May 25 17:06:17 Zalabinsky: hmm that's happened to me before. i don't remember what fixes it, it just magically reappears May 25 17:06:59 there's a button "restore device view" under some of the views May 25 17:07:24 but this log prob i've had since beginning May 25 17:07:40 multiple astudio versions May 25 17:07:46 that's weird May 25 17:07:47 d/i never showed up May 25 17:07:57 I have a TextToSpeech.onUtteranceProgressListener problem, onDone() doesn't get called when done speaking, but once TTS.stop() is called. I'm setting a KEY_PARAM_UTTERANCE_ID in the speak() call, and I've tried setting the listener both in TTS.onInit() and immediately prior to calling speak() May 25 17:08:09 it must be some simple setting i've just messed up somehow May 25 17:09:29 Zalabinsky: maybe clear your filter? if something's there May 25 17:09:37 eh, i guess you tried that already May 25 17:09:38 ya i did that May 25 17:09:57 no filter whatsoever, getting spammed by android internal stuff May 25 17:10:17 take a screenshot and paste it here, maybe there's something i can spot May 25 17:10:27 hey ppl May 25 17:10:48 please could someone explain what this guys means with "out" directory : May 25 17:10:48 http://iserveandroid.blogspot.nl/2010/12/how-to-compile-launcher-calendar-or-any.html May 25 17:12:53 BulleTTime: the out directory is where your compiled files end up May 25 17:19:29 Mango_Man http://i.imgur.com/79V3Xkz.png May 25 17:19:48 anyone knows?? May 25 17:19:55 please look at the link someone :S May 25 17:21:34 BulleTTime: I answered it May 25 17:21:39 it's where your compileed files are May 25 17:21:47 Zalabinsky: i don't see anything wrong. have you tried this? http://stackoverflow.com/a/14939182/1112407 May 25 17:21:57 if your base dir is /home/BulleTTime/src/android May 25 17:22:00 then your out dir is May 25 17:22:10 /home/BulleTTime/src/android/out May 25 17:25:38 Aerobit, this means i have to compile android i think? May 25 17:26:40 can this be done on windows? May 25 17:27:39 uh May 25 17:27:40 yeah May 25 17:27:49 are you following the instructions on the site you linked? May 25 17:28:10 you need to download the entire sdk btw May 25 17:28:28 yeah damn May 25 17:28:47 basicly i downloaded the android source May 25 17:29:07 i want to build the calendar app, but android.jar does not have the calendar api May 25 17:29:07 well yeah May 25 17:29:16 Mango_Man same stuff on commandline May 25 17:29:50 i just need that jar i suppose May 25 17:29:54 what's weird is that it's been like this since the very first android studio install May 25 17:31:54 Zalabinsky: how have you been debugging your apps? May 25 17:32:09 yeah May 25 17:32:21 trying to build using cli, but "ant debug" gives me errors from build.xml and seems like a not so rare problem May 25 17:32:26 anyone know a solution? May 25 17:35:03 AVD error on wheezy => "error libGL.so: cannot open shared object file: No such file or directory" May 25 17:35:32 what package should I install? looks like my options are libgl1-mesa-swx11-dev or libgl1-mesa-glx May 25 17:36:13 cybrNaut: .so is a compiled file, afaik. the -dev package is usually sources; i'd reccomend going for the -glx one May 25 17:36:49 I am facing error " No such file or directory. compilation terminated" on ndk-build. I have included static library "*.a" and used LOCAL_EXPORT_C_INCLUDES in the static module declaration of Android.mk. And LOAD_STATIC_LIBRARY in the the module which is utilizing the library present in prebuilt static library (verified using ar). Any help? May 25 17:38:02 Aerobit: thanks.. i'll try it May 25 17:38:15 :) May 25 17:38:25 32bit one, right? May 25 17:40:18 wow, that has a lot of new dependancies.. ~114mb in size. May 25 17:41:30 i'm having trouble understanding what is a viewtreeobserver and when should i use it May 25 17:42:13 I have tried everything present on stackoverflow. But nothing I did worked. :( Posted a question as well ( http://stackoverflow.com/q/23856559/2801303 ). No reply there as well. May 25 17:42:42 Can some kind sould point me to an article where i could learn about this so called viewtreeobserver May 25 17:45:56 jvrodrigues: sounds like you don't understand the normal viewtree.. because these are just observers for it May 25 17:46:18 Napalm yep, been trying to find out what a viewtree is. May 25 17:46:23 jvrodrigues: why not look at android view tree / view hierarchy May 25 17:46:31 going to take a look May 25 17:46:55 http://en.wikipedia.org/wiki/Tree_structure May 25 17:47:16 jvrodrigues: http://www.techotopia.com/index.php/Understanding_Android_Views,_View_Groups_and_Layouts May 25 17:47:34 Thanks mate May 25 17:48:22 Is there any way to have a linear layout with a View inside it on the right? May 25 17:48:37 Aligned to the end of the LinearLayout May 25 17:49:04 you can put a linear layout inside another linear layout, and have the parent layout set for horizontal orientation May 25 17:49:11 but im sure people here would be more qualified to answer that May 25 17:53:49 is there any good tutorial how can I make custom navigation drawer? May 25 17:54:19 http://developer.android.com/training/implementing-navigation/nav-drawer.html May 25 17:54:24 Aerobit: didn't work May 25 17:54:28 i used this one a couple of weeks back May 25 17:54:31 worked like a charm May 25 17:54:41 I have a TextToSpeech.onUtteranceProgressListener problem, onDone() doesn't get called when done speaking, but once TTS.stop() is called. I'm setting a KEY_PARAM_UTTERANCE_ID in the speak() call, and I've tried setting the listener both in TTS.onInit() and immediately prior to calling speak() May 25 17:54:52 Here's what I'm doing http://pastebin.com/J56Js5MQ May 25 17:55:37 I don't know where to look next to fix this May 25 17:58:42 Bjartr: one moment, will check my own TTS code May 25 17:58:53 Napalm: thanks May 25 17:59:15 * cybrNaut removes libgl1-mesa-dev:i386 May 25 17:59:37 Bjartr: are you implementing your own TTS service or are you just trying to get TTS to work in your app to read stuff? May 25 18:00:19 the latter May 25 18:01:34 Bjartr: have you overridden your Application class? May 25 18:01:38 jvrodrigues: I saw this one. I mean navigaton drawer with icons, ... May 25 18:02:07 My Application class? This is my first foray into Android, so I wouldn't be surprised if I missed something May 25 18:02:12 ok May 25 18:02:16 its not missing May 25 18:02:19 let me just correct your code May 25 18:02:48 libgl1-mesa-dev:amd_64 worked! May 25 18:02:52 that is weird May 25 18:03:00 You can put your own icons in this one :) May 25 18:03:08 I'm using Android Studio, so I'd assumed it set up all basic stuff necessary May 25 18:03:36 so the SDK needs both 32bit and 64bit stuff.. that's a bit clumsy May 25 18:05:42 Guys, in my layout I have a line (Horizontal LinearLayout) with 1 to 4 items. Is there a way to have android automatically calculating the width of each one of the items? May 25 18:08:12 in your code you can call the setWidth method May 25 18:09:59 though im sure Napalm could explain it better to you, as setWidth takes pixels and not density pixels May 25 18:11:10 shutdowns hang in the emulator.. is that normal? May 25 18:11:49 Hey there May 25 18:12:24 I have an issue I need to get sorted for my job ... I need to install an application as a system app (uid 1000) in KitKat (4.2.2) May 25 18:12:36 But I do not have the platform priv. key May 25 18:12:55 What used to work for us is to push the app in system/app and upon reboot it would register correctly in pacakges.xml as a system app May 25 18:13:07 But now in KitKat, we push it to /priv-app .. to no avail May 25 18:13:15 Maybe anyone here has any insight? ty :) May 25 18:15:47 How does the Play Store install apps without you having to manually install it, like from Amazon? May 25 18:15:58 esvee: Please use #android-root May 25 18:16:06 Thank you! May 25 18:16:46 Bjartr: http://pastebin.com/Zt0Z88QW May 25 18:16:52 Play store uses private apis to install apps May 25 18:17:19 Unusable by third parties I guess May 25 18:17:37 Well I have root May 25 18:17:43 hey SidFerreira. explain your problem again. May 25 18:17:58 and before 4.4 we could do everything May 25 18:18:14 put it in /system/app and it would just run under uid 1000 May 25 18:18:19 KitKat screwed it up May 25 18:18:59 Napalm: well, Im trying to make a list with some extra details. It will have the quiz name in the first line and in the second I would have the number of questions, the percent answered, correct answers and wrong answers May 25 18:19:01 really? May 25 18:19:09 /system/priv-app should be working, Estel May 25 18:19:12 esvee, sorry May 25 18:19:13 wrong ping May 25 18:19:44 Well it doesn't even get registered in the package manager May 25 18:19:48 hm May 25 18:20:00 if you put it in /app does it register, just not have sys privs? May 25 18:20:01 SidFerreira: ok, sounds straight forward.. but whats the problem? May 25 18:20:02 Maybe I'm forgetting to set something in the manifest? May 25 18:20:05 yes May 25 18:20:23 actually it was without the shared uid in the manifest May 25 18:20:25 esvee, Aerobit: Please take it to #android-root May 25 18:20:34 I guess there aint no help here as well. :( May 25 18:21:03 autrilla: Only usable by system apps May 25 18:21:23 sorry SimonVT May 25 18:21:31 And rooted devices I guess May 25 18:22:23 autrilla: any app can install but it requires the permission which is system protected May 25 18:22:45 I was just curious :) May 25 18:23:04 Napalm: There are cases where one or more of this items may not be available (visibility gone). Im wondering if there's a way to have android calculating the width for me. I just tried layout_weight but seem that it didn't worked out May 25 18:23:24 autrilla: well if you want to get the user to install an apk, you can just throw it in a intent and it will tell the user that they need to change their settings to install it. May 25 18:23:27 Can anyone help with my ListView drag-and-drop reordering not working? http://stackoverflow.com/questions/23710029/ (+50rep bounty!) May 25 18:23:59 Napalm, nah, I don't want to install anything, I just wanted to know how GPlay did it :) May 25 18:24:03 Napalm: Ok, just managed it... I had to change the layout_width to 0dp May 25 18:24:10 SidFerreira: do you mean leave a gap if one is missing? or do you mean automatically fill to fit the columns? May 25 18:25:39 Napalm: I meant auto fill to fit May 25 18:26:14 yup then only add the children you want to the LinearLayout May 25 18:26:19 hmm May 25 18:26:40 you might be able to get away with setting the ones that you dont want to disable to GONE and then it should remeasure correctly May 25 18:29:19 hey autrilla May 25 18:29:25 just read your SO post May 25 18:29:33 Napalm, nice May 25 18:29:43 It's based on what the guy from DevBytes did May 25 18:29:51 The DynamicListView class is mostly a ripoff May 25 18:29:59 of it May 25 18:30:21 err, not ripoff. I can't english May 25 18:30:21 yea, Generic View??? really May 25 18:30:27 ah well May 25 18:30:31 That class is pretty cool to be honest May 25 18:30:31 it works i suppose May 25 18:30:41 jvrodrigues: what class? May 25 18:30:50 the dynamiclistview May 25 18:30:55 oh, its ok May 25 18:31:03 it works as an example.. but thats all May 25 18:31:08 saved me months of work May 25 18:31:09 Is there a problem with it being generic? IDEA has rendering problems, but nothing more May 25 18:31:20 Napalm, how would you improve it? May 25 18:31:44 it just means you always need to create it via code.. and you can get into bad view state restoration issues May 25 18:31:58 hi May 25 18:32:08 I don't create it via code, huh. Maybe that is the issue May 25 18:32:15 google Analytics lib is on google-play-services? May 25 18:32:27 autrilla: your trying to put it in a layout? May 25 18:32:33 Napalm, yes May 25 18:32:39 that'll never work May 25 18:32:40 I removed the generic, let's see now May 25 18:32:49 It didn't throw any exceptions May 25 18:33:00 thats because you were not using it May 25 18:33:03 it WILL throw May 25 18:33:10 I wasn't? May 25 18:33:17 I was setting an adapter for it May 25 18:33:24 otherwise it would have thrown an Exception May 25 18:34:03 I'm using in the XML I'm inflating... May 25 18:34:36 autrilla, did you post your code somewhere? May 25 18:34:50 jvrodrigues, yes, on stackoverflow May 25 18:34:53 http://stackoverflow.com/questions/23710029 May 25 18:35:29 Napalm, should I update the question without generics? May 25 18:35:39 my GoogleAnalytics class is not resolved... May 25 18:37:21 Napalm: Type erasure.. Generics wouldn't stop you using a view in xml May 25 18:37:53 SimonVT: yea, i noticed with his constructors he's not got the Generics anyway May 25 18:39:31 autrilla, does it not scroll at all, or does it only not scroll when you have the floating bitmap thingy? May 25 18:39:42 It does not do nothing at all May 25 18:40:09 i had that same issue when i made some changes to dynamic list view May 25 18:40:57 My Service is only drawing my ‘popup’ text when there is a change in the Window. Is that a limitation? I want to maintain a HUD with changing values while other apps are running May 25 18:41:02 i plan on making a sortable listview with deletion features.. im about half way though.. i'll open source it when im done.. but i wont have a chance to touch it for another few days May 25 18:41:24 Napalm, no problem May 25 18:41:30 I'm not in a hurry :) May 25 18:41:47 mylord: are you managing your View in a Service? May 25 18:43:47 Napalm: I think so. I got this : https://gist.github.com/anonymous/8d815371079cd4d5fa4d May 25 18:45:44 SimonVT, you use Crashlytics, right? May 25 18:45:46 Napalm, nothing changed, except now even the onUtteranceProgressListener.onStart() call isn't happening until tts.stop() is called May 25 18:45:50 I think I saw it in the cathode app May 25 18:45:59 Does it take a while for it to start for you? May 25 18:46:15 To start? May 25 18:46:16 Bjartr: i guess you dont have a valid tts engine installed.. check your settings May 25 18:46:40 Napalm: I should start the service only 1 time? And then how should I update the View text? May 25 18:46:44 mylord: whats the problem though.. you dont see any text on the window? May 25 18:47:14 Napalm: I see text, but I can’t get it to change, unless the windows/acitivity change (eg, upon hitting back button, etc) May 25 18:47:34 mylord: thats because you dont tell it to change May 25 18:47:46 Napalm: the speech is still happening, but my callback isn't getting called. And I'm using Google's own tts engine May 25 18:48:04 Napalm: Do I need to call view.update or something ? May 25 18:48:08 Bjartr: the call backs are only for APIv15+ May 25 18:48:31 mylord: view.invalidate(); May 25 18:49:06 Napalm, I'm building for APIv17 and running on an APIv18 device May 25 18:49:27 my android studio folders are broken May 25 18:49:38 SimonVT, when I start my app, I get Initializing Crashlytics 1.1.11.10 May 25 18:49:45 Then, after a few seconds, my app is usable May 25 18:49:50 Bjartr: reboot your device.. perhaps the service has got into a bad state.. because the code i sent you works fine May 25 18:49:56 Napalm, worked, rad! May 25 18:49:57 After two GC_FOR_ALLOC freed 312K, 4% free 9237K/9588K, paused 25ms, total 25ms May 25 18:50:26 No, I don't have any issues with that May 25 18:50:31 mylord: what is the idea behind this "popup" May 25 18:50:42 mylord: what are you trying to do May 25 18:50:52 let’s call it HUD.. it keeps your score in another app May 25 18:50:59 visible to you.. May 25 18:51:17 ¯(°_o)/¯ May 25 18:51:19 huh... What could be taking a while then? May 25 18:51:22 autrilla, i'm not sure but i don't think you should set mCellIsMobile to true on start drag May 25 18:51:26 Napalm, I just tried the older onUtteranceCompletedListener and it exhibits the same symptoms. I'll try rebooting in a moment May 25 18:51:39 jvrodrigues, I didn't touch that May 25 18:51:40 that boolean set to true at a wrong time kind of wrecks the whole listview May 25 18:52:06 autrilla, the original class doesn't have the onstartdrag method i htink May 25 18:52:23 jvrodrigues, it has a OnItemLongClickListener May 25 18:52:38 This is the same, but Otto sends the event when the drag handle is pressed May 25 18:53:15 meh May 25 18:53:21 try commenting that line out just for the sake o fit May 25 18:58:49 jvrodrigues, still nothing May 25 18:59:24 lemme try to implement that method in mycode and see how it works May 25 19:01:34 if I need to make a handler as a global var, should I say handler foo; or handler foo = new Handler?; May 25 19:03:20 autrilla, actually this is way more complicated than i thought it was at first May 25 19:03:31 It is! May 25 19:03:32 u just noticed you set your onlongclick in your adapter May 25 19:03:37 i* May 25 19:03:43 Yeah May 25 19:03:53 i'm just a junior dev lol May 25 19:04:01 i had no idea you could do that May 25 19:04:24 To make the first release of my app I just need to implement that and another ListView May 25 19:05:08 let me just ask another thing May 25 19:05:19 what exactly do yhou mean by grip or dragging handle? May 25 19:07:14 jvrodrigues, 1 sec May 25 19:07:40 http://i.gyazo.com/002a0a05159f34159994d258e9c6a6ee.png May 25 19:08:06 ah May 25 19:08:10 i see what you meanj May 25 19:08:38 hmm May 25 19:10:40 ah ofc you need a listener inside the getview May 25 19:10:48 i see, yes May 25 19:10:51 :) May 25 19:12:02 my naive junior dev mind has an idea May 25 19:12:05 sec May 25 19:19:17 * autrilla eagerly waits May 25 19:25:07 Is there a way to set custom fonts using xml? Do I really need to write in code too? May 25 20:15:04 autrilla, managed to make it work? May 25 20:18:49 jvrodrigues, no May 25 20:25:35 Naples: is it bad if i start (use Intent) the Service every time I want to change the HUD text? Should I create a way to update it without starting it again? May 25 20:56:58 has anyone here won the I/O ticket lottery? May 25 21:06:46 Chainfire: coworker May 25 21:16:19 JakeWharton I have not heard back anything at all from anybody at Google (I've tried several people), so far everyone I've been able to find has had one of those codes and that I/O page ( https://www.google.com/events/io/registration/ ) works to review their application. May 25 21:16:34 I'd be very happy to know if another lottery winner has the same problem as I do May 25 21:16:43 i.e. the review application button is grayed out May 25 21:17:14 and no further email besides the notice that you won the draw, from 04-21 May 25 21:17:25 if you could be so kind as to ask your coworker, I'd be very grateful May 25 21:39:18 hi there, which service i should use for longterm running processes, like music players, messengers or a http server May 25 22:00:43 I am trying to switch colors of actionbarcompat according to tab selection (like play newsstand). Tried StackOverflow ".setBackgroundDrawable(new ColorDrawable(resourceId))" is not working. I am getting this "resourceId" from an array in strings.xml May 25 22:47:54 JakeWharton: Will Retrofit, Picasso etc continue to work with okhttp 2.0 without a change, i.e. will they still pick it up from the classpath? May 25 22:56:06 if anyone's used LayoutTransition - how did you get around the immediate crop upon removing an item? May 25 23:03:01 kakazza: not yet, most likely once 2.0 is out though May 25 23:08:28 Hello, am using HttpUrlConnection... if i am sending search requests to a server, should I keep make this a class field or (from what I've read) it's okay to make it method scoped, since it is supposed to be cached internally)? May 25 23:12:30 okay, here's a gif of what i mean: http://i.imgur.com/APf5hax.gif May 25 23:12:57 using LayoutTransition - why the heck isn't the parent layout animated by default? May 25 23:14:10 Same reason human beings aren't born with cologne/perfume glands: just utility pheromones. May 25 23:14:56 lasserix: :( May 25 23:15:47 interesting use of chalkboard font May 25 23:16:17 http://stackoverflow.com/questions/5225367/how-do-i-eliminate-the-delay-before-an-layouttransition-animation May 25 23:16:18 lasserix: what do you mean in your question? if anything, i'd use local variables whenever possible May 25 23:17:31 Mango_Man: apparently opening connection, connecting etc is expensive operation (in battery terms) so that's why I'd want to reuse the httpurlconnection as a field member--but I've read that it is supposed to cache itself so apparently it is safe to use locally scoped, just looking for confirmation May 25 23:17:38 Mango_Man: second answer May 25 23:18:30 Mango_Man: also make sure you try it on a phone, emulators are notorious for being slow/laggy so you might be seeing the artifact from emulating, not becase code is failing May 25 23:18:46 I want to set Roboto font for API 10 and have downloaded the fonts etc. Its all over StackOverflow that if you use Custom fonts multiple times it may cause a leak. I am just using is it for Nav Drawer (6 items). Is it too much to cause a leak? May 25 23:19:03 lasserix: if anything, you could try okhttp, which was mentioned above May 25 23:19:08 :D May 25 23:20:09 WantToCode: http://stackoverflow.com/questions/16901930/memory-leaks-with-custom-font-for-set-custom-font May 25 23:21:04 Yeah I had read that but was not sure whether to do all this just for 5 text in nav drawer. May 25 23:21:22 WantToCode: or http://lab.leocardz.com/android-custom-font-without-memory-leak/ May 25 23:22:07 its all of 10 lines of code... May 25 23:23:01 Thanks lasserix May 25 23:28:33 Hello i use SharedPreferences for checking first launch of the app. Can i use editor.putBoolean(""+R.string.app_pref+"", true); from a strings.xml file? May 25 23:31:20 johnc--: no, that ain't xml May 25 23:31:59 So it can't read from a xml file? May 25 23:33:08 johnc--: what you're doing is putting something like "4": true in your sharedpreferences May 25 23:33:46 johnc--: if you want the string, you should do getResources().getString() May 25 23:33:49 i believe May 25 23:34:12 also use String.valueOf May 25 23:34:53 Ok, what i was trying to do is make a string for sharedpreferences so that i wont need to hardcode it on next update/version of the app. May 25 23:35:39 yeah so use getResources().getString() May 25 23:35:45 as your key May 25 23:36:03 and don't change that string resource ever May 25 23:38:04 Okay, you mean May 25 23:38:15 johnc--: yep May 25 23:38:32 Okie, thanks a lot. **** BEGIN LOGGING AT Sun May 25 23:46:11 2014 May 25 23:46:25 johnc--: yep May 25 23:46:34 johnc--: make sure that string doesn't change May 25 23:46:40 johnc--: otherwise you'll get some really subtle bugs later on May 25 23:46:49 johnc why not use boolean? May 25 23:46:56 Great, thank you. May 25 23:47:10 if you dont care about counting number of times oncreate is called, boolean probably better May 25 23:47:36 *sorry i am confusing myself May 25 23:47:40 ;p May 25 23:47:43 johnc--: in fact, you should write a comment like May 25 23:47:52 but you can getString May 25 23:48:40 johnc--: to answer your question May 25 23:48:43 johnc--: http://lab.leocardz.com/android-custom-font-without-memory-leak/ May 25 23:48:45 doh May 25 23:49:04 thats the problem with using multple computers simaltaneousily May 25 23:49:32 johnc--: here's how to do what you wanted to do context.getResources.getString(R.string.APP_FIRST_TIME_RAN) May 25 23:49:44 oh sorry i see Mango_Man already answered that May 25 23:49:53 multitasking is getting the better of me May 25 23:51:59 Yes lasserix ? May 25 23:52:20 oh no nevermind Mango_Man already answered i just can't read the screen sometimes May 25 23:52:52 Ok :) May 25 23:52:53 you might want to put a count though, good for later when you want to nag your users to buy premium version or poke their eyeballs with an ad May 25 23:53:42 (that way on % 3 == 0 they'll more likely to buy / rate / share / click ad) May 25 23:54:39 chet haase, why does layouttransition not work with wrap_content? *shakes fist* May 25 23:54:40 Ok. May 25 23:54:49 it'd be funny if chet haase frequented this irc channel May 25 23:56:34 Lasserix, im just trying out "what's new" if app got updated :/ so ill put 1.1 on my strings.xml file and 1.2 on the next etc. May 26 00:00:34 Is this a bad practice :? May 26 00:02:41 umm May 26 00:02:51 oh i see May 26 00:04:39 so May 26 00:04:40 https://code.google.com/p/android-change-log/ May 26 00:04:43 there's a library May 26 00:04:48 but instead of using arbitrary number May 26 00:04:55 you should use the version code / number from your manifest May 26 00:05:24 and then each time on create gets called, check if the version code you retrieve from code matches that which is in the preferences May 26 00:06:02 if not (and is greater) display the change log and then write the code into the shared preferences May 26 00:06:07 Ah! May 26 00:07:14 PackageInfo info = context.getPackageManager().getPackageInfo(this.getPackageName(), 0); // version code is in info.versionCode May 26 00:08:08 just be aware version number is the human legible version token and version code is the thing you have to increment (not intended for human readiblity necessarily, like the version numbering of sqlite table) May 26 00:08:19 But i use studio and gradle.. can i still get tge package info becoz it doesnt store in the manifest file May 26 00:09:05 oh you can still set those values May 26 00:09:07 with gradle May 26 00:09:25 i believe the app still has a manifest, gradle just generates it for you in a different way May 26 00:10:23 you'll have to look that up, not sure how to set it with gradle im still running eclipse May 26 00:11:38 Thanks a lot. I guess checking package info will be much useful than sharedprefs method. May 26 00:12:40 Unable to resolve target 'android-12' im getting this error message in the eclipse console can you help me get pass this? May 26 00:13:32 ArcticKuma: probably missing the sdk for android-12 May 26 00:13:42 install it from sdk manager May 26 00:14:43 kakazza: no. May 26 00:14:48 Both will crash May 26 00:15:18 Chainfire: I'll ask him. May 26 00:15:24 thanks May 26 00:21:13 does showing a screen with a white background use more power than showing a screen with a black background? May 26 00:21:30 because it uses more light so it must use more power? May 26 00:49:21 hi May 26 00:49:22 i am trying export my app in eclipse, but eclipse is close... May 26 01:06:09 njcomsec: not unless it is AMOLED May 26 01:06:27 I see May 26 01:06:43 simply refreshing the screen 60 times a second drains the battery, the difference between min and max brightness is ~trivial May 26 01:07:17 Hey I had a quick question so in my app I'm using ActionBar tabs with a ViewPager to create a tabbed ui. My problem is I'm using a FragmentPagerAdapter and their are times when I want to recreate my fragments when new data comes in but it always keeps the old fragments and I can't figure out how to make it refresh everything May 26 01:07:31 there* May 26 01:07:42 did you try invalidating your adapter? May 26 01:09:20 lasserix: no there is no method to invalidate it. I tried using adapter.notifyDataSetChanged() but that makes no difference May 26 01:10:31 http://stackoverflow.com/questions/10849552/android-viewpager-cant-update-dynamically May 26 01:10:39 looks like you want fragmentstatepageradapter May 26 01:14:47 lasserix: Alright I tried using a FragmentStatePagerAdapter and overriding getItemPosition() and that works but now I have a different issue. The new fragments I create somehow get the savedInstanceState of the old fragments. Any idea how to stop that? May 26 01:16:24 dont use saved instance state use arguements to restore? May 26 01:17:06 are you using static factory method of getting fragment instances? May 26 01:18:48 lasserix: no I create new instance from the adapter but it should be the same code as the factory method just in different place. My main issue is I want to save some data for orientation changes but I don't want that carrying over to new instances of that kind of fragments May 26 01:19:17 thanks for all the help btw May 26 01:19:35 like i said you can just use arguements bundle set/get May 26 01:19:44 use that to restore your state May 26 01:19:53 set it in onconfig changed May 26 01:20:19 tho i dont know in particular: would have to see the actual code May 26 01:21:52 Hahahahaha, Apple forgot to renew their ssl certificate on their software update server. xD May 26 01:22:15 lasserix: Aww I get it change the arguments from within the fragment. Always thought those were just for creating new fragment but that makes a lot of sense. Thanks! May 26 01:22:22 And good luck getting that done over a three day weekend. May 26 01:27:03 hello all May 26 01:29:10 zymaster: np, :) May 26 01:29:57 yeah apparently if you use the default empty constructor and static factory method for getting the fragments, the sdk will pass back those arguements it was set with when reinstatiating.. May 26 01:30:07 no reason one can't do it manually too May 26 01:36:13 Can someone take a peek at this that is familiar with the Sensor / SensorManager? http://pastebin.com/vAy6uWW7 May 26 01:36:25 I keep getting 'unsuccessful', my success boolean is false May 26 02:04:33 Hi all! I've build Android from sources, in particular I have an x86 sdk. When I run 'android list targets', it lists no target. Do I have to set up an environment variable for it to find x86 as a target? May 26 02:05:08 ... in particular, API 19 May 26 02:09:36 possibly, but you can download all this stuff pre-built May 26 02:10:33 I know, but my question is what to do when you build it from sources May 26 02:17:32 building a rom from source is not a target May 26 02:17:46 build the sdk, gets you targets May 26 02:19:15 pfn: when I run 'android list targets', I get this message: "Available Android targets:" and then nothing after it May 26 02:19:38 as far as I know, it should say something like: x86 API 19 available May 26 02:19:52 false May 26 02:20:04 what you built is an image for an avd May 26 02:20:10 not a target May 26 02:20:43 I'm not talking about 'android list avd' May 26 02:22:11 I'm just saying that I have all the needed images (kernel-qemu, ramdisk.img, system.img, and userdata.img), but the android tool doesn't know where to find them May 26 02:22:31 ... when I say 'android list target' May 26 02:22:36 false May 26 02:22:42 it's not a target May 26 02:22:53 x86 is not a target, period May 26 02:26:33 look, with a prebuilt SDK, if you run "android list targets", you will see something like: 'id: 3 or "android-19"' and on the last line of that item it will say: 'Tag/ABIs: default/armeabi-v7a, default/x86' May 26 02:27:56 does anyone have a clue how to get the same output with a manually compiled SDK? Do I need to set an environment variable? May 26 02:29:11 no targets are listed when I manually compile, even though it should be something like API 19 and the x86 architecture May 26 02:38:43 Qubez probably clone is failing? May 26 02:38:47 http://stackoverflow.com/questions/12720284/android-why-getrotationmatrix-return-false/14224122#14224122 May 26 02:55:19 since when there's chat on stackoverflow ? May 26 02:55:48 and why is there 'java and jquery beginner' room... May 26 02:57:15 what should one use for a bundle identifier if they are just an individual with no company name? **** ENDING LOGGING AT Mon May 26 03:00:00 2014