- It's confirmed that Fragment/FragmentManager functionality will be pruned to only support "add", "remove", and "replace", because that is all that Jetpack Navigation needs (and no other use-case will be supported)
- What the actual f? Been waiting 7 days now to get store listing update approved.
- Binding Android UI with Kotlin Flow
- There is no time to test
- Android Studio performance - more cores at lower speeds VS less cores at higher speeds
- Android HCI layer
- My first DSL library: [Quick RecyclerView Adapter Library]
- CheckoutVerifier - Android Library
- First Time doing an app
- Firebase Test Lab Issues
- Single Activity App, but with Activities for some special cases?
- Weird behavior when resuming Activity in Android 10
- Review Time Increase
- MotionEvent and custom views question / discussion
- WorkManager: How do you deal with ANR in androidx.work.impl.background.systemalarm.RescheduleReceiver ?
- Enterprise Android Application Development Framework
- Open source app now with free cloud synchronization
- Accessing apps from terminal
- Firebase Analytics not collection user_engagement event automatically
- Is it possible to emulate old/inferior hardware?
- Creating app for third-party website
- Tools to easily create an UI?
- Emulating Android on x86, with hardware acceleration and SafetyNet support
- Need help generating all the sizes of your icons? Try App Icon Generator - Program that takes your single source icon and generates all, correctly named, icons of all required sizes for iOS and Android app development
Posted: 29 Oct 2019 06:38 AM PDT After having a chat with Ian Lake, apparently the only way to keep a Fragment alive along with its ViewModelStore will be to have This also brings forth the following deprecations:
At this point, one might wonder why they didn't just create a new UI component. [link] [comments] | ||
What the actual f? Been waiting 7 days now to get store listing update approved. Posted: 29 Oct 2019 07:53 AM PDT
| ||
Binding Android UI with Kotlin Flow Posted: 29 Oct 2019 08:44 AM PDT | ||
Posted: 29 Oct 2019 11:25 AM PDT | ||
Android Studio performance - more cores at lower speeds VS less cores at higher speeds Posted: 29 Oct 2019 06:07 AM PDT Greatings from England! Possibily a tough one for those most knowledgable so massive thanks in advance! tl;dr - would Android Studio (primarily Flutter) benefit from more cores at lower speeds or less cores at higher speeds? After going round in circles for a few days trying to spec out an Android developer build, we figured it wise to try to ascertain some more concrete answers than our researching has produced. We are aware there are several non-hardware related contributing factors but this post is ideally exclusively aimed at just the hardware side of things for now. We'd ideally like to start with 64GB/128GB RAM and NMVe's to minimise those bottlenecks so trying to work out if Android Studio (including everything associated with it and primarily Flutter) would benefit from more cores at lower speeds or less cores at higher speeds. Some suggest not much scaling after 6'ish cores But it would likely depend on the use of multiple decoupled modules. One key factor is we'd ideally like to also occasionally use the system in a server capacity, occasionally have various VM's running and occasionally edit in something like DaVinci Resolve, etc. - all unlikely at the same time as developing. Performance per cost is most important alongside futurproofing or minimal upgrade costs. Budget can be flexible but we'd like to minimise cost as much as possible, hence these random examples: AMD Ryzen Threadripper 1909X 8core 3.8 GHz (upto 4 GHz) Intel will allow for dual socket allowing us to double up down the line (taking into account all the associated intricacies,) which suggests we should possibily lean more towards Xeon's (despite our personal admiration of AMD.) Would greatly appreciate any real life facts or thoughts from anyone that has acquired any. Or, if you've read something, links would be most welcome. Many thanks in advance and warmest regards. [link] [comments] | ||
Posted: 29 Oct 2019 03:40 PM PDT Hi where in the code are specified the functions from HCI interfaces that pass the data or notify l2cap ? [link] [comments] | ||
My first DSL library: [Quick RecyclerView Adapter Library] Posted: 29 Oct 2019 11:15 AM PDT Github link: https://github.com/dragneelfps/quickrecyclerviewadapter This is just a basic implementation. I am planning to add features to it. Please drop any ideas for it. Feel free to drop any remarks. Usage: P.S.: There might be other libraries out there which does the same thing and more, but I wrote this 1. for exp 2. for more control over the features 3. its fun. [link] [comments] | ||
CheckoutVerifier - Android Library Posted: 29 Oct 2019 04:56 AM PDT CheckoutVerifier helps you Verify your In-App Purchase receipts & protect your Apps from hacking, patching used by Piracy Apps like Lucky Patcher. Since I was using these classes in every project, the Copy/Pasting of classes was annoying so thought of releasing it as a library which might be of help to others too! The library is written in Kotlin 🥳. More info. on Github - https://github.com/ItzNotABug/CheckoutVerifier Hit the ⭐️ if you find it useful :) [link] [comments] | ||
Posted: 29 Oct 2019 02:31 PM PDT Hi! So im here for the first time, and i want to make an app for a school project, and i really dont know where to start. I downloaded Android Studio. I mention that I know some programming( I am doing C++ at school). I want my app to have some texts, but that`s not so hard as I saw in android studio. What i want my app to do. I want that my schoolmates put a name here. And then, i will put some question on the app, with few answers, and only 1 right. After all the questions, i would like to get all the information about the answers from my schoolmates, and then i want to make a top, with the names of my schoolmates, and the number of right answers. I dont know how I should do that, im pretty sure this will be a little hard, but if you can hit me up with some link for tutorials. I dont know where to start. Thank you so much in advance. Cheers! [link] [comments] | ||
Posted: 29 Oct 2019 01:34 PM PDT I have espresso tests in my project that when run locally will pass but on firebase test lab they are failing. Why is there this inconsistency. How can we get the same results and make them more predictable? When I look at the logs it will typically be a NoMatchingViewException as if a view isn't there, then it will show a view hierarchy printout which is typically the screen before the one I'm trying to test for. I looked at the video but it will show the whole suite of tests running and not a video of just the failing test. Also there is no error dialog or visual feedback in the video to show that a test failed. I'm using okhttpidlingresource (https://github.com/JakeWharton/okhttp-idling-resource) [link] [comments] | ||
Single Activity App, but with Activities for some special cases? Posted: 29 Oct 2019 05:58 AM PDT Google is always talking about Single Activity Apps. They say we should only use one Activity for an App. While programming my own App i struggle with this mind. I have two cases where i want to use an Activity. But then i have no Single Activity App anymore. Another good thing is the default animation from the activities when starting. A Fragment has no default animation and i don't want to make one myself. Google don't speed about these cases. When i'm looking at their Apps like Gmail, they also use Activities for these cases. What do you think guys? Can anyone explain me what's the best? [link] [comments] | ||
Weird behavior when resuming Activity in Android 10 Posted: 28 Oct 2019 06:42 PM PDT I have my app set up to dismiss AlertDialogs and PopupWindows in onStop(). This works great in previous Android versions, but in Android 10 the AlertDialogs/PopupWindows linger on the screen for a second after resuming the Activity: PopupWindow: https://streamable.com/rdu4a AlertDialog: https://streamable.com/gvhgc I'm dismissing the AlertDialogs/PopupWindows in onStop(): But it goes way deeper than that... I also have a Button that launches an Intent with FLAG_ACTIVITY_NO_HISTORY. When I resume the Activity, the Button ripple animation is still playing: And this is what happens if I add a list item to my RecyclerView and quickly press Home. The item is shown getting added again after I resume the Activity: And here it is forgetting which View in the ViewPager was last selected. Upon resuming, it automatically switches back to the correct one: I've made a sample project that illustrates some of these issues. Try it on Android 10 to replicate them: https://github.com/gavingt/JankyUITest And here's the link to the Bug Tracker issue I posted: https://issuetracker.google.com/issues/143501785 These issues are all new to Android 10. [link] [comments] | ||
Posted: 29 Oct 2019 01:57 AM PDT What do you all think about the increase in Google Play Review times? We have had a build waiting for four days with pretty critical fixes. I've heard reviews are going out to seven days. I fully understand planning ahead but there should also be a way to expedite critical builds if they are sticking to longer reviews - like iOS. It has made our team think about the single point of failure that is Google Play and perhaps pushing harder across minor stores like Amazon, Huawei etc. Thoughts? [link] [comments] | ||
MotionEvent and custom views question / discussion Posted: 29 Oct 2019 09:27 AM PDT I probably won't give enough details for a full answer since I don't have the details myself either, but hopefully there is enough for some discussion. As I have no experience with this topic I might learn with your answers, and hopefully other people too. A colleague has a problem with a project done by someone else where they drag the content of views and that content doesn't move smoothly (it jumps a bit but it is not terrible). What I know is that they profiled the CPU and it was not very busy, and that when the app receives a MotionEvent it triggers a redraw of the view. What I thought was that maybe the problem was that the MotionEvent was not being received at the same time as the start of the 16ms window for drawing. If that is the problem, I thought that a possible solution would be having an interpolator class that receives the positions of the motion event and records the timestamps. Then, the view would ask the interpolator to estimate the position at the start of the onDraw event and would draw that (instead of the last received position). Do you think this might be the issue? And do you expect my solution might improve the smoothness of the drag? Finally, another proposed solution was using a game engine, but that seems a lot of work for a "simple task". I have never used one so I don't know if there are simple libraries to solve these problems instead of building a full game. [link] [comments] | ||
Posted: 28 Oct 2019 07:54 PM PDT Hi, It is quite common to face ANR issue in WorkManager, when it comes to androidx.work.impl.background.systemalarm.RescheduleReceiver https://i.imgur.com/8RyltLC.png We are using stable 2.2.0 Here's the ANR report : https://gist.github.com/yccheok/484d358bb18b424e363ccc18c638cdc4 Look like quite a number of people are facing same issue too - https://stackoverflow.com/questions/56580401/workmanager-causes-anrs-from-broadcasts/56580511 , https://github.com/googlecodelabs/android-workmanager/issues/38 but no resolution May I know how do you deal with this issue? Thanks. [link] [comments] | ||
Enterprise Android Application Development Framework Posted: 29 Oct 2019 08:20 AM PDT For the past 4 years, I have been developing a huge enterprise app, Places, a video-platform built on an advanced polygon geofence system. I will open source the enterprise framework it is built on so that people can build their enterprise apps in a fraction of the time. You can find it here. [link] [comments] | ||
Open source app now with free cloud synchronization Posted: 29 Oct 2019 12:48 AM PDT Some time ago I have made an open source app with minimalistic UI that simply tracks your expenses. It has gained much more attention than I expected and one of the most requested features was cloud synchronization. I thought that it would be a great opportunity to take advantage of Firebase and its cloud database. I would much appreciate if you could test the beta version of the app and share your feedback. Then I will gladly share with you the details how Firebase works in a real case. Just let me know in the comments what are you interested in and will make a summary in a next post. Beta version in the Google Play: Production version in the Google Play: [link] [comments] | ||
Posted: 29 Oct 2019 07:41 AM PDT Hello, I am aware that there exists terminal emulators for Android, and I was wondering if it would be possible to use apps from these? Could I open my Snapchat from a terminal and log in with it? Could someone help me with this? [link] [comments] | ||
Firebase Analytics not collection user_engagement event automatically Posted: 29 Oct 2019 01:57 AM PDT Since 28 October, Firebase has not been collecting logs for the user_engagement event, which is supposed to be collected by default. We have no data for 'Daily active users' anymore in our Firebase Dashboard. Is anyone else having the same problem? https://support.google.com/firebase/answer/6317485?hl=en Using com.google.firebase:firebase-analytics:17.2.0 [link] [comments] | ||
Is it possible to emulate old/inferior hardware? Posted: 29 Oct 2019 05:18 AM PDT Hi! I'm currently writing a school project about performance comparisons of different implementations of threads and coroutines. I can currently run my tests on an old 4-core phone and my current 8-core phone, but the problem is that the old phone is factory reset and is only running the test app while my personal phone is running many more. Is there any way of emulating the number of cores in a testing environment? I can only find options for RAM and screen size in Android studio. And a side question, is there any good third party profiling tool available or is Android studio profiler the one I should use? Thanks in advance. [link] [comments] | ||
Creating app for third-party website Posted: 29 Oct 2019 04:32 AM PDT Hey guys, I was looking into learning how to develop android apps, and so I started considering ideas for what my first project would look like. I settled on creating a mobile app for an e-journal website my school uses, as it looks awful and was built with technologies that make it very mobile-unfriendly. It has a login page, and after inputting your username and password you see a list of your grades with their corresponding subjects. I would like the app to work in the same way that reddit is fun or Client for Pretend You're Xyzzy works, i.e. an app created for a website without backend access (at least that's how it works from my understanding). From my knowledge of how websites work, the app would have to make http requests and interpret the data it gets back from the server, putting everything in its place in the app - essentially creating a 3rd party frontend for mobile devices. My question is: What exactly would I have to learn/research to create such an app and what are you guys' suggestions for places where I can find resources? Thanks a lot! [link] [comments] | ||
Posted: 29 Oct 2019 04:23 AM PDT Hello, I know about these ones here: sketch,zeplin,principle but they seems a bit overwhelming ; I was thinking if there is another tool that you can use and generates code for a view (xml maybe ). what do you use ? Thanks [link] [comments] | ||
Emulating Android on x86, with hardware acceleration and SafetyNet support Posted: 29 Oct 2019 03:46 AM PDT I need to run an Android image on Linux x86. I need to:
I've tried playing around with the official Android Emulator as well as with QEMU, but couldn't achieve everything I need. With Android x86 I couldn't fool SafetyNet (even installing Magisk and anything else I tried), while with Android ARM I couldn't manage to get accelerated GL rendering. Does anybody have any suggestions? [link] [comments] | ||
Posted: 28 Oct 2019 09:29 PM PDT
|
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