Android Dev - Weekly Questions Thread - April 06, 2021 |
- Weekly Questions Thread - April 06, 2021
- remember { mutableStateOf() } – A cheat sheet
- Should I make the switch to Kotlin?
- Android CodeView the easiest way to highlight text
- Unit Testing Dagger 2.3.0 (Not Hilt)
- Do any apps actually make use of Android Protected Confirmation?
- Im just curious is it against google play policy to ask for rating after a user gets rewards? i know google doesnt allow developer giving rewards to uset in exchange of ratings but what if its like this?lets say ur game has a daily reward system and u prompt after the user received the reward?
- [Android Budapest] Android Complexity • Márton Braun
- [Android Budapest] Reactive State Management with Jetpack Components • Gábor Váradi
- ASO Problems with newbies
- [Help Needed] List of Android devices with automated power on when charging cable is plugged "fastboot oem off-mode-charge 0"
- Has anybody ever encountered the problem of a new instance of your main activity being created every time app shortcuts are used to open it, even if your app is running in the background?
- android-capture: zero-friction video and screenshot capture for Android developers
- Scrolling Cache
- Virtual audio cable
- Better then Flutter...
- How to use Lottie Animation in Android Application
- How would I track gps distance? I already have coordinates and location :)
- Can a file within .apk be modified?
- Has anyone else tried the Jetpack Window Manager lib with the new Foldable Emulator?
Weekly Questions Thread - April 06, 2021 Posted: 06 Apr 2021 06:00 AM PDT This thread is for simple questions that don't warrant their own thread (although we suggest checking the sidebar, the wiki, our Discord, or Stack Overflow before posting). Examples of questions:
Large code snippets don't read well on reddit and take up a lot of space, so please don't paste them in your comments. Consider linking Gists instead. Have a question about the subreddit or otherwise for /r/androiddev mods? We welcome your mod mail! Also, please don't link to Play Store pages or ask for feedback on this thread. Save those for the App Feedback threads we host on Saturdays. Looking for all the Questions threads? Want an easy way to locate this week's thread? Click this link! [link] [comments] | ||
remember { mutableStateOf() } – A cheat sheet Posted: 05 Apr 2021 10:54 PM PDT
| ||
Should I make the switch to Kotlin? Posted: 06 Apr 2021 07:33 AM PDT So I've finished the MOOC Java Programming I and also the old but excellent Udacity Basics Android course which was Java based. I've written a couple of apps and I want to make the next step and looking to a more advanced course. I've noticed that nowadays courses are mostly Kotlin based, the official ones from Google for example. I don't mind making the switch however my main concern is if I can find enough examples through google searching. Because I got tremendous amount of help from searching online and even with YouTube videos. All of them were Java based. Are the two languages similar enough so anyone can easily look at an example code from Java and make it to work in Kotlin in case they cannot find a Kotlin example? [link] [comments] | ||
Android CodeView the easiest way to highlight text Posted: 06 Apr 2021 06:28 AM PDT
| ||
Unit Testing Dagger 2.3.0 (Not Hilt) Posted: 06 Apr 2021 04:34 AM PDT Our codebase is currently hinged onto Dagger 2.3.0 for dependency injection and i'm looking to write unit tests for Fragments but can't find any resource pertaining to it since all i see is Hilt. Are there any resources anyone can refer me to to get started. [link] [comments] | ||
Do any apps actually make use of Android Protected Confirmation? Posted: 06 Apr 2021 07:56 AM PDT I'm researching Trusted Execution Environments as part of my degree project, and created an app that implements Android Protected Confirmation. However in my dissertation I'd like to include examples of other apps using it, however it's incredibly difficult to find any released apps that actually use it. Google showcased three use cases in May 2018 with an Insulin injecting app, banking app, and a second-factor authentication app which supposedly were going to be implemented in public releases by their respective launch partners, however I can find literally nothing on these launch partners actually doing so (I'm waiting on responses to queries on this from a couple of the companies). I also can't find any evidence of support for APC on devices outside of the Pixels from the 3rd generation onwards, there's no official list anywhere and searching hasn't obtained any results. Google said (at the time) they were working with Qualcomm to get the feature supported on phones, but outside of that I'm really not sure? I don't have the capacity to test it out on other phones myself so I was wondering if anyone here knew about that as well? Honestly wish that there was a way to contact someone who works at Google in the Android team, but Google doesn't make any contact information for general enquiries easy to find to say the least. [link] [comments] | ||
Posted: 06 Apr 2021 06:59 AM PDT its not explicitly bribing but just asking a rating after the user received something is still allowed? lets say u have a daily reward box that can be open if the user open the game everyday.asking a rating after receving this said reward isnt cheating.right and not agains the policy?imean ur just finding the best timing when the users are happy with ur game but not bribing them? [link] [comments] | ||
[Android Budapest] Android Complexity • Márton Braun Posted: 06 Apr 2021 08:04 AM PDT
| ||
[Android Budapest] Reactive State Management with Jetpack Components • Gábor Váradi Posted: 06 Apr 2021 08:03 AM PDT
| ||
Posted: 06 Apr 2021 06:17 AM PDT After years of attending Argentina school I faced two problems with books 1) Cost 2) supply. So, developed a free and non profit app (LecturaLibre) with a friend . It is oriented to cover all the books given in LatÃn America schools so it is very education oriented. The problem is that I am 18 years old. So I don't have much idea of ASO. If someone can help me give me feedback on how should it be. Here is the link. https://play.google.com/store/apps/details?id=lecturalibre.lecturalibre Thanks! [link] [comments] | ||
Posted: 06 Apr 2021 03:47 AM PDT There is a fastboot command that allow an android device to skip the Battery charging screen and automatically boot. I need to recommend a phone to a customer where this command work. So far I can tell It works on:
It doesn' t work on :
If you have or are willing to try on your device please let me know the outcome. [link] [comments] | ||
Posted: 06 Apr 2021 02:46 AM PDT Basically introducing app shortcuts has exposed a huge architectural problem on the app I am working on, because the previous developers in their wisdom decided to handle call events using an event bus. So now whenever I use app shortcuts to open the app a new instance of the main activity and main view model is created, while the other one seems to remain somewhere in memory, and whenever I try to make a call a number of calls are made equivalent to the number of times I have opened the app using app shortcuts, as each view model is still subscribed to the events bus (unsubscribing on onPause or onStop is not an option because the architecture is pretty stupid and that will break other stuff) I've trawled the internet for other discussions of this issue like this one: And most suggestions seem to be either editing the manifest to include singleInstance or singleTask and/or setting taskAffinity to a blank string. The other option seems to be Intent flags such as Intent.FLAG_ACTIVITY_CLEAR_TOP or Intent.FLAG_ACTIVITY_NEW_TASK however none of these or any combinations of them seem to work for me and the activity is still opened as a new instance every time. Has anybody else every encountered this problem before, or have any more insight into what the solution could be? [link] [comments] | ||
android-capture: zero-friction video and screenshot capture for Android developers Posted: 06 Apr 2021 01:13 AM PDT
| ||
Posted: 06 Apr 2021 12:38 AM PDT Hi, Does anyone know where did scrolling cache go on Android 11? In Android 10 and below you were able to change/get its' value with: adb shell persist.sys.scrollingcache But it's simply not there in Android 11. Anyone knows anything about this? [link] [comments] | ||
Posted: 06 Apr 2021 12:14 AM PDT Is it possible to root audio input from the mic to somewhere else on an Android device ? Every thing I find say no because source file need to me modified and it's not recommended but it's on forum that are 5 years olds, might be a way now no ? [link] [comments] | ||
Posted: 06 Apr 2021 06:40 AM PDT
| ||
How to use Lottie Animation in Android Application Posted: 05 Apr 2021 11:28 PM PDT
| ||
How would I track gps distance? I already have coordinates and location :) Posted: 05 Apr 2021 07:02 PM PDT So i'm completely new to kotlin..... but I have a lot of experience in C++ and python. So I wrote a simple program that gets your coordinates, and town you're in. What I want is to get it to record your distance traveled. The way I thought about doing this is making a loop that keeps tracking your coordinates, then hopefully finding a formula online for how to get distance traveled from coordinates. But the more I think about it, the more inefficient it seems..... So I was wondering if theres any simpler way? [link] [comments] | ||
Can a file within .apk be modified? Posted: 05 Apr 2021 06:45 PM PDT Hi! I have a kind of a noob question here... So, I was asked to create a configuration file in order to change values for testing/production, but it needs to be once the .apk file is created. I made a raw file with the values that were needed, but when I try to edit such file I get a "read only" error. From what I researched, it shouldn't be possible to modify files after I build the .apk. Could someone please give me a hand with this? [link] [comments] | ||
Has anyone else tried the Jetpack Window Manager lib with the new Foldable Emulator? Posted: 05 Apr 2021 10:57 AM PDT The lib in an alpha still, but I am not seeing it report that the device is foldable or react to folding at all when I run my app on the foldable emulator. I am also curious to see if anyone has used the library at all and had thoughts on building folding features into their apps. [link] [comments] |
You are subscribed to email updates from Developing Android Apps. To stop receiving these emails, you may unsubscribe now. | Email delivery powered by Google |
Google, 1600 Amphitheatre Parkway, Mountain View, CA 94043, United States |
No comments:
Post a Comment