**** BEGIN LOGGING AT Fri Dec 09 03:00:02 2016 Dec 09 03:11:01 ds84182: +1 to https://github.com/diegocarloslima/ByakuGallery <-- works as expected :-) Dec 09 03:11:54 Nice, glad you found something Dec 09 03:14:25 tomorrow implement, tonight sleep Dec 09 03:14:36 thanks for your helps guys Dec 09 03:14:59 "The image is split in small tiles and only the visible portion is allocated on memory" Dec 09 03:15:03 What I said Dec 09 03:15:06 good night Dec 09 03:15:08 yes, you are right Dec 09 03:15:16 and good luck tomorrow :) Dec 09 03:15:45 and have a lot of touch listeners, single, double tap, fling, etc Dec 09 03:16:11 see ya := Dec 09 03:16:14 :-) Dec 09 03:19:55 When I check for updates in Android Studio it opens a webpage to download 2.2.3. I used to be able to update right from within the IDE. Is this no longer an option? Dec 09 03:26:32 i think minor versions can be done within the IDE, major ones require a new binary download Dec 09 03:28:02 hmm... The page says "The release is available in all channels, so you can check for updates via Help > Check for Update... (on OSX, look in the Android Studio menu). This will download and install a patch rather than download a full IDE image." Dec 09 08:14:05 I can use org.joda.time.DateTime just fine Dec 09 08:14:19 but org.joda.time.Duration does not seem to exist Dec 09 08:15:18 I just cannot fin it inside the package. the only Duration-Recommendation i get from Android Studio is from javax.xml Dec 09 08:15:23 I use joda time 2.9.x Dec 09 08:18:01 Hey guys how I can make the image to occupy full width and the height to be the same with width. http://pastebin.com/pnFjxyF3 Dec 09 08:25:09 Almis90, you want the image to fill the border? Dec 09 08:25:24 Almis90, thus scaling until full but without distorition? Dec 09 08:26:34 Almis90, idk about ImageViewAsync but i huess its just a derivant of ImageView Dec 09 08:26:42 Yes all my images are squares Dec 09 08:26:50 yes it is Dec 09 08:26:55 Almis90, then you could use android:scaleType="center_crop" Dec 09 08:27:04 list of all scaleTypes https://developer.android.com/reference/android/widget/ImageView.ScaleType.html Dec 09 08:27:37 center crop Dec 09 08:27:37 Scale the image uniformly (maintain the image's aspect ratio) so that both dimensions (width and height) of the image will be equal to or larger than the corresponding dimension of the view (minus padding). Dec 09 08:27:43 I dont want to crop I want to stretch X axis and the Y should be the same with X Dec 09 08:28:20 Almis90, then perhaps you might want to use FIT_CENTER Dec 09 08:28:31 Almis90, the imageView will be filled but your aspect ratio will be gone Dec 09 08:29:35 Almis90, but why do you want to destroy the aspect ratio? When you know the area won't be a square why do you have a square image? Dec 09 08:31:51 iLembus thats a good question but this is what client wants.. will try now Dec 09 08:42:58 Almis90, is it like a primitive shape? Dec 09 08:43:09 Almis90, image of circle, scaled up -> elipse Dec 09 08:43:50 Almis90, because then you could just use android a) its cheaper to initialize b) scales very well c) you dont need to store the image (save space) Dec 09 08:44:13 Almis90, with shape you can also have fancy gradients, rings, shadows, etc.... Dec 09 08:45:04 iLembus no it's an image I load from url Dec 09 08:45:18 Almis90, so what are you displaying then? Dec 09 08:45:27 Almis90, or is it dynamic? like an user image? Dec 09 08:45:32 Almis90, ok Dec 09 08:45:40 Yes it's dynamic Dec 09 08:46:19 I couldn't test yet we have some conflicts after git pull :) Will let you know if it worked Dec 09 09:06:48 https://developer.android.com/training/location/geofencing.html In this sample there's a method called "getGeofenecTransitionDetails(...)" where is that method defined? I would like to use it. Dec 09 09:07:31 also, geofenceEvent.getGefoenceTransition() returns -1 for me, that value isn't defined however. hasError() returns false Dec 09 09:10:01 Also I have a toast started from within a service (with this) that does not vanish Dec 09 09:10:41 duration is set to short and it doesn't seem to retrigger. Dec 09 09:18:03 hi Dec 09 09:18:57 I made an app compatible with android 4 to 6, when it detects it's on marshmallow it uses android 6 classes. on android 4 it crashes Dec 09 09:19:13 i guess trying a new class() on an android 6 class crashes of course Dec 09 09:19:30 but is just declaring a private final class where class is android 6 class make it crash ? Dec 09 09:22:15 if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.) { do android 6 stuff } else { do android 4 safe stuff } Dec 09 09:24:03 iLembus I ended up using custom SquareImageView found here http://stackoverflow.com/a/16506373/3546760 Dec 09 09:24:10 yes of course but if i declare final class (class android 6) just declare in my activity will it cause problems ? Dec 09 09:24:30 I do not understand what you're trying to say. Dec 09 09:24:50 maybe you could show me the code? Dec 09 09:24:57 private static MidiManager m_midiManager; Dec 09 09:25:04 MidiManager only exists in android M Dec 09 09:25:15 but if i dont use it, only declare it in android 4 what happens ? Dec 09 09:25:38 I don't know. Try it and see? Dec 09 09:25:44 i don't have any android 4 Dec 09 09:25:51 Try an emulator. Dec 09 09:25:51 otherwise i wouldn't ask Dec 09 09:25:54 too slow Dec 09 09:26:12 somebody here probably knows Dec 09 09:26:30 I suspect it will crash. Try to avoid unexpected behavior if you expect it could go wrong. Dec 09 09:26:57 ok so how can i do this ? i have a common code between android 4 and 6 Dec 09 09:27:31 two separate classes for each version would be the most obvious way. Dec 09 09:27:42 ok but somewhere you have to load the class ? Dec 09 09:27:57 or declare 2 activites depending on the android version ? Dec 09 09:28:13 if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.) { load android 6 class } else { load android 4 save class } Dec 09 09:28:23 yes but my class is Activity Dec 09 09:28:28 so i don't load it myself Dec 09 09:29:08 if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.) { startActivity(MyAndroid6Activity) } else { startActivity(MyAndroid4SaveActivity) } Dec 09 09:29:20 i don't call startActivity Dec 09 09:29:25 it's called by the os Dec 09 09:29:44 is it your main Activity? you can have an intro activity that does nothing but differentiate those two versions. Dec 09 09:29:47 yes Dec 09 09:30:30 ok, i'd prefer having an answer about declaring just a member pointer crashes or not android 4 Dec 09 09:30:54 You could always create a MidiVersionManager class that encapsulates a android 6 and a android 4 safe version and decides which to use at runtime. Dec 09 09:31:41 yes of course but i search for the simpler solution Dec 09 09:31:45 you could also just try it in the emulator. who cares if it's slow? in the worst case make a simple class that just tests this case. Dec 09 09:31:59 ok i'm gonna try Dec 09 09:32:05 both solutions are rather simple, you likely won't find a simpler one. Dec 09 09:32:09 is there a way to have the crash log of an app ? Dec 09 09:32:46 in android studio the crash reason is typically displayed under Run and Android Monitor at the bottom Dec 09 09:33:02 yes but suppose i don't debug, is there a crash log somewhere ? Dec 09 09:33:09 (i dont use android studio) Dec 09 09:33:14 unrelated to debug Dec 09 09:33:35 I assume eclipse has something analogous to that. Dec 09 09:33:46 dont use eclipse neither Dec 09 09:33:55 are you using an IDE at all? Dec 09 09:34:03 if i run an app on a device with nothing more attached, is there a crash log somewhere ? Dec 09 09:34:14 You could also use some crashlytics library, but that's a rather roundabout way. Dec 09 09:34:26 so no sys crash log ? Dec 09 09:34:33 not that I'm aware of Dec 09 09:34:37 ok thanks ;) Dec 09 09:34:55 I can't used imageview.getId() and send it to another activity with Intent and use it to get access to the imageview? Getting nullpointer Dec 09 09:35:02 but you could implement an (app) global crash catcher and write it to the log there. Dec 09 09:35:51 mentazoom, views aren't intended to be sent between activities like that. view ids are unique for the layout they're defined in Dec 09 09:36:19 Syzygy_ What's the best option? Sending them over bundle will eat up memory I think Dec 09 09:37:04 Or is it ok If I send one by one? user can only choose one picture at a time Dec 09 09:37:47 mentazoom, your best option is to put all the data you need in a bundle, and set it individially for the other view in the other activity. in case of an image you either pass the image identifier, or if it's an in memory image use a LRUCache Dec 09 09:39:05 Syzygy_ Like this? Dec 09 09:39:21 https://stackoverflow.com/questions/17878907/get-imageviews-image-and-send-it-to-an-activity-with-intent Dec 09 09:39:33 or what data do you mean? I could maybe tag all the pictures? Dec 09 09:39:40 AlGrenadine, http://stackoverflow.com/questions/601503/how-do-i-obtain-crash-data-from-my-android-application check out this top answer, save the exception to a log file that you can read later. Dec 09 09:40:08 mentazoom, where do you get your images from? are they saved on the device? Dec 09 09:40:24 Syzygy_ Yes they are, it's a deck of cards Dec 09 09:40:40 a card is 8kb Dec 09 09:41:09 you can only choose one card at a time Dec 09 09:41:19 in that case simply pass the resource identifier to the other activity in a bundle (R.drawable.something) and then load the image in the other activity. Dec 09 09:41:55 Syzygy_ getId() is resource identifier? Dec 09 09:42:17 what type do your cards have? drawable? Dec 09 09:42:41 yea, i at least put them in drawable folder :p Dec 09 09:42:56 i mean when you're using them in code Dec 09 09:43:13 sorry not sure what you mean Dec 09 09:43:40 imageviews ? Dec 09 09:44:02 do you do imageview.getDrawable() to get the image? is it a Drawable filetype? or a bitmap? Dec 09 09:44:41 I just put them in imageviews at the moment, haven't done anything else. I never understood difference between drawable and bitmap Dec 09 09:45:25 it's .png so bitmap? Dec 09 09:46:17 a bitmap is a specificthing, while a drawable might be anything from an xml resource to a bitmap Dec 09 09:47:10 doesn't make sense :p Dec 09 09:47:21 i tried to read about it before Dec 09 09:48:05 shouldn't .png be bitmap? Dec 09 09:48:26 yes, but it's kind of like how a cat is an animal but an animal is not necessarily a cat. Dec 09 09:48:39 ah :/ Dec 09 09:48:57 so it's nothing because I haven't used it as anything in my code yet? :) Dec 09 09:50:03 I assume it's a drawable. in any case, you'll have to somehow find the resource id which you can then pass with the bundle. I suggest checking the answer on this: http://stackoverflow.com/questions/4526585/get-the-id-of-a-drawable-in-imageview Dec 09 09:51:42 ad you can't pass the imageview. Think of the imageview as a wall and the picture as a poster. you can't send the wall. Dec 09 09:52:32 so my card isn't imageview? Dec 09 09:53:02 the imageview is there to display the card. like a poster on a wall. Dec 09 09:53:24 the id is for the imageview that's why I can't send it? Dec 09 09:54:10 that SO seems like a lot of code for simple job Dec 09 09:54:11 yes Dec 09 09:54:32 shouldn't be that bad, I suspect less than 10 lines. Dec 09 09:54:46 could you tell me one thing: assert(R.id.someImage == imageView.getId()); Dec 09 09:54:50 what does that line mean? Dec 09 09:59:12 thanks Syzygy_ Dec 09 09:59:43 i haven't used asserts in java. but they're used to make sure that things are the way you expect them. In that case R.id.someimage is the resource Id you defined in your layout for that view and imageview.getId() returns that id. if they're the same the app should continue, if it's not the same it will stop, at least if asserts work in android like they do in java. Dec 09 09:59:46 AlGrenadine, np Dec 09 10:01:42 i meant to say i haven't used asserts in android. Dec 09 10:02:02 ah thanks Syzygy_ , will try that solution later, gotta run and catch the train Dec 09 10:02:32 keep in mind that imageview.getId() is NOT what you want. Dec 09 10:02:49 what do I want then? Dec 09 10:02:55 you want the id of the drawable that is returned by imageView.getDrawable() Dec 09 10:03:28 so imageView.getDrawable().getId()? Dec 09 10:04:09 I don't think drawable has a getId() method. i gave you a link earlier that should tell you what to do with the drawable. Dec 09 10:05:54 i have to look at that code more carefully, didn't make sense at least now, will try later and hopefully you are here too then :p Dec 09 10:06:07 but thanks man, this will at least get me in right direction Dec 09 10:06:20 later gotta run Dec 09 10:08:56 everytime i open my project android studio complains about not finding iml files Dec 09 10:09:08 what are those? Dec 09 10:10:58 also "Gradle project sync in progress..." notification stays on the top of the editor even after it says "Gradle build finished" at the bottom Dec 09 10:11:12 wonder what's going on Dec 09 10:15:41 tried resyncing with gradle files and it still gives me the same error Dec 09 10:21:57 studio asks me if i would like to remove it Dec 09 10:21:59 should i? Dec 09 10:24:32 Does anyone here have a link to the latest precompiled binutils (or gdb) for Android? Dec 09 10:24:40 Or instructions/repo to build it Dec 09 10:25:19 JuliusN, iml files are some settings files for Android studio projects (e.g. should line numbers be displayed in the editor and stuff like that), never had an issue with those being missing. AS will often execute several tasks in parallel, maybe that's why your sync is still in progress even though it's finished. Dec 09 10:27:29 oh ok Dec 09 10:28:03 thank you Dec 09 10:28:44 deleting them solved the issue. Dec 09 10:51:37 hi Dec 09 11:01:46 Hello, i want to do an action, but only during the first launch after an update of the app. I thought to include a "token" file in assets. If i detect the token, i do the action, then I delete the token. But apparently i cant delete ressources from assets at runtime. Any idea how I could do that ? Dec 09 11:04:58 nvm Dec 09 11:20:41 Hi there! Did not really know where to turn to, so I ended up on good old IRC. Im in the need of some advices :| I have to create an android wear fall detection app, but anyhow I start with the sensors I bump into stone walls :/ Dec 09 11:21:29 basically my solutions fail on battery management mostly. Dec 09 11:21:39 1. too high sampling drains the battery Dec 09 11:22:14 2. device has now wake up sensor that would wake my app up on accelleration amplitude+time Dec 09 11:22:41 3. stand-by and dozing will stop my acquiring threads (ofc, when dozing it is acceptable) Dec 09 11:23:44 How should such a task be approached? Dec 09 11:25:18 Now I already have (sort of) reliable data collecting based on alarms, but that's slow (2.5 mins cycle), 1 sample then auto deregistration to save battery. Still it has great impact on battery time. Dec 09 11:25:57 Fall detection would need sampling with at least 50Hz. It'd be enough to do it on accelleration trigger, but did not find any solution for that. Dec 09 11:26:00 I'd be really greatful for any advices! Thank you, guys, in advance! Dec 09 11:38:24 My question for android studio 2.3.3 when i install the new layout sdk i get a fail installed but look like it is installed.Is anyone get this error? Dec 09 11:38:52 I'm using data binding and getting the following error http://dpaste.com/0DH99BG which I don't understand at all. Any idea whats happening? Dec 09 11:39:11 hi astroduck:) Dec 09 11:39:52 i hope someone can help me out:) Dec 09 11:41:06 I was hopeing i was not the only one have this prob. Dec 09 11:41:48 I don't like the SDK manager in studio, I use the old one Dec 09 11:46:50 ? Dec 09 11:52:00 Does anyone hae a copy of precompiled gdb? Dec 09 11:52:11 i've been trying to xcompile this for three hours with no luck Dec 09 11:52:53 I found some precompiled ones but they aren't built with PIE so they won't run on any recent versions of android Dec 09 11:55:20 what is the .idea/vcs.xml file and should i be afraid of tracking it? Dec 09 11:58:23 I don't know about vcs.xml but I know that .idea is generated by jetbrains ide, so it should't be anything that affects your program Dec 09 11:59:58 hi Dec 09 12:00:06 yet it seems that .idea content should be tracked, according to some answers that i found by googling Dec 09 12:00:15 how can i active Fingerprint in emulator , nexus 5 Dec 09 12:01:18 hmm if my dependencies are configured in gradle files, perhaps i should be able to gitignore .idea* Dec 09 12:01:42 i'm just afraid of messing things up Dec 09 12:07:29 hello, I am trying to do handheld measurement devices with embedded Linux (Yocto project and Open Embedded)... does anyone here have experience with both embedded Linux and embedded Android? Dec 09 12:07:40 how does the embedded Android ecosystem differ? Dec 09 12:07:52 does it really make development easier? I have heard different opinions, but I am not an Android specialist Dec 09 12:09:11 is embedded Android application development inferior/superior in some ways compared to say Qt5 on Yocto/OE embedded linux platforms? Dec 09 12:11:15 JuliusN I was ignoring .idea file when I was writing php code, not sure about the android but I believe it only contains your ide configuration settings Dec 09 12:11:26 directory* Dec 09 12:12:25 Here is the .gitignore for android Dec 09 12:12:25 https://github.com/github/gitignore/blob/master/Android.gitignore Dec 09 12:13:10 It seems they not ignoring the whole directory, so better use this .gitingore, it's safer Dec 09 12:15:42 how can i active Fingerprint in emulator , nexus 5 Dec 09 12:16:54 i added .idea/* to .gitignore but git still keeps asking me about those Dec 09 12:17:07 i guess i'll ask #git Dec 09 12:26:20 Hey. i am doing a android app that is a question game for to mess around with android.... Is it good practice to make only one activity to show the main menu and then fragments to do the rest of the work, like showing questions, showing preferences and stuff alike ? Dec 09 12:36:45 tsousa either choice is fine, personally I using fragment only when there is a possibility that I will show it in other page. For example I could make a page where I show news and underneath I will have something like footer that showing the breaking news Dec 09 12:37:25 or if I want to separate the logic (the example above) Dec 09 13:32:41 hi guys, is there someone who could answer a question about Dagger2? Dec 09 13:35:37 ar3s3ru: don't ask to ask... Dec 09 13:43:39 I wrote even on #kotlin, lol Dec 09 13:43:58 well, let's say I have a component A Dec 09 13:44:03 A has a subcomponent B Dec 09 13:44:15 And B have two subcomponents C, D Dec 09 13:44:41 Is it legal to have nested subcomponents in Dagger2, or should I treat B as a standalone component? Dec 09 14:01:24 Hey, how can I send post requests with a x-www-form-encoded body? Dec 09 14:09:42 Jestin: https://futurestud.io/tutorials/retrofit-send-data-form-urlencoded Dec 09 14:23:53 Melatonina o/ Dec 09 14:24:32 hi :) Dec 09 14:24:47 comestai? Dec 09 14:26:01 I'm ok. How are you? Dec 09 14:26:23 slight headache, avg i guess Dec 09 14:27:32 Do you know Italian or just googled it? Dec 09 14:27:53 a bit Dec 09 14:27:57 was there 3x Dec 09 14:28:15 :) Dec 09 14:28:26 Do you have a weak health in general? Dec 09 14:28:38 hi, is there any list of frameworks i can use to make apps in c++, python or ruby? Trying to make a comparison to see which fits my needs Dec 09 14:28:54 nope Dec 09 14:29:10 in python you should look into kivy albertocg Dec 09 14:29:21 also have a very active channel here on freenode Dec 09 14:30:24 raoul11: oh well that's a good start, thanks Dec 09 14:30:44 i did an android app with it, and its a very good framework Dec 09 14:30:55 also cross-platform of course Dec 09 14:31:22 does it let you customize somewhat the look & feel of the application? Dec 09 14:31:37 of course Dec 09 14:32:06 you have full control on the layout, plus there's a few bridges to talk with java Dec 09 14:32:19 or objc Dec 09 14:32:48 you should check out even gomobile, really cool stuff Dec 09 14:33:07 mind you, it wont be as fast as native Dec 09 14:37:30 raoul11: any of these tools would be? Dec 09 14:38:29 albertocg https://github.com/kivy/pyjnius Dec 09 14:38:43 plyer makes things a bit more easier Dec 09 14:40:00 interesting will give a look when i come back from work Dec 09 14:47:32 hi all, i'm seeing "java.lang.UnsupportedClassVersionError: com/android/build/gradle/AppPlugin : Unsupported major.minor version 52.0" trying to build. i had seen this before and upgrading to java8 fixed it, but now i'm not sure what to do Dec 09 15:22:01 if i have a RecyclerView inside a ScrollView what layout parameters should i use to make the scrollview take up as much space as it can while the recyclerview would stretch its height to fit all content that's managed by an adapter? Dec 09 15:26:33 what do you think about versionCode bumping each time for new commit on CI (using git that would be "git rev-list --count HEAD") Dec 09 15:26:58 hi- I'm a new dev and need to get a android.jar from the ASOP project- curious if there is a repo with already build android.jar(s) from ASOP or if I have to set everything up, download source code, and build the jars. Dec 09 15:30:16 JuliusN: Just wrap_content for height on the RecyclerView and set your Scrollview to match_parent for height/width Dec 09 15:31:53 logcat: Unless you're planning on releasing a new version of your app for each commit I don't see why you would. Dec 09 15:32:44 Hi guys! How can I load two different files into my splitted screen in Android Studio? Split Horizontaly/Vertically creates two screens for the file whose tab I clicked on to split screen... Dec 09 15:33:08 And I need two different files in my screens Dec 09 15:33:22 Can't find how to achieve that Dec 09 15:33:53 Oh... I found it :) Dec 09 15:34:33 Sometimes you have to ask something really stupid in a respectful community just to find the answer yourself right immediatelly Dec 09 15:34:47 Hate such moments Dec 09 15:35:35 logcat, that's what we do Dec 09 15:35:45 versionCode == master branch commit count Dec 09 15:35:50 works well, easy to script Dec 09 15:40:26 dsardari: for some reason my scrollview only scrolls to display the 6th item on the recyclerview, although there should be 10 items Dec 09 15:41:57 so is it my recyclerview that fails to resize its layout parameters? Dec 09 15:55:21 is there an overrideable method for View objects that get called upon resizing? Dec 09 15:59:12 Mavrik: any problems with db migration in parallel feature branches ? (schema changes and such) Dec 09 15:59:56 ExoPlayer v2 is ready to use, or better stick to v1.* at the moment ? Dec 09 16:01:16 Mavrik: but with schema changes we need to be careful anyway Dec 09 16:01:33 We don't do those Dec 09 16:01:42 I mean, master is the one that does releases Dec 09 16:01:46 Schema changes are done via DB version Dec 09 16:01:49 which is separate Dec 09 16:01:58 wait, yes :) Dec 09 16:02:10 cool, no more concerns for me Dec 09 16:02:13 JuliusN: You'd have to post your layout, can't really say why it wouldn't show. Dec 09 16:03:26 dsardari: i just confirmed that the RecyclerView's height doesn't change upon calling its adapter's onBindViewHolder method Dec 09 16:04:52 dsardari: here's the layout https://dpaste.de/FPHf Dec 09 16:10:44 Well, you have layout_below on the ScrollView so what's the parent view? Dec 09 16:14:07 hi all. Im developing android app. I want to set up linter in my CI process Dec 09 16:14:35 I run `./gradlew lint Dec 09 16:14:48 and it creates output into html file. Dec 09 16:15:04 Is this possible to force linter to print warning/errors into console ? Dec 09 16:22:42 dsardari: does it matter? here's the activity layout https://dpaste.de/zvak Dec 09 16:24:43 the parent view is a vertical RelativeLayout that wraps a LinearLayout for buttons and the ScrollView for the scrollable content Dec 09 16:31:37 i set an OnLayoutChangeListener on the RecyclerView. i can observe that the layout height grows to fit the items as long as it hasn't reached the ScrollView's height Dec 09 16:37:47 can i make the RecyclerView scrollable without nesting it inside ScrollView? Dec 09 16:38:35 It's already scrollable Dec 09 16:38:40 indeed Dec 09 16:38:49 for some reason i can't scroll it Dec 09 16:42:04 Yeah, your ScrollView needs to be the parent of your entire layout. Dec 09 16:50:20 dsardari: maybe it's my RecyclerView items with onClickListeners that consume all gestures? Dec 09 16:50:45 i added an OnScrollListener on the RecyclerView and it receives nothing Dec 09 16:52:50 Need some help..building chat functionality into my app. Receives some JSON from a third party service with the messages/name/etc. Can verify the json is formatted right. Works 100% in my emulator, and on my phone when I install it locally from android studio. However when I push the app to the play store and download it, the json being sent to the device is being rendered as null. I am stumped.. Dec 09 16:55:21 Being rendered as null? Dec 09 16:57:17 my activity listens for json then renders the user's initials using the textdrawable library.. the little circle letter icon it makes reads 'null'. no chat text comes through. exact same json is sent from the 3rd party in both instances.. Dec 09 16:57:46 but in the emulator, and if i have my phone plugged in, everything renders correctly using the exact same json.. Dec 09 17:01:13 It sounds like there are many possible causes and you need to isolate the problem. Dec 09 17:02:19 I'm just not aware of what is actually different when I install the app on my phone from android studio, vs installing it from the play store. Dec 09 17:02:43 debug certificate, DEBUG build config, instant run potentially Dec 09 17:04:29 ok thanks. hopefully will get me started. digging around the log files still too. Dec 09 17:04:55 looks like 'No package identifier when getting value for resource number 0x00000001' is my problem so off to google this Dec 09 17:04:56 BilldaCat: Are you running the release version (the exact one you pushed to Google Play, which might've been ProGuarded)? Dec 09 17:05:20 yeah, confirmed the version number in the play store is the one i pushed Dec 09 17:08:05 BilldaCat: For what it's worth, the version number being the same guarantees nothing at all. It's just something you set manually. Dec 09 17:08:16 Though I have no idea whether any of this is relevant to your problem. Dec 09 17:08:48 I figured out what it is I think.. I'm trying to pass a non-existent image into picasso because I want it to fail and fall back to the placeholder textdrawable I'm setting. Dec 09 17:09:15 That works fine in emulation/plugged in, but blows up when coming from the play store. I'll have to pass that drawable in another way Dec 09 17:09:24 at least, that's what I highly suspect the problem is Dec 09 17:23:17 hmm ok so i CAN register MotionEvents on my RecyclerView, so at least whatever it is that's listening to scrolling gestures should receive them? Dec 09 17:28:26 JuliusN: What's going on? I joined late. Dec 09 17:28:56 Also, wondering why you have a RecyclerView inside a ScrollView. Dec 09 17:51:06 So I was thinking about an app to live stream video to an Android App or Webview, how would you go about it with the app or webview, is there something I should be specifcally aware of? Dec 09 17:52:07 TacticalJoke: My RecyclerView doesn't scroll Dec 09 17:52:22 i already removed the parent scrollview, but it didn't help Dec 09 17:54:34 hithere Dec 09 17:59:12 this is my adapter if anyone is interested https://dpaste.de/wOcw Dec 09 18:15:53 i've got sudoku games with ids (1,2,..n). How would I use google play games leaderboards to keep track of how many games been completed in a cross device fashion? I could increment a number, but if they do the same game on multiple devices then they arbitrarily boost their score. Dec 09 18:22:38 JuliusN: Just simplify until it works. Dec 09 18:22:55 I realise this reply is practically useless, but RecyclerViews should just scroll (with enough items, etc.). Dec 09 18:23:05 You have to be going wrong in some basic way if it's not scrolling. Dec 09 18:25:22 Hello, in a ContentProvider, can I mix "?" and "#" like this: content://com.example.app.contentprovider/table/?/# <-- ? Dec 09 18:31:30 I have added multiWindow for samsung phones to my app - there must be permission "" Dec 09 18:31:58 in app detail -> Persmision it says "Write diagnostic information" Dec 09 18:32:07 which for me is somehow unclear Dec 09 18:32:39 I would like to be more informative - like - this permission is needed for Samsung multiWindow Dec 09 18:32:47 is there a way to do it? Dec 09 21:14:29 slow day Dec 09 21:18:34 today i had my last class in this university :p Dec 09 21:18:49 the debate class x) Dec 09 21:19:55 final class Debate {} Dec 09 21:21:11 zippy Dec 09 21:41:25 hexagonSun_: What was the debate about? Dec 09 21:45:57 TacticalJoke if canada should take off diseases associated to tobacco and alcohol consumption from it's public healthcare system Dec 09 21:46:05 ;o Dec 09 21:46:36 i was on the opposite team Dec 09 21:46:51 I'd like to debate "Should alcohol be banned?". Dec 09 21:48:39 never think before that doing documentation finally consolidate my mental cloud concepts, at least to an app Dec 09 21:49:00 now I know that all my contentproviders have a wrong use xD Dec 09 22:13:47 i have a glsurfaceview, I need to update the drawable its using, whats the easiest way? Do I just instantiate it? Dec 09 22:13:54 with a new drawable Dec 09 22:30:21 Hello everyone Dec 09 22:32:27 I am trying to implement some grouping for similar elements in a listview where articles from the same category are grouped into a view pager (as an item in the list view). Otherwise, show the article as usual. I provided a fixed height for the viewpager and also overridden the getItemViewType to return the type ID... but the viewpager doesn't appear in the listview Dec 09 22:32:46 Any hints on this? (PS: i know it's wrong, its just my stupid client) Dec 09 22:33:18 you have a vertical scrolling list, and you want a horizontal scroller inside that Dec 09 22:33:54 the easiest way to do this is not with a viewpager, but to have your vertical listview have a cell that contains another, horizontal listview Dec 09 22:38:01 s73v3r: is there a horizontal listview? Dec 09 22:38:09 i wasn't aware of android providing this Dec 09 22:38:40 listview, probably not Dec 09 22:38:43 but recyclerview can Dec 09 22:39:35 I'll check it out... thanks! Dec 09 23:01:17 hey guys, I think I need some help with my app, So I'm trying to program an automatic calculator, every time when user modifes the contents of a field x, a text watcher or whatever activates and the value in output textfield changes Dec 09 23:02:33 Is there a way to get the body of an HTTP response corresponding to a Retrofit response? Dec 09 23:03:13 I'm now trying to use TextWatcher and I have the piece of code in onTextChanged, but it isn't beind triggered, so I'm guessing that TextWatcher doesn't work with number decimal input fields Dec 09 23:03:55 is it the TextWatcher that’s assigned to that particular field? Dec 09 23:04:45 oh wow it doesn't seem to be Dec 09 23:05:41 :) Dec 09 23:05:53 GmsClient: service died Dec 09 23:11:08 thanks s73v3rso much, it works now, pretty much started android development yesterday and I'm pretty much confused 100% of the time, ah well, I guess it just means that I'm learning Dec 09 23:11:39 so i have a string array of names, and i want to save that String array into a single array using commas to separate the contents, i tried doing something like matrizInicial = TextUtils().join(", ", adapter.getMatrizInicial()); but i get an Method call expected warning? what am i missing? Dec 09 23:11:53 into a single array * Dec 09 23:12:05 you mean you want to save it into a single string? Dec 09 23:12:14 yes :B Dec 09 23:12:23 damn sometimes i forget how to english Dec 09 23:12:26 for one, it should be TextUtils.join( Dec 09 23:12:33 there is no () after TextUtils Dec 09 23:13:18 you're right :B Dec 09 23:25:38 and for second? Dec 09 23:26:13 ? Dec 09 23:28:10 what’s the error you’re getting? Dec 09 23:29:36 im not getting any, just you said "for one.." i thought there was more x) Dec 09 23:29:58 no Dec 09 23:45:55 is there any reason a MenuItem wouldnt update it title when told to do so? Dec 09 23:46:07 Im clearly setting item.setTitle() but seeing no change Dec 10 00:53:09 is there any way to clear an android devices cache of bluetooth devices? Dec 10 00:53:49 without restarting, of course Dec 10 01:02:33 are their decent panels to debug your android apps in real time? Dec 10 01:07:11 I think so orbyt_ Dec 10 01:07:18 it was some hidden menu in the bt settings Dec 10 01:07:43 missingno Is it possible to do it in code? Dec 10 01:07:56 hells to the naw Dec 10 01:08:01 man that solve like half my bt issues Dec 10 01:08:40 I found this: http://stackoverflow.com/questions/22596951/how-to-programmatically-force-bluetooth-low-energy-service-discovery-on-android Dec 10 01:08:52 but seems to be for clearing the cache of peripherals Dec 10 01:08:59 not of an android device Dec 10 01:09:09 currently settling for a wizard that will walk users thru it if issues are detected **** ENDING LOGGING AT Sat Dec 10 03:00:00 2016