Android Dev - Weekly Questions Thread - March 15, 2022 |
- Weekly Questions Thread - March 15, 2022
- Weekly Who's Hiring Thread - March 14, 2022
- Received a job offer letter with "All inventions developed by you during your period of employment with the Company will be deemed as the property of the Company." Its a Web dev job. How would this affect my mobile app dev hobby. I occasionally publish apps/games to PlayStore.
- My developer account terminated due to another developer stealing my app
- iMe - Hello World!
- Significant overhead from making too many queries with a local Room database on a non-UI thread?
- LeetDroid - An android client for LeetCode
- (Kotlin Beginner) How to display SQLite database to the screen using cardview
- I ported the Spotify Mobius GitHub wiki to GitHub Pages + MkDocs with light and dark modes. I just created the issue and filed the PR. Let's see what happens!
- Android Studio Dolphin Canary 6 now available
- One of my biggest dream as an #AndroidDev is to work in a team where if I ask the Designer "Should I use the standard Android component?" they reply: "Of course! What else would you use?!?
- Kotlin - Create a global way to listen/handle errors
- Are base classes generally a bad idea? How do you test an activity/fragment with a base class?
- Question about agora vs peerjs
- Managing states in viewmodel
- Moving Circle
- How to record & replay http traffic in Android and iOS apps
- Changing EditText help (beginner)
- Where should I store Blackblaze b2 secret key if I do upload function from mobile app (I user Firestorefor backend )
- Introduction to Architecture - MAD Skills
- Is there a BoxShadow effect in Compose?
- How does the recycling work with Compose lazyList and LazyVerticalGrid?
- How to do effective error handling with Kotlin Coroutine and Result API
- Android Intership
- How can I find hidden animation/gif data in Android app?
- Google Play Console question
- Rich Push Notifications with bigPicture / bigText Style + Actions without having to expand
Weekly Questions Thread - March 15, 2022 Posted: 15 Mar 2022 07: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] | ||
Weekly Who's Hiring Thread - March 14, 2022 Posted: 14 Mar 2022 07:00 AM PDT 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: 14 Mar 2022 08:54 PM PDT | ||
My developer account terminated due to another developer stealing my app Posted: 15 Mar 2022 01:30 AM PDT First, I don't have any other developer account. Some one developer stole my app's code and its icon by reverse-engineering method and uploaded it to Play Store. Google terminated my account instead of terminating the developer account of the person who stole this app. I think it's ridiculous and annoying. I do not know what to do. I appealed and am waiting for the result. Why doesn't the Google Play Store Policy team check at the first release dates for these apps? I also tweeted to u/GooglePlayDev but no response yet. https://twitter.com/miniappsgames/status/1503477990969200640 [link] [comments] | ||
Posted: 15 Mar 2022 06:29 AM PDT
| ||
Significant overhead from making too many queries with a local Room database on a non-UI thread? Posted: 15 Mar 2022 02:12 AM PDT I am thinking of creating a logging system where I store all log messages as Strings in a RoomDatabase and then I load them up in some TextView in my app to understand why my app is behaving the way it is. I felt this was necessary because using the normal Log functions, that come with Android, too many times would slow down my app. So now I am thinking of doing asynchronous logging by storing all the messages in a Room database and all the insertion queries will take place on a non-UI thread (which is a hard constraint for using Room anyway). I wanted to understand whether making too many insert statements into a Room database will have some impact on my app's performance (even though each insertion will take place on a non-UI thread so the main thread remains unblocked). [link] [comments] | ||
LeetDroid - An android client for LeetCode Posted: 14 Mar 2022 10:10 AM PDT I use leetcode every day, but sometimes I just forget about the daily challenge and some contests that happen there, so I went over to the play store to see if there was any app for notifying me about any new contests or daily questions, and found none that were up to the mark. I had experience in making android apps and thought, I figured, what's the worst that could happen? After a week or two, I finally created a fully working application named LeetDroid that does what I needed and a LOT more! I uploaded it on the play store so that it's accessible to the majority of the people. With this, we can access almost all of leetcode's problems, the current daily questions, all with a very clean UI along with the solution and discussions. These problems are tagged so you can search them by difficulty, type, etc. We can also check our own profile, contest history, and submissions. Best of all, I made this app completely open-source, so that everyone can contribute to this project, and make it better than ever! The URLs for this are all linked below:- App link Github link [link] [comments] | ||
(Kotlin Beginner) How to display SQLite database to the screen using cardview Posted: 15 Mar 2022 01:40 AM PDT Hi so i made a basic sqlite program where the user enters date/name/number and it should read to the mainactivity page , the record is successfully recorded but it wont display to the screen. All records activity xml setup using cardview for each set of data DVD-R_管理_App – activity_all_records.xml [DVD-R_管理_App.app] (gyazo.com) All records Kt file DVD-R_管理_App – AllRecords.kt [DVD-R_管理_App.app] (gyazo.com) video i used as reference and base for my own sqlite program. https://www.youtube.com/watch?v=ODcYBwGOsOI&ab_channel=DreamDevelopers Any questions feel free to ask. [link] [comments] | ||
Posted: 14 Mar 2022 04:17 PM PDT
| ||
Android Studio Dolphin Canary 6 now available Posted: 14 Mar 2022 11:58 AM PDT
| ||
Posted: 15 Mar 2022 12:25 AM PDT One of my biggest dream as an #AndroidDev is to work in a team where if I ask the Designer "Should I use the standard Android component?" they reply: "Of course! What else would you use?!? — Ivan Morgillo 🐕💻⚔️☮️❄️🧘🏻♂️ (@hamen) Mar 15, 2022 [link] [comments] | ||
Kotlin - Create a global way to listen/handle errors Posted: 15 Mar 2022 05:35 AM PDT Hi Androider's At my job, we all are learning Kotlin and also developing our project, so one of my tasks was to create a global way to handle errors to avoid the app crashing into every single exception. So I went to the internet and docs searching for a way to do that and I came up with the following solution. On my MainApplication in onCreate I added the following code: That works, but the problem is that when an error happens, that code is executed twice. The errors came from Coroutines, but analyzing both executions the paramThread is the same which is the main thread. I do not know if there is something related to that. In the example above I am just logging the error, but we want to store that data locally and if the code runs twice we have a big problem. Thank you all in advance! [link] [comments] | ||
Are base classes generally a bad idea? How do you test an activity/fragment with a base class? Posted: 15 Mar 2022 01:30 AM PDT I guess this question has two parts to it:
From my limited Android experience, it seems base classes are popular but they cause a mess. They come from wanting to avoid code duplication and to give children classes the same functionality. But over time, developers add on things to it, their children classes end up with functions they don't need and the two (parent/child) become really tightly tied together. Are these types of base classes good? I personally think we should avoid inheritance and keep it simple, even if it means code duplication. In the future, there's just too much risk in the design going wrong and these base classes growing bigger in a bad way. Maybe if we were writing a framework library, we can be fancy with design. Otherwise I say keep it dumb. I also came across trying to do some testing on a fragment which had a base class. When you test a fragment/activity, it seems to be only UI testing rather than unit testing right? I had a lot of trouble trying to UI test and inflate my BaseFragment into an empty activity when BaseFragment had a reference to context as BaseActivity. How are you supposed to deal with it? Not sure if you can use dependency injection to a fragment and replace BaseActivity with a FakeBaseActivity implementation. [link] [comments] | ||
Question about agora vs peerjs Posted: 15 Mar 2022 05:01 AM PDT Hi, I am building a little consulting application. I'm trying to understand which video calling solution I should use. People have mentioned agora/ twillio etc which i get, but also some have mentioned PeerJS. Am I correct in understanding agora/ twillio are different to what using PeerJS is? From what I understand PeerJS has a server, which enables 2 participants to connect to each other peer to peer. What do agora/ twillio do? Are they just wrappers around PeerJS, or whatever PeerJS is based on? Is there a clear winner for the solutions between twillio/ agora/ and other libraries out there? I want to support video filters (like AR games! and voice changers). It will just be for 1 - 1 video calls. Apologies for the noob question, I am new to peer to peer related tech [link] [comments] | ||
Posted: 14 Mar 2022 07:08 PM PDT How to manage states in viewmodel? Any ideas/suggestions/examples? [link] [comments] | ||
Posted: 15 Mar 2022 02:47 AM PDT
| ||
How to record & replay http traffic in Android and iOS apps Posted: 14 Mar 2022 07:31 AM PDT
| ||
Changing EditText help (beginner) Posted: 15 Mar 2022 01:34 AM PDT Hey guys, So I want to make my application change the user input in editText to all capitals when the screen orientation changes. How do I do this? [link] [comments] | ||
Posted: 14 Mar 2022 11:13 PM PDT So I dont have backend code where it would automatically upload photos to Blackblaze b2 storage with secret key stored on server. So I have to do photo upload process on Flutter app. But I am worried that attacker might get the key and delete all the photos if I put it on my app. So would it be good if I put the key on cloud firestore or are there better solution? [link] [comments] | ||
Introduction to Architecture - MAD Skills Posted: 14 Mar 2022 10:54 AM PDT
| ||
Is there a BoxShadow effect in Compose? Posted: 14 Mar 2022 04:25 AM PDT
| ||
How does the recycling work with Compose lazyList and LazyVerticalGrid? Posted: 14 Mar 2022 08:52 AM PDT I have a problem which I have resolved practically but am concerned about view recycling. This ultimately leads me to the question about how compose manages redrawing views in the lazyEtc composables. So i ended up doing it like this. What I don't like is that I'm looping my data set rather than using's the provided Any info on the particulars to recycling would be delightful. [link] [comments] | ||
How to do effective error handling with Kotlin Coroutine and Result API Posted: 14 Mar 2022 04:43 AM PDT Hi guys, we published an article to learn effective error handling with kotlin coroutine and result API. Please have a look and share your valuable suggestions and feedback. If you think we missed something, let us know. We will update it to make it more meaningful for other android devs out there. [link] [comments] | ||
Posted: 14 Mar 2022 05:02 AM PDT I am a final year student at a technical university. My dream is to work as an Android developer. Please give me some tips from your experience to pass the interview and to be accepted for an internship. Thank you [link] [comments] | ||
How can I find hidden animation/gif data in Android app? Posted: 14 Mar 2022 04:50 PM PDT Where can the images/gifs in these applications be stored? Play Store
There is only one question; Where might these files be stored? Also what can we do for such a good storage method? I'm just trying to understand please give your opinion [link] [comments] | ||
Posted: 14 Mar 2022 12:19 PM PDT How do I disable old bundles? I have had multiple rejections and each rejection email references the original bundle ID. Also, the most recent rejection speaks to a permission in the manifest that was already removed prior to the most recent submission. I think I'm going insane. [link] [comments] | ||
Rich Push Notifications with bigPicture / bigText Style + Actions without having to expand Posted: 14 Mar 2022 07:56 AM PDT Hey there! I'm looking to draw a rich notification on top of any currently running app while unlocked without requiring the user to click to expand. Is this possible? This is for app which would need to pre-empt what the user is (physically) doing to redirect them with new information, so having as much info displayed as possible plus click-actions is desired without requiring the user to click to expand. I would prefer not to require any elevated permissions, but in my environment, it's an option. For text, is there any way to add any additional styling like font and size? Thanks!! [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