• Breaking News

    Monday, April 18, 2022

    Android Dev - Weekly discussion, code review, and feedback thread - April 18, 2022

    Android Dev - Weekly discussion, code review, and feedback thread - April 18, 2022


    Weekly discussion, code review, and feedback thread - April 18, 2022

    Posted: 17 Apr 2022 06:00 PM PDT

    This weekly thread is for the following purposes but is not limited to.

    1. Simple questions that don't warrant their own thread.
    2. Code reviews.
    3. Share and seek feedback on personal projects (closed source), articles, videos, etc. Rule 3 (promoting your apps without source code) and rule no 6 (self-promotion) are not applied to this thread.

    Please check sidebar before posting for the wiki, our Discord, and Stack Overflow before posting). Examples of questions:

    • How do I pass data between my Activities?
    • Does anyone have a link to the source for the AOSP messaging app?
    • Is it possible to programmatically change the color of the status bar without targeting API 21?

    Large code snippets don't read well on Reddit and take up a lot of space, so please don't paste them in your comments. Consider linking Gists instead.

    Have a question about the subreddit or otherwise for /r/androiddev mods? We welcome your mod mail!

    Looking for all the Questions threads? Want an easy way to locate this week's thread? Click this link!

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

    Weekly Who's Hiring Thread - April 18, 2022

    Posted: 17 Apr 2022 07:00 PM PDT

    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]

    Did you feel lost when you started learning Android development?

    Posted: 18 Apr 2022 12:43 AM PDT

    I've been self-learning Android dev for quite a while now, and sometimes, I feel like I'm not making a lot progress because there's so much to learn and so many resources with different approaches that I just feel lost (for example, there are people who prefer fragments over activities, and there are people who prefer activities and I don't know which approach I should follow)

    If you guys have any advice, I'd love to hear them

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

    Isolate Koin Within an Android Module

    Posted: 18 Apr 2022 06:32 AM PDT

    Looking for someone to learn Android dev together.

    Posted: 18 Apr 2022 04:19 AM PDT

    Hello fellow Devs,So I started learning Android development few months back and in starting everything was fun built few apps. But now after I know core Android it feels a bit boring, as there is a lot to learn and a lot of confusing and boring stuff.So I am looking for someone to learn Android with so that we can clear doubts, be regular and learn much faster.PS - better if you know core Android and wanna learn intermediate and advance stuff.

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

    How to improve code completion in Android Studio when using Kotlin?

    Posted: 18 Apr 2022 03:21 AM PDT

    The code completion in Kotlin is not as good as Java & also not faster as Java. For e.g. When we type interfaces like Text Watcher which has multiple overriding methods, it doesn't automatically add them when we select it from suggestion popup. when we type extending class name it doesn't automatically insert brackets if needed.

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

    Hi everyone. I have a PWA/TWA that is published in playstore and installed in many devices with work profile (w/ Intune). In personal profile the app works great, but in professional profile it crashes and crashes the phone. It's a production app, I cannot have device logs. Any help?

    Posted: 18 Apr 2022 09:18 AM PDT

    Does ANR and Crash rate affect Play Store Rankings?

    Posted: 18 Apr 2022 06:33 AM PDT

    Create app without coding

    Posted: 18 Apr 2022 05:45 AM PDT

    Hello guys! is there any tool that allows to create an android app without having to code? Like a WordPress, but for android.. sorry for the bad question, but a friend of mine needs to create one for a thesis.. he's from Philosophy.. you know..

    Thanks!

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

    Listener + notifications, does app need to be running on background?

    Posted: 18 Apr 2022 01:05 AM PDT

    Let's say my app would be "notification helper for sms messages".

    App will listen for notifications for sms messages and when it sees incoming message,

    it should send own push notification "Yes, you really received a message".

    ELI5 Question: To be able to do this, must my app be running on the background?

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

    App Growth

    Posted: 17 Apr 2022 03:49 PM PDT

    I've had my app on the google play store for around 6 months now, and It only has 9 users. I'm thrilled to have 9 users, but I'm looking to expand it a little bit. I asked for tips a few months ago for tips and got big, long articles about what to do. For right now, I'm just looking for websites, communities, or other places where I could share my app and try and get users. I don't have an advertising budget yet, and I'm not really looking to spend money to promote my app just yet. If anyone knows anywhere I could go, let me know!

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

    Multiple Async Tasks?

    Posted: 17 Apr 2022 05:35 PM PDT

    Hi all, I'm currently working on an app where I'm having to use async tasks for the first time. I've run into an error when trying to have multiple async task classes. Is this because Android doesn't allow it? Can't find an answer from Googling because it's a specific question.

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

    Compose ScreenshotBox a library that lets you take screenshots of Composables as single shot or periodically.

    Posted: 17 Apr 2022 06:40 AM PDT

    Exploring MotionEvent Listeners - OnTouchListener, OnClickListener, GestureDetector, and more

    Posted: 17 Apr 2022 08:12 PM PDT

    How to organize code properly in Android project

    Posted: 17 Apr 2022 12:25 PM PDT

    Hello peeps. I am developing my first ever android app and still learning a lot. Have this case. When log in I need to fetch user profile. Ok I have login view model and there after login i need to get user profile and if profile has completed navigate user to main screen if not to onboarding. Now I do not know what is best to do with Profile as profile data I need to read on multiple places. Getting one view model inside other sounds very fishy to me. Idea is that we do not persist data so saving profile into room can not do :(. Do not know what is best way to achieve it so any advice or idea is welcome. Happy Easter!

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

    APK Update (for RPG Maker MV)

    Posted: 17 Apr 2022 07:21 AM PDT

    Hello, I want to update my APK by just the new or edited parts and not going through generating another signed APK WebReleaseView. Is there anyone here experienced in handling android package updates?

    Example for clarification:

    I use altimit for Android Studio with the 'www' file under the assets folder, then hit Generate Signed APK to create an APK of my game. When I update the game, I have to make another big APK and redownload that big size to "update" my game. If possible, I want the players to only download what was new/edited in the first place and not the whole repacked APK.

    Usual Update: APKver1(480MB) + APKver2(481MB) = Updated APKver2(481MB)

    Desired Update: APKver1(480MB) + Update(1MB) = Updated APKver2(481MB)

    ^ How do I achieve this? Just sending the small 'update' files?

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

    [paid] Visualizer API exposed to Unity plugin

    Posted: 17 Apr 2022 11:50 AM PDT

    I want to fetch the FFT and waveform data from the output audio of an Android device (using Visualizer API) inside of Unity in order to visualize the currently played music (eg on Spotify) inside of my app. I started to write a small plugin but as I don't know too much about Android development I would like to pay someone who's more experienced. Think it will be easy to implement from my understanding, we can discuss details via DM.

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

    FHIR Validation in Android

    Posted: 17 Apr 2022 10:10 AM PDT

    Hello everyone,

    I have a project in which I have to perform a a FHIR validation. I have implemented this functionality in a regular Java application using the hapi-fhir library with the Instance Validator and Schematron Validator. I am trying to do the same for android but I have concluded that hapi-fhir using a caching library (caffeine) which is not supported in android.

    Is there any way I can implement this? Maybe bypass caffeine caching or something I can't think of?

    Any suggestions can be very helpful!!

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

    No comments:

    Post a Comment