• Breaking News

    [Android][timeline][#f39c12]

    Friday, November 12, 2021

    App Feedback Thread - November 12, 2021 Android Dev

    App Feedback Thread - November 12, 2021 Android Dev


    App Feedback Thread - November 12, 2021

    Posted: 12 Nov 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]

    Why does music sound crappy once I turn on the Emulator?

    Posted: 12 Nov 2021 03:56 PM PST

    I am using a M1 mac and listening to Apple Music using the Airpods pro. It is all fine until the moment I turn on Emulator, the music quality will suddenly become super crappy. Once I turn off the Emulator and Android Studio, the music will return to normal.

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

    At what point is a dependency injection framework actually needed?

    Posted: 12 Nov 2021 03:07 PM PST

    So I've used manual dependency injection a lot before in previous projects (without knowing it was called DI) but now I see Hilt and Dagger and such are used everywhere. It seems to me that for small/medium apps manual dependency injection is perfectly fine and that such frameworks overcomplicate code. Obviously there's something I'm missing here because these frameworks are extensively used. Can someone outline the benefits I get from using Hilt in my small app?

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

    Data safety in Play Console

    Posted: 12 Nov 2021 11:40 AM PST

    Hi

    About the new Data safety in Play Console.

    Is Google AdMob considered to be collecting user data?

    Review what you collect, send to your servers, or share with 3rd parties

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

    Tell your silly mistake

    Posted: 12 Nov 2021 01:04 AM PST

    Hi everyone.

    I know, everyone here made sily mistake in your work. I would like to share one of mine, because from mistake only we learn. Ok, I was debugging someones code in Android Studio. For some reason, I want to print log, but could now do so. I try to change value or hard code value from code , but couldn't do it. But I was able to hard code in respective XML File. This made me crazy and doubt my 2 year of experience in Android. I also doubt my system Android Studio build configuration. Then I started from code root, ie from manifest to each activity and fragment in app flow, and found out that. "Same XML is being used in two different fragment house work also similar with situation of use is different". So could get log or any changes made in one fragment file not being reflected on screen , which using different fragment file at that situation.

    Learning point: 1) One XML can be used more then one activity/fragment. 2) if your log not printing on your console, bcz that activity/fragment is not being used on screan. 3) don't doubt system build confidence or your self.

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

    Move contextual action menu at the bottom

    Posted: 12 Nov 2021 12:17 PM PST

    Does anyone have experience with moving the contextual action menu at the bottom of the screen instead of the top? I mean like if you long press an item in a file manager, the Delete, Share etc buttons show up at the bottom, not at the top menu after calling startSupportActionMode(callback). For example Solid Explorer has it at the bottom, but I'm not sure if they somehow moved the actual menu at the bottom, or they have a fully custom solution that looks like the casual top menu. I just can't find any solution to moving it down or using some library, I'd like to avoid having to create a custom solution with calculating how many icons should be visible etc.

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

    Good Simple Bluetooth examples

    Posted: 12 Nov 2021 01:27 PM PST

    I've now been looking for hours for android bluetooth examples, that are relatively recent and not as vague as the android developers page.

    Maybe some of you can point me to some good tutorials, or a github project with bluetooth one of you created

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

    Get all TextViews with Accessibility service

    Posted: 12 Nov 2021 01:22 PM PST

    Hi guys,

    Is there any way to get all text views on the screen e.g. on Accessibility event?

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

    doubt about using in-app updates

    Posted: 12 Nov 2021 09:33 AM PST

    We would like to add in-app updates to one of our apps. It would prevent problems with users continuing to use an old version when we change integrated server connections or other fundamental changes. And it can avoid complaints from users because they are using an old version. It can also force users who have downloaded the app outside of the Google Play Store to receive the update through the Google Play Store.

    So we would like to use the flexible update mechanism and after some time (eg 30 days after the update is published) the immediate update mechanism. But we're not sure how users will experience this.

    The app receives on average one update per month.

    Questions: if you have experience with flexible and immediate in-app updates in your app(s), how do users respond? Are there any good practices to keep in mind?

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

    Android VideoView Resizing Algorithm

    Posted: 12 Nov 2021 12:28 PM PST

    I am using VideoView to play videos on Android. Can anyone help me understand the resizing algorithm used to resize the video to fit the screen of the device? Whether it bilinear or bicubic? Whether the upscaling is hardware or software upscaling?

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

    'Generate Signed Bundle/APK' does nothing

    Posted: 12 Nov 2021 11:21 AM PST

    I'm trying to sign my first bundle with an upload key so I can upload it and get things going with Play App Signing for a preliminary internal release. Following this guide:

    https://developer.android.com/studio/publish/app-signing#generate-key

    I go through the instructions in 'Generate an upload key and keystore' and 'Sign your app with your key' but when I get to the end (select variant, press finish) nothing happens, it doesn't build. I have no idea what I'm doing wrong.

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

    No javadoc attached to the android api

    Posted: 12 Nov 2021 11:17 AM PST

    I've searched everywhere. Nothing have worked! I've two folders downloaded, the Javadoc and the Android API but I don't know how to attach them together in eclipse?

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

    Which cloud service would you use for storing chart data (open, close, high, low price)?

    Posted: 12 Nov 2021 10:50 AM PST

    So I'd build a script that pushes price data (that I got from a 3rd party provider) to a cloud storage in every 5 mins and the android app gets data of historical prices of these digital goods from the cloud.

    How would you manage to build this (preferably the most cost-efficient way)? How would you store the data?

    Hope you understood what I wanna do, I'm from phone and don't want to type more

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

    Getting back into Android development after 3 years

    Posted: 12 Nov 2021 02:00 AM PST

    I started Android development in 2010 but slowly switched over to iOS in 2015 and didn't do any Android stuff since 2018. I would like to get back into Android development, but I am a little bit overwhelmed by all the changes in the Android world.

    What do you think is the best ways to get up to date? Do you know any open source projects which make it easy to understand the current trends in Android development? I already started learning Kotlin and trying to find out more about all that Andoird Jetpack stuff. But other than that, I currently don't really know how to start researching.

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

    Anyone see Resolve Conflicts in AS Artic Fox? (2020.3.1 Patch 3)

    Posted: 12 Nov 2021 08:30 AM PST

    I cant find the "Resolve Conflicts" option. It used to be in Tools -> VCS -> Resolve Conflicts

    Not sure where it is now

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

    View limit whilst making Sudoku game

    Posted: 11 Nov 2021 06:12 PM PST

    As a learning experience I'm making a Sudoku game. The problem I'm having is too many views. Performance is impacted, including frames being skipped in debugging.

    As you probably know, Sudoku is a 3x3 grid, with each of those also broken in 3x3.

    81 squares. Each with their own number, so a text view each. The warning kicks in after 80 views, and that's just the main numbers.

    Many Sudoku apps then allows for pencil marks. There are notes/hints about the possible numbers (1..9) in each of the 81 squares.

    If each pencil mark has its own Textview (and some look like they do as individual pencilmarks are bold eg the 1 is bold, the 2 is not)... that's ANOTHER 729 Textviews...

    How on earth is possible to have so many Textviews? I assume it's not. So how should I go about?

    I have considered using a single textview per row, and using monospace fonts to control the eventual position. But that seems such a fudge.

    eg 1200001030007----- 81 chars long. 0s would be spaces.

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

    JVM heap space is exhausted (running out of JVM memory)

    Posted: 12 Nov 2021 02:28 AM PST

    JVM heap space is exhausted (running out of JVM memory)

    I tried to setup this project on Android Studio Arctic Fox 2020.3.1

    But I encountered

    Expiring Daemon because JVM heap space is exhausted Daemon will be stopped at the end of the build after running out of JVM memory Expiring Daemon because JVM heap space is exhausted Daemon is stopping immediately JVM garbage collector thrashing and after running out of JVM memory 

    I had edited the vm option

    # custom Android Studio VM options, see https://developer.android.com/studio/intro/studio-config.html -Xmx8600m -XX:ReservedCodeCacheSize=512m 

    And also In gradle.properties

    org.gradle.jvmargs=-Xmx8048m -Dfile.encoding=UTF-8 

    My Gradle settings in A.S.

    https://preview.redd.it/oj4uaud865z71.png?width=935&format=png&auto=webp&s=1f3008d011f703f2917a9cb417801bdec3f7416f

    https://preview.redd.it/0tx4jz2465z71.png?width=751&format=png&auto=webp&s=b31c5798fc586ada7f589fd775ebd5b9b6e715b1

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

    How much time does it take to learn and implement database framework (room or something) in my app?

    Posted: 11 Nov 2021 11:45 PM PST

    So, basically, i wrote an app, and now i am optimizing it for different screen sizes and refactoring my code (a tidious work i might say). However i would like to save some resources on a server (strings), and data, generated in process of user input (int, float), on device. Which framework (or frameworks) i should use to fullfill this goal? How much time did it take from you to learn and implement this stuff? Currently i am looking for the asap solution, cos i am unemployed and in difficult financial sutiation, however i would like to hear both the fastest and the best practices.

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

    No comments:

    Post a Comment

    Fashion

    Beauty

    Travel