Android Dev - PSA: Only one GET_CONTENT Activity per app on Android 10+ |
- PSA: Only one GET_CONTENT Activity per app on Android 10+
- Is the only way to view the Task/Activities hierarchy on a device to use adb?
- Try now button does not appear - is Instant apps dead ?
- Switching from a NavGraph to Another Using Google's Nav Extensions Function
- I handpicked 525+ remote job openings from Hacker News who is hiring - January
- Android 12: In-depth theming system that can recolor apps
- Hilt ViewModel by navGraph
- Mapbox releases beta SDK v10, a comprehensive rewrite
- Waldo, where's my UI?
- Transferwise as bank account for developer account?
- Easiest Way To Locate The IP Of A Device On My Network
- Android Studio Arctic Fox Canary 5 available
- How do you exclude night-res from packaging in Android app?
- Hilt alpha 0.0.3
- How do you list the Licenses of all dependencies in your Android project?
- How to make a recommendations system in android?
- NDK permissions
- Android Studio deletes app while debugging
- DevProdEng Showdown! Live Stream Tomorrow @ 9am PT
- Jetpack Compose Beta coming soon?
- I had a fight with interviewer during white-board coding
PSA: Only one GET_CONTENT Activity per app on Android 10+ Posted: 27 Jan 2021 10:14 PM PST When implementing a new feature i just discovered a major bug in Android 10+ (please star) which most may have missed, me & my app users included, since it doesn't cause a crash, some features simply become inaccessible. For an app with multiple Activities handling the GET_CONTENT action, maybe to expose its content in different formats, only the last, least priority, one declared in the manifest will be visible to users in the system "Open from" chooser). This is quite the regression of a such fundamental feature. I can't see any possible workaround except creating custom "chooser" Activity, with minimum priority, that forward the Intent to the proper one, maybe Jetpack could implement one that looks "standard". [link] [comments] | ||
Is the only way to view the Task/Activities hierarchy on a device to use adb? Posted: 28 Jan 2021 04:36 AM PST Hi I have a debugging question about the best way to see the Tasks and Activities hierarchy. I'm working with devs in another country. Im working on my own Activity. It has a back button and just calls moveTaskToBack(true); On my phone it works it just moves my activity to the back of the task stack. But on theres it sometimes kills the whole app. Q1 - Is the only way to view the Task/Activities hierarchy on a device to use adb? After much searching I found
I can see my activity move to the back of the stack ok. But I need them to do the same debugging. Is adb the only way to do it? or is there an app they could install to dump the tasks/activites hierarchy? We need to see voip call screens so the Android Studio Layout Inspector wont show those. Q2 - Tried to write my own version of I tried writing my own debugging code with ActivityManager but a lot of the methods are deprecated and newer methods require API 26-29 and the app is 19 min. Q3 - I was going to write a mac app to call adb I can read the results as yaml pretty easily. Q4 any idea why moveToBack() kills the whole app? My VideoActivity needs to be created once and kept running as it connects to video feeds. intent.setFlags(Intent.FLAG_ACTIVITY_REORDER_TO_FRONT | Intent.FLAG_ACTIVITY_SINGLE_TOP); so I added launchMode="singleInstance" <activity **android:configChanges**="orientation|screenSize" **android:name**="org.apache.cordova.twiliovideo.TwilioVideoActivity" **android:theme**="@style/Theme.AppCompat.Light.Translucent" **android:launchMode**="singleInstance"/> and onNewIntent() called so its reusing the single instance. I had a button that swaps to the other activity but using an intent to swap back was causing issues with my VideoActivity. It kept calling onDestroy() I found moveTaskToBack(true); It worked on my phone but on the other phone in another country it sometime kills the whole app (task stack?) hence my need for debugging the task stack. cheers for any tips. [link] [comments] | ||
Try now button does not appear - is Instant apps dead ? Posted: 28 Jan 2021 04:10 AM PST I try to implement a basic hello world instant app but try now button does not appear? Does anyboady face the same problem. I read all documentations and tried many things. But "Try now" button never appears. I also asked the following question in stackoverflow: no body replied yet. Many Instant app tutorials are written in 2017, 2018. No new thing appears. Why? Is instant apps dead ? [link] [comments] | ||
Switching from a NavGraph to Another Using Google's Nav Extensions Function Posted: 28 Jan 2021 07:45 AM PST | ||
I handpicked 525+ remote job openings from Hacker News who is hiring - January Posted: 27 Jan 2021 09:27 AM PST Here I would like to share more than 500 remote jobs that I've curated from Hacker News Who is hiring thread. All these are 100% remote jobs not just allowed to work from home during COVID-19. These are 100% remote jobs and will continue to follow that after the covid. https://remoteleaf.com/whoishiring. Note: Select "mobile" in the skills filter to view all Android/iOS development jobs ✅ 100% remote full-time jobs. [link] [comments] | ||
Android 12: In-depth theming system that can recolor apps Posted: 27 Jan 2021 09:01 PM PST
| ||
Posted: 28 Jan 2021 03:50 AM PST
| ||
Mapbox releases beta SDK v10, a comprehensive rewrite Posted: 27 Jan 2021 07:23 PM PST
| ||
Posted: 27 Jan 2021 02:06 PM PST
| ||
Transferwise as bank account for developer account? Posted: 28 Jan 2021 01:59 AM PST Has anyone used transferwise as their bank account? Is there any issue when opening a Google developer account and receive money from in-app purchases? Same question for iOS for those who also are present on the appstore. [link] [comments] | ||
Easiest Way To Locate The IP Of A Device On My Network Posted: 28 Jan 2021 12:45 AM PST I have a NodeMCU connected to my WiFi, which basically is a microcontroller. I want to search my network for the NodeMCU and if found get its IP address so I can send HTTP requests to it through my app. However, since static IPs are not an option I can use, I need a method to find the NodeMCU regardless of the IP address. My solution is to hardcode the Mac Address of the NodeMCU into my app, and whenever I run the app it searches the network for that specific Mac address and if found it gets its IP address. Is this possible to achieve? If not, are there any other methods you recommend? P.S This is the first time I am developing an Android application. [link] [comments] | ||
Android Studio Arctic Fox Canary 5 available Posted: 27 Jan 2021 11:04 AM PST | ||
How do you exclude night-res from packaging in Android app? Posted: 27 Jan 2021 09:40 PM PST When you're working on dark mode compliance for android application, how do you make sure the resources aren't bundle in the apk in the production while the work is in progress and planned for some other sprint. [link] [comments] | ||
Posted: 27 Jan 2021 03:31 PM PST Do viewModels now require separete implementation of hilt in dependencies ? [link] [comments] | ||
How do you list the Licenses of all dependencies in your Android project? Posted: 27 Jan 2021 10:09 AM PST Most companies care (or should care) what libraries their apps use, and what their licenses are. But it seems getting this information automatically is not super straightforward. I tried using the License Gradle Plugin https://github.com/hierynomus/license-gradle-plugin It seemed very promising but I can't get it to output anything from my Android project (using v0.15.0). I even tried it on a very simple small project with no success. I carefully followed the slightly unclear readme and tried different variations. Am I missing something? Is there something that needs to be done differently for an Android project? What are people using? [link] [comments] | ||
How to make a recommendations system in android? Posted: 27 Jan 2021 12:45 PM PST So Im making a recipe app for my FYP so I want to implement a recommendation System in to the app. How would I do this?I have no idea where to start? Im using firebase where my user register and i would like to save what recipe they have looked for and use that information to recommend new recipes. Example, if they have look at high protein recipes a lot so i would recommend them high protein recipes more [link] [comments] | ||
Posted: 27 Jan 2021 02:58 PM PST is it possible i can make an app that simply load a native library and then i can request permissions, render, listen for input, all in the native app? sorry but im new to android but have windows systems engineering experience...I'm learning ARM (v8), but I'm experienced with x86 and a competent reverse engineer? Im 15 yrs old and i love embedded systems [link] [comments] | ||
Android Studio deletes app while debugging Posted: 27 Jan 2021 02:36 PM PST Is anyone else experiencing an issue where Android Studio will randomly delete your app while debugging? I'm using Android Studio 4.1.2 on a Windows 10 machine. My app is a WearOS app and I debug over Wi-Fi. I've maintained this app for over three years and it just started happening. I'm on WearOS version 2.23/ System version HMR2 [link] [comments] | ||
DevProdEng Showdown! Live Stream Tomorrow @ 9am PT Posted: 27 Jan 2021 02:03 PM PST Hey Everyone: Gradle is streaming live tomorrow at 9AM PT. It's a developer productivity debate in a game-show format, where the contestants will be experts from Fitbit, Netflix, LinkedIn and Gradle. You'll get to vote for the winner of each debate. It's going to be educational and a lot of fun! Register here if you want to participate: https://bit.ly/2MciMq7. We're streaming live on Twitter, Youtube Live, and Facebook if you would like to see what's going on without registering. Let me know if you have any questions below, and I'll do my best to answer. Hopefully, we'll see some reddit android devs there! [link] [comments] | ||
Jetpack Compose Beta coming soon? Posted: 27 Jan 2021 12:24 PM PST I've gotten very excited about Jetpack Compose lately. I have played around with it a lot I plan to use it in production as soon as it hits beta. It's already quite stable and the API surface was only changed slightly in the past few months yet. Also, usually they release new alpha versions every two weeks on Wednesday but today there was no release. This might indicate that there's something big in the pipeline. It's in alpha for almost a half year. I feel like it's about time. What do you think? [link] [comments] | ||
I had a fight with interviewer during white-board coding Posted: 27 Jan 2021 01:25 AM PST I applied for an Android Developer role at a medium-tier company, first interview was with HR, second one was a take-home assignment + discussion over that, and final one was coding interview on codility.com with their team lead. Before the interview I asked him if I can use Kotlin, since 100% their Android code is Kotlin according to their job description and using Java in Android in 2021 is kinda dumb, he agreed that, codility supports this language too. So he asked me a question which is identical to this https://leetcode.com/problems/search-in-rotated-sorted-array/ and obviously this question screams that I want to check your ability to do binary search. However, In Kotlin we have indexOf() method which returns the index of the value in an array so I did return nums.indexOf(target) and clicked submit. btw Runtime for this solution on Kotlin is 164ms while binary search it's 178ms + it consumes 1MB more memory according to leetcode. the interview chuckled and said "hehe nice try" and there was a 10 seconds silence (probably he expected me to say something like "oh let me write the long and time-consuming answer") so I told him that i can do this with binarySearch but it won't be any better and i gave him the pseudocode, his voice got angry and then he said "i want to see you to write binary searc on kotlin" and I said "well if you want that there is binarySearch method on Kotlin so even if I need it on real life situation I'm good to go. He said "ok" and ended the interview. Shortly after I got a rejection mail. wtf was 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