**** BEGIN LOGGING AT Thu Aug 28 02:59:58 2014 Aug 28 03:00:55 yeah. ble isn't terribly stable yet on android. I haven't messed with 4.4 a ton with it yet Aug 28 03:16:41 Folks, whats the convention on having both a pull to refresh and an action bar refresh menu item Aug 28 03:16:49 both? or just one Aug 28 03:17:13 i like pull coz it's less physical movement for the user Aug 28 03:17:48 gmail uses pull and an overflow actionbar item -- i'd follow whatever they do Aug 28 03:18:12 interesting Aug 28 03:23:59 i like pull to delete Aug 28 03:24:24 pull to delete? who does that? Aug 28 03:24:49 hehe Aug 28 03:26:40 why the hell does this keep happening Aug 28 03:26:47 my fragments are overlaying each other Aug 28 03:27:02 this preferencefragment displays but i see fragments from the back stack Aug 28 03:27:29 do you keep adding them on top of each other instead of getting an existing or replacing an existing ? Aug 28 03:27:49 yes Aug 28 03:28:54 damnit Aug 28 03:28:56 is that wrong Aug 28 03:29:31 what's a good way to have two listviews that scroll continuously? Aug 28 03:30:46 hmmm Aug 28 03:31:03 actually, my problem is that i have other views i want to scroll with them Aug 28 03:31:13 all one big list, but there are 4 possible types of layouts Aug 28 03:31:19 2 of which are static Aug 28 03:31:21 sense that did not make, coffee maybe needed Aug 28 03:31:27 i agree Aug 28 03:31:29 i need coffee Aug 28 03:32:02 fk it i'm going home :P Aug 28 03:32:04 in your head clear maybe, others not so Aug 28 03:32:08 :) Aug 28 03:37:53 I have a problem, every time the layout changes, the GraphView freezes Aug 28 03:37:59 hangs for a moment Aug 28 03:40:09 how was setLineSpacing added in api 1 Aug 28 03:40:16 but getlinespacing was added in api 16 Aug 28 03:40:44 pastebin.com/ZyUpSwgm Aug 28 03:44:42 anyone see alex_pp recently ? Aug 28 03:44:55 When I have lots of elements, it runs very slowly whenever the view is recalculated or something Aug 28 03:45:36 probably because you have a lot of elements Aug 28 03:45:39 what are you running this one Aug 28 03:45:42 on* Aug 28 03:45:45 25001 elements Aug 28 03:45:53 not elements, 25001 points, xy Aug 28 03:46:04 what device are you running this on Aug 28 03:46:36 gtab gt-n5110 Aug 28 03:46:47 it should never take 1.5 seconds every time the view changes Aug 28 03:46:54 freeze the UI for that long Aug 28 03:47:16 By any chance, is AndroidPlot any better suited for large arrays? Aug 28 03:48:21 nobody knows about android plot Aug 28 03:48:36 is graphview more popular or just more supported? Aug 28 03:49:00 because on google trends, androidplot was somewhat more popular (20-75%) Aug 28 03:49:06 is that plot data realtime ? Aug 28 03:49:41 no, just one-time get, simplexyseries, fed into a xyplot Aug 28 03:49:59 cause I cant understand how you would use 25001 pairs Aug 28 03:50:24 sure thats the source data, but how the heck do you/would you display that on a phone ? Aug 28 03:50:40 really carefully Aug 28 03:50:40 can you pinch zoom for granularity ? Aug 28 03:50:48 chat history gone Aug 28 03:50:53 sorry if missing something Aug 28 03:51:06 I have it starting with grahview freezes Aug 28 03:51:11 Maybe I should decrease the granularity, it would work better Aug 28 03:51:33 well I can only comment from an animation stand point Aug 28 03:52:10 as in mo-cap data for something like wii, you need to be very efficient but still optimise data to the point where the motion is accurate still Aug 28 03:52:37 and you may have upwards of 32,000 keyframes you need to take down to a few thousand Aug 28 03:53:00 thats fun Aug 28 03:53:50 normally done with a few nice routines that calculate tangent differences Aug 28 03:56:17 not fun at all Aug 28 03:58:08 jimbo1qaz but I mean 25001 points in a plot is about 22500 more that you can see on even a nexus 10 Aug 28 03:58:24 Should I just limit it to 100 pts? Aug 28 03:58:27 meant 1000 Aug 28 03:58:31 well no Aug 28 03:58:58 jimbo1qaz what are you graphing ? Aug 28 03:59:02 plot ~1000 points, but still keep full precision for analysis Aug 28 03:59:10 fiber spectrum Aug 28 03:59:22 jimbo1qaz what and how you show has to be based on the data Aug 28 03:59:29 personally I would optimise it lots based on tangent Aug 28 03:59:45 jimbo1qaz so you are plotting some kind of data related to fiber optics ? Aug 28 04:00:15 is this time series or frequency domain ? Aug 28 04:01:39 like power vs frequency ? Aug 28 04:04:10 getTextSize() returns pixels but setTextSize(float size) assumes scaled pixels Aug 28 04:04:12 how stupid is that Aug 28 04:04:43 scaled pixels ? Aug 28 04:04:56 how would one scale a pixel :) Aug 28 04:05:15 r u srs Aug 28 04:05:30 it's actually a legal question Aug 28 04:05:55 as in the android dimension unit Aug 28 04:05:56 'sp' Aug 28 04:06:22 I know, but think about it Aug 28 04:07:01 but setText size accepts the input unit you give it Aug 28 04:07:08 oops setTextSize Aug 28 04:07:15 balls I really do need coffee Aug 28 04:07:21 gotcha Aug 28 04:29:27 well that was infuriating "Unable to inflate SeekBarPreferencee" Aug 28 04:29:32 did not notice the extra for 10 minutes Aug 28 04:44:47 Hi. I have a some search keyword problem with my app. Aug 28 04:45:52 My keyword of the app is very unique. So, I can get only one result if I use my keyword in en language setting. Aug 28 04:46:28 I get a lot results if I change the language setting to Korean. Aug 28 04:46:41 my Keyword is written by korean. Aug 28 04:46:49 How do I fix this problem. Aug 28 04:47:06 Does anyone knows this issues? Aug 28 04:47:55 what is the keyword? i'm not sure you're using the term correctly - or if you are, i don't understand what it's in relation to Aug 28 04:48:20 I mean, the keyword is the app name. Aug 28 04:48:26 what is it Aug 28 04:48:26 and what search are you talking about? something your app is searching? or maybe results on google play? Aug 28 04:49:04 g00s: apparently its 60 characters per line Aug 28 04:49:19 http://baymard.com/blog/line-length-readability Aug 28 04:49:21 ok.. so is the search you're talking about, google play results? as in, "i type in my app name in English, i get 1 result in google play, i type it in korean, i get lots of results"? Aug 28 04:49:35 desmin88 yeah, something like that :) Aug 28 04:49:35 sarbs, google play results Aug 28 04:49:56 I setted my app Name "버스사랑방 광주버스" Aug 28 04:50:03 in google play Aug 28 04:50:28 chauchau gotcha. what you're describing then doesn't actually sound like a problem with the app itself, it sounds like a problem with the app listing on Google Play ;) Aug 28 04:50:36 that was kinda dumb Aug 28 04:50:38 to do that Aug 28 04:50:51 that said, it seems to me that having only one result (presumably, your app) would be a good thing. is it not? Aug 28 04:51:38 sarbs, yes. But I want the only one result in korean language not english. Aug 28 04:51:50 desmin88 for a korean bus app, it seems smart ;) Aug 28 04:52:22 chauchau ahh. welcome to something called Search Engine Optimization :) https://en.wikipedia.org/wiki/Search_engine_optimization Aug 28 04:53:09 i have no idea how to fix your korean listing. it'll obviously have more competition from korean apps than from english ones Aug 28 04:55:46 sarbs, I was wondering how to make the result in google play. I expect that if I search with "버스사랑방", I will get the only one results alike en languages setting because "버스사랑방" is very very unique keyword. Aug 28 04:56:52 thats up to google play Aug 28 04:57:04 I guess google make a divide to my keyword to "버스"and "사랑방" Aug 28 05:05:21 yay, users can now adjust line spacing and font size Aug 28 05:11:36 \o/ Aug 28 05:30:25 hello all Aug 28 05:30:33 what is the way to go for banner ads these days? Aug 28 05:33:08 imo, the way that doesnt involve banner ads Aug 28 05:33:15 but what do you mean? Aug 28 05:33:41 graphics style, coding implementation? Aug 28 05:33:53 I guess, what is the best way to go if I wanted to add ads into my app? Aug 28 05:34:25 you mean coding wise? or where to put them Aug 28 05:34:50 njcomsec: you dont like banner ads? Aug 28 05:34:51 what network to use (publisher) and placement Aug 28 05:35:07 I always thought banner ads were the way to go and to use admob Aug 28 05:35:24 i used mopub. Aug 28 05:35:25 desmin88: who likes ? ;) Aug 28 05:35:38 banner ads > interstitials Aug 28 05:35:42 interstitial ads can suck it Aug 28 05:35:44 na i dont like banner ads Aug 28 05:35:51 why Aug 28 05:36:02 because they are annoying Aug 28 05:36:10 and the mobile screen is small enough already Aug 28 05:36:14 you prefer full sreen ones? Aug 28 05:36:23 i mean i dont like any ads on mobile apps Aug 28 05:36:45 at least full screen ones go away though... banner ones are always there getting in the way Aug 28 05:36:56 so then you prefer paid apps without ads Aug 28 05:37:07 yes Aug 28 05:37:26 you're a rare one Aug 28 05:37:31 or free ones without ads Aug 28 05:37:33 problem is, you're the only one buying the app Aug 28 05:37:43 most android users are least likely to purchase apps compared to other platforms Aug 28 05:38:18 true, but considering how large the android market is, it is still a ton of people Aug 28 05:39:36 desmin88: why did you chooose mopub over say admob? Aug 28 05:40:06 mopub is sort of an aggregate ad provider Aug 28 05:40:20 njcomsec: not large enough to make up for the difference Aug 28 05:41:34 i havnt seen th stats Aug 28 05:41:44 http://phandroid.s3.amazonaws.com/wp-content/uploads/2013/07/chart_21-resized-600.png Aug 28 05:41:54 year old but relevant Aug 28 05:43:06 So you need the android market size to be 8.3x larger Aug 28 05:43:29 basically the ios app store is way better for money making Aug 28 05:43:31 play store sux Aug 28 05:43:32 what does average app price mean there? Aug 28 05:43:32 desmin88 comparisons like that are a little flawed Aug 28 05:43:39 there is a minimum app price for android Aug 28 05:43:42 like £1? Aug 28 05:43:49 how can it be 0.06 Aug 28 05:43:58 does that mean ad revenue generated per user? Aug 28 05:45:26 its semi misleading Aug 28 05:45:30 .06 includes the free apps Aug 28 05:46:06 dont ipad and iphone use the same apps? Aug 28 05:46:07 how do they work it ? Aug 28 05:46:15 no they dont Aug 28 05:46:21 and how do they know how much an app makes? Aug 28 05:46:26 isnt that private data for the developer Aug 28 05:46:28 its the cost of the app Aug 28 05:46:29 revenueTotal/downloadsTotal ? Aug 28 05:46:47 it literally says in the graphics title Aug 28 05:46:50 average app prices Aug 28 05:46:55 Average = sum / total Aug 28 05:47:01 oh, then totally pointless :) Aug 28 05:47:06 not at all Aug 28 05:47:38 god yes, the amount of total utter crap + tests + pet projects on play are 10000x what is on app store Aug 28 05:47:53 "weighted by average monthly users" Aug 28 05:48:01 its on the graphic Aug 28 05:49:50 its probably apple propaganda Aug 28 05:50:02 so do ads generate revenue solely from clicks or just impressions (user viewing them)? Aug 28 05:50:23 depends on the publisher but i would guess clicks for apps? Aug 28 05:50:37 apps aka apps & games? Aug 28 05:50:50 yes its most definitely propaganda Aug 28 05:50:59 the thing i dont like about ads is it enourages developers to make shitty designed apps Aug 28 05:51:07 like to put the ads in hot zones where they will get clicked Aug 28 05:51:15 which just makes for a shitty user experience Aug 28 05:51:18 desmin88: what do you mean propaganda? Aug 28 05:51:32 QubeZ: replying sarcastically to njcomsec Aug 28 05:52:41 i do think it's much much harder to make anything on android Aug 28 05:52:49 compared to ios from what I have seen Aug 28 05:52:54 indeed it is Aug 28 05:53:01 and less return on investment = win ! Aug 28 05:53:03 i think mainly because android has many more apps Aug 28 05:53:16 because no verification needed by google Aug 28 05:53:23 and with everyone attempting to copy googles guidelines to a tea … even harder for those Aug 28 05:53:31 :) Aug 28 05:54:17 njcomsec no, its because a huge percentage of the apps on Play are actually duplicates Aug 28 05:54:28 most of Play is just pure shit Aug 28 05:55:04 i dont think duplicates Aug 28 05:55:07 just lot of rubbish apps Aug 28 05:55:10 i have the data Aug 28 05:55:21 hes got the data. Aug 28 05:55:27 give me the data Aug 28 05:55:30 duplicates in the sense that they do the same-ish thing, yes... duplicates in the sense of *copies*, no Aug 28 05:55:40 ah ok then Aug 28 05:55:41 yes Aug 28 05:56:05 Leeds same thing, different package name Aug 28 05:56:12 so copies, yes Aug 28 05:56:24 then I'd like to see that data... Aug 28 05:56:30 trying to find it Aug 28 05:56:39 seriously, you guys haven't read this ? Aug 28 05:56:42 it's not like the blackberry store, where most of the apps are copies *from a single vendor* Aug 28 05:56:42 lol Aug 28 05:56:59 well its almost that bad, let me dig it up Aug 28 05:57:09 hahhaha yeh i remember that one blackberry guy who released like 10 apps a day or something Aug 28 05:57:14 I know people who work for that company - they're based in HK :) Aug 28 05:57:31 lol Aug 28 05:57:45 i was born in hk Aug 28 05:57:46 it's things like a travel guide for every city on wikipedia/wikitravel Aug 28 05:58:33 i might make a language app Aug 28 05:58:50 when i finish my game Aug 28 05:59:31 BB have pretty much given up on the consumer app business anyway, effectively outsourced it to Amazon Aug 28 06:00:58 to be fair, when it comes to shitty apps... https://play.google.com/store/apps/details?id=com.kefsco.pooplog2 Aug 28 06:01:16 Hello there. I want to develop a new app which will be installed on 2 devices. 1st device will communicate with a microcontroller via USB, and the other one will act as the remote to send commands and display the state of the 1st one(maybe show it's camera also). Aug 28 06:01:20 I was wondering what is the best suited communication protocol, since I want the communication to be made as quick as possible? Google Cloud Messaging? Web Sockets? Aug 28 06:01:31 shit, i have to narrow this down. my google-fu is actually pulling up duplicate finders on play Aug 28 06:02:09 i think google play should have some distinctions too, like "this is a web app" Aug 28 06:03:24 it was actually enough problem Google filed a patent on detecting duplicate apps; but this was for malicious copies Aug 28 06:03:51 what i read a huge percentage was just intentionally spamming Aug 28 06:03:55 at least it's not http://www.engadget.com/2014/08/28/microsoft-explains-windows-store-crackdown/ Aug 28 06:03:58 still trying to find Aug 28 06:04:34 those guys are mired in the abyss Aug 28 06:05:48 ugh, stupid adb not detecting my devices Aug 28 06:06:15 http://communities-dominate.blogs.com/brands/2014/08/the-comprehensive-app-economics-blog-2014-yes-peak-app-is-apt-name-sheer-disaster-industry-with-only.html Aug 28 06:16:01 genymotion licenses are bullshit Aug 28 06:16:25 never heard of it Aug 28 06:20:35 Leeds when i read that . about tablets - i still wonder if its worth it at all Aug 28 06:20:45 Leeds: that was an interesting article Aug 28 06:20:52 i'm in the process now of doing some tablet layouts, but ... Aug 28 06:21:04 g00s: I don't see how android tablets are popular Aug 28 06:21:15 but yet again, I live in israel Aug 28 06:21:18 i never see anyone with an android tablet Aug 28 06:21:22 yep Aug 28 06:21:28 i seriously have not seen a single fucking one Aug 28 06:21:40 I hardly see anyone with iPad either Aug 28 06:22:38 njcomsec: what are you writing your game in (using Unity or antyhing lke that)? Aug 28 06:25:35 what prevents a developer from clicking ads in their own app all day long? Aug 28 06:26:18 QubeZ rules/tracking Aug 28 06:26:26 but I mean it's also a waste of time Aug 28 06:26:28 g00s: a tablet isn't really something you take with you, it is more of a use at home thing :) Aug 28 06:26:30 thepoosh this was good from the other day http://techcrunch.com/2014/08/23/why-are-pcs-up-and-tablets-down/ Aug 28 06:26:36 im writing it in java Aug 28 06:26:48 coding everything from scratch Aug 28 06:27:02 but it is only 2d game top down, very simple graphics Aug 28 06:27:03 will read Aug 28 06:27:04 it was a few months ago the bestbuy ceo said tablet sales were crashing Aug 28 06:27:07 i fucking hate TC Aug 28 06:27:14 yeaaah Aug 28 06:27:19 i think its a guest writer Aug 28 06:28:00 g00s: our CEO believes that wearables (watches in particular) are the future Aug 28 06:28:14 at least for our market audience Aug 28 06:28:56 i have no idea. there are some cool werables like shirts with sensors, sneakers with sensors Aug 28 06:29:01 thepoosh I think wearables will be the biggest flop ever Aug 28 06:29:08 niche only Aug 28 06:29:13 but i'm not even sure what wearables means Aug 28 06:29:16 StingRay_: depends on what ones Aug 28 06:29:23 the google glass was a huge flop Aug 28 06:29:29 watches Aug 28 06:29:35 google glass just hasnt taken off yet Aug 28 06:29:36 might be true Aug 28 06:29:40 watches are probably going to flop too Aug 28 06:29:43 needs to become cheaper Aug 28 06:29:52 njcomsec: no no Aug 28 06:29:55 it's too much Aug 28 06:30:09 you will see... in 10 years everyone will wear google glass Aug 28 06:30:12 they look awkward and they annoy people around you Aug 28 06:30:19 no Aug 28 06:30:24 not when they become standard Aug 28 06:30:32 people said the same thing about mobile phones Aug 28 06:30:35 the glass is too thick Aug 28 06:30:41 they will make it thinner Aug 28 06:30:47 like they made phones smaller Aug 28 06:30:51 njcomsec: it took mobile phones over 30 years to get in the market Aug 28 06:31:06 they were douchebag territory since the 70s Aug 28 06:31:17 yes but tech move faster now Aug 28 06:31:50 from what I've heard, google are kinda dropping glass Aug 28 06:32:58 maybe microsoft or apple will make one Aug 28 06:33:04 the iglass Aug 28 06:33:07 lol Aug 28 06:33:29 njcomsec: it will probably be iGlass Retina Display Aug 28 06:33:33 hahahahahaha Aug 28 06:33:42 myRetina :) Aug 28 06:34:05 I really hate apple now Aug 28 06:34:26 mostly because I use a macbook pro and their trackpad is so fucking awesome Aug 28 06:34:39 lol Aug 28 06:34:45 that made my day now Aug 28 06:35:15 gordon_: think about it, if they didn't have IPOs for all this crap my windows/linux machine would have a great trackpad Aug 28 06:35:25 but instead I have something primitive at home Aug 28 06:35:28 that sucks! Aug 28 06:35:54 i dont use trackpad anyway Aug 28 06:35:58 because it simply sucks Aug 28 06:36:14 now that is just bulshit Aug 28 06:36:27 the 1,2,3,4 finger recognition is very good Aug 28 06:36:27 trackpoint <3 Aug 28 06:36:37 looser! Aug 28 06:36:45 well I can do this on this thinkpad too Aug 28 06:36:50 why not just use mouse Aug 28 06:37:19 njcomsec: dont need to Aug 28 06:37:31 gordon_: I think tracking more than 1 finger is patented by apple Aug 28 06:37:34 butterflies ? Aug 28 06:38:03 thepoosh: same as square with rounded corners Aug 28 06:38:11 lol Aug 28 06:38:12 no no Aug 28 06:38:22 this is actual technology and not just design Aug 28 06:38:23 sorry, couldn't resist :) Aug 28 06:38:34 it's fine Aug 28 06:38:41 I hate apple for better reasons too Aug 28 06:38:58 i need to work on it at work ;/ Aug 28 06:39:05 damn hate it Aug 28 06:39:11 What do you guys think about Free + Ads with IAP to remove them, or Free + Paid Aug 28 06:39:24 I've read that free + paid can mess with google play search results as users uninstall free to get paid Aug 28 06:39:31 desmin88: freemium is a very common way to go Aug 28 06:39:33 but my user base is 99% non-playstore searches Aug 28 06:40:04 what i mean is 99% of installs will not come from a person finding the app through a play store search Aug 28 06:40:14 desmin88: just make sure the free one is considered the non-common one Aug 28 06:40:25 yeah Aug 28 06:40:27 meaning this packagename should be the longer one Aug 28 06:40:37 such as Aug 28 06:40:49 com.thepoosh.yeah - paid Aug 28 06:40:57 com.thepoosh.yeah.free Aug 28 06:41:01 not free Aug 28 06:41:01 or something like that Aug 28 06:41:05 "ad-supported" Aug 28 06:41:06 lol Aug 28 06:41:11 whatever Aug 28 06:42:58 yeah i think ill go that route Aug 28 06:43:09 most of the app installs come from facebook page networks Aug 28 06:43:16 hi guys looking for freeware progs. to visually design code in, maybe a light/better/free version of Visual Paradigm Aug 28 06:43:41 wat Aug 28 06:43:44 visually design code? Aug 28 06:43:46 lol Aug 28 06:44:11 njcomsec: like rational rhapsody by IBM Aug 28 06:44:25 it's a visual code generator Aug 28 06:44:34 not heard of it Aug 28 06:44:35 from UML to C++ or Java Aug 28 06:44:35 http://img.brothersoft.com/screenshots/softimage/v/visual_paradigm_for_uml_(community)-21532-1.jpeg Aug 28 06:44:49 like dreamweaver? Aug 28 06:45:18 http://www-03.ibm.com/software/products/en/ratirhapfami Aug 28 06:45:43 dreamweaver is mostly client presentation design Aug 28 06:45:56 this is software engineering Aug 28 06:46:21 meaning you design and UML chart and it generates the code structure for it Aug 28 06:46:31 thx what I'm looking for Aug 28 06:47:25 ok Aug 28 06:47:56 why not just use android app maker or something then Aug 28 06:48:05 then you dont have to code at all you can just drag and drop Aug 28 06:49:56 because anyone who does that is a commie Aug 28 06:51:18 I like the concept of drag'n' drop up untill I get pissed at something I want to change in the code Aug 28 06:57:18 Well thats interesting, I'm not receiving any calls onoptionsitemselected when i tap the upcaret Aug 28 07:02:25 nevermind Aug 28 07:04:13 actually no, its still happening Aug 28 07:06:44 thepoosh apple is getting harder to hate under cook. jobs was ... another story Aug 28 07:06:59 well, yes and no Aug 28 07:07:10 they still dislike devs Aug 28 07:11:06 actively hostile or just don't care? i don't see apple and google any different in their "indifference" Aug 28 07:11:38 although, Mac App Store seems to have some problems Aug 28 07:12:30 it doesn't really matter if you are WP, android, iOS dev - i see them really caring insofar that you add value to their ecosystems Aug 28 07:12:47 dunno, I still dislike (and boycott) apple just the same :) Aug 28 07:13:05 it isn't any harder for me to do so Aug 28 07:13:22 its just as easy to boycoty google on privacy grounds, it depends where your values lie Aug 28 07:13:51 all these big companies are pathalogical Aug 28 07:14:21 yesterday at work I was offered to replace my aging blackberry with a brand new iphone 5c, I turned it down :) Aug 28 07:15:59 I just really dislike the company, how it conducts business in general, and all the hype and fad mindset it creates Aug 28 07:16:34 its actually interesting how people affiliate and identify with companies Aug 28 07:17:34 god i fucking hate working with every little quirk of fragments and activities Aug 28 07:20:36 so don't? Aug 28 07:21:04 so just dont use fragments and activites Aug 28 07:21:29 one could say google hates devs by unleashing those shitty APIs on humanity, imagine all the millions of man hours down the drain Aug 28 07:21:56 im going to try an experimental rewrite of my app using square's mortar for shits n gigs Aug 28 07:22:04 but the fragment api is just not friendly at all Aug 28 07:22:10 make an app without fragments or activities? Aug 28 07:22:18 what is this black magic Aug 28 07:22:31 desmin88: what's wrong with fragments ? Aug 28 07:23:06 everything Aug 28 07:23:58 lol Aug 28 07:26:33 dunno, I don't mind shitty APIs, it is your own choice if you want to work with them really Aug 28 07:26:46 like I said countless times, I stick to somewhat older APIs and I'm happy :) Aug 28 07:27:10 define 'somewhat older apis' Aug 28 07:27:20 8 Aug 28 07:27:21 14 Aug 28 07:27:47 capella: ++ Aug 28 07:27:57 heheh :p Aug 28 07:28:01 do you utilize support libraries? Aug 28 07:28:19 just let android 2.x die... Aug 28 07:28:20 in peace Aug 28 07:28:49 I develop for target 12 Aug 28 07:29:04 ravilov ^ Aug 28 07:29:18 why Aug 28 07:29:23 ICS is 14 AFAIK Aug 28 07:29:27 I fear changes Aug 28 07:29:28 use 15 Aug 28 07:29:40 gordon_, I don't see why, it serves me so well Aug 28 07:29:44 no joking, in my book if your device is older than 6 months.. you cant use my apps Aug 28 07:29:50 desmin88, no I don't Aug 28 07:30:10 so you just use activities Aug 28 07:30:16 P3nnyw1se, that's quite a crappy attitude that won't win you any popularity points Aug 28 07:30:25 desmin88, mostly yes Aug 28 07:30:30 that must suck Aug 28 07:30:34 nope Aug 28 07:30:37 like I said, I'm happy Aug 28 07:30:45 I get none of the headaches mentioned here Aug 28 07:30:51 ravilov: tablets ? Aug 28 07:30:57 what about them? Aug 28 07:31:00 ravilov, look at ubisoft or bethesda.. sometimes they release games nobody can run untill half a year later Aug 28 07:31:25 P3nnyw1se, they might have enough cred to be able to afford that, that doesn't make it a crappy move Aug 28 07:31:26 ravilov: how do you want to make two layouts without fragments ? Aug 28 07:31:31 rewrite whole activities ? Aug 28 07:31:38 layouts != activities Aug 28 07:32:00 i know Aug 28 07:32:06 also, while my apps work on tablets, tablets are not really my target Aug 28 07:32:12 so you could say I don't really care Aug 28 07:32:59 don't get me wrong, I know I'm very much a dying minority here Aug 28 07:33:10 still, that won't change anything for me :p Aug 28 07:33:14 hello all Aug 28 07:33:25 How does AdMob or others know its you clicking your own app ads? Aug 28 07:33:49 BRAINS Aug 28 07:33:55 No one else does? Aug 28 07:33:55 I'm trying to avoid doing something stupid but I've put the banner admon ads in my app and just browsing my app to ensure the banners are where I want them (not clicking thme) Aug 28 07:35:13 hhahahah Aug 28 07:35:18 no one else does... good one Aug 28 07:35:19 because why? it will burn your fingers off? Aug 28 07:35:39 i guess they could use ip address Aug 28 07:35:41 because self-clicking banners might ban you in admob :s Aug 28 07:35:59 well that's a crappy platform then Aug 28 07:36:04 or probably if you have google play, get your login Aug 28 07:36:10 I would think it would only mess up stats and/or get ignored Aug 28 07:36:19 ravilov: adding tablet layouts is easy Aug 28 07:36:22 and takes not much time Aug 28 07:36:29 Kevel, I know, I never said it's hard Aug 28 07:36:30 even if its simple layout changes Aug 28 07:36:34 its worth it Aug 28 07:36:35 I only said I don't care to :p Aug 28 07:36:36 imo Aug 28 07:36:41 ravilov: i think few clicks wouldnt hurt, just it forbids to make bots for clicking Aug 28 07:36:45 GITHUB UR SHIT AND ILL DO IT FOR U Aug 28 07:36:49 but yeah, they could ignore it Aug 28 07:36:54 ok so its your Google Play account that shows its you clicking the ads Aug 28 07:36:55 NO Aug 28 07:36:59 =( Aug 28 07:37:12 I didn't click any ads but my admob acct shows 3 impressions and $0.63 earnings. I'm not sure why. Aug 28 07:37:24 because you're awesome? Aug 28 07:37:29 impressions? Aug 28 07:37:35 I just added the banners and still developing, not published the app in the play store with the banners yet Aug 28 07:37:48 I do a mean Tony bennet Aug 28 07:37:58 hehe Aug 28 07:52:07 anybody here that can help me with a little bit of JNI? I'm trying to create and pass back a Java datastructure from the Native code. I can't seem to figure out how to do it. This is what I have so far. http://pastebin.com/6mFAWGFB Aug 28 08:03:44 Hi, i'm trying to add an airpush ad to my app, but from the documentation i need to have google play services. I set that up but apparently google play services can't be used before API 9 (android 4.0). Is there really no way to use it with API 5 or something? i find that strange that i can't use that on older android versions Aug 28 08:06:07 API9 is *not* 4.0 Aug 28 08:07:14 I've been offered SCRUM certification at 400 euro, which I've been told is very cheap... I'm a student though still and dont make a lot of money.. I'd like opinions.. would you consider it worth the money to be scrum ceritifed? Aug 28 08:08:58 P3nnyw1se: do you play a lot of rugby? Aug 28 08:09:33 no Aug 28 08:15:32 Leeds: ups sorry you're right, i used "android list" and i mixed up the id with API level. i guess i can work with api 9 then Aug 28 08:17:38 P3nnyw1se: if you have aspirations to be a scrum master or something, maybe? But it won't make your dev any better... Aug 28 08:18:49 Morg0th: you really don't need to do API5 these days Aug 28 08:19:28 Estel: ok thank you Aug 28 08:32:08 Whats the best "design" or "practice" for an Activity obtaining a reference to and then using a fragment? e.g consider a "debug fragment" which is only there on my Tablet layout. So a layout in the necessary resource bucket includes the fragment. Is it OK for that fragment to set a "dbgRef" on the getActivity() object which other fragments then access and call if not null? Or should the fragment define an interface which then the Aug 28 08:32:08 activity implements and other fragments access the debugging functions through that Activity implemented interface? I realise its always considered bad for fragments to access and communicate directly together (although I can see reasons why that would be fine too). Aug 28 08:33:08 anybody know why I can't do this? env->setDoubleArrayRegion( vadArray, 0, aud_scores.vad_scores.size(), &aud_scores.vad_scores); It says that JNIEnv has no member 'setDoubleArrayRegion' when I try to compile Aug 28 08:38:29 you're importing the wrong header? Do other native function calls compile? Aug 28 08:38:40 s/header/lib Aug 28 08:41:46 yes Aug 28 08:41:54 what header do i need? Aug 28 08:42:07 which header are you referring to is wrong? Aug 28 08:42:33 a java wallpaper for my phone? Aug 28 08:43:05 exactly! Aug 28 08:43:20 I couldn't agree more Aug 28 08:44:09 rgr: did you mean iostream? right, that was leftover from another impl. I've removed it. However, that shouldn't impact the compilation. which header do I need to import toget access to SetDoubleArraayRegion? Aug 28 08:45:51 LOL.. SetDoubleArrayRegion not setDoubleArrayRegion.. Aug 28 09:11:54 hi Aug 28 09:12:23 hi veritto Aug 28 09:12:45 I have to program a reader for QR, and later show the information in a textbox Aug 28 09:13:11 proceed Aug 28 09:14:00 I was reading the library ZXing that use a any program from cell phone for read QR Aug 28 09:14:31 Kevel, do you know how i can get the information fron QR codes? Aug 28 09:14:47 ) Aug 28 09:14:50 :) Aug 28 09:15:01 you read the library's documentation Aug 28 09:15:19 hmm ok Aug 28 09:15:25 and use it Aug 28 09:16:01 you really couldn't figure that out yourself?! Aug 28 09:16:15 :S Aug 28 09:16:49 "hmmm I need to do X and there's a lib that does X ... hmmmmmmm what could I do? Gonna ask on IRC" Aug 28 09:17:40 doc is hard... lets ask others Aug 28 09:17:47 :) Aug 28 09:18:01 veritto: define after you have the package imported into your project you need to add the capture activity to your manifest: http://paste.ubuntu.com/8167307/ Aug 28 09:18:54 ok, I going to check and later i will think for ask :S Aug 28 09:18:58 thanks Aug 28 09:19:38 veritto: then open the scanner like this: http://paste.ubuntu.com/8167311/ Aug 28 09:20:13 and then just do the override the onActivityResult Aug 28 09:20:18 and do whatever you want in there Aug 28 09:20:38 the extra that the data is in is called "SCAN_RESULT" Aug 28 09:20:59 ie: intent.getStringExtra("SCAN_RESULT"); Aug 28 09:21:06 oh thank you so much, I am going to use it :) Aug 28 09:28:35 Had a quick google but didnt find anything : anyone here know of a GUI that enables your to "design" a path animation for Android Property Animation and produces the necessary code/position deltas? eg sketch a spiral path or something and it approximates it? Aug 28 09:52:11 how is everyone this fine summer morning? Aug 28 09:52:13 i have a app that have 3 activities. each activity control a part of the device (and are independent of each other). i want user to run 3 activities independently (but dont want to make 3 apk for this). what i tried is: added " " to each activity. now i can see 3 activity icon on screen and can launch them independentl Aug 28 09:52:13 y. but not all three at the same time. any help? Aug 28 09:52:57 kuldeepdhaka: what do you mean by "at the same time" ? Aug 28 09:54:41 at the same time means: user can switch between different activities like the way it can switch between different apps Aug 28 09:55:02 You mean using Recents? Aug 28 09:55:22 *same way Aug 28 09:55:25 (just to mention: and can independently close them) Aug 28 09:55:25 yes Aug 28 09:55:32 they're called apps. Aug 28 09:57:45 rgr, :) Aug 28 09:58:21 these activities share same hw driver library. and user will usually use them in parallel to perform work Aug 28 09:58:50 kuldeepdhaka: whats wrong with a menu ? :o Aug 28 09:59:07 kuldeepdhaka: you'll be able to manipulate the Recents screen more directly in Android L Aug 28 09:59:10 why not just link them all as fragments/view or whatever and use a menu and hide/show or something? Aug 28 10:01:23 these activities will hold control over the device USB Interface. and i want the user to select which which activities to run and which not Aug 28 10:02:32 and why is this not possible via a menu Aug 28 10:05:14 Anyone knows a good library to visualize audio spectrums on android? Aug 28 10:07:09 I have a ArrayList, ArrayAdapter and a ListView. What's the difference between adding new input to ArrayAdapter and ArrayList? The result is the same. Aug 28 10:07:41 threenuc: what do you mean by "adding new input to the arrayadapter" ? Aug 28 10:08:05 Estel: adapter.add("stuff") Aug 28 10:08:08 threenuc, the adapter does not get notified if you change the underlying list Aug 28 10:08:16 in menu things will be hardwired and ability to free or close resource (like closing app) flexibility/independence is not possible ? Aug 28 10:08:43 if you are going to work with ArrayAdapter, you should just give it the list and then forget the list even exists Aug 28 10:08:46 kuldeepdhaka: its just a bit more work.. Aug 28 10:08:49 though disable like feature can be place inside each activity and switch between views using menu is possible Aug 28 10:08:50 and only ever manage the data through the adapter Aug 28 10:09:29 ravilov: Then why do I need the list? Can't the adapter just convert input into a view and make them stay there? Or does it need to store them? Aug 28 10:09:56 By them I mean input values Aug 28 10:09:58 it needs to store them Aug 28 10:11:29 danijoo, looks like i have to pack everything in one ui (switch using menu) instead of thinking them as multiple ui Aug 28 10:12:20 ok thanks Aug 28 10:12:21 you need to tell the adaptor its changed notifyXXXX. Thats fine. Aug 28 10:12:23 kuldeepdhaka: you can still put them into different activities and switch between them. Just have their functionality independent of opening/closing independent activities Aug 28 10:12:32 I can't tell for sure (would need to look up the docs) but I do believe what you need is possible; activities can have vafious flags and launch modes defined in the manifest Aug 28 10:12:48 kuldeepdhaka, ^ Aug 28 10:13:01 also various* Aug 28 10:13:40 adapter.notifyDataSetChanged() Aug 28 10:14:09 http://developer.android.com/guide/topics/manifest/activity-element.html all i could understand was the MAIN and LAUNCHER thing Aug 28 10:14:25 example: google maps traditionally come with many user-visible activities such as maps, navigation, places etc; I believe if you launch one and then the other both will stay in recents history Aug 28 10:14:44 and regarding it "storing" your data. Try your own extension of BaseAdapter. Its not that difficult and you can store "whatever data" you want and have the getView read that and then determine whatever fancy view it wants to spit out. You need to implement aabout three functions. Aug 28 10:15:03 kuldeepdhaka, well that page describes every option available in great detail, I'm not sure what to add to that if even that isn't clear Aug 28 10:18:26 Hello Aug 28 10:18:40 Hullo Aug 28 10:18:54 How can i use teamcity to build android studio projects? Aug 28 10:19:00 EHLO Aug 28 10:19:14 ELO Aug 28 10:19:35 (Sun is shining in the sky, there ain't a cloud in sightttt) Aug 28 10:21:13 considering jetbrains made android-studio and teamity, i thought it would be easier Aug 28 10:22:51 Moony22: apparently it supports gradle builds out of the box, what's missing? Aug 28 10:23:57 ravilov, danijoo menu drag from left (like google play app) seems to be reasonable as more activities are added Aug 28 10:24:13 ok Aug 28 10:24:42 Estel: My knowledge of gradle Aug 28 10:24:59 and teamcity for that matter Aug 28 10:25:08 ravilov: perhaps do fragment transactions in a single activity instead of opening a billion activities from the nav drawer Aug 28 10:25:25 then read the manual.... its what people tend to do when they dont understand something. Aug 28 10:25:56 RTFM Aug 28 10:25:59 but we are men? Aug 28 10:26:12 I'm feeling conflicted rgr Aug 28 10:26:17 o.o I'm just going to try it out Aug 28 10:26:17 Kevel, when people come with a specific issue, I generally try to fix the issue and make it work instead of coming up with alternative architectural solutions Aug 28 10:26:18 Moony22: have you built it from the command line on your local machine? Aug 28 10:26:37 Estel: my android project? A few times Aug 28 10:26:52 ravilov: sometimes giving an alternative also helps Aug 28 10:27:04 Well ultimately all you need to do is run the same command on your CI worker Aug 28 10:27:18 ./gradlew assembleRelease or whatever Aug 28 10:28:00 Kevel, that's why there are so many people here, so as to have many different approaches; I'll stick to mine though Aug 28 10:28:30 ravilov: then stick to it :) Aug 28 10:29:55 Estel: I think I understand how to do it now...Just need to get the android sdk first :p Aug 28 10:30:00 thank you for your generous albeit unnecessary approval Aug 28 10:33:18 good for you both Aug 28 10:33:31 Play nice! Aug 28 10:33:45 but daaaaaaaaaaaaaaaaaaaaddddddddddd Aug 28 10:33:47 he started Aug 28 10:34:20 :) Aug 28 10:37:09 Moony22: the point is more "I dont know gradle and I dont know AS" is not really a question. because the answer is "well learn them" then ask specific questions. I hate "RTFM" as a general rule but one has to do some spadework. Aug 28 10:41:17 Has anyone done anything using socket connections in a service? Aug 28 10:41:45 If so, what challenges did you face? Aug 28 10:45:17 ravilov, danijoo rgr Estel BoD Thanks you for the suggestions :) Aug 28 10:52:50 switching to fragments as an experiment , when in an activity I want to find a view and do something with it , if I know that view is in a fragment should I first find the fragment using the fragmentmanager then find the view in that or is it ok to simply findViewByID on the main activity? or am I misunderstanding something here? Aug 28 10:53:22 ah. better. find the fragment and then call a method on that to do the view update. Aug 28 10:55:50 or getView(). OK.. I think... Aug 28 10:55:59 is it normal for system images to take up 8.0GB of space? Aug 28 10:56:59 not really Aug 28 10:57:13 I don't mean each, I mean combined Aug 28 10:57:22 I mean, combined 3 platforms Aug 28 10:57:22 depends on how much you have in it. But what do you mean by a system image? Aug 28 10:57:49 Oh sorry, I forgot to clarify. I mean the system images folder in the android sdk.. Aug 28 10:58:01 system images for 4.4 (platform 19) take up about 1GB Aug 28 10:58:09 I doubt any previous images are larger Aug 28 10:58:21 3 combined should not exceed 3 GB Aug 28 10:58:25 ahhh Aug 28 10:58:33 I understand...I have android L Aug 28 10:58:37 which takes up 5GB Aug 28 10:59:03 I don't need android L luckily Aug 28 10:59:13 But bigger is better, right? Aug 28 10:59:28 bigger = no space on VPS Aug 28 10:59:39 :D Aug 28 10:59:53 I'm trying to scp my whole android sdk across Aug 28 11:00:16 Which is now only 5.7GB...I have 15GB total space on my VPS -.- Aug 28 11:01:10 really, docs take up 1GB? -.- Aug 28 11:02:13 Maybe it´s done with lots of images, so we don´t need to read, why you chucking everything on your VPS? Aug 28 11:02:29 VnM: for my build server Aug 28 11:02:49 you don't need any images in order to do builds Aug 28 11:02:57 o.o Aug 28 11:03:05 why would you need images? Aug 28 11:03:12 those are only for emulator Aug 28 11:03:16 Why would I need images in the first place? Aug 28 11:03:23 I don't use emulators :p Aug 28 11:03:33 Then you don't :P Aug 28 11:03:37 why are you copying them then? Aug 28 11:03:37 so why do you need images? Aug 28 11:03:46 We could of started with that... Aug 28 11:03:48 have* Aug 28 11:03:56 lol :x Aug 28 11:04:02 * Moony22 deletes system-images Aug 28 11:04:07 it seems you are prone to going heads first without actually knowing what you're doing Aug 28 11:04:10 good luck with that approach Aug 28 11:04:12 indeed. Aug 28 11:04:14 But that's the most fun! :D Aug 28 11:04:45 ravilov: I'm deleting the contents of system-images Aug 28 11:05:13 Try reading the docs and doing the tutorials and understanding a great IDE like Intellij/AS..... "install SDK, set up IDE, run..." as opposed "I think I'll scp these things I dont know what they are to a VPS for some reason".... ;) Aug 28 11:05:50 -.- I've already developed and published my app Aug 28 11:05:59 using android studio Aug 28 11:06:11 then why did you even try copying large images over? Aug 28 11:06:30 if you're as experienced as you say, you should've known those are irrelevant for building Aug 28 11:07:06 I never said I was experienced, I just didn't know they were only used for emulators. Aug 28 11:07:51 You are experienced if you already published your app :) I havent yet : I'm now converting it to use fragments and get a better idea of properly handling different orientations and screen sizes :) Still a lot to learn! Aug 28 11:21:24 Hi everybody, I have little problem, I need execute doInBackground method every X second - how can i do It? Aug 28 11:21:42 Use a Handler or a Timer Aug 28 11:23:17 http://stackoverflow.com/questions/2857101/schedule-task-in-android Aug 28 11:23:18 AS said in the androiddev , I imported import android.support.v7.app.ActionBar to get actionbar in api lower than 11 but , i get "import android.support.v7 cannot be resolved" , any help on this? Aug 28 11:23:22 2 seconds with google. Aug 28 11:23:53 how can I generate a signed apk using teamcity? Aug 28 11:24:20 ...... Aug 28 11:24:35 it wasn't 2 seconds with google Aug 28 11:25:12 rgr - I searched at google half of hour and I did not see nothing which can help me Aug 28 11:25:13 killer, run a clean or make sure you actually have the library added to your project Aug 28 11:25:26 but thank every body which helped me Aug 28 11:25:29 You didnt find that link? Aug 28 11:25:43 https://duckduckgo.com/?q=android%20run%20a%20background%20task%20schedule Aug 28 11:25:44 hi Aug 28 11:26:07 rgr nope Aug 28 11:26:14 there isnt a way to make admob ads in my apps target a certain audience by age? Aug 28 11:26:19 well, I did and provided one answer. Hope it helps. Aug 28 11:26:37 or any experience here with blocking categories to hit certain age groups? Aug 28 11:27:33 note the clever use of google putting in the key words like "android background task schedule". It can help a lot :) Then using the IDE bring up the runnable javadoc etc. Also look at handlers. Aug 28 11:27:45 I have an app target at youths so I'm considering blocking the finance category Aug 28 11:28:13 and such Aug 28 11:31:44 there is no way to use gradle to generate a signed release apk? Aug 28 11:32:36 I know how to do it with ant, but not with gradle :/ Aug 28 11:34:58 I would be very surprised if it was no possible considering gradle is the "official" build system. What about this? https://github.com/almalkawi/Android-Guide/wiki/Generating-signed-release-APK-using-Gradle Aug 28 11:35:44 Looks pretty trivial but then I only used google for about 1 second so apologies if its not relevant. Aug 28 11:37:37 rgr: ah, that looks nice. Do you think I need to use environment variables, or could I just type them in there? Aug 28 11:52:00 anyone seen the scenario where on a 4.4.2 device logcat output, there is no 'application' listed? only level, time, pid, tid, tag, and text Aug 28 11:54:20 aaearon: output in IDE, shell or developer console log Aug 28 11:55:25 when im looking at logcat in eclipse and also the output via 'adb logcat' Aug 28 11:55:33 Can I somehow populate an XML array with string resources? Aug 28 11:55:35 makes a pain to filter :P Aug 28 12:00:33 Moony22: I dont know. I just googled it for you. Try it. Aug 28 12:04:32 Hi all, How can i capture the back button click when FragmentA is visible (FragmentA contains viewpager with FragmentB and FragmentC). I need to show a custom dialog before going back to the previous Fragment Aug 28 12:04:34 i want to start a countdown timer, but only after a background thread have loaded a image and a text quote. What is a good way to go about doing that ? Aug 28 12:04:50 * Moony22 is still waiting for 2GB to transfer Aug 28 12:04:57 do I even need the docs directory? Aug 28 12:06:47 FrancescoV, I think you should be able to override the onKeyDown method, catch the keyCode != KeyEvent.KEYCODE_BACK, return false and then run the code to open your dialog Aug 28 12:07:09 or, onBackPressed Aug 28 12:07:41 Ah yeah theres that too, but wasn´t there some limitation to that Aug 28 12:08:00 not that I know of Aug 28 12:08:09 *none Aug 28 12:08:27 VnM, Ok thank but wil this work if I open another Fragment. Like: FragmentB (page) has a listview and when clicking an item I open FragmentD Aug 28 12:08:48 irrelevant Aug 28 12:09:13 Moony22: what docs for what? Aug 28 12:09:14 If you put the code in the specific Fragment you want it to work in it should only work in that fragment Aug 28 12:09:41 VnM: thanks I'll try it out Aug 28 12:10:16 FrancescoV: you need to let your activity decide what to do. That knows what fragments are available and invokes the correct behaviour. Fragments should not chat amongs themselves since they dont know they're there... Aug 28 12:10:32 (or thats my take on it and will be gladly corrected) Aug 28 12:11:25 rgr: so you say it's better to capture onBackPressed in the Activity and use getSupportFragmentManager().getBackStackEntryAt(lastIndex) ? Aug 28 12:11:47 no I didnt say that. Aug 28 12:12:32 I said fragments shouldnt chat between themselves. Maybe I spoke out of place. Im not familiar with what you're trying to do by intercepting key presses. My understanding is that the back button is "built in". Aug 28 12:12:39 but then I havent used it (yet) Aug 28 12:15:13 rgr: thanks, you're right Aug 28 12:21:09 i want to start a countdown timer, but only after a background thread have loaded a image and a text quote. What is a good way to go about doing that ? Aug 28 12:22:09 Start the countdown timer when your background thread is finished? See if you can add an event listener somewhere Aug 28 12:23:23 If you´re doing it Async there´s a onPostExecute somewhere, otherwise there might be some onCompletion or onFinished events firing when your image/text is loaded Aug 28 12:23:54 VnM: that is what i am doing now. however. if a connection is slow, content loaded only shows up when the countdown timer is already running, and have been for a few seconds. i was hoping there was a way for the application to "know" when content had been loaded.. Aug 28 12:24:29 i fetch one instance at a time. i am guessing i should expand the load to fetch to an arraylist instead perhaps Aug 28 12:34:00 Hello, i'm stuck with a problem, after made a Navigation Drawer i can't switch sections, the question is identical to this http://stackoverflow.com/questions/20638967/how-to-change-fragments-using-android-navigation-drawer but i don't get it work even using the switch as the answer on the link Aug 28 12:42:05 I usedandroid:drawableEnd inside