• Breaking News

    Thursday, January 9, 2020

    Android Dev - 🤯 Just realized Dagger’s naming double entendre...

    Android Dev - �� Just realized Dagger’s naming double entendre...


    �� Just realized Dagger’s naming double entendre...

    Posted: 08 Jan 2020 07:58 PM PST

    Obviously the first one: daggers are able to pierce into things, thereby injecting dependencies.

    The second: DAG's (directed acyclic graphs) are how dependency creation order is determined. The "Dagger" library is a DAG creator or "DAGger"...

    Show of hands: how stupid am I? Did everyone already realize this?

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

    Scratch That Itch - An intro to scratch files.

    Posted: 09 Jan 2020 05:57 AM PST

    Write your JSON in Kotlin DSL | Create your JSON in a more easy and readable way | (github.com/hitanshu-dhawan/JsonDSL)

    Posted: 09 Jan 2020 12:32 AM PST

    What is the requirement to be a "Senior" Android Developer?

    Posted: 08 Jan 2020 10:33 PM PST

    I know "Senior" require some of these soft skills:

    • Interpersonal Skill
    • Analytical Skill
    • Problem Solving Skill
    • Able to lead juniors
    • Able to be role model
    • Decent Communication Skill
    • Detail Oriented

    But how about tech stack? Which tech skills to master to be more considered as "Senior"?

    Some that I know: Unit Testing, understand UX, familiar with Android JetPack.

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

    What the hell do I have to do to my notifications for my wearOS app to be accepted as a standalone app?!?!

    Posted: 09 Jan 2020 01:01 AM PST

    some context, I have a simple app that fetches a list of activities for the current day from a server and notifies you when they're about to start.

    on said notifications I have actions to both open the app to view activity details and to either start or stop activities as appropriate. it's set as quick actions and are displaying properly on every watch that I can get my hands on.

    Yet I get a "your notification does not provide enhanced functions to Wear OS users." message when submiting my app for review

    I EVEN REMOVED ALL NOTIFICATIONS FROM MY APP AND GOT THE EXACT SAME FUCKING MESSAGE (making it just a portal to view todays activities)!!!! WHAT THE FLYING FUCK DO YOU MEAN MY NOTIFICATIONS DON'T PROVIDE ENHANCED FUNCTIONS, I REMOVED ALL NOTIFICATIONS FROM THE FUCKING APP!!!!! AAAAAAAAARGH

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

    Personal use firebase

    Posted: 09 Jan 2020 09:16 AM PST

    If I understand right, Firebase is the only way to have a server/desktop talk to an android phone without having a background process (which could be killed randomly or have 'apps using battery notification').

    So If I want to develop my own personal android app that has to receive notification from my vps, I need a firebase account. Is there any alternative? Does firebase need a credit card? If I want my friend to try my app, Does he need to create a firebase account too ? (Assuming he can't use my vps ).

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

    Github: Android Rating Libraries

    Posted: 09 Jan 2020 09:00 AM PST

    Of the Android projects I've worked on, I usually code a rating prompt. A standard flow is to prompt the user with a dialog asking if they wish to rate the app. If they select yes, direct them to Google Play.

    Never realized there were libraries that could help. Searched Github for the most popular libraries and made a simple test app:

    https://github.com/haystack-reviews/android-rating-library-tester

    Curious to see how these libraries will integrate with in-app rating in the future.

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

    Trouble Getting Audience

    Posted: 09 Jan 2020 08:35 AM PST

    How do I get people to join my A/B testing program without spamming? Many of these public communities like Reddit, Discord, and Facebook all have rules against advertising your app. So where do I even start?

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

    Anyone notice any increase in RPM after using app-ads.txt?

    Posted: 09 Jan 2020 01:02 AM PST

    What is your preferred platform to dev on and why? (i.e. Windows or macOS)

    Posted: 09 Jan 2020 08:25 AM PST

    Need help. Dagger + assistedInject + jetpack

    Posted: 09 Jan 2020 07:39 AM PST

    Hi guys,

    I been struggling the last couple of days trying to figure it out. I have a working dagger setup (took me only a full day, yay!) but I am in deep trouble trying to find a working solution with assistedinjection with navigation/viewmodel.

    My viewmodel is something like "class TestViewModel (repository: Repository, queryString: String)" queryString is a information provided by the user from the previous fragment (passed using navigation/etc). I know that some people will advocate towards build a "start" method on my ViewModel, but I really wanna do using assistedinject (or google auto factory - very hard to find any info on how to use it properly).

    I have read/watched probably 99% of the medium articles, SO posts, youtube, etc, but they fail to address my issue, because for some bizarre reason they dont use fragments, or viewmodel, or both. Even google codelab (they did an entire lab using activies everywhere without a single fragment, using "mock" view models).

    So what I am looking is for the 1% I am missing, do you guys have any code that you can share or an article that I missed?!

    At this moment I am using this solution: https://stackoverflow.com/questions/57752301/dagger2-10-inject-viewmodel-in-fragment-activity-which-has-run-time-dependenci

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

    Confused about learning path for Android

    Posted: 09 Jan 2020 02:48 AM PST

    Hi everyone,

    I've been learning Android with Java for about a month now. Prior to this I had learned Java for around 5 months. I completed the Helsinki MOOC and also did an intro course on data structures and algorithms. I feel I have a solid understanding of core Java, including the OOP concepts, concurrency, generics, inheritance etc.

    Right now I'm about to finish the Android basics course on Udacity (google). What really frustrates and confuses me the most is that a lot of things that are taught (Asynctask, database stuff, android support libraries) are outdated and some are even deprecated. So I had to do my own research on these things, which I like to do and is great. I migrated most of the assignment projects I had to do to Androidx and completed them with the latest versions of everything.

    Now comes my following questions:

    1. What should I be learning after this? While I'm learning how to use Asynctask and stuff, which is getting deprecated for its memory leaks and issues, should I go for 3rd party libraries?

    2. Should I go with RxAndroid, Retrofit and/or Gson libraries? Or is it recommended to just follow the Androidx route and maybe just implement the Async methods from RxJava?

    3. How much do professional developers make use of these libraries? Maybe most of the code is just written in AndroidX and then use the libraries for specific stuff?

    Hoping to get more insights from you.

    Thanks!

    Edit: I'm looking into landing a job as an Android dev

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

    LiveData + RecyclerView + filters

    Posted: 09 Jan 2020 05:42 AM PST

    Hey, I am creating some app with "food storage" and recipes for dishes. My English is not very advanced so I think in a few places I lacked the necessary vocabulary but I hope that somehow you would understand me.

    "Little" story

    Its project that I need for my university. I had almost no experience with android when I was choosing what my app will do. I thought it would be some easy app with mostly lists and some nice filters and now its not that good.

    I decided (with 0 knowledge about it) to use MVVM with LiveData because I thought it will be nice because I have lists.

    And now I feel like it only make my app difficult. Because lists with my food storage or recipes never needed "live" access. And my new problem is everything about filters.

    Questions:

    1. How can I work with some filters and LiveData + RecyclerView. Starting from "text name" filter (like if I type "eg" I want see "eggs" etc). And some more advanced filters. Because I have dishes with recipes and ingredients I want to know which dishes can I make from products in my "Food storage". And I have no idea how can I do it with live data, becase RecyclewView is only View element. So I need to use normal SQL querry to get that information and then somehow replace my set of livedata dishes with new one.
    2. How can I do some regular operations on my room database. Because every product in Food storage will have expiration date and some extra expiration date after opening I need to check it like "every seconds" because dont want to make this in my View layout and I need that products sorted in some order like expiration date
    3. What can I do with images for my food products/dishes. I dont know what type in google because if I try something like "room how to storage igames" I will find so many results saying that its better to keep only path for that image in ma database however I still dont know how can I store some images in premade database or some local app folder.
    submitted by /u/r4zenas
    [link] [comments]

    LeakCanary leak deobfuscation feature explained

    Posted: 09 Jan 2020 04:34 AM PST

    Review my MVI study repo please

    Posted: 09 Jan 2020 04:31 AM PST

    Hey fellow android devs. I started looking at MVI recently with talks such as this or this. After I digested the information I tried creating a small sample app with the MVI architecture and the result is this repo. All the app does is show a paginated list of github repos and loads the next page when the user reaches the bottom of the list.

    Could I please ask members of the community that have more experience with MVI for some constructive criticism on this implementation?

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

    Blink detection on Android using Firebase ML Kit’s Face Detection API

    Posted: 09 Jan 2020 12:39 AM PST

    Accessibility text to speach.

    Posted: 09 Jan 2020 03:53 AM PST

    I'm improving accessibility(TalkBack) on one of the screens and noticed that acronyms like API or HTML are not read like they should only on beloved Samsung device, others seems not to have issue with them.

    Any idea how this could be handled without additional string as a content description? This would require to have additional string that have to be translated in multiple supported languages.

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

    Lightweight PDF Library ?

    Posted: 09 Jan 2020 03:02 AM PST

    Does anyone have any recommendations for a lightweight/low-size PDF viewer library to display PDF documents in-app ?

    I've recently discovered my project's PDF library has a native dependency that's minimum 5mb per ABI (I use app bundles so it's not compounded for the total size, but still)

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

    How to make a CAD

    Posted: 09 Jan 2020 02:56 AM PST

    Hello everyone, i need to explore the world of mobile CAD apps on Android. Anyone with the experience or tutorials or anything (geometry kernels, visualization engines etc) can help me start to learn please share!

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

    WorkManager 2.3.0-rc01 is out. First release of the year !

    Posted: 08 Jan 2020 10:44 AM PST

    Here is the release notes.

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

    ALOT of errors / red lines in logcat? Following buckys tutorial, barely did anything but logcat shows a TON of red lines, with bunch of different errors. Though my app still runs. Is this normal?

    Posted: 09 Jan 2020 12:26 AM PST

    How to install/test an application in the work profile?

    Posted: 09 Jan 2020 12:21 AM PST

    I am making an OAuth application. I made it and it works in my personal profile but it does not get installed in my work profile.

    What steps I have to take to install a testing application in the android work profile through the android studio?

    submitted by /u/do-on
    [link] [comments]

    Scoped Storage Stories: Modifying the Content of Other Apps

    Posted: 08 Jan 2020 12:06 PM PST

    No comments:

    Post a Comment