• Breaking News

    [Android][timeline][#f39c12]

    Monday, January 25, 2021

    Weekly Who's Hiring Thread - January 25, 2021 Android Dev

    Weekly Who's Hiring Thread - January 25, 2021 Android Dev


    Weekly Who's Hiring Thread - January 25, 2021

    Posted: 25 Jan 2021 06:00 AM PST

    Looking for Android developers? Heard about a cool job posting? Let people know!

    Here is a suggested posting template:

    Company: <Best Company Ever>
    Job: [<Title>](https://example.com/job)
    Location: <City, State, Country>
    Allows remote: <Yes/No>
    Visa: <Yes/No>

    Feel free to include any other information about the job.

    submitted by /u/AutoModerator
    [link] [comments]

    Results of the 2021 /r/AndroidDev rules survey!

    Posted: 25 Jan 2021 09:59 AM PST

    Hey all,

    A month or so ago I asked for feedback on our rules, and got 61 responses (full spreadsheet). I was hoping for more, but I understand everyone was busy over xmas / new year! The survey also wasn't as visible as it could have been.

    In this post I'll discuss the results, and propose changes based on the data gathered. Keep in mind there was no username validation (so don't blindly trust the stated author!), and it's a very small sample size. Click the links for pretty charts etc, fresh from Google Forms.

    Check the very bottom of the post for 3 possible changes I'd like your thoughts on!


    General results

    • People are generally happy with the subreddit (most rated 7-8/10).
    • General feedback is mixed & varied. Some feel there is not enough for beginners, others too much!
    • Most people visit daily, with slightly fewer visiting weekly.
    • 58.3% of users have been an Android dev for 5+ years, with 31.7% for 2-4 years.
    • 56.9% of users didn't know we had a Discord, but 24.1% are a member.
    • Users feel high vote / comment rule breaking posts should be kept up, with no real consensus on what counts as "high".
    • People feel a survey 1-2 times a year is good, I'll stick to once a year for now.

    Rules

    Rule 1: Must be related to Android Development

    • Everyone agreed with this rule at least 7/10, with 71.7% agreeing 10/10.
    • Most users felt that posts about cross-platform technology or general mobile dev were OK.
    • Most users felt that posts about Android apps or Google's other businesses were off-topic.
    • Generally people were happy with this rule, with an equal number of complaints about it being too strict / not strict enough.

    Rule 2: No "help me" posts

    • Most people agreed with this rule, but some strongly disagreed.
    • People felt generic questions about how to enable viewbinding / fix a crash / manifest values were rule breaking.
    • People felt "discussion" topics were valuable, as were posts sharing a found solution.
    • There were a lot of interesting proposals in the feedback, with some advocating questions being allowed, others only advanced questions being allowed. The topic definitely needs further discussion.

    Rule 3: No promoting your apps without source code

    • Almost everyone agreed with this rule (60% 10/10).
    • An astounding 98% of users felt a direct link to the app was breaking the rule. Makes sense!
    • Most users felt it was okay for people to post a description of their app, along with the source code & store link. This is what the rule is meant to encourage, happily.

    Rule 4: No app takedown/Play Store vent posts

    • The most divisive question by far! Users mostly agreed with it, but only just.
    • With the current implementation, most people agreed takedown / update rejected / admob posts were all rule breaking.
    • 48.9% of users would like the posts to be allowed so long as the app is described, and a full communication history is included.
    • 36.2% of users want a megathread instead. This topic also needs further discussion.

    Rule 5: No hiring posts

    • 83.3% of users agree with this one, nice.
    • A few good suggestions (a monthly megathread instead, a new subreddit, being linked to a google form), but most users seem OK with the current setup.

    Rule 6: Self promotion must be max 50% of posts

    • Users generally agree with this rule, not overwhelmingly though.
    • Users are ok with "weekly roundup" posts / videos, but would prefer people interacted with the community too.
    • Some people asked how we track this. We have an overview tool for the last 1k posts/comments that is pretty good at spotting spammers: https://i.imgur.com/Zd3huvR.png

    Rule 7: No hardware/software purchasing advice

    • Most people are happy with this rule, and agreed with the interpretation of it.
    • There were some comments disagreeing, but these posts are much rarer than they used to be so not a major issue imo.

    Rule 8: No paywalled submissions

    • Pretty much everyone agrees with this rule.
    • Comments mentioned it's debatable whether Medium counts as paywalled. I personally don't (since incognito bypasses), but this differs. Medium is probably okay, right?

    Rule 9: No meme / low effort posts

    • Almost everyone agrees, and appreciates our friends at /r/mAndroidDev!

    Rule 10: Be respectful and engage in good faith

    • Again almost everyone agrees (unsurprisingly!), and finds all the mentioned behaviours rule breaking (harassing, insulting, discriminating, etc)
    • 87% found discrimination by race / gender unacceptable, 67% found vaguer discrimination (e.g. "Tech bros") unacceptable.
    • Some comments mentioned it's a quite vague rule. This is somewhat unavoidable, as it's impossible to list every way humans can be mean to each other. However, the wording hasn't been changed in years, and could do with updating, esp. to be more positive.

    Tl;dr

    • People are generally happy (woo!), with some possible changes around questions & app takedown posts to resolve.

    Points for discussion

    1. Should we make a change to "no questions" allowed rule? Currently we recommend the Discord or StackOverflow, would you prefer if we redirected users to a new /r/AndroidDevHelp instead?
    2. Do you want to try allowing high quality app takedown posts? They would have strict requirements, like a full description of the app, copies of emails from Google, etc.
    3. If a post is rule breaking but has gathered attention, most people thought it should stay up. What should be the requirements for staying up, or is it at moderator's discretion?

    Thanks!

    submitted by /u/JakeSteam
    [link] [comments]

    Is there a way to increase the size of the "+" and "-" code folding buttons in Android Studio?

    Posted: 25 Jan 2021 03:04 AM PST

    Is there a way to increase the size of the "+" and "-" code folding buttons in Android Studio?

    It feels like a mini-game when trying to click the buttons because it takes some effort to click inside the button bounds without accidentally creating a breakpoint because the mouse click happened outside the bounds of the 5x5 or so pixels available for the "+" and "-" buttons.
    It will be a real quality of life improvement if there was a way to make these bigger.

    Code folding buttons

    submitted by /u/Voipster
    [link] [comments]

    Using Hilt’s ViewModelComponent

    Posted: 25 Jan 2021 07:02 AM PST

    Android remote interview preparation

    Posted: 25 Jan 2021 03:58 PM PST

    Hi folks,

    On tomorrow, Wednesday I will have my first ever remote interview for an Android Engineer position at a top german company.

    I want some advices and tips from y'all.

    Best regards !

    submitted by /u/sabiou
    [link] [comments]

    Firebase crashlytics and gdpr

    Posted: 25 Jan 2021 10:49 AM PST

    Hey guys, I'm living in Europe and I work on a side project and I wanted to add crashlytics to my app. Now I'm uncertain if I need to add something more besides an opt in and opt out for crashlytics and analytics or if I need to add a gdpr or something similar. Have you any similar experience on that? Is there any alternative that does not store user data ?

    Thanks in advance

    submitted by /u/caxaj
    [link] [comments]

    [Help] Generic, Dagger 2 Injected ViewModel

    Posted: 25 Jan 2021 04:15 PM PST

    I'm a huge fan of /u/zhuinden's post about generic, one-liner ViewBindings for activities and fragments, and have even gone so far as to write generic, Dagger 2 Injected versions (using dispatching android injector & DaggerAppCompatActivity) that I now inherit from for each new project.

    The issue then is that I'm working towards replacing all my RxJava2 dependencies with Kotlin Flow. My problem is that the standard DispatchingAndroidInjector doesn't work with the ViewBinding classes for injection: Only for Fragments/Activities/Services/Broadcasts.

    Conceptually I don't see why there shouldn't be a way to use interfaces or reification to inject an abstract view model in line with the activity lifecycle.

    What I have is this:

    abstract class InjectedBoundViewModelActivity : DaggerAppCompatActivity(){ // Example Usage: override val binding: ActivityExampleBinding by viewBinding(ActivityExampleBinding::inflate) protected abstract val binding: ViewBinding protected abstract val viewModel: ViewModel //What we want to inject override fun onCreate(savedInstanceState: Bundle?) { AndroidInjection.inject(this) //Where I suspect we want to inject the ViewModel via reification or interface // (application as InjectingApplication).androidInjector.inject(viewModel) //Does not work super.onCreate(savedInstanceState) setContentView(binding.root) } fun registerDestroyLifecycleCallback(callback: ()-> Unit){ destroyCallbacks.add(callback) } protected inline fun <T : ViewBinding> AppCompatActivity.viewBinding( crossinline bindingInflater: (LayoutInflater) -> T) = lazy(LazyThreadSafetyMode.NONE) { bindingInflater.invoke(layoutInflater) } } 

    Any thoughts? Suggestions?

    submitted by /u/crowbahr
    [link] [comments]

    How many old versions do you support?

    Posted: 25 Jan 2021 04:02 PM PST

    When it comes to older versions of apps, they quickly become a support burden. Especially if your application speaks to server API's, supporting old versions meaning keeping old API's online. I'm trying to figure out what people do in reality? I've noticed that modern Android versions aren't a problem as they mostly all auto-upgrade apps, but on older platforms people often don't update unless forced.

    Do you force upgrade?

    View Poll

    submitted by /u/ShakataGaNai
    [link] [comments]

    More on the Android FOSS assistant.

    Posted: 24 Jan 2021 04:19 PM PST

    Hello all. I posted on here a little while back about creating a FOSS assistant app for Android. Good progress is still being made, and I am a few tweaks away from the Alpha being good to go.

    I am starting to fill out some of the documentation/wiki on Github, but could use some input on what other devs would find useful to know about the project. It is intended to work as a platform to allow a user/developer the ability to extend their device and accessibility and I intend for it to integrate w/ Alexa/Google/Mycroft/Termux/Tasker, but I am just a lone dev and don't have experience with everything. Having some input (in the form of questions) can help me best present to an other interested devs ways that they can hack on it, and what falls inside/outside my scope of design.

    I made a note on the README that asks any interested party to open an Github issue if you have a question you want answered about its design, philosophy, stability, integration, etc and I will try to work what I can in to the wiki. As for having a usable copy (for devs, not end users) I expect Feb will be the deadline. I originally slated if for January, and am roughly on track, but my military obligations are many and take up time unexpectedly.

    For a quick reference: It is an on-device assistant application designed in a modular way to allow growth and customization. On device STT is handled using VOSK, natural language processing is done using Stanford CoreNLP, and it currently works on devices between Android 7.1 and 10

    Thank you for any interest and feedback, and sorry if this is obtrusive to the subreddit! I'm just excited about the design and its potential

    submitted by /u/TemporaryUser10
    [link] [comments]

    Music Licensing for your App, ASCAP, BMI, SESAC - has anyone done this?

    Posted: 25 Jan 2021 01:29 PM PST

    Hi all! I am trying to license music for our mobile application and have come across these three organizations that help with that. The prices seem relatively low, but was curious if anyone has gone through this process before and knows what it entails or has advice.

    This is a new process for me so your thoughts would be very helpful - Thanks!

    https://www.ascap.com/music-users/types/website-mobile-app-landing-page

    submitted by /u/KaiokengoKuma
    [link] [comments]

    Has anyone else here had to deal with permission declaration for background location when you don't actually use background location?

    Posted: 25 Jan 2021 12:48 PM PST

    Has anyone else here had to deal with permission declaration for background location when you don't actually use background location?

    I posted a little over a week ago that I got an email and a Play Store Console notification telling me that I might be using background location.

    After emailing with the Play Store support they assured me that there was nothing wrong with my app and I can continue as usual, but the item on Play Store Console still said that I have to submit that (it isn't like the news one where they'll just assume if you don't submit it).

    This is the Play Store notification

    So I went there and selected NO when asked if I use background location because I don't. And quickly after that I got an email saying that the update I made is rejected because of background location use. I have submitted an appeal but I'm not holding out much hope on that.

    I went ahead and used apktool to extract my AndroidManifest.xml just to make sure something else wasn't adding the background location and nothing is. I am using 29 as my target SDK.

    These are the permissions on my apk:

    <uses-permission android:name="android.permission.INTERNET"/><uses-permission android:name="android.permission.ACCESS_WIFI_STATE"/><uses-permission android:name="android.permission.CHANGE_WIFI_STATE"/><uses-permission android:name="android.permission.CHANGE_WIFI_MULTICAST_STATE"/><uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/><uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/><uses-permission android:name="com.android.launcher.permission.INSTALL_SHORTCUT"/><uses-permission android:name="android.permission.READ_PHONE_STATE"/><uses-permission android:name="android.permission.WAKE_LOCK"/><uses-permission-sdk-23 android:name="android.permission.ACCESS_FINE_LOCATION"/><uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE"/><uses-permission android:name="com.google.android.finsky.permission.BIND_GET_INSTALL_REFERRER_SERVICE"/><uses-permission android:name="com.android.vending.BILLING"/><uses-feature android:name="android.hardware.screen.LANDSCAPE" android:required="false"/><uses-permission android:name="android.permission.FOREGROUND_SERVICE"/><uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED"/><uses-permission android:name="com.google.android.c2dm.permission.RECEIVE"/>

    Has anyone else had to deal with this?

    submitted by /u/instantbitsapps
    [link] [comments]

    Best jetpack compse resources that helped you

    Posted: 25 Jan 2021 01:11 PM PST

    I want to start learning jetpack compose because, honestly xml can be a real shore.

    I want to learn it right though, want to know all the best practices and techniques to develop an app the right way using compose.

    Just curious which resources helped you guys the most and you feel provided you the most valuable information.

    submitted by /u/DrBigKitkat
    [link] [comments]

    Is my app a news app?

    Posted: 25 Jan 2021 04:38 AM PST

    I'm a bit confused by this new requirement in google play console

    My app is primarily a sports fantasy game, but it does have an aggregated news feed as a secondary feature. So is it considered a news app if the primary function is not news?

    I'm worried about it being labeled with News on the store and people expecting to find primarily news content in there.

    submitted by /u/Seoulseeking2
    [link] [comments]

    How to get my app internationalized without translating the brand name?

    Posted: 25 Jan 2021 06:27 AM PST

    I'm breaking my head on this. On App Store, I can achieve that by adding custom keywords. But on Google Play, it's not possible to add arbitrary keywords.

    For example, both "Facebook" and "เฟซบุ๊ก" (Facebook wrote in Thai) will give you facebook results, and the "Facebook" word is not translated, keeping the brand name always in the original language.

    How can I achieve this in my app without translating my brand name?

    OBS: My app already has english and thai support setup in playstore.

    submitted by /u/HugoVS
    [link] [comments]

    Deep diving android view classes.

    Posted: 25 Jan 2021 05:17 AM PST

    I am planning to take a deep dive in android view classes just for understanding and getting better at design sake.

    But with jetpack compose around the corner, will it be a good idea to invest so much time in View classes?

    I have very basic idea about compose, and I am not even sure if this question is valid or if both even belong to the same category.

    Assuming Compose becoming the standard, will we be working with standard view classes?

    submitted by /u/ifarhanp
    [link] [comments]

    How do you guys get good build speed? Emulator speed ups.

    Posted: 25 Jan 2021 01:02 AM PST

    I have been using recommended gradle.properties and the guide at https://developer.android.com/studio/build/optimize-your-build. Still I feel build times are slow, the pain of waiting to see the change is a tad too much.

    submitted by /u/sunwicked
    [link] [comments]

    I found an Intel Graphics problem with AVD, how to report this?

    Posted: 24 Jan 2021 09:15 PM PST

    I found an Intel Graphics problem with AVD, how to report this?

    After a lot of investigation I found that the Intel Graphics drivers (I'm at latest 01/08/2021 on my HD630 iGPU) is giving a broken UI on Android AVD.

    I tried HAXM and UI is broken too.

    I tried WHPX and UI is broken too...

    I tried running the AVD with Nvidia and UI is working as expected.

    I tried KVM on Ubuntu just to rule out the Intel Graphics and UI is working as expected. So...

    Definitively an Intel Graphics Driver issue. What should we do about this? Is there a official way to notify Android Studio Devs or Intel Support?

    This is an image of how the broken UI looks:

    https://preview.redd.it/hcw0nu65xed61.png?width=1080&format=png&auto=webp&s=9251360077771ad2bfe7c3aaf2154ea5ceeb651f

    submitted by /u/davidsal95
    [link] [comments]

    Compose | Horizontal expanding Cards

    Posted: 25 Jan 2021 03:32 AM PST

    I left Android dev last year because of my studies. Now I got a job interview, any resource to prepare?

    Posted: 25 Jan 2021 02:30 AM PST

    Last year, I resigned as an Android dev to fully focus on my studies. Since then, I have only made 1 toy project with arch components, and that's it.

    Now I have like 2 days to prepare for the interview and I want to go through some latest trends/topics that could be asked during the interview. Currently, I am planning to cover DI (I have never used it), coroutine, and compose UI. Also, the interview is for mid-level dev.

    Thank you for reading!

    Please help, if you can!

    submitted by /u/coderfrompak
    [link] [comments]

    Playgameservices not logging in on some phones

    Posted: 24 Jan 2021 09:15 PM PST

    I implemented GPGS for Android in Unity, and a strange problem comes up on some phones. (On most phones it works perfectly). The Play Games log-in window appears and starts to log in but fails. The game is on internal test track. One of the phones which can't log in is a Galaxy S20U.

    Did anyone else encounter this problem?

    submitted by /u/qugartgames
    [link] [comments]

    No comments:

    Post a Comment

    Fashion

    Beauty

    Travel