• Breaking News

    Friday, April 3, 2020

    Android Dev - Weekly "anything goes" thread!

    Android Dev - Weekly "anything goes" thread!


    Weekly "anything goes" thread!

    Posted: 03 Apr 2020 05:40 AM PDT

    Here's your chance to talk about whatever!

    Although if you're thinking about getting feedback on an app, you should wait until tomorrow's App Feedback thread.

    Remember that while you can talk about any topic, being a jerk is still not allowed.

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

    The settings panel in Android Q

    Posted: 03 Apr 2020 04:38 AM PDT

    first time releasing a library

    Posted: 02 Apr 2020 05:35 PM PDT

    This is my first time releasing a library here is the link
    https://github.com/aldrek/Flip_Digit
    Feel free to drop feedback :) :)

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

    Currently waiting since 2 Weeks for my update to get approved

    Posted: 03 Apr 2020 04:59 AM PDT

    After my app got removed from the google play store I submitted an update 14 days ago.
    I know that it currently takes longer due to the current situation, but 14 days??? Cmon...
    I'm loosing so much money throught that.

    Does anyone has a similar situation?

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

    State of Valhalla update, including JVM Model & Translation scheme

    Posted: 02 Apr 2020 11:46 PM PDT

    How do I bridge the gap between my existing Java knowledge and Kotlin for Android?

    Posted: 03 Apr 2020 07:33 AM PDT

    I'm quite new to Kotlin and I've familiarized myself with the basics in the past couple of days. It really has a clean syntax and coming from Java, it's almost natural. But while it's easy to know the basics, how do I use it to write entire apps in Kotlin, when I'm only familiar with Java for Android development specifically? I'm aware of the similarities, but many times I've found myself using Java in a Kotlin program, to do something I didn't even know Kotlin could. This leads to disastrous code.

    Any tutorials or references that can help?

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

    Confusion regarding learning android development and cross platform development

    Posted: 03 Apr 2020 07:01 AM PDT

    Hello there! I've started learning android development using Java few months ago. I am almost in the middle of the course. I just came across Flutter and React Native through which you can develop cross platform apps for Android and iOS. My confusion is that should I continue learning android development using Java or should I start learning Flutter or React Native right from scratch?

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

    Fragment not being selected in BottomNavigationBar when using getFragmentManager() to begin a transaction and switch to a new fragment.

    Posted: 03 Apr 2020 06:44 AM PDT

    So I'm following this tutorial. When I am in I one of the fragments, I want the functionality, that when I press a TextView in one Fragment, another Fragment opens and the corresponding Fragment is selected in the bottom navigation bar.

    I'm able to switch to another fragment using getFragmentManager().beginTransactio(), but it's not being selected in the bottom navigation bar and using onSelectedMenuItem() does not work.

    Any idea on how I can do this?

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

    Turn-key solution for Oauth Applications?

    Posted: 03 Apr 2020 06:38 AM PDT

    I am creating an app to extend the functionality of a piece of software called YNAB (You Need a Budget, a budgeting solutions application). YNAB's API uses OAuth to allow third-party apps access to user account data via auth tokens. Since that flow involves an application client secret, I would not be able to do the key exchange in a secure way using only the mobile application; I wold need some type of server side flow to get my auth tokens and a flow to regenerate new tokens every two hours.

    My question is if there is a turnkey solution in a Firebase, AWS, or Azure framework to perform the OAuth flow for me? I've done a proof of concept using Spring Boot in the past, but I do not trust I could harden and secure the application enough to actually deploy it.

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

    How do I make an animation for a TextView inside of a Toolbar?

    Posted: 03 Apr 2020 06:17 AM PDT

    I need to make the TextView enlarge when the user touches it and keeps it enlarged till they take it off. How can I achieve this?

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

    How to combine Side nad Bottom Navigation Bar

    Posted: 03 Apr 2020 06:13 AM PDT

    Hi everyone, I want to know how to combine Side Navigation Drawer and Bottom Navigation Bar. I have tried the accepted Stackoverflow answer but it didn't work. If anyone can point me in the right direction, preferably a repo or code for XML and Java(not Kotlin) class.

    Thanks in advance.

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

    Calendar Provider does not return latest data. What am I missing.

    Posted: 03 Apr 2020 06:12 AM PDT

    I am using the following code:

    String selection = "((dtstart >= " + now + ") AND (dtend <= " + endTime.getTimeInMillis() + "))";Cursor cursor = context.getContentResolver().query(Uri.*parse*("content://com.android.calendar/events"),*PROJECTION*, selection,null, null);

    And I notice that once I add a new event to Google Calendar and run the above code immediately, occasionally I do not get the latest dataset from the Cursor. I have to manually refresh the Google Calendar app to get the latest data.

    Am I missing something? Or is there another approach that I am not aware of?

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

    Anyone elses downloads dropped significantly?

    Posted: 03 Apr 2020 06:07 AM PDT

    I have experienced a drop in downloads of around 60-70% and revenue has followed suit. Just wondering if anyone else is getting this. Looking at graphs it happened on 24th March. Is it due to the current global situation?

    My game is still featured in multiple areas of the Google Play home screen and search rankings haven't changed whatsoever. Very odd indeed. Am I alone?

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

    How to Perform A/B Test Using Firebase with Remote Config

    Posted: 03 Apr 2020 06:04 AM PDT

    What is Jetpack Compose and how should a newbie use it?

    Posted: 03 Apr 2020 05:55 AM PDT

    So I'm learning Kotlin and other stuff that is used in Android development recently and came across Jetpack Compose. At first glance it felt it was just like adding UI components programmatically, but I knew it was way more than that. It's also not available with the regular Android and it's just experimental right now. Then why is there so much buzz in the community about it? Is it worth getting familiar with? I'm confused.

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

    TTS from C++

    Posted: 03 Apr 2020 05:22 AM PDT

    Hi. I'm trying to trigger the builtin TTS engine from C++ code, but I can't figure out how. Could anyone point me to a basic example with initialisation and calls from C++? The goal is to add some accessibility functionality to an existing project.

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

    Coroutines flow with Kotlin

    Posted: 03 Apr 2020 05:17 AM PDT

    How can we achieve row_number and window function in Android Room SQLite?

    Posted: 03 Apr 2020 04:44 AM PDT

    row_number and window function of SQLite can be only found in SQLite version 3.25.0 and above.

    However, Android's SQLite is 3.19 and below.

    Is there any way I can achieve similar row_number and window function in Android?

    https://stackoverflow.com/questions/61010606/sqlite-achieve-equivalent-row-number-and-window-outcome-in-sqlite-pre-3-25-0

    Thanks.

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

    Developing features as libraries

    Posted: 02 Apr 2020 10:36 PM PDT

    My dev leads have decided to follow below approach for developing new features stating reuse as a benefit.

    We develop feature separately (bill feature) as library. This can be reused

    We develop another library so that above feature can be fitted to our app no 1.

    Both will be loaded as aar files. All works based on the contract between classes in the three components.

    Can you guys please tell me if this is viable? On the surface, it looks beneficial. Any serious drawbacks in this?

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

    Evolution of Finding Views by ID in Android

    Posted: 02 Apr 2020 01:04 PM PDT

    Python script on Firebase for data fetching?

    Posted: 03 Apr 2020 03:21 AM PDT

    Hi! I have a python script that gets data from web (simple scraper, cause API for this data is too expensive) and would like to use it for my Android app. I read that Firebase could somehow run this script and return the processed data but don't know where to start..

    Ideally I would have a database on Firebase that I could fetch data from based on user input. If there's no entry for that particular query, Python script runs, scrapes data and creates that entry and sends back to my app. All existing entries should be updated just few times a day by that script.

    Any suggestion or tutorials that I could read?

    Thank you.

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

    Android Libraries and Tools for Android Development.

    Posted: 03 Apr 2020 02:37 AM PDT

    No comments:

    Post a Comment