**** BEGIN LOGGING AT Wed Jun 15 02:59:58 2016 Jun 15 03:01:39 No need to be defensive. If it's your machine, and you're not writing a competing product, it's perfectly fine to examine their code. XD Jun 15 03:02:44 so, Android wear, any ideas on some devices that can run stand alone? Jun 15 03:06:20 alphamule: who are you talking to? Jun 15 03:06:48 I don't see anyone accusing you of anything Jun 15 03:09:21 its not possible to dd the internal memory without the device being rooted right? Jun 15 03:32:17 is the only way to turn OFF dev options to clear the settings cache in the app manager? Jun 15 03:43:20 hi i need some help in identifying the upload issue the thing which works in simulator but fails when deployed to device. Any ideas please? Jun 15 03:46:52 Guest5781: define 'fails' Jun 15 03:47:10 Guest5781: Don't try the Telerik simulator. Try with the Android Emulator from Google Jun 15 03:48:12 LunarEclipse120: Can i integrate that to Telerik Appwizard. I am testing from simulator which it provides Jun 15 03:48:33 there is no simulator Jun 15 03:48:39 Guest5781: Just launch an emulator and use ADB to install the apk Jun 15 03:49:19 Guest5781: Is this an actual IDE with coding? I can't find much information on it. Is it like Android Studio? Jun 15 03:50:04 Leeds: The file upload activity which works in simulator but which I perform the same activity in the device it simply does not do any thing after selecting the file neither it goes to success or error callbacks how can i trace such issue Jun 15 03:50:40 stop saying simulator Jun 15 03:50:43 and read your logcat Jun 15 03:50:59 Guest5781: Is this the Android Emulator from Google? AVD? Jun 15 03:51:21 *read your cat* Jun 15 03:51:59 Telerik Appwizard is a cloud platform for building Android, iOS, Windows Phone apps using cordova plugins Jun 15 03:52:07 ugh Jun 15 03:52:11 lol cordova Jun 15 03:52:20 so it's a non-native platform for building non-native apps Jun 15 03:53:09 under the hood this generates native code & platform specific output Jun 15 03:53:30 evening all.. Jun 15 03:54:10 so im looking for a way to make a triple dot loading animation, kinda like this library: https://github.com/tajchert/WaitingDots Jun 15 03:54:31 Guest5781: Learn to actually code lol Jun 15 03:54:33 it's fun Jun 15 03:54:39 but instead of bounch, the dots should appear in order Jun 15 03:54:43 bounce* Jun 15 03:54:44 eg Jun 15 03:54:45 . Jun 15 03:54:46 .. Jun 15 03:54:47 .. Jun 15 03:54:47 . Jun 15 03:54:48 * Jun 15 03:55:00 you get the idea Jun 15 03:56:49 orbyt_ not really, can you give more examples ? Jun 15 03:57:49 http://cdn.osxdaily.com/wp-content/uploads/2013/12/imessage-prank.jpg Jun 15 03:57:56 those dots Jun 15 03:58:13 1 appears, then another after it, then a third, then it starts over Jun 15 04:29:33 hmm should i get a macbook pro and hook it up to 2 vert monitors, or do a new build with 2-3 monitors.. Jun 15 04:46:11 Time to get back into app dev Jun 15 04:46:20 And it's going to be an Idubbz app for my friends Jun 15 04:46:47 :\ Jun 15 04:46:54 ..k? Jun 15 04:47:12 Idubbz? Jun 15 04:47:27 a youtuber Jun 15 04:47:41 oh yea. he's part of that big keemstar drama Jun 15 04:48:00 No not reallty Jun 15 04:48:04 Not any more Jun 15 04:48:16 But he's the guy that made the "Hey that's pretty good" Jun 15 04:48:55 ah ok, i just started getting caught up with the youtube game last month Jun 15 04:49:12 He made a keemstar exposed video, one of the good ones Jun 15 04:49:20 It was relevent for only a couple days Jun 15 04:49:26 i realized i live down the road from a big youtuber and i kinda got into it Jun 15 04:49:29 Get ready, the end to the youtube rodent is near Jun 15 04:49:35 What YouTuber Jun 15 04:49:42 im fascinated by how much money they can make Jun 15 04:49:56 but they seem to be fighting over petty shit Jun 15 04:50:07 That's part of how they make money Jun 15 04:50:12 Some of them are good though Jun 15 04:50:14 i live near keemstar Jun 15 04:50:59 Does his screaming while making twitter videos keep you up at night? Jun 15 04:51:08 Did you meet him personally? Jun 15 04:51:12 never Jun 15 04:51:18 I like some parts of him but not all of it. Jun 15 04:51:44 Let's get back on topic Jun 15 04:51:48 I'm making this app for my friend, I wonder what Android version she has Jun 15 04:52:02 Downloading JB, hope thats good enough Jun 15 04:52:32 Making a soundboard shouldn't be too hard? It's been awhile Jun 15 04:55:07 LunarEclipse120 uh, its 2016 - soundboards peaked in 2010 Jun 15 04:55:21 This isn't going on Play Store or something Jun 15 04:55:23 like in 2010, enough was enough ;) Jun 15 04:55:29 This is just a crude app for a friend Jun 15 04:55:32 is there a way in git/github to download a single directory only? Jun 15 04:55:54 orbyt_ try #git Jun 15 04:56:07 sorry though you knew git Jun 15 04:56:10 :/ Jun 15 04:56:24 thought you knew the topic :) Jun 15 04:58:03 ¯\_(ツ)_/¯ Jun 15 04:59:18 where in heck is ApiDemos located now ? Jun 15 04:59:38 So is Cmake something for the NDK? Jun 15 05:02:13 how might i tie a custom view to a sqlite database? Jun 15 05:02:38 im making a custom view bar graph Jun 15 05:09:50 sqlite guys are concerned about android N Jun 15 05:09:52 http://osdir.com/ml/general/2016-06/msg07214.html Jun 15 05:17:02 So Jun 15 05:17:12 SDK 18 does not work well with the Activity Templates Jun 15 05:18:14 How can I change it to blank template? Jun 15 05:21:52 hi there Jun 15 05:22:57 I'm using a ViewPager, which has three fragments. The third fragment has a list and when I click an item in the list it replaces the fragment with a new "detail" fragment. Jun 15 05:23:32 I'd like to use a TabLayout for the three main fragments but I want it to dissappear when I replace the third fragment with the detail fragment. Jun 15 05:24:44 I understand that I can use setVisibility(View.GONE) but I can't access the TabLayout from a fragment. It initialized in MainActivity. Jun 15 05:24:57 Please help. Jun 15 05:25:04 - Jun 15 05:26:55 getActivity()? Jun 15 05:31:23 replace tabLayout = (TabLayout)rooView.findViewById(R.id.tabs); with tabLayout = (TabLayout)getActivity().findViewById(R.id.tabs); ? Jun 15 05:32:05 Bang, that was all I needed to do. Thank you, you are like the Android oracle. Jun 15 05:33:29 I try. Jun 15 05:38:24 Hmm now getting it back. Jun 15 05:38:54 I put tabLayout.setVisibility(View.VISIBLE); in the NavigationOnClickListener's onClick method. Jun 15 05:39:18 Doesn't seem to be working. Jun 15 05:48:40 lukeallison, tabLayout = (TabLayout)rooView.findViewById(R.id.tabs); make it public in activity, inside fragment-> ((YourActivity)getActivity()).tabLayout.setVisibility(View.VISIBLE); Jun 15 05:51:10 hope you are getting your tab reference in Activity Jun 15 05:52:16 What is the benefit of casting as Activity ? Jun 15 05:52:56 Oh, I'm accessing it by instance in my way Jun 15 05:53:14 and you're telling me to access it directly, right? Jun 15 05:53:23 fragments are treated as a child of an activity Jun 15 05:55:54 where exactly you have defined your tabs? Jun 15 05:56:08 MainActivity Jun 15 05:56:34 tabLayout = (TabLayout)findViewById(R.id.tabs); you must be doing this in onCreate? Jun 15 05:56:41 make tabLayout field variable Jun 15 05:56:52 and public Jun 15 05:57:31 COrrect. Jun 15 05:57:38 then from fragments all you need to ((MainActivity)getActivity()).tabLayout.setVisibility(View.VISIBLE); Jun 15 05:58:11 Beautiful. Jun 15 05:58:18 you can access your public field variables like this from any child fragments Jun 15 05:59:43 Now another question while you're there. It's about convention. If I swap out the third page in the viewpager with a new fragment that no longer has the TabLayout displayed I can still swipe the screen and change to a different page of the view pager but now there is no TabLayout visibe. Jun 15 06:00:24 Should I A) Disallow swiping when I have a detail fragment inflated or B) Add the TabLayout when I swipe Jun 15 06:00:36 Sorry if that makes no sense. Jun 15 06:13:13 ie, 1. user swipes to third page, 2. user clicks on list item 3. detail fragment becomes visible and tabLayout is made invisible 4. user swipes in an attempt to go back to second page of ViewPager Jun 15 06:13:47 Should the user be able to do step 4 or should swiping be disabled so they are forced to hit "back" first. Jun 15 06:18:31 i have question to experienced devs, I use to use recycleradapter modified to manager cursor (lets say called cursorrecycleradapter). Is it good practice to use this or should I use default recycleradapter and somewhere deep there in code manage with database? Jun 15 06:36:20 When you finish the beta of your app, add tabLayout and suddenly the swipe transition is laggy Jun 15 06:37:02 I assume this has something to do with having 10 levels in my Layout? Jun 15 06:39:42 hey all, I want to make a battery optimised app, which requires me to schedule tasks every X seconds, is there a way to schedule the CPU to wake up every X seconds, take a snapshot and go back to sleep again? Jun 15 07:06:58 Needs help regarding google play. One of my app has been submitted 1 week before and yet the update is not published and showing 'Processing update' Jun 15 07:07:27 This is an existing android application published around 1 year ago. Jun 15 07:14:41 finally watched the retrofit2 video I've had queued up for many many months :) Jun 15 07:14:54 atulagrwl: is there anything weird about it, any reason for it to be delayed? Jun 15 07:15:25 Leeds: I am not sure. I am also surprised about it. Jun 15 07:16:14 Any way to get anyone to look at it? Maybe some support mechanism Jun 15 07:17:06 dunno, sorry Jun 15 07:17:27 I have been waiting for over 1 week. Now I am getting complaints from all over. Jun 15 07:17:55 that one where he introduces it? Jun 15 07:18:50 Odaym: yeah Jun 15 07:19:00 yea its really nice Jun 15 07:19:06 atulagrwl: so... is there any reason *you* can think of? Jun 15 07:19:53 Leeds: There is nothing change in the recent release. I just switched from eclipse to android studio and did some UI work. Jun 15 07:20:43 One reason could be that we have used lots of permissions in the app. Jun 15 07:20:52 But nothing changes in the last release Jun 15 07:23:35 care to name/link the app? Jun 15 07:24:14 uh Jun 15 07:24:22 is this because you switched to the marshmallow SDK Jun 15 07:24:37 which now uses a different permissions system Jun 15 07:26:36 tx: That makes sense. Let me check Jun 15 07:34:46 Hi, can I build AOSP with clang? Jun 15 07:35:56 Hi I have a question. Is it possible to use an LGPL-licensed C library in android applications without providing others with the full source of the application? Some google results say that it's enough that the library can be replaced by recompiling the app (decompile and compile manually). But I cannot find a definitive answer. Has anyone dealt with this previously? Jun 15 07:37:10 asimas: the whole point of the LGPL is that it doesn't 'infect' other code - if you modify the library, you have to release those changes (on demand, etc) but if you just link to the library you don't have to do anything GPLish with your own code Jun 15 07:37:18 consult a lawyer for actual advice Jun 15 07:42:45 Leeds, thanks for your input. However, I'm hoping to get a developers perspective for this. We can all read LGPL like regular lawyers would do but I'm interested in "what" can be done with android apps to abide that license requirements. I doubt a lawyer could help with that :| Jun 15 07:43:22 what I mean is, if the answer is important to you, don't take advice from a stranger on an IRC channel... Jun 15 07:47:09 tx: Checked and found that earlier I was using 19 as compileSdkVersion in eclipse and when I switched to studio, I was using 22. Can it be the reason? Jun 15 08:16:53 Hey people i got the following setup. Selfdesigned smart home device that sends a HTTP request to my external Server(kasserver.com) that causes a PHP Script to send a push notifcation via GCM to the app on my phone. This worked for a solid year now but suddenly stopped without me interfering with anything here. Did anybody expirience somehting like that? Jun 15 08:17:02 Did they chance something recently in GCM? Jun 15 08:41:23 asimas, LGPL requires you to provide a way to replace the LGPL libraries Jun 15 08:41:48 So if you get a request, you'll have to be able to find a way for that person to reassemble your app with a replacement to LGPL libraries. Jun 15 08:43:31 Mavrik, it also says that the replacement must be able to be done manually. I.e. user can replace it whenever he wants to without my interference. However, some sources say that the .apk can be recompiled manually and the file changed. I wonder if that's enough to abide the LGPL. Jun 15 08:44:18 Which file? Jun 15 08:44:28 Is it a JAR? Or a native library? Jun 15 08:44:48 Honestly, if you don't wanna opensource your code, just stay away from all GPLs Jun 15 08:45:20 Since people don't like it when you try to step around GPL code for commercial benefit and will mess with you just for fun. Jun 15 08:46:00 I'm not sure if any libraries I'm using is GPL Jun 15 08:46:03 :| Jun 15 08:46:13 Mavrik is the talk today or tomorrow? Jun 15 08:46:19 I'm terrible with days Jun 15 08:46:23 as you can see Jun 15 08:47:32 Ok, so I'm back... Does anyone here have experience with React Native? Jun 15 08:52:17 hey, maybe someone didnt see my question ;) but is it ok to use CursorRecyclerViewAdapter or should I use default RecyclerViewAdapter and from time to time in code deep there in code call to db when I need? Jun 15 08:55:31 p0ff3: Never had experience with it myself but heard it's pretty cool, why you asking? Jun 15 08:56:31 because using cursor recyclerview adapter I have problem with some features, like insert and delete inside of the list (because content provider notifiy immediately list by calling to load manager) Jun 15 08:56:48 and there is no animation Jun 15 08:59:30 https://www.youtube.com/watch?v=POZmfjRHdfE Jun 15 08:59:46 interesting, they're getting more features from other languages ;) Jun 15 08:59:54 not necessary a bad thing Jun 15 09:00:32 java8 added tainted mode, which was in perl for years Jun 15 09:01:27 well, talk is about kotlin Jun 15 09:01:29 not java Jun 15 09:11:10 Mavrik, it's a native library. I'm in need of an MP3 decoder and I can't find any without a less-restrictive license than LGPL.. Jun 15 09:35:19 markyosullivan: Shit missed your answer, I'm curious because I've never used it, is it suitable for a beginner? Is it actually easy to develop cross-platform? Jun 15 09:38:56 asimas: MediaPlayer built into android decodes .mp3's Jun 15 09:39:30 shmooooz, poor performance of MediaPlayer is the sole reason of looking for a native decoder. Jun 15 09:39:32 p0ff3: Like I said, never had any experience of it so I'm not sure. Though it seems to be cool the way you can make iOS and Android apps with the same logic. Jun 15 09:39:51 Not sure how the performance is on both of them however Jun 15 09:41:28 Yeah I might just do some stuff and see how I feel about it. Thanks anyways Jun 15 09:49:09 I need to trigger a logger to collect data a few seconds every n'th sec where n can be anything from a second to 60, and my first intuition was to use the Alarm Manager but I'm not sure if that's correct, are there more efficient ways? Jun 15 09:51:43 What do you mean by collect data Jun 15 10:01:42 barq: I mean that a sensorListener is registered and reads data to a file for a short period of time Jun 15 10:08:55 Hey guys, If you don't mind I'll try reasking a question I asked yesterday: http://hastebin.com/zanahegadu.txt Jun 15 10:10:44 LeartS: that's not a question... try to summarise rather than expecting everyone to go look at your paste before they know if they could help Jun 15 10:13:02 Profiling a slow app start with the traceview, most of the time (32% of a 6 seconds timespan) is spent (CPU exclusive) in thread.nativeCreate and Object.wait. This seems strange me, but I'm not an Android developer. Jun 15 10:14:02 Leeds, did you use systrace yet? Jun 15 10:14:37 Mavrik: I used dtrace... Jun 15 10:14:50 sorry Leeds :P Jun 15 10:14:53 LeartS,. Jun 15 10:14:55 In those 6 seconds, hundreds of Timers (java.util.Timer) are created, each one in its own Thread. Could this be the cause, or it's normal/possible to have this situation? Jun 15 10:15:28 Leeds, uhhh... yes that certanly is the case O.o Jun 15 10:15:30 you're not an Android developer, but you're debugging an Android app? Jun 15 10:15:34 Creating threads is expensive. Jun 15 10:15:39 fsck Jun 15 10:15:42 (the paste i linked previously are 5 IRC lines of me asking the question yesterday :D) Jun 15 10:15:51 LeartS, yes, that certanly is the case Jun 15 10:16:01 WHY are you creating hundreds of threads?! O.o Jun 15 10:16:26 Leeds: I'm helping my colleagues who are ANdroid devs Jun 15 10:16:43 is this a standard native app, or using some framework? Jun 15 10:16:48 unity, mono, etc Jun 15 10:17:22 Poor Leeds, all pinging him by mistake today Jun 15 10:17:27 hi guys. Jun 15 10:17:31 I have a small question Jun 15 10:17:38 hero_biz: 1.2% Jun 15 10:17:45 (a small answer) Jun 15 10:17:48 hi hero Jun 15 10:17:55 how small is it? Jun 15 10:18:01 I have limited number of lns in a textview by maxLine="2" Jun 15 10:18:10 hero_biz, how about that Toolbar in Settings Fragment - have you been successful? Jun 15 10:18:39 @bolovanos: I wrote a whole settings library... Jun 15 10:19:17 now I can force textview to clip long texts and add ... to it? Jun 15 10:19:32 android:ellipsize="end" alone won't work Jun 15 10:19:46 need textSize too,it seems. Jun 15 10:19:46 hero_biz, well, good job Jun 15 10:20:22 @bolo: ty :) it became somehow good :) Jun 15 10:20:28 Mavrik: I have no idea why they are doing that. I just wanted confirmation that that is indeed expensive and "wrong" before being the guy who doesn't know anything about android development that goes to the android developers to say "I think your problem is here..." Jun 15 10:21:07 Timers are rarely used and it's even rarer to use more than one :) Jun 15 10:21:10 Also, thread pools :) Jun 15 10:21:48 LeartS: is this a standard native app, or using some framework? Jun 15 10:21:50 any idea how I can limit size of text in size of view automatically? Jun 15 10:21:54 Does vector drawables force a lot of computing when the app is running? Jun 15 10:22:19 markyosullivan, just the first time they're rendered at a given size Jun 15 10:22:23 Since they have to be rasterized. Jun 15 10:22:38 CPU time used depends on complexity. Jun 15 10:25:19 Yeah I figure that it might be causing the "The application may be doing too much work on its main thread." message in the logcat Jun 15 10:26:23 Mavrik if you change the height & width of the vector within the vector file, would that change the effect it has on the app? Or do you have to reimport the vector drawable? Jun 15 10:27:01 Hmm... not sure, do vectordrawables even listen to that size_ Jun 15 10:27:28 (I haven't used them a lot yet, need to reserve time slot with our designer. ) Jun 15 10:28:00 I'm not sure if they do, this is the first time I've used them so I don't know how to optimise their performance in apps Jun 15 11:06:31 Which is the most accepted way in America to write 87,6 Degrees F ? 0r 87.6 with a dot ? Jun 15 11:09:01 yes Jun 15 11:09:08 . Jun 15 11:09:21 dont think u use degrees with F Jun 15 11:09:27 its only used with C Jun 15 11:10:08 A dot it is. Jun 15 11:10:10 :) Jun 15 11:10:54 But I see the degrees symbol everywhere with F also. Jun 15 11:10:56 like with C. Jun 15 11:11:03 WAIT nevermind Jun 15 11:11:08 i was thinking of Kelvin Jun 15 11:11:23 ah Jun 15 11:26:23 https://github.com/googlesamples/google-services/issues/26 Jun 15 11:26:33 I like how the google guy didn't answer the question Jun 15 11:26:59 his last reply was: " let us know if you have any suggestions" Jun 15 11:27:25 :) Jun 15 11:27:39 after which there are 20 or so complaints Jun 15 11:41:54 cl Jun 15 11:42:56 I am using a RecyclerView in Dialog and its all elements are width match_parent, but they still appear as wrap_content Jun 15 11:43:25 Scrolling them in and out of view, essentially recycling them, makes them match_parent Jun 15 11:43:33 Anyone has any idea why? Jun 15 12:08:21 astroduck, sounds like the parent's width is not known when RecyclerView (and its children) is created. Try delaying the inflation. Jun 15 12:27:33 Does android update an app if I send an .apk with a newer version? Jun 15 12:27:43 keeping preferences, etc. Jun 15 12:29:51 Yes, if the new version is signed with the same key Jun 15 12:30:32 And if it's unsigned? Jun 15 12:31:15 AFAIK, it's always signed Jun 15 12:31:28 varesa, if it's unsigned you can't upload to play store. Jun 15 12:31:38 If not with the release key, then it's signed with the debug key Jun 15 12:31:59 ah okay. In android studio there is "Build APK" and "Generate signed APK" Jun 15 12:32:19 Build -> debug key, Generate signed -> release key Jun 15 12:32:35 yeah, makes sense Jun 15 12:33:15 asimas, this app is not in and will not go to play store Jun 15 12:33:28 just a one-off for a very specific application Jun 15 12:34:53 So if I send the user a new version from "Build APK" (since that is what I first used) it'll update and keep preferences? Jun 15 12:35:25 Yes Jun 15 12:35:39 cool, thanks Jun 15 12:35:40 And if it does not, it will warn you Jun 15 12:36:06 varesa, just make sure you build from the same machine. If the debug keys differ it won't let the user update the app. Jun 15 12:36:22 yeah, of course Jun 15 12:37:53 I've forgotten quite a lot. I last touched android developent when 2.2/2.3 was new :) Jun 15 12:38:04 I touch it daily Jun 15 12:38:08 we're great friends. ;) Jun 15 12:39:37 Quite a lot has changed so you can say that you're learning not remembering :) Jun 15 12:42:36 Android studio feels much better than eclipse Jun 15 12:42:40 got to love jetbrains IDEs Jun 15 12:42:59 then he will find about about gradle.. Jun 15 12:44:37 Gradle is awesome too :) Jun 15 12:45:21 Have you tried out instant run? Jun 15 12:45:24 It's great until it's not. Jun 15 12:46:22 what did android use in the 2.x times? ant? maven? Jun 15 12:46:28 I don't even remember anymore Jun 15 12:46:45 tx, I have it disabled tyvm :D Jun 15 12:47:08 maven Jun 15 12:49:49 the eclipse's green arrow Jun 15 12:50:06 How can I add a view in a coordinator layout and align it to bottom programatically? Jun 15 12:52:05 set layout_gravity to bottom programmatically Jun 15 12:53:24 CoordinatorLayout.LayoutParams params = new CoordinatorLayout.LayoutParams(...); Jun 15 12:53:27 params.gravity = Gravity.BOTTOM; Jun 15 12:53:29 coordinatorLayout.addView(theView,params); Jun 15 13:51:30 tx: I thought instant run was great until I was getting double bottom bars... wot Jun 15 14:00:05 Hello, I'm working with the sbt-android plugin and seem to have misconfigured something with regards to dex caching, if I clear the cache it works fine and produces an apk, however if I try to run again with a cache hit I get a ProcessException Jun 15 14:01:43 Hi! If i want to package my app with some test files in the app's data directory. Where do i put that file before i compile the project? Jun 15 14:01:58 what type of file? Jun 15 14:02:02 you could put it in assets Jun 15 14:02:49 I have a custom file typ that is used by the app. And i want to package the app with an example file which will be in the same folder as where i save files in the future Jun 15 14:03:11 So if i save my files with a custom file type in the data folder i want the example file to be located at the same place. Jun 15 14:03:23 file type* Jun 15 14:03:39 well, put it in assets and copy it over on first run to the apps data directory on the device Jun 15 14:06:16 Okey, thanks tx! Jun 15 14:14:48 Ashiren: thanks Jun 15 14:23:00 thunderseethe, set dexInProcess := false Jun 15 14:23:21 that or increase max heap Jun 15 14:23:27 depending on what the error is Jun 15 14:25:51 The specific error message attached with the exception is "ForkOptions(None,Some(CustomOutput()),List(),None,Buffer(-Xmx1024m, -cp, /Users/dead/sdk/build-tools/23.0.3/lib/dx.jar),false,Map())" I'll try setting dexInProcess to false Jun 15 14:26:04 that's not the entire log Jun 15 14:26:10 pastebin everything Jun 15 14:26:54 turned off dexInProcess in the next version... a Jun 15 14:28:12 http://pastebin.com/wTyaJpDH Jun 15 14:28:22 That's a link to the full stdout of running sbt android:package Jun 15 14:31:50 not a dex in process problem Jun 15 14:32:06 you have BuildConfig added multiply for some reason Jun 15 14:32:51 Yeah that has been causing me some trouble before I believe I manually added appcompat-v7 and design also added it as a dependency causing overlap, but I can't figure out how to remove one of them Jun 15 14:33:32 what exactly is your build.sbt Jun 15 14:34:25 http://pastebin.com/8m1p9nWV Jun 15 14:34:29 Right now it is taht Jun 15 14:34:31 that* Jun 15 14:42:38 weird, shouldn't happen at all Jun 15 14:43:15 That's a couple iterations of tweaking from my original build.sbt, so it's possible I have something cached that shouldn't be anymore Jun 15 14:44:46 shouldn't make a difference, clean build then Jun 15 14:45:09 especially if you made any proguardCache changed Jun 15 14:45:31 what's the command for that? I tried andorid:clean but it seems related to something on the device Jun 15 14:45:45 clean Jun 15 14:46:03 android:clean clears app data on device Jun 15 14:47:11 Yep that did the trick Jun 15 14:47:16 hithere Jun 15 14:47:26 pfn: Thank you for the help Jun 15 14:47:41 still solving StableArrayAdapter problem Jun 15 14:48:20 is it possible to remove click listeners from ListView? Jun 15 14:48:28 hi everyone, any good tuts showing how to connect data with custom views? Jun 15 14:48:50 bolovanos, how did you put them in it? Jun 15 14:49:19 what do you mean by custom views? Jun 15 14:49:38 im making a custom bar graph Jun 15 14:49:44 using the View class Jun 15 14:50:04 and I'd like it to reflect a database live Jun 15 14:50:36 I'm only able to find listview tutorials, that show how to display a list from a database :( Jun 15 14:51:59 Zharf, hi - give me a second have to update git Jun 15 14:52:04 do something similar, but for your own view Jun 15 14:53:06 would i pull from the database in the activity first, then send a copy to the view or something? Jun 15 14:54:28 parco: Yeah, your view will generally be instantiated with some data to do initial rendering, then you can give it methods that allow an activity to give it new data to render and so on Jun 15 14:54:57 Where that data comes from doesn't particularly matter to the view that's more on the activity side of code Jun 15 14:55:27 ahh i see. ok thanks! Jun 15 14:55:53 best of luck Jun 15 14:56:52 Zharf, row 117 https://github.com/sonavolob/ABIconTest/blob/master/app/src/main/java/com/example/abicontest/MainActivity.java Jun 15 14:57:20 Zharf, this is how I set Click listeners - row 50 https://github.com/sonavolob/ABIconTest/blob/master/app/src/main/java/com/example/abicontest/StableArrayAdapter.java Jun 15 14:58:51 I can set setOnItemLongClickListener and setOnItemClickListener for both dataSets (ELEMENTS / ANIMALS) this solves the problem (at least visually), but I do want to know why is it happening Jun 15 14:59:53 it seems to me as if every listener has its own data instance which is active all the time for that ListView Jun 15 15:01:13 bolovanos, you can just call the setters with null argument to remove the listener Jun 15 15:01:58 why are you using listview instead of recyclerview though? :) Jun 15 15:05:43 Zharf, using null argument is parallel but nicer to my solution (treat each case in its own anonymouse listener class) Jun 15 15:06:07 but - there is still the why :) Jun 15 15:06:16 why is it happening Jun 15 15:06:42 ad recyclerview - hush :) Jun 15 15:19:50 mornin all 07 Jun 15 15:19:51 o7 Jun 15 15:37:09 how do i make this work with gradle? https://github.com/gfranks/ExpandableView#installation Jun 15 15:37:52 or do i have to download the lib Jun 15 15:38:01 fork->make release->jitpack Jun 15 15:38:17 and does this look weird to anyone: http://paste.ee/p/y2g8b Jun 15 15:38:26 its from the google docs on managing audio Jun 15 15:38:39 and it has a listener that calls itself in an infinite loop... Jun 15 15:39:10 orbyt_, what does fork do Jun 15 15:39:20 it forks it Jun 15 15:39:23 :/ Jun 15 15:39:33 :? i mean whats fork mean :) Jun 15 15:40:25 thornekey, it is a git term. git-scm.com Jun 15 15:40:32 ohhk Jun 15 15:51:30 <_0xbadc0de> did anyone here have had any success configuring IDA's dalvik debugger Jun 15 15:51:32 <_0xbadc0de> ? Jun 15 16:09:58 <_0xbadc0de> does the device need to be rooted or what? Jun 15 16:10:04 ask IDA Jun 15 16:10:27 <_0xbadc0de> ida is a computer program Jun 15 16:10:32 <_0xbadc0de> therefore, it can't answer Jun 15 16:10:32 good one ! Jun 15 16:12:58 hex-rays then Jun 15 16:12:59 whatever Jun 15 16:13:08 clearly you paid for it, thus you ask whom you paid for support Jun 15 16:14:27 Is there any proper documentation on how the stagefright exploit can be deployed practically. Been having trouble finding one. Jun 15 16:16:49 Like after the media file is successfully sent, the netcat doesn' actually imply anything in perticular. ANy help Jun 15 16:16:52 ? Jun 15 16:22:19 <_0xbadc0de> r3v0 Jun 15 16:22:43 <_0xbadc0de> you should probably learn how to reverse android kernel internals and see 4 yourself Jun 15 16:23:04 <_0xbadc0de> sometimes its the best way to do these things Jun 15 16:25:07 ok. Yeah. I could understand the exploit. But, not been able to practically pop a reverse shell. Have been diggin', but nothing much useful. Jun 15 16:29:20 r3v0, _0xbadc0de, #android-dev is probably not the right channel for what you ask Jun 15 16:29:53 ok. thank you :) Jun 15 16:30:04 try #droidsec Jun 15 16:30:48 or maybe #android-root Jun 15 16:50:44 hi Jun 15 16:51:45 i have android:background="@drawable/rounded_background" with a color red, i changed my theme to color blue, how change this background? Jun 15 16:53:25 does your drawable get it’s color from the theme, or is it just set to be red? Jun 15 17:11:23 i get from the colors, how i can get from the theme? Jun 15 17:11:27 colors is for all Jun 15 17:15:29 hi has anyone ran into a 404 issue with wiremock when trying to stub a post request using retrofit? Jun 15 17:17:01 it logs a 404 not found and the URL matches completely Jun 15 17:17:11 s73v3r: ? Jun 15 17:17:57 stubFor(get(urlPathEqualTo("someURL")) .withHeader("Accept", equalTo("application/json")) .withHeader("Content-Type" ,equalTo("application/json")) .withHeader("Cache-Control", equalTo("public, max-stale=86400")) .willReturn(aResponse() .withStatus(200) .withBodyFile("response.json"))); Jun 15 17:18:03 oh yikes Jun 15 17:18:08 did not know that would happen Jun 15 17:18:41 Is there a sane way to do the equivalent of String.Trim on a SpannableStringBuilder? Jun 15 17:20:05 sorry that stubFor is supposed to be a post not a get Jun 15 17:20:20 t0th_-_: you’d have to put the color into your theme Jun 15 17:21:31 how ? Jun 15 17:21:47 same way you’d put any other attribute into a theme Jun 15 17:21:57 create in attrs Jun 15 17:22:10 more in style Jun 15 17:23:33 you just need to define the color in there just like you’d define any other color Jun 15 17:23:36 Hey all. Jun 15 17:23:41 then reference that in your drawable xml Jun 15 17:24:34 Anyone know which OpenGL ES version I should start learning? Jun 15 17:24:42 4 Jun 15 17:24:44 3 Jun 15 17:24:44 I've started development with 1.0 Jun 15 17:24:47 no Jun 15 17:24:54 but I'm finding out it's way outdated, and it's completely different from 2.0 Jun 15 17:25:07 I've heard 2.0 is similar in syntax to 3.0, and it's got a lot of market penetration. Jun 15 17:25:09 you have any post to show me this? Jun 15 17:25:27 no. it’s just exactly what it sounds like Jun 15 17:26:45 So, you're saying go for 3? Jun 15 17:26:51 yes Jun 15 17:27:15 and then go back to 2 as needed Jun 15 17:27:18 Can you reccommend a good book to learn it? I don't mind paying for a good resource. Jun 15 17:27:23 i can't Jun 15 17:27:48 Gotcha, okay thank you for your input. Jun 15 17:27:59 3.0 it is Jun 15 17:31:37 hello Jun 15 17:32:02 Does anyone have experience connecting an android to their local server through an app? Jun 15 17:32:32 I can connect all of my other computers with netcat, browser, and the exact same java program that I'm using in my app, but the app itself refuses to connect. Jun 15 17:33:45 are you on the same local network? Jun 15 17:33:51 yup Jun 15 17:34:02 can you ping it from the device? Jun 15 17:34:19 i haven't tried in a terminal but I've tried through a browser in the device Jun 15 17:34:31 is it over https? Jun 15 17:34:38 http Jun 15 17:34:57 yeah, then I don't know — if it were https, I'd say it was a cert issue most likely Jun 15 17:35:04 what's the error that you're getting? Jun 15 17:35:32 sadly the error isn't even helpful. I/System.out: null Jun 15 17:35:38 plugyn, you might have forgot to add internet permission to your app Jun 15 17:35:54 i've added the permissions in the manifest Jun 15 17:36:25 so, that's not an error, what are you trying to print out? Jun 15 17:36:36 an error would extend Exception Jun 15 17:36:44 then you just e.printStackTrace() Jun 15 17:37:09 Yeah that's the error message, from } catch (Exception e) { Jun 15 17:37:09 System.out.println(e.getMessage()); Jun 15 17:37:15 don't do that Jun 15 17:37:18 do e.printStackTrace() Jun 15 17:37:25 >< shit, alright. Jun 15 17:37:40 printStackTrace will tell you exactly what is going on Jun 15 17:38:32 and use logcat (Log.v Log.d Log.w Log.e) instead of system.out Jun 15 17:38:37 if i need to make a quick api call every ~hour or so, would alarm manager be the goto? Jun 15 17:38:41 or is there something else Jun 15 17:39:03 jobscheduler Jun 15 17:39:06 herriojr: here's the first line at android.os.StrictMode$AndroidBlockGuardPolicy.onNetwork(StrictMode.java:1273) Jun 15 17:39:21 So it is a permission error :o Jun 15 17:39:37 which means you don't have that network permission Jun 15 17:39:58 is that the network no permission or doing networking on main thread? Jun 15 17:40:11 good question Jun 15 17:40:15 I didn't think about that Jun 15 17:40:16 android.os.NetworkOnMainThreadException Jun 15 17:40:21 So I guess main thread Jun 15 17:40:51 plugyn: so, basically anything that accesses network or disk should be done off the main thread Jun 15 17:41:01 spin an async task for the operation Jun 15 17:41:10 or use rxjava Jun 15 17:41:16 hmm Jun 15 17:41:22 i think I understand ^_^ Jun 15 17:41:28 orbyt_: when I said job scheduler I was referring to you. Jun 15 17:41:39 Java throws an exception for disk and network access on the main thread? Jun 15 17:41:50 android does Jun 15 17:41:53 I would have thought it would just be slow and unresponsive while it makes the request Jun 15 17:42:03 til Jun 15 17:42:44 the main thread handles all UI operations if you allowing networking on it there can be huge repercussions. So as a mechanism to keep it from happening android will throw when you do. Jun 15 17:43:09 It's a good practice, makes sense. Jun 15 17:43:12 Ping_2_Ur_Pong: Yea thanks am reading up on it. would you recommend alarmmanager or jobscheduler? Jun 15 17:43:46 tbh its good because its a runtime check, but any basic testing will always catch it, whereas allowing it to proceed might not be noticeable until production or rare circumstances, better to just say hell no completely. Jun 15 17:43:50 s73v3r: i create a attribute colorTest to attrs.xml and add to my theme colorTest, how i can reference it in drawable? Jun 15 17:43:56 jobscheduler Jun 15 17:44:14 t0th_-_: Just like any other color Jun 15 17:44:15 * Ping_2_Ur_Pong pretty much uses job schedulder whenever he can Jun 15 17:44:36 only 21+ tho hmm Jun 15 17:44:49 there’s something that’s backported Jun 15 17:44:56 it doesn’t have the same name, but it does the same thing Jun 15 17:45:54 no Jun 15 17:46:13 i have this: @color/white in my theme Jun 15 17:46:27 Hey! It connected! Jun 15 17:46:32 i said to declare it as a color Jun 15 17:46:34 Thanks guys, the thread worked ^_^ Jun 15 17:47:17 i need change the color of my selector using a color defined in theme, an i do it? Jun 15 17:47:38 *@color/white Jun 15 17:47:49 i said to declare it as a color Jun 15 17:48:53 #134a9e ? Jun 15 17:49:38 no, what you do want to do is declare an attribute Jun 15 17:49:53 in your attr.xml, declare attributes as reference|color Jun 15 17:50:28 in your theme, define that attribute Jun 15 17:50:35 and then in your drawable, you’d use the attribute. Jun 15 17:50:46 http://stackoverflow.com/questions/12703757/android-themes-defining-colours-in-custom-themes Jun 15 17:51:06 nice, man Jun 15 17:51:08 i got it Jun 15 17:53:57 I've been banging my head on google for days. How do I get a canvas for my SurfaceView which I already have showing up on my screen? name of SurfaceView is surfaceView, and I have surfaceView = (SurfaceView) findViewById(R.id.surfaceView); in my MainActivity onCreate(). surfaceView is a SurfaceView and is global inside of MainActivity. Thanks! Jun 15 17:54:42 jesseg go to github and type android surfaceview Jun 15 17:55:48 Ping_2_Ur_Pong, K I'll try that. Jun 15 17:55:52 also call draw(Canvas canvas) on the surfaceview. Jun 15 17:56:58 you want to get the canvas that the surfaceview is drawing? Jun 15 17:57:21 if you say yes to that question, why? Jun 15 17:58:35 I'm super new to all this so I don't know all the right lingo to ask, but I do have a SurfaceView showing in my layout and I do want to be able to draw 2D primitives like lines and points on it, and I understand that canvas is the way to do it. I've also seen mention of a holder, but can't wrap my mind around all of it yet but trying very hard Jun 15 17:59:09 you call draw on the surfaceview and pass it a canvas. Jun 15 17:59:13 jesseg, you get the canvas from the surfaceholder Jun 15 17:59:27 https://developer.android.com/reference/android/graphics/Canvas.html Jun 15 17:59:31 you can draw inside the canvas between lock and unlock of the canvas Jun 15 17:59:34 we still don't have a bot do we? Jun 15 17:59:36 check https://android.googlesource.com/platform/development/+/master/samples/LunarLander/src/com/example/android/lunarlander/LunarView.java for example Jun 15 17:59:42 but you will find many tutorials online Jun 15 18:00:22 Ping_2_Ur_Pong, thanks - I did read that webpage but am still confused. Jun 15 18:00:23 that's a good one to help you understand. But, doesn't lunar lander use a thread and surfaceview instead of just overring view? Jun 15 18:00:25 i remember when you asked about surfaceview Jun 15 18:00:59 adq, yeah, I've been working very hard to try to understand it for several days :D Jun 15 18:01:30 https://developer.android.com/guide/topics/graphics/2d-graphics.html Jun 15 18:01:35 jesseg, another (but old) tutorial: http://obviam.net/index.php/a-very-basic-the-game-loop-for-android/ Jun 15 18:01:37 is a better tutorial Jun 15 18:02:04 this is not a better tutorial Ping_2_Ur_Pong Jun 15 18:02:11 it barely covers what jesseg is aiming Jun 15 18:02:23 which is drawing an audio waveform at 30FPS Jun 15 18:02:47 lol Jun 15 18:02:50 I meant the link I suggested. I am not sure of the full scenario wasn't here previously for explanation, I am only going on what's being said now. Jun 15 18:02:56 adq: That showed up to me as a mention Jun 15 18:03:09 LunarEclipse120 ?? Jun 15 18:03:14 yeah I got the audio working in its own thread, and created another new thread to hold the code that draws to SurfaceView Jun 15 18:03:16 you meant you have been highlighted? Jun 15 18:04:02 * Ping_2_Ur_Pong kicks kotlin this shit is not readable if you don't know kotlin... dafuq is this shit... picker: NumberPicker? Jun 15 18:04:14 adq: Yeah. The link. Jun 15 18:04:23 eheh sorry for that, change your nick ;) Jun 15 18:04:24 Thank you all very much. I'll mull over these new links (actually only one I hadn't seen already in my previous searches) and see what I can do. Thanks! Jun 15 18:04:38 jesseg, you need to understand the lifecycle of a surfaceview, when the surface is created, destroyed, resized, etc Jun 15 18:05:19 other than that, it's pretty straightforward with the surfaceholder which gives you a canvas Jun 15 18:05:27 where you can draw inside it like a regular canvas Jun 15 18:05:29 adq, yeah I think I understand the general theory but am struggling with the exact syntax. I'm confused by all the different ways to do things that are all mentioned in the same article Jun 15 18:05:35 (always between lock and unlock) Jun 15 18:05:45 there are many ways indeed Jun 15 18:05:47 yeah lock and unlock I understand Jun 15 18:05:59 there are many ways to handle the game loop for a constant fps too Jun 15 18:06:13 yeah game loops I understand, done them in other languages/platforms Jun 15 18:06:21 Ping_2_Ur_Pong: Nothing is readable if you don’t know it Jun 15 18:06:37 I could read python before I knew the language Jun 15 18:06:38 So let's save I have surfaceView, what do I do to get a canvas so I can .draw? Do I have to get a holder first, then that gives me a canvas? Jun 15 18:06:56 Java, C# all of them without being completely aware of the semantics Jun 15 18:07:22 yeah, there's a lot of shared ideology between a lot of languages Jun 15 18:07:24 I have an ionic(cordova) app in beta that uses crosswalk and uses arch dependent apks(x86, armeabi-v7a) , and sent to my colleague who has galaxy note 4, when he tries to install it says its not compatible. Any ideas on how to fix this? Jun 15 18:07:28 jesseg, yes it's mandatory to get the holder: Canvas c = mSurfaceHolder.lockCanvas(null); Jun 15 18:08:02 then inside a synchronized block, you can use this "c" (canvas) to draw like c.drawLine.. Jun 15 18:08:04 jesseg, yep, you need to wait for it to be initalized and then lock the surface Jun 15 18:08:09 adq, so if my surface view has the handle surfaceView, where does it fit in that statement? Jun 15 18:08:35 is mSurfaceHolder what I'm calling SurfaceView surfaceView; ? Jun 15 18:09:19 it's not like a regular view, you would better extend your surfaceview as MyJessegSurfaceView and override the relevant methods in it Jun 15 18:09:26 this is why i gave you the lunarlander example and the old tutorial Jun 15 18:09:27 what. Jun 15 18:09:57 just start with a simple example first, until you can draw properly in it Jun 15 18:10:05 then you will figure out what need to be done to improve that Jun 15 18:10:20 adq, ahh okay. I'll see what I can figure out in LunarLander. Thank you so much, I really appreciate it! Jun 15 18:11:03 Gotta go pick of a shelf - will be back later. Jun 15 18:12:27 Is it possible to use the "byte[] data" variable to create a Bitmap with BitmapFactory or anything else for that matter ? Jun 15 18:12:39 yay, new air conditioner gets here tomorrow Jun 15 18:13:23 yes cart_man, you have BitmapFactory Jun 15 18:13:47 each byte is one pixel, simply Jun 15 18:14:15 adq: Ahm...yes that makes sense cause its RAW but why bother with jpegCallback then ? Jun 15 18:14:57 uhh no idea, Jun 15 18:15:35 cart_man, because you can't load images of most modern phone sizes into memory in one piece. Jun 15 18:15:39 at full resolution. Jun 15 18:16:08 Some devices can not use RawCallback soo for safety I use jpegCallback.. I assume its already in JPEG form when I get to work with it HENCH jpegCallback...soo now I can not just simply go BitmapFactory.decodeByteArray() Jun 15 18:16:25 Does anyone know Crosswalk needs special config to get deployed to Galaxy Note 4. I'm wondering if the Note 4 is 64bit and therefore needs special handling. Jun 15 18:16:27 Mavrik: Yes I totally get that... my question is how can I get the JPEG back into bitmap or is that not possible? Jun 15 18:16:47 decodeByteArray is indeed what does that. Jun 15 18:18:13 Mavrik: But I get a -1 returned and a nullException Jun 15 18:18:42 Well, I guess you're doing something wrong then. :/ Jun 15 18:19:40 Mavrik: -> Bitmap bit1 = BitmapFactory.decodeByteArray(data,0,data.length); Jun 15 18:19:52 Seems pretty easy though ? Jun 15 18:20:30 Well, what does the log say. Jun 15 18:20:36 Is your data jpeg data at all? Jun 15 18:20:40 Do you have enoug memory to store it? Jun 15 18:21:27 so i guess N APIs are final now Jun 15 18:21:35 support lib 24 out Jun 15 18:22:12 is there an easy way to debug AOSP code? Jun 15 18:22:30 s73v3r: i create colorSecondary in attrs and @color/buttons_color in theme, in my selector i put but the color is not reflect Jun 15 18:22:32 g00s, yep dp4 just landed Jun 15 18:22:37 in attrs.xml Jun 15 18:22:40 and build tools 24 Jun 15 18:22:48 I've loaded the AOSP source codwe in intellij using the idegen script provided and I am able to see all the code. However, when I click on "attach to debug", it doesn't show anything Jun 15 18:23:01 Hi all. I'm having trouble getting parameters when my app is invoked through an implicit intent. Is this a good place to ask for help? Here is what I'm trying: http://pastebin.com/8vCUADGQ. Essentially, the Bundle returned from intent.getExtras() is null Jun 15 18:23:09 what about buttons_color Jun 15 18:23:15 sleepster, you're unlikely to be able to attach a debugger to a prodution device for system processes Jun 15 18:23:25 sleepster, build a userdebug version and run it in the emulator Jun 15 18:23:35 #35C05E Jun 15 18:24:32 hey dragorn how did things go this weekend Jun 15 18:24:34 sleepster: https://source.android.com/devices/tech/debug/ Jun 15 18:24:53 g00s, fine, fine. still on the road. debating the wisdom if installing dp4 on my phone while traveling :P Jun 15 18:25:40 brave soul :) Jun 15 18:25:51 g00s, eh worst case I install a factory image back on it Jun 15 18:32:01 s73v3r: i cant reference theme attrs within in a selector Jun 15 18:32:07 i need create a multiple selectors Jun 15 18:32:14 and reference it in my theme Jun 15 18:32:15 you didn Jun 15 18:32:19 didn’t mention selectors Jun 15 18:32:37 i mentioned Jun 15 18:32:53 see above Jun 15 18:32:55 t0th_-_ i think you can after 5.1, but yeah, that sucks Jun 15 18:32:57 anyway, thanks man Jun 15 18:33:24 one of my pet peeves, since i have multiple themes, i have like 3x drawables Jun 15 18:33:42 and i love a res/drawable with 70 files in it Jun 15 18:33:47 :/ Jun 15 18:35:24 so whats this about? --> java.lang.SecurityException: Permission Denial: get/set setting for user asks to run as user -2 but is calling from user 0; this requires android.permission.INTERACT_ACROSS_USERS_FULL Jun 15 18:36:01 If I want to open a alertdialog do I have to do it from a button? My dialog won't show from inside onCreate(). Jun 15 18:37:35 I am using GPSTracker in my android application and here is the code https://gist.github.com/himadriganguly/af24eaf4353332b47429d48c5a87c0a9, i just want to know that as this is not the MainActivity how to implement the onRequestPermissionsResult in this Class. I am newbie can anyone please help Jun 15 18:43:13 the most annoying part of android studio, when you go to type in something, it neglects the first character Jun 15 18:43:41 thanks dragorn . Yeah, I am using actually a "eng" build in an emulator. I can connect using "adb". However within intellij, the "attach to device" shows nothing Jun 15 18:43:54 thanks danalbert . The documentation though only shows how to debug native code Jun 15 18:44:05 danalbert: I am interested in java code Jun 15 18:44:19 sleepster: Oh, sorry. I often forget that there's Java above me :) Jun 15 18:44:46 Looking for a community to chat with about the AMP project... i'm enthused by it. Jun 15 18:47:06 "Added support for referencing themed ColorStateList objects from XML" Jun 15 18:47:46 are jack and kill final now too ? Jun 15 18:47:51 lol jack and jill Jun 15 18:49:46 So Android Studio is telling me I need Build Tools 21.0.0 but that isn't in the SDK manager? Jun 15 18:49:51 danalbert: oh nevermind.. I got it :) Jun 15 18:50:08 danalbert: I didn't set up the Android SDK in intellij. Now I can debug system servicwes Jun 15 18:52:53 Hi all. I'm having trouble getting parameters when my app is invoked through an implicit intent. Is this a good place to ask for help? Here is what I'm trying: http://pastebin.com/8vCUADGQ. Essentially, the Bundle returned from intent.getExtras() is null Jun 15 18:53:12 How can I get rid of the title bar that says the app name? Jun 15 18:55:29 I am using GPSTracker in my android application and here is the code https://gist.github.com/himadriganguly/af24eaf4353332b47429d48c5a87c0a9, i just want to know that as this is not the MainActivity how to implement the onRequestPermissionsResult in this Class. I am newbie can anyone please help Jun 15 18:56:42 joy4u: Stop repeating your question. Jun 15 18:57:37 LunarEclipse120: sorry for that but the question goes a long way up so i post it again Jun 15 18:57:48 hey all, is there any reason why having an sd card in a device and rebooting it would cause data in my apps directory to be removed? Jun 15 18:57:59 joy4u: No it doesn't Jun 15 18:58:10 joy4u: You can obviously still see it Jun 15 18:59:41 how often do you guys use the Application class? i'm weary of it Jun 15 19:01:06 I use it in every app Jun 15 19:01:28 Chainfire: can you briefly describe why? Jun 15 19:01:34 so can anyone please help to answer the question Jun 15 19:02:53 sometimes because its needed to work around some bug, or I want to do something for the entire application rather than in an activity (like logging setup, or localisation overrides, or...) Jun 15 19:03:08 https://android-developers.blogspot.jp/2016/06/android-n-apis-are-now-final.html Jun 15 19:03:12 preview 4 ? Jun 15 19:03:29 ah ok, so if i wanted to do something *before* any activites open, can i use the constructor of the Application? Jun 15 19:03:55 Like for instance, create some singletons, or delete and refresh a database table before use? Jun 15 19:04:59 gordon_ yes. and my aforementioned localisation overrides may just have been killed by that Jun 15 19:05:38 parco you could, but that might not be something you want to do Jun 15 19:05:40 wonder if ndk will work now ;) Jun 15 19:06:05 anything you do in Application::onCreate has the potential to delay the first Activity being shown Jun 15 19:06:19 I see. Jun 15 19:06:24 I can not seem to Debug my app... I have breakpoints but it just seems to ignore the breakpoints.... I clicked debug obviously Jun 15 19:06:42 cart_man have you tried a different device? Jun 15 19:06:58 (I have an S6 that refuses to debug for reasons unknown) Jun 15 19:07:02 No only my old samsung 3 Jun 15 19:07:05 galaxy 3 Jun 15 19:07:10 but it worked before though Jun 15 19:07:17 ah well then that probably isn't it Jun 15 19:07:33 adb kill-server, device and computer rebooted, adb shell is working, etc ? Jun 15 19:07:37 Well its very weird...worked yesterday night but now...nothing Jun 15 19:07:41 SOo frustrating ! Jun 15 19:09:39 anyone remember Adam Powel's talk on What the Fragment at i/o he talked about "fishing for fragments" ... what exactly did he mean by that ? Jun 15 19:11:43 g00s, getting fragment references from other fragments Jun 15 19:12:03 Mavrik thanks Jun 15 19:12:12 Or activities or anywhere else. Jun 15 19:12:23 Basically calling findFragmentById/tag and then calling methods on them Jun 15 19:22:11 why is getExternalFilesDir returning internal storage when an sd card is inserted? Jun 15 19:24:43 Because that's how the device OEM set it up. Jun 15 19:25:27 Mavrik: gotcha. is there a method that will ensure the sd card directory is returned? Jun 15 19:26:02 Not really. Jun 15 19:26:09 Why do you need it? Jun 15 19:29:33 i have this daily log activity, which includes a graph and some summary values. I'd like to create a tab host and be able to swipe to previous days... should i consider the entire Daily Log as a "fragment"? Jun 15 19:30:55 if your game uses in-app purchases, then you have to usea Google account right? So if you dont use that same google acount for login in the app youd need 2 logins for one app? seems really bad. is that true? Jun 15 19:31:27 meaning you are practically forced to use a google account for login to the app and not your own backend Jun 15 19:35:03 You've mixed up bunch of stuff. Jun 15 19:35:11 ok Jun 15 19:35:29 but settng up payments requires a google account right? Jun 15 19:36:41 Google Services IAP payments are bound to users Google account on the device. Jun 15 19:37:06 It has nothing to do with how you authenticate user in your app, the google account part is fully abstracted away from you. Jun 15 19:41:11 In adb shell, I am doing mkdir ##dirname but int wont allow me to create new dir with ## , how do i make a directory with ## ? Jun 15 19:42:46 jennie: Why do you need to do that> Jun 15 19:42:55 I am getting "cannot resolve string" Jun 15 19:43:00 hang out Jun 15 19:43:02 I will paste Jun 15 19:43:22 I have the JDK set to jdk1.7.0_80 Jun 15 19:43:26 I tried invalidating caches Jun 15 19:43:34 Still not working Jun 15 19:44:01 http://paste.ubuntu.com/17376876/ Jun 15 19:44:09 Oh I see Jun 15 19:44:12 I need String not string Jun 15 19:44:41 jennie: Why do you need it to have the ##? Jun 15 19:45:12 lol yet again i have a idea where i could implement it 1 of 50 ways, thank you android! Jun 15 19:46:07 about support lib : "he team closed a total of 197 issues in v24.0.0, 31 of which were publicly reported on AOSP." Jun 15 19:46:10 wow :D Jun 15 19:46:23 FragmentTabHost vs TabHost vs ViewPager vs PagerTabStrip etc... Jun 15 19:46:43 Oh great Jun 15 19:46:47 My activity is blank Jun 15 19:46:53 "Missing AppBarLayout's shadow after resuming" lol i thought i was going crazy Jun 15 19:47:13 Any ideas? Jun 15 19:47:34 http://pastebin.com/dsYnNhUh Jun 15 19:49:33 LunarEclipse120: your layout xml isn't correct? Jun 15 20:01:52 Mavrik: i want to get the sd card path to give the user an option of where to store downloaded files Jun 15 20:06:41 hello. a project manager wants me to decompile a small java project APK package, reverse engineer it. It's only 15 windows worth of android UI. Is there any good argument for simply rewriting it? Jun 15 20:10:33 lolwut Jun 15 20:10:46 dcope, you do that using SAF Jun 15 20:12:21 pfn: thanks, i'll check this out Jun 15 20:12:44 trying to track down an issue. users keep saying that their local files are getting deleted. seems to only happen to those with an sd card in their device. Jun 15 20:15:12 jvelasquez: there are ethical and legal constaints. Kind of crappy to reverse someone else's work and use it. Outside of those I would add, readability, maintainability and toss in the likelyhood that if you do it, the app will probably be updated and youll be missing functionality and bug fixes. Jun 15 20:17:30 to convince your PM explain that it will cost more to reverse and ensure its in good working shape than it will to build anew. But FYI 15 "windows" ie... screens is not really that small when it comes to applications. Most use only one or a handful. Jun 15 20:20:32 dcope, yep, use SAF dialog to ask where to store and you'll get proper path back with proper permissions Jun 15 20:20:35 jvelasquez reversing is fun from an education standpoint, but ethical considerations aside, its not a good way to build another product upon. also sounds like you need a new project manager Jun 15 20:20:43 You can't write on sd card without SAF dialog anyway since 4.4 Jun 15 20:23:07 Mavrik: ok great, i will do that on a future update. Jun 15 20:23:42 anyone know whats in build tools 24 ? https://developer.android.com/studio/releases/build-tools.html hasn't been updated Jun 15 20:23:45 is there any reason why the directory returned from getExternalFilesDir would get deleted though? perhaps some OEM operation or a third party app? Jun 15 20:24:09 Guys.. what is "context" in first parameter of Toast? Jun 15 20:24:39 purplex88: look at its docs Jun 15 20:25:47 can i use the custom theme atributes in shape/solid ? Jun 15 20:25:52 like ?mycolor Jun 15 20:26:23 jvelasquez, time. Ultimately, you still have to write the code, and there isn't much to reverse when it comes to UI layouts Jun 15 20:26:34 it says its "this" which is just class object. what's "context" stands for? Jun 15 20:26:45 context Jun 15 20:27:07 t0th_-_ should work over 5+ Jun 15 20:27:09 read the documentation Jun 15 20:27:10 i wonder why Fragments require a newInstance versus just passing parameters through constructor Jun 15 20:27:30 parco because the framework must be able to create them at a later time Jun 15 20:27:33 because only the default constructor without params might be called by the system, parco Jun 15 20:27:48 so i need create diferent shapes with theme colors? Jun 15 20:28:07 like selectors Jun 15 20:28:18 oh i see Jun 15 20:28:45 t0th_-_ i'm confused too, there is an entry into support lib 24 about that, but i'll wait for the medium post from chris banes to explain :D Jun 15 20:28:51 just looking meaning of "context" there's nothing in docs Jun 15 20:29:14 purplex88 https://possiblemobile.com/2013/06/context/ Jun 15 20:29:48 dcope, any reason really, user deleted it, third party app deleted it, etc. etc. Jun 15 20:29:54 dcope, maybe you just lost permissions? Jun 15 20:29:58 who knoooows :P Jun 15 20:30:49 http://lmgtfy.com/?q=Android+Context Jun 15 20:31:47 g00s: very nice! Jun 15 20:34:53 Mavrik: would it be possible to just randomly lose permissions on pre-marshmellow? Jun 15 20:34:53 * Ping_2_Ur_Pong is looking at code that someone wrote in kotlin and is debating completely re-writting it. Jun 15 20:35:05 dcope, doubt it. Jun 15 20:35:15 dcope do you randomly lose the keys to your house when they are in your pocket? Jun 15 20:35:16 Probably some "cleaner" program deleting it. Jun 15 20:35:16 Ping_2_Ur_Pong: You want to rewrite it in kotlin? Jun 15 20:35:28 jaana: no, in java Jun 15 20:35:45 Why would you rewrite something in Kotlin in Java? Jun 15 20:35:56 because he wants to copy-paste code off stackoverflow Jun 15 20:35:58 Ping_2_Ur_Pong: perhaps! :P Jun 15 20:35:59 and his project isn't kotlin Jun 15 20:36:00 kotlin is nice and seems to have great features, but its readability is shit Jun 15 20:36:07 "readability is shit" lol Jun 15 20:36:21 Everything is unreadable if you haven’t studied it Jun 15 20:36:22 that's generally what people say about languages they don't know/understand Jun 15 20:36:24 if you don't know kotlin you don't get all the semantics of whats going on Jun 15 20:36:31 that applies to all languages Jun 15 20:36:49 see all the questions that come in here hourly Jun 15 20:36:52 I know I don't know it, but when many different people are going to be using it don't know kotlin its not valid to have the entire code base in a language they dont know Jun 15 20:36:59 touche Jun 15 20:37:10 Ping_2_Ur_Pong: Take this as an opportunity to learn something and get to understand the code. Maybe it’s not great but at the very least, refactor it from Kotlin to Kotlin. At least you’ll learn something. Jun 15 20:37:34 Ping_2_Ur_Pong why not discuss it with the other people lol Jun 15 20:37:58 jaana: the point isn't for a learning experience. If I choose to learn kotlin that's fine. But, I am not the standard people that will be looking at the code. Its people that won't be arsed to nor desire to learn kotlin. Jun 15 20:38:25 and they will be familiar with java already? Jun 15 20:38:35 if this is for $work, ok, understand Jun 15 20:38:35 yes Jun 15 20:38:41 it is for work Jun 15 20:38:53 you can always make the case for kotlin at work Jun 15 20:39:12 * pfn makes the case for languages alternative to java all the time Jun 15 20:39:13 Yup, add comments to clarify things, leave it in Kotlin, see how that goes Jun 15 20:39:17 Kotlin seems great, nice features several that are damn nice. operator over loading seems awesome... null safety check great, but some of this syntax is like wtf Jun 15 20:39:37 like what Jun 15 20:40:05 adp.onClick(get() ?: return) Jun 15 20:40:16 That's a null safety thing Jun 15 20:40:24 I get what it does, but thats fucking retarded Jun 15 20:40:39 What would be more readable to you? Jun 15 20:40:40 if get() returns null, don't call onClick Jun 15 20:40:43 well, nullableFoo ?: return is just bad practice, imo Jun 15 20:40:51 the standard way of checking first then calling the method. Jun 15 20:40:53 ugly side-effect Jun 15 20:41:05 Ping_2_Ur_Pong: that's not what it does Jun 15 20:41:10 most of the null-safety stuff in kotlin is pretty ugly Jun 15 20:41:16 It returns the outer method if get is null Jun 15 20:41:23 Are you complaining about ?: (which I think is great) or the return (agree with pfn, that one is ugly) Jun 15 20:41:30 jaana, the return Jun 15 20:41:37 jaana, it seems to be a published idiom to do so Jun 15 20:41:54 Doing it inline is weird... Jun 15 20:41:55 the entire damn line, is fucking retarded Jun 15 20:41:56 s/published/standard Jun 15 20:42:14 I'd accept it in a val initialization Jun 15 20:42:17 Barely Jun 15 20:42:28 But not as a parameter Jun 15 20:42:39 It’s not great but if `return` is valid, that function is already a Unit so it’s already doing side effects Jun 15 20:43:58 What is actually pretty stupid in kotlin is returning in closures behaving differently when inlined. Jun 15 20:44:15 Weirdest thing. Jun 15 20:44:29 don't ever do non-local returns Jun 15 20:44:34 or don't return at all :P Jun 15 20:44:39 then the semantics aren't weird Jun 15 20:45:04 I hear modifying the parameters is the real deal! Jun 15 20:45:16 No need to return anything Jun 15 20:45:45 well, I guess kotlin still requires a return keyword to return a value Jun 15 20:45:49 booo Jun 15 20:46:01 Sane language choice right there. Jun 15 20:46:09 Fucking scala. Jun 15 20:46:12 lol Jun 15 20:46:54 wrong, requiring return is insane Jun 15 20:47:11 Clearly not, because kotlin is the perfect language. Jun 15 20:47:22 qed Jun 15 20:48:11 I don't get the point you're making, but apparently you're being sarcastic about it being a sane language choice to require return Jun 15 20:49:01 I don't know what to think anymore! Jun 15 20:51:30 pfn do you know whats new in built-tools 24 ? Jun 15 20:51:48 g00s, not particularly, at least one feature is aapt generating stable resource IDs Jun 15 20:52:08 besides that Jun 15 20:52:09 * pfn shrugs Jun 15 20:52:20 (was something announced that they'd be implementing at IO) Jun 15 20:52:21 ok, thanks. was also wondering if jack/jill were final Jun 15 20:53:45 new AC gets here tomorrow, \o/ can't wait for my office to be comfortable *and* quiet Jun 15 20:54:46 I got a question does anyone use photoshop with android icons i hope it not a prob asking this.I start out doing android prgramming and photoshop. Jun 15 20:55:45 lots of people use Photoshop to make android designs Jun 15 20:56:03 although if you’re making an icon, you’d be better served using a vector program, like Illustrator Jun 15 20:56:59 s73v3r,i thought i seen plugin for photoshop with icons. Jun 15 20:57:13 i’m sure it exists Jun 15 20:57:24 but a vector format would be much easier to size up and down Jun 15 20:57:59 i been doing alot of reading on photoshop cc missing manual book.I didn;t know that. Jun 15 20:58:42 perlsyntax probably best route is inkscape with strict mode exports Jun 15 20:58:45 https://stackoverflow.com/questions/10114801/getexternalfilesdir-returns-null-not-a-permissions-issue Jun 15 20:58:52 perhaps this is just an android / oem bug?! Jun 15 20:59:07 Anyone using Google Play Game Services? It seems like quite a lockin... Jun 15 20:59:25 FOr something that isnt hard to do by yourself... Jun 15 20:59:26 perlsyntax but I use Affinity Designer too, both can create shapes that don't render as viewed in the respective app so it takes some finagling Jun 15 20:59:48 g00s thanks sorry for being a newbie. Jun 15 21:00:01 sdsd basic anti-feature of all these platforms is stickiness / lockin, its to be expected ;) Jun 15 21:00:23 dcope, it's very unlikely you'll see a bug from Android 3.1. Jun 15 21:00:37 what is android 3.1 lol Jun 15 21:01:05 did android N last update come today:) Jun 15 21:01:10 :) Jun 15 21:01:23 Mavrik: i'm at my wit's end with this :) Jun 15 21:01:38 dcope wits end is status quo with android dev Jun 15 21:01:41 so you're ok Jun 15 21:01:45 lol! Jun 15 21:01:47 dcope, not sure what the issue is. Jun 15 21:01:54 If you're not using SAF you should. Jun 15 21:02:04 Otherwise... what other issue are you solving? Jun 15 21:02:10 does dropbox have an SAF provider yet, those fuckers Jun 15 21:02:14 Mavrik: we're storing files in the directory that getExternalFilesDir returns. users are complaining that files get "randomly" deleted. Jun 15 21:02:15 Did you determine devices which cause an issue? Jun 15 21:02:18 the entire directory Jun 15 21:02:25 g00s, nop, they don't give a crap about android that much Jun 15 21:02:28 Mavrik: yes, one of it happens on a ZTE device with android 5.1 Jun 15 21:02:48 Is there a pattern? Jun 15 21:03:01 the users have SD cards Jun 15 21:03:17 that's about the only similarity we can determine thus far Jun 15 21:03:36 Also which dir are you passing as getExternalFilesDir? Jun 15 21:03:47 null Jun 15 21:04:21 *shrug* Jun 15 21:04:37 There's no reason for those files to be deleted by themselves. Jun 15 21:04:47 They are accessible world-wide so anything can delete them. Jun 15 21:05:03 yeah, my fear is that users have some third-party "cleaner" app or something that's nuking it. Jun 15 21:06:13 Mavrik: ok so the login for Google payments have nothing to do wth the Google Play Game Services payment? Two separate logins in that case too? Jun 15 21:06:24 sdsd, dafuq. Jun 15 21:06:29 What payment. Jun 15 21:06:37 Inapp purchases Jun 15 21:06:45 or paying for a paid game Jun 15 21:07:04 Would you go and fscking use an Android device for 3 days Jun 15 21:07:20 Because you've been asking dumb questions about Play Games for days. Jun 15 21:07:22 Mavrik: perhaps we should store files in somewhere that's not accessible by the outside world Jun 15 21:07:42 dcope, well, getFilesDir is the obvious choice Jun 15 21:07:46 If the device has enough space Jun 15 21:08:24 The issue might be completely different tho. Jun 15 21:08:25 hm Jun 15 21:08:28 * dcope looks into this Jun 15 21:08:32 thanks for the pointers, all :) Jun 15 21:14:44 g00s,So you use both you said? Jun 15 21:15:20 perlsyntax i haven't used inkscape in a while, it sucked on Mac. Jun 15 21:15:44 i like Affinity Designer. from what i hear the Affinity apps are getting ported to Windows Jun 15 21:15:55 g00s,i see Jun 15 21:16:46 they are also making something to compete with Adobe Lightroom Jun 15 21:16:52 so they will have competitors too Ps, Lr, and Ai Jun 15 21:16:52 linux or diee Jun 15 21:17:23 * g00s wishes them Well, i hate adobe ;) Jun 15 21:18:06 w4ffles ok :) Jun 15 21:25:30 g00s who is making what to compete with Lightroom ? Jun 15 21:30:18 only bad thing about adobe you have to pay for it now.:) Jun 15 21:30:36 ... and it doesn't run on Linux Jun 15 21:30:48 ... and there's no way for Lightroom to cope using multiple computers for the same catalog Jun 15 21:31:22 Chainfire,I don't know it will not run on linux. Jun 15 21:40:41 Keep in mind that once you publish an APK targeting API level 23 or higher, you won't be able to submit an update targeting API level 22 or lower on any channel. Jun 15 21:40:44 hmm Jun 15 21:46:58 Hey guys I need to develop basy application on android, but my layout (a simple ListView) appear under the navigation bar, what I should do? I'm totally noob here Jun 15 21:52:58 M3liot: depends entirely on the way you've set it up Jun 15 21:53:07 M3liot: pastebin your layout Jun 15 21:54:10 M3liot: might also be a good idea to start simple, with a tutorial, instead of trying to build an entire app and learn android programming at the same time Jun 15 21:55:53 Chainfire Affinity is making a DAM tool like Lr , not sure if its in public beta yet Jun 15 22:00:07 Maurits-: It's just a basic app, take some data from array and put them into ListView, but I really can't figure out why results are under navigation bar, I googled for 1h Jun 15 22:00:10 http://pastebin.com/nmjZMXqy Jun 15 22:00:59 M3liot: for one, there's really no reason to use relativelayout here Jun 15 22:01:08 but that's not causing it Jun 15 22:01:32 M3liot: in general, one puts the Toolbar in the layout these days Jun 15 22:01:41 rather than having a system managed toolbar/action bar Jun 15 22:02:39 M3liot: just start with the skeleton app from the new project wizard Jun 15 22:02:52 that'll give you a reasonably modern setup that you can modify Jun 15 22:06:45 apparently the sample apps haven't gotten the message yet Jun 15 22:07:12 Maurits-: Ok thanks, but there is no way to add this navigation bar to my project? Jun 15 22:07:35 M3liot: I've just made an app with an empty activity using the wizard Jun 15 22:07:43 I now understand where the relativelayout comes from Jun 15 22:11:14 Maurits-: Yes I generated my layout from there Jun 15 22:12:18 just quickly chucking a listview in there to see if I can replicate what you're seeing Jun 15 22:14:46 M3liot: nope, works fine here Jun 15 22:15:11 M3liot: why do you think your results are under the navbar? Jun 15 22:15:19 Maurits-: That's strange :D Jun 15 22:16:11 Maurits-: It seems like my application think there is no visible navigation bar Jun 15 22:17:28 M3liot: well, try this layout Jun 15 22:17:32 M3liot: http://pastebin.com/NQ6iv4j4 Jun 15 22:17:47 you'll have to modify the id's to match yours, of course Jun 15 22:20:15 if you've modified nothing else (in the manifest, for example, or the styling file, then this should work) Jun 15 22:20:31 Hi, I was wondering, am I creating and switching Fragments correctly? especially the usage of Reflection seems a bit obscure, but I got that piece of code from a tutorial: http://pastebin.com/WwWBAip7 Jun 15 22:22:48 suik yeah thats pretty normal Jun 15 22:22:50 you don’t have to use reflection there Jun 15 22:23:01 but it does make the code a little simpler Jun 15 22:23:13 typically you want to check if the class of the current fragment is the same as the new one, and if so bail out before allocating the new one Jun 15 22:23:25 how many heaps does dalvik have? I am looking at the build property dalvik.vm.heapsize and it says it is the total heap size and that you can have several heaps Jun 15 22:23:30 thats what im doing in oncreate Jun 15 22:23:41 then there is dalvik.vm.heapgrowthlimit which is the max size of any one heap Jun 15 22:23:44 the first part before //... Jun 15 22:27:00 Maurits-: I checked, it's the same for me, I still have that problem Jun 15 22:28:01 Maurits-: But I was thinking, I'm using tab views on my layout Jun 15 22:28:21 M3liot: right, I'd suggest to take it one step at a time Jun 15 22:28:55 and it seems that the space under the navbar is more or less the eight of the tab bar Jun 15 22:29:22 M3liot: start without the tab bar, with one list Jun 15 22:29:24 see if it works then Jun 15 22:29:57 is it possible that Android Studio set the height of my ListView without considering the tabs? Jun 15 22:30:00 Ok I will Jun 15 22:39:50 android studio doesn't set anything Jun 15 22:39:50 you do Jun 15 22:48:51 sleepster, it depends on the device and the rom in it Jun 15 23:01:45 Maurits-: Yes I think it's tabs fault Jun 15 23:20:20 started using data binding api on a new project and it seems to have brought confusion to my head Jun 15 23:29:13 bitkiller_ Confusion.bind() Jun 16 00:26:48 Mavrik i rewatched the i/o 'what the fragment' talk for that fishing bit. once thing adam said, was that fragments are "policy for views" - i don't disagree, but when app get really big i often find myself wanting policy for fragments :P that could be the activity, but the activity then becomes a huge mess Jun 16 00:27:23 'policy for fragments' could be parent fragment + nested fragments ... Jun 16 00:27:45 but there is the case when fragments must be coordinated and they are siblings Jun 16 00:28:07 i never really did find a nice pattern to solve that Jun 16 00:28:08 I have a view with a canvas on with I can sign. I want to send an email with the image (I’m using javamail-libs). Do I need to store the image on internal-/external storage first? Actually I don’t need the image, only for attaching it to the email. Jun 16 00:28:59 Or does it need to be saved in a temp-dir until the email is sent? Jun 16 00:31:34 Can Android Studio work with JDK 8? Jun 16 00:44:29 Hello Jun 16 01:14:17 How can I have the debugger show the current variables? Jun 16 01:21:40 it resolves all your variables by default when you set a breakpoint Jun 16 02:06:10 I'm still unable to figure out how SurfaceView surfaceView gets attached to by SurfaceHolder. Jun 16 02:08:59 I have a SurfaceView in my layout, and it's name is id="@+id/surfaceView", and I get a view handle or whatever to it with surfaceView = (SurfaceView) findViewById(R.id.surfaceView); in MainActivity's onCreate() (and SurfaceView surfaceView; is global within MainActivity) Jun 16 02:18:41 I know that I have to extend SurfaceView and implement SurfaceHolder.Callback, and that in general, the SurfaceHolder is my gateway to then calling methods for Draw, but how in the world do I tell it that a specific SurfaceView named surfaceView is the one I want to draw on? Jun 16 02:19:08 Or do I just override the whole surfaceView class and it just assumes I can only have one SurfaceView so it must be the one to draw to? Jun 16 02:22:09 Hello Jun 16 02:22:13 FragmentTransition.commitNow() should be .makeItSo() Jun 16 02:22:36 * g00s shot the sherif ... Jun 16 02:22:38 I want to make the notification keep ringing for a minute Jun 16 02:23:39 I have added a Video call feature to my app, and make the app show "HandsUp" notification in case the app is not in foreground Jun 16 02:24:12 I was able to make the HeadsUp notification appear Jun 16 02:24:27 and it rings twice then stops ringing Jun 16 02:25:08 has anyone done an android app that communicates over BLE to an embedded device.... I want to create a remote cam system Jun 16 02:40:48 Any clues how to make HeadsUp notification keep ringing for a minute **** ENDING LOGGING AT Thu Jun 16 02:59:58 2016