**** BEGIN LOGGING AT Thu Sep 04 02:59:58 2014 Sep 04 03:29:27 QubeZ: looking at the source of IabHelper, it looks like the setup is done asynchronously Sep 04 03:29:43 oh, wait, nevermind Sep 04 03:29:46 was misreading your source Sep 04 03:29:59 ya, im calling queryInventory within the callback so im good there Sep 04 03:30:02 yea Sep 04 03:30:13 I've been at this for days, googling like crazy Sep 04 03:30:24 all my google queries now return visited pages lol Sep 04 03:31:10 In any case, I would suggest debugging into the startSetup method and determine why mSetupDone isn't being set to true Sep 04 03:37:38 QubeZ forgot we're all google's QA have you ? :) Sep 04 03:38:52 g00s: this is annoying Sep 04 03:39:09 the API and helpers are nice though -- I got this thing done pretty quickly then spent the last few day troubleshooting this Sep 04 03:40:00 QubeZ how is todomapr doing ? Sep 04 03:40:11 not bad, ~17k downloads Sep 04 03:40:21 put ads in it and revisiting the entire codebase to update it to modern Sep 04 03:40:39 once I get this in-app billing done to remove ads then I'm going to let that run in the wild for a bit Sep 04 03:41:08 but mostly I'm getting into Unity3d and writing a game now but will maintain this app Sep 04 03:42:03 ah, a change of direction (unity3d) Sep 04 03:42:14 just a challenge, love the math and physics Sep 04 03:42:20 so figured games would be good fun Sep 04 03:42:29 actually have 2 game ideas and working on the 1st Sep 04 03:42:40 the 2nd one is a bit complicated so I'm not tackling that as a newbie Sep 04 03:45:01 QubeZ just noticed this book on Traction http://www.gabrielweinberg.com/blog/2014/08/get-traction-today.html Sep 04 03:45:36 i have a few books i need to read about marketing, users, blah blah i hate this stuff Sep 04 03:46:18 i could use those -- thanks for the link Sep 04 03:51:48 . Sep 04 03:54:42 QubeZ the Lean series from oreilly is also pretty good (edited by eric reis) Sep 04 03:55:01 Speaking of games Sep 04 03:55:06 I just finished my game Sep 04 03:55:10 some stuff though - like this visual storytelling book - i don't have a nack for social media so Sep 04 03:56:18 Agamemnus: link? Sep 04 03:56:36 https://play.google.com/store/apps/details?id=com.flyingsoft.safari.jigsaw.free Sep 04 03:56:38 And Sep 04 03:56:40 https://play.google.com/store/apps/details?id=com.flyingsoft.safari.jigsaw.premium Sep 04 03:56:48 Actually just updating it now to increase the bevels Sep 04 03:57:07 increase the bevels ! Sep 04 03:58:16 preparing to increase the bevels! Sep 04 03:58:36 commencing bevel increasement! Sep 04 03:58:40 :d Sep 04 03:58:49 Agamemnus: how did you make the pieces? Sep 04 03:58:52 need to test it first though Sep 04 03:58:54 one sec Sep 04 03:59:07 bankai_au: are you making a jigsaw game? Sep 04 03:59:33 it's a trade secret and i would have to kill you if i found out you were Sep 04 03:59:42 so watch out Sep 04 03:59:43 nuh i've done one before, but never got the pieces 'right' Sep 04 03:59:44 but Sep 04 03:59:49 i see Sep 04 03:59:58 every other game uses pre rendered pieces Sep 04 04:00:19 I am not. actually there is a huge shadowblur slowdown which makes this difficult Sep 04 04:00:22 in chrome Sep 04 04:00:24 anyway, Sep 04 04:00:33 * JesusFreke ponders the possibility of using penrose tiles for a jigsaw like game Sep 04 04:00:40 it is just a grid of sets of beziers Sep 04 04:00:52 i vary some of the points Sep 04 04:00:57 and the logic Sep 04 04:01:12 sometimes they do intersect because the math is a bit complex Sep 04 04:02:16 there are other unique things in this game as well Sep 04 04:02:35 so yeah i make the bevel with shadowblurs Sep 04 04:02:46 but it is extremely slow beyond 1, in chromium Sep 04 04:03:02 that is, javascript canvas shadowBlur Sep 04 04:03:09 and on android. Sep 04 04:04:42 Hey, Sep 04 04:04:55 What's the difference between android:versionCode and android:versionName? Sep 04 04:05:00 I guess I'll just google it... Sep 04 04:07:20 never mind i got it Sep 04 04:12:21 If I make good $$ out of this I have many expansion plans Sep 04 04:12:59 whats your app gonna be? Sep 04 04:14:52 the jigsaw game I mentioned a few min ago. Sep 04 04:15:10 i wasnt here Sep 04 04:15:11 https://play.google.com/store/apps/details?id=com.flyingsoft.safari.jigsaw.free / .premium Sep 04 04:15:19 what do you think "good $$" is? Sep 04 04:15:24 50K Sep 04 04:15:28 lol Sep 04 04:15:46 i'd like 50 grand :( Sep 04 04:15:50 To start... Sep 04 04:15:53 yen, maybe if you're lucky Sep 04 04:15:57 like Sep 04 04:16:02 astronically lucky Sep 04 04:16:12 astronically Sep 04 04:16:24 is that better or worse than astronomically Sep 04 04:16:25 thats how lucky you have to be Sep 04 04:16:39 presumably that's before you pay for your marketing Sep 04 04:16:41 but yeah being honest 50k is a pipe dream Sep 04 04:16:51 right, i should aim for 500k instead Sep 04 04:16:52 Agamemnus i hope you are well informed about app development economics ;) Sep 04 04:16:55 do your part! Sep 04 04:17:14 its a very simple topic : 0 Sep 04 04:17:46 I am very well informed Sep 04 04:18:18 then you should know Sep 04 04:18:25 making actual money on android apps is difficult Sep 04 04:18:51 A lot of the things I have done are very technically challenging... and it is still not perfect. Sep 04 04:18:57 But I needed to release it. Sep 04 04:19:15 good for Sep 04 04:19:16 making money on games is slightly easier... but mostly if they're a) good, b) designed to make money Sep 04 04:19:23 you* Sep 04 04:19:33 I spent weeks trying to get the FPS up. Sep 04 04:19:41 For some reason it doesn't feel hardware accelerated Sep 04 04:19:42 g00s: what was that book called about social manipulation to sell things? Sep 04 04:19:46 But it really should be Sep 04 04:19:54 Agamemnus: what game engine is used? Sep 04 04:19:58 Chromium. Sep 04 04:19:59 Evil by Design, a few others .. Sep 04 04:20:05 Agamemnus: read that book ^ Sep 04 04:20:14 Crosswalk and Chromium. Sep 04 04:20:20 I'm familiar with all those concepts Sep 04 04:20:24 Agamemnus: good luck... dont let the negative albeit realistic comments get you down. Keep dreaming and make it big. Sep 04 04:20:32 everyone starts at 0 Sep 04 04:20:34 Thanks Sep 04 04:20:59 just be realistic about your expectations and keep spicing up the game to attract 'buyers' Sep 04 04:21:06 just dont be let down if you dont make 500k Sep 04 04:21:29 It's difficult when Google will update directory structures but not documentation... or the files to go with the directory structure. Sep 04 04:21:32 For example. Sep 04 04:21:44 (I'm talking about their libraries for APK extensions) Sep 04 04:21:54 And so on... Sep 04 04:22:41 Agamemnus: why did you separate the game into difference packages instead of using in-app billing to make free -> premium transition? Just curious. Sep 04 04:23:08 yeah two separate apps is harmful Sep 04 04:23:08 I did not want people to not download the game because they saw that it had in-app ads. Sep 04 04:23:15 I mean Sep 04 04:23:19 in app billing Sep 04 04:23:23 freudian slip Sep 04 04:23:34 the play store 'down ranks' your app because people uninstall your free app to buy the paid upp Sep 04 04:23:38 most people dont care about that, they see the Free thats all that matters Sep 04 04:23:44 there was a nice video/presentation/write up on it Sep 04 04:23:50 desmin88: that's kind of sucky Sep 04 04:24:05 But Google said they will separate apps soon Sep 04 04:24:11 what do you mean by that Sep 04 04:24:16 paid, in-app payments, and free Sep 04 04:24:20 i dont recall google saying that Sep 04 04:24:24 Free w/ in-app billing is pretty standard and users know what that is all about. They are not scared off by that because they know they are in contorl of their purchasing decision. Sep 04 04:24:30 i remember reading about it a few weeks ago Sep 04 04:24:56 I'll see how it goes and possibly reconsider Sep 04 04:25:10 but by then your already screwed Sep 04 04:25:12 I do have expansions now so I guess I can figure that out somehow Sep 04 04:25:19 what do you do with these two apps in the play store Sep 04 04:25:20 APK expansions Sep 04 04:25:21 you cant remove either Sep 04 04:25:39 Yes I can Sep 04 04:25:42 If I wanted to. Sep 04 04:25:46 what do you do about your paid users Sep 04 04:26:12 I can modify the paid app to make it one that's an in-app purchase. Sep 04 04:26:36 If I felt that is what I had to do. Sep 04 04:26:37 Right? Sep 04 04:26:46 so now you have people who paid for an app that is now free Sep 04 04:26:53 Not necessarily Sep 04 04:27:02 Guys, little question about JNI, Can i cache enum fields in native code for further use? https://gist.github.com/olologin/3de8ed0f8f1df9c6fa03 Sep 04 04:27:23 Agamemnus: im pretty sure you cant even change your app from paid>free free>paid Sep 04 04:27:37 I know that I cannot make a free app paid Sep 04 04:27:39 yeah im sure you cant' Sep 04 04:27:45 But I can reduce the price of a paid app to 0 Sep 04 04:27:50 no Sep 04 04:27:54 And I can give users in-app purchases for free Sep 04 04:27:56 yes Sep 04 04:28:03 at least there are no warnings about it Sep 04 04:28:15 jug6ernaut there? Sep 04 04:28:37 ah, that was Carbonflux i think Sep 04 04:28:42 you cant make a paid app to $0.00 I dont think because if google doesn't allow you to move a paid app to a free app then that would be something stupid they overlooked Sep 04 04:29:08 yeah once an app is free or paid it stays that way Sep 04 04:29:20 Ok, well I don't think you guys are correct Sep 04 04:29:22 pfn: does macroid work with espresso ? Sep 04 04:29:25 Free can't go to paid Sep 04 04:29:29 but not the other way around Sep 04 04:29:45 it cant go both ways Sep 04 04:30:02 https://support.google.com/googleplay/android-developer/answer/138412 Sep 04 04:30:06 No you're wrong Sep 04 04:30:14 I can see it clearly in the interface Sep 04 04:30:18 well then Sep 04 04:30:19 you got me Sep 04 04:30:32 still terrible to have users pay for an app then make it free Sep 04 04:30:39 But like I said Sep 04 04:30:43 olologin, it depends Sep 04 04:30:50 Agamemnus: I did'n tknow that.. thanks for the knowledge. Sep 04 04:31:14 If I wanted to do as you guys said, I'd make it an in-app purchase and give the existing base the purchase. Sep 04 04:31:17 guys im having a problem with a custom cursoradapter, looks like when i override getView method then the bindView nor newView arent being called. if i delete getView then both start working Sep 04 04:31:41 cliffreich: paste code Sep 04 04:31:54 and i read tthat you can't use newView to get items from layout as its called lot of times Sep 04 04:32:00 ok gimme a sec Sep 04 04:32:00 olologin, it is something that can be done Sep 04 04:32:00 question regarding in-app billing, you just can't buy your own app when its in Testing right? You can be the first to buy your own app after its published? Sep 04 04:32:38 I'm looking at the paid version and it's not saying that I can't buy it. Sep 04 04:32:43 Ologn: ok, thanks Sep 04 04:32:45 And I downloaded the free version Sep 04 04:34:08 olologin, I ported an app to Android and have been having problem getting RID of state on the other side of the JNI. Although I mostly have a handle on it now. Sep 04 04:35:04 desmin88 http://pastebin.com/VZ6RePhg Sep 04 04:35:12 pls be patient im new :) Sep 04 04:39:56 idk if pastebin is messing with you, but are you using android studio? Sep 04 04:40:13 yes Sep 04 04:40:35 last version Sep 04 04:40:37 Hit "Control-Alt-L" Sep 04 04:41:11 does anyone know if I have to upload an expansion file every time I update my apk? Sep 04 04:41:18 I don't want the expansion file to die Sep 04 04:44:51 cliffreich: try changing line 57 of the paste to " View view = LayoutInflater.from(context).inflate(R.layout.viewer, parent, false);" Sep 04 04:44:58 not sure about that because i cant see anything wrong Sep 04 04:45:21 also line 40 to the same t hing Sep 04 04:48:40 ok give me a sec Sep 04 04:51:13 by the way Sep 04 04:51:18 (looks like not) Sep 04 04:54:55 I couldn't purchase my own game Sep 04 04:55:17 hmm thats bad because then i'll have ads in my version of the app lol Sep 04 04:55:26 i'd like to purchase my own game Sep 04 04:55:28 err app Sep 04 04:55:40 I need to know if my apk expansion works Sep 04 04:55:57 it is difficult if i can't purchase it to try Sep 04 04:56:18 it says it's 27MB Sep 04 04:56:21 but it's not, it's more Sep 04 04:56:26 i'm not sure if the expansion took Sep 04 04:59:10 gordon_, no idea, I do very little UI testing Sep 04 05:00:46 do I definitely use retrofit for interfacing with a REST api? Sep 04 05:01:11 i'm already trying to learn another library at the moment Sep 04 05:02:06 yes use retrofit Sep 04 05:02:26 RustyShackleford what else are you looking at ? Sep 04 05:02:45 zxing, an unrelated library Sep 04 05:02:55 ah Sep 04 05:03:15 sometimes learning a library or framework is difficult Sep 04 05:03:37 all i'm trying to do is query and modify a database on this server Sep 04 05:03:51 retrofit is pretty easy Sep 04 05:04:23 i guess I should build my REST api first Sep 04 05:04:44 i'm sorta trying to do everything at once Sep 04 05:05:53 * pfn is having fun with polymer Sep 04 05:07:04 desmin88 now i have it working by just using getView Sep 04 05:07:14 bind nor newview being called Sep 04 05:07:25 pfn what technologies do you need to know in order to use it? Js presumably? i'm not a web dev :P Sep 04 05:07:33 iirc you dont even need bind or newview Sep 04 05:07:36 just get view should do it Sep 04 05:07:42 oh ok Sep 04 05:07:51 pfn: so what do you use ? Sep 04 05:08:14 g00s, js is sufficient Sep 04 05:08:36 js, css, html5 Sep 04 05:08:47 gordon_, for what? Sep 04 05:10:11 gordon_, UI testing? just plain instrumented testing Sep 04 05:11:50 wish i had desks like these first graders http://i.imgur.com/ILAuc42.jpg Sep 04 05:12:35 I remember some of those desks where you couldn't move your legs Sep 04 05:12:40 it has pedals? Sep 04 05:12:49 can't quite tell from the pic Sep 04 05:13:02 why not, good idea Sep 04 05:13:14 saves on electricity costs and makes the parents happy Sep 04 05:13:33 we're running low on power.. time to do some homework! Sep 04 05:13:50 but yeah, making my Acra collector all nice with polymer Sep 04 05:15:42 pfn: ok, thanks Sep 04 05:30:23 i just googled for addJavaSourceFoldersToModel .. and the engine came back with 9 pages Sep 04 05:30:34 clicked 'next' once and it went down to 3 Sep 04 05:36:36 well thats neat Sep 04 05:37:51 its been in the plugin since 0.7 but never added to the documentation Sep 04 06:03:01 is anyone willing to test out a live purchase for me? It's only $3 and I can refund it. Sep 04 06:03:29 as a publisher I can't buy it and my test account says "High-risk" error and declines my purchase Sep 04 06:04:40 is it an IAP? Sep 04 06:04:46 yes Sep 04 06:06:09 i'll do yours Sep 04 06:06:11 if you do mine Sep 04 06:06:49 or just wait for your test account to be unflagged Sep 04 06:07:15 qubez: Sep 04 06:07:18 what do you say then? Sep 04 06:07:32 unfortunately mine is $4. i can airmail you the difference Sep 04 06:07:52 via pidgeon Sep 04 06:07:55 lol Sep 04 06:08:11 Agamemnus: why cant you just use the normal ways of testing iap Sep 04 06:08:24 Not IAP Sep 04 06:08:28 just purchasing Sep 04 06:08:36 Well Sep 04 06:08:39 It's not purchasing Sep 04 06:08:45 It's that it has an APK expansion Sep 04 06:08:54 I tested it separately Sep 04 06:09:04 But I'm not sure if I uploaded it correctly etc Sep 04 06:09:20 so what do you say? trade? Sep 04 06:09:48 Er Sep 04 06:09:51 Wrong person Sep 04 06:09:56 Sorry it all blends together Sep 04 06:10:06 Especially since I haven't been sleeping much Sep 04 06:18:38 Hey guys Sep 04 06:18:50 have one question Sep 04 06:19:02 just ask Sep 04 06:19:18 I've been reading books on android dev for couple of days now, and watching few video tutorials and started making a new Sep 04 06:19:25 activity Sep 04 06:19:49 now I see I need to make a new class and make it as an extention of Activity Sep 04 06:20:18 but when I made a new project in Eclipse, my default main activity is extending ActionBarActivity Sep 04 06:20:30 does this have anything to do with the default hello world template? Sep 04 06:20:57 actionbaractivity is the v4 support activity for using an actionbar Sep 04 06:21:45 so it's some sort of more developed activity class Sep 04 06:21:46 r8? Sep 04 06:22:02 some sort of a children of base Activity class Sep 04 06:22:05 ? Sep 04 06:22:14 no its not more developed Sep 04 06:22:35 All it does is allow you use an action bar back to Api level 7 Sep 04 06:22:53 For your purposes you can set your minsdkversion to 14 and use a regular activity Sep 04 06:23:09 i have a two layout for a same fragment(layout, portrait) -- inside the xml's, AndroidPlot view have some common attributes that i dont want to type twice. possible to share attributes? how-to? Sep 04 06:23:21 Ohhhhhh it's used to be compatible with older Sep 04 06:23:26 API levels Sep 04 06:23:27 r8? Sep 04 06:23:33 *have two layout for same Sep 04 06:23:46 yes Sep 04 06:23:52 ahhh Sep 04 06:23:55 now I get it :D Sep 04 06:24:02 but for your cases you can set your minsdk to 14 and use regular activities Sep 04 06:24:32 Well I'm gonna be aiming at gingerbread or how it's called Sep 04 06:24:34 :P Sep 04 06:24:46 as it's the phone im using to test Sep 04 06:24:58 and it only supports that verion Sep 04 06:25:01 version* Sep 04 06:25:11 gingerbread and later Sep 04 06:25:13 of course Sep 04 06:25:20 what is your device Sep 04 06:25:35 it's a pretty old samsung galaxy Sep 04 06:25:40 it's smaller Sep 04 06:25:43 and more.. cheap :P Sep 04 06:25:44 lol Sep 04 06:25:48 i think its Sep 04 06:26:11 gt-s5570 Sep 04 06:26:44 i've had it for some time and found it lately :P and said.. mehh why not learn android Sep 04 06:26:46 ^^ Sep 04 06:27:07 are you just gonna be producing apps for yourself or do you want to release on the app store Sep 04 06:27:16 D33zm0, http://en.wikipedia.org/wiki/Android_version_history http://developer.android.com/tools/support-library/index.html Sep 04 06:27:42 all what you need to understand and analyze :) Sep 04 06:28:02 im gonna release them on app store, that's why I also have the emulator with the most recent API lvl... Im gonan set min api lvl to my device and wont set max version Sep 04 06:28:39 Honestly just use the emulator and try to get a newer device. Setting min api to <14 is not worth it. Sep 04 06:29:19 I don't know, I was pretty annoyed when my iphone 3 stopped being supported :P Sep 04 06:29:30 so I'm thinking about people who can't have up to date device Sep 04 06:29:33 im Sep 04 06:29:39 Android 2.3.3–2.3.7 Gingerbread (API level 10) Sep 04 06:29:53 so Ill go 10>= Sep 04 06:30:26 Api 14 and above accounts for 85% of android devices Sep 04 06:30:34 thank you for the link kuldeepdhaka Sep 04 06:30:52 The remaining 15% are not going to be using your app most likely Sep 04 06:31:09 Another question: My service stores link to callback handler class (Which recieves callbacks from JNI) in one of it's fields. Is it always true that if my service running (In foreground) - callback handler will work also? Sep 04 06:31:29 Well you never know :P But im still a bit further than closer to my app release so by then I might as well just go with the Sep 04 06:31:30 14 Sep 04 06:31:39 yeah we do kinda know Sep 04 06:31:42 For example here https://gist.github.com/olologin/c40dd58fefe8c678d56a let's assume that toxSingleton - callback handler Sep 04 06:32:48 D33zm0: Those 15% are devices in developing countries that will almost be gaurenteed not to be your user base Sep 04 06:33:02 probably Sep 04 06:33:03 r8 Sep 04 06:33:06 oh god! Sep 04 06:33:08 pls can anyone Sep 04 06:33:12 give me a good book Sep 04 06:33:18 on threads? Sep 04 06:33:39 I had OS this semester and had java threads... blah blah but never rly learned anything -_- Sep 04 06:33:52 I mean I know stuff like watching out for deadlocks Sep 04 06:33:53 etc Sep 04 06:34:04 but don't rly know how to use them efficently Sep 04 06:34:59 cause I seen threads are a big part of android app dev Sep 04 06:35:07 as well Sep 04 06:43:16 Api 14 and above accounts for 85% of android devices that means USB OTG is supported(theoretically) on most devices Sep 04 06:46:15 sure Sep 04 06:50:53 hello Does anybody has worked on call forwarding Sep 04 06:51:34 actually i am getting an issue while getting a event of call forward activation Sep 04 06:51:49 there is now way to catch the event of call forward activation Sep 04 07:08:58 With Google Material Design when does stuff go in cards and when does stuff just go on the window? It's hard to tell from their examples. Sep 04 07:10:39 one sec Sep 04 07:11:03 http://www.google.com/design/spec/components/cards.html Sep 04 07:12:21 ah cheers Sep 04 07:12:39 np Sep 04 07:17:13 wish I knew what gradle is doing on the background Sep 04 07:17:16 it's slow Sep 04 07:17:59 is doesnt cache anything or what ? Sep 04 07:19:34 dont be so mean to gradle Sep 04 07:22:26 I like gradle Sep 04 07:22:31 but it's just slow Sep 04 07:23:01 and I cannot see variables values Sep 04 07:23:03 in debug mode Sep 04 07:27:41 hi guys Im trying to learn a little android studio... I made a tiny application I wanna test, so I create a Nexus 7 virtual device.. and run the app on it Sep 04 07:28:02 first the virtual device starts up giving me tasks like 'learn how to swip left and up' you guys had that? Sep 04 07:30:33 how are you making the avd Sep 04 07:30:37 because i dont have that Sep 04 07:30:50 just like.. create a new virtual device.. picked nexus 7 Sep 04 07:31:01 I've been told its only the first time you make it.. I have to go through that Sep 04 07:31:06 which is fine.. the only problem is.. Sep 04 07:31:19 Final test... to dim the screen put your hand on the device.. Sep 04 07:31:22 !!!!!!!!!!!! Sep 04 07:32:12 take a screen shot of your avd Sep 04 07:32:18 avd manager* Sep 04 07:36:36 http://i61.tinypic.com/2wmgrdh.png Sep 04 07:37:48 is there a reason your targetting android wear Sep 04 07:38:14 No other than I used it before like half a year ago, no.. no reason Sep 04 07:38:16 hello, any way to disable soft-keyboard programmatically? It keeps showing up after dialog, and I have no idea why. Sep 04 07:38:37 there is vegetablesalad.. I just dont remember how.. its easy.. google it Sep 04 07:38:45 then change your target to android l Sep 04 07:38:47 not wear Sep 04 07:38:52 hmm Sep 04 07:39:04 thats probably your problem. Sep 04 07:39:33 vegetablesalad19: http://lmgtfy.com/?q=android+hide+soft+keyboard+programmatically Sep 04 07:40:19 desmin88, thank you, but I know how to hide it. But I need a way for it to not show at all Sep 04 07:41:04 http://lmgtfy.com/?q=android+prevent+soft+keyboard+from+popping+up Sep 04 07:41:07 ok now im being a dick Sep 04 07:41:12 but that really wasnt difficult Sep 04 07:42:28 I got 2 picks in 'CPU/ABI' .. Android Wear Intel Atom (x86) which is the current one.. and Android Wear Arm (armeabi-v7a) Sep 04 07:42:56 that means you need to go into your sdk manager and download the right ones Sep 04 07:43:24 thought I had gotten all I needed from that. .will take a look Sep 04 07:44:46 hmm not sure what I'm looking for here.... Sep 04 07:45:04 got the latest tools installed Sep 04 07:46:06 http://developer.android.com/sdk/installing/adding-packages.html Sep 04 07:46:41 have those Sep 04 07:46:56 no you dont Sep 04 07:47:08 take a picture of your sdk manager Sep 04 07:48:42 Will Google ever fix the APIs so that XML attributes all have java equivalents :'( Sep 04 07:49:08 oh wait, just a documentation fail >_> Sep 04 07:49:08 they do Sep 04 07:49:38 http://i58.tinypic.com/xnxbbn.png Sep 04 07:50:22 P3nnyw1se: Try changing your target in avd Sep 04 07:50:25 rather than cpu/abi Sep 04 07:50:32 lower API? Sep 04 07:50:43 no Sep 04 07:51:03 Do you see how android wear is different from android l Sep 04 07:51:43 the thing is I dont see android l anywhere Sep 04 07:52:08 Your sdk manager shows you have android images installed Sep 04 07:52:40 wait... think I''m getting somewhere Sep 04 07:53:06 got 4 targets now under Android L.. to pick from Sep 04 07:53:49 I go for ones of those 'tv' editions? Sep 04 07:54:27 no Sep 04 07:54:33 are you making an app for a tv Sep 04 07:54:52 yeah lets you translate memories directly to a monitor Sep 04 07:54:54 no :/ Sep 04 07:57:42 óh god.. my AVD freezes now whenever I try to select a CPU target.. well time for a boot I suppose Sep 04 08:05:22 Does anyone know anything about the new Samsung Rich Notification sdk? Sep 04 08:06:37 hey Sep 04 08:06:45 can I pre-inflate a layout from another activity? Sep 04 08:07:22 c03 pre-inflate ? Sep 04 08:07:33 I'm not experienced so my answers might be incorrect, but you can pass data along between activities Sep 04 08:07:34 oh hey StingRay_ , yeah, I need the sizes of different views Sep 04 08:07:36 thats like saying can i pre-turn this switch on Sep 04 08:07:42 Hey, anyone mind reading a couple of bullet points from a resume I am writing? Sep 04 08:07:45 I have a splash screen Sep 04 08:07:49 They seem awkward. Sep 04 08:07:50 that needs to load data Sep 04 08:08:04 for the next screen, but the data load needs the sizes of the layouts from the next screen Sep 04 08:08:20 isnt it fixed? Sep 04 08:08:27 but the views in the next screen won't have concrete sizes before they're inflated. Sep 04 08:08:46 c03: other than the fact that splash screens are fundamentally evil, yes you can Sep 04 08:08:50 low practical question but cant you just set the next screen the size of the splash? Sep 04 08:08:52 nop, I use fixed sizes for some of the layouts and weights for the others. Sep 04 08:09:02 c03 well you can inflate them, but if the sizes are not fixed you need to get it to onLayout Sep 04 08:09:10 well, I would pass it along between activities.. read the sizes and pass them on Sep 04 08:09:14 but I'm probably wrong Sep 04 08:09:53 StingRay_: i loved that analogy Sep 04 08:09:54 bravo Sep 04 08:09:55 c03: inflate and layout the views to an off-screen buffer and use those sizes, but throw that layout away rather than worry about communicating it to the next activity Sep 04 08:10:22 c03 have to admit though, when devs say what you just did, I sometimes thing the design needs to change :) For the users sake Sep 04 08:10:32 Anyone working with AltBeacons? Sep 04 08:10:36 hmm =/ Sep 04 08:10:38 I cant believe everybody hates splash screens.. clearly you were not a kid of the early 90s... late 80s.. when all the arcade machines would have awesome introes Sep 04 08:10:45 you use those introes to get pumped up for the game Sep 04 08:10:46 I'd like some clarification on the concepts... Sep 04 08:11:10 P3nnyw1se: when's the last time an app's splash screen got you pumped? Sep 04 08:11:35 fair point... but new splash screens are boring.. just company logo etc. Sep 04 08:11:35 lol Sep 04 08:11:39 I think it's in the users interest to see a splash screen instead of loading images popping up at seemingly random times Sep 04 08:11:42 splash screens are actually fine for many reasons, but not fine for others, such as loading data Sep 04 08:12:00 yeah dont use them as delays Sep 04 08:12:02 anyway, that's another discussion and one you will have to take with my designer ^^ Sep 04 08:12:10 splash screens need to be like the princess being kidnapped and Mario finding out the problem Sep 04 08:12:12 Also lots of splash screens don't exist because there's a genuine need to load data from your cassette, they're there because the company says "We should show our logo now for five seconds" so you just have some stupid delay Sep 04 08:12:47 in old days they used splash screens as story tellers, while displaying company information ... Sep 04 08:12:48 man I'm old Sep 04 08:13:03 Fortunately we've moved into an era of flash storage Sep 04 08:13:19 Android powered devices are generally fast enough not to need a splashscreen though, would be annoying to have to wait while you shouldn´t actually have to wait Sep 04 08:13:58 unless its a story telling splash screen... mainstream movies destroyed story telling for everyone Sep 04 08:14:02 we just want the action right away Sep 04 08:14:28 Even iOS which actually has proper splash screens insists that it's just a static image of the app's first page in a loading state Sep 04 08:14:30 so.. inflate the layout for the next screen, pass it in a bundle to it, to re-use it.. sounds only semi-dumb ^^ Sep 04 08:14:31 your glasses are rose colored Sep 04 08:14:39 if Angry birds didn't have splash screens.. I would have no clue what they were angry about ... Sep 04 08:14:42 haha Sep 04 08:14:47 c03: don't pass it in a bundle, there's no point Sep 04 08:15:06 how would you then? Sep 04 08:15:17 Just inflate it a second time in the activity? Sep 04 08:15:19 c03 whats in the bundle ? and pass to what ? Sep 04 08:15:32 but inflation is performance intensive, isn't it? Sep 04 08:15:38 Not /that/ performance intensive Sep 04 08:15:39 c03 views are context bound Sep 04 08:15:39 the inflated view Sep 04 08:15:46 so I won't have to inflate it again Sep 04 08:15:53 oh, bollocks.. Sep 04 08:15:55 P3nnyw1se: game loading screens is not generally what people are upset about when mentioning splash screens I think Sep 04 08:16:07 Hi. Anyone knows why creating a Notification with the Builder doesn't show up? (I'm starting it from a service) However if I use the deprecated Notification constructor it does show. Here's the code: http://pastebin.com/nuMw3rmi Sep 04 08:16:25 P3nnyw1se: more likely it is about company logo on solid color background for no good reason.. Sep 04 08:16:48 actually I just thought of an idea Sep 04 08:16:51 c03: why exactly do you need the sizes of the layouts anyways Sep 04 08:16:54 thanks once again guys ^^ Sep 04 08:17:14 skulltower: it's a pretty empty notification? Sep 04 08:17:16 we backend cache our images for specific sizes Sep 04 08:17:25 I agree we lost touch with the importance, of zooming into a city.. zooming into the sewers.. and seeing the 4 turtles jump up!!! HEEEEYAAAAA Sep 04 08:17:28 before game starts Sep 04 08:17:50 lol Sep 04 08:18:27 skulltower: you should use the .setContentTitle().setContentText().setSmallIcon() methods on the builder, then build it. Not set the tickertext directly Sep 04 08:18:32 or donkey kong climbing the ladders before you start fighting.. Sep 04 08:18:58 Estel, I've tried that. It still doesn't up. It's empty like that so you wouldn't have to read a lot of code :P Sep 04 08:19:15 skulltower: but you're still calling setLatestEventInfo? Sep 04 08:19:42 Tried with and without it also Sep 04 08:20:24 Also a weird thing is going on when I use the deprecated constructor without setLatestEventInfo it crashes. With it it's ok. Sep 04 08:20:40 Can you paste the code that you tried that uses the Builder methods? Sep 04 08:20:59 P3nnyw1se: but that takes time away from showing ads or pushing in-app purchases ;) Sep 04 08:21:07 Alright sec Sep 04 08:21:26 appel1: cynic... Sep 04 08:22:00 Estel, http://pastebin.com/TPsbp8yV Sep 04 08:22:04 I am getting a window leaked exception on a dialog which finishes the activity Sep 04 08:22:13 but in the on click handler I do dialog.dismiss(); finish(); Sep 04 08:22:19 so this shouldn't happen, should it? Sep 04 08:23:42 my AVD is still starting btw desmin88.. been 25min now Sep 04 08:23:49 sorry just device not avd Sep 04 08:24:38 You think it´s starting P3nnyw1se but it´s probably a splashscreen, enjoy! Sep 04 08:24:51 its a really boring one if thats the case Sep 04 08:25:02 and its not making me buy android Sep 04 08:25:13 P3nnyw1se 25 min ?? Sep 04 08:25:35 yes, I started AVD and started a device.. 25 minutes ago.. thats still in process of opening.. 'android Sep 04 08:25:39 going over the screen Sep 04 08:25:55 are you choosing an unsupported/official image ? like android L ? Sep 04 08:26:03 .... Sep 04 08:26:14 skulltower: what API version are you on? Sep 04 08:26:14 yeop using Android l Sep 04 08:26:17 and using hardware accel ? Sep 04 08:26:36 use kitkat, unless you have some compelling reason for L Sep 04 08:26:39 Estel, I've tried this on 2 devices now same behaviour Sep 04 08:26:56 versions 4.4.4 Sep 04 08:27:01 I had s crazy problem earlier StingRay and desmin88 asked me to use android l Sep 04 08:27:09 and 4.1.2 Sep 04 08:27:11 P3nnyw1se no… tis beta preview Sep 04 08:27:20 and a bad choice for dev Sep 04 08:27:41 unless there was some compelling reason for L, it's pretty pointless Sep 04 08:27:56 okay.. but check this out then.. and tell me if you see a problem ;) Sep 04 08:27:58 http://i61.tinypic.com/2wmgrdh.png Sep 04 08:28:06 specifically on the device Sep 04 08:28:43 android wear ? Sep 04 08:28:54 on intel ? sweet lol Sep 04 08:29:07 when I startup a device I need to follow a quick guide of how to learn your device Sep 04 08:29:15 which end up in it wanting me to put my palm on the screen Sep 04 08:29:19 which... no need to say Sep 04 08:29:28 looks stupid when I put my hand on the laptop monitor Sep 04 08:29:30 and has little effect Sep 04 08:29:36 you doing a wear only app then ? Sep 04 08:30:05 also there will be controls for such things either in the hardware panel or by adb wm/am/im etc Sep 04 08:30:06 I only get 2 options when using API 20 .. android wear x86 .. or andread wear arm Sep 04 08:30:06 ? Sep 04 08:30:35 skulltower: make sure you set an icon Sep 04 08:30:39 but you are doing an android wear app ? you want a watch emu right ? Sep 04 08:31:02 skulltower: like it says on http://developer.android.com/training/notify-user/build-notification.html, a small icon, title and detail text are all mandatory Sep 04 08:31:22 Ahh Sep 04 08:31:24 no I dont Sep 04 08:31:37 Estel, you're absolutely right. It works with an icon. Found a similar answer on stack just now Sep 04 08:31:37 P3nnyw1se so what are you doing with an android wear emu ? Sep 04 08:31:38 I find the watches to be as stupid as google glasses Sep 04 08:31:41 Thanks :) Sep 04 08:31:45 I dont have any other selections Sep 04 08:31:54 download images for 4.4.2 Sep 04 08:32:02 then have an actual standard device setup Sep 04 08:32:27 you can have HAXM enabled and grab the intel image and it will fly ;) Sep 04 08:32:39 haxm where do I find that.. I need it Sep 04 08:32:40 badly Sep 04 08:33:23 just grab the intel api 19 image Sep 04 08:33:40 then in the sdk manager I think haxm support is there optional Sep 04 08:34:23 Installing HAXM through the SDK manager only downloads an installable to the SDK directory Sep 04 08:36:02 everything is a mess atm.. I selected the intel api 19 image.. and before it downloads my SDK manager attemps to install it.. and says 'no url c:\program files(x86)\android\yada yada Sep 04 08:36:10 and fails Sep 04 08:37:19 P3nnyw1se lucky thats all user/consumer level stuff to solve Sep 04 08:37:21 :) Sep 04 08:37:44 I get frustrated and my lack of solving skills drop Sep 04 08:37:49 I wouldnt be able to change timezones on my pc atm Sep 04 08:38:11 * VnM hugs P3nnyw1se Sep 04 08:41:47 and so even though I work in IT support when I dont attempt to learn to program.. I had forgotten all about UAC Sep 04 08:43:02 ¨Have you tried turning it off and on again?¨ Sep 04 08:43:47 * P3nnyw1se slaps VnM Sep 04 08:43:57 :( Sep 04 08:44:40 if you write a helpdesk case.. I will prioritize it depending on urgency... in reality this means if you do me favors I will handle it after lunch, and if I dont like you.. we are looking at november Sep 04 08:45:10 Sounds legit! Sep 04 08:45:44 This is not even a joke, I was told by a section at my work, mostly like a handyman department.. to keep my hands off their candy bowl Sep 04 08:45:50 3 days ago... trust me they regret that decision already Sep 04 08:46:02 Im petty Sep 04 08:46:13 Haha Sep 04 08:48:31 actually in class right now.. test driven development.. he just wrote on the blackboard... 'test case.. buy beer at supermarket... buy beer at bar...' Sep 04 08:49:08 Ah I remember TDD, didn´t like it much Sep 04 08:49:18 FIGHT Sep 04 08:50:47 Need to remember not to go out drinking with Estel unless I´m out to find trouble Sep 04 08:51:08 danish, btw.. but international class, our teacher though has such a thick danish accent.. that only the danes understand his english Sep 04 08:51:19 should record him talk and put it on youtube Sep 04 08:52:12 StingRay_ I'm told by the exe file, I cant install HAXM.. untill I turn on VT-x ? Sep 04 08:53:48 will take a look in bios.. seems like thats where to go Sep 04 08:55:10 What operation system are you running? Sep 04 08:55:47 win 8.1 x64 Sep 04 08:55:49 If it´s a professional version of Windows, do you have Hyper-V enabled? Sep 04 08:55:54 enterprise Sep 04 08:55:57 and most likely yeah I do Sep 04 08:56:23 can't switch that off. .work pc.. nevermind got a nexus 7 real device back home Sep 04 08:56:28 will start using that instead of avd Sep 04 08:56:38 I believe you have to switch it off for VTx to work Sep 04 08:57:01 yeah found an article about it, just gonna go physical Sep 04 08:57:56 I think Genymotion will still work even with Hyper-V enabled, plus Genymotion is faster than the standard Android emulators anyway Sep 04 08:58:46 In fact I´m sure it does because I have Hyper-V enabled for Windows Phone development and still manage to open Genymotion emulators Sep 04 08:59:16 I should do more WP stuff.. Sep 04 08:59:18 So look into that if you really want to use an emulator, real devices are generally best choice though, saves a lot of time and frustration Sep 04 08:59:59 yeah I already knew using the buildin AVD was a bad choice Sep 04 09:00:03 Emulators are nice to fill in the gaps for Android versions you don´t have access to in physical form Sep 04 09:04:42 Is there a background-size equivalent in android? Sep 04 09:04:55 Or do I have to clip the image manually ? Sep 04 09:05:51 equivalent to what ? Sep 04 09:06:31 scew this, my avd is still trying to start.. done with avd Sep 04 09:06:50 P3nnyw1se 4.4.2 emu ? Sep 04 09:07:10 intel image ? Sep 04 09:07:11 yeah this time it is.. no haxm though.. still should be able to start Sep 04 09:07:14 and yeah intel image Sep 04 09:07:19 been trying to start for 7-8min Sep 04 09:07:29 oh then dont run intel image Sep 04 09:07:40 run arm if with gpu acl Sep 04 09:07:49 hmm Sep 04 09:07:50 You could use a fullscreen ImageView as background, ImageView will probably have the option you want Mrdarknezz, either that or sort the image yourself and add it as background property to the main Layout Sep 04 09:07:55 arm for 4.4.2 Sep 04 09:07:57 ? Sep 04 09:08:03 VnM: It's in the navigation drawer Sep 04 09:08:21 P3nnyw1se yes Sep 04 09:08:58 Not all too familiar with navigation drawers, can´t you make a custom layout for those? Sep 04 09:09:14 VnM: Not sure yet Sep 04 09:13:22 YOU SHALL NOT PARSE!... downloading arm... ZzzZz Sep 04 09:21:50 Looks like nothing happens when I getLayoutInflater().inflate(...) a view Sep 04 09:22:04 I pass null as it's container Sep 04 09:23:02 I would like to inflate the view merely for it's sizes Sep 04 09:31:48 in logcat i have isDataSchedulerEnabled():false - should i be worry about it? Sep 04 09:31:55 it shows as error but does nothing Sep 04 09:34:32 c03 as I said, if the sizes are conditional to both device and content, you would need to actually give it everything and capture it onLayout or something like that Sep 04 09:34:37 or thats my guess Sep 04 09:34:54 but if you say what/why maybe there is a better design for it Sep 04 09:35:36 if I remove the first item from my ArrayAdapter, and then do a notifyDataSetChanged (this is all in getView), it immediately appears to call getView with position 1 and so on, which fails at some point because my list size has reduced so I get a java.lang.IndexOutOfBoundsException Sep 04 09:36:26 kitallis cause you removed it direct from the listViiew ? and not the backing data ? Sep 04 09:39:06 StingRay_, there is not backing data, I think, I just call remove(getItem(position)) Sep 04 09:40:05 so when the adapter does, getCount() what exactly is it counting if there is no backing data? Sep 04 09:49:23 StingRay_, not quite sure what backing data means, remove(getItem(position)) should clear the object off the list Sep 04 09:49:39 anyone using google analytics? Sep 04 09:49:50 StingRay_, infact the getCount() result is correct, it shows me the reduced size correctly, but the position starts from 1 onwards Sep 04 09:50:46 so, list of 2 items --> remove(object on position 0) --> notify change --> get count is 1 item, position is 1 (instead of 00 Sep 04 09:50:52 s/00/0) Sep 04 10:00:15 StingRay_: back from lunch. I need to fetch images for specific sizes, the sizes of the layouts Sep 04 10:00:26 and I would like for those images to be loaded before the view is shown Sep 04 10:00:53 hence handling the download on the splash screen Sep 04 10:06:23 kitallis: don't change the dataset in getView Sep 04 10:06:59 It's called in a loop, and getCount is likely cached locally Sep 04 10:08:35 Hey everyone. Need a little advice with the developmentPayload token on in-game buys... Reading have found to generate it using user id, but not sure about it... Thanks in advance :) Sep 04 10:09:09 Hello! I use universal-image-loader in GridView and have some problem. I need load images to ImageView background and use loadimage function with onLoadingComplete listener. But images load async and i have bad result :) Sep 04 10:09:26 SimonVT, had a feeling that was the problem, trying Sep 04 10:10:28 As I understand, if use displaImage function all will be alright, but how tell UIL about set bitmap to background not to image source? Sep 04 10:42:41 SimonVT I may have asked this previous, but can I set null background on the drawer ? or is there some tech reason thats not poss ? Sep 04 10:42:57 in over mode obviously Sep 04 10:50:31 how do i set an @ symbol in a textview Sep 04 10:50:33 in xml? Sep 04 10:50:49 seeing as @ is used for referencing Sep 04 10:50:59 and using the html version makes it cry Sep 04 10:52:32 for first character? can just \@b Sep 04 10:52:33 nvm dun goofd Sep 04 10:52:39 -b Sep 04 10:52:41 \@ Sep 04 10:53:11 looks like a dude waving Sep 04 10:53:28 HEY CANVS2312 \@ *waves* Sep 04 10:57:50 StingRay_: then you'd be able to see the content behind it Sep 04 10:57:57 But it should be possible Sep 04 10:58:29 the whole point is seeing the content :) Sep 04 10:58:49 but I mean there is no tech issue why..erm…that would be an issue ? Sep 04 11:03:08 I don't believe so Sep 04 11:05:30 Not sure how hardware layers behave with transparent layers Sep 04 11:13:15 it's fine Sep 04 11:13:38 the hardware layers are RGBA anyway, so it doesn't really differ, null is a totally valid background Sep 04 11:14:38 hi guys Sep 04 11:14:40 Mavrik would not be null, I just mean nulling where SimonVT sets it Sep 04 11:14:58 it will be an ARGB fill Sep 04 11:15:51 Um, I don't really get what you wanted to say now :) Sep 04 11:16:40 dont matter, if you say it will be fine..should be, not doing anything crazy :) Sep 04 11:19:21 hi, does anyone have experience with tradefederation? Sep 04 11:21:47 i did test @ ~6k points on AndroidPlot(6.1.0) and AChartEngine(1.1.0) but neither of them able to handle that much data. what shall i do. actually this is the minimum data that is to be handled. their lots of more to handle. looking for suggestion and experience. Sep 04 11:22:24 kuldeepdhaka 6k points? how are you displaying this ? Sep 04 11:23:15 cause I was not aware of a 6k display on a phone yet ? so why would you want to ? subpixel accuracy ? :) or am I missing something ? Sep 04 11:24:12 hmm Sep 04 11:24:17 kuldeepdhaka, calculate an average per 200 entries and display that as 1 point Sep 04 11:24:22 seems to be a mass of people wanting to draw/plot more that a display can…well display Sep 04 11:24:25 why the hell does it take 5 seconds for Google Maps to add 120 markers Sep 04 11:25:15 Hey everyone. Need a little advice with the developmentPayload token on in-game buys... Reading have found to generate it using user id, but not sure about it... Thanks in advance :) Sep 04 11:25:41 data is generated from a equation that user enters (using jni muParser to calculated data) Sep 04 11:26:19 kuldeepdhaka, then trim that data like i suggested? Sep 04 11:26:20 showing 200 points in 1 means: 30 points that would be useless ? Sep 04 11:26:29 lol Sep 04 11:26:29 well Sep 04 11:26:36 6k points kills ur app? Sep 04 11:26:48 yes, cannot zoom Sep 04 11:27:06 then segment it somehow Sep 04 11:27:16 the further you zoom, the more it shows Sep 04 11:27:25 lazy load in chunks or something Sep 04 11:27:33 or at least for display purposes Sep 04 11:29:44 another problem: waveform will be come wreaked? when points decrease Sep 04 11:30:20 something like lines connecting points and the data is to be send to a device that will convert the points graph to voltage (using DAC) Sep 04 11:31:03 kuldeepdhaka you have loads of options, but no mobile display currently can display a line with 6k points, there aint enough pixels… so it's a bit odd to even try Sep 04 11:31:31 so yes maybe do 1920 points in a 1920 display :) Sep 04 11:31:59 also you can do blocks and tangent evaluation to strip useless data if needed Sep 04 11:32:23 Anyone know which ad networks are being used by games such as "Make it rain" or "Flappy Bird"?? I'm developing a game and I want to release it as free game with ads, but I don't know what would be the best ad network to use. Thanks! Sep 04 11:33:03 course on full view and fine view as user zoom seems to be good idea. but the stated libraries support that? Sep 04 11:34:47 StingRay_, hum, good idea "do 1920 points in a 1920 display :)" Sep 04 11:35:07 well only if those points do something Sep 04 11:39:45 i also though that directly using OpenGL to plot data in native activity (or just the specific plot library in JNI) could help. any suggestions on this? Sep 04 11:41:09 it's funny how people often think they can just throw untold amounts of complex data into their app and it will somehow magically cope Sep 04 11:41:12 :p Sep 04 11:41:46 ravilov, ? Sep 04 11:42:59 When click on the back button. My fragment is removed but the app doesn't return to the previous activity. It just removes my fragment out of my container.. Sep 04 11:43:23 this is how I create them Sep 04 11:43:23 http://pastebin.com/pfjYgKtm Sep 04 11:43:46 ravilov, though i dont know anything about this (but its just a matter of time and headache). as the Android docs says " games (or game like)". just thought could be useful Sep 04 11:47:09 Click66 replace is a transaction, you add a tag that relates to a transaction to the stack…but you dont use the tag when "replace" Sep 04 11:48:20 StingRay_: What do you mean, because I don't get it. Do I need to add the tag to the replace to? Sep 04 11:48:33 kuldeepdhaka, if you want to go balls to the wall, do the graph using the NDK Sep 04 11:48:42 Click66 yes Sep 04 11:48:50 and render on an OpenGLES surface Sep 04 11:50:09 kevel1, :) Sep 04 11:50:11 hi guys - I'm a beginner to android. I'm trying to build a UI inspired by the clean AirBNB design. I'm wondering about the UI elements like dropdowns, buttons, etc. What is the state of the art in Android design there - is it creating shape drawables by hand or using some SVG (from PSD designs) ? Sep 04 11:50:22 StingRay_: I just did, but then I still need to press 2 times to go to the previous activity. Sep 04 11:50:26 hi. what's the best way of adding header and footer to ExpandableListView? Sep 04 11:50:39 StingRay_: Do i need to override the onBackpressed? Sep 04 11:50:43 and there pop the backstack? Sep 04 11:50:58 stumped on this. with this code http://pastebin.com/qjn1qziP onListItemClick is not being called. any ideas? Sep 04 11:51:49 sandGorgon depends on what they are…as in how best to achieve them Sep 04 11:52:25 StingRay_, oh - I didnt know that . Could you give me a few examples, so that I can go and google for them. Sep 04 11:53:10 Thank you kevel1 StingRay_ for the valuable suggestions :) Sep 04 11:53:15 well, bitmaps allow total control, but you have to account for different screen metrics, and with complex drawables using things like 9patch are not great Sep 04 11:54:05 if simple enough then I would always opt for either shapes or custom drawables, fast clean easy once created, no storage space, res independent Sep 04 11:54:18 How do you get the transparent actionbar like in google play? Sep 04 11:55:29 StingRay_, absolutely ! so I understand that for things like buttons - shape drawables are the best. Looking at PSD design templates like this - http://java.dzone.com/articles/flat-ui-kit-android , I see a lot of elements like toggle bars, seek bars, etc. Would it mean that all of them are achieved by shapes/custom drawables ? Sep 04 11:55:45 Mrdarknezz, you can set the actionbar to overlay the main content Sep 04 11:55:57 Mrdarknezz, then as you scroll, change its alpha level Sep 04 11:56:01 (im guessing here) Sep 04 11:56:24 sandGorgon from that template there is nothing there that would be anything other than runtime generated for me neways Sep 04 11:56:53 sandGorgon, anything is achievable, it just depends on how much time you invest in it Sep 04 11:57:40 sandGorgon all of them seem like …well.. put it this way, I'm more of an art guy than programmer, and I would do them as drawables :) Sep 04 11:57:48 as in onDraw() Sep 04 11:57:56 so that should tell you something Sep 04 11:58:50 so combo of xml drawabes and custom drawables based on what it is I wanted Sep 04 11:59:47 kevel1: Do you know what min api level that requires Sep 04 12:00:22 StingRay_, oh.. ok. I'm willing to go full hand generated drawables. now when I search for "shape drawable seek bar android" I dont get a lot of official documentation... just a lot of stackoverflow examples. would that be the realistic way of learning how to do this ? or am I missing something Sep 04 12:01:13 sandGorgon well out of all the android components I think seekbar is the worst to customise Sep 04 12:01:29 but then look at it simply as 3 shapes and 1 mask Sep 04 12:01:41 and it becomes pretty easy to do yourself anyways :) Sep 04 12:03:31 sandGorgon: If you use android studio there is a plugin that can generate those for you with desired colors Sep 04 12:03:37 StingRay_, :( yes unfortunately for a new android developer that's a little too abstract. I'm able to build fully functional, ugly apps quickly... but finding it difficult to build beautiful Android UI elements... especially using hand vector drawables. What little documentation is there, always leads to 9-patch (which is more than what a lone developer wants to handle) Sep 04 12:04:09 Mrdarknezz, do you mean a plugin that generates shape drawables ? can you let me know which one ? Sep 04 12:05:10 sandGorgon: Android Holo Colors Genrator Sep 04 12:06:12 sandGorgon: you can find it if you click "Browse repositories" in the plugins menu Sep 04 12:07:53 Mrdarknezz I think the piont was he doesn't want stock, or simply stock with different colors Sep 04 12:07:57 point* Sep 04 12:08:41 morning Sep 04 12:08:42 StingRay_, - yup . Also *it seems that* the Holo Colors Generator uses 9-patch images.... not shape drawables. Sep 04 12:08:53 I'm developing an hybrid app with offline support Sep 04 12:09:13 "morning" Sep 04 12:09:24 however, when starting the app while offline, I always get Application Cache Error event: Manifest fetch failed (-1) Sep 04 12:09:34 Estel: universal greeting time, it's 14:09 here :) Sep 04 12:10:16 Hello, CEST! Sep 04 12:10:33 :D Sep 04 12:11:07 StingRay_: That one generates stock ones with different colors Sep 04 12:11:39 stefancrs: when you say "hybrid app", what does that mean? Sep 04 12:11:51 Hey there! Im having issues with adding fragments to layouts: i want to add two instances of the same type to two different layouts http://pastebin.com/Edd3MhRv Sep 04 12:12:16 but the fragment is added to the second layout twice instead... Sep 04 12:12:19 anyone got an idea? Sep 04 12:14:18 So R.id.fragment1 has no contents and R.id.fragment2 has two fragment instances in a stack? Sep 04 12:15:05 Leeds: most of it is an web app running within a webview, but some parts are native Sep 04 12:15:06 yes, they are drawn twice in the second layout Sep 04 12:16:40 Estel: do you have an idea? Sep 04 12:18:18 Saabzero: nope. Check that them being instances of the same class is a red herring: swap one of the ShutterFragments for another fragment? Sep 04 12:19:00 okay, will try... thx Sep 04 12:19:05 and now, each time I launch the app (Run App in Android Studio), it insists on "Waiting for Debugger", what the frack? :) Sep 04 12:20:56 *rebooting phone* Sep 04 12:24:32 hi! anyone here knowing something about webViews? Sep 04 12:25:00 Yeah Ponsen_ Sep 04 12:25:03 Sadly Sep 04 12:25:04 lol Sep 04 12:25:12 Ponsen_: sure Sep 04 12:26:25 I know that they're EVIL Sep 04 12:26:50 :D Sep 04 12:26:58 wohoo! okay, so here it goes: i'm heaving a crossWalk webView, showing webcontent from the local storage (e.g. /data/data//files/web/index.html). i want to debug that with chrome (tools -> devices). it's working fine with external urls, but nothing is shown, when i call that lokal content Sep 04 12:27:27 we should really introduce a "queue" system here, if you're not smart enough to actually ask your question right away, you are moved to the back and/or are not allowed to talk for the next 10 minutes Sep 04 12:28:00 no more "anyone can help me", "anyone know this or that" and similar Sep 04 12:28:16 sorry. took a bit to type^^ Sep 04 12:28:24 Ponsen_: those files are application private Sep 04 12:28:39 can i change the permissions somehow? Sep 04 12:28:41 Estel: i think you are right... it is working if they are not from the same class. This is weird to me Sep 04 12:28:50 Ponsen_: no Sep 04 12:28:54 -.-" Sep 04 12:28:55 Ponsen_, for the sake of simplicity, the answer is: NO Sep 04 12:28:58 Ponsen_: why not use the WebView debugging? Sep 04 12:29:02 and you should never attempt to anyway Sep 04 12:29:14 Estel: this IS webview debuggin. no? Sep 04 12:29:28 this is what shared storage is for Sep 04 12:29:46 Ponsen_: you're using the Google Chrome application? Sep 04 12:29:51 yeah... I kinda don't want to make that public Sep 04 12:30:12 Estel: yeah. newest chrome for ubuntu Sep 04 12:30:18 you can either have it fully accessible or fully private Sep 04 12:30:25 the choice is yours Sep 04 12:30:46 I have a question on app lifecycle. My app has one activity which records camera on other thread. When user press Back, onPause() shall follow, then onStop() and onDestroy() because I call finish() (and also super.fisnih() in onPause() Sep 04 12:31:00 How come it gets stuck in onPause()? Sep 04 12:31:08 Ponsen_: okay sorry, I think I misunderstood your question Sep 04 12:31:09 revilov: that's a bummer. is it possible to get the console output and publish it an the webview. so i don't have to use logCat? Sep 04 12:31:10 sometimes onStop and onDestroy get called and it;s all roight Sep 04 12:31:17 but sometimes nothing happens after onPuase() Sep 04 12:31:32 and i get Camera frame wait timed out Sep 04 12:31:59 it's not very deterministic... Sep 04 12:32:05 Ponsen_, use setWebChromeClient(new WebChromeClient() {} and override onConsoleMessage, log cm.message, cm.lineNumber, cm.sourceId to log the Javascript from your WebView Sep 04 12:32:08 adding an edittext to my layout, i get the following error: Exception raised during rendering: java.lang.System.arraycopy Sep 04 12:32:18 solution at stackoverflow says to switch from API 20 to API 19 Sep 04 12:32:22 as seen in this picture: http://i.stack.imgur.com/y0pCs.png Sep 04 12:32:29 but the problem is, i dont have the option of 19, just 20 Sep 04 12:32:41 how do i get through this? Sep 04 12:32:44 thanks, VnW. i'll give it a try Sep 04 12:32:45 dianull: you're calling finish() in onPause() ?? o_O Sep 04 12:32:48 LighterFluid download it Sep 04 12:32:58 via android sdk? Sep 04 12:33:14 seriously ? Sep 04 12:33:17 Estel: yes, I want to quit the app Sep 04 12:33:21 however gets you it fastest Sep 04 12:33:24 :) Sep 04 12:33:33 Estel: I need to stop the camera, release it and everything Sep 04 12:33:52 when run in debug mode, I see it just stops in onPause() sometimes Sep 04 12:33:55 and nothing happens Sep 04 12:33:57 no logs etc Sep 04 12:34:07 no crash Sep 04 12:34:10 just nothing Sep 04 12:34:20 and sometimes the flow is correct - onstop, ondestroy Sep 04 12:34:22 dianull, ever thought of using a library? Sep 04 12:34:33 kevel1: library for what? Sep 04 12:34:37 camera Sep 04 12:34:46 I'm using camera api Sep 04 12:34:54 i release it in onDestroy Sep 04 12:34:56 () Sep 04 12:34:57 https://github.com/commonsguy/cwac-camera/ Sep 04 12:35:00 dianull: I'm not sure why you want to quit an activity from onPause()? Sep 04 12:35:07 this will simplify your life Sep 04 12:35:09 Your app can enter onPause for alll sorts of reasons Sep 04 12:35:10 but the problem is it doesnt go to onDestroy() because it stops in onPausE() Sep 04 12:35:22 Ponsen_: using Chrome remote debug should work just fine for local files Sep 04 12:35:40 it *does* go to onDestroy() when it needs to, the fact it didn't means it didn't decide it's finished yet Sep 04 12:35:41 Estel: it's not the problem. the problem is why it sometimes stucks in onPause() and doesnt finish() properly Sep 04 12:35:49 (For some reason, I read your question to mean you used Chrome on the device, sorry :/) Sep 04 12:35:52 if you seriously want to terminate your app on onpause, just call finish() Sep 04 12:35:53 duh Sep 04 12:35:56 ravilov, beat me to it Sep 04 12:36:03 so my calling finish() doesnt mean it will get called unless android os decides it should? Sep 04 12:36:23 it means you are asking the runtime to terminate your app Sep 04 12:36:28 and it will do so at its own convenience Sep 04 12:36:34 oh my Sep 04 12:37:07 well, I need to quit it because after onPause() I keep getting the Camera frame wait timed out and I cannot resume the app (recording) properly withtot finish() Sep 04 12:37:32 because when I come back to the app, without finish(), I get the black screen and those frame wait timed outs errors from camera Sep 04 12:37:41 thats why I want to stop it and release everything Sep 04 12:37:50 that seems like a flaw in your flow, fixing it by disrupting the normal android app lifecycle seems like a bad idea Sep 04 12:37:54 so that user can resume (relaunch) the app Sep 04 12:38:25 ravilov: then how can I fix the Camera frame wait timed out? Sep 04 12:38:30 "oh look, the paints scratched!" "thats ok, blow the car up… we can buy another" Sep 04 12:38:35 it;s not from my app, it's from the camera app somewhere Sep 04 12:38:54 dianull, what exactly are you trying to do? Sep 04 12:38:58 just make a simple camera app? Sep 04 12:39:09 no, not simple Sep 04 12:39:13 did you try using the lib like you were suggested? the lib probably uses the same api you are, but in the right way Sep 04 12:39:26 omg, guys Sep 04 12:39:45 why not focus on my initial problem... Sep 04 12:39:51 dianull: I think people here Sep 04 12:40:11 * sorry I know that's annoying, but I think to people here it sounds like there's an architectural issue with how you're handling the lifecycle? Sep 04 12:40:24 And that "focusing on the problem" is just a bandaid rather than a solution Sep 04 12:40:29 its like hammering a nail using a banana, and not a hammer Sep 04 12:40:33 ok ok Sep 04 12:40:38 I told you *why* I called finish Sep 04 12:40:40 use a hammer Sep 04 12:40:46 dianull, you're asking highly techy people here to help you do the wrong thing Sep 04 12:40:49 not going to happen Sep 04 12:40:56 do you have better ideas for fix Camera frame timed outs if not finish()? Sep 04 12:41:09 ravilov: you're saying that using finish() is wrong? Sep 04 12:41:21 yes I'm saying that kind of approach is wrong Sep 04 12:41:26 Estel: nope, it's not working for local files in the private storage... Sep 04 12:41:29 then why it exists Sep 04 12:41:32 nevermind Sep 04 12:41:39 so what can I do apart from finish()... Sep 04 12:41:54 figure out why it hangs like that and fix the *real* issue Sep 04 12:41:59 why frames keep timed out if app is supposed to be in the paused state Sep 04 12:42:05 don't ask me how, never dealt with the camera api myself Sep 04 12:42:39 well, I couldnt find the answer to it, so I workarrounded it with finish() Sep 04 12:42:49 dianull, maybe its because its trying to draw a frame to a disposed surface or something. Sep 04 12:42:52 VnM: tried to override onConsoleMessage, but realised: i'm not using the native webView. I'm using CrossWalk, but couldn't find anything to get the messages. they're popping up in logCat just fine, though. Sep 04 12:43:13 kevel1: glsurface.onPause() is called from activity onPause() Sep 04 12:43:20 so it shouldn't wait for frames... Sep 04 12:43:29 are u recording when this happens? Sep 04 12:43:46 Ponsen_: well, I gave it a go for my webview app in genymotion and it definitely does, so in theory it seems supported Sep 04 12:43:52 the thing is I don't want to, I want to stop recording Sep 04 12:43:59 I thought glsurface.onPause() would do it Sep 04 12:44:01 I know that's no help in working out why it isn't for you, but it is supposedly possible. Sep 04 12:44:15 no Sep 04 12:44:23 you just telling the surface to pause Sep 04 12:44:37 the camera is still trying to record Sep 04 12:44:50 Hey all Sep 04 12:45:02 but - if my activity gets onPause(), it shall pause the thread which is recording, right? or not? if thread starts from withing this activity Sep 04 12:45:09 dianull, does glsurface only have onPause()? I would hope it has something more definite, like onFinish(), onDestroy(), whatever Sep 04 12:45:11 then what onPause actualy pause... Sep 04 12:45:28 stop your recorder Sep 04 12:45:31 release your recorder Sep 04 12:45:42 restart your preview Sep 04 12:45:50 Ponsen_, I missed the CrossWalk part, was assuming you had a WebView accessable, maybe the second option in the answer for this question will help http://stackoverflow.com/questions/24482323/viewing-console-log-in-crosswalk-webview Sep 04 12:45:50 reconnect your camera Sep 04 12:45:51 I want to have a view that captures all the touch events, but then pass through button presses etc to the widget underneath it Sep 04 12:46:02 then pause it all Sep 04 12:46:18 kevel1: taht sounds just exactly like lanch the app from the begining. then why I cant just call finish() to quit and relaunch normally... Sep 04 12:46:26 bercause all those things I call in onDestroy() Sep 04 12:46:36 JohnFlux: create a view with an ontouchlistener, return false Sep 04 12:46:41 so I want to to exactly the same things from onPause() Sep 04 12:46:50 dianull, because releasing your resources on onPause and reqcquiring them on onResume is actually the *right* approach Sep 04 12:46:56 whatever you might think of it Sep 04 12:47:00 why! Sep 04 12:47:02 why right.. Sep 04 12:47:10 * StingRay_ is bored Sep 04 12:47:12 dianull, https://github.com/commonsguy/cwac-camera/blob/master/camera/src/com/commonsware/cwac/camera/CameraView.java#L491-L497 Sep 04 12:47:17 just use the library man Sep 04 12:47:22 kevel1: I cant, ok? Sep 04 12:47:32 cant you belive that i cant :) Sep 04 12:47:33 Estel: well, I need to capture the mouse down, capture the mouse up, and then see if the user has moved their finger. If not, send both down and up to the view underneath.. Sep 04 12:47:33 thats a first :| Sep 04 12:47:50 dianull, you need to release resources Sep 04 12:47:55 dianull, nope, I can't Sep 04 12:48:00 well finoish() and quit would release them also Sep 04 12:48:08 maybe with System.exit() Sep 04 12:48:31 dianull, onPause() is called to suspend in activity into the background Sep 04 12:48:44 oh dear lord Sep 04 12:48:45 onDestroy is called when the activity gets destroyed by the OS Sep 04 12:48:47 I'm not much of a programmer but this can't be a serious conversation ? Sep 04 12:48:47 JohnFlux: you're trying to detect a drag? Sep 04 12:48:48 System.exit()? Sep 04 12:48:52 this is only ever getting worse Sep 04 12:49:04 why don't you just force-reboot the device instead? Sep 04 12:49:06 you don't just finish an activity because it gets suspended into the background Sep 04 12:49:10 ravilov: I'm not android dev. I'm cpp dev. Sep 04 12:49:16 I dont know much about android Sep 04 12:49:21 dianull, well that is at least painfully obvious Sep 04 12:49:21 just need to make an app suddenly :( Sep 04 12:49:31 dianull, then heed our warnings and take our advice Sep 04 12:49:34 and dont understand why it works this way Sep 04 12:49:35 for we are android devs Sep 04 12:49:43 this is my occupation Sep 04 12:49:47 *our* Sep 04 12:49:50 Estel: yes Sep 04 12:50:07 JohnFlux: then why not set an onDragListener on your view, and return true? :P Sep 04 12:50:10 Estel: and possibly detect user writting etc Sep 04 12:50:21 thats cool. well, can I just ask a purely theoretical question? Sep 04 12:50:24 dianull I think best thing to do is either listen to the advice you have been given…. or walk away and do it your own way from your own experiences Sep 04 12:51:13 *if* I call finish() from onPause() - nevermind if I should or should not - *why* it _sometimes_ lead to onStop() and onDestroy() and _sometimes_ NOT? Sep 04 12:51:19 Estel: hmm, could I use that for handwriting recognition too? Sep 04 12:51:26 i dont change anything, I just test the app several times Sep 04 12:51:32 and get different results... Sep 04 12:51:48 JohnFlux: tbh if you're doing recognition you'll probably want to do something complicated with onTouch or something fun on a canvas Sep 04 12:51:57 dianull, because the OS decides when to destroy it Sep 04 12:52:08 cause you are asking the system to complete a lifecycle, something it has entire control over Sep 04 12:52:10 dianull, because by doing that you're basically just asking for trouble, so don't be surprised if trouble finds you Sep 04 12:52:11 kevel1: thats the part I cant really comprehend Sep 04 12:52:32 hi guys, am using ContentValues class while inserting values into an sqlite database, am thinking that values.put("column_name", columnValue); am not sure whether this is so, however the issue is that am trying to enter values form a collection into same table and am not sure whether passing similar key into put but with different value workes out Sep 04 12:52:34 Estel: could I use dispatchTouchEvent to create new events? Sep 04 12:52:37 dianull, being of cpp only mind, you won't really be able to Sep 04 12:52:45 any advise is welcome Sep 04 12:53:14 dianull, "The final call you receive before your activity is destroyed. This can happen either because the activity is finishing (someone called finish() on it, or because the system is temporarily destroying this instance of the activity to save space. You can distinguish between these two scenarios with the isFinishing() method." Sep 04 12:53:31 dianull, my best bet is that you have leaking resources or something Sep 04 12:53:49 debug using log cat to see if it even reaches the pause statement Sep 04 12:54:00 and monitor your user interaction and w/e the camera is doing Sep 04 12:54:01 it reaches, but then it stops showing anything Sep 04 12:54:13 it stops showing anything? Sep 04 12:54:14 dianull: does the application stop responding at that point? Sep 04 12:54:26 u telling it to destory, and it stops showing stuff Sep 04 12:54:30 that sounds about correct though Sep 04 12:54:30 looks like it reached the end of calls Sep 04 12:54:48 Estel: it's not in the foreground anymore (its after pressing back) Sep 04 12:54:53 and when i resume it Sep 04 12:54:58 its black screen Sep 04 12:55:01 and doesnt respond Sep 04 12:55:26 ok, anyway Sep 04 12:55:35 i'll try to do it different, without finish() Sep 04 12:55:48 just wanted to know if callind a method if andorid would mean that it gets called Sep 04 12:55:51 apparently not Sep 04 12:55:54 good to know Sep 04 12:55:58 *in Sep 04 12:56:02 sorry for typos Sep 04 12:56:02 dianull: well, which method did you call? :P Sep 04 12:56:08 I'm angry and in a hurry Sep 04 12:56:13 Estel: onFinish() Sep 04 12:56:42 btw Sep 04 12:56:52 whats wrong with System.exit(0)? :) Sep 04 12:56:59 xD Sep 04 12:57:01 doesnt it release things? Sep 04 12:58:00 Ultimately it doesn't do any harm, maybe. Sep 04 12:58:16 But it's not an example of an application that's really built for a mobile platform Sep 04 12:58:32 then why some of you seemed to be so offended by the fact that it was used :> Sep 04 12:58:52 most people (very experienced, that know what they're talking about) say "don't EVER use System.exit()" Sep 04 12:58:56 mobile apps shouldn't need to worry about terminating themselves, or managing memory Sep 04 12:58:57 and why does it exist in the api if it;s not "good" to use it Sep 04 12:59:07 if nothing else, because while you code in java, your runtime is NOT java Sep 04 12:59:24 dianull: because it has the code smell of someone who's used to another platform trying to adopt the wrong paradigm Sep 04 12:59:25 and System.exit() is akin to kill -9 Sep 04 12:59:35 it's just plain ugly with potentially horrible consequences Sep 04 13:00:01 yeah, I exactly wanted to have a nice effect of kill -9 ... Sep 04 13:00:09 seems like its not very android-ish Sep 04 13:00:22 you know what? just go ahead and do it your own way Sep 04 13:00:27 I think on any device it works best to work with a platform rather than against, right? Sep 04 13:00:34 sometimes the best way to learn is to blow yourself up Sep 04 13:00:45 Estel: that's why i'm asking you in the first place Sep 04 13:01:10 to know the enemy better.. Sep 04 13:01:16 xD Sep 04 13:01:49 so apparently cpp devs generally have a very aggressive approach to the development process Sep 04 13:01:56 with the "brute force is the best way" idea Sep 04 13:01:57 so are there other cases for which calling finish() from anywhere is ok? Sep 04 13:02:03 yes, plenty Sep 04 13:02:08 I've used it countless times Sep 04 13:02:11 where appropriate Sep 04 13:02:22 ravilov: you could just stop assuming things about me and my attitude in overall... Sep 04 13:02:47 dianull, it's hard to when you just go out of your way to leave that kind of impression Sep 04 13:03:09 even your last statement validates my assumptions :) Sep 04 13:03:44 dianull: I think it's fair to say that the Android approach is that an application shouldn't be concerned with quitting itself. It should respond reasonably to notifications from the system about what will be done to it, but something like System.exit() is trying to wrest control of the lifecycle back Sep 04 13:04:49 maybe the biggest thing to deal with when doing an android app is that you DO NOT have full control over what all is going on Sep 04 13:04:56 you == your app Sep 04 13:04:59 ravilov: I asked simple questions and instead of maybe hard to understand but reasonable answers I got "dont do that, its wrooong" or the magic phrase "use the library" - what do you thing this makes me think of you, the 'android-devs'? Sep 04 13:05:07 just "use the library", yeah, right Sep 04 13:05:14 just a great answer to all world problems Sep 04 13:05:45 well, if the library contains exactly the solution to your exact problem... people will generally suggest not to reinvent the wheel Sep 04 13:05:46 dianull, at least reference the library... Sep 04 13:06:13 hi Sep 04 13:06:21 Hiii :) I have one question there is a possibility to display menu button on action bar on mobile phone ? Sep 04 13:06:51 I am trying to understand how these 2 flags work together, FLAG_ACTIVITY_NEW_TASK and FLAG_ACTIVITY_CLEAR_TASK passed to an intenrt that starts main activity for me from the login activity Sep 04 13:07:02 ravilov: and what if it doesnt? you just cant throw it as a perfect solution to everyone's problems you dont know better answers for Sep 04 13:07:27 so basically when the user hits back from main activity, i did not want the login activity to come up again. so I used just new_task flag, it did not work/ then just clear_task, again did not. then used both and works fine. Sep 04 13:07:30 ok, rant over Sep 04 13:07:37 dianull, I wasn't the one to suggest using the library anyway, but I do think it could help, so not sure why you're fighting it so hard Sep 04 13:07:44 but like I said, do it your own way Sep 04 13:08:01 no point in bickering Sep 04 13:08:15 ravilov: just what in the world makes you think I'm fighting it? I cant use it because no such lib exists, ok? :> Sep 04 13:08:29 uhhuhh Sep 04 13:08:47 dianull: well you know how it is on IRC, right? Most questions are usually from people with very little experience of Android or development in particular, the first burst of answers always are going to be lowest common denominator, even though it's a shame when that's annoying for the people who don't necessariy need that Sep 04 13:08:48 not like you were given a direct link to the lib itself Sep 04 13:09:20 Estel: I know, I know Sep 04 13:09:22 ravilov: presumably dianull is doing something really custom that happens to use the camera in some way? Sep 04 13:09:26 I'm just on the egde with this android thing Sep 04 13:09:34 anyone? Sep 04 13:09:54 last time I lost several hours thinkig there's a bug in my code but it was only logcat cutting its output and throwing it away Sep 04 13:09:57 oh well Sep 04 13:10:00 shmoon_, a discussion is in progress, is that not obvious? Sep 04 13:10:02 barnie_: kind of, maybe. But the expected behaviour is to hide the menu button on the action bar if the phone has a hardware menu button? Sep 04 13:10:40 dianull, could you at least explain the purpose of your application? Sep 04 13:10:54 so we can get a better understanding as to what you are doing Sep 04 13:10:58 and why you are doing it? Sep 04 13:11:17 I'm using mediacodec to stream a/v live Sep 04 13:11:46 dianull, yeah, I would say it's obvious you're really pissed off at this whole android thing and how it doesn't work they way you're used to things working, but do try to tone it down, no reason to snap at people's suggestions and comments. if you are told your approach might be wrong, and by multiple people, do consider it might indeed be wrong even if you don't understand why or how Sep 04 13:12:41 dianull, https://code.google.com/p/spydroid-ipcamera/source/browse/#git%2Fsrc%253Fstate%253Dclosed Sep 04 13:12:45 theres a reference app Sep 04 13:12:50 ravilov: I do consider it, belive me, I'm quite sure I do it the wrong way, that's why I'm asking, I just dont understand your answers, sorry ;) Sep 04 13:12:51 whats your approach? Sep 04 13:13:01 and sorry for angry tone Sep 04 13:13:17 kevel1: I know it, I read all references I could find in the internet :) Sep 04 13:13:20 dianull, I on the other hand might not be the best at explaining - a killer combo, eh? Sep 04 13:13:23 basically its working Sep 04 13:13:34 ravilov: it is, sorry i will ask after its over Sep 04 13:13:41 dianull, release your resources of the camera when pausing Sep 04 13:13:44 that should fix it. Sep 04 13:14:10 will try it. just let me ask for the last time - you're all sure I certainly should not finish the app from onPause()? Sep 04 13:14:13 really really sure? Sep 04 13:14:14 ;] Sep 04 13:14:23 haha ^^ Sep 04 13:15:11 let me thiYES WE'RE SURE Sep 04 13:15:12 :p Sep 04 13:15:19 ok :D Sep 04 13:15:25 now I'm at peace :) Sep 04 13:15:32 dianull: if nothing else, you could theoretically expect that to result in a loop because it's undefined? onPause is a lifecycle function I'd expect to be called after I call finish() Sep 04 13:15:46 LOOP Sep 04 13:16:10 (*might not actually work this way behind the scenes) Sep 04 13:16:12 you *could* call onDestroy() for your camera thingy from the app's onPause() though Sep 04 13:16:23 and then recreate the camera thingy in onResume() Sep 04 13:16:32 Can I get some people to check out my kick starter preview and give me advice? It's development related I think :D Sep 04 13:16:34 https://www.kickstarter.com/projects/vengeancegames/650524131?token=957d46cc Sep 04 13:16:48 do I have to explicitly call it? isnt it natural flow - onpause->onstop->ondestroy? Sep 04 13:16:51 actually scratch that, avoid calling any on*() directly Sep 04 13:17:04 right Sep 04 13:17:05 most things have other more appropriate methods Sep 04 13:17:23 on*() methods are generally event handlers and are only to be called when said event happens Sep 04 13:17:23 dianull: If the system wants to call onDestroy(), it will precede that with onPause() and onStop() Sep 04 13:17:45 ok Sep 04 13:17:47 But if the system just wants your activity to pause (for example, if you've opened a dialog box or the notification shade), then you wouldn't want that to progress to onDestroy() Sep 04 13:17:48 similarly, you can count on onResume() being called reasonably soon after onCreatE() Sep 04 13:18:20 there is a nice flow diagram of this somewhere on d.android.com Sep 04 13:18:24 TenCashMan get an arty person to do the video Sep 04 13:18:39 Yes, here: http://developer.android.com/reference/android/app/Activity.html#ActivityLifecycle Sep 04 13:18:41 shall I implement onRestart() also or onResume() would do? Sep 04 13:18:52 Video is gonna be redone, but do you have a suggestion of where to find one? Sep 04 13:18:57 I don't think I've ever touched onRestart Sep 04 13:19:04 StingRay_ Sep 04 13:19:31 http://developer.android.com/training/basics/activity-lifecycle/stopping.html from what I understand, it's the only way to get back to app after onstop() but when ondestroy() didnt get called Sep 04 13:19:38 yeah there are some special event handlers that you don't normally need to worry about, onResume would be one of them I believe Sep 04 13:19:43 er Sep 04 13:19:46 onRestart* Sep 04 13:19:54 TenCashMan well you should use a designer of some sort, who would say the video will not attract individuals, and the font/kerning/spacing/safe frames are all out Sep 04 13:20:54 lol, okay, yeah, but how do you propose I fix it? Do you know a graphics guy or a place to find one? I don't have a lot of money to pay for a professional service Sep 04 13:20:54 ok, thanks guys Sep 04 13:21:21 TenCashMan speaking from the point of view of 20+ console games, maybe more… I do like the "idea" Sep 04 13:21:47 gah, navigator.onLine is true when offline in a webview Sep 04 13:21:48 but presentation and art standard lack enough for me to question the project a little Sep 04 13:21:56 shmoon_, your activity is part of a task that might contain several other activities/services/whatever, it itself being part of a process Sep 04 13:21:59 good morning for all. Sep 04 13:22:00 it's complicated Sep 04 13:22:31 Well, I appreciate that StingRay_, if you could maybe find the largest points about the presentation you don't like and drop some feedback on the page? I'd appreciate it a lot :) Sep 04 13:22:34 dianull: I think that it's relatively uncommon that you'd want to handle somethingexplicitly after an activity is hidden, but YMMV etc etc Sep 04 13:23:01 I don't think I've ever touched onStart() come to that :/ Sep 04 13:23:17 TenCashMan well, primary thing is font change, something clear, 2nd thing is "safe frame" google is your friend Sep 04 13:23:32 I was just looking that up too haha Sep 04 13:24:06 Mostly you're talking about the video, StingRay_, is that correct? Sep 04 13:24:06 basically you have 3 quadrants in framing … global safe, actions safe, text safe Sep 04 13:24:11 yeah Sep 04 13:24:28 Okay, cool. Well, I'll out all my effort there then for now Sep 04 13:24:36 I'm an VFX 3D TD so yeah…video… can rip the graphics too if you want :) Sep 04 13:25:03 but video is for the lazy people like me… and it just sits on the wrong side of pleasing :) Sep 04 13:25:43 I really want to make the video better... I just don't have the tools or the prowess to do it. Do you know where I can find someone to help out? Sep 04 13:25:51 I am trying to understand how these 2 flags work together, FLAG_ACTIVITY_NEW_TASK and FLAG_ACTIVITY_CLEAR_TASK passed to an intenrt that starts main activity for me from the login activity Sep 04 13:25:56 so basically when the user hits back from main activity, i did not want the login activity to come up again. so I used just new_task flag, it did not work/ then just clear_task, again did not. then used both and works fine. Sep 04 13:26:58 shmoon_: ravilov gave kind of an answer above? Sep 04 13:27:19 shmoon_: but if you want to keep the login activity hiden, why not use android:noHistory="true"? Sep 04 13:27:21 did he? ok i didnt see, only read theres a discussion going on now Sep 04 13:27:28 In android studio, whats the keybinding to open the preview window? Sep 04 13:27:33 At 21 minutes past Sep 04 13:28:36 Unless you're in a strange .5 timezone Sep 04 13:28:40 Estel: Tok ys, i dontseem to understand that though Sep 04 13:29:07 so lets say i pass just clear_task flag, it should clear that task right ? and the new activity should be the only activity in that task. so back button should not lead anywhere but home screen Sep 04 13:29:11 why doesn't it work like that then ? Sep 04 13:29:17 shmoon_: no, clear_task only works with NEW_TASK Sep 04 13:29:25 according to the documents Sep 04 13:29:52 http://developer.android.com/reference/android/content/Intent.html#FLAG_ACTIVITY_CLEAR_TASK Sep 04 13:30:49 s/ments/mentation/ Sep 04 13:31:10 ok didnt see that Sep 04 13:31:12 alright Sep 04 13:33:30 shmoon_, is your highlighting on IRC not working? :p Sep 04 13:34:12 it is, i just missed that cuz I had switched windows waiting for that discussion to complete :D Sep 04 13:34:24 i thought when there's a pause of a fewmins will ask again hehe Sep 04 13:36:10 StackOverflow's stupid answer ordering is really annoying Sep 04 13:39:05 Estel, go home, you´re drunk Sep 04 13:39:19 :( Sep 04 13:39:23 I agree with that sentiment Sep 04 13:39:27 dConstruct tomorrow \o/ Sep 04 13:39:57 :o Sep 04 13:40:06 You relate that to booze? Sep 04 13:40:26 I remember forever hopeful of open bars Sep 04 13:41:22 Just don´t accept candy from strangers Sep 04 13:45:02 pub time! Sep 04 13:45:20 pub! Sep 04 13:45:23 Does the avd take a LONG time to run? Sep 04 13:45:36 *emulator Sep 04 13:46:01 SohamG 1st run maybe 1-3 min Sep 04 13:46:07 Depending on your architecture, yes. Sep 04 13:46:08 after that no Sep 04 13:47:00 aaahh....i got scared after staring at a black screen for 2min on a decently powerful pc.. Sep 04 13:47:53 SohamG: I have seen it boot for half an hour on a low-end pc... Sep 04 13:49:01 hmm, anyone here familiar with RxJava? Sep 04 13:49:14 Does it depend on GPu or CPU or both? Sep 04 13:49:17 Anyone have much exp running android instrumentation tests on CI? (I am using Travis), I can't find a good solution to ADB not returning useful error codes (returns 0 always) Sep 04 13:49:44 SohamG what is "it" ? Sep 04 13:50:02 boot time of the emulator on fidt go Sep 04 13:50:20 cpu/disk Sep 04 13:50:21 Take a guess. Sep 04 13:51:00 I guess cpu? Sep 04 13:52:03 CPU / RAM / SSD speed Sep 04 13:53:03 SohamG: much faster if running with intel haxm Sep 04 13:53:47 I guess it is running that....i got the atom x86 package...... Sep 04 13:53:48 I think he said yesterday that he has an AMD CPU which means not HAXM. Sep 04 13:53:58 damn Sep 04 13:54:07 I do have an AMD Sep 04 13:54:18 but x86 image should be plenty fast still Sep 04 13:54:23 amd can't have? Sep 04 13:54:25 even though I prefer Genymotion since it's even faster :) Sep 04 13:54:29 haxm Sep 04 13:54:36 "HAXM" is an Intel library Sep 04 13:54:44 guess how much effort they put into making it work on AMD chips ;) Sep 04 13:55:03 VT and the amd corresponding are compatible Sep 04 13:55:09 <_inno__> Hi all. Dumb question - where does ddms put the .trace files on the device? Sep 04 13:55:53 <_inno__> I'm on a Moto X, trying to track down ddms872.trace Sep 04 13:55:57 wherever you tell it to? Sep 04 13:56:05 pfn, I doubt the reason for it not working on AMD is technical. Sep 04 13:56:10 I believe it's /data/traces by default, *if* it's writeable Sep 04 13:56:29 <_inno__> hmm. launched from IntelliJ, so wherever it told it to, I guess ;) Sep 04 13:56:30 but you can always tell it to put it elsewhere Sep 04 13:56:54 How much ram should i assign to it if i have 8gigs? Sep 04 13:57:10 _inno__, http://developer.android.com/reference/android/os/Debug.html#startMethodTracing%28java.lang.String%29 Sep 04 13:58:08 SohamG, it's an emulator, its job is to emulate real-world devices Sep 04 13:58:09 so... Sep 04 13:58:27 so more ram the better? Sep 04 13:58:31 ... Sep 04 13:58:33 <_inno__> ravilov, thanks - I can re-launch, but this is a bit of a hard to replicate situation, I really want to find the one I already created... Sep 04 13:58:37 SohamG, no Sep 04 13:59:02 _inno__, if the default dir wasn't writable, it is very likely no file was created, no matter what it says Sep 04 13:59:02 so as much ram as a real worl device would have? Sep 04 13:59:05 <_inno__> ravilov, sadly /data/traces is not writeable... Sep 04 13:59:07 SohamG, correct Sep 04 13:59:28 k Sep 04 13:59:32 I see no point in having more than 1G Sep 04 14:01:25 <_inno__> ravilov, thanks will keep looking... I'm guessing it is persisted somewhere, as it's probable several megs, so unlikely it's being kept in memory Sep 04 14:01:51 android studio told me that on windows ram above 768mb might not work.... Sep 04 14:02:36 then there's your answer right there Sep 04 14:03:05 whats the reason for that? and why is it windows specific? Sep 04 14:03:21 because windows is dumb and inferior? :p Sep 04 14:05:45 hmn...... Sep 04 14:06:34 In my run config's should i set it to run my activity? Sep 04 14:06:46 <_inno__> ravilov: found it... apparently (at least on a Mac) monitor copies it to a local dir - in my case /var/folders/v0/xtnj70sd74g_f_rrjfr3nr680000gn/T/ddms.trace Sep 04 14:06:56 <_inno__> exciting. Sep 04 14:08:04 _inno__, ah I see, cool Sep 04 14:08:36 SohamG, is it just me or are you only ever asking noobish questions easily answered by loads of tutorials out there? Sep 04 14:09:29 No its my bad.... I am new....and irc has made me lazy... Sep 04 14:10:10 that's hardly an excuse really Sep 04 14:11:00 It wasnt intended to be an excuse.... Sep 04 14:11:27 ravilov as long as people here answer questions that are blatant in the docs and or a 2 minute google search away, the questions will always get asked :) Sep 04 14:11:42 yeah I know Sep 04 14:12:14 I generally support the no-bot policy, but I'm thinking a bot might actually come in handy here Sep 04 14:21:34 Guys Question Sep 04 14:22:06 WTF is up with this new admob sdk??? Sep 04 14:24:20 is that not just a bit of a retarded question ? Sep 04 14:24:33 I've done everything i can to try to get ads to show with the new sdk and its not working. I can get test ads to show on the emulator but not on an actual phone Sep 04 14:25:07 ah, thats a better one :) well ish, more of a statement Sep 04 14:26:27 this is where I am and it seems like alot of ppl are having this issue http://stackoverflow.com/questions/22192755/admob-ads-showing-in-emulator-but-not-in-real-device Sep 04 14:27:40 work fine for me…well ..I implemented a month or so ago Sep 04 14:27:44 then disabled them Sep 04 14:27:58 but they were working when I disabled them Sep 04 14:28:07 * ravilov hates ads so will stay out of this :) Sep 04 14:28:15 not that I can help anyway Sep 04 14:28:44 StingRay_ how did you do it? I followed all instructions like i said it works for test ads Sep 04 14:29:28 A bot is a must. And useful because it also counters the bullshit and incorrect answers. A bot can easily fire off the FAQ links which are correct and proof read. I think an "lmgtfy.com" link is generally better than answering directly questions that could be googled in a heartbeat. It makes the person asking think and shows them how easy it is to find answers. Places where bots work very well are #emacs and #debian for a start. Short Sep 04 14:29:29 concise CORRECT answers and not the all too frequent "well basically" answers given here and elsewhere by people not actually qualified to give the answer. Sep 04 14:29:56 anyone writing wearables? Sep 04 14:30:28 this is the closes i have gotten to a real solution https://www.youtube.com/watch?v=X7r7InBsako but im still having issues Sep 04 14:31:40 is there any steps that are missing in this video? Sep 04 14:32:29 MrMeTooo all I did iirc get a clean activity, added a ads view to it to test.. and it worked… looking now Sep 04 14:34:20 MrMeTooo ok found it, looking at it now… looks simple enough, care to share some code and will compare ? Sep 04 14:34:49 hmm, I may just enable this again and test :) Sep 04 14:36:01 StingRay_ ok give me sometime pastbin is blocked where i am do you know any other sites I can use to share the code? Sep 04 14:36:23 no idea, but …pastebin blocked ??? Sep 04 14:36:31 where are you that blocks pastebin ? Sep 04 14:36:51 hastebin.com Sep 04 14:37:10 chopapp.com Sep 04 14:37:29 there are literally TONS of text paste sites out there... Sep 04 14:37:40 literally Sep 04 14:37:53 This Websense category is filtered: Personal Network Storage and Backup. Sep 04 14:38:09 ouch Sep 04 14:38:16 So anything that under that catagory is blocked :( Sep 04 14:38:26 where are you? in jail? Oo Sep 04 14:38:55 Lol let me see what I can do Sep 04 14:40:10 pastie.org? Sep 04 14:40:44 if you really cant, maybe upload it in a google document Sep 04 14:41:13 Looks like pastie,org works Sep 04 14:41:33 ok give me one min to get everything together Sep 04 14:41:58 everything ? this stuff should be …well.. 12 lines :) Sep 04 14:42:09 MrMeTooo, is android your job or are you just wasting company's time by doing android at work when you should be doing something else? :p Sep 04 14:43:13 well I'll show the manifest, the xml, and the java file for the complete code Sep 04 14:44:48 pretty sure its obvious Sep 04 14:47:09 Here is the Manifest http://pastie.org/9527046 Sep 04 14:47:48 Evil configChanges attribute is EVIL Sep 04 14:48:47 Estel tell google that then Sep 04 14:48:59 tis their admob implementation Sep 04 14:49:21 what's wrong with configChanges? it's just a flaglist Sep 04 14:49:31 there are many other attributes that are like that :) Sep 04 14:49:34 The XML http://pastie.org/9527056 Sep 04 14:49:50 what *is* evil is if you really have to handle all these config changes yourself Sep 04 14:51:39 The java file http://pastie.org/9527061 Sep 04 14:52:48 Admob use to be so simple now its like 30 steps. But like I said I can get test ads to run on the emulator but no actual ads on a actual device Sep 04 14:53:04 MrMeTooo: do test ads work on the device? Sep 04 14:54:16 Estel yes the code will look just a bit different but it runs. I also went into admob and allowed all ads to show but still nothing Sep 04 14:54:41 MrMeTooo no errors ? Sep 04 14:54:46 no sorry only test ads work on the emulator Sep 04 14:55:35 like view too small etc ? Sep 04 14:56:18 also maybe attach an AdListener and set breakpoints in all the methods of that listener … cause what you have looks fine I think Sep 04 14:56:42 no diff to mine… although I dont do the xml stuff… and have yet to re-enable and test… but I am doing so right now :) Sep 04 14:57:21 StingRay_ no errors. altho i do get things like "No Fill From Ad Server" and "Failed to load ad: 3 Sep 04 14:57:50 hi guys Sep 04 14:57:54 so the ad server has not given you an ad Sep 04 14:57:55 ? Sep 04 14:58:36 I'd like to ask about a disc I'm drawing with Path and Paint. I draw it with a radius of say 400, now if I want to set its X value, does that translate to having its center relocate to be at X? Sep 04 14:59:06 you know what I mean? cause I cant seem to be able to do myCircle.setCenter(x), cause I dont know the constructor over there that modifies the "center" property Sep 04 14:59:20 StringRay_ I dont know what the heck that means I've been googling for hours https://www.google.com/webhp?sourceid=chrome-instant&ion=1&espv=2&ie=UTF-8#q=no+fill+from+ad+server Sep 04 14:59:21 all I do is this canvas.drawCircle(x, 450, radius, mPaint); Sep 04 15:00:45 MrMeTooo so I think your fix is to play with ad units and such at the ever so easy new admin area on the site :) Sep 04 15:01:13 Sicp, I for one have no idea what you're talking about, sorry Sep 04 15:01:17 Hi there Sep 04 15:01:23 and I know I dont owe them money lol Sep 04 15:01:27 I am using a couple of fragments for a master-detail UI Sep 04 15:01:45 and I use add() when showing the detail fragment for the first time Sep 04 15:01:47 half an hour until this contract ends, I have literally nothing to do :D Sep 04 15:01:50 and then, show Sep 04 15:02:15 so I need to implement onCreate and onHiddenChanged to execute the same code (display stuff) Sep 04 15:02:15 do you guys know any other ads that are easy to implement like admob USE to be?> Sep 04 15:02:17 us this normal? Sep 04 15:02:20 Papipo, avoid using enter/return as punctuation Sep 04 15:02:32 sry Sep 04 15:02:56 true, now my question is scattered :S Sep 04 15:04:58 Hello Sep 04 15:05:19 Is there a way to put a left margin for ALL pages of my app ? Sep 04 15:05:41 some customers have a protection on theyre tablet hiding a part of the screen Sep 04 15:05:43 add android:margin="..." to every page :) Sep 04 15:05:49 yeah Sep 04 15:05:53 :( Sep 04 15:06:37 no way to set the width pixel on manifest so Sep 04 15:06:44 size* Sep 04 15:06:54 nope Sep 04 15:07:11 aight Sep 04 15:07:15 thx :) Sep 04 15:09:09 "Java unexpectedly quit" is getting too frequent for me in OSX :( Sep 04 15:10:02 never seen that on mine Sep 04 15:10:15 machine restart needed :( Sep 04 15:10:26 have you tried reinstalling? Sep 04 15:10:36 java, not os x :) Sep 04 15:10:42 oh hes gone :D Sep 04 15:22:52 Hi all, I am implement a list showing all contacts which have email or phone number. But after I read the doc of android contact provider, I see has_phone_number only but no has_email. I would like to know how to query all such contacts? thanks Sep 04 15:23:58 edwinkcw can you do a not null ? Sep 04 15:24:12 StingRay_: not null for which field? Sep 04 15:24:17 email Sep 04 15:25:21 StingRay_: I am querying ContactsContract.Contacts. I don’t see “email” in the doc Sep 04 15:25:30 MrMeTooo btw ads work for me Sep 04 15:26:07 edwinkcw if you dont see it, then it's not stored at that path Sep 04 15:26:21 StingRay_ thanks for that tip earlier, did the job for me Sep 04 15:26:34 LighterFluid tip ? Sep 04 15:26:41 yeah, few hours ago Sep 04 15:26:48 StingRay_: er…so how can I do the filtering? Sep 04 15:26:50 nvm, just wanted to say thank you Sep 04 15:26:57 ok, yw Sep 04 15:26:57 Im Trying mMedia not Sep 04 15:27:01 now Sep 04 15:27:17 edwinkcw cant you do a not null on the email field ? Sep 04 15:27:23 like I asked/said ? Sep 04 15:28:27 StingRay_: sorry, I don’t understand…. There is no such field…. Sep 04 15:28:58 ok, so what field are you wanting ? whatever one you are wanting to test for, you can do a not null right ? Sep 04 15:30:04 what I need is to query all contacts that have emails or phone. If I just query on Contacts URI, there is no email field http://developer.android.com/reference/android/provider/ContactsContract.Contacts.html Sep 04 15:39:54 would it be possible to have an app be in the background, with the screen off, to take a picture without user action? Sep 04 15:41:06 osxorgate loads do it dont they ? Sep 04 15:41:15 those security tracky type apps Sep 04 15:41:17 StingRay_: idunno? who does that Sep 04 15:41:37 you conntect to them and can take pics etc Sep 04 15:41:53 some even have a nice front end website to control it with :) Sep 04 15:42:09 do you have an example? Sep 04 15:42:23 never looked at code or how to do it Sep 04 15:42:29 sorry Sep 04 15:42:40 well, i mean example of an app that does it Sep 04 15:42:46 we need to know if it's possible at all Sep 04 15:42:57 oh, loads, maybe upwards of 20+ on the store if you search Sep 04 15:43:04 even a guy in this channel has one Sep 04 15:43:07 forget who thoguh Sep 04 15:43:10 though* Sep 04 15:48:05 I am in such a dilemma, it seems to make the nav drawer smooth you have to introduce artificial delay when loading the next screen Sep 04 15:48:22 so which is worse, artificial delay or jerky close animation Sep 04 15:49:04 or instant close maybe ? Sep 04 15:49:35 StingRay_ thinking about that. Id have to subclass since the close speed isn't exposed, for whatever freaking reason Sep 04 15:50:19 Instant close is worse than delays Sep 04 15:50:29 SimonVT you think so? Sep 04 15:50:48 SimonVT depends if it's visible to the user Sep 04 15:50:59 Yes, I think so Sep 04 15:51:04 I just close the drawer, then show the content Sep 04 15:51:09 SimonVT it seems so wrong to introduce artificial delay of over 200 ms for nothing... but I guess it does give a much cleaner look Sep 04 15:52:09 When i load up my emulator it gives me this http://imgur.com/tseliQx screen. I looked for tutorials but in them it got them to a 'home screen'(with the dock and all that) and the controls on the side. How do i get that? Sep 04 15:52:14 StingRay_: How would the drawer instantly disappearing not be visible to the user Sep 04 15:52:39 SimonVT, StingRay_ I think he means that if it instantly closed then it wouldn't appear jerky Sep 04 15:52:48 mattblang, choppy animations are worse than delays Sep 04 15:53:02 SimonVT right, so if it just disappeared there wouldn't be an animation at all Sep 04 15:53:30 Looks smooth enough if you animate the drawer shut, then animate in the content Sep 04 15:53:58 SimonVT yeah, im definitely leaning towards your solution. I still just hate that an artificial delay has to be introduced Sep 04 15:53:59 mattblang hang on, if you mean navigating away from the current screen then instant close is ok if not vis to user Sep 04 15:54:16 but if you mean changing content then yes, needs to be delay/smooth Sep 04 15:55:20 but like most things, it may depend on context either way Sep 04 16:02:00 I created a custom ActionView which uses a RelativeLayout as the root, and contains 2 Views Sep 04 16:02:09 I am not using a collapsed ActionView - it is simply an ImageView along with another View (which I sometimes use to display an unread count) Sep 04 16:02:13 I am running into an issue on a Samsung Galaxy S3 device running Android 4.1.2 Sep 04 16:02:17 the ActionView takes up all of the available width of the ActionBar, is all the way to the left and pushes out all other elements, including the List Navigation Sep 04 16:02:22 here are screenshots of right and wrong Sep 04 16:02:25 http://imgur.com/a/mH30x Sep 04 16:02:28 here is the XML and the code where I add the MenuItem in Activity#onCreateOptionsMenu() Sep 04 16:02:32 http://pastebin.com/rW6zuBhA Sep 04 16:02:36 http://pastebin.com/HwZkNVYN Sep 04 16:02:39 I can confirm this issue appears if I add the MenuItem in XML instead of programatically Sep 04 16:02:42 I have experimented with different root ViewGroups and layouts, with no luck Sep 04 16:02:46 What is causing this issue and what is the solution to get this ActionView to display properly? Sep 04 16:06:43 I have a started service that starts when the main activity starts and stops when the activity is stopped. If the user is extremely quick and relaunches the app immediately after closing it, the previous instance of the service is still shutting down and causes problems. Is there a way to "wait" for the service to finish shutting down before attempting to start it again or a better approach all together? Sep 04 16:07:11 Do you know why a fragment that I hide() and later I show() loses all its content? Sep 04 16:09:31 Possibly you clear the view in onPause() and only re-add it in onCreate() or something like that. Sep 04 16:09:53 I don't do anything like that Sep 04 16:10:30 setretaininstance(true)? Sep 04 16:10:32 but, now that I think of it, the fragment is gone after I press the back button to reverse the transaction Sep 04 16:10:40 Ashiren, that looks good Sep 04 16:12:05 nopes, it didn't work Sep 04 16:12:06 weird Sep 04 16:12:38 what happens exactly if the fragment is hidden again because of a backbutton press? Sep 04 16:13:02 I am guessing it gets destroyed, otherwise I should see something here Sep 04 16:14:17 SimonVT Sorry, had to step away for a moment. You actually have a menu drawer library I just noticed. I guess it just seems so, very, wrong to be literaly introducing a 300ms delay. Hard to get over Sep 04 16:15:05 mattblang not hard at all… look at apple and iOS and OSX Sep 04 16:15:36 StingRay_ our ios version uses a sliding menu type drawer, and the screens load almost instantly Sep 04 16:17:05 You only have so long to construct the content and draw it during an animation Sep 04 16:33:15 I have: mViewList.get(0).setOnClickListener(new View.OnClickListener() { @override public void onClick(View view) { viewClicked(0); } } Sep 04 16:33:29 is there any way to have this in a loop, so that I can set 10 of these? Sep 04 16:33:38 at the moment I'm having to just write each one out: Sep 04 16:33:48 mViewList.get(1).setOnClickListener(new View.OnClickListener() { @override public void onClick(View view) { viewClicked(1); } } Sep 04 16:33:49 etc etc Sep 04 16:34:05 JohnFlux: listView.setOnItemClickListener() Sep 04 16:34:21 danijoo: it's not a list view, it's just an ArrayList Sep 04 16:34:35 ^^ or if it's in a ListFragment, you can override onListItemClick Sep 04 16:34:56 JohnFlux: Then loop through the list Sep 04 16:35:03 well if you have 10 similar Views in a List, why not make it a ListView Sep 04 16:35:14 for(View v : mViewList) { // set listener.. } Sep 04 16:35:15 danijoo: right, but how to do I pass "i" inside the click listener? Sep 04 16:35:39 make it final and it will work Sep 04 16:35:41 make it final Sep 04 16:37:23 danijoo: for(int i = 0; i < mViewList.size(); ++i) { mViewList.get(i).setOnClickListener(new View.OnClickListener() { @override public void onClick(View view) { viewClicked(i); } } Sep 04 16:37:26 where do I add the final? Sep 04 16:37:48 Hello, I'm having a strange issue, I'm using CAMERA_BUTTON as onKeyUp/Down events in my activity and also registered for a broadcast receiver (when the app is in background the receiver brings it up to get keyup/down events), work on most phones but in some it doesn't. I'm bringing the activity to the foreground with Intent.FLAG_ACTIVITY_NEW_TASK | Intent.FLAG_ACTIVITY_SINGLE_TOP, is there anything wrong with this design? Sep 04 16:37:54 in the loop: final positon = i; Sep 04 16:38:06 final int position * Sep 04 16:38:12 then you can use position in listener Sep 04 16:38:23 or extends listener with an appropriate constructor Sep 04 16:38:42 oh I see. well isn't that just clever :_0 Sep 04 16:39:31 is Intent.FLAG_ACTIVITY_SINGLE_TOP needed when the Manifest includes android:launchMode="singleTask" for the activty? Sep 04 16:42:10 Is it possible to add a fragment hidden? And show it later in a different transaction Sep 04 17:02:28 can someone point me in a direction of building something like this https://appthwack.com/ Sep 04 17:03:03 gonna look into jenkins since i use that with ios but wasnt sure if there was some kinda opensouce project for testing cross platform Sep 04 17:03:19 callabash off the of my head Sep 04 17:03:24 have not used Sep 04 17:04:02 TestObject Sep 04 17:04:22 similar to AppThwack i believe Sep 04 17:04:39 looking for an opensource because my company is too cheap Sep 04 17:04:52 checked out testobject to expensive for them Sep 04 17:04:59 then good luck, not sure that exists (we did the same) Sep 04 17:05:05 haha Sep 04 17:05:07 if you find one let me know :P Sep 04 17:05:07 i figure Sep 04 17:05:10 hahahah Sep 04 17:05:16 faakkk Sep 04 17:05:19 i had a feeling that was the case Sep 04 17:06:46 consider emailing TestObject, our company skype'd them and they made us a cheaper offer. At the time it just wasnt for us Sep 04 17:07:54 im gonna try to get a budget for appthwack or testobject, it seems thats the best route. come on programming gods Sep 04 17:08:04 take to much time to develop something i have a feeling Sep 04 17:08:51 thanks for the input Sep 04 17:10:06 no probs\ Sep 04 17:11:09 hello all Sep 04 17:11:37 in in-app billing, you only need to consume the item if you want to allow the user to re-purchase right? Meaning, there is no explicit requirement to consume? Sep 04 17:12:59 QubeZ yeah Sep 04 17:13:27 so rather if not silly in-game coins lol, probably best being a managed iap Sep 04 17:13:53 now go buy me some gems on clash of clans!!! Sep 04 17:15:45 hehe Sep 04 17:15:59 for the life of me this queryInventory is still broken Sep 04 17:16:04 its driving me nuts (day 3 now) Sep 04 17:16:38 i've been through 10 IAP tutorials and all of them show the exact same thing, calling queryInventory inside the setupFinished() but mSetupDone is always false Sep 04 17:17:01 QubeZ bind directly Sep 04 17:17:04 might be a bug I dont know but I cant debug the app properly using debugger Sep 04 17:17:28 i need to find a tutorial on that, I was hoping this IABHelper stuff would just work Sep 04 17:17:40 but for convenience there is a lot of flaws Sep 04 17:35:08 Hello! I recently received an email from AdSense saying I need to upgrade my AdMob account asap before 10th september and whatnot Sep 04 17:35:17 Yet when I log on to my Admobs account I do not find any button to upgrade my account? Sep 04 17:35:38 Has anyone else gotten that email and could shed some light on what's going on? Sep 04 17:46:47 Yeah you have to email your credit card numbers to some account administrators in nigeria before the upgrade button will appear on the dashboard Sep 04 17:49:17 Cool, do you have his contact address? Sep 04 17:49:27 or should i try contact the kings secretary right away Sep 04 17:53:59 gah. Units are driving me nuts. If I have a sprite on a phone which is an xhdpi device what units am I supposed to use if I want it take the exact same % of the screen width/height on a sw600dp tablet which is also an xhdpi device ? Percentage ie everything scales accordingly. Sep 04 17:54:34 or do I need to manually scale it based on physical dimensions? Sep 04 17:57:47 rgr would scaling the sprite beyond a 1:1 pixel ratio make it look a bit…dirty ? Sep 04 17:58:53 actually suppose if the sprites are super high res and you didn't surpass that then no it wouldnt :) Sep 04 18:00:44 Its nothing to do with 1-1 to higher or higher to lower. Its to do with sizing it. Forget the raw data. I understand the issues with upscaling and downscaling and thats not relevant in this instance. Its only how to get the same % size : I can take care of the correct resources to source the drawing with no problem - its just an issue with scaling. Sep 04 18:01:20 Im guess I need to create a scaling matrix based in relative sizing. Sep 04 18:01:46 Can someone tell me how I would select a certain daily time range in SQLite? Sep 04 18:01:49 with a raw statement Sep 04 18:02:26 Syzygy_: example of what you want? A certain daily time range doesnt really mean anything. Sep 04 18:02:40 What data model fields you compare to? Sep 04 18:03:16 select * from table where datetimefield % 1day BETWEEN 5 hours AND 10 hours Sep 04 18:03:22 except... you know... working Sep 04 18:05:43 Did you even try to google it? use "between" and dateadd : http://stackoverflow.com/questions/1845563/sqlite-equivalent-of-sql-server-dateadd-function Sep 04 18:05:52 (sqllite seems not to have dateadd) Sep 04 18:06:40 well my sample even had between Sep 04 18:08:19 hello fellow devs. I am really desperate. (nothing uncommon for people joining this channel and asking for others to do their job). Although I am not asking for this. I need some help implementing a UDP multicast on Wifi. I have found an opensource code and i just need some help setting it up. Any help would be gold. Thank you in advance. Sep 04 18:08:36 I'm not sure what dateadd does, I'm also not sure how that stackoverflow is supposed to help my question. Sep 04 18:08:58 Does anybody know of any open source apps that is just a collection of all of the android UI views/layouts? Sep 04 18:09:08 in a single app Sep 04 18:09:16 what do you mean? Sep 04 18:09:25 something like an example showing all views? Sep 04 18:09:28 yeah Sep 04 18:09:35 that is really easy to implement Sep 04 18:09:49 just have a buttonlistener and change between the default layouts Sep 04 18:09:56 I know, but also quite boring and tedious .. just wondering if anybody has already done it Sep 04 18:09:57 R.layout blahblah Sep 04 18:10:00 so basically a merge between the google example apps :p Sep 04 18:10:07 yeah haha Sep 04 18:12:09 Can someone help me setup this? https://github.com/elegos/udpmulticast Sep 04 18:12:28 i know it is ez but i can't make it work (stupid me) Sep 04 18:13:27 When doing a search in Android Studio (e.g. "Find Usages" or Navigate -> File...), does anybody know how to exclude stuff like build folders from results? The "exploded-aar" folders add a lot of noise I have to filter through Sep 04 18:13:36 rgr, I don't see how that stackoverflow thread is supposed to help except maybe the SQLite resource link I had already read. strftime('%H', datetimefield) is supposed to return the hour, but I did not get that to work Sep 04 18:15:43 anyone guys??? sorry for spamming but i really need to make this work and my brain is overloading... Sep 04 18:22:03 is anyone else seeing delay in their developer console stats? Mine only shows up to Sep 2 Sep 04 18:22:32 this is my current where statement: WHERE strftime('%H', date_of_entry) BETWEEN strftime('%H', 'now', '-4 hours') AND strftime('%H', 'now', '+4 hours'), I get no results even though I should get several Sep 04 18:23:48 I'm doing: mButton1.animate().alpha(0).setDuration(200); mButton2.animate().alpha(1).setDuration(200); To crossfade between two buttons. It works well, but the trouble is that the topmost button prevents button clicks going to the one underneth Sep 04 18:25:22 JohnFlux: do mButton1.setVisibility(View.GONE) after the animation is over Sep 04 18:25:29 danijoo: thanks Sep 04 18:27:26 When trying to run ndk-gdb.py I get this error, http://pastebin.com/R52TRDA2 but if I follow the steps here http://stackoverflow.com/questions/10534367/how-to-get-ndk-gdb-working-on-android it works fine Sep 04 18:29:34 is the Youtube app using a Navigation Drawer? If so, how do they start loading in stuff immedietly while keeping a smooth close Sep 04 18:30:24 I guess most of the screens rely on network calls, so those are just started while the drawer is closing thus not causing any artificial delay Sep 04 18:32:56 They probably do nothing but show a progress bar until the drawer is closed Sep 04 18:35:10 hi Sep 04 18:35:56 app idea: scheduler that alerts the user of when they need to do something. (yea yea i know everyone has this functionality) but is it web or native? Sep 04 18:36:07 is there a good tutorial on how to multi select items in a gridview (photo gallery), by showing tickmarks ? it should start with a long click and then single clicks to multi select. I really cant find anything complete on google which is surprising. Sep 04 18:36:21 or if someone could give me pointers on how to do it, that wold be great Sep 04 18:37:20 shmoon_ you know how multi selection works ? Sep 04 18:38:09 um, dont think so. till now i've just done this gridView.setChoiceMode(GridView.CHOICE_MODE_MULTIPLE); Sep 04 18:38:29 ok so I think there are tuts on d.android.com Sep 04 18:38:52 I'm sure I have seen examples on there that are almost identical to what you just described Sep 04 18:39:22 but yeah, you should learn about selection modes, statelistDrawables etc all that stuff.. Sep 04 18:39:54 who use greendao nere? Sep 04 18:39:56 here Sep 04 18:41:48 hm, cannot find anything there Sep 04 18:42:29 I usually manage that manually.. Keep a list of selected ids in your adapter Sep 04 18:42:48 When list is empty, long click selects an item.. When not empty, single click selects an item Sep 04 18:43:29 ya and how to do you change the UI based on selections ? like show a tickmark with translucent background on top of image? Sep 04 18:43:49 By checking in getView whether that item is selected Sep 04 18:44:42 I ued setSelection(true) in longitemclicklistener, but seems lke that does nothing, or not sure how to use it Sep 04 18:44:59 shmoon_ that sets states on the view Sep 04 18:46:40 As I said, I manage it myself.. You can use a checkbox, you can toggle visibility on some view Sep 04 18:46:41 Whatever Sep 04 18:48:09 So WebView cannot execute javascript? Sep 04 18:48:27 Yes it can Sep 04 18:48:45 https://developer.android.com/reference/android/webkit/WebSettings.html#setJavaScriptEnabled(boolean) Sep 04 18:49:13 ok Sep 04 18:49:18 Mentioned under basic usage Sep 04 18:49:29 is wrapping a webview within an "app" standard? Sep 04 18:49:40 just so you don't have to write extra objc/java Sep 04 18:53:07 I call that a lazy workarround Sep 04 18:53:11 but thats my opinion Sep 04 18:53:25 anyone use fragmentDialogs in app with IMMERSIVE_STICKY ? Sep 04 18:54:24 I seem to have no way to maintain immersive and have it cancelable outside touch Sep 04 19:00:17 Hi all, any best practice when it comes to generate de developerPayload on in-game buys? or any advice someone has thought about? Thanks in advance :) Sep 04 19:06:35 dogarrhea: it's standard if you want a poor user experience and bad play store ratings Sep 04 19:07:08 it is highly recommended by both Google and Apple NOT to do that, and Apple has been known to reject apps that do just that Sep 04 19:08:04 Hello all Sep 04 19:32:38 unixTimeStamp % 60 * 60 * 24 should give me the hour of the day, right? Sep 04 19:33:17 Hey guys. I need help setting up this https://github.com/elegos/udpmulticast . Can anyone help me? I don't understand how to instantiate an object of the extended UDPMessenger Sep 04 19:34:03 I have a method that returns View.VISIBLE or View.GONE, how do I let the compiler know that? because it complains when I try to use it in setVisibility Sep 04 19:35:11 n00binator: you know how to create an object? Sep 04 19:36:01 yes I know how to create an object but should it be inside the onCreate method? Sep 04 19:36:21 that wasn't your question Sep 04 19:36:36 hmm, I'm gonna try copying the annotation View.getVisibility() has :P Sep 04 19:36:50 n00binator: https://github.com/elegos/udpmulticast/blob/master/src/name/giacomofurlan/udpmessenger/UDPMessenger.java#L54 look at the constructor and decide where you wanna create it Sep 04 19:37:15 you need to pass it a context, so anytime you have one you can create a new object of it Sep 04 19:37:22 nope, same thing Sep 04 19:37:23 Syzygy_: you should add some parentheses Sep 04 19:37:52 * frankdrey turns off inspection for the statement :p Sep 04 19:37:54 i guess that was my fault Sep 04 19:37:58 thanks Sep 04 19:38:17 Syzygy_: and it gives you the seconds of the day Sep 04 19:38:18 frankdrey, those are just ints, it shouldn't complain Sep 04 19:38:25 if your return type of your method is int Sep 04 19:38:51 I have looked at the constructor already. So he means that i have to create a new UDPMessenger object. Understood, but where do i extend the UDPMessenger? My mainActivity already extends Activity Sep 04 19:38:51 k5_, fine by me as long as i get rid of year and day Sep 04 19:39:12 thanks for helping Sep 04 19:39:48 canvs2321, inspection checks that you are specifically passing VISIBLE, GONE, INVISIBLE to setVisibility() Sep 04 19:39:52 not just int :/ Sep 04 19:40:24 since i'm sure i'm returning the right int, i can just add //noinspection ResourceType on the line before though, so w/e Sep 04 19:40:44 what inspection? View.GONE etc..are just static integers Sep 04 19:40:54 btw thank you for answering canvs2321. i know my questions are stupid Sep 04 19:42:43 canvs2321, "Must be one of: View.VISIBLE, View.INVISIBLE, View.GONE" Sep 04 19:43:01 either way, I just discovered that setting visibility on listview items doesn't work >.> Sep 04 19:45:29 you can set it on items inside a listview item, but not on the item itself - you'd have to mask that from the adapter Sep 04 19:46:18 Hello all.... is there a tutorial library for android to guide the user through the app other than ShowCaseView? Sep 04 19:47:00 Someone here must know how to fix this. I've been at it for hours. Some kind of android studio project setup problem is resulting in this crash: http://pastebin.com/ufE3cWXc Sep 04 19:47:38 I've tried everything I can find on StackOverflow... copying code into a new project, cleaning project, deleting my userhome/.gradle directory, everything. Sep 04 19:48:49 JavaDog: what about this one? http://stackoverflow.com/questions/19523167/android-classnotfoundexception-didnt-find-class-on-path Sep 04 19:49:18 ugh, this is gonna be one hard adapter to write Sep 04 19:49:23 QubeZ: Yup, I tried that. I don't even have any libraries except the android support libraries. the project is almost completely empty. Sep 04 19:49:34 i have the adapter load data on demand, and until it's loaded, i can't filter it Sep 04 19:49:54 post your manifest to hastebin Sep 04 19:50:54 QubeZ: here's my manifest and build.gradle http://pastebin.com/hnFb1GJf Sep 04 19:56:32 JavaDog: sorry, no clue. I haven't migrated to Android Studio or Gradle yet Sep 04 19:56:35 need to Sep 04 19:57:06 You probably shouldn't... ugh Sep 04 19:57:06 canvs2321 how can i extend a class on my MainActivity when im already extending Activity? Sep 04 19:57:25 Time to start from scratch and paste in bit by bit until I see what causes it, I guess... Sep 04 19:57:53 is it noraml that latley I'm getting like 10-15% of my iab declined status in google play store? Sep 04 19:57:57 to extend it in onCreate instead? Sep 04 19:58:59 JavaDog: paste in your gradle file Sep 04 19:59:14 build.gradle is in the previous paste Sep 04 20:01:20 JavaDog: is your Main class marked as public? Sep 04 20:08:37 MikeWallaceDev: Indeed it is Sep 04 20:09:19 Is it in the right package? Sep 04 20:09:28 Check further up in your log if it's being evicted for some reason Sep 04 20:09:33 Check your apk that it's actually there Sep 04 20:10:11 is it possible to get access to the camera ... with ndk/c? (example code?) Sep 04 20:19:53 Bombo: http://lmgtfy.com/?q=ndk+android+camera Sep 04 20:20:37 we should have a bot for that rgr Sep 04 20:20:45 birbeck: both google and apple want to be the dominant platform so they fight all day Sep 04 20:21:11 of course with their hegomy in this space, they are both for native apps Sep 04 20:21:24 hint: They're in this game together Sep 04 20:22:10 indeed ;) Sep 04 20:22:45 (re bot. not the nonsense of Apple and google "in it together") Sep 04 20:23:04 somehow, I knew that's what you meant ;) Sep 04 20:23:48 heh heh Sep 04 20:23:59 it's still only a matter of time before the mac vs pc, internet vs desktop, native vs web app pattern shows its true self Sep 04 20:24:05 SimonVT: I don't see it in the APK... what might be causing that? Sep 04 20:24:17 dogarrhea! Sep 04 20:24:19 How you been? Sep 04 20:24:24 oh do take your paranoid nonsense elsewhere.,, ;) Sep 04 20:24:24 int he 90s pc screwed apple. internet screwed desktop development. web rapes native Sep 04 20:24:48 not yet dogarrhea. Not on phones. Soon tho Sep 04 20:24:52 Agamemnus: doing well. Have a job 5 block south of the most southern tip of the UCLA campus Sep 04 20:24:55 JavaDog: Maybe you put it in the wrong folder Sep 04 20:25:03 dogrrhea, check out my first Android game: Sep 04 20:25:07 dogarrhea: Sep 04 20:25:20 https://play.google.com/store/apps/details?id=com.flyingsoft.safari.jigsaw.free / .premium Sep 04 20:25:43 SimonVT: I left it just as android studio generated it. It's in src/main/java/com/javadog/xstream/MainActivity.java Sep 04 20:26:26 * ravilov wonders if that game actually *really* requires android 4.0 and up Sep 04 20:26:49 or is it just simply common to put minApi=14 these days Sep 04 20:27:01 ah ravilov, hehe Sep 04 20:27:51 all I'm saying is, he just lost a potential player/customer Sep 04 20:27:52 why not? as you know next to noone uses below that. Its stupid to wrap you code in loads of support APIs when theres no need. Some people move on. Sep 04 20:28:05 ravilov not a game dev, but i'm betting if you put minSdk=15 and you are using openGl, that cuts down on the number of shitting GPUs you have to deal with Sep 04 20:28:10 lol. And made his app a lot more uptodate and easier to maintain and develop. Sep 04 20:28:19 yup. support hell. Sep 04 20:29:01 JavaDog: Do a command line build, eleminate AS issues Sep 04 20:29:07 If it works then, delete project files and reimport Sep 04 20:29:24 If it doesn't work, you're doing it wrong Sep 04 20:32:46 im trying to use this Messenger https://github.com/elegos/udpmulticast but I can't successfully extend the UDPMessenger class in my MainActivity. Can someone help me out? Thanks guys Sep 04 20:35:34 I found what causes the problem. When I add compileOptions { sourceCompatibility JavaVersion.VERSION_1_8 targetCompatibility JavaVersion.VERSION_1_8 } to a new project, it causes the ClassNotFoundException Sep 04 20:35:54 Android doesn't support java8 Sep 04 20:36:13 Does it support 1.7? Sep 04 20:36:40 kitkat does Sep 04 20:36:52 And many java7 features are compatible with java6 Sep 04 20:37:06 I only did that because I wanted string switches Sep 04 20:37:23 changing it to VERSION_1_7 lets it run... but will it run on a gingerbread device? Sep 04 20:37:33 Those were added in 7. Google if it works on java6 Sep 04 20:37:42 string switches you say Sep 04 20:38:12 I'll just put it on my nexus one and see... Sep 04 20:39:18 it will run fine Sep 04 20:39:45 you added an entire new system dependency just so you would have some code sugar? lol Sep 04 20:39:48 you'd think the error should have something to do with the actual problem... /sigh Sep 04 20:43:52 solid advice http://www.developereconomics.com/indie-app-opportunity-gone Sep 04 20:43:56 (find a niche) Sep 04 20:45:35 haha this is great http://digg.com/video/dressing-your-dog-up-like-a-massive-spider-is-one-way-to-scare-the-sh-t-out-of-people Sep 04 20:45:41 bankai_ ^^ Sep 04 20:45:48 g00s Sep 04 20:45:52 Actually I was surprised Sep 04 20:46:01 I thought Google put more weight on new apps. Sep 04 20:46:25 My jigsaw puzzle game is in 150th place if you search for "jigsaw safari".. not a very common search term either Sep 04 20:46:32 I put it up last night Sep 04 20:46:51 i think you'd get more hits if you made it a jigsaw puzzle of mutilated people Sep 04 20:47:47 ._. Sep 04 20:47:54 seriously Sep 04 20:48:06 half of the people online like 4chan and somethingawful and motherless.com Sep 04 20:48:47 it would probably get removed Sep 04 20:48:55 host it yourself Sep 04 20:49:29 people will come via word of mouth. "Hey guys check out this new app. It's so cool" Sep 04 20:50:47 that sounds horrible though Sep 04 20:51:05 people are horrible Sep 04 20:52:08 i am horrible Sep 04 20:52:12 can confirm Sep 04 20:52:19 the other day i was contemplating making a competitor to tinder. calling it "Hutt (as in jabba) or Slutt" and scraping tinder photos and putting them there to start the site out. Sep 04 20:52:43 btw you 've noticed the fakes on Tinder? Sep 04 20:52:53 like 20% Sep 04 20:53:06 probably higher in my area Sep 04 20:53:15 what is tinder? Sep 04 20:53:18 Los Angeles. We aren't called "silicon beach" for nothing. Sep 04 20:53:22 i mean too many foreigners in my Country. Something must be wrong... Sep 04 20:53:44 Tinder is supposed to be a way of having sex Sep 04 20:53:53 Is this not the way I should setup my buttons to use a fragment as an onClickListener? http://pastebin.com/AR630EfQ Sep 04 20:53:58 you can google the rest Sep 04 20:53:59 there's more silicon in the implants the women here wear than in computers that are programmed in this city Sep 04 20:54:07 based on your facebook profile? Sep 04 20:54:07 it jsut crashes with a nullpointer, though I've confirmed that this.fragment is set Sep 04 20:54:34 facebook needs to go away Sep 04 20:54:36 based on location and facebook interests/likes Sep 04 20:54:39 it is a scourge on humanity Sep 04 20:54:47 tinder is a way for men to stay sexually frustrated Sep 04 20:54:56 as is with any other electronic dating service Sep 04 20:55:02 no dude. thats porn Sep 04 20:55:04 JavaDog: on which line does it crash? Sep 04 20:55:15 What decides where the build folder ends up with AndroidStudio+Gradle? Sep 04 20:55:43 It actually crashes on line 8 of setupClickListeners() here: http://pastebin.com/skwXbJCX Sep 04 20:56:13 same diff Sep 04 20:56:22 spending effort to get arroused for nothing Sep 04 20:56:36 JavaDog is this a Wifi messenger? Sep 04 20:56:42 no Sep 04 20:56:49 it's a secret :p Sep 04 20:56:52 JavaDog: so one of those two buttons doesn't exist in the layout Sep 04 20:56:59 channels? you got me thinking mate Sep 04 20:57:11 once in a while there will be an actual date, but you'll hear about it on the news how some guy tried to barbeque his date and put the leftover meat in the freezer Sep 04 20:57:55 lol dogarrhea Sep 04 20:58:28 MikeWallaceDev: The views exist in the Fragment itself. I suppose I should call fragment.something, but I don't know what Sep 04 20:58:35 or you have a different layout loaded atm you call it Sep 04 20:58:41 rather than findViewById Sep 04 20:59:17 If the views exist in the fragment, set your click listeners in the fragment Sep 04 20:59:36 please help me setup this thing ... https://github.com/elegos/udpmulticast Sep 04 20:59:42 im dying here Sep 04 21:00:19 SimonVT: But what do I call to get a reference to them? They're defined in XML and Fragment has no findViewById Sep 04 21:00:39 Fragment has onCreateView and onViewCreated Sep 04 21:00:46 Both places you have the fragments view Sep 04 21:00:55 Call findViewById on that Sep 04 21:00:58 use getView first Sep 04 21:01:17 No reason to use getView Sep 04 21:01:40 i remember using inflates for something like this in a fragment. it may was the wrong way though Sep 04 21:03:02 oh, I got it. That was kinda dumb. I think my problems with android studio made me stupid. time to take a break Sep 04 21:03:35 Android Studio rocks :) Sep 04 21:03:36 public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) { View view = inflater.inflate(R.layout.testclassfragment, container, false); ImageView imageView = (ImageView) view.findViewById(R.id.my_image); return view; } Sep 04 21:03:49 i should had used pastebin. but something like this? Sep 04 21:04:22 public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) { View view = inflater.inflate(R.layout.fragment_main, container, false); setupClickListeners(view); return view; } is what I did Sep 04 21:04:36 use pastebin! Sep 04 21:04:42 ughhh Sep 04 21:04:46 thats what i was thinking too. gj Sep 04 21:04:59 rgr you are right. my deeply apologies Sep 04 21:05:09 I do not apologize Sep 04 21:05:16 just because.... because Sep 04 21:05:16 you are a god thats why Sep 04 21:05:22 yes Sep 04 21:05:22 dog* Sep 04 21:05:25 hahahaha Sep 04 21:05:26 that too Sep 04 21:05:41 can you give me a hand now ? Sep 04 21:05:49 I can try Sep 04 21:05:49 i need that motherfucking running.. Sep 04 21:06:16 can u understand what he means in the setup section? https://github.com/elegos/udpmulticast Sep 04 21:06:27 Extend the UDPMessenger class implementing the abstract getIncomingMessageAnalyseRunnable method Sep 04 21:06:47 so i create an abstract method that extends UDPMessenger? Sep 04 21:06:55 Extend that class Sep 04 21:06:58 And implement that method Sep 04 21:06:58 Looks like you need to make a new class that extends the UDPMessenger class Sep 04 21:06:59 where? Sep 04 21:07:03 Anywhere Sep 04 21:07:06 Wherever you want Sep 04 21:07:06 inside the onCreate? Sep 04 21:07:14 it can be an anonymous class or its own file Sep 04 21:07:27 public class MyMessenger extends UDPMessenger { ... Sep 04 21:07:39 i did it but still... everytime i call any method from UDPMessenger it cannot be found Sep 04 21:07:51 lol.. i named it MyMessenger too Sep 04 21:08:08 did you make an object of your class? (just making sure) Sep 04 21:08:48 UDPMessenger myMessenger = new UDPMessenger(this.context,"Messenger",PortFinder.findFreePort()); Sep 04 21:09:07 So you made an object of his class and not your extended class Sep 04 21:09:13 Cannot instatiate UDPMessenger type Sep 04 21:09:21 MyMessenger myMessenger = new MyMessenger(...); Sep 04 21:09:36 you're trying to instantiate an abstract class Sep 04 21:09:48 lol Sep 04 21:10:02 dogarrhea, feel free to suggest any other topic that isn't quite as disgusting Sep 04 21:10:03 im an idiot. give me 2 mins i ll post pastebin. think i got it. thanks Sep 04 21:10:17 haha, no problem. gotta walk my dog and go to class though Sep 04 21:10:19 besides mutilated people Sep 04 21:10:25 lots of dogs here Sep 04 21:10:38 you aren't the only Dog here mate. Other dawgs will help Sep 04 21:10:38 dogs are fun Sep 04 21:10:55 enjoy ur walk :) Sep 04 21:11:03 good luck with your project, and thanks Sep 04 21:11:11 and thanks to everyone who helped me, as well Sep 04 21:11:13 gotta run Sep 04 21:11:43 hrm. i think i'm going to build that anti-tinder app Sep 04 21:11:58 i need a good scraping method. i'll probably use ocr Sep 04 21:12:41 but it's by city bleh Sep 04 21:13:43 how do you get all photos on tinder Sep 04 21:14:48 g00s: that's hilarious :) Sep 04 21:15:07 i think i'll talk to this guy. he's got some beef with the company Sep 04 21:15:08 http://techcrunch.com/2014/06/30/tinder-suspends-co-founder-in-wake-of-sexual-harassment-lawsuit/ Sep 04 21:15:15 bankai_ thats how you have to take your 2 to the campsite next time :) Sep 04 21:24:36 bankai_ another good one http://www.nbcnews.com/news/weird-news/surgery-reveals-oregon-great-dane-ate-43-socks-n195481 Sep 04 21:25:11 wwooottt???? :/ Sep 04 21:33:17 i smell an app Sep 04 21:34:34 so he ate 43 and a half socks Sep 04 21:34:35 not 43 Sep 04 21:37:04 when i got my dog (1 year old) previous owner said he ate some of the house construction materials Sep 04 21:37:06 oh kay Sep 04 21:37:59 well, i did see him eat one couch cushion. it looked almost the same when he barfed it back up :| Sep 04 21:46:06 android studio gets so large Sep 04 21:46:15 g00s :D TIL never make last minute "cosmetic" code changes ... you'll wind up backing them out Sep 04 21:46:29 desmin88 i filed a bug Sep 04 21:46:43 capella XD Sep 04 21:47:20 heh - my reviewer suggested it and it looked good to me too ... turns out "we" were wrong Sep 04 21:48:03 THough tbh - I don't really understand why yet ... hehe Sep 04 21:49:32 Simon are u on? Sep 04 21:50:46 desmin88 who knows, i keep seeing them fix issues related to how they run gradle. here is what i filed https://code.google.com/p/android/issues/detail?id=75623 Sep 04 21:52:11 well in addition to ram it hogs its also large filewise Sep 04 22:00:21 hm, can't seem to get my custom incremental task to be incremental :( Sep 04 22:02:05 hi Sep 04 22:02:48 can you have multiple res directories in one project in eclipse? Sep 04 22:04:13 canadiancow afaik, no Sep 04 22:04:25 argh Sep 04 22:04:40 hi birbeck Sep 04 22:04:41 long time Sep 04 22:04:42 i looked into that a while back; i was generating png's from svg's so i wanted a separate 'generated-res' tree Sep 04 22:04:49 you can do it with gradle i think Sep 04 22:04:52 hey canadiancow Sep 04 22:04:54 yeah i have it working in AS Sep 04 22:04:57 but our team uses both Sep 04 22:05:18 canadiancow yeah the actual command line tools can handle it, just not the ADT Sep 04 22:05:33 but its been a while, yeah Sep 04 22:05:53 I am passing to bound service handler to UI thread in intent, where in service should I receive it? Sep 04 22:05:54 Hi everyone. I'm sure you get plenty of nonsense questions here, but I'd really appreciate someones help. How can I add a dynamic number of views (LinearLayouts) to an existing horizontal LinearLayout and have them space evenly? I've had no luck with GridLayouts or using weights... it is very odd Sep 04 22:06:39 phiat Sep 04 22:06:44 you want to do this in code? Sep 04 22:06:58 Are there any common pitfalls in this area? I'm doing much of the logic inside GetInfoWindow, but can't get the widths of my view. its like its not set up yet Sep 04 22:07:16 Yes. I can't do it in XML because its a variable number of views Sep 04 22:08:23 I've created several linearLayouts, setting their weight to 1, and then adding them to an existing linearlayout inside a layout file. But they still don't space evenly. Sep 04 22:09:10 Also tried GridLayout, but the columns didn't space evenly, despite messing with gravity on the parent Sep 04 22:09:22 http://pastebin.com/u9n6eCS7 Sep 04 22:10:38 err http://pastebin.com/C8285RuE since they have no content they will not show Sep 04 22:11:33 yacek19: onBind? Sep 04 22:12:20 lasserix: and what about other activities trying to bind to this service? Sep 04 22:12:34 Sorry if this is a totally noobish question, but I'm kinda new to Android programming. Anyway, I just started using Android Studio, and it gave me both an activity and fragment layout files for my main activity. What are some situations that I'd need to have my main activity as a fragment? I don't think I'll need to implement that, but please tell me if I'm wrong. Sep 04 22:12:58 yacek19: all activities get same instance of the service (in the same application) it's up to you to return different implementations of the binder or whatever Sep 04 22:13:33 keviv: yeah you don't you can delete all of that and just setContentView in onCreate if you want too Sep 04 22:13:37 don't they get the same instance of binder Sep 04 22:13:50 not if you return a new binder for each one Sep 04 22:13:51 Lasserix, this is helpful, I'm pretty sure we were doing the same thing. but your code is much cleaner. One part though. " new LinearLayout.LayoutParams(LayoutParams.MATCH_PARENT, 0, 1);" We had it is "new LinearLayout.LayoutParams(0, LayoutParams.MATCH_PARENT, 1); since it is horizontal Sep 04 22:13:58 lasserix: ok thanks! Sep 04 22:14:21 but doesn't that thing get called exactly once?.. Sep 04 22:15:12 Also the editor kept forcing us to write "LinearLayout.LayoutParams" we could never just have "LayoutParams" Sep 04 22:15:28 sqrrl: err i mean from the binder you return the different whatever as you need Sep 04 22:15:44 ah~ Sep 04 22:15:53 ie the binder has some method that takes some identifier then returns the specific thing you want based on the identifier? Sep 04 22:16:06 sorry i was thinking in terms of remote service Sep 04 22:16:37 Phiat oh yeah got it backwards, umm guess you'll have to post your code Sep 04 22:17:08 Yea i know. thanks for your help! We're gonna try some more Sep 04 22:17:26 Phiat or you can also subclass linearlayout and override onmeasure/onlayout to get the effect you want if that fails for whatever reason (tho it should work) Sep 04 22:18:04 yacek19: i'd just make something like a setUiHandler() in the binder. or, even better, create a proper interface and set listeners Sep 04 22:18:04 We must be missing something simple, because you are right. it should just work with weights like you wrote. Sep 04 22:19:09 sqrrl: is there any possibility to allow only one binding? Sep 04 22:20:20 yacek19: iirc you are getting only a single binder object Sep 04 22:23:20 I am integrating Google Places completion into a text field. In google's manual, the calls are made in the filter of the adapter, without asynctasking. It seems to work well. Should I use asynctask anyway, as it is the main thread? Sep 04 22:23:23 i have a bunch of objects in the service, and i have stuff like getCowsObject() in the binder, and then my fragments call cowObject.setWatcher(this) Sep 04 22:24:19 yacek19: in fact, service runs on ui thread by default Sep 04 22:24:30 sqrrl: yes' I know Sep 04 22:26:30 runnables are support to return nulls. correct? Sep 04 22:26:42 supposed** f** my english Sep 04 22:27:08 ? Sep 04 22:27:18 java Runnable? in the run() method? Sep 04 22:28:37 protected Runnable getIncomingMessageAnalyseRunnable() { System.out.println(incomingMessage.toString()); return null; } Sep 04 22:28:54 uh Sep 04 22:28:56 and is used by this. incomingMessageHandler.post(getIncomingMessageAnalyseRunnable()); Sep 04 22:29:20 you're giving incomingMessageHandler.post(); a null object with that Sep 04 22:29:22 im getting a invalid argument error and im trying to find where its coming from. i guess it isn't this Sep 04 22:29:59 getIncomingMessageAnalyseRunnable() should return a Runnable object you create... Sep 04 22:30:05 but... Sep 04 22:30:07 http://pastebin.com/S0AX65G6 Sep 04 22:30:12 my error Sep 04 22:30:28 you're giving incomingMessageHandler.post(); a null object with that Sep 04 22:30:45 and the last thing I'll say is please learn Java Sep 04 22:30:47 I have an activity with tabs in the ActionBar. How can I get the name of the current tab that is showing??? Sep 04 22:31:15 thats what im trying to do here. i thought that this is how you learn. by making mistakes Sep 04 22:31:41 well you don't seem to have a basic knowledge of how objects/methods work Sep 04 22:31:46 so you need to go through a book/tutorial Sep 04 22:31:47 im trying to make this work. https://github.com/elegos/udpmulticast . Sorry for my bad skills. Sep 04 22:32:05 yeah but my dissertation deadline is in a couple of hours. So I will do that later Sep 04 22:32:11 anyway. not your problem im sure. Sep 04 22:32:23 what kind of runnable object should it return? Sep 04 22:32:30 a Runnable runnable object Sep 04 22:32:32 runnables don't return Sep 04 22:32:51 an object, anyways Sep 04 22:32:54 AAAAAAA Sep 04 22:32:56 are you thinking of Callable? Sep 04 22:32:59 you see? Sep 04 22:33:35 You are not allowed to use this source code for pirate purposes. --- pirate or private? ;p Sep 04 22:33:45 im trying to make the updmulticast example that i posted above work. Sep 04 22:33:54 Arggh we be wifi boarding the local starbucks argh! Sep 04 22:34:01 pirate is not mentioning the owner. i will mention my owner in my documentation. check the licence Sep 04 22:34:10 the owner** Sep 04 22:34:18 he will get his credits Sep 04 22:34:29 oh i thought you just meant __private__ Sep 04 22:34:33 not pirate Sep 04 22:34:48 http://creativecommons.org/licenses/by/3.0/ Sep 04 22:34:50 you could say private purposes without recognizing developer Sep 04 22:34:53 but yeah Sep 04 22:34:54 Hey lasserix you helped us so much! We got it working! Just like every other bug, i feel silly now. I think we were setting the LayoutParams before adding the textViews to the layout.. which may have caused our issue. Sep 04 22:35:11 Phiat_: cool Sep 04 22:35:28 no i feel like i need to give this guy credits if i make it work Sep 04 22:35:35 yeah definatly Sep 04 22:35:48 anyway.. Sep 04 22:35:55 any suggestions to fix this? Sep 04 22:37:06 following his setup instructions i came up with this http://pastebin.com/zedMDL5V Sep 04 22:37:06 at com.example.megaphonechordclient.UDPMessenger.(UDPMessenger.java:63) Sep 04 22:37:12 what's going on there? Sep 04 22:37:15 can you post that? Sep 04 22:37:22 if(context == null || tag == null || tag.length() == 0 || multicastPort <= 1024 || multicastPort > 49151) throw new IllegalArgumentException(); Sep 04 22:37:41 ok Sep 04 22:37:45 thank you Sep 04 22:37:57 yeah... Sep 04 22:38:04 it is inclusive and my PortFinder isn't so it selects 1024 Sep 04 22:38:19 let me check it and thanks :) Sep 04 22:38:21 Is there an updated standard if you want to do tab design like old Android versions? Sep 04 22:38:48 n00binator: this github is your project? Sep 04 22:40:01 n00binator: you might look into protobuffers for this project in the future Sep 04 22:40:16 you can protobuffer your message class Sep 04 22:51:35 help Sep 04 22:51:43 admob is cheating me Sep 04 22:53:06 41 Sep 04 22:53:06 Sep 04 22:53:06 19 Sep 04 22:53:10 requests 41 Sep 04 22:53:13 impressions 19 Sep 04 22:53:19 why does it say fill rate is 100%? Sep 04 22:54:08 anyone there? Sep 04 22:54:11 i have other questions Sep 04 22:57:40 I have an activity with tabs in the ActionBar. How can I get the name of the current tab that is showing??? Sep 04 22:58:59 hi there, a few questions about the Google Play app if anyone knows: when you first open the app and you see the little boxes that display apps with title, dev name, rating, image, etc., are those Fragments? Sep 04 23:05:16 rburgosnavas i dount it, probably just CardViews Sep 04 23:06:39 rburgosnavas stuck in something like http://lucasr.org/2014/07/31/the-new-twowayview/ Sep 04 23:06:50 "like" :) Sep 04 23:09:08 ah Sep 04 23:09:50 but its not open source, so just a guess. on some of the gapps they leave the ViewServer enabled so you can connect to it with hierarchyviewer Sep 04 23:11:01 is CardView only available in L? Sep 04 23:11:33 g00s: it isn't? (https://github.com/lucasr/twoway-view/) Sep 04 23:11:56 oh, you mean google play. n/m :) Sep 04 23:12:31 what is the best and secured way to connect to the db? Sep 04 23:12:40 rburgosnavas dunno, you can also use http://android-arsenal.com/details/1/78 Sep 04 23:12:42 why is it impossible to send data under the onTabSelected to another fragment? or nobody in the world seems to know how to do it properly Sep 04 23:13:05 I am assuming using jdbc driver like in Java is way from secured, since anyone can check src code and login to the db. Sep 04 23:13:46 StephenS: what db are you trying to connect to? Typically on Android, you'll be using a sqlite database, with a SQLiteDatabase object Sep 04 23:14:02 StephenS do you mean remote db ? Sep 04 23:14:05 which is all just file-based, so no chance for someone to intercept, if they have to access to the database file (which only your app does) Sep 04 23:14:18 g00s yes Sep 04 23:14:28 similar to what fb and twitter does. Sep 04 23:14:52 or any bigger app, such as whatsapp viber and so on, they store values into their remote ddbs. Sep 04 23:14:58 well, they probably use both - sqlite for cache / sync and remote web service Sep 04 23:15:08 for their remote, it would be a web service, rest, etc Sep 04 23:15:20 not jdbc :) Sep 04 23:15:25 g00s: I'll check that out, thnx Sep 04 23:15:37 g00s any example of that and how it works? Sep 04 23:15:44 you mean on soap or restful apis? Sep 04 23:15:53 not soap :) Sep 04 23:16:13 well, i don't recall examples were the database was changed; iosched is read-only Sep 04 23:17:48 so basically I'm creating my own api with webserver/side language? Sep 04 23:18:12 lets say I use PHP and I create some xml data which android tries to access and then further one parses it, thats how it will work? Sep 04 23:20:05 yeah you'll make a web service Sep 04 23:20:19 json, xml, rest , 0mq, whatever Sep 04 23:21:15 so I dont have to exclusively use rest? Sep 04 23:21:34 I think I'll go with json, its smaller, faster and not readable for humans, which I don't really care. Sep 04 23:22:06 If you're writing both sides, you can use anything you want :) Sep 04 23:22:18 so yeah rest will generate json data type Sep 04 23:22:26 JesusFreke what? Sep 04 23:22:41 ah you mean Sep 04 23:22:46 ok got it Sep 04 23:25:49 http://ezscreens.appspot.com/view/ea41/hanhuy-acra+crash+report Sep 04 23:25:56 ho ho ho, I've polymerized my acra reporting webapp Sep 05 00:00:05 anyone having trouble with android developer... the android SDK manager will not let me select uninstalled packages to download. The entire manager seems to be screwed up a bit Sep 05 00:11:18 I just deleted my entire Android Studio installation,.... then reinstalled... and I have the same problem. I did just migrate my systme to a new MBP... perhaps that has something to do with it? Sep 05 00:25:16 I'm having problems starting my avd, I'm getting the following error message: "NAND: could not write file /tmp/android-user/emulator-****** (random 7 chars), File exists". Now I already did some research and usually that happens when theres not enough space on the harddrive, but I've checked that and theres plenty. Any suggestions? Sep 05 00:54:10 was that previously not enough space and it's half-created an AVD? Sep 05 01:25:16 How does Material Design affect us? Will there be a support library for it? Sep 05 01:25:26 If so, should I update my apps to Material Design? Sep 05 01:25:59 Makes your apps look a bit fancier Sep 05 01:26:15 I just downloaded the new Google Chrome. Honestly, I find it kinda ugly. Sep 05 01:26:17 So plain. Sep 05 01:31:02 bankai_jp: sorry, what do you mean? Sep 05 01:33:17 what is material design? Sep 05 01:33:42 man that error is really frustrating, I guess I just have to switch the OS. :/ Sep 05 01:34:49 oh that. Sep 05 01:38:13 In http://www.google.com/design/spec/layout/layout-principles.html, it talks of "toolbars" not "action bars". Sep 05 01:38:20 Is the action bar being renamed to "toolbar"? Sep 05 01:43:08 http://www.google.com/design/spec/animation/responsive-interaction.html# -> This Animation only possible with the new L or? Sep 05 01:45:29 it seems my 2.3.3 htc phone has those responsive animations Sep 05 01:48:58 My Apps always look so ugly :-( Sep 05 01:50:49 But you are beautiful, that's all that matters. Sep 05 01:52:06 each app is a unique snowflake ! Sep 05 01:52:33 Hello. Should I use AppCompat or ActionBarSherlock? Sep 05 01:52:38 instead of package, the manifest should have 'snowflake id' Sep 05 01:52:51 What is a good networking library for ndk/c++ development? I just need http support and would prefer lightweight(drop in library would be perfect) Sep 05 02:00:18 lnoskhen: Do you really need to worry about Gingerbread users? Sep 05 02:00:24 There are so few now. Sep 05 02:01:19 TacticalJoke: Yes. And Froyo as well. Sep 05 02:12:17 So is everyone gonna update their UI to Material Design regardless of whether the user is running Android L? Sep 05 02:14:09 TacticalJoke i'm still converting to holo :( Sep 05 02:17:21 because they all come and go I don't follow any UI design stuff Sep 05 02:26:29 n00binator: still at it? Sep 05 02:26:50 almost done Sep 05 02:26:53 COOL Sep 05 02:27:08 COOL AS CAPS LOCK Sep 05 02:47:36 some icons http://www.flaticon.com/ Sep 05 02:47:59 Hi all, I am implement a list showing all contacts which have email or phone number. But after I read the doc of android contact provider, I see has_phone_number only but no has_email. I would like to know how to query all such contacts? thanks Sep 05 02:50:29 yey my incremental task is incremental :) Sep 05 02:59:11 What is a good networking library for ndk/c++ development? I just need http support and would prefer lightweight(drop in library would be perfect) **** ENDING LOGGING AT Fri Sep 05 02:59:59 2014