**** BEGIN LOGGING AT Fri Aug 26 02:59:59 2016 Aug 26 03:03:08 <_genuser_> arancio: thanks. :) I keep googling hence the slow response. yeah, I'll look into it more. Aug 26 03:27:54 Hey I noticed that after compressing and restore a rom it used lesser system space. is that bad? as in if you turn on compression in windows for drives it will reduce performance, does that apply to this situation? Aug 26 03:30:39 applegal: is this related to Android development? Aug 26 03:31:18 yea.. I decided to learn the basic before I get into advance Aug 26 03:32:21 How do you compress a ROM, being it read-only? Aug 26 03:33:01 How is it related to development and not to general usage? Aug 26 03:34:01 Okay I'm just trying my luck.. Sorry Aug 26 03:34:44 i heard asking rom questions in android-dev is 10 years bad luck Aug 26 03:35:14 only way to right things is buy everyone here a nexus :) Aug 26 03:37:24 i already have one, i wouldn't mind that new huawei thing though... Aug 26 03:44:11 applegal is not someone who is capable of understanding the concept of on-topic Aug 26 03:47:33 * g00s senses Leeds has had prior encounter Aug 26 03:47:44 indeed Aug 26 03:55:44 yeah, looked like a drunkard I encountered yesterday night Aug 26 03:58:58 How do you check what certain apps rank is in google play store ? Aug 26 03:59:09 like if it is top 500 top 1000 etc Aug 26 04:00:59 NateRiver: you mean "how do you write an app that checks the rank of another app in the google play store"? Is that the question you wanted to ask? Aug 26 04:01:09 no n Aug 26 04:01:24 just check what an app like neko atsumes rank is Aug 26 04:01:38 Then you may have a channel mismatch problem Aug 26 04:01:47 I know theres a top 100 but to see the list beyond 100 Aug 26 04:02:41 i thought knowing the rank of apps could be useful to android devs Aug 26 04:04:03 NateRiver: are you interested in compressing ROMs too? Aug 26 04:06:56 NateRiver: try #android-drunkards it's a more appropriate channel Aug 26 04:09:21 NateRiver, go to appannie.com Aug 26 04:45:44 hi Aug 26 04:46:12 How do I get the status-code and JSON body from an error response (future) Volley? - http://stackoverflow.com/q/39124922 Aug 26 05:30:30 howdy, I have no idea how to get these 2 android projects I downloaded to compile... one has some gradle files included, which gets me as far as debugging/making an APK... but then it can't find a .so file (which I can see in the project folder)..... the other project doesn't have the gradle files and android-studio just opens it but doesn't have any run/debug options available Aug 26 05:31:31 this is one: https://github.com/lnanek/AutoChatSticker this is the other (though you need to log in to access... I can put them elsewhere if anyone wants to see them) https://www.htcdev.com/devcenter/opensense-sdk/htc-dual-lens-api Aug 26 05:37:02 here it is https://drive.google.com/folderview?id=0B0Tsdtdxo56DNnRZOVZEY1Y1aGc&usp=sharing Aug 26 05:39:03 How can you import a project that only contains java code to Android Studio? It is not an Android project and does not have a manifest. Aug 26 05:39:59 barq: what do you mean? Aug 26 05:40:03 it has sample projects Aug 26 05:40:22 I have an Eclipse project that contains some java files that are a dependency for an android project. I want to import that into AS. Aug 26 05:40:49 oh, I thought you were responding to my question, sorry! Aug 26 05:46:22 I exported from Eclipse and imported, that worked. Aug 26 05:46:29 But now I get unmappable character for encoding UTF8 Aug 26 05:47:18 even though the character is displayed correctly after setting the encoding of my workspace Aug 26 05:53:59 I read that you should add compileOptions.encoding = to the build.gradle. But my java project doesn't have android {} it only has sourceSets Aug 26 06:04:02 ugh, I can never get past this frustration stage with android development :/ Aug 26 06:04:11 (before I give up) Aug 26 06:12:55 Im getting this error in while trying to login with FB. "Login Error: There is an error in logging you into this application. Please try again later." Its coming only in release.apk, when its been downloaded from the Play Store but not when its running direct from the studio Aug 26 06:15:01 How can I add a maven repository to my build? This is my top level gradle file https://ghostbin.com/paste/8mqt5 Aug 26 06:47:57 nmz787_: I tried two different Superuser apps and couldn't get either of them to build. Aug 26 06:48:03 I gave up and wrote my own su that doesn't need one. :-) Aug 26 06:54:13 jjuran_: not sure what you're talking about Aug 26 06:54:37 android development is such a pain... is IOS development this hard? Aug 26 06:54:56 no pain no gain Aug 26 06:55:07 nmz787_: I was comiserating, but found a silverlining. Aug 26 06:55:12 I've spent two nights now (and probably a good 10 over the past 4-5 years) and basically never accomplished anything useful Aug 26 06:55:43 I did manage to learn Android development in Java somewhat. Never tried iOS. Aug 26 06:56:01 java and coding isn't my problem, it's these damn build systems Aug 26 06:56:19 I use Ant for building Java. Aug 26 06:56:46 i have the code, it is from HTC... it works (I compiled it once years ago before android studio)... it just doesn't apparently work in android studio and for some GENIUS (sarcasm) reason they don't support older-style projects I guess Aug 26 06:57:42 jjuran_: I am a Python coder mainly, or use gcc on a single file for C projects... or use stable/mostly-painless build systems like Arduino Aug 26 06:57:56 I've never used Android Studio. I used Eclipse for a few minutes, and ran screaming back to my text editor and command shell. Aug 26 06:58:14 hmm Aug 26 06:58:17 nmz787_ if yer a python coder, look into kivy Aug 26 06:58:51 its a lot more raw, but fine for android dev without the fancy AS stuff Aug 26 06:58:54 If you're comfortable with the command line, you might try Ant. Aug 26 06:58:55 raoul11: it surprises me, since Android Studio is made by the same people that make the Python IDE I like using (aside from plaintext editors) (PyCharm) Aug 26 06:59:15 but I guess Android bolted on crap plugins or something :/ Aug 26 06:59:24 yeah I am fine with the command line Aug 26 06:59:38 link for howto/hello-world from cmd-line? Aug 26 06:59:39 It's way noisier than I'd like, but it does an adequate job. Aug 26 06:59:58 Hold on, let me find one. Aug 26 07:00:08 or better yet, cmd-line for building other peoples project code (i.e. random github repos) Aug 26 07:00:15 jjuran_: thx Aug 26 07:00:32 https://github.com/jjuran/Chronometer Aug 26 07:00:41 https://github.com/jjuran/noisegate-android Aug 26 07:02:40 jjuran_: then I run ant on some file in either repo? Aug 26 07:03:00 You need to cd into the `android` dir. Aug 26 07:03:04 (which I apparently already have installed) Aug 26 07:03:20 Then run `ant debug`. Aug 26 07:04:05 That makes a debug build which you can install and run without a developer key, if you want. Aug 26 07:04:26 https://paste.pound-python.org/show/8JuO6q9S9m50v79r0jFs/ Aug 26 07:04:35 These come with a money-back guarantee, so let me know if you have any problems. :-) Aug 26 07:05:06 hehe Aug 26 07:05:16 complaining about build.xml not being found in the SDK Aug 26 07:07:13 hmm, solutions online talk about a local.properties file which isn't in the repo Aug 26 07:07:17 (for Chronometer) Aug 26 07:08:05 Yup, I think you need to create local.properties to define sdk.dir, or define ANDROID_HOME in your environment. Aug 26 07:09:39 "sdk.dir=/home/user/foo/android-sdk", without the quotes Aug 26 07:09:41 ah, yeah, apparently it is using the NVPACK from probably 3 years ago, which had permissions issues now for some reason Aug 26 07:09:59 chown -R did the trick Aug 26 07:10:30 It built? Aug 26 07:10:48 yeah Aug 26 07:10:55 sweet Aug 26 07:11:16 but now looking at my project of interest, I see it has a much different structure Aug 26 07:11:19 yeah thanks Aug 26 07:11:19 ! Aug 26 07:11:29 I invite you to review the code to make sure it doesn't do anything nefarious, and then install and play with them. :-) Aug 26 07:11:34 haha Aug 26 07:11:40 yeah, srsly Aug 26 07:12:13 does anyone have a link to a decent tutorial for RecyclerView with data from (static) SQLiteDatabase? Aug 26 07:12:42 I moved the Java source to a top-level src directory and left a symlink, because it was annoying otherwise. Aug 26 07:13:56 hmm, copying your build.xml allowed this other app to build Aug 26 07:14:04 I am suspicious of libs not being linked or something tho Aug 26 07:14:34 Those two apps don't link with anything external. Aug 26 07:16:31 hrmm, same broken behaviour Aug 26 07:17:01 jjuran_: I was getting this error message from Android Studio: https://github.com/lnanek/AutoChatSticker/issues/1 Aug 26 07:17:13 said the .so file didn't link Aug 26 07:17:37 UnsatisfiedLinkError Aug 26 07:19:28 I'm so disorganized I don't even know where I unzipped android studio to now Aug 26 07:19:53 oh, case-sensitivity Aug 26 07:20:14 Take a look at the HelloJNI sample. Aug 26 07:20:56 I've done Java apps and C/C++ binaries, but I haven't crossed the streams yet. Aug 26 07:22:59 I am pretty sure I actually got some openCV C++ stuff compiled years ago... before hitting some wall and losing the time to work on android stuff Aug 26 07:23:03 can somebody help, im looking for an app that allows me to use my android phone as mouse/keyboard, with a android tv box, im looking for a free solution, i remember i had something a few years ago, but i dont recall the name, i checked like 2 days, and the google store is a mess, any ideas, suggestions pretty please Aug 26 07:23:07 I mean openCV on android Aug 26 07:30:19 hmm, something about copying the .so files to a new dir in the project-root called 'jniLibs' Aug 26 07:35:27 "This will not be fixed. We are focusing on finishing the Gradle-based build system which will replace Ant. Aug 26 07:35:30 " Aug 26 07:35:32 :( Aug 26 07:38:00 nmz787_ surrender to gradle Aug 26 07:41:42 raoul11: I did the jniLibs thing, but now getting some other .so error which seems like it should be included on my phone by default Aug 26 07:51:39 why do you think android development is a pain? :o Aug 26 07:59:46 no pain no gain Zharf Aug 26 08:00:18 no wonder I never gain anything Aug 26 08:00:36 you will son. Aug 26 08:00:44 o.O Aug 26 08:01:30 tommorow is a new day.. Aug 26 08:02:02 that's a fact that'll never change Aug 26 08:03:26 im just passin catchphrases to avoid writing this series of fragments Aug 26 08:04:25 Having one of those off days, goddamn it Aug 26 08:04:44 off days? Aug 26 08:05:04 Zharf: where I program like a snail on heroine Aug 26 08:06:02 that is slow Aug 26 08:07:45 This is the reward that I get for managing to sleep 9 hours Aug 26 08:09:27 would it have been better if you had slept for four hours? Aug 26 08:11:36 Zharf: probably. I actually feel more refreshed when I wake up in the middle of the night than when I wake up in the morning. Aug 26 08:11:55 I must have vampire blood or something Aug 26 08:12:05 I'm a night owl for sure Aug 26 08:19:31 i wake up at nights for lucid dreaming :v Aug 26 08:21:53 Ashiren: I just had a short one last night. Was in this house with empty rooms. I kept opening them and then I started to realize that I'm dreaming. Don't know why, but I start to panic and scream. I wake up, but not to reality, but to another dream. X_X Aug 26 08:22:17 Think lucid dreams are signs of stress Aug 26 08:23:26 Apparently, people are much more prone to getting whacko dreams when they have fevers and stuff Aug 26 08:28:08 Sleep-related illnesses are common in my family. My brother almost beat me up because I wouldn't let him piss in the bed that I was staying in while he was sleepwalking. Aug 26 08:31:07 VerbalKint: aww, it was just false awakening, so continuation of dream. lucid dreaming is awesome Aug 26 08:32:30 Ashiren: it was both, actually Aug 26 08:33:38 Ashiren: I've done the whole "realize that you're dreaming, tell yourself that you're flying, start flying" thing, but I would rather have dreamless sleep Aug 26 08:35:33 Ashiren: do you have any mental illness by any chance? Aug 26 08:36:27 well im android developer Aug 26 08:36:47 Ashiren: damn. Sounds heavy! Aug 26 08:36:52 other than that, no Aug 26 08:40:30 we're the android developer support group Aug 26 08:40:36 ada Aug 26 08:41:08 :D Aug 26 08:45:24 "It all started when I needed a job. I thought that Android app development was profitable, but I needed to learn Java and XML. It all went downhill after that..." Aug 26 08:45:44 :o Aug 26 08:48:12 "I started having nightmares about being unable to shorten a variable's name that had 24 chars in length. I would wake up screaming "new ObjectName()! new ObjectName()! new ObjectName()!" every odd night" Aug 26 08:51:13 "I resorted to drinking, but even 2l of vodka every night didn't drown the memories of the inefficient JVM garbage collector that was in my head" Aug 26 08:53:37 VerbalKint: A bit silly though, given the fact that the JVM garbage collector is amazingly good. But, that's not the GC that is used on Android. Aug 26 08:55:29 for 2-column layout should I use linearlayout or relativelayout? Aug 26 08:55:54 sounds like job for linearlayout Aug 26 08:56:54 so a horizontal linearlayout with 2 vertical linearlayouts set to width = 50% or something? Aug 26 08:57:18 yes Aug 26 08:58:36 I get failed to resolve com.package:module:version when trying to get an artifact from a local maven nexus. I have maven {url 'http://123.456.789.01:8081//nexus/content/groups/public/'} in my top level gradle, but it can't find the artifact. How can I get this to work? Aug 26 08:59:19 When setting width/height values on LayoutParams it takes pixels. But I import values from a dimen valuesfile which I have written in dp instead of px , so is it better to assign the dimen values in the xml with pixels as that is the format LayoutParams takes Aug 26 09:01:51 Hi! I need to pass a Bitmap from an Activity to a child fragment within the activity. The bitmap is too large for a Bundle. Can anyone recommend an approach? Aug 26 09:16:00 hi, I am always confused when I start with a fresh installed version of as, with what system image I should download? Is there a document somewhere explaining the difference between the different system images and why to chose which one? Aug 26 09:16:37 I've got some data I want to persist between activities - authentication tokens for doing API calls. What's the best way to do that? Docs seem to suggest passing it using intents, but that's kinda annoying if I want to persist something that can't be easily serialized (like a connection pool) Aug 26 09:17:43 statusfailed: If your data is simple, eg. a string access token, just use shared preferences Aug 26 09:19:41 Ikkyo: does your Activity need to have the Bitmap? isnt this only the fragment's responsibility? Aug 26 09:20:46 eventually you can use some static variable to hold the bitmap (brrrrrr) Aug 26 09:21:18 You pass some uri to the fragment, then use your favorite image loading library to get the bitmap Aug 26 09:22:08 Ashiren: I have an activity containing multiple fragments, one for image cropping, one for image editing (changing contrast etc). So I need to pass the bitmap between these fragments, and since I am trying to make my fragments reusable, I expect the activity to provide the bitmap to the fragment. Aug 26 09:22:16 we're trying to decide what devices to buy for our development and testing... are there any tablets that people would recommend? Aug 26 09:22:58 The way I'm doing it now, is putting the bitmaps in a cache, and the loading them in the new fragment. I was wondering if there is a better way to do it Aug 26 09:23:28 make interface, make the activity implement it and be accesible to the fragments Aug 26 09:24:27 That sounds about right. Then the cache can handle retaining on disk, etc, as the user navigates around Aug 26 09:26:22 Ashiren: I was trying to do that at first, but got a bunch of errors... Come to think of it I was probably just calling the listener in the wrong place Aug 26 09:29:02 Do you guys support ldpi devices? I think I've never even seen one in real life. Aug 26 09:30:42 I have one Aug 26 09:30:46 but it's like 5 years old Aug 26 09:30:50 I don't think anyone makes them anymore Aug 26 09:31:33 I don't not support it Aug 26 09:31:44 But I only provide hdpi+ resources Aug 26 09:32:06 Zharf, alright. So is there aome qualifier or something I need to set in order to NOT support it? In case someone with a ldpi device tries to download my app Aug 26 09:33:53 android manifest and Aug 26 09:34:03 dont include ldpi devices then Aug 26 09:34:22 Why would you disable ldpi devices? Aug 26 09:34:51 And once you start going down the compatible-screens, etc, road, you have to actively maintain that Aug 26 09:35:40 SimonVT, My app would basically not work on such small device , it loses it's purpose a lot Aug 26 09:35:49 Ikkyo: Ah OK, thanks - is that OK to use for auth tokens? Is it readable by other processes? Aug 26 09:36:32 statusfailed : By default you applications shared preferences can only be accesed by your application. Unless someone has a rooted phone Aug 26 09:36:51 statusfailed: Or if you specify otherwise Aug 26 09:37:44 Ikkyo: ok, thanks! Aug 26 09:39:47 I doubt there's more than a few apps on Play Store that would even work on ldpi nowdays Aug 26 09:40:09 Mavrik, my thinking too Aug 26 10:05:38 Planning on making money from ads with AdMob. What if some asshole "friend" of mine wants to click my ads repeatedly in order to make it seem like I'm clicking my ads/making him do it? How long can I go without reporting this to google in order to invalidate the clicks and ban his ass? Aug 26 10:09:46 from the crycry in makingmoneywith/fromandroid forums, the amount of closed accounts on admob for ad abuse is huge Aug 26 10:10:08 i think its the same on other ad suppliers Aug 26 10:13:01 raoul11: goddamn fucking damn it Aug 26 10:13:24 I won't advertise this to my "friends" then X_X Aug 26 10:13:41 thing is, anyone can abuse them Aug 26 10:14:21 raoul11: I know, but the average person installing my app will be less likely than a "friend" Aug 26 10:14:24 I suspect the amount of fraud is also huge Aug 26 10:14:39 probably Leeds Aug 26 10:14:56 Anyone have any ideas: java.lang.NoClassDefFoundError: Failed resolution of: Lokhttp3/logging/HttpLoggingInterceptor; Aug 26 10:15:08 Retrofit logging errror Aug 26 10:15:10 though it shouldnt be too hard to detect/block it at the ads api level Aug 26 10:15:10 *error Aug 26 10:15:32 i assume some ads suppliers do that Aug 26 10:19:20 raoul11: I read about how Google will identify the abusers, but I'm not sure just how reliable that will be Aug 26 10:20:37 thinkin of integrating admob on my next app Aug 26 10:20:53 hi everyone Aug 26 10:21:06 always seemed like more of a hassle than a plain ad supplier (drop its jar, call it) Aug 26 10:21:53 im no fraud Aug 26 10:22:03 i do get ' This app is incompatible with your device.' on Google Play Aug 26 10:22:28 raoul11: you're an independent developer? Aug 26 10:22:30 minsdk = 15 and targetsdk = 23 Aug 26 10:22:32 טקד Aug 26 10:22:35 soz, yes Aug 26 10:22:40 so how do i solve this problem / Aug 26 10:22:41 ? Aug 26 10:22:50 can anyone help me with that ? Aug 26 10:22:56 whats the api on your phone tirej ? Aug 26 10:23:36 but im not too satisfied with the ads suppliers im working with (appnext, applovin, adbuddiz) Aug 26 10:24:09 raoul11: out of pure curiosity, can I see what type of apps you've done? (in PM) Aug 26 10:24:12 raoul11, i've tried from different phones which has 23 , 19 etc. Aug 26 10:24:30 sure Aug 26 10:26:38 raoul11, so what can i do ? Aug 26 10:27:48 could it be region restricted? is it your app? Aug 26 10:28:22 raoul11, yeah it's mine. i just allowed for single country Aug 26 10:28:38 and it's my own and the reason it's lang specific app. Aug 26 10:28:44 also region specific. Aug 26 10:28:45 isnt there a message next to the incompatible part saying why its incompatiable? Aug 26 10:30:09 raoul11, no, just that message Aug 26 10:32:16 no idea tirej, maybe your location isnt acknowledged Aug 26 10:32:27 i see Aug 26 10:32:33 let me check. Aug 26 10:36:52 is there a way to access default shared prefs from within a separate fragment? Aug 26 10:37:21 SharedPreferences sharedPrefs = this.getActivity().getSharedPreferences(getContext().getPackageName() + "_preferences", Context.MODE_PRIVATE); results in null pointer exception (used in init of the fragment) Aug 26 10:39:38 are some avd's slower than others depending on which device I launch? Cause on the Nexus S it crashes and perform very slowly, but on other devices it runs much better Aug 26 10:40:12 Isn't Nexus S really old and slow to begin with? Aug 26 10:40:29 yeah I suppose Aug 26 10:40:41 I just took it randomly for a hdpi device Aug 26 10:42:01 Is Nexus One better perhaps? Aug 26 10:42:21 nexus one is still pretty old. we're up to nexus 5/6/6s now Aug 26 10:42:36 hm, not much else to choose from in the hdpi range Aug 26 10:42:52 you can always make your own avd Aug 26 10:43:15 Jesperhead, so a hdpi device with better hardware? Aug 26 10:43:50 *shrug* i would assume. I haven't created one in a few years Aug 26 10:44:13 but, "create new virtual device" and "create new hardware profile" looks like it could be just what you need Aug 26 10:44:23 indeed, thanks Aug 26 10:47:52 too bad the AVD creator isn't up to date (or reveresed) with this https://design.google.com/devices/ Aug 26 10:48:21 the screen parameters on that site for a hdpi gives a mdpi when creating a AVD profile Aug 26 10:57:50 hey Aug 26 10:59:13 android studio is telling me, that in order to render the design view of y screen layout, it needs java 8. because android nougat requires java 8. well… errm. java -version on my system yields java 1.8. in the studio itself, java 1.8 is preconfigured as the jre/sdk what have you. and btw. I dont even understand why it thinks it should render with nougat while I constantly test with an api 16 device Aug 26 10:59:41 so I dont get the design view rendered. Aug 26 11:01:23 tilerendering: I think somewhere around the preview is a dropdown where you can select the API level to use for the render. Aug 26 11:01:40 ^ it's at the top, looks like the android robot Aug 26 11:01:41 iirc, when I reinstalled IntelliJ here, it defaulted the dropdown to the latest version installed. Aug 26 11:02:54 I can only choose version 24 or “Pick another version” with no version options... :/ Aug 26 11:02:59 great isnt it Aug 26 11:03:08 now if I could only teach it that I have java 1.8 installed Aug 26 11:03:14 this thing is a desaster. Aug 26 11:05:20 tilerendering: I think it only displays installed SDKs Aug 26 11:05:51 install api 23 to have it listed Aug 26 11:06:51 pduin - hm maybe that´s the cause. at which level of the studio configuration can I do that ? Aug 26 11:08:15 top toolbar of AS - and look for the android robot icon head on a box with a downward pointing arrow Aug 26 11:09:40 it wont let me install another version Aug 26 11:09:44 just pick from versions Aug 26 11:09:50 do you know where I can manage the installed versions ? Aug 26 11:10:25 moreover do you know where I can actually “effectively” “teach” studio that I have 1.8 installed ? because I already did. Aug 26 11:10:31 and actually it knows its path. Aug 26 11:10:48 That I do not know. Aug 26 11:11:38 thanks a lot anyhow :) Aug 26 11:15:23 So the question is, is it worth protecting Android games against cheating? Or just make sure that personal save data cannot be tangled with. Leaderboards WILL be hacked? Aug 26 11:25:41 Don't quote me on this because I am not in the gaming business nor android business Aug 26 11:25:59 but if the game is single player and won't affect other users. Let them be, if they want to be nº1 with 999999 points Aug 26 11:26:16 Has anyone got a good example of logging with Retrofit 2.0? I'm trying to log the headers and it's not showing a header which I pass through as a parameter and I have no idea if I've set up my HttpLoggingInterceptor wrong or not Aug 26 11:26:28 if there is an online leaderboard, I am not sure you can't prevent hacking on the phone, that is outside your control, but your server will need to validate the results anyway Aug 26 11:26:47 can anyone update me about google analytics? should I use the one in the google play services? Aug 26 11:31:19 Is there any way to automatically update the SDK manager installed packages Aug 26 11:31:22 with like single command? Aug 26 11:33:21 gdrc: I thought it was called Firebase Analytics now Aug 26 11:33:32 whaaat Aug 26 11:39:10 Should I use compile 'com.google.android.analytics:analytics:3' or compile 'com.google.android.gms:play-services-analytics:9.4.0' Aug 26 11:39:19 google is so confusing omg Aug 26 11:53:04 I have a module in AS that is an apklib. How can I include that as a dependency for other modules? Aug 26 11:53:22 I tried adding the module as a compile dependeny but get com.example.library does not exist Aug 26 12:09:11 The underlying problem is that Module depends on one or more Android Libraries but is a jar Aug 26 12:14:17 hi again everyone Aug 26 12:15:01 raoul11, i still get same issue: This app is incompatible with your device says GP Aug 26 12:29:25 what do I need to do to have api 16 sdk tools available on android studio ? it only lets me choose api 24. also, even when I select to create a new api 16 project, in the project settings then, it is marked api 24... Aug 26 12:29:30 like - wt .. Aug 26 12:30:38 So, I just tried to build JavaDoc for our app, and it threw LOADS of errors, mostly saying that "app android.X does not exist". How can I avoid these errors generating JavaDoc? Aug 26 12:32:03 i can only choose one target sdk Aug 26 12:34:16 I presume you have installed API16 stuff in SDK manager? Aug 26 12:34:50 App migrated to new AS, Gradle setup, in house build system modified to build via gradle, the only issue I have now, is when I push the update to a test phone, It reports that the new .apk is the same name, but has a different signature. The thing is, I'm using the same key, what can cause this? Aug 26 12:35:55 azv4: have you installed the app from play store? Maybe that, or if it was installed from previous IDE Aug 26 12:36:08 sdousley, we don't use the play store Aug 26 12:36:53 the .apk was built in Eclipse originally, then migrated to AS 1.5, same signing key both IDE, didn't have this issue, then moved to 2.1.2 Aug 26 12:37:03 same key through all three 'generations' Aug 26 12:41:28 raoul11, i still get same issue: This app is incompatible with your device says GP ( due dc ) Aug 26 12:49:26 no idea tirej /: Aug 26 12:53:17 azv4: I'm not sure in that case I'm afraid Aug 26 12:57:23 raoul11, thanks anyway! Aug 26 12:57:31 anyone else ? Aug 26 13:09:57 98% is finished and all that I need now is a good name Aug 26 13:10:03 *of the app Aug 26 13:13:11 thanks VerbalKint (: Aug 26 13:13:27 raoul11: np :D Aug 26 13:21:20 guys, how can i achieve 'This app is incompatible with your device' problem ? Aug 26 13:27:51 i use gradle 3.0 for my android dev in command line, gradle says the following "Could not determine java version from '9-ea'. Aug 26 13:28:03 has anyone gone through this ? Aug 26 13:28:58 I have an android library that has resources, i.e com.library.R, but when I include the lib as a dependency in another android studio module it says com.library.R not found. How can I get this to work? In Eclipse it works fine as an apklib dependency. Aug 26 13:30:52 VerbalKint: take a noun that is related to your app purpose, add the -ly suffix to make a non-existent adverb and remove a random vowel. Aug 26 13:31:06 arancio: LOL Aug 26 13:31:22 arancio: got a Romanian version for that? :D Aug 26 13:32:48 VerbalKint: hv u gone through this issue ? "Could not determine java version from '9-ea'" Aug 26 13:34:45 pitiye: um, have no idea, but is it because you're trying to install an armv7a build on an x86 CPU or something? Aug 26 13:34:55 i have a drawer ith listview, how i can set the background when item is selected? Aug 26 13:37:03 VerbalKint: the only romanian thing that I know about is Nadia Comaneci, unfortunately. Sorry. Aug 26 13:37:23 arancio: at least you didn't say O-Zone :P Aug 26 13:38:12 VerbalKint: this error is reported by gradle - i dloaded gradle from official site, installed (added it's bin to my PATH) and created an android project using command line- thats it Aug 26 13:45:38 I'm getting Android Nougat requires the IDE to be running with Java 1.8 or later Aug 26 13:45:46 How do I run AS with java 1.8? Aug 26 13:45:48 i have a drawer ith listview, how i can set the background when item is selected? Aug 26 13:49:28 anyone with a clue to this ? in android studio I cant choose between different sdk versions (15 rather than 24) - what do I have to do to make them available ? Aug 26 13:51:44 Is there a good static analysis tool to help catch potential out of bounds errors in my code? Aug 26 13:54:36 tilerendering: just set the targetSdk in gradle Aug 26 13:54:38 guys i create Android Project using android create project --activity MainActivity --package org.home --target android-24 --path ~/Public/Learn-Android/1-HelloWorld/ -g -v 3.0 , But it still downloads gradle 1.12 , how do i set a newer gradle version ? Aug 26 13:56:10 gdrc: it wont have any effect Aug 26 13:56:16 gradle wrapper properties has the following "distributionUrl=http\://services.gradle.org/distributions/gradle-1.12-all.zip" Aug 26 13:56:18 because I think I need to install the sdk Aug 26 13:56:24 with the appropriate version. Aug 26 13:56:26 Of course, do it Aug 26 13:56:27 or dont i ? Aug 26 13:56:34 how do i set it to a newer version ? Aug 26 13:56:59 pitiye: distributionUrl=https\://services.gradle.org/distributions/gradle-2.14.1-all.zip Aug 26 13:57:06 I think it's the last one Aug 26 13:57:09 gdrc: so how can I install a new sdk and where ? Aug 26 13:57:20 normally I d expect some doc about that, but strangely enough there s nothing about it Aug 26 13:57:45 gdrc: every time i create a new project gradle will use 1.12, and not 2.14 right , i want to modify that Aug 26 13:57:45 tilerendering: do what I told you and AS will suggest you to download the selected one Aug 26 13:58:14 pitiye: how do you create a new project? Aug 26 13:58:31 gdrc: android create project --activity MainActivity --package org.home --target android-24 --path ~/Public/Learn-Android/1-HelloWorld/ -g -v 3.0 Aug 26 13:59:33 what's android ? Aug 26 13:59:46 Why don't you use the UI? Aug 26 13:59:47 android command line Aug 26 13:59:57 gdrc: coz my lap is slow for UI Aug 26 14:00:03 lol Aug 26 14:00:08 good luck with gradle man Aug 26 14:00:19 gdrc: i am happy with vim than android studio :D Aug 26 14:00:24 and why you have pentium 4 in 2016? Aug 26 14:00:42 gdrc: this is a core i5 Aug 26 14:01:35 gdrc: this is an optimus laptop, that is why its slow, coz of Nvidia :( Aug 26 14:04:45 anyone got some table showing which devices belong in which xlarge,normal,large etc category? So I know which device to use as preview when designing Aug 26 14:06:42 gdrc: I set the tragetsdk in the gradle file to 15 - I hit “run” - I dont get anything Aug 26 14:08:09 lol Aug 26 14:08:18 tilerendering: be patient Aug 26 14:08:25 and run the standalone sdk manager Aug 26 14:09:13 gdrc: where do I find it Aug 26 14:09:25 good question, wait Aug 26 14:09:32 is your studio open? Aug 26 14:09:53 tool - android - sdk manager Aug 26 14:10:56 gdrc: this is EXACTLY what I was looking for. thanks ! :D Aug 26 14:11:12 Bernzel u can toggle diff devices previews when you're developing Aug 26 14:11:36 with diff resolutions and dpi's Aug 26 14:11:46 If I have a module that has an android library as a dependency, does the module need to be a library itself and need an AndroidManifest? Aug 26 14:12:04 raoul11, yes but how do I know which of those devices fall into which category? Aug 26 14:12:57 if you click on the device name under preview, it will tell you which res/hdpi params it has Aug 26 14:13:04 is developing for api 16 a safe bet currently, for a formbased app communicating with a rest backend ? Aug 26 14:13:18 Would artistic paintings of women who just happen to be bare-chested count as "Apps that include sexual or suggestive references" in Google's interpretation of nudity? Aug 26 14:14:00 tilerendering: https://developer.android.com/about/dashboards/index.html Aug 26 14:14:01 play it safe (: Aug 26 14:14:15 I would say so Aug 26 14:14:18 i have a drawer ith listview, how i can set the background when item is selected? Aug 26 14:14:34 you mean developing for 16+ Aug 26 14:15:28 barq: yeah Aug 26 14:15:36 t0th_-_ http://stackoverflow.com/questions/16189651/android-listview-selected-item-stay-highlighted Aug 26 14:15:55 But it says that nudity is "high maturity" only Aug 26 14:16:09 While drug consumption is medium maturity. Google is fucked up. Aug 26 14:16:22 *reference to drugs Aug 26 14:16:27 yeah 16+ Aug 26 14:16:32 barq grazie Aug 26 14:17:34 unless u really have to, try to make it available for everyone VerbalKint Aug 26 14:18:21 I think 16+ is a good choice. Aug 26 14:18:42 barq: but I see only everyone, low, medium and high ratings Aug 26 14:19:05 i have added jcenter() instead of maven onto the repositories , but i still get the following error when building. Could not find com.android.tools.build:gradle:3.0. Aug 26 14:19:12 any clue ? Aug 26 14:19:15 VerbalKint: I have no idea what you are talking about. Aug 26 14:19:41 barq: https://support.google.com/googleplay/android-developer/answer/188189 Aug 26 14:19:57 What about that link? Aug 26 14:20:21 Nevermind Aug 26 14:20:37 he was talking about api targeting VerbalKint Aug 26 14:20:57 Oh man... Aug 26 14:21:10 barq: nevermind Aug 26 14:21:19 :D Aug 26 14:22:39 raoul11: though, the nudity is very rare and barely noticeable most of the time Aug 26 14:23:06 raoul11: and there isn't an actual Google employee checking this stuff out, right? Users have to report it? Aug 26 14:23:17 yep Aug 26 14:23:32 pitiye: You can search for your dependencies on https://bintray.com/bintray/jcenter and see what versions are available Aug 26 14:23:40 Meh, then I'm fine Aug 26 14:23:40 though i do blv they do checks for assets when u upload an apk Aug 26 14:23:42 raoul11, yes but not which of the xlarge, large etc categoriez, which is what I'm after Aug 26 14:23:59 VerbalKint: you could offer offended persons an in-app purchase of dresses, so they can cover the areas of nudity they are offended by. for a small price of course. Aug 26 14:24:00 raoul11: what do you mean? Aug 26 14:24:04 SimonVT: thanks Aug 26 14:24:11 tilerendering: lol Aug 26 14:24:42 they check graphic assets for copyright infrigments Aug 26 14:25:13 I m sure he can negotiate out a deal with one of the big fashion retailers. Aug 26 14:25:17 raoul11: oh, I'm fine. I mostly use public domain stuff and attribute the stuff that isn't. Aug 26 14:25:27 CC Aug 26 14:25:44 got a warning from them once, for using the play icon in one of my games Aug 26 14:26:15 Bernzel: https://developer.android.com/guide/practices/screens_support.html#range has some rough guidelines Aug 26 14:26:42 Don't use large, xlarge, tho, use the swdp, etc, qualifiers Aug 26 14:27:12 raoul11: you referenced the icon from the API's assets or did you put one yourself in the drawables/mipmas? Aug 26 14:27:25 SimonVT: dude Thanks again , it works NOW ! Aug 26 14:27:47 got one myself from a 3rd party site Aug 26 14:28:00 i didnt even notice it was the same icon Aug 26 14:28:12 SimonVT, ok, can you explain why? What's the benefit of using that instead or large etc? Aug 26 14:29:28 Is there a way to decode a stream into a png directly, without decoding into a bitmap first and then compressing it? Aug 26 14:29:57 I get cannot find symbol class when building my module. The class it doesn't find is in a java module that is listed a a compile dependency. I also disabled proguard. Any ideas why it can't find the class? Aug 26 14:30:57 SimonVT, "These new qualifiers offer you more control over the specific screen sizes" got it, nvm Aug 26 14:31:13 The class does exist in the package of the dependency Aug 26 14:43:17 gdrc: it seems I entered dev nightmare now. I switched the api and sdk to 16, even the theme for the user interface to 16, but now gradle cant build the project Aug 26 14:43:39 SimonVT, what is the smallest swdp you support? Aug 26 14:43:41 missing all sorts of elements and dependencies. even though I created a new project with api 16 Aug 26 14:43:44 or think is reasonable Aug 26 14:44:25 tilerendering: android dev is a nightmare Aug 26 14:44:36 oh thx Aug 26 14:44:37 start getting used to it Aug 26 14:44:41 good Aug 26 14:44:56 No minimum. Just default phone resources Aug 26 14:45:31 Then some for ~7in (sw600dp) and 9in, I guess?, with sw720dp Aug 26 14:47:42 SimonVT, Ok just let me get this straight, so a Galaxy S5 with the dp size of 360x640 would land in sw360dp ? And a all other phones with higher width until it reaches the next qualifier? Aug 26 14:48:15 Yep Aug 26 14:48:20 sweet thanks Aug 26 14:49:51 gdrc: what is the currently best version/subversion for this “compile 'com.android.support:support-v16:…” - or where do I find it ? Aug 26 14:50:21 i mean v4 Aug 26 14:50:22 those are grab from the internet Aug 26 14:50:40 just declare it in the gradle file inside dependecies Aug 26 14:50:43 oh, does instant run work with androidTest? Aug 26 14:50:46 dependencies Aug 26 14:50:53 been meaning to check and see Aug 26 14:51:04 instant run lol Aug 26 14:51:12 useless as fuck Aug 26 14:52:36 gdrc: can I use built tools v7:24.2.0 for an api 16 app at all ? Aug 26 14:53:14 of course Aug 26 14:53:22 hi Aug 26 14:53:27 you can use the last build tools Aug 26 14:54:15 and same for design tools ? Aug 26 14:54:18 I've got some displ guys i get this error when building - A problem occurred evaluating root project '1-HelloWorld'. Aug 26 14:54:25 > javax/xml/bind/annotation/XmlSchema Aug 26 14:54:25 *displ com.android.support:design:24.2.0 for an api 16 app ? Aug 26 14:54:29 any clue ? Aug 26 14:54:36 yes Aug 26 14:55:19 I've placed a file called widget.xml into res/layout directory Aug 26 14:56:15 this file has a relative layout parent, if ypu want I could paste it on a pastebin service Aug 26 14:56:52 cristian_c: Full sentences, please. Type out your entire problem, and pastebin code, etc, before asking. Aug 26 14:57:38 I'm trying to figure out why the widget is bad displayed (I mean size and items). Ok, I paste the code and I paste the picture Aug 26 14:59:02 I cant seem to get this simple template project from android studio running with api 16. havent changed anything, but told it to make it api 16. set targetsdk and minsdk to 16, compilesdk to 16. rebuilt, cleaned before, then this: http://pastebin.com/GpGUsaqk Aug 26 14:59:06 no clue anymore. Aug 26 14:59:25 this is the output I get when entering the design view of the simple login form Aug 26 15:00:22 Set target to 24 not 16 Aug 26 15:00:42 why ? Aug 26 15:01:01 Because you want to target the newest version not some deprecated version that you still happen to support Aug 26 15:01:35 what is the exact meaning of target here then ? Aug 26 15:01:46 it s the target of the build, right ? Aug 26 15:01:59 That's compileSdkVersion Aug 26 15:02:10 hm. then I dont get target I guess Aug 26 15:02:12 https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#target Aug 26 15:06:53 thanks. I hope the build probs vanish this time. a simple update of the targetsdk version to 24 didnt do. Aug 26 15:08:38 the layout is displayed “correctly” in the studios preview/design mode since I switched the android version for rendering it to 23. the build fails. sigh. Aug 26 15:09:01 SimonVT, sorry for bothering you like this again. But I have layout's for sw360dp , sw411dp, sw480dp, sw540dp, sw600dp, sw768dp, sw800dp and sw1024dp all based on: https://design.google.com/devices/ does that look reasonable? From that table I linked, it should support most devices? Aug 26 15:09:04 Which template project is this? Aug 26 15:09:21 Why do you need that many? Aug 26 15:09:40 Most just need phone and tablet Aug 26 15:10:50 barq: loginactivity. it all startd when I had the notification in the layouts preview mode that java 1.8 is required for rendering nougat layouts. but even though the studio knows where my sdk 1.8 is, it complained. then I realized maybe I should go down to api 16 anyhow. etc. etc. I created a new project, api 16, then let it create it for me. however the studio only lets you pick min sdk, not target or compilesdk. I changed them manually. Aug 26 15:10:51 since then, no successful bild. by manual I mean by the pref interface... Aug 26 15:10:55 and by gradle file editing. Aug 26 15:11:03 SimonVT, oh okey. So one for the smallest sort of phone and one for the smallest sort of tablet then? Aug 26 15:11:16 You usually just have layout/ Aug 26 15:11:51 Then if you need one of your layouts to look different on whatever+, create layout-swdp and a new layout Aug 26 15:13:20 okey, just want to make sure it looks okey on a range of different devices. Aug 26 15:13:52 sigh Aug 26 15:14:42 If you follow best practices it will. Remember there are hundreds of different devices sizes out there, can't create a layout for every one of them Aug 26 15:20:22 lol, mark murphy's talk "Doing Periodic Work: Another Android Headache" Aug 26 15:24:28 I can attest to the notion that programming for Android gives you headaches. I'm programming right now for it and my head goddamn hurts. Aug 26 15:26:40 never had any headaches because of android dev, lot of frustration sure Aug 26 15:27:22 adq come on, admit thats why you needed such long vacation :P Aug 26 15:27:43 lol, it's not even yet long Aug 26 15:27:49 doctors orders :) Aug 26 15:28:04 adq from US standards its eternity :D Aug 26 15:28:32 let me check Aug 26 15:28:43 this is my screen: http://imgur.com/a/TSVWV and this is widget.xml: http://pastebin.com/AcwyEnce Aug 26 15:29:20 https://en.wikipedia.org/wiki/List_of_minimum_annual_leave_by_country indeed g00s Aug 26 15:29:32 How could I fix the xml in order to get the widget like the top widget either the bottom widgets? Aug 26 15:30:08 (as size and content size/position and visibility) Aug 26 15:30:20 Any ideas? Aug 26 15:30:28 by looking at the source of the widgets you want ot mimic, at worst you can reverse them Aug 26 15:30:41 other than that, it's all about margin, padding, images, etc Aug 26 15:31:06 nothing fancy Aug 26 15:31:18 adq: I've tried looking for in googlesource Aug 26 15:32:16 they seem have a very different structure, such as files and directory organizatioj Aug 26 15:33:22 but I've not found until now some tips either clue in order to fix it. I've made many attempts Aug 26 15:33:22 well, it's the platform code so things are slightly different Aug 26 15:34:15 there are many property, but the widget packaging is a lot tricky, also the dlcumentation does not show examples for this Aug 26 15:34:22 *properties Aug 26 15:34:42 cristian_c, maybe divise your big problem into little ones, you want the central image to appear like the other (and it's not so fix that), you want this little bar below which can be toggled (fix that), etc Aug 26 15:34:57 or simply you need to man up your game in xml layouts Aug 26 15:35:04 yeah, I've tried this approach Aug 26 15:35:56 guys gradle shows me the following error - A problem occurred evaluating root project '1-HelloWorld'. Aug 26 15:35:56 > javax/xml/bind/annotation/XmlSchema Aug 26 15:36:01 how to get through this ? Aug 26 15:36:23 adq: the cebtral image should appear centered, I've changed the icon in order to show the full sixe of the cetral icon Aug 26 15:37:03 adq: and yeah, I can't show the little bar in the bottom of the widget Aug 26 15:37:52 I'm trying to fix the layout with no success Aug 26 15:39:03 try again, because this is not a difficult exercise and you need learn something if you want to succeed at it Aug 26 15:39:34 if you're new to xml layouts & stuff, it's normal to not succeed at it Aug 26 15:39:50 adq: I'll try again, I'm also looking some examples, with no success Aug 26 15:40:07 i'm pretty sure you will find many similar stuff on github Aug 26 15:40:11 power/quick widgets are not very popular Aug 26 15:40:14 also keep in mind, those are old widgets Aug 26 15:40:23 between android developers Aug 26 15:40:49 yeah, I own some devices using jelly bean (api 17 and api 16) Aug 26 15:43:43 guys gradle tells me this A problem occurred evaluating root project '1-HelloWorld'. javax/xml/bind/annotation/XmlSchema - how to fix this ? Aug 26 15:48:01 pitiye, what is the problem? Aug 26 15:49:06 azv4: android create project --activity MainActivity --package org.home.helloworld --target android-24 --path ~/Public/Learn-Android/1-HelloWorld/ --gradle --gradle-version 2.14.1 -< this was used in cli to create a new android project , after that i just hit ./gradlew Aug 26 15:50:45 pitiye, what is your encoding set to in your build.gradle? Aug 26 15:51:11 azv4: there is no such encoding set in it Aug 26 15:51:13 check your gradle encoding and your OS's encoding and see if they match, if not, set yours in gradle to the same as your OS Aug 26 15:52:46 also make sure your gradle versions are the same Aug 26 15:53:12 if you're building with gradle 2.6 but your project has 2.3, that error can occur Aug 26 15:54:28 azv4: i have gradle 3.0 installed Aug 26 15:56:24 well make sure your classpath 'com.android.tools.build:gradle:2.1.2' in your build.gradle is the same as the one "installed" Aug 26 15:56:39 if you dont have classpath in one build.gradle file, check the other one Aug 26 15:56:46 there are two build.gradle files Aug 26 15:57:06 one is in gradle folder in project, the other is in your app path Aug 26 15:57:25 azv4: when i set 3.0 for --gradle-version and hit ./gradlew i get the following errors - Aug 26 15:57:25 Could not find com.android.tools.build:gradle:3.0. Searched in the following locations: https://repo1.maven.org/maven2/com/android/tools/build/gradle/3.0/gradle-3.0.pom https://repo1.maven.org/maven2/com/android/tools/build/gradle/3.0/gradle-3.0.jar Aug 26 15:57:41 so gradle 3.0 means 2.1.2 ? Aug 26 15:57:44 no Aug 26 15:57:47 Im using 2.1.2 Aug 26 15:57:52 has nothing to do with your situation Aug 26 16:00:37 azv4: now i get this - Could not find method runProguard() for arguments [false] on BuildType_Decorated{name=release, debuggable=false, testCoverageEnabled=false, jniDebuggable=false, pseudoLocalesEnabled=false, renderscriptDebuggable=false, renderscriptOptimLevel=3, versionNameSuffix=null, minifyEnabled=false, zipAlignEnabled=true, signingConfig=null, embedMicroApp=true, mBuildConfigFields={}, mResValues={}, mProguardFiles=[], Aug 26 16:00:37 mConsumerProguardFiles=[], mManifestPlaceholders={}} of type com.android.build.gradle.internal.dsl.BuildType. Aug 26 16:00:53 How could a test be throwing an exception in the Standard Error field, but not be failing? Aug 26 16:05:23 I'm seeing this http://paste.ofcode.org/frnhABtww6TVCi6ZYNr3Fe Aug 26 16:06:01 Is it because the exception is happening in a the OkHttp dispatcher thread? i.e. Do failing tests have to fail on the main thread? Aug 26 16:07:41 pitiye, did you do anything to the proguard code when checking your gradle versions? drop a character in or add a line someplace? Aug 26 16:11:37 Appears that tests do have to fail on the main thread :( http://paste.ofcode.org/B6pB4ipxmAwJ6WDirzAz9n Aug 26 16:11:41 that passes Aug 26 16:12:18 I'm using RobolectricTestRunner btw Aug 26 16:18:58 "Does the game contain any Nazi symbols, references, or propaganda" lol Aug 26 16:19:25 "Does the game advocate committing acts of terrorism" Aug 26 16:19:49 Yeah, this'll stop terroristic app developers right in their tracks! Aug 26 16:21:13 they don’t want to be associated with those things, and in some countries it is illegal to ship games with those things in them Aug 26 16:21:39 azv4: nope - nothing modified other than build.gradle Aug 26 16:22:32 VerbalKint: I guess these kind of questions are designed to make it easier to sue you for those things, not to stop you. Aug 26 16:22:35 s73v3r: I was making fun of the existence of such a question Aug 26 16:23:00 arancio: I'm completely aware of this, but it's still funny Aug 26 16:23:16 VerbalKint: I'm suing you Aug 26 16:24:18 Is anyone here familiar with using intentions? Aug 26 16:24:45 Intent? Aug 26 16:24:49 AlphaKatten: Intents? Aug 26 16:24:55 Ha, I completed the rating questionnaire *truthfully* and got a 3+ rating in most regions Aug 26 16:25:09 arancio, Ashiren yes sorry hhaha Aug 26 16:25:22 VerbalKint: is 3+ good? Aug 26 16:25:42 arancio: talking about age rating Aug 26 16:26:00 arancio: odds are that people under 3 won't be able to read or understand my app Aug 26 16:26:00 ah, ok. Never rated an app. Aug 26 16:26:10 So I don't mind losing them :D Aug 26 16:26:10 Then it's perfect Aug 26 16:26:45 AlphaKatten: Intents are a basic mechanism of the Android platform. What's your problem? Aug 26 16:28:44 3+ is not bad at all for a O-zone-like pop music application, after all Aug 26 16:28:56 guys how do i check the version of android gradle plugin ? Aug 26 16:29:26 arancio: O-zone? What are you talking about? Aug 26 16:29:48 arancio: I'm making a trivia app Aug 26 16:29:53 arancio, okay great. I have a keyboard with custom images and when I a user clicks on an image I'm trying to add the image to an MMS. It's working part of the time but it has odd behaviour Aug 26 16:30:33 If I have the text message app open, with no contact set and press the image, then nothing happens. However if I have a contact name filled out and press the image it creates a new message with the image in it this time Aug 26 16:31:02 VerbalKint: I thought romanian app where all about O-zone-like pop music. <-- I'm just joking, being silly because of what you said about O-zone Aug 26 16:31:15 arancio: :P Aug 26 16:31:50 arancio: well... well... all Italian apps are about pizzas! Aug 26 16:32:17 arancio: no, mafia Aug 26 16:32:51 and O-zone like mandolin songs Aug 26 16:34:43 AlphaKatten: it's very specific and... I'm quite new to Android. I can't help you. Maybe someone else can Aug 26 16:35:11 AlphaKatten: it may also depend on your MMS application Aug 26 16:35:12 arancio, okay no worries Aug 26 16:36:38 AlphaKatten: application (activities) register themselves to handle intents and then, if they are selected to handle a intent, they basically can do whatever they want. They should behave "logically" and "appropriately" but I guess nothing prevents them from reacting in bizarre ways Aug 26 16:37:56 For example, nothing prevents a romanian trivia app from registering to handle MMS intents or web browsing intents without having the capabilities Aug 26 16:38:18 AlphaKatten: did you try other messaging applications? Aug 26 16:40:19 arancio, I'm just using the android emulator so the dialog initially prompted me to use either email or the regular text message app Aug 26 16:40:31 AlphaKatten: http://stackoverflow.com/questions/33893926/how-to-send-the-images-in-input-connection-in-android/33894957 Aug 26 16:40:38 In short, it’s not entirely possible Aug 26 16:40:51 s73v3r, yeah unfortunately that's not possible :/ Aug 26 16:41:02 oh that's what you were getting at haha Aug 26 16:41:07 yeah that's why I'm using intents instead Aug 26 16:41:53 what’s your intent look like? Aug 26 16:42:19 believe me I think it's ridiculous to have a keyboard that you click an image on and it sends an intent instead, but my project manager insists I continue Aug 26 16:42:22 one moment I'll paste it Aug 26 16:43:13 https://gist.github.com/anonymous/08aa50aa9a1984650be88ec1376897bc Aug 26 16:43:46 and forgive me if any of my code looks like it's doing something stupid, I'm totally new to android Aug 26 16:43:58 are these emoji? Aug 26 16:44:06 as in, unicode characters? Aug 26 16:44:26 s73v3r, no they're custom images Aug 26 16:45:05 i don’t think you need FLAG_ACTIVITY_NEW_TASK Aug 26 16:45:35 the keyboard crashes if I don't have it, since I don't actually have an activity it's just a stand alone keyboard Aug 26 16:48:08 have you seen any other keyboards do what you’re trying to do? Aug 26 16:50:25 s73v3r, yeah there's a few 'emoji' keyboards in the google play store, they prompt you with which app you'd like to send the emoji, then you choose which contact and then press send and the image will be inserted Aug 26 16:50:38 Maybe I need to specify a contact or something Aug 26 16:50:45 yup Aug 26 16:50:59 the ACTION_SEND intent isn’t intended to do what you’re trying to do right now Aug 26 16:53:38 hmmmm okay, is there an easy way (e.g. handled by the system) to pull up a dialog with a list of contacts? Aug 26 16:53:56 i believe there’s an intent Aug 26 16:54:13 what it is escapes me at the moment Aug 26 16:54:33 you might go to your pm and make sure this course of action is acceptable Aug 26 16:54:45 http://stackoverflow.com/questions/866769/how-to-call-android-contacts-list Aug 26 16:54:48 this looks promising Aug 26 16:55:23 s73v3r, oh lol I've been through it and they're adament this is the way to go. The sad part is I was brought on to do the iOS version of this app and then got put on to the android version too Aug 26 16:55:44 They're asking for estimates on how long it's going to take and what not, but I just dl/ed android studio for the first time last week Aug 26 16:56:30 6-8 weeks Aug 26 16:57:16 they gave me 16 hours for each version (iOS and Android)... Aug 26 16:57:31 that’s definitely not enough time Aug 26 16:57:46 although 6-8 weeks is a stack overflow joke Aug 26 16:57:54 oh gotcha! Aug 26 16:58:15 s73v3r, yeah agreed, not enough time, they know that, but I'm done in 5 days anyhow and back for a final year of school Aug 26 16:58:25 so I just stopped caring Aug 26 16:58:57 there used to be something out there where you could adjust some sliders that said stuff like “how many people” and “how many lines of code” and “how many soda machines are in the office” and it would give you an estimate for how much it would take Aug 26 16:59:08 but the joke is, it would always spit out 6-8 weeks Aug 26 16:59:16 lol Aug 26 16:59:58 well I appreciate the help so far, didn't know where to start with this issue Aug 26 17:00:22 the pick a contact thing is probably the closest you’ll get Aug 26 17:03:27 yeah that should work just fine Aug 26 17:03:35 as long as I can grab the number I should be good Aug 26 17:09:08 Hi what happens if i use implement location lisener and all position trackers are off or the device has no GPS are off Aug 26 17:09:47 is it better to use a standalone class that handels location then the main activety Aug 26 17:16:21 hi Aug 26 17:16:38 i have scrollview and setting fillViewport true, but the scrollview is not get all the screen Aug 26 17:20:02 android:layout_height="match_parent" Aug 26 17:20:28 fillViewPort affects the ScrollViews child, not the ScrollView Aug 26 17:22:43 i need put background color in my screen, but screelview is not getting all the screen, soh i have other background color Aug 26 17:25:10 I need to combine the results of two observables into a single observable but the return value of the combination function is the observable, not the wrapped object. zip and combineLatest seem to wrap the observable in the observable that gets passed in the stream Aug 26 17:29:36 hmm, looks like zip(a, b) { newObservable(a, b) }.flatMap { it } does the trick. Aug 26 17:34:30 anyone have any experience with the new "dispatchGesture" ability in AccessibilityService in API 24? I am basically trying to imitate a tap as a gesture, but my gesture is cancelled every time Aug 26 17:38:47 guys how do i get android gradle plugin version ? Aug 26 17:40:20 Check your build.gradle Aug 26 17:41:06 in build.gradle you can find the plugin from android. The version of gradle is in gradle/wrapper/gradle-wrapper.properties Aug 26 17:41:21 from cmd: gradle --version Aug 26 17:41:39 Hey, anyone got experience with using a DBFlow query bound to a recyclerview? Aug 26 17:41:56 Specifically, keeping it up to date while adding/removing items Aug 26 17:47:51 azv4: gradle --version is 3.0 Aug 26 17:48:12 what is your plugin version from your build.gradle file? Aug 26 17:48:16 its not the android gradle plugin ? Aug 26 17:49:07 azv4: this is how i set it create project --target android-24 --name HelloWorld --path ~/Public/Learn-Android/1-HelloWorld/ --activity MainActivity --package org.home.helloworld --gradle --gradle-version 3 Aug 26 17:49:23 I dont know what any of that is Aug 26 17:49:43 is that your answer to: "what is your plugin version from your build.gradle file"? Aug 26 17:50:16 pitiye: look in your build.gradle file. that’s where your answer is Aug 26 17:51:55 remember you have two different build.gradle files Aug 26 17:52:06 s73v3r: classpath 'com.android.tools.build:gradle:3.0' is this the one ? Aug 26 17:52:31 There's no version 3.0 of the android gradle plugin Aug 26 17:52:49 pitiye: https://developer.android.com/studio/releases/gradle-plugin.html Aug 26 17:52:54 SimonVT: i downloaded gradle 3.0 from official site Aug 26 17:53:03 Right, gradle Aug 26 17:53:05 there is 3.0 of gradle, but not the android plugin Aug 26 17:53:15 Gradle is a build system. Then Google made an android plugin for that build system Aug 26 17:53:24 Two completely different things, with different versions Aug 26 17:54:03 s73v3r: SimonVT ahaa , That is what i have been messing up with, Thanks for enlightening me Aug 26 18:02:11 <_genuser_> yay my hard to connect phone finally accepts wifi connections. Aug 26 18:09:34 Anyone? Aug 26 18:21:04 justJanne: Easier to ask the question, then ask if someone has relevant experience that would enable them to answer your question :D Aug 26 18:21:15 yiati: I already did Aug 26 18:21:20 about half an hour ago Aug 26 18:21:29 [19:41:39] Hey, anyone got experience with using a DBFlow query bound to a recyclerview? Aug 26 18:21:29 [19:41:56] Specifically, keeping it up to date while adding/removing items Aug 26 18:21:57 justJanne: What's the question? Aug 26 18:22:20 if anyone can point me towards resources for doing that. Aug 26 18:24:31 guys i get the following after ./gradlew tasks >> > Failed to notify project evaluation listener. > javax/xml/bind/annotation/XmlSchema Aug 26 18:24:36 how to fix it ? Aug 26 18:29:53 yiati: why so quiet now? Aug 26 18:30:10 Could be looking up the answer to your question Aug 26 18:30:52 If DBFlow doesn't have some kind of listener, then you need to notify yourself Aug 26 18:32:28 It does kinda have some kind of listener, but it’d be preferable to use an existing one Aug 26 18:32:28 That's how e.g. ContentProviders do it. Set a notification Uri on Cursors, then call notifyUpdate when changes happen Aug 26 18:32:40 SimonVT: is this > Failed to notify project evaluation listener. > javax/xml/bind/annotation/XmlSchema issue a repository related problem ? Aug 26 18:32:44 You could also change sqlbrite to work with your database Aug 26 18:32:48 SimonVT: I get a notification on INSERT/UPDATE/REMOVE, etc. Aug 26 18:32:59 pitiye: Never seen that Aug 26 18:33:04 the issue is that that doesn’t help me keep the dataset properly updated. Aug 26 18:33:05 Just have AS create a working project already Aug 26 18:33:22 Create a Loader then Aug 26 18:33:38 SimonVT: i don't want to use AS. coz i want to use VIM as much as i can Aug 26 18:34:00 Then have AS create a working project, since you can't figure that out yourself Aug 26 18:34:04 And use vim for everything else Aug 26 18:34:22 SimonVT: I have a loader, but can’t find the documentation for basically anything Aug 26 18:34:47 and Google is useless, just returning thousands of stackoverflow threads with the solution beign "load all results into an arraylist and use that" or "use REALM" Aug 26 18:34:58 CursorLoader does what you want, just with a ContentProvider Aug 26 18:35:16 I dont know if this is better, but it seems to be directly related to what you want, at least my understanding of it: http://stackoverflow.com/questions/36005369/why-does-a-dbflow-fed-recyclerview-get-updated-in-marshmallow-and-fails-to-do-so Aug 26 18:35:23 SimonVT: thanks for the tip Aug 26 18:36:24 Meliphas: which suggests just copying everything into an array list Aug 26 18:36:29 which is not possible in my case Aug 26 18:36:55 would the new DiffUtils help? Aug 26 18:37:15 https://medium.com/@nullthemall/diffutil-is-a-must-797502bc1149#.ko86n482k Aug 26 18:37:22 wait, that might still need arraylist Aug 26 18:37:23 the issue is that I don’t want to ever load the dataset into memory unless scrolling through it Aug 26 18:37:27 Yes, it does Aug 26 18:37:42 So you're trying to load as you scroll through the set? Aug 26 18:37:56 Correct, as any cursor based thing works Aug 26 18:38:15 but I need to be able to react to changes Aug 26 18:38:38 In what's presently displayed correct? Aug 26 18:39:16 If the dataset changes, the new items should be added or removed with animation and callback, and the displayed content should always be correct. Aug 26 18:39:35 Could you track the id of the records that are presently being displayed and load dynamically of a refresh, like a frame rate timing for a game, just the bits you want? Aug 26 18:39:52 off* Aug 26 18:40:18 Not exactly efficient processing wise, but could work Aug 26 18:42:29 No. Aug 26 18:42:31 that# Aug 26 18:42:37 that’s not easily possible Aug 26 18:42:47 and is completely orthogonal to how recyclerview works Aug 26 18:42:57 <_genuser_> Error:The number of method references in a .dex file cannot exceed 64K. Aug 26 18:43:08 <_genuser_> should this limit be hit very easily? It's a barebones project. Aug 26 18:43:09 _genuser_: have fun with multidex Aug 26 18:43:18 you likely imported a lot of libraries Aug 26 18:43:21 you’ve finally become a real android developer, _genuser_ Aug 26 18:43:26 <_genuser_> justJanne: I have seen it before and when I recompile, it goes away. Aug 26 18:43:32 <_genuser_> s73v3r: oh? Aug 26 18:43:50 hitting the dex limit is a rite of passage Aug 26 18:44:01 <_genuser_> I've seen it before and normally a recomplie makes it go away. I've noticed whenver AS gets stuck building for a long, it just chickens out and spits that message. Aug 26 18:44:08 <_genuser_> but hey, I don't mind reaching an elite club status. Aug 26 18:44:35 <_genuser_> the app is a nav drawer and 7 blank tabs so far. still in proof of concept step. Aug 26 18:44:38 Maybe you're close and instant run is pushing you over the limit Aug 26 18:45:08 Sorry, I'm very new to android. Just trying to throw you some ideas, not super adjusted to the view layout stylings of Android at present, but starting to work at it Aug 26 18:46:02 <_genuser_> SimonVT: can instant run put you over the limit by adding it's own debug methods? Aug 26 18:46:05 VerbalKint: how is your app going? Aug 26 18:46:12 <_genuser_> I do have a nice list of deps in gradle. Aug 26 18:46:58 <_genuser_> firebase-messaging, firebase-core, play-services, play-services-ads, play-services-auth Aug 26 18:47:09 <_genuser_> and I don't need hte -ads and -auth, so I'll comment those out for now. Aug 26 18:47:17 arancio: was just building the release apk :D Aug 26 18:47:22 I believe instant run works by creating extra classes that contains your code. The methods in your classes then calls through to those classes Aug 26 18:47:44 When they swap out code, they swap out in the generated classes Aug 26 18:47:51 (anyone correct me if I'm wrong) Aug 26 18:48:10 But most of the app is still WIP, but pretty much bugless Aug 26 18:48:12 Anyway, instant run adds more classes, and more methods Aug 26 18:49:25 i update my design library 24.2.0 to,but my text hint in my EditeTExt are white. Before the update i setted it to gray, but after update now is white Aug 26 18:49:30 how i can solve this? Aug 26 18:50:18 what’s your edit text style look like? and the edit text entry in xml? Aug 26 18:50:57 <_genuser_> SimonVT: thanks for the explanation. I'll remove references to pulling in the calligraphy lib and the services-{ads,auth} and see if it works. if not, I guess the dex stuff off the link. Aug 26 18:51:20 yes, edittext in xml Aug 26 18:51:29 Or just have minsdk 21 in your debug builds, native multidex Aug 26 18:51:34 i asked what they look like Aug 26 18:52:42 background white and hint is gray Aug 26 18:52:50 i mean post them Aug 26 18:52:53 when i remove the textinputlayout the colorhint work fine Aug 26 18:53:17 what is textinputlayout? Aug 26 18:53:51 A design library widget Aug 26 18:54:34 <_genuser_> SimonVT: it's that simple? Aug 26 18:54:48 <_genuser_> SimonVT: I have minsdk 19. I was hoping to include a few more phones and users... Aug 26 18:55:18 Sure Aug 26 18:55:40 You can still minsdk 19 in your release builds if you want, just proguard and stuff Aug 26 18:56:08 Could also use the support multidex, but I hear that's kind of slow Aug 26 18:56:31 <_genuser_> com.android.support:multidex:1.0.0 ? Aug 26 18:56:42 Yep Aug 26 18:59:27 <_genuser_> so that multidex is slower. but 19 might work out when I cut a release build. Aug 26 18:59:35 <_genuser_> is that just the basic "build apk" menu? Aug 26 18:59:43 <_genuser_> or would I have to proguard it first. Aug 26 19:00:52 I don't follow Aug 26 19:02:23 <_genuser_> you said, " You can still minsdk 19 in your release builds if you want, just proguard and stuff" Aug 26 19:02:35 <_genuser_> I was asking if the release build is built using "Build Apk" menu Aug 26 19:02:53 <_genuser_> ah, Generate Signed Apk, that's probably it. Aug 26 19:03:16 Uh, probably Aug 26 19:03:22 I usually just gradlew assembleRelease Aug 26 19:04:43 <_genuser_> oh, that's good ot know. Aug 26 19:08:15 Done! I submitted my app! Aug 26 19:08:46 Took me 2 goddamn months to learn Android programming and finish this goddamn thing Aug 26 19:09:49 VerbalKint: let me understand. First you publish you Android app, then you begin learning Android programming? Aug 26 19:10:01 your Aug 26 19:10:16 <_genuser_> is there anyway to use adb to determine target devices sdk? Aug 26 19:10:26 arancio: huh? Aug 26 19:11:16 VerbalKint: sorry, I misread what you wrote. I'm not well Aug 26 19:12:07 VerbalKint: Congratulations. I wish you become millionaire soon Aug 26 19:12:17 <_genuser_> found it on google. Aug 26 19:12:20 VerbalKint: the whole channel is rooting for you Aug 26 19:12:33 arancio: np. I know the effects of insomnia all too well. :D Aug 26 19:12:52 arancio: thanks, I guess :D Aug 26 19:13:24 does anyone know how to find the update frequency of getRssi() from the wifiManager connection info? Aug 26 19:13:44 <_genuser_> oh, I think the dex problem is what was keeping my device from installing the app and running. Aug 26 19:14:09 Speaking of insomnia, I gtg. Good night, folks. Aug 26 19:14:10 <_genuser_> one of the devices is sdk 19. and the app starts and just quits. doesn't even get to a blanket try/catch in oncreate. Aug 26 19:15:28 Yay, my n9 got nougat, now when's the 6p turn Aug 26 19:15:59 okay, at this point, I’m willing to rewrite it again, so I’ll rephrase my question: Aug 26 19:16:25 when I scheduled a fixed rate task, at 10 Hz, it didn't seem to update that quickly Aug 26 19:16:46 simple ORM to persist android classes to a database, and bind a recyclerview to a query over that database, so it updates when items are inserted/removed, with animations, without causing a full reload of data into ram Aug 26 19:16:56 My iPhone 6s got Nougat too. Do I have to worry? Aug 26 19:17:06 If anyone knows any solution for that, please tell me, I’m kinda desperate now Aug 26 19:17:13 so I'm assuming it just gets the last available information.. but I have no idea if that is updated at some minimum frequency according to a spec.. Aug 26 19:17:36 justJanne: when you find a solution for that please email a copy to me, thanks Aug 26 19:18:08 <_genuser_> alright, adding multidex support. let's see how this works. Aug 26 19:18:19 pfn nice Aug 26 19:18:26 how about my n6? Aug 26 19:18:34 still waiting.. Aug 26 19:18:48 pfn: you’re one of the wisest people in this channel, have you encountered a solution solving that, and if yes, which? Aug 26 19:18:50 arancio: haha nice Aug 26 19:19:23 s/linux/android/g on all the things Aug 26 19:19:46 justJanne: I would suggest you to break your problems into smaller ones. Smaller problems are easier to solve and more likely to receive attention in the channel Aug 26 19:20:21 Hm. Aug 26 19:20:35 snapfractalpop, it's based on the scan rate of wpa_supplicant Aug 26 19:20:40 I'm not sure if there even is a simple solution Aug 26 19:20:51 Without modifying the db layer Aug 26 19:20:51 dragorn: this is the connected wifi.. Aug 26 19:20:58 if that matters Aug 26 19:21:16 ah. I wouldn't expect more than once a second, and maybe less Aug 26 19:21:35 I mean, it can't be such a rare problem Aug 26 19:21:50 in connected mode it doesn't get per-packet signal data (on most chipsets) though it's in theory possible, and you dont' want per-packet anyhow Aug 26 19:22:02 so it's usually doing a probe of the card to get the signal data from there Aug 26 19:22:03 dragorn: just found something online.. Aug 26 19:22:15 looks like it will only poll once every 3 seconds Aug 26 19:22:24 sounds totally reasonable Aug 26 19:22:41 your wifi signal values don't really change that quickly, usefully Aug 26 19:22:42 dragorn: yeah.. I can have my UI relax a little then.. Aug 26 19:23:12 I just wanted to have it updating slightly more frequently than the actual information was available Aug 26 19:23:32 that way, it doesn't lag too far behind the actual data Aug 26 19:23:57 snapfractalpop, at the per-packet level, you'll get changes based on packet type and data rate - beacons for instance are, on most networks, 1mbit encoding, and the faster your data encoding the less signal to noise it usually carries (which are why beacons are sent slowly, b/c w/out them you have no network) Aug 26 19:24:24 snapfractalpop, so doing literal per-frame sampling is a problem, and when you have to do a callback to the firmware of the card to get the signal measurements you won't be doing it too often (as an OS function) Aug 26 19:25:04 I know this is likely frowned upon, but I'm trying to call a hidden method. I've gotten as far as getting a reference to the service object, and should have a reference to a INetworkManagementService object. Aug 26 19:25:07 dragorn: yeah.. I'm letting android and linux handle all that.. I just wanted an idea of how often it can be expected to actually return a different number Aug 26 19:25:29 I want to call a method through reflection. Aug 26 19:25:32 because if I match that with my task rate, it could potentially double the lag at worst Aug 26 19:25:44 at best, it would be right in sync Aug 26 19:25:45 snapfractalpop, yeah, sounds sane. I think there may even be a callback you can use to get told when it changes but I could be wrong Aug 26 19:25:51 snapfractalpop, yeah, nyquist is a bitch that way Aug 26 19:26:35 snapfractalpop, if you want to be strictly correct you'd sample every 1.5s then :) Aug 26 19:26:51 snapfractalpop, also remember android does a lot of fuzzy timing, especially in 6 and 7 Aug 26 19:27:14 so its likely to defer some of your scheduled tasks to a later timeslot w/ other tasks, *especially* if the device screen is off Aug 26 19:27:24 so if you're logging as well as displaying, that'll be a thorn in your side for sure Aug 26 19:28:01 dragorn: the way I'm looking at it is, at worst, I update the ui just before the data updates. this would mean I have my interval + 3s Aug 26 19:28:17 so.. I'm ok with having it be 3.5 s.. Aug 26 19:28:28 so, 0.5 s interval for ui Aug 26 19:29:17 if the data was available at 10Hz.. I'd probably want to make my ui interval something lower.. maybe 100 millis Aug 26 19:29:22 or something like that Aug 26 19:29:55 dragorn: I'll look into the callback.. Aug 26 19:30:21 snapfractalpop, it'd be in either wifimanager or connectivitymanager if it exists, but i may have made it up Aug 26 19:30:26 I've noticed that the little pizza slice indicator in the notifications area updates pretty much right away Aug 26 19:30:56 I'm not sure if they are just polling very frequently though Aug 26 19:36:32 So, I'll rephrase my question even broader, any persistent storage on android where I can add and remove datasets, and bind that to a recyclerview to automatically update the views? Aug 26 19:36:37 dragorn: there is something called RSSI_CHANGED_ACTION Aug 26 19:36:55 I'm looking into that now, instead of polling Aug 26 19:37:48 justJanne, I'd imagine you could do it w/ a sqlite and a content provider? Aug 26 19:38:35 <_genuser_> ok, I have added multidex lib, enabled the application name blah blah. and it's still failing to build when trying to install on sdk19 device. Aug 26 19:38:41 <_genuser_> argh. Aug 26 19:38:53 dragorn: with the recyclerview animations? Aug 26 19:39:15 Just using difflib or reloading the dataset is easy, but properly handling changes... Aug 26 19:39:50 justJanne, been a while since i've done any of that, you'd have to do some glue of course. I don't have anything smarter to offer anyhow :) Aug 26 19:42:49 anyone know how to cross compile ltrace for android on AARCH64 Aug 26 19:43:38 justJanne: pretty sure theres in integration with Realm and Rx that does just that Aug 26 19:43:42 an* Aug 26 19:45:22 I tried cross compiliing on ubuntu and it complains about not finding elf.h or gelf.h Aug 26 19:46:06 I was able to cross compile elfutils but I can't compile them together Aug 26 19:47:11 when installing android studio, he can't detect my JAVA_HOME variable correctly, i'm on linux mint. any help ? Aug 26 19:48:23 orbyt: I tried that before, realm only sends a "dataset changed" notification, but not what changed Aug 26 19:48:29 So you have to use difflib again, Aug 26 19:48:44 Loading the entire dataset again and running in O(n²) Aug 26 19:48:46 is there a way to remotely trigger a GCM/FCM token invalidation for all registered devices? Aug 26 19:54:00 <_genuser_> ok, I see why you all are saying welcome to the club of multidex devs. Aug 26 19:54:13 <_genuser_> it's annoying, doesn't give any reasonable messages and just cries. Aug 26 20:00:08 Great, AS hangs while installing ndk Aug 26 20:09:46 justJanne: did you solve your database notification problem? Aug 26 20:09:57 arancio: no. Aug 26 20:10:10 apparently, no one ever in the entire world has solved that problem, Aug 26 20:10:19 because otherwise I’d be able to find something online, Aug 26 20:10:27 or someone on this channel who could answer that question Aug 26 20:14:53 justJanne: You are a pioneer. You should be proud. You are about to write a page in the history of automated computing Aug 26 20:15:03 No, arancio, I don’ Aug 26 20:15:07 t have the time for that Aug 26 20:16:38 dragorn: the RSSI_CHANGED_ACTION works Aug 26 20:16:42 thanks for the tip Aug 26 20:16:58 now I don't have to worry about polling at all.. Aug 26 20:17:25 I always feel a little dirty using a polling solution.. even though I know, that deep down, that's how things kind of work anyway Aug 26 20:17:28 cool! Aug 26 20:18:16 i'm trying put and run a binary on my android... adb push rsync /sdcard/ .. but when i run it i get permission deneid. what to do? are there some restrictions i'm not aware of (e.g. not running executables from sdcard etc.)? Aug 26 20:18:45 also.. tried putting it in /system/xbin .. but it's read-only Aug 26 20:18:59 also tried putting it in /data/data/ Aug 26 20:19:46 .. also persmission denied (on execute) .. also.. i am root for all this. Aug 26 20:25:58 zarac: first, do chmod a+x on that file Aug 26 20:26:02 also, tried putting it in /data/local .. but when ./rsync .. sh tells me command not found Aug 26 20:26:04 second, go to #android-root Aug 26 20:26:26 is this root specific? Aug 26 20:27:05 btw. it's chmodded 751 Aug 26 20:27:22 also, thanks : ) Aug 26 20:27:35 how to use a variable called mref that's defined on the MainActivity from a fragment? Aug 26 20:27:40 any wayto reference it? Aug 26 20:28:17 make some getRef() method in Activity Aug 26 20:28:34 justJanne: chmod a+x results in bad mode.. seems it needs number-format (strange..no?) Aug 26 20:28:49 second, go to #android-root Aug 26 20:29:02 then you can use it by i.e. ((MainActivity)getActivity()).getRef() simplified Aug 26 20:29:25 does it have to be public? Aug 26 20:29:53 and static?.. Aug 26 20:30:06 the ref no... Aug 26 20:30:13 cause I'm not instantiating the Activity Aug 26 20:30:17 the method Aug 26 20:30:18 umm Aug 26 20:30:19 I meant Aug 26 20:30:40 In you example you are using a static method Aug 26 20:30:45 *your Aug 26 20:30:48 no i dont Aug 26 20:31:04 fragment has getActivity() and getContext() methods Aug 26 20:31:11 which point to parent activity Aug 26 20:31:15 why are you casting a method to MainActivity type? Aug 26 20:31:33 because normal activity doesnt have getRef() i suppose Aug 26 20:31:49 <_genuser_> dang power outage Aug 26 20:31:59 <_genuser_> ok, thanks fellers for the suggestions. the multidex thing got it working on sdk19. Aug 26 20:32:34 but wait, so the method Aug 26 20:32:46 has to be public? Aug 26 20:33:48 yes Aug 26 20:34:11 private variable, public method. thats the idea of getters/setters Aug 26 20:34:37 perfect Aug 26 20:34:41 thank you very much Aug 26 20:34:52 I have another question, have you ever use a storage service Aug 26 20:34:59 like firebase or amazon s3? Aug 26 20:35:06 I have to host images there Aug 26 20:35:16 and get them and display them using picaso Aug 26 20:35:46 no Aug 26 20:35:55 do you know if I can display a picture in picasa using the firebase url? Aug 26 20:35:56 but getting images using url using picasso is trivial Aug 26 20:36:00 cause firebaseuses atoken Aug 26 20:36:40 tokens? oh, i have never done that Aug 26 20:52:44 Hi MoshDev Aug 26 20:52:57 arancio: Hi Aug 26 21:13:55 <_genuser_> developers! Aug 26 21:14:19 <_genuser_> use user's phone and verify on startup and make it their userid? like whatsapp or tinder? Aug 26 21:14:39 <_genuser_> or have them login using facebook, twitter, google, accounts, or sign up for a new one? Aug 26 21:16:37 is it something that one is likely to access on multiple devices? Aug 26 21:17:34 <_genuser_> it's yet another messaging app. so ideally the phone addicted (foaming at the mouth) generation would only be using it on their devices. Aug 26 21:17:50 <_genuser_> but it's possible, they might want to use it on their tablets, OR change their phoens. Aug 26 21:18:00 <_genuser_> and then have to deal with a migration process like you do with whatsapp. Aug 26 21:19:20 well, whatsapp has the encryption thing as the reason why they only do one device at a time Aug 26 21:20:05 <_genuser_> oh, I'm out of the loop on that. what is that? Aug 26 21:20:22 <_genuser_> they use your phone number as key (or part of key) to encrypt your communication? Aug 26 21:20:36 no, but the key is stored on the device, not on their servers Aug 26 21:20:41 so another device wouldn’t have that key Aug 26 21:21:23 <_genuser_> oh, I see so the private key is stored locally. Aug 26 21:21:39 <_genuser_> from what I understand if you didn't know you have to initiate a migration process before losing old device, you're sol. Aug 26 21:23:20 anyways, what I was getting at, is unless you have a really good reason not to, don’t choose something that’s going to limit a user’s ability to use the service from multiple devices Aug 26 21:23:44 <_genuser_> sure, that's good advice. Aug 26 21:24:05 <_genuser_> I guess I wasn't sure if there's a reason why app makers are dying to get your phone number. Aug 26 21:24:36 <_genuser_> I'll just be using it with my friends initially, but hey I'll publish it and if others want to use it, I won't complain. Aug 26 21:30:12 I wish asm could detect @Deprecated methods Aug 26 21:33:47 Wondering if someone can clean up some misunderstanding with fragments. I have 2 activities: MainActivity, and DetailActivity, and a fragment, ExampleFragment. ExampleFragment is attached to DetailActivity in DetailActivity's onCreate method using beginTransaction, commit() etc Aug 26 21:34:30 When I create an intent to start a new DetailActivity in MainActivity, using Intent i = (this, DetailActivity.class), why is it that I can use getIntent() in ExampleFragment? Aug 26 21:35:07 Is it because they are attached, and if I didn't have the beginTranaction etc in my onCreate, then I wouldn't be able to use getIntent()? Or is it another reason Aug 26 21:37:34 Oh it's because I'm using getActivity().getIntent(), but what if the fragment is attached to multiple activities? Aug 26 21:39:05 oh, it shows up as Opcodes.DEPRECATED, hrm, the info isn't so useful for me though :-/ Aug 26 21:41:32 Faizan: a fragment can only be attached to one activity at a time Aug 26 21:41:43 cause there can only be one activity running at a time Aug 26 21:42:24 Ah gotcha, so although I can use beginTransaction, commit() etc on multiple activities, using the same fragment, ultimately at most one will be active at any time (the one the user is currently seeing) Aug 26 21:42:35 and that's what getActivity() returns Aug 26 21:42:44 or is it bad practice to use the same fragment for multiple activites? Aug 26 21:43:01 that’s what you’re supposed to do Aug 26 21:43:12 a fragment shouldn’t depend on any specific activity Aug 26 21:43:26 I thought fragments were more to make one particular activity more modular Aug 26 21:43:37 I would, however suggest that maybe you shouldn’t use getIntent on the fragment, and instead have the activity pass the values when the fragment is created Aug 26 21:44:03 Could you give an example of what you mean? Aug 26 21:44:37 When exactly is the fragment created? I assume when you .commit() it in the activity's onCreate method? Aug 26 21:44:42 look up the newInstance pattern Aug 26 21:45:28 Okay Aug 26 21:45:44 Would you be able to confirm/deny that though^ Aug 26 21:46:03 i would deny that Aug 26 21:46:17 What would your answer to that be? Aug 26 21:46:38 my answer would be to look up the newInstance pattern. it’ll answer most of your questions Aug 26 21:47:04 okay Aug 26 21:48:00 gotta go afk.. dragorn thanks for your help Aug 26 21:51:36 s73v3r: I've read up on it but I can't seem to find any discussion on the benefits of the newInstance pattern over the way I'm currently doing it Aug 26 21:52:00 with newInstance, you get type safety, and you decouple the fragment from the activity Aug 26 21:52:37 plus, due to the lolcycles with fragments, sometimes activities disappear Aug 26 21:52:54 Right okay Aug 26 21:52:58 decoupling is always nice Aug 26 22:03:53 java.lang.IllegalArgumentException: Activity DetailActivity does not have a parent activity name specified. (Did you forget to add the android.support.PARENT_ACTIVITY element in your manifest?) Aug 26 22:04:04 I thought I didn't need the meta data for > 4.0? Aug 26 22:05:02 Guys what kind of application are you working on? Aug 26 22:05:16 Weather app Aug 26 22:05:47 Weather control from your smartphone. Cool Aug 26 22:07:02 Well, maybe you are starting with weather reporting in version 1.0 Aug 26 22:07:17 Nah going straight to being able to control the weather Aug 26 22:07:20 I don't mess around Aug 26 22:07:35 Ah, ok. :-) Aug 26 22:07:54 Anyhow, if I want to add an up button to my activity, is setDisplayHomeAsUpEnabled(true); Aug 26 22:08:07 is that necessary? Aug 26 22:08:18 it seems to work without it by just defining parent activity in manifest Aug 26 22:08:27 but docs say I need to include that so I'm confused Aug 26 22:08:30 I guess it depends on the version Aug 26 22:08:35 of the API Aug 26 22:08:47 that's why you are confused, maybe Aug 26 22:08:56 but I just read about it. Never actually used it Aug 26 22:09:11 it doesn't mention anything about needing to specify that only for certain API's or anything Aug 26 22:10:32 The topic is called "ancestral navigation" Aug 26 22:11:00 if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.HONEYCOMB) { Aug 26 22:11:00 getActivity().getActionBar().setDisplayHomeAsUpEnabled(true); Aug 26 22:11:00 } Aug 26 22:11:30 I'm not even targetting honeycomb Aug 26 22:11:34 i'm targetting 4.1+ Aug 26 22:11:41 Page 263 of "Android Programming. The Big Nerd Ranch Guide" Aug 26 22:12:06 what version is honeycomb? Aug 26 22:12:17 3 Aug 26 22:12:29 I'm so confused why it works without that Aug 26 22:12:30 so you have to do it. you have to do it from 3 up Aug 26 22:12:44 because it had a different purpose earlier Aug 26 22:12:58 Like I haven't enabled it and the back button works perfectly Aug 26 22:12:59 api 23 Aug 26 22:14:11 "To enable the app icon to work as a button and get the caret to appear in the fragment’s view, you must Aug 26 22:14:11 set a property on the fragment by calling the following method: Aug 26 22:14:11 public abstract void setDisplayHomeAsUpEnabled(boolean showHomeAsUp) Aug 26 22:14:11 This method is from API level 11, so you need to wrap it to keep the app Froyo- and Gingerbread-safe Aug 26 22:14:11 and annotate the method to wave off Android Lint." Aug 26 22:14:17 that's what the book says Aug 26 22:14:57 Oh but that's for a fragment Aug 26 22:15:01 what about for an actual activity? Aug 26 22:15:09 or should it not matter? Aug 26 22:15:45 1) you do getActivity() so you are working on the activity 2) that button is unique for the activity Aug 26 22:16:31 Did I contribute to the development of a weather control app for Android? Aug 26 22:17:14 Idk, did you? Aug 26 22:18:49 I wish I had. It would boost my ego which needs a boost. Aug 26 22:19:17 Lol Aug 26 22:19:22 I'm so damn confused with this Aug 26 22:20:29 Do you have that book? Aug 26 22:21:03 No, but I'm thinking maybe it's the theme I'm using Aug 26 22:30:27 hi all! they sent me from #android to here :) is there docs to compile my own android? :) I'd like to buy a nexsus device, get the latest android but without google apps :) Aug 26 22:30:48 I'm OK with compiling it everytime a new version out there, just wanna make sure docs are out there, etc. Aug 26 22:31:20 they sent you to the wrong channel Aug 26 22:31:32 you’d want #android-root, or maybe an xda channel if they have one Aug 26 22:31:38 this is app development Aug 26 22:31:57 s73v3r: ah so sad :/ ok I'll check for other channels. thanks s73v3r ! :) Aug 26 22:34:33 antranigv: don't discard the opportunity to forget about compiling Android and start writing apps, instead. You could become millionaire. Aug 26 22:35:12 arancio likes to brag because he made $8million from first month of his app Aug 26 22:35:51 somebody already started porting nougat to n7 2013, why couldn't google do that Aug 26 22:36:17 s/couldn't/didn't/ Aug 26 22:36:21 g00s: it’s been explained quite a bit Aug 26 22:36:35 g00s: do you know if its compulsory to set setDisplayHomeAsUpEnabled(true); on my onCreate method to have a carat as back? Aug 26 22:36:47 Google docs seem to say it is, but mines works perfectly fine without it Aug 26 22:36:50 and hence I'm so confused Aug 26 22:37:41 "Note that setting this property does not wire the button to go “up.” It only enables the icon to Aug 26 22:37:41 be some kind of button and displays the caret." Aug 26 22:38:22 from the same book Aug 26 22:38:30 arancio: so you are suggest me to write android apps? Aug 26 22:38:51 yup. it’s ever so profitable Aug 26 22:39:26 arancio: I think the property that makes it actually go back is defining the parent activity in manifest Aug 26 22:39:33 it's only java for now, right? Aug 26 22:39:42 yup Aug 26 22:39:45 it's just that I do hate java (no offence, I have my views) Aug 26 22:39:55 Wow man we're all very offended Aug 26 22:39:58 leave this channel Aug 26 22:40:02 Faizan: sorry :D Aug 26 22:40:09 altho my GF is a javist :) Aug 26 22:40:28 it's just a very big language Aug 26 22:40:32 what about Go? Aug 26 22:40:36 is it available now? Aug 26 22:40:36 nope Aug 26 22:40:37 arancio: do you have a link to this book you speak of Aug 26 22:40:38 Java Aug 26 22:40:49 C aswell if you use xamarin Aug 26 22:40:51 i think Aug 26 22:41:02 idk what i'm talking about i've been developing for only 2 weeks Aug 26 22:41:02 :D Aug 26 22:41:24 I was snipping the pages that you need Aug 26 22:41:35 C? Aug 26 22:41:41 im sooooooooooo confused Aug 26 22:41:45 I'd be happy to use C for android programming Aug 26 22:42:07 C's my favourite languafge Aug 26 22:42:11 I love freeing memory manually Aug 26 22:42:18 Faizan: ah me too! Aug 26 22:42:27 valgrind #1 debugger Aug 26 22:43:32 not even C++? Aug 26 22:44:12 you can use the NDK to use those languages, but it’s mostly only used for games and libraries. you’re generally not going to make an app with them Aug 26 22:45:02 Faizan: btw, in "old" mobile OSs like maemo, you could program in any language just like on a desktop. then make the GUI with Qt or GTK :) wish if that was available to Android Aug 26 22:45:20 How old is maemo? Aug 26 22:45:23 Never heard of it Aug 26 22:45:31 antranigv, there's a reason Maemo failed Aug 26 22:45:32 Faizan: it was nokia's last OS :) Aug 26 22:45:46 Ah gotcha Aug 26 22:45:49 and being able to write desktop apps on Maemo was among them Aug 26 22:46:09 sorry bro, but as a hacker, I'd like to be able to use anything anywere Aug 26 22:46:19 yeah, no Aug 26 22:46:23 good for you, most users don't Aug 26 22:46:26 that sounds good up until you actually try to use it Aug 26 22:46:28 now I see that onepluse3 has 6 GB of RAM :( Aug 26 22:46:32 most users want a usable interface Aug 26 22:46:41 but what's the use if I can't do everything with it. heh Aug 26 22:46:53 plenty Aug 26 22:47:21 I mean make something for users, and make something at least once a year for hackers Aug 26 22:47:35 When I use the up button to go to parent activity, how can I make it so that it shows the parent activity's last settings, and not its default settings? Aug 26 22:47:51 Faizan: https://postimg.org/gallery/i3dv1y8y/f8a5795d/ Aug 26 22:47:55 the content changes to whatever the default in layout is Aug 26 22:48:19 i'll look at thank arancio thanks Aug 26 22:48:39 You're welcome Aug 26 22:48:59 antranigv, you already can do everything with it Aug 26 22:49:14 run a debian chroot if you're that desperate Aug 26 22:49:21 pfn: why a chroot? Aug 26 22:49:28 why not debian itself? :) Aug 26 22:49:42 because that's stupid Aug 26 22:50:02 for me it's a political issue, I have a device and I should be able to do whatever I want with it Aug 26 22:50:10 it's a computer after all Aug 26 22:50:15 it’s a phone Aug 26 22:50:20 it's more powerful than my last laptop lol Aug 26 22:53:39 then do it Aug 26 22:53:40 antranigv: you sound like you just been thawed from a glacier with Captain America Aug 26 22:53:52 just don't bother asking here. because no one cares Aug 26 22:54:06 but without that special injection Aug 26 22:54:17 pfn: I wanted to get information, since the devs know best about it's OS :) Aug 26 22:54:51 and without shield Aug 26 22:55:08 arancio: hehe Aug 26 22:59:23 answer: devs don't give a flying poop about being able to use android as a Linux computer Aug 26 23:04:59 arancio: http://stackoverflow.com/questions/12276027/how-can-i-return-to-a-parent-activity-correctly Aug 26 23:05:12 Have a read on donald's post, the one with 7+ Aug 26 23:05:27 He says you only need the setHomeAsUpEnabled on lower versions, and its a given on higher versions Aug 26 23:30:58 Faizan: they say nothing different from what's told in the book snippets Aug 26 23:31:48 Meh Aug 26 23:31:49 idk Aug 26 23:38:25 Leeds: Hi! I think I'm making friend, finally Aug 27 00:04:47 I have seen some old news articles and such that talk about android WYSIWYG development environment that will basically let you build an app without knowing java (at least not much Java)... do they exist and do they work and what about cross platform development for ios Aug 27 00:12:45 donavan01: you're thinking of app inventor, probably Aug 27 00:13:21 app inventor ... is that a program or a class of programs Aug 27 00:14:10 it's a specific thing, now hosted by MIT - but it's mostly an educational tool, not meant for making real-world apps Aug 27 00:14:24 http://appinventor.mit.edu/explore/ Aug 27 00:14:52 "Florida Middle Schoolers Create App to Combat Concussions" Aug 27 00:15:00 with app inventor Aug 27 00:15:09 I know why there's Log.d() Log.w() and Log.e(), but why is there Log.wtf()? Aug 27 00:15:19 What does that do? Aug 27 00:15:43 "What a Terrible Failure" Aug 27 00:16:28 it's right there in the docs: "Report a condition that should never happen." Aug 27 00:16:53 donavan01: anyway you can use both Siri and Cortana do develop mobile applications, nowadays. Just talk to them about your needs and what your application should do in detail and they will build the app. That's why this channel is so silent. There is no much work anymore for android developers. Aug 27 00:17:37 be careful. talk slowly. think before you ask. Aug 27 00:18:37 "Three 15 year old students developed an application to denounce street harassment" Aug 27 00:18:46 with app inventor Aug 27 00:27:04 Leeds: it's a schoolboyish way to give you the equivalent of an assertion failure Aug 27 00:27:37 an error is one thing, an assert/wtf is catastrophic system failure Aug 27 00:28:17 "schoolboyish": the word I was looking for Aug 27 00:28:32 myke: good job! Aug 27 00:28:43 \o/ Aug 27 01:01:11 arancio: "sophomoric"? :-) Aug 27 01:04:49 jjuran_: "sophomoric" is more than "schoolboyish". It would be a compliment in this case Aug 27 01:04:59 heh Aug 27 01:35:15 "Everett students publish apps for turtle conservation and healthy eating" https://cspathways.org/2016/08/02/everett-students-publish-apps-for-turtle-conservation-and-healthy-eating/ Aug 27 01:35:23 with MIT App Inventor Aug 27 01:35:37 Guys what are we doing here? Aug 27 01:38:03 "Grade Six girls from North Vancouver create Hike Safe app" Aug 27 01:47:15 installing android studio for linux (mint) anyone know how android check variables ? i'm getting this error "'tools.jar' seems to be not in Android Studio classpath. Please ensure JAVA_HOME points to JDK rather than JRE." Aug 27 01:51:16 alex1a: what do you mean with "how Android checks variables"? Aug 27 01:51:47 alex1a: do you know what environment variables are? Aug 27 01:53:29 https://docs.oracle.com/javase/tutorial/essential/environment/paths.html Aug 27 01:54:22 http://stackoverflow.com/questions/2973624/setting-java-classpath-in-linux Aug 27 01:59:21 i'm editing /etc/environment, adding a newline JAVA_HOME to /usr/lib/jvm/java-8-openjdk-amd64/jre/ Aug 27 01:59:50 i should logout now and try, but i already do this earlier and studio.sh tells me the same Aug 27 02:01:54 arrancio, this was my problem > http://stackoverflow.com/questions/17033726/android-studio-error-after-studio-sh Aug 27 02:04:16 I think I've gotten closer to successfully writing a native android app Aug 27 02:04:52 The linker is complaining, something about 'unable to find native library' Aug 27 02:05:19 Anyone here run into that before? Aug 27 02:12:05 "Of over 700 Nexus 6P and 5X users polled, 45% claim significantly reduced Battery Life on Nougat" Aug 27 02:12:14 lol Aug 27 02:16:20 Why didn't my Nexus 5X receive the update? Aug 27 02:16:54 well, reading that I'd say: How lucky I am! My Nexus 5X didn't receive the update! Yay! Aug 27 02:34:05 anyone know about fonts? i'm still having trouble getting some obscure unicode points to display correctly Aug 27 02:34:23 (on the Keys of a KeyboardView) Aug 27 02:35:29 greves - not sure about KeyboardView specifically, but have futzed with truetype fonts a bit, what's the question though? Aug 27 02:36:35 are the installed fonts different per every manufacturer? does every phone have roboto? what is the default font used on a KeyboardView? Aug 27 02:37:16 so, unless you're actually bundling the fonts yourself - no guarantee what's going to be on any given device. Aug 27 02:37:52 ok so i can include fonts, thats not a problem - but how can i use more than 1 of them? Aug 27 02:38:00 like "try A.ttf then B.ttf" Aug 27 02:38:04 aah Aug 27 02:38:06 fallbacks Aug 27 02:38:33 hm, I'm not sure there's a straightforward way to do that - I assume you want to use glyphs from B that are not in A? Aug 27 02:39:03 The 'easy' way might just be to merge them - potentially fontforge might have a way, but that might be simpler, depending Aug 27 02:40:03 hm, ok, so no fallbacks? Aug 27 02:40:10 do you know anything about combining characters? Aug 27 02:40:26 like ligatures, or something else? (e.g. vowels in hindi) Aug 27 02:40:57 ffi/ffl that sort of thing Aug 27 02:41:36 pretty damn cool https://photomath.net/en/ Aug 27 02:42:33 I can talk about ligatures :) but not about unicode combining characters. I'm actually a bit surprised roboto isn't adequate, it's usually pretty extensive - but simplest might be to import glyphs from other fonts Aug 27 02:42:49 I'll show you, just a sec Aug 27 02:43:53 ah, so you dont know combining characters? =/ Aug 27 02:43:54 http://imgur.com/a/svVWu Aug 27 02:44:14 thats how it displays on android 4 Aug 27 02:44:17 (in emulator) Aug 27 02:45:37 and second image is on android 5+ Aug 27 02:47:12 right - don't know much about it unfortunately, but out of curiosity, does it type correctly though? (i.e., when combined with a preceding appropriate character?) Aug 27 02:47:15 if i use Roboto-Regular.ttf downloaded from google, then i see a bunch of placeholder boxes Aug 27 02:47:54 so for combining characters, it's supposed to be used in conjunction with other glyphs right? Typically the font will have suitable instructions to offset the glyph Aug 27 02:48:04 (kinda like extreme kerning, I suppose) Aug 27 02:50:06 * kbs re-parses :-) Aug 27 02:50:26 are you saying that when you use roboto, the images you showed are _not_ what you see? Aug 27 02:50:27 XK! Aug 27 02:51:04 kbs: so, the symbols that are not showing up on the keys are also not showing up in the input fields on the emulator Aug 27 02:51:20 but i have had some user reports that they *do* show up on their input fields Aug 27 02:51:43 so, it seems the problem is with the emulator missing a required font but those users who have reported the issue (3 reports, same issue) do have the fonts Aug 27 02:52:38 I'm then a bit confused about how roboto fits in to this, sorry :-) In all these reports, it's just the straight-up default font then? Aug 27 02:53:26 yes, i haven't pushed any font-modifying code Aug 27 02:54:19 ah. ok, then that part (although I dunno much about keyboardview specifically) seems reasonable - you're at the mercy of whatever system font is in use Aug 27 02:54:53 so you were able to get keyboardview to use roboto, but in that case the image above is _not_ what you see, is that also correct? Aug 27 02:55:44 ok, so with no modifications on android 4 and 5+, i get those 2 images you saw, respectively Aug 27 02:55:53 so 5+ seems to work fine on the emulator at least Aug 27 02:56:39 for 4, if i replace the app-wide font in TypeFace.DEFAULT to `Roboto-Regular.ttf` (which i think is the default roboto from google), then i see boxes Aug 27 02:56:56 i.e., where the diacritics should be (combining characters), there are boxes Aug 27 02:57:10 in some spots boxes, in some spots still nothing Aug 27 02:59:40 I'm not sure what font is installed on the emulators. I'm looking at the speciman book at https://fonts.google.com/specimen/Roboto and there are some, but not a whole lot of diacritics - so it doesn't seem complete **** ENDING LOGGING AT Sat Aug 27 02:59:58 2016