• Breaking News

    [Android][timeline][#f39c12]

    Saturday, May 1, 2021

    App Feedback Thread - May 01, 2021 Android Dev

    App Feedback Thread - May 01, 2021 Android Dev


    App Feedback Thread - May 01, 2021

    Posted: 01 May 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]

    Devs with apps/games on Play Pass: has it been worth it?

    Posted: 01 May 2021 08:25 AM PDT

    I'm seeing more and more quality premium games added to Play Pass. For those who have been in the program for at least a couple of months, has it been a good deal for you?

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

    Testing Admob Ad Serving Limit

    Posted: 01 May 2021 05:43 PM PDT

    Hi, I just started with the new account and after 1 day I got an ad limit. I was running app open, interstitial, and video reward ads. All of them were frequency capped 5 per 10 min or something like that. I also ran a Facebook Ad campaign for £25 a day without changing anything the traffic was like 200-300 people a day and everything looks normal ctr, requests, etc. Even with reduced ads than before and without banners the problem still arises. Someone mentioned the bot clicks from when you submit your app for a review, but tbh it is not that.

    Account 1: had $5 invalid traffic
    Account 2: had $0.50 invalid traffic
    Account 3: had $6.50 invalid traffic
    Account 4: had $8.30 invalid traffic

    All of the accounts had made a minimum of $700. It is plain simple it is the traffic you get in your app is the reason. The Admob algorithm is broken and bugged as fuck so I would just stay away from it now until they fix it. This is unacceptable. You can't limit an account for $0.50 invalid traffic that's a joke :D.

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

    How can I add this animation to a note taking app on Android when clicking a note

    Posted: 30 Apr 2021 08:00 PM PDT

    Handling Scrolling of Horizontal Recyclerview inside Viewpager2

    Posted: 01 May 2021 10:45 AM PDT

    What is the logic behind updateQuestion regarding the animations in Trivia App?

    Posted: 01 May 2021 05:45 PM PDT

    I'm creating a Trivia App on Android Studio. For each statement, the user has to select true or false. Based on the input, if the answer they selected is correct, the statement text will fade in green whereas if the user selected the wrong answer, the statement text will shake red. This is my code so far:

    List<Question> questionList;

    private ActivityMainBinding binding;

    private int currentQuestionIndex = 0;

    u/Override

    protected void onCreate(Bundle savedInstanceState) {

    super.onCreate(savedInstanceState);

    setContentView(R.layout.activity_main);

    binding = DataBindingUtil.setContentView(this, R.layout.activity_main);

    questionList = new Repository().getQuestions(questionArrayList -> {

    binding.questionTextview.setText(questionArrayList.get(currentQuestionIndex)

    .getAnswer());

    updateCounter(questionArrayList);

    }

    );

    binding.buttonNext.setOnClickListener(view -> {

    currentQuestionIndex = (currentQuestionIndex + 1) % questionList.size();

    updateQuestion();

    });

    binding.buttonTrue.setOnClickListener(view -> {

    checkAnswer(true);

    //updateQuestion();

    });

    binding.buttonFalse.setOnClickListener(view -> {

    checkAnswer(false);

    //updateQuestion();

    });

    }

    //checking if the answer is correct, or not.

    private void checkAnswer(boolean userChoseCorrect) {

    boolean answer = questionList.get(currentQuestionIndex).isAnswerTrue();

    int snackMessageId = 0;

    if (userChoseCorrect == answer) {

    snackMessageId = R.string.correct_answer;

    fadeAnimation();

    } else {

    snackMessageId = R.string.incorrect;

    shakeAnimation();

    }

    Snackbar.make(binding.cardView, snackMessageId, Snackbar.LENGTH_SHORT)

    .show();

    }

    //updating the counter. The counter will basically display the question # / total questions

    private void updateCounter(ArrayList<Question> questionArrayList) {

    binding.textViewOutOf.setText(String.format(getString(R.string.text_formatted),

    currentQuestionIndex, questionArrayList.size()));

    }

    private void fadeAnimation() {

    AlphaAnimation alphaAnimation = new AlphaAnimation(1.0f, 0.0f);

    alphaAnimation.setDuration(300);

    alphaAnimation.setRepeatCount(1);

    alphaAnimation.setRepeatMode(Animation.REVERSE);

    binding.cardView.setAnimation(alphaAnimation);

    alphaAnimation.setAnimationListener(new Animation.AnimationListener() {

    u/Override

    public void onAnimationStart(Animation animation) {

    binding.questionTextview.setTextColor(Color.GREEN);

    }

    u/Override

    public void onAnimationEnd(Animation animation) {

    binding.questionTextview.setTextColor(Color.WHITE);

    }

    u/Override

    public void onAnimationRepeat(Animation animation) {

    }

    });

    }

    private void updateQuestion() {

    String question = questionList.get(currentQuestionIndex).getAnswer();

    binding.questionTextview.setText(question);

    updateCounter((ArrayList<Question>) questionList);

    }

    private void shakeAnimation() {

    Animation shake = AnimationUtils.loadAnimation(MainActivity.this,

    R.anim.shake_animation);

    binding.cardView.setAnimation(shake);

    shake.setAnimationListener(new Animation.AnimationListener() {

    u/Override

    public void onAnimationStart(Animation animation) {

    binding.questionTextview.setTextColor(Color.RED);

    }

    u/Override

    public void onAnimationEnd(Animation animation) {

    binding.questionTextview.setTextColor(Color.WHITE);

    }

    u/Override

    public void onAnimationRepeat(Animation animation) {

    }

    });

    }

    The code here is working perfectly fine. However, before I called `updateQuestion()`(by accident as a test) in the `onClick` methods of buttonTrue and buttonFalse, the animation was only occurring after I clicked the next button. **Why is updateQuestion() method call necessary to call the animations? Why can't I just call checkAnswer() which will call the animation methods?**

    Thanks!

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

    Library for Resource Binding?

    Posted: 01 May 2021 04:33 PM PDT

    Is ButterKnife the best option for getting clean, simple resource binding like this?

    @BindString(R.string.login_error) String loginErrorMessage;

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

    What does "x+ years of Android Development Experience" in a job listing mean?

    Posted: 01 May 2021 05:45 AM PDT

    Does it mean x years of experience working as an android dev professionally or just learning android dev and making projects for x years?

    I have no work experience. I've been learning android since 2019. I've built many apps since then (CRUD apps, Covid 19 tracker, screen usage tracker, etc.). I've also built 2 apps with Jetpack Compose. I have a good understanding of DI, MVVM, and stuff like that. I didn't give attention to testing before but I'm learning it now.

    I'm starting to apply for jobs. I've seen job listings that say:

    • x+ years of experience
    • x+ years of working experience
    • x+ years of Android Development experience

    I guess I don't qualify for the work experience listing but can I apply to the other two listings?

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

    New changes to the play store marketing... limit on le gth of app title and more

    Posted: 01 May 2021 09:25 AM PDT

    How do i develop better UI on android studio?

    Posted: 01 May 2021 08:24 AM PDT

    Is there any library like bootstrap for Android studio? Android studio itself seems very basic to make a fancy layout like they do in modern apps. I need to make an app for a school project so I don't really have time to learn something complex, any easy plugin or library would work great.

    On a side note,are apps today even made in android studio? I wonder how it's possible to make those advanced UIs on android studio?

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

    How do you implement your FirebaseRemoteConfig object as singleton correct, for easy access?

    Posted: 01 May 2021 11:59 AM PDT

    I was wondering, do you usually make your FirebaseRemoteConfig object as a singleton for easy access?

    We tend to do so in Double-checked locking - Wikipedia way

    public class Utils { private static volatile FirebaseRemoteConfig mFirebaseRemoteConfig = null; public static FirebaseRemoteConfig getFirebaseRemoteConfig() { initFirebaseRemoteConfigIfPossible(); return mFirebaseRemoteConfig; } private static void initFirebaseRemoteConfigIfPossible() { if (mFirebaseRemoteConfig == null) { synchronized (Utils.class) { if (mFirebaseRemoteConfig == null) { // Get Remote Config instance. // [START get_remote_config_instance] FirebaseRemoteConfig firebaseRemoteConfig = FirebaseRemoteConfig.getInstance(); // [END get_remote_config_instance] // Create a Remote Config Setting to enable developer mode, which you can use to increase // the number of fetches available per hour during development. Also use Remote Config // Setting to set the minimum fetch interval. // [START enable_dev_mode] FirebaseRemoteConfigSettings configSettings = new FirebaseRemoteConfigSettings.Builder() .setMinimumFetchIntervalInSeconds(3600) .build(); firebaseRemoteConfig.setConfigSettingsAsync(configSettings); // [END enable_dev_mode] // Set default Remote Config parameter values. An app uses the in-app default values, and // when you need to adjust those defaults, you set an updated value for only the values you // want to change in the Firebase console. See Best Practices in the README for more // information. // [START set_default_values] firebaseRemoteConfig.setDefaultsAsync(R.xml.remote_config_defaults); // [END set_default_values] // [START fetch_config_with_callback] firebaseRemoteConfig.fetchAndActivate() .addOnCompleteListener(task -> { if (task.isSuccessful()) { } else { } }); mFirebaseRemoteConfig = firebaseRemoteConfig; // [END fetch_config_with_callback] } } } } } 

    However, in IDE, the following line produces warning

    private static FirebaseRemoteConfig mFirebaseRemoteConfig = null; 

    Do not place Android context classes in static fields (static reference to FirebaseRemoteConfig which has field context pointing to Context); this is a memory leak

    I was wondering, how do you deal with this situation usually?

    As, able to write the following code in every where is extremely convenient.

    FirebaseRemoteConfig mFirebaseRemoteConfig = getFirebaseRemoteConfig(); 

    Thanks.

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

    Did Google all of a sudden start manually reviewing Android TV apps?

    Posted: 01 May 2021 11:06 AM PDT

    I've had my app available for Android TV for many years and publishing usually takes 30 minutes or so. I'm now all of a sudden going on about 16 hours waiting for my app to publish.

    Is this something new that anyone is aware of? Thanks!

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

    Has anyone used the instrumentation orchestrator and Emma code coverage targeting Android 11?

    Posted: 01 May 2021 10:40 AM PDT

    The only places you can store code coverage files, screenshots, and logs are non-persistent locations due to scoped storage, but the orchestrator (with clear data enabled) won't persist the data to the end of the test run. The media store (scoped storage) is only usable for media files (not logs or coverage reports).

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

    Create video generator

    Posted: 01 May 2021 10:25 AM PDT

    Good day! Im really curious how apps like (Unfold, or any instagram stories generation) apps work? How they generate video? I did research on the internet, and found this info. Is it good to use some image processing libraries like(pguimage) to generate sequence of images and then use ffmpeg or another libraries to encode this sequence to video. Or maybe you know the proper method how to make it. Please share you opinion. Or maybe you know libraries.)

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

    Is it worth it to drop a semester to pursue a job?

    Posted: 01 May 2021 09:20 AM PDT

    I'm about to finish my 2nd semester of university and I'm considering dropping a semester or two to try to find a job. I'm majoring in CSE but I barely get any time to actually study computer science. The curriculum is absolutely fucked and I'm paying to study irrelevant subjects all day. I spend my whole day studying politics, ecology, english literature and other irrelevant GED subjects along with fundamentals of C although I want to pursue android app development. I can't even study what I want on the side cause I have assignments, presentations and exams basically every week. I pretty much have the same amount of android app development knowledge as I had before starting uni. Overall, this seems really frustrating and a waste of time and money. So I was considering taking a semester off to brush up on my app development knowledge and make a few more projects so that I can start looking for some entry level jobs. Would it be wise to do so?

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

    Reviews count/ratings broken for some users on the Play Store?

    Posted: 01 May 2021 05:23 AM PDT

    Hey, I see totally different reviews whenever I'm logged in on the Play Store versus logged out or even logged in on a different Google account. Am I shadow banned or something? I do have the habit of checking my reviews often for my apps, not sure if this has something to do with it, or there is actually some weird bug on Google's side? I've never had any policy issues with Google.

    For example, if I'm logged into my regular account and look at the reviews for the Telegram app, I see this:

    4.5 rating, 8,979 total - this never changes even if I check after a few days

    But if I log out or log into a different Google account I see this:

    4.4 rating, 7,730,601 total - obviously this is the correct rating and count and it changes over time

    Does anyone else have this problem?

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

    Still confused about which hosting service should i use !

    Posted: 01 May 2021 04:56 AM PDT

    Hello Guys,

    I'm an android developper and i'm developping an app for a client (an online shop), i work with android studio and generally when it comes to hosting the data i use google firebase, but this time the app is for a client of mine so these are my concerns:

    1- Is firebase a good option here knowing that it it pays by reads and writes so i won't be able to know the cost exactly ?

    2- If not, which service should i be using, I know SQL lanquage and i'm pretty good at it, so if there was a service that's simple yet effective and uses sql that would be great !

    3- Considering i never hosted the backend of an app in a hosting service besides firebase of course, would it be hard? would it be defficult to switch from firebase to a normal hosting service like i don't know (digital ocean maybee) ?

    4- I'm used to hosting websites online, but i never did for an app, is it the same or totally diffrent ?

    I know my questions are a bit confusing and repetetive, I'm just a bit confused.

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

    Share Playstore earnings to multiple founders

    Posted: 01 May 2021 08:10 AM PDT

    At the moment all the app sales earnings go into one bank account that has been provided to Google. Is there any way for Google to split the payments to multiple bank accounts?

    Bit off topic but if not, might have to look into how to setup a bank account which feeds funds automatically to a smart contract(crypto) account.

    At the moment all payments are dependant on one Dev. Not ideal in the remote working era.

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

    How to take screenshots from another app?

    Posted: 01 May 2021 02:21 AM PDT

    There are many libraries available https://github.com/bolteu/screenshotty, https://github.com/Mika-89/Screenshot to take screenshots, but they all take activity as parameter in some form, how do I take screenshot of other apps ( not the application I am making ) from a service?

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

    Changing accent colour of date picker spinner

    Posted: 01 May 2021 02:00 AM PDT

    I wanted to change the colour of the DatePicker using the spinner mode. Any idea how I can do so. If I am creating my own style, the Calendar mode changes to a proper calendar and not the spinner type. I have also created my own layout so it is no problem attaching that layout also but I am not able to find how to do that too. Please help...

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

    Style and different Android versions

    Posted: 01 May 2021 12:45 AM PDT

    I modify an App which seems to have dependencies spread over a decade. Deprecated calls here and there. I read the words Androidx, support library, Material, Holo, Toolbar, no-Action bar. One sub dependency is excluded. Is this a problem?

    I feel like the styles are hard to apply here. I only know CSS. In our old projects it worked quite good. Android Studio is not so helpful with style bugs. Every user Desktop browser works better.

    Is there some workflow or recipe?

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

    What is the difference between embedding and deep linking??

    Posted: 30 Apr 2021 10:18 PM PDT

    I'm confused about the difference between the two, they look similar to me. Educate me please :)))

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

    No comments:

    Post a Comment

    Fashion

    Beauty

    Travel