• Breaking News

    Saturday, April 3, 2021

    Android Dev - App Feedback Thread - April 03, 2021

    Android Dev - App Feedback Thread - April 03, 2021


    App Feedback Thread - April 03, 2021

    Posted: 03 Apr 2021 06:00 AM PDT

    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]

    Demystifying R8/Proguard: how to leverage it to optimise your Android apps

    Posted: 03 Apr 2021 01:56 AM PDT

    R8/Proguard continues to remain the mysterious tool that "somehow" reduces the app size and obfuscates the code, but how do we leverage it to our benefit? In my article, I have tried to cover how to enable Proguard, how to write its rules without ending up in an incomprehensible crash and how to actually see what all is being obfuscated and what not!

    https://medium.com/gradeup/demystifying-proguard-a-simplified-guide-to-understanding-and-integrating-proguard-in-your-fd3accae3238

    submitted by /u/Separate-Skill8197
    [link] [comments]

    My experience with Flutter as an Android developer

    Posted: 03 Apr 2021 04:19 AM PDT

    Beginner dev, struggling with tables in SQLite Database

    Posted: 03 Apr 2021 12:41 PM PDT

    Hi everyone,

    I'm creating my first application which is a health application for tracking two variables over time. I have created both as separate activities accessed through the main, and they're pretty much identical apart from the dataset (put value in EditText, hit button, saves to db, graph plots from db). As it stands now I've created the database and a table for the first graph and it works fine; however I'm having issues with creating the second table for the graph in the second activity.

    I've looked online and it looks like I need to increment the database version to 2 and create the table that way, but I've been trying for a few days but the new table isn't being detected and the first graph stops working.

    1. How does incrementing the database version work if I want to keep the data saved as values are recorded in both activities?
    2. Where exactly is this second table created, in the OnCreate of the database or the OnUpgrade?
    3. When testing changing the version I was unable to use both tables at the same time between runs of the application, how do I fix this ?

    I apologise if these are super beginner questions, I've been perusing stack overflow for days and still have nothing. Thank you very much !

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

    Update strings.XML once a month

    Posted: 03 Apr 2021 11:26 AM PDT

    I have an app that uses texts from strings.xml file.

    Is there a way to update that file like once a month (update only strings, not whole app)? So like once a month the app checks for a newer version of the file (on some kind of server, i assume?) and update it.

    One way would be to get a server and create an API which sends that file to the app, but this is kinda overkill for a few kb text file, haha. Is there any better/simpler way to do it?

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

    2-way binding with MVVM

    Posted: 03 Apr 2021 10:48 AM PDT

    I recently finished audacity's Android development course and begun working on my first real app. Things have been going smoothly until I hit user input using edit texts.

    As I understand MVVM, the View is meant to interact with the ViewModel by observing LiveData and calling the ViewModel's public functions to modify the state, and should never directly modify LiveData. This is enforced through encapsulation.

    However, EditText doesn't really have any great callbacks to detect when the user finishes typing, so the easiest way to bind an EditText to a LiveData is through 2-way data binding, which requires the LiveData to be a public MutableLiveData. Doesn't that go against the whole reason for MVVM?

    submitted by /u/2ToTheCubithPower
    [link] [comments]

    Publishing A Game (In Review)

    Posted: 03 Apr 2021 10:46 AM PDT

    I've developed a game for the Google Play Store, and it is currently "In Review" on the google play developer console. How long does this take?

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

    Using AndroidStudio on Linux

    Posted: 02 Apr 2021 03:37 PM PDT

    Hey there folks,

    Does anyone get used to use Android Studio on Linux?

    If so, all works very well when compared against other plataforms like Mac OS and Windows?

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

    Reccomendations for implementations

    Posted: 03 Apr 2021 10:01 AM PDT

    So, I am new in android development and I would like to know what you recommend to implement this feature.

    I'm building a VoIP app with the native sip SDK. When I get a call, I am starting a foreground service where the call lives, and the service is killed when the call is finished. Right now I am using an intent from notification actions to accept, reject and end the call.

    I now need to implement an activity to show when the call is received and answered.

    I already created an activity for an incoming call screen which I am adding as full-screen intent to the incoming call notification. What I would like to know is how can I make this incoming call activity change to an ongoing call activity (or same activity different layout) when the service answers the call. Also if I leave the activity and come back to it from the notification it should show ongoing call and not an incoming call screen depending on the call state.

    Any help is appreciated, thanks

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

    Is Xamarin a good place to break into Android development?

    Posted: 03 Apr 2021 03:41 AM PDT

    I want to start android development. I was thinking of going ahead with Xamarin, but I'm worried that apps with Xamarin will not be as good as apps made with Java/Kotlin. I'm also worried that I won't be able to learn it properly because I read on multiple platforms that you can't understand Android dev unless you start with Java.

    So is it a good place to start? Will my apps be just as good as they'd be in native languages? Will i be able to learn it?

    submitted by /u/introverted-lasagna2
    [link] [comments]

    Are these changes enough to complying with AdMob policies?

    Posted: 03 Apr 2021 05:32 AM PDT

    I'm tired of the AdMob ad serving limitation issue, I got it like 10 times from 18 June 2020 till today.
    In Mars 29, I read the AdMob policies, and I've done the following changes to all of my apps :

    Refreshing Ads (Interstitial) :

    When the user clicks on the button in which an Ad may appear, the Ad will not be requested and appear unless more than 60 seconds have passed since the last Ad appeared.
    That means between Ad and another one 60 seconds.

    Banner Ads

    I've added a TextView with Loading Ad... to let the user know that there's an Ad will be appeared as soon as it loaded.

    If the user closes the banner ad, the banner will not appear again.

    AdMob

    I went to AdMob, and change the frequency capping settings to the following :

    Show no more than 1 impressions per user per 2 minutes

    Are these changes enough? Or I need to change something else because I'm exhausted from this issue.

    Thank you

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

    What thing I have missed out, if I do not use RevenueCat service?

    Posted: 03 Apr 2021 05:26 AM PDT

    Recently, I came across https://www.revenuecat.com/ . I have heard a lot of good reviews from the community on this service. I am not sure if I am missing anything if I do not use their service.

    Currently, we have several products, which are

    • offering either one-time non-consumable in-app purchase, or monthly subscription.
    • all one-month in-app purchasing code, and initial monthly subscription, are done purely at Android client side. We do NOT use any backend server to handle purchasing.
    • Currently, we only offer 1 platform. Even though currently we are developing iOS platform, iOS platform will have its own purchasing system, and will not have cross over with Android platform. If Android paid user decides to use our iOS platform product, he needs to pay again.

    I was wondering, what thing I have missed out by not using RevenueCat? Should I be start to use RevenueCat, so that I do not miss out any valuable service?

    Thanks.

    Disclaim: I do not affiliate with RevenueCat.

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

    Debugging released application

    Posted: 03 Apr 2021 04:14 AM PDT

    I'm trying to decompile and debug an android application. When I tried to do so, I got the following error, saying :

    Missing debug symbols To debug the APK, native libraries (*.so files) must have debug symbols. The following libraries are missing debug symbols: * libViewController.so * libijkffmpeg.so * libijkplayer.so * libijksdl.so * librtmpClient.so 

    What is the correct way to load all this symbols ? All the questions I read on stackoverflow is for older android project, they aren't even using gradle sometimes.

    Thanks in advance.

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

    Dagger2 is hard, but it can be easy, part 6 (correct place of injection, qualifiers and named)

    Posted: 02 Apr 2021 01:37 PM PDT

    How to automate deployment to galaxy store?

    Posted: 02 Apr 2021 12:36 PM PDT

    I use fastlane to automate all steps of building and deploying my app. Now there are of course also other stores, like the amazon store and the galaxy store (and others like huawei etc.) but I don't know about any plugins for fastlane to deploy my app to those stores. Anybody doing this and that has an open source code for me?

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

    Should I use jetpack compose in my APPS

    Posted: 03 Apr 2021 06:00 AM PDT

    Hey guys, how is everyone?

    So I have been developing android apps for some time now, nothing very complex, but I have been having a lot of fun doing so. I have come across the "Jetpack Compose" term previously but have never given it much thought or research, however, I have been encountering more and more tutorials and people talking about it, some saying really good things about how it makes your life easier at some point.

    I have googled a bit about it and I can see that it behaves sort of like native, but from my experience, nothing is better than actually asking people who use it or have used it.

    So my question here is, should I use it, and if you, why? Could you tell me examples on where it is good to use or where I shouldn't use it?

    Have a nice one.

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

    First app development, struggling with databases

    Posted: 02 Apr 2021 11:24 AM PDT

    Hi r/androiddev,

    I'm making my first basic app and have hit a bit of a rut. I have 2 separate activities accessed through a main activity page, both of which are basically identical for two variables, a line graph over time to display blood sugar levels in one, and weight in the other, with a field for the user to input.

    What I'm struggling with is implementing the second set of data for weight, I've used SQLiteDatabase with a table for storing the first set, how would I go about making a separate space for the data weight? All the information online seems to be conflicting in terms of database/tables and I was hoping someone could clear it up.

    Thank you very much!

    submitted by /u/23_Raccoons
    [link] [comments]

    Choosing countries/regions question

    Posted: 02 Apr 2021 08:57 AM PDT

    I'm getting closer to open testing for my Android app and was wondering which countries/regions to select in the google play console. I want to reach the widest audience possible but don't want to have the app put somewhere it won't be useful.

    Is there a nice list that maps the countries/regions available to the primary language in those places (in my case english)?

    And secondly are there any pitfalls/adverse affects in adding a region where the language(s) my app supports is not the primary language, but there is at least some chunk of people that speak it?

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

    Quick illustrations of the insetEdge property of CoordinatorLayout

    Posted: 02 Apr 2021 09:56 AM PDT

    WebView local files Android studio

    Posted: 02 Apr 2021 01:09 PM PDT

    Hey

    I want to display a Web project in my application via the local file

    So I use this line of code

    "webView.loadUrl("file:///android_asset/index.html");"

    It only loads my index.html and not my game.js and my assets.png

    How to display a local file website that takes into account my JS file and my resource photo ?

    I really need your help I can't find anything sure about this and I've been stuck for several here

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

    new dev advice

    Posted: 02 Apr 2021 10:35 AM PDT

    because of covid, i've recently started to try and get into app development. i have a basic understanding of the lifecycle, navigation, xml, view binding, the concept of mvvm, layouts, view, etc. i'm typically learning from book pdfs, google codelabs, udacity, and youtube, but it's slow progress.

    my dad often brings me along to work with him throughout the week. it's a trademen career, and the same boring work every time. it has no relation to software development, so i express little interest, if any. when we arrive home, i'm left exhausted and unmotivated, with just a few hours to do anything meaningful before the day is over.

    at my rate of learning, i'm afraid it will take me a long time to find a job. i've taken an early glance at entry-level positions, and they all require 1 year of experience and 1 app published - neither of which i have.

    if you have any advice for me to make effective progress, it would be much appreciated.

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

    No comments:

    Post a Comment