Android Dev - Android Studio 4.1 Canary 8 released - Emulator now embedded in the IDE tool window |
- Android Studio 4.1 Canary 8 released - Emulator now embedded in the IDE tool window
- Resource on where to start with Android development
- Android Admob Native Ad has blocking UI thread
- Clean up your RecyclerView Mess - LIVE CODING Tonight @8PM IST
- Google terminated my Developer account without warning
- Jetpack Compose dev10 release is available
- Minimum SDK version
- Huge Admob CPM drop (>50%)
- [CodeSwap] I'll help code your android app if you help code mine.
- Question about running functions in the background.
- How can i use adb to stream fake webcam?
- Anchored FAB + modal bottom sheet?
- GitHub - Library that shows most recent Firebase analytics event for easy checking
- Reveal and hide a view inside an onScrolled listener
- App Suspended on Google Play due to 'Sensitive Events Policy' - What Now?
- Will doing Android TV development hinder my career progression?
- Implementing motion with Material Design | Google Design Tutorials
- How do I link LiveData, ViewModel, polling and observer pattern together with the MVVM model?
- Routing Gennymotion through VPN connection
- Use Espresso’s IdlingResource for max Android test speed
- How to write good applications in Android?
- The Good, The Bad and The Ugly — Three approaches to loading contacts in your Android application
- Add multiple viewtype in recyclerview with Epoxy
- zzrb.zza resulting in a divide by zero arithmetic exception for every other cameraX analyzer.analyze frame
- Is there a camera plugin for snapchat
Android Studio 4.1 Canary 8 released - Emulator now embedded in the IDE tool window Posted: 29 Apr 2020 01:55 PM PDT
| ||
Resource on where to start with Android development Posted: 29 Apr 2020 11:31 PM PDT Something that I think I could have had when I started with Android development: Raywenderlich.com Tutorial team put together this Android Table of Elements. This is a learning roadmap for Android developers: everything you need to learn, in a recommended step-by-step order. [link] [comments] | ||
Android Admob Native Ad has blocking UI thread Posted: 29 Apr 2020 11:16 PM PDT I see the Admob Native Ads is the awesome ad to flexible UI which can be easy like up with my application. So, I have tried to implement Admob Native Ads into my Android App. But I got the issue when load ad. My app has been blocking UI Thread when the ad is being loaded. I have used Native Ads for recyclerview. This is example for that which I have forked from google example repository and modify for the same with my implementation. https://github.com/sinhpn92/admob-native-ad-example I have tried to put the load ads inside asynctask or kotlin coroutines thread but It's still have this problem. I did upgrade to latest version. I have some question:
Thanks for your time. [link] [comments] | ||
Clean up your RecyclerView Mess - LIVE CODING Tonight @8PM IST Posted: 29 Apr 2020 11:51 PM PDT
| ||
Google terminated my Developer account without warning Posted: 29 Apr 2020 04:38 AM PDT
| ||
Jetpack Compose dev10 release is available Posted: 29 Apr 2020 10:57 AM PDT
| ||
Posted: 30 Apr 2020 12:11 AM PDT I know this must be a, somewhat, common question, but I cant find good information on it. I've developed a couple of apps, both for personal use as for some friends, this to say I have some understanding and a bit of experience developing apps. But every time I start a new app I always face myself with choosing the minimum SDK version and I never have much confidence in the option I choose. I've looked at Google's Version Distribution dashboard, it's good to have an idea of the percentages of devices using each version. But my question is, which SDK version is a good compromise between a good coverage and good performance/features? Hope someone can enlighten me. Thanks [link] [comments] | ||
Posted: 30 Apr 2020 02:28 AM PDT Hello, from last month I was experiencing a huge CPM drop (over 50%) in my android games. I was wondering if this is just me or you also experience this due to COVID situation. [link] [comments] | ||
[CodeSwap] I'll help code your android app if you help code mine. Posted: 30 Apr 2020 01:59 AM PDT I was working on my android apps when it occurred to me that I think collaborating on another person's project (and vice versa) is actually a great way to learn. If you have an android app you need help coding and in return you'd also be open to helping me with one of my android apps, I'd love to collaborate. Leave a comment with your background and android app in the comments below and maybe we can even get multiple collaborators all working together. Cheers, Ed [link] [comments] | ||
Question about running functions in the background. Posted: 29 Apr 2020 07:46 PM PDT Hi everyone I have a question. basically I have an ionic app that I need to be running in the background when it is being minimised. I have since managed this but I realised that the processes are a lot slower. (I have used a cordova plugin to allow background processes. There is a notification to inform the user the app is still running in the background.) When the app is in the foreground, I used setInterval to run api calls and what not every 4 seconds. Currently if the app is in the background, the app actually only succeeeds in the process every half minute or so. So my question is.... is there like a limitation on the background processes that are running when the app is being minimised. And is there a way to fully run the app as though it is in the foreground? My system information: Cordova CLI: 6.5.0 Ionic Framework Version: 2.0.0-beta.4 Ionic CLI Version: 2.0.0-beta.30 Ionic App Lib Version: 2.0.0-beta.16 OS: Node Version: v4.4.7 [link] [comments] | ||
How can i use adb to stream fake webcam? Posted: 30 Apr 2020 01:04 AM PDT I would really appreciate if you could point me into the right direction. I want to use my Mobile as a fake webcam where I can play pre-recorded video via USB, seems like interesting thing to do to flunk classes. Where I plug my mobile into PC via USB and use it. I know app like Droid Cam can turn you mobile into a webcam. [link] [comments] | ||
Anchored FAB + modal bottom sheet? Posted: 29 Apr 2020 08:37 PM PDT My app currently has an FAB anchored to a bottom sheet, something like this https://medium.com/android-bits/android-anchoring-views-to-bottom-sheet-9c9069caf7d4 The designers want to change the bottom sheet to a modal bottom sheet, meaning a translucent scrim is placed over the rest of the screen, and tapping on it would dismiss the bottom sheet (e.g. Modal Bottom Sheet in https://www.androidhive.info/2017/12/android-working-with-bottom-sheet/) However I can't seem to find a way to preserve the FAB behavior when doing so - is it even possible since the modal bottom sheet is technically a dialog? [link] [comments] | ||
GitHub - Library that shows most recent Firebase analytics event for easy checking Posted: 29 Apr 2020 11:48 PM PDT | ||
Reveal and hide a view inside an onScrolled listener Posted: 29 Apr 2020 11:21 PM PDT I have a ConstraintLayout with 3 views in the container activity. a recycler view in a fragment. when the user swaps down. I want to hide this layout and when swaps up I want to show it. I tried this code here. by implementing a listener. sending updates from fragment to Activity.
back in the container activity : [link] [comments] | ||
App Suspended on Google Play due to 'Sensitive Events Policy' - What Now? Posted: 29 Apr 2020 10:47 AM PDT My casual trivia game was suspended due to Google's Sensitive Events policy. They provided no details of the violation, just a generic description of the policy: We don't allow apps that lack reasonable sensitivity towards or capitalize on a natural disaster, atrocity, conflict, death, or other tragic event. I don't know what to do next. I think the suspension may be from a joke about COVID-19 in the app description, 'Guaranteed to distract you from coronavirus for at least a few minutes!' but I'm not sure. Google will let me upload a new version of the app 'minus the offending content', but I'm not 100% sure that was actually the violation. I don't want to risk uploading another version and having my account banned entirely. I have submitted an appeal, but feel stuck in limbo right now. What's the best way to handle this? [link] [comments] | ||
Will doing Android TV development hinder my career progression? Posted: 29 Apr 2020 02:24 PM PDT I've done mobile for a couple years now. Have an opportunity to join tv development. I'm not really sure how different it is though technically. Would it be hard to switch back to mobile down the line? [link] [comments] | ||
Implementing motion with Material Design | Google Design Tutorials Posted: 29 Apr 2020 12:17 PM PDT
| ||
How do I link LiveData, ViewModel, polling and observer pattern together with the MVVM model? Posted: 29 Apr 2020 10:17 PM PDT Hi, I'm completely new to android dev here and I'm learning it on my own. I have a few questions about using the MVVM model. I'll give a summary of what I want my app to do first: I am currently coding an app that fetches data from a remote server and displays it in the UI. I would like to poll the server every N seconds and update my view (fragments) accordingly. There are shared data between the fragments. Currently I have 4 packages (model which holds the data, repository which fetches data from the server, ViewModel, View which have the fragments & activities). The View classes call ViewModel to get data (in LiveData) and ViewModel call Repo classes to get the data (in LiveData). At the moment, my code crashes with ```Network on Main Exception``` but I know that I have to handle this with AsyncTask which leads to my next question, since AsyncTask is deprecated what other alternatives do I have that can poll the server and prevent the exception. tldr; Need help with polling the server and displaying data in UI from remote server. [link] [comments] | ||
Routing Gennymotion through VPN connection Posted: 29 Apr 2020 09:57 PM PDT Hello, I'm a noob learning android development and apps. I'm running latest Gennymotion Desktop on Linux Mint 19.3 Cinnamon. When I connect to ProtonVPN the virtual device does not run. It start booting forever. Is there a way to rout the Gennymotion and VIrtualBox through ProtonVPN. I tried changing the connection from NAT to Bridge but it didn't work. I'm new to networking stuff so please bear with me. Only way Gennymotion works If I turn off VPN. But my use case is to run through VPN. Any suggestions is appreciated. Thanks. [link] [comments] | ||
Use Espresso’s IdlingResource for max Android test speed Posted: 29 Apr 2020 10:36 AM PDT
| ||
How to write good applications in Android? Posted: 29 Apr 2020 05:31 PM PDT I want to know resources where I can learn to create apps that are well coded, maintainable, and readable. How to make something that works well and is efficient. I know it's a very general question but tutorials are either very basic and cut corners on things that wouldn't work on actual apps, or are very specific and only talk about one component or feature. As someone who's new, it's very frustrating to not know what the good way of doing something is. Any ideas? I need some insight into what to search for. I saw the Android Architecture Basic Sample code and there's honestly too many things there which I do not know which makes it hard to understand. Let me give you a toy example.
So the questions are:
I could go on and on, but I think these three are good [link] [comments] | ||
The Good, The Bad and The Ugly — Three approaches to loading contacts in your Android application Posted: 29 Apr 2020 05:45 AM PDT
| ||
Add multiple viewtype in recyclerview with Epoxy Posted: 29 Apr 2020 08:24 PM PDT Hi folks, I'm building an app with a user feed witch consist of a recyclerview with multiple viewtype (posts) with Airbnb's Epoxy. I actually got the initial feed with only one viewtype (only text post). Now how can I make Epoxy to show different viewtype ? [link] [comments] | ||
Posted: 29 Apr 2020 08:09 PM PDT So I am getting back on a project that I haven't touched in months. I was messing around with it a few days ago with no issue (at least after my most recent post before this). For whatever reason today though, I went to run it and i've been wrestling this issue for a few hours now... Problem: I am creating a FIrebaseVisionImage object to use for various ml vision tasks. Pretty standard setup before that (similar to what they have in their example using CameraX with ImageAnalysis.Analyzer. For whatever reason I am now getting this error that I wasn't getting before. What i've done so far: Okay well not a problem, let me just stack trace that. I see that this line: Is the issue. Okay cool so let's figure out those values. Let's work backwards:
Now, i'm an Android Studio newbie so I can't figure out how to get values in class files when tracing so I just went back to where I was creating the FirebaseVisionImage and right before that I did this: This resulted in:
K well 639/640 is 0.9.... Now if I remember how Java works, int division rounds down - unless explicitly overridden I assume? Anyway. K I guess that makes complete sense then. Okay so if I remember correctly, the only thing I changed between now and when it was working was dependency upgrades which I actually downgraded down for to see if that would affect it which it shouldn't have anyway after looking at release notes. EDIT: So I found that ACTUALLY when I log what I did earlier, I notice that 4 frames are being analyzed before with the following results: Log 1:
Log 2:
Log 3:
CRASH MESSAGE Log 4:
Where i'm stuck :( The error is happening less than a 100th of a millisecond after the third log and nearly 300 milliseconds after that, the 4th log is hit. So my assumption is that there is something wrong with buffering every other frame since .remaining() method results in 0 for every other frame which shouldn't be happening. Unfortunately I know very little about that so I wanted to see if anyone could point me in the right direction D: On the upside, i've learned a ton throughout the process of posting this (i've been working on this post for about 45 minutes) Below is my whole camera functionality which I assume has a hell of a lot of issues as is D: [link] [comments] | ||
Is there a camera plugin for snapchat Posted: 29 Apr 2020 07:39 PM PDT So I'm not a programmer but snap chat screenshots what your camera sees but I'm wondering if there's a way around it so it can use the actual camera [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