Weekly Questions Thread - February 01, 2022 Android Dev |
- Weekly Questions Thread - February 01, 2022
- Weekly Who's Hiring Thread - January 31, 2022
- App updates are taking at least a week(message shows "in review") to go live on playstore. Is anybody else facing the same issue?
- Every Composable deserves a ViewModel
- Best practice to connect a WearOS app to a smartphone app?
- Aab trouble
- A modern android app must have!!
- Should I change my ad network from Admob to another?
- Talking Kotlin – The First Kotlin Commit in Android
- OnePlus flodding logger with debug logs?
- Guys. Quick question. Is it okay to use x86 images on an AMD CPU windows 10? I did install the Android emulator hypervisor driver instead of HAXM. But for some reason I can't use the ARM images but the x86 images seem to be working.
- Completing Data Safety form for Google sign-in and Facebook login SDK?
- Android Studio Dolphin Canary 1 now available
- Writing and calling system apps/libs in Android
- Is it normal for a Scheduled Timer to pendle in at 60FPS?
- Is it possible to compile a java file from an android project in Terminal on mac?
- CWTI - Manuel Vivo discussed Android App Architecture with us ️
- Looking for suggestions: separate app/module for populating database on device
- How would you achieve this layout with compose?
- Any good examples of manual dependency injection?
- Is there a way to animate a view dynamically?
- Thought on my upcoming weather app, it's made in flutter.
- I have 1 app in my developer account and it got suspended. Could this have any implications for the personal Google account I used to register my developer account?
- Android Studio Plugin Development - Accessing Android Studio Theme Values
- Input needed on my Prominent Disclosure for reading user's contacts
- [Question] backup from android phone to WSA
- DataStore and synchronous read access
Weekly Questions Thread - February 01, 2022 Posted: 01 Feb 2022 06:00 AM PST 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] | ||
Weekly Who's Hiring Thread - January 31, 2022 Posted: 31 Jan 2022 06:00 AM PST Looking for Android developers? Heard about a cool job posting? Let people know! Here is a suggested posting template:
Feel free to include any other information about the job. [link] [comments] | ||
Posted: 01 Feb 2022 02:04 AM PST I'm facing the issue since start of this year for multiple apps [link] [comments] | ||
Every Composable deserves a ViewModel Posted: 01 Feb 2022 07:29 AM PST
| ||
Best practice to connect a WearOS app to a smartphone app? Posted: 01 Feb 2022 12:05 PM PST I bought a WearOS watch and have some ideas in my mind what I want to do with it. For example having an app running on my phone, and if something specific happens, I want my watch to vibrate. Another example would be, I want to input something in the watch and analyze this on the phone. Both scenarios should work at every time. I don't want to sync something by hand . What are the best practices for interdevice-communitcation for these scenarios? [link] [comments] | ||
Posted: 01 Feb 2022 06:08 AM PST Hey I'm a total noobie to Android app development... I'm just a designer... I wanted to make some profit by creating widgets.. so i started doing kwgt widgets.. the kwgt app has a companion app called kapk which lets you create an apk file consisting of all the widgets you created.. i got myself a developer account to publish the apk to PlayStore.. but it seems PlayStore now only supports aab format and not apk... I do not know how to convert an apk to aab... I have Android studio latest version installed.. can anyone please help me figure this out.. [link] [comments] | ||
A modern android app must have!! Posted: 01 Feb 2022 12:06 PM PST I request all of you to please suggest one or more thing that according to you is a must have in a modern android app, Any library, any pattern that you follow which helped your app grow in any way, for example implementing some analytic tool, crashlytics any sick library, or anything that makes your app shine in terms of performance, UX, design ,animation, scaling, robustness(crash free) and security. [link] [comments] | ||
Should I change my ad network from Admob to another? Posted: 01 Feb 2022 11:46 AM PST Hello This month my ad revenue was 7752 TRY and Admob cut 2006 TRY for invalid traffic. It's 25% cut and annoyed me greatly. Admob did cut invalid traffic before but those were around 5-10%. I made a quick research around the web and people doesn't really recommend other ad networks because of low fill rate and ecpm values. My user base is from 2-3 tier countries mostly. What do you think? [link] [comments] | ||
Talking Kotlin – The First Kotlin Commit in Android Posted: 01 Feb 2022 10:01 AM PST
| ||
OnePlus flodding logger with debug logs? Posted: 01 Feb 2022 03:37 AM PST My new work developer phone is a OnePlus and I noticed some weird behavior. One is that the logs are getting flooded by this
This doesn't sound like an error, so it should be an info or even verbose, right? Am I missing something, why those logs might be useful for someone? Another problem I have is, that on some breakpoints, the OnePlus version of android seems to override the "wait for debugger"-option and throws an ANR. I can reproduce this while doing the migration in my realm database. My personal pixel phone is fine waiting on the breakpoint, but the OnePlus crashes after like 5 seconds with this ANR. Anyone else noticed similar stuff and has a solution for the ANR? I start believing that OnePlus should not be used for developing. [link] [comments] | ||
Posted: 01 Feb 2022 07:55 AM PST
| ||
Completing Data Safety form for Google sign-in and Facebook login SDK? Posted: 01 Feb 2022 07:07 AM PST Is anyone using Google and Facebook login SDK? Have you managed to complete the Data Safety form for these? I haven't found much clear info about these and what data they collect exactly. If anyone knows, I think it would be useful for everybody. Thanks! com.google.android.gms:play-services-auth com.facebook.android:facebook-android-sdk [link] [comments] | ||
Android Studio Dolphin Canary 1 now available Posted: 31 Jan 2022 10:58 AM PST | ||
Writing and calling system apps/libs in Android Posted: 01 Feb 2022 06:49 AM PST Writing a C binary to access /dev/ttyGS0 port running as system. I have seen this work on a binary i did a capture on during a certain process that made escalated system calls just by injecting an ARM binary. I'm trying to do the same. Believe the other binary used system libs and was able to access (read/write) to port /dev/ttyGS0 that in it's current state has these permissions: rw-rw---- 1 system system 502, 0 2021-12-31 04:29 ttyGS0 Can i make an APK that runs as system (maybe device manager hack?) and then have it call that internal binary as system? Please help me think on this one -- i'm new to C, have some experience in writing APK's and compiling arm binaries for NIX. Using a modified version of this C code: https://forum.arduino.cc/t/debug-code-attached-read-dev-ttyusb0-from-a-c-program/99900 After modifying to /dev/ttyGS0 and compiling i get this message: $ ./test_binary init_serialport: Unable to open port : Permission denied [link] [comments] | ||
Is it normal for a Scheduled Timer to pendle in at 60FPS? Posted: 01 Feb 2022 06:43 AM PST I'm experiencing some weird behavior with my Timer. I have a Game-Looping thread. It calls: This results in: 60-65 FPS in the Game. My Method for calculating FPS: Here is the weird part: wether I schedule every 1MS or every 15MS, it stays at ~60FPS. When I draw a LOT of stuff on the screen, which no doubt takes some time to calculate and draw, it STILL stays at the same FPS as when I only do canvas.drawcolor(black), which should take very little time. Why does it pendle in at the same FPS wether expensive calculations are done or not? I mean, I like it, 60FPS is nice, but why? And I wonder if this is device specific. If a faster smartphone than mine (Poco F3, very fast for now) comes along, would that pendle in at a higher number, making the game too fast? I am aware that scheduling the task to run every 17MS would result in 60 possible runs per second, but I lose a few FPS when at 17 compared to 1. If anyone wants to try to run this on their device, feel free to check and report back with your results. [link] [comments] | ||
Is it possible to compile a java file from an android project in Terminal on mac? Posted: 31 Jan 2022 07:55 PM PST I am trying to compile a file from this github project : https://github.com/iamMehedi/Secured-Preference-Store on my Mac in terminal. When I try to run javac command on a java file of this project: I get many errors related to packages not existing like "package android.content does not exist". How can I import these packages and is it possible to compile a java file from an android project in terminal ? I mean, compile just one java file from a whole project. [link] [comments] | ||
CWTI - Manuel Vivo discussed Android App Architecture with us ️ Posted: 31 Jan 2022 11:35 AM PST
| ||
Looking for suggestions: separate app/module for populating database on device Posted: 01 Feb 2022 01:09 AM PST Hi, I'm aiming to release my first app this year and I'm looking for some advice on how to manage populating the database on the app. My app will be presenting courses, stored in a local room database on the phone. Ultimately I want to put up a server where new courses can be downloaded and then stored in the phone database, but for the initial alpha release I'm just wanting to release it with two courses, already populated in the phone database, no server required. As for how to manage this while developing, I thought of creating a separate module/app in the project to do the database populating, as I don't want to release the app with this temporary code as part of the release. Problem is that then each app is running in its own domain, and thus the separate populating module/app will not be able to write to the first one's database? Is that correct? Any suggestions on hard to manage this? Thanks! [link] [comments] | ||
How would you achieve this layout with compose? Posted: 31 Jan 2022 06:52 AM PST
| ||
Any good examples of manual dependency injection? Posted: 31 Jan 2022 09:49 AM PST I tried to implement manual DI in my latest app but it didn't look right to me so I went back to Dagger-Hilt. I couldn't find any examples on Github that looked clean to me. I want an example with 1 activity and loads of fragments and viewmodels, room, retrofit as dependencies. Anybody know a good example on Github? Thanks [link] [comments] | ||
Is there a way to animate a view dynamically? Posted: 31 Jan 2022 10:55 AM PST
| ||
Thought on my upcoming weather app, it's made in flutter. Posted: 30 Jan 2022 03:10 PM PST
| ||
Posted: 31 Jan 2022 11:25 AM PST FYI: I used a third party service to create an app through my dev account, and I can't fix and resubmit a new version of it. I have no other apps in my account. I know this is a "noob question", but I'm genuinely slightly worried (and possibly paranoid). [link] [comments] | ||
Android Studio Plugin Development - Accessing Android Studio Theme Values Posted: 31 Jan 2022 03:10 PM PST This isn't exactly android development specifically but does anybody know how to get theme values (colors) into my Android Studio plugin? I tried to find some kind of API for it but my google fu is failing me. [link] [comments] | ||
Input needed on my Prominent Disclosure for reading user's contacts Posted: 31 Jan 2022 01:10 PM PST Here's a video demo of our new prominent disclosure: https://streamable.com/o1fdg3 Is this enough to meet Google's requirements? I'm being very cautious because our app was removed/rejected from the Play Store multiples times last year over this. One small thing that worries me is that the user is granting the Contacts permission in the Options tab, but the app doesn't actually use the permission until the user starts a backup from the Home tab. So the permission isn't granted immediately before it's required, but it will be required if the user is to ever perform a backup (which is the main purpose of the app). I should note that we were previously uploading contacts to a user's private AWS bucket for backup purposes, but we're no longer uploading them at all. This was only used for a small subset of users, and we deemed it not worth the risk. We were also previously using a library that was uploading contact info to its own servers, unbeknownst to us. To address this, we had to include a custom version of the library in our source code which removed the library's Contacts permission. Is there some way to check this sort of thing so it can't happen again in the future? [link] [comments] | ||
[Question] backup from android phone to WSA Posted: 31 Jan 2022 01:02 PM PST [Question] Helium apk on Windows 11 Hello, I need help with two problems: I want to use an android app on windows 11 with data and settings from my android app. I used helium to make a backup of the app. Now I want to use it to restore data but on app installed on windows 11 android subsystem. Helium needs connection to pc with usb to operate. 1) How I can "connect" to pc a windows subsystem for android, can I mimic it somehow ? 2) can I operate a WiFi device with an android app installed on windows the same way as on android phone ? [link] [comments] | ||
DataStore and synchronous read access Posted: 31 Jan 2022 10:14 AM PST I want to migrate everything to How do you guys solve this? [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