Weekly Questions Thread - November 02, 2021 Android Dev |
- Weekly Questions Thread - November 02, 2021
- Experimental item reordering animations for LazyColumn and LazyRow from Jetpack Compose were just merged and are expected to be released in 1.1.0-beta03 - Andrey Kulikov
- We created figma plugin for easy convert from Figma designs to Android Jetpack Compose code.
- Look this ridiculous tactic to lure in ad clicks
- Trying to understand why a user can't download our app
- Back button does not change back to Menu icon
- APNG vs GIF memory consumption
- Making Simple Android Chat App
- Wrote an article about gradle properties and shared some cool ones that helped improve build speeds
- In-App Purchases
- How do I open source an app without making it completely useless?
- Is there a difference between Media and Documents?
- How do you present different UI to different roles?
- Android distribution dashboard
- Is there a way to change A12s quicksettings to those of A11?
- Can someone suggest how to create a similar animation of the transition of the search bar as in the mobile application Gmail?
- Anyone else getting really annoying warning for pre-launch reports regarding permissions?
- What is the alternative to adMob? Can't get them to trigger a crawl of my app-ads.txt file
- Where to look if I want to get started with WiFi management
Weekly Questions Thread - November 02, 2021 Posted: 02 Nov 2021 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] | ||
Posted: 02 Nov 2021 09:29 AM PDT
| ||
We created figma plugin for easy convert from Figma designs to Android Jetpack Compose code. Posted: 02 Nov 2021 11:48 AM PDT https://www.figma.com/community/plugin/1030354617366499719/Figma2Android Usage just install figma plugin and open the plugin window in Figma, select a node to get the Jetpack Compose code to display it! If you have any feedback or questions about a plugin, feel free to contact with us https://figma2android.tech/contact.php or here. We'd love to hear from you! [link] [comments] | ||
Look this ridiculous tactic to lure in ad clicks Posted: 02 Nov 2021 04:28 PM PDT I have had ad limits on admob just because I was having 2 native ads on a single activity. But look at this. Adsense supported website are getting away with this bs. They even have this protruding views just to get accidental clicks. [link] [comments] | ||
Trying to understand why a user can't download our app Posted: 02 Nov 2021 12:44 PM PDT
| ||
Back button does not change back to Menu icon Posted: 02 Nov 2021 02:54 PM PDT I've got an app that's using single Activity design with a navigation component and nav graph - pretty generic stuff I think. In the nav graph I have a nested navgraph that I'm using to share a ViewModel between those fragments. Whenever I navigate to this nested navgraph, and then press the back button, the icon in the upper left does not change from the back arrow to the Menu/drawer/hamburger icon. (It does properly navigate back to the previous, top level, screen... it's just the icon doesn't change) If I navigate anywhere other than this nested graph, the back arrow works as expected and returns to the hamburger icon once you come back to a top level fragment as defined in the MainActivity with AppBarConfiguration. Any ideas would be much appreciated. [link] [comments] | ||
APNG vs GIF memory consumption Posted: 02 Nov 2021 10:47 AM PDT Hi, Right now, I'm using GifDrawable to show GIF stickers in my app, the current issue is the displayed GIFs takes a lot of memory, the low-end devices will have a performance issue using my app, so I wonder if I migrate to apng-drawable this will help me get better performance? Thank you [link] [comments] | ||
Making Simple Android Chat App Posted: 02 Nov 2021 12:29 AM PDT | ||
Wrote an article about gradle properties and shared some cool ones that helped improve build speeds Posted: 02 Nov 2021 02:13 PM PDT | ||
Posted: 02 Nov 2021 12:07 PM PDT
| ||
How do I open source an app without making it completely useless? Posted: 02 Nov 2021 02:22 AM PDT I have an app which I'm looking to open source, but the issue is, I'm using my servers to host literally all the content from the app. Some of the data is hosted on Firebase, and most of it is on my own shared hosting. Now if I open source it, I'll obviously have to get rid of Firebase, which makes Notifications and database useless (where 60% of the app content is). And then I don't want copycatters to be able to use my hosting bandwidth and API's, so I'll have to get rid of my endpoints and auth mechanism too, which makes the rest 30% of the content inaccessible/useless. I can choose to not remove my servers endpoints, but my hosting is already choking up under current load. So the only thing that will end up on github would be UI, which is useless without all the backend. So how do I open source this sort of thing? I believe users would want to compile the app from source to be truly able to make it "open source", otherwise it doesn't serve its true purpose. Do I just not open source it? [link] [comments] | ||
Is there a difference between Media and Documents? Posted: 02 Nov 2021 09:31 AM PDT
| ||
How do you present different UI to different roles? Posted: 02 Nov 2021 01:51 AM PDT One tedious option is to have multiple apps for different roles like Uber driver vs customer. Another is having multiple activities that share Fragments so you launch activity based on role. Am not sure if there are others, hence the question: How do you present different UIs based on logged in user role? [link] [comments] | ||
Android distribution dashboard Posted: 02 Nov 2021 06:28 AM PDT I know Google doesn't provide the chart anymore on their site and although they refer to Android Studios "New Project Wizard", according to it, Android 11 and 12 don't exist yet - so its useless. They also recommend we look into the app stats on the Play Console, what about people who don't have any apps yet on the Play Store? Android distribution is basically completely unknown at this moment unless you have an established app downloaded by millions worldwide. How do people nowadays get that information if they want to publish their first app? [link] [comments] | ||
Is there a way to change A12s quicksettings to those of A11? Posted: 02 Nov 2021 11:01 AM PDT Yes, they just suck. I really like many of androids settings (wonder if it makes people more dependend and unfree in background but ok), but the themes... I want a quicksettings menu (swipe down) that works. No text, 9 icons, customizable. Thats it. Would it be incredibly hard to merge the code of android 11s menu into Android 12? Would a complaint at google (to implement text as something optional (for people that need it)) make sense? [link] [comments] | ||
Posted: 02 Nov 2021 04:59 AM PDT I tried to follow the examples from Material Motion, but it doesn't give exactly the same result. I am inclined to believe that this is probably some kind of Custom View. But at the moment there are no ideas how it can be recreated. [link] [comments] | ||
Anyone else getting really annoying warning for pre-launch reports regarding permissions? Posted: 01 Nov 2021 07:11 PM PDT The last two betas I've uploaded have had warnings about my app asking for location permissions and allowing clear text traffic. What Google is totally ignoring here is that my app is a web browser. It has the same exact location permissions on the manifest as Chrome and the same exact clear text network configuration as Chrome. Location - They say that less than 1% of similar apps request this. I doubt that, most browsers need location. Lots of sites have blocks based on location. I hate the idea of asking for location permissions, in fact I didn't use to and I used to get 1 star reviews from users of sites that required it. I only request it on Android 6+ so the user at least has a choice and I only request it once a website asks for it. Clear text traffic - What am I supposed to do about http websites? I usually take those pre-launch reports seriously but this is going to make it so I start ignoring them, surely that isn't the outcome they want? [link] [comments] | ||
What is the alternative to adMob? Can't get them to trigger a crawl of my app-ads.txt file Posted: 02 Nov 2021 12:32 AM PDT very annoying that there appears to be no support from adMob. Been a week and I have double checked my site and there is no reason it shouldn't work. Didn't get any help from the community forum. don't know where to turn for help. [link] [comments] | ||
Where to look if I want to get started with WiFi management Posted: 01 Nov 2021 07:01 PM PDT So I want to make an app that when connected to specific wifi it can keep track or logs of how much bandwith the device has used(to that specific wifi). And the app can turn off the wifi connection when a certain bandwith has been reached.Problem is I have no idea how to work hardware components such as wifi , Bluetooth and so forth.I have interacted with web Api's but nothing to do about local device Apis ,,if that's even a thing lol.So can I get some resources to read up or documentations to get me up to speed.I have looked over the google codelabs but I couldn't find anything substantial with dealing with raw wifi. In Short: Need links to resources or documentations that explain how to work and interact with the Wifi of the device.Im trying to make an app that can profile bandwith used for wifi networks. [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