Android Dev - Weekly Anything Goes Thread - December 18, 2020 |
- Weekly Anything Goes Thread - December 18, 2020
- I want to learn custom ROM development. Where do I start?
- Activity/Fragment base class for ViewBinding
- Admob VS InMobi VS StartApp
- To Present an app for a client ( company ) as an Independent Dev, what are the things to talk about/mention in the PPT slide ?
- Android mobile number length validation
- AdMob impressions increased but number of clicks have dropped
- Can someone help me choose between these two courses?
- How to do conditional testing using Espresso
- Android dev env with docker
- How can one write more than 4000 lines of code in a single activity? (the maximum allowed by Android Studio, as I heard)
- I recently received this text message and suspect it to be some kind of malware, however I'm unable to get the preview to load or to copy whatever url is embedded. How can I dump the raw (mms?) message so I can start research it?
- Mobile Developers Cafe - Weekly Newsletter with loads of curated iOS, Android, Flutter, and React Native developer articles/ blogs, events, podcasts, and dev tools delivered to your inbox.
- Changing the instrumentation class in an AS run configuration
Weekly Anything Goes Thread - December 18, 2020 Posted: 18 Dec 2020 06:00 AM PST 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. [link] [comments] | ||
I want to learn custom ROM development. Where do I start? Posted: 18 Dec 2020 03:25 AM PST I've been interested in custom ROMs for a while now and I'd like to start developing one myself. Where do I start? [link] [comments] | ||
Activity/Fragment base class for ViewBinding Posted: 18 Dec 2020 06:48 AM PST https://github.com/Jintin/BindingExtension Want to share this project with you guys, ViewBinding is an amazing tool for Android but it's not so fit in Android development as we still have to do some config. BindingExtension is built to provide a simpler usage. Just declare the ViewBinding type in generic way like below. For Activity: ```kotlin class MainActivity : BindingActivity<ActivityMainBinding>() { } ``` For Fragment (note the binding can only used after } ``` [link] [comments] | ||
Posted: 18 Dec 2020 01:53 AM PST Hello everyone! I am close to publishing my own app and was wondering if anyone had experiences in using these three different ad providers and how they compare. I know Admob is probably the most popular, but I also hear their impression rates are quite low, though I can't find any monetisation information regarding the latter two. Not sure which one I should utilise... I am mainly thinking of using banner ads or native ads [link] [comments] | ||
Posted: 18 Dec 2020 07:00 AM PST | ||
Android mobile number length validation Posted: 18 Dec 2020 05:46 AM PST Hello, How can we validate the length of a mobile number by COUNTRY? (Knowing that the country code might or might not be part of the number) Any idea where can I find each country's mobile number length range? It is for validating mobile numbers so they would be in a specific length range. Example:
Length may vary per country, meaning there should be a length range or pattern validator. Thank you! [link] [comments] | ||
AdMob impressions increased but number of clicks have dropped Posted: 18 Dec 2020 03:20 AM PST
| ||
Can someone help me choose between these two courses? Posted: 17 Dec 2020 06:33 PM PST If it helps Im very well versed in Python and know a little bit of C so Im not a complete beginner to programming. https://www.udemy.com/course/the-complete-kotlin-developer-course/ https://www.udemy.com/course/android-kotlin-developer/ Im new to buying courses and stuff so I was wondering if the sale ending in 5hrs is actually legit or just a way to get me to buy stuff [link] [comments] | ||
How to do conditional testing using Espresso Posted: 17 Dec 2020 07:19 PM PST By "conditional", I mean, the test class will have to check some condition first before running a test. For example, if I have a recycler view grid with clickable items that take me to another activity, how do I tell espresso to only run a test related to that activity navigation only if the adapter, and consequently, the recycler view has items in it. Because otherwise, if it's empty, then the test would definitely fail for not finding a single item to perform clicks on. [link] [comments] | ||
Posted: 17 Dec 2020 03:19 PM PST Not sure if this is unorthodox or not, but my current work environment prevents me from downloading packages directly through android studio. I can however download anything I want through docker. So I came up with the solution to use a docker image with base OpenJdk, the android sdk and gradle, build the environment and pull all packages there, and volume mount all of the necessary cache to my local machine for android studio to fetch. Android studio itself would be installed on the computer (not in docker) and would be in offline mode (since it can't fetch anything from the internet anyway). I feel like I'm close but I'm having a TON of problems getting it to work with android studio and I'm sure I'm missing something fundamental. What exactly do I need to do from here to make it work? Based on what I know so far, there is android cache located in /user-home/.android/build-cache (by default) and gradle cache in /user-home/.gradle (by default). I would think that if I configured android studio to use the two that are volume mounted from docker instead of the folders on my computer, that it would work. Android studio has a method to modify the gradle user home, and I've modified that to use the volume mounted .gradle from the docker container. Given the above, when I click the "build" button on android studio, I get "no cached version". I tried different things and I feel as though I could use expert opinions. Thanks! [link] [comments] | ||
Posted: 18 Dec 2020 01:57 AM PST I heard that you are not allowed to write more than 4000 lines of code in a single activity in Android Studio. (I have also experienced that personally) However, let's say it is absolutely necessary to continue writing code related to the one in the particular activity, and thus have to overpass the previous 4000 lines. What can one do? [link] [comments] | ||
Posted: 17 Dec 2020 05:00 PM PST
| ||
Posted: 17 Dec 2020 11:28 PM PST
| ||
Changing the instrumentation class in an AS run configuration Posted: 17 Dec 2020 02:47 PM PST I have somewhat of a complex test setup for my Android project and it requires different test runners. I have setup my gradle file so that it switches the test runner according to a project property. That way I can control the test runner when running tests via a Gradle script. However, I'd love to do the same with an Android Studio run configuration. But the Instrumentation Class field seems to be grayed out and AS won't let me change it. See here. [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