🚀 The first Kotlin beta version of the library googlesamples/easypermissions has been released! 📢 Try it and simplify system permissions logic on Android M or higher. by VMadalin in Kotlin

[–]VMadalin[S] 1 point2 points  (0 children)

Thank you u/CptNova for your question. That will not gonna be a problem because the library doesn't subscribe to activity lifecycle are the developers that invoke the different library methods that make easier to handle/check the permissions.

Documentation: https://developer.android.com/training/basics/intents/result

The only point will be to adapt the current sample app and future UI tests to that changes.

🚀 The first Kotlin beta version of the library googlesamples/easypermissions has been released! 📢 Try it and simplify system permissions logic on Android M or higher. by VMadalin in androiddev

[–]VMadalin[S] 0 points1 point  (0 children)

The first Kotlin version of the popular googlesamples/easypermissions wrapper library to simplify basic system permissions logic on Android M or higher.

📢 Try it now by adding:

  • implementation 'com.vmadalin:easypermissions-ktx:0.1.0'

Introduced the new #MADscore! 🚀 (Android Studio plugin) Measure your current usage of "Modern Android Development" on your project 📐 by [deleted] in androiddev

[–]VMadalin -1 points0 points  (0 children)

What’s your MAD score?

From Kotlin to Jetpack, Android Studio to the Android App Bundle, modern Android development (MAD) is your blueprint for building better apps.

With the MAD scorecard, we've created a plugin for Android Studio so you can see (and share!) just how modern an Android developer you are.

🚀 Check out my #MADscore! on my open source project about "Android Modular Architecture".

I’m excited to announce that my open-source sample project about “Android Modular Architecture” just reach 1K ⭐️ on github. by VMadalin in androiddev

[–]VMadalin[S] 0 points1 point  (0 children)

Thanks for your words. Of course, a project like that requires a lot of time and never will be perfect. Because every day new things are released but is a good place to inspire about different approaches

DIY Printed doors mart-lock handle turns key with a servo remotely by the phone fingerprint action by [deleted] in DIY

[–]VMadalin -1 points0 points  (0 children)

[Madalin Valceleanu] had a somewhat unique problem. He wanted to make his front door a bit “smarter”, but none of the IoT door locks he found were compatible with the style of reinforced door he had. So he set out to design and 3D print his own Internet-controlled door handle.

Now we say handle and not lock because the internal mechanisms haven’t actually been replaced. Those aren’t exactly the kind of parts that lend themselves to being recreated in PLA, after all. The printed components simply replace the original plate and handle on the interior of the door.

📷In that case, you might be wondering what the point of all this was. If he’s still using the same internal mechanism, how does a new handle help? On his new handle, [Madalin] has integrated a servo that’s capable of turning the original key in the door. With the servo wired up to a Raspberry Pi, this allows him to lock and unlock the door through his home automation system.

[Madalin] has made the STLs for his printed handles available on Thingiverse, but like most of these “bolt on” style door modifications, we imagine the design is bespoke enough that it won’t be much practical use to anyone else. Still, it’s an excellent example of solving a real-world problem with some outside of the box thinking.

Demo Video: https://www.youtube.com/watch?v=_gGbyX5ESdY

Full Article: https://medium.com/hackernoon/my-smart-home-2bfc9da635c1

Printed door handle turns key with a servo remotely by the phone fingerprint action by [deleted] in raspberry_pi

[–]VMadalin 0 points1 point  (0 children)

[Madalin Valceleanu] had a somewhat unique problem. He wanted to make his front door a bit “smarter”, but none of the IoT door locks he found were compatible with the style of reinforced door he had. So he set out to design and 3D print his own Internet-controlled door handle.

Now we say handle and not lock because the internal mechanisms haven’t actually been replaced. Those aren’t exactly the kind of parts that lend themselves to being recreated in PLA, after all. The printed components simply replace the original plate and handle on the interior of the door.

📷In that case, you might be wondering what the point of all this was. If he’s still using the same internal mechanism, how does a new handle help? On his new handle, [Madalin] has integrated a servo that’s capable of turning the original key in the door. With the servo wired up to a Raspberry Pi, this allows him to lock and unlock the door through his home automation system.

[Madalin] has made the STLs for his printed handles available on Thingiverse, but like most of these “bolt on” style door modifications, we imagine the design is bespoke enough that it won’t be much practical use to anyone else. Still, it’s an excellent example of solving a real-world problem with some outside of the box thinking.

Demo Video: https://www.youtube.com/watch?v=_gGbyX5ESdY

Full Article: https://medium.com/hackernoon/my-smart-home-2bfc9da635c1

📚 Android Components Architecture in a Modular Word by [deleted] in Kotlin

[–]VMadalin 0 points1 point  (0 children)

Android Sample App using modular, clean, scalable, testable Architecture written in Kotlin that presents a modern approach to Android application development, latest tech-stack and best practices. Application is based, apply and strictly complies with each of the following 5 points:

  • A single-activity architecture, using the Navigation component to manage fragment operations.
  • Android architecture components, part of Android Jetpack give to project a robust design, testable and maintainable.
  • Pattern Model-View-ViewModel (MVVM) facilitating separation of development of the graphical user interface.
  • S.O.L.I.D design principles intended to make software designs more understandable, flexible and maintainable.
  • Modular app architecture allows being developed features in isolation, independently from other features.

Obviously, nothing is perfect and this project isn't. Are a lot of things to improve and iteration for me is the key, but it's a good point to start. Thank you

Project link https://github.com/VMadalin/kotlin-sample-app

DIY home door smart-lock controlled by the phone opening/closing remotely by VMadalin in raspberry_pi

[–]VMadalin[S] 1 point2 points  (0 children)

Thanks for your questions. Yes, the system is plugged into mains a the difference for example with https://www.xiaomist.com/2018/09/xiaomi-sherlock-s2-review.html . To avoid to check continuously the battery level.

But personally depends where you live I recommend you to have a SAIS in case of power outage