**** BEGIN LOGGING AT Fri Oct 03 03:00:00 2014 Oct 03 03:00:04 JacobTabak: Thank you :D Oct 03 03:00:14 MalekAlrwily: your IDE probably defaulted to include support lib Oct 03 03:00:32 probably Oct 03 03:00:39 that's right Oct 03 03:13:19 mornin' Oct 03 03:16:52 hey alex_PP long time no see Oct 03 03:17:04 yeah, been busy Oct 03 03:17:15 well, actually the opposite of busy Oct 03 03:17:22 been on holiday and whatnot Oct 03 03:18:27 hows the photography going ? Oct 03 03:19:14 pretty well Oct 03 03:19:21 had a bit of a misshap though Oct 03 03:19:57 bought a 580EX ii to play with only to have it stolen along with all my 35mm cameras a week later Oct 03 03:20:31 * g00s googles 580ex Oct 03 03:21:01 flash Oct 03 03:21:03 sorry about your loss Oct 03 03:21:09 yeah thats terrible Oct 03 03:21:17 not the end of the world Oct 03 03:21:21 when out travelling, gotta have your stuff real close Oct 03 03:21:33 it was at home Oct 03 03:21:35 break in Oct 03 03:21:51 not a huge amount of value gone Oct 03 03:21:54 even spookier Oct 03 03:21:56 the 580 was the most pricey but Oct 03 03:21:58 *bit Oct 03 03:22:00 glad you are OK then Oct 03 03:22:15 im gonna drop this here one more time Oct 03 03:22:20 just pushed it tonight, want feedback Oct 03 03:22:21 https://github.com/timehop/sticky-headers-recyclerview Oct 03 03:22:24 most pissed off about the EOS 3, a friend gave it to me Oct 03 03:22:39 hello im wondering what kind of list/view table view style is this called with grouping and dividers like such. http://grab.by/ATZE and how can i got about implimenting this would i need a tableview inside a listview? would that work? Oct 03 03:23:28 alex_PP at photkina some cool new stuff announced; like the canon G7x and panasonic dmc-LX100 Oct 03 03:23:44 *photokina Oct 03 03:23:55 jaspertheghost - just linearlayout with xml drawable backgrounds Oct 03 03:24:56 you can do shapes with rounded corners Oct 03 03:25:03 i could do that in 10 min Oct 03 03:25:22 g00s: i want a 7Dii now, and a gopro 4 Oct 03 03:25:30 but that'll all have to wait Oct 03 03:25:58 not sure I really have a use for a gopro beyond strapping it to my daughter and sending her off Oct 03 03:26:28 alex_PP man that replaced the 7D from 2009 ? took them enough time :| Oct 03 03:26:37 meanwhile sony has been kicking their ass Oct 03 03:26:37 say i wanted it in a listadpater though cause i need to iterate a list of stuff … i can create the shape which would have the dividers in here … how would u handle expanding for text etc … Oct 03 03:26:51 adjusting the height of it .. or no adjusting height? Oct 03 03:27:05 it would be fixed? Oct 03 03:27:16 well, have you ever tied to use a sony? Oct 03 03:27:23 IQ isn't everything Oct 03 03:27:34 jaspertheghost shape drawables are scalable Oct 03 03:27:40 they're like automatic 9 patches Oct 03 03:27:53 that you don't need to provide different assets for different densities Oct 03 03:28:29 alex_PP i played with a few, that all had different UIs :/ Oct 03 03:29:05 exactly, EOSs have been the same since the 80s(?) which is awesome Oct 03 03:29:14 I have a very strange problem here. If I launch an acitivity from a notification, and if the app is currently in foreground, the launched activity does not draw the UI completely. The views does not appear at all, just the background layout only is displayed. I couldn't find similar situations on stackoverflow.!! :( Oct 03 03:29:18 Jacob.. if i wanted it to press down on clicking i would need to create a pressdown image? Oct 03 03:29:26 JacobTabak, that lib looks ok Oct 03 03:29:34 nothing glaringly wrong with it that i can see Oct 03 03:29:38 jaspertheghost you can use a state list drawable with a different state for pressed Oct 03 03:30:04 alex_PP thanks, hoping someone will be interested enough to actually try to implement something with it Oct 03 03:30:36 line 105: use instanceof? Oct 03 03:31:00 alex_PP not a bad idea Oct 03 03:31:05 line 149: i'd use the simper if Oct 03 03:31:07 Can someone help me with my prob? Let me know if code needs to inspected. Oct 03 03:31:10 alex_PP hm, $1800 for an APS-C sensor ... Oct 03 03:31:27 alex_PP do you have lenses already for that format ? Oct 03 03:31:31 yeah, but a man sized af sytem, weather sealing, blah blah blah Oct 03 03:31:36 lol alex_PP i was trying to avoid an ugly multiline if Oct 03 03:31:57 supress warnings is ugly too :P Oct 03 03:32:14 no EFS specific Oct 03 03:32:24 there's nothing ugly about multiline if Oct 03 03:32:26 but my 70-200 would work nicely on it Oct 03 03:32:35 seems like im going to need to know a bit about graphic design to pull this off no? Oct 03 03:32:37 5d + 24-70 for closer stuff Oct 03 03:32:40 but yea i can keep it <100 chars Oct 03 03:32:40 so i will Oct 03 03:33:52 i want to sell my 24-70 though, and buy a big pile of primes Oct 03 03:34:33 jaspertheghost: are you trying to make it look exactly like apple or just something 'like' that pic? Oct 03 03:35:55 something like that pic pretty damn close to that pic Oct 03 03:36:19 does anyone know what causes java.lang.NoClassDefFoundError whenever i do adView.loadAd(adRequest); it only happens on my lenovo ideapad (running android 3.2.1) and i suppose other android devices with the same version Oct 03 03:36:42 i am about to take on a project that needs to look good, and have that style of lists etc.. and i have no experience building ui stuff like this Oct 03 03:36:44 jaspertheghost: is there a specific reason? it's pretty poor form to be producing apps that look like that Oct 03 03:38:04 i just really want to be able ro make grouped sections like that where the background color is visiable to serpate out the grouped items Oct 03 03:38:53 i need to figure out how to make buttons look like this Oct 03 03:38:54 http://grab.by/ATVC Oct 03 03:39:06 and that when i click the item it slides to the next screen Oct 03 03:41:56 so you want custom button styles and animations Oct 03 03:42:11 doesn't seem like a big deal Oct 03 03:42:16 thoughts? http://flyingsoft.pw/ad%201%201024x768.png Oct 03 03:42:35 android supports both easily Oct 03 03:44:02 i hope i can figure this all out within a reasonable period of time… i never been good on design Oct 03 03:44:15 and furing out layouts on android has been difficult for me Oct 03 03:44:36 especially layed .. layouts within layouts... Oct 03 03:46:11 alex_PP what do you think about the canon EOS SL1 ? Oct 03 03:47:17 like when should i use a relative layout vs a linear layout … are there only 3 kinds of layouts linear, relative and linear? Oct 03 03:48:10 g00s, looks cute with the 40STM on it, be a nice chuck in a bag and take everywhere camera Oct 03 03:48:11 so badass that SL1 comes in white, i'd totally get that for the desert maybe it doesn't cook so badly in the sun Oct 03 03:48:21 to be honest, i didn't notice it get released Oct 03 03:48:36 yeeah, i dont want mirrors and prisms any more :| Oct 03 03:48:45 it'll take the new 24STM too Oct 03 03:51:14 not a fan of touchscreens on cameras though, I find the biggest benefit to a pricey camera is that there's a dedicated button for everything you care about Oct 03 03:51:31 it's just so much faster and you can do it with your eyes closd Oct 03 03:51:31 jaspertheghost, sounds like you're going through the standard learning curve - no need to lament about it too much, everybody went through the same procedure Oct 03 03:52:00 alex_PP yeah Oct 03 03:52:04 jaspertheghost, there are many more kinds of layouts, plus you can always easily make your own Oct 03 03:53:09 yea im just stressing like i know ill get ity dont eventually but i have a timetable i gotta adhere too, my first android app was hell to debug across the zillion android apps all needing little tweaks and it was just mostly built in a webview this one is much bigger and im getting paid alot of money to get it done Oct 03 03:53:11 wow, that new EOS is $800! Oct 03 03:53:20 i just hope i didnt bite more than i can chew Oct 03 03:53:26 oh, with lens Oct 03 03:54:00 jaspertheghost, just keep at it, try new things Oct 03 03:54:09 i gotta have a built in calendar in this app… i dont even know how to store in app calendar data Oct 03 03:54:21 gotta interface with billing schemes Oct 03 03:54:24 once upon a time, you couldn't walk or talk either, and those are much more complicated than this Oct 03 03:55:19 does google calendar api allow for a calendar to be created specificallty for an app and accessed by the app to read the data and not the main google calendar app? Oct 03 03:55:22 alex_PP i was looking into the T5i or SL1, still undecided Oct 03 03:58:20 they're likely to be almost the same picture wise, I'd pop down the shop and see what's nicer to use Oct 03 03:58:23 for you Oct 03 03:58:50 alex_PP yeah http://snapsort.com/compare/Canon-Rebel-SL1-vs-Canon-Rebel-T5i Oct 03 03:58:52 tie Oct 03 03:59:10 this kind of thing is very personal, I have nothing against nikon, for example, but using thier cameras gices me a headache be cause i've been using canons for 14 years Oct 03 03:59:41 and i got a second hand 20D because the 350D was too small for my hands Oct 03 03:59:47 that was some time ago now though Oct 03 04:00:22 that's something to consider too, i have 90cm prints from my 20d that are just fine Oct 03 04:00:38 those go for <$100 now Oct 03 04:01:07 and the 7D prices might be coming down after the ii was announced Oct 03 04:02:22 hi all - has anyone got a recommendation for storing notification registration IDs in a sql database alongside ios push device tokens? Oct 03 04:02:42 the token formats are quite different between the two systems, wondering whether its unwise to store them in the same column/data type Oct 03 04:04:24 spronk, are ypu sure you're in the right channel? Oct 03 04:04:48 well, not really :) Oct 03 04:05:08 i figure this is a likely place for people who will have dealt with this issue Oct 03 04:05:32 regarding ios? im an android channel? Oct 03 04:05:36 in* Oct 03 04:05:45 well, part of it is regarding ios Oct 03 04:05:58 part of it is android google cloud messaging Oct 03 04:06:08 ravilov: Im a barbie girl Oct 03 04:08:02 to be honest, i can't even find in the google docs what format the registration id actually is. some google groups post indicates it can be up to 4kb in size Oct 03 04:08:09 Agamemnus, nice to meet you, wanna go party? Oct 03 04:08:30 "An android channel and a barbie girl walk into a bar..." Oct 03 04:09:46 spronk, logic and common sense say you shouldn't try to push both into a single field/table Oct 03 04:10:02 hmm Oct 03 04:10:41 for example, what happens when one user has an iOS and an Android device Oct 03 04:10:42 i guess. having them separate makes all my other queries more complex though so a bit of a trade off Oct 03 04:10:50 or 5 of each Oct 03 04:11:04 well tokens are 1-many user-token Oct 03 04:11:55 4kb seems a bit insane for registration id max length though... does anyone have a link to a spec on this? Oct 03 04:18:51 alex_PP have any paid apps ? Oct 03 04:19:06 not personally Oct 03 04:19:14 dealing with VAT is a pain Oct 03 04:19:20 just in case you missed the changes while on vacation Oct 03 04:19:28 although, last time i logged into the console it told me that wont be an issue soon Oct 03 04:19:40 changes? Oct 03 04:19:45 the address thing Oct 03 04:20:06 yeah there is that, new TOS (3 day email) Oct 03 04:20:24 3 day email? Oct 03 04:21:08 i think you have to respond to inquiries within 3 days Oct 03 04:21:22 as you can tell i didn't read the new ToS very closely :D Oct 03 04:21:39 how can they tell? Oct 03 04:21:57 did you need to respond to it within 3 days? :p Oct 03 04:23:29 bah, one of my apps ratings is <4 Oct 03 04:23:31 :( Oct 03 04:24:16 4.83, 4.5, 4, 3.12 Oct 03 04:24:29 might bin that one it's served the purpose i had for it Oct 03 04:24:36 *wrote it for Oct 03 04:28:02 hey all, I can't seem to find the preferenceView when I create an xml layout file in android Studio. Where is it? Oct 03 04:32:38 in xml/? Oct 03 04:32:46 er, res/xml/ Oct 03 04:33:49 Not res/layout? Oct 03 04:36:15 Nope, cool, thanks. Oct 03 04:39:30 Hey guys. I am following the Android tutorial "Displaying Graphics with OpenGL ES" and I am having difficulty drawing shapes to the screen. Here is my code: http://pastebin.ws/77ymqf . It does set the background colour correctly (line 82). Thanks! Oct 03 04:49:25 "We've detected unusual activity on your account. To sign in, please follow the instructions below." wtf Oct 03 04:51:00 does google just not like VPNs or something ? Oct 03 04:57:58 weirdness. looking through the account activity, its all the same IPs , locations, and browser ... nothing weird. wth could have triggered that Oct 03 05:06:16 anyone know why this is an issue https://developer.android.com/reference/android/os/StrictMode.VmPolicy.Builder.html#detectFileUriExposure() and what should be done instead? Oct 03 05:27:29 hello Oct 03 05:28:04 can I install network services like ssh to my android? Oct 03 05:28:27 legally via google play Oct 03 05:32:44 or just legally, without rooting or hacking Oct 03 05:43:14 :( Oct 03 05:45:21 hey so this isn't necessarily android development related but ties in it to.... so i have a client that wants an app that scrapes websites and displays the info on an app.. no so bad right? i will give a close example as to what it is...so basically the app would scrape blogs and post that blog post on the app, still have the authors credits and everything (perhaps even the website names)... Oct 03 05:45:21 would that be legal??? they are asking me this i have no idea Oct 03 05:46:41 can anyone help me on how to set the size of an action bar, here is my style file. http://pastebin.com/cfayHZ6r Oct 03 05:54:39 MartialLaw seems shady Oct 03 05:58:08 MartialLaw, legal? dunno. moral? only if you agreed on it with the blog authors. even then, most blogs offer RSS which is a much better and safer approach than scraping (and you need no permission from the author to use it) Oct 03 06:01:00 Sure, it's perfectly legal. Why even give credit, just pass it off as your own content. And charge for it. And don't ask for legal advice on irc, consult a lawyer. Oct 03 06:03:58 or just use common sense and/or moral compass if you have them :p Oct 03 06:09:30 well with MartialLaw , regular law has already been suspended ... so i guess anything goes Oct 03 06:11:30 lol Oct 03 06:13:26 just asking opinion before i go furthur. i havent never dealt with something like this before. web scraping in itself is a bit grey anyhows but this seems outright illegal, and yes immoral. but this is america (for most of you) when have morals ever mattered in this shithole of a country? Oct 03 06:13:41 i'd find another project to work on Oct 03 06:13:50 and another client, who isn't a dipshit Oct 03 06:15:15 america is a shithole? really? Oct 03 06:15:36 I'd also find a different country to offend Oct 03 06:16:21 ravilov, love ya bud but you been out of amurica? Oct 03 06:16:36 er Oct 03 06:16:45 i love 'murica much as the next guy...from philly, but daaaaaamn have we got lot to learn Oct 03 06:16:47 yes Oct 03 06:16:57 most of my life actually Oct 03 06:17:04 where bouts? Oct 03 06:17:12 * ravilov is not an american :p Oct 03 06:17:21 well yeah, philly is a shithole Oct 03 06:17:25 ravilov should know Oct 03 06:17:33 so is new york, so is LA.... Oct 03 06:17:55 so is miami... Oct 03 06:17:59 so is chicago Oct 03 06:18:07 america is way too big to call it all a craphole, some areas are actually very nice Oct 03 06:18:12 so is *city here* Oct 03 06:18:13 detroit too Oct 03 06:18:16 * ravilov is working on moving to america Oct 03 06:18:27 where is ravilov from? Oct 03 06:18:36 that's the big question Oct 03 06:18:36 eh, most of "big cities" are crapholes Oct 03 06:18:39 ravilov i'd move to a nordic country if i could :| Oct 03 06:18:45 america or not Oct 03 06:18:47 yes where I AM moving Oct 03 06:18:54 i am from philly and moving to Norway Oct 03 06:18:57 g00s, my family awaits me in america Oct 03 06:19:02 because it's nice and clean and great Oct 03 06:19:15 MartialLaw, I'm from EU Oct 03 06:19:19 MartialLaw because they have a working government :) Oct 03 06:19:22 ok where in the EU? Oct 03 06:19:28 g00s, yep! Oct 03 06:19:30 not sure it matters ;) Oct 03 06:19:30 Hey guys. I am following the Android tutorial "Displaying Graphics with OpenGL ES" and I am having difficulty drawing shapes to the screen. Here is my code: http://pastebin.ws/77ymqf . It does set the background colour correctly (line 82). Thanks! Oct 03 06:19:41 ravilov, yeah it mos def does Oct 03 06:19:52 italy and greece aint denmark, germany, or noway Oct 03 06:19:54 norway* Oct 03 06:20:06 nor the eastern EU countries Oct 03 06:20:16 EU's got a lot of nasty as well Oct 03 06:20:28 not to mention rampant racism Oct 03 06:20:56 where in the EU ravilov. what's the shame? i said i was from philly Oct 03 06:22:03 * MartialLaw knows somebody is being a pussy right now Oct 03 06:22:14 :-/ Oct 03 06:22:17 I'm from a crappy dysfunctional country that is none of which you mentioned Oct 03 06:22:26 Spain Oct 03 06:23:07 MartialLaw, yeah asking repeatedly will not necessarily provide more responses, sorry; probably nobody knows Oct 03 06:23:17 g00s, sure why not :p Oct 03 06:23:19 er Oct 03 06:23:23 Mayzie, not MartialLaw Oct 03 06:23:37 anyway Oct 03 06:23:47 plane, phones off etc Oct 03 06:24:13 oh i thought ravilov said earlier he was from Spain Oct 03 06:24:26 Twice in the past two hours, and since then people started talking and new people have joined. Ah wells. Oct 03 06:24:30 * ravilov changes nick to |afk-away-notherr Oct 03 06:24:33 here* Oct 03 06:24:39 Romania or Bosnia and Hz. maybe Oct 03 06:24:50 Does it matter where he/she is from? Oct 03 06:25:02 keep guessing, at least it's entertaining :) Oct 03 06:25:08 is there a prize? Oct 03 06:25:17 some eastern european country.....ie. the countries that provide the reasons why the EU should split apart Oct 03 06:25:37 alex_PP: yes... your mom Oct 03 06:25:43 awesome, Croatia Oct 03 06:25:44 and yes i am that juvenile Oct 03 06:26:54 transparency Oct 03 06:49:16 unable to set the height of a custom action bar can someone help me? here is my custom action bar layout. http://pastebin.com/r2nyuc6D Oct 03 07:06:10 mornin happy android people Oct 03 07:07:18 Morning to you Mavrik Oct 03 07:15:18 so i was playing with a custom listview, override onDraw called super then trying drawing some stuff, but nothing i drawed after the call to super would show up--i had to use dispatch draw, is this normal? Oct 03 07:20:30 lasserix, I doubt ListVIew actually does any drawing at all Oct 03 07:20:34 it just lays out other views Oct 03 07:20:41 ahh probably Oct 03 07:20:44 yeah that makes sense Oct 03 07:20:45 ugh Oct 03 07:20:49 i am making a wheel widget Oct 03 07:20:51 so it's totally possible your drawed content got covered by listview views Oct 03 07:20:52 such a pain in the ass Oct 03 07:21:02 totally not UX friendly too Oct 03 07:21:12 or that the "isDrawing" flag is set to false on ListView Oct 03 07:21:15 why in the hell should you have to "center" your selection when you could just click it Oct 03 07:21:18 or whatever that flag is called Oct 03 07:28:55 anyone know how to map getChildAt to adapter position? Oct 03 07:34:46 I've got an app I've been working with. Worked great for a while, but now it has suddenly stopped opening. I've uninstalled/reinstalled it, rebuilt it from source with both debug & release keys, and no luck. I don't see much of anything in logcat that would point to a culprit. Any pointers on where I should start looking? Oct 03 07:49:23 lasserix, most reliable way is to set a tag on the view with some information about the adapter Oct 03 08:00:01 I'm having troubles with cookies Oct 03 08:00:20 This code works the second time I run the activity: http://pastebin.com/fFqjdAWn Oct 03 08:00:57 the first time around, it won't copy the cookies into the cookie manager, and the webview will not have thme. Oct 03 08:11:06 in my app i use special characters øØ æÆ åÅ theese are displayed correctly when shown in textviews etc, but when i do queries with sqlite on 4.2.2 ø matches Ø(upper case ø) but on 4.1.1 ø does not match Ø Oct 03 08:11:11 any suggestions on what could be wrong? Oct 03 08:11:51 asfdd: https://www.sqlite.org/faq.html#q18 Oct 03 08:13:15 try comparing UPPER(COLNAME) to string.toUpperCase() Oct 03 08:14:15 or UPPER(COL) = UPPER(?) Oct 03 08:14:26 yes i suppose that will work ty, still strange it works on 4.2.2 automatically but not on 4.1.1 Oct 03 08:15:16 would upper(ø) actually then be able to produce Ø? if it doesn't have the translation tables? Oct 03 08:17:06 or... if that doesn't work, https://developer.android.com/reference/java/text/Normalizer.html Oct 03 08:17:22 and you can store another column of normalised strings to compare against Oct 03 08:21:25 i'd rahter avoid creating a new column, but hopefully upper will work Oct 03 08:21:26 trying now Oct 03 08:24:10 <_CalLightman_> Hi, does anyone know a solution for this - https://stackoverflow.com/questions/4558810/adjustpan-not-preventing-keyboard-from-covering-edittext Oct 03 08:28:19 upper seems to work Oct 03 08:50:27 jesus android sucks Oct 03 08:50:41 SystemClock.sleep(...) fixes CookieSyncManager Oct 03 08:53:26 i don't think sleep does what you expect it to do then, all it does is wait for an interrupted amount of time according to doc Oct 03 08:53:42 so that means probably he syncmanager has had time to work before your code continues Oct 03 08:58:52 Should loader restart on its own after I minimize and restore my application ? Oct 03 09:03:49 Morning all Oct 03 09:04:14 asfdd: exactly Oct 03 09:04:26 fun, google play services keeps crashing on my android l \o/ Oct 03 09:04:38 asfdd: http://code.walletapp.net/post/46414301269/passing-cookie-to-webview it's a known issue Oct 03 09:05:12 or maybe not byb gogle Oct 03 09:13:59 What imageloaders do you guys use? Oct 03 09:14:37 Im having some OOM problems so I figured I should probably restructure my imageloading Oct 03 09:14:41 picasso Oct 03 09:15:14 c03 do you call CookieSyncManager.getInstance().sync() before you start your app? Oct 03 09:15:38 or you could probably call that in doInBackground() as well Oct 03 09:15:42 instead of sleeping Oct 03 09:15:56 asfdd: how do I call something before I start my app? Oct 03 09:16:19 you can do it on create Oct 03 09:16:23 before you create your gui Oct 03 09:17:12 I'm setting cookies manually Oct 03 09:17:31 I need to move them from one session to another. Oct 03 09:18:01 Is there a standard Android NFC icon? Oct 03 09:20:43 Hello. I can't find the event of AutoCompleteTextView when the suggestion are displayed Oct 03 09:22:37 so sync before your new session starts i would assume, it says in the doc "To get the best performance, browser cookies are saved in RAM. A separate thread saves the cookies between, driven by a timer." and "To get instant sync instead of waiting for the timer to trigger, the host can call Oct 03 09:22:37 CookieSyncManager.getInstance().sync() Oct 03 09:22:54 Estel http://ux.stackexchange.com/questions/34117/is-there-a-style-guide-for-nfc-functionality-on-android-or-generally Oct 03 09:23:30 The image is CM I think though, but might shed some light on things Oct 03 09:24:26 Should loader restart on its own after I minimize and restore my application ? Oct 03 09:24:35 Yeah, seems there's nothing official but I guess I might as well use some random freely licensed one >_> Oct 03 09:24:49 Or make your own in paint! Oct 03 09:25:06 Cant possibly go wrong :D Oct 03 09:25:26 Any suggestions on how to troubleshoot an app that won't start yet doesn't log anything to adb logcat? Oct 03 09:25:27 <_CalLightman_> Hi, does anyone know a solution for this - https://stackoverflow.com/questions/4558810/adjustpan-not-preventing-keyboard-from-covering-edittext Oct 03 09:27:26 hey all, how can I have a file dialog in the settings page? Oct 03 09:30:59 Same way you'd have a file dialog any other place in your app I imagine Oct 03 09:31:37 VnM: Ok just checking, thanks Oct 03 09:42:19 where can i find the android auto sdk docs? Oct 03 09:42:26 all i can find is some rough design guide Oct 03 09:42:34 but no actual javadocs Oct 03 09:53:21 Can bluetooth be enabled without user interaction from an app? Oct 03 09:54:41 Never mind, found the answer already. Oct 03 09:58:25 Okay, real question now: Is it possible to use a background service that polls a specific bt device? Oct 03 09:58:37 most probably yes Oct 03 10:26:41 i put IInAppBillingService.aidl in src/com/android/vending/billing, but it can’t resolve when i try to import com.android.vending.billing.IInAppBillingService.. what else do i need to do to add it to my project? Oct 03 10:29:51 anybody familiar with okhttp? Oct 03 10:31:40 there might be, if you were to actually ask the question like you should Oct 03 10:32:10 should have* Oct 03 10:42:19 how do I properly use icons with a desired size i.e. I want to set the size in DP? Oct 03 10:42:32 they are all blurry when I use an imageview/button Oct 03 10:42:44 how do i send post data and also an image in okhttp? Oct 03 10:43:19 do I need to make a custom drawable xml file separately for each icon? Oct 03 10:43:56 Jaycob, you put the right-sized icon into the right resource bucket; you don't ever deal with bucket-based resources yourself Oct 03 10:44:51 ravilov, if you're talking about the drawable-XXX folders in the android project, then yes I've done this Oct 03 10:45:28 problem is that when I'm using the icons in a layout file they become blurry when I try to increase their size from default Oct 03 10:48:28 as far as I know, you are only ever given one single icon that is appropriate for the current display size, you won't have access to any larger ones even if you have them; if you need that then either use drawable (no qualifier) or drawable-nodpi and put all the icon sizes in there Oct 03 10:48:30 Jaycob, ok, first of all, make sure you set a "static" size for the ImageView in dp Oct 03 10:48:44 IIRC standard size for UI icons is 48x48dp Oct 03 10:49:01 then you'll need a proper image for the bucket you're displaying, e.g. 1x, 1.5x, 2x, 3x Oct 03 10:49:20 nisargtha, use multipart/form-data and encode the file within POST correctly Oct 03 10:49:22 you can of course display a 3x image on 1x display, but if you'll show a 1x image on a 3x display it'll look blurry Oct 03 10:52:40 Mavrik, 48x48 fixed? wouldn't that depend on DPI/display size? Oct 03 10:52:50 48x48dp. Oct 03 10:53:07 ah right, dp Oct 03 10:53:10 :) Oct 03 10:53:10 missed that Oct 03 10:53:24 I probably should have written 48dp x 48dp to be clear Oct 03 10:53:37 http://developer.android.com/design/style/metrics-grids.html Oct 03 10:53:46 it seems it's 32 dp actually :) Oct 03 10:53:53 maybe, but maybe I'm so distracted I wouldn't notice anyway :p Oct 03 10:54:56 hi! is that possible to know whether original stock rom was updated(or custom rom was installed)? Oct 03 10:56:37 oles__ wrong channel Oct 03 10:56:49 oh maybe not Oct 03 10:57:04 you mean from an app ? Oct 03 10:57:24 not reliably Oct 03 10:57:47 yeah it's down to ROM maker to set the info that is available Oct 03 10:57:49 Steve_Jobs, yep Oct 03 10:57:51 most identifiers can be faked through build.prop Oct 03 10:58:46 ravilov, so reliable way is to calculate sha1 on every file in rom? Oct 03 10:58:56 speaking of which, I should totally fake it so that my 2.3 device appears as 4.2 :) Oct 03 10:59:08 oles__, ... absolutely not Oct 03 10:59:38 what would that accomplish, except tie you irreversibly to that specific device and ROM? Oct 03 11:00:14 there is just no reliable way. period. Oct 03 11:01:31 thanks ravilov and Mavrik, will try the tips! Oct 03 11:03:14 ravilov, what do you mean to tie irreversibly? Oct 03 11:03:59 hmm Oct 03 11:04:10 oles__, what's your usecase? Oct 03 11:05:47 i need to know if my app running on custon rom Oct 03 11:06:15 custom Oct 03 11:08:25 oles__, I don't have time to explain any more right now, think about it and surely you'll figure out what I mean Oct 03 11:08:42 bottom line is - you cannot know that reliably Oct 03 11:09:13 so either do it (very) unreliably, or give up on that idea Oct 03 11:12:05 (IMHO a pointless idea anyway, can't imagine why that would matter) Oct 03 11:13:01 also consider this: Oppo sells phones whose official stock ROM is CM which is technically a custom ROM Oct 03 11:13:11 ravilov, so you mean someone can rom(kernel or libc) in such way that i could not correctly calculate hash of a particular file (for example)? Oct 03 11:13:41 modify * Oct 03 11:14:31 wow dude Oct 03 11:15:31 do you really think original unhacked unmodified libc or whatever is exactly the same on every single device out there? Oct 03 11:16:20 eithet way this is the wrong channel for this anyway, like it says in the channel topic Oct 03 11:16:24 oles__, I think you're underestimating just how much the manufacturers change and customize ROMs by default Oct 03 11:16:24 either* Oct 03 11:17:29 either he has no idea what he's talking about, or he's really targeting just one single ROM/device Oct 03 11:17:38 ravilov, i mean exact hash exact version of rom for exact device Oct 03 11:18:09 yep still pointless and useless info Oct 03 11:18:33 you just need to accept this is simply NOT POSSIBLE Oct 03 11:18:35 ravilov, why Oct 03 11:18:44 eh, because Oct 03 11:19:05 if you can't accept that, try it and see for yourself Oct 03 11:19:44 best way to check stuff anyway Oct 03 11:20:07 Is it possible to use the AccountManager class in Android to get email credentials from e.g. GMail or the Mail app and then use this to send an e-mail? Oct 03 11:20:10 How do I turn a Drawable to a RotateDrawable? Oct 03 11:20:41 anyway oles__, you should discuss this in #android-root, this channel is the wrong place like I said Oct 03 11:21:15 ravilov, Oct 03 11:21:42 This is not the channel you are looking for Oct 03 11:21:46 Tobbi, afaik you can get access to that info (if you have the appropriate permission) but you can't make use of it directly Oct 03 11:21:47 * VnM makes awkward hand gestures Oct 03 11:22:06 * ravilov translates Oct 03 11:22:11 "go away" Oct 03 11:22:34 ravilov: What does that mean "can't make use of it directly"? Oct 03 11:24:16 you can get the account name (xxx@gmail.com) but there is no password, there is just "access key" that is only of use to google services Oct 03 11:24:36 you probably can't even get that security token directly Oct 03 11:35:00 ravilov: What a shame. So, I either have to start an email client so send an email or bundle an smtp server and store the credentials inside the app/ Oct 03 11:38:40 That's not a shame.. That ensures that random apps can't silently send emails from a users email account Oct 03 11:40:34 J2ME is the worst thing in the world :@ :@ :@ Oct 03 11:42:03 ye Oct 03 11:42:08 i did some bb dev work last year Oct 03 11:42:14 my soul died Oct 03 11:45:55 SimonVT: But this is exactly what we want in this case :P Oct 03 11:46:02 And it is wanted by the user in this case. Oct 03 11:46:03 :P Oct 03 11:46:20 Don't be mad Estel! Oct 03 11:46:31 VnM: how can I not? :D Oct 03 11:47:27 What you using J2ME for? Oct 03 11:48:36 hi Oct 03 11:50:15 Rebuilding the app for Android, want to look at the app first Oct 03 11:50:34 But seriously, I've spent two hours trying to find the correct version of Java just to run the emulator :@ :@ Oct 03 11:51:54 Sounds extremely fun Oct 03 11:51:54 I give up, time for lunch :@ Oct 03 11:52:19 Don't forget to chew Oct 03 11:52:38 estel maybe you should program in c# Oct 03 11:52:42 for windows phone Oct 03 11:52:45 or objective c Oct 03 11:52:48 for iphone Oct 03 11:53:00 you can actually use c# for all 3 platforms now Oct 03 11:53:01 too Oct 03 11:53:08 with xarmin i think Oct 03 11:53:13 I'm trying to find the intent's flag to open the already existing activity from the stack, I've tried with Intent.FLAG_ACTIVITY_REORDER_TO_FRONT, but onCreate is still called, somebody knows how to do it? I need it for my notification icon Oct 03 11:54:14 MyWay you need it for a what ? Oct 03 11:54:32 what has an activity got to do with a noti icon ? Oct 03 11:54:54 when I tap the notification icon, I'd like to open my activity already in the stack Oct 03 12:16:47 hi I have messages app running on phone and I programmatically deleted few messages. how do I update messages app ? Oct 03 12:17:51 I mean so it refreshes screen and shows only existing messages now Oct 03 12:18:07 what messages did you delete ? Oct 03 12:18:14 and how/from what source Oct 03 12:19:59 using sl4a Oct 03 12:20:49 I mean your own db ? content provider ? Oct 03 12:21:03 system content provider ? Oct 03 12:21:49 anyway… if you are using a listView probably just hat to notifiyDatasetChanged() or whatever it is Oct 03 12:22:05 but yeah, not up on scripting stuff Oct 03 12:24:49 actually whatever android provides can we notify messages up to refresh Oct 03 12:25:01 or ask content provider to notify messages up Oct 03 12:27:21 not sure I understand the question Oct 03 12:27:30 but pretty sure you dont either :) Oct 03 12:31:49 is it me or Jackson ObjectMapper is not expected to work the way I'm expecting it to Oct 03 12:31:54 I have json Oct 03 12:32:11 I make object mapper Oct 03 12:32:28 and use readTree to get root JsonNode Oct 03 12:33:24 but when, I try to myJsonNode.toString() I get the JSON object but not the root Oct 03 12:50:04 and people ran away :-P Oct 03 12:52:04 All of our employees are currently unavailable, please hold Oct 03 12:52:49 Also doesn't JsonNode have a getString method? Should probably try that instead of toString Oct 03 12:55:24 Ah here, Looney, tried this http://stackoverflow.com/questions/18952571/jackson-jsonnode-to-string-with-sorted-keys ? Oct 03 12:57:09 let me see VnM Oct 03 13:06:33 hello Oct 03 13:06:37 i am trying to build only platform/cts using ndk-build, but it complains about missing jni/Android.mk Oct 03 13:06:44 I created it manually, but them it complains about duplicated package names.... so probably my solution is stupid Oct 03 13:06:52 so, how do i compile it? Oct 03 13:19:45 How can I tell if my BroadcastReceiver was properly registered? Oct 03 13:21:17 maslen usually calling it with the registered type Oct 03 13:21:33 never looked into a register list Oct 03 13:22:08 StingRay_: I'm completely new to BroadcastReceiver's. Could you explain a little further? Oct 03 13:24:21 not when it's in the docs Oct 03 13:24:29 they will do it better Oct 03 13:29:12 anyone with VPN experience on Android? What happens to GCM when VPN is connected? Oct 03 13:32:10 kar why not test it Oct 03 13:34:21 it's just one of the questions I'd have to someone familiar with VPN ;p Oct 03 13:34:25 kind of a warmup Oct 03 13:34:32 and a trap Oct 03 13:34:58 well…. test it then it's done Oct 03 13:35:02 :) Oct 03 13:42:45 . o O ( Eclipse is shuch a piece of shit ) Oct 03 13:44:44 I'm getting so many messages in "All Logs" in LogCat that the log for my specific app is getting cleared. How can I make my logs last long enough? Oct 03 13:45:40 ah, http://stackoverflow.com/questions/12442892/eclipse-android-logcat-clearing-too-fast Oct 03 13:45:54 syntactics: why :) Oct 03 13:48:22 Anyone familiar with SSL? Oct 03 13:48:50 I'm wondering if SSL signs message content as described in PKCS #7/CMS Oct 03 13:51:00 Why is Eclipse Shyte? Because it is buggy as hell Oct 03 13:51:50 Variables that won't appear in watches, losing logcat, failing to reload files, shall I go on for ever? Oct 03 13:52:12 Every week a lose an hour or two until I remember to close Eclipse and reload Oct 03 13:52:23 just switch to Android Studio? Oct 03 13:53:21 AS has some of those problems too Oct 03 13:53:26 are there any real must-have enhancements in android studio over idea, or should I not bother migrating over? Oct 03 13:54:06 Could someone explain why this broadcast receiver isn't properly registered in the XML ? http://pastebin.com/BAXd87zh Oct 03 13:54:21 I recently switched from Eclipse to AS, and I regret. imo, tools devs take a good IDE and rip it apart, breaking stuff Oct 03 13:55:11 kar: why do you regret? Oct 03 13:56:04 huh Oct 03 13:56:07 say what Oct 03 13:57:51 simple stuff like, AS will forcefully put android sdk dependency on the top of the list in .iml file, which will break your robolectric tests for example. Oct 03 13:58:00 every time you open the IDE Oct 03 13:58:05 Idea doesn't do that Oct 03 13:58:14 if I have an AAR with permissions specified in its AndroidManifest.xml, will final App containing the AAR inherit those permissions? Oct 03 14:00:38 has anyone worked with multipart requests on okhttp? Cant seem to get it right. I want to post an image along with some post data Oct 03 14:01:14 ugh dare I say I have done multipart... it's ben a while Oct 03 14:01:17 been* Oct 03 14:01:41 syntactics, can you give me some snippets of your code? Oct 03 14:02:06 It's fugly, what part are you having trouble with Oct 03 14:02:52 syntactics, like, i wrote some code and tried to test it. Here is what i get: http://www.posttestserver.com/data/2014/10/03/nisarg//06.52.10693406286 Oct 03 14:03:46 j2p2: yes, Android Studio has so many more amazing features. Oct 03 14:03:55 blues-man, by default, yes Oct 03 14:05:44 nisargtha: There is no code there Oct 03 14:06:03 syntactics: here is the code http://pastebin.com/W8b3MME4 Oct 03 14:06:10 kar: yeah, some of the stuff they stripped out of or did to intellij is really frustrating. Oct 03 14:06:38 syntactics: this is inside an asynctask where params[0] is the url Oct 03 14:06:57 I'd just use intellij if possible Oct 03 14:07:10 pfn: thanks for the fix. Oct 03 14:07:18 no reason to use android studio if you're working in intellij fine Oct 03 14:08:05 I have had issues with intellij not being able to resolve dependencies Oct 03 14:08:31 So I use AS for development, but use the command line as much as possible. Oct 03 14:08:43 For builds and whatnot Oct 03 14:09:57 somebody know how to can i work with ndk on android studio? Oct 03 14:10:00 pfn, what about GCM permissions? for instance the my.app.permission.C2D_MESSAGE could be inserted as my.library.permission.C2D_MESSAGE and then consumed within the App ? Oct 03 14:12:55 syntactics, got anything? Oct 03 14:13:24 I have a problem with Wifi Direct, does that count? Oct 03 14:13:25 blues-man, sure Oct 03 14:14:26 pfn, great, thanks Oct 03 14:16:18 Has anyone done any P2P (Wifi Direct)? Oct 03 14:16:34 I can't seem to get multiple devices to join Oct 03 14:16:57 There seems to be some persisent memory regarding the network Oct 03 14:18:14 hmm, can an app take a screenshot of itself? Oct 03 14:18:38 pfn, yes Oct 03 14:18:55 now that I added a feature to submit user logs in qicr, people have sent logs that make no sense Oct 03 14:19:10 http://hanhuy-acra.appspot.com/public/com.hanhuy.android.irc.lite/280623ca1c398a468d0fbe61a9d321d226f875e2 Oct 03 14:19:12 welcome to the real world Oct 03 14:19:34 I should add gcm and push responses back asking wtf Oct 03 14:20:45 EPG, code snippet of such anywhere? Oct 03 14:21:00 I'm tempted to include a screenshot with user logs Oct 03 14:22:00 something like? http://stackoverflow.com/questions/9791714/take-a-screenshot-of-a-whole-view Oct 03 14:22:56 pfn, http://stackoverflow.com/questions/2661536/how-to-programatically-take-a-screenshot-on-android Oct 03 14:23:04 thanks, that might be useful Oct 03 14:23:10 let me stackoverflow that for you... ;) Oct 03 14:23:47 pfn, btw what exactly is strange about the log? Oct 03 14:24:26 EPG, the user comment is transparent status bar or whatever Oct 03 14:24:43 which is useless in the context of the log Oct 03 14:24:49 or vice versa Oct 03 14:25:24 pfn, oh well, at least you got a comment Oct 03 14:26:09 it's required to submit Oct 03 14:26:31 ok Oct 03 14:26:42 I often receive some gibberish Oct 03 14:27:00 but usually my empty template Oct 03 14:27:21 https://github.com/pfn/qicr/blob/master/common/src/com/hanhuy/android/irc/SettingsActivity.scala#L126 Oct 03 14:27:47 if it's gibberish, just ignore Oct 03 14:28:32 heh, better not with the new developer agreement Oct 03 14:29:10 it's not an actual user issue Oct 03 14:29:18 just someone trying shit out Oct 03 14:31:04 pfn: Failed to find ELF magic Oct 03 14:31:17 Your log is awesome Oct 03 14:31:42 all jokes aside, looks like an art issue. Oct 03 14:31:58 one thing before I start digging into my json error Oct 03 14:31:59 huh? no Oct 03 14:32:12 I want to start my process flow from scratch Oct 03 14:32:17 I start with okhttp Oct 03 14:32:27 get the response body Oct 03 14:32:45 and use bytes() to convert json to byte[] Oct 03 14:32:55 oh yeah that was just a warning not an error (elf magic) Oct 03 14:34:22 then I try to get root json node using objectmapper.readTree(byte[] contents) Oct 03 14:42:31 pieces029, the log is useless in the context of the user log, that's why I want to include screenshots now Oct 03 15:06:19 anyone use ShowcaseView in their app? Oct 03 15:08:44 good morning all Oct 03 15:19:57 hi Oct 03 15:21:25 anybody worked with okhttp multipart before? I cant seem to get anywhere. My code: http://pastebin.com/W8b3MME4 Oct 03 15:21:27 hi JacobTabak Oct 03 15:21:34 yo Oct 03 15:21:47 nisargtha: what's the problem? Oct 03 15:22:27 retrofit that bish ;D Oct 03 15:24:52 JakeWharton, does my code look ok? Because i dont get anything when i post to www.posttestserver.com Oct 03 15:25:46 i mean, i think so. i don't know. nothing jumps out Oct 03 15:27:00 hmm. is there any specific way to read the file using php or is $_FILE the correct method? Oct 03 15:29:00 hi all is there something for android apps that allows to use and control multiple ad networks inside my app? Oct 03 15:33:59 JakeWharton, do you have any working snippets for multipart requests? Oct 03 15:34:46 https://github.com/square/okhttp/wiki/Recipes#posting-a-multipart-request Oct 03 15:35:12 something like Oct 03 15:35:12 http://www.mopub.com/ Oct 03 15:35:15 and other things Oct 03 15:35:26 twiceaday, search for ad mediation Oct 03 15:35:34 EPG: thank you Oct 03 15:36:06 JakeWharton, the location in new File(...) is referenced from which location? Oct 03 15:36:40 it's a relative path so java with resolve it from the working directory Oct 03 15:37:12 so is website a folder in the current project? Oct 03 15:40:35 it would be a folder in the working directory from where you executed the script Oct 03 15:44:47 JakeWharton, thanks. Oct 03 15:45:04 ill try to work this out. Oct 03 15:51:12 practitioners of Jackson, how much memory would json to pojo (JSON => http://pastebin.com/ZFdcggGz) hog if I use the the simple data binding Oct 03 15:51:38 yes, there would take nested objects involved Oct 03 15:51:49 it doesn't matter, and basically very little Oct 03 15:51:58 depends on the size of your object graph, obviously Oct 03 15:52:35 I can vary the data Oct 03 15:52:37 maybe 10-50x the size of your json Oct 03 15:52:42 good if little Oct 03 15:53:13 json would be, at worst tens of kb Oct 03 15:53:31 I can live with 500kb used for coversion Oct 03 15:54:21 you made my day pfn Oct 03 15:57:43 Anyone have expierence creating playlists in there app? The easiest way looks like just writing a m3u file to disc and then triggering the media scanner. I also found this http://stackoverflow.com/questions/3182937/android-create-playlist which looks to be a "more correct" way. But I am specifically wondering can we just make up playlist ids or is there a correct way to obtain those? Oct 03 15:57:50 their* Oct 03 16:22:50 Hi all! Oct 03 16:23:35 Guys, I started working on a project and noticed something different: the other developer, on element's id, uses "+main/fooBar". Anyone familiar with that? Oct 03 16:23:40 hey Oct 03 16:29:08 Napalm|work hey man! Oct 03 16:30:15 SidFerreira, main is just another project/package name Oct 03 16:30:19 and that shouldn't even work Oct 03 16:30:23 unless he named his package 'main' Oct 03 16:30:26 in which case, that's stupid Oct 03 16:30:41 hey mattblang, pfn Oct 03 16:30:47 sup nappy Oct 03 16:31:42 just fighting gradle Oct 03 16:31:47 the battle continues Oct 03 16:40:19 * mattblang hums O Fortuna Oct 03 17:08:02 mattblang: what gradle issues are you having? Oct 03 17:09:18 i mean Napalm ^ Oct 03 17:24:51 I just don't use gradle and my shit works beautifully :p Oct 03 17:25:14 I just need to figure out how to manage build flavor support some day Oct 03 17:25:24 but I already have a solution in the form of multiproject builds Oct 03 17:37:06 Does each activity has onCreate method? And since an app can have many activities that means an app will have many onCreate methods. Oct 03 17:37:38 of course Oct 03 17:39:57 * JacobTabak imagines donniezazen's face when he learns onCreate is called when the device is rotated Oct 03 17:40:41 activity's onCreate Oct 03 17:40:48 app's onCreate occurs once Oct 03 17:41:51 JacobTabak: You need to work on your funny skills. Oct 03 17:42:49 it wasn't meant to be funny, and you should read http://developer.android.com/training/basics/activity-lifecycle/index.html before you waste our time Oct 03 17:43:27 Ashiren: What do you mean by activity's onCreate and App's onCreate? An app is a basically group of activities. One gets called as main. Oct 03 17:44:11 donniezazen: you can extend android.app.Application Oct 03 17:44:22 http://developer.android.com/reference/android/app/Application.html Oct 03 17:44:32 JacobTabak: I have read it. I just don't have intuitive grasp of how activity cycle works. At least yet. Oct 03 17:45:07 so why would you get snarky with me for giving you useful information, such as onCreate() is called whenever your device is rotated? Oct 03 17:45:38 JacobTabak: I didn't mean to get snarky. I thought you made a joke that I didn't get. Oct 03 17:45:41 Nothing personal Oct 03 17:46:12 it wasnt a joke. he didnt say "Bazinga!" Oct 03 17:46:30 Ashiren: Then my mistake. Bazinga! Oct 03 17:46:53 well it was personal, you said i need to work on my funny skills - and one other thing, if someone makes a joke about you, usually you wouldn't find it funny, but others would Oct 03 17:47:35 * StingRay_ finds JacobTabak very very funny… most of the time…. Oct 03 17:47:43 JacobTabak: I am sorry you felt that way. I certainly didn't mean it. Oct 03 17:47:45 but... it wasn't even a joke... Oct 03 17:47:47 : Oct 03 17:47:47 :( Oct 03 17:47:54 "Bazinga!!!" Oct 03 17:50:16 When setting up gcm do I need a service? Oct 03 17:50:57 only think required is filters and receiver Oct 03 17:51:06 how you design that is really down to you Oct 03 17:52:20 eghdk if you're doing a long running operation like hitting your server and retrieving data in response to a gcm message, you should pass it off to a service probably Oct 03 17:52:51 Interesting. Because I'm getting a gcm notification in my reciever... but getMessageType is returning null Oct 03 17:53:52 w00t. convinced my boss to let me drop 2.3 support! Oct 03 17:54:18 Like my reciever is coming in... but getMessageType is null... only for my 2.3 device though. JacobTabak and StingRay_ Oct 03 17:54:26 eghdk if getmessagetype is null, that means the intent is not from GCM Oct 03 17:54:45 But... it is.... and on my 4.x devices it works fine. Oct 03 17:55:02 eghdk i've notice 2.3 get shadow intents passed to gcm braodcast receivers Oct 03 17:55:13 you should ignore it if messagetype is null Oct 03 17:55:13 I know that multiple APK versions can be live in the Play store. will they each retain the "What's new" section of when they were uploaded? My boss wants to put a message to our 2.3 users that we aren't supporting them in future releases Oct 03 17:55:13 ? Oct 03 17:55:15 and you should get another one Oct 03 17:55:23 mattblang each version has its own what's now now Oct 03 17:55:35 what's new* Oct 03 17:55:41 shadow intents? Oct 03 17:55:56 yes eghdk, intents that aren't from GCM... if getMessageType == null, ignore it Oct 03 17:56:06 i have no explanation other than that it's happened to me Oct 03 17:56:38 mattblang you should probably do that via a nag in-app Oct 03 17:56:59 if versionCode < xx show dialog screw you we're not supporting you anymore Oct 03 17:57:21 JacobTabak: Got it. But what if I'm doing it... sending a notification from my server and it triggers the onRecieve on both my 2.3 device and my 4.4 device. Oct 03 17:57:44 But on 4.4 the message type comes in fine... while on 2.3 its null. Oct 03 17:57:45 JacobTabak yeah, good call Oct 03 17:58:11 It literally can't be coming in from anywhere else. I'm just looking for something that could explain this. Oct 03 17:58:56 eghdk i got those empty intents when registring Oct 03 17:59:09 but not when receiving a push Oct 03 17:59:59 JacobTabak: What do you mean? Oct 03 18:00:12 i mean my broadcast receiver would get an intent with no data when i registered for gcm Oct 03 18:00:22 this was a long time ago back when i cared about 2.3 Oct 03 18:00:31 i dont' recall the details anymore, so sorry if i can't help you with specifics Oct 03 18:02:04 JacobTabak: I'm just going to explain this one more time to make sure theres no miscommunication. The device is registered. I print out the gcm onResume. I send a message from my server. It recieves it. Just null. And when I try to use the intent it says that its a registration intent. But the same code works for my 4.x devices. Oct 03 18:02:40 does the intent have any data in it? Oct 03 18:02:49 but on my 4.4 device it says its a recieve intent Oct 03 18:03:06 How is that even possible with the same exact code running on both phones. Oct 03 18:03:46 different platforms Oct 03 18:06:12 so.. does the intent have any data? Oct 03 18:07:11 JacobTabak: The intent is not null Oct 03 18:07:18 are there extras? data? Oct 03 18:07:30 Okay thats what you mean by data. I will check that out now. Oct 03 18:09:26 eghdk i'm referring to Intent.getData (returns a URI) and Intent.getExtras() Oct 03 18:09:54 getData is null and getExtras has stuff in it. (From what the debugger says) Oct 03 18:10:29 what stuff? Oct 03 18:10:33 key/value pairs Oct 03 18:12:13 JacobTabak: I think I found the issue. Oct 03 18:12:26 please share Oct 03 18:12:28 The category of the reciever has the wrong package name. Oct 03 18:12:44 interesting Oct 03 18:12:52 My beta app has a different package name. Oct 03 18:13:00 I'm going to try this now. Oct 03 18:13:40 also maybe you could try steping through the platform code to see why it's returning null for getMessageType Oct 03 18:14:28 Any way to just have the packagename as a variable? lol Oct 03 18:15:47 yes Oct 03 18:21:06 JacobTabak: Wait... what? You can have it as a variable? Oct 03 18:21:32 please be more specific about what you want to do Oct 03 18:25:40 Hi Oct 03 18:26:13 Need some help. Oct 03 18:26:19 good Oct 03 18:26:22 this is right place Oct 03 18:26:40 I need to transfer user data to a premium version of my game, when the user installs it Oct 03 18:26:59 I guess it is possible to talk to an app without opening it fully...? Oct 03 18:27:18 I am really not any good at Java and I'm using Cordova Crosswalk, but the broad strokes would be helpful Oct 03 18:27:37 u need to make a content provider Oct 03 18:27:58 Ok, I do have a content provider, but it's only for the APK expansion files. Oct 03 18:28:03 to share your app's data with another app Oct 03 18:28:04 So I guess I'll need to make another one Oct 03 18:28:09 And it has to be "public"? Oct 03 18:28:12 no Oct 03 18:28:14 you make a permission Oct 03 18:28:24 All right Oct 03 18:28:36 What about the other app handling querieS? Oct 03 18:28:38 queries Oct 03 18:28:41 How do I do that? Oct 03 18:28:45 what do you mean Oct 03 18:28:48 Well Oct 03 18:29:01 Hmm. Oct 03 18:29:08 Well, the data is stored in localStorage Oct 03 18:29:15 I don't know how it's called in Java Oct 03 18:29:41 Do I somehow map the localStorage info to a URL? Oct 03 18:29:57 yeah everything in a content provider is accessed via URI Oct 03 18:30:13 if there's really only one thing, you can just handle all URIs in your content provider Oct 03 18:30:16 and ignore the URI parameter Oct 03 18:30:55 Do you have any link to sample code for getting all the content from a specific content provider? Oct 03 18:34:03 hi all Oct 03 18:35:51 i have a little problem. i cant connect my tablet to my pc on linux mint 17. somebody can give to me some ideas? tablet waytec xtab700 qci. lsusb output: Bus 001 Device 004: ID 10d6:0c02 Actions Semiconductor Co., Ltd Oct 03 18:35:52 Agamemnus i don't, content providers are generally recognized as being the most overengineered and boilerplace-inducing part of the platform Oct 03 18:35:58 so i avoid them at all costs but it seems like you need one Oct 03 18:37:00 obsitos I think you maybe in the wrong place Oct 03 18:37:15 connection issues are not android app dev related :) Oct 03 18:37:58 but kudos for mint ;) Oct 03 18:38:12 Does anyone know if jav 8 work on android L becuase i have prob with java 7 on my mac? Oct 03 18:38:18 java 8 Oct 03 18:38:45 no, android L does not support java 8 syntax Oct 03 18:38:56 you can use any jdk you want for building android apps, though Oct 03 18:39:03 hola, everyone, i have a problem if someone's bored... I'm having trouble compiling with ant; it's barfing out 'package com.android.* cannot be found' Oct 03 18:39:20 JacobTabak: if there was a way to query the "free" app and have it send a message to a server, that would work too. Oct 03 18:39:30 cgspicer, com.android isn't public api, why should it be found Oct 03 18:39:30 perlsyntax I some odd java 7 crashes of late, but not frequent enough for me to bother looking into it Oct 03 18:39:32 although that wouldn't be ideal Oct 03 18:39:38 Agamemnus that's easier, just make a braodcast receiver Oct 03 18:40:01 perlsyntax you can use java 8 if you set your source compatibility to 6 or 7 Oct 03 18:40:16 additionally you can use gradle plugin like retrolambda to use lambda expressions Oct 03 18:40:55 Ok, thanks Oct 03 18:41:00 But i still don't understand why java 7 will not show up in android studio. Oct 03 18:41:11 probably because you'e doing it wrong Oct 03 18:41:26 Well i download the install for java 7 Oct 03 18:41:29 gotcha-- not a java dev by the way. so how would instantiate anything from those classes? in particular I'm trying to declare a Context variable... by importing com.android.content.Context Oct 03 18:41:33 for the mac Oct 03 18:41:39 perlsyntax http://cl.ly/image/3T3Z1C3U0D2f Oct 03 18:42:17 i know that part so far still have probs. Oct 03 18:42:31 StingRay_: i mean. adb is not see it. but like storage is see the linux Oct 03 18:42:33 Anyone have mac have prob with java 7 Oct 03 18:42:57 obsitos yes well what I said is still kinda true… this is for development ... Oct 03 18:43:15 Sorry i thought someone of know how to fix it. Oct 03 18:43:20 perlsyntax I just said no, 3 macs, well 2 macs and a hack Oct 03 18:43:34 ok Oct 03 18:43:46 StingRay_: i cant develop any app while this problem cannot solved.... Oct 03 18:43:53 the hack has started to have some java 7 issues, but like I said..not enough for me to give a sh*t yet :) Oct 03 18:43:55 maybe best cucky go with java 8 Oct 03 18:44:09 luck Oct 03 18:44:39 obsitos no you cant… but still, nothing to do with development…when you start dev. come back…but honestly dev is going to be more challenging than setting up a connection Oct 03 18:44:40 Well i hope they get it fix. Oct 03 18:44:42 pfn, what about com.android.content.Context ? shouldn't that be found? Oct 03 18:45:12 pfff Oct 03 18:45:19 hey! Hopefully someone could help me out here Oct 03 18:45:36 How would I have the phone call a method every 30 seconds (even if the app isn’t open) Oct 03 18:45:48 hi guys. i am looking for the most efficient way of loading a long list of image URL's into my Android application. At the moment i have a working application that on each touch loads one image URL at a time. i was hoping to sort of feed the URL's into something like Picasso in advance Oct 03 18:45:50 should i use a service with a handler? Some kind of broadcast receiver? Oct 03 18:45:51 589 installs and no purchases of the premium version Oct 03 18:45:56 sadcakes Oct 03 18:46:12 Agamemnus link? Oct 03 18:46:27 https://play.google.com/store/apps/details?id=com.flyingsoft.safari.jigsaw.premium Oct 03 18:46:36 uhlm why do you need to load them all at once? Oct 03 18:46:50 uhlm could you get all the URLs in JSON or XML and then have your android app parse it? Oct 03 18:46:53 i got a successful build using import android.content.Context... noob status Oct 03 18:46:58 -_- Oct 03 18:47:03 Agamemnus grabbing now and will have a look Oct 03 18:47:10 It's really hard to figure out why people aren't purchasing it. Maybe it's because they're broke, or maybe it should be $.99 Oct 03 18:47:25 and/or maybe I'm targeting the wrong demographic Oct 03 18:47:38 I'm just now starting a CPC campaign on admob. Oct 03 18:47:48 Was paying per install on appbrain Oct 03 18:48:20 just a lot of unknowns Oct 03 18:48:36 and my in-game ads are melting down.... 1000 requests, 200 impressions Oct 03 18:48:42 not sure if i'm beinng cheated of $$ Oct 03 18:48:48 what is ScheduledExecutorService used for? Oct 03 18:48:50 Or if there's a bug somewhere Oct 03 18:48:59 it is not a demand to load them all at once no Oct 03 18:49:08 Agamemnus small thing but not a fan of the presentation on the store listing….icon is very muted for a game and the screenshots are not really screenshots Oct 03 18:49:46 StingRay_: I tried it with in-game screenshots Oct 03 18:50:02 But my click to download ratio went up after I switched to just images. Oct 03 18:50:20 If I don't work in a company nor do I have a domain is NewtonyAlbert a good name for my application and NA a good name for my application domain name? Oct 03 18:50:29 Almost every successful jigsaw game has images instead of screenshots Oct 03 18:50:47 I'm not sure about the icon. I was considering making it a jigsaw piece Oct 03 18:50:59 it doesn't look muted to me though.. Oct 03 18:51:14 well if you have the figures, maybe because I come from console games where we…erm…. go big on most things :) Oct 03 18:51:39 dony: A domain isn't expensive. (I'm guilty of not having a domain for my package name too, though) Oct 03 18:51:39 The icon stands out from the other jigsaw icons Oct 03 18:52:09 flan3002: umm I would rather not buy one now Oct 03 18:52:15 It's just below camels and cats... Oct 03 18:52:31 dony: Define 'good' then. Oct 03 18:52:45 Agamemnus quickly remove the paid version Oct 03 18:52:50 flan3002: acceptable, professional Oct 03 18:52:52 Some people are saying that they don't like the UI, but they can't put a finger on it. Oct 03 18:52:58 StingRay_: what, why? Oct 03 18:53:04 Agamemnus ads to the free with IAP to remove and IAP's for content Oct 03 18:53:23 cause the type of game is not really altered by adding ads Oct 03 18:53:28 dony: So na.yourapp or tld.na.yourapp? Oct 03 18:53:30 I meant a good name for my application package Oct 03 18:53:37 and the type of game with turnover of ads due to time playing Oct 03 18:53:39 StingRay_: I was considering this but I don't want to have compromised security like you :P Oct 03 18:53:47 flan3002: na.newtonyalbert.myappname Oct 03 18:53:54 It's possible to do IAPs with servers but it's a lot to learn. Oct 03 18:54:06 Agamemnus well, here is a shocker, you are on android… so just go with it Oct 03 18:54:15 flan3002: WHATS tld, sorry caps lock Oct 03 18:54:17 you will spend more on preventing that you will earning ;) Oct 03 18:54:18 Hmm. Oct 03 18:54:29 Remember also, I am a one man operation. Oct 03 18:54:33 same Oct 03 18:54:42 I could create a tracker for people clicking the ad on the top-right. Oct 03 18:55:03 I also added yesterday a full-screen ad for my premium version in the game Oct 03 18:55:24 But so far the results are not good Oct 03 18:55:25 dony: The package name to domain correlation is a convention. You don't /have/ to adhere to it, as long as it stays unique. Tld == top level domain. Oct 03 18:55:34 So it's really hard to know if it's working Oct 03 18:55:46 Or maybe people are leaving after waiting for .5 seconds for the game to load. Oct 03 18:55:57 Or maybe they are leaving if they see an input box. Oct 03 18:56:12 I should probably add a tracking system for all of this Oct 03 18:56:19 To see the flow Oct 03 18:56:37 Spyware :) Oct 03 18:57:11 flan3002: okay thk you Oct 03 18:58:11 i wonder if there's already a system in place that can track this stuff. Oct 03 18:58:12 Agamemnus I would seriously look at new icon/logo/branding though Oct 03 18:58:14 Probably not.. Oct 03 18:58:32 Come on though Oct 03 18:58:34 Just look Oct 03 18:58:44 https://play.google.com/store/search?q=jigsaw%20puzzles&c=apps Oct 03 18:59:01 mine is closer to the bottom, but wouldn't you say it stands out? Oct 03 18:59:07 (It just got on the list) Oct 03 18:59:25 no, not even close…which is my point Oct 03 18:59:41 the top 5 have "STAND" out icons Oct 03 18:59:55 They spent thousands of dollars on ads Oct 03 19:00:05 You don't know why they are on top. Oct 03 19:00:06 no I mean the Icon Oct 03 19:00:17 talking design not what is best or most downloads Oct 03 19:00:18 But that's just your opinion. But ok. Oct 03 19:00:34 It's still appreciated :) Oct 03 19:00:36 well yeah… my 20 year+ design opinion Oct 03 19:00:38 :) Oct 03 19:00:52 the top 5 pretty much have the exact same design Oct 03 19:01:00 actually more like 16+ years Oct 03 19:01:30 4 of them have the same piece Oct 03 19:01:45 Agamemnus please stop commenting on design :) Oct 03 19:01:46 jeez you have enough competition Agamemnus Oct 03 19:02:55 But ok. The icon design isn't really an issue for the actual decision to buy the game from the premium version Oct 03 19:03:00 I mean, from the free version Oct 03 19:03:16 since they already downloaded it. Oct 03 19:03:22 well, it's an impression and the 1st that you get… Oct 03 19:03:29 So I will need to track their movements Oct 03 19:03:56 Ok, but the question is, how to get the purchase decision out of the free version Oct 03 19:04:29 I cant believe I have to come here to post this right now... Oct 03 19:04:37 I would say min price…cause asking the same as some of the big games is …well….bit odd Oct 03 19:05:06 What I see is that a lot of indie games price for $3-5, and others price for $1 Oct 03 19:05:11 http://pastie.org/9617864 Oct 03 19:05:15 How can I make and actionbar with a round bottom? Like a semi circle instead of a rect Oct 03 19:05:18 ooo Agamemnus Oct 03 19:05:27 rounded* Oct 03 19:05:37 anyone know why object with sale_price:null can setill go through the if statement? Oct 03 19:05:42 http://pastie.org/9617864 Oct 03 19:05:48 am i retarted or am i missing something Oct 03 19:06:17 if (jsonSweater.has("sale_price")&&jsonSweater.isNull("sale_price")){ Oct 03 19:06:34 Shouldn't that be an ! Oct 03 19:06:41 yeah Oct 03 19:06:41 lol Oct 03 19:06:48 oh ok Oct 03 19:06:50 yeah, retarted Oct 03 19:06:51 (!(condition)) Oct 03 19:06:56 :P Oct 03 19:06:56 not missing anything, retarted Oct 03 19:06:58 straight up Oct 03 19:07:00 fml Oct 03 19:07:04 glad to help Oct 03 19:07:05 thanks Oct 03 19:07:07 Birk_ do you want to make the bottom of the semicircle extend beyond the physical height of the actionbar? Oct 03 19:08:48 JacobTabak: Thats what I want http://pbrd.co/1pxwrjE Oct 03 19:09:02 ok thats easy Oct 03 19:09:26 JacobTabak: The problem is that Im using navigation drawer and when I open the drawer it overlaps the semi circle (im using an imageview aligned to the top of the layout) Oct 03 19:09:39 that will happen Oct 03 19:09:53 what would you expect to happen? Oct 03 19:10:03 JacobTabak: And I need that the drawer opens below the image Oct 03 19:10:15 so you want there to be a gap between the actionbar and the drawer on the far left? Oct 03 19:10:40 so Im trying to figure out a way to make the actionbar rounded, instead of using an imageview Oct 03 19:11:28 how do you want it to look when the drawer is opened? Oct 03 19:11:36 just a sec Oct 03 19:12:30 this way http://pbrd.co/1pxx9xo Oct 03 19:12:43 the blue box is the navdrawer Oct 03 19:13:30 ok have you tried putting your navigationdrawer inside of a framelayout Oct 03 19:13:42 and putting that white image on top of the drawerlayout in the framelayout? Oct 03 19:14:24 JacobTabak: will try :) Oct 03 19:14:28 I am trying to read bytes over a socket channel using Java server and Android client and I see some extra bytes on the client side. Here are links to the code. Can someone help me in troubleshooting the bug Oct 03 19:14:36 here are the links : http://pastebin.com/XUHuwjny Oct 03 19:15:21 http://pastebin.com/z0NF5yS4 Oct 03 19:17:01 JacobTabak: you are the man. Saved my day. Thanks! Oct 03 19:17:05 on a small screen my views overlap eachother...is there a way to force them not to overlap? Oct 03 19:17:08 np Birk_ Oct 03 19:17:39 MartialLaw yes. Oct 03 19:17:49 show layout in pastebin Oct 03 19:41:03 Hey everybody.. coming here after almost 4 years :) Oct 03 19:41:39 Sobriety isnt for everyone Oct 03 19:43:03 sheikhaman: have you left to go iOS Oct 03 19:43:24 Nope, not at all :) Oct 03 19:43:38 windows phone maybe? :D Oct 03 19:43:43 sheikhaman did you have a different nick ? Oct 03 19:43:45 bada Oct 03 19:43:51 blackberry Oct 03 19:44:17 4 years ago.. and now questions about why there is exception when doing network in UI Oct 03 19:44:18 I just had moved to a project management role, then changed cities, went through some things personally and wasn't able to find a nice irc client for Ubuntu till today :D Oct 03 19:44:58 Ashiren, o.O Was I asking? Oct 03 19:45:26 no blackberry, no bada, no windows :D Although I do plan to get a mac and learn Swift, but not sure when that would happen Oct 03 19:45:43 sheikhaman: weechat is a nice client. ^^ Oct 03 19:45:55 g00s, I think I had the same nick, but it had got purged. or something else :D Oct 03 19:46:00 what do you mean 'nice' Oct 03 19:46:02 it's awesome Oct 03 19:46:21 flan3002, ahhan? I'll try that out as well. currently using XChat Oct 03 19:47:57 anyone using ShowcaseView? Oct 03 19:47:57 rxjava 0.20.5 Oct 03 19:48:35 one of the most stupid constraints of ads, they need to be loaded on a visible view ? wtf bright arse came up with that ? Oct 03 19:48:50 lol, StingRay_ Oct 03 19:48:53 is that the case with all ad integrations ? Oct 03 19:49:20 I'll be trying out my first ad integration in some days, so can't tell as of now :( Oct 03 19:49:38 mattblang, ShowcaseView.. nope, not yet Oct 03 19:58:56 why would you want to show an ad on a view thats not visible Oct 03 20:00:00 ASneakyFox, maybe to load them in the background? so that it's ready when the screen is visible? Oct 03 20:00:16 exactly that Oct 03 20:00:20 Though StingRay_ would be the best to answer that Oct 03 20:00:20 is this banner add or interstrial? Oct 03 20:00:24 or only show on successful load Oct 03 20:00:52 banner Oct 03 20:01:17 just use the default example, it doesnt show anything until its loaded Oct 03 20:03:12 erm, it loads without a view ? Oct 03 20:03:20 well without being visible ? Oct 03 20:03:21 StingRay_ aww, you're putting adds in ? Oct 03 20:03:31 the view is there but you cant see it Oct 03 20:04:07 cause the add queries vis dimensions right ? Oct 03 20:04:33 I thought it does not do anything if 0,0 Oct 03 20:04:42 which is what layout reports if not vis Oct 03 20:05:16 your manifest must not be configured properly Oct 03 20:09:56 if i have several gradle sub-projects that depend on libX 1.0, and all sub projects should always be using the same version of libX, what is the best way to specify this only once? i don't want to put depends:libX1.0 in each subproject because i may forget to change it, OTOH i don't want to put the dep in the root project either Oct 03 20:10:42 g00s, I still haven't started with Gradle, sorry! Oct 03 20:10:56 so, its OK for each sub-project gradle to say depends:libX ... but the 1.0 bit should be somewhere else Oct 03 20:12:12 so that i don't have one sub-project using 1.0, another using 1.1 (if i forgot to change something, etc) Oct 03 20:13:51 Keep the dependency name/version as a variable in the root project Oct 03 20:15:08 SimonVT yeah, i'll put it in ext { } thanks Oct 03 20:29:32 im a bit lost... I have, 3 Activities. Im passing extras from the first to second without problems. Im trying to do the very same again from two to three but am just not getting any extras in onResume in third class. Oct 03 20:30:44 do you get a null pointer exception? Oct 03 20:31:26 nothing, theres no bundle in the intent. Oct 03 20:31:55 and you're putting setExtra on the intent you're using in second activity, to start the third, right? Oct 03 20:32:08 Intent int = new Intent(this, Someclas.class); int.putExtra("id", 1); startActivity(int); Oct 03 20:32:37 and then.. getIntent().getExtras(); and the array in it is empty. Oct 03 20:34:05 what do you mean the array in it? Oct 03 20:34:31 (I am wondering if it allowed you to name your variable as int though) Oct 03 20:34:43 haha Oct 03 20:34:51 :) Oct 03 20:34:52 For folks making games, what is your install to total install ratio? Oct 03 20:35:14 so yes, dextorion , what do you mean by the "array in it" ? Oct 03 20:36:11 Sorry, Im debugging. the nMap variable in the Bundle from getInt().getExtras() is null. Oct 03 20:36:39 sheikhaman: hehe good one with the int nameing ;) Oct 03 20:37:07 That is indeed weird Oct 03 20:37:11 you on Eclipse? Oct 03 20:37:22 Try "cleaning" the project to deal with usual Eclipse tantrums? Oct 03 20:37:37 When doing startActivity(TheINTActivity); I can see the extras Bundle in my activity, which got the correct nMap variable. Oct 03 20:37:57 sheikhaman: Will do... Oct 03 20:38:13 actually true.. wont be surprised.. Oct 03 20:38:25 wait, getInt(). or getIntent(). ? Oct 03 20:38:30 Any suggestions on how to troubleshoot an app that won't start yet doesn't log anything to adb logcat? Oct 03 20:39:40 jpsharp: nothing specific, but look in logcat (make sure you're not looking at a filtered view) Oct 03 20:40:13 check logcat for errors during installation, and also when the app was started. The errors may not be from your app's process/tag specifically. Oct 03 20:40:19 (hence the no filtering) Oct 03 20:40:35 Oh, I didn't consider installation errors. Oct 03 20:41:00 sheikhaman: Cleaned eclipse, clear db on my phone, uninstalled.. reinstall. same thing. Oct 03 20:41:52 jpsharp, check console also for errors while building the APK Oct 03 20:43:16 There's no build errors. And I tried an APK that I *know* worked a few weeks ago. It all started after I published the app to the store. Oct 03 20:44:58 dextorion, I am wondering.. are you also not getting any errors? Oct 03 20:46:18 Oh. Hmm. logcat during installation shows a bunch of "unknown permission" and "not granting permission" errors. Oct 03 20:46:49 jpsharp did you happen to install the release version from play, yet attempting to install debug from ide ? Oct 03 20:46:59 +1 StingRay_ Oct 03 20:47:26 sheikhaman: no errors Oct 03 20:47:36 StingRay_: Aye, that's exactly what's happened. Oct 03 20:48:02 Is there a signature cache I have to flush somewhere? Oct 03 20:48:16 uninstall the release version Oct 03 20:49:20 I've done that several times. Oct 03 20:49:35 I've been uninstalling & reinstalling both the published and debug version. Oct 03 20:49:51 no, no cache that I know of Oct 03 20:50:19 grab the build and install from terminal/cmd Oct 03 20:51:23 I just deleted the debug version via application manager. So now I'm going to build a signed release. Oct 03 20:51:51 wait what ? Oct 03 20:52:00 do you not want to develop ? Oct 03 20:53:21 dextorion, can you upload the apk somewhere? Oct 03 20:53:38 dextorion, also, put both the activities (2nd and 3rd) on pastebin? Oct 03 20:53:39 I had the app completely working using debug releases. So I built a properly signed release, shipped it to the store. Now no versions of the app work, debug or release. Even some old apks that I sent to my client, those no longer work. Oct 03 20:55:38 ASneakyFox oh balls, yeah loading add without view does work :) wtf was I complaining about :) Oct 03 20:56:35 And now still the same. Oct 03 20:57:09 app doesn't load, and I get tons of error messages during installation. Oct 03 20:57:16 hi Oct 03 20:57:27 But that's more information than what I was seeing just running the app. Oct 03 20:57:29 Hey, abuz_ Oct 03 20:57:40 StingRay_, congratulations! :D Oct 03 20:58:24 I've just installed eclipse luna + adt + android sdk. try to compile a test example in sdk, it is fine. If I try to run it in the avd emulator, every example crashes. what can I do? Oct 03 20:58:48 I tried genymotion too. same behaviour Oct 03 21:00:01 abuz_ look at logcat and figure out why it crashed Oct 03 21:00:03 look at your logcat Oct 03 21:02:21 this is the error log http://pastebin.com/m7362Chr Oct 03 21:02:29 Does anyone know the average text ad for PAID apps CPC in the US? Oct 03 21:02:34 I'm looking, can't find a thing Oct 03 21:02:59 right now I am paying $.20.... maybe this is not enough Oct 03 21:03:05 StingRay_, what was the issue? Oct 03 21:03:07 or maybe admob is just not updating Oct 03 21:05:13 ASneakyFox no issue, just the ads problem I complained about doesn't really exist Oct 03 21:05:25 lol Oct 03 21:05:27 well it does if the view is 0 pixels, but not if hidden :) Oct 03 21:05:39 so yes, was crying over nothing really :) Oct 03 21:05:53 Do i need to wipe my phone to flash the stock recovery back onto it? its a nexus4 on android 4.4 Oct 03 21:06:05 have you figured out how to determine the height of the banner ad if its in smart banner mode? Oct 03 21:06:18 GEEGEEGEE: You know this is the wrong channel. Oct 03 21:06:45 yes Flaiker Oct 03 21:06:47 flan3002, Oct 03 21:06:56 ASneakyFox tis just erm…. BANNER atm Oct 03 21:07:41 thats what im working on figuring out right now, i read that it can be either 75 pixels high or 90 depending on the screen size. but afaik theres no way to tell what size it decided on Oct 03 21:07:53 which is annoying when youre trying to lay your hud out around it Oct 03 21:08:01 well I have a wrap view so dont really matter Oct 03 21:08:12 but you should be able to AdSize.SMART_BANNER.getHeight() Oct 03 21:08:24 trying now Oct 03 21:10:25 well dont see a diff between SMART and Nomral Oct 03 21:10:49 i think smart just picks amongst all the other types of sizes automatically based on the screen size Oct 03 21:11:31 How can a type in a struct, without an assignment, even yield a mismatch? :/ Oct 03 21:12:45 Oh... wrong channel. ^^ Oct 03 21:22:12 Hi Oct 03 21:23:51 gapps are getting updated to material themese & stuff, but google isn't updating the appcompat library so we can easily do the same Oct 03 21:24:07 That'd be too easy... Oct 03 21:24:08 intent-filter, I want to match a path, sometimes it www.host.com/wps/wcm/connect/, and sometimes www.host.com/*/wps/wcm/connect Oct 03 21:24:21 i get the impression appcompat /support lib are like unwanted stepchildren or something Oct 03 21:25:35 g00s material themes are just a design guide ? or you mean they are getting features from L ? Oct 03 21:25:49 StingRay_, ive tried that before, it gives the height, but not THE height (eg it returns 75, though on my tablet the ads are 90) Oct 03 21:26:40 StingRay_ animations, fab, etc Oct 03 21:26:59 is fab not just a view ? Oct 03 21:27:07 and animations…well… animation ? Oct 03 21:27:16 yeah and pixels are just pixels Oct 03 21:27:19 ASneakyFox : Math.round(AdSize.SMART_BANNER.getHeight() * getResources().getDisplayMetrics().density) Oct 03 21:27:40 :o where did you get that from? Oct 03 21:27:41 g00s but I mean there is nothing from L, so no need for support lib Oct 03 21:27:48 ASneakyFox my ads view :) Oct 03 21:28:02 dp != pixels Oct 03 21:29:38 pretty could how SourceTree stays in sync with git command line Oct 03 21:33:36 I'm learning android development and playing with some things... I want to create a service to run a timer that continues in the background. I want it to communicate with an activity when the activity is running. I'm just unsure how to implement the communication. Any help would be appreciated! Oct 03 21:35:28 StingRay_, thanks, i realized wht i did wrong. you have to do AdSize.SMART_BANNER. i was doing adview.getAdsize().geHeight() completely different apparently Oct 03 21:35:43 sheikhaman: Ended up reverting to last commit. Re-did, what i thought was the same, changes. Now it works. I obviously done something weird before. Oct 03 21:35:49 sheikhaman: Thanks for your help! Oct 03 21:36:43 lets compare and see what was wrong? will learn something this way dextorion Oct 03 21:36:48 of course if you have some time Oct 03 21:37:16 Shipleyr, did you look at the service examples? Shows you communication options Oct 03 21:38:20 whatitis: I have had a look through the docs but I'm a little swamped with all the information and unsure what options to take. Oct 03 21:39:21 whatitis: I'm guessing a bound service is not the way to go as I want the service to continue if the activity is stopped? Oct 03 21:40:03 You can start the service then bind Oct 03 21:40:32 Does that allow the service to communicate with the activity? Oct 03 21:41:00 sheikhaman: Im pretty sure i just messed up some variable/layout ids. I did decide to change name on some from num to id. I just must have missed it somewhere. Oct 03 21:41:15 Anyone using Google Analytics? Oct 03 21:41:42 Yes when you bind, and by starting it first, when unbind it stays running til stopService or stopSelf is called Oct 03 21:41:43 dextorion, :D Oct 03 21:41:44 I wonder if this code is correct....? http://pastebin.com/9Cqa4igg Oct 03 21:41:52 (Javascript code for my app) Oct 03 21:41:53 sheikhaman: My bad, must have been. Thanks anyways man :) Oct 03 21:42:07 you're most welcome dextorion Oct 03 21:43:26 you know you need more memory when you have to close down chat to build your project :( Oct 03 21:43:41 * g00s scrapes 75mb Oct 03 21:45:46 Guys, I have an activity, I laucnh an activity over it with a form. How can I close the form, but send info to the activity under it? Oct 03 21:45:52 Does my questino make sense? Oct 03 21:46:55 I dont' want to use Intent to create a new activity, I just want to pass an obejct to the activity that laucnhed this activity with the form. Oct 03 21:46:55 AKK9 startActivityForResult and onActivityResult Oct 03 21:47:04 Ooooh. Thanks you Oct 03 21:47:32 sarbs, and the result can be an object? Oct 03 21:47:53 AKK9 in your form activity you'll do setResult(), which takes an Intent Oct 03 21:48:02 the intent can have any extras you want Oct 03 21:48:06 nice, thank you Oct 03 21:58:43 sarbs, if you want an object back, you can use Parcelable (which is not always easy) Oct 03 21:58:56 correct Oct 03 21:59:11 you may not be able to send back non-primitive data back via an intent, and thus may need to send a complex object back Oct 03 21:59:37 In that case you may want to use a Parcelable, or an EventBus too Oct 03 21:59:47 parceling's not too complex Oct 03 21:59:59 You can use a Serializable too Oct 03 22:00:01 i don't generally like event buses but they're another solution to this Oct 03 22:00:04 iirc Oct 03 22:00:18 JesusFreke++, bundles (intent extras) accept Serializables Oct 03 22:00:20 Be sure that if the complex data happens to be something like an image, you can also write it to the card and pass it's path back Oct 03 22:00:36 indeed, Serializables are also an option Oct 03 22:00:38 it's a lot slower, but if you're not going out of process it doesn't actually marshal the data anyway Oct 03 22:02:18 +1 Oct 03 22:13:07 ok - dagger - I am providing MyObject in a module and also overriding it. Can I inject the non-overriden MyObject into the overriden @Provides method and then decide whether I should return the original or a different object? or is there a better way to do this? Oct 03 22:13:15 and I'm sorry for the lack of clarity in the question Oct 03 22:13:17 no Oct 03 22:13:38 ok, I'll think of another way to do it - thanks for the quick response Oct 03 22:13:41 the overridden method is never linked Oct 03 22:13:47 it's strange because it compiles Oct 03 22:14:43 1. https://github.com/JakeWharton/u2020/blob/master/src/main/java/com/jakewharton/u2020/data/DataModule.java#L33 Oct 03 22:14:43 2. https://github.com/JakeWharton/u2020/blob/master/src/main/java/com/jakewharton/u2020/data/DataModule.java#L47 Oct 03 22:14:43 3. https://github.com/JakeWharton/u2020/blob/master/src/debug/java/com/jakewharton/u2020/data/DebugDataModule.java#L39-L41 Oct 03 22:14:50 that's how i solve it Oct 03 22:15:17 oh, great, thank you Oct 03 22:15:22 that will work Oct 03 22:19:11 annnd it works like a charm Oct 03 22:24:19 is it possible to change the setting from an app? like I want to put an button in my app that enables nfc for people, so that they don’t have to go find the option in their settings menu Oct 03 22:24:24 is there no longer a dagger plugin for android studio Oct 03 22:24:25 ? Oct 03 22:26:59 it's dagger-intellij-plugin Oct 03 22:27:02 was not working last I tried it Oct 03 22:32:04 fix and PR! Oct 03 22:32:20 actually we'll probably update it for Dagger 2 Oct 03 22:32:29 and actually publish to the plugin repo Oct 03 22:35:45 JakeWharton sorry to ask, any news on picasso 2.4 ? Oct 03 22:37:02 Hello Oct 03 22:37:59 Is there a fast way (other than manually checking each) to compare the list of projects downloaded by repo to the list of projects in the manifest and show me which I'm missing? Oct 03 22:38:16 I can't just use repo sync due to unreliable internet Oct 03 22:49:17 Hey guys, I tried to run my first android app following instructions from here http://developer.android.com/training/basics/firstapp/running-app.html Oct 03 22:49:21 but i am getting 18 errors Oct 03 22:49:37 I guess something is not configured correctly but I just downloaded the eclipse sdk bundle pack Oct 03 22:49:51 didnt move any file from folders etc Oct 03 22:49:58 what kind of errors? Oct 03 22:50:04 can you give an example? Oct 03 22:50:13 i'll send u a pic of all the errors one sec Oct 03 22:50:40 Classes not found, I'm guessing? Oct 03 22:50:52 here u are http://prntscr.com/4ssvjp Oct 03 22:51:00 yeah I guess something like this Oct 03 22:51:19 i checked with sdk manager I think that I have all that I need to have Oct 03 22:51:32 and I just made a simple android app with blank activity as the tutorial suggests Oct 03 22:52:11 The main problem I see there is that the ActionBarActivity class can't be found Oct 03 22:52:26 it looks like most of the other errors are caused by that Oct 03 22:52:27 what could have gone wrong since I followed the guide? Oct 03 22:52:34 I see Oct 03 22:53:11 michael__ repo status will show you if there are any changes within the projects you have on-disk, and repo sync -l -d will run through your manifest and try to check out the manifest revisions but won't do any network access (-d means detach back to manifest revision, -l means local only) Oct 03 22:53:15 Which android api level did you set as your target? Oct 03 22:53:53 4.X Oct 03 22:53:59 sarbs: So, if it's successful with -l, there's nothing missing? Oct 03 22:54:14 michael__ should be the case, yeah Oct 03 22:54:17 if u mean the target SDK JesusFreke Oct 03 22:54:37 cnap 4.x isn't a target sdk.. it's a partial version number :X Oct 03 22:54:46 a target sdk is something like android-19 Oct 03 22:55:09 Those are the default options when I am creating a new project http://prntscr.com/4ssws8 Oct 03 22:55:17 4.x covers something like five different api levels Oct 03 22:55:36 i understand but its chosen by default :P Oct 03 22:55:40 oh, ok. 21 is your api target Oct 03 22:55:47 weird that the dialog calls it 4.X Oct 03 22:55:49 ah my bad Oct 03 22:55:52 u wanted this number ok :D Oct 03 22:56:02 cnap: do you have the "Android Support Repository" downloaded in the SDK Manager? Oct 03 22:56:21 actually, hmm. not sure if that's needed for eclipse. Oct 03 22:56:24 * JesusFreke shrugs Oct 03 22:56:25 no this package is not installed Oct 03 22:56:28 sarbs: It was successful with -l, but repo saw 443 projects, when 452 are defined in the manifest. I'm specifically using Android-IA Oct 03 22:56:35 but the tutorial didnt say anything about installing that one Oct 03 22:56:40 Has anyone tried Realm yet? I am getting io.realm.exceptions.RealmException: Could not find the generated ValidationList class when running it. Oct 03 22:56:45 ok i'll try installing this one JesusFreke Oct 03 22:56:54 hmmm Oct 03 22:57:07 not sure what Android-IA is but how do you know there are 452 defined in manifest? Oct 03 22:58:13 sarbs: I removed everything but the project entries, turned word wrap off, and took a line count in pluma (gedit on most systems) Oct 03 22:58:34 hmmm errors seem to have gone, just getting one now Oct 03 22:58:47 sounds like a signal from outer space Oct 03 22:58:55 sarbs: Android-IA is an AOSP interface for UEFI Intel Architecture Oct 03 22:59:06 sounds fancy, michael__ Oct 03 22:59:13 I'm just here to narrate Oct 03 22:59:16 michael__ are you able to paste the manifest? repo is pretty good at reading manifest files Oct 03 22:59:55 JesusFreke: I am getting those now http://prntscr.com/4ssy95 Your idea seems to have worked Oct 03 23:00:29 Eclipse, oh boy Oct 03 23:00:41 sarbs: https://raw.githubusercontent.com/android-ia/platform_manifest/master/default.xml Oct 03 23:00:54 StingRay_: only news is that it's not being released today Oct 03 23:01:38 hmm, yeah i get 452 matches on " let me try that Eclipse shortcut for run, maybe with this mac it will work Oct 03 23:03:33 I tried 1st answer from here: http://stackoverflow.com/questions/21678510/type-the-container-android-dependencies-references-non-existing-library-androi but no luck Oct 03 23:04:58 sarbs: I've tried manually going through it to see which projects are missing, but that takes forever Oct 03 23:05:10 oh wow, it works Oct 03 23:05:21 shift command F11, it runs the project Oct 03 23:05:30 thanks for bringing up Eclipse, kakazza Oct 03 23:06:28 yeah, i dunno, sorry. i tried repo init'ing that manifest and then doing repo sync -l -d unsynced, and it (predictably) fails out on me, although it doesn't fail very nicely Oct 03 23:06:53 "remote android-ia does not have refs/heads/master", which makes sense since i haven't fetched the project int he first place Oct 03 23:07:00 i would expect that to happen for you on the missing projects as well Oct 03 23:07:47 sarbs: It doesn't. If I figure out which ones, and do repo sync , they download, but repo sync by itself seems to ignore them Oct 03 23:09:04 i've never seen that.. and i've no idea how to recover from it without blowing away .repo Oct 03 23:09:05 sorry man Oct 03 23:09:36 I guess I'll try to build and hope it's nothing vital? Oct 03 23:11:10 hhaha, worth a shot, although i wouldn't give you good odds tbh Oct 03 23:11:29 im trying to think if theres some magic you could do with repo list Oct 03 23:12:19 i'm sure there is if you wanted to fire up some scripting and match repo list output to the manifest xml elements.. but aside from that i got nothin Oct 03 23:12:26 JesusFreke ideas? Oct 03 23:12:41 make it a widget! Oct 03 23:12:47 wait, what was the question again? Oct 03 23:12:50 :p Oct 03 23:12:52 that's always a good idea Oct 03 23:13:02 ways to tell what projects are missing, with repo Oct 03 23:13:13 oh, nope. dunno :) Oct 03 23:13:14 he's having sync troubles and can't realistically blow away .repo Oct 03 23:13:23 JesusFreke: repo is ignoring some projects, I'm trying to figure out which ones to download manually Oct 03 23:13:49 I have an issue with a variable being set. Class has a string data member initialized to "". EditText listener sets the data member to user input. When I try to use the value outside the listener the variable comes up as "" not the modified value. Oct 03 23:14:04 http://pastebin.com/5M35fp2x < two comments indicate where the variable is set and where it is used Oct 03 23:14:23 I am going to fix the formatting later Oct 03 23:15:12 The server connection works and I can send and receive messages from it. Oct 03 23:16:43 Is there a way to make repo print verbosely? Oct 03 23:18:10 any ideas? Oct 03 23:20:50 michael__ there's --trace but i'm not sure what it spits out Oct 03 23:20:59 you can see the code in .repo/repo/*.py Oct 03 23:23:32 sarbs: I'm going to try building it anyway. If you're here in 7 hours or so, I'll tell you the results. Oct 03 23:23:33 hello Oct 03 23:23:44 so i got a project off github that uses JNI Oct 03 23:23:57 i installed the ndk. but when i compile it says it cant find a cpp file Oct 03 23:24:11 i have the file but i think the android studio has to be configured to find it ? Oct 03 23:24:28 I have an issue with a variable being set. Class has a string data member initialized to "". EditText listener sets the data member to user input. When I try to use the value outside the listener the variable comes up as "" not the modified value. Oct 03 23:24:29 http://pastebin.com/5M35fp2x < two comments indicate where the variable is set and where it is used Oct 03 23:24:54 is there an includes option like class path that the studio has somewhere Oct 03 23:25:46 and its running it with gradle if that helps Oct 03 23:26:52 btnClickMe debug it Oct 03 23:27:06 so you can be more precise :) Oct 03 23:29:19 why does android's native logging functions start with two underscores? Oct 03 23:29:21 e.g. __android_log_print Oct 03 23:29:28 usually that means something very private/internal Oct 03 23:32:01 added a breakpoint. gonna try and fix Oct 03 23:32:28 ne1 exp with JNI Oct 03 23:41:50 wish java supported partial classes. gah. Oct 03 23:42:42 anyone have an x86 tablet or phone Oct 03 23:42:44 for a quick test Oct 03 23:42:45 plz Oct 03 23:49:08 Leaving Oct 03 23:58:05 erg blurmaskflter not work with HW accel Oct 04 00:02:58 partial classes? Oct 04 00:03:09 abstract classes? Oct 04 00:07:11 Oh, splitting class definitions up across files Oct 04 00:07:18 * pfn has never felt the need Oct 04 00:07:55 Check out my new app! https://play.google.com/store/apps/details?id=com.blogspot.techandtopics.alcoholpartyfree Oct 04 00:09:49 giant_g2 not really the place for advertising :) Oct 04 00:10:01 oh …but fyi, that logo is used way too much :) Oct 04 00:17:44 Yeah, I'm not the best with graphics, so I just used what I had (repetitively) Oct 04 00:18:41 giant_g2 mind a bit of advice from a designer ? Oct 04 00:19:17 I'd be glad to hear it Oct 04 00:19:20 not a fan of the ui look/feel … the screenshots show standard UI components of android 2.x ? Oct 04 00:19:33 just a bit…erm…. looks like a test Oct 04 00:19:35 come on Oct 04 00:19:39 it's 2.3 screenshot lol Oct 04 00:19:42 shameless plug Oct 04 00:19:44 :) Oct 04 00:19:45 what's up with the ugly 2.x graphics Oct 04 00:19:52 and the icon looks fine Oct 04 00:19:57 you are cumulating Oct 04 00:20:06 pfn I like the icon somewhat Oct 04 00:20:51 giant_g2 well for the type of user I would want a more… palatable pallet :) Oct 04 00:20:53 and it looks like the comment/rating Oct 04 00:20:54 I started developing it on 2.2 and just left it in Oct 04 00:20:55 is yourself ;) Oct 04 00:21:07 Not me Oct 04 00:21:14 this profile is empty: George Yauneridge Oct 04 00:21:46 anyway :) Oct 04 00:23:30 keep coding giant_g2, this is the only way to improve :) no offense Oct 04 00:23:45 s/only/a/ Oct 04 00:24:06 adq how can you tell coding skill for that app ? Oct 04 00:24:21 it's a clone Oct 04 00:24:30 of a previous app made in 2013 from the same guy Oct 04 00:24:38 and the user interface Oct 04 00:24:44 and the formula used in it Oct 04 00:27:36 morning? g00s Oct 04 00:27:50 no, 8:30pm Oct 04 00:27:55 clone of what? Oct 04 00:27:56 ! Oct 04 00:28:12 I've been working on this since 2012 Oct 04 00:28:30 *troll taunt failed* Oct 04 00:29:14 g00s oh… wow really ? your only 5 hrs behind me Oct 04 00:29:24 huh, your talking to the future you know! Oct 04 00:29:37 future doesn't look good :( Oct 04 00:29:39 :D Oct 04 00:29:44 dont feel good either Oct 04 00:29:45 s/your/you're Oct 04 00:29:46 :) Oct 04 00:30:01 Oct 04 00:30:25 I admit my UI needs some work, also usability studies would be useful ...and a budget... Oct 04 00:31:25 giant_g2 I just think apps like that scream for design and to stand out from all the standard stuff that people shovel using google guidelines Oct 04 00:32:03 because it's rather specialised, you'rrrreeee free to be a little more daring Oct 04 00:32:16 lol. Oct 04 00:33:00 I guess I can work on that for version 2.0 Oct 04 00:33:30 I think some of the best designed apps on the store are ones that fk the standards and do something different Oct 04 00:33:44 or at least they stand out more in a sea of same old :) Oct 04 00:35:07 I'll have to teach myself how to do that stuff Oct 04 00:35:24 tbh you can get designers free Oct 04 00:35:32 many want to have credit to an app Oct 04 00:35:46 School and work tend to get in the way (which is why it took me so many years to publish) Oct 04 00:35:52 interesting Oct 04 00:38:39 I guess I'll get some sleep and keep working on it. Thanks for the input! Oct 04 00:41:33 hello Oct 04 00:43:40 pleaes help me copying contact from phone to PC, my phone is stuck in boot loop, I want to copy it from ADB , I have the link to do but I am unable to undrstand how to do as this is my frist time using ADB, http://chombium.wordpress.com/2012/09/30/android-how-to-backup-contacts-and-sms-messages/ Oct 04 00:46:12 (oh! Conundrum! Incorrect topic and channel, but female. Sits back, takes pop corn) Oct 04 00:47:57 jennie_ wrong chan…stick to android-root and xda Oct 04 00:48:00 :) Oct 04 00:48:15 ;) Oct 04 00:48:23 :o Oct 04 00:49:01 :-\ Oct 04 00:54:43 jennie_, http://developer.android.com/tools/help/adb.html Oct 04 00:54:53 accurate Oct 04 00:59:13 Hi Oct 04 01:01:18 I have an activity which will get data from internet (with a Thread) when onCreate() called, but I want onCreate() to wait until the process finish Oct 04 01:01:40 Is it possible Oct 04 01:01:53 this is not a good idea MalekAlrwily because onCreate runs on the uithread Oct 04 01:02:08 adq: I know Oct 04 01:02:11 you should not make this one sleep, wait or anything except running Oct 04 01:02:22 you should just notify ui when you're thread is finish Oct 04 01:02:30 but my activity used to browse an URL Oct 04 01:02:50 splash screen is also not recommanded Oct 04 01:03:02 why not displaying a progress? Oct 04 01:03:09 recommended* Oct 04 01:03:58 StrictMode is most commonly used to catch accidental disk or network access on the application's main thread, where UI operations are received and animations take place. Keeping disk and network operations off the main thread makes for much smoother, more responsive applications. By keeping your application's main thread responsive, you also prevent ANR dialogs from being shown to users. Oct 04 01:04:20 adq: what is your opinion about that? Oct 04 01:04:28 it's good for debugging Oct 04 01:05:05 oh Oct 04 01:05:12 it's not for release Oct 04 01:05:25 MalekAlrwily also depends on the levels you set Oct 04 01:05:26 it will warn you in the log or force your app to crash where it stalls Oct 04 01:05:35 just check the doc Oct 04 01:05:47 oh Oct 04 01:05:55 paradigm broke :) Oct 04 01:06:08 adq: your idea is nice (progressbar) Oct 04 01:06:20 Thank you Oct 04 01:06:24 np Oct 04 01:06:31 :) Oct 04 01:18:00 Hello. Anyone can help me on how can I do this: (screenshot: http://i.imgur.com/RyfDC9R.png - FB newsfeeds comments)? I already have the layout but I don't have any idea :( I'm still new to android development. Thank you. Oct 04 01:19:10 lnoskhen what exactly are you asking ? Oct 04 01:19:21 as in is there something specific you want to know ? Oct 04 01:20:53 StingRay_: Does FB App's newsfeed comments used dialog or popup to show the list of comments? Oct 04 01:21:25 well I would think they just use a view Oct 04 01:21:30 with a shadow Oct 04 01:22:20 StingRay_: Framelayout? to show the view on the top? Oct 04 01:22:24 but there are 10's of ways to achieve that really Oct 04 01:23:39 How? :) Oct 04 01:23:56 erm…yeah Oct 04 01:24:03 pick one... Oct 04 01:24:14 but what is correct for FB may not be fore you Oct 04 01:24:18 for* Oct 04 01:28:00 can you tell me whats wrong here ? http://pastebin.com/sXS5a7gj Oct 04 01:29:20 StingRay_: What do you mean? Oct 04 01:30:15 jennie_ wrong channel Oct 04 01:30:25 lnoskhen I mean there are too many ways to explain Oct 04 01:30:37 and this is a help channel really, not a tutorial one :) Oct 04 01:32:28 StingRay_: heheh, ok :) Oct 04 01:42:06 can Gson create a location object given {"longitude": "-99.230582370537", "latitude": "46.234234232304"}? Oct 04 01:42:37 I have a model with a Location property, but all my locations are at 0.00000 Oct 04 01:43:57 http://phandroid.com/2014/10/03/rumor-google-working-on-standalone-messaging-app-sans-google-login/ Oct 04 01:46:10 seems they want to make it a competitor to WhatsApp in emerging markets Oct 04 01:47:31 g00s fail… i still dont get how people still use whatsApp Oct 04 01:47:44 the mind boggles over all the privacy stuff :) Oct 04 01:48:52 oh balls, not been looking a phone design, but iPhones are a bit of a copy of Z3's lol Oct 04 01:49:59 z3 what Oct 04 01:50:09 heh, yeah Oct 04 01:50:13 whats a z3? Oct 04 01:50:14 oh sony Oct 04 01:50:27 erm, there is only 1 model line made by sony Oct 04 01:50:34 Xperia Z series Oct 04 01:50:54 i don’t really pay attention to what’s out there until it’s time to get a phone Oct 04 01:51:31 well I think my nexus 5 is tops, anything bigger would be crap… and just watched a vid about nex5 Vs new iphones Oct 04 01:51:41 no way it should stand up, but it does :) Oct 04 01:51:51 and last time i switched from a galaxy nexus to iphone 5s and i doubt i’ll go back Oct 04 01:52:13 i do’nt even like the size of the new iphones, too big Oct 04 01:52:26 my 5s and the droid incredible i used to have were the best size Oct 04 01:53:37 * StingRay_ looks lovingly as the S2…what a perfect size Oct 04 01:53:48 lumia 521 or bust ! Oct 04 01:54:43 heh, i just watched the last transformers (ugh) and loved the steve jobs / johnny ives guys in the defense contractor Oct 04 01:56:08 https://www.youtube.com/watch?v=t5XL5OIuGlg Oct 04 02:02:53 * g00s ywans Oct 04 02:03:02 heh Oct 04 02:03:21 anyone have an x86 tablet or phone, for a quick test? Oct 04 02:03:27 anyone? anyone? bueller? Oct 04 02:11:39 so, it seems my app manages to make the phone reboot occasionally. It's a 2D game with opengl and lua mostly written using NDK. How can I debug what might be causing it? Oct 04 02:12:54 i have seen that happen with some things Oct 04 02:13:09 i would chalk it up to a graphics card crash Oct 04 02:14:01 you can publish it to beta on android, download it from Google Play, and then keep playing until it crashes and reboots Oct 04 02:14:06 you might get a message Oct 04 02:17:18 Agamemnus: yeah I already have it published as alfa, but I haven't seen this issue in the builds I have published. It seems to have started few days ago. So if it crashes in a google play build, it will giveme a crash report? Oct 04 02:17:53 graphics driver crash sounds reasonable Oct 04 02:17:59 but also strange since it never happened before Oct 04 02:19:44 hey is there a way i can track down individual R.drawable resources Oct 04 02:20:03 like the actual icons referenced in http://androidxref.com/4.4.4_r1/xref/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/TelephonyIcons.java Oct 04 02:21:37 m4t in the source in your sdk folder Oct 04 02:21:57 platforms/android-19/data/res Oct 04 02:23:30 yeah but they aren't named like they are referenced in the source Oct 04 02:23:40 like looking here: https://github.com/CyanogenMod/android_frameworks_base/tree/cm-11.0/core/res/res Oct 04 02:24:00 how would i find R.drawable.stat_sys_data_fully_connected_4g in that directory? Oct 04 02:27:33 it's a mystery Oct 04 02:38:11 In , Can I use regex in pathPrefix? Oct 04 02:41:29 it seems no Oct 04 02:41:34 :( Oct 04 02:43:27 <_CalLightman_> Hi.... anyone has any clue about solution for this : https://stackoverflow.com/questions/4558810/adjustpan-not-preventing-keyboard-from-covering-edittext Oct 04 02:46:59 I get Class not found when unmarshalling from a Parcelable im passing my intent. Oct 04 02:47:29 Any good ideas on pitfalls that it might be a result of? Oct 04 02:52:50 cezium set the ClassLoader on the intent Oct 04 02:53:20 https://developer.android.com/reference/android/content/Intent.html#setExtrasClassLoader(java.lang.ClassLoader) Oct 04 02:54:15 Why sould my class not be in the default loader as long as I’m intenting to my own app? Oct 04 02:56:07 lots of complicated reasons, but it boils down to: intents go down into the framework, and then come back out of the framework, and in certain kinds of situations the info about how to load the parcelled data gets lost Oct 04 02:58:09 Google Analytics: am I doing this right? http://pastebin.com/9Cqa4igg Oct 04 02:58:28 just trying to send some data on each level load Oct 04 02:58:41 no clue **** ENDING LOGGING AT Sat Oct 04 03:00:00 2014