**** BEGIN LOGGING AT Wed Feb 17 02:59:59 2016 Feb 17 03:24:07 so I'm an idiot Feb 17 03:24:27 there are two entries in this file that are missing the red element Feb 17 03:24:40 and I didn't add the red member to my toString() Feb 17 03:26:12 JakeWharton: :hugo-example:transformClassesWithHugoForDebug Feb 17 03:46:01 I have an infinite loop that i can't seem to figure out how to fix... http://pastebin.com/5VwqPxB2 Feb 17 03:46:16 when i call inflate(...) it calls my constructor for the custom view again Feb 17 03:46:47 android.content.ActivityNotFoundException: No Activity found to handle Intent { act=android.settings.ACCESSIBILITY_SETTINGS } Feb 17 03:46:55 wtf is a wileyfox swift and wtf does it not have accessibility_settings Feb 17 03:47:05 g00s I did try nRF Master Control Panel from Play Store. And I can stream multiple data from same source that I am doing just fine. So it is something with my app. Feb 17 03:47:20 Too bad their source is not open source LOL Feb 17 03:49:14 What is the proper way to inflate a custom view's xml layout? Feb 17 03:49:37 If i inflate the layout from within the constructor it calls itself and creates an infinite loop Feb 17 03:50:23 eemgr, obviously, your xml shouldn't reference your own view Feb 17 03:50:34 oh wow, you're right Feb 17 03:50:39 i may need to sleep Feb 17 03:51:26 thanks pfn Feb 17 03:52:51 Also not sure if nRF is not doing pulling vs notifications Feb 17 03:58:04 my UI skills are terrible Feb 17 03:58:36 are there any good videos you'd recommend? Feb 17 04:13:04 am I the only one who thinks facebook sdk documentation is horrible ? Feb 17 04:14:44 RustySha1kleford, design guidelines + udacity courses Feb 17 04:14:56 gordon_: i find it pretty bad, but I find it frustrating that every time I need to use the SDK they've changed the way it's done and I have to re-learn it again Feb 17 04:15:50 am I the only one that doesn't use facebook? Feb 17 04:16:04 no :D Feb 17 04:16:09 maybe its because I'm anti-social Feb 17 04:16:18 but I don't want my stuff to be that public Feb 17 04:16:41 RustySha1kleford http://www.theguardian.com/technology/2016/feb/12/digital-capitalism-douglas-rushkoff Feb 17 04:17:19 he's finished writing a new book due out in a few weeks Feb 17 04:17:43 'throwing rocks at the google bus' Feb 17 04:18:44 barbs: I'm now in the middle of transition from 2.x to 4.9 ;) Feb 17 04:23:32 lol https://github.com/KhronosGroup/Vulkan-Samples Feb 17 04:24:09 https://github.com/KhronosGroup/Vulkan-Samples/issues Feb 17 04:24:51 hehe Feb 17 04:25:03 I woke up today and vulkan is out so is wayland 1.10 Feb 17 04:25:06 good day Feb 17 04:26:43 gordon_ and maybe we'll see as 2 final this week :) or at least RC Feb 17 04:27:08 hmm Feb 17 04:27:15 maybe Feb 17 04:27:26 good thing about as2 are emulaotrs Feb 17 04:27:28 *emulators Feb 17 04:27:33 because they are finally fast Feb 17 04:27:42 dont see anything more Feb 17 04:27:56 how do you organize a massive amount of string resources? Feb 17 04:28:13 define massive Feb 17 04:28:50 thousands of strings Feb 17 04:29:09 I think you can devide them in separate files Feb 17 04:29:10 scattered about in a bunch of files. I can't find any pattern to it Feb 17 04:29:51 https://stackoverflow.com/questions/13922522/are-there-any-side-effects-of-using-multiple-string-xml-files Feb 17 04:29:55 you can, I think they've divided it into too many files. Feb 17 04:30:07 strings_main.xml seems nice Feb 17 04:31:31 except it doesn't enforce any sort of encapsulation Feb 17 04:31:38 they are all found at R.string Feb 17 04:32:06 yeah it would be nice to be able to say R.string.foo.bar.my_string Feb 17 04:32:27 res/values/foo/bar/strings.xml Feb 17 04:32:35 does that work? Feb 17 04:32:40 no :( Feb 17 04:32:43 g00s I figured out my problem. I was doing three setCharacteristicNotification really quick one after the other. It I did put sleep(2) between this fixed. Well this is just quick hack but looks like I have to wait until I get onDescriptorWrite success before starting another one. It I do them too quick they get lost. Does this make sense? Feb 17 04:33:10 trying to find ways to improve our shitheap of a codebase Feb 17 04:33:17 and look super smart Feb 17 04:33:22 original creators of android had serious lack of imagination regarding to how big apps could get (between the dex limit, stuff like this, etc) Feb 17 04:34:06 Guma oh lol, thats a terrible idea though. yeah use a state machine Feb 17 04:34:18 g00s: fork android Feb 17 04:34:35 gordon_ i'm sure that will go well :P Feb 17 04:34:37 or ubuntu touch Feb 17 04:34:54 have any of you done iOS development? Feb 17 04:35:30 I'm a little curious what its like. But I don't own any apple products Feb 17 04:35:55 i'm curious if apple goes the continuum route with next iOS version Feb 17 04:37:14 anyone know of a way to get a list of the currently enabled alarm times for the default alarm clock? Feb 17 04:37:38 RustySha1kleford: objc sucks ;) Feb 17 04:37:40 g00s terrible idea? You mean what? Feb 17 04:37:46 Guma the sleep Feb 17 04:38:16 Ofcourse.... I just added it for quick try thinking that this might be happening. Now that I know :) Feb 17 04:53:18 hi guys Feb 17 04:54:50 i have a canvas that i se to print my imageview with imageview.draw(canvas), if i want reset the canvas and print another time my image with a x rotation, how can i do? Feb 17 04:55:25 if i set canvas.Draw(Color.black) the background isn't visible anymore Feb 17 05:04:23 that's because you just drew black Feb 17 05:04:32 maybe you mean to draw color.transparent Feb 17 05:08:27 pfn: if i draw color.transparent i can still see the previous image Feb 17 05:09:09 what i need is deleting the draw without invalidate Feb 17 05:12:26 if i use mysecondcanvas.drawColor(Color.TRANSPARENT, PorterDuff.Mode.CLEAR); then the layer under isn't visible Feb 17 05:26:07 g00s State machine is in and works pretty well :) Thank you for help Feb 17 05:26:25 and explodes Feb 17 05:26:34 Guma you'll find there are lots of gotchas with ble ;) Feb 17 05:26:54 As log as I find them LOL Feb 17 05:26:55 don't forget with connectGatt, best to use autoconnect = false Feb 17 05:27:19 I already did set up with false Feb 17 05:28:51 One thing I noticed and I have to look at firmware where my app is connecting to. Can you normally change how aggressive you can be with advertisement? I am using Microchip RN4230 Feb 17 05:29:51 is there a way to clear canvas without using invalidate and keeping the background visible? Feb 17 05:29:54 I did not see any commands that could be written to NVRAM. So you you know if advertise speed is something constant? Feb 17 05:47:22 https://github.com/pfn/qicr/blob/master/src/main/scala/com/hanhuy/android/irc/LogcatActivity.scala Feb 17 05:47:29 hmm, I'm relatively happy with how this pure api is turning out Feb 17 05:48:43 Hey guys, I'm not a developer but doing some UI QA on a project. If I have a app that has a menu and each menu item changes the content displayed in the app i.e. if I have a menu item that says people and it changes the main view to only show people and than I have another item that says places and it changes the main view to show a map with pins for places, what do I call those different views / screens / windows that it loads? Is it a window (p Feb 17 05:48:43 robably not) or a screen or a frame or a view or something else? Feb 17 05:55:25 jetole: In what context do you need to refer to the content? Feb 17 05:56:37 TacticalJoke: In that I am comparing one to the other. "When this (screen|view|frame|window) is visible than this happens but when this (screen|view|frame|window) is visible than this happens" Feb 17 06:00:09 Is the "menu" in question a navigation drawer? https://www.google.com/design/spec/patterns/navigation-drawer.html Feb 17 06:14:29 pfn: interesting Feb 17 06:15:26 https://github.com/pfn/qicr/blob/master/src/main/scala/com/hanhuy/android/irc/pure.scala#L10-L102 Feb 17 06:15:30 where does PureActivity come from ? Feb 17 06:15:46 guess I got my answer Feb 17 06:16:26 my boss is sleeping on his desk Feb 17 06:16:33 gordon_ a protected well deep in the andes Feb 17 06:16:39 well... it's wednesday ;) Feb 17 06:16:51 gordon_ is he drooling ? :D Feb 17 06:17:02 dont know Feb 17 06:17:07 too much monitors Feb 17 06:17:15 *too many Feb 17 06:17:37 gordon_, but yeah, idea is to just go fully pure Feb 17 06:19:15 nice Feb 17 06:19:29 I was thinking about writing some app with macroid as mvvm pattern Feb 17 06:19:36 but busy lately Feb 17 06:21:24 iota :P Feb 17 06:21:26 screw macroid :P Feb 17 06:22:28 TacticalJoke: I believe it is Feb 17 06:23:12 jetole: I'm not sure whether there's an official term. (And I don't see one on that page.) I'd be tempted to say "screen", personally. Feb 17 06:24:16 pfn: hehe, maybe one day Feb 17 06:24:30 gordon_, dsl-wise, macroid and iota basically work the same way Feb 17 06:24:33 TacticalJoke: Just to confirm, you understand what I mean in my question? Feb 17 06:24:43 I wish more people would pick up scala and start publishing apps into market Feb 17 06:24:46 gordon_, use macroid if you want the akka integration, I suppose, there's not much else there Feb 17 06:24:47 and more examples, etc Feb 17 06:24:58 why would I use akka on android ? ;) Feb 17 06:25:49 right, why would you use macroid? ;-) Feb 17 06:26:41 no idea ;) Feb 17 06:26:53 g00s: he got up Feb 17 06:32:21 jetole: I think so, but of course I could be mistaken. Feb 17 06:37:47 TacticalJoke: I think so too but wanted to double check. I'll just call them screens in my report Feb 17 06:37:55 TacticalJoke: Thanks for the help Feb 17 07:11:39 hey guys, does anyone here know how to generate a circle view with name acronym inside it? I want to make it as a profile picture Feb 17 07:12:34 You mean the first letter of some word? Feb 17 07:14:12 Yes. I just want to know how to generate the custom view. I believe its just a view with a textview inside. Am i right? Feb 17 07:14:18 But how do I make it as drawable so I can use in a drawer header. Feb 17 07:15:59 anyone experiencd with otg powering here? Feb 17 07:18:27 im trying to change a activity's fragment but this wont work: http://pastebin.com/RMZSAwBj Feb 17 07:19:39 What exactly doesn't work? Feb 17 07:21:01 I am changing a view from a Handler. Now this view leaks my Activity. Should I use a WeakReference for the View here to get rid of this problem or is this a bad design issue? Feb 17 07:21:02 iit doesnt load the new fragment in place of the old one Feb 17 07:22:04 Try replace Feb 17 07:27:58 hello, i m trying to install android tools, is it possible to install it on java 1.8 ? Feb 17 07:29:09 br0mahn: I've done this with textview and style Feb 17 07:29:57 afidegnum: yes Feb 17 07:30:20 canvs2321: online? Feb 17 07:30:37 ok Feb 17 07:30:41 barq, with replace what do i use for the parameters? Feb 17 07:34:09 gordon_: found it http://stackoverflow.com/questions/23122088/colored-boxed-with-letters-a-la-gmail Feb 17 07:34:17 a gmail implementation Feb 17 07:43:41 thornekey: What does your IDE suggest? Feb 17 07:43:55 container ids Feb 17 07:44:00 but i dont have any ids? Feb 17 07:44:07 or are the ids the string ids for the fragments Feb 17 07:44:29 after installation i had to run /opt/android-studio/bin/studio.sh to launch hte studio, how do i pin it to my system automatically so I can run studio from a start, ? i m using ububntu 14.04 Feb 17 07:46:24 http://developer.android.com/reference/android/support/v4/app/FragmentTransaction.html#replace(int, android.support.v4.app.Fragment) Feb 17 07:47:26 The id of the view. Feb 17 07:48:19 ive not even set the id Feb 17 07:48:35 do i need to put a view into the layout xml Feb 17 07:49:09 something similar Feb 17 07:49:49 afidegnum: if you created desktop shortcut, you can run it from start Feb 17 09:10:57 Is it possible to use an action bar inside a dialog fragment? i'd like to have a 'full screen modal' sort of effect with its own independant action bar Feb 17 09:12:45 that is called a new Activity x) Feb 17 09:15:13 ktwo: I did think that too initially, but google does actually provide information on how to achieve this: http://developer.android.com/guide/topics/ui/dialogs.html#FullscreenDialog Feb 17 09:15:24 Though perhaps I am creating more work for myself, and a new activity makes more sense here. Feb 17 09:22:25 rmrrn, this will also not allow you to use the same actionbar logic of an activity i think Feb 17 09:22:47 so you would have to implement a lot of things yourself Feb 17 09:25:43 ktwo: makes sense, thank you. my main reason for going down this route is so that I can still 'see' my previous screen beneath, I want to have a sort of semi-transparent overlay effect. is this achievable with a new activity? Feb 17 09:27:14 anyone experience working with JNI&NDK? Can't figure out why ndk-build is giving me 5 out of 6 shared libraries -.- Feb 17 09:27:43 there's a channel for taht Feb 17 09:27:47 I guess android-ndk Feb 17 09:28:14 that's an empty channel xD Feb 17 09:30:35 rmrrn, mh probably not too easy in that case using a dialog is probably easier even if you have to implement the actionbar Feb 17 09:31:13 But, semi-transparent full-screens are a real exception in the android look and feel - so maybe just reconsider Feb 17 09:31:13 so it's a different one Feb 17 09:33:28 @gordon well the channels i got sent to were #android & #android-dev and i didn't find any specifically ndk related dev channel Feb 17 09:46:07 rmrrn: You can apply a theme so that the activity looks like a dialog. Feb 17 09:46:43 I think you can simply use `Theme.Dialog`. Or you can create a custom theme and set specific attributes (whose details I can't recall right now; it's googleable, though). Feb 17 09:47:24 If you google "activity dialog android" or "activity not full screen android" or something. Feb 17 09:48:40 BAWSTi_: there was something, but i dont remember what Feb 17 09:48:46 there's also #android-root Feb 17 09:49:19 my experience with ndk is very limited Feb 17 10:11:32 hi, i have activity backstack A ...... Z i want to go back to middle of stack: activity M and clean stack M to Z Feb 17 10:11:35 is possible? Feb 17 10:12:11 xan_IT: Yes, with Intent.FLAG_ACTIVITY_CLEAR_TOP. Feb 17 10:13:51 thz, so if i make BACK from M i go to I Feb 17 10:16:13 hello guys, does anyone know a website showing all kinds of animation with its xml code. I saw once such a page on github a long time ago, but I can't find it now. Feb 17 10:19:35 https://github.com/codepath/android_guides/wiki/Animations ? Feb 17 10:20:56 is there a better way to retain aspect ratio on three images side-by-side other than calculating their sizes manually? any layout tricks I might be missing? Feb 17 10:21:18 and also keep the images same height that is Feb 17 10:21:33 TacticalJoke: Thanks, I will take a look. Feb 17 10:22:07 bare, thank you my friend Feb 17 10:22:16 barq, thank you my friend Feb 17 10:32:11 First google result for: android animations xml github Feb 17 10:34:50 'sup gang Feb 17 10:39:11 Hey I was wondering if there are any good refrences for writing parameterized/fragmented code? I tend to clump everything in one activity with a bunch of global variables Feb 17 10:40:58 hi, i want to create a mobile application for about 20k users. It would basically help process payments fast. Im not sure how to proceed with the backend. The frontend was not too difficult, but what do I use for backend? Do I need to use something like Firebase? Feb 17 11:11:19 Hi, i have a crash in a samsung model gt i8552B, how i can simulate with this model? Feb 17 11:11:39 what is the best online tool we can test my app in many devices/models? Feb 17 11:13:12 what is the stacktrace from the crash Feb 17 11:25:11 .NoSuchAlgorithmException: SecretKeyFactory PBKDF2WithHmacSHA1 implementation not found Feb 17 11:25:58 t0th_-_, amazon device farm allows you to run tests on different models but its expensive Feb 17 11:26:45 it is like testdroid, danijoo? Feb 17 11:26:54 i dont know testdroid Feb 17 11:27:48 danijoo, devices farms is for auto tests or manual testing as well ? Feb 17 11:27:48 thanks again, danijoo :) Feb 17 11:28:01 suhas_sm, auto Feb 17 11:28:04 Hmmm Feb 17 11:28:24 have to learn how to write test :'( Feb 17 11:28:29 desperately Feb 17 11:28:43 theres no manual testing service that I know of Feb 17 11:29:13 yeah, even if there is, wont be worth. How can I test manually on different devices Feb 17 11:29:18 it is too time consuming Feb 17 11:29:26 yep. Feb 17 11:29:31 and I don't have a QA as well Feb 17 11:29:53 So no layer between me and consumers :'( Feb 17 11:30:06 No testing sucks Feb 17 11:31:17 <^74NK> i have a device running android from microsd .img file. inside it there are 0.img (kernel) and 1 - 6.img all apps and userdata Feb 17 11:31:30 suhas_sm, ask users to betatest. ¨:) Feb 17 11:31:32 <^74NK> how to extract 0.img and later recompile on windows Feb 17 11:31:49 That is exactly what is happening Feb 17 11:31:52 see channel topic 74NK Feb 17 11:31:58 <^74NK> k m8 Feb 17 11:49:49 I have an Activity that has elements that are updated based on time. What is a good design to implement this? Right now I have a Handler, which posts messages delayed and updates the View that way. The problem is that the Activity may already be gone by the time the message is processed. I can check whether the view is null before performing an operation on Feb 17 11:49:49 it, but doubt this is good design. What would you recommend? **** BEGIN LOGGING AT Wed Feb 17 12:01:03 2016 Feb 17 12:04:47 When I see all around web, People are creating Android App templates as PSD Feb 17 12:05:00 what is the use of creating it in PSD? Just to show a design concept as in how it would look? Feb 17 12:05:07 Or you can actually use that? Feb 17 12:05:34 I mean, you still have to do it in Android XML right? PSD is just a concept? Feb 17 12:09:34 Omnipotent, in my experience it's the non-coding designers that tend to do that Feb 17 12:10:03 Yeah, there's a ton of psd designs out there.. It's so sad that it's not directly usable.. Feb 17 12:10:26 Being a pure programmer myself, I can't really do the UI, so If there was something like Ready made components similar to what we find for websites Feb 17 12:10:29 It would have been awesome Feb 17 12:10:40 Like ready made good looking lists/dropdowns buttons sliders Feb 17 12:10:52 I just use whatever google offers Feb 17 12:11:02 Yeah but it doesn't look awesomesause Feb 17 12:11:04 Heh Feb 17 12:11:06 It's pretty basic. Feb 17 12:11:29 looks good enough for me Feb 17 12:12:06 Well, I've been making such things for quite a while.. Just pretty bored of it Feb 17 12:12:14 Was wondering if I could slightly prettify my application Feb 17 12:12:20 Being a non-designer Feb 17 12:12:30 Ready made free templates/components etc. Feb 17 12:13:03 Hello everybody. I wanted to make a generic listview with a self remove element on each line. So i subclassed listview, Feb 17 12:13:09 and got this: http://lpaste.net/8317611945783984128 Feb 17 12:13:32 Omnipotent there is android arsenal that has tons of libraries for awesomesauce Feb 17 12:13:35 The thing is that when i add or remove an item by the buttons made Feb 17 12:14:04 i get a classcastexception in the internals from framelayout.layoutparams to abslistview.layoutparams.. Feb 17 12:14:09 Can somemody help? Feb 17 12:14:58 canvs2321, Oh, thanks! Feb 17 12:15:07 sad, no preview as to how it would look Feb 17 12:15:08 https://android-arsenal.com/details/1/3152 Feb 17 12:15:43 https://play.google.com/store/apps/details?id=com.yayandroid.progressedview Feb 17 12:15:44 Oh there is for some. Feb 17 12:15:46 at the bottom Feb 17 12:16:10 Understood, thanks a lot canvs2321 :) Feb 17 12:16:23 Damn, it has everything. Feb 17 12:16:48 :) that site is a great resource for the wheel Feb 17 12:17:40 Also, for game development, what do you guys recommend to use? apart from libgdx Feb 17 12:18:01 why not libgdx? Feb 17 12:18:01 or what is used in android at the core, Like OpenGL or DirectX is used on Windows Feb 17 12:18:09 I was just wondering what libgdx wraps Feb 17 12:18:18 surfaceview/opengles Feb 17 12:19:19 libgdx is a wrapper for opengl i believe, you can setup a project for windows/android/ios/html etc from the get go Feb 17 12:20:00 Yeah, that i know, I guess that's best way to start off then Feb 17 12:20:11 #libgdx too Feb 17 12:20:56 it seems like a great library, i've only just touched it's surface. haven't tried any others, just surfaceview,canvas and libgdx Feb 17 12:21:44 Oh ok Feb 17 12:22:16 Well, Also if you or someone if knows anything similar to android arsenal Feb 17 12:22:17 let me know Feb 17 12:22:27 github Feb 17 12:22:37 or anywhere ppl post open source Feb 17 12:22:52 stackoverflow has tons of great examples of code too Feb 17 12:48:03 In listview, what function can i subclass that calls the getView() on the adapter? Feb 17 12:59:38 does a relative layout act the same as a linear layout if no layout parameters are specified for child views? Feb 17 13:02:37 rmrrn what do you mean? RelativeLayout will lay a child one child on top of another if no layout parameters are specified for the child views Feb 17 13:02:55 ^ typos Feb 17 13:03:06 casadogg: that answers the question, thanks! :) Feb 17 13:04:05 Hello to everyone. I need load a remote image in my navigation. I try load in method "onCreate" in my activity, but i cant get the image resource with findViewById(R.id.ImageProfileView). Is normal ? Feb 17 13:04:18 navigation drawer, sorry. Feb 17 13:04:58 I do this, ImageView profileImage = (ImageView) findViewById(R.id.ImageProfileView); Picasso.with(this.getApplicationContext()).load("http://i.imgur.com/DvpvklR.png").into(profileImage); But gimme a error: Target must not be null Feb 17 13:06:07 I need create a navigation drawer programatically? Feb 17 13:07:27 futini: it means it couldnt find the ImageProfileView Feb 17 13:07:30 is it in the layout? Feb 17 13:14:12 Hi all, I am having a difficult time figuring out a layout problem: https://gist.github.com/anonymous/e92bcfea17e553b306c9 Feb 17 13:15:03 I can't get anything in the framelayout to display, even the red background is not visible. Feb 17 13:17:24 I suppose navigationview is on top of the framelayout Feb 17 13:17:41 and navigationview has match_parent so maybe it's that, rmrrn Feb 17 13:18:20 try setting it's visibility to gone to see if this is the problem Feb 17 13:18:58 casadogg: will have a look now Feb 17 13:20:21 casadogg: nope, the same issue :( Feb 17 13:22:09 hi guys Feb 17 13:22:47 hey Feb 17 13:22:50 rmrrn: does this layout contain some fragment Feb 17 13:23:55 Ashiren: yes, i'm using 'mainContent' as a fragment container, and setting the fragment programatically in onCreate Feb 17 13:24:16 lol so it's probably that Feb 17 13:24:25 so fragment covers the framelayout Feb 17 13:24:44 I might point out, that everything displays correctly if I remove the CoordinatorLayout/AppBarLayout Feb 17 13:24:48 danijoo: hi mate, can i disturb u? Feb 17 13:25:22 Ashiren, casadogg: well the fragment is inside the framelayout, so I would expect to see its content there, no? Feb 17 13:25:39 and you dont see the content either Feb 17 13:25:39 I suppose Feb 17 13:26:15 Ashiren: no - sorry if that's not clear, I don't see anything, just the action bar, and a blank screen Feb 17 13:26:30 the red background was an attempt to help me diagnose the issue, but I dont even see that Feb 17 13:26:41 Just to be sure, can you hide the framelayout containing the fragment and adding an empty framelayout with a red background? Feb 17 13:26:44 or whatever color Feb 17 13:26:46 :p Feb 17 13:26:52 hello, I do I save a variable from within result activity to use on another function on the same class Feb 17 13:27:02 casadogg: ofcourse, i'll have a go now Feb 17 13:27:23 andv: What is a result activity? Feb 17 13:28:55 onActivityResult() Feb 17 13:28:55 barq I guess he's referring to the activity called with startActivityForResult Feb 17 13:28:59 or that Feb 17 13:29:03 yes that Feb 17 13:29:12 is there a way to delete an imageview drawed in a canvas ex. myimageview.draw(canvas) without using invalidate() ? Feb 17 13:30:20 skin1980 I think not, because onDraw has to be called again Feb 17 13:30:45 still on the camera stuff, I want to store the image path generated from that, so I want a way to store that Feb 17 13:30:56 well.... that's not good for me, i'm going made making an animation fro a watch face Feb 17 13:31:05 mad not made Feb 17 13:31:17 oh lol Feb 17 13:31:18 casadogg: okay, added a new FrameLayout with a green background, and its still not visible. Strange Feb 17 13:32:00 skin1980 Can't you draw everything using surfaceview? Feb 17 13:32:31 skin1980 you don't need to request invalidate there Feb 17 13:32:31 can u explain pls.. i'm noob with android dev Feb 17 13:32:46 have u got a link with example Feb 17 13:33:49 http://developer.android.com/guide/topics/graphics/2d-graphics.html You can read about surfaceview here Feb 17 13:33:54 This dude made some youtube videos on it: https://www.youtube.com/watch?v=UH2OWnq7NQ4 Feb 17 13:33:56 from 8 onwards Feb 17 13:34:00 andv: i.e. this http://stackoverflow.com/questions/10407159/how-to-manage-startactivityforresult-on-android Feb 17 13:34:01 It will get you started Feb 17 13:34:37 tnx a lot casadogg Feb 17 13:34:52 Hello Android-dev community. I recently took a position that includes developing iOS, Android, and WinForm applications. My primary background is with WinForms/C#.net. I am essentially at ground zero with Android development. My employer of course is impatient and pressuring me to start producing bug fixes and feature implementations. Feb 17 13:35:09 all of this being said, what is a good entry point in learning Android development? Feb 17 13:35:34 should I stick with the google documentation 100%? Is there an invaluable 3rd party resource I should be well aware of? Feb 17 13:36:15 with iOS development I have had decent results with the free Stanford classes on YouTube Feb 17 13:37:35 tried using put extra gives error, the photo is generated on the result activity, and after a button click will upload, but I do I get this photo? Feb 17 13:37:38 uhh... Feb 17 13:38:08 azv4 This getting started page located at the android documentation sounds like a good entry point Feb 17 13:38:17 http://developer.android.com/training/index.html Feb 17 13:38:30 I mean it does say getting started Feb 17 13:38:51 andv: Show some code. Feb 17 13:39:01 Well first of all you should check the project for fragments usage Feb 17 13:39:10 If it uses only activities then you're lucky because it's one less thing to learn Feb 17 13:39:53 The most important thing to learn is about the activity lifecycle, everything else will come as needed Feb 17 13:39:58 casadogg, thx for the obnoxious reply Feb 17 13:40:06 maybe you didn't really comprehend my real question Feb 17 13:40:22 Idk dude go search for some videos Feb 17 13:40:35 if you don't want to stick to the documentation Feb 17 13:40:53 I shall start with the official documentation Feb 17 13:41:06 http://developer.android.com/develop/index.html Feb 17 13:41:08 buy head first android Feb 17 13:41:11 idk Feb 17 13:41:21 although some things might be a bit outdated or misleading Feb 17 13:41:41 Here if you can stomach it: http://shop.oreilly.com/product/0636920029045.do Feb 17 13:41:52 Since you're in a hurry I'd recommend getting a book Feb 17 13:42:25 also maybe this - http://www.sitepoint.com/12-android-tutorials-beginners/ Feb 17 13:42:50 code is here: http://pastebin.com/7SSPrDFE Feb 17 13:42:58 Ashiren, is that coming from a google search that you did, or do you have experience with that specific link? Feb 17 13:43:05 jesus Feb 17 13:43:22 the issue now is on the getStringImage want to get image from resultActivity Feb 17 13:43:52 the first link no, but second yes Feb 17 13:44:06 so start with official Feb 17 13:49:09 azv4, udacity has great tutorials/courses as well Feb 17 13:50:03 thank you Feb 17 13:51:00 I suppose I will start with the google documentation and branch out if I have issues with their approach. I hope my crooked learning approach is compatible with their presentation style Feb 17 13:56:33 anyone? Feb 17 13:56:48 barq Feb 17 13:59:04 Eclipse or Android Studio? Feb 17 13:59:19 AS Feb 17 13:59:21 Android Studio Feb 17 13:59:26 andv, http://imgur.com/jacoj Feb 17 14:02:47 hello, I’m using Android Studio 2.0. Sometimes the Instant Run says there are not changes to be deployed, and starts the app that was deployed. However, the deployed app is not really up to date. Is there a easy step to rebuild the APK and deploy. When I just do BuildAPK and then run, it is still the same issue. The only way it now works is, if I stop the emulator and then start it back again. Feb 17 14:04:30 jack34, instant run is beta and still very buggy. You cant rely on it. Feb 17 14:04:45 danijoo not a stacktrace issue here Feb 17 14:05:05 andv, does it return null? Feb 17 14:06:11 danijoo: okay. but when I tried just "Run" as well, it is not deployed the updated APK. Do you think that is also a bug with Studio 2.0 Feb 17 14:07:06 jack34, might be a problem with incremental java compilation. I dont know. You should try to disable instant run and check if this fixes the problem Feb 17 14:07:55 danijoo: Got it. Let me do that Feb 17 14:08:06 jack34, or switch to stable ;) Feb 17 14:08:30 AS 2 is still in beta? hmm, should a new guy dive right in or stick with 1.51? Feb 17 14:09:07 for work stick with stable things Feb 17 14:09:10 stick with stable unless you are experienced enough to understand where beta bugs might come from Feb 17 14:09:23 and how to work arround them Feb 17 14:09:25 seems like good advice, thx Feb 17 14:09:44 just want a way to store variable to from startactivity to use on getStringimage Feb 17 14:10:18 danijoo: thanks :) I did see that AS 2 had many speed improvements, so was eager to give it a shot. Will also install stable Feb 17 14:10:31 andv, you didnt say what the error is so noone can help you (at least since im reading) Feb 17 14:10:57 no error, just want to know how to do Feb 17 14:11:01 something Feb 17 14:11:54 to be honest the project was built in Eclipse and was targeting a very old SDK version, I have been able to get it to load and compile in AD 1.5.1, but I have so many warnings it's not even funny Feb 17 14:12:01 how will you use the filePath from onActivityResult on getStringImage ? Feb 17 14:12:27 I suppose first order of business should be updating depreciated code and moving to gradle from ant and probably 15 other issues I dont yet understand... Feb 17 14:12:54 andv, data.getString(YOUR_KEY) will give you the string Feb 17 14:13:08 so you already have old android projects in you work? Feb 17 14:15:49 Ashiren, yes, a rather large and robust application I am tasked in adding features and fixing bugs Feb 17 14:16:18 of course owners hired me knowing I dont have Java or Android development experience, and expect results yesterday lol Feb 17 14:16:40 danijoo nops Feb 17 14:16:47 well if you dont tricked him into thinking you know it - its his prob :P Feb 17 14:16:52 nops? Feb 17 14:16:57 I did not trick anyone Feb 17 14:17:13 I let them know I had ZERO java and Android experience when I took this job Feb 17 14:17:28 but owner twits will be owner twits! Feb 17 14:18:02 look at this pastebin: http://pastebin.com/7SSPrDFE how will you store the filePath from within the onActivityResult() to use on getStringImage() ? Feb 17 14:19:02 andv, as I said, data.getString(key) is the method you need Feb 17 14:19:37 need where? Feb 17 14:20:10 in the onactivityresult method Feb 17 14:20:16 its how you get the string from the Intents extra Feb 17 14:20:33 but I want it in getStringImage() not in activity result Feb 17 14:20:36 so you can pass use it. (the method might actually be getStringExtra(key) Feb 17 14:20:47 pass it to the method Feb 17 14:28:02 I can never remember how adapters work Feb 17 14:28:12 do I have to create my own listadapter? Feb 17 14:28:22 recyclerView? Feb 17 14:28:26 is there a simple one I can use for now? Feb 17 14:28:36 make a fancier one later Feb 17 14:29:01 Ashiren: actually I haven't tried recyclerview yet. I suppose thats what I want to use Feb 17 14:29:01 in old days of listview there were some implemented list adapters Feb 17 14:29:14 but listview is so last week Feb 17 14:30:58 RustySha1kleford, ArrayAdapter if you only want a string per element Feb 17 14:34:36 danijoo: Can I choose which member shows in the list item? Feb 17 14:34:46 or it just calls toString() on your list items? Feb 17 14:35:28 read the docs :-) Feb 17 14:36:19 okay, just need to find that page again haha Feb 17 14:36:28 i've got like 20 tabs with android docs open Feb 17 14:43:45 20? Feb 17 14:44:33 I frequently realise that I have 80-150 tabs open in firefox with most of them being d.android.com pages Feb 17 14:49:20 find it, used sharedpreferences to save the value Feb 17 14:49:27 thanks to those who tried to help Feb 17 14:51:14 Why have so many d.android.com pages open.. Use the sdk search plugin for chrome to quickly find pages Feb 17 15:34:31 Hello. I'm trying to figure out the proper way to use an AsyncTask so that it tracks with creation/destruction of the parent activity/fragment. Is there a recommended way to do this? Feb 17 15:42:33 Anyone try to install android studio i get time out could there be a new android studio come out? Feb 17 15:44:43 :) i hope someone can help me out. Feb 17 15:45:14 Download interrupted: Read timed out i get this error for some reason. Feb 17 15:49:04 ? Feb 17 15:49:18 perlsyntax: Is AS 2.0 in stable yet? Feb 17 15:49:43 I'm using pablo's PPA for Android Studio and he said he wont be updating it until 2.0 is stable Feb 17 15:50:29 i try to install android studio and get the take out error. Feb 17 15:50:38 time out i mean Feb 17 15:51:26 markyosullivan,What you mean i was try to download android studio 1.5.1 Feb 17 15:51:44 i use a mac. Feb 17 16:12:21 can I get some opinions on working with kotlin for android? I want to switch away from scala but I'm not sure if I should move to java or kotlin Feb 17 16:12:43 hearing some good stuff about kotlin but I'm afraid it's the same "sounds good, but not as good in practice" as with scala Feb 17 16:12:43 kotlin just hit 1.0 Feb 17 16:12:48 hmm, anyone know method count of design support lib OTOh Feb 17 16:12:49 perfect time to switch to it :p Feb 17 16:13:00 danijoo: have you worked with kotlin on android? Feb 17 16:13:21 Darkwater, yes Feb 17 16:13:43 Mavrik, 1512 Feb 17 16:13:49 ah Feb 17 16:13:53 do you have any issues with using it on android? Feb 17 16:14:08 Darkwater, no incremental compilation yet Feb 17 16:15:12 Darkwater, and no instant run. beside that everything is fine Feb 17 16:15:45 Darkwater, it's a good java++, but if you like scala, kotlin doesn't hold a candle Feb 17 16:16:03 do you think google might officially support it in the nearish future, kind of like how apple supports objC and swift for iOS? Feb 17 16:16:06 but it sounds like you don't like scala Feb 17 16:16:27 Darkwater, only google knows. I would not count on it Feb 17 16:16:30 pfn: scala's the bane of my job tbh Feb 17 16:17:50 why would google support it? Feb 17 16:18:44 frig, because even they must know that java is sooo 1995 ;) Feb 17 16:18:57 Darkwater, then use kotlin Feb 17 16:18:57 I would never stop using scala Feb 17 16:19:03 and kotlin can't satisfy what I want Feb 17 16:19:09 I think java is alright Feb 17 16:19:14 >daily reminder that there is literaly nothing wrong with java< Feb 17 16:19:18 Why wouldn't they? There are numerous reasons to move away from Java. Feb 17 16:19:21 frig, alright < good Feb 17 16:19:35 and it doesn't make sense for google to support something just because it adds some syntactic sugar Feb 17 16:19:56 I love these java vs other languages discussions Feb 17 16:20:04 Java is just syntactic sugar over bytecode. Feb 17 16:20:15 Every language is syntactic sugar. Feb 17 16:20:15 ultimately it boils down to devs being lazy Feb 17 16:20:27 and not wanting to write more code to do the same thing Feb 17 16:20:46 the problem with less verbosity is that it's also harder to read Feb 17 16:20:54 less information == harder to understand Feb 17 16:20:57 jvrodrigues, depends Feb 17 16:21:09 less verbose does not always mean less information Feb 17 16:21:35 kotlin basically rips off scala, but takes out the good parts Feb 17 16:21:47 pfn really likes scala :P Feb 17 16:21:49 danijoo: Feb 17 16:21:56 thepoosh, Feb 17 16:21:58 Is Go a scripting language? Feb 17 16:22:05 or a compiled language? Feb 17 16:22:05 been testing a bit Kotlin Feb 17 16:22:10 compiled Feb 17 16:22:18 actually, less and shorter code is easier to read Feb 17 16:22:20 thepoosh, and you didnt like it Feb 17 16:22:21 jvrodrigues: Java is too wordy. Even Java 8. Feb 17 16:22:22 Has there never been a movement to get Go to work with Android? Feb 17 16:22:26 it has weird syntax Feb 17 16:22:31 I think there are good parts Feb 17 16:22:34 nothing significant Feb 17 16:22:35 TacticalJoke: and there is nothing wrong with that Feb 17 16:22:37 but the barrier is high Feb 17 16:22:40 thepoosh, weird? like what? Feb 17 16:22:42 Go's pretty awful regardless Feb 17 16:22:47 you will spend more time thinking about what you're going to code than actually coding Feb 17 16:22:49 thepoosh: Everything seems weird until you get used to it lol Feb 17 16:22:51 i experienced the barrier to be super low when coming from java Feb 17 16:22:57 being less wordy wont make you more productive Feb 17 16:23:00 jvrodrigues: How many programming languages have you used in the past? Feb 17 16:23:06 TacticalJoke: quite a few Feb 17 16:23:22 jvrodrigues, studies show that's false Feb 17 16:23:26 markyosullivan: that is not the same Feb 17 16:23:37 I think the barrier from java to C# is very low Feb 17 16:23:40 for instance Feb 17 16:24:13 being less wordy don't make you want to gouge out your own eyeballs when you need to read someone else's ode Feb 17 16:24:15 code* Feb 17 16:24:17 so there's that Feb 17 16:24:48 thepoosh, what syntax do you think is weird? Feb 17 16:25:08 danijoo: maybe the implicit calling of getters Feb 17 16:25:11 for me it always looked like a mix of java and C#. Feb 17 16:25:17 but probably because of the react parts Feb 17 16:25:22 which i never touched Feb 17 16:25:44 thepoosh, there are situations where I dont like this too Feb 17 16:26:01 for example I tend to not use implicit getters for framework methods like getActivity() Feb 17 16:26:06 well, it's all new to me so Feb 17 16:26:07 because it kinda feels wrong Feb 17 16:26:25 also the method and parameters declaration was awkward Feb 17 16:26:29 like Obj-C Feb 17 16:26:44 I think having the name first is better. Feb 17 16:26:47 I'm too used to C like syntax Feb 17 16:27:01 You gotta be flexible. :p Feb 17 16:27:35 casadogg: Would being wordy not be a good thing if people would give their variables and methods appropriate names? Feb 17 16:27:43 eh, kotlin, like scala, looks very reminiscent of python Feb 17 16:27:45 thepoosh.flexibility = MAXIMUM Feb 17 16:27:48 I like python Feb 17 16:28:16 the type identifier after term names is a little clunky Feb 17 16:28:16 that's about the only thing I hate about the syntax Feb 17 16:28:16 I dont like python so much tbh Feb 17 16:28:18 markyosullivan a language having wordy syntax has no connection with people giving the right names to their stuff Feb 17 16:28:18 TacticalJoke: thepoosh.flex.set(max) Feb 17 16:28:45 as for being wordy, long, dry reads are incredibly difficult to comprehend Feb 17 16:28:49 casadogg: no but has a direct connection to people understanding the code even if the names are wrong Feb 17 16:28:53 danijoo: also, I've been diving into Groovy for the gradle tweaks lately so it might be too much change in a small time Feb 17 16:29:06 it's like a 10,000 word essay when a single paragraph abstract is sufficient to get the point across Feb 17 16:29:07 jvrodrigues perhaps people should start naming their shit correctly Feb 17 16:29:31 you cant force people to do stuff right, you can however have a language that is impervious to idiots Feb 17 16:29:38 >>>>>java Feb 17 16:29:40 you can't tbh Feb 17 16:29:45 well you can try Feb 17 16:29:50 look at php for example Feb 17 16:30:02 right Feb 17 16:30:03 look at how easy it is to spaghetify it Feb 17 16:30:09 and java isn't? Feb 17 16:30:17 not nearly as much as php Feb 17 16:30:20 obviously Feb 17 16:30:21 lol Feb 17 16:30:29 since when are we comparing java to php? Feb 17 16:30:37 I thought we were talking about scala/klingon/java Feb 17 16:30:40 were not Feb 17 16:30:42 java isnt *bad*. but parts of it are. Feb 17 16:30:49 java is easy to make into spaghetti Feb 17 16:30:49 and php doesn't suck because it's "expressive" Feb 17 16:30:51 it's not at all expressive Feb 17 16:31:11 it sucks for multiple different reasons Feb 17 16:31:25 I am giving you examples of why I feel that verbosity is good, I coded a lot of php, and a lot of java, its infinitely easier to screw up in php and it still working than it is in java Feb 17 16:31:41 * g00s yawns Feb 17 16:31:42 PHP is an absolute mess. Feb 17 16:31:43 php isn't bad because it's less verbose, it's actually rather verbose Feb 17 16:31:50 php isnt bad period Feb 17 16:31:51 g00s: !!! Feb 17 16:31:53 lol Feb 17 16:32:02 hey thepoosh :D Feb 17 16:32:05 I'm going to watch deadpool in a few hours Feb 17 16:32:12 wish me luck Feb 17 16:32:13 its php devs that are sometimes bad, and people blame the language Feb 17 16:32:28 jvrodrigues: that is not always correct Feb 17 16:32:37 there are languages that have many BAD parts Feb 17 16:32:40 jvrodrigues, in this case php must have the most bad devs ;) Feb 17 16:32:41 PHP is one of them Feb 17 16:32:44 php has all bad parts Feb 17 16:32:49 thepoosh lol. i was looking at https://www.sqlite.org/android/doc/trunk/www/index.wiki wonder if anyone here has used it. seems the java bindings are a little out of date Feb 17 16:33:09 g00s: did you see JakeWharton's new lib? Feb 17 16:33:12 jvrodrigues: What languages have you used other than PHP and Java? Feb 17 16:33:22 no type system to speak of, inconsistent api naming and behavior, symbols pulled from perl for identifier types, etc. Feb 17 16:33:23 thepoosh no Feb 17 16:33:36 If those are the only two, I can kinda understand thinking that PHP is good. Feb 17 16:33:37 JS, python and C#, professionally Feb 17 16:33:47 well python not as much Feb 17 16:34:03 i guess compared to JS, php is just equally bad :p Feb 17 16:34:07 g00s: https://github.com/square/sqldelight Feb 17 16:34:14 non professionally a lot more, because I get bored. I cant say I tested scala or kotlin besides documentation reading Feb 17 16:34:20 meh Feb 17 16:34:41 not my lib Feb 17 16:34:46 also not a lib Feb 17 16:34:54 oh, should've read some more Feb 17 16:35:01 I just saw your name at the top there Feb 17 16:35:08 sowwy Feb 17 16:35:37 JakeWharton: did I tell you about the weirdness with DiscLruCache? Feb 17 16:35:43 no Feb 17 16:35:50 For the next company app I'm going to use scala Feb 17 16:36:11 I hope they don't mind Feb 17 16:36:28 the world minds Feb 17 16:36:29 JakeWharton: we have a multiDex app, and when I tried compiling it with minSdk = 21 it crashed with NoClassDefError on it Feb 17 16:36:45 i don't see how that's related to the library Feb 17 16:36:54 JakeWharton how so Feb 17 16:36:56 sounds like it's ending up in the wrong dex file Feb 17 16:37:04 casadogg: scala is a plague Feb 17 16:37:18 just write Java code and then gzip it Feb 17 16:37:18 JakeWharton: is there a way to force it in the same dex? Feb 17 16:37:21 How so Feb 17 16:37:23 never used multidex Feb 17 16:37:28 btw, sorry for pinging you so much Feb 17 16:37:47 any robolectric fans, i have filed an interesting use case of sendOrderedBroadcast here https://gist.github.com/leviyehonatan/bd8730df455b48e63eec and i have filed an issue here https://github.com/robolectric/robolectric/issues/2293 Feb 17 16:38:06 i would imagine there's a way, and if not then it's sounds like a tools bug Feb 17 16:38:06 I wish, our product team single-handedly added 7 analytics SDKs Feb 17 16:38:08 :s Feb 17 16:38:39 analytics/A-B tests and other crap Feb 17 16:39:07 well they need to look busy or they'll be fired Feb 17 16:39:17 casadogg, ignore JakeWharton he has some sort of agenda against scala Feb 17 16:39:40 i do, because i used it once Feb 17 16:39:44 "once" Feb 17 16:39:47 i need reparations Feb 17 16:39:49 basically not at all Feb 17 16:40:16 oh? Feb 17 16:40:24 LOL Feb 17 16:40:29 thepoosh you have 7 analytics libs or was that a joke Feb 17 16:40:41 i wasn't aware number of projects correlate somehow with my knowledge of the language Feb 17 16:40:43 just a sec Feb 17 16:40:48 I'm counting Feb 17 16:41:02 you have no knowledge of the language Feb 17 16:41:08 ok cool Feb 17 16:41:10 these are good facts Feb 17 16:41:11 thepoosh, the fact that its countable is the problem :p Feb 17 16:41:13 keep 'em coming Feb 17 16:41:21 can you tell me where I left my keys? Feb 17 16:41:26 JakeWharton for how long have you used scala? Feb 17 16:41:39 And I can make you an app in scala to remind you of your keys Feb 17 16:41:44 casadogg: i used it for about 3 months on one project. almost hit 10k lines. Feb 17 16:41:56 it was the worst experience of my life, and I've done PHP and Perl before Feb 17 16:42:01 lol Feb 17 16:42:04 "3 months" Feb 17 16:42:13 GA, Appboy, AppsFlyer, Internal SDK, Apptimize, and 2 more that cannot be disclosed Feb 17 16:42:16 * pfn has been developing in scala for about 5 years Feb 17 16:42:19 danijoo: ^ Feb 17 16:42:21 thepoosh on the topic of plagues ... Feb 17 16:42:24 pfn: will this be on the final? Feb 17 16:42:24 Mind you if I ask what was involved in this project? Feb 17 16:42:36 JakeWharton: Did you dislike the complexity? Feb 17 16:42:59 casadogg: it was an extension to sbt Feb 17 16:43:25 took the Play Framework style classloader isolation and applied it to Maven pom files for incremental compilation and reloading without needing to actually switch to sbt Feb 17 16:43:36 Interesting Feb 17 16:43:41 it worked okay Feb 17 16:43:54 too much special casing and edge cases Feb 17 16:44:09 sounds like JS Feb 17 16:44:22 more like a problem of the project rather than the language Feb 17 16:44:26 sounds Feb 17 16:44:41 i never said it was a problem of the language Feb 17 16:44:47 wow. Feb 17 16:45:22 and your case unravels Feb 17 16:45:40 But you think the language sucks Feb 17 16:45:50 Even though the language is not the problem Feb 17 16:45:59 I'm confused Feb 17 16:46:10 like I said earlier Feb 17 16:46:12 well those things aren't really correlated Feb 17 16:46:21 it would have worked equally as well written in Java Feb 17 16:46:29 the limitations of the project have no correlation to the language used Feb 17 16:46:44 But the world would be better off without scala Feb 17 16:46:53 and you would have been equally miserable writing it in java Feb 17 16:46:56 This conversation almost makes it sound like not liking a language is a crime :P Feb 17 16:47:11 Languages are like cults Feb 17 16:47:12 i would have been more miserable writing it in Java Feb 17 16:47:17 scala helped a lot Feb 17 16:47:21 that doesn't make it a good langauge Feb 17 16:47:29 you're in and it's the best thing, then you left and say "ughh i programmed in that shit for 10 years of my life I need compensation" Feb 17 16:47:44 leave* Feb 17 16:48:56 Mavrik I just don't understand why he doesn't like Scala Feb 17 16:49:17 Well some people don't like some things. Feb 17 16:49:21 His arguments are "Scala is like a plague, Java is worse, Scala helps, but it sucks" Feb 17 16:49:25 biggest reason why people don't like scala is that it straddles OO and FP Feb 17 16:49:25 and it really doesn't satisfy both camps fully Feb 17 16:49:30 I also think Scala looks like someone barfed a dvorak keyboard on the screen. Feb 17 16:49:42 I don't really feel I have to defend that in court of law :P Feb 17 16:49:43 I dont eat mushrooms. screw me :/ Feb 17 16:50:04 I didn't say Java is worse Feb 17 16:50:09 I say using Java on the project would have been worse Feb 17 16:50:24 Mavrik, yeah, but you don't say that while claiming you "know" the language Feb 17 16:50:27 you do know that dvorak keyboards are superior, right? Feb 17 16:50:29 it would have been an ill-suited tool to interfacing with the Scala APIs of sbt Feb 17 16:50:41 True, I've never seriously tried it. :) Feb 17 16:51:17 I mean, I can look at most any language that I don't really know well and say it looks like someone barfed on their keyboard Feb 17 16:51:32 rust and haskell practically fall into that camp for me Feb 17 16:52:43 the abuse of symbols for terseness in scala exceeds those two languages though Feb 17 16:52:54 lolwrong Feb 17 16:53:20 oh Feb 17 16:53:21 ok Feb 17 16:53:25 thanks buddy Feb 17 16:53:36 if you say that, you haven't even looked at haskell at all Feb 17 16:54:33 i was going to use rust as my comparison since i know it moderately well Feb 17 16:55:01 it doesn't stray to the level of shifty-ness that scala does Feb 17 16:55:55 it's cryptic in very different ways Feb 17 16:57:09 meh, I wish the imgur app would remember wtf I uploaded Feb 17 16:57:14 lolwrong Feb 17 16:57:20 gotta lunch, bye! Feb 17 16:57:21 Has anyone used swift? Feb 17 16:57:31 Gonna start programming for ios Feb 17 16:57:48 Not excited, but still Feb 17 16:57:57 I have a teensy bit. It's a fantastic language. Try it out! Feb 17 16:58:41 anyway, something I recently wrote to be a bit more purely functional for android: https://github.com/pfn/qicr/blob/master/src/main/scala/com/hanhuy/android/irc/LogcatActivity.scala -- take it how you will Feb 17 16:58:45 http://imgur.com/ZJqGv4P Feb 17 16:58:50 i dont get the point of this conversation Feb 17 16:58:50 results in something that looks like that Feb 17 16:58:55 I liked swift's switch Feb 17 16:59:45 hi there Feb 17 17:00:21 Nick-S, theres no point to get Feb 17 17:00:44 i'm personally a kotlin fan, i just had to post an example in java, java feels so old when you know your kotlin Feb 17 17:01:45 people have different preferences and some people cant understand this. thats the point to get from the conversation ;) Feb 17 17:02:06 also preferences change through life, you could be a lover now and hater later :D Feb 17 17:02:08 java is your 50 year old uncle with red cap yellow polo flip flops and white socks Feb 17 17:02:10 he owns a boat though Feb 17 17:02:21 danijoo, nicely veiled insult Feb 17 17:02:33 fuck you too Feb 17 17:02:45 pfn: whats'up? Feb 17 17:03:05 pfn, kinda interessting that you feel adressed though Feb 17 17:03:18 wasnt exclusivly for you :) Feb 17 17:03:26 danijoo, considering the parties involved here Feb 17 17:03:57 anti-anti-scala agenda Feb 17 17:04:03 hehe Feb 17 17:04:45 its true, it all depends on your taste Feb 17 17:05:43 let's just all agree that Groovy is the worstest Feb 17 17:05:43 Though anybody who likes C++ deserves solitary confinement. Feb 17 17:05:59 guys, in this code http://stackoverflow.com/questions/35347155/how-to-add-an-animation-to-android-wear-watch-face i have to add some anymation inside the ondraw method Feb 17 17:05:59 It was definitely not for me. I respect shitty preferences Feb 17 17:06:37 I'm not implying anyone have shitty preferences based on the previous conversation. Just saying. Feb 17 17:07:16 i have an animated background and some other object that have to move inside the screen. I actually got the background moving using invalidate() and redrawing the screen Feb 17 17:07:50 but it's not a good way Feb 17 17:09:29 i tryed with a runnable but i can't call imageview.draw(canvas) inside it Feb 17 17:09:36 it gives me error Feb 17 17:09:50 any suggest? Feb 17 17:11:19 Didn't you try the surface view? Feb 17 17:11:45 hi guys, im writing an app in android to comunicate with a java server with sockets, but doesnt work for remote connections, only in my local network, and even when i put my client ip address in the android app doesnt work, only with the local one, any tips Feb 17 17:11:50 i can't find how to implement it casadogg Feb 17 17:11:54 why would getContext() return null? Feb 17 17:12:14 even when i puty my server ip address** Feb 17 17:12:24 skin1980, google for android game loop Feb 17 17:12:57 surfaceview is one way to go, but you won't benefit of hardware acceleration if you use canvas basic operation like drawLine, drawCircle, etc Feb 17 17:13:08 RustySha1kleford: That question lacks context. Feb 17 17:13:29 skin1980, basically, you need a thread looping which will redraw your view at periodic interval Feb 17 17:13:32 I didn't mean that as a pun. Feb 17 17:13:49 Literally falling asleep right now. Feb 17 17:13:51 adq: i understand that Feb 17 17:14:16 if it's for android wear watchface, you should look at the official samples Feb 17 17:14:19 adq: but how to redraw the view since in the thread i can't call imageview.draw(canvas)? Feb 17 17:14:24 they call invalidate inside onDraw iirc Feb 17 17:14:34 but you can also control yourself the refreshing by using a thread Feb 17 17:14:45 also a watchface is like a wallpaper on android Feb 17 17:14:45 TacticalJoke: it was a good pun though Feb 17 17:14:51 how can i refresh adq? Feb 17 17:14:53 it's not exactly a regular view, it's under a little engine class Feb 17 17:15:02 skin1980, look at the samples first and familiarize yourself with it Feb 17 17:15:04 Fragment gets created, but a call to getContext() returns null Feb 17 17:15:12 doesn't seem like that should happen Feb 17 17:15:20 RustySha1kleford, where do you call getContext() ? Feb 17 17:15:25 the samples doesn't have complex animation Feb 17 17:15:40 the complex animations are up to you Feb 17 17:15:40 the only move the hands Feb 17 17:15:46 RustySha1kleford, it is null if you call before onAttach or after onDetach Feb 17 17:15:52 RustySha1kleford, that is the definition of the fragment lifecycle Feb 17 17:16:14 what i need is understand how can i redraw inside the thread Feb 17 17:16:20 skin1980, for example, instead of imageview, use a bitmap that you draw on the canvas Feb 17 17:16:24 with canvas.drawBitmap Feb 17 17:16:27 how do I add the String name, email etc in my xml layout ? Java-> http://pastebin.com/EGHf0TJ3 -> XML layout: http://pastebin.com/aQJ4juit Feb 17 17:16:41 don't treat a watchface as a regular view, but as a wallpaperservice Feb 17 17:16:52 and again, read the several docs and look the samples :) Feb 17 17:17:10 from function GetMyProfile Feb 17 17:17:16 getContext is called in onCreateView Feb 17 17:17:17 adq ok i will, the samples is on android-dev site? Feb 17 17:17:22 so before its attached, yeah? Feb 17 17:17:28 yes skin1980, or inside your sdk folder Feb 17 17:17:51 RustySha1kleford, https://github.com/xxv/android-lifecycle/blob/master/complete_android_fragment_lifecycle.png Feb 17 17:17:52 skin1980, there are on github too https://github.com/googlesamples/android-WatchFace Feb 17 17:17:54 ok i'll try.. tnx for your time adq Feb 17 17:18:14 np Feb 17 17:18:18 skin1980, here too: http://developer.android.com/intl/zh-cn/samples/WatchFace/index.html Feb 17 17:18:23 wtf zh-cn oO Feb 17 17:19:04 google searches do that for no reason... Feb 17 17:20:48 danijoo: nice diagram Feb 17 17:21:00 definitely bookmarking that one Feb 17 17:22:00 RustySha1kleford, i have it printed out on a wall near my desk for quick reference :) Feb 17 17:24:02 It should carry a disclaimer: "WARNING: Do not try to emulate this API design." Feb 17 17:24:40 hmm, so I recently updated to windows10 and nuked apps/settings -- but all my adb devices still work, why? I don't think adb drivers are windows official now... Feb 17 17:26:09 weird, it shows up under "USB devices" and "ADB Interface" with a Microsoft driver from 2006 Feb 17 17:26:12 * pfn headscratches Feb 17 17:26:55 http://ezscreens.appspot.com/view/18b2/adb+interface+win10 Feb 17 17:27:32 pretty convenient, fucking finally msft... Feb 17 17:28:30 huhu, you're search for nicky romero Feb 17 17:29:33 indeed pfn: http://imgur.com/UcMzpo8 my "driver" atm Feb 17 17:29:55 still "update driver" does not find a new one Feb 17 17:31:46 manually, i got it Feb 17 17:35:27 Urg. Why is it such a minefield to get an item clicked in a recyclerview so I can delete it from a database -.- -.-. No onItemClicked listener, getPosition depreciated... Feb 17 17:35:56 There's no onItemClicked listener? Feb 17 17:35:58 Oh shit Feb 17 17:36:05 I'm using a Recyclerview Feb 17 17:36:22 Taios, it should be trivial, inside your recyclerview adapter in an onclick method of your viewholder or one of its child Feb 17 17:36:44 That will get me the view - but not the actual object so I can get it's id? Feb 17 17:37:03 "or one of its child" Feb 17 17:37:34 how do I add the String name, email etc in my xml layout, from function GetMyProfile? Java-> http://pastebin.com/EGHf0TJ3 -> XML layout: http://pastebin.com/aQJ4juit Feb 17 17:37:50 you can filter the click received from the viewholder and only apply it to the view you would like Feb 17 17:37:57 Would you not be able to get the ID from a RecyclerView.Adapter? Feb 17 17:38:07 Which is what I'm using in mine Feb 17 17:38:21 v.getId()? Feb 17 17:38:23 Essentially it'll just return the id of the item in the array would it not? Feb 17 17:38:40 or instanceOf if you know the view class Feb 17 17:38:49 but that gets the view id, not the object id? Feb 17 17:38:50 apply the onClickListener in the viewholder and write your own onclick interface that gets your item as param of the onclickfunction Feb 17 17:39:06 yup, a listener is convenient for that Feb 17 17:39:22 you have many example onlines Feb 17 17:40:00 markyosullivan - i'm in RecyclerView.Adapter which is where I have an onclicklistener on the view. Feb 17 17:40:13 Hmm, aye there seems to be like 5 different methods for doing this :). Feb 17 17:40:17 Hold on, I'm going to try and do this now Feb 17 17:40:18 *sigh* Feb 17 17:40:21 Ok :). Feb 17 17:40:45 Will be going for dinner shortly but will continue to work on this and then I'll go back to what I was doing later Feb 17 17:42:08 oooh, v.getAdapterPosition. Feb 17 17:42:17 Taios, http://pastebin.com/wPu2rjBY Feb 17 17:43:40 Get it sorted Taios? Feb 17 17:44:30 Taios, another almost similar example: http://imgur.com/CFsZTUA Feb 17 17:44:34 Oh, interesting I didn't think of having the object(User in this case) in the ViewHolder...that seemed like a strange thing to do considering it's a..view holder? Feb 17 17:44:46 Yes got it sorted :). I'll paste bin it for you Feb 17 17:44:52 Thanks guys :) Feb 17 17:45:33 aah ok adq I was missing the "getLayoutPosition" (although will just use getAdapterPosition) Feb 17 17:45:53 they are very similar Feb 17 17:46:02 "Note that this might be different than the getLayoutPosition() if there are pending adapter updates but a new layout pass has not happened yet." Feb 17 17:46:05 adq, yours creates less objects. Feb 17 17:46:11 which us nice Feb 17 17:46:15 is* Feb 17 17:46:22 because of static danijoo? Feb 17 17:46:23 Damn, just when I got myself set up to start working on this task, Taios gets it working haha Feb 17 17:46:45 Trying to keep my project organised on Trello Feb 17 17:46:57 adq, because you pass the same listener to every viewholder while i create one listener per holder Feb 17 17:47:41 not a big deal i guess. 20 objects more or less .. Feb 17 17:47:53 oh Feb 17 17:48:25 i make ppl eyes bleeding with my \n before { :D Feb 17 17:49:53 lol :D. I didn't even notice I was so focused :D Feb 17 17:54:24 also ty adq - was about to run into an issue of trying to open a dialogue when an item is clicked, which requires an activity/context...hacky way would be to pass the context into the adapter...listener means I don't have too :). Feb 17 17:55:21 yeah, avoid at all cost when you can to pass context Feb 17 17:59:34 Anyone able to help with this http://stackoverflow.com/questions/35461644/getting-only-partial-result-from-inputstream/35462151#35462151 Feb 17 17:59:58 adq, I like edm, so sue me :P Feb 17 18:00:08 I tried what Krzysztof posted however .read waits until it reads something Feb 17 18:00:19 so the app never exits the second while loop Feb 17 18:02:37 Why is View.OnClickListener a void method whereas View.OnLongClickListener is boolean method? Feb 17 18:02:49 pfn, eheh i produce edm ;) Feb 17 18:03:09 pfn, in case you're curious: https://soundcloud.com/adqbpe Feb 17 18:03:40 mainly dnb recently, though Feb 17 18:04:39 markyosullivan, this is historical Feb 17 18:05:03 you can use onTouch... instead if you want to manage the return state and block descendant to get the touch even Feb 17 18:05:08 t Feb 17 18:07:55 Why would someone want to use onTouch over onClick? Feb 17 18:08:10 to have more control on the press, hold and release Feb 17 18:08:50 onClick is only fired late Feb 17 18:09:10 you can also look at gesturedetectorcompat Feb 17 18:09:45 markyosullivan I had to use onTouch to deal with when a user clicks on a edittext Feb 17 18:09:52 because it wasn't registering properly for some reason with onClick Feb 17 18:10:06 Strange Feb 17 18:10:22 and I wanted an activity to open when the user clicked on it. =)..with onClick they had to click twice - I guess to get focus first Feb 17 18:12:00 Hi, is there a way to use the 64 bit sdk in a 64 bit system? Feb 17 18:12:48 I'm going to have to work on this onClick method for a while, clicking on the items and my sout isn't working haha Feb 17 18:17:27 Aye I still don't quite understand what was wrong with onItemClickedListener and why that was removed :/...oh well. Feb 17 18:17:29 hey guys Feb 17 18:17:37 can't I enable Google sign-in for debug versions? Feb 17 18:18:02 ive fixed the google-services.json file for the debug version, the domain matches as "com.my.domain.debug" as in the console Feb 17 18:18:15 the same process that enables sign-in on my release version Feb 17 18:20:40 you can Odaym but you need to add the debug key inside https://console.developers.google.com/project?pli=1 Feb 17 18:20:48 of course Feb 17 18:20:50 i did it manually to get it working Feb 17 18:21:02 I used the debug key whose password is android Feb 17 18:21:03 also it's not instant, it can take few hours iirc Feb 17 18:21:05 the default one you know Feb 17 18:21:08 yup Feb 17 18:21:15 you need to add the sha1 fingerprint & stuff Feb 17 18:21:19 yea Feb 17 18:21:20 matching the packagename, etc Feb 17 18:21:20 https://youtrack.jetbrains.com/issue/IDEA-127539 Feb 17 18:21:21 hmm, neat Feb 17 18:21:27 I wonder if that's togglable in intellij 15 Feb 17 18:21:35 so its not something towards debug versions, that's all I want to know Feb 17 18:21:46 you can enable any app to use sign in, released or not Feb 17 18:22:14 wow ligature Feb 17 18:25:43 Anyone knows how to make that long press to preview like in instagram app? Feb 17 18:27:28 Found this: https://github.com/nantaphop/HoverTouchView Feb 17 18:28:09 oh, only in EAP builds, didn't ship in 15 experimentally :( Feb 17 18:29:31 created them again manually, it worked Feb 17 18:29:32 weird Feb 17 18:32:41 http://ezscreens.appspot.com/view/487c/ligatures+in+idea Feb 17 18:32:43 neat, kinda works Feb 17 18:34:19 Anyone know the purpose of the permission "android.permission.READ_PRIVILEGED_PHONE_STATE"? Couldn't find anything online. Feb 17 18:34:43 Hi, is there a way to use the 64 bit sdk on a 64 bit linux system? Feb 17 18:35:22 there's no mention of it here zrneely http://developer.android.com/reference/android/Manifest.permission.html Feb 17 18:36:06 Odaym, yeah, which is why I was confused. I found it in an apk that I decompiled. I did find a reference to it here: https://android.googlesource.com/platform/frameworks/opt/telephony/+/master/src/java/com/android/internal/telephony/PhoneSubInfo.java Feb 17 18:36:59 this is platform code Feb 17 18:38:00 Yep, I was just sharing the info I was able to find Feb 17 18:39:34 ah, firacode is nice Feb 17 18:43:15 http://ezscreens.appspot.com/view/174d/firacode+ligatures Feb 17 18:43:30 It seems like it's a system permission dealing with IMS. Which is very strange considering it's not a system app I decompiled... Feb 17 18:43:40 I put "testCompile 'org.mockito:mockito-core:1.10.19'" in my build.gradle, but my androidTest suite doesn't have access to org.mockito... why's that? Feb 17 18:46:59 explodes, "testCompile" is dependencies for JUnit testing on the host machine Feb 17 18:47:10 explodes, for instrumentation tests on the device it's "androidTestCompile" :) Feb 17 18:47:30 Right, I thought testCompile was implied in androidTestCompile, I guess that assumption is fully inaccurate? Feb 17 18:47:39 yes Feb 17 18:47:45 compile is implied with testCompile tho Feb 17 18:48:00 Oh well, I'll just duplicate the lines, no worries Feb 17 18:48:02 mmm? Feb 17 18:48:08 Not sure what do you mean. Feb 17 18:48:17 it's "androidTest" appending to "Compile" Feb 17 18:48:20 androidTestCompile dependencies are included into the APK test artifact that runs on the device Feb 17 18:48:29 not "android" appending to "Test" appending to "Compile" Feb 17 18:48:30 testCompile dependencies are included into the test JAR that runs on your PC Feb 17 18:48:41 has someone in here used "Simple Framework" with android and could help me understand why serializing / deserializing of enums works out of the box? D: Feb 17 18:48:45 Can a view have both onhoverlistener and onclicklistener? Feb 17 18:49:06 missingno: Mavrik: makes sense. thanks :D Feb 17 18:49:16 the real question is - does "gradlew test" run instrumentation tests Feb 17 18:49:22 I suspect the answer is no Feb 17 18:49:23 yp. And compile is always included because it's the dependency for main code :P Feb 17 18:50:44 missingno, no it doesn't :) Feb 17 18:51:12 @ astroduck why should a view not be allowed to have both? Feb 17 18:51:21 Mavrik: is the command "androidTest" ? Feb 17 18:51:23 it's an interface that you implement yourself Feb 17 18:51:32 missingno, IIRC it's ./gradlew check that runs all tests Feb 17 18:51:47 explodes, connectedAndroidTest or connectedCheck Feb 17 18:51:57 hint: ./gradlew tasks lists all top-level tasks Feb 17 18:52:02 nice, will look into it Feb 17 18:52:07 ./gradlew tasks --all lists all tasks with dependencies. Feb 17 18:52:19 divStar: I mean, does it work find, not some weird behaviour? Like onClick being called even if onHover is called (and true is returned) Feb 17 18:52:50 Is it even possible to use mockito on androidTests? Feb 17 18:52:54 oh that I do not know.. why don't you try it? I am afraid general answers to this should be treated with caution anyway Feb 17 18:53:08 my spy is throwing an exception: java.lang.NoClassDefFoundError: Failed resolution of: Lcom/android/dx/rop/type/Type; Feb 17 18:53:23 yep, it's possible Feb 17 18:53:31 I use mockito on test .. haven't tried using it on android test @ explodes Feb 17 18:53:45 Mavrik: mind pasting your working androidTestCompile list? Feb 17 18:53:49 explodes, you need to use the other version though Feb 17 18:53:58 androidTestCompile 'com.google.dexmaker:dexmaker:1.2' Feb 17 18:53:59 androidTestCompile 'com.google.dexmaker:dexmaker-mockito:1.2' Feb 17 18:54:12 since bytecode for Android is different. Feb 17 18:54:16 with org.mockito:mockito-core:1.10.19 ? Feb 17 18:54:26 1.4 def. wasn't working, i'll try 1.2 Feb 17 18:54:48 explodes, did you fully read the dependency strings? :P Feb 17 18:54:53 Because it doesn't seem like it ;) Feb 17 18:59:23 eff yess it's working Feb 17 18:59:43 thanks. setting up testing is 1/2 the difficulty of testing . only need to learn how to do it once, though Feb 17 19:04:07 Am I doing something silly in trying to get onClick working? Feb 17 19:04:08 http://pastebin.com/NFJCH8vM Feb 17 19:04:17 I got a feeling I am Feb 17 19:06:20 println? Feb 17 19:06:54 other than that it should work still Feb 17 19:08:49 Yeah wanted println so it'd take a new line incase I had "onClick Item IDonTouch" Feb 17 19:09:10 But it's not printing anything out to console Feb 17 19:09:42 I even set the individual item views as clickable in the relevant XML file Feb 17 19:09:47 in android we use Log i.e. Log.d("meow","onClick") Feb 17 19:10:04 maybe the logger doesnt log printlns Feb 17 19:10:28 It does, I've been using system.out.print because sout tab makes it really quick to do :P Feb 17 19:10:36 Been using it to test my firebase stuff Feb 17 19:11:15 what is v actually Feb 17 19:11:21 view Feb 17 19:11:26 x_x Feb 17 19:11:34 maybes its covered and something else consumes the click Feb 17 19:11:59 That's what I thought Feb 17 19:12:04 but I can't work out what it could be Feb 17 19:12:15 ScrollView? Feb 17 19:12:26 :o Feb 17 19:12:28 no, I don't have it Feb 17 19:12:28 lol Feb 17 19:12:40 I just have scrollbars in my RecyclerView Feb 17 19:13:32 was gonna gonna start talking about the aliens but thats no the objective ! Feb 17 19:13:46 try settings the listener on cardLayout Feb 17 19:15:39 Fucking hell Feb 17 19:15:45 It's the cardLayout Feb 17 19:15:56 Noticed this: holder.bookingTime.setText(timeDataset[position]); Feb 17 19:17:21 Thanks for the suggestion Ashiren Feb 17 19:17:45 I'm confused why it's working on cardLayout and not the view Feb 17 19:18:11 its mystery we will never discover Feb 17 19:18:41 did you set android:clickable="true" on the view? Feb 17 19:19:14 @markyosullivan Feb 17 19:19:27 justjanne that's what I tried first Feb 17 19:19:37 I put it on the CardView within the XML Feb 17 19:19:57 I'll try again, this is confusing me Feb 17 19:20:05 Okay Feb 17 19:20:10 Now it works for the view Feb 17 19:21:26 Going to see if I can figure out what I was doing before hand where it wasn't working Feb 17 19:22:04 Oh Feb 17 19:22:49 I'm pretty sure I set android:clickable on the wrong layout / item in the XML Feb 17 19:22:57 Had it on the first relative layout Feb 17 19:23:25 What's the correct term for the the likes of ? Is it XML item? Feb 17 19:24:48 Why does onTouch come up twice when you click on something with an onTouchListener? Feb 17 19:27:08 because you have touch down and touch up Feb 17 19:27:11 so that's twice Feb 17 19:28:39 i need a rooted jellybean or higher emulator Feb 17 19:32:13 every emulator is rooted Feb 17 19:34:56 hm .. can someone explain to me how Simple Framework auto-handles enums correctly and why? :X? Feb 17 19:36:08 I mean .. I am serializing objects.. and an enum is part of it (though it also supports serialization).. it properly puts in a string into the element when serializing this enum and properly deserializes to the correct enum-value.. and I do not exactly understand why Feb 17 19:40:14 ah... it seems that's the default behavior of EnumTransform in simple framework.. Feb 17 19:49:18 When I spy on an instance (on a device only) I get: java.lang.AbstractMethodError: abstract method "boolean org.mockito.internal.invocation.AbstractAwareMethod.isAbstract()" Feb 17 19:49:38 It seems the irony is that the abstract method is called isAbstract() Feb 17 19:49:43 How do I add the String name, email etc from function GetMyProfile in this xml layout at the Textview id name? Java-> http://pastebin.com/pfvN35hm -> XML layout: http://pastebin.com/CGEJtrvd Feb 17 19:52:15 TextView myTextView = (TextView) findViewById(R.id.name); Feb 17 19:52:19 myTextView.setText(email) Feb 17 19:52:54 However, you cannot modify views on threads other than the UI thread Feb 17 19:53:27 so you'll need to call runOnUiThread(new Runnable(){void run(){ ... set text ... }}); Feb 17 19:54:31 okay so I can allso move the MyProfile thing to onCreateView then? Feb 17 19:56:00 yea that works just fine Feb 17 19:56:12 I'd keep it in its own method, though Feb 17 19:56:33 That's one way to write cleaner code, keeping your methods as small as possible Feb 17 19:56:40 okay I will try that :) and thx for you help Feb 17 19:56:59 So if I want a 2 column layout that can collapse into one column on small screens, what is the best way to accomplish this? a TableLayout? i.e. like in this image http://i.imgur.com/kDHbH19.png Feb 17 19:57:31 or maybe just a linearlayout inside a linearlayout would suffice Feb 17 20:00:41 is it possible to send a notification from a server to an android without going thru the GCM? Feb 17 20:01:09 krippykripkrip: yes, you need some form of a protocol there Feb 17 20:01:27 hi p_1 Feb 17 20:02:40 so on a blackberry i have the port number that listens to notification, i can send an http request passing that port number from a server and send a personal alert to the device, so is that possible on android? Feb 17 20:03:20 and if so is there any articles, tutorials to do this? Feb 17 20:03:31 your device can querie the server at regular intervals with whatever protocol you want Feb 17 20:04:38 you need to write code into your application to either listen on a port for connections (won't work outside of wifi/etc on local network, at least in practice) or to connect to your server using TCP with long timeout (this allows device to sleep, as the modem/wifi will wake it up when data comes in instead of keeping the cpu running) Feb 17 20:06:28 yeah danijoo thats fine to do , although there would be some impact on battery, just wondering if there was a way to send from server to device Feb 17 20:06:45 krippykripkrip, without gcm not really.. Feb 17 20:07:10 there where 3rd party solutions in the past - but they have major drawbacks because of dooze in android 6 Feb 17 20:07:22 why do you want to not use GCM? Feb 17 20:07:23 yeah danjoo, thats what i kind see when i google, but GCM isnt that reliable and not secure either :( Feb 17 20:07:38 what do you mean its not reliable? Feb 17 20:08:05 it’s no less reliable/secure than most other solutions Feb 17 20:08:09 read articles with notifications not coming thru, thats not a big issue but the securiity of it is a big issue Feb 17 20:08:21 with blackberry i can push thru a BES Feb 17 20:08:35 for security, you dont have to do the actual data transfer via GCM. you can send a 'ping' via GCM which then makes the phone to query your server securely (ssl or whatever you want) Feb 17 20:09:10 hmm, thats true, thats an idea Feb 17 20:10:03 good thinking danijoo Feb 17 20:10:10 thx Feb 17 20:11:40 all major companies use GCM now. I'd say its pretty reliable Feb 17 20:12:26 Has anyone gotten mockito spies to work with androidTest? Feb 17 20:14:18 God damn, if 1 thing in testing would "just werk" I'd be amazed Feb 17 20:15:56 in only twerks Feb 17 20:24:02 it’s crazy, given how big into testing and automated testing Google is, how openly hostile Android is to it Feb 17 20:25:03 Is it just me going crazy here or what. I'm using permissions for the first time and I see that shouldShowRequestPermissionRationale() returns true even if the user permanently "denies". Doesn't it make sense to only return true if the user has denied only once before? Feb 17 20:27:04 p_l thought you can't reliably wake up the device with incoming socket data any more (if in doze) Feb 17 20:27:25 unless you are special / GCM Feb 17 20:30:33 there are priority levels you can set. Feb 17 20:33:39 Or if it's an important app you can prompt the user to white list your app. Feb 17 20:33:45 so the old days where you could kinda make mqtt work - not sure if you can any more Feb 17 20:34:15 eghdk yeah, you can put exclude battery optimization in your manifest, and hope not to be banned Feb 17 20:34:38 g00s, you are just not allowed to do it programmatically Feb 17 20:34:46 you can prompt the user to set the flag though Feb 17 20:36:50 is there a way to get coverage reports for instrumentation tests? Feb 17 20:37:47 Nevermind, I couldn't follow simple directions Feb 17 20:38:57 explodes: Please pass those directions along. I'm curious as well Feb 17 20:39:15 I'm using permissions for the first time and I see that shouldShowRequestPermissionRationale() returns true even if the user permanently "denies". Doesn't it make sense to only return true if the user has denied only once before? Feb 17 20:40:37 eghdk: My build.gradle looks like this: http://pastebin.com/jyVaCBXw the important part is the testCoverageEnabled true Feb 17 20:40:51 this enables: ./gradlew createDebugCoverageReport Feb 17 20:42:40 ..does anyone know how to combine the coverage report from unit tests AND instrumentation tests? Feb 17 20:55:19 "Verizon is now offering a way to secretly track your family members' whereabouts and driving habits with your smartphone" Feb 17 20:57:33 wonder if Sundar is helping Tim Cook on the fight between FBI and Apple to unlock device Feb 17 20:57:38 Anybody ever noticed a string value returned from function keeps on being empty a.k.a = "" instead of the value it should be? Feb 17 20:57:49 no Feb 17 20:57:52 you're just doing it wrong Feb 17 20:57:59 cart_man lol pebkac for sure Feb 17 21:03:09 i love the wording Feb 17 21:03:12 "anybody ever notice" Feb 17 21:07:55 yeah cart_man sounds like you're doing it wrong Feb 17 21:08:16 public String (){ Feb 17 21:08:24 return String Feb 17 21:08:25 } Feb 17 21:08:35 I think that's the way it's supposed to be Feb 17 21:08:40 unless I've misunderstood :D Feb 17 21:10:10 hey, do you think it's unethical to configure my phone to click-through the 'gateway page' that the NYC subway wifi redirects you to every few hours? Feb 17 21:10:34 basically there's a button that says "CLICK FOR FREE WIFI" along with two ads for things i don't care about Feb 17 21:10:56 configure your phone to clickthrough? Feb 17 21:10:58 how would you do that Feb 17 21:11:01 the irritating thing about it is that, by the time you've loaded the stupid thing and have nearly clicked through, your subway's already there Feb 17 21:11:14 well, i was considering using a browser automation package, e.g. appium or selenium Feb 17 21:11:42 how many clicks is it exactly? Feb 17 21:11:50 just one afaict Feb 17 21:12:06 and you want to write a program for that 1 click Feb 17 21:14:05 its called captive portal eh? Feb 17 21:14:14 well, there's opening the browser, going to a page that's non-https (my usual favorite is http://test.com), waiting for the gateway to redirect you to the click-through page, waiting for the top ad to load so that you don't accidentally click it while attempting to click the button that's then in the center of the screen, waiting for the resulting "you're connected" page, etc. Feb 17 21:14:19 and arent there already apps for that Feb 17 21:14:20 Ashiren: i believe so Feb 17 21:14:35 are there? i looked around a bit and didn't find anything legitimate, plus i imagine it wouldn't be hard to write on my own Feb 17 21:14:59 your program would also have to wait for the ads Feb 17 21:15:12 lol Feb 17 21:15:23 Odaym: i don't believe so, since it's not trying to click on a location on the page, just on the button Feb 17 21:15:34 Im thinking how its going to find the button by id Feb 17 21:15:55 yea, sounds legit Feb 17 21:15:57 you can get away without the top ad loading if you're quick. i anticipate that the html has loaded, but the image data itself hasn't filled in yet Feb 17 21:15:58 gopher it Feb 17 21:16:10 oh, haha, "go for it" Feb 17 21:16:29 eeyup Feb 17 21:16:32 i'm mostly just feeling uneasy about skipping the ads, which i never click anyhow... Feb 17 21:16:44 you feel bad for the advertisers? Feb 17 21:16:53 man I have Adblock loaded even in incognito mode Feb 17 21:17:00 i should be ashamed for using adblock Feb 17 21:17:10 I block ads that I might even be interested in Feb 17 21:17:17 but I do it out of spite Feb 17 21:17:18 i use adblock as well, but i disable it for sites that aren't obnoxious Feb 17 21:17:29 I have element hider too Feb 17 21:17:36 and a slue of other blockers Feb 17 21:17:50 and Ive donated money to adblock Feb 17 21:17:59 im very passionate about this Feb 17 21:18:01 hah Feb 17 21:18:04 i don't know why they decided to go ad-supported for what should be a metropolitan service (wifi, that is) Feb 17 21:18:07 Odaym: i agree; i hate ads Feb 17 21:18:19 if i want to buy something, i will go and seek out information about it myself Feb 17 21:26:10 not if you don’t know that it exists Feb 17 21:26:59 explodes: "how to combine the coverage report from unit tests AND instrumentation tests?" the code coverage does it for unit and instrumentation tests? Feb 17 21:31:52 s73v3r: that's a fair point Feb 17 21:34:27 Do you need the WRITE_EXTERNAL_STORAGE permission in order to write in your apps private dir? Feb 17 21:35:03 what is private dir Feb 17 21:35:12 just your apps folder? if so, no Feb 17 21:37:12 eghdk: the permission is not required after Jelly Bean I think Feb 17 21:37:14 Hey ... does anyone know of any Genymotion emulators (and the android studio ones) that have the notification bar on the bottom of the screen ? Feb 17 21:38:54 oO Feb 17 21:39:22 some tablets have it at the bottom .. :( Feb 17 21:39:37 oh Feb 17 21:39:41 you should be able to get a tablet image Feb 17 21:39:58 of course, that would be something that changes with the Android version Feb 17 21:40:25 yeah all of the tablet images I can download through geny (that I have tried so far) are normal and have it at the top Feb 17 21:40:29 you got tablet image in genymotion, but since i haven't yet downloaded it Feb 17 21:40:37 i cannot confirm it behaves like a tablet Feb 17 21:41:09 but i got also some real tablet which does not have notif on bottom Feb 17 21:41:27 Yeah I unfortunately don't own any that have it on the bottom Feb 17 21:41:33 despite i see what you mean, and i also saw tablet with notif at bottom Feb 17 21:42:24 ICS had it at the bottom Feb 17 21:42:29 Think it was JB that moved it back up top Feb 17 21:42:57 downloading a jb one now ... Feb 17 21:43:09 yep on the bottom -- thanks! Feb 17 21:47:46 I don't recall ics having notifications on the bottom, that's weird Feb 17 21:48:06 i had that on my old acer tablet Feb 17 21:48:12 asus* Feb 17 21:48:20 The clock was in the bottom right corner, drawer opened when clicked Feb 17 21:48:28 hmm, possibly Feb 17 21:48:33 I do remember the clock in the corner Feb 17 21:48:43 it's been so long Feb 17 21:48:58 I preferred it to what they have now Feb 17 21:49:10 screenshot http://www.androidpolice.com/wp-content/uploads/2012/02/Screenshot_2012-02-12-15-43-01.jpg Feb 17 21:49:32 https://lh4.ggpht.com/xWIJthtlSbUcPe55KEWpWyCvXxVVwzZwF3E3E7t639OQd6BWOIGX3NGBpnAA-oPiNkM=h900-rw Feb 17 21:50:18 I barely remember that, yeah Feb 17 21:50:26 it's been so long Feb 17 21:50:41 the swipe anywhere from top action for notification tray isn't bad Feb 17 21:51:02 kind of a waste of screen realestate to have both a top bar and bottom bar on a tablet, though Feb 17 21:52:48 I have a large PNG, whats the best generator to use to make that guy into multiple DPI buckets? Feb 17 21:53:04 imagemagick and your own loop Feb 17 21:53:35 pfn: Is that for me? Feb 17 21:53:57 no, it's the nonexistent person behind you that just asked an image question Feb 17 21:55:11 just asking. lol. Never heard of imagemagick, and you through me off with "your own loop". Thought maybe there was a good android specific generator someone Feb 17 21:57:45 i believe Photoshop/Illustrator do have plugins to do that Feb 17 21:58:18 i think there are also some open source projects for that. Feb 17 21:58:20 there are few gimp plugins too Feb 17 21:58:34 which are designed for android dpi rations. Feb 17 21:58:37 ratios* Feb 17 22:25:26 danijoo: adq I'll look, but do you guys have any go to plugins you use? Or have you gone to all vectors? Feb 17 22:25:47 vectors whereever its possible Feb 17 22:25:58 i'm sometimes using romannurik.github.io/AndroidAssetStudio/ Feb 17 22:26:13 due to issue with vectors in AS and the obnoxius UI in AS too Feb 17 22:26:54 danijoo: Wasn't there a plugin or some new feature in Android Studio where vectors would be churned into pngs at build time? Feb 17 22:30:24 eghdk, you can now import vectors in AS, i dont know about build time. Feb 17 22:30:29 my icons dont change that often.. Feb 17 22:32:14 Oh. So you just do an import on a vector and it chops it up for you into different dirs? Feb 17 22:33:23 no. it creates xml resources that are indepenent of the dp Feb 17 22:33:46 gradle build converts vector drawable to ping Feb 17 22:33:47 automatically Feb 17 22:33:49 that is all Feb 17 22:33:50 not svg Feb 17 22:34:00 and yes, I'vce slowly switched to all vector drawables when I can Feb 17 22:35:48 if i have set an animation on a view, why does getAnimation return null after it has ran? Feb 17 22:41:43 oh so its a combo of what danijoo and pfn said? You import a vector, and AS creates VectorDrawables of them and then gradle build converts the VectorDrawables to pngs? Feb 17 22:41:56 AS doesn't create vector drawables Feb 17 22:42:02 AS will rasterize svg Feb 17 22:43:00 So if I create a vectorDrawable myself it'll make pings. got it. That's fairly new no pfn ? Feb 17 22:43:09 since 1.5 Feb 17 22:44:30 So the last mile here is for me to figure out how to convert a vector file from illustrator into a VectorDrawable. Right? Is that possible? Every time I've heard about vector drawable support in android studio I thought they meant just a vector file not a VectorDrawable. Feb 17 22:47:12 Is there a way to set the right-margin of the toolbar back-as-up arrow? Feb 17 22:47:16 er, home as up Feb 17 22:48:08 you mean change it? Feb 17 22:48:43 explodes: why do you want to change the right margin? Could it be easier to change the left margin of whatever is to the left? Feb 17 22:49:12 because it pushed the title out further than the regular logo does. Feb 17 22:49:29 so the title jitters as you travel Feb 17 22:49:39 does anyone have a tool they use for checking network calls? I can see the graph in AS but it doesn't seem to have details about the call Feb 17 22:49:42 whats the regular logo? Feb 17 22:53:43 grekkos: What lib are you using? Feb 17 22:54:30 grekkos, if you want to intercept network calls the best way is a proxy imo Feb 17 22:54:36 charles for example Feb 17 22:55:36 grekkos: agree with danijoo charles has helped me with a lot of issues. SOmething quick you can do if you use okhttp is a network interceptor. https://github.com/square/okhttp/wiki/Interceptors they have an example interceptor there and its super convienient to see net calls Feb 17 22:57:24 Any idea why roman nurick icon generator for generic icons only lets you go up to a max of 200dp? That's roughly an inch across? but the asset I'm trying to put through it is a logo that's supposed to be 400dp across Feb 17 22:59:10 ? Feb 17 22:59:41 eghdk, hint: "icon" Feb 17 23:00:48 It'd be so convienient to just put any asset through there though. Couldn't there be an argument that an icon shouldn't be 200 dp as well? Feb 17 23:02:27 maybe you could fork the project and modify it to make from it an additional feature: generic image Feb 17 23:03:13 you could also try with the 9patch generator in it Feb 17 23:07:38 eghdk: I'm not using any lib, just AsyncTask and some homegrown code Feb 17 23:09:59 yeah I was trying to find something free instead of Charles, I wasn't *too* crazy about the charles interface, although it does get the job done ( danijoo, eghdk ) Feb 17 23:10:34 grekkos: charles is really good, i would agree with the others, or there's stetho Feb 17 23:11:02 grekkos: stetho requires you add an interceptor to your http client, but then you can see all of the network traffic in chrome Feb 17 23:11:14 I wasn't sure if I was overlooking something in AS Feb 17 23:11:46 hah I was about to say that I wanted something like the chrome network tab Feb 17 23:13:06 grekkos: yea, then check out stethos. it also has a view hierarchy viewer and database inspection Feb 17 23:13:45 http://tools.android.com/recent/androidstudio20beta5availableinthecanarychannel gonna retry beta Feb 17 23:14:38 grekkos: use okhttp. just do it. android has it built into 4.4 and up because its that good. Feb 17 23:14:40 heater89: only issue with this is I can't use external libs :| I'll just go buy charles later Feb 17 23:15:10 eghdk: yeah there's some redtape involved in using extra libs in our code, even though we all want to Feb 17 23:15:20 grekkos: ahhh sorry, missed that requirement Feb 17 23:15:21 eghdk: for personal stuff I'd be right on board for it Feb 17 23:15:34 I think I failed to mention it that's my fault Feb 17 23:15:55 I think they're working on getting an OkHttp approval Feb 17 23:16:19 thanks for the tips guys :) Feb 17 23:16:43 I was also checking out this postman proxy thing as well but i was having trouble setting it up Feb 17 23:16:57 what kind of red tape? Feb 17 23:17:11 also, postman isn’t a proxy; it’s something you can make web requests from Feb 17 23:17:42 grekkos: postman i've always used as a rest client vs a proxy Feb 17 23:17:51 Charles is a proxy Feb 17 23:18:18 s73v3r: corporate mambo jambo Feb 17 23:18:20 grekkos: postman is very good if you want to execute your request raw without the client interfering and see the response Feb 17 23:18:34 so? I’ve worked in big corporate settings, and never had a problem Feb 17 23:18:37 there's a postman proxy utility that you can forward the calls to it Feb 17 23:18:51 s73v3r: I think it has to do with contractual stuff and support concerns Feb 17 23:19:13 quite frankly, a place that’s going to tell you how to do your job, or deny you the tools to do your job properly and efficiently isn’t worth working for Feb 17 23:19:16 s73v3r: to be honest I've never had a problem before this either Feb 17 23:19:33 s73v3r: I'm on a contract myself so I can't complain too much :] Feb 17 23:19:43 it's a bit tedious though writing everything from the ground up Feb 17 23:19:49 sure you can. Feb 17 23:19:52 grekkos: so, do you need to test a couple api calls and see the responses? or are you attempt to see all network traffic through the app? Feb 17 23:20:34 I'm trying to hunt down why there are so many calls but it's helpful to see it with another utility... i have some other uses for it too. it's mostly to check calls that the app is making and the responses we receive Feb 17 23:20:51 Charles Proxy would be a better fit Feb 17 23:21:11 yup, agreed with s73v3r charles is the tool Feb 17 23:21:46 yeah I'll probably pick up a copy later today then it's not the first time I've come across charles Feb 17 23:23:13 i think there is a free trial version you can use. it has some limitation but might solve your immediate need Feb 17 23:23:50 the free trial doesn’t have any functional restrictions that I’m aware of, but it does turn off every 30 minutes, and a nag screen pops up Feb 17 23:24:21 yeah I guess I could poke around with that Feb 17 23:24:43 there ya go, s73v3r has the right answer Feb 17 23:26:50 You're also not supposed to use the trial version for more than 30 days. Not that it attempts to enforce that. Feb 17 23:29:25 I'm trying to decrease the right-margin of the home-as-up indicator, but it isn't working at all Feb 17 23:31:07 is there a recommended approach to naming string resources? should we include the activity name they are used in the key? Feb 17 23:53:06 Generally don’t include the activity name. It just couples the string, and prevents it from being reused Feb 18 00:09:02 how do you add an assets directory to your tets? Feb 18 00:09:03 tests Feb 18 00:20:00 uhh, still profiling, found a crazy bottleneck with drawing a complex 'path' (drawing path does not support hw accel) Feb 18 00:20:29 http://i.imgur.com/3Ih7CsV.png on left with path, on right replaced with multiple drawLine calls Feb 18 00:20:38 i have an assets directory, with a subdirectory, but the subdirectory does not seem to be included Feb 18 00:21:20 despite not related to svg & vectors in my case, this made me worry about it since iirc they use a path to construct the vector Feb 18 00:21:46 5 FPS vs 30 FPS Feb 18 00:26:49 seriously, why is something like an assets directory so hard? Feb 18 00:27:41 I’m just trying to read some json files. Why are they not being copied? Feb 18 00:30:05 hello Feb 18 00:30:18 i am trying to repackage an app i downloaded from elsewhere Feb 18 00:30:31 is it yours, or open source? Feb 18 00:33:01 yeah, didn’t think so Feb 18 00:37:02 s73v3r do you want final InputStream stream = this.getClass().getClassLoader().getResourceAsStream(file); ? Feb 18 00:37:24 for that to work, first I want the damn files to be included in the APK Feb 18 00:37:52 your test assets aren't included ? O.o Feb 18 00:37:56 nuts I can't get the charles CA cert installed on my phone :| Feb 18 00:38:27 well, first off, I’m not even sure if I’ve set up the assets directory correctly Feb 18 00:38:58 I can right click on the app in Studio and create an Assets directory, but it doesn’t appear to work when I try to create it under the test directory Feb 18 00:39:25 weird. i often create dirs manually Feb 18 00:39:41 second, I have part of my test just listing the files it gets from context.getAssets().list(“”), and the subfolder isn’t there Feb 18 00:47:47 hey whats going on fellas Feb 18 00:58:41 Does anyone know why it throws me this error when I set adapter.setHasStableIDs?: java.lang.IllegalStateException: Cannot change whether this adapter has stable IDs while the adapter has registered observers. Feb 18 00:58:48 unfortunately google isn't much help Feb 18 00:59:04 building an app with native C++ code, seems like the way to go (so far) is to skip the gradle plugin thingy, yet Android Studio comes with gradle enabled by default and even deletes my mk files when importing a project. How can I disable this? Feb 18 00:59:45 jsvgoncalves you are using c++ to avoid gradle ? lol Feb 18 01:00:12 g00s: no.. I'm using C++. And gradle support for using NDK is poor Feb 18 01:00:22 Abort message: 'couldn't find an OpenGL ES implementation' <--- anybody have any luck fixing that error? im on the note 4 Feb 18 01:00:42 jsvgoncalves check out the experimental gradle plugin Feb 18 01:00:55 g00s: yeah, that's the one which is poor :( Feb 18 01:01:38 g00s: I've been using it so far, but it's a pain to make anything work properly and the docs are lacking Feb 18 01:02:37 where did my debugger stack trace go? :( Feb 18 01:03:42 g00s: unless you can give me some guidance as to how to include a random C++ project into my project, e.g.: https://github.com/miloyip/rapidjson Feb 18 01:04:26 jsvgoncalves i did c++ for many years, but avoid using it on android. ndk / jni are ghetto Feb 18 01:04:45 Hey guys, simple issue I think. When I copy-paste code snippets, Android Studio isn't resolving library classes unless I retype it in and select it from the dropdown menu. Can I force it to recheck those class calls somehow? Feb 18 01:05:16 Stuff like Fragment, LayoutInflater, ViewGroup, etc Feb 18 01:05:31 g00s: I can't really avoid that, architectural design decisions, making a crossplatform "back-end" to deal consistently with a rest api Feb 18 01:06:58 Holy crap, I thought I was pressing alt-enter and I was pressing ctrl-enter Feb 18 01:07:14 Wow. Go me. It's been a long day apparently. Feb 18 01:09:03 haha Feb 18 01:09:05 wat Feb 18 01:09:59 * jsvgoncalves just rm'ed -rf the wrong folder Feb 18 01:10:04 long day as well Feb 18 01:10:24 rip unpushed changes Feb 18 01:10:38 im about to jump off the roof from my issues Feb 18 01:11:46 a cross-platform backend to deal with rest api is pretty lame to do it in jni Feb 18 01:12:09 pfn: why so Feb 18 01:18:22 you really get no benefit from something so trivial Feb 18 01:18:37 other than issues with the build system, and impedance mismatch going back and forth from jni all the time Feb 18 01:55:14 http://i.imgur.com/N8POZVK.png 60 FPS baby, with some significant room Feb 18 01:56:58 I need a crash course on fragments Feb 18 01:57:08 know of a good video? Feb 18 01:57:22 videos are bad for learning Feb 18 01:57:29 no^? Feb 18 01:58:24 Rusty theres plenty on youtube Feb 18 01:58:33 adq: some of the android videos you find are excellent Feb 18 01:58:42 I can't be the only one who struggles with docs Feb 18 01:59:16 yes, cat videos are excellent Feb 18 02:00:15 I prefer cat pictures to be honest Feb 18 02:00:18 with captions Feb 18 02:00:32 :3 Feb 18 02:01:30 The problem with videos is that 99% of the time they're way too slow Feb 18 02:01:49 With real documentation you can just read it at your own pace, and click on what you don't know and just continue if you know it Feb 18 02:02:55 sometimes its hard to figure out which parts of docs are relevant to you Feb 18 02:03:08 whats important/unimportant Feb 18 02:05:08 that could be written down Feb 18 02:12:54 Using Observable.from( myArray), what operators should I be looking at if I want the results to come out backwards? Feb 18 02:13:16 eg { a, b ,c} > {c, b, a} Feb 18 02:18:17 "New phishing campaign targeted to Google Play Developers If you've received an email from 'Developer Support' with the subject line 'Confirm your account,' don't click on links within this message or submit any personal information." Feb 18 02:18:35 uhuh. maybe they shouldn't have put our emails directly on our play store listings, dumbasses Feb 18 02:19:47 Or just dont click the link? Frankly i like that fact that users can easily get in touch with me Feb 18 02:20:17 orbyt_ they can get in touch with you by filling out a form on the page Feb 18 02:20:51 g00s: ? what form Feb 18 02:20:57 the form that should be there :D Feb 18 02:21:08 lol Feb 18 02:21:15 You'd expect developers to be smart enough to see the obvious scam anyway, no biggie Feb 18 02:21:22 * orbyt_ shrugs Feb 18 02:21:25 this^ Feb 18 02:22:29 If you click any link in an E-Mail, especially one from Google that doesn't end up on *.google.com, you probably should consider not putting more users at risk and stop developement Feb 18 02:24:20 lol^ Feb 18 02:25:55 Max-P right because all emails a bad actor might send you will look like obvious fishing scams Feb 18 02:27:13 g00s: Obvious, probably not. But any legit E-Mail should be verifiable, especially coming from Google. Feb 18 02:29:09 Even if it's a perfect immitation of an actual real E-Mail, the sender path and signatures headers will be wrong, and the links will obviously not go to *.google.com. Feb 18 02:33:58 most of my spam folder is filled with the email i set for app visible on playstore Feb 18 02:34:13 it's utterly annoying Feb 18 02:34:21 emails* Feb 18 02:39:06 did you see that: http://developer.android.com/intl/zh-cn/training/wearables/apps/creating-app-china.html :() Feb 18 02:39:45 "the Google Play Services 7.8.87 library" Feb 18 02:40:44 haven't yet played with it, and wondering what they did under the hood **** ENDING LOGGING AT Thu Feb 18 02:59:59 2016