• Breaking News

    Friday, May 7, 2021

    Android Dev - Weekly Anything Goes Thread - May 07, 2021

    Android Dev - Weekly Anything Goes Thread - May 07, 2021


    Weekly Anything Goes Thread - May 07, 2021

    Posted: 07 May 2021 06:00 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]

    Introducing quickie: QR code scanning library based on CameraX and ML Kit

    Posted: 07 May 2021 12:47 AM PDT

    kotlinx.serialization 1.2 released

    Posted: 07 May 2021 06:33 AM PDT

    "Starting May 5th, you must let us know why your app requires broad storage access"

    Posted: 07 May 2021 03:00 AM PDT

    Google says:

    Update your app to declare the All files access (MANAGE_EXTERNAL_STORAGE) permission in the manifest file, and complete the All files access permission declaration in Play Console from May 5th

    It's already May 7th and I just tried to upload an app with the mentioned permission but the dashboard wouldn't allow it.

    Is this working for anyone yet? Thanks!

    Update: it seems that you only have to comply with this if your app targets API 30... My app is still targeting API 29 for now. At least that's what support told me:

    If your app is currently targeting API level 29 or below, you will need to comply with this policy when you submit an update to target API level 30 (Android 11).

    So that solves that mystery 😋

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

    Is it a good idea to save a string with HTML format on my database so I can load it later?

    Posted: 06 May 2021 08:22 PM PDT

    I am making a simple notes app. What I want to achieve is to be able to select some text, change it to bold, for example, and saving that formatted text to the database when closing the note.

    I know that EditText can display HTML formatted text, and I wanted to take advantage of it, but is it actually a good idea to do this? Or what do you think is the best way?

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

    Which speech to text library to use?

    Posted: 07 May 2021 02:55 AM PDT

    Hi

    I am currently using the "android speech recognition" currently but there are numerous problems such as this one https://stackoverflow.com/questions/66319334/how-to-increase-the-amount-of-time-android-speech-recoognition-listens-for?

    I need a solution that handles all English words well.

    I have seen information about deepspeech and vosk but I am unsure which avenue to go down.

    Suggestions please?

    thanks

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

    Mobile Security: Reverse Engineer Android Apps From Scratch - Free Course From Udemy

    Posted: 07 May 2021 08:23 AM PDT

    Good Practices for SQLite Model classes

    Posted: 07 May 2021 08:16 AM PDT

    In examples for SQLiteOpenHelper and Room, a Java "model" class (e.g., Customer.java) is created to represent 1 table from the database. For straightforward queries, such as "SELECT * From Customer", I can see how creating a Customer.java class is useful. However, what if (a) a query combines data from multiple tables (e.g., Order & Customer) or (b) an aggregate query that returns records summarizing data ... the clean "model" class quickly begins to degrade when your queries must join information from multiple tables together in the results record structure.

    Is there a standard or good practice for model class structure/naming that reflects the return table's structure cleanly in Java code (example: SelectAllCustomerOrders( ) method with a SelectAllCustomerOrdersRecord class?). Any insight is greatly appreciated!

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

    Does anyone know how to do this kind of animation in compose?

    Posted: 07 May 2021 07:58 AM PDT

    Android-ui-exoplayer

    Posted: 07 May 2021 07:09 AM PDT

    What is the worst that can happen if someone names their app iOS Widgets for example?

    Posted: 07 May 2021 07:01 AM PDT

    Will there be any actions taken if apple wants to take down all apps with the name iOS?

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

    AGP 7, when ?

    Posted: 07 May 2021 06:49 AM PDT

    Hi !
    I'm wondering about the AGP 7 release date. I have to turn off all

    kotlin-android-extensions 

    for that date !!! I'm not ready and you ? :D

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

    How much should I charge for my app?

    Posted: 07 May 2021 05:22 AM PDT

    I am volunteering in a startup bu building two apps for them. But the thing is that I don't want to build premium stuff for free. I told them that I will help you to make your process automated. To make their work fully automated, I had to create to create two app one for public users and one for internal members only. Both app are connected via single cloud database. I can't tell you the whole idea but it is something like Uber. No exactly like Uber but both are common in many ways. In Uber, drivers of cab and user are connected via a notification system, so if user wants a cab, it registers for a cab and drivers get notified of it and serve them.

    So I promised them to create this system because this is the USP of the app for free. There are other features too. One of them is like a quora where people can post something like Facebook feed and other people can like and share them. It has security features too like blocking other user or reporting their content which are handled on the internal app by banning users that are spamming on the platform. It also has filtering capabilities based on user's interaction like trending posts and top rising posts just like reddit.

    One feature is to promote the startups initiatives by add notifying user's about events and webinars. Interested user can register for those webinars by the user app only.

    One feature is to inform about different initiatives and programs we internally have in the startup and user can apply for it to become a core team member of our startup. And on the internal app, authorized person will check their application and setup a meeting via google meet through the internal app.

    For founder and cofounder, there is separate section on internal app. They manage other core members and view their monthly or all time performances for example, if we take the uber's example, how much passengers did a drivers served last month.

    Founder can create polls and quizzes for the core members to know about suggestions or idea they might have for the startup.

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

    Android Studio - No more run configurations

    Posted: 07 May 2021 12:56 AM PDT

    Android Studio - No more run configurations

    Hello,

    All my run configurations (correction: tasks) are gone. I don't know how to get them back. On stackoverflow they talk about local history but I did not find anything to solve the problem...

    https://preview.redd.it/4m0w2kjmmnx61.png?width=302&format=png&auto=webp&s=9e472516417c6a98fa9e8b961789b97883b4a512

    Has anyone had the same problem?

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

    Can I convert activities to fragments?

    Posted: 06 May 2021 10:41 PM PDT

    I am a beginner without a strong programming background. I taught myself Android in Java, and published an app that works and I am proud of.

    Unfortunately, since I had no idea what I was doing, I didn't follow best practices for Android development and data structures. I am starting to learn about some of these things, but now I am a little stuck.

    My app requires a certain HashMap to persist throughout the app's lifecycle and across 2-3 activities. I achieved this by storing the map in my app's homepage activity, so that it would stay active in the backstack no matter where you go. This seemed to work, until I learned that Android can and does kill activities in the backstack at its discretion. It turns out that this is happening occasionally to about 20% of my users.

    I am trying to figure out the easiest way to fix this, and the only thing I can think of is that I should have used a single activity to store the data and then various fragments for each page. Is it too late, or can I still do this somehow? The main page of the app uses camera2 and has a lot of activity context references. It is a bit overwhelming to think about changing.

    Does anyone have a different solution for me? I read about saving data in a bundle in onsaveinstancestate, but I can't figure out how to do that since my HashMap contains bitmaps and imageviews.

    Thanks!

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

    New safety section in Google Play will give transparency into how apps use data

    Posted: 06 May 2021 09:35 AM PDT

    Native navigation toolbar for WebView

    Posted: 07 May 2021 03:14 AM PDT

    Native navigation toolbar for WebView

    Hey guys,

    I can't find anything in the docs for WebView. Is there any native component that'll display nicely styled toolbar with close button, url, share etc? A lot of apps are using similarly looking component.

    Here's what I'm talking about

    https://preview.redd.it/slw6h15jbox61.png?width=1080&format=png&auto=webp&s=8869d8cf0bba284c46699b8318fdd54f9591bccf

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

    New to app transfers and I wanted to "set up billing"

    Posted: 06 May 2021 09:45 PM PDT

    Hey everyone. I recently exchanged apps with someone. They transferred them over to my account and they said to "set up billing".

    I made a Google Merchant Account but they keep telling me to set up billing instead. Anyone have a clue on what they're talking about?

    I think one of the apps has ads so they're telling me to set it up to make ad revenue but I'm not sure where to go to configure billing. Any links, tutorials, or advice is welcome. Thanks!

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

    Fastest array fuzzy searching algorithm

    Posted: 06 May 2021 08:01 PM PDT

    I need to fuzzy search for the most similar word in array of 1200 strings. I tried using using Fuzzy-Wuzzy library but it takes 2 seconds for each word. Is there any faster ways to fuzzy search an array?

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

    Editing marks on app

    Posted: 06 May 2021 06:57 PM PDT

    There is an app in which my marks are unploaded, but looking to have some fun with it on my own, so change marks

    Question:

    is there any way to duplicate app so changes are only visible on my local device ie for myself

    if yes, how do I duplicate the app?

    How do I change my marks on the app?

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

    No comments:

    Post a Comment