• Breaking News

    [Android][timeline][#f39c12]

    Friday, December 3, 2021

    App Feedback Thread - December 03, 2021 Android Dev

    App Feedback Thread - December 03, 2021 Android Dev


    App Feedback Thread - December 03, 2021

    Posted: 03 Dec 2021 06:00 AM PST

    This thread is for getting feedback on your own apps.

    Developers:

    • must provide feedback for others
    • must include Play Store, GitHub, or BitBucket link
    • must make a top level comment
    • must make an effort to respond to questions and feedback from commenters
    • app may be open or closed source

    Commenters:

    • must give constructive feedback in replies to top level comments
    • must not include links to other apps

    To cut down on spam, accounts who are too young or do not have enough karma to post will be removed. Please make an effort to contribute to the community before asking for feedback.

    As always, the mod team is only a small group of people, and we rely on the readers to help us maintain this subreddit. Please report any rule breakers. Thank you.

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

    Apple legal filing indicates it intends to collect commission regardless of whether developers use IAP or a competing payments platform

    Posted: 03 Dec 2021 06:13 AM PST

    Paging 3 still not simple enough

    Posted: 03 Dec 2021 07:51 AM PST

    I am trying to create a tmdb paging application and the paging with compose is very frustrating. Can't get what's happening.

    My issue: https://stackoverflow.com/q/70215774/14104973

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

    I can't import library - Android Studio

    Posted: 03 Dec 2021 04:29 PM PST

    Hi guys,

    I am trying to import this library:

    https://github.com/smart-fun/XmlToJson

    As per their instructions:

    Add the following maven{} line to your PROJECT build.gradle file

    allprojects { repositories { jcenter() maven { url "https://jitpack.io" } // add this line } } 

    Add the libary dependency to your APP build.gradle file

    dependencies { implementation 'com.github.smart-fun:XmlToJson:1.5.1' // add this line } 

    and I get this error:

    Caused by: org.gradle.api.InvalidUserCodeException: Build was configured to prefer settings repositories over project repositories but repository 'maven' was added by build file 'app/build.gradle'

    I can't get any past this error. Maybe the instructions are old because I have something called buildscript instead of all projects. I try to put the line there but I get can't resolve error on library.

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

    Do you ever make apps that you don't publish but use personally for doing stuff? What are some examples?

    Posted: 03 Dec 2021 04:00 PM PST

    For example a custom app to remote into your home server from work, or an app that you use to check on some system's health/health status. But I'm not sure what other ideas there are.

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

    Turning off Camera features for Machine Learning performance?

    Posted: 03 Dec 2021 03:53 PM PST

    I'm running some Machine Learning workloads on the Google Pixel 6 Pro through the Neural Network API on the device's Tensor Processing Unit (TPU). I find that inference runtime increases (~30%-500%) when the device's camera is active. This is a hindrance since I'd like to simultaneously display a camera preview to the screen and run frame-by-frame Machine Learning analysis. I suspect some post-processing of the camera data that involves the TPU is happening.

    Does anybody have suggestions for settings/configurations to change in my app that might improve performance with the camera remaining active? I am using the Camera2 API.

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

    Has anyone faced an issue with Room Database?

    Posted: 03 Dec 2021 01:23 PM PST

    I don't know what happened. I was working on a project and I updated to the latest everything, and the app stopped building. The issue seems to be that the some code is not being accepted but I didn't miss any code. I even redid the tutorial on the subject

    https://appdevnotes.com/android-mvvm-project-example/

    and it didn't build either. Is there something new that was changed in Room that could be causing the issue?

    E:\SampleArchitectureDatabaseCoroutinesProject\app\build\tmp\kapt3\stubs\debug\com\homeofficeprojects\samplearchitecturedatabasecoroutinesproject\SubscriberDAO.java:13: error: Type of the parameter must be a class annotated with u/Entity or a collection/array of it. kotlin.coroutines.Continuation<? super java.lang.Long> continuation); ^ E:\SampleArchitectureDatabaseCoroutinesProject\app\build\tmp\kapt3\stubs\debug\com\homeofficeprojects\samplearchitecturedatabasecoroutinesproject\SubscriberDAO.java:11: error: Not sure how to handle insert method's return type. public abstract java.lang.Object insertSubscriber(@org.jetbrains.annotations.NotNull() ^ > Task :app:kaptDebugKotlin FAILED FAILURE: Build failed with an exception. * What went wrong: Execution failed for task ':app:kaptDebugKotlin'. > A failure occurred while executing org.jetbrains.kotlin.gradle.internal.KaptWithoutKotlincTask$KaptExecutionWorkAction > java.lang.reflect.InvocationTargetException (no error message) 
    submitted by /u/dragosempire
    [link] [comments]

    Best way to create an iOS app when I already have an app in Kotlin?

    Posted: 03 Dec 2021 02:45 AM PST

    Context: We're currently building an Android app to bring people together via movies and shows in a fun way. The app is written almost entirely in Kotlin. At the time, I was alone on this and didn't know Flutter so went full native. I now have a dev working alongside who is good with Kotlin and Flutter. We've got about 5 months of work in it already. Neither of us know Swift.

    More details about the current app:

    • Using MVVM architecture
    • Backend is via Hasura GraphQL connecting to a PostgresDB. We also use Firebase, but just for auth.
    • Main dependencies: Retrofit, Apollo, Lottie, Hawk, Koin, RxJava
    • It does not use any advanced hardware features. The app is mainly calling internal/external APIs and presenting the data in different ways in many screens.

    Please help me choose between these options on which would be the most efficient solution for creating an iOS version:

    1. Kotlin Multiplatform. I'm drawn to this because I believe we don't have to start from scratch as we have 5 months of work put in already and the Kotlin code is clean. But my main concern is that since we don't know Swift, would it take too long to learn SwiftUI and use it in KMM? Or is it just better to get a freelancer for this? Also, would we have to redo work for any of the above libraries?

    2. Flutter. Write flutter code from scratch. At least the backend APIs are ready, so it would just be writing biz logic and UI. But it's still gonna take a lot of time to do from scratch...

    3. Flutter + Kotlin?!: Is this something that would work as well? This would be a perfect solution if I can just do UI and minor biz logic in Flutter which sits on top of existing Kotlin code. Another link. The OLX article about Flutter + Kotlin/Native is also something that gave food for thought.

    4. Codename One. I just stumbled across this, they seem to be around for a while but I barely hear anything about them. They also seem very interesting. Any feedback?

    Thank you so much! Would be happy to update the community based on what we go with and post our experience of implementing the solution.

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

    Complaints from users about not being able to close reward video ads

    Posted: 03 Dec 2021 01:10 PM PST

    Hi all,

    I have been unable to find any sources to help resolve this issue. But I have had a few complaints from users about how they cannot get their rewards because they cannot close the reward ad.

    I believe this is related to the advertiser not setting the ad correctly, but when I ask the user about which ad it is I get no response.

    Does anyone know some way to easily identify these ads and prevent them from showing?

    Thanks

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

    Jetpack compose lifecycle states

    Posted: 02 Dec 2021 11:00 PM PST

    What is the best way to react/listen on/to lifecycle events in jetpack compose?

    For example, I have a ViewModel nested somewhere and it is listening via flow to changes that are being broadcasted from somewhere within the app. I want to stop this listening as soon as the app enters the background (onPause), and resume listening when the app enters foreground (onResume).

    I have some solutions, but none of them feels "right". The easy, but really ugly solution, would be to put all my viewmodels inside MainActivity and just listen to the events. Well I guess there is no need to tell what is bothering me here.

    The next approach would be to use DisposableEffect and build my own LifecycleObserver (something like this. But here the problem is (but maybe I understand something wrong), that I need to explicitly pass the LifecycleOwner to all the compose functions that need to listen to the events.

    Is there some other solution with less stomach ache?

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

    Hey Android Developers, in this new ADT video I demo how you can migrate your Android app's Gradle build configuration from unfamiliar Groovy to lovely Kotlin. ��️

    Posted: 03 Dec 2021 08:29 AM PST

    Unable to import javax.lang files in Android/Kotlin Library

    Posted: 03 Dec 2021 03:03 AM PST

    Unable to import javax.lang files in Android/Kotlin Library

    Hi there, I'm starting to create an Annotation processor. For that, I have to extend my processor class with AbstractProcessor

    But I'm unable to import any pre-existing java files into my processor class. Only Kotlin files are available to import.

    I created the modules using File -> New -> New Module -> Java/Kotlin library (Android Studio Arctic Fox). I have these in my module's Gradle file.

    apply plugin: 'java-library'
    apply plugin: 'kotlin'
    apply plugin: 'kotlin-kapt'

    https://preview.redd.it/5ytdb8al7b381.png?width=1378&format=png&auto=webp&s=fa9aa552746f78d6f1189715de009c255062fc09

    How can I use java files in my lib?

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

    What kind of API do digital wallets use to deposit fiat to an app?

    Posted: 03 Dec 2021 12:43 AM PST

    For example, debit card/credit card input to an app and then do a deposit.

    Is Braintree suitable for this?

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

    Acquire photos from rear cameras

    Posted: 03 Dec 2021 07:21 AM PST

    Hi, I have very limited experience with android development so I want to know if the idea I have in mind is feasible. I have a Samsung galaxy s10, is it possible to acquire two pictures from two separate rear cameras?

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

    Facebook Audience Network Payments

    Posted: 03 Dec 2021 04:59 AM PST

    Hi,

    When does the payment appear in the payouts tab? Does it take some time after the month has ended to finalize it or because it is the 3rd of December already?

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

    How do i modify an .apk to include scanning of .nomedia files.

    Posted: 03 Dec 2021 09:26 AM PST

    As a person with 0 programming experience, is this going to be hard?

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

    Check which part of a project requires the minSdk

    Posted: 03 Dec 2021 12:35 AM PST

    Is there a tool which indicates what code specifically requires API Level 21?

    Of course I could check it manually in the documentation. But is there a way to do this in the IDE?

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

    Build a Clubhouse �� like Audio Streaming App in Flutter and Video SDK.

    Posted: 03 Dec 2021 01:19 AM PST

    No comments:

    Post a Comment

    Fashion

    Beauty

    Travel