**** BEGIN LOGGING AT Sun Oct 20 02:59:58 2013 Oct 20 03:01:26 jug6ernaut, got dc... what was my last question :) Oct 20 03:01:42 lol Oct 20 03:16:40 jug6ernaut, i guess ill watch some tuts and come back later.. thanks for the help :) Oct 20 03:31:35 ok i think the secret is i didnt put the activities in my androidmanifest.xml Oct 20 03:31:42 how about an androidwomanifest.xml Oct 20 03:31:54 sigh @ sexist society Oct 20 03:47:31 hi, im trying to figure out when my application actually terminates. it only has one activity so i think calling finished() kills the process. i think this happens when i press the back button on my device, but the behavior seems different if i click on the 'windows'? button to see all of my applications and manually 'push' my application off a screen. this is on a nexus4 Oct 20 03:47:57 whoa... you have a windows button on an N4??? Oct 20 03:48:05 idunno what its called Oct 20 03:48:16 the thing to the right of home Oct 20 03:49:10 i think the back button finishes the foreground activity ... but i dont know what pushing an app off the multitask screen (or whatever its called) actually does. can anyone clarify? Oct 20 03:49:28 im running vanilla 4.2.2 that came on the device if it makes a difference Oct 20 03:56:39 ah i guess its called the recents button Oct 20 03:56:41 how obtuse Oct 20 04:00:03 in general, that kills the app AFAIK Oct 20 04:00:24 as opposed to killing the foreground activity Oct 20 04:01:36 it doesn't kill foreground services, I think Oct 20 04:04:01 I see... anyone remember the days when you could actually quit applications and everything made sense? Oct 20 04:13:23 anyway, yeah, swiping off kills the app, unless it has a foreground service Oct 20 04:14:30 ty Oct 20 04:49:05 pressing recents button doesn't kill your app, onPause gets called and you can override onResume if something doesn't restore when you come back to it Oct 20 05:04:07 no, swiping off Oct 20 05:04:09 not pressing recents Oct 20 05:04:18 I wasn't talking to you Oct 20 05:05:13 you're about an hour too late if you aren't then Oct 20 05:05:21 or something like that Oct 20 05:05:22 Leeds said "in general, that kills the app AFAIK" Oct 20 05:05:31 yeah, he said that about swiping off Oct 20 05:05:35 not just pressing the button Oct 20 05:06:05 oh Oct 20 05:07:29 well I'll scroll back further in the past and randomly find something wrong with someone said and be right then ! Oct 20 05:08:52 well I'll scroll back further in the past and randomly find something wrong with *something* someone said and be right then ! Oct 20 05:09:11 heh Oct 20 05:09:22 Well you're completely and utterly wrong Oct 20 05:15:15 hey guys.. how do i get the screen width or height from the XML file? Oct 20 05:15:33 its a drawable xml, if that matters Oct 20 05:16:37 this? dunno http://stackoverflow.com/questions/4649438/how-to-get-the-dimensions-of-a-drawable-in-an-imageview/8917221#8917221 Oct 20 05:18:11 XXCoder1, hmm not really.. this gets the dimensions of an image (drawable) inside the code i think Oct 20 05:18:27 this is not XML Oct 20 05:18:28 sorry couldnt be much help Oct 20 05:20:20 interesting Oct 20 05:20:29 fund a android dev trick and tips blog Oct 20 05:20:34 it has only 3 entries Oct 20 05:20:50 aug 2012 to sept 2012 Oct 20 05:21:03 I guess guy gave up or got job Oct 20 05:21:10 *found Oct 20 05:31:47 Blogging's pretty boring if you start because of potential blog-super-stardom and realize nobody gives a crap. Oct 20 05:32:03 I guess so Oct 20 05:35:08 XXCoder1: not mine, was it? :) Oct 20 05:35:20 3 entries only probably not Oct 20 05:35:40 it starts off on how to find help resoueces, then 2 entries on auto draw using xml Oct 20 05:35:48 ends there Oct 20 05:36:09 ah, no Oct 20 05:37:33 mine goes back to 2010/11 :) Oct 20 05:49:49 hey, if android 4.3 is out then why doesn't my samsung galaxy nexus (which is supposed to run pure android) not have it yet? Oct 20 05:50:27 seand, where'd you buy iy? Oct 20 05:50:32 *it Oct 20 05:50:35 verizon store Oct 20 05:50:39 county? Oct 20 05:50:41 USA Oct 20 05:51:20 ah, i think the verizon version has to go through them Oct 20 05:51:33 like the hong king version has to go through samsung Oct 20 05:51:44 damn Oct 20 05:51:51 *kong Oct 20 05:52:28 and i'm guessing the only options are either to wait or flash it myself? Oct 20 05:53:06 ...or get a new phone? Oct 20 05:53:06 i had a HK one, but i flashed it to the google build, to get updates and get rid of the chinese keyboard Oct 20 05:53:13 yeah Oct 20 05:53:19 seand i doubt the GN will see 4.3 Oct 20 05:53:23 flashing was easy enough though Oct 20 05:53:27 https://developers.google.com/android/nexus/images Oct 20 05:53:30 next time, get a gsm nexus :) Oct 20 05:53:42 gsm? Oct 20 05:54:19 oh dear, the CDMA GN doesn't have a4.3 build Oct 20 05:54:45 and fuck VZ too ;) Oct 20 05:55:13 g00s: gsm? is that a phone bought directly from google? Oct 20 05:55:56 seand tmo or at&t probably, not sure what play store sells Oct 20 05:56:03 presumably Oct 20 05:56:11 alex_PP: does that mean i can't flash it? Oct 20 05:56:23 i know literally nothing about this stuff Oct 20 05:56:45 not with a google image Oct 20 05:57:59 do you guys know of a guide online so i don't have to bug you with 1000 questions? Oct 20 06:09:15 seand: for some context, you could look at http://goo.gl/XqbKjB Oct 20 06:09:36 thx Oct 20 06:13:23 alex_PP looks pretty cool http://www.theverge.com/2013/10/18/4853372/spec-sheet-sony-alpha-7-7r-compared-canon-6d-nikon-d610 Oct 20 06:13:31 the sony Oct 20 06:15:53 I wish sprint is gsm Oct 20 06:15:58 but friggin no Oct 20 06:16:28 its currently only one I can afford due to special deal Oct 20 06:16:35 so gsm is unlocked, pure android no manufacturer/retailer garbage? Oct 20 06:17:13 only benefit I care about is gsm makes it much easier to change devices Oct 20 06:17:20 say I have one account Oct 20 06:17:30 I can move sim from phone to my tablet Oct 20 06:17:34 use it for while Oct 20 06:17:36 then move back Oct 20 06:18:18 ah, interesting Oct 20 06:18:26 damn i need to learn about this stuff Oct 20 06:19:33 seand i remember with that phone, VZ putting an app on it Oct 20 06:19:42 once they touch the image, it has to come from them Oct 20 06:20:06 g00s: did you see that link? Oct 20 06:20:16 Leeds no, can you post again ? Oct 20 06:20:17 g00 I moved from vzt because they killed gps on my 8830 and I couldnt use it unless I paid em Oct 20 06:20:17 yea i've got an app called My Verizon Mobile on it Oct 20 06:20:25 sure P'd me off Oct 20 06:20:28 http://goo.gl/XqbKjB Oct 20 06:20:31 thx Oct 20 06:20:52 morning huys Oct 20 06:21:08 it's like ford telling you that your brakes may be included but you can't use it unless you pay em extra fee Oct 20 06:21:20 thinking about the best way to store and search for UUID objects in an SQLite DB Oct 20 06:21:24 any thoughts? Oct 20 06:21:41 intel actually tried it with cpu unlock with pay Oct 20 06:21:44 that didnt last long Oct 20 06:21:50 Leeds O.O Oct 20 06:21:51 2 core to 4 Oct 20 06:21:55 XXCoder1: IBM were doing that decades ago Oct 20 06:22:19 seand i remember when that phone came out, i couldn't even get a straight answer from googlers who would update it Oct 20 06:22:21 with what? Oct 20 06:22:24 XXCoder1 since you sort of need brakes in your car that's a horrible analogy Oct 20 06:22:31 sean well true lol Oct 20 06:22:37 more like umm music player Oct 20 06:23:00 what kind of setups do you guys have? as far as phones and service? Oct 20 06:23:11 i have a droid-1 \o/ Oct 20 06:23:16 with 4.3? Oct 20 06:23:19 epic 4g on sprint, unlimited data and text. zero voice minutes Oct 20 06:23:22 froyo ftw;log into play every day "D Oct 20 06:23:27 cm10.1 on it Oct 20 06:23:50 what's ideal for development, to keep me on the latest android version? Oct 20 06:24:05 android x86 on laptop Oct 20 06:24:07 jk heh Oct 20 06:24:09 seand actually, for dev i'm wondering if its best to have a sgs3 or sgs4 Oct 20 06:24:17 by far th emost popular phones Oct 20 06:24:22 good point Oct 20 06:24:28 gs 4 is pure android too, isn't it? Oct 20 06:24:32 seand: can you explain your question? Oct 20 06:24:33 if it works on nexus, and doesn't on sgs3 - it doesn't work Oct 20 06:24:49 I still dont know if android x86 on laptop would work like phone, connect it to dev pc and it shows up as debug device Oct 20 06:24:57 like this fucking weirdass optionsMenu bug i was just reading about Oct 20 06:24:59 no regular usb to test with Oct 20 06:25:08 hey guys.. what do i have to include for this: PixelFormat cannot be resolved to a type Oct 20 06:25:25 XXCoder1: the emulator sucks if that is what you're asking Oct 20 06:25:28 thepoosh: i want to stay on the latest android version so i can release utilize the latest API without having to wait for an update to come from my particular retailer for my phone Oct 20 06:25:29 if its legit object youre missing some import Oct 20 06:25:37 poosh nope actual android laptop Oct 20 06:25:42 thepoosh: so i was wondering what phone is best for that Oct 20 06:25:43 hmmm Oct 20 06:25:56 seand: look at the dashboards Oct 20 06:26:06 heh Oct 20 06:26:19 I think Samsung galaxy S3 is the most common device out there Oct 20 06:26:19 the only app i've released has like 13 users Oct 20 06:26:29 poosh besides from strange bugs (they realllly need more developers) it works pretty damn well Oct 20 06:26:38 XXCoder1: I would probably try and use an actual device Oct 20 06:26:39 but it could benefit from an update for 4.3, and i don't have 4.3 right now Oct 20 06:26:54 poosh yeah I use my epic for test stuff Oct 20 06:27:02 I just wonder if my android laptop would work too Oct 20 06:27:08 probably Oct 20 06:27:16 Intel are working on an Android device Oct 20 06:27:25 so there are builds that are compatible Oct 20 06:27:50 seand: you just need to compile for a target API of 18 Oct 20 06:27:58 damn here I am chjatting when I need to sleep Oct 20 06:28:00 night Oct 20 06:28:05 thepoosh: doesn't matter if i can't test it Oct 20 06:28:07 poosh interesting news thanks Oct 20 06:28:18 pleasure Oct 20 06:28:24 I have a friend who works in Intel Oct 20 06:28:30 awesome Oct 20 06:28:36 they already have an Alpha version Oct 20 06:28:36 going now later lol Oct 20 06:28:46 thepoosh can you ask them to update their flipping x86 images? the api 17 still has the logcat bug Oct 20 06:28:55 soon Oct 20 06:29:05 I guess once it goes out into the market Oct 20 06:29:15 I think they're trying to keep it on the down low Oct 20 06:29:32 g00s: how would you store a UUID in an SQLite DB? Oct 20 06:29:36 for quick searches Oct 20 06:30:02 g00s, yeah, but once you get locked into a serious lens collection, the tendency is to push it as far as you can. Oct 20 06:30:44 The only thing that really worried me was the 14mm. There is nothing in the world more helpless and irresponsible and depraved than a man in the depths of a wide angle binge, and I knew we'd get into that rotten stuff pretty soon. Oct 20 06:30:53 hm. i guess just a string field with index. its 128 bits, so if you split it by bytes you would need 2 int fields Oct 20 06:31:07 hmmm Oct 20 06:31:09 ok Oct 20 06:31:24 thepoosh maybe try #sqlite if there is a trick Oct 20 06:31:30 ok Oct 20 06:31:39 alex_PP i think 24mm is all i would need :) Oct 20 06:36:17 alex_PP i hope i live long enough to see non-glass "optics" for camera (fluid filled, etc" Oct 20 06:36:43 i thought i saw an article last week about an algo that corrected even from really shitty lenses Oct 20 06:37:27 i think it was discussed at siggraph Oct 20 06:38:06 alex_PP http://petapixel.com/2013/09/29/newly-developed-software-helps-get-high-quality-photos-crappy-lenses/ Oct 20 06:39:36 pretty sure start g+ multiplayer invite gui isnt supposed to crash my app Oct 20 06:39:40 lately, i've decided to keep ggod compositions even if the IQ is crap; never know when a good algo will come along :) Oct 20 06:39:51 hello everybody Oct 20 06:40:37 http://io9.com/the-very-first-image-of-a-hydrogen-bond-1426759827 Oct 20 06:40:48 i have been using IntentService and Asynctask in different situation but i am not very clear that which of these things should be used in what situations ? Oct 20 06:41:27 an anybody give a clear approach to when to use IntentService, Asynctask and Handlers ? Oct 20 06:41:59 IntentService is good for async one-shot things that need to happen Oct 20 06:42:14 like update db, forward to web service Oct 20 06:42:28 AyncTask - i never use :D Oct 20 06:42:41 do i need to add the Activity i startActivityForResult to AndroidManifest.xml? Oct 20 06:42:53 Handlers are for inter-thread comms; and use can use HandlerThread (like IntentService does) Oct 20 06:43:22 hmm Oct 20 06:44:17 JimmyCarter, you have to add each and every activity in androidmanifest.xml Oct 20 06:44:34 doesn't matter how you call that activity Oct 20 06:51:34 g00s, i think we an use asynctask when you wan't some stuffs to run only after your processing is done. For eg: updating your UI (like updating listview) after you have the data Oct 20 06:52:27 sure, sometimes its easy Oct 20 06:53:20 g00s, so its a kind of judgement call. depends on the situation :) Oct 20 06:54:53 hmm Oct 20 06:55:10 Intent intent = google.getGamesClient().getInvitationInboxIntent(); activity.startActivityForResult(intent, RC_INVITATION_INBOX); Oct 20 06:56:08 i tried putting what Activity i think that corresponds to in my AndroidManifest.xml but it made no diff. (it still starts the right activity, but exits/crashes my game) Oct 20 07:14:30 hey guys i just imported this code and the "dimen" is underlined saying cannot be resolver: menu.setShadowWidthRes(R.dimen.shadow_width); where do i find this thing -.- Oct 20 07:14:43 resolved* Oct 20 07:22:45 actually i know that this is defined in a XML file of the library... Oct 20 07:52:20 hi all Oct 20 07:52:21 I have three relative layouts in a linear layout. i gave the second relative layout a weight of 1. But this is not changing anything Oct 20 08:04:56 shadej1, do you understand what are weights for? Oct 20 08:05:17 superlinux-hp: yeah Oct 20 08:05:46 ah ok.. but weight = 1 means the whole layouts Oct 20 08:06:05 i mean cover the whole. Oct 20 08:06:21 android cheats and isnt fair Oct 20 08:06:33 how can you give me no error message Oct 20 08:07:48 JimmyCarter: haven't you worked out by now that Android hates you personally? Oct 20 08:08:19 shadej1, put weightSum =1 in the linearlayout and then put a fraction of the weightSum in each realtive layout Oct 20 08:09:10 so your linear layout is the whole, and the relative layouts are parts Oct 20 08:09:36 superlinux-hp: I did following a tutorial which does not specify weightsum, but let me try it Oct 20 08:09:50 shadej1, you have to! Oct 20 08:10:24 else you are not saying weight with respect to which. Oct 20 08:10:53 i dont care about layouts, vies, activities, or intents, i just want this to work. integrating play services multiplayer is supposed to be easy. Oct 20 08:11:03 more like easy as dying in a cluster bombing Oct 20 08:11:19 superlinux-hp: no change still Oct 20 08:12:08 shadej1, weightSum=1 in linear, and weight=0.5 in one of the relative, have you done that? Oct 20 08:12:13 superlinux-hp: I have told you the linear layout is with scrolview Oct 20 08:12:25 may if there is a problem with it Oct 20 08:13:02 I have did this weightsum=1 in linear and weight=1 in one of the relative Oct 20 08:13:47 what i know is that you select one and only one layout and fill it. maybe just the table layout is the one i prefer to use to organize things. Oct 20 08:15:49 and the scroll view must be both fill parent to scroll. Oct 20 08:16:34 shadej1, no! weight has to be less than 1 . i.e 0.8 or 0.3 .. in this sense Oct 20 08:17:36 shadej1, for example as you say there are 3, then each should be 0.3+0.3+0.4=1 Oct 20 08:17:50 yeah i understand Oct 20 08:17:58 now they are 1+0+0=1 Oct 20 08:18:00 the sweet thing is it launches a pretty nice looking invite friends gui. where ican choose my friends, or automatch, and then click start game Oct 20 08:18:20 the PROBLEM is even the act of launching the pretty decent invite friends gui has exited my app Oct 20 08:18:25 shadej1, this means the other 2 should not appear, i think Oct 20 08:18:35 0 helpful anything in logcat Oct 20 08:18:58 superlinux-hp: nope it means the other two will appear only wraping their content Oct 20 08:19:02 basically android denies me multiple guis Oct 20 08:19:18 true Oct 20 08:19:23 anyways.. Oct 20 08:26:55 good morning guys ! Oct 20 08:26:58 how to fix position of a footer with in a scrolview? Oct 20 08:27:56 I need to check if an alarm is already set using a given requestCode of a pending intent Oct 20 08:28:36 Hi, can someone help me? I'm using maps api and it doesn't work, tho the api key, package name and certificate fingerprint match Oct 20 08:28:43 does it take time to update? Oct 20 08:28:48 is there a quick way to get a string from http? Oct 20 08:29:15 like url generates a string Oct 20 08:29:31 lemonxah, try Volley Oct 20 08:29:47 lemonxah sure Oct 20 08:29:57 shvelo not really. Oct 20 08:30:09 tonyMontana9099, hmm Oct 20 08:30:18 shvelo almost instantaneos i guess (worked with it around a year ago, or more) donno now Oct 20 08:30:28 I've requested a new key, maybe it helps Oct 20 08:30:44 yes... the old key remains active for a day, the new one is instantly active tho i guess Oct 20 08:30:48 is ther a way to do it without adding a 3rd party lib? Oct 20 08:30:52 yes Oct 20 08:30:54 tonyMontana9099: I think you need to keep track of your alarms yourself Oct 20 08:31:14 lemonxah yes, just retrieve it as json using built in json libraries Oct 20 08:31:26 Leeds i have done. Oct 20 08:31:33 tonyMontana9099, i have no idea what you mean Oct 20 08:31:37 btw, fuck Android Studio Oct 20 08:31:42 i dont control what the url returns Oct 20 08:31:58 Leeds but in some point I will need to check if I have already set an alarm with that request code or no Oct 20 08:32:14 shvelo agree. but this will piss JakeWharton lol Oct 20 08:32:18 yes, so you check against your own list Oct 20 08:32:26 how ? Oct 20 08:32:37 still doesn't work :/ fuck Oct 20 08:32:38 lemonxah what is it that you want ? can you describe in detail ? Oct 20 08:32:45 sure Oct 20 08:32:50 do a project clean Oct 20 08:33:02 http://login.minecraft.net/?user=??&password=??&version=13 Oct 20 08:33:11 tonyMontana9099, that reders a string Oct 20 08:33:15 I don't care that people don't like Android Studio. Oct 20 08:33:22 bad login or bad request or login details Oct 20 08:33:31 i want to grab that string Oct 20 08:33:32 okay Oct 20 08:33:42 JakeWharton hehehe (Y) Oct 20 08:33:56 i REALLY like Android Studio .. IntelliJ ftw Oct 20 08:34:35 If Eclipse were at all competent as an IDE this might he with debating. Oct 20 08:34:41 be worth Oct 20 08:35:01 lemonxah there are couple of ways you can do this Oct 20 08:35:12 you can take the html response and parse it in your code Oct 20 08:35:37 but the response isn't just a string its an inputstream Oct 20 08:35:46 yes it is Oct 20 08:35:47 so i should read that char for char and build up the sting? Oct 20 08:36:08 hmm then i am doing something wrong then cause the response only has like .getEntity Oct 20 08:36:24 yes you should.. Oct 20 08:36:30 write a method that does that.. 2 lines max Oct 20 08:36:33 superlinux-hp: solved! Oct 20 08:36:45 shadej1, great! Oct 20 08:37:03 Leeds how can I do a head to head check mate ? by storing everything in a place and checking from there ? Or i can do it on the fly ? Oct 20 08:37:06 whould a response.toString() return the string? i hope so Oct 20 08:37:21 try it Oct 20 08:37:23 tonyMontana9099: yup, store your own list of alarms Oct 20 08:37:30 superlinux-hp: the problem with putting the linear layout with in the scrolview Oct 20 08:37:41 Leeds damn,, that was the think i was trying to avoid Oct 20 08:37:55 shadej1, in eclipse it would have told me! Oct 20 08:38:22 scroll view always must take one and only one child Oct 20 08:39:07 Leeds so technically there is nothing like pi.check("code") //returns true or false Oct 20 08:39:16 superlinux-hp: yeah, I only put one child (linearlayout) but the linearlayout have got 3 children Oct 20 08:39:18 shadej1, make this a habit (ScrollView(Layout)) and then you will never care about sizes anymore Oct 20 08:39:22 tonyMontana9099: AFAIK, no, there isn't Oct 20 08:39:50 damn Oct 20 08:39:54 thanks Leeds Oct 20 09:37:31 I've gone a custom listview. When I click on an item I use the view and change the background. That works, but it also changes the background of items further down the list even though I'm doing it by Position? Oct 20 09:42:42 ListView reuses views Oct 20 09:51:56 ahh looks like problem was i was killing my own process. my pad Oct 20 09:51:58 my bad* Oct 20 09:52:52 <[twisti]> can i only use admob if my app is in the play store ? Oct 20 09:53:29 <[twisti]> and does that mean i have to release it without apps first, and then once it makes it to the play store hurry to add ads before too many people download the ad-free version ? Oct 20 09:55:10 unless something has changed, I'm pretty sure you don't need to publish your app in the play store to use admob Oct 20 09:55:19 what leads you to believe that? Oct 20 09:56:24 <[twisti]> im trying to make an admob entry for my app, and i have to specify "the name of your app as you'd like it to appear in the app store" Oct 20 09:56:44 <[twisti]> that sounded like that wasnt optional Oct 20 09:59:22 so put the name of your app? Oct 20 09:59:30 er, does it say "app store"? Oct 20 09:59:49 <[twisti]> yes, the stuff in the "" is copy and pasted Oct 20 10:00:21 are you 100% sure you're registering it as an Android app? Oct 20 10:00:48 "app store" is not a term usually used for Android... Oct 20 10:01:06 <[twisti]> yes Oct 20 10:03:25 <[twisti]> i put the name in and it worked fine, even though its not in the play store Oct 20 10:03:36 <[twisti]> and wasnt the play store called app store a few years ago ? Oct 20 10:04:04 hm seems onStop() not actually called. iwas killing my process in onPause() and that worked find till i needed to call other activities Oct 20 10:05:26 some say i can look at pair of onWindowFocusChanged() and onPause() Oct 20 10:08:52 [twisti]: no, it was called the Android Market before Play Store... Amazon's store is called "appstore", Apple's is "iTunes App Store" Oct 20 10:09:21 <[twisti]> ah, looks like i threw some things together then Oct 20 10:09:45 <[twisti]> but the quote is from admob, and my app shows as android, with the android icon, so i guess they mixed it up too Oct 20 10:10:24 yeah, I'm surprised, but I believe you :) haven't added a new app in admob for quite a while Oct 20 10:10:48 slacker Oct 20 10:11:10 Is it possible/easy to parse data from Google Finance? Oct 20 10:11:13 yes, I do use slackware Oct 20 10:11:41 everyone sems to use yahoo finance for some reason Oct 20 10:11:55 like coursera comp investing or comp finance and econometircs and others Oct 20 10:14:31 JimmyCarter, yahoo finance doesnt provide data for Spain Oct 20 10:14:32 :( Oct 20 10:21:32 ah well goog should be fine Oct 20 10:34:25 13646688 Oct 20 03:33 Spaceball.apk Oct 20 10:34:31 the witching apk Oct 20 10:35:17 yup seems onStop() is complete hoax Oct 20 10:35:35 is it possible to get the current system UI visibility state (not via the change listener)? Oct 20 10:35:49 so is activity android:noHistory = true Oct 20 10:50:19 Hi, I’m trying to debug a NDK software (using that guide: http://www.kandroid.org/online-pdk/guide/debugging_gdb.html), and I get a “Backtrace stopped: previous frame identical to this frame (corrupt stack?)” error even with a correctly running test apk. Oct 20 10:51:33 When I run “info registers” in the client gdb, I always get the same values, which doesn’t look good. Oct 20 10:52:51 My testcase is a very simple SDL2 and OpenGLES 2.0 C app which loops without issue, but the stack is reported as corrupt. Oct 20 10:53:02 How could I debug that issue? Oct 20 10:54:31 My real goal is to see why I don’t get any output when I add the libpython2.7 in the mix, but if it already doesn’t work with a normal C testcase I won’t be able to go further. Oct 20 10:59:04 i did the sensible thing and set a waiting_activity_result boolean before i startActivityForResult() which i unset in onActivityResult, then in onPause() i check the bool and only android.os.Process.killProcess(android.os.Process.myPid()); when im not starting sub activity. genius Oct 20 11:00:39 How do I use a callback in a SyncAdapter? I send a request to my REST API and want the data to be inserted using my ContentProvider once the query is complete but I don't think I can instantiate a Handler.Callback object from inside SyncAdapter. Oct 20 11:04:18 linkmauvel i do opengles 2.0 c++ with ndk and just debug with stacktrace in logcat Oct 20 11:05:29 Hi ;) Oct 20 11:06:06 Q: How to show a virtual keyboard when the hardware one is present ? Oct 20 11:07:59 JimmyCarter, my issue is that I don’t have a real stack trace, when I put python in the mix the app seems to hang, without outputting anything in logcat *, and gdb isn’t helping. Oct 20 11:08:40 sometimes have to close logcat window and reopen it Oct 20 11:08:43 it gets stuck Oct 20 11:10:04 I still get the messages when I kill it from an adb shell, and I can reproduce the issue each time, even with a new logcat. Oct 20 11:10:15 <[twisti]> admob says "// Put in your secret key here", is that the same thing as my "ad unit id", that starts like Ad unit ID: ca-app-pub-76... ? Oct 20 11:10:29 yeah twisti Oct 20 11:11:08 <[twisti]> does it only update so often ? it says 0 impressions, but i had it display a few apps for me a while ago Oct 20 11:11:13 dunno about python, i dont trust snakes Oct 20 11:11:18 <[twisti]> or is that just clicks ? Oct 20 11:11:24 ^^ Oct 20 11:11:30 <[twisti]> i didnt want to risk getting banned by clicking my own ads ;) Oct 20 11:11:31 yeah dosnt update that often Oct 20 11:11:36 <[twisti]> ah alright Oct 20 11:11:42 like once a day i think Oct 20 11:11:52 <[twisti]> then ill just assume that its fine unless its still at 0 in two days Oct 20 11:12:27 it wouldnt display the test ad if you didnt supply everything right Oct 20 11:13:27 <[twisti]> i only set my device to test after i saw it display a few actual ads Oct 20 11:13:45 google ads swat team should be crashing thru your window any moment Oct 20 11:18:34 Also when I press escape in the working program, which destroys the context and exit(0);, it just hangs there. Oct 20 11:19:13 Is there something I should do to properly exit? Oct 20 11:19:16 linkmauve1 im going to share an android secret they usually only teach people after a decade of developlment Oct 20 11:19:45 I’m new to it, only started yesterday. ^^ Oct 20 11:19:46 add protected void onPause() { android.os.Process.killProcess(android.os.Process.myPid()); } to your Activity Oct 20 11:20:16 see if that doesnt do the trick. maybe you can find a better solution. im not licensed to give development advice Oct 20 11:20:25 Oh, you already told me, sorry. :x Oct 20 11:20:26 hey, can anyone tell me where's android's notification img at ? Oct 20 11:20:27 pls Oct 20 11:22:30 JimmyCarter, oh great, so it aborts once I press the home key, great. :) Oct 20 11:23:51 ndk developers have to ride dirty Oct 20 11:26:32 My game is written in Python, which gets compiled into C, I didn’t want to add a second compile step to Java. :D Oct 20 11:30:00 does anyone knows which is the notification img src for android apps ? want to edit it pls Oct 20 11:38:08 can anyone suggest android app repos on github for a beginner to learn android-dev. I'm reading the google guides and I don't know how to move from here. Oct 20 11:46:28 does anyone knows which is the notification img src for android apps ? want to edit it pls Oct 20 11:53:44 svector: if you found something interesting ping me, I would like to see some too Oct 20 11:57:22 JimmyCarter, yay, it works, I just did stupid things from my python code. ^^ Oct 20 12:01:51 Foxandxss: you gotta check out http://www.quora.com/Android-Development/Which-are-the-best-Android-projects-to-follow-on-GitHub Oct 20 12:02:22 Foxandxss: I found it when I was about to ask the same question Oct 20 12:03:11 thanks :) Oct 20 12:05:44 svector: they are more libraries than open source applications, but that is good too Oct 20 12:06:17 Foxandxss, you're right. http://www.quora.com/Android-Applications/What-are-some-of-the-best-open-source-Android-apps looks better Oct 20 12:07:44 http://i.stack.imgur.com/m5BJB.jpg does anyone knows where is that orange circle img at ? wanna modify it Oct 20 12:12:26 congrats linkmauve1-dr0id Oct 20 12:13:11 It’s still a bit strange to not see python tracebacks anywhere, but I’ll work around that. Oct 20 12:22:28 svector: it is sad to see that many of those libraries (first link) has a lot of bugs but not updates Oct 20 12:30:20 hi i'm trying to import two projects from vcs with android studios.. the second project is a library project that the first one depends on, the library project itself has a jar in libs/, when it comes to the point where this jar is used the app crashes with classnotfoundexception.. the lib is listed under library in file->project structure ... whats wrong? Oct 20 12:41:31 http://i.stack.imgur.com/m5BJB.jpg anyone knows where do i modify that modification icon ? the orange circle.. Oct 20 12:46:38 undeadd: If you're modifying a rom, #android-root - If you're making an app, that's either a manufacturer features or an app widget Oct 20 12:48:54 Or a 3rd party launcher that exposes some api for it.. There's nothing in the android api Oct 20 12:48:55 ok i found out that I have to add the jar to my main project as well to be able to use it.. now there are some resources in that library project which are just not visible in the app... how to make the contents of res/ in a library project available in my main project? Oct 20 12:49:56 SimonVT: the weird thing is, it shows on my gf's 100% stock Xperia Z, on a regular shortcut on her launcher desktop Oct 20 12:50:38 ohcibi: I've got no idea how to do it with AS, but you can't just include the jar Oct 20 12:51:34 Leeds: i know that i cant just include the jar because of the res/... I was talking about a jar file that is inside the library project Oct 20 12:52:54 Leeds: No custom launcher, right? I wouldn't be surprised if the facebook app exposes some api for them to get the notification count Oct 20 12:52:58 Or the other way around Oct 20 12:53:18 Good social network(read: facebook) integration was/is a big feature Oct 20 12:53:22 SimonVT: no custom launcher... er, I'm 95% sure I never installed one for her, 100% sure she never installed one herself Oct 20 12:53:59 I also dont understand why I have to add the library project as module and then the source files as library to use it... quite complicated Oct 20 12:55:16 man im gonna have to buy a second device to test inviting myself to room Oct 20 12:55:22 very conveniant for google Oct 20 12:55:30 ohcibi: because it needs to be merged in, not just included Oct 20 12:55:42 JimmyCarter: fuck it, get an ubuntunutntnu phone Oct 20 12:55:51 AHA Oct 20 12:55:58 it needs to be added as a module dependency Oct 20 12:56:49 that makes a lot more sense Oct 20 13:29:46 I think the NSA is here Oct 20 13:31:51 if I serviceContext.startActivity on an intent with FLAG_ACTIVITY_CLEAR_TOP, should that work? Oct 20 13:33:51 hi DarkSlay3r Oct 20 13:47:28 I have a class X that calls a onDestroy() in class Y. The onDestroy() contains a interrupt() to stop the thread which runs contains Class X. Will the rest of my code in class X which follows the onDestroy() call be executed? Eventho I have interrupted the thread? Oct 20 13:48:31 Hi Trudko Oct 20 13:49:00 Ok which one of you is the NSA Oct 20 13:52:32 lol, what interest would the NSA have in android dev? :P Oct 20 13:53:29 Also why would they bother appearing as a common user, if they can just monitor the traffic to/from the servers Oct 20 13:56:33 uhm ok to ask alittle more simple: Oct 20 13:57:55 I have a while(true) loop in the run() method of a thread. If I call interrupt() on the thread from outside the the thread, will it run the while(true) one last time or stop momentarily? Oct 20 13:58:31 MegaYo depends on where the current execution is at Oct 20 13:58:51 interrupt knows nothing of your while loop Oct 20 13:59:47 It makes more sense this way Oct 20 14:00:03 the NSA just needs to log in as common user to monitor the conversation Oct 20 14:00:16 i mean just keep logging stuff Oct 20 14:00:24 and when someone figures it out Oct 20 14:00:27 jug6ernaut: the loop is supposed to catch an error. if given error occurs, it will call onDestroy() in another class. onDestroy() interrupts thread Oct 20 14:00:41 just have black helicopters fly in Oct 20 14:01:31 so I'm wondering if the following code after onDestroy() call, but still inside the catch brackets will be exected Oct 20 14:02:03 yup Oct 20 14:02:44 niice Oct 20 14:02:46 thank you Oct 20 14:07:11 what is the idiom for broadcast names? Oct 20 14:20:29 Hello. Anyone got ad-free, free profile switcher for Android? I want automatically switch profiles based on time. Oct 20 14:30:47 Hi all, having problems with the new Android Studio 0.3. Is there anyway to disable creating fragments as default? Oct 20 15:09:57 hi, anyone developing audioplayer(s) for android, like Droidsound or similar? Oct 20 15:18:08 ilidur and everyone else: it tends to be a good practise to use fragments Oct 20 15:48:51 Guys i recorded video which I now try to upload on youtube. I am trying to get real path from uri and I found one method on the internet which worked for me before in other projects. Now problem is it that corusor is null. Code is here http://pastie.org/8416623 (values of variables are in commnets) . Oct 20 16:03:32 greetings Oct 20 16:07:35 So I have a weird problem here. I have an AutoCompleteTextView with an ArrayAdapter, right. And I want AutoCompleteTextView show stuff in the dropdown that does not exactly match what is in AutoCompleteTextView. Oct 20 16:07:58 in other words, AutoCompleteTextView just shows in the drop down what has the typed in prefix Oct 20 16:08:07 and I want it to include other stuff as well Oct 20 16:08:17 do I need to make my own filter? Oct 20 16:10:04 Scraping google finance is going to be fun Oct 20 16:10:38 Kulverstukas, I think you need your own filter, yes Oct 20 16:11:21 hmmm Oct 20 16:11:29 I'm a big confused about how to implement it Oct 20 16:11:31 bit* Oct 20 16:12:02 hey guys Oct 20 16:12:10 anyone using intelliJ 12 for android dev? Oct 20 16:12:21 how do i make signed apks to upload to the play store? Oct 20 16:13:23 what's wrong with the manual way? Oct 20 16:16:30 lemonxah, Android Studio version? Oct 20 16:16:42 no normal IntelliJ 12 Oct 20 16:16:47 but i found it thanx Oct 20 16:16:52 its in the build menu Oct 20 16:17:02 Why would you use that? Oct 20 16:17:02 Build -> Generate Signed Apk Oct 20 16:17:18 i use it cause Android Studio doesn't support scala Oct 20 16:17:24 i use Android studio at work Oct 20 16:17:29 Ah Oct 20 16:17:36 but for my personal projects i can cause i only write in scala Oct 20 16:17:43 I had to switch from appcompat 7 to support-v4 to allow actionbarsherlock (gradle), what's the deal? Oct 20 16:18:08 Foxandxss, little offtopic, but why do you use actionbarsherlock? Oct 20 16:18:32 zyngawow: I am reading a book, I do what is commanded :P Oct 20 16:18:40 Ah Oct 20 16:18:48 just trying to adapt from eclipse+ant to androud studio+gradle Oct 20 16:19:01 Gradle is mroe difficult that eclipse Oct 20 16:19:04 more* Oct 20 16:19:04 there are better alternatives? Oct 20 16:19:15 when is kitkat comimg out Oct 20 16:19:19 Because appcompat is an actionbar backport and abs is an actionbar backport.. Makes no sense to use both Oct 20 16:19:23 You have to edit the gradle files Oct 20 16:19:24 well, gradle is just a build system Oct 20 16:19:44 gradle is great i love gradle Oct 20 16:19:46 ashemedai, with the Nexus 5. #android Oct 20 16:19:49 its simple and fast Oct 20 16:20:00 but Scala plugin on that doesn't support Android Oct 20 16:20:02 And not very well integrated with Android Studio Oct 20 16:20:09 I am new to android dev (that is why the book), but not new to programming Oct 20 16:20:20 zyngawow: at least it generates a good project structure with gradle Oct 20 16:20:21 and both Scala and Android plugins supply Java plugins so cant use them both Oct 20 16:20:22 zyngawow: yes of course ....but when wud that be out Oct 20 16:20:44 to build with sbt i cant use Andorid Studio :/ Oct 20 16:20:44 ashu11, google "when does the nexus 5 come out" Oct 20 16:21:13 of course when google launches it Oct 20 16:21:14 Darcula ftw Oct 20 16:21:36 darcula is good indeed Oct 20 16:21:45 but does anyone know the date ,,, u know by some sources Oct 20 16:21:53 no Oct 20 16:21:59 ashu11, read http://www.pcadvisor.co.uk/news/mobile-phone/3437472/google-nexus-5-release-date-price-photos-specs-video/ Oct 20 16:22:44 anyway, android deps management is kinda hell atm, gradle tries to simplify it I think Oct 20 16:23:30 I try to use the least libs I can Oct 20 16:23:35 Size matters :3 Oct 20 16:23:44 agree Oct 20 16:25:08 sorry i got disconnected , did someone say anything about nexus 5 Oct 20 16:25:20 Anything I should read before going into web scraping? Oct 20 16:25:52 is there a manual signing? Oct 20 16:26:02 like i have debug apk that i want to re-sign Oct 20 16:26:50 ashu11: Your question is better suited for #android Oct 20 16:30:15 SimonVT: yes i guess u are right. tx Oct 20 16:42:27 zyngawow: ah, I see, I was reading about the support libraries and yes, v7 comes with a action bar so I guess that sherlock is not needed anymore (or maybe it provides more stuff) Oct 20 16:42:58 Foxandxss, I have not yet needed to use sherlock Oct 20 16:43:05 I recall it was needed before Oct 20 16:43:25 my app seems to be crashing on some calls to canvas.getWidth() Oct 20 16:43:27 seems like appcompat v7 which comes with the actionbar is recent as hell (5-6 months) Oct 20 16:43:53 rednovae, stacktrace Oct 20 16:44:15 sigsegv Oct 20 16:48:53 I hate being lazy Oct 20 16:59:28 zyngawow: that is a common trait between developers Oct 20 17:04:55 Hello anyone here? Oct 20 17:07:13 Nope Oct 20 17:09:52 Does anyone else get an error when creating a project on Android Studio .3? Oct 20 17:10:09 Guys do you know of a pdf for setting up eclipse for android Oct 20 17:10:11 hi, i have installed Android Studio but i have a stupid problem :( i don't see package of my project https://www.dropbox.com/s/6cketd2vi5qkg8p/studio.png i see only configuration file Oct 20 17:10:16 Yes I have googled for one Oct 20 17:12:10 Shaba1, just download the ADT bundle Oct 20 17:16:40 zyngawow yes Oct 20 17:17:14 the IDE crashes Oct 20 17:22:26 zyngawow: .3?? Oct 20 17:22:33 0.3 Oct 20 17:22:40 uh Oct 20 17:22:47 just checked for updates Oct 20 17:22:56 the web page still says 0.2.x so I guess thi is canary :P Oct 20 17:22:59 ah, indeed Oct 20 17:24:11 zyngawow: anyway, let me try the new project stuff Oct 20 17:25:26 zyngawow: all good Oct 20 17:25:32 weird Oct 20 17:25:52 osx Oct 20 17:25:57 Ah, windows Oct 20 17:27:27 uh, visual editor for gradle deps, that is good Oct 20 17:27:29 with a search box Oct 20 18:05:49 I'm looking to change an editText from plain text input to a password input when a checkbox is checked. Is there a setAttribute() or similar function that will allow me to do this? Oct 20 18:09:49 With setInputType Oct 20 18:10:11 cheers SimonVT Oct 20 18:11:46 hi all. make errors at building kernel for lg viper,lge-kernel-iproj http://pastebin.com/wPJ7rmxX . changed the file to -generic, edit the mf (delete -wall), same errors. Oct 20 18:16:29 #android-root Oct 20 18:18:29 how many threads can hold a reentrant lock? Oct 20 18:28:30 [14:11] hi all. make errors at building kernel for lg viper,lge-kernel-iproj http://pastebin.com/wPJ7rmxX . changed the file to -generic, edit the mf (delete -wall), same errors. Oct 20 18:32:28 hey guys.. can i use 2 different fonts in the same button? Oct 20 18:33:11 one of them is FontAwesome which is made of icons :T Oct 20 18:38:22 luist: idk but in textview you cann use Html.fromHtml(String html) to insert html into the textview.... you could apply a font tag then if this work sfor button too Oct 20 18:44:51 adb/device drivers don't work on Win 8.1 Where's the best place to report this and/or follow an already created report? Oct 20 18:49:57 Hey. I'm currently trying to get used to Android Studio (IntelliJ). I've been using Eclipse for years, but I'm now migrating.. Is there any possible way to modify a file, then when you close the tab it gives you a confirmation to ask you if you want to save? It seems to save automatically which for me is very annoying. Oct 20 18:55:00 Don't think so. Why wouldn't you want it to save? Oct 20 18:57:11 boarder2: I want to be in charge of the save process really. It's what I'm used to in any application. Eclipse, a text editor, Photoshop, etc. Oct 20 18:57:39 [14:28] [14:11] hi all. make errors at building kernel for lg viper,lge-kernel-iproj http://pastebin.com/wPJ7rmxX . changed the file to -generic, edit the mf (delete -wall), same errors. Oct 20 18:58:56 I guess I don't understand why other than it's what you're used to. You have undo, you have good VCS integration to see what's changed. If it doesn't save automatically you can't build without saving all your changes individually, etc. Oct 20 18:59:30 I'm trying to do a simple video capture using MediaStore and I'm having some problems processing the returned intent Oct 20 18:59:31 http://pastebin.kde.org/pywkmbnd8 Oct 20 18:59:40 I used something pretty similar to the video capture example on the dev pages Oct 20 19:00:08 The video seems to capture fine but when I return from the MediaStore and try to look at the intent it all comes back 'null' Oct 20 19:00:16 Anyone have any advice/ideas on why this would be happening? Oct 20 19:00:41 Do I need to specify the EXTRA_OUTPUT parameter in my initial intent? Oct 20 19:00:59 amorgos: I thought that was kinda weird at first too. But after a while, you get used to it. It "just works". Oct 20 19:01:31 but you can still do a ctrl+s to force it to save Oct 20 19:01:38 boarder2: I respect the good VCS integration which allows me to revert. But I've used a lot of different applications (coding or otherwise) as I'm sure you have. And the user is always in control on saving a document, and if they close and forget to save it shows a dialog requesting action to save or cancel. Oct 20 19:02:16 amorgos: open settings search for save... second hit Oct 20 19:02:16 Dat errors on android studio Oct 20 19:02:20 Cant even create a project Oct 20 19:02:31 JesusFreke: Ok, I understand that many debs have gotten to like it and it makes sense to them. But is there any way to not have it like this? Oct 20 19:02:35 devs Oct 20 19:02:39 Fair enough. I suppose it's something you'll have to take up with JetBrains :) Oct 20 19:02:42 debs? Oct 20 19:02:48 oh, devs Oct 20 19:02:59 amorgos: not afaik. but I haven't looked either Oct 20 19:03:11 amorgos: you read what I wrote? Oct 20 19:03:18 amorgos: Do you need to close without saving often? Oct 20 19:03:21 ohcibi: looking now Oct 20 19:03:48 amorgos: whenever I realize that people only think they know that its not possible I stop worrying and continue searching 8-)) Oct 20 19:04:13 That use case is still nominally supported, using intellij's built in undo/internal VCS. You can just cancel the changes, but it does keep track of them automatically and you can revert to a previous state Oct 20 19:04:20 I have a tick with cmd + s so I am always saving Oct 20 19:04:24 so didn't notice that behavior Oct 20 19:04:25 JesusFreke: My habits are when I do a modification to anything, whether a photoshop file or a .java. I rely on ctrl+s or the confirmation. Oct 20 19:04:41 charley___: This isn't really the right forum for that kind of questions.. Please try #android-root or one of the relevant mailing lists (there's a list on s.android.com) Oct 20 19:05:10 amorgos: ctrl + s still works. And generally, you just don't need to worry about saving. It just saves it when it's appropriate. Oct 20 19:05:37 JesusFreke: he wants as to NOT autosave the file on close Oct 20 19:06:02 ohcibi: my answer to that was that you can use revert to go back to a previous state (which is what "not saving" really is) Oct 20 19:06:08 I hate autosave... Oct 20 19:06:11 pfn: ++ Oct 20 19:06:18 JesusFreke: no it is not... autosave is just stupid Oct 20 19:06:20 I have it turned off in my intellij Oct 20 19:06:30 pfn: tell amorgos how please Oct 20 19:06:44 settings -> and type in save in the search box :p Oct 20 19:06:44 ohcibi: just because you don't like it doesn't make it stupid :) Oct 20 19:07:00 Do you guys know where I can report or follow an existing issue with ADB/device drivers not working in Win 8.1? Oct 20 19:07:20 b.android.com Oct 20 19:07:43 ohcibi: which setting specifically do you mean. I tried searching for save. Oct 20 19:07:54 amorgos: general Oct 20 19:08:29 JesusFreke: it is actually pretty stupid as it doesnt care if the file should really be saved 8-)) Oct 20 19:08:37 There is "Save files on frame deactivation", but it doesn't make a difference when unchecked Oct 20 19:08:40 ohcibi: is there ever a case when it shouldn't be saved? Oct 20 19:08:54 JesusFreke: uhm, if the changes made should be dropped??? Oct 20 19:09:02 ohcibi: undo? Oct 20 19:09:07 revert to previous state? Oct 20 19:09:12 git reset --hard? Oct 20 19:09:20 JesusFreke: i dont want to undo undo undo undo undo i want to close th e file and forget about it Oct 20 19:09:28 and no i dont want to get reset --hard either.. why should I? Oct 20 19:09:51 i just want to close the file and drop the changes.. Oct 20 19:09:55 no extra action wanted Oct 20 19:09:59 It's funny how when a concept like this that goes against the grain of pretty much every application attracts people who refuse to almost see the reason why any other application makes sense! Oct 20 19:10:16 amorgos: i just thought the same Oct 20 19:10:28 amorgos: maybe we are to uncool for android studio 8-)) Oct 20 19:10:31 ohcibi: I just want the file to be saved.. no extra action wanted. :) Oct 20 19:10:44 ohcibi: lol yes. Oct 20 19:11:43 Lots of applications are moving toward the user not having to ever save intentionally. I can't say I really like it either. We're devs, we're control freaks. Oct 20 19:12:32 If Photoshop or Premiere or word did that to me i would go totally insane. Oct 20 19:12:50 what if there was a change made and I forgot about it? stupid IDE will autosave it for me Oct 20 19:13:11 I wouldn't be surprised if any of those applications implement auto saving in the next versions Oct 20 19:13:18 I thought Office did, actually Oct 20 19:13:48 boarder2: It does have autosave.. But every 30mins or so, which kind of makes sense. But instantaneous autosave just goes against the grain. Oct 20 19:13:53 ohcibi: there has not been once where something was autosaved when I didn't want it to be. I guess I maybe I have a different workflow than you or something. But it totally works and makes complete sense to me at least :) Oct 20 19:14:21 As long as you have unlimited undos that persist... Oct 20 19:14:29 boarder2: exactly. and intellij does. Oct 20 19:14:49 JesusFreke: and now we should follow you across the sea? 8-))) Oct 20 19:15:08 ohcibi: you can do whatever you want :) Oct 20 19:15:21 I use undos a lot, but I want a quick revert where I do changes, and revert back to the saved edition. I don't want to rely on the base VCS version either as that could be a day or so old. Oct 20 19:15:30 I love how the undo is essentially backed by its internal revision control thing Oct 20 19:15:36 relying on undo is pretty stupid also Oct 20 19:15:47 too easy to break history there.. Oct 20 19:16:05 I rarely rely on undo. But it has come to the rescue in a handful of cases Oct 20 19:16:10 I mostly rely on git Oct 20 19:16:31 I don't rely on the difference between what's in the IDE and what's on disk Oct 20 19:16:42 because I just don't have to worry/think about that. Oct 20 19:17:03 Ok… Two camps clearly. But AFAIK Android Studio / IntelliJ does not have normal Save option.. Correct? Oct 20 19:17:25 amorgos: like I've said multiple times. you can still ctrl+s. and as pfn stated, you can disable auto-save Oct 20 19:17:47 amorgos: according to pfn autosave seems to be able to disable, but he told me the same way I told you Oct 20 19:18:22 JesusFreke: But AFAIK i cannot find the option to disable autosave. I've tried General --> Save files on frame deactivation. and it doesn't make a difference. Oct 20 19:18:57 I'll experiment and find an option hopefully. Thanks for your time guys :-) Oct 20 19:20:44 amorgos: it seems that save files on frame deactivation refers to autosave even when the ide is just unfocussed 8-)) Oct 20 19:21:17 like when you're alt+tabbing to the terminal, to build :) Oct 20 19:21:46 "Ah crap, I forgot to save that file!" ;) Oct 20 19:22:20 wow... a superIDE... i wonder how eclipse does that... right it autosaves all files before building and asks the user for the first time if it should do it and if it should memorize the users decision.. what a stupid IDE Oct 20 19:23:58 I would stick to Eclipse if it wasn't so unsupported these days. I've used Eclipse for 10 years. But they have 4 (YES 4) devs working on core Eclipse now apparently and none is fixing bugs. Oct 20 19:24:46 I can see why the Android team have gone towards Jetbrains. No one seems to give a shit about Eclipse anymore for some reason. Oct 20 19:25:04 amorgos: actually i like AS and the good integration with VCS.... I think autosave is something to easyily get over with.. Oct 20 19:25:16 [14:28] [14:08] hi all. make errors at building kernel for lg viper,lge-kernel-iproj http://pastebin.com/wPJ7rmxX . changed the file to -generic, edit the mf (delete -wall), same errors. Oct 20 19:26:16 ohcibi: I'm determined to get used to AS / IntelliJ as eclipse is basically on a downward spiral. But old habits die hard. Oct 20 19:26:50 You'll learn to live with it and love all the other stuff that JetBrains does way better ;) Oct 20 19:27:05 amorgos: I never liked eclipse... really.. never 8-)) i just got used to it because I do a course at university and the students have to use eclipse there... Oct 20 19:27:11 amorgos: in all seriousness, if you get used to it, it becomes a non-issue. It's just not something I have to think about. Oct 20 19:27:59 boarder2: I hope so. It's about time I changed IDE. Eclipse is so inefficient and bloated these days. Oct 20 19:28:10 Eclipse still is one of best IDEs, then there's NetBeans also isn't bad Oct 20 19:28:13 amorgos: but i didnt know that eclipse is that bad supported these days Oct 20 19:29:03 charley___: Use #android-root or one of the mailing lists, please Oct 20 19:29:09 but for C/C++ KDevelop FTW :) http://www.kdevelop.org/ Oct 20 19:29:54 dark scheme in kdevelop nice Oct 20 19:30:14 ohcibi: Yes, I don't know why, but I think investment for it has died down a lot over the past 12 months or so. Oct 20 19:30:53 Win 8.1 seems to have broken pretty much everything :( Oct 20 19:30:53 i'm happy about it Oct 20 19:31:06 about that also 8-) Oct 20 19:31:21 It's really tough to move from one IDE to another. It takes time and patience. Oct 20 19:31:36 I got ADB to connect using WiFi ADB and now it apparently can't find the apk's to upload Oct 20 19:32:54 boarder2: I didn't even know WiFI ADB existed. I'm not bothering with any real device anymore because Genymotion is far better. Oct 20 19:34:15 unfortunately you can't test in app billing with emulators :( Oct 20 19:34:25 boarder2: You can with Genymotion. Oct 20 19:34:31 oh really? Oct 20 19:35:07 yeah. Forget about emulators, they're WAY too slow. Genymotion is like a REAL device on your PC, only 1000% quicker than a real device :-) Oct 20 19:35:22 Also it supports Google Play Services and Google Play Games Services. Oct 20 19:35:33 so IAB and things like that you can still test Oct 20 19:35:46 amorgos: I'm guessing the google stuff doesn't come bundled though? Oct 20 19:35:54 Yes it does. Oct 20 19:36:01 That's... interesting. Oct 20 19:36:39 I can't work without it now seriously. I use Genymotion for 95% of development. Then test on real devices when I've done the work. Oct 20 19:36:41 this is different from using the x86 emulator? Oct 20 19:36:46 yeah Oct 20 19:37:13 Search google for genymotion and get it installed. Oct 20 19:37:27 hmm, uses virtualbox Oct 20 19:37:46 guess I have to disable hyper-v anyway for the haxm driver to work Oct 20 19:38:24 When using the DDMS screenshot tool; Are the images not pixel-perfect to what is output onto a canvas? It seems like I'm getting some compression artifacts Oct 20 19:38:48 I don't see any pricing, just a signup. Is it free? Oct 20 19:39:02 genymotion is free for now Oct 20 19:39:14 have to disable hyperv for haxm to work? Oct 20 19:39:16 that sucks... Oct 20 19:39:20 yeah Oct 20 19:39:53 haxm can't work if there's already a hypervisor running I guess Oct 20 19:40:05 All that matters to me is that I can test a code change in like 2 seconds, in comparison to a real device which takes 15 seconds, and an emulator which takes 30 seconds. Oct 20 19:40:07 sucks for someone who does Windows Phone and android development :( Oct 20 19:40:35 since they changed windows phone emulators to hyper-v Oct 20 19:41:00 haxm images work quickly enough for me... Oct 20 19:42:07 pfn: You can't test stuff like in app billing with an emulator with HAXM though Oct 20 19:42:22 perhaps not, everyone says you can install play services on them, though Oct 20 19:42:40 anmd if so, then you can test IAB Oct 20 19:42:54 must resist getting started on IAB and how awful it is Oct 20 19:43:44 boarder2: It's improved a lot since v1/v2. v3 is a big improvement to easiness. Oct 20 19:44:15 I remember trying to integrate IAB early on. I was almost in tears Oct 20 19:44:34 … TBH i was in tears :-) Oct 20 19:45:17 I was ready to release my application 3 weeks ago and decided I was going to implement IAB... how hard could it be? Oct 20 19:45:22 yeah. Oct 20 19:46:17 Have you got it to work now? Oct 20 19:46:47 "Here, take this full implementation and change it all" "Then build your own entire web service since we're not going to do it for you" "Then find a way to generate unique user tokens which means requesting a lot more permissions than you otherwise would have to" Oct 20 19:47:15 I got the basics up and running. working on abstracting the implementation so it's not the same as the example code Oct 20 19:48:00 I think I've decided it's not worth my time/energy/expense to build web services for license verification Oct 20 19:48:25 if piracy gets it, piracy gets it Oct 20 19:48:47 amorgos: thanks for telling about genymotion... Oct 20 19:48:56 In comparison to other in-app-billing vendors that are not Google Play (of course you can't use them on Play marketplace) it is SOO hard to integrate. But as I said, it is FAR better than what it used to be when they released IAB initially. Oct 20 19:49:35 yeah. I'm waiting for the activation email from genymotion. looks interesting for sure Oct 20 19:50:23 ohcibi: no worries. It reduced my "code change --> test" cycle so much. I really couldn't live without it now. Oct 20 19:50:49 emulator worked fine for me until IAB Oct 20 19:51:10 But be warned, the only downside to it is that it's FAR quicker than a real device, so if you're coding lazy then you won't notice the lag until you test on a real device. Oct 20 19:51:21 amorgos: actually developing on device is not that bad... but then you need to test a different android version.. then you need another screen, and then there is this example app which has a 100 mb mp4 file and takes 4 minutes to install via usb... its really pretty handy 8-)) Oct 20 19:52:27 amorgos: i cant see that its quicker than my real device.... video playback is actually *slightly* slower Oct 20 19:52:34 it's taken me a few months to port my app from iOS and this is like the 4th time I've attempted it. It's been pretty painful and one hell of a learning experience but even with all the weirdness I think I like android well enough as a development platform now Oct 20 19:52:38 developing on device still unacceptably slow via USB. Waiting a long time to test an tweak takes SOO much time. Oct 20 19:53:09 amorgos: put a 100 meg mp4 file into your res/ directory... just for fun 8-) Oct 20 19:53:54 ohcibi: I have a pretty meaty windows PC, and I can deploy a 5MB APK in about 3 seconds. I don't have huge files in the APK though. Oct 20 19:54:45 amorgos: 5 megs are boring 8-)) Oct 20 19:55:55 boarder2: So your app/game was not something you would consider something like Unity for, or is it made for a native environment? Oct 20 19:58:18 I guess I never really looked at Unity Oct 20 19:58:35 When I started it I was just building it for me to use personally on my iPad Oct 20 19:58:56 Decided to finish it enough that I could release it and hey, maybe I'd sell enough copies to pay for my developer subscription Oct 20 19:59:07 yeah, well... it sold quite a bit better than that Oct 20 20:00:26 on iOS I was able to get enough performance out of the built in controls that I didn't need 3d/gl/whatever Oct 20 20:00:45 Excellent. Congrats :-) I'm looking at unity for my next project and I love it TBH. Oct 20 20:00:55 http://bit-shift.com/icontroldcs/index.html Oct 20 20:02:22 I looked at stuff like Xamarin or PhoneGap but it's not fast enough and generally ends up being more of a pain in the ass than it's worth Oct 20 20:03:21 Yeah I wouldn't bother with those IMO… They're doing cross-platform in a way which just doesn't work IMO. Oct 20 20:04:09 Looks good your app. I have no idea about flight sim type stuff, so TBH I don't know what you're doing lol. Oct 20 20:06:07 For cross platform gaming type stuff, libgdx may also be an option. It's "home platform" is java though, uses robovm for iOS. Oct 20 20:06:41 But I would imagine Unity would be something you should consider for something like that. But clearly you've developed the app for iOS now specifically so you would have to port all of that stuff to Unity. Oct 20 20:07:04 yeah, we'll have to see Oct 20 20:07:29 performance on android devices is less than ios for sure Oct 20 20:07:57 decompressing images takes quite a bit more processor Oct 20 20:09:44 hm, i keep having a problem with AS 0.3.0 "internal error" (red dialog) seems like an exception in the code-folding stuff (ArrayIndexOutOfBounds). then i can't edit any files. i have to restart, but it wants to load the file again and we go in a circle Oct 20 20:10:49 Uh, I am looking at this http://www.vogella.com/articles/AndroidBroadcastReceiver/article.html#startingservices_alarmmanager Oct 20 20:10:55 hi all Oct 20 20:11:17 Could someone explain exactly how I can start a service that runs once a day when the phone starts? The XML in that does not seem to match with the java code. Oct 20 20:11:39 I kind of understand how to do it, but I'm unsure on what exactly is needed since the XML does not match the java claass names Oct 20 20:11:54 flexd: you might want a start-on-boot intent and then use alarmmanager to set a future intent to fire at desired time Oct 20 20:12:23 So basically I just need the one broadcast-receiver that filters on the start on boot intnet? Oct 20 20:12:25 intent* Oct 20 20:12:43 yes, that way you should be in business even after phone reboot Oct 20 20:12:51 I think the alarms don't persist across system reboot, they must be re-set Oct 20 20:13:32 flexd: out of interest, why do you need to use the alarm manager? Oct 20 20:13:48 Just keep in mind that you won't receive the boot broadcast until the user has manually ran the application at least once Oct 20 20:14:06 amorgos: It's for a school thing, I have to make this app that will send a SMS to your friends when it's their birthday Oct 20 20:14:13 Based on a list I store in SQLite Oct 20 20:14:36 Basically the service needs to loop through the entire list once a day and send a text to anyone with a birthday. Oct 20 20:14:40 hmm, how do I get a heapdump on OOME on android? do I have to write an uncaughtexception handler, or can I do it from monitor? Oct 20 20:15:24 flexd: If it's just a school thing and not a proper production type thing, then maybe you shouldn't worry about when the device goes down on boot :-) Oct 20 20:16:59 amorgos: What do you mean? I need to start the service/set the alarm for the service to be executed when the phone boots and when the application starts and there is no alarm present Oct 20 20:18:12 or is there an option to dump heap from a debugger Oct 20 20:18:43 What I would personally be doing to be honest is to have the device register to a server so you can keep all the birthdays on the server. Then you can send push notifications to the device. But maybe I'm drastically changing your design here so maybe not worth even mentioning :-) Oct 20 20:19:25 A server? Oct 20 20:19:47 Like an off-device actual server? Yea sure that would be the best plan really, but I need to use a local SQLite db for the assignment :-) Oct 20 20:20:30 no probs. Jesus, they're really teaching Android in SCHOOL these days? Oct 20 20:21:01 Haha Oct 20 20:21:03 it's free Oct 20 20:21:15 It's just a 5 point class, the one you choose Oct 20 20:21:23 An elective class? Sounds odd. Oct 20 20:22:00 elective is the right word Oct 20 20:22:15 All my normal classes are 10 points, I had to have a 5 or 10 point class and I could choose from a list this semester :-) Android development was better than learning php, asp.net or some other options Oct 20 20:22:17 3 Oct 20 20:22:42 definitely better than php Oct 20 20:22:51 ^ yup Oct 20 20:23:08 then again, pretty much anything's better than php, so the bar is low on that one Oct 20 20:23:13 Hm odd.. my server (that I IRC through) just stopped responding for like 10 seconds o_0 Oct 20 20:24:59 Anyway, after I hand this in on thursday I'm done with the class, and getting a A in this isn't rocket science :D Oct 20 20:25:30 at least you don't have to do IAB ;) Oct 20 20:25:34 Really horrible google translate job on the assignment: https://gist.github.com/flexd/856c3561effd2242c72a Oct 20 20:25:36 IAB? Oct 20 20:25:43 in app billing Oct 20 20:25:50 ah Oct 20 20:25:54 is IAB a pain ? Oct 20 20:25:59 i was going to add it :) Oct 20 20:26:10 no comment, haha Oct 20 20:27:28 flexd, unfortunate translation: "Make love to your data" Oct 20 20:27:34 Yeah haha Oct 20 20:28:23 packers game. time to go. have a good one guys Oct 20 20:28:23 Actual translation: Make your data available to other applications using a ContentProvider if you want, this is not needed to pass. Oct 20 20:28:25 flexd: I really wouldn't worry about translation if it's just an assignment. But if it's an extra credit just add some bullshit words to your norweigian strings.xml :-) Oct 20 20:28:39 amorgos: Yeah translation is easy anyway Oct 20 20:28:57 I won't make a language preferences setting, but I'll just add a norwegian strings.xml Oct 20 20:29:26 "method too complex for data flow analysis" \o/ Oct 20 20:30:32 flexd: I can't believe that's a school assignment, that's a good 2 days project for someone who knows Android. Bloody hell! Oct 20 20:30:37 If I actually wanted to make this a good app I'd fetch your friends off facebook or something, but no bonus points for that Oct 20 20:30:42 amorgos: We've had like 14 days ++ Oct 20 20:31:09 I've got the flu or something now, basically just been in bed all day doing nothing, I have 3 assigments due on friday and I haven't started two of them. I figured I'd just get this out of the way as soon as possible. Oct 20 20:31:42 I am just missing the service bit/sending sms, but if I can get this broadcast-receiver working then the rest is not that ba Oct 20 20:31:44 d Oct 20 20:31:59 hi all Oct 20 20:32:15 where download android SDK? i want intall in intellyJ, thx Oct 20 20:32:29 well if it's just an assignment, just execute some dodgy thread in the background to check the database. I wouldn't worry too much about doing it properly. :-) Oct 20 20:33:12 amorgos hi Oct 20 20:33:16 This hand-in + the previous one is going to be my grade for the class though. Oct 20 20:33:31 jak2000: Follow the link in the topic :-) Oct 20 20:33:45 flexd: Yeah but who is marking it? Oct 20 20:33:53 flexd: http://d.android.com/ ? Oct 20 20:34:02 amorgos: teacher Oct 20 20:34:14 but how seriously competent is the teacher in Android? Oct 20 20:34:22 meh, not that great Oct 20 20:34:24 "Make love to your data" epic Oct 20 20:34:36 This got me an A on the last one, https://github.com/flexd/hangman making a hangman game. Oct 20 20:34:53 If you're going down the timer and making sure it still executes after boot, then you deserve an A++ :-) Oct 20 20:35:18 I am going to have to check if the service is already scheduled when starting the app or not Oct 20 20:35:30 I can't remember the last time I restarted my phone without it actually having crashed first Oct 20 20:36:08 I don't really like the idea of the timer, and that stuff IMO anyway. It feels like a hack TBH. Oct 20 20:37:05 I kind of want to make notification as well, easy extra credit :D Oct 20 20:37:45 Anyone here understand how android view setScaleY is calculated? Oct 20 20:38:39 Maziz, it's a multiplier of a view height Oct 20 20:39:09 Well good luck yoto you flexd. It sounds to me you've hit that top grade already so don't work too hard on extras. Oct 20 20:39:09 the thing is I've calculate with some value manually and compare the value with setScale Oct 20 20:39:15 and it doesn't tally.. Oct 20 20:39:46 I'm wondering if i miss anything Oct 20 20:39:49 amorgos: thanks :-) Oct 20 20:39:51 why would you compare with setScale? it's not set to anything by default Oct 20 20:40:01 I'm not too worried unless I get sicker, but I'll probably manage. Oct 20 20:41:19 Mavrik, example, height 243, setScaleY = 2.031. From manual calculation i should get 494, but the setScaleY returns 442 Oct 20 20:43:28 meaning the height after setScaleY is applied returns 442. Oct 20 20:43:54 hmm Oct 20 20:44:24 is qr code scanning doable trivially via a library? Oct 20 20:44:40 i've been writing my android program, drawing lines/bitmaps straight to the canvas. I would now like to bring up some native android GUI stuff over my canvas so that people can input textual type things. Can someone tell me what the things I need to look up are? Oct 20 20:50:29 lahwran: look for zxing Oct 20 20:50:58 I'm using it personally in OCR-related tasks and other than having to pass a decoding hint called TRY_HARDER, I've got no complaints Oct 20 20:51:29 so I don't really write android stuff Oct 20 20:52:06 I'd actually be willing to pay someone who already knows their stuff to hack this together 'cause I'm in a hurry - I just want a qr reader that doesn't save history and opens anything starting with http:// automatically Oct 20 20:52:23 I'd imagine that if there's a qr library it's just a matter of a bit of glue Oct 20 20:52:36 alankila: thoughts? Oct 20 20:52:57 that sound like something reasonably quick for someone new to android (though not remotely to programming)? Oct 20 20:53:26 lahwran: what are you trying to do? Oct 20 20:53:57 put a qr code on the wall in my bathroom, that is the link to my alarm shutoff url Oct 20 20:54:14 similar functionality to something that I think sleepasandroid has Oct 20 20:54:54 I'm glueing together this alarm system from my raspi and various other scraps Oct 20 20:55:30 I'm not familiar with sleepsandroid…. So you walk into your bathroom and there is a QR code, and then what happens? Oct 20 20:56:35 I scan it; it hits http://192.168.0.75:5641/; that url handler disables my alarm that would at the time be going off Oct 20 20:56:43 the purpose being that I can't disable it from anywhere else Oct 20 20:56:48 not without a bit of effort anyway Oct 20 20:56:56 lahwran: yes, it's probably not complicated. need to read camera image, pass to zxing, if result looks correct, execute intent Oct 20 20:57:21 So the idea is that you can't disable the alarm unless you get your ass out of bed and go to the bathroom and scan it? Oct 20 20:57:29 amorgos: heh yep Oct 20 20:57:39 so I suppose any other scannable thing would do Oct 20 20:58:06 Jesus… Wouldn't it be less hassle just to get a decent analogue alarm clock? :-) Oct 20 20:58:17 that's less fun though! Oct 20 20:58:24 and, easy to disable :D Oct 20 20:58:35 Hi guys! What's the best way to compress/decompress files in android? Oct 20 20:58:46 depends, what compression do you want? Oct 20 20:58:57 zip-like Oct 20 20:59:08 doesn't java have zipfile support built-in? Oct 20 20:59:14 I don't remember it being amazing, but it worked Oct 20 20:59:25 I mean, add a resource that is compressed and after install decompress it Oct 20 20:59:36 ah, that I don't know Oct 20 21:00:34 The zip abilities of android are ok, but not exactly easy to use tbh Oct 20 21:00:58 I've got no complains with ZipFile personally. Oct 20 21:01:20 oh hey zxing has an open-source client of some sort Oct 20 21:01:33 using zxing is almost no code anyway Oct 20 21:01:55 but if you can find android app that uses camera preview and feeds that to zxing, you have got 99 % of your problem solved Oct 20 21:02:24 I mean, they have a demo app Oct 20 21:02:27 that is in the play store Oct 20 21:02:56 Hi! I thinking of an app that will be free, but books inside it will cost. Which payment method is preferred do you think? Use in-app payment or implement VISA/Mastercard etc. (does it cost? is there an API for common credit cards?) Oct 20 21:03:25 mhm.. i have a question. My app has (sometimes) more then 500 "HttpPosts" to do. All Posts are done in an asynctask. Im using an AsynctAskexecutor to execute only 2 at a time but it goes outofmemory / drop asnyctasks very fast when i increase the maximum pool size. Oct 20 21:03:28 so how does one get started with android dev? Oct 20 21:04:09 Now i started storing my "Request" to a SQL Database when its more then nTasks and retreive them when possible. Is there a better way doing it? Oct 20 21:04:43 meck0: Depends which marketplace you're releasing your app to, and what type of product your selling. Oct 20 21:05:15 depends what you want to do, lahwran Oct 20 21:06:05 misterli: write just one design and ensure it's arbitrarily scalable. Oct 20 21:06:21 500 posts doesn't take that much memory Oct 20 21:06:22 so if you have sqlitedb backend for storing what needs to be done, always use it Oct 20 21:06:25 unless each request is 1mb or something Oct 20 21:06:59 amorgos, I think it will be Play Store, an app with audio books Oct 20 21:07:02 and if requests are large and much concurrency is desired -- likely makes no sense, though -- you could prepare the requests to files on disk and stream the data to be sent from there Oct 20 21:07:11 okay, thanks Oct 20 21:07:37 network is likely saturated by just a couple of active workers Oct 20 21:08:23 I'd avoid spilling data to disk if possible. It just makes everything complicated for no good reason. It's best if you can construct the request's outputstream on the fly. Oct 20 21:08:38 meck0: Play store has very strict requirements on payment. You have to use Google Play In App Billing in general, UNLESS you're selling physical goods, or digital goods that change hands. If you're selling the latter then you can consider alternative IAB methods which are far cheaper. Oct 20 21:09:04 leslie: make a qr code reader that doesn't do anything but open a browser Oct 20 21:09:20 Uh, how do I use a loadermanager in a service? Oct 20 21:09:23 Or should I even do so? Oct 20 21:09:33 leslie: in particular, displaying the video is unnecessary, and recording history is specifically bad Oct 20 21:10:53 amorgos, what does IAB methods mean? Oct 20 21:11:10 In-app-billing methods. Oct 20 21:12:19 amorgos, so you'll go with Google Play IAB in my case? Oct 20 21:13:01 flexd, no reason to Oct 20 21:13:49 leslie: so, teach me to android? Oct 20 21:14:02 I feel more comfortable asking you, since I know you :D Oct 20 21:14:11 SimonVT: I just need a contentresolver then? Oct 20 21:14:19 I had forgotten about those :-) Oct 20 21:14:33 Yep Oct 20 21:14:37 well, I can show you stuff I've made, lahwran, but I'm not exactly an expert Oct 20 21:14:56 leslie: I just could use someone showing me like the first 5 minutes worth of it Oct 20 21:15:04 So I'm in a SurfaceView that I have written that I like a lot. When someone clicks a certain point on this SurfaceView, I would like to show an android layout. Oct 20 21:15:09 did you use eclipse or this new android dev thingy? Oct 20 21:15:13 meck0: I'm not entirely sure exactly how you intend to sell these audiobooks. You will have to read Google Play terms and conditions properly. Google IAB is 30% which is a big cut. You might be able to get away with using an alternative method if your audiobooks / digital goods don't hit Google Play violations… if that makes sense. Oct 20 21:15:14 ok, well, pm? Oct 20 21:15:46 is eclipse or studio recommended for new folks right now Oct 20 21:16:08 eclipse is probably more stable Oct 20 21:16:53 amorgos, yes, that's a bit cut indeed.. How about credit cards, does VISA etc. have API's? Are they free to use? Oct 20 21:18:29 meck0: No they don't have APIs directly. Any payment via Google Play has to be via Google In app billing which is 30%, UNLESS you are selling physical goods or goods which change hands. Then you can use solutions such as fortumo.com or paypal.com or otherwise. Oct 20 21:19:20 (or stripe, or app55) Oct 20 21:20:17 Just be very careful what you do and read the terms and conditions properly before starting anything. Oct 20 21:20:52 I realize I must do that, don't want to make something wrong. Oct 20 21:29:49 Would you recommend configuring Android emulator for hardware acceleration? Oct 20 21:32:41 Yes. Oct 20 21:32:55 And I would recommend getting an android phone to try stuff on, because the emulator is _slow_ Oct 20 21:33:07 x86 emulator isn't too bad Oct 20 21:33:36 yeah i need to get a phone Oct 20 21:33:37 is fast but it's unstable Oct 20 21:33:50 get a nexus 4 Oct 20 21:33:50 service isnt required on the phone is it Oct 20 21:33:52 ? Oct 20 21:34:03 no, wifi is fine, nubish Oct 20 21:34:07 coolness Oct 20 21:34:25 Hm damnit Oct 20 21:34:46 I've stored a bunch of dates using timestamp in sqlite, so the row looks like this Oct 20 21:34:48 5|Bob|75638962|1066210899000 Oct 20 21:34:54 my dads offering to get me a tablet as opposed to a handset device, but that wouldnt be wise considering most android users use handset devices Oct 20 21:34:58 name|phone|birthdate Oct 20 21:35:23 I want to be able to check if those dates match today, but SQLite is being stupid about letting me get the data out :/ Oct 20 21:35:24 What's the best android tablets for 7 and 10? The nexus? or is there anything better? what about best cost/value? Oct 20 21:35:32 or not.. hm Oct 20 21:35:52 gavilan2: 7'' nexus. 10'' I don't know Oct 20 21:36:21 Nexus 7 is best in terms of cost/performance Oct 20 21:37:54 was hardware acceleration just supported in API level 15? im looking at the android dev documentation for configuring hardware acceleration and its listing that it requires SDK platform API 15. Oct 20 21:38:01 was this updated at that time? Oct 20 21:38:18 at the time when API 15 was the latest? Oct 20 21:38:33 fuck these Nexus tabs are so expensive Oct 20 21:38:43 nubish, 14 I think Oct 20 21:38:51 leslie: tell me a 7'' wich is better then nexus one Oct 20 21:38:52 or possibly 11 Oct 20 21:38:53 ah that makes sense Oct 20 21:39:00 It was there since HC, enabled by default in API14 Oct 20 21:39:10 gdrc I said Nexus 7 is best Oct 20 21:39:11 ah okay Oct 20 21:39:26 leslie: you didn't Oct 20 21:39:28 SimonVT you're one of the most knowledgeable in here. Oct 20 21:39:50 t.t Oct 20 21:39:52 well, Nexus 7 is best Oct 20 21:40:07 nubish: Just use Genymotion Oct 20 21:40:34 nexus 7 is listed at $230 Oct 20 21:40:36 leslie & gdrc: great! and what about 10? Oct 20 21:40:37 thats a pretty good price Oct 20 21:40:41 i might get the nexus 7 Oct 20 21:40:45 its the one by ASUS right? Oct 20 21:40:49 is ASUS the only manufacturer? Oct 20 21:40:54 both 7s are from ASUS Oct 20 21:40:57 nubish: yes Oct 20 21:40:59 gavilan2: wait for 2013-2014 version Oct 20 21:41:04 gavilan2, I'd suggest you wait for the new 10 Oct 20 21:41:09 should be presented before the 2014 Oct 20 21:41:11 the old one… isn't that good Oct 20 21:41:19 I dunno. I like the look of the Note 10.1, gavilan2, because of the Wacom digitiser Oct 20 21:41:23 Mavrik & gdrc: can't do.... It's a gift, and I need to but it this week Oct 20 21:41:32 Wacom digitiser Oct 20 21:41:32 well, get the 7 2013 then Oct 20 21:41:34 ? Oct 20 21:41:47 the one im looking at is the 7 2013 Oct 20 21:41:48 don't give Samsung devices to relatives, it's like giving them herpes Oct 20 21:41:48 awesome Oct 20 21:41:50 Mavrik: What's the diff between 7 2012 and 2013? Oct 20 21:41:56 pressure sensitive touch, nubish Oct 20 21:41:58 gavilan2, huge. Oct 20 21:41:58 Mavrik: Why? Oct 20 21:42:05 Mavrik: Care to elaborate? Oct 20 21:42:07 gavilan2: galaxy note 10.1 2014 Oct 20 21:42:13 no way...you can draw on it compatible with a wacom pen?! Oct 20 21:42:17 far oooout Oct 20 21:42:28 it comes with one, nubish Oct 20 21:42:32 thats awesome! Oct 20 21:42:35 gavilan2, samsung has been terrible at updating their tablets and their bloatware somehow makes their otherwise good hardware run terribly Oct 20 21:42:50 i have an intuos 5. the pressure sensitive is insane Oct 20 21:42:57 where can download an older versio of the android sdk different to 4.3 (more less) thx Oct 20 21:42:58 Galaxy Note 10.1 is a nice tablet HW wise, but the performance is rather bad :/ Oct 20 21:43:04 i'm publishing to the google app store and want to check everything from start to finish, so i have placed my app in beta. however, google says i can't buy from myself...? Oct 20 21:43:10 even the 2014 one, Mavrik ? Oct 20 21:43:11 Mavrik: I meant what's the difference betweeen nexus 7 2012 and nexus 7 2013? Oct 20 21:43:22 …just use Genymotion for development guys. don't waste your money Oct 20 21:43:25 renovae thats for security reasons Oct 20 21:43:31 leslie, I've only tested the latest one that was just released… the high res one Oct 20 21:43:34 i head about Genymotion Oct 20 21:43:35 amorgos any advice? Oct 20 21:43:39 im looking it up right now Oct 20 21:43:40 ah ok Oct 20 21:44:01 at the rate things are going, i see myself just using genymotion and not owning any android devices Oct 20 21:44:18 so does Genymotion have the most devices? Oct 20 21:44:29 i was about to get a n7, my friend picked one up and recommended it … until last week, now says wait for the n5 since the n7 to him at least is pretty buggy Oct 20 21:44:30 Thanks for this amorgos Oct 20 21:44:36 really helpful Oct 20 21:45:19 You still need real devices for pre-release testing of course. But for development testing Genymotion is all you need. Oct 20 21:45:34 if you don't need camera or working ogl :) Oct 20 21:45:35 right on Oct 20 21:45:45 or gps or any other sensors :) Oct 20 21:46:06 where can download an older versio of the android sdk different to 4.3 (more less) thx Oct 20 21:46:24 I found the x86 emulator with GPU accel to be more reliable for dev than Genymotion tho Oct 20 21:46:29 ogl = open game license? Oct 20 21:46:39 Really Mavrik Oct 20 21:46:39 nubish, OpenGL :) Oct 20 21:46:43 oh open GL Oct 20 21:46:46 Mavrik haxm seems terrible on my machine Oct 20 21:46:57 g00s, yeah, I did have some fun crashes on OS X Oct 20 21:46:57 i want to work with open GL actualy Oct 20 21:46:59 erm. Oct 20 21:47:13 but the thing that annoys me the most is the fact that Genymotion doesn't re-register if adb is restarted Oct 20 21:47:17 im gonna have to stick with eclipse android SDK plugin virtual device Oct 20 21:47:30 so if you use DDMS or something next to IDEA it disappears and you need to restart it Oct 20 21:47:33 how come it doesnt support open GL? Oct 20 21:47:37 Mavrik: I think that has improved since last update Oct 20 21:47:41 is that why its faster? Oct 20 21:47:43 nubish, it supports it, but it's rather buggy Oct 20 21:47:48 oh Oct 20 21:47:51 Mavrik yeah, i see what you mean - i have a lot of those kinds of issues Oct 20 21:47:52 well screw that Oct 20 21:47:56 e.g. I'm seeing corrupted textures etc. Oct 20 21:48:06 ill configure for hardware acceleration using Eclipse ADT plugin Oct 20 21:48:08 nubish, but then again, for ANY ogl work you need a physical device Oct 20 21:48:14 right Oct 20 21:48:36 Genymotion is still rather buggy and hits memory issues certainly. But they have investment rolling in so constantly improving. Oct 20 21:48:46 mhm, I use it interchangeably Oct 20 21:48:57 when I do layouting I use it since app restarts are so fast :) Oct 20 21:49:00 i mean i guess i can try both Oct 20 21:49:12 ill first configure Oct 20 21:49:51 would i have to install the SDK platforms for the versions that i want to try open gl on? Oct 20 21:50:13 uh Oct 20 21:50:25 My policy is, use Genymotion for 95% of development. But what you have to be careful of is that it's SO fast your code might be inefficient in comparison to a real device. So you always have to test on a real device every now and again. Oct 20 21:50:56 amorgos the genymotion website says, under features, bluetooth - but I can find absolutely no BT in the UI Oct 20 21:51:01 any ideas ? Oct 20 21:51:17 I have no experience of bluetooth development sorry Oct 20 21:51:56 i'm using it now for free, i hope when it goes paid i can afford it :( Oct 20 21:52:54 They are certainly geared towards making a profit out of Genymotion, but not entirely sure when or how they'll do it. Oct 20 21:55:09 Installing and working with SDK platform 2.2 or 2.3, the minimum with which i want to support phones that have these platform versions, guarantee my app working with the rest of the SDKs right? Oct 20 21:55:56 well i just found out 2.2 doesnt support google play store, so 2.3 Oct 20 21:56:08 this is really recent too, check this out https://developer.android.com/about/dashboards/index.html Oct 20 21:56:37 nubish: yes. But depending on how long you think it will take to release your app, you should maybe even think of skipping 2.x altogether. Oct 20 21:56:51 i would say minSdk=15 for new apps Oct 20 21:57:08 Yeah amorgos Oct 20 21:57:11 thats what im thinking Oct 20 21:57:17 its a hassle having to optimize for all Oct 20 21:57:26 alright g00s Oct 20 21:58:02 yeah okay ill go API 15 Oct 20 21:58:04 g00s. if your app is relatively complicated.. forget about 2.x, it's too much hassle. 15+ IMO Oct 20 21:58:07 coolness Oct 20 21:58:49 2.3 brought Java 6 classes which i bang my head against with froyo Oct 20 21:58:58 like missing Math.scalb() etc Oct 20 21:59:09 and 2.2 and 2.3 phones generally sucked ass Oct 20 21:59:20 just leave all that buggy shit behind Oct 20 21:59:28 focus on the new buggy shit :) Oct 20 22:00:04 yeah my sis's 2.2 phone was sooo buggy Oct 20 22:00:05 Actually, there were quite a lot of annoying bugs in 15, so maybe if you have a timeframe of 6 months then actually by then 4.1 will be the baseline. Oct 20 22:01:38 i plan on releasing at the end of November Oct 20 22:01:42 or close to the end of november Oct 20 22:01:42 and 15 was a bugfix for 14 Oct 20 22:02:03 i was going to develop a halloween game but i dont think ill have it complete Oct 20 22:02:11 by the 30th that is Oct 20 22:02:21 Lol, whats up with all these halloween games? :-) Oct 20 22:02:31 seasonal items = more purchase? Oct 20 22:02:46 I got an email from Nook the other day about halloween apps. lol Oct 20 22:02:47 people are attracted to seasonal items, halloween being the biggest one. Oct 20 22:02:50 lol Oct 20 22:03:19 I know people are attracted to seasonal stuff, but for some reason halloween gets more attention? Oct 20 22:03:35 lack of jdk7 kinda annoys me too Oct 20 22:03:54 i guess its the whole supernatural, out of this world, premise that halloween is supposedly based on Oct 20 22:04:09 like strings in switch statements Oct 20 22:04:36 you couldnt use strings in switch statements until jdk 7? Oct 20 22:04:41 nope Oct 20 22:04:41 when you publish an app, does it appear immediately via direct link and just takes a while to populate search, or does it take a while for both? Oct 20 22:04:42 leslie: Just use if statements then :-) Oct 20 22:05:01 good question rednovae Oct 20 22:05:09 oh yeah i havent even registered for Android release Oct 20 22:05:14 whats the fee? $20 last time i checked? Oct 20 22:05:35 rednovae: it takes a while… hard to put a figure on both really Oct 20 22:05:45 ok i guess i'll check back in 30 minutes then Oct 20 22:05:56 amorgos yeah but it's still slightly annoying :p Oct 20 22:05:56 rednovae: lol, give it a day Oct 20 22:06:09 holy crap, really? Oct 20 22:06:13 $25 I think nubish Oct 20 22:06:17 i roll out tomorrow morning for the week! Oct 20 22:06:42 roll out where? Oct 20 22:06:50 in a rocketship out of earth? :P Oct 20 22:06:51 rednovae: yeah seriously. I'd say 3 hours max for it to appear via direct link. Search is a totally different story Oct 20 22:06:58 amorgos ok thanks Oct 20 22:07:09 what do you mean by direct link? Oct 20 22:07:18 mhm.. i tried doing this post stuff this way now but it does not work as excepted. Not work means: its not "Waiting/Holding". I cannot add posts from different classes (SingleTonInstance) http://pastebin.com/6vHjLRAm Oct 20 22:07:55 nubish: like being able to view the app directly via URL on Google Play. Oct 20 22:09:11 By the way guys, if anyone is interested (I hope!!) I'm trying to get a community forum off the ground.. www.monetizeandroid.net Oct 20 22:09:38 Helloo, wondering if someone can help me with an issue im having Oct 20 22:09:43 Hi, Is there any way to change bluetooth sleep policy? I need to keep the bluetooth module on in order to avoid from the turning on time which usually takes 6-7 seconds. Thanks :) Oct 20 22:10:18 http://www.reddit.com/r/androiddev/comments/1oueh7/what_on_earth_is_going_on_here/ Oct 20 22:10:32 I'm hoping to get together devs who are more interested in marketplace / making money type issues rather than specific coding technical issues. Oct 20 22:11:41 amorgos you know where can download the android SDK 4.2? Oct 20 22:11:57 awesome amorgos Oct 20 22:12:20 jak2000: just use the SDK tool to download it. Oct 20 22:12:27 nubish: thanks :-) Oct 20 22:12:56 amorgos but download the version 4.3 Oct 20 22:13:14 jak2000: but you can download older versions too Oct 20 22:14:07 nubish: I created it last week. I'm hoping it will take off, but I'm predicting that a new forum will be quite hard to get off the ground :-( Just trying to get the word around. Oct 20 22:14:16 reddit? Oct 20 22:14:21 reddit does a good job Oct 20 22:14:30 http://www.reddit.com/r/androiddev/ Oct 20 22:14:38 ok i enter here: developer.android.com but not see where can download older versions Oct 20 22:14:45 I don't really have a decent reddit presence. I never use it. Oct 20 22:15:43 I have no idea how to get a forum off the ground. It's totally new to me. Oct 20 22:16:06 Thats fine, did you take a look at my reddit post? having a serious issue with pre honey comb Oct 20 22:16:27 Can my lockscreen app access NFC and allow data transfer when phone is locked? I know its impossible on default lockscreen but maybe I can bypass this security check by having my own lockscreen app? Oct 20 22:18:31 adek, when the device is locked, NFC receiver is powered down Oct 20 22:18:41 changing the lock screen will not influence that. Oct 20 22:19:03 are there android phones that still use NFC? Oct 20 22:19:14 yes, nubish Oct 20 22:19:20 i remember the physical contact NFC powered phones Oct 20 22:19:29 lol *screeeeech* Oct 20 22:20:23 "still use nfc" ? Oct 20 22:20:24 wtf Oct 20 22:20:30 just about *all* new android phones ship with nfc now Oct 20 22:20:36 I don't think there are any that don't... Oct 20 22:21:07 argghhh not loooking the 4.2 SDK, i am here: http://developer.android.com/sdk/index.html not see any link for older versions... Oct 20 22:21:48 wow Oct 20 22:21:49 jak2000, get that one, you can then download other versions Oct 20 22:22:00 interesting Oct 20 22:23:16 leslie, but where i am need go for download other versions? Oct 20 22:23:24 why do you need older versions? Oct 20 22:23:28 sdk manager lets you get whatever you want Oct 20 22:23:43 run the sdk manager Oct 20 22:23:49 jak2000 you have to download that SDK manager in order to get the specific SDK platform you want. Oct 20 22:23:57 ok Oct 20 22:24:18 do you guys do development on a custom ROM like CM, or is it better to use stock android? Oct 20 22:24:24 I was thinking of creating a type of file transfer app between devices that uses wifi direct, but this one creates a QR code on one phone and the other scans the code with the camera to download the file for security ... Oct 20 22:24:45 do we have to pay to cross-platform release on iOS? Oct 20 22:24:52 seand: in generally, it doesn't really matter much for app development Oct 20 22:24:53 IntelliJ Idea not support lastest version (4.3) i get these error: "org.jetbrains.android.uipreview.RenderingException: This version of the rendering library is more recent than your version of IntelliJ." then need install other android sdk Oct 20 22:25:25 seand: although in a few cases it might be easier if you have root access. You can more easily access your application's data dir, etc. Oct 20 22:25:44 but in general, using stock android should be fine Oct 20 22:25:49 sdk manager is for eclipse :( Oct 20 22:25:59 jak2000 no Oct 20 22:26:10 JesusFreke: so these custom ROMs wouldn't have some bug not on stock android that would hinder dev? Oct 20 22:26:21 seand: they certainly could Oct 20 22:26:35 Mavrik: Okay, so another question. There are 3 actions on NFC device. Read, write and Beam. Now, does NFC device come with some chip which I can populate with my data and then use read action? Oct 20 22:26:54 shmooz a research team is researching a new login-standard that uses QR codes. Its called SQRL, Secure QR login Oct 20 22:26:56 check it out Oct 20 22:26:56 seand: but the same is true of "stock" OEM-customized roms :) Oct 20 22:27:18 Or the only way to transfer data from one phone to the other is have NFC enabled on both and use beam? Oct 20 22:27:22 yea i don't use those... i use stock android Oct 20 22:27:29 although i have to get push updates from my retailer, verizon Oct 20 22:27:32 which pisses me off Oct 20 22:27:44 nubish: got my PM? Oct 20 22:27:58 oops Oct 20 22:28:00 yeah. Personally, I wouldn't use verizon unless there was no other choice in my area Oct 20 22:28:02 just did now amorogs Oct 20 22:28:03 nubish: I know all about it, I watch Security Now every week with Steve Gibson, I saw him coming up with the idea Oct 20 22:28:17 wicked shmooz Oct 20 22:28:20 you should join the team Oct 20 22:28:37 nah I just want to use it to transfer files between devices Oct 20 22:28:46 JesusFreke: i want to get a phone that's unrestricted stock android, so i get updates straight from google. any recommendations? Oct 20 22:29:01 nubish: related: http://www.digitaltrends.com/computing/google-wants-to-change-security-from-passwords-to-keys/ Oct 20 22:29:10 but maybe instead of QR code, how about one device creates a sound and the other device listens to the sound, that would work too Oct 20 22:29:35 you can build some encryption into the sound Oct 20 22:29:48 seand: well, the nexus line are the canonical devices for that sort of thing.. but not for verizon, mostly. Oct 20 22:30:39 i didn't realize retailers put their own modified image... so is there a certain type i should look for, or just buy the phone from literally any other retailer? Oct 20 22:31:21 i know nexus, gs4 (htc one?) have stock android Oct 20 22:31:51 yeah, you can buy hs4 and htc one through the play store, that has a more stock-ish android Oct 20 22:31:58 gs4* Oct 20 22:32:14 updates with google release, right? Oct 20 22:32:22 yeah, afaik Oct 20 22:35:21 thanks Oct 20 22:36:28 JesusFreke how does that work, are the htc one / sgs4 device drivers in aosp ? Oct 20 22:36:30 how can i register to a broadcast of a service that will get started way after onResume? Oct 20 22:36:41 if not, i don't see how google could ota Oct 20 22:36:50 ota? Oct 20 22:36:57 update Oct 20 22:39:15 g00s: I don't know the details. But at least per the webpage: "The Google Play edition phones automatically receive updates of the latest Android software" Oct 20 22:39:17 (https://play.google.com/store/devices/details?id=htc_one) Oct 20 22:40:32 i'm guessing i have to pay full price for a phone like that and can't get it as part of a contract Oct 20 22:41:17 afaik, yes Oct 20 22:45:15 I like t-mobile approach, with the 2-year payment plan for a device, rather than a subsidy. Oct 20 22:46:04 that's what O2 uses in the uk, JesusFreke Oct 20 22:46:39 yeah. US's cellular market is well known to be... crappy :) Oct 20 22:49:55 you misspelled "profitable" Oct 20 22:50:43 indeed :) Oct 20 23:06:53 why is the galaxy s4 so much more expensive than nexus 4? Oct 20 23:07:45 coz it's samsung ;) Oct 20 23:08:30 they're both sold by samsung Oct 20 23:08:59 hmm wait, maybe i'm not looking at a nexus 4 Oct 20 23:09:20 i guess next 4 is made by LG? Oct 20 23:09:27 because the nexus 4 is subsidized in part by google Oct 20 23:09:37 the nexus phones typically are Oct 20 23:09:42 yeah makes sense, definitely more expensive on amazon Oct 20 23:09:48 sold straight from LG Oct 20 23:09:53 basically, they're sold at-cost Oct 20 23:09:53 as opposed to for-profit Oct 20 23:10:33 wait, really? i wouldn't be surprised if these phones cost more than a couple hundred to make Oct 20 23:10:57 look at ifixit bom and mfr costs Oct 20 23:13:21 don't see costs anywhere Oct 20 23:16:12 where is my Nexus 5 !?!? Oct 20 23:16:42 soon soon Oct 20 23:17:51 pffffffft Oct 20 23:18:08 on the specs for the nexus 4 on google play it says the OS is 4.2... has that just not been updated or does it really not have 4.3 yet? Oct 20 23:18:49 not updated Oct 20 23:18:57 cool Oct 20 23:19:00 it's what it originally shipped with Oct 20 23:19:14 wireless charging, heh... crazy Oct 20 23:19:29 there's a few phones that do that, i dunno how many people actually use that feature Oct 20 23:19:57 it's not commonly used Oct 20 23:20:11 why not? are chargers too expensive or it doesn't charge fast? Oct 20 23:20:35 chargers aren't quite universal yet Oct 20 23:20:39 chargers are cheap on amazon and ebay, I guess I should try out one of them Oct 20 23:20:50 and no sense in using wireless charging when usb lets you do file transfer and adb Oct 20 23:21:25 yeah but the majority of users don't use adb Oct 20 23:22:14 most are like $30 $40 and then there's a official Nexus charger from google for $60 Oct 20 23:22:27 lol Oct 20 23:22:35 I have the nexus 4 - and I've never yet had a reason to wish I had wireless charging rather than just plug it in once at night. Oct 20 23:23:06 It's also supposed to be a bit fiddly if it has a case on it; and I have a rather heavy duty one covering it Oct 20 23:23:30 it should work through most cases Oct 20 23:23:52 maybe it's one of those things that you don't realize you need it until you use it; but I've not found a reason to bother with it so far. Oct 20 23:24:19 i probably wouldn't buy a wireless charger either, it's just cool that the technology exists Oct 20 23:24:23 well if you use it a lot, it could help Oct 20 23:24:27 I seem to remember Google putting out a few wireless chargers in a few cafe's around san francisco. It was mildly entertaining, but not enough to sway me at least. Oct 20 23:25:05 when I have my nexus 7 on, it doesn't charge ! Oct 20 23:25:14 even when USB is plugged in Oct 20 23:25:28 and it boldy says that in it's guidebook Oct 20 23:25:58 but if I kill enough processes and not run anything, it does start to charge even with screen on Oct 20 23:26:34 so if I added a wireless charger pad to the back as well as have USB plugged in, it might last longer when I leave it on as TV Oct 20 23:28:10 sorry, a bit slow today - the nexus 7 doesn't charge if you put it on the pad? Is that what you mean? :-) Oct 20 23:28:29 how do you collect payment from google play when you publish an app for money? Oct 20 23:28:31 it won't charge if you have it on and plugged in to USB Oct 20 23:28:48 and are playing with it, it drains faster than it can charge Oct 20 23:28:53 shmooz: oh, I see what you mean - thanks for the clarification. Oct 20 23:29:25 having it plugged it makes it drain slower Oct 20 23:30:50 I don't have a nexus 7; but giving it some thought as a replacement for my [now ancient] color nook. Pretty happy with the n-4, had it for a year now; though wondering if I should just get the n-5 whenever it comes out and forget about a new tablet. Oct 20 23:32:10 kbs nexus 7 2013 specs are almost identical to n4 Oct 20 23:32:37 except for the 1920x1200 screen and a slightly newer adreno 320 Oct 20 23:33:02 wasn't the cpu in SoC also newer? Oct 20 23:33:24 I think they lied about that Oct 20 23:33:59 if you watch breakfast with sundar pichai video, you'll see he promises a 8 core CPU on the chart while holding the nexus 7 fhd in his hand Oct 20 23:34:19 shmooz: hm, interesting - thanks. Think maybe I'll just keep my eyes peeled for the n5 instead, and hope it has a better camera than the n4. Oct 20 23:38:23 Is there anyone at the keys here its awfully quiet Oct 20 23:54:57 Shaba1: hi Oct 21 00:08:41 apparently google play gets really picky about how you use their multiplayer sdk and bans you for hours if you step out of line Oct 21 00:08:57 so ive been waiting for reset and defensively adding leaveRooms everywhere Oct 21 00:09:40 hope its enough to appease these angry gods Oct 21 00:10:08 If not, you could always deliberate about how gorgeous 1998 Nina Persson was. Oct 21 00:20:57 meh here top youtubes are all covers Oct 21 00:21:01 Love Bonfire Toffee Oct 21 00:21:03 thought was gonna be in diff language or something Oct 21 00:21:24 Nah, she is the lead singer of The Cardigans - she was gorgeous back in the 90s Oct 21 00:21:59 http://www.leninimports.com/nina_persson_gallery_5.jpg < her Oct 21 00:22:11 Its really quiet in here tonight, so hope you don't mind the slight off-topicness lol Oct 21 00:22:35 ah nice caridgans Oct 21 00:23:33 TIL Chewits and Starburst are what Americans call "taffy" Oct 21 00:23:40 Always did wonder wtf a taffy was. Oct 21 00:23:51 hey guys... how do i remove the default click effect on buttons (the whole button seems selected with a light blue color) Oct 21 00:23:53 Anthaas: ITYM Opal Fruits Oct 21 00:24:31 Leeds: Yes! I remember when they were Opal Fruits! I was well gutted when they changed name as a kid and refused to buy them because of it hahaha. Oct 21 00:24:38 What is ITYM? Oct 21 00:24:52 I Think You Mean Oct 21 00:24:55 Ahhh Oct 21 00:25:07 I always preferred chewits though - more chewy than opal fruits Oct 21 00:27:10 luist: Errr - does your button have a custom background? Oct 21 00:27:26 Im assuming by you saying blue you are using holo or at least aiming at 4.x? Oct 21 00:28:43 luist: The default button style has a selector file as the button's background, basically you just need to change the background of the button. Oct 21 00:28:59 If you want the button to look the same, you could get the image from Android source files, or just implement your own background. Oct 21 00:33:19 hey y'all Oct 21 00:33:29 Hi Oct 21 00:33:33 is there a location library for android (that's not LocationManager) Oct 21 00:34:21 For GPS purposes etc? Oct 21 00:34:48 yeah Oct 21 00:34:53 or A-GPS Oct 21 00:34:58 or whatever sort of localization I can get Oct 21 00:35:08 No idea, but if you give the docs a read, its not that difficult to understand and/or use. Oct 21 00:39:14 Doesn't google have a play-services based library (which would tie you into google pretty much, of course) https://developer.android.com/google/play-services/location.html Oct 21 00:58:46 you can release a version to a subset of users on google play. what is that called? Oct 21 00:58:54 or at least i have read that you can Oct 21 00:59:54 nevermind Oct 21 01:01:21 rednovae: https://testflightapp.com/android/ Oct 21 01:01:48 bankai_ nice, thanks Oct 21 01:09:58 If I am running a webserver backend what kind of way to people usually auth with it? Oct 21 01:10:01 oauth2? Oct 21 01:10:11 from mobile app -> webserver Oct 21 01:11:31 username/password, google, Oauth Oct 21 01:11:46 DarkSlay3r: yeah thats what I was going to use, just curious Oct 21 01:16:06 rednovae: there's alpha and beta channels in the Play Store Oct 21 01:16:18 you can also roll out to a percentage of production Oct 21 01:27:01 what would be sweet is if play store tracked what devices had what capabilities in preset lists like "Stuff with decent GPUs" or "Nexus7 or better" Oct 21 01:27:47 JimmyCarter: http://taxfoundation.org/blog/despite-what-jimmy-carter-thinks-americans-live-better-today-1970s Oct 21 01:28:34 Is there a good way to do this: Activity A opens activity B, which selects some images. Then I want to make it look like B opens up an image editing activity C, but really it opens it from A; but then when C finishes, I want B to close as well... Oct 21 01:29:16 I'm guessing it'd be best just to open C from B, and then when C finishes, it passes the information to B, which then finishes and passes the information back to A Oct 21 01:30:05 Unless there's a good way to set a 'delegate' ala iOS dev? like a listener to an activity (which are opened by intents, so i dont know how to do that...) Oct 21 01:31:39 (i dont want to open up C from B, because then the two activities are tied together, where they could be separate entities) Oct 21 01:40:35 http://www.lolking.net/summoner/na/33699882#history Oct 21 01:40:37 I need out of bronze, damnit Oct 21 01:40:38 oops Oct 21 01:41:07 like, i know i can do activityForResult, but i would like multiple callbacks, and not have the activity have to finish until i want it to Oct 21 01:42:27 is there any way to add permissions for a specific version of android Oct 21 01:43:54 I'd guess permission is all or nothing thing? that is all devices or none Oct 21 01:44:24 yeah that's what i though Oct 21 01:44:26 thought* Oct 21 01:44:42 well there may be way Oct 21 01:44:51 what are you trying to accomplish? Oct 21 01:44:55 you either need a permission or you don't Oct 21 01:45:04 use market and 3 versuons of app, "before", that version and "after" Oct 21 01:45:10 but its really ugly way to do it man Oct 21 01:47:03 pfn: i was going to utilize the notification listener service and i was thinking i would be able to remove permissions that i use in < 4.3 to listen for notifications Oct 21 01:47:19 but i think the only thing i'm using is the accessibility service and the user has to turn that on after install Oct 21 01:49:35 or would it make sense to make it so when they cancel C, it reopens B? hmm.. Oct 21 01:50:27 so im going to buy the nexus 7 and im wondering if im able to simulate a normal-screen size configuration through it Oct 21 01:50:42 i know the nexus 10 can simulate all android screen-configurations available Oct 21 01:50:52 the nexus 7 is 1920x1080 Oct 21 01:50:53 otiose: UX problem? Oct 21 01:51:54 seand: you could call it that... i just want to go A -> B -> C, but have B and C decoupled (ie, not open C from B, but rather from A), but still go back to B when canceling C Oct 21 01:52:10 people with nexus7 should join beta for my game Oct 21 01:52:22 i need to buy a different sweet android tablet tho. any recs? Oct 21 01:52:25 what's the context for that otiose? Oct 21 01:52:35 i mean, what exactly are A, B, and C Oct 21 01:52:56 It doesnt matter what A is, but B is an image selection screen, and C is an edit/confirm screen Oct 21 01:53:25 B should be able to be called without going to C when its complete, so I want to send the images back to A, and then open up C Oct 21 01:53:30 im not very pro w intents and sub-activities Oct 21 01:53:34 JimmyCarter: Nexus 7 2013 FHD! Oct 21 01:53:49 i should probaly test on something other than a nexus7 tho Oct 21 01:53:53 since i already have one nexus7 Oct 21 01:53:54 im not very pro with android :/ Oct 21 01:54:29 my game is unplayable on galaxy nexus Oct 21 01:54:31 gets like 3 fps Oct 21 01:54:46 nexus7 its like 30 Oct 21 01:54:49 JimmyCarter: you using OpenGL ES ? Oct 21 01:54:53 yeah Oct 21 01:55:05 es 2 i think in both cases or maybe es 1 on phones Oct 21 01:55:18 uhh i have no idea... it sounds like you're trying to reuse too much Oct 21 01:55:19 you must have some heavy scenes Oct 21 01:55:40 nah not really its p barebones Oct 21 01:56:03 why is 3 fps on galaxy nexus suprising Oct 21 01:56:11 or that would also be 30 on nexus7 Oct 21 01:56:13 trying to reuse too much? I feel like its pretty standard... Oct 21 01:57:37 I run GTA 3 on a single core 1Ghz with 768 ram htc panache 2.3 gingerbread at about 12 fps Oct 21 01:58:42 JimmyCarter, Nexus 10 man Oct 21 01:58:48 Nexus 10 is thee tablet to date. Oct 21 01:59:12 whats like some other companies answer to nexus7 and nexus10? Oct 21 01:59:48 amazon did Kindle Fire HDX with same resolution screen and faster cpu Oct 21 02:00:02 Google Nexus 4 ? Oct 21 02:00:03 its a handset Oct 21 02:00:27 The nexus 10 allows you to simulate all android screen configs to date Oct 21 02:00:35 its great for devs Oct 21 02:00:55 you asking what Nexus 4 is ??? Oct 21 02:00:57 screen configs probably least of portability concerns Oct 21 02:01:11 JimmyCarter, are you able to simulate normal 4.3" sizes on the nexus 7? Oct 21 02:01:19 shmooz no Oct 21 02:01:33 oh Oct 21 02:01:42 i havent tried that nubish Oct 21 02:02:06 new nexus 10 might come out with the new nexus 5 Oct 21 02:02:18 I'd wait till end of this month Oct 21 02:02:19 nexus 10 came out last year Oct 21 02:02:31 i need something affordable so nexus 7 Oct 21 02:02:36 heard its a great dev tool Oct 21 02:02:52 yeah its nice Oct 21 02:03:02 my game wont be that graphics intensive, only 2D graphics Oct 21 02:03:18 optimization is a prick Oct 21 02:03:23 the buttons on the side are on a weird angle, you finger slips Oct 21 02:03:45 dont care much for button placement Oct 21 02:04:05 what graphics libraries are the best to use? Oct 21 02:04:19 openGL ES Oct 21 02:04:28 aside from that Oct 21 02:04:41 google it Oct 21 02:04:47 anyone w nexus7 msg g+ email and once invited to group will see my game in play store Oct 21 02:05:10 wait can i import other open source libraries onto Open GL ES? Oct 21 02:05:16 nevermind Oct 21 02:05:52 JimmyCarter so its only tablet exclusive? Oct 21 02:06:32 unless can find other stuff it runs decently on Oct 21 02:06:57 i really have no idea. i tested it on 2 devices and it has wildly different performances. who knows what will do on others? Oct 21 02:07:32 actually a good business idea would be to buy everything single android device Oct 21 02:07:43 and sell testing service where it runs them on all of them and recods a metric like fps Oct 21 02:07:51 is there anything like that? Oct 21 02:08:57 TestMyAppOnAllAndroidHardwareOnMarket.com Oct 21 02:09:09 WhatsMyFPSpOnAllAndroidHardwareOnMarket.com Oct 21 02:09:13 you better buy it fast now that you said it Oct 21 02:09:23 i upload apk, it gives me list of fps for all hardware Oct 21 02:09:31 i use this list to select what devices i support in play store Oct 21 02:09:59 JimmyCarter, as i mentioned before, the Nexus 10 has a 2560 x 1600 resolution and you can simulate all android screen configurations on it Oct 21 02:10:02 JimmyCarter: that would be a useful service Oct 21 02:10:21 how many relevant android devices are there Oct 21 02:10:31 ah i recall the size of the list on play store Oct 21 02:10:32 huge Oct 21 02:10:33 thousands Oct 21 02:10:36 more than you can buy ;) Oct 21 02:10:54 create a project where people can remotely dedicate a device to the project Oct 21 02:11:03 check the screen sizes and densities section https://developer.android.com/about/dashboards/index.html Oct 21 02:11:22 for gathering all devices that existed Oct 21 02:11:47 well need to determine most relevant ones Oct 21 02:12:12 Also, the sony mobile developers program lets devs borrow android tablets/handsets for 30 days to test their app on Oct 21 02:12:21 you can obtain a device through that as well Oct 21 02:12:28 noone here can even name a nexus7 replacement other than a nexus10 Oct 21 02:12:37 several people use Sony tablets and xperia handset devices Oct 21 02:12:39 so doesnt seem we possess great hw awwreness atm Oct 21 02:12:55 JimmyCarter: I told you Kindle Fire HDX Oct 21 02:13:04 shmooz is that android? Oct 21 02:13:08 yes Oct 21 02:13:08 ah right you did ok 1 Oct 21 02:13:12 Does kindle fire have Google Play? Oct 21 02:13:21 nope Oct 21 02:13:31 its got its on store Oct 21 02:13:33 boo Oct 21 02:13:34 own Oct 21 02:13:38 may have asked this before, but in eclipse you have the Outline; is there a way to put 'bookmarks' in it that will show up and divide your code into secitons? Oct 21 02:13:45 as a dev, better off with google play supported devices Oct 21 02:13:56 like "#pragma mark X" in xcode? Oct 21 02:14:06 you can probably wipe it out and put stock, or CM on it Oct 21 02:14:35 well i hope i can still use google play services multiplayer Oct 21 02:14:39 dont see why not Oct 21 02:14:41 yes but how many consumers will do that? Oct 21 02:14:48 not many, especially for amazon kindle Oct 21 02:14:50 kindle fire is actually a good suggestion, niche market Oct 21 02:14:55 family market. Oct 21 02:15:01 its got better hardware specs Oct 21 02:15:02 very* good suggestion Oct 21 02:15:31 hey shmooz do you have to pay to cross-release on iOS as well? Oct 21 02:15:39 will suck if google play services refuses to function cuz it has self detrtruct enabled for kindle Oct 21 02:15:49 nubish: probably Oct 21 02:16:11 jimmycarter shmooz already said it doesnt support google play Oct 21 02:16:22 or worst yet kindle hass sabotaged themselves by disallowing same Oct 21 02:16:33 amazon has its own store and i dont even know if you have to pay to upload your game on amazon services Oct 21 02:16:35 you might be able to sideload the play store Oct 21 02:17:08 JimmyCarter, if you make a kid friendly game, kids will definitely buy it because lots use kindle Oct 21 02:17:10 not talking about store but multiplayer services like game matching Oct 21 02:17:21 and inviting g+ friends to games Oct 21 02:17:38 oh, you're referring to kindle owners playing against g+ woners Oct 21 02:17:41 yeah my game totally kid friendly Oct 21 02:17:42 good question Oct 21 02:17:43 not sure. Oct 21 02:17:58 JimmyCarter did you use open gl 2.0 or 1.0? Oct 21 02:18:08 2 but falls back to 1 Oct 21 02:18:28 but that fallback turns out to be unnecessary Oct 21 02:18:57 you used 2.0 without needing the functions provided by 2.0? Oct 21 02:19:18 no Oct 21 02:20:36 apart from 2 requiring shaders you can hide difference between 1 and 2 behind interface Oct 21 02:21:13 which is what i did. but i just ended up using 2 almost everywhere. actually i think 1 may be used more for desktops now or something Oct 21 02:21:38 what do you mean hide between 1 and 2? Oct 21 02:21:54 behind interface? Oct 21 02:23:06 funciton like LoadVertexPOinter(x) that does one thing opengles1 and another thing for opengles2 Oct 21 02:23:36 oh **** ENDING LOGGING AT Mon Oct 21 02:59:58 2013