**** BEGIN LOGGING AT Mon Oct 28 02:59:58 2013 Oct 28 03:00:24 i have to admit, i'd like to put a nice camera on one for some tricky compositions Oct 28 03:00:35 but rather they are all outlawed ;) Oct 28 03:00:36 g00s: afaik legally it can only apply to ones treated as RC models Oct 28 03:01:27 there's a federal law regarding shooting airplanes since 1920s or earlier, I think Oct 28 03:02:40 but "drone hunters" don't scare me as much as the chemtrail idiots that want to shoot down airliners to get "the truth" Oct 28 03:03:36 i knew a chemtrail believer ... Oct 28 03:04:06 the truth is out there Oct 28 03:04:52 we just need to shoot enough airplanes to prove it Oct 28 03:04:55 totally off topic; i was reading how occult stuff is getting a resurgence http://mag.newsweek.com/2013/10/25/witches-brooklyn-williamsburg.html Oct 28 03:05:04 turns out, people believe in the craziest shit Oct 28 03:05:11 "chemtrails", a belief created when uneducated idiots look to the sky for the first time since birth Oct 28 03:07:01 <^cheeky> thats what i am going to do be a card reader !!! Oct 28 03:07:04 * g00s deploys drone to grab p_l awesome new laptop bwahahahaha Oct 28 03:07:41 g00s: it predictably loses power after getting lost near the east coast due to bad nav software :P Oct 28 03:07:42 <^cheeky> i want drone !!!!!!! Oct 28 03:07:49 <^cheeky> soo freakiing awsome1!!!!! Oct 28 03:08:14 ^cheeky: you can get the Parrot one, its pretty good Oct 28 03:09:09 <^cheeky> yeah, i was looking @ it , but umm a lil too expensive right now :P , so i just bought the remote control small helicopters to get that urge our of mu system cost me 20 bucks lol Oct 28 03:13:24 Hey guys, I have a ViewPager that causes an ANR when I call setCurrentItem() a few pages to the left. Ideas on how to troubleshoot? Oct 28 03:13:49 look at your anr trace Oct 28 03:13:50 fix it Oct 28 03:13:58 in /data/anr Oct 28 03:14:55 seems to be stuck in android.support.v4.view.ViewPager.setCurrentItemInternal(ViewPager.java:550) :/ Oct 28 03:15:26 you have an infinite loop Oct 28 03:16:14 i.e. you call setCurrentItem repeatedly without end Oct 28 03:16:25 <^cheeky> is it bad to use, the action bar icon to display the user icon and titla and subtitle in the view pagers, Oct 28 03:17:08 pfn, I call it only once. There's no loop or anything, and the logs confirm that it enters setCurrentItem but never gets out Oct 28 03:17:14 Max-P, wrong Oct 28 03:17:17 you have a loop Oct 28 03:17:34 you do something like setCurrentItem(n); onPageChange() { setCurrentItem(m); } Oct 28 03:18:02 ^cheeky, look at common design patterns and figure that out for yourself Oct 28 03:18:24 pfn, If I did that wouldn't it crash at every use of the pager? Oct 28 03:19:27 I can swipe the pages just fine. I have a button in my actionbar that allows to replace the viewpager to the default page. The onClick calls setCurrentItem() on the pager and that's about it Oct 28 03:20:06 can i have my listview draw a divider above the first item? Oct 28 03:20:17 <^cheeky> pfn: the reason i am asking if its bad, is because, the icon and the subtitle, are not synced with the image that i display , the pasgeStateAdapter creates three fragments. so this is why i dunno if its good idea to use it Oct 28 03:20:17 And it only does it when the page is on the left (target item < current) Oct 28 03:23:47 From the logs, I also know that it creates the pages properly (calls my instantiateItem() on the adapter), which reaches the return statement fine too Oct 28 03:25:05 g00s: there is a #Nexus7 channel here on freenode, I'm always there too Oct 28 03:25:07 p_l is a new world order chemtrail propagandist Oct 28 03:25:11 :) Oct 28 03:25:16 oh thanks shmooz :D Oct 28 03:26:50 Even better, sometimes if I'm patient enough, it will actually go through and switch to the correct page Oct 28 03:33:57 pfn, I think your guess is destroyed: if I setAdapter(exactSameAdapterInstance) (which resets it to 0) and then setCurrentItem like I do, it works perfect, there's no way I did an infinite loop if replacing the adapter works. Oct 28 03:34:40 kind of noob question, but is there a simple way to persist a model of objects between app loads, or am I going to have to marshal it into something like sqlite or saved preferences? Oct 28 03:34:50 Ologn: more like I'd be among likely deaths if some wackos went through such plan... Oct 28 03:35:11 (or first in line to slowly torture the perps, assuming the prison guards don't get to them first) Oct 28 03:41:54 wheee, finished doing great password update Oct 28 03:42:55 only 5 repeated passwords left Oct 28 03:44:11 p_l what are you using to hold your passwords ? Oct 28 03:46:30 Max-P, you're the one doing it wrong Oct 28 03:46:41 Max-P, and my guess isn't destroyed until you've proven otherwise Oct 28 03:46:48 g00s: LastPass Oct 28 03:55:13 pfn, It definitely hangs in the support library code. I've added logging to every single method of the associated adapter and use the bare minimum from the ViewPager (basically, new ViewPager() addView(mPager) setAdapter(mAdapter)). Oct 28 03:56:16 I'm reading ViewPager.java to figure out what the hell happens in there. For some reason, it doesn't like page 15981, almost like it scans them all in a n^2 algorithm Oct 28 03:59:54 page 15981 ? Oct 28 04:00:15 15k pages in a ViewPager ? Oct 28 04:00:39 OK... 15k pages... Oct 28 04:03:14 ... that sounds like asking for a crash Oct 28 04:03:52 *sigh* it's not mentionned in the documentation :/ Oct 28 04:04:06 I'll leave the cheap setAdapter fix there instead Oct 28 04:05:10 At least it works perfectly fine in one way, I'll leave a comment in the code. Oct 28 04:06:40 ... and roll my own ViewPager later that actually do support adapters of arbitrary sizes ._. Oct 28 04:06:51 im trying to get everything setup on a ubuntu so that I can start building but I need to intall Java so the virtual machine works ... do I need oracle java or will the open JDK work Oct 28 04:07:23 donavan01, Using OpenJDK 7 here, works perfectly fine. Oct 28 04:07:36 ok good deal thanks Oct 28 04:09:13 besides openjdk 7 and the SDK and eclipse is there any thing else I need that I have overlooked in the wiki Oct 28 04:10:36 im just trying to get going on this and havent read all that much but I want to get the right setup before I begin coding so I know that im not fighting a program missing something rather than trying to troubleshoot my coding errors Oct 28 04:11:16 donavan01, Not that I know of. If you run a 64bit computer you will need the 32bit libraries too (ia32-libs and the appropriate 32bit driver that matches your graphic card), but that's pretty much it Oct 28 04:12:15 donavan01: did you run SDK Manager and install stuff ? Oct 28 04:12:16 ok I am just using what ever it installed not sure if it even installed the correct ones for my card or just used generic drivers Oct 28 04:13:59 donavan01, I mentionned the drivers because I've seen people on the french ubuntu forums having trouble with it. Oct 28 04:14:13 donavan01: you also need to run AVD Manager and create a virtual device Oct 28 04:14:16 If it complains about opening libGL.so.1 then you miss appropriate video drivers Oct 28 04:15:08 not yet just got the system set up and dowloaded the adt bundle Oct 28 04:15:59 I was trying to follow what the wiki said but it assumes you already have everything installed and ready to go unless you jump about half way through Oct 28 04:17:01 what's that testing suite called that fires onClick methods for you ? Oct 28 04:19:33 trove4j is just so fucking awesome ;) Oct 28 04:21:03 when I start setting up should I go ahead and install different versions of the emulator and packages or only do that when I need something that it doesnt have Oct 28 04:21:30 you need at least one version of each Oct 28 04:22:09 installed in their Manager Oct 28 04:23:27 ok so just start with say ICS and if I need jellybean or GB Oct 28 04:23:28 then get the Oct 28 04:23:28 m Oct 28 04:23:50 well got to reboot ...java is isntalled Oct 28 04:23:56 I would pick the latest version 4.3 Oct 28 04:35:07 hmm, is there anything special that I have to do to install the NDK? the "android NDK dev guide" seems incomplete Oct 28 04:37:33 "anything else is not supported, including std::string or std::vector", i'm guessing the docs bundled with the NDK is severely out of date? Oct 28 04:39:23 ok will it hurt anything to include more version of the SDK than I really need .... would downloading all of them be advisable or stupid Oct 28 04:39:48 donavan01: you can download as many platform versions as you like, if that's what you mean Oct 28 04:40:20 not really ... I mean as a beginner is it going to be more confusing having all of them installed or better Oct 28 04:40:24 rurufufuss: without having ever used the NDK, the instructions on the website seem to consist of "download package, unpack package" Oct 28 04:40:31 I would pick the latest version 4.3 and maybe 2.2 for backwards compatibility Oct 28 04:41:01 Leeds: yeah, its docs says "installation guide: 1. make sure you have make, 2. precautions", and doesn't have 3. or 4. Oct 28 04:41:11 rurufufuss: do you have make? Oct 28 04:41:23 yeah, ran make, some other errors came up, no idea where I'm supposed to run make Oct 28 04:41:32 what about 2.3 and 4.0 ... do you have to have all the steps in between or what im not totally sure how that works Oct 28 04:41:55 it reads like the make is tryign to make an app, instead of installing the NDK itself Oct 28 04:42:27 to anyone that developed for both iOS and android, is android dev as rage-inducing as iOS dev is? Oct 28 04:42:55 donavan01: you should install any versions you intend to build/test against - it's up to you what those versions are Oct 28 04:43:39 rurufufuss: I'm just having a look - it takes a lot longer to unpack the NDK archive than to download it Oct 28 04:44:08 Leeds: thanks for that, I'm on day 1 of android dev Oct 28 04:44:41 rurufufuss: then you did read all the stuff about "you shouldn't be using the NDK unless you have a specific reason and you know what that reason is", right? Oct 28 04:44:58 Leeds: yep, porting a c++ codebase to android, not gonna redo everything in java Oct 28 04:45:07 oh well Oct 28 04:45:28 leeds so if I build it for ICS and froyo then in theory it might work for GB too but unless I have everything on there then I cant actually test it but it might work anyways or will it just not run Oct 28 04:46:44 rurufufuss: okay, exactly which instructions are you looking at? Oct 28 04:47:00 donavan01: you've read the docs about targeting API versions, right? Oct 28 04:47:14 Leeds: docs/INSTALL.html Oct 28 04:47:38 is it just me or it's missing section III, IV, etc? Oct 28 04:47:57 it only has two sections in the one I'm looking at - requirements, and "you used to have to do something, but you don't anymore" Oct 28 04:48:16 at this rate i'm tempted to just put that directory under my PATH and hope everything works Oct 28 04:48:35 GNU Make 3.81, a working Android SDK, and nawk/gawk Oct 28 04:48:38 yeah, exactly, it's like an unfinished first chapter of a novel Oct 28 04:48:41 leeds yeah though I didnt really get that part completely thus the question ... mainly my question is just ... should I just download all the SDKs and call it a day or is doing so going to confuse the crap out of me when I try to start coding Oct 28 04:48:42 um, no Oct 28 04:48:51 it's like instructions which are telling you you don't have to do anything Oct 28 04:49:07 donavan01: it doesn't make any fscking difference Oct 28 04:49:09 wonder if i can sendReliableRealTimeMessage to myself at little extra cost that short circuiting Oct 28 04:49:17 hmm Oct 28 04:49:26 must mean that installing the SDK is all that is needed then Oct 28 04:49:28 leeds ... good enough Oct 28 04:49:34 may as well try and then curse google if fails Oct 28 04:49:34 donavan01: you're just saying "should I download stuff I might not need, or wait until I find out I need it?" Oct 28 04:49:48 more or less Oct 28 04:50:15 so decide what you think you need, download what you need, feel free to go back and download more later Oct 28 04:51:22 but its not going to make things more complicated for me having it all just offer more choices Oct 28 04:51:32 correct? Oct 28 04:51:51 maybe you should go (back?) to iOS, if you get easily confused by too many choices Oct 28 04:52:00 decide what you need Oct 28 04:52:02 download what you need Oct 28 04:52:05 if you find you need more Oct 28 04:52:06 download more Oct 28 04:52:10 not fscking complicated Oct 28 04:52:23 argh Oct 28 04:52:38 donavan01: select 4.3 and 2.2, because I told you to Oct 28 04:52:40 ios ... dear god you couldnt pay me to use an iphone Oct 28 04:53:04 shmooz ....heheh ... not really what I was going to for but ok Oct 28 04:53:14 heh, i've heard the opposite on #iphonedev Oct 28 04:53:16 but I digress Oct 28 04:55:04 sorry to sound like a complete ass here but i just remember learning C++in borland and if it add the wrong things to your enfvironment it cause you giant head aches ... I just wanted the most clean but best setup so when I use tutorials and all im not getting into issues because I installed something extra or some weirdness like that Oct 28 04:55:43 thanks for they help and the advice Oct 28 04:56:04 donavan01: also install everything in the +Extras folder Oct 28 04:56:35 you'll need it all eventually Oct 28 04:56:42 thanks Oct 28 04:57:50 well im off to catch my router on fire downloading all this... night all and thanks again for dealing with my noobishness (if thats even a word) Oct 28 05:55:23 hmm, is the android emulator meant to run at a choppy frame rate, or is there something i'm missing? Oct 28 05:56:14 rurufufuss: check if you have hw GL acceleration enabled as well if you are using x86 emulator image Oct 28 05:56:34 p_l: thanks, will try that Oct 28 06:47:25 is dl-ssl.google.com down for anyone else? Oct 28 06:47:39 no Oct 28 06:47:50 redirects to https://www.google.com/intl/de/chrome/browser/ though Oct 28 06:48:12 hmm, my android sdk manager is trying to fetch from it Oct 28 06:48:19 but somehow I can't access it Oct 28 06:48:29 could it be crappy australian internet :/ Oct 28 06:48:45 the host is definitely reachable Oct 28 06:49:06 I can't even ping it Oct 28 06:49:07 hmm Oct 28 06:53:05 updating sdk as I type Oct 28 06:53:28 I am totally blaming australian internet Oct 28 06:53:43 good for 'em mate ;-) Oct 28 06:53:47 might have to configure a tunnel :/ Oct 28 06:54:09 wait for some hours, who know you may get through Oct 28 06:54:28 rurufufuss: try changin your DNS server Oct 28 06:54:30 yeah I guess that's all I can do Oct 28 06:54:40 shmooz: will do that after dinner I guess Oct 28 06:55:24 nice point shmooz, I missed it :-( Oct 28 06:56:00 nice as in worth giving a try Oct 28 06:56:18 yeah sometimes it works Oct 28 06:56:36 not always ;) Oct 28 06:57:03 but in his case it might Oct 28 06:57:35 Looney: did you make that guy's app for him ? Oct 28 06:57:45 he ain't in some country where YouTube/(some Google service) is blocked, so it is highly likely it will work Oct 28 06:57:54 welll gave him a demo Oct 28 06:58:03 but he did not seem legit Oct 28 06:58:04 cool Oct 28 06:58:10 so I pulled the connection plug Oct 28 06:58:16 doh! Oct 28 06:58:24 hesistant in showing $ Oct 28 06:58:36 luckily, I sensed it Oct 28 06:58:54 claimed to be on payroll of Carlos Slim Oct 28 06:59:04 thats what gave him up Oct 28 06:59:17 who's that? some mafia boss ? Oct 28 06:59:56 http://en.wikipedia.org/wiki/Carlos_Slim Oct 28 07:00:42 omg you just missed out on billions of dollars ! Oct 28 07:01:15 apparantly yeah, but hell no Oct 28 07:01:52 well, keep waiting ... maybe Bill Gates will show up and ask us to do an app Oct 28 07:02:29 hehehe Oct 28 07:02:54 as if he could not hire someone in person that he would turn to IRC Oct 28 07:07:44 advice for you is to stay away from likes of him Oct 28 07:23:13 hello! I have a problem with reading files Oct 28 07:24:12 tried putting your glasses on? Oct 28 07:24:17 I'm doing Intent viewoIntent = new Intent(Intent.ACTION_GET_CONTENT); Oct 28 07:24:28 and then starting the activyty for result Oct 28 07:25:07 and when I get the result and do this.file = new File(resultIntent.getData().getPath()) Oct 28 07:25:17 then this.file.exists() yields false Oct 28 07:25:58 even though getPath() returns something like '/external/..../12345 Oct 28 07:29:22 http://stackoverflow.com/questions/19629013/genymotion-unable-to-load-virtualbox-engine-on-mavericks-vbox-is-setup-corr Oct 28 07:29:28 Hey, assuming I had an expansion file (.obb) which contained multiple sound clips is it possible to set the ring tone of the device to one of those clips without 'recreating' the file outside of the .obb and storing it somewhere else? If it is can anyone give me some advice about how to tackle it/point me in the direction of some resources that will help? Thanks in advance. Oct 28 07:32:04 Zulandia: that can't be done, the OS needs the file to be somewhere on the device storage Oct 28 07:32:29 just put the file in your app space maybe nstead of .obb Oct 28 07:33:15 That's what I thought unfortunately, thanks for the reply :) Oct 28 07:35:06 hi, does rild service can restart through property_set ("ctl.restart", "ril-daemon")? Oct 28 07:53:49 Hey Guys, I have multi-pane UI for andorid, I want to make customize Actionbar for left and right pane differently Oct 28 07:53:58 is there a easy way to go about it Oct 28 07:57:11 hi all Oct 28 08:46:25 Is it recomended to return a new reference to a view in onCreateInput view of an IME sub'd class each time it is called? Or is there some way to call removeView on the parent that holds the returned view for the ime? Oct 28 09:03:51 Anyone know if on a rotation the soft keyboard is supposed to be redisplayed automatically by android or is that the job of the activity containing the input view? Oct 28 09:31:03 I have a custom view where if i drag my finger outside of the custom view, it'll project the x,y coordinates onto the custom view and return those for ACTION_UP. What is the way (without listening to ACTION_MOVE) to detect when a pointer moves outside of the custom view's bounds? Oct 28 09:32:16 Guess I could just ignore all coordinates within a distance of the ltrb perimeter Oct 28 09:56:42 be,, Oct 28 09:56:44 hello Oct 28 09:57:09 is there any way to add margin to a button at top within a list? Oct 28 09:58:19 Hi! I'm planning to implement log-to-file functionality and I'm wondering is it best to have an opened file handle across an app's lifetime (close() on exit) or do a series of micro open()-write()-close() stuff on a file stream? Oct 28 10:00:31 do open in onResume() and close in onPause()? Oct 28 10:01:18 hokkaido: well, i'm not necessarily talking about activities. Logging is an app-wide thing, may be needed in helper classes. Oct 28 10:01:36 ok. forget what I said. Oct 28 10:02:13 :) not sure how this is done (forgetting), but it might happen :) Oct 28 10:03:25 If I connect a compatible DSLR camera with a compatible Android phone with USD OTG, is there an easy way to copy the pictures as they are taken by the camera? I don't need to control the camera in any way, I only need to access(read) new pictures as they are stored onto the SD card. Oct 28 10:05:18 keep a cached copy of filelist and poll for the changes? Oct 28 10:05:33 that is a bit ineffective, but should do to job? Oct 28 10:05:40 to->the Oct 28 10:05:42 I don't have a Android with OTG so I cannot test this. I'm wondering if it's as easy as reading files in a folder, or if I need to use some PTP mumbo jumbo such as this: https://gitorious.org/agphoto2 ((yet unfinished) gphoto2 port for android) Oct 28 10:06:13 hokkaido: Was that a reply to me? Oct 28 10:07:03 yes. Oct 28 10:07:17 "is there an easy way to copy the pictures as they are taken by the camera" Oct 28 10:07:24 that was my suggestion to this part Oct 28 10:07:37 see changes in the list of files and copy the added files Oct 28 10:07:56 hokkaido: So you mean I can operate the camera normally and at the same time easily access the files from the phone? Oct 28 10:08:00 does anyone know is there some limitations for file uploads that need to be configured? Oct 28 10:08:14 it seems my file uploads always hang somewhere between 4-5 megabytes Oct 28 10:08:30 murple: I wonder. that depends on camera? Oct 28 10:08:46 that does it go into file transfer mode when usb is plugged in or not. Oct 28 10:09:15 hokkaido: You see, I asked the same question in #android and they said it didn't work this way. The camera's SD card would not mount as a standard file system, because that would risk corruption or something. I'll see if I can find a quote. Oct 28 10:10:43 hokkaido: See this exerpt: http://pastebin.com/R9aDHNLG Oct 28 10:10:49 well. plug your camera into your computer in that mode and see can you take pictures when you're transferring them into your computer. Oct 28 10:11:03 if it does, then you perhaps could do it with your android device too. Oct 28 10:11:27 I think you have the bits and pieces needed to answer to your question? Oct 28 10:12:21 murple: https://developer.android.com/reference/android/mtp/MtpDevice.html Oct 28 10:12:30 have you tried to read the api documentation? Oct 28 10:14:00 hokkaido: You mean the API documentation you just linked to? It's the first time I've seen it, I noticed some google results refered to MtpDevice but wasn't sure what it was. Oct 28 10:14:48 murple: I recommend to use api documentation instead of google as your first stopping point for information regarding to android programming. Oct 28 10:15:41 for example: https://developer.android.com/reference/android/mtp/MtpObjectInfo.html Oct 28 10:15:47 hokkaido: Understood. Well, if this is some native functionality which can access the device with PTP I think I might have found a feasibly solution Oct 28 10:15:52 hokkaido: I was just reading up on https://developer.android.com/reference/android/mtp/MtpDevice.html#importFile(int, java.lang.String) Oct 28 10:15:55 see with getProtectionStatus() what is the status for the image that you just shot Oct 28 10:16:40 I can't quarantee that the camera doesn't return an incompletely written image to you. Oct 28 10:16:47 so you just have to try what happens. Oct 28 10:17:04 when you get that far in your project. Oct 28 10:17:36 hokkaido: I agree, it seems like android.mtp is exactly what I need. Oct 28 10:18:21 it seems like using this is quite straght forward, that you could have some experience in few hours. Oct 28 10:19:32 hokkaido: Right. Well, that translates to days and weeks for me since this will be my first App, but that's fine. If this is the "right way" to do this, then I might also be able to find some tutorials or at least some similar examples elsewhere online. Oct 28 10:19:41 hokkaido: Part of my problem was finding the right information. Oct 28 10:20:14 http://stackoverflow.com/questions/19632159/is-there-a-maximum-size-limit-in-android-file-uploads Oct 28 10:21:51 hokkaido: Thank you so much for your help. Oct 28 10:22:16 murple: np Oct 28 10:22:41 my list view shows some white background when scrolling. How to fix that? I tried setting the cacheColorHint to transparent but had no effects Oct 28 10:22:42 hokkaido: Can you fix my damaged Raspberry Pi now so I can finish my previous project and get started on this one? Oct 28 10:32:13 hokkaido: I was just kidding with that last question.... Oct 28 10:59:19 murple: sure, I can offer consulting for 100€/hour + other expenses. Oct 28 10:59:31 :D Oct 28 11:09:28 hokkaido: Deal! Oct 28 11:15:25 hi Oct 28 11:15:37 how do I list my app as being able to open image files? Oct 28 11:16:19 Jonno_FTW: https://developer.android.com/training/sharing/receive.html Oct 28 11:16:25 ty Oct 28 11:16:27 Oct 28 11:21:27 yo yo Oct 28 11:21:28 helo Oct 28 11:22:04 i need some help hopfully one of you can guide me Oct 28 11:22:15 im haveing issue with this supports screen manifest tag Oct 28 11:22:17 Oct 28 11:23:32 for some reason it returns me the new nexus 7s and the sony xperiaZ which is expected but then it also returns me the old Samsung Galaxy Note with it aswell which has a totally different screen resolution Oct 28 11:24:04 i was hopeing maby someone can help me find the correct dp configurations for this Oct 28 11:24:09 http://www.wiki.cyanogenmod.org/w/Flo_Info Oct 28 11:24:21 and for http://www.gsmarena.com/samsung_galaxy_note_i717-4374.php Oct 28 11:24:23 that Oct 28 11:24:32 please i would really appretiate it Oct 28 11:25:03 i know with the old nexus 7 i could do Oct 28 11:25:04 Oct 28 11:25:24 but what would be the correct one for this nexus 7 without includeing all those galaxy tabs? Oct 28 11:25:33 sorry the galaxy notse Oct 28 11:26:34 any 1 have any dea? Oct 28 11:37:08 javaDon: what's the problem with galaxy note screen? it's almost 6" and 285 ppi Oct 28 11:37:38 yes but that one has a 1280 by 800 resolution Oct 28 11:38:08 im talking about these notes Oct 28 11:38:09 http://www.gsmarena.com/samsung_galaxy_note_i717-4374.php Oct 28 11:38:15 the older ones Oct 28 11:39:11 the older nexus 7 also has 1280x800 resolution Oct 28 11:39:34 you want to support only the new nexus 7 ? Oct 28 11:39:36 but why Oct 28 11:41:09 javaDon: You should not care about px resolution, really. You should check against dp resolution. Oct 28 11:41:30 Not that it would solve your original problem, I suppose. Oct 28 11:48:08 how would I rewrite this that incomingIntent is properly instantiated? http://pastebin.ws/3a10cj Oct 28 12:01:05 i am checking against dp Oct 28 12:02:00 but the problem is that the tag of android:screenDensity="xhdpi" android:screenSize="large" /> returns 2 different dp sizes Oct 28 12:02:07 i need to know the dp for Oct 28 12:02:12 http://www.gsmarena.com/samsung_galaxy_note_i717-4374.php Oct 28 12:02:15 and the dp for Oct 28 12:02:25 http://wiki.cyanogenmod.org/w/Flo_Info Oct 28 12:02:55 in other words what is the correct dp measurement fo Oct 28 12:02:55 http://wiki.cyanogenmod.org/w/Flo_Info Oct 28 12:03:21 and to answer your question icedp i want to suppot both with different apks Oct 28 12:05:39 any1 know the correct screenDensity mesurment for the nexus 7 flo? Oct 28 12:08:07 android has hit the tipping point Oct 28 12:08:27 Hi android Dev, I'm using gradle with a complex suite of android and android libraries projects with dependencies. When I try and assemble I am getting Unexpected Top level exception, already added com/google/common/annotations. I know this is something to do with the classpath having dupilicates but I dont know how to diagnose which ones or how to fix it Oct 28 12:08:36 stack overflow is full of obviously non-english speakers who have never attempted to learn basic java before jumping into android Oct 28 12:09:05 Clockworkant: might you have that library already in /libs and have it required in gradle? Oct 28 12:10:12 javaDon: can you try screendensity="213" (specific value) Oct 28 12:10:26 javaDon: * android:screenDensity="213" Oct 28 12:12:15 icedp thats for the smaller nexus 7 devices Oct 28 12:12:37 i need for the 1920 by 1200 ones Oct 28 12:14:03 javaDon: then calculate or google the value Oct 28 12:14:18 i tried i cant figure it out Oct 28 12:14:24 oh I see Oct 28 12:14:26 mikedg: I've just checked my projects and only one uses a libs dir to include a jar, and its our own jar so shouldnt cause an issue Oct 28 12:14:50 are there any gradle tools to show me what dependencies its trying to merge or add twice Oct 28 12:14:55 javaDon: did you try 323 Oct 28 12:16:40 Clockworkant: not sure, i keep bouncing back and forth between gradle and no gradle Oct 28 12:18:16 hmm, well the issue I'm having is with Guava. Its used in multple library projects I am referencing. And appears to crash the build with already added Oct 28 12:18:53 i did not icedp i will try right now thank you Oct 28 12:19:26 i have a request... can i obscure my code? ok there is porguard but is it sufficient? Oct 28 12:20:39 icedp i got a You included an invalid line in your AndroidManifest.xml: 400/323 Oct 28 12:21:14 javaDon: strange... you just changed the value, right? Oct 28 12:21:32 javaDon: https://en.wikipedia.org/wiki/List_of_displays_by_pixel_density I've got info from here ) Oct 28 12:23:48 icedp i used Oct 28 12:24:22 javaDon: seems right, strange Oct 28 12:25:41 nope didnt work many its close? Oct 28 12:25:58 now you know why i need help with this Oct 28 12:26:19 also funny i also was looking through that list Oct 28 12:28:15 javaDon: http://developer.android.com/guide/topics/manifest/supports-screens-element.html#requiresSmallest can that help? Oct 28 12:28:39 thanks but no i read through that like a miilion times Oct 28 12:30:35 i think it might be 326 Oct 28 12:30:53 no its 323 Oct 28 12:30:55 arg Oct 28 12:35:03 ok it just got way worse Oct 28 12:35:07 i just used a Oct 28 12:36:15 Oct 28 12:36:21 that one worked Oct 28 12:36:31 but im still getting the old galaxy notes Oct 28 12:37:21 What is the requirement? The width of the screen or height or both? Oct 28 12:37:36 both Oct 28 12:38:02 i have 2 different apks 1 is set for the 1280 by 800s and one is set for the 1920 by 1200s Oct 28 12:38:07 What about required widht/height? Oct 28 12:38:14 ah. Oct 28 12:38:53 an when i use that tag i get a mixture of 1280 by 1800s and 1920 by 1200s Oct 28 12:44:17 any1 else have any input or help for me please Oct 28 12:44:32 Necessary for two apk's insead of just different layouts? Oct 28 12:46:59 yes Oct 28 12:47:28 this is a game the file size would be way to big Oct 28 12:47:32 its only 21 devices Oct 28 12:47:44 got ya. Oct 28 12:47:46 is there a way to specificly support a device from within you manifes Oct 28 12:47:52 t Oct 28 12:55:53 hello when my device has power save on wifi Oct 28 12:55:54 i get this Oct 28 12:56:00 http://i.imgur.com/FXG6oLL.png Oct 28 12:59:30 javaDon: maybe an option for you to go would be using APK Extension Files ? Oct 28 13:00:55 s//Expansion/ Oct 28 13:03:36 and use just 1 apk? Oct 28 13:03:53 but would it still download both assets? Oct 28 13:06:40 javaDon: http://developer.android.com/google/play/expansion-files.html#Downloading there is possibility to download them from your app on request. so your app could start, determine the device and choose which file to download Oct 28 13:08:36 thats an option Oct 28 13:08:58 but id rathor not make people wait befor they start there game Oct 28 13:09:10 it would make a 1 step process into a 2 Oct 28 13:09:14 first download Oct 28 13:09:17 now download again? Oct 28 13:09:21 tomuch Oct 28 13:09:37 javaDon: it won't be any longer by stopwatch but I agree with your point Oct 28 13:16:54 Is it still true that onStop() _may not_ be called? Oct 28 13:17:30 Can I hide the heap space stuff in the bottom? Oct 28 13:17:33 at the bottom Oct 28 13:24:22 is there a similar service to testflightapp for android? or do people just send out a mail "hey guize new .apk is out plz download it"? Oct 28 13:34:22 rurufufuss: Android has beta communities you can setup Oct 28 13:34:26 we use those internally Oct 28 13:35:17 hmm, I see Oct 28 13:35:29 looks like testflightapp itself supports android, silly me Oct 28 13:38:52 hello Oct 28 13:42:44 hi Oct 28 13:42:53 i need some help please Oct 28 13:43:09 Oct 28 13:43:28 that tag is being atrocias to me right now Oct 28 13:45:57 its giving me support for devices with 2 different resolution Oct 28 13:46:08 1920 by 1200 and for 1280 by 800 Oct 28 13:46:18 its weird i cant figure it out Oct 28 13:49:21 and i get the same eact results for Oct 28 13:49:22 Oct 28 13:49:30 eact = exact Oct 28 13:54:01 sorry for asking twice i just noticed that there has been allot of ne users that logged on Oct 28 14:01:10 i could really really use some help here evrything ive tried keeps leading to these devices being bunched into the same category Oct 28 14:01:35 heres my delema Oct 28 14:02:37 i have 7 apks built all to target different device densitys and resolutions the reason i have to split it up into 7 apks is because this is a game and the resources for all the different resolutions would make the file size way to big Oct 28 14:02:51 so i have seperated it into 7 Oct 28 14:03:31 now i have the correct tags set in place across all the different device densitys and resolution this is the only tag that is giveing me problems Oct 28 14:04:02 javaDon: Both devices are xhdp with large devices. Oct 28 14:04:14 xhdpi, I mean. Oct 28 14:04:32 javaDon: can you this version for new nexus 7 then, but use screenDensity="213" for older version Oct 28 14:05:48 javaDon: According to my calculations, the note's DPI is 285, while Nexus is 323. Oct 28 14:08:00 whenever I receive a push notification, and my app is open (onstart on stop counters) I am trying to create a dialog from the onMessage method.. Oct 28 14:08:14 when i use 323 and 285 i get an incompatible tag use from the dev console Oct 28 14:08:34 however I am getting android.view.WindowManager$BadTokenException: Unable to add window -- token null is not for an application error... although I am using the context given in the onMessage() Oct 28 14:08:56 I know this error happens when you use application context... but whats happening in this case ? Oct 28 14:09:45 You included an invalid line in your AndroidManifest.xml: 400/285 Oct 28 14:09:57 procton^ Oct 28 14:10:37 javaDon: AFAIK you are only allowed to enter, ldpi, etc in screenDensity. Oct 28 14:14:04 javaDon: Take a look at these manifest attributes: http://developer.android.com/guide/topics/manifest/supports-screens-element.html Oct 28 14:14:43 not true protocon Oct 28 14:15:01 works for old nexus 7 Oct 28 14:16:16 and some tvdpis Oct 28 14:16:31 javaDon: Correct. Oct 28 14:17:16 javaDon: That information was in a "Note:". Oct 28 14:20:16 what note? Oct 28 14:21:53 javaDon: In the documentation. Oct 28 14:22:22 javaDon: The AVD says the density is 320, which seems odd. Oct 28 14:22:46 uhuh Oct 28 14:23:20 is there any other way to do this like say inside of the apk or manifest what devices you want to support or is that only oon the dev console? Oct 28 14:23:46 How can I capture all outgoing HTTP traffic from an Android device? Oct 28 14:24:24 or maby by ppcm? Oct 28 14:26:03 cff, maybe connect to adhoc network on some laptop and wireshark it Oct 28 14:27:08 I have been trying to install the SDK's and the manager but I got this error can someone tell me if this is a real ly an issue Oct 28 14:27:09 http://pastebin.com/LB2vJANW Oct 28 14:27:33 Zharf: by "connect" do you mean making a hotspot or usb tethering ? Oct 28 14:27:53 cff, no, the other way around Oct 28 14:28:05 cff, make an adhoc network on a laptop, connect the android device to it Oct 28 14:28:13 yes, that's what I mean Oct 28 14:28:38 or maybe I should install tcpdump and libpcap on the device Oct 28 14:28:44 and whireshark it! Oct 28 14:31:08 hi does anyone know how one can use volley with oauth secured api's? Oct 28 14:31:11 or which one should one use Oct 28 14:35:43 my activity has a layout with the theme dialog, with the height of the parent layout set to wrap content, and I have a small button, however, inside the app it shows fullscreen and coveres the activity it is being shown upon Oct 28 14:48:11 ugh.. having a header inside my listview changes positions my adapter? >.< Oct 28 14:54:16 what do you mean ? Oct 28 14:54:19 only one header? Oct 28 14:57:15 well i added a header and now my positions are 1 off Oct 28 14:57:21 in onitemClick Oct 28 14:57:26 t.t Oct 28 14:58:01 and on 2.3 getAdapter() now returns a HeaderViewListAdapter all of a sudden Oct 28 14:58:21 How do I craeate a horizontal ruler in my layout xml file? A linear layout with very small height? Oct 28 14:58:27 -a Oct 28 14:58:45 anli maybe use a drawable and set it as background on a Oct 28 14:59:02 Or just a Oct 28 14:59:06 http://stackoverflow.com/questions/4146221/how-to-put-a-horizontal-divisor-line-between-edit-texts-in-a-activity Oct 28 14:59:09 Must check Oct 28 15:07:12 http://stackoverflow.com/questions/19638250/screen-androidscreendensity-xhdpi-androidscreensize-large-is-showing-s Oct 28 15:07:26 One question I want my app to work on older Androids so I'm looking to target Android 2.2+. My app will heavily rely on using google/android maps can I still use Android maps v1 the dev site states it no longer gives out api keys Oct 28 15:07:42 And from what I read Android maps v2 requires API 17 at least Oct 28 15:08:16 does this mean my app is a no-go for 2.2 Oct 28 15:08:44 javaDon: When I created an AVD with 800x1280, it too got 320 in DPI (FYI). Oct 28 15:09:00 javaDon: 800x1280 5,3''. Oct 28 15:09:08 so maby i need to filter it out in a different way Oct 28 15:09:35 any other way to filter out by screen size? Oct 28 15:09:43 maby a way to filter out by inch? Oct 28 15:10:05 javaDon: You could double check in code, though. It could be the AVD that is misbehaving. Oct 28 15:10:42 javaDon: DisplayMetrics metrics = getResources().getDisplayMetrics(); Oct 28 15:12:14 javaDon: The link I gave you earlier, had information regarding minimum/maximum width in dp. That _could_ work. Oct 28 15:12:28 i tried it it gave me over 800 devices Oct 28 15:12:44 most ere not the ones i was trying to get Oct 28 15:12:45 oh. Oct 28 15:16:11 yea been working on this 1 tag all day Oct 28 15:16:30 i might have to just focefully not support 9 devices Oct 28 15:16:57 which suckes because i have the right ak for them i just cant find the correct filters Oct 28 15:17:05 ak = apks Oct 28 15:18:00 Hello Oct 28 15:18:12 With ADB, normal shell user works wonderfuly, but whenever I `su -`, I cannot use vim/backspace/tab. My keys/locale are messed up as root vs normal shell user. Any suggestions to fix this? Oct 28 15:19:09 have anoye a good tutorial for swippin with fragments?? Oct 28 15:19:23 neredsenvy: there's a mapfragment in the support lib Oct 28 15:19:33 for api 2 Oct 28 15:21:27 have anoye a good tutorial for swippin with fragments?? Oct 28 15:22:28 sorry i mean swipe with fragments Oct 28 15:23:55 the problem is these devices have the same dpi Oct 28 15:24:02 but have a totaly different resolution Oct 28 15:24:06 so annoin Oct 28 15:24:38 any1 have any ideas? Oct 28 15:24:49 same dpi but different resolution Oct 28 15:25:00 is there a way to filter through them on android? Oct 28 15:25:09 with manifest Oct 28 15:27:28 I have a bunch of activities in my app, where should I store fonts? Oct 28 15:27:49 Font references Oct 28 15:29:23 javaDon: Did you set "anyDensity" to false? Oct 28 15:32:54 Dear Android people, what is the point of .aidl files? WHy can I not rename is .java? Oct 28 15:34:39 yes Oct 28 15:35:00 procton what tag wpould you use to do what im trying to do? Oct 28 15:35:13 an you pastebin itill try it out Oct 28 15:35:22 i have a test apk set up for this purpos Oct 28 15:37:50 Are fonts that I instanciate with createFromAssets cached by ttf filename? Oct 28 15:38:04 So calls get faster the 2nd, 3rd time etc? Oct 28 15:39:32 so howwould you filter out and choose only devices hat have a 1920 by 1200 resolution Oct 28 15:39:43 zquad: http://developer.android.com/guide/components/aidl.html Oct 28 15:46:04 anyboy please i been on this since the morning Oct 28 15:52:19 javaDon: don't do that Oct 28 15:52:26 dont so what? Oct 28 15:52:37 lol Oct 28 15:52:39 javaDon: "filter out and choose only devices hat have a 1920 by 1200 resolution" Oct 28 15:52:52 also, don't plead and say you've been here a long time Oct 28 15:52:59 no i meant to do thisthrough the manifest Oct 28 15:53:13 evanc here read this i posted my issue on stack overflow Oct 28 15:53:20 you can't filter by resolution, as far as I know. Oct 28 15:53:41 and trying to do that is a sign that you're doing something else wrong (namely, caring about resolutions) Oct 28 15:53:55 evac http://stackoverflow.com/questions/19638250/how-to-support-android-devices-that-have-the-same-dpis-but-have-different-resolu Oct 28 15:55:40 Hello i have a question Oct 28 15:55:59 Seems like my phone has been unrooted, cant run the terminal emulator through sudo...? Oct 28 15:56:09 Sorry for the not-dev related question Oct 28 15:56:15 FragmentPagerAdapter for Android Min SDK 14 Oct 28 15:56:17 anli: seems you're asking in the wrong channel - that's what #android-root is for Oct 28 15:56:19 anli: #android-root Oct 28 15:56:25 ok Oct 28 15:57:12 evanc do you understand were im comeing from now? Oct 28 16:01:08 I woud like to make swipe with fragments ( min SDK 14) Oct 28 16:02:00 and i nead a good tutorial Oct 28 16:02:21 all tutorial are under SKD 14 Oct 28 16:08:27 can anyone help help me?? Oct 28 16:11:14 Julian_B90 - have you looked at this training? http://developer.android.com/training/animation/screen-slide.html Oct 28 16:14:35 what is the default directory to put app data in, things like preference saves, game saves etc, in android? Oct 28 16:15:07 I mean, are these sandboxed against other apps? Oct 28 16:15:36 theelfismike : now i haven`t. But work this with min SDK 14? Oct 28 16:16:04 what do you mean when you say "min SDK 14"? Oct 28 16:16:09 rurufufuss: where you want Oct 28 16:16:17 most of the support library works all the way back to 1.6 or 2.1 Oct 28 16:16:37 gdrc: what do you mean? Oct 28 16:16:39 that i mean Oct 28 16:16:40 hmm Oct 28 16:17:00 anyone have any idea how to create a popup overlay like Google Play Games services has? Oct 28 16:17:27 that code should work to these extremes: Oct 28 16:19:01 rurufufuss: https://developer.android.com/training/basics/data-storage/index.html Oct 28 16:19:20 gdrc: thanks Oct 28 16:20:34 theelfismike : thanks (= Oct 28 16:30:24 hello Oct 28 16:30:26 http://i.imgur.com/SKhGRMx.png Oct 28 16:30:34 what is a good way to add this button within list ? Oct 28 16:30:42 i had a custom adaptor Oct 28 16:30:51 but not sure how to not show it Oct 28 16:32:40 within list? Oct 28 16:33:08 yo shmooz wassup Oct 28 16:33:17 how is life treatin ya Oct 28 16:35:24 yes Oct 28 16:41:04 Mavrik, popup overlay? Oct 28 16:42:25 pfn, you get the "Welcome " popup on top of your app Oct 28 16:42:36 when user is loged in Oct 28 16:42:45 I'd like to recreate that as a pluggable library :) Oct 28 16:42:50 oh, I see Oct 28 16:43:11 and I'm trying to find out how to attach that view to hiearchy without demading the user to use a Frame/RelativeLayout as a parent item Oct 28 16:49:56 ah, Activity.addContentView. Oct 28 17:12:25 anyone experienced extremely slow loading times of JavaScript files in a WebView? if yes, anything to do about it? Oct 28 17:17:00 Hi all. Is there any way I can take the Surface created by MediaCodec.createInputSurface() and use it as the Surface for a SurfaceView? Oct 28 17:17:55 I want to pass Camera preview data to MediaCodec encoder via a Surface but also show that preview data on the screen (so the user can see what they're recording). Oct 28 17:18:38 Andrew76, you probably are gonna have to do the other way around Oct 28 17:18:49 Andrew76, initialize a TextureView, get Surface from that and then pass the Surface to MediaCodec Oct 28 17:19:51 hmm Oct 28 17:19:54 I don't see any way to pass a Surface to MediaCodec. Oct 28 17:19:55 Andrew76, ok, I just said crap Oct 28 17:19:57 yeah Oct 28 17:20:13 Haha, ok, good. Thought I'd missed something obvious! Oct 28 17:20:16 setting the Surface from MediaCodec to a TextureView should work Oct 28 17:20:32 wrap it into SurfaceTexture Oct 28 17:20:58 hey guys. does any method come to mind to be able to have an entirely custom single view in place of the default listview for a navigation drawer? Oct 28 17:21:47 Thanks Mavrik I'll look into that. Oct 28 17:23:53 Why would i get a "Binary XML file line #1: Error inflating class argument" with a regular XML text file I just made? Oct 28 17:26:37 anyone having issues uploading anything to google play? all my screenshot uploads are failing on the last 5min Oct 28 17:26:47 this is the offending XML: http://bpaste.net/show/144596/ Oct 28 17:26:50 around 1h ago it was fine Oct 28 17:33:57 Hi guys Oct 28 17:34:35 Anyone can help me resolve my issue. I try to integrate the youtube api data for android, and when trying to use a class from this API, after having inserted the jar as a library in my project Oct 28 17:34:51 it crashes as it doesnt find a class from the library Oct 28 17:35:10 any idea how i can fix that? I vasically added the jar to my dependencies and added it to my build.gradle Oct 28 17:38:34 http://imgur.com/PJCTpen this is what i have in my dependencies Oct 28 17:42:33 Mavrik - How do I wrap/convert the Surface into a SurfaceTexture? Oct 28 17:43:01 I've recently moved most of an app I'm building into a Project Library so I can build a sister app. During that process, my custom accounts, under Settings->Accounts, show as "Sync disabled" even though when the account is created through the app the isSyncable() is set to 1. I know this is working since calling getIsSyncable() returns 1 afterwards but the account will won't sync. Under the account the checkbox also disappeared t Oct 28 17:43:29 Hello i hope anyone can help me Oct 28 17:43:56 I have an Error Caused by: java.lang.NullPointerException at gam.forexsignal.Handler.endElement(Handler.java:139) Oct 28 17:44:34 I see that a Surface can be created from a SurfaceTexture but I don't see a mechanism to go in the opposite direction. Oct 28 17:45:24 this is my sourcecode http://pastebin.com/vMwCpGhw Oct 28 17:45:33 StateDrawable can be changed at runtime ? A color Oct 28 17:45:33 I have an Error Caused by: java.lang.NullPointerException at gam.forexsignal.Handler.endElement(Handler.java:139) Oct 28 17:48:04 Julian_B90 something is null then Oct 28 17:48:46 Baluse her ist my sourcecode Oct 28 17:48:47 http://pastebin.com/vMwCpGhw Oct 28 17:50:17 this is the line myContent.setTitel(this.contentTitle); Oct 28 17:51:46 'lo Oct 28 17:52:15 I want to make a UI exactly like this: http://www.androidpatterns.com/uap_pattern/data-drill-down ... I started doing it with 3 Activities, but I'm getting the feeling I should probably use Fragments. Any opinions? Oct 28 17:58:26 rikkus: i don't have any experience with this but i hear fragments are the way to go if you want to implement your app for tablets Oct 28 17:58:52 rikkus: that way you can have fragments side-by-side and utilize the space more efficiently Oct 28 17:58:58 I see yes Oct 28 17:59:35 no idea about this binary XML issue I'm seeing? Oct 28 17:59:58 eydaimon: no, not really. how are you inflating it? Oct 28 18:01:14 I'm using the slidingMenu library. enu.setMenu(R.layout.menu); Oct 28 18:01:22 R.layout.menu is just a fragment XML file Oct 28 18:01:37 menu.setMenu(R.layout.menu); Oct 28 18:01:53 hmm Oct 28 18:02:11 and I was just using the example files that came in the example project with it Oct 28 18:08:19 so when i try to scroll when the list is at the end, i get this colord fading thingy. what's that called? Oct 28 18:10:36 osxorgate: overscroll Oct 28 18:10:45 seand: thanks Oct 28 18:10:50 android:overScrollMode="never" Oct 28 18:11:05 eydaimon: sorry, don't know Oct 28 18:14:35 k, thanks Oct 28 18:14:48 I'll check out DrawableLayout for now I guess Oct 28 18:27:59 Can someone help me out here? I'm new to Android App development and I'm following the tutorial on developer.android.com Oct 28 18:28:20 In my activity and strings xml files I've got the following: http://hastebin.com/dosabivodo.xml Oct 28 18:28:47 For some reason when I have added the button, the text in the EditText becomes "Send" Oct 28 18:29:07 I HATE my BUGGY wifi Oct 28 18:29:16 this phone wifi sucks Oct 28 18:29:17 But the variable lookup in Android Studio says the right thing, is this a bug or am I just being retarded? Oct 28 18:30:42 can anyone recommend a N7 case which is tough, like a pelican sort of thing? Oct 28 18:31:14 all i could find in retail were these lame-ass "executive" style things Oct 28 18:32:30 one thing about my droid-1, the usb-port is bomb-proof, seems one with the metal casing. the usb port on the N7 isn't anywhere as sturdy; i hope its ok. fuck mini usb Oct 28 18:33:03 Baluse do you have an HTC One C Oct 28 18:33:24 Baluse i mean HTC ONE X Oct 28 18:33:28 TheBunnyZOS cr33pybnny is here, your nemesis ? Oct 28 18:33:34 <^cheeky> g00s: i concur, thats why had to send google my n4 back coz of stupid micro usb Oct 28 18:33:55 I have the same problem with my phone wifi Oct 28 18:34:18 i thought 4.3 was having issues with wifi; like it drops a lot Oct 28 18:35:25 g00s: just push a beta with crashalitics thingy in Oct 28 18:35:46 StingRay_ heh, hope it goes ok … any indications so far ? Oct 28 18:35:58 I got a feeling if they added custom event data… I would not only drop bugsense Oct 28 18:36:02 I would burn it too Oct 28 18:36:24 early days though… we will see :) Oct 28 18:37:44 :) Oct 28 18:38:10 g00s: it's very…erm… arty Oct 28 18:38:12 :) Oct 28 18:38:40 like when you close and issue, it puts a big stamp on it from a nice anim and graphic :) Oct 28 18:38:46 Hello :) Oct 28 18:38:47 omg…it's sooooo me Oct 28 18:39:20 anyone with windows have 5 minutes to test my app? :) Oct 28 18:40:18 I got some questions. Is there anyway to make an app that could process the sound in/out from a call before it's played back? Process my speech before it's sent and process incomming? Oct 28 18:41:00 i have a down arrow within my drawer and i have no idea why it's there. suggestions? Oct 28 18:44:12 StingRay_: i've been using crashlytics too Oct 28 18:44:56 well I only pushed a version to my beta testers with it in … so will take a few hours, but not sure there are any crashes …but hopefully there are Oct 28 18:45:13 wait … what ? I want crashes so I can see how it is :) Oct 28 18:45:54 i actually haven't seen a crash come through yet for my app. only seen them during development Oct 28 18:46:26 well i just forced a stackoverflow to see, and just pushed to my beta group Oct 28 18:46:45 no released app yet … so just have my testing group Oct 28 18:47:36 hey do you guys think the nexus 4 will go down in price when nexus 5 comes out Oct 28 18:47:42 seand: no Oct 28 18:47:47 why not Oct 28 18:47:56 If it get cheaper they have too give it away Oct 28 18:48:01 #android for not dev related stuff Oct 28 18:48:04 seand: in crashy thingy, do I have to manually push caught exceptions ? Oct 28 18:48:37 this is dev related gdrc, i will be getting one for development Oct 28 18:48:51 ok Oct 28 18:48:52 StingRay_: you have to log them Oct 28 18:49:08 ok Oct 28 18:49:19 StingRay_: http://support.crashlytics.com/knowledgebase/articles/202805-logging-caught-exceptions Oct 28 18:49:31 gdrc: i can test your app if you want Oct 28 19:01:32 What is that tool called that I can use to display a screen region of my desktop on my android device? Oct 28 19:04:40 there is no such sdk/api tools for such a task Oct 28 19:05:19 Hmm .. im pretty sure ive heard it mentioned on a google IO talk Oct 28 19:05:29 what can I use to quickly display images on my phone from photoshop ? Oct 28 19:05:43 gallery app ? Oct 28 19:05:45 :) Oct 28 19:05:47 just to see how my mock up looks on the device Oct 28 19:05:58 that isnt really quick :( Oct 28 19:06:42 well if you are looking for visual things like color saturation or pallet shifting, then there is little to no point Oct 28 19:07:00 I got some questions. Is there anyway to make an app that could process the sound in/out from a call before it's played back? Process my speech before it's sent and process incomming? Oct 28 19:07:10 actually the only reason I can see for doing that is fakery or novelty Oct 28 19:10:36 Foudn it Oct 28 19:10:37 http://code.google.com/p/android-ui-utils/ Oct 28 19:11:23 ugh? Oct 28 19:11:57 prixx: no Oct 28 19:12:05 evanc: You know why? :/ Oct 28 19:12:26 hello i use holo_blue_light for pressed state but itisnt the default color Oct 28 19:12:38 it doesnt match Oct 28 19:13:04 evanc: I mean, not even possible if device is rooted and what not? Oct 28 19:17:02 StingRay_, it was mentioned in a 2012 Google IO talk Oct 28 19:17:10 but I couldnt find it recently when i wanted it Oct 28 19:17:45 GEEGEEGEE: that as an answer doesn't match your question :) Oct 28 20:01:16 hello Oct 28 20:01:25 i used holo_blue_light Oct 28 20:01:28 but appears darket Oct 28 20:01:30 darker Oct 28 20:22:17 hmm, if I wanted to make a timeline view, like facebook's timeline on the web, what's a good method? Oct 28 20:22:30 <^cheeky> 0oo that would be nice Oct 28 20:22:31 I kinda want to make my own sort of "expandable list view" Oct 28 20:22:59 but that's still not a very good method... at least in terms of work, that's just kind of an outline of what to make it happen... Oct 28 20:23:02 <^cheeky> yes thats what i am about to implement lol Oct 28 20:23:06 or rather, the interface Oct 28 20:28:16 aw shit, this is the tablet i should have gotten http://phandroid.com/2013/10/28/samsung-galaxy-tab-3-kids-release-date/ Oct 28 20:29:00 <^cheeky> g00s: got the b00k !!!! Oct 28 20:29:14 ^cheeky which one? big nerd? Oct 28 20:29:16 is there a way to get a list of accounts that have corresponding syncproviders providing contact syncs? Oct 28 20:29:22 <^cheeky> thank you, the resources on the looks hella promising Oct 28 20:29:35 <^cheeky> g00s: nope alto book you recommended Oct 28 20:29:45 <^cheeky> <3 amazon Oct 28 20:29:46 which one? sedgewick ? Oct 28 20:29:50 <^cheeky> yup yup Oct 28 20:29:53 :) Oct 28 20:30:01 <^cheeky> blaah need to find time to read it. Oct 28 20:30:03 thats a good 'classical' presentation Oct 28 20:30:04 <^cheeky> i have to Oct 28 20:31:24 i want to read this one soon http://www.amazon.com/Algorithms-Unlocked-Thomas-H-Cormen/dp/0262518805 , i like the more general books also Oct 28 20:31:40 <^cheeky> 220 quid !!! Oct 28 20:31:41 <^cheeky> wtf Oct 28 20:31:54 welcome to academic pricing :> Oct 28 20:31:54 <^cheeky> thats one expensive toy !!! Oct 28 20:32:09 ahh, made a mistake ;) Oct 28 20:32:41 also, it's not 220 quid Oct 28 20:32:54 (if you mean the tab 3 kids) Oct 28 20:33:13 <^cheeky> all used in my app, was a tree set and coparetor interface . but i think i need to more filtering Oct 28 20:33:14 maybe the Kids tab is the Vic announcement coming :D Oct 28 20:33:20 more like 143 quid Oct 28 20:35:53 <^cheeky> i am so worried, about my app, i mean these images takes up so much space, for now i am just ignoring all this .. and just working on the data fetcher, and what not :( Oct 28 20:37:28 "Robotic testing finds touchscreen inaccuracies at edge of iPhone display". its amazing how much scrutiny stuff gets; at least the popular stuff. Oct 28 20:37:43 the SGS3 display did awesome Oct 28 20:38:36 "The iPhone 5s and 5c, according to the company, suffer from "extremely bad" touch performance near the edges of the display. This makes it difficult for users to hit outlying keys on the virtual keyboard, like Q, O, and P, the report says." Oct 28 20:38:44 <^cheeky> ok been asking around lol , but whats the study for integrating the brains neural network to electronic interfaces and such ? Oct 28 20:39:54 ^cheeky: search under Brain-Computer Interface Oct 28 20:40:00 also, frameworks like OpenBCI Oct 28 20:40:19 g00s: Apparently the study didn't take into account that iOS tries to compensate for the angle it expects the device to be held at. Oct 28 20:40:51 RyanM not sure if you're pulling my leg ... Oct 28 20:41:03 <^cheeky> i want to see if uni's offer programs like that Oct 28 20:41:27 ^cheeky: also, neuroprosthetics Oct 28 20:41:33 ^cheeky: I think you need to look under neurology Oct 28 20:41:45 be prepared to study hard, though :) Oct 28 20:41:49 RyanM are you serious? or just referencing the old antennagate thing of "holding it differently" Oct 28 20:41:54 g00s: http://www.macrumors.com/2013/10/25/testing-finds-inaccurate-touch-sensing-on-iphone-5s5c-neglects-perspective-compensation/ Oct 28 20:42:14 ^cheeky: psychology, neurology are the degrees you should look at, I think Oct 28 20:42:21 perspective compensation? what? Oct 28 20:42:29 zinx: an ancient HTC trick Oct 28 20:42:32 <^cheeky> but i am not a biology undergrad... i need to change the way we interact with devices, before i become handicap the way i am currently using. Oct 28 20:42:34 <^cheeky> what ever Oct 28 20:42:37 interesting that iOS finally got it :P Oct 28 20:42:38 <^cheeky> p_l: thanks will do Oct 28 20:42:39 <^cheeky> cheers Oct 28 20:42:45 (obligatory note: this site is, of course, fairly pro-apple, but their point appears to be valid) Oct 28 20:42:46 wow RyanM interesting Oct 28 20:43:04 p_l: sounds like BS to me Oct 28 20:43:06 yeah, i stopped reading Ai and Macrumors a long time ago , just crazy stuff :) Oct 28 20:43:20 g00s: HTC, back in Android 1.6 time, had compensation for perspective Oct 28 20:43:26 in keyboard Oct 28 20:43:39 <^cheeky> g00s: have you done and iOS dev using the macbook Oct 28 20:43:59 ^cheeky more in 2009 than now, just getting back into it Oct 28 20:44:03 <^cheeky> wonder if the chipset would be able to handle it Oct 28 20:44:19 zinx: it's a very simple thing, actually - you "correct" the results a bit based on some set of calibration data to take into account how your finger looks like to you Oct 28 20:44:20 <^cheeky> so the hardware is "able " Oct 28 20:44:38 p_l: yyeah, i think not Oct 28 20:44:51 zinx: ? Oct 28 20:44:53 a nullo is comming Oct 28 20:44:57 ^cheeky my 2009 MBP is ok, yeah Oct 28 20:45:21 zinx: it's pretty simple thing, hell, it was the norm on WinCE devices with resistive screens (that was part of the calibration process) Oct 28 20:45:26 p_l: there's absolutely no way that can be done automatically, and since there's no manual calibration....... Oct 28 20:45:42 p_l: resistive touch screens *REQUIRE* calibration Oct 28 20:45:43 zinx: you can pre-make a bunch of data and apply that Oct 28 20:46:01 i'd like to get a new MBP once i have the $$$, but raged when i heard even the MBP (not Air) now has ram soldered to the mobo. it has a repeairability score of 1 (out of 10). i think that sucks Oct 28 20:46:04 zinx: yes, but it was also applied (later) to correction on keyboard Oct 28 20:46:07 p_l: that's the technology. capacitive screens know exactly where the touch is without calibration, because there's a few wire intersections for every point on the screen. Oct 28 20:46:17 <^cheeky> g00s: maybe its just the VM and Java that makes this book so slow compiling for android, tho slight improvement with SSD hehe Oct 28 20:46:53 oh yeah, AS + gradle is a dog. gradle from the command line is fine for me, not sure wth AS does Oct 28 20:47:00 p_l: if you want to start saying things about shapes of fingers, then you're going to have to understand everyone's fingers are shaped differently. if there's no manual calibration, then "perspective correction" for the finger is a completely bogus claim to shrug off an inaccurate touch screen Oct 28 20:47:17 zinx: I know. Just pointing out that it wasn't completely abandoned. I will, though, call BS on some "magic dust" about ultra awesome uber automatic correction. At best, it probably has a database of angle to ground. Oct 28 20:47:20 p_l: but you can feel free to believe the bogus bullshit if you like Oct 28 20:48:12 <^cheeky> so happy, gradle hasn't slapped me yet, i don't think i am ever upgrading this version of android studio too scared heh Oct 28 20:48:15 zinx: Nah, I suspect it has a bit, but nowhere what some will claim. You can try to apply correction based on size of touch point and do some funky math, too... Oct 28 20:49:03 the solution to all of this is just to use the kids interface like samsung has Oct 28 20:49:08 can't miss anything :) Oct 28 20:49:15 zinx: In general, I agree with you, except that they possibly made some *tiny* corrections that might have not caught a robotic arm Oct 28 20:49:48 p_l wouldn't the error distribution be uniform then? Oct 28 20:49:54 it doesn't seem to be Oct 28 20:50:11 g00s: you're looking at it from the wrong perspective Oct 28 20:50:19 probably Oct 28 20:50:27 g00s: the perspective you should be looking at it from is that apple is perfect and therefore everyone ELSE must be wrong Oct 28 20:50:33 g00s: :P Oct 28 20:50:33 haha Oct 28 20:50:44 ooh Oct 28 20:51:36 g00s: I was thinking of taking data about keys and some calculated chances of finger obstructing the key, then a bit of adaptive algorithms using results from how user corrects the word etc. Oct 28 20:51:48 ... of course, I can't say that Apple actually did any of that Oct 28 20:52:06 p_l or doesn't correct words :O Oct 28 20:52:18 *SNRK* Oct 28 20:52:45 tbh, my first reaction to the iPhone was "how the fuck I am supposed to write on it?" (that was back with 2g/3g) Oct 28 20:53:22 it didn't help that I had access to, ahem, perspective that 99% of iPhone users don't :P Oct 28 20:54:45 it was hard to believe claims of Apple build quality when you observed your boss complaining about how the vibrator broke, and having to someone shook the phone :> Oct 28 20:55:59 is there a way to get a list of accounts that support adding contacts? Oct 28 20:56:31 smoak: what exactly are you trying to do? Oct 28 20:56:39 i use android.R.color.holo_blue_light but it seems darker than phone's Oct 28 20:57:18 for example in the contact app when you go to add a contact you can choose what account to add your contact to (which isnt necessarily all of the accounts on your device)...how can i get at that list? Oct 28 20:57:25 hmm Oct 28 20:57:34 no idea right now Oct 28 20:57:51 have you checked Contact Provider's APIs? Oct 28 20:58:05 Or whether or not it might have been some kind of "select provider"? Oct 28 20:59:49 p_l notice google changed their gmail login; the new one gives me trouble in ff Oct 28 21:00:24 Hey! Anyone from SLC, UT looking for work? Let me know ;D Oct 28 21:22:16 not the place to ask Oct 28 21:26:25 am i the only one that can't select anything other than Canary channel from AS Updates preference ? Oct 28 21:26:41 p_l: looks like the contact app is using some hidden APIs https://github.com/android/platform_packages_apps_contacts/blob/android-4.0.4_r2.1/src/com/android/contacts/model/AccountTypeManager.java#L382 Oct 28 21:27:14 which arent accessible in a regular app >_< Oct 28 21:27:19 some apps are more equal than others :) Oct 28 21:28:31 might be part of being system app Oct 28 21:29:38 was hoping thered be an easy way to use AccountManager.getAccountsByTypeAndFeatures Oct 28 21:30:17 but the docs just say "features: An array of the account features to require, may be null or empty" Oct 28 21:33:19 there a way to start a hangouts session directly with call/intent ? Oct 28 21:36:05 does holoeverywhere have performance impact ? Oct 28 21:37:43 ive actually heard bad things about holoeverywhere Oct 28 21:37:49 people on gingerbread dont know what holo is Oct 28 21:38:04 it might make the app more consistent for you, but it makes it really strange for real users Oct 28 21:38:25 i never fully understood why people seem to hate holoeverywhere but love actionbarsherlock Oct 28 21:38:41 i feel lik eyou could say people on gingerbread dont know what actionbars are Oct 28 21:38:44 the actionbar pattern has been encouraged since 2.2 Oct 28 21:38:55 it wasnt android.app.ActionBar or whatever Oct 28 21:39:07 but the idea of an "action bar" was around, and encouraged Oct 28 21:39:24 i see Oct 28 21:39:54 android ui is a bit of a mess anyways Oct 28 21:40:19 s/is/was/ Oct 28 21:40:40 s/was/still is Oct 28 21:42:19 <^cheeky> hey guys, is it possible maybe to use usb stick to boot android to a system that does not have a HDD ? Oct 28 21:43:01 hehe Oct 28 21:43:18 actually now sherlockbar seems past as it is supported Oct 28 21:43:27 it feels like it has better performance Oct 28 21:49:28 <^cheeky> or was that question more for android # Oct 28 21:50:23 well yeah, well… can you "boot" from usb on the "system" in question Oct 28 21:50:34 so not all that android relevant I would think Oct 28 21:51:10 <^cheeky> i dunno ADD thoughts have a spare machine with a dead hdd, want to run android on it and use it as htpc Oct 28 21:51:37 is it supported ? Oct 28 21:51:39 lol Oct 28 21:51:50 yeah go to #android Oct 28 21:51:54 ask there Oct 28 21:52:29 <^cheeky> no no .. i should not go, will just put me into another tangent and never work on the app Oct 28 21:52:32 <^cheeky> heh Oct 28 21:52:54 <^cheeky> StingRay_: cheers , :) Oct 28 21:53:09 StingRay_ cheeks ;) Oct 28 21:56:01 <^cheeky> ehhhhhhh Oct 28 21:56:11 huh, looks like my new logo style odly fits with the new anroid 4.4 direction of icons Oct 28 21:56:24 <^cheeky> whaaaat Oct 28 21:56:26 <^cheeky> i want to seeeeeeeeee Oct 28 21:57:01 in each list item in android should i wrap it within a layout ? Oct 28 21:57:12 or i can have a simple textview if i need only this/ Oct 28 21:57:29 <^cheeky> ok never mind Oct 28 21:57:46 <^cheeky> whats a program so i could show my app.. how ugly it looks Oct 28 21:59:34 StingRay_, whats your logo style Oct 28 21:59:48 <^cheeky> so if i am downloading an user icon , and trying to set that as my action bar icon , i need to have a drawable already, because actionBar.setIcon() is deprecated, and my app min sdk is 11 Oct 28 22:00:28 canadiancow: temp style as I change it every few days, but current is https://lh6.googleusercontent.com/-oixffxk6LII/UmmCQL3adeI/AAAAAAAACUo/-amjjMRDQ5I/s512-no/newLogo_b.png Oct 28 22:00:45 <^cheeky> omg Oct 28 22:00:49 I now have a stack of about 10 possible icons for release Oct 28 22:01:04 you're supposed to have a distinct silhouette Oct 28 22:01:05 will leave it to my beta group to decide before release Oct 28 22:01:08 a rounded square is not distinct Oct 28 22:01:23 I'm not supposed to have anything Oct 28 22:01:23 <^cheeky> StingRay_: i likes !!!!!!!!! Oct 28 22:02:43 <^cheeky> nice shadow to Oct 28 22:02:46 are those the google primary colors Oct 28 22:02:55 i wouldn't use those, probably Oct 28 22:03:00 no and I dont like the current colors Oct 28 22:03:06 <^cheeky> reminds me of google Oct 28 22:03:07 needs zapping Oct 28 22:03:22 but like I say, will change again in a few days Oct 28 22:03:32 I keep doing them as a break from this code crap :) Oct 28 22:03:33 <^cheeky> zap app . no idea what that is  but zA[P] away Oct 28 22:04:15 I've had some far more garish ones :) Oct 28 22:04:31 <^cheeky> yeah i should do that i stilll haven't download AI or AS trail versions to make logo, wish there was a image already created heh all i have to is drop it in the icon generator and voilla Oct 28 22:04:46 http://icgeeks.org/wp-content/uploads/2013/08/6d465__logo_new.png Oct 28 22:04:51 had that at one point Oct 28 22:04:59 and everything between that and current Oct 28 22:05:06 oh and some right moody ones too Oct 28 22:05:22 * Baluse drugs for code Oct 28 22:05:34 <^cheeky> StingRay_: wanna brain swap pls pls :P Oct 28 22:05:52 <^cheeky> just to make my logo and make my app not ugly Oct 28 22:05:58 <^cheeky> so swap for time duration eheh Oct 28 22:06:14 I had this crap at one point http://i1.ytimg.com/vi/NbPIRu8Mkm8/hqdefault.jpg Oct 28 22:06:23 the black thing with silver Oct 28 22:06:37 I think my mood plays a big part in what the hell I come up with :) Oct 28 22:06:45 must learn to control that! Oct 28 22:06:50 <^cheeky> i wouldn't call that crap man still looks presentable and wow .. how the hell did you make that background Oct 28 22:07:07 erm, dark, moody, glossy Oct 28 22:07:26 not really screaming …click me Oct 28 22:07:43 more like touch me and "I KILL YOU" Oct 28 22:07:46 <^cheeky> like have all of that transparent, i am about to work on expandable list which will expand over and image and i want to show details of photo Oct 28 22:08:12 <^cheeky> dark moody glossy are these like standard, in the sdk or something Oct 28 22:08:16 <^cheeky> or AI stuff Oct 28 22:08:49 no, they are probably standard iOS look feel guides for the deeper contrast elements of the UI Oct 28 22:08:51 lol Oct 28 22:08:57 <^cheeky> dam it !!!! i am distracted with all that nice stuff Oct 28 22:08:59 <^cheeky> ugggh Oct 28 22:09:11 <^cheeky> need to turn head and work on app.. Oct 28 22:09:37 <^cheeky> errr ok ...... i am getting back to code, wow my brain sucks Oct 28 22:11:13 <^cheeky> sorry guys Oct 28 22:19:40 howdy - I've got an Action View that isn't acting like I think it should Oct 28 22:19:52 the xml - http://hastebin.com/lifelubesa.xml Oct 28 22:20:08 the java - http://hastebin.com/givomebafu.avrasm Oct 28 22:20:21 the dumped explosion: http://hastebin.com/yedahemepu.avrasm Oct 28 22:22:48 I've got a custom view that I'm trying to first inflate from XML, but I get a NullPointerException when trying to access a view inside it that I know is in the XML Oct 28 22:23:28 Are you using the correct ID? Oct 28 22:23:28 Are you sure the view has the ID? Oct 28 22:24:52 I'm pretty sure Oct 28 22:25:06 see line 12 in the xml haste Oct 28 22:25:19 re, ;) This is a log where i try update kernel: http://pastebin.ca/2472296, where can i find proper way to update it ? Oct 28 22:25:21 compare to line 36 in the java file Oct 28 22:25:35 I just joined, so I have no idea what you're referring to. Oct 28 22:25:36 Gotta love blackouts. Oct 28 22:25:38 I'm working on getting my app to work with tablets, and I'm getting the warning at Google Play - "Your APK should only require hardware features that are usually available on tablets". Should I swap all my use-permissions tags to use-feature and then set them to required="true/false" Oct 28 22:25:58 ah, blern Oct 28 22:26:04 java - http://hastebin.com/givomebafu.avrasm Oct 28 22:26:06 xml Oct 28 22:26:07 SpNg: What permissions are you requesting? Oct 28 22:26:09 let me get the dump Oct 28 22:26:22 dump - http://hastebin.com/yedahemepu.avrasm Oct 28 22:26:37 Nilium: I need access to the internet and the camera. Oct 28 22:26:53 Those're your only permissions? Oct 28 22:26:56 I have a few more in there, but they are not required Oct 28 22:27:10 no, I have a bunch in there, paste bin? Oct 28 22:27:11 If so, you're probably fine but might not be available on all tablets because, of course, not all tablets have cameras. Oct 28 22:27:17 xml - http://hastebin.com/lifelubesa.xml Oct 28 22:27:43 I doubt it matters if the others are optional. Oct 28 22:27:44 life lube sa eh? Oct 28 22:28:05 so it seems. Oct 28 22:28:13 Nilium: http://pastebin.com/2ZGNxitT I can strip the unnecessary ones out, I was just using a generic manifest file generated with PhoneGap Oct 28 22:28:28 I'm assuming that's a user_bar.xml? Oct 28 22:28:31 yes Oct 28 22:28:49 Our of curiosity, why're you passing true to attachToRoot? Oct 28 22:28:55 *Out Oct 28 22:29:18 I'm inflating into this Oct 28 22:31:33 Rager: Tried a clean build? Oct 28 22:31:53 a clean build? by that you mean "gradle clean && gradle build"? Oct 28 22:32:00 As dumb as that might sound Oct 28 22:32:06 I suppose? I don't use gradle. Oct 28 22:32:31 Whatever wipes out everything that's been compiled, packaged, etc. Oct 28 22:33:01 unfortunately, I've done a number of wipes since I changed the code to that Oct 28 22:33:11 I'm thinking this might be a good time to give up on making a horizontal list view Oct 28 22:33:17 and just using someone else's Oct 28 22:34:07 Also, why do you think the error is from findViewById? Oct 28 22:34:08 I'm looking at your stack trace and it ain't in there. Oct 28 22:34:57 the error is at the line "mContentPane.addView(child, params);" Oct 28 22:35:08 mContentPane is null but it was filled with findViewById() Oct 28 22:35:20 I've even tried a lazy-loaded version, and still no dice Oct 28 22:35:31 TwoWayView, I choose you! Oct 28 22:35:43 wait, nvm Oct 28 22:36:13 that one's not mature, yet Oct 28 22:36:14 The error comes when you call inflate. Oct 28 22:36:54 Sort of scratching my head as to why inflate is failing, though Oct 28 22:37:58 Ok, I see what's wrong. Oct 28 22:38:51 You overrode addView, which expects mContentPane to exist, except inflate calls addView, so naturally mContentPane is null until after onFinishInflate Oct 28 22:39:02 In other words, you might want to avoid overriding addView. Oct 28 22:39:05 oh, bother Oct 28 22:39:40 without that, I get complaints that addView is not implemented if I don't Oct 28 22:39:55 Or add a check to see if mContentPane is null and call the superclass's method if it is. Oct 28 22:40:27 In that case, you shouldn't use attachToRoot. Oct 28 22:40:30 ah, k Oct 28 22:41:00 It's kind of like a race condition but without threads. Oct 28 22:41:44 right - I inadvertently create a recursion loop Oct 28 22:44:00 when that happens, I get "Caused by: java.lang.UnsupportedOperationException: addView(View, LayoutParams) is not supported in AdapterView" Oct 28 22:45:52 I mean, when I don't override addView Oct 28 22:50:30 In that case, add it to the adapter's parent Oct 28 22:50:50 Or check the adapterview docs to see what it recommend Oct 28 22:50:52 *recommends Oct 28 22:51:40 I'm trying to do that Oct 28 22:52:11 <^cheeky> is it wrong to access a fragment from an Activity(), like in a StatePager.OnPageChangedListener() ? Oct 28 22:53:20 are you not accessing it indirect anyways, through fragmentManager ? Oct 28 22:53:55 ^cheeky: are you coupling the Activity to the Fragment and vise versa at the same time? Oct 28 22:54:14 <^cheeky> StingRay_: yeah, not using a fragment manager, i am just trying to load the icon, from the net, i was able to just do it on fragment itself Oct 28 22:55:31 ^cheeky: i'm very curious about your app Oct 28 22:55:34 <^cheeky> i could just use the fragment manager Oct 28 22:55:45 <^cheeky> dude , don't be its really really crap Oct 28 22:55:47 <^cheeky> actually Oct 28 22:55:52 I read you chatting here since september lol Oct 28 22:55:55 <^cheeky> sure. i like to make people laught heh Oct 28 22:56:23 <^cheeky> yeah and i got nothing... shows how lame i am but .. yeah .. Oct 28 22:56:35 <^cheeky> wow september Oct 28 22:56:38 <^cheeky> daam Oct 28 22:57:41 <^cheeky> been a month and half !!! ! Oct 28 22:57:42 yeah Oct 28 22:57:43 <^cheeky> lol Oct 28 22:57:57 <^cheeky> probably end of sept i presume Oct 28 22:58:17 <^cheeky> actually i have, one app that works functionally lol Oct 28 22:58:37 <^cheeky> it has on switch view on and off and turns on my camera flash ahahahaha Oct 28 22:58:41 <^cheeky> i use it tho .. Oct 28 22:58:43 <^cheeky> no ads Oct 28 22:58:45 <^cheeky> :P Oct 28 22:59:37 link! Oct 28 23:00:39 <^cheeky> what link !!! lol i didn't put it up anywhere it was just for me, to use, srsly its like those apps you guys showed me that lil kids created !!!! Oct 28 23:00:59 <^cheeky> Mr CrapChat i likes yours hehe Oct 28 23:02:29 <^cheeky> maybe if i make an icon or get some icon that i can use for it ill put it up with no ads, and i need to re-write it , it strobes to , but needs to be cleaner i think the strobbing of the flash should be done in a handler than using AsynTask but meh i am not sure Oct 28 23:02:50 <^cheeky> gdrc: crapChat your app right ... maybe its not yours sorry :/ Oct 28 23:40:54 Has anyone had any experience with Qt 5.2 Android SDK? Oct 28 23:41:12 i tried it, found out it was crap and too much effort, so ditched it Oct 28 23:41:46 Interesting, I have been using the qt desktop framework for many years and its perfect Oct 28 23:41:59 How ever i have never got the android part working Oct 28 23:42:13 It wont even communicate with an emulator Oct 28 23:42:16 or build an APK Oct 28 23:42:45 Is it worth just learning java? Oct 28 23:45:21 I have a problem with the EditText widget, for some reason it's rendering itself all wonky on Gingerbread devices. It's supposed to look like this: http://s8.postimg.org/xw3qsqpit/proper_edit_text.png and instead it looks like this: http://s13.postimg.org/ksusnbelz/funky_edit_text.png Oct 28 23:45:52 Any idea what I'm doing wrong? It really seems weird that Gingerbread is the only version this occurs in. Oct 28 23:46:09 Guys! how do you generate sounds on Android? like given pinch, form (sine, square .. )? do you use a lib? Oct 28 23:46:42 Fallout2man: The underlying editText class probably changed Oct 28 23:46:57 Fallout2man: isn't that just the defualt system graphics for each platform ? Oct 28 23:47:13 ^ Oct 28 23:47:26 TheHackOps: Any idea what I could do about it? I've tried setting the width several ways and it never gets any smaller. Oct 28 23:47:44 Fallout2man: for me it look fine except that it's doesn't fit on the screen on gingerbread Oct 28 23:47:47 it's the inside default text padding Oct 28 23:47:52 not the width Oct 28 23:48:07 for the platform… at a guess Oct 28 23:48:09 icedp: Look at OpenAL Oct 28 23:48:24 I have only used it on Desktop under c++ but Oct 28 23:48:28 StingRay_: Then why is one EditText out of the three visible a different size? It seems weird that the default behavior would render different sizes for EditText fields with matching layout and EditText properties. Oct 28 23:48:32 It does what you need Oct 28 23:48:45 Im sure there is a Java-Android port Oct 28 23:49:16 Hi guys. Any devs interested in helping add PDF reading functionality to an Android app? this would be over video chat and screen sharing - $90/hour. See http://www.airpair.com/review/5255ae47e9b505020000000e Oct 28 23:49:42 icedp: I don't think that's it. If it was true then why would the widet's continue to render the same size even with a manually provided width and messing around with the length and em values. Oct 28 23:49:54 ?* Oct 28 23:50:16 Fallout2man: cause it's capped by the margin/padding by the screen ? Oct 28 23:50:31 Fallout2man: hard to even conjecture w/o the code Oct 28 23:50:44 icedp: Create an OpenAL Buffer and then set the frequency to like rand()*pie or something Oct 28 23:51:02 icedp: You mean the layout files? I can put the xml up on pastebin if you want to take a look. Oct 28 23:51:32 But i have never touched java beyond hello world Oct 28 23:51:38 So i cant help with syntax Oct 28 23:51:52 TheHackOps: yes you are right, something called OpenAL Soft Android exist, let me take a look. thanks Oct 28 23:52:15 itstoodark , is it too dark to read the topic ? Oct 28 23:52:20 Fallout2man: I'm not sure I will help you but maybe others can - it's just easier with the code Oct 28 23:52:50 Q: how can i identify with parition is a boot ? Oct 28 23:52:58 g00s - sorry, just saw that Oct 28 23:53:27 icedp: Being a working C++ Dev, i am excited to create android apps but last time i played with java i was just mind blown at how syntactically spastic the language is. Any advice Oct 28 23:53:41 get over it. Oct 28 23:53:42 That and i am OCD and need memory management control Oct 28 23:53:59 And real pointers and so on Oct 28 23:54:29 g00s - for what it's worth, if someone here is interested in helping with that, the session would be broadcast live and recording made available to others.. not sure if that's valuable here or not Oct 28 23:55:06 TheHackOps: suffering is inevitable Oct 28 23:56:05 Fallout2man, that's padding hittin you on the head Oct 28 23:56:13 Sigh... At least all the OpenGL Stuff can be written in C++ through the ndk Oct 28 23:56:14 on the EditText Oct 28 23:56:24 I think anyway Oct 28 23:56:33 Mavrik: hrmm, I'll try messing around with that then, thanks for the help! :) Oct 28 23:56:35 TheHackOps, C++ on Android is a dumb idea Oct 28 23:56:43 TheHackOps: if you going to write games though you don't need Java Oct 28 23:56:50 either get over the Java thing or find a Symbian device :P Oct 28 23:56:50 Marvik: Why is that? Oct 28 23:56:53 icedp, not true. Oct 28 23:57:02 TheHackOps, because you don't have a proper standard library Oct 28 23:57:12 you still have to interact with OS via VM Oct 28 23:57:16 Mavrik: well for the most part. Oct 28 23:57:39 Mavrik: you need to expose apis here and there but still Oct 28 23:57:42 wasting time with all that stuff just because you don't want to use a more suited tool is just... silly Oct 28 23:57:52 Mavrik: Someone was telling me its faster to interact with the GPU natively via OpenGL in C++ Oct 28 23:57:58 I didn't imply it's because of Java Oct 28 23:58:00 icedp, yeah, you still need to talk to OS userspace which runs in VM Oct 28 23:58:00 other reasons Oct 28 23:58:22 TheHackOps, that statement makes no sense :) Oct 28 23:58:46 people usually write OGL accelerated code in C due to problems with C++ standard library on Android Oct 28 23:58:49 Like the OpenGL Java Ports are not the best Oct 28 23:59:04 Is that true or false? Oct 28 23:59:07 and speed improvements come due to unmanaged memory and faster function calls, not GPU interaction :) Oct 28 23:59:16 TheHackOps, OpenGL is just an API. Oct 28 23:59:22 it calls out to driver no matter what you do Oct 28 23:59:30 I know, I use it day in and out. Oct 28 23:59:46 if you say GL20.glDrawVertices or glDrawVertices in C++ you're doing the exact same thing Oct 29 00:00:22 It depends on the classes (Ok yes you are right if they are exact ports) Oct 29 00:00:37 But i find like some ports of the OpenGL API are terrible Oct 29 00:00:49 Android OGL API has no additional abstraction Oct 29 00:00:57 Ok Oct 29 00:00:59 Thanks Oct 29 00:01:01 it calls directly through to C implementation Oct 29 00:01:06 Ohhh Oct 29 00:01:14 Why is there so much propaganda then towards it? Oct 29 00:01:16 where you lose performance is with main game loop and game datastructures, not GPU code Oct 29 00:01:21 that's where C speed improvements lie Oct 29 00:01:47 also getting data from Java VM to GPU can be noticably more expensive than from C unmanaged memory to GPU Oct 29 00:02:02 which is also noticable if you have to shuffle textures and vertices around alot Oct 29 00:02:06 So like discarding and creating objects in memory when the dev knows it will be needed Oct 29 00:02:14 as a punishment for sins in his/her former life, my vote is that TheHackOps write a C++ -> java translater, and go forward from there :) Oct 29 00:02:18 * icedp also considers https://github.com/glastonbridge/SuperCollider-Android/wiki/Use-SuperCollider-in-your-Android-Activity Oct 29 00:02:34 kbs: My Sins? Oct 29 00:02:46 Like my trig sins? Oct 29 00:02:56 and what about my cosins? Oct 29 00:03:05 TheHackOps, more like copying new models to GPU, loading new textures, etc. :) Oct 29 00:03:31 I am not writing anything of the sort, C++ -> Java LEL Oct 29 00:03:40 Never wanted to convert heaven to Hell Oct 29 00:04:10 if your skills in coding match your passion about language preferences; it should be a piece of cake! Oct 29 00:04:11 Mavrik: I removed the bottom/top padding values in the xml and still getting the same funky EditText boxes I was before. Oct 29 00:04:32 Mavrik: Or do I need to set all padding explicitly to zero in the xml? Oct 29 00:04:45 what's up guise Oct 29 00:04:53 Fallout2man, it looks like left and right paddings are your problem :) Oct 29 00:04:55 kbs: I'm not bias, i love python,C++,PHP and any other language that makes sense Oct 29 00:05:09 Fallout2man, they probably come from the border image 9-patch on Gingerbread Oct 29 00:05:12 I took 2 hours look at java and just got angry Oct 29 00:05:37 Mavrik: So is this something that can be fixed or am I SOL? Oct 29 00:05:50 how did android come up with their OS names? Oct 29 00:05:55 of course it can be fixed :P Oct 29 00:06:04 Fallout2man, first try removing background from the edittext Oct 29 00:06:08 and see if that fixes paddings Oct 29 00:06:14 TheHackOps: did you look at Scala btw? Oct 29 00:06:36 then you can either manually set paddings and keep borders, or just export ICS background images for EditTexts and use them on Ginger as well Oct 29 00:06:42 ick, Scala :D Oct 29 00:07:17 Mavrik: what? ;D Oct 29 00:07:21 anyone wanna share what kind of apps you are all making? Oct 29 00:07:23 icedp: no ill look now Oct 29 00:08:05 Anyone know how I would import Rajawali into Android Studio? Oct 29 00:08:05 Mavrik: I'm not a fan just mentioned cause you can call android apis very smoothly Oct 29 00:08:06 * TheHackOps takes look at Docs, Already annoyed... Oct 29 00:08:36 icedp, it's not a language I'm fond of, even though I liked the idea very much Oct 29 00:09:14 object HelloWorld { def main(args: Array[String]) { println("Hello, world!") } } Oct 29 00:09:18 That annoyed me Oct 29 00:09:32 But more over why would i use it? Oct 29 00:09:43 Does it provide extensive APIs and libraries? Oct 29 00:10:05 Does it have a large community and what benifit does it provide over any other language Oct 29 00:10:42 TheHackOps maybe try another platform then. or get over it Oct 29 00:11:27 what? Oct 29 00:11:30 android is java, if you hate it, move along to something else Oct 29 00:11:39 can't you use C++ w/ the NDK? Oct 29 00:11:39 im talking about scala Oct 29 00:12:12 My love of android is to strong Oct 29 00:12:19 I will just learn to love java Oct 29 00:13:05 you don't have to love java to code in it Oct 29 00:13:25 seand, *sigh* I think we just got over that :P Oct 29 00:13:25 forgive me for I'm new to android development but can anyone tell me for an action bar, where is the method called that's usually used to edit it? the getaction() or getactionbar() whatever it is Oct 29 00:13:59 speaking of java, why doesn't it have first class functions yet Oct 29 00:14:14 because Bill Joy said no in Java 1.0 Oct 29 00:14:15 Techwolf, getActionBar() on your activity :) Oct 29 00:14:34 seand, because you need like 17365 people to agree to it Oct 29 00:14:38 in the class for the activity? Oct 29 00:14:41 seand, and they finally agreed to it in 8 Oct 29 00:14:48 Techwolf, yep, it's part of your activity Oct 29 00:14:49 oh, sweet Oct 29 00:15:00 seand, which will be implemented in Android in about... 2465 Oct 29 00:15:06 after Skynet takes over Oracle Oct 29 00:15:13 seand: because they are too concise Oct 29 00:15:28 alright thanks, I don't see it anywhere in my activities but yet the default action bar is still popping up on my activities Oct 29 00:16:15 Tacticalmind, hmm, you should see it if you target ICS or newer Oct 29 00:17:02 You autocompleted the wrong name there :P Oct 29 00:17:06 well I think when I created the project i set my target to whatever the tutorial suggested which I don't really remember Oct 29 00:17:35 Techwolf, yeah, yeah, sorry :/ Oct 29 00:17:52 No worries, it happens to everyone. Oct 29 00:17:52 * Mavrik grumbles something about it being middle of the night and darn daylight savings changes. Oct 29 00:18:54 Tacticalmind, well you should certanly see it on your activity class if your target in Eclipse/IDEA/compiler is set to 11 or newer: http://developer.android.com/reference/android/app/Activity.html#getActionBar() Oct 29 00:19:43 I went to, I think the manifest, and manually changed the target to 11, not sure if that was the right way to go about it lol (Eclipse btw) Oct 29 00:20:27 Tacticalmind, change it in project properties as well Oct 29 00:22:14 i right-clicked on the project name and clicked properties but where in there do i change this, sorry if i'm frustrating you lol Oct 29 00:23:03 Tacticalmind, sorry, It's been awhile since I used eclipse Oct 29 00:23:10 it's a tick mark somewhere under Android part Oct 29 00:23:15 selecting target SDK Oct 29 00:23:20 that's quite alright Oct 29 00:24:08 hmmm. anymore specific on where that would be? Oct 29 00:25:33 Tacticalmind: android:theme="@android:style/Theme.NoTitleBar" Oct 29 00:25:44 Tacticalmind: add this to you activity tag in the manifest Oct 29 00:25:50 Tacticalmind: or something like this Oct 29 00:26:19 judging by the name of that, i'm guessing that will get rid of the action bar? Oct 29 00:26:26 wow cool, two Nokia lumias will support RAW Oct 29 00:28:06 Tacticalmind: correction, android:theme="@android:style/Theme.Holo.Light.NoActionBar" Oct 29 00:28:37 by the way, i apologize for misleading you, i didn't actually want to erase the action bar Oct 29 00:29:10 Marvik I found the project properties file,is this what you were talking about? Oct 29 00:29:11 huh? Oct 29 00:29:55 ice, will adding that line get rid of my action bar? Oct 29 00:30:09 yes, it says NoActionBar Oct 29 00:30:19 sorry that's not what I want to do lol Oct 29 00:30:25 so what? Oct 29 00:30:45 Tacticalmind, doh, not a project properties file -_- Oct 29 00:31:01 okay okay sorry lol Oct 29 00:31:04 <<<< Tacticalmind: what did you want ;P sorry to misunderstand Oct 29 00:31:45 just looking for exactly where to edit the action bar because i can't find the getActionBar() method lol Oct 29 00:31:54 another question Oct 29 00:32:07 Tacticalmind, dude, it's the upper box when you select "Android" in project properties -_- Oct 29 00:32:19 it says clearly "Project Build Target" Oct 29 00:32:49 oh under API? Oct 29 00:33:01 or platform? Oct 29 00:33:15 what. Oct 29 00:33:35 Project properties -> Android -> Upper box with listed SDKs Oct 29 00:34:09 i see the box listed project build target, didn't know this was a list of sdk's lol only one thing in the list and that's Android 4.3 Oct 29 00:34:10 you DID right click on your project in package explorer and selected properties right? :P Oct 29 00:34:19 ye lol that's where i'm at Oct 29 00:34:24 ah, then your activity has getActionBar :P Oct 29 00:34:29 Tacticalmind: well you should have something like getMenuInflater().inflate(R.menu.main, menu); in your activity Oct 29 00:34:35 Tacticalmind: that's for initial setup Oct 29 00:34:38 oh yes yes i do Oct 29 00:35:06 okay question Oct 29 00:35:14 Tacticalmind: http://developer.android.com/guide/topics/ui/actionbar.html#ActionItems Oct 29 00:35:28 is the action bar method in the Activity class being extended? or the child class doing the extending? Oct 29 00:36:07 um, no Oct 29 00:36:16 you shouldn't extend it :) Oct 29 00:36:23 Tacticalmind: mm? you override method in Activity; if you mean that Oct 29 00:36:26 you just call it to get a reference to already created actionbar Oct 29 00:36:42 oh i gotcha Oct 29 00:36:53 so i have class MainActivity extends Activity Oct 29 00:37:00 I will be calling the method in MainActivity Oct 29 00:40:11 mhm Oct 29 00:44:23 Package intel x86 syste image Android APi 18 depends on "Missing SDK Platform Android API 18. Oct 29 00:44:28 What does it mean ? Oct 29 00:45:40 dracut initramfs-3.11.6-301.fc20.x86_64.img $(uname -r) Oct 29 00:45:45 is that right yeah? Oct 29 00:45:58 woops wrong chan lol Oct 29 00:46:07 bluesm_: you are missing SDK platform Android API 18 Oct 29 00:46:10 its again frustrating... . Oct 29 00:46:36 How can i get proper update-binary file ? Oct 29 00:47:24 not the right channel Oct 29 00:47:47 icedp: Ah. It try to update "intel image" for Android 4.3 ? And it doesn't have required resources ? Oct 29 00:48:54 bluesm_: yep. just click yes agree next (if you need the intel x86 of course) Oct 29 00:56:18 icedp: First I need to install sdk 18. Right ? Oct 29 00:57:45 bluesm_: are you using SDK manager? it should suggest you all you need Oct 29 00:58:54 icedp: It was kind of funny, in the sense that if you select this "image" you couldn't install anything else, you had un-select that. Oct 29 01:41:51 i Oct 29 01:41:57 whoops, sorry Oct 29 01:46:10 i'm trying to figure out how to step through an instrumentationTest case which is failing. anyone know how to do this? i guess first, i need to set a breakpoint here, but i'm not sure how. in eclipse, i just right clicked the line and said 'add breakpoint' and then ran debug config Oct 29 01:46:25 i'm using AS Oct 29 01:51:08 g00s, you set a break point in eclipse by double clicking in the margin next to the line of code you want (n the left) then run debug Oct 29 01:51:27 brx_ yeah, its pretty easy ... Oct 29 01:51:34 trying this in AS though Oct 29 01:51:48 ahh, i misread a comma Oct 29 01:52:24 am I missing something ? Oct 29 01:52:35 you wanting to know how to set a breakpoint in AS ? Oct 29 01:52:40 yeah :) Oct 29 01:52:57 single click on the margin Oct 29 01:53:29 oh, thats obvious :) Oct 29 01:53:32 left-side margin, yep Oct 29 01:53:49 debugger tab also has a button/part that displays all breakpoints declared Oct 29 01:54:13 p_l: and clearing it was totaly broke up until the latest release Oct 29 01:54:19 well, on osx Oct 29 01:54:44 if you even tried to clear it, you started AS down a path of force closing Oct 29 01:54:49 fun that Oct 29 01:55:14 well, I haven't used AS much, I mostly used IntelliJ :) Oct 29 01:55:45 i usually use rubber duck debugging, but i'm more vexed than usual Oct 29 01:58:09 g00s: I love IntelliJ's debugger Oct 29 01:58:21 first time in a long time that I used debuggers (well, outside of SLIME) Oct 29 01:58:27 this is the first time i ever fired it up Oct 29 01:58:51 i dont really use debuggers much Oct 29 01:58:59 g00s: I used it a lot during my previous job Oct 29 02:13:22 I hardly changed my app tonight and yet I am exhausted Oct 29 02:13:30 I need a mtn dew and big mac, stat Oct 29 02:17:31 well I think i'll be heading to bed Oct 29 02:17:38 thanks for all de help tonight fellows Oct 29 02:17:50 red dew alert!! Oct 29 02:17:57 :P night Oct 29 02:24:57 i am using the support action bar, and i have a tablistener like so: https://gist.github.com/anonymous/27a01eddfe8e27b60f32 . What happens is that i start with tab 1, then hit tab 2, then hit tab 1 again. Now both tab1 and tab2 are in the view hierarchy. But I would think tab2 is removed from it. What gives? Oct 29 02:28:26 in AS, when i clear logcat, it seems to stop working from that point on ... Oct 29 02:32:34 IJ is a bit fickle like that with logcat sometimes Oct 29 02:40:55 Hello Oct 29 02:41:12 how can i implement multiple check ? Oct 29 02:41:16 but with value Oct 29 02:42:30 can't quite grasp the question hidden in there Oct 29 02:42:40 english not 1st language ? Oct 29 02:44:55 like checked, unchecked, and intermine? Oct 29 02:48:55 well, i should have used .replace() **** ENDING LOGGING AT Tue Oct 29 02:59:58 2013