**** BEGIN LOGGING AT Fri Jul 15 02:59:58 2016 Jul 15 03:00:42 just curious, Jul 15 03:02:47 the channel is so quite Jul 15 03:11:04 if i put apk on website as a link, is there a way to download and install the apk in one click? Jul 15 03:12:10 no Jul 15 03:30:16 bq: for security reasons, Android will always aks the user for confirmation Jul 15 03:35:36 Lots of free booze at the NYC android meetup yaya Jul 15 03:35:41 and food Jul 15 03:36:16 i wish i were there Jul 15 03:36:34 i am hungry Jul 15 03:38:05 i left Jul 15 03:41:42 * pfn hates interviewing Jul 15 03:42:25 as in doing them, or having to be? Jul 15 03:56:13 pfn going for scala stuff? Jul 15 03:59:07 no Jul 15 04:00:56 if a place has to offer on site coaching to help pass their interview, I don't think it's a place I would want to go Jul 15 04:07:59 I love interviewing. More importantly, I can see right away when somebody enjoys being interviewed. Be positive pfn Jul 15 04:08:28 I've hired people who bombed on my questions but who were having such an obvious good time thnking about problems that it was a no brainer. Jul 15 04:12:23 Show you can learn from the interviewer but that you have confidence in what you know that you also know things they don't. Jul 15 04:13:15 actually, I enjoy interviewing with startups Jul 15 04:13:42 I hate big corporate beasts Jul 15 04:15:08 bloody enterprise rhinos Jul 15 04:19:24 Learn to enjoy interviewing everywhere. It's not about the company, it's about the interviewer. Jul 15 04:19:55 If you're interviewed by someone with a compatible level of passion for writing code, you're going to have an awesome time. Jul 15 04:57:01 So if we both don't give a damn, I'll do alright? (j/k) Jul 15 05:00:18 just remember, "want fry's with that?" Jul 15 06:00:53 what happens when keystore validity date is ended? no one can ever update that app on market again? Jul 15 06:03:58 and if you lose the key you can still delete the app from your console and upload a new version with new key? but same package name Jul 15 07:16:05 How would I position an element relative to my FAB? Jul 15 07:40:44 Hi all, how can I add a lalbel near a floating button like in the Inbox app? (or here: http://i1.wp.com/www.rishabhsinghal.in/wp-content/uploads/2015/08/fab_menu_open.png) Jul 15 08:43:46 Are there any performance benefits of using okhttp vs HttpUrlConnection? I haven't found any benchmarks. Jul 15 08:45:33 OkHttp isn't going to make your network any faster, use it for the better API Jul 15 08:56:07 And use retrofit on top if possible? Jul 15 08:56:25 Less volume with gzip? Jul 15 08:59:03 Sure Jul 15 09:09:32 On 4.4+ you get OkHttp in both cases Jul 15 10:08:05 Hello! I'm making an application that allows a user to create events. I'm allowing the user to use recurrence, but... how do I change (update/delete) instances using CalendarContract? Hope you can help me, guys. Jul 15 10:12:38 i dont get it. i removed the Launcher3 (Genymotion) in system/app, removed the folder in data/data, rebooted, but everytime it comes back in the "home" and i cant install an updated Trebuchet Launcher Jul 15 10:13:31 misterli: working on a widgeT? Jul 15 10:13:45 Yes Jul 15 10:20:16 Can adb's logcat output get altered into something that will have a timestamp of some sort? Jul 15 10:20:46 If it's anything like the normal emulator it probably boots from a static system image, and only data/SD is unique to each device Jul 15 10:24:47 olspookishmagus: if logcat doesn't already have a timestamp, it has a parameter that adds it Jul 15 10:25:41 SimonVT: truly said, I'm checking this out: https://developer.android.com/tools/debugging/debugging-log.html#outputFormat Jul 15 11:20:31 hi. I've just created an AutoCompleteTextView as several tutorials explained it. I connected this View with an ArrayAdapter, containing a dummy String Array of 3 entries ({"Android","Enter","Entertainment"}). There problem is now that if I type something, it only suggests me the last entry "Entertainment". Nothing more Jul 15 11:20:55 Why is that? Jul 15 11:21:20 getting some source.. wait a moment Jul 15 11:24:13 this here is within the activity containing the autocompletetextview https://nopaste.me/view/287074b3 Jul 15 11:28:12 What do you enter in the AutoCompleteTextView? The items should be filtered based on input Jul 15 11:28:47 E for example Jul 15 11:28:56 Mavrik: What do you mean by " On 4.4+ you get OkHttp in both cases"? Jul 15 11:28:57 only Entertainment is shown. Not enter Jul 15 11:29:15 SimonVT: And if I type "A" Android will not be shown Jul 15 11:29:25 case sensitive search? Jul 15 11:29:30 no Jul 15 11:29:32 barq, on Kitkat and onwards the HttpUrlConnection is backed by shipped version of OkHttp Jul 15 11:29:42 (Which is usually older than the one you're using though.) Jul 15 11:29:49 I can type everything I want. Only Entertainment does exist as a suggestion Jul 15 11:31:21 Mavrik: I didn't know about this. Do you have a link to back that up? Would be very helpful to get this into the project I am working on. I only found https://twitter.com/JakeWharton/status/482563299511250944 Jul 15 11:31:38 I really don't have time to look for a link right now. Jul 15 11:31:45 You'll see it in logcat on new devices tho. Jul 15 11:31:50 But still, use OkHttp directly. Jul 15 11:32:20 I'm using an older android version, so won't be in my logs. Jul 15 11:33:42 Try out on a newer version then. Jul 15 11:34:54 You can find okhttp on android.googlesource.com Jul 15 11:36:09 Kalleos: Haven't used ArrayAdapter with an AutoCompleteTextView before, so can't really help you.. Maybe try and attach a debugger to ArrayAdapter, see how it filters Jul 15 11:36:49 I'll try.. Jul 15 11:38:37 but I didn't modificate the ArrayAdapter.. Jul 15 11:38:45 I used it as 4 tutorials show it.. strange Jul 15 11:39:09 I'm away for a moment.. if anyone has an idea by the way.. I have added it also here ... : http://stackoverflow.com/questions/38395169/android-dev-autocompletetextview-only-showing-last-entry Jul 15 11:45:18 So right now okhttp 2.6 is used in AOSP? Jul 15 11:46:21 hate when spending hrs for a decent tutorial on twitter4j async fragment list implementation. -_- Jul 15 11:46:31 tuts so far just crashes app :| Jul 15 11:54:00 Using Firebase-UI, where basically in the app I just use an activity of their library. Problem is that I want to modify UI, Can I modify layout of existing libraries in the app project? Jul 15 11:54:45 barq: I dont think so Jul 15 11:55:42 Which one is it using? Jul 15 11:55:48 Surprised there is so little info on this. Jul 15 11:56:12 It doesn't really matter, it's an implementation detail Jul 15 11:56:16 does anyone know of a twitter feed tut thats works? basically I'm trying to find a working fragment asynctask tut which fetches json data and populates as a listfragment Jul 15 11:56:33 been struggling to find a working tut, because I want to move on from my simple code. Jul 15 11:56:39 Just swapped 500mb. Goddamn you, Android Studio. Jul 15 11:58:48 It's hard to convince some people to allow okhttp to be used, so every argument for it is valuable. Jul 15 11:59:11 barq: it's hard to convice people to alternative language, not to okhttp Jul 15 11:59:54 groovy, kotlin? Jul 15 12:00:04 scala ? Jul 15 12:00:42 You use scala on android? Jul 15 12:00:50 sometimes :) Jul 15 12:01:19 there are apps on market which are using it too Jul 15 12:01:35 Well, maybe with languages it's harder Jul 15 12:01:47 okhttp is just a small lib. Jul 15 12:02:02 and android uses.. Jul 15 12:02:05 apache http client Jul 15 12:02:07 afaik Jul 15 12:02:19 on api >= 23 it's deprecated Jul 15 12:02:19 If you're trying to convince someone you should use OkHttp, saying "HttpUrlConnection uses OkHttp" is not really a good argument Jul 15 12:04:52 this is my twitter acitivity now, since I'm trying to use twitter4j http://pastebin.com/uGferpMV Jul 15 12:04:54 error: http://pastebin.com/qD9UrXAk Jul 15 12:05:21 asynctask Jul 15 12:05:27 it's been a while :D Jul 15 12:05:53 basically, Im trying to do what this guy is done with the tabs, http://stackoverflow.com/questions/27621639/empty-list-arrayadapter-in-fragment Jul 15 12:05:54 Still don't know how to debug a NullPointerException? Jul 15 12:06:21 DarkChaoz, it's indicated: Caused by: java.lang.NullPointerException at com.darkchaoz95.gearsdecassified.TwitterFragment$LongOperation.doInBackground(TwitterFragment.java:75) Jul 15 12:06:24 I'm a noob, I've tried hrs yesterday understanding debugging tools Jul 15 12:06:44 DarkChaoz: Caused by: java.lang.NullPointerException Jul 15 12:06:45 you will eventually figure it out Jul 15 12:07:10 What's line 75? Jul 15 12:07:44 eventually? I deleted my app out of rage because I cant get the activity to work but managed to recover it later Jul 15 12:08:22 rage against the machine Jul 15 12:08:49 its line 73 on the pastebin Jul 15 12:09:19 So "for (twitter4j.Status status3 : statusess) {" Jul 15 12:09:24 makes me remember neophyte music producers who give up after 1 month because they're not able to sound like "pro" Jul 15 12:09:35 ironically google hasnt been helpful, in finding a decent working tutorial Jul 15 12:09:45 Some variable on that line is null Jul 15 12:10:10 Since the NPE happen on that line, and status3 is being assigned, no accessed, it can't be status3 Jul 15 12:10:40 apparently this line has an error too. private class LongOperation extends AsyncTask { Jul 15 12:10:48 when running an app in emulator, I'd like to dump some data to a text file, what is the best way to do this? Jul 15 12:10:53 looks like statusess is only init in the try above Jul 15 12:12:40 twitter.getUserTimeline(user); Jul 15 12:12:43 this is failing Jul 15 12:13:07 also, move those lines inside try Jul 15 12:13:16 te.printStackTrace(); Jul 15 12:13:19 and make it Jul 15 12:13:34 Log.e("MyTag", "" + te.getMessage()); Jul 15 12:13:46 this one is probably failing Jul 15 12:14:01 you would better understand what is an for loop with an iterator, and why it fails if you iterate on something which is null, and why "something is null" Jul 15 12:14:32 printStackTrace is fine, that'll log the exception in logcat Jul 15 12:14:34 coding is not really collage Jul 15 12:14:48 He's probably just ignoring it because it doesn't cause a crash Jul 15 12:16:08 i think it might be twitter user timeline, hold on, because I put a public twitter account rather than my own one Jul 15 12:16:48 http://twitter4j.org/javadoc/twitter4j/api/TimelinesResources.html#getUserTimeline-java.lang.String- Jul 15 12:17:15 you have a brief description here, exception is probably thrown Jul 15 12:17:53 thus your "statusess" will stay null and it fails later on trying to for loop against null Jul 15 12:18:15 wonderful, now the apk is not being installed Jul 15 12:19:28 how is it null I've provided a string user Jul 15 12:19:50 did you read the description Jul 15 12:20:03 Throws: TwitterException - when Twitter service or network is unavailable Jul 15 12:20:34 re Jul 15 12:21:04 how do i check twitter service is available? I very much doubt its down Jul 15 12:21:29 Maybe try and see what the TwitterException stacktrace says Jul 15 12:21:37 do you see your Log.i("Status Count", statusess.size() + " Feeds"); appearing Jul 15 12:21:39 ? Jul 15 12:22:24 too lazy to configure my own twitter client now :D Jul 15 12:22:27 hold on, I have to rerun app, because I've cleared the logs Jul 15 12:22:45 you should remember if you saw the status count displaying your number of feeds in logcat Jul 15 12:23:00 gordon you making one too? the old one I have which is too simple now lol Jul 15 12:23:14 dont recall I've seen status count come up at all Jul 15 12:23:19 I just wanted to try this api in scala repl Jul 15 12:23:24 but too lazy to put tokens :D Jul 15 12:23:28 Hi i have this problem with a recycler view inside of a view pager. I have 5 pages and they all have recycler views inside of them. Everything works just fine but then i decided to test how the fragments reinstantiate when the activity gets destroyed. The views in the recycler views don Jul 15 12:23:40 t seem to get recreated when the fragment gets recreated Jul 15 12:24:37 I also got a question: how can I get video from camera and draw text on it ? I manager to get stream from camera2 api and draw it on SurfaceView Jul 15 12:24:40 but cannot draw text Jul 15 12:24:56 you probably did not see the status count because of the exception being thrown, it won't go there and it won't initialize statusess, thus your issue with NPE later on Jul 15 12:26:00 nothing is shown in the logs Jul 15 12:26:01 gordon_, drawText Jul 15 12:26:21 gordon_, https://developer.android.com/reference/android/graphics/Canvas.html#drawText(java.lang.CharSequence, int, int, float, float, android.graphics.Paint) Jul 15 12:26:39 adq: it's not canvas Jul 15 12:26:40 it's a basic canvas operation to draw text, you need to adjust paint Jul 15 12:26:49 you have a canvas available via surfaceview Jul 15 12:27:00 wait a sec Jul 15 12:27:24 you need to get the surfaceholder to retrieve the canvas Jul 15 12:27:26 so how do i fix the NPE, do i need to see if the twitter service is available? Jul 15 12:27:33 and you can draw inside it between lock and unlock of the surface Jul 15 12:27:42 DarkChaoz: no Jul 15 12:27:53 adq: public void onSurfaceTextureUpdated(SurfaceTexture surfaceTexture) { i have this method Jul 15 12:27:55 or you could be lazy, and put a regular textview on top of your surfaceview Jul 15 12:28:01 but it's not efficient, overdraw, etc Jul 15 12:28:03 in this private TextureView.SurfaceTextureListener mSurfaceTextureListener Jul 15 12:28:12 well you said surfaceview Jul 15 12:28:17 ah, sorry Jul 15 12:28:19 but they are very similar Jul 15 12:28:21 I was mistaked :( Jul 15 12:28:47 at this point, I feel like just hiring someone to do the app for me, this is wasting so much of my time -_- Jul 15 12:28:50 this one doest have canvas Jul 15 12:29:00 DarkChaoz: dont be weak :D Jul 15 12:29:12 no tutorials works as intended :| Jul 15 12:29:20 gordon_, https://developer.android.com/reference/android/view/TextureView.html Jul 15 12:29:27 "It is important to note that only one producer can use the TextureView. For instance, if you use a TextureView to display the camera preview, you cannot use lockCanvas() to draw onto the TextureView at the same time." Jul 15 12:29:45 well im off for a bit, because Im mad, I might come back once im cooldown Jul 15 12:29:50 gordon_, you get the canvas via lockCanvas Jul 15 12:29:58 you draw, and then you unlock it Jul 15 12:30:05 I dont have patience, especially since i want to get this fixed by this month Jul 15 12:30:09 but it's a bit more complicated than that, but you get the idea Jul 15 12:32:48 adq: SurfaceTexture doest have canvas Jul 15 12:33:32 Just cueious do any of you guys know of fragment tutorials for twitter feed that works? Jul 15 12:33:58 Seems to me I always have a problem with npe when i turn into a fragment Jul 15 12:34:46 The fact that it's a fragment doesn't matter Jul 15 12:35:39 Then just copying the code should work fine as afragment then with minor changes, not sure why it gives a npe Jul 15 12:36:13 Funny enough i got npe on the for loop of my the other twitter fragment class Jul 15 12:36:13 gordon_, so now it's surfacetexture? :') Jul 15 12:36:33 It was Twitter Tweet: twits Jul 15 12:36:37 rtfm seriously: https://developer.android.com/reference/android/graphics/SurfaceTexture.html -> A SurfaceTexture may also be used in place of a SurfaceHolder when specifying the output destination of the older Camera API. Doing so will cause all the frames from the image stream to be sent to the SurfaceTexture object rather than to the device's display. ---> https://developer.android.com/reference/android/view/SurfaceHolder.html --> lockCanvas Jul 15 12:36:58 you probably need to look some examples online Jul 15 12:37:05 Well, when you just ignore previous exceptions being thrown you end up with more issues Jul 15 12:37:10 and understand that not everything is a view with a regular canvas Jul 15 12:42:46 so what do I do to fix the NPE that twitter4j.Status status3 is producing Jul 15 12:43:54 Make sure statusess is not null Jul 15 12:45:43 I'm seeing what it logs as, is this ok? Log.i("hur", String.valueOf(statusess)); Jul 15 12:46:05 I tried to do statusess without the string value but gives an error. Jul 15 12:46:30 What do you achieve by logging that? You know it's null Jul 15 12:47:07 adq: even in your first link with TextureView, in listener's metho comes SurfaceTexture Jul 15 12:47:40 then how do i make not null, because it suppose to fetch timeline from the defined user string Jul 15 12:48:10 The method you're calling to fetch the timeline is either returning null or throwing an exception Jul 15 12:48:12 Which one is it? Jul 15 12:49:41 Im not seeing an exception being thrown for statussee being null. Jul 15 12:50:00 do background has a return null statement, is that why? Jul 15 12:50:21 Does getUserTimeline return null or throw an exception? Jul 15 12:50:32 it doesnt say! Jul 15 12:50:42 Find out Jul 15 12:50:46 guess I will have to do it myself Jul 15 12:50:53 not example from google's code ;) Jul 15 12:50:56 Add log statements Jul 15 12:51:00 Attach a debugger Jul 15 12:51:03 Do something Jul 15 12:51:07 This is basic stuff Jul 15 12:52:29 I'll just hire someone to do the app, even its simple. I have no time to debug / find out whats causing the error. Jul 15 12:55:52 how much do you pay ? :D Jul 15 12:57:59 probably $20 per hr or whatever Jul 15 12:58:13 Remember, no advertising, jobs or otherwise Jul 15 12:58:24 but this aint the place to discuss that sort of thing Jul 15 13:01:02 +1 Jul 15 13:12:59 I must be missing something about the search utility in Android Studio... I double Shift, type in log.v, and there is a line with log.v in plain site, but the search utility reports there are no instances of log.v! What am I missing here? Jul 15 13:15:00 azv4: the double shift search is for searching files Jul 15 13:15:11 not content Jul 15 13:15:14 heh, I see! Jul 15 13:21:03 Where is a good place for job discussing ? Jul 15 13:22:33 azv4 user command + f for inside file and command + shift + f for folder/project/module Jul 15 13:22:50 what is "user command"? Jul 15 13:22:57 azv4 command|control in windows Jul 15 13:23:28 or better, in PC, as you'll get the same shortcut in linux Jul 15 13:24:31 Does anyone have any suggestions for websocket libraries? I'm using okhttp3 but apparently their websocket components aren't finished yet. Jul 15 13:25:48 azv4 You may go to edit > find too Jul 15 13:25:56 thank you wviana Jul 15 13:26:07 azv4 welcome. Jul 15 13:26:08 What kind of codename is nougat :l Jul 15 13:27:22 Does many people of here also develop for iphone too ? I found s73v3r in iphonedev chat in past days. Jul 15 13:27:59 wviana, I do, but I only idle in there while I'm working on iOS projects Jul 15 13:28:49 azv4 I'm woking on ios now. I like more people in here ( this channel ) Jul 15 13:29:23 I have a short list of bug fixes, then I will be moving all of our mobile apps to Xamarin Jul 15 13:29:44 azv4 Really, from native to Xamarin ? Jul 15 13:30:51 Yes, we have a Windows Mobile CE version of our app, then an iOS and Android were modeled after it, now I am going to just take the CE app and replace the front end with Xamarin forms and wire in the iOS storyboard and Android UI layer to the CE code Jul 15 13:31:15 that way I can develop 3 platforms in .Net and stop struggling to learn iOS and Android so much Jul 15 13:32:05 I dont know android, is there a ide for a noob xD Jul 15 13:32:08 still need to know the native UI related functionality, right? Jul 15 13:32:12 You're moving from native to Xamarin? Jul 15 13:32:18 What Jul 15 13:32:20 wot Jul 15 13:32:21 ^ Jul 15 13:32:30 If run a webviews from two different activites does it use the same session? Jul 15 13:32:34 eemgr, yes indeed. Of course I understand that Jul 15 13:32:43 or do I need to do some sort of cookie sync? Jul 15 13:33:02 My reaction to azv4: http://imgur.com/zUWBw5G Jul 15 13:33:47 my reply markyosullivan: https://i.imgflip.com/m8zmo.jpg Jul 15 13:34:15 azv4: http://i.imgur.com/eO6PYWM.gifv Jul 15 13:34:25 it really will making managing my projects much easier since I've been working with .Net for 15 years and Android Studio and Java for 3 months... Jul 15 13:34:41 If you say so Jul 15 13:48:46 Anyone got a good guide on how to implement transitions between fragments? Jul 15 13:48:53 Just looking for a basic slide in and out Jul 15 13:52:16 FragmentTransaction#setCustomAnimations and https://developer.android.com/guide/topics/resources/animation-resource.html#set-element Jul 15 13:54:46 hey guys i have to integreate google play services in my app , and i'm not using android-studio how should i do it ? Jul 15 13:55:44 Add the dependency, use them. Jul 15 13:55:57 Not sure what that has to do with the IDE you use. Jul 15 13:57:02 SimonVT: Cheers! Jul 15 13:57:03 Mavrik: no every tutorial says open up android-studio click add library and add google play services Jul 15 13:57:21 ? Jul 15 13:57:25 boodllebat: open up your gradle file, add it Jul 15 13:57:41 If you don't understand enough of how Android apps are built to add a dependency, then maybe you should be using AS :/ Jul 15 13:59:17 Mavrik: i know its just that i used to use gradle , now cocos framework generates everything with Ant support so its a little headace for me Jul 15 13:59:31 Anyone here using MVP? I'm very close to ripping out the "M" and making it into a library. Anyone have thoughts on that? Jul 15 13:59:41 Leeds: problem is i'm using cocos2d-x framework and it generated ANT files for me :\ Jul 15 14:00:14 boodllebat: time to get onto your framework to get with the times Jul 15 14:00:37 https://adriandawid.wordpress.com/2014/08/18/tutorial-how-to-use-google-play-services-with-cocos2d-x-for-android/ Jul 15 14:00:55 pretty simple stuff Jul 15 14:06:22 still cant fix it :| Jul 15 14:09:26 eghdk: mvp as in model-view-* ? Jul 15 14:10:17 kbs: Correct. model view presenter Jul 15 14:12:14 eghdk: right. fwiw, my experience with attempting to use such patterns for android, is that this pattern incorporate (at a fundamental level) the notion that nearly everything outside the V/P are done off thread, and ideally decoupled at a more basic level Jul 15 14:12:25 s/incorporate/fails to incorporate Jul 15 14:13:44 I'm trying to set up an emulator on linux-arch and when I launch "android-sdk/tools/monitor" and click "android virtual device manager" nothing happens, no output in the terminal either. Am I missing something here? Jul 15 14:14:14 so mostly what I've found productive (for me on android) is to approach it is simply publish/subscribe events on an event bus Jul 15 14:15:29 this allows for a more natural separation for android, as well as useful things like being able to have multiple activity/fragments uniformly listen for model event changes, regardless of who publishes them. Jul 15 14:17:15 so tldr; for me at least, event-bus style patterns would make me productive Jul 15 14:21:50 What's the default animation used for Activity -> Activity transitions Jul 15 14:21:51 ? Jul 15 14:30:51 depends on the rom and device i believe Jul 15 14:31:00 and os version Jul 15 14:32:52 if I give my tokens, can someone help me with my activity, I'm on the verge of just giving up android all together. Jul 15 14:33:24 I read the documentation. I believe status is what casuing the thing to give nullpoint Jul 15 14:33:40 DarkChaoz: everyone hits that point when they're starting out Jul 15 14:33:45 DarkChaoz: i've probably hit it 100 times Jul 15 14:34:27 My Android sdk manager says google_play_services are installed but when i made a check on /sdk/extras/google/google_play_services/ there is no directory such as libproject only two directories sample and docs Jul 15 14:35:17 any hints guys ? Jul 15 14:36:12 eemgr thing is.. I made a simple app like months ago, after how tiresome it was just learning/copying from tuts its android is hard as hell Jul 15 14:36:24 so after that I ditched doing any sort of improvements whatsoever Jul 15 14:36:39 and my extras has only one folder google_play_services Jul 15 14:36:40 now, Im at the point that i need to do a revamp. Jul 15 14:39:30 raoul11: can you take a look Jul 15 14:42:22 Mavrik: raoul11: is this true http://stackoverflow.com/a/38315624 Jul 15 14:42:32 Yes. Jul 15 14:42:48 You need a build system that can include AARs since awhile now Jul 15 14:43:49 Mavrik: can ant work with AARs ? Jul 15 14:44:06 Haven't used it since 2005 so no idea. Jul 15 14:44:07 On the Android SDK Manager, what is the option I need to select, to get Nexus images? Jul 15 14:44:48 Kind of hard to test apps on vanilla build, if I don't have it. XD Jul 15 14:46:43 ARM EABI v7a? Jul 15 14:47:10 All the emulator images run stock android Jul 15 14:47:20 more stock than a nexus Jul 15 14:47:33 But use haxm and the intel x86 images Jul 15 14:47:34 Hmm, don't I need to test both x86 and ARM? Jul 15 14:47:48 Well, I can test ARM on my ARM devices... Jul 15 14:47:53 Mavrik: so any clue where i can start from ? Jul 15 14:48:08 That was my plan. Downloaded the x86 images to try them. Jul 15 14:48:11 Anyone know why I can depend A that depends on B. But in my Application, I can't use com.package.B? Says not found. Even though it's techinically in my dep tree? Jul 15 14:49:02 alphamule, I suggest using x86 for performance reasons Jul 15 14:49:15 download "Google API..." images if you use play services or similar Jul 15 14:49:18 Well, obviously. XD Jul 15 14:49:27 OH cool Jul 15 14:49:35 Was wondering how you tested those. Jul 15 14:50:27 Hmm, it won't resume downloads. Dang Jul 15 14:50:53 Well, it got through the rest of them - trying again. Jul 15 14:53:02 Mavrik: i was refferering to offical google docs and looks like they clearly mentioned that if you want to integreate Ads within cocos2d-x use Anysdk , which is not for linux Jul 15 15:05:32 eghdk, because A doesn't depend on B like you think Jul 15 15:06:10 Good morning all, so I was tasked with creating an android app that has bluetooth gps and other things all in it, I have created the application but I keep finding the bluetooth keeps crashing (now I was given cheap hardware) I have now been tasked with verifing that the reason for the lockup is not my code but the cheap hardware is there an easy way I can stress test the hardware to verify that its not the code? I have it also running on a couple Jul 15 15:06:10 of good samsung devices and it slow but doesnt crash Jul 15 15:06:15 thoughts/ Jul 15 15:07:11 Find known stable BT code? Jul 15 15:07:48 but its BT and GPS together my BT Code on its own was fine so was the GPS Code so was the Timer code but all together is where my issue is Jul 15 15:07:49 See if you can make other BT software crash. Jul 15 15:08:02 Oh Jul 15 15:09:18 Yeah I am just wondering if I am taxing the system with the 4 different things constantly running (thankfully it does have to be plugged in to be used otherwise it would only last for about 4hrs of constant usage as the screen has to stay on as well) Jul 15 15:10:00 alphamule, but I do like the idea of testing with another application Jul 15 15:10:46 if i keep getting a response code of -1 when attempting to make an httpurlconnection is this a problem with my url or could it be really anything? Jul 15 15:11:04 Try using a navigation app while another one like ES3 or Bluetooth filesharing are transferring a large file. Jul 15 15:11:07 so thankyou :) unfortunatly my boss found alibaba lol Jul 15 15:11:11 (Or a bunch of files) Jul 15 15:11:18 Alibaba... Jul 15 15:11:47 yeah www.alibaba.com <-- cheap hardware real cheap cost Jul 15 15:11:56 This is known as trying to fix two problems at once. Jul 15 15:11:59 basically he got a tablet for $38us Jul 15 15:12:00 Sanity check time Jul 15 15:12:09 lol :) Jul 15 15:12:16 Which is fine, but not if you're testing both the software and hardware at once. Jul 15 15:12:20 So of course now I am questining the hardware Jul 15 15:12:25 right Jul 15 15:12:30 No kidding, right? :P Jul 15 15:12:48 I don't get it. You can get a decent phone for about $40. Jul 15 15:12:53 yeah and I have until 3pm to tell him if its my code or hardware Jul 15 15:13:21 If it was me, and I had a known good device, I'd show it NOT breaking on that device. Jul 15 15:13:23 maybe state side but not up here in canada lol cheapest is about 100+ Jul 15 15:13:36 thats what I did Jul 15 15:13:51 I mean, it could be the type of bug that breaks it on say, 20% of devices (even good ones), but I doubt it. Jul 15 15:14:00 Is there any recommendations on what animations to use to stick to the material guidelines? Jul 15 15:14:03 No Walmart phones then XD Jul 15 15:14:10 For Fragment -> Fragment transitions Jul 15 15:14:19 Because they have them for half that Jul 15 15:14:57 :) Jul 15 15:15:27 Lesson learned - next time, your boss will hand you a box full of random barely working but stable phones to test it on. Jul 15 15:15:52 You don't actually need a working screen for many phones, hehe. Jul 15 15:16:32 true Jul 15 15:17:16 partly my fault as I think I introduced him to the alibaba site Jul 15 15:17:37 yo android bluetooth sucks Jul 15 15:18:12 never seen actual crashes but it is not unusual for the api to become unresponsive with unhelpful error codes Jul 15 15:18:53 with the solution being reboot phone/clear bluetooth system settings/restart bluetooth Jul 15 15:20:03 yeah I could tell it was the bluetooth as it would crash to the desktop and the bluetooth icon turns off in the quick connect and the log also indicated it Jul 15 15:23:19 There's so much code within the android BLE API Jul 15 15:23:29 Frustrating to go through Jul 15 15:34:00 Can someone double check that I'm serializing this and sending it to the server correctly? https://gist.github.com/Michels10/cb420d5d1a74ad48ce93a988ed33b5d7 Jul 15 15:34:18 I really want to convert my hashmap data to a byte array and send it off Jul 15 15:47:00 nevermind, fixed :) Jul 15 16:06:10 I've created a custom view that I've extended from a built-in (let's call it CustomView) but when I try to get a reference in code I get: cannot cast View to CustomView. What am I doing wrong? Jul 15 16:08:03 You're not using CustomView in your layout Jul 15 16:08:46 I'm getting the error at compile time Jul 15 16:09:45 Maybe show some code Jul 15 16:11:04 what are advantages to setting up a ListView like this example http://onegrandcircle.com/~justin/ListViewActivity.java as opposed to this simpler version i made http://onegrandcircle.com/~justin/ListViewActivity2.java ? Jul 15 16:11:39 So I have the class in CustomView.java and it extends TextView and in my layout I have Jul 15 16:11:53 Am I missing something? Jul 15 16:12:10 Nope, that works Jul 15 16:12:57 but when I do (CustomView) findViewById(R.id.test) I get the cast error Jul 15 16:13:18 inconvertible types Jul 15 16:13:52 is there no difference just style? or is override the adaptor getView more efficient? Jul 15 16:13:53 oh nvm, I see why Jul 15 16:24:11 pfn: A doesn't depend on B like I think? What's that mean? Jul 15 16:37:43 hey hi i just found a old google_play_services jar from google's version control , i have pasted it in my libs folder but i have to include it in ant deps right , cause my android project is using ant , if yes how do i do it Thank you very much Jul 15 16:47:57 you don't use ant Jul 15 17:01:01 hm ok. got pretty far with ListViewActivity and ListViewFragment. gonna go back to ios dev for awhile Jul 15 17:03:04 still cant figure out whats causing null Jul 15 17:05:16 a foundation in Java is very helpful when working with android Jul 15 17:06:28 yeah, but im following off tutorials, which should work exactly as it is, but when it comes to compiling it gives me a nullpoint Jul 15 17:06:42 even been trying to find similar questions with the same problem Jul 15 17:06:44 no luck Jul 15 17:09:53 that's because you are following tutorials blindly without making an effort to understand Jul 15 17:10:06 just typing out magical incantations Jul 15 17:13:26 when tutorials don't work is frustrating for the beginner because they don't know if they made a mistake, or if its a fault in the tutorial itself Jul 15 17:14:01 and the tutorial is training wheels, you type some, see what happens, and then learn both before, while , and after Jul 15 17:14:07 usually, i check the comments of the tutorial Jul 15 17:14:17 when things break unexpectedly it disrupts that process Jul 15 17:14:21 i managed to build a simple app using tutorials, it took alot of trial and error Jul 15 17:14:38 though, it took months to get it to work, the app was ok Jul 15 17:15:07 now, im trying to build upon the app by including fragments and tabs for twitter activity Jul 15 17:15:31 DarkChaoz the codepath tuts are very good Jul 15 17:15:41 more guides tho Jul 15 17:16:19 DarkChaoz https://guides.codepath.com/android/google-play-style-tabs-using-tablayout Jul 15 17:17:13 I've come across that before, but used another tut which is very similar to it Jul 15 17:18:06 what im stuck on right now is the twitter fragment stuff Jul 15 17:18:25 I've ditched my existing one which works as a listactivity and trying to adopt twitter4j Jul 15 17:18:43 ok, i never used twitter or twitter4j Jul 15 17:19:12 DarkChaoz it shouldn't be too hard, but as perspective the official twitter app has a few dozen engineers ;) Jul 15 17:19:40 welp after 6 hrs I think i found the problem.. Jul 15 17:19:43 I/Failed: Unable to resolve host "api.twitter.com": No address associated with hostname Jul 15 17:19:59 lol Jul 15 17:20:18 I suppose another 6 hrs to fix that problem :/ Jul 15 17:21:30 no wonder.. api.twitter.com doesnt even exist Jul 15 17:21:32 -_- Jul 15 17:21:48 * DarkChaoz facepalms Jul 15 17:23:14 DarkChaoz twitter janks developers around a bit ;) Jul 15 17:24:09 who lol? Jul 15 17:26:37 DarkChaoz all devs :) Jul 15 17:26:53 they seem to make unpopular unilateral decisions Jul 15 17:27:22 Moving away from api.twitter.com doesn't seem to be one of those decisions https://dev.twitter.com/rest/reference/get/statuses/user_timeline Jul 15 17:27:43 DarkChaoz you're in luck so far :D Jul 15 17:28:00 Did you forget to add the internet permission? Jul 15 17:28:12 nah, its definitely added Jul 15 17:28:22 going to restart AS and relaunch emulator Jul 15 17:33:53 SimonVT would you expect gravity and children layout_gravity to work for PercentFrameLayout ? Jul 15 17:34:16 or is there something special about this view, because nothing it seems to do is sane wrt gravity Jul 15 17:34:40 Never used it Jul 15 17:35:11 ok thx Jul 15 17:35:33 But sure, I'd expect gravity to work for all viewgroups Jul 15 17:43:11 would anyone be able to explain why my HttpsURLConnection keeps returning a -1 responsecode? the URL that gets built returns the correct page with some JSON data when i paste it into chrome but i cant open an input stream http://pastebin.com/RDF8dr4B Jul 15 17:45:38 I'd expect that to throw a NetworkOnMainThreadException Jul 15 17:47:47 so ive gotta put it in asynctask then? Jul 15 17:48:08 Yes, all networking must be on a thread Jul 15 17:48:19 alrighty, ill try that out Jul 15 17:48:33 same problem Jul 15 17:48:37 still get that api error Jul 15 17:49:35 DarkChaoz: Maybe go to twitter’s developer site and see how they say to do it Jul 15 17:50:08 will do Jul 15 17:50:22 I've ditched that code you saw yesterday Jul 15 17:50:38 going to incorperate twitter4j Jul 15 17:52:38 never heard of it. Jul 15 17:52:49 remember, you might need to sign up with Twitter as a developer Jul 15 17:53:29 I already have an app via dev.twitter.com to access the oauth stuff Jul 15 17:55:37 alphamule, Thankfully I convinced him it was hardware and now he is going with hopefully better hardware Blu Selfie 2 instead of these unbranded tablets lol Jul 15 18:34:17 Sup Jul 15 18:35:28 So I was looking to send a loopback SMS and was told "am broadcast" would work. It appears to work as well. I was curious about how to add the "pdus" extras to the command line syntax as in the java reversing the extras is an object array Jul 15 18:41:31 I have an existing project thats targetting sdk 23, and a unity project thats targetting sdk 21. I export the unity project, then add it in as a module in android studio to the existing project. From within the app at a certain point when a button is pressed it launches the unity activity. The issue I'm having is when unity activity launches (mid-way through the app) and you haven't used it before Jul 15 18:41:31 you get prompted for a few permissions. This is new in android m. This is a jarring user experience, it would be better if they were presented with the app was installed or when it was first opened. Anyway I can get around this? Jul 15 18:41:37 leave Jul 15 18:42:11 Hello, i have a small question. Can anybody show me a small tutuorial how i can debug my Android Programm? I'm a absolut newbe and i want to see if my login app sends the correct data to my server. I hope my question is not to stupid. Thank you. Jul 15 18:43:07 andr3wmac: you can request permissions in whatever your first oncreate method is Jul 15 18:43:10 andr3wmac: so your main project launches first? Jul 15 18:43:23 if so, then ask for those permissions when your main project launches Jul 15 18:43:27 ^ Jul 15 18:43:39 Especially i want to know how i can see "in" my variable when i insert in my loginname. I'm using Android Studio 2.1 Jul 15 18:43:47 yes. main project launches, no permission requests, even though it downloads files, etc. then when the unity activity launches it requests 4 permissions. even a blank project seems to request 4 permissions. Jul 15 18:43:58 Although, it is much, much better to ask for the permissions right before you use them, than at app launch Jul 15 18:44:27 that way it’s more clear to the user what the permissions are used for Jul 15 18:44:28 its just weird in the app becuase unity is used as a video player. so I click to play a video and it pops up asking to access the phone and contact book Jul 15 18:44:37 neither of which are used in unity Jul 15 18:44:54 are they used in your app? Jul 15 18:45:03 so I imagine the users will also be like "why do you need access to that to play a video? Jul 15 18:45:07 and why are you using unity as a video player? that just sounds like a weird idea Jul 15 18:45:15 its a VR thing Jul 15 18:45:28 360 video player with a slew of features Jul 15 18:45:55 I guess I’d check the Unity channel and forums to see why those permissions are needed, and see if you can get rid of them Jul 15 18:47:07 the permissoin request stuff seems like it needs a specified activity. So does that mean if activity A access files it needs a separate granted permission from activity B that also accesses files? Jul 15 18:47:24 no Jul 15 18:47:29 it’s app wide Jul 15 18:47:47 but, it won’t make the request until you try to use it, or specifically ask to make the request Jul 15 18:48:25 still, I’d ask in the Unity things if there’s a way to get rid of those permissions Jul 15 18:49:50 why is it that when I launch the unity app as a standalone project theres no prompt for permissions? its like when its standalone the phone doesn't care but when its launched mid-way through the app it cares Jul 15 18:49:57 oh nevermind Jul 15 18:50:01 different target sdk Jul 15 18:50:30 ok so i think i ruined the emulator now lol Jul 15 18:50:32 s73v3r surprised to see Apple let BitTorrent Now in their store Jul 15 18:52:20 mulator: ERROR: This AVD's configuration is missing a kernel file!! Jul 15 18:52:20 emulator: ERROR: ANDROID_SDK_ROOT is undefined -_- Jul 15 18:53:29 emulator was working fine before that came up Jul 15 18:53:36 too much open / closing? Jul 15 18:56:24 has anyone experience that AS emulator error before? Jul 15 18:56:42 I mean it was working, when i slightly edited the OS the whole thing broke Jul 15 19:02:16 i've been avoiding the official emulators in favor for Genymotion Jul 15 19:02:22 you changed something, and it broke Jul 15 19:02:29 your best bet is to delete it and recreate it Jul 15 19:02:41 how long does it usually takes to wait before it actually is into the google play store? Jul 15 19:02:43 i find Genymotion vms to be more reliable Jul 15 19:03:06 ?? Jul 15 19:03:35 Tims_Tech: after you submit, usually in a day or two Jul 15 19:03:43 k Jul 15 19:03:58 thanks for the info Jul 15 19:05:16 alexfu, but why does it takes that long? Do they test your app or something? Jul 15 19:05:39 propigation to the various serverts Jul 15 19:05:40 servers Jul 15 19:05:46 doent google check your app first before approving it? Jul 15 19:05:54 Tims_Tech: i dont know why. thats just the process. im sure they have some sort of vetting process Jul 15 19:06:02 k Jul 15 19:06:41 and a update will be instant or do you need to wait then? Jul 15 19:07:08 Tims_Tech: same thing Jul 15 19:07:17 hmm Jul 15 19:07:47 I bought the google play console today :-) Jul 15 19:07:56 so thanks for giving me the information Jul 15 19:13:18 hi. http://dpaste.com/2AGN0G5 here is XML and here http://dpaste.com/33KSE29 is MyFragment. I want to make my ListFragment with multiple choices, but i cant see checkboxes. what im missing here? Jul 15 19:16:48 even if i set my list's id @android:id/list still cant see checkboxes Jul 15 19:40:04 hi there; I have some stupid issue: when I call ndk-build, it builds all architectures, and I really can't find a way to build a specific one; any help ? Jul 15 19:41:19 ok got it .- Jul 15 19:41:22 :) Jul 15 19:42:56 glad to be helpful duck Jul 15 19:43:09 ^^ Jul 15 20:19:32 Hello, is there a simple login tutorial to learn howto to create a simple login app via facebook or mysql db? Jul 15 20:20:22 yes Jul 15 20:21:56 https://github.com/firebase/FirebaseUI-Android/blob/master/auth/README.md Jul 15 20:22:02 https://github.com/firebase/firebase-login-demo-android Jul 15 20:22:18 oopsy, ignore that last link Jul 15 20:23:09 Ahhhhhhhhhhhhh Thank you Napalm :-) i think that is what i'm searching for. Thank you a lot :-) Jul 15 20:23:26 dev-david: you want people to be able to login to your app using Facebook only? Jul 15 20:24:05 because those docs are on the offical site https://developers.facebook.com/docs/facebook-login Jul 15 20:24:22 but if you want a nice Login UI all made for you. and just works.. then firebase is the way Jul 15 20:26:45 i dont like to login into other apps via fb or google, but because i'm a absolute newbie i only want to create i small and easy and safe login method. i dont want to create a stupid login via mysql and no encryption, so i think a framework or something like this will be the best betwen easy and security. Jul 15 20:27:15 i hope you can understand me ;-) Jul 15 20:27:57 i will try this out for the next days :-) Thank you again for the hint :-) Jul 15 20:30:56 dev-david: watch this first > https://www.youtube.com/watch?v=0ucjYG_JrEE and that will get you started with it Jul 15 20:36:08 hey Napalm Jul 15 20:36:15 hey g00sey Jul 15 20:36:22 Thank You :-) i will do this now :-) Glad that you help me with my first steps :-) Jul 15 20:37:57 mmm Jul 15 20:38:19 mmmmmm foood Jul 15 20:38:21 :P Jul 15 20:40:31 Napalm using any cool new libs / tools ? Jul 15 21:17:31 hey im having and issue with ADB, i have two devices that wont connect to adb at all that were about 30 minutes ago. i just finished building my daily base image and went to flash and it cant find any devices and it keeps saying adb server out of date killing and then not listing the devices at all when i run adb devices, also wont detect them in fastboot either Jul 15 21:34:59 Napalm: Thank you a lot for this video, now i'm really horny to coding (can i say this? i think it is not good english ;-) ) Jul 15 21:35:09 jamie_1: what OS you using? Jul 15 21:35:22 dev-david: perfectomundo Jul 15 21:35:35 dev-david: go get a prograsm Jul 15 21:35:39 :) Jul 15 21:35:52 Napalm: ubuntu gnome 3.2 Jul 15 21:36:11 gracias :-) see you in some hours ;-) Jul 15 21:36:12 dev-david: if you dont know.. https://www.urbandictionary.com/define.php?term=prograsm Jul 15 21:36:33 jamie_1: open a terminal and type "whereis adb" Jul 15 21:36:42 no speechmarks Jul 15 21:37:15 jamie_1: you'll probably find you have a version of adb thats supplied by something else on your system and not the one that comes as part of the SDK your android studio version wants to use Jul 15 21:37:16 Napalm: hehe no till now i dont know it :-) but i feel it in some hours/days/weeks :-) :-) Jul 15 21:40:41 how are the live objects in live wallpapers made? Jul 15 21:41:15 are they usually obj files from e.g. blender/cinema4d etc.? Jul 15 21:43:14 Napalm: im not using android studio im using strait adb to flash Jul 15 21:43:45 same thing though Jul 15 21:43:51 where is adb your using Jul 15 21:45:11 adb: /usr/bin/adb /usr/share/man/man1/adb.1.gz Jul 15 21:45:11 Napalm^ Jul 15 21:45:26 right, thats installed from a package then Jul 15 21:45:41 you want to install the one from the sdk Jul 15 21:46:00 hi Jul 15 21:46:05 i am trying to get a good way to render "key-value rows" something like: Value: 500€, Blub: blah Jul 15 21:46:08 i think to create horizontal LinearLayout textview textview /Linearlayout is much to overkill isn't there something better, what should i use? Jul 15 21:46:28 Napalm: i have been using this one for over a year... Jul 15 21:46:46 jamie_1: official tools https://dl.google.com/android/android-sdk_r24.4.1-linux.tgz Jul 15 21:46:50 just the tools Jul 15 21:46:53 not android studio Jul 15 21:47:02 jamie_1: exactly.. its out of date. Jul 15 21:47:35 you do know how much of a pain in the butt it is to install a tar.gz is right? and they update the package Jul 15 21:48:37 Napalm i wonder why they still have links to 24.x ... Jul 15 21:48:43 jamie_1: are you serious? Jul 15 21:48:53 you just extract it Jul 15 21:49:01 you cant expect him to find a build script! Jul 15 21:49:15 and then add the platform-tools directory to your PATH Jul 15 21:49:17 walla.. done Jul 15 21:49:18 :P Jul 15 21:50:21 Napalm: gonna be blunt with you, ive never had to do that, ive always used the packeged version Jul 15 21:50:54 jamie_1: and I gotta be blunt with you.. your never been using the latest tools Jul 15 21:51:24 Napalm: no i havent the company has just had me using the packeged version due to it worked Jul 15 21:51:43 yes, because adb hasnt really changed that much until recently Jul 15 21:51:48 now all of a sudden i can flash my build to run my smoke tests Jul 15 21:51:49 but its all other bits that go along with it Jul 15 22:00:04 o/ Jul 15 22:00:39 how does one compile source one knows works on windows/*nix to run on android device? Jul 15 22:00:49 it's texlive, so nicely maintained source Jul 15 22:02:13 my launching point is, i think, http://tex.stackexchange.com/questions/87520/how-to-install-tex-on-android-phones#comment271948_121655 Jul 15 22:03:04 placing texmf.cnf in /sdcard/texlive Jul 15 22:03:33 if /sdcard/texlive contains binaries compiled from source to run on android Jul 15 22:04:10 and i guess there's issues of a manifest and PIE variables for > lollipop 5.0 ? Jul 15 22:04:15 but the hurdle, the threshold Jul 15 22:04:27 it's compiling from source to run on android? Jul 15 22:04:46 which kind of brings me/us back to .. how does one go about doing this Jul 15 22:11:04 no worries, i know helping someone with compile issues can be a drawn out thing so .. Jul 15 22:11:19 i'll just kind of idle here for a bit Jul 15 22:12:15 vreg: what have you tried? Jul 15 22:14:10 i'm actually very new to android and also to compiling (for any platform) Jul 15 22:14:26 * vreg watches potential help run away screaming Jul 15 22:15:24 i emailed clerk ma but i think he's abanadoned his gmail acct so :( Jul 15 22:16:06 i have poked and played around with slackware enough to have a healthy respect for / fear of linux Jul 15 22:16:23 so i won't say i'm 'proficient' because i'm not Jul 15 22:16:36 but i believe i can be talked through the compile Jul 15 22:16:50 (compiling to run on an android device) Jul 15 22:21:17 It's unlikely to be just a "compile it" sort of thing Jul 15 22:21:29 Unless you can find the source that has already been ported to Android Jul 15 22:23:27 could you enumerate some of the complications Jul 15 22:33:21 You'd have to port it yourself Jul 15 22:46:26 hmm, $9 free at McDonald's for using hands free, I say worth Jul 15 23:06:48 does this xml line have a purpose in android? some of my files have it and some don't. so i guess it must be optional. Jul 15 23:07:51 its suppose to be there to indicate a valid xml file Jul 15 23:09:56 some files don't have it and program runs.. Jul 15 23:10:59 but aapt doesnt require it instead it implies its use Jul 15 23:12:23 what is aapt for?? Jul 15 23:13:14 for xml validity? Jul 15 23:15:54 Android Asset Packaging Tool Jul 15 23:16:37 its what compiles all your resources into your apk Jul 15 23:20:17 it's an xml headee Jul 15 23:20:20 header Jul 15 23:20:22 that's all Jul 15 23:41:27 pfn: so just optional? Jul 15 23:43:43 depends on parser, but for the most part, all parsers consider it optional Jul 15 23:49:07 hi, I have a question, if I have an if on the onCreate method that includes an intent to another activity and following that I have another if doing another intent elsewhere, why is the 2nd intent executing and not the 1st one? Jul 15 23:49:19 I thought startActivity paused the flow of the program Jul 15 23:49:56 https://codeshare.io/Lrpdz Jul 15 23:50:12 if(!user_saw_presentation) { // Start the onboarding Activity Intent intro = new Intent(this, intro.class); startActivity(intro); }else if(!preferences.getBoolean("logged_in",false)){ //Redirect to main log in screen sendUserToLogin(); } Jul 15 23:50:19 that part is giving me problems Jul 15 23:50:46 if the user hasn't seen the slides at the beggining of the app and it's not logged in then it goes to login instead to the intro Jul 16 00:03:39 does anyone know how to make a chat like in tinder for example? any ideas? Jul 16 00:04:16 it does not pause Jul 16 00:04:41 j4f-shredder: Any specific question? Chat apps can be super trivial or super complicated Jul 16 00:05:13 I just want people posting things, videos, pictures or comments Jul 16 00:05:31 what things should I need or read? Jul 16 00:05:54 How to set up a simple web server with JSON endpoints, how to call these endpoints from an Android app Jul 16 00:06:05 Some database Jul 16 00:06:17 Probably read up on websockets Jul 16 00:07:54 I already have that Jul 16 00:07:57 in node.js Jul 16 00:08:00 express Jul 16 00:08:16 and I already have an api ready to go Jul 16 00:08:37 and I know how to consume jsons from the android app Jul 16 00:08:43 I just don't know how to make a chat Jul 16 00:09:39 Accept a test string, upload it to the server, the server decides who should receive it and send it down Jul 16 00:14:15 a test string? Jul 16 00:14:31 it's just Jul 16 00:14:38 a chat between a lot of people Jul 16 00:14:40 not just two Jul 16 00:16:08 So you need the concept of a topic, or a channel. With people in it Jul 16 01:02:37 Hey Jul 16 01:02:46 suddenly my android studio stopped working Jul 16 01:02:59 a yellow sign Jul 16 01:03:50 saying "Decompiled .class file, bytecode version: 52.0(java 8)" and another one Sources for 'Android API 24 Plataform not found" Jul 16 01:03:54 what should I do? Jul 16 01:04:27 thats correct Jul 16 01:04:52 platform sources are not available for v24 Jul 16 01:05:19 but how do I solve it? Jul 16 01:05:53 dont use platform 21 Jul 16 01:05:57 i mean 24 Jul 16 01:07:07 What's up Jul 16 01:07:17 ok I am polling a URL via retrofit in a service, when I take the device off charge the polling seems to slow down. Any way to see why this is happening? Jul 16 01:07:38 how do I change plataform? Jul 16 01:07:43 on android studio? Jul 16 01:08:48 j4f-shredder: you need to point and click Jul 16 01:09:47 what? Jul 16 01:09:56 please, I need to solve this, I'm working Jul 16 01:10:03 Lol Jul 16 01:10:06 how do I go back to API 23 Jul 16 01:11:45 ? Jul 16 01:12:08 j4f-shredder: change your compileSdkVersion to 23 Jul 16 01:12:20 in your build.gradle for your app module Jul 16 01:12:38 and make sure the device/emulator you are running your APK is not 24 Jul 16 01:13:14 that is actually fine, but if your debugging you'll see the same error as its looking for the platform sources your running on which would be 24 Jul 16 01:15:19 thank you sooo much Jul 16 01:15:23 it's fixed now xD Jul 16 01:26:09 anyone use this ? https://github.com/robinhood/spark Jul 16 01:26:22 does it automatically do some smoothing (bezier, quadratic, etc) Jul 16 01:36:13 that's interesting. I've always associated sparklines with something more... embeddable textually? (ideally, as simply a font maybe) Jul 16 01:45:47 kbs yeah it looks pretty lightweight Jul 16 01:46:22 i'm already using mpandroidchart, not sure if its worth the extra api surface area Jul 16 01:48:54 ah, I guess just a simple charting library (sorry - I think I interpreted the sparklines bit a bit too literally) **** ENDING LOGGING AT Sat Jul 16 02:59:58 2016