- I developed a plugin for Android Studio/ Intellij Idea for no reason but to have SpongeBob taunt Gradle for taking an eternity to build your app. It plays a drum roll sound on compile/build. and other equally-fun sounds when build yields errors, or warnings.
- Android Studio 3.5.1 available
- The Mess that is Android Biometrics - Evan Tatarka
- Anyone else experiencing layout bugs with ConstraintLayout and BottomNavigationView?
- Help in understanding what the whole lifecycle ViewModel thing is doing...
- How do I de-obfuscate Fabric's (Crashlytics) obfuscated crash report?
- Continuous testing with new Android emulator tools
- Decentralized android application development
- Best way to start an adword campaign for my app
- Creating AR experiences on Android with Unity
- my app not showing in my dev page or search results.
- Use Android KeyStore to generate a Secret Key for AES Encryption/Decryption
- Does/Will Firebase app distribution help with Playstore 'lockin' ?
- Precautions on pushing code involving In-App Purchase?
- The Best of Mobile Geo-Targeting
- How to make a fingerprint scanner?
- Is ViewModel its own design pattern architecture or just a part of MVVM?
- Missing text in Android Emulator
- Gradle Remote Build Cache Misses
- I started the Udacity android nanodegree two years ago. I had to stop with it. Now I want to get back to android development. is the nanodegree still relevant ?
- How to do the opposite of Matrix mappoints?
- Join our new subreddit r/VisualSchool. It will help you learn visually exactly what matters
- I need some help!
- BaseAdapter getView() showing repeated objects and in disorder (Java).
Posted: 02 Oct 2019 09:13 AM PDT
| ||
Android Studio 3.5.1 available Posted: 02 Oct 2019 12:08 PM PDT | ||
The Mess that is Android Biometrics - Evan Tatarka Posted: 02 Oct 2019 09:26 AM PDT
| ||
Anyone else experiencing layout bugs with ConstraintLayout and BottomNavigationView? Posted: 02 Oct 2019 03:45 AM PDT I'm experiencing some super weird bugs and I'm curious why it's not a major issue for more people. For example on this gif: Everything seems normal. But when I open the keyboard with soft input mode I noticed this happens with ConstraintLayout beta2 and BottomNavigationView. Other examples of broken things in my app were e.g. when I opened keyboard to type a search term and submitted it, the list should change. And it does, but I still see the old list until I scroll it, which triggers layout and the views get updated. Or I navigate to another fragment, and that fragment isn't measured at all. App is broken, basically. For now I'm just using soft input mode I've opened an issue on google tracker and it's on Did anyone else have similar issues? Maybe you did but didn't realize what was causing them? Does anyone have a reliable workaround? [link] [comments] | ||
Help in understanding what the whole lifecycle ViewModel thing is doing... Posted: 02 Oct 2019 03:10 PM PDT As an iOS programmer, I am constantly confused when trying to develop in Android. A few years ago I started working on an android app and got pretty far without realizing that Activities are NOT ViewControllers, and that they get destroyed and you lose all your inputs during a rotation or a user sneeze. I am still not sure exactly what Fragments relate to, other than they are sort of like reusable activities that run inside another activity. I am now building some UI for another application and I thought I understood the whole fragment (with View Model) thing. So here I am with a fragment that contains a NavHost Controller Fragment, that presents a series of screens depending on authentication and stuff. The whole main activity has a bottom menu navigation and when a user selects one of those it changes the swaps out the layout of the current fragment with the one associated with the menu item. What I am trying to do: Once a user has authenticated, the navigation moves to a list of authenticated items. If the user hits another menu on the bottom and then goes back, the navigation should restore it's state. So in my ContentSelectionFragment that contains (or is) the navHostFragment, there is a VIewModel that is shared between all of the fragments that can be navigated to, and in that ViewModel is a stored navigation state that is updated every time navigation destination changes.
The problem is that every time I go to a different menu item and come back, instead of the SAME ViewModel being returned, there seems to be a new instance of one... So I hit a button that authenticates, then calls first run through my debugger shows the variable as:
I step into
and sure enough, viewModel.navigationState is null. I thought the point of a ViewModel was that it stuck around after the activity was destroyed so you could retire your views state. Why is my viewModel being recreated? [link] [comments] | ||
How do I de-obfuscate Fabric's (Crashlytics) obfuscated crash report? Posted: 02 Oct 2019 01:39 AM PDT Hi, I got a crash report of my app in Crashlytics like:
Which is really interesting, because the other crashes I got are not obfuscated... which I don't understand in the first place, but how can I de-obfuscate this code to check out the issue within my app? According to this Crashlytics supports both ProGuard and DexGuard and it has auto de-obfuscation, so I really don't know how this is possible. I shouldn't see obfuscated code at all amongs my crash reports. What am I missing here? Thanks in advance, [link] [comments] | ||
Continuous testing with new Android emulator tools Posted: 02 Oct 2019 02:49 PM PDT
| ||
Decentralized android application development Posted: 02 Oct 2019 02:01 PM PDT I'd like to develop a relatively basic android application that is built on the top of some kind of decentralized ecosystem. I'd like to focus on my little business logic and try to infest less effort to the low level implementation so I'm looking for a suitable framework for this. First I tried to use Holochain which is looked a good choice but the android support is not good enough. After that I found blockchain technologies like Ethereum so I tried to use geth on android to run my light node on the device but it is fairly limited and not really up to date for android because this release is from late 2018. I had issues with the bootnode and this kind of stuff and I didn't really find any good tutorial or documentation about this. Then I tried Web3j and this kind of stuff but the point should be that the node is running on the device and not in the cloud or on a remote desktop. So my question is that is there any good, not alpha/beta/pre-release framework that could support my project? [link] [comments] | ||
Best way to start an adword campaign for my app Posted: 02 Oct 2019 03:57 PM PDT I have a $75 credit in my google adword account and I was wondering what is the best way to make it work and get a huge boost in installs? I know $75 is not a lot :/ [link] [comments] | ||
Creating AR experiences on Android with Unity Posted: 02 Oct 2019 07:47 AM PDT Hi everyone, Here's a tutorial that shows how Android developers can work with Unity and on-device machine learning to create an authentic, responsive AR experience for mobile (in this case, both Android and iOS -- apologies for the cross pollination). This tutorial integrates Unity with Fritz AI, a machine learning platform for mobile developers, and uses 2D human pose estimation to allow a 3D object (a bird) to interact realistically with a human. Hope this is helpful/interesting to folks here. Happy to help/answer any questions I can. **Disclaimer/Disclosure: I work on content and community for Fritz AI, and this is an official tutorial that accompanies the initial release of our Unity SDK. Tutorial link: https://heartbeat.fritz.ai/create-ar-experiences-with-the-fritz-unity-sdk-bird-perch-tutorial-with-pose-estimation-aff5b85c633b [link] [comments] | ||
my app not showing in my dev page or search results. Posted: 02 Oct 2019 04:59 AM PDT
| ||
Use Android KeyStore to generate a Secret Key for AES Encryption/Decryption Posted: 02 Oct 2019 01:52 PM PDT
| ||
Does/Will Firebase app distribution help with Playstore 'lockin' ? Posted: 02 Oct 2019 01:41 AM PDT Do apps distributed via Firebase App distribution also require me to maintain them "for ever" once anyone has installed them? Having read about the difficulty (even impossibility) of ever being able to retire an app from the playstore or cease maintaining it, even if it was only distributed to particular individuals as a closed alpha, due to the "zero lifetime installs" requirement, I wonder now if the Firebase App distribution mechanism might help? In the early development stages, I would like to have an app prototype (almost no functionality, really just a slightly fancier wireframe model) which I could distribute to my client and do "iterative development" with for a while. I know I could use something like Figma or similar tools, but I find using flutter to develop prototypes easier. Also, my clients can use their tablets/phones/other devices to experiment with and could access test data on my firebase test database etc. I have previously distributed such test versions by "sneaker net" and a cable but that means a) clients need to be very local and b) I have to eneable developer mode on their phones ... not a sustainable situation. [link] [comments] | ||
Precautions on pushing code involving In-App Purchase? Posted: 02 Oct 2019 06:17 AM PDT Hi, I have a free (includes ads) open-source app in Play Store. I am now integrating in-app purchase in it to remove the ads. I have integrated Google Play Billing library. Although that doesn't involve any kind of secret API key or what-so-ever, I want to be extra-assured that pushing the latest code to GitHub won't cause any of issues. Will it? P.S. I did push `google-services.json` file once and I regret that :( That's why! [link] [comments] | ||
The Best of Mobile Geo-Targeting Posted: 02 Oct 2019 09:51 AM PDT
| ||
How to make a fingerprint scanner? Posted: 02 Oct 2019 09:23 AM PDT Hey guys! Im having trouble finding good code in java for fingerprint scanner. I want something like you have on samsung when you are unlocking your phone. You put your finger on small photo of fingerprint it has animation going green if it is good. Thank you for your help! [link] [comments] | ||
Is ViewModel its own design pattern architecture or just a part of MVVM? Posted: 02 Oct 2019 08:44 AM PDT Hi everyone, For some background I'm not necessarily new to Android but I'm still in school and have only done internships where I never really got into Android architecture and I'm really trying to learn that aspect of Android before I graduate and start my job (junior android dev). At the last company I did an internship at, I know we used a model view viewmodel architecture which took advantage of livedata (same data binding?). I never dived deep into what it all means and how it all connects but I touched a lot of the components in some way. As for my question, I'm working on a small little side project that I know I could do without really using an architecture design pattern but I want to use one. When I first started my project, instead of "Empty Activity" I chose "Fragment + ViewModel" and was going to sort of follow this tutorial for setting up viewmodel + livedata. https://www.youtube.com/watch?v=d7UxPYxgBoA&list=LL4Wk6PSCZEz0gQT5tFt07nA&index=3&t=2s Would this be like working with MVVM? The title says MVVM but I'm not sure if when I see "ViewModel" discussed it's its own thing. [link] [comments] | ||
Missing text in Android Emulator Posted: 02 Oct 2019 04:03 AM PDT
| ||
Gradle Remote Build Cache Misses Posted: 01 Oct 2019 06:13 PM PDT | ||
Posted: 02 Oct 2019 06:04 AM PDT I'm talking about the Android Basics nanodegree by google that can be referenced at Udacity website. The courses in the nanodegree that are located in my hard drive are 3 years old. I will add that i want to learn it for fun and at my own pace . Is it still relevant ? Someone knows if the nanodegree courses gets updates and new format or they're still the same ? [link] [comments] | ||
How to do the opposite of Matrix mappoints? Posted: 02 Oct 2019 05:17 AM PDT Hello! I'm in a bit of a struggle here and I figured that maybe here someone could help me. I'm writing an app where coordinates inside an ImageView are kind of relevant. For this to work between all devices I create an Matrix and then invert the imagematrix into the Matrix. Now is there any way to undo this action? Matrix transforms a coordinate into the coordinate inside the Bitmap, but what if I wanted to do the opposite and get a screen coordinate from the bitmap coordinate? Would that even be possible? Thank you! That's the code I use to get the points inside my Bitmap. [link] [comments] | ||
Join our new subreddit r/VisualSchool. It will help you learn visually exactly what matters Posted: 02 Oct 2019 04:44 AM PDT Dear fellow designers, programmers, students and teachers, We are happy to invite you to our brand new reddit community: r/VisualSchool . Here you can learn coding, design, marketing, dev ops, security and many other skills. We want to radically improve the online learning experience by providing a visual map of knowledge trough our innovative learning platforms. How can we improve our learning platform and help you to learn faster? Leave us feedback on r/VisualSchool Why Visual School?· Because learning is slow – Our current experience learning online is very rough. We are forced to spend lots of time searching for the right material. We are forced to drain lots of energy just to understand the basics. · Because we lose focus – We start learning one thing and then the next few hours we are all over the web trying to put the puzzle together. It's like going downstairs to dump the trash and returning several hours later after you were attacked by a grizzly bear in Las Vegas. · Because we are missing know-how – On a daily basis we start reading some tutorial and then we find lots of strange unfamiliar concepts. All these gaps in knowledge prevent us from learning fast. Worse they divert our attention away from the main topic. How will we learn on Visual School?· Elastic lessons – All the tutorials in Visual School are optimized to be "stretchy". Depending on how skilled you are you can adjust each part of the lesson to give you more or less content. Users ranging from complete beginners up to experts can consume the same set of tutorials adjusted to their own needs. · Speed reading – All our tutorials will be optimized for speed reading. Our approach is to integrate carefully selected and designed graphics and animations. It will look and feel like a hybrid between text, slideshows and video all optimized for learning fast. The accent is on quality not quantity. · Learning map – Think of it as a subway map. Our aim is to map all the important destinations and focus your attention on what makes the biggest impact in your daily life as a professional. This map will give you awareness of the big picture. · Learning goals – You will be able to setup goals and our platform will help you plan ahead a faster route towards your professional goals. We encourage exploration in all ways and forms, all while maintaining a clear deadline and end-goal. · Nano Lessons – For every new unfamiliar concept you discover in the lesson you will have a mini lesson about it one click away. It will help you focus and stay on track without feeling lost. What will Visual School be?· Visual School is the platform where you can study matching your own level of experience · Visual School maintains your focus while studying a certain subject. · Visual School fills in the gaps of knowledge right on the spot. Who is the audience for Visual School?· In this current group we invited only profiles that are either strong developers or strong designers. This selection is a good representation of the audience we are targeting. We intend to reach the global market of developers in the early phase. Our first iteration of content will be about programming. The ultimate goal of Visual School is to reduce the time spent learning and to increase the time spent coding meaningful projects. Current generation of tutorials does a decent job. The next generation of tutorials will kick ass! We want to lead the way towards this future. Cheers! [link] [comments] | ||
Posted: 02 Oct 2019 03:15 AM PDT I'm doing this app for myself, where I have one small database. I display the products on a recyclerview, and I want to be able to update database with a switch button, each cardview has one, I want to update database with a 1 if it's checked, or update it with a 0 if it's not. I'm using Room to manipulate the data but everything I found about updating on Room is using some kind of EditNoteActivity, and I have trouble with that. I assume I can do the update with a swtich (because I didn't found anything that told me otherwise), but got stucked too much and I'm sure is just a silly thing I didn't realize, so that's why I'm here asking for help. I'm learning Android throught this project so if you think I did some stupid mistakes please tell me, because I probably did. Thanks! PS: I think I did nothing against the thread rules, but first time posting here so sorry if I did something I shouldn't [link] [comments] | ||
BaseAdapter getView() showing repeated objects and in disorder (Java). Posted: 01 Oct 2019 05:30 PM PDT I have different path references in a Firebase Db, and I needed them stored in a list (not SQL nor Room, which is the same, just a List) in a particular order.Because the Firebase Listeners are extremely async, specially between Child and ValueEvents, I did a custom LiveData<DataSnapshot> class with a Guarded Blocks code that SingleValueEvent-Listens all the things I want within all the routes I want, In the specific order I want and sets the value to itself accordingly. It worked extremely well, specially inside the .observe() of the LiveData, and the re-usability of this (lets say) _router_ is glorious. I did a submitList(DataSnapshot dataSnapshot) method inside the BaseAdapter. Now, because the different snapshots are of different Values, I also made a parser that identifies the kind of value inside the snapshots and then adds them already parsed with their respective classes inside an abstract list of type ArrayList<Object>, what the parser does is it checks for values previously submitted by me inside an array of constructed things (called it "ValueClassRelator[] relations" with params (String s, Class c)), and then fori them to check if the value of the snapshot (be it parent Key, Key or Value inside of it, depending on the method used...) matches the String of my relations[i].getString(), if so it getValue's their respective relations[i].getClassValue(). Again with extreme re-usability, I checked it and it works. This parser is inside the submitList() method Now, when I Log.d the List after each notifyDatasetChanged() it shows exactly the order and items that I want inside of it...But when it get pass the getItem(int position), they are in disorder and repeated objects...in complete disarray... Why? What I'm I doing wrong? Should I use RecyclerView? Should I parse the items before submitting the List?? Is it because it is a List of Objects? is it because the fori, is it too expensive?? Is it a bug?? [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